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 186022feba8dac8adb4b544497ae3774ed696410..e84499dcf30aa1b896dd90d993063845f863a223 100644 |
--- a/content/browser/renderer_host/input/input_router.h |
+++ b/content/browser/renderer_host/input/input_router.h |
@@ -29,6 +29,11 @@ class InputRouter : public IPC::Listener { |
// success and false otherwise. |
virtual bool SendInput(scoped_ptr<IPC::Message> message) = 0; |
+ // Called in response to a |SetNeedsFlushInput()| call made via the client. |
+ // This is conditionally used for events that are best sent at a particular |
+ // time, e.g., with scroll/wheel updates just before BeginFrame dispatch. |
+ virtual void FlushInput(base::TimeTicks flush_time) = 0; |
+ |
// WebInputEvents |
virtual void SendMouseEvent( |
const MouseEventWithLatencyInfo& mouse_event) = 0; |
@@ -48,11 +53,6 @@ class InputRouter : public IPC::Listener { |
// the site has a mobile-friendly viewport). |
virtual void NotifySiteIsMobileOptimized(bool is_mobile_optimized) = 0; |
- // Request a notification from the input router when all events have been |
- // fully dispatched and there are no longer any pending events. |
- // Note: This may trigger a synchronous notification if the router is empty. |
- virtual void RequestNotificationWhenFlushed() = 0; |
- |
// Whether there are any events pending dispatch to or ack from the renderer. |
virtual bool HasPendingEvents() const = 0; |
}; |