| Index: ios/web/public/web_state/navigation_context.h
|
| diff --git a/ios/web/public/web_state/navigation_context.h b/ios/web/public/web_state/navigation_context.h
|
| index 44b48eb220c1fbfbf45d7ac15d07c50a041005fa..d6c9c42c1ce9783a7670b9eae95726e02d4faa54 100644
|
| --- a/ios/web/public/web_state/navigation_context.h
|
| +++ b/ios/web/public/web_state/navigation_context.h
|
| @@ -24,12 +24,12 @@ class NavigationContext {
|
| // The URL the WebState is navigating to.
|
| virtual const GURL& GetUrl() const = 0;
|
|
|
| - // Whether the navigation happened in the same page. Examples of same page
|
| - // navigations are:
|
| + // Whether the navigation happened within the same document. Examples of same
|
| + // document navigations are:
|
| // * reference fragment navigations
|
| // * pushState/replaceState
|
| - // * same page history navigation
|
| - virtual bool IsSamePage() const = 0;
|
| + // * same document history navigation
|
| + virtual bool IsSameDocument() const = 0;
|
|
|
| // Whether the navigation resulted in an error page.
|
| virtual bool IsErrorPage() const = 0;
|
|
|