| Index: content/browser/renderer_host/input/touch_event_queue.h
|
| diff --git a/content/browser/renderer_host/input/touch_event_queue.h b/content/browser/renderer_host/input/touch_event_queue.h
|
| index 3bdab903750f69d119f6f1f077c7f2a89ce3f784..8420a885e33735da1c5d34b297add8c8f937e64e 100644
|
| --- a/content/browser/renderer_host/input/touch_event_queue.h
|
| +++ b/content/browser/renderer_host/input/touch_event_queue.h
|
| @@ -106,6 +106,10 @@ class CONTENT_EXPORT TouchEventQueue {
|
| // Notifies the queue whether the renderer has at least one touch handler.
|
| void OnHasTouchEventHandlers(bool has_handlers);
|
|
|
| + // Empties the queue of touch events, ack'ing each in turn with |ack_state|.
|
| + // This may result in any number of gesture events being sent to the renderer.
|
| + void Flush(InputEventAckState flush_ack);
|
| +
|
| // Returns whether the currently pending touch event (waiting ACK) is for
|
| // a touch start event.
|
| bool IsPendingAckTouchStart() const;
|
| @@ -139,10 +143,6 @@ class CONTENT_EXPORT TouchEventQueue {
|
| bool IsTimeoutRunningForTesting() const;
|
| const TouchEventWithLatencyInfo& GetLatestEventForTesting() const;
|
|
|
| - // Empties the queue of touch events. This may result in any number of gesture
|
| - // events being sent to the renderer.
|
| - void FlushQueue();
|
| -
|
| // Walks the queue, checking each event with |FilterBeforeForwarding()|.
|
| // If allowed, forwards the touch event and stops processing further events.
|
| // Otherwise, acks the event with |INPUT_EVENT_ACK_STATE_NO_CONSUMER_EXISTS|.
|
|
|