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

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

Issue 2738663003: Fix TODOs related to SDK 24 (Closed)
Patch Set: Re-revert fix TODOs related to SDK 24 Created 3 years, 9 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 231091e21b03ac280b218961d6ff61ceb17b57b7..a49d01c85f44154ef9fd0c4559bd6c7e8b56a5f5 100644
--- a/android_webview/java/src/org/chromium/android_webview/AwSettings.java
+++ b/android_webview/java/src/org/chromium/android_webview/AwSettings.java
@@ -34,9 +34,6 @@ public class AwSettings {
private static final String LOGTAG = AwSettings.class.getSimpleName();
private static final boolean TRACE = false;
- // TODO(hush): Use android.webkit.WebSettings.MENU_ITEM_*. crbug.com/546762.
- private static final int MENU_ITEM_NONE = 0;
-
private static final String TAG = "AwSettings";
// This class must be created on the UI thread. Afterwards, it can be
@@ -89,7 +86,7 @@ public class AwSettings {
private int mMixedContentMode = WebSettings.MIXED_CONTENT_NEVER_ALLOW;
private boolean mOffscreenPreRaster;
- private int mDisabledMenuItems = MENU_ITEM_NONE;
+ private int mDisabledMenuItems = WebSettings.MENU_ITEM_NONE;
// Although this bit is stored on AwSettings it is actually controlled via the CookieManager.
private boolean mAcceptThirdPartyCookies;

Powered by Google App Engine
This is Rietveld 408576698