| 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 6fc0d3c37c713b8a4ffc29d7dd00803eab1c17c3..c873eea5b6f3f9138ad13d69d46361b28c8ea151 100644
|
| --- a/ios/web/web_state/web_state_impl.h
|
| +++ b/ios/web/web_state/web_state_impl.h
|
| @@ -253,6 +253,14 @@ class WebStateImpl : public WebState, public NavigationManagerDelegate {
|
| NSString* default_prompt_text,
|
| const DialogClosedCallback& callback);
|
|
|
| + // Instructs the delegate to create a new web state. Called when this WebState
|
| + // wants to open a new window. |url| is the URL of the new window;
|
| + // |opener_url| is the URL of the page which requested a window to be open;
|
| + // |initiated_by_user| is true if action was caused by the user.
|
| + WebState* CreateNewWebState(const GURL& url,
|
| + const GURL& opener_url,
|
| + bool initiated_by_user);
|
| +
|
| // Notifies the delegate that request receives an authentication challenge
|
| // and is unable to respond using cached credentials.
|
| void OnAuthRequired(NSURLProtectionSpace* protection_space,
|
|
|