| 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 kErrorCodeKey[]; |
| 15 extern const char kErrorNoDevicesAvailable[]; |
| 16 extern const char kErrorUnableToStart[]; |
| 17 extern const char kErrorCaptureError[]; |
| 18 extern const char kErrorNetworkError[]; |
| 19 extern const char kErrorRequestDenied[]; |
| 20 extern const char kErrorRequestOngoing[]; |
| 21 extern const char kErrorNoSpeechHeard[]; |
| 22 extern const char kErrorNoResults[]; |
| 23 |
| 24 extern const char kUtteranceKey[]; |
| 25 extern const char kConfidenceKey[]; |
| 26 extern const char kHypothesesKey[]; |
| 27 |
| 28 extern const char kOnErrorEvent[]; |
| 29 extern const char kOnResultEvent[]; |
| 30 extern const char kOnSoundStartEvent[]; |
| 31 extern const char kOnSoundEndEvent[]; |
| 32 |
| 33 extern const char kDefaultLanguage[]; |
| 34 extern const char kDefaultGrammar[]; |
| 35 extern const bool kDefaultFilterProfanities; |
| 36 |
| 37 } // namespace extension_speech_input_api_constants. |
| 38 |
| 39 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SPEECH_INPUT_API_CONSTANTS_H_ |
| OLD | NEW |