/external/chromium/chrome/browser/extensions/ |
extension_event_router_forwarder_unittest.cc | 76 scoped_refptr<MockExtensionEventRouterForwarder> event_router( 79 EXPECT_CALL(*event_router, 82 EXPECT_CALL(*event_router, 85 event_router->BroadcastEventToRenderers(kEventName, kEventArgs, url); 89 scoped_refptr<MockExtensionEventRouterForwarder> event_router( 94 EXPECT_CALL(*event_router, 97 EXPECT_CALL(*event_router, 99 EXPECT_CALL(*event_router, 102 event_router->BroadcastEventToRenderers(kEventName, kEventArgs, url); 109 scoped_refptr<MockExtensionEventRouterForwarder> event_router( [all...] |
extension_messages_apitest.cc | 25 ExtensionEventRouter* event_router = local 30 event_router->DispatchEventToRenderers("test.onMessage", 34 event_router->DispatchEventToRenderers("test.onMessage", 38 event_router->DispatchEventToRenderers("test.onMessage", 42 event_router->DispatchEventToRenderers("test.onMessage",
|
/external/chromium_org/chrome/browser/extensions/ |
event_router_forwarder_unittest.cc | 48 static void BroadcastEventToRenderers(EventRouterForwarder* event_router, 52 event_router->BroadcastEventToRenderers(event_name, args.Pass(), url); 55 static void DispatchEventToRenderers(EventRouterForwarder* event_router, 61 event_router->DispatchEventToRenderers(event_name, args.Pass(), profile, 65 static void BroadcastEventToExtension(EventRouterForwarder* event_router, 70 event_router->BroadcastEventToExtension(extension, event_name, args.Pass(), 74 static void DispatchEventToExtension(EventRouterForwarder* event_router, 81 event_router->DispatchEventToExtension( 131 scoped_refptr<MockEventRouterForwarder> event_router( 134 EXPECT_CALL(*event_router.get() [all...] |
event_router_forwarder.cc | 10 #include "chrome/browser/extensions/event_router.h" 120 if (!extensions::ExtensionSystem::Get(profile)->event_router()) 127 ExtensionSystem::Get(profile)->event_router()->BroadcastEvent(event.Pass()); 129 ExtensionSystem::Get(profile)->event_router()->
|
/external/chromium_org/chrome/browser/extensions/api/tabs/ |
tabs_windows_api.cc | 10 #include "chrome/browser/extensions/event_router.h" 17 ExtensionSystem::Get(profile_)->event_router()->RegisterObserver( 19 ExtensionSystem::Get(profile_)->event_router()->RegisterObserver( 21 ExtensionSystem::Get(profile_)->event_router()->RegisterObserver( 40 ExtensionSystem::Get(profile_)->event_router()->UnregisterObserver(this); 53 ExtensionSystem::Get(profile_)->event_router()->UnregisterObserver(this);
|
/external/chromium_org/chrome/browser/extensions/api/networking_private/ |
networking_private_event_router_chromeos.cc | 39 EventRouter* event_router = ExtensionSystem::Get(profile_)->event_router(); local 40 if (event_router) { 41 event_router->RegisterObserver( 43 event_router->RegisterObserver( 57 EventRouter* event_router = ExtensionSystem::Get(profile_)->event_router(); local 58 if (event_router) 59 event_router->UnregisterObserver(this); 82 EventRouter* event_router = ExtensionSystem::Get(profile_)->event_router() local 97 EventRouter* event_router = ExtensionSystem::Get(profile_)->event_router(); local 126 EventRouter* event_router = ExtensionSystem::Get(profile_)->event_router(); local [all...] |
networking_private_api_nonchromeos.cc | 14 #include "chrome/browser/extensions/event_router.h" 289 EventRouter* event_router = ExtensionSystem::Get(profile_)->event_router(); local 293 event_router->BroadcastEvent(extension_event.Pass()); 332 EventRouter* event_router = ExtensionSystem::Get(profile_)->event_router(); local 337 event_router->BroadcastEvent(netchanged_event.Pass()); 350 event_router->BroadcastEvent(netlist_event.Pass()); 373 EventRouter* event_router = ExtensionSystem::Get(profile_)->event_router(); local [all...] |
/external/chromium_org/chrome/browser/speech/ |
tts_extension_loader_chromeos.cc | 10 #include "chrome/browser/extensions/event_router.h" 73 extensions::EventRouter* event_router = system->event_router(); local 74 DCHECK(event_router); 75 event_router->RegisterObserver(this, tts_engine_events::kOnSpeak); 76 event_router->RegisterObserver(this, tts_engine_events::kOnStop); 99 extensions::EventRouter* event_router = system->event_router(); local 100 DCHECK(event_router); 101 if (event_router->ExtensionHasEventListener [all...] |
/external/chromium_org/chrome/browser/extensions/api/activity_log_private/ |
activity_log_private_api.cc | 44 if (!ExtensionSystem::Get(profile_)->event_router()) { // Check for testing. 45 DVLOG(1) << "ExtensionSystem event_router does not exist."; 50 ExtensionSystem::Get(profile_)->event_router()->RegisterObserver( 61 DVLOG(1) << "ExtensionSystem event_router does not exist."; 64 ExtensionSystem::Get(profile_)->event_router()->UnregisterObserver(this); 89 ExtensionSystem::Get(profile_)->event_router()->BroadcastEvent(event.Pass());
|
/external/chromium_org/chrome/browser/chromeos/extensions/ |
input_method_event_router.cc | 13 #include "chrome/browser/extensions/event_router.h" 33 extensions::ExtensionSystem::Get(profile)->event_router(); 48 extensions::ExtensionSystem::Get(profile)->event_router()->
|
media_player_event_router.cc | 8 #include "chrome/browser/extensions/event_router.h" 15 if (profile && extensions::ExtensionSystem::Get(profile)->event_router()) { 19 extensions::ExtensionSystem::Get(profile)->event_router()->
|
input_method_api.cc | 67 ExtensionSystem::Get(profile_)->event_router()->RegisterObserver( 88 ExtensionSystem::Get(profile_)->event_router()->UnregisterObserver(this); 96 ExtensionSystem::Get(profile_)->event_router()->UnregisterObserver(this);
|
/external/chromium/chrome/browser/net/ |
chrome_network_delegate.cc | 24 ExtensionEventRouterForwarder* event_router, 32 event_router, profile_id, request->status().os_error()); 40 ExtensionEventRouterForwarder* event_router, 44 : event_router_(event_router), 48 DCHECK(event_router);
|
/external/chromium_org/chrome/browser/chromeos/extensions/file_manager/ |
event_router_browsertest.cc | 5 #include "chrome/browser/chromeos/extensions/file_manager/event_router.h" 42 EventRouter* event_router = local 43 file_browser->event_router(); 59 event_router->OnDiskEvent(event, &disk); 69 event_router->OnDiskEvent(event, &disk);
|
file_browser_private_api.h | 29 EventRouter* event_router() { return event_router_.get(); } function in class:file_manager::FileBrowserPrivateAPI
|
/external/chromium_org/chrome/browser/speech/extension_api/ |
tts_engine_extension_api.cc | 11 #include "chrome/browser/extensions/event_router.h" 42 Profile* profile, EventRouter* event_router, std::string extension_id) { 43 bool has_onpause = event_router->ExtensionHasEventListener( 45 bool has_onresume = event_router->ExtensionHasEventListener( 64 EventRouter* event_router = local 65 ExtensionSystem::Get(profile)->event_router(); 66 DCHECK(event_router); 73 if (!event_router->ExtensionHasEventListener( 75 !event_router->ExtensionHasEventListener( 152 ExtensionSystem::Get(utterance->profile())->event_router()- 171 EventRouter* event_router = ExtensionSystem::Get(profile)->event_router(); local 183 EventRouter* event_router = ExtensionSystem::Get(profile)->event_router(); local [all...] |
/external/chromium_org/chrome/browser/extensions/api/sync_file_system/ |
extension_sync_event_observer.cc | 9 #include "chrome/browser/extensions/event_router.h" 107 EventRouter* event_router = ExtensionSystem::Get(profile_)->event_router(); local 108 DCHECK(event_router); 115 event_router->BroadcastEvent(event.Pass()); 123 event_router->DispatchEventToExtension(extension_id, event.Pass());
|
/external/chromium_org/chrome/browser/extensions/api/proxy/ |
proxy_api.h | 51 void OnProxyError(EventRouterForwarder* event_router, 55 void OnPACScriptError(EventRouterForwarder* event_router,
|
proxy_api.cc | 37 EventRouterForwarder* event_router, 48 event_router->DispatchEventToRenderers( 51 event_router->BroadcastEventToRenderers( 57 EventRouterForwarder* event_router, 77 event_router->DispatchEventToRenderers( 80 event_router->BroadcastEventToRenderers(
|
/external/chromium_org/chrome/browser/extensions/api/app_runtime/ |
app_runtime_api.cc | 14 #include "chrome/browser/extensions/event_router.h" 35 system->event_router()->DispatchEventWithLazyListener(extension_id, 54 extensions::ExtensionSystem::Get(profile)->event_router()->
|
/external/chromium_org/chrome/browser/extensions/api/audio/ |
audio_api.cc | 10 #include "chrome/browser/extensions/event_router.h" 40 if (profile_ && ExtensionSystem::Get(profile_)->event_router()) { 44 ExtensionSystem::Get(profile_)->event_router()->BroadcastEvent(
|
/external/chromium_org/chrome/browser/extensions/api/system_info/ |
system_info_api.h | 9 #include "chrome/browser/extensions/event_router.h"
|
/external/chromium_org/chrome/browser/extensions/api/media_galleries_private/ |
gallery_watch_manager.cc | 38 base::WeakPtr<MediaGalleriesPrivateEventRouter> event_router, 42 if (event_router.get()) 43 event_router->OnGalleryChanged(gallery_id, extension_ids); 62 base::WeakPtr<MediaGalleriesPrivateEventRouter> event_router, 128 base::WeakPtr<MediaGalleriesPrivateEventRouter> event_router, 133 : event_router_(event_router), 282 base::WeakPtr<MediaGalleriesPrivateEventRouter> event_router) { 285 gallery_id, watch_path, extension_id, event_router); 321 base::WeakPtr<MediaGalleriesPrivateEventRouter> event_router) { 333 event_router, gallery_id, watch_path, extension_id [all...] |
media_galleries_private_event_router.cc | 14 #include "chrome/browser/extensions/event_router.h" 57 extensions::ExtensionSystem::Get(profile_)->event_router(); 85 extensions::ExtensionSystem::Get(profile_)->event_router(); 112 extensions::ExtensionSystem::Get(profile_)->event_router(); 129 extensions::ExtensionSystem::Get(profile_)->event_router();
|
/external/chromium_org/chrome/browser/extensions/api/bluetooth/ |
bluetooth_apitest.cc | 58 event_router()->SetAdapterForTest(mock_adapter_); 82 extensions::ExtensionBluetoothEventRouter* event_router() { function in class:__anon7173::BluetoothApiTest 376 event_router()->DeviceAdded(mock_adapter_, device1_.get()); 384 event_router()->DeviceAdded(mock_adapter_, device2_.get()); 403 event_router()->AdapterDiscoveringChanged(mock_adapter_, true); 406 event_router()->DeviceAdded(mock_adapter_, device1_.get()); 422 event_router()->DeviceAdded(mock_adapter_, device2_.get()); 431 event_router()->DeviceAdded(mock_adapter_, device2_.get()); 458 event_router()->AdapterPoweredChanged(mock_adapter_, false); 470 event_router()->AdapterPresentChanged(mock_adapter_, true) [all...] |