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

Unified Diff: third_party/WebKit/Source/core/css/CSSPrimitiveValueMappings.h

Issue 2916523002: Generate enum/getters/setters/mappings for text-combine-upright. (Closed)
Patch Set: shend@ suggestions 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 | « no previous file | third_party/WebKit/Source/core/css/CSSProperties.json5 » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/css/CSSPrimitiveValueMappings.h
diff --git a/third_party/WebKit/Source/core/css/CSSPrimitiveValueMappings.h b/third_party/WebKit/Source/core/css/CSSPrimitiveValueMappings.h
index 4a4bc7b394dbde89c712881fac134da76f130095..7ba9cc55bc910790193bdd9afaeea2fa2bbec06b 100644
--- a/third_party/WebKit/Source/core/css/CSSPrimitiveValueMappings.h
+++ b/third_party/WebKit/Source/core/css/CSSPrimitiveValueMappings.h
@@ -1315,35 +1315,6 @@ inline EVerticalAlign CSSIdentifierValue::ConvertTo() const {
}
template <>
-inline CSSIdentifierValue::CSSIdentifierValue(TextCombine e)
- : CSSValue(kIdentifierClass) {
- switch (e) {
- case TextCombine::kNone:
- value_id_ = CSSValueNone;
- break;
- case TextCombine::kAll:
- value_id_ = CSSValueAll;
- break;
- }
-}
-
-template <>
-inline TextCombine CSSIdentifierValue::ConvertTo() const {
- switch (value_id_) {
- case CSSValueNone:
- return TextCombine::kNone;
- case CSSValueAll:
- case CSSValueHorizontal: // -webkit-text-combine
- return TextCombine::kAll;
- default:
- break;
- }
-
- NOTREACHED();
- return TextCombine::kNone;
-}
-
-template <>
inline CSSIdentifierValue::CSSIdentifierValue(TextEmphasisPosition position)
: CSSValue(kIdentifierClass) {
switch (position) {
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/CSSProperties.json5 » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698