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

Unified Diff: ui/events/gesture_detection/filtered_gesture_provider.h

Issue 680413006: Re-enable Eager Gesture Recognition on Aura (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix out of order ack problem. Created 6 years, 1 month 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 side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698