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 #include "base/basictypes.h" | 7 #include "base/basictypes.h" |
8 | 8 |
9 namespace prefs { | 9 namespace prefs { |
10 | 10 |
(...skipping 585 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
596 // Boolean pref to define the default values for using spellchecker. | 596 // Boolean pref to define the default values for using spellchecker. |
597 const char kEnableSpellCheck[] = "browser.enable_spellchecking"; | 597 const char kEnableSpellCheck[] = "browser.enable_spellchecking"; |
598 | 598 |
599 // List of names of the enabled labs experiments (see chrome/browser/labs.cc). | 599 // List of names of the enabled labs experiments (see chrome/browser/labs.cc). |
600 const char kEnabledLabsExperiments[] = "browser.enabled_labs_experiments"; | 600 const char kEnabledLabsExperiments[] = "browser.enabled_labs_experiments"; |
601 | 601 |
602 // Boolean pref to define the default values for using auto spell correct. | 602 // Boolean pref to define the default values for using auto spell correct. |
603 const char kEnableAutoSpellCorrect[] = "browser.enable_autospellcorrect"; | 603 const char kEnableAutoSpellCorrect[] = "browser.enable_autospellcorrect"; |
604 | 604 |
605 // Boolean pref to define the default setting for "block offensive words". | 605 // Boolean pref to define the default setting for "block offensive words". |
606 const char kSpeechInputCensorResults[] = | 606 const char kSpeechInputFilterProfanities[] = |
607 "browser.speechinput_filter_profanities"; | |
608 | |
609 // Previous key used to store the profanity filtering settings. | |
610 // Deprecated and kept for preference migration purposes. | |
611 const char kSpeechInputCensorResultsDeprecated[] = | |
Satish
2011/10/07 20:09:26
as mentioned earlier suggest just renaming this va
Leandro GraciĆ” Gil
2011/10/07 23:22:09
Done.
| |
607 "browser.speechinput_censor_results"; | 612 "browser.speechinput_censor_results"; |
608 | 613 |
609 // Boolean controlling whether history saving is disabled. | 614 // Boolean controlling whether history saving is disabled. |
610 const char kSavingBrowserHistoryDisabled[] = "history.saving_disabled"; | 615 const char kSavingBrowserHistoryDisabled[] = "history.saving_disabled"; |
611 | 616 |
612 // Boolean controlling whether printing is enabled. | 617 // Boolean controlling whether printing is enabled. |
613 const char kPrintingEnabled[] = "printing.enabled"; | 618 const char kPrintingEnabled[] = "printing.enabled"; |
614 | 619 |
615 // Enable print preview once for supported platforms. | 620 // Enable print preview once for supported platforms. |
616 #if defined(GOOGLE_CHROME_BUILD) | 621 #if defined(GOOGLE_CHROME_BUILD) |
(...skipping 965 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1582 // specified. | 1587 // specified. |
1583 const char kCustomHandlersEnabled[] = "custom_handlers.enabled"; | 1588 const char kCustomHandlersEnabled[] = "custom_handlers.enabled"; |
1584 | 1589 |
1585 // Integers that specify the policy refresh rate for device- and user-policy in | 1590 // Integers that specify the policy refresh rate for device- and user-policy in |
1586 // milliseconds. Not all values are meaningful, so it is clamped to a sane range | 1591 // milliseconds. Not all values are meaningful, so it is clamped to a sane range |
1587 // by the cloud policy subsystem. | 1592 // by the cloud policy subsystem. |
1588 const char kDevicePolicyRefreshRate[] = "policy.device_refresh_rate"; | 1593 const char kDevicePolicyRefreshRate[] = "policy.device_refresh_rate"; |
1589 const char kUserPolicyRefreshRate[] = "policy.user_refresh_rate"; | 1594 const char kUserPolicyRefreshRate[] = "policy.user_refresh_rate"; |
1590 | 1595 |
1591 } // namespace prefs | 1596 } // namespace prefs |
OLD | NEW |