summaryrefslogtreecommitdiffstats
path: root/chrome/test/data
diff options
context:
space:
mode:
authorthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-18 01:51:24 +0000
committerthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-18 01:51:24 +0000
commit5714ee367605012c8bc79198b264ef83376be988 (patch)
treeccc143663ad9352d07b7fa02b1109acc41174f45 /chrome/test/data
parentf80822dbacb26e265c1c2a7e422613e8564552fe (diff)
downloadchromium_src-5714ee367605012c8bc79198b264ef83376be988.zip
chromium_src-5714ee367605012c8bc79198b264ef83376be988.tar.gz
chromium_src-5714ee367605012c8bc79198b264ef83376be988.tar.bz2
Print Preview: Add "print preview" back to about:flags; enable it by default just once.
BUG=93257 TEST=none Review URL: http://codereview.chromium.org/7631025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97264 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/data')
-rw-r--r--chrome/test/data/webui/print_preview.js6
1 files changed, 0 insertions, 6 deletions
diff --git a/chrome/test/data/webui/print_preview.js b/chrome/test/data/webui/print_preview.js
index d7bb307..c674612 100644
--- a/chrome/test/data/webui/print_preview.js
+++ b/chrome/test/data/webui/print_preview.js
@@ -166,13 +166,7 @@ GEN(' protected:');
GEN(' // WebUIBrowserTest override.');
GEN(' virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE {');
GEN(' WebUIBrowserTest::SetUpCommandLine(command_line);');
-GEN('#if !defined(GOOGLE_CHROME_BUILD) || defined(OS_CHROMEOS)');
-GEN(' // Don\'t enable the flag for chrome builds, which should be on by ' +
- 'default.');
GEN(' command_line->AppendSwitch(switches::kEnablePrintPreview);');
-GEN('#else');
-GEN(' ASSERT_TRUE(switches::IsPrintPreviewEnabled());');
-GEN('#endif');
GEN(' }');
GEN('');
GEN('};');