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

Unified Diff: ios/web/public/web_state/web_state_observer.h

Issue 2734293002: s/IsSamePage/IsSameDocument for NavigationContext. (Closed)
Patch Set: 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
« no previous file with comments | « ios/web/public/web_state/navigation_context.h ('k') | ios/web/web_state/navigation_callbacks_inttest.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/public/web_state/web_state_observer.h
diff --git a/ios/web/public/web_state/web_state_observer.h b/ios/web/public/web_state/web_state_observer.h
index bbf6da5b4234e01ef626b75e308ec4658d1a212b..e697b2d4c501db98a186e4d31ba5307bf30a7bc5 100644
--- a/ios/web/public/web_state/web_state_observer.h
+++ b/ios/web/public/web_state/web_state_observer.h
@@ -60,9 +60,9 @@ class WebStateObserver {
// and related methods to listen for continued events from this
// WebState.
//
- // This is also fired by same-page navigations, such as fragment navigations
- // or pushState/replaceState, which will not result in a document change. To
- // filter these out, use NavigationContext::IsSamePage().
+ // This is also fired by same-document navigations, such as fragment
+ // navigations or pushState/replaceState, which will not result in a document
+ // change. To filter these out, use NavigationContext::IsSameDocument().
//
// |navigation_context| will be destroyed at the end of this call, so do not
// keep a reference to it afterward.
« no previous file with comments | « ios/web/public/web_state/navigation_context.h ('k') | ios/web/web_state/navigation_callbacks_inttest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698