HomeSort by relevance Sort by last modified time
    Searched refs:Utterance (Results 1 - 10 of 10) sorted by null

  /external/chromium_org/chrome/browser/speech/extension_api/
tts_engine_extension_api.h 14 class Utterance;
35 // manifest that matches the speech parameters of this utterance.
39 bool GetMatchingExtensionVoice(Utterance* utterance,
43 // Speak the given utterance by sending an event to the given TTS engine
45 void ExtensionTtsEngineSpeak(Utterance* utterance,
48 // Stop speaking the given utterance by sending an event to the extension
49 // associated with this utterance.
50 void ExtensionTtsEngineStop(Utterance* utterance)
    [all...]
tts_engine_extension_api.cc 129 void ExtensionTtsEngineSpeak(Utterance* utterance, const VoiceData& voice) {
131 // utterance around and track it. If not, we're finished with this
132 // utterance now.
136 args->Set(0, Value::CreateStringValue(utterance->text()));
141 utterance->options()->DeepCopy()));
164 args->Set(2, Value::CreateIntegerValue(utterance->id()));
168 event->restrict_to_browser_context = utterance->profile();
169 ExtensionSystem::Get(utterance->profile())->event_router()->
170 DispatchEventToExtension(utterance->extension_id(), event.Pass())
    [all...]
tts_extension_api.cc 82 // One of these is constructed for each utterance, and deleted
83 // when the utterance gets any final event.
88 virtual void OnTtsEvent(Utterance* utterance,
94 void TtsExtensionEventHandler::OnTtsEvent(Utterance* utterance,
98 if (utterance->src_id() < 0) {
99 if (utterance->finished())
105 utterance->desired_event_types();
108 if (utterance->finished()
267 Utterance* utterance = new Utterance(GetProfile()); local
    [all...]
  /external/chromium/chrome/browser/extensions/
extension_tts_api.h 21 // Speak the given utterance with the given parameters if possible,
22 // and return true on success. Utterance will always be nonempty.
26 // The ExtensionTtsController will only try to speak one utterance at
31 const std::string& utterance,
57 // One speech utterance.
58 class Utterance {
60 // Construct an utterance given a profile, the text to speak,
62 // when the utterance is done speaking.
63 Utterance(Profile* profile,
67 ~Utterance();
    [all...]
extension_tts_api.cc 20 const char kSpeechInterruptedError[] = "Utterance interrupted.";
21 const char kSpeechRemovedFromQueueError[] = "Utterance removed from queue.";
47 // Utterance
51 int Utterance::next_utterance_id_ = 0;
53 Utterance::Utterance(Profile* profile,
101 Utterance::~Utterance() {
105 void Utterance::FinishAndDestroy() {
131 void ExtensionTtsController::SpeakOrEnqueue(Utterance* utterance)
289 Utterance* utterance = utterance_queue_.front(); local
297 Utterance* utterance = utterance_queue_.front(); local
    [all...]
  /external/chromium_org/chrome/browser/speech/
tts_controller_unittest.cc 23 const std::string& utterance,
52 Utterance* utterance1 = new Utterance(NULL);
57 Utterance* utterance2 = new Utterance(NULL);
tts_controller.h 18 class Utterance;
46 // Returns true if this event type is one that indicates an utterance
50 // The continuous parameters that apply to a given utterance.
84 virtual void OnTtsEvent(Utterance* utterance,
98 // One speech utterance.
99 class Utterance {
101 // Construct an utterance given a profile and a completion task to call
102 // when the utterance is done speaking. Before speaking this utterance,
    [all...]
tts_controller.cc 67 // Utterance
71 int Utterance::next_utterance_id_ = 0;
73 Utterance::Utterance(Profile* profile)
84 Utterance::~Utterance() {
88 void Utterance::OnTtsEvent(TtsEventType event_type,
102 void Utterance::Finish() {
106 void Utterance::set_options(const Value* options) {
135 void TtsController::SpeakOrEnqueue(Utterance* utterance)
309 Utterance* utterance = utterance_queue_.front(); local
322 Utterance* utterance = utterance_queue_.front(); local
    [all...]
tts_message_filter.h 32 virtual void OnTtsEvent(Utterance* utterance,
44 void OnSpeak(const TtsUtteranceRequest& utterance);
tts_message_filter.cc 78 scoped_ptr<Utterance> utterance(new Utterance(profile_));
79 utterance->set_src_id(request.id);
80 utterance->set_text(request.text);
81 utterance->set_lang(request.lang);
82 utterance->set_voice_name(request.voice);
83 utterance->set_can_enqueue(true);
89 utterance->set_continuous_parameters(params);
91 utterance->set_event_delegate(this->AsWeakPtr())
    [all...]

Completed in 59 milliseconds