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

Unified Diff: cc/input/input_handler.h

Issue 713413002: Hook ScrollElasticityController to InputHandlerProxy (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Incorporate review feedback 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: cc/input/input_handler.h
diff --git a/cc/input/input_handler.h b/cc/input/input_handler.h
index 7a9c991968753055c10eb580956f7173eabdbd04..af63f82c3479ec8383bf854ffe1d9fec127fc15f 100644
--- a/cc/input/input_handler.h
+++ b/cc/input/input_handler.h
@@ -24,6 +24,7 @@ namespace ui { struct LatencyInfo; }
namespace cc {
class LayerScrollOffsetDelegate;
+class ScrollElasticityControllerClient;
struct CC_EXPORT InputHandlerScrollResult {
InputHandlerScrollResult();
@@ -150,6 +151,10 @@ class CC_EXPORT InputHandler {
virtual scoped_ptr<SwapPromiseMonitor> CreateLatencyInfoSwapPromiseMonitor(
ui::LatencyInfo* latency) = 0;
+ // Retrieve the client to interface with a ScrollElasticityController.
aelias_OOO_until_Jul13 2014/11/12 22:17:59 This comment adds no information, please delete it
ccameron 2014/11/13 00:28:37 Done.
+ virtual ScrollElasticityControllerClient*
+ GetScrollElasticityControllerClient() = 0;
+
protected:
InputHandler() {}
virtual ~InputHandler() {}

Powered by Google App Engine
This is Rietveld 408576698