summaryrefslogtreecommitdiff
path: root/xfa/fwl/core/cfwl_widget.h
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-11-15 12:33:06 -0800
committerCommit bot <commit-bot@chromium.org>2016-11-15 12:33:06 -0800
commit38eaf4b11383e24a00192132b683cc07e38622a6 (patch)
tree169f9d48784035519ddee9191aa412cc817a4531 /xfa/fwl/core/cfwl_widget.h
parent05b9a317d66c29f740e4b0e89ea87143a11d61fc (diff)
downloadpdfium-38eaf4b11383e24a00192132b683cc07e38622a6.tar.xz
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
Diffstat (limited to 'xfa/fwl/core/cfwl_widget.h')
-rw-r--r--xfa/fwl/core/cfwl_widget.h5
1 files changed, 1 insertions, 4 deletions
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<IFWL_Widget> m_pIface;
- CFWL_WidgetMgr* const m_pWidgetMgr;
};
#endif // XFA_FWL_CORE_CFWL_WIDGET_H_