| 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 509 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 520 | 520 |
| 521 // Boolean pref to define the default values for using spellchecker. | 521 // Boolean pref to define the default values for using spellchecker. |
| 522 const char kEnableSpellCheck[] = "browser.enable_spellchecking"; | 522 const char kEnableSpellCheck[] = "browser.enable_spellchecking"; |
| 523 | 523 |
| 524 // List of names of the enabled labs experiments (see chrome/browser/labs.cc). | 524 // List of names of the enabled labs experiments (see chrome/browser/labs.cc). |
| 525 const char kEnabledLabsExperiments[] = "browser.enabled_labs_experiments"; | 525 const char kEnabledLabsExperiments[] = "browser.enabled_labs_experiments"; |
| 526 | 526 |
| 527 // Boolean pref to define the default values for using auto spell correct. | 527 // Boolean pref to define the default values for using auto spell correct. |
| 528 const char kEnableAutoSpellCorrect[] = "browser.enable_autospellcorrect"; | 528 const char kEnableAutoSpellCorrect[] = "browser.enable_autospellcorrect"; |
| 529 | 529 |
| 530 // Boolean pref to define the default setting for "block offensive words". |
| 531 const char kSpeechInputCensorResults[] = |
| 532 "browser.speechinput_censor_results"; |
| 533 |
| 530 // Boolean controlling whether history saving is disabled. | 534 // Boolean controlling whether history saving is disabled. |
| 531 const char kSavingBrowserHistoryDisabled[] = "history.saving_disabled"; | 535 const char kSavingBrowserHistoryDisabled[] = "history.saving_disabled"; |
| 532 | 536 |
| 533 // Boolean controlling whether printing is enabled. | 537 // Boolean controlling whether printing is enabled. |
| 534 const char kPrintingEnabled[] = "printing.enabled"; | 538 const char kPrintingEnabled[] = "printing.enabled"; |
| 535 | 539 |
| 536 #if defined(TOOLKIT_USES_GTK) | 540 #if defined(TOOLKIT_USES_GTK) |
| 537 // 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. |
| 538 const char kUsesSystemTheme[] = "extensions.theme.use_system"; | 542 const char kUsesSystemTheme[] = "extensions.theme.use_system"; |
| 539 #endif | 543 #endif |
| (...skipping 878 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1418 // Whether user-specified handlers for protocols and content types can be | 1422 // Whether user-specified handlers for protocols and content types can be |
| 1419 // specified. | 1423 // specified. |
| 1420 const char kCustomHandlersEnabled[] = "custom_handlers.enabled"; | 1424 const char kCustomHandlersEnabled[] = "custom_handlers.enabled"; |
| 1421 | 1425 |
| 1422 // Integers that specify the policy refresh rate for device- and user-policy in | 1426 // Integers that specify the policy refresh rate for device- and user-policy in |
| 1423 // milliseconds. Not all values are meaningful, so it is clamped to a sane range | 1427 // milliseconds. Not all values are meaningful, so it is clamped to a sane range |
| 1424 // by the cloud policy subsystem. | 1428 // by the cloud policy subsystem. |
| 1425 const char kDevicePolicyRefreshRate[] = "policy.device_refresh_rate"; | 1429 const char kDevicePolicyRefreshRate[] = "policy.device_refresh_rate"; |
| 1426 const char kUserPolicyRefreshRate[] = "policy.user_refresh_rate"; | 1430 const char kUserPolicyRefreshRate[] = "policy.user_refresh_rate"; |
| 1427 } // namespace prefs | 1431 } // namespace prefs |
| OLD | NEW |