Index: content/browser/renderer_host/input/input_router_client.h |
diff --git a/content/browser/renderer_host/input/input_router_client.h b/content/browser/renderer_host/input/input_router_client.h |
index 34fdf0eb9b7783bcbcaea9701dd46a4a71d079e9..51c913b78f750a0b3c152d80f21e45c65606237c 100644 |
--- a/content/browser/renderer_host/input/input_router_client.h |
+++ b/content/browser/renderer_host/input/input_router_client.h |
@@ -33,7 +33,7 @@ class CONTENT_EXPORT InputRouterClient { |
const blink::WebInputEvent& input_event, |
const ui::LatencyInfo& latency_info) = 0; |
- // Called each time a WebInputEvent IPC is sent. |
+ // Called each time a WebInputEvent IPC that expects an ACK is sent. |
virtual void IncrementInFlightEventCount() = 0; |
// Called each time a WebInputEvent ACK IPC is received. |
@@ -42,10 +42,13 @@ class CONTENT_EXPORT InputRouterClient { |
// Called when the renderer notifies that it has touch event handlers. |
virtual void OnHasTouchEventHandlers(bool has_handlers) = 0; |
- // Called when the router has finished flushing all events queued at the time |
- // of the call to Flush. The call will typically be asynchronous with |
- // respect to the call to |Flush| on the InputRouter. |
- virtual void DidFlush() = 0; |
+ // Called when the InputRouter requires a frame-aligned flush signal to |
+ // forward pending input. |
+ virtual void SetNeedsFlushInput() = 0; |
+ |
+ // Called when the router has finished processing all queued events, both |
+ // those awaiting dispatch and those currently in-flight. |
+ virtual void DidFlushAllInput() = 0; |
// Called when the router has received an overscroll notification from the |
// renderer. |