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

Unified Diff: cc/input/scroll_boundary_behavior.h

Issue 2884423003: Use scroll-boundary-behavior to control overscroll-refresh/glow on android. (Closed)
Patch Set: Mark OverscrollRefresh() as protected. Created 3 years, 4 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/scroll_boundary_behavior.h
diff --git a/cc/input/scroll_boundary_behavior.h b/cc/input/scroll_boundary_behavior.h
index 878a5a469358e10261e3468a4b6ee2571b20feac..ccb0824391d341916bc7434072849be77537101c 100644
--- a/cc/input/scroll_boundary_behavior.h
+++ b/cc/input/scroll_boundary_behavior.h
@@ -18,7 +18,8 @@ struct CC_EXPORT ScrollBoundaryBehavior {
kScrollBoundaryBehaviorTypeAuto,
// Hint to disable scroll chaining. The user agent may show an appropriate
// overscroll affordance.
- kScrollBoundaryBehaviorTypeContain
+ kScrollBoundaryBehaviorTypeContain,
+ kScrollBoundaryBehaviorTypeMax = 3
dcheng 2017/08/25 23:12:17 Please write this as kScrollBoundaryBehaviorTypeMa
sunyunjia 2017/08/29 17:32:30 Done.
};
ScrollBoundaryBehavior()
« no previous file with comments | « cc/input/input_handler.h ('k') | cc/input/scroll_state.h » ('j') | cc/input/scroll_state.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698