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

Unified Diff: chrome/browser/plugins/plugin_installer.cc

Issue 2248873002: Convert WindowOpenDisposition to an enum class. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 4 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 | « chrome/browser/platform_util_chromeos.cc ('k') | chrome/browser/plugins/plugin_observer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/plugins/plugin_installer.cc
diff --git a/chrome/browser/plugins/plugin_installer.cc b/chrome/browser/plugins/plugin_installer.cc
index 710ae5dac22f530bdd1d51b4756fad2ba7176e55..68edf8922742c4f43bedafce110e0d93d59c1be5 100644
--- a/chrome/browser/plugins/plugin_installer.cc
+++ b/chrome/browser/plugins/plugin_installer.cc
@@ -131,10 +131,10 @@ void PluginInstaller::OpenDownloadURL(const GURL& plugin_url,
content::WebContents* web_contents) {
DCHECK_EQ(INSTALLER_STATE_IDLE, state_);
web_contents->OpenURL(content::OpenURLParams(
- plugin_url,
- content::Referrer(web_contents->GetURL(),
- blink::WebReferrerPolicyDefault),
- NEW_FOREGROUND_TAB, ui::PAGE_TRANSITION_TYPED, false));
+ plugin_url, content::Referrer(web_contents->GetURL(),
+ blink::WebReferrerPolicyDefault),
+ WindowOpenDisposition::NEW_FOREGROUND_TAB, ui::PAGE_TRANSITION_TYPED,
+ false));
FOR_EACH_OBSERVER(PluginInstallerObserver, observers_, DownloadFinished());
}
« no previous file with comments | « chrome/browser/platform_util_chromeos.cc ('k') | chrome/browser/plugins/plugin_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698