Home
last modified time | relevance | path

Searched refs:NotificationType (Results 1 – 25 of 678) sorted by relevance

12345678910>>...28

/external/chromium/chrome/browser/automation/
Dautomation_provider_observers.cc94 registrar_.Add(this, NotificationType::LOAD_START, in InitialLoadObserver()
96 registrar_.Add(this, NotificationType::LOAD_STOP, in InitialLoadObserver()
104 void InitialLoadObserver::Observe(NotificationType type, in Observe()
107 if (type == NotificationType::LOAD_START) { in Observe()
112 } else if (type == NotificationType::LOAD_STOP) { in Observe()
157 registrar_.Add(this, NotificationType::INITIAL_NEW_TAB_UI_LOAD, in NewTabUILoadObserver()
164 void NewTabUILoadObserver::Observe(NotificationType type, in Observe()
167 if (type == NotificationType::INITIAL_NEW_TAB_UI_LOAD) { in Observe()
188 registrar_.Add(this, NotificationType::LOAD_STOP, in NavigationControllerRestoredObserver()
197 NotificationType type, const NotificationSource& source, in Observe()
[all …]
Dautomation_tab_tracker.cc21 registrar_.Add(this, NotificationType::TAB_CLOSING, in AddObserver()
23 registrar_.Add(this, NotificationType::EXTERNAL_TAB_CLOSED, in AddObserver()
27 registrar_.Add(this, NotificationType::LOAD_STOP, in AddObserver()
32 registrar_.Remove(this, NotificationType::TAB_CLOSING, in RemoveObserver()
34 registrar_.Remove(this, NotificationType::EXTERNAL_TAB_CLOSED, in RemoveObserver()
36 registrar_.Remove(this, NotificationType::LOAD_STOP, in RemoveObserver()
40 void AutomationTabTracker::Observe(NotificationType type, in Observe()
44 case NotificationType::LOAD_STOP: in Observe()
48 case NotificationType::EXTERNAL_TAB_CLOSED: in Observe()
49 case NotificationType::TAB_CLOSING: in Observe()
Dautomation_provider_observers.h67 virtual void Observe(NotificationType type,
122 virtual void Observe(NotificationType type,
140 virtual void Observe(NotificationType type,
166 virtual void Observe(NotificationType type,
186 TabStripNotificationObserver(NotificationType notification,
190 virtual void Observe(NotificationType type,
199 NotificationType notification_;
279 virtual void Observe(NotificationType type,
304 virtual void Observe(NotificationType type,
328 virtual void Observe(NotificationType type,
[all …]
/external/chromium/chrome/browser/ui/views/
Daccessibility_event_router_views.h79 views::View* view, NotificationType type);
87 views::View* view, NotificationType type, Profile* profile);
89 views::View* view, NotificationType type, Profile* profile);
91 views::View* view, NotificationType type, Profile* profile);
93 views::View* view, NotificationType type, Profile* profile);
95 views::View* view, NotificationType type, Profile* profile);
97 views::View* view, NotificationType type, Profile* profile);
99 views::View* view, NotificationType type, Profile* profile);
101 views::View* view, NotificationType type, Profile* profile);
104 bool IsMenuEvent(views::View* view, NotificationType type);
Daccessibility_event_router_views.cc58 view, NotificationType::ACCESSIBILITY_CONTROL_FOCUSED); in HandleAccessibilityEvent()
63 view, NotificationType::ACCESSIBILITY_MENU_OPENED); in HandleAccessibilityEvent()
68 view, NotificationType::ACCESSIBILITY_MENU_CLOSED); in HandleAccessibilityEvent()
73 view, NotificationType::ACCESSIBILITY_TEXT_CHANGED); in HandleAccessibilityEvent()
77 view, NotificationType::ACCESSIBILITY_CONTROL_ACTION); in HandleAccessibilityEvent()
110 NotificationType::ACCESSIBILITY_CONTROL_FOCUSED, &info); in HandleMenuItemFocused()
124 views::View* view, NotificationType type) { in DispatchAccessibilityNotification()
150 type == NotificationType::ACCESSIBILITY_MENU_OPENED || in DispatchAccessibilityNotification()
151 type == NotificationType::ACCESSIBILITY_MENU_CLOSED) { in DispatchAccessibilityNotification()
171 views::View* view, NotificationType type, Profile* profile) { in SendButtonNotification()
[all …]
/external/chromium/chrome/browser/extensions/
Dextension_accessibility_api.cc55 NotificationType::ACCESSIBILITY_WINDOW_OPENED, in ObserveProfile()
58 NotificationType::ACCESSIBILITY_WINDOW_CLOSED, in ObserveProfile()
61 NotificationType::ACCESSIBILITY_CONTROL_FOCUSED, in ObserveProfile()
64 NotificationType::ACCESSIBILITY_CONTROL_ACTION, in ObserveProfile()
67 NotificationType::ACCESSIBILITY_TEXT_CHANGED, in ObserveProfile()
70 NotificationType::ACCESSIBILITY_MENU_OPENED, in ObserveProfile()
73 NotificationType::ACCESSIBILITY_MENU_CLOSED, in ObserveProfile()
79 NotificationType type, in Observe()
83 case NotificationType::ACCESSIBILITY_WINDOW_OPENED: in Observe()
86 case NotificationType::ACCESSIBILITY_WINDOW_CLOSED: in Observe()
[all …]
Dextension_browsertest.cc67 registrar.Add(this, NotificationType::EXTENSION_LOADED, in LoadExtensionImpl()
214 registrar.Add(this, NotificationType::EXTENSION_LOADED, in InstallOrUpdateExtension()
216 registrar.Add(this, NotificationType::EXTENSION_UPDATE_DISABLED, in InstallOrUpdateExtension()
218 registrar.Add(this, NotificationType::EXTENSION_INSTALL_ERROR, in InstallOrUpdateExtension()
272 NotificationType::EXTENSION_LOADED, in ReloadExtension()
302 NotificationType::EXTENSION_PAGE_ACTION_COUNT_CHANGED, in WaitForPageActionCountChangeTo()
314 NotificationType::EXTENSION_PAGE_ACTION_VISIBILITY_CHANGED, in WaitForPageActionVisibilityChangeTo()
323 registrar.Add(this, NotificationType::EXTENSION_HOST_DID_STOP_LOADING, in WaitForExtensionHostsToLoad()
346 ui_test_utils::RegisterAndWait(this, NotificationType::EXTENSION_INSTALLED, in WaitForExtensionInstall()
354 NotificationType::EXTENSION_INSTALL_ERROR, in WaitForExtensionInstallError()
[all …]
Dextension_process_manager.cc46 virtual void Observe(NotificationType type,
93 registrar_.Add(this, NotificationType::EXTENSIONS_READY, in ExtensionProcessManager()
95 registrar_.Add(this, NotificationType::EXTENSION_LOADED, in ExtensionProcessManager()
97 registrar_.Add(this, NotificationType::EXTENSION_UNLOADED, in ExtensionProcessManager()
99 registrar_.Add(this, NotificationType::EXTENSION_HOST_DESTROYED, in ExtensionProcessManager()
101 registrar_.Add(this, NotificationType::RENDERER_PROCESS_TERMINATED, in ExtensionProcessManager()
103 registrar_.Add(this, NotificationType::RENDERER_PROCESS_CLOSED, in ExtensionProcessManager()
105 registrar_.Add(this, NotificationType::APP_TERMINATING, in ExtensionProcessManager()
283 void ExtensionProcessManager::Observe(NotificationType type, in Observe()
287 case NotificationType::EXTENSIONS_READY: { in Observe()
[all …]
Dextension_tab_id_map.cc32 virtual void Observe(NotificationType type,
41 registrar_.Add(this, NotificationType::RENDER_VIEW_HOST_CREATED_FOR_TAB, in TabObserver()
43 registrar_.Add(this, NotificationType::RENDER_VIEW_HOST_DELETED, in TabObserver()
45 registrar_.Add(this, NotificationType::TAB_PARENTED, in TabObserver()
54 NotificationType type, const NotificationSource& source, in Observe()
57 case NotificationType::RENDER_VIEW_HOST_CREATED_FOR_TAB: { in Observe()
72 case NotificationType::TAB_PARENTED: { in Observe()
86 case NotificationType::RENDER_VIEW_HOST_DELETED: { in Observe()
/external/chromium/chrome/browser/sync/glue/
Dsession_change_processor.cc55 void SessionChangeProcessor::Observe(NotificationType type, in Observe()
66 case NotificationType::BROWSER_OPENED: { in Observe()
76 case NotificationType::TAB_PARENTED: { in Observe()
87 case NotificationType::TAB_CLOSED: { in Observe()
98 case NotificationType::NAV_LIST_PRUNED: { in Observe()
108 case NotificationType::NAV_ENTRY_CHANGED: { in Observe()
118 case NotificationType::NAV_ENTRY_COMMITTED: { in Observe()
128 case NotificationType::TAB_CONTENTS_APPLICATION_EXTENSION_CHANGED: { in Observe()
219 NotificationType::FOREIGN_SESSION_UPDATED, in ApplyChangesFromSyncModel()
243 notification_registrar_.Add(this, NotificationType::TAB_PARENTED, in StartObserving()
[all …]
Dextension_change_processor.cc46 void ExtensionChangeProcessor::Observe(NotificationType type, in Observe()
52 if ((type != NotificationType::EXTENSION_INSTALLED) && in Observe()
53 (type != NotificationType::EXTENSION_UNINSTALLED) && in Observe()
54 (type != NotificationType::EXTENSION_LOADED) && in Observe()
55 (type != NotificationType::EXTENSION_UPDATE_DISABLED) && in Observe()
56 (type != NotificationType::EXTENSION_UNLOADED)) { in Observe()
63 if (type == NotificationType::EXTENSION_UNINSTALLED) { in Observe()
76 if (type == NotificationType::EXTENSION_UNLOADED) { in Observe()
174 this, NotificationType::EXTENSION_INSTALLED, in StartObserving()
177 this, NotificationType::EXTENSION_UNINSTALLED, in StartObserving()
[all …]
/external/chromium/chrome/browser/task_manager/
Dtask_manager_resource_providers.cc273 registrar_.Add(this, NotificationType::TAB_CONTENTS_CONNECTED, in StartUpdating()
275 registrar_.Add(this, NotificationType::TAB_CONTENTS_SWAPPED, in StartUpdating()
277 registrar_.Add(this, NotificationType::TAB_CONTENTS_DISCONNECTED, in StartUpdating()
283 registrar_.Add(this, NotificationType::TAB_CONTENTS_DESTROYED, in StartUpdating()
292 registrar_.Remove(this, NotificationType::TAB_CONTENTS_CONNECTED, in StopUpdating()
294 registrar_.Remove(this, NotificationType::TAB_CONTENTS_SWAPPED, in StopUpdating()
296 registrar_.Remove(this, NotificationType::TAB_CONTENTS_DISCONNECTED, in StopUpdating()
298 registrar_.Remove(this, NotificationType::TAB_CONTENTS_DESTROYED, in StopUpdating()
361 void TaskManagerTabContentsResourceProvider::Observe(NotificationType type, in Observe()
371 case NotificationType::TAB_CONTENTS_CONNECTED: in Observe()
[all …]
/external/chromium/chrome/browser/
Drepost_form_warning_controller.cc15 registrar_.Add(this, NotificationType::LOAD_START, in RepostFormWarningController()
17 registrar_.Add(this, NotificationType::TAB_CLOSING, in RepostFormWarningController()
19 registrar_.Add(this, NotificationType::REPOST_WARNING_SHOWN, in RepostFormWarningController()
50 void RepostFormWarningController::Observe(NotificationType type, in Observe()
57 (type == NotificationType::LOAD_START || in Observe()
58 type == NotificationType::TAB_CLOSING || in Observe()
59 type == NotificationType::REPOST_WARNING_SHOWN)) { in Observe()
Dmach_broker_mac.cc36 NotificationType::RENDERER_PROCESS_CLOSED, in Run()
39 NotificationType::RENDERER_PROCESS_TERMINATED, in Run()
42 NotificationType::CHILD_PROCESS_CRASHED, in Run()
45 NotificationType::CHILD_PROCESS_HOST_DISCONNECTED, in Run()
48 NotificationType::EXTENSION_PROCESS_TERMINATED, in Run()
201 void MachBroker::Observe(NotificationType type, in Observe()
209 case NotificationType::RENDERER_PROCESS_CLOSED: in Observe()
210 case NotificationType::RENDERER_PROCESS_TERMINATED: in Observe()
213 case NotificationType::EXTENSION_PROCESS_TERMINATED: in Observe()
217 case NotificationType::CHILD_PROCESS_CRASHED: in Observe()
[all …]
Dbackground_contents_service.cc155 registrar_.Add(this, NotificationType::EXTENSIONS_READY, in StartObserving()
162 registrar_.Add(this, NotificationType::BACKGROUND_CONTENTS_CLOSED, in StartObserving()
167 registrar_.Add(this, NotificationType::BACKGROUND_CONTENTS_DELETED, in StartObserving()
172 registrar_.Add(this, NotificationType::BACKGROUND_CONTENTS_NAVIGATED, in StartObserving()
177 registrar_.Add(this, NotificationType::EXTENSION_LOADED, in StartObserving()
182 registrar_.Add(this, NotificationType::EXTENSION_PROCESS_TERMINATED, in StartObserving()
184 registrar_.Add(this, NotificationType::BACKGROUND_CONTENTS_TERMINATED, in StartObserving()
189 registrar_.Add(this, NotificationType::EXTENSION_UNLOADED, in StartObserving()
196 registrar_.Add(this, NotificationType::EXTENSION_UNINSTALLED, in StartObserving()
200 void BackgroundContentsService::Observe(NotificationType type, in Observe()
[all …]
Dalternate_nav_url_fetcher.cc29 registrar_.Add(this, NotificationType::NAV_ENTRY_PENDING, in AlternateNavURLFetcher()
35 void AlternateNavURLFetcher::Observe(NotificationType type, in Observe()
39 case NotificationType::NAV_ENTRY_PENDING: in Observe()
54 registrar_.Add(this, NotificationType::NAV_ENTRY_COMMITTED, in Observe()
56 registrar_.Add(this, NotificationType::TAB_CLOSED, in Observe()
69 case NotificationType::NAV_ENTRY_COMMITTED: in Observe()
71 registrar_.Remove(this, NotificationType::NAV_ENTRY_COMMITTED, in Observe()
77 case NotificationType::TAB_CLOSED: in Observe()
Dbackground_page_tracker.cc124 registrar_.Add(this, NotificationType::EXTENSIONS_READY, in BackgroundPageTracker()
148 void BackgroundPageTracker::Observe(NotificationType type, in Observe()
152 case NotificationType::EXTENSIONS_READY: in Observe()
156 case NotificationType::BACKGROUND_CONTENTS_OPENED: { in Observe()
162 case NotificationType::EXTENSION_LOADED: { in Observe()
169 case NotificationType::EXTENSION_UNLOADED: { in Observe()
254 registrar_.Add(this, NotificationType::EXTENSION_LOADED, in UpdateExtensionList()
256 registrar_.Add(this, NotificationType::EXTENSION_UNLOADED, in UpdateExtensionList()
258 registrar_.Add(this, NotificationType::BACKGROUND_CONTENTS_OPENED, in UpdateExtensionList()
298 NotificationType::BACKGROUND_PAGE_TRACKER_CHANGED, in SendChangeNotification()
/external/chromium/chrome/browser/history/
Din_memory_history_backend.cc72 registrar_.Add(this, NotificationType::HISTORY_URL_VISITED, source); in AttachToHistoryService()
73 registrar_.Add(this, NotificationType::HISTORY_TYPED_URLS_MODIFIED, source); in AttachToHistoryService()
74 registrar_.Add(this, NotificationType::HISTORY_URLS_DELETED, source); in AttachToHistoryService()
75 registrar_.Add(this, NotificationType::HISTORY_KEYWORD_SEARCH_TERM_UPDATED, in AttachToHistoryService()
77 registrar_.Add(this, NotificationType::TEMPLATE_URL_REMOVED, source); in AttachToHistoryService()
80 void InMemoryHistoryBackend::Observe(NotificationType type, in Observe()
84 case NotificationType::HISTORY_URL_VISITED: { in Observe()
97 case NotificationType::HISTORY_KEYWORD_SEARCH_TERM_UPDATED: in Observe()
101 case NotificationType::HISTORY_TYPED_URLS_MODIFIED: in Observe()
105 case NotificationType::HISTORY_URLS_DELETED: in Observe()
[all …]
/external/chromium/chrome/browser/ssl/
Dssl_manager.cc53 NotificationType::SSL_INTERNAL_STATE_CHANGED, in NotifySSLInternalStateChanged()
118 registrar_.Add(this, NotificationType::FAIL_PROVISIONAL_LOAD_WITH_ERROR, in SSLManager()
120 registrar_.Add(this, NotificationType::RESOURCE_RESPONSE_STARTED, in SSLManager()
122 registrar_.Add(this, NotificationType::RESOURCE_RECEIVED_REDIRECT, in SSLManager()
124 registrar_.Add(this, NotificationType::LOAD_FROM_MEMORY_CACHE, in SSLManager()
126 registrar_.Add(this, NotificationType::SSL_INTERNAL_STATE_CHANGED, in SSLManager()
179 void SSLManager::Observe(NotificationType type, in Observe()
184 case NotificationType::FAIL_PROVISIONAL_LOAD_WITH_ERROR: in Observe()
187 case NotificationType::RESOURCE_RESPONSE_STARTED: in Observe()
190 case NotificationType::RESOURCE_RECEIVED_REDIRECT: in Observe()
[all …]
/external/chromium/chrome/browser/tabs/
Dpinned_tab_service.cc29 registrar_.Add(this, NotificationType::BROWSER_OPENED, in PinnedTabService()
31 registrar_.Add(this, NotificationType::BROWSER_CLOSING, in PinnedTabService()
33 registrar_.Add(this, NotificationType::APP_EXITING, in PinnedTabService()
37 void PinnedTabService::Observe(NotificationType type, in Observe()
44 case NotificationType::BROWSER_OPENED: { in Observe()
53 case NotificationType::BROWSER_CLOSING: { in Observe()
66 case NotificationType::APP_EXITING: { in Observe()
/external/chromium/chrome/browser/metrics/
Dmetrics_service.cc547 registrar->Add(observer, NotificationType::BROWSER_OPENED, in SetUpNotifications()
549 registrar->Add(observer, NotificationType::BROWSER_CLOSED, in SetUpNotifications()
551 registrar->Add(observer, NotificationType::USER_ACTION, in SetUpNotifications()
553 registrar->Add(observer, NotificationType::TAB_PARENTED, in SetUpNotifications()
555 registrar->Add(observer, NotificationType::TAB_CLOSING, in SetUpNotifications()
557 registrar->Add(observer, NotificationType::LOAD_START, in SetUpNotifications()
559 registrar->Add(observer, NotificationType::LOAD_STOP, in SetUpNotifications()
561 registrar->Add(observer, NotificationType::RENDERER_PROCESS_CLOSED, in SetUpNotifications()
563 registrar->Add(observer, NotificationType::RENDERER_PROCESS_HANG, in SetUpNotifications()
565 registrar->Add(observer, NotificationType::CHILD_PROCESS_HOST_CONNECTED, in SetUpNotifications()
[all …]
/external/chromium/chrome/browser/webdata/
Dweb_data_service_unittest.cc59 NotificationType::AUTOFILL_ENTRIES_CHANGED, in RegisterObservers()
62 NotificationType::AUTOFILL_PROFILE_CHANGED, in RegisterObservers()
65 NotificationType::AUTOFILL_CREDIT_CARD_CHANGED, in RegisterObservers()
164 Observe(NotificationType(NotificationType::AUTOFILL_ENTRIES_CHANGED), in TEST_F()
210 Observe(NotificationType(NotificationType::AUTOFILL_ENTRIES_CHANGED), in TEST_F()
243 Observe(NotificationType(NotificationType::AUTOFILL_ENTRIES_CHANGED), in TEST_F()
262 Observe(NotificationType(NotificationType::AUTOFILL_PROFILE_CHANGED), in TEST_F()
305 Observe(NotificationType(NotificationType::AUTOFILL_PROFILE_CHANGED), in TEST_F()
353 Observe(NotificationType(NotificationType::AUTOFILL_PROFILE_CHANGED), in TEST_F()
383 NotificationType(NotificationType::AUTOFILL_CREDIT_CARD_CHANGED), in TEST_F()
[all …]
/external/chromium/chrome/browser/ui/views/tab_contents/
Dtab_contents_container.cc29 void TabContentsContainer::Observe(NotificationType type, in Observe()
32 if (type == NotificationType::RENDER_VIEW_HOST_CHANGED) { in Observe()
37 } else if (type == NotificationType::TAB_CONTENTS_DESTROYED) { in Observe()
59 NotificationType::RENDER_VIEW_HOST_CHANGED, in AddObservers()
63 NotificationType::TAB_CONTENTS_DESTROYED, in AddObservers()
/external/chromium/chrome/browser/tab_contents/
Dbackground_contents.cc36 registrar_.Add(this, NotificationType::APP_TERMINATING, in BackgroundContents()
42 registrar_.Add(this, NotificationType::PROFILE_DESTROYED, in BackgroundContents()
57 NotificationType::BACKGROUND_CONTENTS_DELETED, in ~BackgroundContents()
101 NotificationType::BACKGROUND_CONTENTS_NAVIGATED, in DidNavigate()
124 void BackgroundContents::Observe(NotificationType type, in Observe()
130 case NotificationType::PROFILE_DESTROYED: in Observe()
131 case NotificationType::APP_TERMINATING: { in Observe()
174 NotificationType::BACKGROUND_CONTENTS_CLOSED, in Close()
185 NotificationType::BACKGROUND_CONTENTS_TERMINATED, in RenderViewGone()
/external/chromium/chrome/browser/google/
Dgoogle_url_tracker.cc262 NotificationService::current()->Notify(NotificationType::GOOGLE_URL_UPDATED, in AcceptGoogleURL()
293 void GoogleURLTracker::Observe(NotificationType type, in Observe()
297 case NotificationType::NAV_ENTRY_PENDING: { in Observe()
304 case NotificationType::NAV_ENTRY_COMMITTED: in Observe()
305 case NotificationType::TAB_CLOSED: in Observe()
325 registrar_.Add(this, NotificationType::NAV_ENTRY_PENDING, in SearchCommitted()
334 registrar_.Remove(this, NotificationType::NAV_ENTRY_PENDING, in OnNavigationPending()
338 registrar_.Add(this, NotificationType::NAV_ENTRY_COMMITTED, in OnNavigationPending()
340 registrar_.Add(this, NotificationType::TAB_CLOSED, in OnNavigationPending()
346 NotificationType::Type type) { in OnNavigationCommittedOrTabClosed()
[all …]

12345678910>>...28