blob: 6a66777516b932e88c690eb8af1bfcf714338438 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_TTS_API_CONSTANTS_H_
#define CHROME_BROWSER_EXTENSIONS_EXTENSION_TTS_API_CONSTANTS_H_
#include <string>
#include "base/values.h"
namespace extension_tts_api_constants {
extern const char kVoiceNameKey[];
extern const char kLangKey[];
extern const char kGenderKey[];
extern const char kRateKey[];
extern const char kPitchKey[];
extern const char kVolumeKey[];
extern const char kEnqueueKey[];
extern const char kEventTypeKey[];
extern const char kEventTypesKey[];
extern const char kCharIndexKey[];
extern const char kErrorMessageKey[];
extern const char kRequiredEventTypesKey[];
extern const char kDesiredEventTypesKey[];
extern const char kExtensionIdKey[];
extern const char kSrcIdKey[];
extern const char kIsFinalEventKey[];
extern const char kGenderFemale[];
extern const char kGenderMale[];
extern const char kEventTypeStart[];
extern const char kEventTypeEnd[];
extern const char kEventTypeWord[];
extern const char kEventTypeSentence[];
extern const char kEventTypeMarker[];
extern const char kEventTypeInterrupted[];
extern const char kEventTypeCancelled[];
extern const char kEventTypeError[];
extern const char kNativeVoiceName[];
extern const char kErrorUndeclaredEventType[];
extern const char kErrorUtteranceTooLong[];
extern const char kErrorInvalidLang[];
extern const char kErrorInvalidGender[];
extern const char kErrorInvalidRate[];
extern const char kErrorInvalidPitch[];
extern const char kErrorInvalidVolume[];
} // namespace extension_tts_api_constants.
#endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_TTS_API_CONSTANTS_H_
|