| 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 9c854224b5202f5bd223699fbef03f6836fab6bc..6b23df0ae6ed54751126e3ee941d4b532adbd965 100644
|
| --- a/content/browser/renderer_host/input/input_router_client.h
|
| +++ b/content/browser/renderer_host/input/input_router_client.h
|
| @@ -71,6 +71,16 @@ class CONTENT_EXPORT InputRouterClient {
|
| virtual void OnGestureEventAck(const WebKit::WebGestureEvent& event,
|
| InputEventAckState ack_result) = 0;
|
| virtual void OnUnexpectedEventAck(bool bad_message) = 0;
|
| +
|
| + // Certain router implementations require periodic flushing of queued events.
|
| + // When this method is called, the client should ensure a timely call, either
|
| + // synchronous or asynchronous, of |Flush| on the InputRouter.
|
| + virtual void SetNeedsFlush() = 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;
|
| };
|
|
|
| } // namespace content
|
|
|