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

Unified Diff: ui/events/gestures/gesture_recognizer.h

Issue 393953012: Eager Gesture Recognition on Aura (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix tests. Created 6 years, 5 months 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/gestures/gesture_recognizer.h
diff --git a/ui/events/gestures/gesture_recognizer.h b/ui/events/gestures/gesture_recognizer.h
index 4b31e57bd71fbc79bf71271934e85ed52aad5947..5a62ad554b2dc55f0df573dde434860b7eb868c4 100644
--- a/ui/events/gestures/gesture_recognizer.h
+++ b/ui/events/gestures/gesture_recognizer.h
@@ -35,6 +35,12 @@ class EVENTS_EXPORT GestureRecognizer {
ui::EventResult result,
GestureConsumer* consumer) = 0;
+ // Sends an ack to the gesture detector, and returns any gestures triggered by
+ // the ack.
+ virtual ScopedVector<GestureEvent>* AckTouchEventForGesture(
+ ui::EventResult result,
+ GestureConsumer* target) = 0;
+
// This is called when the consumer is destroyed. So this should cleanup any
// internal state maintained for |consumer|. Returns true iff there was
// state relating to |consumer| to clean up.

Powered by Google App Engine
This is Rietveld 408576698