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

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

Issue 2008343002: Move ScrollBehavior to ScrollTypes.h, so that ComputedStyle.h doesn't need to include ScrollableAre… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 cd598cb801f80e2006b3c2b1c551d131dc1d1f01..2bfcd02b5ed6b040e70a4624c8aeccd2c1e364ae 100644
--- a/third_party/WebKit/Source/platform/scroll/ScrollTypes.h
+++ b/third_party/WebKit/Source/platform/scroll/ScrollTypes.h
@@ -183,6 +183,12 @@ enum ScrollbarOverlayStyle {
ScrollbarOverlayStyleLight
};
+enum ScrollBehavior {
+ ScrollBehaviorAuto,
+ ScrollBehaviorInstant,
+ ScrollBehaviorSmooth,
+};
+
// The result of an attempt to scroll. If didScroll is true, then unusedScrollDelta gives
// the amount of the scroll delta that was not consumed by scrolling.
struct ScrollResult {
« no previous file with comments | « third_party/WebKit/Source/core/style/ComputedStyle.h ('k') | third_party/WebKit/Source/platform/scroll/ScrollableArea.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698