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

Unified Diff: chrome/common/pref_names.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/common/pref_names.cc
===================================================================
--- chrome/common/pref_names.cc (revision 97007)
+++ chrome/common/pref_names.cc (working copy)
@@ -529,6 +529,12 @@
const char kPrintingPageFooterLeft[] = "printing.page.footer.left";
const char kPrintingPageFooterCenter[] = "printing.page.footer.center";
const char kPrintingPageFooterRight[] = "printing.page.footer.right";
+
+// Enable print preview once for supported platforms.
vandebo (ex-Chrome) 2011/08/16 22:38:39 nit: this comment doesn't match the code.
Lei Zhang 2011/08/16 23:36:30 Renamed to enable_print_preview_once. How's that?
+#if defined(GOOGLE_CHROME_BUILD) && !defined(OS_MACOSX) && !defined(OS_CHROMEOS)
+const char kPrintingEnablePrintPreview[] = "printing.enable_print_preview";
+#endif
+
#if defined(TOOLKIT_USES_GTK)
// GTK specific preference on whether we should match the system GTK theme.
const char kUsesSystemTheme[] = "extensions.theme.use_system";
@@ -1377,4 +1383,5 @@
// Whether user-specified handlers for protocols and content types can be
// specified.
const char kCustomHandlersEnabled[] = "custom_handlers.enabled";
+
} // namespace prefs

Powered by Google App Engine
This is Rietveld 408576698