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

Side by Side Diff: content/public/common/tts_utterance_request.h

Issue 12589005: Implement web speech synthesis. (Closed) Base URL: http://git.chromium.org/chromium/src.git@webtts
Patch Set: Created 7 years, 9 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
OLDNEW
(Empty)
1 // Copyright (c) 2013 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 CONTENT_PUBLIC_COMMON_TTS_UTTERANCE_REQUEST_H
6 #define CONTENT_PUBLIC_COMMON_TTS_UTTERANCE_REQUEST_H
7
8 #include <vector>
9
10 #include "base/basictypes.h"
11 #include "base/string16.h"
12 #include "content/common/content_export.h"
13
14 namespace content {
15
16 struct CONTENT_EXPORT TtsUtteranceRequest {
17 TtsUtteranceRequest();
18 ~TtsUtteranceRequest();
19
20 int id;
21 std::string text;
22 std::string lang;
23 std::string voice;
24 float volume;
25 float rate;
26 float pitch;
27 };
28
29 struct CONTENT_EXPORT TtsVoice {
30 TtsVoice();
31 ~TtsVoice();
32
33 std::string voice_uri;
34 std::string name;
35 std::string lang;
36 bool local_service;
37 bool is_default;
38 };
39
40 struct CONTENT_EXPORT TtsUtteranceResponse {
41 TtsUtteranceResponse();
42 ~TtsUtteranceResponse();
43
44 int id;
45 };
46
47 } // namespace content
48
49 #endif // CONTENT_PUBLIC_COMMON_SPEECH_RECOGNITION_RESULT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698