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

Unified Diff: Source/core/rendering/style/RenderStyleConstants.h

Issue 723373006: Add CSS parsing support for the scroll-blocks-on property (in place of touch-action-delay) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Apply CR feedback Created 6 years, 1 month 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/core/rendering/style/RenderStyle.h ('k') | Source/core/rendering/style/StyleRareInheritedData.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/style/RenderStyleConstants.h
diff --git a/Source/core/rendering/style/RenderStyleConstants.h b/Source/core/rendering/style/RenderStyleConstants.h
index dc397a1a65c3ec5eb1d54127f05662d8a59cf40f..9499fe6187f41af65010e03adf8d15c7eba574ec 100644
--- a/Source/core/rendering/style/RenderStyleConstants.h
+++ b/Source/core/rendering/style/RenderStyleConstants.h
@@ -507,7 +507,16 @@ inline TouchAction& operator&= (TouchAction& a, TouchAction b) { return a = a &
enum EIsolation { IsolationAuto, IsolationIsolate };
-enum TouchActionDelay { TouchActionDelayNone, TouchActionDelayScript };
+enum ScrollBlocksOn {
+ ScrollBlocksOnNone = 0x0,
+ ScrollBlocksOnStartTouch = 0x1,
+ ScrollBlocksOnWheelEvent = 0x2,
+ ScrollBlocksOnScrollEvent = 0x4,
+};
+inline ScrollBlocksOn operator| (ScrollBlocksOn a, ScrollBlocksOn b) { return ScrollBlocksOn(int(a) | int(b)); }
+inline ScrollBlocksOn& operator|= (ScrollBlocksOn& a, ScrollBlocksOn b) { return a = a | b; }
+inline ScrollBlocksOn operator& (ScrollBlocksOn a, ScrollBlocksOn b) { return ScrollBlocksOn(int(a) & int(b)); }
+inline ScrollBlocksOn& operator&= (ScrollBlocksOn& a, ScrollBlocksOn b) { return a = a & b; }
enum ItemPosition {
ItemPositionAuto,
« no previous file with comments | « Source/core/rendering/style/RenderStyle.h ('k') | Source/core/rendering/style/StyleRareInheritedData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698