/external/chromium_org/extensions/browser/ |
D | event_router.cc | 81 const char EventRouter::kRegisteredEvents[] = "events"; 83 struct EventRouter::ListenerProcess { 101 void EventRouter::DispatchExtensionMessage(IPC::Sender* ipc_sender, in DispatchExtensionMessage() 133 EventRouter* EventRouter::Get(content::BrowserContext* browser_context) { in Get() 138 std::string EventRouter::GetBaseEventName(const std::string& full_event_name) { in GetBaseEventName() 144 void EventRouter::DispatchEvent(IPC::Sender* ipc_sender, in DispatchEvent() 162 base::Bind(&EventRouter::IncrementInFlightEventsOnUI, in DispatchEvent() 167 EventRouter::EventRouter(BrowserContext* browser_context, in EventRouter() function in extensions::EventRouter 185 EventRouter::~EventRouter() {} in ~EventRouter() 187 void EventRouter::AddEventListener(const std::string& event_name, in AddEventListener() [all …]
|
D | extension_message_filter.cc | 102 EventRouter* router = EventRouter::Get(browser_context_); in OnExtensionAddListener() 114 EventRouter* router = EventRouter::Get(browser_context_); in OnExtensionRemoveListener() 122 EventRouter* router = EventRouter::Get(browser_context_); in OnExtensionAddLazyListener() 130 EventRouter* router = EventRouter::Get(browser_context_); in OnExtensionRemoveLazyListener() 144 EventRouter* router = EventRouter::Get(browser_context_); in OnExtensionAddFilteredListener() 159 EventRouter* router = EventRouter::Get(browser_context_); in OnExtensionRemoveFilteredListener()
|
D | event_router_unittest.cc | 20 class MockEventRouterObserver : public EventRouter::Observer { 62 EXPECT_EQ("foo.onBar", EventRouter::GetBaseEventName("foo.onBar")); in TEST_F() 65 EXPECT_EQ("foo.onBar", EventRouter::GetBaseEventName("foo.onBar/123")); in TEST_F() 70 EventRouter router(NULL, NULL); in TEST_F()
|
D | event_router.h | 44 class EventRouter : public content::NotificationObserver, 74 static EventRouter* Get(content::BrowserContext* browser_context); 92 EventRouter(content::BrowserContext* browser_context, 94 virtual ~EventRouter(); 291 DISALLOW_COPY_AND_ASSIGN(EventRouter); 315 EventRouter::UserGestureState user_gesture; 344 EventRouter::UserGestureState user_gesture,
|
/external/chromium_org/chrome/browser/chromeos/extensions/file_manager/ |
D | event_router.cc | 175 extensions::EventRouter::Get(profile)->BroadcastEvent( in BroadcastEvent() 336 EventRouter::DriveJobInfoWithStatus::DriveJobInfoWithStatus() in DriveJobInfoWithStatus() 340 EventRouter::DriveJobInfoWithStatus::DriveJobInfoWithStatus( in DriveJobInfoWithStatus() 345 EventRouter::EventRouter(Profile* profile) in EventRouter() function in file_manager::EventRouter 353 EventRouter::~EventRouter() { in ~EventRouter() 356 void EventRouter::Shutdown() { in Shutdown() 399 void EventRouter::ObserveEvents() { in ObserveEvents() 432 base::Bind(&EventRouter::OnFileManagerPrefsChanged, in ObserveEvents() 445 void EventRouter::AddFileWatch(const base::FilePath& local_path, in AddFileWatch() 473 base::Bind(&EventRouter::HandleFileWatchNotification, in AddFileWatch() [all …]
|
D | file_browser_private_api.h | 15 class EventRouter; variable 29 EventRouter* event_router() { return event_router_.get(); } in event_router() 32 scoped_ptr<EventRouter> event_router_;
|
D | event_router.h | 49 class EventRouter 58 explicit EventRouter(Profile* profile); 59 virtual ~EventRouter(); 202 base::WeakPtrFactory<EventRouter> weak_factory_; 203 DISALLOW_COPY_AND_ASSIGN(EventRouter);
|
/external/chromium_org/chrome/browser/extensions/api/networking_private/ |
D | networking_private_event_router_nonchromeos.cc | 58 EventRouter* event_router = EventRouter::Get(profile_); in NetworkingPrivateEventRouterImpl() 76 EventRouter* event_router = EventRouter::Get(profile_); in Shutdown() 102 EventRouter* event_router = EventRouter::Get(profile_); in StartOrStopListeningForNetworkChanges() 128 EventRouter* event_router = EventRouter::Get(profile_); in OnNetworksChangedEvent() 140 EventRouter* event_router = EventRouter::Get(profile_); in OnNetworkListChangedEvent()
|
D | networking_private_event_router_chromeos.cc | 77 EventRouter* event_router = EventRouter::Get(profile_); in NetworkingPrivateEventRouterImpl() 97 EventRouter* event_router = EventRouter::Get(profile_); in Shutdown() 122 EventRouter* event_router = EventRouter::Get(profile_); in StartOrStopListeningForNetworkChanges() 144 EventRouter* event_router = EventRouter::Get(profile_); in NetworkListChanged() 175 EventRouter* event_router = EventRouter::Get(profile_); in NetworkPropertiesUpdated() 197 EventRouter* event_router = EventRouter::Get(profile_); in OnPortalDetectionCompleted()
|
/external/chromium_org/chrome/browser/extensions/api/braille_display_private/ |
D | braille_display_private_api.cc | 30 DefaultEventDelegate(EventRouter::Observer* observer, Profile* profile); 37 EventRouter::Observer* observer_; 121 EventRouter::Observer* observer, Profile* profile) in DefaultEventDelegate() 123 EventRouter* event_router = EventRouter::Get(profile_); in DefaultEventDelegate() 129 EventRouter::Get(profile_)->UnregisterObserver(observer_); in ~DefaultEventDelegate() 134 EventRouter::Get(profile_)->BroadcastEvent(event.Pass()); in BroadcastEvent() 138 EventRouter* event_router = EventRouter::Get(profile_); in HasListener()
|
/external/chromium_org/chrome/browser/extensions/api/tabs/ |
D | tabs_event_router.cc | 197 event->user_gesture = EventRouter::USER_GESTURE_NOT_ENABLED; in TabCreatedAt() 200 EventRouter::Get(profile)->BroadcastEvent(event.Pass()); in TabCreatedAt() 230 EventRouter::USER_GESTURE_UNKNOWN); in TabInsertedAt() 255 EventRouter::USER_GESTURE_UNKNOWN); in TabDetachedAt() 277 EventRouter::USER_GESTURE_UNKNOWN); in TabClosingAt() 303 EventRouter::UserGestureState gesture = in ActiveTabChanged() 305 ? EventRouter::USER_GESTURE_ENABLED in ActiveTabChanged() 306 : EventRouter::USER_GESTURE_NOT_ENABLED; in ActiveTabChanged() 355 EventRouter::USER_GESTURE_UNKNOWN); in TabSelectionChanged() 359 EventRouter::USER_GESTURE_UNKNOWN); in TabSelectionChanged() [all …]
|
D | tabs_windows_api.cc | 20 EventRouter* event_router = EventRouter::Get(browser_context_); in TabsWindowsAPI() 68 EventRouter::Get(browser_context_)->UnregisterObserver(this); in Shutdown() 83 EventRouter::Get(browser_context_)->UnregisterObserver(this); in OnListenerAdded()
|
/external/chromium_org/chrome/browser/speech/extension_api/ |
D | tts_engine_extension_api.cc | 29 using extensions::EventRouter; 44 Profile* profile, EventRouter* event_router, std::string extension_id) { in WarnIfMissingPauseOrResumeListener() 66 EventRouter* event_router = EventRouter::Get(profile); in GetExtensionVoices() 169 EventRouter::Get(utterance->profile()) in ExtensionTtsEngineSpeak() 178 EventRouter::Get(utterance->profile()) in ExtensionTtsEngineStop() 188 EventRouter* event_router = EventRouter::Get(profile); in ExtensionTtsEnginePause() 200 EventRouter* event_router = EventRouter::Get(profile); in ExtensionTtsEngineResume()
|
/external/chromium_org/chrome/browser/extensions/api/idle/ |
D | idle_manager.cc | 35 virtual void RegisterObserver(EventRouter::Observer* observer) OVERRIDE; 36 virtual void UnregisterObserver(EventRouter::Observer* observer) OVERRIDE; 56 EventRouter::Get(profile_) in OnStateChanged() 61 EventRouter::Observer* observer) { in RegisterObserver() 62 EventRouter::Get(profile_) in RegisterObserver() 66 void DefaultEventDelegate::UnregisterObserver(EventRouter::Observer* observer) { in UnregisterObserver() 67 EventRouter::Get(profile_)->UnregisterObserver(observer); in UnregisterObserver()
|
/external/chromium_org/chrome/browser/extensions/api/preference/ |
D | chrome_direct_setting_api.cc | 38 EventRouter::Observer* observer) { in RegisterEventListeners() 45 EventRouter::Get(profile)->RegisterObserver(observer, event_name); in RegisterEventListeners() 95 EventRouter::Get(profile_)->UnregisterObserver(this); in OnListenerAdded() 124 EventRouter* router = EventRouter::Get(profile_); in OnPrefChanged()
|
/external/chromium_org/chrome/browser/chromeos/file_system_provider/ |
D | provided_file_system.h | 23 class EventRouter; variable 33 ProvidedFileSystem(extensions::EventRouter* event_router, 63 extensions::EventRouter* event_router_;
|
/external/chromium_org/chrome/browser/speech/ |
D | tts_extension_loader_chromeos.cc | 75 extensions::EventRouter* event_router = system->event_router(); in TtsExtensionLoaderChromeOs() 95 extensions::EventRouter::Get(profile_)->UnregisterObserver(this); in Shutdown() 102 extensions::EventRouter* event_router = system->event_router(); in IsTtsLoadedInThisProfile()
|
/external/chromium_org/apps/shell/browser/api/shell/ |
D | shell_api.h | 14 class EventRouter; variable 24 static void DispatchOnLaunchedEvent(extensions::EventRouter* event_router,
|
/external/chromium_org/apps/shell/browser/ |
D | shell_extension_system.h | 26 class EventRouter; variable 62 virtual EventRouter* event_router() OVERRIDE; 91 scoped_ptr<EventRouter> event_router_;
|
/external/chromium_org/chrome/browser/chromeos/extensions/ |
D | media_player_event_router.cc | 16 if (context && EventRouter::Get(context)) { in BroadcastEvent() 20 EventRouter::Get(context)->BroadcastEvent(event.Pass()); in BroadcastEvent()
|
/external/chromium_org/chrome/browser/extensions/api/image_writer_private/ |
D | operation_manager_unittest.cc | 27 class FakeEventRouter : public extensions::EventRouter { 29 explicit FakeEventRouter(Profile* profile) : EventRouter(profile, NULL) {} in FakeEventRouter() 46 virtual EventRouter* event_router() OVERRIDE { in event_router()
|
/external/chromium_org/chrome/browser/chromeos/file_system_provider/operations/ |
D | close_file.h | 21 class EventRouter; variable 33 CloseFile(extensions::EventRouter* event_router,
|
D | unmount.h | 18 class EventRouter; variable 32 Unmount(extensions::EventRouter* event_router,
|
D | get_metadata.h | 20 class EventRouter; variable 31 GetMetadata(extensions::EventRouter* event_router,
|
D | read_directory.h | 20 class EventRouter; variable 31 ReadDirectory(extensions::EventRouter* event_router,
|