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

Unified Diff: chrome/common/tts_utterance_request.cc

Issue 12589005: Implement web speech synthesis. (Closed) Base URL: http://git.chromium.org/chromium/src.git@webtts
Patch Set: Move from content to chrome, add runtime flag Created 7 years, 8 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: chrome/common/tts_utterance_request.cc
diff --git a/chrome/common/tts_utterance_request.cc b/chrome/common/tts_utterance_request.cc
new file mode 100644
index 0000000000000000000000000000000000000000..86fb0dba35c2b85f8cc1702a96f16c97bbd7c10e
--- /dev/null
+++ b/chrome/common/tts_utterance_request.cc
@@ -0,0 +1,30 @@
+// 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 "chrome/common/tts_utterance_request.h"
+
+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() {
+}

Powered by Google App Engine
This is Rietveld 408576698