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

Unified Diff: content/renderer/input/input_handler_manager_client.h

Issue 2765583002: Teach main thread event queue about closures. (Closed)
Patch Set: Fix Mac issue Created 3 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/renderer/input/input_handler_manager_client.h
diff --git a/content/renderer/input/input_handler_manager_client.h b/content/renderer/input/input_handler_manager_client.h
index 7534010473fa6799c940478962acc22e3272f6c0..3087f611400a4a07c3a556af132f04fe485d3075 100644
--- a/content/renderer/input/input_handler_manager_client.h
+++ b/content/renderer/input/input_handler_manager_client.h
@@ -39,6 +39,11 @@ class CONTENT_EXPORT InputHandlerManagerClient {
// Called from the compositor thread.
virtual void RegisterRoutingID(int routing_id) = 0;
virtual void UnregisterRoutingID(int routing_id) = 0;
+ virtual void AssociateRenderFrameRoutingID(int render_frame_routing_id,
+ int render_view_routing_id) = 0;
+ virtual void QueueClosureForMainThreadEventQueue(
+ int routing_id,
+ const base::Closure& closure) = 0;
// |HandleInputEvent| will respond to overscroll by calling the passed in
// callback.

Powered by Google App Engine
This is Rietveld 408576698