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

Unified Diff: cc/scrollbar_animation_controller.h

Issue 12408028: cc: Delay start of scrollbar animation setNeedsRedraw. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase to 187970 and update test Created 7 years, 9 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/scrollbar_animation_controller.h
diff --git a/cc/scrollbar_animation_controller.h b/cc/scrollbar_animation_controller.h
index 6345618b19641e75cc6ec2b9af3999e7485ff59b..569f8dc293ad4dc626aa8ea6dee4f033001b8c9a 100644
--- a/cc/scrollbar_animation_controller.h
+++ b/cc/scrollbar_animation_controller.h
@@ -17,9 +17,9 @@ class CC_EXPORT ScrollbarAnimationController {
public:
virtual ~ScrollbarAnimationController() {}
+ virtual double secondsBeforeStart(base::TimeTicks now) const = 0;
virtual bool animate(base::TimeTicks) = 0;
virtual void didPinchGestureUpdate(base::TimeTicks) = 0;
- virtual void didPinchGestureEnd(base::TimeTicks) = 0;
virtual void didUpdateScrollOffset(base::TimeTicks) = 0;
};

Powered by Google App Engine
This is Rietveld 408576698