| Index: content/browser/renderer_host/input/input_router.h
|
| diff --git a/content/browser/renderer_host/input/input_router.h b/content/browser/renderer_host/input/input_router.h
|
| index 96b68c322feb008ee9d43dcfbf542c982b2ef7ce..3676199028bf20bc5b86494843e512c3746209d4 100644
|
| --- a/content/browser/renderer_host/input/input_router.h
|
| +++ b/content/browser/renderer_host/input/input_router.h
|
| @@ -24,10 +24,6 @@ class InputRouter : public IPC::Listener {
|
| public:
|
| ~InputRouter() override {}
|
|
|
| - // Should be called only in response to |SetNeedsFlush| requests made via
|
| - // the |InputRouterClient|.
|
| - virtual void Flush() = 0;
|
| -
|
| // Send and take ownership of the the given InputMsg_*. This should be used
|
| // only for event types not associated with a WebInputEvent. Returns true on
|
| // success and false otherwise.
|
| @@ -47,6 +43,12 @@ class InputRouter : public IPC::Listener {
|
| virtual void SendTouchEvent(
|
| const TouchEventWithLatencyInfo& touch_event) = 0;
|
|
|
| + // Request a notification from the router (through its client) when it becomes
|
| + // empty after dispatching all current and pending events. Note that this is
|
| + // not a strict flush marker, as the router will wait until *all* input has
|
| + // been dispatched, potentially including future input.
|
| + virtual void RequestFlushedNotification() = 0;
|
| +
|
| // Returns the oldest queued or in-flight keyboard event sent to the router.
|
| virtual const NativeWebKeyboardEvent* GetLastKeyboardEvent() const = 0;
|
|
|
|
|