/external/chromium_org/content/browser/speech/ |
D | speech_recognizer_impl.cc | 264 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 …]
|
D | google_streaming_remote_engine.cc | 110 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 …]
|
D | speech_recognizer_impl.h | 92 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 …]
|
D | google_streaming_remote_engine.h | 123 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/ |
D | extension_event_router_forwarder.cc | 19 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 …]
|
D | extension_event_router_forwarder.h | 37 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,
|
D | extension_event_router.cc | 28 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()
|
D | extension_event_router.h | 59 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/ |
D | event_router_forwarder.cc | 28 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 …]
|
D | event_router_forwarder.h | 38 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/ |
D | streams_private_api.cc | 52 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()
|
D | streams_private_apitest.cc | 136 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/ |
D | event_router.cc | 101 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 …]
|
D | event_router.h | 88 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/ |
D | accessibility_extension_api.cc | 182 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()
|
D | accessibility_extension_api.h | 69 scoped_ptr<base::ListValue> event_args); 86 scoped_ptr<base::ListValue> event_args);
|
/external/chromium_org/chrome/browser/extensions/api/tabs/ |
D | windows_event_router.cc | 115 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()
|
D | tabs_event_router.cc | 44 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/ |
D | chrome_app_view.h | 91 winapp::DataTransfer::IDataRequestedEventArgs* event_args); 95 winui::ViewManagement::IInputPaneVisibilityEventArgs* event_args); 99 winui::ViewManagement::IInputPaneVisibilityEventArgs* event_args);
|
/external/chromium_org/chrome/browser/ui/ash/ |
D | ash_keyboard_controller_proxy.cc | 219 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/ |
D | bluetooth_event_router_unittest.cc | 175 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/ |
D | runtime_api.cc | 113 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/ |
D | media_galleries_private_event_router.cc | 133 scoped_ptr<base::ListValue> event_args) { in DispatchEvent() argument 140 event_name, event_args.Pass())); in DispatchEvent()
|
D | media_galleries_private_event_router.h | 47 scoped_ptr<base::ListValue> event_args);
|
/external/chromium_org/chrome/browser/chromeos/file_manager/ |
D | file_browser_handlers.cc | 382 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()
|