summaryrefslogtreecommitdiffstats
path: root/ui/aura/gestures/gesture_recognizer.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/aura/gestures/gesture_recognizer.h')
-rw-r--r--ui/aura/gestures/gesture_recognizer.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/ui/aura/gestures/gesture_recognizer.h b/ui/aura/gestures/gesture_recognizer.h
index 68932773..28c472c 100644
--- a/ui/aura/gestures/gesture_recognizer.h
+++ b/ui/aura/gestures/gesture_recognizer.h
@@ -52,6 +52,19 @@ class AURA_EXPORT GestureRecognizer {
virtual Gestures* ProcessTouchEventForGesture(const TouchEvent& event,
ui::TouchStatus status);
+ // Touch-events can be queued to be played back at a later time. The queues
+ // are identified by the target window.
+ virtual void QueueTouchEventForGesture(Window* window,
+ const TouchEvent& event);
+
+ // Process the touch-event in the queue for the window. Returns a list of
+ // zero or more GestureEvents identified after processing the queueud
+ // TouchEvent. Caller is responsible for freeing up Gestures.
+ virtual Gestures* AdvanceTouchQueue(Window* window, bool processed);
+
+ // Reset the touch events in the queue for the window.
+ virtual void FlushTouchQueue(Window* window);
+
// Clears the GestureRecognizer to its initial state.
virtual void Reset();