Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(129)

Side by Side Diff: xfa/fwl/core/fwl_noteimp.h

Issue 2436103002: Remove FWL globals. (Closed)
Patch Set: fix mac Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698