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

Unified Diff: ios/web/public/web_state/ui/crw_web_delegate.h

Issue 2780403003: Removed -[CRWWebDelegate webWillInitiateLoadWithParams:]. (Closed)
Patch Set: Fixed tests 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: ios/web/public/web_state/ui/crw_web_delegate.h
diff --git a/ios/web/public/web_state/ui/crw_web_delegate.h b/ios/web/public/web_state/ui/crw_web_delegate.h
index 2ff8368cff3555242bfd43ad8044f9137d78e569..29c0fd6c89ccd8ccb32da1454f2aac9e01a7a0a1 100644
--- a/ios/web/public/web_state/ui/crw_web_delegate.h
+++ b/ios/web/public/web_state/ui/crw_web_delegate.h
@@ -52,12 +52,7 @@ class GURL;
// Called when the page is reloaded.
- (void)webWillReload;
-// Called when a page is loaded using loadWithParams. In
-// |webWillInitiateLoadWithParams|, the |params| argument is non-const so that
-// the delegate can make changes if necessary.
-// TODO(rohitrao): This is not a great API. Clean it up.
-- (void)webWillInitiateLoadWithParams:
- (web::NavigationManager::WebLoadParams&)params;
+// Called when a page is loaded using loadWithParams.
- (void)webDidUpdateSessionForLoadWithParams:
(const web::NavigationManager::WebLoadParams&)params
wasInitialNavigation:(BOOL)initialNavigation;

Powered by Google App Engine
This is Rietveld 408576698