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

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

Issue 1877073003: Respect the order of input messages from browser to renderer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add DCHECKs for thread Created 4 years, 6 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 ee693def31ac6dc9db27cef3c6bac80ae9c2924a..7ebc8b305fdbf2fbfb01321cfb1c9108f774e6a0 100644
--- a/content/renderer/input/input_handler_manager.h
+++ b/content/renderer/input/input_handler_manager.h
@@ -58,6 +58,9 @@ class CONTENT_EXPORT InputHandlerManager {
const base::WeakPtr<RenderViewImpl>& render_view_impl,
bool enable_smooth_scrolling);
+ void RegisterRoutingID(int routing_id);
+ void UnregisterRoutingID(int routing_id);
+
void ObserveWheelEventAndResultOnMainThread(
int routing_id,
const blink::WebMouseWheelEvent& wheel_event,
@@ -99,6 +102,9 @@ class CONTENT_EXPORT InputHandlerManager {
const base::WeakPtr<RenderViewImpl>& render_view_impl,
bool enable_smooth_scrolling);
+ void RegisterRoutingIDOnCompositorThread(int routing_id);
+ void UnregisterRoutingIDOnCompositorThread(int routing_id);
+
void ObserveWheelEventAndResultOnCompositorThread(
int routing_id,
const blink::WebMouseWheelEvent& wheel_event,
« no previous file with comments | « content/renderer/input/input_event_filter_unittest.cc ('k') | content/renderer/input/input_handler_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698