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

Unified Diff: cc/input_handler.h

Issue 11975007: Implement one-page-at-a-time mousewheel scrolling in the impl thread. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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
« no previous file with comments | « no previous file | cc/layer.h » ('j') | cc/layer_tree_host_impl.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/input_handler.h
diff --git a/cc/input_handler.h b/cc/input_handler.h
index 2016f282c75c887f9e49bc68cc50fc7358e5ceab..66cfabbad91e090ae5adf9f1149e623d07a912f1 100644
--- a/cc/input_handler.h
+++ b/cc/input_handler.h
@@ -46,7 +46,9 @@ public:
// direction at all, then false is returned. If any layer is moved, then
// true is returned.
// Should only be called if scrollBegin() returned ScrollStarted.
- virtual bool scrollBy(const gfx::Point&, const gfx::Vector2d&) = 0;
+ virtual bool scrollBy(const gfx::Point&,
+ const gfx::Vector2d&,
+ bool scrollByPage) = 0;
// Stop scrolling the selected layer. Should only be called if scrollBegin()
// returned ScrollStarted.
« no previous file with comments | « no previous file | cc/layer.h » ('j') | cc/layer_tree_host_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698