| 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 <memory> | 10 #include <memory> |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 public: | 54 public: |
| 55 CFWL_NoteDriver(); | 55 CFWL_NoteDriver(); |
| 56 ~CFWL_NoteDriver(); | 56 ~CFWL_NoteDriver(); |
| 57 | 57 |
| 58 void SendEvent(CFWL_Event* pNote); | 58 void SendEvent(CFWL_Event* pNote); |
| 59 FWL_Error RegisterEventTarget(IFWL_Widget* pListener, | 59 FWL_Error RegisterEventTarget(IFWL_Widget* pListener, |
| 60 IFWL_Widget* pEventSource = nullptr, | 60 IFWL_Widget* pEventSource = nullptr, |
| 61 uint32_t dwFilter = FWL_EVENT_ALL_MASK); | 61 uint32_t dwFilter = FWL_EVENT_ALL_MASK); |
| 62 FWL_Error UnregisterEventTarget(IFWL_Widget* pListener); | 62 FWL_Error UnregisterEventTarget(IFWL_Widget* pListener); |
| 63 void ClearEventTargets(FX_BOOL bRemoveAll); | 63 void ClearEventTargets(FX_BOOL bRemoveAll); |
| 64 IFWL_App* GetOwnerApp() const; | |
| 65 FWL_Error PushNoteLoop(CFWL_NoteLoop* pNoteLoop); | 64 FWL_Error PushNoteLoop(CFWL_NoteLoop* pNoteLoop); |
| 66 CFWL_NoteLoop* PopNoteLoop(); | 65 CFWL_NoteLoop* PopNoteLoop(); |
| 67 IFWL_Widget* GetFocus(); | 66 IFWL_Widget* GetFocus(); |
| 68 FX_BOOL SetFocus(IFWL_Widget* pFocus, FX_BOOL bNotify = FALSE); | 67 FX_BOOL SetFocus(IFWL_Widget* pFocus, FX_BOOL bNotify = FALSE); |
| 69 void SetGrab(IFWL_Widget* pGrab, FX_BOOL bSet); | 68 void SetGrab(IFWL_Widget* pGrab, FX_BOOL bSet); |
| 70 FWL_Error Run(); | 69 FWL_Error Run(); |
| 71 | 70 |
| 72 IFWL_Widget* GetHover(); | 71 IFWL_Widget* GetHover(); |
| 73 void SetHover(IFWL_Widget* pHover); | 72 void SetHover(IFWL_Widget* pHover); |
| 74 void NotifyTargetHide(IFWL_Widget* pNoteTarget); | 73 void NotifyTargetHide(IFWL_Widget* pNoteTarget); |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 138 ~CFWL_ToolTipContainer(); | 137 ~CFWL_ToolTipContainer(); |
| 139 | 138 |
| 140 IFWL_ToolTip* m_pToolTipImp; | 139 IFWL_ToolTip* m_pToolTipImp; |
| 141 std::unique_ptr<CFWL_CoreToolTipDP> m_pToolTipDp; | 140 std::unique_ptr<CFWL_CoreToolTipDP> m_pToolTipDp; |
| 142 | 141 |
| 143 private: | 142 private: |
| 144 static CFWL_ToolTipContainer* s_pInstance; | 143 static CFWL_ToolTipContainer* s_pInstance; |
| 145 }; | 144 }; |
| 146 | 145 |
| 147 #endif // XFA_FWL_CORE_FWL_NOTEIMP_H_ | 146 #endif // XFA_FWL_CORE_FWL_NOTEIMP_H_ |
| OLD | NEW |