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

Unified Diff: chrome/common/pref_names.cc

Issue 2885363003: Add policy to use system default printer (Closed)
Patch Set: Address comments 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 c825b79c8501e32ae599df274bb23bfd894811ae..73471b7f718676802653227387f39e9ce7750f3b 100644
--- a/chrome/common/pref_names.cc
+++ b/chrome/common/pref_names.cc
@@ -1245,6 +1245,13 @@ const char kPrintPreviewDisabled[] = "printing.print_preview_disabled";
const char kPrintPreviewDefaultDestinationSelectionRules[] =
"printing.default_destination_selection_rules";
+#if !defined(OS_CHROMEOS) && !defined(OS_ANDROID) && !defined(OS_IOS)
+// 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 && !OS_ANDROID && !OS_IOS
+
#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