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

Unified Diff: chrome/common/chrome_switches.cc

Issue 296453015: Remove kEnablePrintPreview now that the pdf plugin is part of Chromium. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: reupload after revert Created 6 years, 7 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/common/chrome_switches.h ('k') | chrome/test/data/webui/print_preview.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/chrome_switches.cc
===================================================================
--- chrome/common/chrome_switches.cc (revision 272869)
+++ chrome/common/chrome_switches.cc (working copy)
@@ -331,6 +331,9 @@
const char kDisablePrerenderLocalPredictor[] =
"disable-prerender-local-predictor";
+// Disables print preview (For testing, and for users who don't like us. :[ )
+const char kDisablePrintPreview[] = "disable-print-preview";
+
// Normally when the user attempts to navigate to a page that was the result of
// a post we prompt to make sure they want to. This switch may be used to
// disable that check. This switch is used during automated testing.
@@ -1406,18 +1409,6 @@
const char kFileManagerExtensionPath[] = "filemgr-ext-path";
#endif
-// Controls print preview in the browser process.
-#if defined(GOOGLE_CHROME_BUILD)
-// Disables print preview (For testing, and for users who don't like us. :[ )
-const char kDisablePrintPreview[] = "disable-print-preview";
-#else
-// Enables print preview. Chromium normally does not have the PDF viewer,
-// required for print preview.
-// pdf.dll or libpdf.so should be present in primary directory of
-// Chromium. For local builds it's usually out/Debug or out/Release.
-const char kEnablePrintPreview[] = "enable-print-preview";
-#endif
-
// -----------------------------------------------------------------------------
// DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
//
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/test/data/webui/print_preview.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698