Home
last modified time | relevance | path

Searched refs:event_args (Results 1 – 25 of 48) sorted by relevance

12

/external/chromium_org/content/browser/speech/
Dspeech_recognizer_impl.cc264 FSMEventArgs event_args(EVENT_AUDIO_ERROR); in OnError() local
267 this, event_args)); in OnError()
276 FSMEventArgs event_args(EVENT_AUDIO_DATA); in OnData() local
277 event_args.audio_data = audio_converter_->Convert(data, size); in OnData()
281 this, event_args)); in OnData()
288 FSMEventArgs event_args(EVENT_ENGINE_RESULT); in OnSpeechRecognitionEngineResults() local
289 event_args.engine_results = results; in OnSpeechRecognitionEngineResults()
292 this, event_args)); in OnSpeechRecognitionEngineResults()
297 FSMEventArgs event_args(EVENT_ENGINE_ERROR); in OnSpeechRecognitionEngineError() local
298 event_args.engine_error = error; in OnSpeechRecognitionEngineError()
[all …]
Dgoogle_streaming_remote_engine.cc110 FSMEventArgs event_args(EVENT_START_RECOGNITION); in StartRecognition() local
111 DispatchEvent(event_args); in StartRecognition()
115 FSMEventArgs event_args(EVENT_END_RECOGNITION); in EndRecognition() local
116 DispatchEvent(event_args); in EndRecognition()
120 FSMEventArgs event_args(EVENT_AUDIO_CHUNK); in TakeAudioChunk() local
121 event_args.audio_data = &data; in TakeAudioChunk()
122 DispatchEvent(event_args); in TakeAudioChunk()
126 FSMEventArgs event_args(EVENT_AUDIO_CHUNKS_ENDED); in AudioChunksEnded() local
127 DispatchEvent(event_args); in AudioChunksEnded()
168 FSMEventArgs event_args(EVENT_DOWNSTREAM_ERROR); in DispatchHTTPResponse() local
[all …]
Dspeech_recognizer_impl.h92 void DispatchEvent(const FSMEventArgs& event_args);
102 FSMState StartRecording(const FSMEventArgs& event_args);
103 FSMState StartRecognitionEngine(const FSMEventArgs& event_args);
104 FSMState WaitEnvironmentEstimationCompletion(const FSMEventArgs& event_args);
105 FSMState DetectUserSpeechOrTimeout(const FSMEventArgs& event_args);
106 FSMState StopCaptureAndWaitForResult(const FSMEventArgs& event_args);
107 FSMState ProcessIntermediateResult(const FSMEventArgs& event_args);
108 FSMState ProcessFinalResult(const FSMEventArgs& event_args);
109 FSMState AbortSilently(const FSMEventArgs& event_args);
110 FSMState AbortWithError(const FSMEventArgs& event_args);
[all …]
Dgoogle_streaming_remote_engine.h123 void DispatchEvent(const FSMEventArgs& event_args); in NON_EXPORTED_BASE()
127 FSMState ExecuteTransitionAndGetNextState(const FSMEventArgs& event_args); in NON_EXPORTED_BASE()
130 FSMState ConnectBothStreams(const FSMEventArgs& event_args); in NON_EXPORTED_BASE()
131 FSMState TransmitAudioUpstream(const FSMEventArgs& event_args); in NON_EXPORTED_BASE()
132 FSMState ProcessDownstreamResponse(const FSMEventArgs& event_args); in NON_EXPORTED_BASE()
133 FSMState RaiseNoMatchErrorIfGotNoResults(const FSMEventArgs& event_args); in NON_EXPORTED_BASE()
134 FSMState CloseUpstreamAndWaitForResults(const FSMEventArgs& event_args); in NON_EXPORTED_BASE()
135 FSMState CloseDownstream(const FSMEventArgs& event_args); in NON_EXPORTED_BASE()
136 FSMState AbortSilently(const FSMEventArgs& event_args); in NON_EXPORTED_BASE()
137 FSMState AbortWithError(const FSMEventArgs& event_args); in NON_EXPORTED_BASE()
[all …]
/external/chromium/chrome/browser/extensions/
Dextension_event_router_forwarder.cc19 const std::string& event_name, const std::string& event_args, in BroadcastEventToRenderers() argument
21 HandleEvent("", event_name, event_args, 0, true, event_url); in BroadcastEventToRenderers()
25 const std::string& event_name, const std::string& event_args, in DispatchEventToRenderers() argument
30 HandleEvent("", event_name, event_args, profile_id, in DispatchEventToRenderers()
36 const std::string& event_name, const std::string& event_args, in BroadcastEventToExtension() argument
38 HandleEvent(extension_id, event_name, event_args, 0, true, event_url); in BroadcastEventToExtension()
43 const std::string& event_name, const std::string& event_args, in DispatchEventToExtension() argument
48 HandleEvent(extension_id, event_name, event_args, profile_id, in DispatchEventToExtension()
54 const std::string& event_name, const std::string& event_args, in HandleEvent() argument
63 extension_id, event_name, event_args, profile_id, in HandleEvent()
[all …]
Dextension_event_router_forwarder.h37 const std::string& event_args,
47 const std::string& event_args,
55 const std::string& event_args,
66 const std::string& event_args,
82 const std::string& event_args,
92 const std::string& event_args,
Dextension_event_router.cc28 const std::string& event_args, in DispatchEvent() argument
32 args.Set(1, Value::CreateStringValue(event_args)); in DispatchEvent()
160 const std::string& event_name, const std::string& event_args, in DispatchEventToRenderers() argument
162 DispatchEventImpl("", event_name, event_args, restrict_to_profile, event_url); in DispatchEventToRenderers()
167 const std::string& event_name, const std::string& event_args, in DispatchEventToExtension() argument
170 DispatchEventImpl(extension_id, event_name, event_args, restrict_to_profile, in DispatchEventToExtension()
176 const std::string& event_name, const std::string& event_args, in DispatchEventImpl() argument
213 event_name, event_args, event_url); in DispatchEventImpl()
Dextension_event_router.h59 const std::string& event_name, const std::string& event_args,
65 const std::string& event_name, const std::string& event_args,
73 const std::string& event_name, const std::string& event_args,
/external/chromium_org/chrome/browser/extensions/
Devent_router_forwarder.cc28 scoped_ptr<base::ListValue> event_args, in BroadcastEventToRenderers() argument
30 HandleEvent(std::string(), event_name, event_args.Pass(), 0, true, event_url); in BroadcastEventToRenderers()
35 scoped_ptr<base::ListValue> event_args, in DispatchEventToRenderers() argument
43 event_args.Pass(), in DispatchEventToRenderers()
52 scoped_ptr<base::ListValue> event_args, in BroadcastEventToExtension() argument
54 HandleEvent(extension_id, event_name, event_args.Pass(), 0, true, event_url); in BroadcastEventToExtension()
60 scoped_ptr<base::ListValue> event_args, in DispatchEventToExtension() argument
66 HandleEvent(extension_id, event_name, event_args.Pass(), profile, in DispatchEventToExtension()
72 scoped_ptr<base::ListValue> event_args, in HandleEvent() argument
80 extension_id, event_name, base::Passed(&event_args), in HandleEvent()
[all …]
Devent_router_forwarder.h38 scoped_ptr<base::ListValue> event_args,
48 scoped_ptr<base::ListValue> event_args,
56 scoped_ptr<base::ListValue> event_args,
67 scoped_ptr<base::ListValue> event_args,
80 scoped_ptr<base::ListValue> event_args,
92 scoped_ptr<base::ListValue> event_args,
/external/chromium_org/chrome/browser/extensions/api/streams_private/
Dstreams_private_api.cc52 scoped_ptr<base::ListValue> event_args(new base::ListValue()); in ExecuteMimeTypeHandler() local
53 event_args->Append(new base::StringValue(stream->GetMimeType())); in ExecuteMimeTypeHandler()
54 event_args->Append(new base::StringValue(stream->GetOriginalURL().spec())); in ExecuteMimeTypeHandler()
55 event_args->Append(new base::StringValue(stream->GetURL().spec())); in ExecuteMimeTypeHandler()
56 event_args->Append( in ExecuteMimeTypeHandler()
62 event_args->Append(new base::FundamentalValue(size)); in ExecuteMimeTypeHandler()
65 event_args.Pass())); in ExecuteMimeTypeHandler()
Dstreams_private_apitest.cc136 scoped_ptr<base::ListValue> event_args(new base::ListValue()); in SendDoneEvent() local
137 event_args->Append(new base::StringValue("test/done")); in SendDoneEvent()
138 event_args->Append(new base::StringValue("http://foo")); in SendDoneEvent()
139 event_args->Append(new base::StringValue("blob://bar")); in SendDoneEvent()
140 event_args->Append(new base::FundamentalValue(10)); in SendDoneEvent()
141 event_args->Append(new base::FundamentalValue(20)); in SendDoneEvent()
144 "streamsPrivate.onExecuteMimeTypeHandler", event_args.Pass())); in SendDoneEvent()
/external/chromium_org/extensions/browser/
Devent_router.cc101 ListValue* event_args, in DispatchExtensionMessage() argument
109 make_scoped_ptr(event_args->DeepCopy())))); in DispatchExtensionMessage()
113 args.Set(1, event_args); in DispatchExtensionMessage()
141 scoped_ptr<ListValue> event_args, in DispatchEvent() argument
148 event_args.get(), in DispatchEvent()
550 event->event_args.get()); in DispatchEventToProcess()
554 event->event_name, event->event_args.get(), in DispatchEventToProcess()
592 context, extension, dispatched_event->event_args.get()); in MaybeLoadLazyBackgroundPageToDispatchEvent()
721 scoped_ptr<base::ListValue> event_args) in Event() argument
723 event_args(event_args.Pass()), in Event()
[all …]
Devent_router.h88 scoped_ptr<base::ListValue> event_args,
207 base::ListValue* event_args,
317 scoped_ptr<base::ListValue> event_args; member
342 scoped_ptr<base::ListValue> event_args);
345 scoped_ptr<base::ListValue> event_args,
349 scoped_ptr<base::ListValue> event_args,
377 scoped_ptr<ListValue> event_args);
382 scoped_ptr<ListValue> event_args; member
/external/chromium_org/chrome/browser/accessibility/
Daccessibility_extension_api.cc182 scoped_ptr<base::ListValue> event_args(new base::ListValue()); in OnChromeVoxLoadStateChanged() local
183 event_args->Append(base::Value::CreateBooleanValue(loading)); in OnChromeVoxLoadStateChanged()
184 event_args->Append(base::Value::CreateBooleanValue(make_announcements)); in OnChromeVoxLoadStateChanged()
187 event_args.Pass()); in OnChromeVoxLoadStateChanged()
194 scoped_ptr<base::ListValue> event_args) { in DispatchEventToChromeVox() argument
200 event_args.Pass())); in DispatchEventToChromeVox()
208 scoped_ptr<base::ListValue> event_args) { in DispatchEvent() argument
212 event_name, event_args.Pass())); in DispatchEvent()
Daccessibility_extension_api.h69 scoped_ptr<base::ListValue> event_args);
86 scoped_ptr<base::ListValue> event_args);
/external/chromium_org/chrome/browser/extensions/api/tabs/
Dwindows_event_router.cc115 base::ListValue* event_args) { in WillDispatchWindowFocusedEvent() argument
124 event_args->Clear(); in WillDispatchWindowFocusedEvent()
125 event_args->Append(new base::FundamentalValue( in WillDispatchWindowFocusedEvent()
128 event_args->Clear(); in WillDispatchWindowFocusedEvent()
129 event_args->Append(new base::FundamentalValue(window_id)); in WillDispatchWindowFocusedEvent()
Dtabs_event_router.cc44 ListValue* event_args) { in WillDispatchTabUpdatedEvent() argument
51 event_args->Set(1, properties_value); in WillDispatchTabUpdatedEvent()
54 event_args->Set(2, ExtensionTabUtil::CreateTabValue(contents, extension)); in WillDispatchTabUpdatedEvent()
182 ListValue* event_args) { in WillDispatchTabCreatedEvent() argument
185 event_args->Clear(); in WillDispatchTabCreatedEvent()
186 event_args->Append(tab_value); in WillDispatchTabCreatedEvent()
/external/chromium_org/win8/metro_driver/
Dchrome_app_view.h91 winapp::DataTransfer::IDataRequestedEventArgs* event_args);
95 winui::ViewManagement::IInputPaneVisibilityEventArgs* event_args);
99 winui::ViewManagement::IInputPaneVisibilityEventArgs* event_args);
/external/chromium_org/chrome/browser/ui/ash/
Dash_keyboard_controller_proxy.cc219 scoped_ptr<base::ListValue> event_args(new base::ListValue()); in SetUpdateInputType() local
223 event_args->Append(input_context.release()); in SetUpdateInputType()
227 event_args.Pass())); in SetUpdateInputType()
/external/chromium_org/chrome/browser/extensions/api/bluetooth/
Dbluetooth_event_router_unittest.cc175 base::ListValue* event_args = fake_event_router->event()->event_args.get(); in TEST_F() local
177 ASSERT_TRUE(event_args->GetDictionary(0, &socket_value)); in TEST_F()
/external/chromium_org/chrome/browser/extensions/api/runtime/
Druntime_api.cc113 scoped_ptr<base::ListValue> event_args(new base::ListValue()); in DispatchOnStartupEventImpl() local
115 event_args.Pass())); in DispatchOnStartupEventImpl()
280 scoped_ptr<base::ListValue> event_args(new base::ListValue()); in DispatchOnInstalledEvent() local
282 event_args->Append(info); in DispatchOnInstalledEvent()
293 event_args.Pass())); in DispatchOnInstalledEvent()
/external/chromium_org/chrome/browser/extensions/api/media_galleries_private/
Dmedia_galleries_private_event_router.cc133 scoped_ptr<base::ListValue> event_args) { in DispatchEvent() argument
140 event_name, event_args.Pass())); in DispatchEvent()
Dmedia_galleries_private_event_router.h47 scoped_ptr<base::ListValue> event_args);
/external/chromium_org/chrome/browser/chromeos/file_manager/
Dfile_browser_handlers.cc382 scoped_ptr<ListValue> event_args(new ListValue()); in SetupPermissionsAndDispatchEvent() local
383 event_args->Append(new base::StringValue(action_id_)); in SetupPermissionsAndDispatchEvent()
385 event_args->Append(details); in SetupPermissionsAndDispatchEvent()
404 "fileBrowserHandler.onExecute", event_args.Pass())); in SetupPermissionsAndDispatchEvent()

12