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

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

Issue 2765583002: Teach main thread event queue about closures. (Closed)
Patch Set: Fix typo 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
« no previous file with comments | « content/renderer/input/input_event_filter.cc ('k') | content/renderer/input/input_handler_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..e92696c4f8a96f65d80ed25e6348878bf9523638 100644
--- a/content/renderer/input/input_handler_manager.h
+++ b/content/renderer/input/input_handler_manager.h
@@ -68,6 +68,12 @@ class CONTENT_EXPORT InputHandlerManager {
void RegisterRoutingID(int routing_id);
void UnregisterRoutingID(int routing_id);
+ void RegisterAssociatedRenderFrameRoutingID(int render_frame_routing_id,
+ int render_view_routing_id);
+ void RegisterAssociatedRenderFrameRoutingIDOnCompositorThread(
+ int render_frame_routing_id,
+ int render_view_routing_id);
+
void ObserveGestureEventAndResultOnMainThread(
int routing_id,
const blink::WebGestureEvent& gesture_event,
@@ -94,6 +100,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);
« no previous file with comments | « content/renderer/input/input_event_filter.cc ('k') | content/renderer/input/input_handler_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698