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

Unified Diff: third_party/WebKit/Source/core/style/ComputedStyleConstants.h

Issue 2682573002: Split EBreak enum into EBreakBetween & EBreakInside (Closed)
Patch Set: Update references to EBreak in ComputedStyle.h comments Created 3 years, 10 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 | « third_party/WebKit/Source/core/style/ComputedStyle.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/style/ComputedStyleConstants.h
diff --git a/third_party/WebKit/Source/core/style/ComputedStyleConstants.h b/third_party/WebKit/Source/core/style/ComputedStyleConstants.h
index a0903e0992930891225daa29ce7fa0d2493371ae..c34cfca995f084b3642f21c5764a4f5876e61f36 100644
--- a/third_party/WebKit/Source/core/style/ComputedStyleConstants.h
+++ b/third_party/WebKit/Source/core/style/ComputedStyleConstants.h
@@ -317,22 +317,22 @@ enum TextUnderlinePosition {
TextUnderlinePositionUnder
};
-enum EBreak {
- BreakAuto,
- BreakAvoid,
- BreakAvoidColumn,
- BreakAvoidPage,
- // Values below are only allowed for break-after and break-before. Values
- // above are also allowed for break-inside (in addition to break-after and
- // break-before).
- BreakValueLastAllowedForBreakInside = BreakAvoidPage,
- BreakColumn,
- BreakLeft,
- BreakPage,
- BreakRecto,
- BreakRight,
- BreakVerso
-};
+// Values applicable to the break-before, break-after properties.
+enum class EBreakBetween : unsigned {
+ kAuto,
+ kAvoid,
+ kAvoidColumn,
+ kAvoidPage,
+ kColumn,
+ kLeft,
+ kPage,
+ kRecto,
+ kRight,
+ kVerso
+};
+
+// Values applicable to the break-inside property.
+enum class EBreakInside : unsigned { kAuto, kAvoid, kAvoidColumn, kAvoidPage };
enum class ECursor : unsigned {
kAuto,
« no previous file with comments | « third_party/WebKit/Source/core/style/ComputedStyle.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698