OLD | NEW |
1 // Copyright 2014 PDFium Authors. All rights reserved. | 1 // Copyright 2014 PDFium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
6 | 6 |
7 #ifndef XFA_FWL_CORE_FWL_NOTEIMP_H_ | 7 #ifndef XFA_FWL_CORE_FWL_NOTEIMP_H_ |
8 #define XFA_FWL_CORE_FWL_NOTEIMP_H_ | 8 #define XFA_FWL_CORE_FWL_NOTEIMP_H_ |
9 | 9 |
10 #include "xfa/fwl/core/ifwl_notedriver.h" | 10 #include "xfa/fwl/core/ifwl_notedriver.h" |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 CFWL_WidgetImp* m_pForm; | 45 CFWL_WidgetImp* m_pForm; |
46 FX_BOOL m_bContinueModal; | 46 FX_BOOL m_bContinueModal; |
47 }; | 47 }; |
48 | 48 |
49 class CFWL_NoteDriver : public IFWL_NoteDriver { | 49 class CFWL_NoteDriver : public IFWL_NoteDriver { |
50 public: | 50 public: |
51 CFWL_NoteDriver(); | 51 CFWL_NoteDriver(); |
52 ~CFWL_NoteDriver() override; | 52 ~CFWL_NoteDriver() override; |
53 | 53 |
54 // IFWL_NoteDriver: | 54 // IFWL_NoteDriver: |
55 FX_BOOL SendNote(CFWL_Note* pNote) override; | 55 FX_BOOL SendEvent(CFWL_Event* pNote) override; |
56 FWL_ERR RegisterEventTarget(IFWL_Widget* pListener, | 56 FWL_ERR RegisterEventTarget(IFWL_Widget* pListener, |
57 IFWL_Widget* pEventSource = NULL, | 57 IFWL_Widget* pEventSource = nullptr, |
58 uint32_t dwFilter = FWL_EVENT_ALL_MASK) override; | 58 uint32_t dwFilter = FWL_EVENT_ALL_MASK) override; |
59 FWL_ERR UnregisterEventTarget(IFWL_Widget* pListener) override; | 59 FWL_ERR UnregisterEventTarget(IFWL_Widget* pListener) override; |
60 void ClearEventTargets(FX_BOOL bRemoveAll) override; | 60 void ClearEventTargets(FX_BOOL bRemoveAll) override; |
61 IFWL_Thread* GetOwnerThread() const override; | 61 IFWL_Thread* GetOwnerThread() const override; |
62 FWL_ERR PushNoteLoop(IFWL_NoteLoop* pNoteLoop) override; | 62 FWL_ERR PushNoteLoop(IFWL_NoteLoop* pNoteLoop) override; |
63 IFWL_NoteLoop* PopNoteLoop() override; | 63 IFWL_NoteLoop* PopNoteLoop() override; |
64 IFWL_Widget* GetFocus() override; | 64 IFWL_Widget* GetFocus() override; |
65 FX_BOOL SetFocus(IFWL_Widget* pFocus, FX_BOOL bNotify = FALSE) override; | 65 FX_BOOL SetFocus(IFWL_Widget* pFocus, FX_BOOL bNotify = FALSE) override; |
66 void SetGrab(IFWL_Widget* pGrab, FX_BOOL bSet) override; | 66 void SetGrab(IFWL_Widget* pGrab, FX_BOOL bSet) override; |
67 FWL_ERR Run() override; | 67 FWL_ERR Run() override; |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 IFWL_ToolTipTarget* pCurTarget; | 146 IFWL_ToolTipTarget* pCurTarget; |
147 CFWL_ToolTipImp* m_pToolTipImp; | 147 CFWL_ToolTipImp* m_pToolTipImp; |
148 CFWL_CoreToolTipDP* m_ToolTipDp; | 148 CFWL_CoreToolTipDP* m_ToolTipDp; |
149 CFX_PtrArray m_arrWidget; | 149 CFX_PtrArray m_arrWidget; |
150 | 150 |
151 private: | 151 private: |
152 static CFWL_ToolTipContainer* s_pInstance; | 152 static CFWL_ToolTipContainer* s_pInstance; |
153 }; | 153 }; |
154 | 154 |
155 #endif // XFA_FWL_CORE_FWL_NOTEIMP_H_ | 155 #endif // XFA_FWL_CORE_FWL_NOTEIMP_H_ |
OLD | NEW |