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

Side by Side Diff: chrome/common/tts_utterance_request.h

Issue 12589005: Implement web speech synthesis. (Closed) Base URL: http://git.chromium.org/chromium/src.git@webtts
Patch Set: Fix android build Created 7 years, 7 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
« no previous file with comments | « chrome/common/tts_messages.h ('k') | chrome/common/tts_utterance_request.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 CHROME_COMMON_TTS_UTTERANCE_REQUEST_H_
6 #define CHROME_COMMON_TTS_UTTERANCE_REQUEST_H_
7
8 #include <vector>
9
10 #include "base/basictypes.h"
11 #include "base/string16.h"
12
13 struct TtsUtteranceRequest {
14 TtsUtteranceRequest();
15 ~TtsUtteranceRequest();
16
17 int id;
18 std::string text;
19 std::string lang;
20 std::string voice;
21 float volume;
22 float rate;
23 float pitch;
24 };
25
26 struct TtsVoice {
27 TtsVoice();
28 ~TtsVoice();
29
30 std::string voice_uri;
31 std::string name;
32 std::string lang;
33 bool local_service;
34 bool is_default;
35 };
36
37 struct TtsUtteranceResponse {
38 TtsUtteranceResponse();
39 ~TtsUtteranceResponse();
40
41 int id;
42 };
43
44 #endif // CHROME_COMMON_TTS_UTTERANCE_REQUEST_H_
OLDNEW
« no previous file with comments | « chrome/common/tts_messages.h ('k') | chrome/common/tts_utterance_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698