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

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
« no previous file with comments | « chrome/common/pref_names.h ('k') | chrome/renderer/print_web_view_helper_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/pref_names.cc
===================================================================
--- chrome/common/pref_names.cc (revision 97007)
+++ chrome/common/pref_names.cc (working copy)
@@ -529,6 +529,14 @@
const char kPrintingPageFooterLeft[] = "printing.page.footer.left";
const char kPrintingPageFooterCenter[] = "printing.page.footer.center";
const char kPrintingPageFooterRight[] = "printing.page.footer.right";
+
+// Boolean value that is set to true if print preview has been enabled once for
+// supported platforms.
+#if defined(GOOGLE_CHROME_BUILD) && !defined(OS_MACOSX) && !defined(OS_CHROMEOS)
+const char kPrintingPrintPreviewEnabledOnce[] =
+ "printing.print_preview_enabled_once";
+#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 +1385,5 @@
// Whether user-specified handlers for protocols and content types can be
// specified.
const char kCustomHandlersEnabled[] = "custom_handlers.enabled";
+
} // namespace prefs
« no previous file with comments | « chrome/common/pref_names.h ('k') | chrome/renderer/print_web_view_helper_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698