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

Unified Diff: Source/platform/scroll/ScrollableArea.h

Issue 140253004: Implement 'scroll-behavior' parsing (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Address review comments Created 6 years, 11 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 | « Source/platform/RuntimeEnabledFeatures.in ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/scroll/ScrollableArea.h
diff --git a/Source/platform/scroll/ScrollableArea.h b/Source/platform/scroll/ScrollableArea.h
index c9229d2753df76a08b98f502c10095d2c7529fc5..5d734c009075878be6fe4a03a010a3f57697be15 100644
--- a/Source/platform/scroll/ScrollableArea.h
+++ b/Source/platform/scroll/ScrollableArea.h
@@ -41,6 +41,12 @@ class PlatformGestureEvent;
class PlatformWheelEvent;
class ScrollAnimator;
+enum ScrollBehavior {
+ ScrollBehaviorAuto,
+ ScrollBehaviorInstant,
+ ScrollBehaviorSmooth,
+};
+
class PLATFORM_EXPORT ScrollableArea {
WTF_MAKE_NONCOPYABLE(ScrollableArea);
public:
« no previous file with comments | « Source/platform/RuntimeEnabledFeatures.in ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698