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

Unified Diff: chrome/common/pref_names.cc

Issue 2885363003: Add policy to use system default printer (Closed)
Patch Set: Fix dynamic refresh Created 3 years, 6 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
diff --git a/chrome/common/pref_names.cc b/chrome/common/pref_names.cc
index 5385bdb974add5212b6885e8d05c93027ba0e837..132bf069d52a4685d64571dbaf5b728bf7f2500c 100644
--- a/chrome/common/pref_names.cc
+++ b/chrome/common/pref_names.cc
@@ -1241,6 +1241,13 @@ const char kPrintPreviewDisabled[] = "printing.print_preview_disabled";
const char kPrintPreviewDefaultDestinationSelectionRules[] =
"printing.default_destination_selection_rules";
+#if !defined(OS_CHROMEOS)
+// A pref that sets the default destination in Print Preview to always be the
+// OS default printer instead of the most recently used destination.
+const char kPrintPreviewUseSystemDefaultPrinter[] =
+ "printing.use_system_default_printer";
+#endif // !OS_CHROMEOS
+
#if defined(OS_CHROMEOS)
// List of all printers that the user has configured.
const char kPrintingDevices[] = "printing.devices";

Powered by Google App Engine
This is Rietveld 408576698