Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_SPEECH_INPUT_API_CONSTANTS_H_ | |
| 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_SPEECH_INPUT_API_CONSTANTS_H_ | |
| 7 | |
| 8 namespace extension_speech_input_api_constants { | |
| 9 | |
| 10 extern const char kLanguageKey[]; | |
| 11 extern const char kGrammarKey[]; | |
| 12 extern const char kFilterProfanitiesKey[]; | |
| 13 | |
| 14 extern const char kProfanitiesBlock[]; | |
| 15 extern const char kProfanitiesAllow[]; | |
| 16 extern const char kProfanitiesDefault[]; | |
| 17 | |
| 18 extern const char kErrorCodeKey[]; | |
| 19 extern const char kErrorNoDevicesAvailable[]; | |
| 20 extern const char kErrorUnableToStart[]; | |
| 21 extern const char kErrorCaptureError[]; | |
| 22 extern const char kErrorNetworkError[]; | |
| 23 extern const char kErrorRequestDenied[]; | |
| 24 extern const char kErrorNoSpeechHeard[]; | |
| 25 extern const char kErrorNoResults[]; | |
| 26 | |
| 27 extern const char kUtteranceKey[]; | |
| 28 extern const char kConfidenceKey[]; | |
| 29 extern const char kHypothesesKey[]; | |
| 30 | |
| 31 extern const char kOnErrorEvent[]; | |
| 32 extern const char kOnSpeechResultEvent[]; | |
| 33 extern const char kOnSoundStartEvent[]; | |
| 34 extern const char kOnSoundEndEvent[]; | |
| 35 | |
| 36 extern const char kDefaultLanguage[]; | |
| 37 extern const char kDefaultGrammar[]; | |
| 38 extern const bool kDefaultFilterProfanities; | |
| 39 extern const bool kDefaultProcessPendingResults; | |
|
Satish
2011/10/08 23:15:07
Should this be removed? I don't see it used anywhe
Leandro GraciĆ” Gil
2011/10/09 10:29:21
Done.
| |
| 40 | |
| 41 } // namespace extension_speech_input_api_constants. | |
| 42 | |
| 43 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SPEECH_INPUT_API_CONSTANTS_H_ | |
| OLD | NEW |