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

Unified Diff: ios/web/web_state/web_state_delegate.mm

Issue 2737943003: Moved window opening callback to WebStateDelegate. (Closed)
Patch Set: Rebased 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/web_state/ui/crw_web_controller_unittest.mm ('k') | ios/web/web_state/web_state_delegate_bridge.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_delegate.mm
diff --git a/ios/web/web_state/web_state_delegate.mm b/ios/web/web_state/web_state_delegate.mm
index 67a12bc8a6aea7cb28b973b2c9be3ba22f9c6012..b3f3faad8bbee2524f5ecb9d5dd1769136b9e43a 100644
--- a/ios/web/web_state/web_state_delegate.mm
+++ b/ios/web/web_state/web_state_delegate.mm
@@ -18,6 +18,13 @@ WebStateDelegate::~WebStateDelegate() {
DCHECK(attached_states_.empty());
}
+WebState* WebStateDelegate::CreateNewWebState(WebState* source,
+ const GURL& url,
+ const GURL& opener_url,
+ bool initiated_by_user) {
+ return nullptr;
+}
+
WebState* WebStateDelegate::OpenURLFromWebState(
WebState*,
const WebState::OpenURLParams&) {
« no previous file with comments | « ios/web/web_state/ui/crw_web_controller_unittest.mm ('k') | ios/web/web_state/web_state_delegate_bridge.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698