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

Side by Side Diff: chrome/browser/speech/extension_speech_input_api_constants.cc

Issue 8386074: Add a tray notification UI for speech input recording in the extension API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixing one missing include for moving the API. Created 9 years, 1 month 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) 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/browser/extensions/speech_input/extension_speech_input_api_cons tants.h" 5 #include "chrome/browser/speech/extension_speech_input_api_constants.h"
6 6
7 namespace extension_speech_input_api_constants { 7 namespace extension_speech_input_api_constants {
8 8
9 const char kLanguageKey[] = "language"; 9 const char kLanguageKey[] = "language";
10 const char kGrammarKey[] = "grammar"; 10 const char kGrammarKey[] = "grammar";
11 const char kFilterProfanitiesKey[] = "filterProfanities"; 11 const char kFilterProfanitiesKey[] = "filterProfanities";
12 12
13 const char kErrorNoRecordingDeviceFound[] = "noRecordingDeviceFound"; 13 const char kErrorNoRecordingDeviceFound[] = "noRecordingDeviceFound";
14 const char kErrorRecordingDeviceInUse[] = "recordingDeviceInUse"; 14 const char kErrorRecordingDeviceInUse[] = "recordingDeviceInUse";
15 const char kErrorUnableToStart[] = "unableToStart"; 15 const char kErrorUnableToStart[] = "unableToStart";
(...skipping 13 matching lines...) Expand all
29 29
30 const char kOnErrorEvent[] = "experimental.speechInput.onError"; 30 const char kOnErrorEvent[] = "experimental.speechInput.onError";
31 const char kOnResultEvent[] = "experimental.speechInput.onResult"; 31 const char kOnResultEvent[] = "experimental.speechInput.onResult";
32 const char kOnSoundStartEvent[] = "experimental.speechInput.onSoundStart"; 32 const char kOnSoundStartEvent[] = "experimental.speechInput.onSoundStart";
33 const char kOnSoundEndEvent[] = "experimental.speechInput.onSoundEnd"; 33 const char kOnSoundEndEvent[] = "experimental.speechInput.onSoundEnd";
34 34
35 const char kDefaultGrammar[] = "builtin:search"; 35 const char kDefaultGrammar[] = "builtin:search";
36 const bool kDefaultFilterProfanities = true; 36 const bool kDefaultFilterProfanities = true;
37 37
38 } // namespace extension_speech_input_api_constants. 38 } // namespace extension_speech_input_api_constants.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698