Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9)

Side by Side Diff: third_party/WebKit/Source/core/input/GestureManager.h

Issue 2147263003: Send got/lostpointercapture immediately if possible (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make PointerEventManager a GC object Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698