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

Unified Diff: content/browser/site_per_process_browsertest.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: content/browser/site_per_process_browsertest.cc
diff --git a/content/browser/site_per_process_browsertest.cc b/content/browser/site_per_process_browsertest.cc
index fb5b6d317e77560c7d379c1f94e647653e08002a..f579093fb7123c1d014fecfc0aed3222740c7aa1 100644
--- a/content/browser/site_per_process_browsertest.cc
+++ b/content/browser/site_per_process_browsertest.cc
@@ -7253,9 +7253,11 @@ IN_PROC_BROWSER_TEST_F(SitePerProcessBrowserTest,
// Now, simulate that both ShowView messages arrive by showing both of the
// pending WebContents.
web_contents()->ShowCreatedWindow(process1->GetID(), filter1->routing_id(),
- NEW_FOREGROUND_TAB, gfx::Rect(), true);
+ WindowOpenDisposition::NEW_FOREGROUND_TAB,
+ gfx::Rect(), true);
web_contents()->ShowCreatedWindow(process2->GetID(), filter2->routing_id(),
- NEW_FOREGROUND_TAB, gfx::Rect(), true);
+ WindowOpenDisposition::NEW_FOREGROUND_TAB,
+ gfx::Rect(), true);
// Verify that both shells were properly created.
EXPECT_EQ(3u, Shell::windows().size());
« no previous file with comments | « content/browser/service_worker/service_worker_client_utils.cc ('k') | content/browser/web_contents/web_contents_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698