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

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

Issue 2765583002: Teach main thread event queue about closures. (Closed)
Patch Set: 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..e582203e9d10821e6dce5979ec6808fdc3e2ab9b 100644
--- a/content/renderer/input/input_handler_manager_client.h
+++ b/content/renderer/input/input_handler_manager_client.h
@@ -39,6 +39,9 @@ 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 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