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

Unified Diff: third_party/WebKit/Source/platform/scroll/ScrollTypes.h

Issue 2650343008: Implement Element.scrollIntoView for scroll-behavior: smooth. (Closed)
Patch Set: Change the default setting. Created 3 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: third_party/WebKit/Source/platform/scroll/ScrollTypes.h
diff --git a/third_party/WebKit/Source/platform/scroll/ScrollTypes.h b/third_party/WebKit/Source/platform/scroll/ScrollTypes.h
index 63a564a53903fd834a80933e7d51ab4ccdd51c4f..7be2896a3bf027ef076f301eac6e897fba133360 100644
--- a/third_party/WebKit/Source/platform/scroll/ScrollTypes.h
+++ b/third_party/WebKit/Source/platform/scroll/ScrollTypes.h
@@ -181,6 +181,8 @@ enum ScrollInertialPhase {
enum ScrollbarOrientation { kHorizontalScrollbar, kVerticalScrollbar };
+enum ScrollOrientation { kHorizontalScroll, kVerticalScroll };
+
enum ScrollbarMode { kScrollbarAuto, kScrollbarAlwaysOff, kScrollbarAlwaysOn };
enum ScrollbarControlSize { kRegularScrollbar, kSmallScrollbar };

Powered by Google App Engine
This is Rietveld 408576698