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

Unified Diff: extensions/browser/extension_host.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
Index: extensions/browser/extension_host.cc
diff --git a/extensions/browser/extension_host.cc b/extensions/browser/extension_host.cc
index 352619a895edb79491b67403875e0573b54fc473..63e5c658382b9eeeb8a4bd73e9be2f6213d05cff 100644
--- a/extensions/browser/extension_host.cc
+++ b/extensions/browser/extension_host.cc
@@ -427,7 +427,7 @@ void ExtensionHost::AddNewContents(WebContents* source,
// vice versa.
// Note that we don't do this for popup windows, because we need to associate
// those with their extension_app_id.
- if (disposition != NEW_POPUP) {
+ if (disposition != WindowOpenDisposition::NEW_POPUP) {
WebContents* associated_contents = GetAssociatedWebContents();
if (associated_contents &&
associated_contents->GetBrowserContext() ==

Powered by Google App Engine
This is Rietveld 408576698