| 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 358fae9c50d8d50f4cf227992c4c0c07341ca09d..d1f4a6180bfdd3049f32e8ba9a8ddb3c851cb5cc 100644
|
| --- a/content/browser/renderer_host/input/touch_event_queue.h
|
| +++ b/content/browser/renderer_host/input/touch_event_queue.h
|
| @@ -72,6 +72,11 @@ class TouchEventQueue {
|
| CONTENT_EXPORT size_t GetQueueSize() const;
|
| CONTENT_EXPORT const TouchEventWithLatencyInfo& GetLatestEvent() const;
|
|
|
| + // Walks the queue, checking each event for |ShouldForwardToRenderer()|.
|
| + // If true, forwards the touch event and stops processing further events.
|
| + // If false, acks the event with |INPUT_EVENT_ACK_STATE_NO_CONSUMER_EXISTS|.
|
| + void TryForwardNextEventToRenderer();
|
| +
|
| // Pops the touch-event from the top of the queue and sends it to the
|
| // TouchEventQueueClient. This reduces the size of the queue by one.
|
| void PopTouchEventToClient(InputEventAckState ack_result,
|
|
|