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 GestureManager_h | 5 #ifndef GestureManager_h |
6 #define GestureManager_h | 6 #define GestureManager_h |
7 | 7 |
8 #include "core/CoreExport.h" | 8 #include "core/CoreExport.h" |
9 #include "core/frame/LocalFrame.h" | 9 #include "core/frame/LocalFrame.h" |
10 #include "core/layout/HitTestRequest.h" | 10 #include "core/layout/HitTestRequest.h" |
11 #include "core/page/EventWithHitTestResults.h" | 11 #include "core/page/EventWithHitTestResults.h" |
| 12 #include "platform/wtf/Optional.h" |
| 13 #include "platform/wtf/Time.h" |
12 #include "public/platform/WebInputEventResult.h" | 14 #include "public/platform/WebInputEventResult.h" |
13 #include "wtf/Optional.h" | |
14 #include "wtf/Time.h" | |
15 | 15 |
16 namespace blink { | 16 namespace blink { |
17 | 17 |
18 class ScrollManager; | 18 class ScrollManager; |
19 class SelectionController; | 19 class SelectionController; |
20 class PointerEventManager; | 20 class PointerEventManager; |
21 class MouseEventManager; | 21 class MouseEventManager; |
22 | 22 |
23 // This class takes care of gestures and delegating the action based on the | 23 // This class takes care of gestures and delegating the action based on the |
24 // gesture to the responsible class. | 24 // gesture to the responsible class. |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 bool long_tap_should_invoke_context_menu_; | 78 bool long_tap_should_invoke_context_menu_; |
79 | 79 |
80 const Member<SelectionController> selection_controller_; | 80 const Member<SelectionController> selection_controller_; |
81 | 81 |
82 WTF::Optional<WTF::TimeTicks> last_show_press_timestamp_; | 82 WTF::Optional<WTF::TimeTicks> last_show_press_timestamp_; |
83 }; | 83 }; |
84 | 84 |
85 } // namespace blink | 85 } // namespace blink |
86 | 86 |
87 #endif // GestureManager_h | 87 #endif // GestureManager_h |
OLD | NEW |