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

Unified Diff: components/web_contents_delegate_android/android/java/src/org/chromium/components/web_contents_delegate_android/WebContentsDelegateAndroid.java

Issue 924833003: [Android WebView] Synthesize a fake page loading event on page source modification (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed extra space Created 5 years, 10 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: components/web_contents_delegate_android/android/java/src/org/chromium/components/web_contents_delegate_android/WebContentsDelegateAndroid.java
diff --git a/components/web_contents_delegate_android/android/java/src/org/chromium/components/web_contents_delegate_android/WebContentsDelegateAndroid.java b/components/web_contents_delegate_android/android/java/src/org/chromium/components/web_contents_delegate_android/WebContentsDelegateAndroid.java
index d04e16a6ee07ffdba4be53e8d931c637cdc434cd..6b1026eb383ef86d2c7adf34ba8280863776f0a3 100644
--- a/components/web_contents_delegate_android/android/java/src/org/chromium/components/web_contents_delegate_android/WebContentsDelegateAndroid.java
+++ b/components/web_contents_delegate_android/android/java/src/org/chromium/components/web_contents_delegate_android/WebContentsDelegateAndroid.java
@@ -8,6 +8,7 @@ import android.view.KeyEvent;
import org.chromium.base.CalledByNative;
import org.chromium.base.JNINamespace;
+import org.chromium.content_public.browser.InvalidateTypes;
import org.chromium.content_public.browser.WebContents;
/**
@@ -25,16 +26,8 @@ public class WebContentsDelegateAndroid {
// Equivalent of WebCore::WebConsoleMessage::LevelError.
public static final int LOG_LEVEL_ERROR = 3;
- // Flags passed to the WebContentsDelegateAndroid.navigationStateChanged to tell it
- // what has changed. Should match the values in invalidate_type.h.
- // Equivalent of InvalidateTypes::INVALIDATE_TYPE_URL.
- public static final int INVALIDATE_TYPE_URL = 1 << 0;
- // Equivalent of InvalidateTypes::INVALIDATE_TYPE_TAB.
- public static final int INVALIDATE_TYPE_TAB = 1 << 1;
- // Equivalent of InvalidateTypes::INVALIDATE_TYPE_LOAD.
- public static final int INVALIDATE_TYPE_LOAD = 1 << 2;
- // Equivalent of InvalidateTypes::INVALIDATE_TYPE_TITLE.
- public static final int INVALIDATE_TYPE_TITLE = 1 << 3;
+ // TODO(mnaganov): Remove after getting rid of downstream usages.
+ public static final int INVALIDATE_TYPE_TAB = InvalidateTypes.TAB;
// The most recent load progress callback received from WebContents, as a percentage.
// Initialize to 100 to indicate that we're not in a loading state.
« no previous file with comments | « chrome/android/java/src/org/chromium/chrome/browser/Tab.java ('k') | content/browser/web_contents/web_contents_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698