Index: ui/events/gesture_detection/gesture_provider.h |
diff --git a/ui/events/gesture_detection/gesture_provider.h b/ui/events/gesture_detection/gesture_provider.h |
index 74749677133d7d3832bec5918a7c71248607052c..e01b4f6e30ea7fd00a4a6720f5b1dca2ba8e0bd9 100644 |
--- a/ui/events/gesture_detection/gesture_provider.h |
+++ b/ui/events/gesture_detection/gesture_provider.h |
@@ -64,6 +64,10 @@ class GESTURE_DETECTION_EXPORT GestureProvider { |
// be handled. |
bool OnTouchEvent(const MotionEvent& event); |
+ // Cancel any current gesture detection, also preventing any pending |
+ // timeout-based events. |
+ void ResetDetection(); |
+ |
// Update whether multi-touch pinch zoom is supported by the platform. |
void SetMultiTouchZoomSupportEnabled(bool enabled); |