Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(306)

Unified Diff: content/browser/renderer_host/input/input_router_client.h

Issue 1003023002: Signal input flush when all flings have terminated (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix test compile Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 310e6db5ab0a55f3491d137c7601b34be5c25f58..dd3c6a0a3820b4661682c5e3dfe4ff1ea4508174 100644
--- a/content/browser/renderer_host/input/input_router_client.h
+++ b/content/browser/renderer_host/input/input_router_client.h
@@ -42,11 +42,6 @@ class CONTENT_EXPORT InputRouterClient {
// Called when the renderer notifies that it has touch event handlers.
virtual void OnHasTouchEventHandlers(bool has_handlers) = 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.
@@ -55,6 +50,9 @@ class CONTENT_EXPORT InputRouterClient {
// Called when the router has received an overscroll notification from the
// renderer.
virtual void DidOverscroll(const DidOverscrollParams& params) = 0;
+
+ // Called when a renderer fling has terminated.
+ virtual void DidStopFlinging() = 0;
};
} // namespace content
« no previous file with comments | « content/browser/renderer_host/input/input_router.h ('k') | content/browser/renderer_host/input/input_router_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698