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

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

Issue 503883004: Don't pass touches to gesture recognizer for async acks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address sadrul's comments. Created 5 years, 10 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 9ed07049f1477ff112a799f23e3b97acd8efdf48..325efa21c7838e372139c3301382ee0df11780f1 100644
--- a/ui/events/gestures/gesture_recognizer.h
+++ b/ui/events/gestures/gesture_recognizer.h
@@ -34,10 +34,8 @@ class EVENTS_EXPORT GestureRecognizer {
// Returns a list of zero or more GestureEvents. The caller is responsible for
// freeing the returned events. Acks the first gesture packet in the queue.
- virtual Gestures* AckAsyncTouchEvent(
- const TouchEvent& event,
- ui::EventResult result,
- GestureConsumer* consumer) = 0;
+ virtual Gestures* AckAsyncTouchEvent(ui::EventResult result,
+ GestureConsumer* consumer) = 0;
// Returns a list of zero or more GestureEvents. The caller is responsible for
// freeing the returned events. Acks the last gesture packet in the queue.

Powered by Google App Engine
This is Rietveld 408576698