OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome/common/pref_names.h" | 5 #include "chrome/common/pref_names.h" |
6 | 6 |
7 #include "base/macros.h" | 7 #include "base/macros.h" |
8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
9 #include "chrome/common/features.h" | 9 #include "chrome/common/features.h" |
10 #include "chrome/common/pref_font_webkit_names.h" | 10 #include "chrome/common/pref_font_webkit_names.h" |
(...skipping 1227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1238 const char kPrintingEnabled[] = "printing.enabled"; | 1238 const char kPrintingEnabled[] = "printing.enabled"; |
1239 | 1239 |
1240 // Boolean controlling whether print preview is disabled. | 1240 // Boolean controlling whether print preview is disabled. |
1241 const char kPrintPreviewDisabled[] = "printing.print_preview_disabled"; | 1241 const char kPrintPreviewDisabled[] = "printing.print_preview_disabled"; |
1242 | 1242 |
1243 // A pref holding the value of the policy used to control default destination | 1243 // A pref holding the value of the policy used to control default destination |
1244 // selection in the Print Preview. See DefaultPrinterSelection policy. | 1244 // selection in the Print Preview. See DefaultPrinterSelection policy. |
1245 const char kPrintPreviewDefaultDestinationSelectionRules[] = | 1245 const char kPrintPreviewDefaultDestinationSelectionRules[] = |
1246 "printing.default_destination_selection_rules"; | 1246 "printing.default_destination_selection_rules"; |
1247 | 1247 |
| 1248 #if !defined(OS_CHROMEOS) && !defined(OS_ANDROID) |
| 1249 // A pref that sets the default destination in Print Preview to always be the |
| 1250 // OS default printer instead of the most recently used destination. |
| 1251 const char kPrintPreviewUseSystemDefaultPrinter[] = |
| 1252 "printing.use_system_default_printer"; |
| 1253 #endif // !OS_CHROMEOS && !OS_ANDROID |
| 1254 |
1248 #if defined(OS_CHROMEOS) | 1255 #if defined(OS_CHROMEOS) |
1249 // List of all printers that the user has configured. | 1256 // List of all printers that the user has configured. |
1250 const char kPrintingDevices[] = "printing.devices"; | 1257 const char kPrintingDevices[] = "printing.devices"; |
1251 | 1258 |
1252 // List of printers configured by policy. | 1259 // List of printers configured by policy. |
1253 const char kRecommendedNativePrinters[] = | 1260 const char kRecommendedNativePrinters[] = |
1254 "native_printing.recommended_printers"; | 1261 "native_printing.recommended_printers"; |
1255 #endif // OS_CHROMEOS | 1262 #endif // OS_CHROMEOS |
1256 | 1263 |
1257 // An integer pref specifying the fallback behavior for sites outside of content | 1264 // An integer pref specifying the fallback behavior for sites outside of content |
(...skipping 1311 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2569 // internal format (int64) in local store. (I.e., this is not a per-profile | 2576 // internal format (int64) in local store. (I.e., this is not a per-profile |
2570 // pref.) | 2577 // pref.) |
2571 const char kClipboardLastModifiedTime[] = "ui.clipboard.last_modified_time"; | 2578 const char kClipboardLastModifiedTime[] = "ui.clipboard.last_modified_time"; |
2572 #endif | 2579 #endif |
2573 | 2580 |
2574 #if BUILDFLAG(ENABLE_OFFLINE_PAGES) | 2581 #if BUILDFLAG(ENABLE_OFFLINE_PAGES) |
2575 const char kOfflinePrefetchBackoff[] = "offline_prefetch.backoff"; | 2582 const char kOfflinePrefetchBackoff[] = "offline_prefetch.backoff"; |
2576 #endif | 2583 #endif |
2577 | 2584 |
2578 } // namespace prefs | 2585 } // namespace prefs |
OLD | NEW |