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

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: Address comments (still some tests to come) 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..56682a336c1e83dabd3b6b9f506aeb78dab0864c 100644
--- a/ui/events/gesture_detection/filtered_gesture_provider.h
+++ b/ui/events/gesture_detection/filtered_gesture_provider.h
@@ -28,9 +28,13 @@ class GESTURE_DETECTION_EXPORT FilteredGestureProvider
// should drop |event|, not forwarding it to the renderer.
bool OnTouchEvent(const MotionEvent& event);
- // To be called upon ack of an event that was forwarded after a successful
- // call to |OnTouchEvent()|.
- void OnTouchEventAck(bool event_consumed);
+ // To be called upon asynchronous ack of an event that was forwarded
+ // after a successful call to |OnTouchEvent()|.
+ void OnAsyncTouchEventAck(bool event_consumed);
+
+ // To be called upon synchronous ack of an event that was forwarded
+ // after a successful call to |OnTouchEvent()|.
+ void OnSyncTouchEventAck(bool event_consumed);
// Methods delegated to |gesture_provider_|.
void ResetDetection();

Powered by Google App Engine
This is Rietveld 408576698