diff options
author | mnaganov <mnaganov@chromium.org> | 2015-01-19 13:42:52 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-01-19 21:43:56 +0000 |
commit | 2ff7ac16165a1c6fd017f96094bec5157f0f5ea0 (patch) | |
tree | 2c5baa925da8164c92fca6b48cd703cdd27df31f /android_webview/java | |
parent | 6f5436950cf5ffea26c6203d3f1f083ea8097cc8 (diff) | |
download | chromium_src-2ff7ac16165a1c6fd017f96094bec5157f0f5ea0.zip chromium_src-2ff7ac16165a1c6fd017f96094bec5157f0f5ea0.tar.gz chromium_src-2ff7ac16165a1c6fd017f96094bec5157f0f5ea0.tar.bz2 |
[Android WebView] Remove AwSettings.LayoutAlgorithm
The custom enum was introduced in pre-KitKat times before the new
API had been officially published. Now it should be possible to remove it.
BUG=332089
Review URL: https://codereview.chromium.org/837633010
Cr-Commit-Position: refs/heads/master@{#312147}
Diffstat (limited to 'android_webview/java')
-rw-r--r-- | android_webview/java/src/org/chromium/android_webview/AwSettings.java | 10 |
1 files changed, 1 insertions, 9 deletions
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 a80f637..d6bd505 100644 --- a/android_webview/java/src/org/chromium/android_webview/AwSettings.java +++ b/android_webview/java/src/org/chromium/android_webview/AwSettings.java @@ -12,6 +12,7 @@ import android.os.Process; import android.provider.Settings; import android.util.Log; import android.webkit.WebSettings; +import android.webkit.WebSettings.LayoutAlgorithm; import android.webkit.WebSettings.PluginState; import org.chromium.base.CalledByNative; @@ -28,15 +29,6 @@ import org.chromium.base.VisibleForTesting; */ @JNINamespace("android_webview") public class AwSettings { - // This enum corresponds to WebSettings.LayoutAlgorithm. We use our own to be - // able to extend it. - public enum LayoutAlgorithm { - NORMAL, - SINGLE_COLUMN, - NARROW_COLUMNS, - TEXT_AUTOSIZING, - } - // These constants must be kept in sync with the Android framework, defined in WebSettimgs. @VisibleForTesting public static final int MIXED_CONTENT_ALWAYS_ALLOW = 0; |