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

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

Issue 2507383002: Changed ETextAlign to an enum class and renamed its members to keywords (Closed)
Patch Set: Created 4 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
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 1f16f33bdc176bab45cf1f20cca852082a7fd922..e9f4bc47d90bf3ef4e1b494a2240f9bef1c029e7 100644
--- a/third_party/WebKit/Source/core/style/ComputedStyleConstants.h
+++ b/third_party/WebKit/Source/core/style/ComputedStyleConstants.h
@@ -337,16 +337,16 @@ enum EWhiteSpace { NORMAL, PRE, PRE_WRAP, PRE_LINE, NOWRAP, KHTML_NOWRAP };
// The order of this enum must match the order of the text align values in
// CSSValueKeywords.in.
-enum ETextAlign {
- LEFT,
- RIGHT,
- CENTER,
- JUSTIFY,
- WEBKIT_LEFT,
- WEBKIT_RIGHT,
- WEBKIT_CENTER,
- TASTART,
- TAEND,
+enum class ETextAlign : unsigned {
+ Left,
+ Right,
+ Center,
+ Justify,
+ WebkitLeft,
+ WebkitRight,
+ WebkitCenter,
+ Start,
+ End,
};
enum ETextTransform { CAPITALIZE, UPPERCASE, LOWERCASE, TTNONE };
« no previous file with comments | « third_party/WebKit/Source/core/style/ComputedStyle.h ('k') | third_party/WebKit/Source/web/WebFormControlElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698