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
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_SPEECH_EXTENSION_API_TTS_EXTENSION_API_CONSTANTS_H_
6 #define CHROME_BROWSER_SPEECH_EXTENSION_API_TTS_EXTENSION_API_CONSTANTS_H_
10 #include "base/values.h"
12 namespace tts_extension_api_constants
{
14 extern const char kCharIndexKey
[];
15 extern const char kDesiredEventTypesKey
[];
16 extern const char kEnqueueKey
[];
17 extern const char kErrorMessageKey
[];
18 extern const char kEventTypeKey
[];
19 extern const char kEventTypesKey
[];
20 extern const char kExtensionIdKey
[];
21 extern const char kGenderKey
[];
22 extern const char kIsFinalEventKey
[];
23 extern const char kLangKey
[];
24 extern const char kOnEventKey
[];
25 extern const char kPitchKey
[];
26 extern const char kRateKey
[];
27 extern const char kRemoteKey
[];
28 extern const char kRequiredEventTypesKey
[];
29 extern const char kSrcIdKey
[];
30 extern const char kVoiceNameKey
[];
31 extern const char kVolumeKey
[];
33 extern const char kGenderFemale
[];
34 extern const char kGenderMale
[];
36 extern const char kEventTypeCancelled
[];
37 extern const char kEventTypeEnd
[];
38 extern const char kEventTypeError
[];
39 extern const char kEventTypeInterrupted
[];
40 extern const char kEventTypeMarker
[];
41 extern const char kEventTypePause
[];
42 extern const char kEventTypeResume
[];
43 extern const char kEventTypeSentence
[];
44 extern const char kEventTypeStart
[];
45 extern const char kEventTypeWord
[];
47 extern const char kErrorInvalidGender
[];
48 extern const char kErrorInvalidLang
[];
49 extern const char kErrorInvalidPitch
[];
50 extern const char kErrorInvalidRate
[];
51 extern const char kErrorInvalidVolume
[];
52 extern const char kErrorMissingPauseOrResume
[];
53 extern const char kErrorUndeclaredEventType
[];
54 extern const char kErrorUtteranceTooLong
[];
56 } // namespace tts_extension_api_constants.
57 #endif // CHROME_BROWSER_SPEECH_EXTENSION_API_TTS_EXTENSION_API_CONSTANTS_H_