Index: content/browser/renderer_host/input/gesture_event_queue.h |
diff --git a/content/browser/renderer_host/input/gesture_event_queue.h b/content/browser/renderer_host/input/gesture_event_queue.h |
index 8bc433bfb85237d10c23a06d3322542771ad0f5a..299242cff0acd3bcecb633453c9fa24a5644dadf 100644 |
--- a/content/browser/renderer_host/input/gesture_event_queue.h |
+++ b/content/browser/renderer_host/input/gesture_event_queue.h |
@@ -103,6 +103,10 @@ class CONTENT_EXPORT GestureEventQueue { |
void ForwardGestureEvent(const GestureEventWithLatencyInfo& gesture_event); |
+ // Reset the state of the queue, dropping all pending gestures and preparing |
+ // for an entirely new event stream. |
+ void Recycle(); |
+ |
// Whether the queue is expecting a gesture event ack. |
bool ExpectingGestureAck() const; |