| 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 c873eea5b6f3f9138ad13d69d46361b28c8ea151..cd496fb09baa34bb93eadc6dc68bb996727f6ed2 100644
|
| --- a/ios/web/web_state/web_state_impl.h
|
| +++ b/ios/web/web_state/web_state_impl.h
|
| @@ -261,6 +261,10 @@ class WebStateImpl : public WebState, public NavigationManagerDelegate {
|
| const GURL& opener_url,
|
| bool initiated_by_user);
|
|
|
| + // Instructs the delegate to close this web state. Called when the page calls
|
| + // wants to close self by calling window.close() JavaScript API.
|
| + virtual void CloseWebState();
|
| +
|
| // Notifies the delegate that request receives an authentication challenge
|
| // and is unable to respond using cached credentials.
|
| void OnAuthRequired(NSURLProtectionSpace* protection_space,
|
|
|