Chromium Code Reviews| Index: third_party/WebKit/Source/core/input/EventHandler.h |
| diff --git a/third_party/WebKit/Source/core/input/EventHandler.h b/third_party/WebKit/Source/core/input/EventHandler.h |
| index c69fa8be7af779da2296c4a02307533f6f314d51..3b41a48db070af3a69f2ecf41722b163ef4d24b5 100644 |
| --- a/third_party/WebKit/Source/core/input/EventHandler.h |
| +++ b/third_party/WebKit/Source/core/input/EventHandler.h |
| @@ -237,6 +237,7 @@ private: |
| HitTestRequest::HitTestRequestType getHitTypeForGestureType(PlatformEvent::EventType); |
| void applyTouchAdjustment(PlatformGestureEvent*, HitTestResult*); |
| + WebInputEventResult handleGestureTapDown(const GestureEventWithHitTestResults&); |
| WebInputEventResult handleGestureTap(const GestureEventWithHitTestResults&); |
| WebInputEventResult handleGestureLongPress(const GestureEventWithHitTestResults&); |
| WebInputEventResult handleGestureLongTap(const GestureEventWithHitTestResults&); |
| @@ -463,6 +464,11 @@ private: |
| // scroll which shouldn't propagate can't cause any element to |
| // scroll other than the |m_previousGestureScrolledNode|. |
| bool m_deltaConsumedForScrollSequence; |
| + |
| + // Set on GestureTapDown if the |pointerdown| event corresponding to the |
| + // triggering |touchstart| event was canceled. This suppresses mouse event |
| + // firing for the current gesure sequence (i.e. until next GestureTapDown). |
|
tdresser
2016/05/27 18:26:32
gesure -> gesture.
mustaq
2016/06/02 19:26:26
Done.
|
| + bool m_suppressMouseEventsFromGestures; |
| }; |
| } // namespace blink |