| 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/basictypes.h" | 7 #include "base/basictypes.h" |
| 8 | 8 |
| 9 namespace prefs { | 9 namespace prefs { |
| 10 | 10 |
| (...skipping 721 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 732 const char kEnabledLabsExperiments[] = "browser.enabled_labs_experiments"; | 732 const char kEnabledLabsExperiments[] = "browser.enabled_labs_experiments"; |
| 733 | 733 |
| 734 // Boolean pref to define the default values for using auto spell correct. | 734 // Boolean pref to define the default values for using auto spell correct. |
| 735 const char kEnableAutoSpellCorrect[] = "browser.enable_autospellcorrect"; | 735 const char kEnableAutoSpellCorrect[] = "browser.enable_autospellcorrect"; |
| 736 | 736 |
| 737 // Boolean pref to define the default setting for "block offensive words". | 737 // Boolean pref to define the default setting for "block offensive words". |
| 738 // The old key value is kept to avoid unnecessary migration code. | 738 // The old key value is kept to avoid unnecessary migration code. |
| 739 const char kSpeechRecognitionFilterProfanities[] = | 739 const char kSpeechRecognitionFilterProfanities[] = |
| 740 "browser.speechinput_censor_results"; | 740 "browser.speechinput_censor_results"; |
| 741 | 741 |
| 742 // Boolean pref to determine if the tray notification balloon for speech input | |
| 743 // extension API has been already shown once to the user. | |
| 744 const char kSpeechInputTrayNotificationShown[] = | |
| 745 "browser.speechinput_tray_notification_shown"; | |
| 746 | |
| 747 // List of speech recognition context names (extensions or websites) for which | 742 // List of speech recognition context names (extensions or websites) for which |
| 748 // the tray notification balloon has already been shown. | 743 // the tray notification balloon has already been shown. |
| 749 const char kSpeechRecognitionTrayNotificationShownContexts[] = | 744 const char kSpeechRecognitionTrayNotificationShownContexts[] = |
| 750 "browser.speechinput_tray_notification_shown_contexts"; | 745 "browser.speechinput_tray_notification_shown_contexts"; |
| 751 | 746 |
| 752 // Boolean controlling whether history saving is disabled. | 747 // Boolean controlling whether history saving is disabled. |
| 753 const char kSavingBrowserHistoryDisabled[] = "history.saving_disabled"; | 748 const char kSavingBrowserHistoryDisabled[] = "history.saving_disabled"; |
| 754 | 749 |
| 755 #if defined(TOOLKIT_GTK) | 750 #if defined(TOOLKIT_GTK) |
| 756 // GTK specific preference on whether we should match the system GTK theme. | 751 // GTK specific preference on whether we should match the system GTK theme. |
| (...skipping 1175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1932 const char kInManagedMode[] = "managed_mode"; | 1927 const char kInManagedMode[] = "managed_mode"; |
| 1933 | 1928 |
| 1934 // Counts how many more times the 'profile on a network share' warning should be | 1929 // Counts how many more times the 'profile on a network share' warning should be |
| 1935 // shown to the user before the next silence period. | 1930 // shown to the user before the next silence period. |
| 1936 const char kNetworkProfileWarningsLeft[] = "network_profile.warnings_left"; | 1931 const char kNetworkProfileWarningsLeft[] = "network_profile.warnings_left"; |
| 1937 // Tracks the time of the last shown warning. Used to reset | 1932 // Tracks the time of the last shown warning. Used to reset |
| 1938 // |network_profile.warnings_left| after a silence period. | 1933 // |network_profile.warnings_left| after a silence period. |
| 1939 const char kNetworkProfileLastWarningTime[] = | 1934 const char kNetworkProfileLastWarningTime[] = |
| 1940 "network_profile.last_warning_time"; | 1935 "network_profile.last_warning_time"; |
| 1941 } // namespace prefs | 1936 } // namespace prefs |
| OLD | NEW |