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

Unified Diff: chrome/common/pref_names.cc

Issue 2885363003: Add policy to use system default printer (Closed)
Patch Set: Fix test 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 15adf88b471e4182287a0545ebc3371a58cc7259..b090c32d54dd2693e0fc66635a9585b669722470 100644
--- a/chrome/common/pref_names.cc
+++ b/chrome/common/pref_names.cc
@@ -1230,6 +1230,11 @@ const char kPrintPreviewDisabled[] = "printing.print_preview_disabled";
const char kPrintPreviewDefaultDestinationSelectionRules[] =
"printing.default_destination_selection_rules";
+// 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 kUseSystemDefaultPrinterAsDefault[] =
Lei Zhang 2017/06/15 18:26:16 Can we put print preview in the name, since it doe
rbpotter 2017/06/16 02:21:46 Done.
+ "printing.use_system_default_printer";
+
#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