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

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

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/public/test/fakes/test_web_state_delegate.mm ('k') | ios/web/public/web_state/web_state_delegate.h » ('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 4335b21fce1a04314e178e424ce662d304d55863..6ff76c224b9cab2ced42967420840d5d4bc79c02 100644
--- a/ios/web/public/web_state/ui/crw_web_delegate.h
+++ b/ios/web/public/web_state/ui/crw_web_delegate.h
@@ -71,17 +71,6 @@ class GURL;
// TODO(crbug.com/692331): Remove this method and use |DidFinishNavigation|.
- (void)webWillFinishHistoryNavigation;
-// ---------------------------------------------------------------------
-// Called when |webController| wants to open a new window. |URL| is the URL of
-// the new window; |openerURL| is the URL of the page which requested a window
-// to be open; |initiatedByUser| is YES if action was caused by the user.
-// |webController| will not open a window if this method returns nil. This
-// method can not return |webController|.
-- (CRWWebController*)webController:(CRWWebController*)webController
- createWebControllerForURL:(const GURL&)URL
- openerURL:(const GURL&)openerURL
- initiatedByUser:(BOOL)initiatedByUser;
-
@optional
// Called to ask CRWWebDelegate if |CRWWebController| should open the given URL.
« no previous file with comments | « ios/web/public/test/fakes/test_web_state_delegate.mm ('k') | ios/web/public/web_state/web_state_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698