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

Unified Diff: ios/web/web_state/web_state_impl.h

Issue 2879413002: Pass NavigationContext to WebStateImpl::OnNavigationStarted. (Closed)
Patch Set: Fixed tests Created 3 years, 7 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/web_state/ui/crw_web_controller.mm ('k') | ios/web/web_state/web_state_impl.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/web_state/web_state_impl.h
diff --git a/ios/web/web_state/web_state_impl.h b/ios/web/web_state/web_state_impl.h
index 0c256d36febf7e12713790397d3d5158aab8f00c..916f62f446c182baaaed9791349b7f250dfc8b31 100644
--- a/ios/web/web_state/web_state_impl.h
+++ b/ios/web/web_state/web_state_impl.h
@@ -73,10 +73,10 @@ class WebStateImpl : public WebState, public NavigationManagerDelegate {
CRWWebController* GetWebController();
void SetWebController(CRWWebController* web_controller);
- // Notifies the observers that a provisional navigation has started.
- void OnProvisionalNavigationStarted(const GURL& url);
+ // Notifies the observers that a navigation has started.
+ void OnNavigationStarted(web::NavigationContext* context);
- // Called when a navigation is finished.
+ // Notifies the observers that a navigation has finished.
void OnNavigationFinished(web::NavigationContext* context);
// Called when page title was changed.
« no previous file with comments | « ios/web/web_state/ui/crw_web_controller.mm ('k') | ios/web/web_state/web_state_impl.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698