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

Unified Diff: content/public/common/tts_utterance_request.cc

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 side-by-side diff with in-line comments
Download patch
Index: content/public/common/tts_utterance_request.cc
diff --git a/content/public/common/tts_utterance_request.cc b/content/public/common/tts_utterance_request.cc
new file mode 100644
index 0000000000000000000000000000000000000000..9b7b938fbf81cf8de3389f5ca7072e38f8649f20
--- /dev/null
+++ b/content/public/common/tts_utterance_request.cc
@@ -0,0 +1,34 @@
+// 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.
+
+#include "content/public/common/tts_utterance_request.h"
+
+namespace content {
+
+TtsUtteranceRequest::TtsUtteranceRequest()
+ : id(0),
+ volume(1.0),
+ rate(1.0),
+ pitch(1.0) {
+}
+
+TtsUtteranceRequest::~TtsUtteranceRequest() {
+}
+
+TtsVoice::TtsVoice()
+ : local_service(true),
+ is_default(false) {
+}
+
+TtsVoice::~TtsVoice() {
+}
+
+TtsUtteranceResponse::TtsUtteranceResponse()
+ : id(0) {
+}
+
+TtsUtteranceResponse::~TtsUtteranceResponse() {
+}
+
+} // namespace content

Powered by Google App Engine
This is Rietveld 408576698