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

Unified Diff: cc/input/scrollbar_animation_controller.h

Issue 2611013002: Show Overlay Scrollbar when GestureScrollUpdate (Closed)
Patch Set: add comment Created 3 years, 10 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/input/scrollbar_animation_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/input/scrollbar_animation_controller.h
diff --git a/cc/input/scrollbar_animation_controller.h b/cc/input/scrollbar_animation_controller.h
index 6838fff9b451a65bf0dc81b15075c2eeed7c2452..7ac4bac0327805eef4ce70d4fb9052df1b81796a 100644
--- a/cc/input/scrollbar_animation_controller.h
+++ b/cc/input/scrollbar_animation_controller.h
@@ -65,8 +65,11 @@ class CC_EXPORT ScrollbarAnimationController {
bool Animate(base::TimeTicks now);
+ // WillUpdateScroll expects to be called even if the scroll position won't
+ // change as a result of the scroll.
+ void WillUpdateScroll();
+ void DidResize();
weiliangc 2017/03/01 19:24:12 Could you also comment on when DidResize is suppos
void DidScrollBegin();
- void DidScrollUpdate(bool on_resize);
void DidScrollEnd();
void DidMouseDown();
« no previous file with comments | « no previous file | cc/input/scrollbar_animation_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698