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

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: Fix mac build. Created 6 years, 4 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 5dc58346cefdabc8d9770c244a6383c982e46c7a..6d05b278b231c5932880cbea5a906db2ca8deae9 100644
--- a/ui/events/gestures/gesture_recognizer.h
+++ b/ui/events/gestures/gesture_recognizer.h
@@ -40,8 +40,7 @@ class EVENTS_EXPORT GestureRecognizer {
// Returns a list of zero or more GestureEvents. The caller is responsible for
// freeing the returned events. Called when a touch event receives an
// asynchronous ack.
- virtual Gestures* ProcessTouchEventOnAsyncAck(const TouchEvent& event,
- ui::EventResult result,
+ virtual Gestures* ProcessTouchEventOnAsyncAck(ui::EventResult result,
GestureConsumer* consumer) = 0;
// This is called when the consumer is destroyed. So this should cleanup any

Powered by Google App Engine
This is Rietveld 408576698