blob: e7478c5f0b14fb7bed3bb411583b75a33dec781b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
// Copyright (c) 2010 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/browser/chromeos/cros/speech_synthesis_library.h"
#include "base/message_loop.h"
#include "chrome/browser/chrome_thread.h"
#include "chrome/browser/chromeos/cros/cros_library.h"
#include "third_party/cros/chromeos_speech_synthesis.h"
namespace chromeos {
bool SpeechSynthesisLibraryImpl::Speak(const char* text) {
return chromeos::Speak(text);
}
bool SpeechSynthesisLibraryImpl::SetSpeakProperties(const char* props) {
return chromeos::SetSpeakProperties(props);
}
bool SpeechSynthesisLibraryImpl::StopSpeaking() {
return chromeos::StopSpeaking();
}
bool SpeechSynthesisLibraryImpl::IsSpeaking() {
return chromeos::IsSpeaking();
}
} // namespace chromeos
|