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

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

Issue 2813683002: Allow MainThreadEventQueue to call the RenderWidget directly. (Closed)
Patch Set: Fix style nits Created 3 years, 8 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_handler_manager.cc ('k') | content/renderer/input/main_thread_event_queue.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1f356fc0979d3e268b42344d371f25452cf43e0a..ab1aebcb7d7eca6f61c7dba97df18253f5f0cc24 100644
--- a/content/renderer/input/input_handler_manager_client.h
+++ b/content/renderer/input/input_handler_manager_client.h
@@ -22,6 +22,7 @@ struct DidOverscrollParams;
namespace content {
class InputHandlerManager;
+class MainThreadEventQueue;
class CONTENT_EXPORT InputHandlerManagerClient {
public:
@@ -29,15 +30,11 @@ class CONTENT_EXPORT InputHandlerManagerClient {
// Called from the main thread.
virtual void SetInputHandlerManager(InputHandlerManager*) = 0;
- virtual void NotifyInputEventHandled(int routing_id,
- blink::WebInputEvent::Type type,
- blink::WebInputEventResult result,
- InputEventAckState ack_result) = 0;
- virtual void ProcessRafAlignedInput(int routing_id,
- base::TimeTicks frame_time) = 0;
// Called from the compositor thread.
- virtual void RegisterRoutingID(int routing_id) = 0;
+ virtual void RegisterRoutingID(
+ int routing_id,
+ const scoped_refptr<MainThreadEventQueue>& input_event_queue) = 0;
virtual void UnregisterRoutingID(int routing_id) = 0;
virtual void RegisterAssociatedRenderFrameRoutingID(
int render_frame_routing_id,
« no previous file with comments | « content/renderer/input/input_handler_manager.cc ('k') | content/renderer/input/main_thread_event_queue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698