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

Unified Diff: third_party/WebKit/Source/core/testing/InternalSettings.cpp

Issue 2811793004: Rename EqualIgnoringCase*() to DeprecatedEqualIgnoringCase*() (Closed)
Patch Set: Created 3 years, 8 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
Index: third_party/WebKit/Source/core/testing/InternalSettings.cpp
diff --git a/third_party/WebKit/Source/core/testing/InternalSettings.cpp b/third_party/WebKit/Source/core/testing/InternalSettings.cpp
index 0d21ae09368db39b7b8d689230a727a45aca36b6..396815554407a5ead4bdc07a38bffd30e09a3a62 100644
--- a/third_party/WebKit/Source/core/testing/InternalSettings.cpp
+++ b/third_party/WebKit/Source/core/testing/InternalSettings.cpp
@@ -197,11 +197,11 @@ void InternalSettings::setViewportMetaEnabled(bool enabled,
void InternalSettings::setViewportStyle(const String& style,
ExceptionState& exception_state) {
InternalSettingsGuardForSettings();
- if (EqualIgnoringCase(style, "default"))
+ if (DeprecatedEqualIgnoringCase(style, "default"))
GetSettings()->SetViewportStyle(WebViewportStyle::kDefault);
- else if (EqualIgnoringCase(style, "mobile"))
+ else if (DeprecatedEqualIgnoringCase(style, "mobile"))
GetSettings()->SetViewportStyle(WebViewportStyle::kMobile);
- else if (EqualIgnoringCase(style, "television"))
+ else if (DeprecatedEqualIgnoringCase(style, "television"))
GetSettings()->SetViewportStyle(WebViewportStyle::kTelevision);
else
exception_state.ThrowDOMException(
@@ -342,13 +342,13 @@ void InternalSettings::setAccessibilityFontScaleFactor(
void InternalSettings::setEditingBehavior(const String& editing_behavior,
ExceptionState& exception_state) {
InternalSettingsGuardForSettings();
- if (EqualIgnoringCase(editing_behavior, "win"))
+ if (DeprecatedEqualIgnoringCase(editing_behavior, "win"))
GetSettings()->SetEditingBehaviorType(kEditingWindowsBehavior);
- else if (EqualIgnoringCase(editing_behavior, "mac"))
+ else if (DeprecatedEqualIgnoringCase(editing_behavior, "mac"))
GetSettings()->SetEditingBehaviorType(kEditingMacBehavior);
- else if (EqualIgnoringCase(editing_behavior, "unix"))
+ else if (DeprecatedEqualIgnoringCase(editing_behavior, "unix"))
GetSettings()->SetEditingBehaviorType(kEditingUnixBehavior);
- else if (EqualIgnoringCase(editing_behavior, "android"))
+ else if (DeprecatedEqualIgnoringCase(editing_behavior, "android"))
GetSettings()->SetEditingBehaviorType(kEditingAndroidBehavior);
else
exception_state.ThrowDOMException(kSyntaxError,
@@ -492,11 +492,11 @@ void InternalSettings::setImageAnimationPolicy(
const String& policy,
ExceptionState& exception_state) {
InternalSettingsGuardForSettings();
- if (EqualIgnoringCase(policy, "allowed"))
+ if (DeprecatedEqualIgnoringCase(policy, "allowed"))
GetSettings()->SetImageAnimationPolicy(kImageAnimationPolicyAllowed);
- else if (EqualIgnoringCase(policy, "once"))
+ else if (DeprecatedEqualIgnoringCase(policy, "once"))
GetSettings()->SetImageAnimationPolicy(kImageAnimationPolicyAnimateOnce);
- else if (EqualIgnoringCase(policy, "none"))
+ else if (DeprecatedEqualIgnoringCase(policy, "none"))
GetSettings()->SetImageAnimationPolicy(kImageAnimationPolicyNoAnimation);
else
exception_state.ThrowDOMException(

Powered by Google App Engine
This is Rietveld 408576698