OLD | NEW |
(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_ |
OLD | NEW |