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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 SendNote(CFWL_Note* 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 = NULL, |
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_NoteThread* 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; |
68 | 68 |
69 IFWL_Widget* GetHover(); | 69 IFWL_Widget* GetHover(); |
70 void SetHover(IFWL_Widget* pHover); | 70 void SetHover(IFWL_Widget* pHover); |
71 void NotifyTargetHide(IFWL_Widget* pNoteTarget); | 71 void NotifyTargetHide(IFWL_Widget* pNoteTarget); |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 IFWL_ToolTipTarget* pCurTarget; | 150 IFWL_ToolTipTarget* pCurTarget; |
151 CFWL_ToolTipImp* m_pToolTipImp; | 151 CFWL_ToolTipImp* m_pToolTipImp; |
152 CFWL_CoreToolTipDP* m_ToolTipDp; | 152 CFWL_CoreToolTipDP* m_ToolTipDp; |
153 CFX_PtrArray m_arrWidget; | 153 CFX_PtrArray m_arrWidget; |
154 | 154 |
155 private: | 155 private: |
156 static CFWL_ToolTipContainer* s_pInstance; | 156 static CFWL_ToolTipContainer* s_pInstance; |
157 }; | 157 }; |
158 | 158 |
159 #endif // XFA_FWL_CORE_FWL_NOTEIMP_H_ | 159 #endif // XFA_FWL_CORE_FWL_NOTEIMP_H_ |
OLD | NEW |