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

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

Issue 692483002: Hook up DidReceiveInputEvent to the blink scheduler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Trying to fix diff base Created 6 years, 1 month 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_wrapper.h
diff --git a/content/renderer/input/input_handler_wrapper.h b/content/renderer/input/input_handler_wrapper.h
index fd997ce2803b1d7a809b87e752783efb34c88ce7..742f9006ad7f1fc909282e8ef7b04ab3f9524676 100644
--- a/content/renderer/input/input_handler_wrapper.h
+++ b/content/renderer/input/input_handler_wrapper.h
@@ -19,7 +19,8 @@ class InputHandlerWrapper : public InputHandlerProxyClient {
int routing_id,
const scoped_refptr<base::MessageLoopProxy>& main_loop,
const base::WeakPtr<cc::InputHandler>& input_handler,
- const base::WeakPtr<RenderViewImpl>& render_view_impl);
+ const base::WeakPtr<RenderViewImpl>& render_view_impl,
+ RendererScheduler* renderer_scheduler);
~InputHandlerWrapper() override;
int routing_id() const { return routing_id_; }
@@ -36,6 +37,7 @@ class InputHandlerWrapper : public InputHandlerProxyClient {
void DidOverscroll(const DidOverscrollParams& params) override;
void DidStopFlinging() override;
void DidReceiveInputEvent() override;
+ void DidAnimate() override;
private:
InputHandlerManager* input_handler_manager_;
@@ -45,6 +47,7 @@ class InputHandlerWrapper : public InputHandlerProxyClient {
// Can only be accessed on the main thread.
base::WeakPtr<RenderViewImpl> render_view_impl_;
+ RendererScheduler* renderer_scheduler_; // Not owned.
DISALLOW_COPY_AND_ASSIGN(InputHandlerWrapper);
};

Powered by Google App Engine
This is Rietveld 408576698