| 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_TTS_API_CONSTANTS_H_ | |
| 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_TTS_API_CONSTANTS_H_ | |
| 7 | |
| 8 #include <string> | |
| 9 | |
| 10 #include "base/values.h" | |
| 11 | |
| 12 namespace extension_tts_api_constants { | |
| 13 | |
| 14 extern const char kVoiceNameKey[]; | |
| 15 extern const char kLangKey[]; | |
| 16 extern const char kGenderKey[]; | |
| 17 extern const char kRateKey[]; | |
| 18 extern const char kPitchKey[]; | |
| 19 extern const char kVolumeKey[]; | |
| 20 extern const char kEnqueueKey[]; | |
| 21 extern const char kEventTypeKey[]; | |
| 22 extern const char kEventTypesKey[]; | |
| 23 extern const char kCharIndexKey[]; | |
| 24 extern const char kErrorMessageKey[]; | |
| 25 extern const char kRequiredEventTypesKey[]; | |
| 26 extern const char kDesiredEventTypesKey[]; | |
| 27 extern const char kExtensionIdKey[]; | |
| 28 extern const char kSrcIdKey[]; | |
| 29 extern const char kIsFinalEventKey[]; | |
| 30 | |
| 31 extern const char kGenderFemale[]; | |
| 32 extern const char kGenderMale[]; | |
| 33 | |
| 34 extern const char kEventTypeStart[]; | |
| 35 extern const char kEventTypeEnd[]; | |
| 36 extern const char kEventTypeWord[]; | |
| 37 extern const char kEventTypeSentence[]; | |
| 38 extern const char kEventTypeMarker[]; | |
| 39 extern const char kEventTypeInterrupted[]; | |
| 40 extern const char kEventTypeCancelled[]; | |
| 41 extern const char kEventTypeError[]; | |
| 42 | |
| 43 extern const char kNativeVoiceName[]; | |
| 44 | |
| 45 extern const char kErrorUndeclaredEventType[]; | |
| 46 extern const char kErrorUtteranceTooLong[]; | |
| 47 extern const char kErrorInvalidLang[]; | |
| 48 extern const char kErrorInvalidGender[]; | |
| 49 extern const char kErrorInvalidRate[]; | |
| 50 extern const char kErrorInvalidPitch[]; | |
| 51 extern const char kErrorInvalidVolume[]; | |
| 52 | |
| 53 } // namespace extension_tts_api_constants. | |
| 54 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_TTS_API_CONSTANTS_H_ | |
| OLD | NEW |