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

Unified Diff: android_webview/java/src/org/chromium/android_webview/AwSettings.java

Issue 23483005: [Android WebView] Wire up Blink's UseLegacyBackgroundSizeShorthandBehavior setting (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use a single setting in AwSettings Created 7 years, 4 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: android_webview/java/src/org/chromium/android_webview/AwSettings.java
diff --git a/android_webview/java/src/org/chromium/android_webview/AwSettings.java b/android_webview/java/src/org/chromium/android_webview/AwSettings.java
index 0247ed428090977ea31b498156598b6c88d46148..deee0a59776e63733066d171cc286f81901e4afe 100644
--- a/android_webview/java/src/org/chromium/android_webview/AwSettings.java
+++ b/android_webview/java/src/org/chromium/android_webview/AwSettings.java
@@ -82,7 +82,7 @@ public class AwSettings {
private String mDefaultVideoPosterURL;
private float mInitialPageScalePercent = 0;
- private final boolean mSupportDeprecatedTargetDensityDPI;
+ private final boolean mSupportLegacyQuirks;
private final boolean mPasswordEchoEnabled;
@@ -197,7 +197,7 @@ public class AwSettings {
mPasswordEchoEnabled = Settings.System.getInt(context.getContentResolver(),
Settings.System.TEXT_SHOW_PASSWORD, 1) == 1;
- mSupportDeprecatedTargetDensityDPI = supportsLegacyQuirks;
+ mSupportLegacyQuirks = supportsLegacyQuirks;
}
// Defer initializing the native side until a native WebContents instance is set.
}
@@ -1036,8 +1036,8 @@ public class AwSettings {
}
@CalledByNative
- private boolean getSupportDeprecatedTargetDensityDPILocked() {
- return mSupportDeprecatedTargetDensityDPI;
+ private boolean getSupportLegacyQuirksLocked() {
+ return mSupportLegacyQuirks;
}
/**

Powered by Google App Engine
This is Rietveld 408576698