Index: components/security_interstitials/content/security_interstitial_controller_client.cc |
diff --git a/components/security_interstitials/content/security_interstitial_controller_client.cc b/components/security_interstitials/content/security_interstitial_controller_client.cc |
index 87d0789a3912da7f940726d322303a7f59526e8d..49eba9c05d4564301f33a06e6b180706ff4406ff 100644 |
--- a/components/security_interstitials/content/security_interstitial_controller_client.cc |
+++ b/components/security_interstitials/content/security_interstitial_controller_client.cc |
@@ -79,6 +79,14 @@ void SecurityInterstitialControllerClient::OpenUrlInCurrentTab( |
web_contents_->OpenURL(params); |
} |
+void SecurityInterstitialControllerClient::OpenUrlInNewForegroundTab( |
+ const GURL& url) { |
+ content::OpenURLParams params(url, Referrer(), |
+ WindowOpenDisposition::NEW_FOREGROUND_TAB, |
+ ui::PAGE_TRANSITION_LINK, false); |
+ web_contents_->OpenURL(params); |
+} |
+ |
const std::string& |
SecurityInterstitialControllerClient::GetApplicationLocale() const { |
return app_locale_; |