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

Unified Diff: chrome/renderer/print_web_view_helper_browsertest.cc

Issue 7631008: Print Preview: Add "print preview" back to about:flags; enable it by default just once. (Closed) Base URL: svn://chrome-svn/chrome/branches/782/src/
Patch Set: Created 9 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: chrome/renderer/print_web_view_helper_browsertest.cc
===================================================================
--- chrome/renderer/print_web_view_helper_browsertest.cc (revision 97007)
+++ chrome/renderer/print_web_view_helper_browsertest.cc (working copy)
@@ -100,12 +100,6 @@
virtual ~PrintWebViewHelperTest() {}
virtual void SetUp() {
- // Append the print preview switch before creating the PrintWebViewHelper.
-#if defined(GOOGLE_CHROME_BUILD) && !defined(OS_CHROMEOS) && !defined(OS_MACOSX)
- CommandLine::ForCurrentProcess()->AppendSwitch(
- switches::kDisablePrintPreview);
-#endif
-
RenderViewTest::SetUp();
}
@@ -301,10 +295,8 @@
virtual void SetUp() {
// Append the print preview switch before creating the PrintWebViewHelper.
-#if !defined(GOOGLE_CHROME_BUILD) || defined(OS_MACOSX)
CommandLine::ForCurrentProcess()->AppendSwitch(
switches::kEnablePrintPreview);
-#endif
RenderViewTest::SetUp();
}

Powered by Google App Engine
This is Rietveld 408576698