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

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

Issue 2909423002: Make TextUnderlinePosition an enum class. (Closed)
Patch Set: 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 5bbe48c46871ec7025a58eec288dd88be97ea7d5..85366807b6c363b502eba5d630b1a5c10f6a8d9c 100644
--- a/third_party/WebKit/Source/core/style/ComputedStyleConstants.h
+++ b/third_party/WebKit/Source/core/style/ComputedStyleConstants.h
@@ -248,10 +248,10 @@ inline TextDecorationSkip& operator|=(TextDecorationSkip& a,
return a = a | b;
}
-enum TextUnderlinePosition {
+enum class TextUnderlinePosition {
// FIXME: Implement support for 'under left' and 'under right' values.
- kTextUnderlinePositionAuto,
- kTextUnderlinePositionUnder
+ kAuto,
+ kUnder
};
enum ETransformStyle3D { kTransformStyle3DFlat, kTransformStyle3DPreserve3D };
« 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