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

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

Issue 1836793002: [ios] Moved WebLoadParams inside NavigationManager. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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/navigation_manager.h ('k') | ios/web/shell/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 48148668fd24ac47cea8e2421b5fb6d91bd7f083..fdb40c91ef2c54c9d88e7594c886c5e0729ee006 100644
--- a/ios/web/public/web_state/ui/crw_web_delegate.h
+++ b/ios/web/public/web_state/ui/crw_web_delegate.h
@@ -11,6 +11,7 @@
#include "base/ios/block_types.h"
#include "ios/web/public/favicon_url.h"
+#import "ios/web/public/navigation_manager.h"
#include "ios/web/public/ssl_status.h"
#import "ios/web/public/web_state/ui/crw_native_content.h"
#include "ios/web/public/web_state/web_state.h"
@@ -29,7 +30,6 @@ class X509Certificate;
namespace web {
class BlockedPopupInfo;
struct Referrer;
-struct WebLoadParams;
}
// Callback for -presentSSLError:forSSLStatus:onUrl:recoverable:callback:
@@ -144,8 +144,10 @@ typedef void (^SSLErrorCallback)(BOOL);
// |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::WebLoadParams&)params;
-- (void)webDidUpdateSessionForLoadWithParams:(const web::WebLoadParams&)params
+- (void)webWillInitiateLoadWithParams:
+ (web::NavigationManager::WebLoadParams&)params;
+- (void)webDidUpdateSessionForLoadWithParams:
+ (const web::NavigationManager::WebLoadParams&)params
wasInitialNavigation:(BOOL)initialNavigation;
// Called from finishHistoryNavigationFromEntry.
- (void)webWillFinishHistoryNavigationFromEntry:(CRWSessionEntry*)fromEntry;
« no previous file with comments | « ios/web/public/navigation_manager.h ('k') | ios/web/shell/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698