diff options
author | dsinclair <dsinclair@chromium.org> | 2016-10-20 06:44:03 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-10-20 06:44:03 -0700 |
commit | fb5055947efd78e0e7f8a2bfd5b754c63dbb6076 (patch) | |
tree | 10511c1cb9b341e901a7f619a2bf6c2a74bb7f89 /xfa/fwl/core/fwl_noteimp.h | |
parent | dadea5f87d35f8a692b659dbff54cc8780d48ef8 (diff) | |
download | pdfium-fb5055947efd78e0e7f8a2bfd5b754c63dbb6076.tar.xz |
Merge the CFWL_*Imp classes into the IFWL_* classes.
This Cl merges the implementation classes up into the IFWL classes as the
intermediate classes were just acting as proxies.
Review-Url: https://chromiumcodereview.appspot.com/2432423002
Diffstat (limited to 'xfa/fwl/core/fwl_noteimp.h')
-rw-r--r-- | xfa/fwl/core/fwl_noteimp.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/xfa/fwl/core/fwl_noteimp.h b/xfa/fwl/core/fwl_noteimp.h index 23b3c991ab..6e587166c0 100644 --- a/xfa/fwl/core/fwl_noteimp.h +++ b/xfa/fwl/core/fwl_noteimp.h @@ -29,24 +29,24 @@ class CFWL_MsgSetFocus; class CFWL_MsgSize; class CFWL_MsgWindowMove; class CFWL_TargetImp; -class CFWL_ToolTipImp; -class CFWL_WidgetImp; +class IFWL_ToolTip; +class IFWL_Widget; class CFWL_NoteLoop { public: - CFWL_NoteLoop(CFWL_WidgetImp* pForm = nullptr); + CFWL_NoteLoop(IFWL_Widget* pForm = nullptr); ~CFWL_NoteLoop() {} FWL_Error Idle(int32_t count); - CFWL_WidgetImp* GetForm(); + IFWL_Widget* GetForm(); FX_BOOL ContinueModal(); FWL_Error EndModalLoop(); - FWL_Error SetMainForm(CFWL_WidgetImp* pForm); + FWL_Error SetMainForm(IFWL_Widget* pForm); protected: void GenerateCommondEvent(uint32_t dwCommand); - CFWL_WidgetImp* m_pForm; + IFWL_Widget* m_pForm; FX_BOOL m_bContinueModal; }; @@ -73,8 +73,8 @@ class CFWL_NoteDriver { void SetHover(IFWL_Widget* pHover); void NotifyTargetHide(IFWL_Widget* pNoteTarget); void NotifyTargetDestroy(IFWL_Widget* pNoteTarget); - FWL_Error RegisterForm(CFWL_WidgetImp* pForm); - FWL_Error UnRegisterForm(CFWL_WidgetImp* pForm); + FWL_Error RegisterForm(IFWL_Widget* pForm); + FWL_Error UnRegisterForm(IFWL_Widget* pForm); FX_BOOL QueueMessage(CFWL_Message* pMessage); FX_BOOL UnqueueMessage(CFWL_NoteLoop* pNoteLoop); CFWL_NoteLoop* GetTopLoop(); @@ -99,7 +99,7 @@ class CFWL_NoteDriver { IFWL_Widget* GetMessageForm(IFWL_Widget* pDstTarget); void ClearInvalidEventTargets(FX_BOOL bRemoveAll); - CFX_ArrayTemplate<CFWL_WidgetImp*> m_forms; + CFX_ArrayTemplate<IFWL_Widget*> m_forms; CFX_ArrayTemplate<CFWL_Message*> m_noteQueue; CFX_ArrayTemplate<CFWL_NoteLoop*> m_noteLoopQueue; std::unordered_map<uint32_t, CFWL_EventTarget*> m_eventTargets; @@ -137,7 +137,7 @@ class CFWL_ToolTipContainer final { CFWL_ToolTipContainer(); ~CFWL_ToolTipContainer(); - CFWL_ToolTipImp* m_pToolTipImp; + IFWL_ToolTip* m_pToolTipImp; std::unique_ptr<CFWL_CoreToolTipDP> m_pToolTipDp; private: |