Index: content/public/common/tts_utterance_request.h |
diff --git a/content/public/common/tts_utterance_request.h b/content/public/common/tts_utterance_request.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..aef3c411145cfd46a6f5c76024f8447b74d95425 |
--- /dev/null |
+++ b/content/public/common/tts_utterance_request.h |
@@ -0,0 +1,49 @@ |
+// Copyright (c) 2013 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef CONTENT_PUBLIC_COMMON_TTS_UTTERANCE_REQUEST_H |
+#define CONTENT_PUBLIC_COMMON_TTS_UTTERANCE_REQUEST_H |
+ |
+#include <vector> |
+ |
+#include "base/basictypes.h" |
+#include "base/string16.h" |
+#include "content/common/content_export.h" |
+ |
+namespace content { |
+ |
+struct CONTENT_EXPORT TtsUtteranceRequest { |
+ TtsUtteranceRequest(); |
+ ~TtsUtteranceRequest(); |
+ |
+ int id; |
+ std::string text; |
+ std::string lang; |
+ std::string voice; |
+ float volume; |
+ float rate; |
+ float pitch; |
+}; |
+ |
+struct CONTENT_EXPORT TtsVoice { |
+ TtsVoice(); |
+ ~TtsVoice(); |
+ |
+ std::string voice_uri; |
+ std::string name; |
+ std::string lang; |
+ bool local_service; |
+ bool is_default; |
+}; |
+ |
+struct CONTENT_EXPORT TtsUtteranceResponse { |
+ TtsUtteranceResponse(); |
+ ~TtsUtteranceResponse(); |
+ |
+ int id; |
+}; |
+ |
+} // namespace content |
+ |
+#endif // CONTENT_PUBLIC_COMMON_SPEECH_RECOGNITION_RESULT_H_ |