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