OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium 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 #ifndef PointerEventManager_h | 5 #ifndef PointerEventManager_h |
6 #define PointerEventManager_h | 6 #define PointerEventManager_h |
7 | 7 |
8 #include "core/CoreExport.h" | 8 #include "core/CoreExport.h" |
9 #include "core/events/PointerEvent.h" | 9 #include "core/events/PointerEvent.h" |
10 #include "core/events/PointerEventFactory.h" | 10 #include "core/events/PointerEventFactory.h" |
11 #include "core/input/BoundaryEventDispatcher.h" | 11 #include "core/input/BoundaryEventDispatcher.h" |
12 #include "core/input/TouchEventManager.h" | 12 #include "core/input/TouchEventManager.h" |
| 13 #include "platform/wtf/Allocator.h" |
| 14 #include "platform/wtf/HashMap.h" |
13 #include "public/platform/WebInputEventResult.h" | 15 #include "public/platform/WebInputEventResult.h" |
14 #include "public/platform/WebPointerProperties.h" | 16 #include "public/platform/WebPointerProperties.h" |
15 #include "wtf/Allocator.h" | |
16 #include "wtf/HashMap.h" | |
17 | 17 |
18 namespace blink { | 18 namespace blink { |
19 | 19 |
20 class LocalFrame; | 20 class LocalFrame; |
21 class MouseEventManager; | 21 class MouseEventManager; |
22 | 22 |
23 // This class takes care of dispatching all pointer events and keeps track of | 23 // This class takes care of dispatching all pointer events and keeps track of |
24 // properties of active pointer events. | 24 // properties of active pointer events. |
25 class CORE_EXPORT PointerEventManager | 25 class CORE_EXPORT PointerEventManager |
26 : public GarbageCollectedFinalized<PointerEventManager> { | 26 : public GarbageCollectedFinalized<PointerEventManager> { |
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
225 Member<MouseEventManager> mouse_event_manager_; | 225 Member<MouseEventManager> mouse_event_manager_; |
226 | 226 |
227 // The pointerId of the PointerEvent currently being dispatched within this | 227 // The pointerId of the PointerEvent currently being dispatched within this |
228 // frame or 0 if none. | 228 // frame or 0 if none. |
229 int dispatching_pointer_id_; | 229 int dispatching_pointer_id_; |
230 }; | 230 }; |
231 | 231 |
232 } // namespace blink | 232 } // namespace blink |
233 | 233 |
234 #endif // PointerEventManager_h | 234 #endif // PointerEventManager_h |
OLD | NEW |