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

Unified Diff: content/renderer/input/input_event_filter.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_event_filter.h
diff --git a/content/renderer/input/input_event_filter.h b/content/renderer/input/input_event_filter.h
index 939e723d25f5a18d5e6cb649c3691cba254aac63..6d4aee044c346dfa8b33cebdf6e24a199896cfe6 100644
--- a/content/renderer/input/input_event_filter.h
+++ b/content/renderer/input/input_event_filter.h
@@ -63,6 +63,9 @@ class CONTENT_EXPORT InputEventFilter : public InputHandlerManagerClient,
void SetInputHandlerManager(InputHandlerManager*) override;
void RegisterRoutingID(int routing_id) override;
void UnregisterRoutingID(int routing_id) override;
+ void QueueClosureForMainThreadEventQueue(
+ int routing_id,
+ const base::Closure& closure) override;
void DidOverscroll(int routing_id,
const ui::DidOverscrollParams& params) override;
void DidStopFlinging(int routing_id) override;

Powered by Google App Engine
This is Rietveld 408576698