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

Unified Diff: chrome/browser/ui/browser_navigator_browsertest.cc

Issue 247903004: Enable settings in a window by default (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix tests Created 6 years, 6 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/ui/browser_navigator_browsertest.h ('k') | chrome/browser/ui/chrome_pages.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser_navigator_browsertest.cc
diff --git a/chrome/browser/ui/browser_navigator_browsertest.cc b/chrome/browser/ui/browser_navigator_browsertest.cc
index 3a3eddbf40436b414287cdda866027430f1ac3f1..8f796c7908bd8da4eee5b75d0a3d918900d6f756 100644
--- a/chrome/browser/ui/browser_navigator_browsertest.cc
+++ b/chrome/browser/ui/browser_navigator_browsertest.cc
@@ -196,6 +196,12 @@ void BrowserNavigatorTest::RunDoNothingIfIncognitoIsForcedTest(
browser->tab_strip_model()->GetActiveWebContents()->GetURL());
}
+void BrowserNavigatorTest::SetUpCommandLine(base::CommandLine* command_line) {
+ // Disable settings-in-a-window so that we can use the settings page and
+ // sub-pages to test browser navigation.
+ command_line->AppendSwitch(::switches::kDisableSettingsWindow);
+}
+
void BrowserNavigatorTest::Observe(
int type,
const content::NotificationSource& source,
« no previous file with comments | « chrome/browser/ui/browser_navigator_browsertest.h ('k') | chrome/browser/ui/chrome_pages.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698