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

Unified Diff: cc/input/input_handler.h

Issue 1418493003: Let LayerTreeHostImpl::ScrollAnimated scroll the outer viewport. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rename IsCurrentlyScrollingRoot Created 5 years, 2 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/layers/layer_impl.cc » ('j') | cc/trees/layer_tree_host_impl.cc » ('J')
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 4696fb5ceca81d7c6cc4678935cc8317292d83bf..424b5ad0d0c54c6d22c3e9c4d6ce72a23467822f 100644
--- a/cc/input/input_handler.h
+++ b/cc/input/input_handler.h
@@ -84,7 +84,7 @@ class CC_EXPORT InputHandler {
// This must be the last entry.
ScrollStatusCount
};
- enum ScrollInputType { GESTURE, WHEEL, NON_BUBBLING_GESTURE };
+ enum ScrollInputType { GESTURE, WHEEL, ANIMATED_WHEEL, NON_BUBBLING_GESTURE };
// Binds a client to this handler to receive notifications. Only one client
// can be bound to an InputHandler. The client must live at least until the
@@ -153,7 +153,7 @@ class CC_EXPORT InputHandler {
// If there is a scroll active, this reports whether the scroll is on the
// root layer, or on some other sublayer.
tdresser 2015/10/20 12:29:40 Should we update this comment?
skobes 2015/10/20 18:28:15 Done.
- virtual bool IsCurrentlyScrollingRoot() const = 0;
+ virtual bool IsCurrentlyScrollingInnerViewport() const = 0;
// Whether the layer under |viewport_point| is the currently scrolling layer.
virtual bool IsCurrentlyScrollingLayerAt(const gfx::Point& viewport_point,
« no previous file with comments | « no previous file | cc/layers/layer_impl.cc » ('j') | cc/trees/layer_tree_host_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698