summaryrefslogtreecommitdiff
path: root/xfa/fwl/core/fwl_widgetimp.h
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-04-18 06:49:02 -0700
committerCommit bot <commit-bot@chromium.org>2016-04-18 06:49:02 -0700
commit7adef41ed27ced7e18ee649a3d4f27a3cc00c51f (patch)
treefff2871099785daa42deff0cd847ba148c0fa1e2 /xfa/fwl/core/fwl_widgetimp.h
parent31e446374a7cf3f3353e42a03b6d5297e5cd60ec (diff)
downloadpdfium-7adef41ed27ced7e18ee649a3d4f27a3cc00c51f.tar.xz
Fold the FWL NoteThread classes up to the Thread classes.
The NoteThread classes only contained one member and don't provide any added clarity. This CL moves the NoteDriver up to the Thread classes and removes the NoteThread classes. Review URL: https://codereview.chromium.org/1887703003
Diffstat (limited to 'xfa/fwl/core/fwl_widgetimp.h')
-rw-r--r--xfa/fwl/core/fwl_widgetimp.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/xfa/fwl/core/fwl_widgetimp.h b/xfa/fwl/core/fwl_widgetimp.h
index e7520d6c87..bd9be7edc5 100644
--- a/xfa/fwl/core/fwl_widgetimp.h
+++ b/xfa/fwl/core/fwl_widgetimp.h
@@ -14,11 +14,11 @@
#include "xfa/fwl/core/ifwl_widgetdelegate.h"
class CFWL_MsgKey;
-class CFWL_NoteThreadImp;
+class CFWL_ThreadImp;
class CFWL_WidgetImpProperties;
class CFWL_WidgetMgr;
class IFWL_DataProvider;
-class IFWL_NoteThread;
+class IFWL_Thread;
class IFWL_ThemeProvider;
class IFWL_Widget;
@@ -62,8 +62,8 @@ class CFWL_WidgetImp : public CFWL_TargetImp {
virtual FWL_ERR SetThemeProvider(IFWL_ThemeProvider* pThemeProvider);
virtual FWL_ERR SetDataProvider(IFWL_DataProvider* pDataProvider);
virtual IFWL_WidgetDelegate* SetDelegate(IFWL_WidgetDelegate* pDelegate);
- virtual IFWL_NoteThread* GetOwnerThread() const;
- FWL_ERR SetOwnerThread(CFWL_NoteThreadImp* pOwnerThread);
+ virtual IFWL_Thread* GetOwnerThread() const;
+ FWL_ERR SetOwnerThread(CFWL_ThreadImp* pOwnerThread);
IFWL_Widget* GetInterface() const;
void SetInterface(IFWL_Widget* pInterface);
CFX_SizeF GetOffsetFromParent(IFWL_Widget* pParent);
@@ -142,7 +142,7 @@ class CFWL_WidgetImp : public CFWL_TargetImp {
friend class CFWL_WidgetImpDelegate;
CFWL_WidgetMgr* m_pWidgetMgr;
- CFWL_NoteThreadImp* m_pOwnerThread;
+ CFWL_ThreadImp* m_pOwnerThread;
CFWL_WidgetImpProperties* m_pProperties;
CFX_PrivateData* m_pPrivateData;
IFWL_WidgetDelegate* m_pDelegate;