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

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

Issue 101933004: Eager Gesture Recognizer (WIP) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Starting work on Android. Created 6 years, 11 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
« no previous file with comments | « ui/events/gestures/gesture_event_queue_unittest.cc ('k') | ui/events/gestures/gesture_recognizer_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/gestures/gesture_recognizer.h
diff --git a/ui/events/gestures/gesture_recognizer.h b/ui/events/gestures/gesture_recognizer.h
index 92d225a71187276ff2c92d72595b7ea335609dd7..20b4a027ae26d3c6ac8d4d68d3ee8f8071251757 100644
--- a/ui/events/gestures/gesture_recognizer.h
+++ b/ui/events/gestures/gesture_recognizer.h
@@ -10,6 +10,7 @@
#include "base/memory/scoped_vector.h"
#include "ui/events/event_constants.h"
#include "ui/events/events_export.h"
+#include "ui/events/gestures/gesture_event_queue.h"
#include "ui/events/gestures/gesture_types.h"
namespace ui {
@@ -29,9 +30,10 @@ class EVENTS_EXPORT GestureRecognizer {
// Returns list of zero or more GestureEvents identified after processing
// TouchEvent.
// Caller would be responsible for freeing up Gestures.
- virtual Gestures* ProcessTouchEventForGesture(const TouchEvent& event,
- ui::EventResult result,
- GestureConsumer* consumer) = 0;
+ virtual Gestures* ProcessTouchEventForGesture(
+ const TouchEvent& event,
+ GestureConsumer* consumer,
+ GestureEventQueueTimerInterface* geq_timers) = 0;
// This is called when the consumer is destroyed. So this should cleanup any
// internal state maintained for |consumer|.
« no previous file with comments | « ui/events/gestures/gesture_event_queue_unittest.cc ('k') | ui/events/gestures/gesture_recognizer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698