OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 namespace prefs { | 7 namespace prefs { |
8 | 8 |
9 // *************** PROFILE PREFS *************** | 9 // *************** PROFILE PREFS *************** |
10 // These are attached to the user profile | 10 // These are attached to the user profile |
(...skipping 511 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
522 // Boolean controlling whether printing is enabled. | 522 // Boolean controlling whether printing is enabled. |
523 const char kPrintingEnabled[] = "printing.enabled"; | 523 const char kPrintingEnabled[] = "printing.enabled"; |
524 | 524 |
525 // String pref to define the default values for print overlays. | 525 // String pref to define the default values for print overlays. |
526 const char kPrintingPageHeaderLeft[] = "printing.page.header.left"; | 526 const char kPrintingPageHeaderLeft[] = "printing.page.header.left"; |
527 const char kPrintingPageHeaderCenter[] = "printing.page.header.center"; | 527 const char kPrintingPageHeaderCenter[] = "printing.page.header.center"; |
528 const char kPrintingPageHeaderRight[] = "printing.page.header.right"; | 528 const char kPrintingPageHeaderRight[] = "printing.page.header.right"; |
529 const char kPrintingPageFooterLeft[] = "printing.page.footer.left"; | 529 const char kPrintingPageFooterLeft[] = "printing.page.footer.left"; |
530 const char kPrintingPageFooterCenter[] = "printing.page.footer.center"; | 530 const char kPrintingPageFooterCenter[] = "printing.page.footer.center"; |
531 const char kPrintingPageFooterRight[] = "printing.page.footer.right"; | 531 const char kPrintingPageFooterRight[] = "printing.page.footer.right"; |
| 532 |
| 533 // Boolean value that is set to true if print preview has been enabled once for |
| 534 // supported platforms. |
| 535 #if defined(GOOGLE_CHROME_BUILD) && !defined(OS_MACOSX) && !defined(OS_CHROMEOS) |
| 536 const char kPrintingPrintPreviewEnabledOnce[] = |
| 537 "printing.print_preview_enabled_once"; |
| 538 #endif |
| 539 |
532 #if defined(TOOLKIT_USES_GTK) | 540 #if defined(TOOLKIT_USES_GTK) |
533 // GTK specific preference on whether we should match the system GTK theme. | 541 // GTK specific preference on whether we should match the system GTK theme. |
534 const char kUsesSystemTheme[] = "extensions.theme.use_system"; | 542 const char kUsesSystemTheme[] = "extensions.theme.use_system"; |
535 #endif | 543 #endif |
536 const char kCurrentThemePackFilename[] = "extensions.theme.pack"; | 544 const char kCurrentThemePackFilename[] = "extensions.theme.pack"; |
537 const char kCurrentThemeID[] = "extensions.theme.id"; | 545 const char kCurrentThemeID[] = "extensions.theme.id"; |
538 const char kCurrentThemeImages[] = "extensions.theme.images"; | 546 const char kCurrentThemeImages[] = "extensions.theme.images"; |
539 const char kCurrentThemeColors[] = "extensions.theme.colors"; | 547 const char kCurrentThemeColors[] = "extensions.theme.colors"; |
540 const char kCurrentThemeTints[] = "extensions.theme.tints"; | 548 const char kCurrentThemeTints[] = "extensions.theme.tints"; |
541 const char kCurrentThemeDisplayProperties[] = "extensions.theme.properties"; | 549 const char kCurrentThemeDisplayProperties[] = "extensions.theme.properties"; |
(...skipping 828 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1370 const char kRegisteredProtocolHandlers[] = | 1378 const char kRegisteredProtocolHandlers[] = |
1371 "custom_handlers.registered_protocol_handlers"; | 1379 "custom_handlers.registered_protocol_handlers"; |
1372 | 1380 |
1373 // List of protocol handlers the user has requested not to be asked about again. | 1381 // List of protocol handlers the user has requested not to be asked about again. |
1374 const char kIgnoredProtocolHandlers[] = | 1382 const char kIgnoredProtocolHandlers[] = |
1375 "custom_handlers.ignored_protocol_handlers"; | 1383 "custom_handlers.ignored_protocol_handlers"; |
1376 | 1384 |
1377 // Whether user-specified handlers for protocols and content types can be | 1385 // Whether user-specified handlers for protocols and content types can be |
1378 // specified. | 1386 // specified. |
1379 const char kCustomHandlersEnabled[] = "custom_handlers.enabled"; | 1387 const char kCustomHandlersEnabled[] = "custom_handlers.enabled"; |
| 1388 |
1380 } // namespace prefs | 1389 } // namespace prefs |
OLD | NEW |