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" | 13 #include "platform/wtf/Allocator.h" |
14 #include "platform/wtf/HashMap.h" | 14 #include "platform/wtf/HashMap.h" |
15 #include "public/platform/WebInputEventResult.h" | 15 #include "public/platform/WebInputEventResult.h" |
16 #include "public/platform/WebPointerProperties.h" | 16 #include "public/platform/WebPointerProperties.h" |
17 #include "public/platform/WebTouchEvent.h" | |
mustaq
2017/06/08 20:02:52
This header file doesn't need this #include. Move
Navid Zolghadr
2017/06/08 21:18:40
Removed
| |
17 | 18 |
18 namespace blink { | 19 namespace blink { |
19 | 20 |
20 class LocalFrame; | 21 class LocalFrame; |
21 class MouseEventManager; | 22 class MouseEventManager; |
22 | 23 |
23 // This class takes care of dispatching all pointer events and keeps track of | 24 // This class takes care of dispatching all pointer events and keeps track of |
24 // properties of active pointer events. | 25 // properties of active pointer events. |
25 class CORE_EXPORT PointerEventManager | 26 class CORE_EXPORT PointerEventManager |
26 : public GarbageCollectedFinalized<PointerEventManager> { | 27 : public GarbageCollectedFinalized<PointerEventManager> { |
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
232 Member<MouseEventManager> mouse_event_manager_; | 233 Member<MouseEventManager> mouse_event_manager_; |
233 | 234 |
234 // The pointerId of the PointerEvent currently being dispatched within this | 235 // The pointerId of the PointerEvent currently being dispatched within this |
235 // frame or 0 if none. | 236 // frame or 0 if none. |
236 int dispatching_pointer_id_; | 237 int dispatching_pointer_id_; |
237 }; | 238 }; |
238 | 239 |
239 } // namespace blink | 240 } // namespace blink |
240 | 241 |
241 #endif // PointerEventManager_h | 242 #endif // PointerEventManager_h |
OLD | NEW |