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 8471cb877fc5484d7c71e4d615d9cf04652825c3..019e3ee1d79f250cc640c6086c56b32c8f97b3a6 100644 |
--- a/third_party/WebKit/Source/core/input/EventHandler.h |
+++ b/third_party/WebKit/Source/core/input/EventHandler.h |
@@ -246,6 +246,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&); |
@@ -393,6 +394,11 @@ private: |
Timer<EventHandler> m_activeIntervalTimer; |
double m_lastShowPressTimestamp; |
Member<Element> m_lastDeferredTapElement; |
+ |
+ // Set on GestureTapDown if the |pointerdown| event corresponding to the |
+ // triggering |touchstart| event was canceled. This suppresses mouse event |
+ // firing for the current gesture sequence (i.e. until next GestureTapDown). |
+ bool m_suppressMouseEventsFromGestures; |
}; |
} // namespace blink |