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

Unified Diff: content/public/android/java/src/org/chromium/content/browser/WebContentsObserverAndroid.java

Issue 11825007: Fix the loading progress bar for Android. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase and removed whitespace change. Created 7 years, 11 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
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/android/java/src/org/chromium/content/browser/WebContentsObserverAndroid.java
diff --git a/content/public/android/java/src/org/chromium/content/browser/WebContentsObserverAndroid.java b/content/public/android/java/src/org/chromium/content/browser/WebContentsObserverAndroid.java
index 4f1ea8c397aaec7b4e7179b8fb1d23cc66d9c304..dcb290bb1909959fe90e4666e330850751bd6108 100644
--- a/content/public/android/java/src/org/chromium/content/browser/WebContentsObserverAndroid.java
+++ b/content/public/android/java/src/org/chromium/content/browser/WebContentsObserverAndroid.java
@@ -66,6 +66,26 @@ public abstract class WebContentsObserverAndroid {
}
/**
+ * Notifies that a load is started for a given frame.
+ * @param frameId A positive, non-zero integer identifying the navigating frame.
+ * @param parentFrameId The frame identifier of the frame containing the navigating frame,
+ * or -1 if the frame is not contained in another frame.
+ * @param isMainFrame Whether the load is happening for the main frame.
+ * @param validatedUrl The validated URL that is being navigated to.
+ * @param isErrorPage Whether this is navigating to an error page.
+ * @param isIframeSrcdoc Whether this is navigating to about:srcdoc.
+ */
+ @CalledByNative
+ public void didStartProvisionalLoadForFrame(
+ long frameId,
+ long parentFrameId,
+ boolean isMainFrame,
+ String validatedUrl,
+ boolean isErrorPage,
+ boolean isIframeSrcdoc) {
+ }
+
+ /**
* Destroy the corresponding native object.
*/
@CalledByNative
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698