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

Unified Diff: services/navigation/view_impl.cc

Issue 2248873002: Convert WindowOpenDisposition to an enum class. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix weird formatting in recent_tabs_sub_menu_model.cc 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: services/navigation/view_impl.cc
diff --git a/services/navigation/view_impl.cc b/services/navigation/view_impl.cc
index a6451d12f77e5c2999bee48fcb55c3a31595fd7e..22999a87e2256c2bdd33aa6a1b6274203b1ea803 100644
--- a/services/navigation/view_impl.cc
+++ b/services/navigation/view_impl.cc
@@ -144,7 +144,8 @@ void ViewImpl::AddNewContents(content::WebContents* source,
mojom::ViewPtr view;
mojom::ViewRequest view_request = GetProxy(&view);
client_->ViewCreated(std::move(view), GetProxy(&client),
- disposition == NEW_POPUP, initial_rect, user_gesture);
+ disposition == WindowOpenDisposition::NEW_POPUP,
+ initial_rect, user_gesture);
const std::string new_user_id =
content::BrowserContext::GetShellUserIdFor(

Powered by Google App Engine
This is Rietveld 408576698