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

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

Issue 2166703003: Implement Main Thread RAF Aligned Input (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master_main_thread_queue
Patch Set: Fix build Created 4 years, 4 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_client.h
diff --git a/content/renderer/input/input_handler_manager_client.h b/content/renderer/input/input_handler_manager_client.h
index a65ad731cbd3b4c69be40d6d4374cae611ed3379..cdc38633eaeabe73c6c05d9519166f8e3db80dc3 100644
--- a/content/renderer/input/input_handler_manager_client.h
+++ b/content/renderer/input/input_handler_manager_client.h
@@ -27,24 +27,18 @@ class SynchronousInputHandlerProxy;
}
namespace content {
+class InputHandlerManager;
class CONTENT_EXPORT InputHandlerManagerClient {
public:
virtual ~InputHandlerManagerClient() {}
- // The Manager will supply a |handler| when bound to the client. This is valid
- // until the manager shuts down, at which point it supplies a null |handler|.
- // The client should only makes calls to |handler| on the compositor thread.
- typedef base::Callback<
- InputEventAckState(int /*routing_id*/,
- const blink::WebInputEvent*,
- ui::LatencyInfo* latency_info)> Handler;
-
// Called from the main thread.
- virtual void SetBoundHandler(const Handler& handler) = 0;
+ virtual void SetInputHandlerManager(InputHandlerManager*) = 0;
virtual void NotifyInputEventHandled(int routing_id,
blink::WebInputEvent::Type type,
InputEventAckState ack_result) = 0;
+ virtual void ProcessRafAlignedInput(int routing_id) = 0;
// Called from the compositor thread.
virtual void RegisterRoutingID(int routing_id) = 0;

Powered by Google App Engine
This is Rietveld 408576698