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

Unified Diff: content/renderer/input/input_handler_manager.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: Clean prototype up 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.h
diff --git a/content/renderer/input/input_handler_manager.h b/content/renderer/input/input_handler_manager.h
index 060f7c58caf13a371144b179e09b88a4a65ce25c..f9313666d731f6fbba8af2a00e3cb0cc942bef94 100644
--- a/content/renderer/input/input_handler_manager.h
+++ b/content/renderer/input/input_handler_manager.h
@@ -41,7 +41,6 @@ namespace content {
class InputHandlerWrapper;
class SynchronousInputHandlerProxyClient;
class InputHandlerManagerClient;
-struct DidOverscrollParams;
// InputHandlerManager class manages InputHandlerProxy instances for
// the WebViews in this renderer.
@@ -75,6 +74,7 @@ class CONTENT_EXPORT InputHandlerManager {
void NotifyInputEventHandledOnMainThread(int routing_id,
blink::WebInputEvent::Type,
InputEventAckState);
+ void ProcessRafAlignedInputOnMainThread(int routing_id);
// Callback only from the compositor's thread.
void RemoveInputHandler(int routing_id);
@@ -95,6 +95,9 @@ class CONTENT_EXPORT InputHandlerManager {
// Called from the compositor's thread.
void DidAnimateForInput();
+ // Called from the compositor's thread.
+ void NeedsMainFrame(int routing_id);
+
private:
// Called from the compositor's thread.
void AddInputHandlerOnCompositorThread(

Powered by Google App Engine
This is Rietveld 408576698