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

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

Issue 2913703002: Make TextAlignLast an enum class. (Closed)
Patch Set: make enum class 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
« 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 344ae1ae80e7997ce12e3114026ed11ca6f8676f..5376d2597a3309b0fb00bc2e32904ff9c609e2b3 100644
--- a/third_party/WebKit/Source/core/style/ComputedStyleConstants.h
+++ b/third_party/WebKit/Source/core/style/ComputedStyleConstants.h
@@ -248,14 +248,14 @@ inline TextDecorationSkip& operator|=(TextDecorationSkip& a,
return a = a | b;
}
-enum TextAlignLast {
- kTextAlignLastAuto,
- kTextAlignLastStart,
- kTextAlignLastEnd,
- kTextAlignLastLeft,
- kTextAlignLastRight,
- kTextAlignLastCenter,
- kTextAlignLastJustify
+enum class TextAlignLast {
+ kAuto,
+ kStart,
+ kEnd,
+ kLeft,
+ kRight,
+ kCenter,
+ kJustify
};
enum TextUnderlinePosition {
« 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