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

Unified Diff: ui/compositor/overscroll/ui_input_handler.h

Issue 2194833002: Overscroll and Elasticity for views::ScrollView Base URL: https://chromium.googlesource.com/chromium/src.git@20160728-MacViews-RouteThroughInputHandler
Patch Set: Restore functionality and fix bugs \o/ Created 4 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
« no previous file with comments | « ui/compositor/layer.cc ('k') | ui/compositor/overscroll/ui_input_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/overscroll/ui_input_handler.h
diff --git a/ui/compositor/overscroll/ui_input_handler.h b/ui/compositor/overscroll/ui_input_handler.h
index e6ddc8167a13db899cd4204f4c33ec22196864dc..106e9ad4b008828b0b00271ce7d527de71a6f34a 100644
--- a/ui/compositor/overscroll/ui_input_handler.h
+++ b/ui/compositor/overscroll/ui_input_handler.h
@@ -8,6 +8,7 @@
#include "base/macros.h"
#include "base/memory/weak_ptr.h"
#include "cc/input/input_handler.h"
+#include "ui/events/blink/input_scroll_elasticity_controller.h"
namespace ui {
@@ -41,6 +42,7 @@ class UIInputHandler : public cc::InputHandlerClient {
private:
cc::InputHandler* input_handler_; // Weak. Cleared in WillShutdown().
+ InputScrollElasticityController scroll_elasticity_controller_;
DISALLOW_COPY_AND_ASSIGN(UIInputHandler);
};
« no previous file with comments | « ui/compositor/layer.cc ('k') | ui/compositor/overscroll/ui_input_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698