Chromium Code Reviews (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/tab/

Issue 1381003004: Better distinguish didFinishLoad and didStopLoading (Closed) Base URL:
Patch Set: Created 5 years, 1 month 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: chrome/android/java/src/org/chromium/chrome/browser/tab/
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/tab/ b/chrome/android/java/src/org/chromium/chrome/browser/tab/
index 6c1a32d0d6d75f86703f20e74dd9a043068b9327..168fc12d466ae40df723485c62e9bd6190c11a93 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/tab/
+++ b/chrome/android/java/src/org/chromium/chrome/browser/tab/
@@ -173,14 +173,16 @@ public interface TabObserver {
* staying in the same html document, {@link #onLoadStarted(Tab)} will be called, while
* {@link #onPageLoadStarted(Tab, String)} will not.
* @param tab The notifying {@link Tab}.
+ * @param toDifferentDocument Whether this navigation will transition between
+ * documents (i.e., not a fragment navigation or JS History API call).
- void onLoadStarted(Tab tab);
+ void onLoadStarted(Tab tab, boolean toDifferentDocument);
* Called when the contents loading stops.
* @param tab The notifying {@link Tab}.
- void onLoadStopped(Tab tab);
+ void onLoadStopped(Tab tab, boolean toDifferentDocument);
* Called when the load progress of a {@link Tab} changes.

Powered by Google App Engine
This is Rietveld 408576698