Index: ios/chrome/browser/interstitials/ios_chrome_controller_client.mm |
diff --git a/ios/chrome/browser/interstitials/ios_chrome_controller_client.mm b/ios/chrome/browser/interstitials/ios_chrome_controller_client.mm |
index 1df9dc058b2954d5f79926220a43d6cdcb13d771..29788082a965e73173fdbec1b26090c5db0c7c72 100644 |
--- a/ios/chrome/browser/interstitials/ios_chrome_controller_client.mm |
+++ b/ios/chrome/browser/interstitials/ios_chrome_controller_client.mm |
@@ -69,6 +69,12 @@ void IOSChromeControllerClient::OpenUrlInCurrentTab(const GURL& url) { |
ui::PAGE_TRANSITION_LINK, false)); |
} |
+void IOSChromeControllerClient::OpenUrlInNewForegroundTab(const GURL& url) { |
+ web_state_->OpenURL(web::WebState::OpenURLParams( |
+ url, web::Referrer(), WindowOpenDisposition::NEW_FOREGROUND_TAB, |
+ ui::PAGE_TRANSITION_LINK, false)); |
+} |
+ |
const std::string& IOSChromeControllerClient::GetApplicationLocale() const { |
return GetApplicationContext()->GetApplicationLocale(); |
} |