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

Unified Diff: cc/input/input_handler.h

Issue 274323004: NOT FOR LANDING - [WebView] Allow fling animation via the LayerScrollOffsetDelegate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 7 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
Index: cc/input/input_handler.h
diff --git a/cc/input/input_handler.h b/cc/input/input_handler.h
index 7f35ddabb1e660b8616f53a9181de10a41d9b472..a1669fadedc3866ad6c91eaaed5d23f1f6b13bfd 100644
--- a/cc/input/input_handler.h
+++ b/cc/input/input_handler.h
@@ -29,7 +29,7 @@ class CC_EXPORT InputHandlerClient {
virtual ~InputHandlerClient() {}
virtual void WillShutdown() = 0;
- virtual void Animate(base::TimeTicks time) = 0;
+ virtual void AnimateFling(base::TimeTicks time) = 0;
virtual void MainThreadHasStoppedFlinging() = 0;
// Called when scroll deltas reaching the root scrolling layer go unused.
@@ -124,8 +124,8 @@ class CC_EXPORT InputHandler {
float page_scale,
base::TimeDelta duration) = 0;
- // Request another callback to InputHandlerClient::Animate().
- virtual void SetNeedsAnimate() = 0;
+ // Request another callback to InputHandlerClient::AnimateFling().
+ virtual void SetNeedsAnimateFling() = 0;
// Whether the layer under |viewport_point| is the currently scrolling layer.
virtual bool IsCurrentlyScrollingLayerAt(const gfx::Point& viewport_point,

Powered by Google App Engine
This is Rietveld 408576698