| 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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 WebInputEventResult handleGestureLongTap(const GestureEventWithHitTestResult
s&); | 48 WebInputEventResult handleGestureLongTap(const GestureEventWithHitTestResult
s&); |
| 49 | 49 |
| 50 FrameHost* frameHost() const; | 50 FrameHost* frameHost() const; |
| 51 | 51 |
| 52 // NOTE: If adding a new field to this class please ensure that it is | 52 // NOTE: If adding a new field to this class please ensure that it is |
| 53 // cleared if needed in |GestureManager::clear()|. | 53 // cleared if needed in |GestureManager::clear()|. |
| 54 | 54 |
| 55 const Member<LocalFrame> m_frame; | 55 const Member<LocalFrame> m_frame; |
| 56 | 56 |
| 57 ScrollManager* m_scrollManager; | 57 ScrollManager* m_scrollManager; |
| 58 PointerEventManager* m_pointerEventManager; | 58 const Member<PointerEventManager> m_pointerEventManager; |
| 59 | 59 |
| 60 // Set on GestureTapDown if the |pointerdown| event corresponding to the | 60 // Set on GestureTapDown if the |pointerdown| event corresponding to the |
| 61 // triggering |touchstart| event was canceled. This suppresses mouse event | 61 // triggering |touchstart| event was canceled. This suppresses mouse event |
| 62 // firing for the current gesture sequence (i.e. until next GestureTapDown). | 62 // firing for the current gesture sequence (i.e. until next GestureTapDown). |
| 63 bool m_suppressMouseEventsFromGestures; | 63 bool m_suppressMouseEventsFromGestures; |
| 64 | 64 |
| 65 bool m_longTapShouldInvokeContextMenu; | 65 bool m_longTapShouldInvokeContextMenu; |
| 66 | 66 |
| 67 const Member<SelectionController> m_selectionController; | 67 const Member<SelectionController> m_selectionController; |
| 68 | 68 |
| 69 double m_lastShowPressTimestamp; | 69 double m_lastShowPressTimestamp; |
| 70 }; | 70 }; |
| 71 | 71 |
| 72 } // namespace blink | 72 } // namespace blink |
| 73 | 73 |
| 74 #endif // GestureManager_h | 74 #endif // GestureManager_h |
| OLD | NEW |