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 _FWL_NOTE_IMP_H | 7 #ifndef _FWL_NOTE_IMP_H |
8 #define _FWL_NOTE_IMP_H | 8 #define _FWL_NOTE_IMP_H |
9 | 9 |
10 #include "xfa/include/fwl/core/fwl_note.h" | 10 #include "xfa/include/fwl/core/fwl_note.h" |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 FWL_ERR RegisterEventTarget(IFWL_Widget* pListener, | 50 FWL_ERR RegisterEventTarget(IFWL_Widget* pListener, |
51 IFWL_Widget* pEventSource = NULL, | 51 IFWL_Widget* pEventSource = NULL, |
52 FX_DWORD dwFilter = FWL_EVENT_ALL_MASK) override; | 52 FX_DWORD dwFilter = FWL_EVENT_ALL_MASK) override; |
53 FWL_ERR UnregisterEventTarget(IFWL_Widget* pListener) override; | 53 FWL_ERR UnregisterEventTarget(IFWL_Widget* pListener) override; |
54 void ClearEventTargets(FX_BOOL bRemoveAll) override; | 54 void ClearEventTargets(FX_BOOL bRemoveAll) override; |
55 int32_t GetQueueMaxSize() const override; | 55 int32_t GetQueueMaxSize() const override; |
56 FWL_ERR SetQueueMaxSize(const int32_t size) override; | 56 FWL_ERR SetQueueMaxSize(const int32_t size) override; |
57 IFWL_NoteThread* GetOwnerThread() const override; | 57 IFWL_NoteThread* GetOwnerThread() const override; |
58 FWL_ERR PushNoteLoop(IFWL_NoteLoop* pNoteLoop) override; | 58 FWL_ERR PushNoteLoop(IFWL_NoteLoop* pNoteLoop) override; |
59 IFWL_NoteLoop* PopNoteLoop() override; | 59 IFWL_NoteLoop* PopNoteLoop() override; |
| 60 IFWL_Widget* GetFocus() override; |
60 FX_BOOL SetFocus(IFWL_Widget* pFocus, FX_BOOL bNotify = FALSE) override; | 61 FX_BOOL SetFocus(IFWL_Widget* pFocus, FX_BOOL bNotify = FALSE) override; |
| 62 void SetGrab(IFWL_Widget* pGrab, FX_BOOL bSet) override; |
61 FWL_ERR Run() override; | 63 FWL_ERR Run() override; |
62 | 64 |
63 IFWL_Widget* GetFocus(); | |
64 IFWL_Widget* GetHover(); | 65 IFWL_Widget* GetHover(); |
65 void SetHover(IFWL_Widget* pHover); | 66 void SetHover(IFWL_Widget* pHover); |
66 void SetGrab(IFWL_Widget* pGrab, FX_BOOL bSet); | |
67 void NotifyTargetHide(IFWL_Widget* pNoteTarget); | 67 void NotifyTargetHide(IFWL_Widget* pNoteTarget); |
68 void NotifyTargetDestroy(IFWL_Widget* pNoteTarget); | 68 void NotifyTargetDestroy(IFWL_Widget* pNoteTarget); |
69 void NotifyFullScreenMode(IFWL_Widget* pNoteTarget, FX_BOOL bFullScreen); | 69 void NotifyFullScreenMode(IFWL_Widget* pNoteTarget, FX_BOOL bFullScreen); |
70 FWL_ERR RegisterForm(CFWL_WidgetImp* pForm); | 70 FWL_ERR RegisterForm(CFWL_WidgetImp* pForm); |
71 FWL_ERR UnRegisterForm(CFWL_WidgetImp* pForm); | 71 FWL_ERR UnRegisterForm(CFWL_WidgetImp* pForm); |
72 FX_BOOL QueueMessage(CFWL_Message* pMessage); | 72 FX_BOOL QueueMessage(CFWL_Message* pMessage); |
73 FX_BOOL UnqueueMessage(CFWL_NoteLoop* pNoteLoop); | 73 FX_BOOL UnqueueMessage(CFWL_NoteLoop* pNoteLoop); |
74 CFWL_NoteLoop* GetTopLoop(); | 74 CFWL_NoteLoop* GetTopLoop(); |
75 int32_t CountLoop(); | 75 int32_t CountLoop(); |
76 void SetHook(FWLMessageHookCallback callback, void* info); | 76 void SetHook(FWLMessageHookCallback callback, void* info); |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
149 | 149 |
150 IFWL_ToolTipTarget* pCurTarget; | 150 IFWL_ToolTipTarget* pCurTarget; |
151 CFWL_ToolTipImp* m_pToolTipImp; | 151 CFWL_ToolTipImp* m_pToolTipImp; |
152 CFWL_CoreToopTipDP* m_ToolTipDp; | 152 CFWL_CoreToopTipDP* 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 #endif | 158 #endif |
OLD | NEW |