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

Unified Diff: content/renderer/input/input_handler_manager.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.h
diff --git a/content/renderer/input/input_handler_manager.h b/content/renderer/input/input_handler_manager.h
index cd5be53cfe20c402f244f5d6ef63da7b7c2493ae..a66bf64ef46e7258ba7cb213b359a2425e2939b5 100644
--- a/content/renderer/input/input_handler_manager.h
+++ b/content/renderer/input/input_handler_manager.h
@@ -94,6 +94,9 @@ class CONTENT_EXPORT InputHandlerManager {
const ui::LatencyInfo& latency_info,
const InputEventAckStateCallback& callback);
+ virtual void QueueClosureForMainThreadEventQueue(
+ int routing_id,
+ const base::Closure& closure);
// Called from the compositor's thread.
void DidOverscroll(int routing_id, const ui::DidOverscrollParams& params);

Powered by Google App Engine
This is Rietveld 408576698