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

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

Issue 2890733002: Make EBorderStyle an enum class. (Closed)
Patch Set: Build for Mac 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/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 2b7ae27ac5d044dfe19b1532aa6d9d88c21cc547..e610c96cb3c46101eb37e8663b074f49a26d3424 100644
--- a/third_party/WebKit/Source/core/style/ComputedStyleConstants.h
+++ b/third_party/WebKit/Source/core/style/ComputedStyleConstants.h
@@ -98,17 +98,17 @@ enum ColumnSpan { kColumnSpanNone = 0, kColumnSpanAll };
// These have been defined in the order of their precedence for
// border-collapsing. Do not change this order! This order also must match the
// order in CSSValueKeywords.in.
-enum EBorderStyle {
- kBorderStyleNone,
- kBorderStyleHidden,
- kBorderStyleInset,
- kBorderStyleGroove,
- kBorderStyleOutset,
- kBorderStyleRidge,
- kBorderStyleDotted,
- kBorderStyleDashed,
- kBorderStyleSolid,
- kBorderStyleDouble
+enum class EBorderStyle {
+ kNone,
+ kHidden,
+ kInset,
+ kGroove,
+ kOutset,
+ kRidge,
+ kDotted,
+ kDashed,
+ kSolid,
+ kDouble
};
enum OutlineIsAuto { kOutlineIsAutoOff = 0, kOutlineIsAutoOn };
« no previous file with comments | « third_party/WebKit/Source/core/style/ComputedStyle.cpp ('k') | third_party/WebKit/Source/core/style/ComputedStyleTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698