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" |
(...skipping 18 matching lines...) Expand all Loading... |
29 GestureManager(LocalFrame&, | 29 GestureManager(LocalFrame&, |
30 ScrollManager&, | 30 ScrollManager&, |
31 MouseEventManager&, | 31 MouseEventManager&, |
32 PointerEventManager&, | 32 PointerEventManager&, |
33 SelectionController&); | 33 SelectionController&); |
34 DECLARE_TRACE(); | 34 DECLARE_TRACE(); |
35 | 35 |
36 void clear(); | 36 void clear(); |
37 | 37 |
38 HitTestRequest::HitTestRequestType getHitTypeForGestureType( | 38 HitTestRequest::HitTestRequestType getHitTypeForGestureType( |
39 PlatformEvent::EventType); | 39 WebInputEvent::Type); |
40 WebInputEventResult handleGestureEventInFrame( | 40 WebInputEventResult handleGestureEventInFrame( |
41 const GestureEventWithHitTestResults&); | 41 const GestureEventWithHitTestResults&); |
42 | 42 |
43 // TODO(nzolghadr): This can probably be hidden and the related logic | 43 // TODO(nzolghadr): This can probably be hidden and the related logic |
44 // be moved to this class (see crrev.com/112023010). Since that might cause | 44 // be moved to this class (see crrev.com/112023010). Since that might cause |
45 // regression it's better to move that logic in another change. | 45 // regression it's better to move that logic in another change. |
46 TimeTicks getLastShowPressTimestamp() const; | 46 TimeTicks getLastShowPressTimestamp() const; |
47 | 47 |
48 private: | 48 private: |
49 WebInputEventResult handleGestureShowPress(); | 49 WebInputEventResult handleGestureShowPress(); |
(...skipping 29 matching lines...) Expand all Loading... |
79 bool m_longTapShouldInvokeContextMenu; | 79 bool m_longTapShouldInvokeContextMenu; |
80 | 80 |
81 const Member<SelectionController> m_selectionController; | 81 const Member<SelectionController> m_selectionController; |
82 | 82 |
83 TimeTicks m_lastShowPressTimestamp; | 83 TimeTicks m_lastShowPressTimestamp; |
84 }; | 84 }; |
85 | 85 |
86 } // namespace blink | 86 } // namespace blink |
87 | 87 |
88 #endif // GestureManager_h | 88 #endif // GestureManager_h |
OLD | NEW |