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 1212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1223 const char kPrintingEnabled[] = "printing.enabled"; | 1223 const char kPrintingEnabled[] = "printing.enabled"; |
1224 | 1224 |
1225 // Boolean controlling whether print preview is disabled. | 1225 // Boolean controlling whether print preview is disabled. |
1226 const char kPrintPreviewDisabled[] = "printing.print_preview_disabled"; | 1226 const char kPrintPreviewDisabled[] = "printing.print_preview_disabled"; |
1227 | 1227 |
1228 // A pref holding the value of the policy used to control default destination | 1228 // A pref holding the value of the policy used to control default destination |
1229 // selection in the Print Preview. See DefaultPrinterSelection policy. | 1229 // selection in the Print Preview. See DefaultPrinterSelection policy. |
1230 const char kPrintPreviewDefaultDestinationSelectionRules[] = | 1230 const char kPrintPreviewDefaultDestinationSelectionRules[] = |
1231 "printing.default_destination_selection_rules"; | 1231 "printing.default_destination_selection_rules"; |
1232 | 1232 |
1233 // A pref that sets the default destination in print preview to always be the | |
1234 // OS default printer instead of the most recently used destination. | |
1235 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.
| |
1236 "printing.use_system_default_printer"; | |
1237 | |
1233 #if defined(OS_CHROMEOS) | 1238 #if defined(OS_CHROMEOS) |
1234 // List of all printers that the user has configured. | 1239 // List of all printers that the user has configured. |
1235 const char kPrintingDevices[] = "printing.devices"; | 1240 const char kPrintingDevices[] = "printing.devices"; |
1236 | 1241 |
1237 // List of printers configured by policy. | 1242 // List of printers configured by policy. |
1238 const char kRecommendedNativePrinters[] = | 1243 const char kRecommendedNativePrinters[] = |
1239 "native_printing.recommended_printers"; | 1244 "native_printing.recommended_printers"; |
1240 #endif // OS_CHROMEOS | 1245 #endif // OS_CHROMEOS |
1241 | 1246 |
1242 // An integer pref specifying the fallback behavior for sites outside of content | 1247 // 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... | |
2554 // internal format (int64) in local store. (I.e., this is not a per-profile | 2559 // internal format (int64) in local store. (I.e., this is not a per-profile |
2555 // pref.) | 2560 // pref.) |
2556 const char kClipboardLastModifiedTime[] = "ui.clipboard.last_modified_time"; | 2561 const char kClipboardLastModifiedTime[] = "ui.clipboard.last_modified_time"; |
2557 #endif | 2562 #endif |
2558 | 2563 |
2559 #if BUILDFLAG(ENABLE_OFFLINE_PAGES) | 2564 #if BUILDFLAG(ENABLE_OFFLINE_PAGES) |
2560 const char kOfflinePrefetchBackoff[] = "offline_prefetch.backoff"; | 2565 const char kOfflinePrefetchBackoff[] = "offline_prefetch.backoff"; |
2561 #endif | 2566 #endif |
2562 | 2567 |
2563 } // namespace prefs | 2568 } // namespace prefs |
OLD | NEW |