Index: ui/events/gesture_detection/filtered_gesture_provider.h |
diff --git a/ui/events/gesture_detection/filtered_gesture_provider.h b/ui/events/gesture_detection/filtered_gesture_provider.h |
index f54b29085f9053279c4074d4e406ec40617e3dc5..11be9d6cc9e0ba9d348e6d8b284b28b64a2ac136 100644 |
--- a/ui/events/gesture_detection/filtered_gesture_provider.h |
+++ b/ui/events/gesture_detection/filtered_gesture_provider.h |
@@ -32,6 +32,10 @@ class GESTURE_DETECTION_EXPORT FilteredGestureProvider |
// call to |OnTouchEvent()|. |
void OnTouchEventAck(bool event_consumed); |
+ // If the most recent touch event passed to |OnTouchEvent| is found |
+ // to be invalid, this method should be called to ignore that event. |
+ void IgnoreLastTouchEvent(); |
+ |
// Methods delegated to |gesture_provider_|. |
void ResetDetection(); |
void SetMultiTouchZoomSupportEnabled(bool enabled); |