From 38eaf4b11383e24a00192132b683cc07e38622a6 Mon Sep 17 00:00:00 2001 From: dsinclair Date: Tue, 15 Nov 2016 12:33:06 -0800 Subject: Cleanup cfwl_* files. This Cl cleans up the visibility, method usage and return values in the remaining CFWL files. Review-Url: https://codereview.chromium.org/2498163002 --- xfa/fwl/core/cfwl_widget.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'xfa/fwl/core/cfwl_widget.h') diff --git a/xfa/fwl/core/cfwl_widget.h b/xfa/fwl/core/cfwl_widget.h index a4a0e94c1d..5461f480fd 100644 --- a/xfa/fwl/core/cfwl_widget.h +++ b/xfa/fwl/core/cfwl_widget.h @@ -20,7 +20,7 @@ class CFWL_WidgetMgr; class CFWL_Widget { public: - CFWL_Widget(const IFWL_App*); + explicit CFWL_Widget(const IFWL_App*); virtual ~CFWL_Widget(); IFWL_Widget* GetWidget(); @@ -35,7 +35,6 @@ class CFWL_Widget { uint32_t GetStates(); void SetStates(uint32_t dwStates, bool bSet = true); - void SetLayoutItem(void* pItem); void Update(); @@ -43,7 +42,6 @@ class CFWL_Widget { void UnlockUpdate(); FWL_WidgetHit HitTest(FX_FLOAT fx, FX_FLOAT fy); - void DrawWidget(CFX_Graphics* pGraphics, const CFX_Matrix* pMatrix = nullptr); IFWL_WidgetDelegate* GetDelegate() const; @@ -54,7 +52,6 @@ class CFWL_Widget { const IFWL_App* m_pApp; std::unique_ptr m_pIface; - CFWL_WidgetMgr* const m_pWidgetMgr; }; #endif // XFA_FWL_CORE_CFWL_WIDGET_H_ -- cgit v1.2.3