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

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

Issue 2625553005: Changed EUnicodeBidi to an enum class and renamed its members (Closed)
Patch Set: Created 3 years, 11 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/editing/VisibleUnits.cpp » ('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 fffe65fe0bbca9ae598d5dca3dd97919d4af8952..28e3e3c6251582bf71e215d268e421bcdc83c704 100644
--- a/third_party/WebKit/Source/core/css/CSSPrimitiveValueMappings.h
+++ b/third_party/WebKit/Source/core/css/CSSPrimitiveValueMappings.h
@@ -2453,22 +2453,22 @@ template <>
inline CSSIdentifierValue::CSSIdentifierValue(EUnicodeBidi e)
: CSSValue(IdentifierClass) {
switch (e) {
- case UBNormal:
+ case EUnicodeBidi::kNormal:
m_valueID = CSSValueNormal;
break;
- case Embed:
+ case EUnicodeBidi::kEmbed:
m_valueID = CSSValueEmbed;
break;
- case Override:
+ case EUnicodeBidi::kBidiOverride:
m_valueID = CSSValueBidiOverride;
break;
- case Isolate:
+ case EUnicodeBidi::kIsolate:
m_valueID = CSSValueIsolate;
break;
- case IsolateOverride:
+ case EUnicodeBidi::kIsolateOverride:
m_valueID = CSSValueIsolateOverride;
break;
- case Plaintext:
+ case EUnicodeBidi::kPlaintext:
m_valueID = CSSValuePlaintext;
break;
}
@@ -2478,26 +2478,26 @@ template <>
inline EUnicodeBidi CSSIdentifierValue::convertTo() const {
switch (m_valueID) {
case CSSValueNormal:
- return UBNormal;
+ return EUnicodeBidi::kNormal;
case CSSValueEmbed:
- return Embed;
+ return EUnicodeBidi::kEmbed;
case CSSValueBidiOverride:
- return Override;
+ return EUnicodeBidi::kBidiOverride;
case CSSValueIsolate:
case CSSValueWebkitIsolate:
- return Isolate;
+ return EUnicodeBidi::kIsolate;
case CSSValueIsolateOverride:
case CSSValueWebkitIsolateOverride:
- return IsolateOverride;
+ return EUnicodeBidi::kIsolateOverride;
case CSSValuePlaintext:
case CSSValueWebkitPlaintext:
- return Plaintext;
+ return EUnicodeBidi::kPlaintext;
default:
break;
}
ASSERT_NOT_REACHED();
- return UBNormal;
+ return EUnicodeBidi::kNormal;
}
template <>
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/editing/VisibleUnits.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698