summaryrefslogtreecommitdiff
path: root/xfa/fwl/core/fwl_widgetimp.h
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-04-13 13:24:39 -0700
committerCommit bot <commit-bot@chromium.org>2016-04-13 13:24:40 -0700
commitc4c17fbbcf4cd2b72af7c10db0320d78099df66d (patch)
treedaedb56c01607a4d169bf5494ba199dca632c454 /xfa/fwl/core/fwl_widgetimp.h
parent9f3dbbc54c6981f069b57e6714393ac6c0c64231 (diff)
downloadpdfium-c4c17fbbcf4cd2b72af7c10db0320d78099df66d.tar.xz
Remove unused FWL methods
This CL removes various methods from FWL that are not called. Review URL: https://codereview.chromium.org/1886703005
Diffstat (limited to 'xfa/fwl/core/fwl_widgetimp.h')
-rw-r--r--xfa/fwl/core/fwl_widgetimp.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/xfa/fwl/core/fwl_widgetimp.h b/xfa/fwl/core/fwl_widgetimp.h
index e460fb9733..e7520d6c87 100644
--- a/xfa/fwl/core/fwl_widgetimp.h
+++ b/xfa/fwl/core/fwl_widgetimp.h
@@ -138,6 +138,9 @@ class CFWL_WidgetImp : public CFWL_TargetImp {
void NotifyDriver();
FX_BOOL IsParent(IFWL_Widget* pParent);
+
+ friend class CFWL_WidgetImpDelegate;
+
CFWL_WidgetMgr* m_pWidgetMgr;
CFWL_NoteThreadImp* m_pOwnerThread;
CFWL_WidgetImpProperties* m_pProperties;
@@ -147,10 +150,6 @@ class CFWL_WidgetImp : public CFWL_TargetImp {
IFWL_Widget* m_pOuter;
IFWL_Widget* m_pInterface;
int32_t m_iLock;
- friend class CFWL_WidgetImpDelegate;
- friend void FWL_SetWidgetRect(IFWL_Widget* widget, const CFX_RectF& rect);
- friend void FWL_SetWidgetStates(IFWL_Widget* widget, uint32_t dwStates);
- friend void FWL_SetWidgetStyles(IFWL_Widget* widget, uint32_t dwStyles);
};
class CFWL_WidgetImpDelegate : public IFWL_WidgetDelegate {