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

Unified Diff: cc/input/input_handler.h

Issue 361143002: Impl thread smooth scrolling. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase. Created 6 years, 5 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 | « cc/animation/layer_animation_controller_unittest.cc ('k') | cc/layers/layer_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/input/input_handler.h
diff --git a/cc/input/input_handler.h b/cc/input/input_handler.h
index 7f35ddabb1e660b8616f53a9181de10a41d9b472..9cf764eeca1460537542ea92a96203f3f925fd58 100644
--- a/cc/input/input_handler.h
+++ b/cc/input/input_handler.h
@@ -76,6 +76,9 @@ class CC_EXPORT InputHandler {
virtual ScrollStatus ScrollBegin(const gfx::Point& viewport_point,
ScrollInputType type) = 0;
+ virtual ScrollStatus ScrollAnimated(const gfx::Point& viewport_point,
+ const gfx::Vector2dF& scroll_delta) = 0;
+
// Scroll the selected layer starting at the given position. If the scroll
// type given to ScrollBegin was a gesture, then the scroll point and delta
// should be in viewport (logical pixel) coordinates. Otherwise they are in
« no previous file with comments | « cc/animation/layer_animation_controller_unittest.cc ('k') | cc/layers/layer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698