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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 FX_BOOL m_bContinueModal; | 48 FX_BOOL m_bContinueModal; |
49 }; | 49 }; |
50 | 50 |
51 class CFWL_NoteDriver : public IFWL_NoteDriver { | 51 class CFWL_NoteDriver : public IFWL_NoteDriver { |
52 public: | 52 public: |
53 CFWL_NoteDriver(); | 53 CFWL_NoteDriver(); |
54 ~CFWL_NoteDriver() override; | 54 ~CFWL_NoteDriver() override; |
55 | 55 |
56 // IFWL_NoteDriver: | 56 // IFWL_NoteDriver: |
57 FX_BOOL SendNote(CFWL_Note* pNote) override; | 57 FX_BOOL SendNote(CFWL_Note* pNote) override; |
58 FX_BOOL PostMessage(CFWL_Message* pMessage) override; | |
59 FWL_ERR RegisterEventTarget(IFWL_Widget* pListener, | 58 FWL_ERR RegisterEventTarget(IFWL_Widget* pListener, |
60 IFWL_Widget* pEventSource = NULL, | 59 IFWL_Widget* pEventSource = NULL, |
61 FX_DWORD dwFilter = FWL_EVENT_ALL_MASK) override; | 60 FX_DWORD dwFilter = FWL_EVENT_ALL_MASK) override; |
62 FWL_ERR UnregisterEventTarget(IFWL_Widget* pListener) override; | 61 FWL_ERR UnregisterEventTarget(IFWL_Widget* pListener) override; |
63 void ClearEventTargets(FX_BOOL bRemoveAll) override; | 62 void ClearEventTargets(FX_BOOL bRemoveAll) override; |
64 int32_t GetQueueMaxSize() const override; | 63 int32_t GetQueueMaxSize() const override; |
65 FWL_ERR SetQueueMaxSize(const int32_t size) override; | 64 FWL_ERR SetQueueMaxSize(const int32_t size) override; |
66 IFWL_NoteThread* GetOwnerThread() const override; | 65 IFWL_NoteThread* GetOwnerThread() const override; |
67 FWL_ERR PushNoteLoop(IFWL_NoteLoop* pNoteLoop) override; | 66 FWL_ERR PushNoteLoop(IFWL_NoteLoop* pNoteLoop) override; |
68 IFWL_NoteLoop* PopNoteLoop() override; | 67 IFWL_NoteLoop* PopNoteLoop() override; |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 IFWL_ToolTipTarget* pCurTarget; | 161 IFWL_ToolTipTarget* pCurTarget; |
163 CFWL_ToolTipImp* m_pToolTipImp; | 162 CFWL_ToolTipImp* m_pToolTipImp; |
164 CFWL_CoreToolTipDP* m_ToolTipDp; | 163 CFWL_CoreToolTipDP* m_ToolTipDp; |
165 CFX_PtrArray m_arrWidget; | 164 CFX_PtrArray m_arrWidget; |
166 | 165 |
167 private: | 166 private: |
168 static CFWL_ToolTipContainer* s_pInstance; | 167 static CFWL_ToolTipContainer* s_pInstance; |
169 }; | 168 }; |
170 | 169 |
171 #endif // XFA_FWL_CORE_FWL_NOTEIMP_H_ | 170 #endif // XFA_FWL_CORE_FWL_NOTEIMP_H_ |
OLD | NEW |