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_CFWL_NOTEDRIVER_H_ | 7 #ifndef XFA_FWL_CFWL_NOTEDRIVER_H_ |
8 #define XFA_FWL_CORE_CFWL_NOTEDRIVER_H_ | 8 #define XFA_FWL_CFWL_NOTEDRIVER_H_ |
9 | 9 |
10 #include <deque> | 10 #include <deque> |
11 #include <memory> | 11 #include <memory> |
12 #include <unordered_map> | 12 #include <unordered_map> |
13 | 13 |
14 #include "xfa/fwl/core/cfwl_event.h" | 14 #include "xfa/fwl/cfwl_event.h" |
15 #include "xfa/fwl/core/cfwl_widget.h" | 15 #include "xfa/fwl/cfwl_widget.h" |
16 #include "xfa/fxgraphics/cfx_graphics.h" | 16 #include "xfa/fxgraphics/cfx_graphics.h" |
17 | 17 |
18 class CFWL_EventTarget; | 18 class CFWL_EventTarget; |
19 class CFWL_NoteLoop; | 19 class CFWL_NoteLoop; |
20 class CFWL_TargetImp; | 20 class CFWL_TargetImp; |
21 class CFWL_Widget; | 21 class CFWL_Widget; |
22 | 22 |
23 class CFWL_NoteDriver { | 23 class CFWL_NoteDriver { |
24 public: | 24 public: |
25 CFWL_NoteDriver(); | 25 CFWL_NoteDriver(); |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 CFX_ArrayTemplate<CFWL_Widget*> m_forms; | 68 CFX_ArrayTemplate<CFWL_Widget*> m_forms; |
69 std::deque<std::unique_ptr<CFWL_Message>> m_noteQueue; | 69 std::deque<std::unique_ptr<CFWL_Message>> m_noteQueue; |
70 CFX_ArrayTemplate<CFWL_NoteLoop*> m_noteLoopQueue; | 70 CFX_ArrayTemplate<CFWL_NoteLoop*> m_noteLoopQueue; |
71 std::unordered_map<uint32_t, CFWL_EventTarget*> m_eventTargets; | 71 std::unordered_map<uint32_t, CFWL_EventTarget*> m_eventTargets; |
72 CFWL_Widget* m_pHover; | 72 CFWL_Widget* m_pHover; |
73 CFWL_Widget* m_pFocus; | 73 CFWL_Widget* m_pFocus; |
74 CFWL_Widget* m_pGrab; | 74 CFWL_Widget* m_pGrab; |
75 std::unique_ptr<CFWL_NoteLoop> m_pNoteLoop; | 75 std::unique_ptr<CFWL_NoteLoop> m_pNoteLoop; |
76 }; | 76 }; |
77 | 77 |
78 #endif // XFA_FWL_CORE_CFWL_NOTEDRIVER_H_ | 78 #endif // XFA_FWL_CFWL_NOTEDRIVER_H_ |
OLD | NEW |