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

Unified Diff: content/public/browser/navigation_handle.h

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/browser/navigation_handle.h
diff --git a/content/public/browser/navigation_handle.h b/content/public/browser/navigation_handle.h
index f06bbc7b32b84fd875bc84e5ccb3ef5926ab962e..4795ef21aec2b144a9cb0e0e13ff63a2574c8f76 100644
--- a/content/public/browser/navigation_handle.h
+++ b/content/public/browser/navigation_handle.h
@@ -157,12 +157,12 @@ class CONTENT_EXPORT NavigationHandle {
// called.
virtual RenderFrameHost* GetRenderFrameHost() = 0;
- // Whether the navigation happened in the same page. Examples of same page
- // navigations are:
+ // Whether the navigation happened without changing document. Examples of
+ // same document navigations are:
// * reference fragment navigations
// * pushState/replaceState
// * same page history navigation
- virtual bool IsSamePage() = 0;
+ virtual bool IsSameDocument() = 0;
// Whether the navigation has encountered a server redirect or not.
virtual bool WasServerRedirect() = 0;

Powered by Google App Engine
This is Rietveld 408576698