Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(993)

Side by Side Diff: chrome/browser/speech/extension_api/tts_extension_api_constants.cc

Issue 27034009: Implement Google network speech synthesis (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Change client name, truncate utterance length Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/speech/extension_api/tts_extension_api_constants.h" 5 #include "chrome/browser/speech/extension_api/tts_extension_api_constants.h"
6 6
7 namespace tts_extension_api_constants { 7 namespace tts_extension_api_constants {
8 8
9 const char kVoiceNameKey[] = "voiceName"; 9 const char kVoiceNameKey[] = "voiceName";
10 const char kLangKey[] = "lang"; 10 const char kLangKey[] = "lang";
11 const char kGenderKey[] = "gender"; 11 const char kGenderKey[] = "gender";
12 const char kRemoteKey[] = "remote";
David Tseng 2013/10/17 20:43:49 Should this list be sorted?
dmazzoni 2013/10/18 16:23:19 Sure, I sorted within each grouping.
12 const char kRateKey[] = "rate"; 13 const char kRateKey[] = "rate";
13 const char kPitchKey[] = "pitch"; 14 const char kPitchKey[] = "pitch";
14 const char kVolumeKey[] = "volume"; 15 const char kVolumeKey[] = "volume";
15 const char kEnqueueKey[] = "enqueue"; 16 const char kEnqueueKey[] = "enqueue";
16 const char kEventTypeKey[] = "type"; 17 const char kEventTypeKey[] = "type";
17 const char kEventTypesKey[] = "eventTypes"; 18 const char kEventTypesKey[] = "eventTypes";
18 const char kCharIndexKey[] = "charIndex"; 19 const char kCharIndexKey[] = "charIndex";
19 const char kErrorMessageKey[] = "errorMessage"; 20 const char kErrorMessageKey[] = "errorMessage";
20 const char kRequiredEventTypesKey[] = "requiredEventTypes"; 21 const char kRequiredEventTypesKey[] = "requiredEventTypes";
21 const char kDesiredEventTypesKey[] = "desiredEventTypes"; 22 const char kDesiredEventTypesKey[] = "desiredEventTypes";
(...skipping 22 matching lines...) Expand all
44 const char kErrorInvalidLang[] = "Invalid lang."; 45 const char kErrorInvalidLang[] = "Invalid lang.";
45 const char kErrorInvalidGender[] = "Invalid gender."; 46 const char kErrorInvalidGender[] = "Invalid gender.";
46 const char kErrorInvalidRate[] = "Invalid rate."; 47 const char kErrorInvalidRate[] = "Invalid rate.";
47 const char kErrorInvalidPitch[] = "Invalid pitch."; 48 const char kErrorInvalidPitch[] = "Invalid pitch.";
48 const char kErrorInvalidVolume[] = "Invalid volume."; 49 const char kErrorInvalidVolume[] = "Invalid volume.";
49 const char kErrorMissingPauseOrResume[] = 50 const char kErrorMissingPauseOrResume[] =
50 "A TTS engine extension should either listen for both onPause and onResume " 51 "A TTS engine extension should either listen for both onPause and onResume "
51 "events, or neither."; 52 "events, or neither.";
52 53
53 } // namespace tts_extension_api_constants. 54 } // namespace tts_extension_api_constants.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698