Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(83)

Side by Side Diff: chrome/common/pref_names.cc

Issue 10407120: Moving tray icon and notification balloon for background speech recognition sessions to ChromeSpeec… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ASCIIToUTF16 -> UTF8ToUTF16 Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 722 matching lines...) Expand 10 before | Expand all | Expand 10 after
733 const char kEnabledLabsExperiments[] = "browser.enabled_labs_experiments"; 733 const char kEnabledLabsExperiments[] = "browser.enabled_labs_experiments";
734 734
735 // Boolean pref to define the default values for using auto spell correct. 735 // Boolean pref to define the default values for using auto spell correct.
736 const char kEnableAutoSpellCorrect[] = "browser.enable_autospellcorrect"; 736 const char kEnableAutoSpellCorrect[] = "browser.enable_autospellcorrect";
737 737
738 // Boolean pref to define the default setting for "block offensive words". 738 // Boolean pref to define the default setting for "block offensive words".
739 // The old key value is kept to avoid unnecessary migration code. 739 // The old key value is kept to avoid unnecessary migration code.
740 const char kSpeechRecognitionFilterProfanities[] = 740 const char kSpeechRecognitionFilterProfanities[] =
741 "browser.speechinput_censor_results"; 741 "browser.speechinput_censor_results";
742 742
743 // Boolean pref to determine if the tray notification balloon for speech input
744 // extension API has been already shown once to the user.
745 const char kSpeechInputTrayNotificationShown[] =
746 "browser.speechinput_tray_notification_shown";
747
748 // List of speech recognition context names (extensions or websites) for which 743 // List of speech recognition context names (extensions or websites) for which
749 // the tray notification balloon has already been shown. 744 // the tray notification balloon has already been shown.
750 const char kSpeechRecognitionTrayNotificationShownContexts[] = 745 const char kSpeechRecognitionTrayNotificationShownContexts[] =
751 "browser.speechinput_tray_notification_shown_contexts"; 746 "browser.speechinput_tray_notification_shown_contexts";
752 747
753 // Boolean controlling whether history saving is disabled. 748 // Boolean controlling whether history saving is disabled.
754 const char kSavingBrowserHistoryDisabled[] = "history.saving_disabled"; 749 const char kSavingBrowserHistoryDisabled[] = "history.saving_disabled";
755 750
756 #if defined(TOOLKIT_GTK) 751 #if defined(TOOLKIT_GTK)
757 // GTK specific preference on whether we should match the system GTK theme. 752 // GTK specific preference on whether we should match the system GTK theme.
(...skipping 1175 matching lines...) Expand 10 before | Expand all | Expand 10 after
1933 const char kInManagedMode[] = "managed_mode"; 1928 const char kInManagedMode[] = "managed_mode";
1934 1929
1935 // Counts how many more times the 'profile on a network share' warning should be 1930 // Counts how many more times the 'profile on a network share' warning should be
1936 // shown to the user before the next silence period. 1931 // shown to the user before the next silence period.
1937 const char kNetworkProfileWarningsLeft[] = "network_profile.warnings_left"; 1932 const char kNetworkProfileWarningsLeft[] = "network_profile.warnings_left";
1938 // Tracks the time of the last shown warning. Used to reset 1933 // Tracks the time of the last shown warning. Used to reset
1939 // |network_profile.warnings_left| after a silence period. 1934 // |network_profile.warnings_left| after a silence period.
1940 const char kNetworkProfileLastWarningTime[] = 1935 const char kNetworkProfileLastWarningTime[] =
1941 "network_profile.last_warning_time"; 1936 "network_profile.last_warning_time";
1942 } // namespace prefs 1937 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698