Index: trunk/src/chrome/common/chrome_switches.cc |
=================================================================== |
--- trunk/src/chrome/common/chrome_switches.cc (revision 272619) |
+++ trunk/src/chrome/common/chrome_switches.cc (working copy) |
@@ -331,9 +331,6 @@ |
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. |
@@ -1412,6 +1409,18 @@ |
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. |
// |