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..208c21598b40231e61765c8bceb08bb04f4513c3 100644 |
--- a/ui/events/gestures/gesture_recognizer.h |
+++ b/ui/events/gestures/gesture_recognizer.h |
@@ -29,20 +29,14 @@ class EVENTS_EXPORT GestureRecognizer { |
// Invoked before event dispatch. If the event is invalid given the current |
// touch sequence, marks it as handled. |
- virtual bool ProcessTouchEventPreDispatch(const TouchEvent& event, |
+ virtual bool ProcessTouchEvent(const TouchEvent& event, |
GestureConsumer* consumer) = 0; |
// Returns a list of zero or more GestureEvents. The caller is responsible for |
// freeing the returned events. Called synchronously after event dispatch. |
jdduke (slow)
2014/10/22 17:51:02
Is the "synchronously" comment here still always v
tdresser
2014/10/22 18:24:08
Absolutely not. Fixed.
|
- virtual Gestures* ProcessTouchEventPostDispatch( |
+ virtual Gestures* ProcessTouchEventAck( |
const TouchEvent& event, |
ui::EventResult result, |
GestureConsumer* consumer) = 0; |
- // 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, |
- GestureConsumer* consumer) = 0; |
// This is called when the consumer is destroyed. So this should cleanup any |
// internal state maintained for |consumer|. Returns true iff there was |