Chromium Code Reviews| 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 // Enable print preview once for supported platforms. | |
|
vandebo (ex-Chrome)
2011/08/16 22:38:39
nit: this comment doesn't match the code.
Lei Zhang
2011/08/16 23:36:30
Renamed to enable_print_preview_once. How's that?
| |
| 534 #if defined(GOOGLE_CHROME_BUILD) && !defined(OS_MACOSX) && !defined(OS_CHROMEOS) | |
| 535 const char kPrintingEnablePrintPreview[] = "printing.enable_print_preview"; | |
| 536 #endif | |
| 537 | |
| 532 #if defined(TOOLKIT_USES_GTK) | 538 #if defined(TOOLKIT_USES_GTK) |
| 533 // GTK specific preference on whether we should match the system GTK theme. | 539 // GTK specific preference on whether we should match the system GTK theme. |
| 534 const char kUsesSystemTheme[] = "extensions.theme.use_system"; | 540 const char kUsesSystemTheme[] = "extensions.theme.use_system"; |
| 535 #endif | 541 #endif |
| 536 const char kCurrentThemePackFilename[] = "extensions.theme.pack"; | 542 const char kCurrentThemePackFilename[] = "extensions.theme.pack"; |
| 537 const char kCurrentThemeID[] = "extensions.theme.id"; | 543 const char kCurrentThemeID[] = "extensions.theme.id"; |
| 538 const char kCurrentThemeImages[] = "extensions.theme.images"; | 544 const char kCurrentThemeImages[] = "extensions.theme.images"; |
| 539 const char kCurrentThemeColors[] = "extensions.theme.colors"; | 545 const char kCurrentThemeColors[] = "extensions.theme.colors"; |
| 540 const char kCurrentThemeTints[] = "extensions.theme.tints"; | 546 const char kCurrentThemeTints[] = "extensions.theme.tints"; |
| 541 const char kCurrentThemeDisplayProperties[] = "extensions.theme.properties"; | 547 const char kCurrentThemeDisplayProperties[] = "extensions.theme.properties"; |
| (...skipping 828 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1370 const char kRegisteredProtocolHandlers[] = | 1376 const char kRegisteredProtocolHandlers[] = |
| 1371 "custom_handlers.registered_protocol_handlers"; | 1377 "custom_handlers.registered_protocol_handlers"; |
| 1372 | 1378 |
| 1373 // List of protocol handlers the user has requested not to be asked about again. | 1379 // List of protocol handlers the user has requested not to be asked about again. |
| 1374 const char kIgnoredProtocolHandlers[] = | 1380 const char kIgnoredProtocolHandlers[] = |
| 1375 "custom_handlers.ignored_protocol_handlers"; | 1381 "custom_handlers.ignored_protocol_handlers"; |
| 1376 | 1382 |
| 1377 // Whether user-specified handlers for protocols and content types can be | 1383 // Whether user-specified handlers for protocols and content types can be |
| 1378 // specified. | 1384 // specified. |
| 1379 const char kCustomHandlersEnabled[] = "custom_handlers.enabled"; | 1385 const char kCustomHandlersEnabled[] = "custom_handlers.enabled"; |
| 1386 | |
| 1380 } // namespace prefs | 1387 } // namespace prefs |
| OLD | NEW |