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

Side by Side Diff: chrome/browser/chromeos/cros/speech_synthesis_library.cc

Issue 2770006: Revert 49260 - Broke compile - Added InitTts function to speech synthesis lib... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/chromeos/cros/speech_synthesis_library.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/chromeos/cros/speech_synthesis_library.h" 5 #include "chrome/browser/chromeos/cros/speech_synthesis_library.h"
6 6
7 #include "base/message_loop.h" 7 #include "base/message_loop.h"
8 #include "chrome/browser/chrome_thread.h" 8 #include "chrome/browser/chrome_thread.h"
9 #include "chrome/browser/chromeos/cros/cros_library.h" 9 #include "chrome/browser/chromeos/cros/cros_library.h"
10 #include "third_party/cros/chromeos_speech_synthesis.h" 10 #include "third_party/cros/chromeos_speech_synthesis.h"
11 11
12 namespace chromeos { 12 namespace chromeos {
13 13
14 bool SpeechSynthesisLibraryImpl::Speak(const char* text) { 14 bool SpeechSynthesisLibraryImpl::Speak(const char* text) {
15 return chromeos::Speak(text); 15 return chromeos::Speak(text);
16 } 16 }
17 17
18 bool SpeechSynthesisLibraryImpl::SetSpeakProperties(const char* props) { 18 bool SpeechSynthesisLibraryImpl::SetSpeakProperties(const char* props) {
19 return chromeos::SetSpeakProperties(props); 19 return chromeos::SetSpeakProperties(props);
20 } 20 }
21 21
22 bool SpeechSynthesisLibraryImpl::StopSpeaking() { 22 bool SpeechSynthesisLibraryImpl::StopSpeaking() {
23 return chromeos::StopSpeaking(); 23 return chromeos::StopSpeaking();
24 } 24 }
25 25
26 bool SpeechSynthesisLibraryImpl::IsSpeaking() { 26 bool SpeechSynthesisLibraryImpl::IsSpeaking() {
27 return chromeos::IsSpeaking(); 27 return chromeos::IsSpeaking();
28 } 28 }
29 29
30 void SpeechSynthesisLibraryImpl::InitTts(InitStatusCallback callback) {
31 chromeos::InitTts(callback);
32 }
33
34 } // namespace chromeos 30 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/cros/speech_synthesis_library.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698