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

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

Issue 2716493004: Renamed NavigationHandle::IsSamePage to NavigationHandle::IsSameDocument (Closed)
Patch Set: Rebased 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: content/public/android/java/src/org/chromium/content/browser/webcontents/WebContentsObserverProxy.java
diff --git a/content/public/android/java/src/org/chromium/content/browser/webcontents/WebContentsObserverProxy.java b/content/public/android/java/src/org/chromium/content/browser/webcontents/WebContentsObserverProxy.java
index 0f43177249648efa9bc126eec5defebd946a4b89..430b738a465a080893ead1618a48637cb3b694c0 100644
--- a/content/public/android/java/src/org/chromium/content/browser/webcontents/WebContentsObserverProxy.java
+++ b/content/public/android/java/src/org/chromium/content/browser/webcontents/WebContentsObserverProxy.java
@@ -78,21 +78,21 @@ class WebContentsObserverProxy extends WebContentsObserver {
@Override
@CalledByNative
public void didStartNavigation(
- String url, boolean isInMainFrame, boolean isSamePage, boolean isErrorPage) {
+ String url, boolean isInMainFrame, boolean isSameDocument, boolean isErrorPage) {
for (mObserversIterator.rewind(); mObserversIterator.hasNext();) {
mObserversIterator.next().didStartNavigation(
- url, isInMainFrame, isSamePage, isErrorPage);
+ url, isInMainFrame, isSameDocument, isErrorPage);
}
}
@CalledByNative
public void didFinishNavigation(String url, boolean isInMainFrame, boolean isErrorPage,
- boolean hasCommitted, boolean isSamePage, boolean isFragmentNavigation, int transition,
- int errorCode, String errorDescription, int httpStatusCode) {
+ boolean hasCommitted, boolean isSameDocument, boolean isFragmentNavigation,
+ int transition, int errorCode, String errorDescription, int httpStatusCode) {
Integer pageTransition = transition == -1 ? null : transition;
for (mObserversIterator.rewind(); mObserversIterator.hasNext();) {
mObserversIterator.next().didFinishNavigation(url, isInMainFrame, isErrorPage,
- hasCommitted, isSamePage, isFragmentNavigation, pageTransition, errorCode,
+ hasCommitted, isSameDocument, isFragmentNavigation, pageTransition, errorCode,
errorDescription, httpStatusCode);
}
}

Powered by Google App Engine
This is Rietveld 408576698