Home
last modified time | relevance | path

Searched refs:registrar_ (Results 1 – 25 of 455) sorted by relevance

12345678910>>...19

/external/chromium/chrome/browser/automation/
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()
Dautomation_provider_observers.cc94 registrar_.Add(this, NotificationType::LOAD_START, in InitialLoadObserver()
96 registrar_.Add(this, NotificationType::LOAD_STOP, in InitialLoadObserver()
150 registrar_.RemoveAll(); in ConditionMet()
157 registrar_.Add(this, NotificationType::INITIAL_NEW_TAB_UI_LOAD, in NewTabUILoadObserver()
188 registrar_.Add(this, NotificationType::LOAD_STOP, in NavigationControllerRestoredObserver()
201 registrar_.RemoveAll(); in Observe()
234 registrar_.Add(this, NotificationType::NAV_ENTRY_COMMITTED, source); in NavigationNotificationObserver()
235 registrar_.Add(this, NotificationType::LOAD_START, source); in NavigationNotificationObserver()
236 registrar_.Add(this, NotificationType::LOAD_STOP, source); in NavigationNotificationObserver()
237 registrar_.Add(this, NotificationType::AUTH_NEEDED, source); in NavigationNotificationObserver()
[all …]
Dautomation_provider_observers.h87 NotificationRegistrar registrar_; variable
127 NotificationRegistrar registrar_;
148 NotificationRegistrar registrar_; variable
173 NotificationRegistrar registrar_; variable
197 NotificationRegistrar registrar_;
287 NotificationRegistrar registrar_; variable
309 NotificationRegistrar registrar_;
333 NotificationRegistrar registrar_;
358 NotificationRegistrar registrar_;
381 NotificationRegistrar registrar_;
[all …]
/external/chromium/chrome/browser/sync/util/
Dextensions_activity_monitor.cc23 : monitor_(monitor), registrar_(registrar) {} in RegistrationTask()
34 registrar_->Add(monitor_, NotificationType::EXTENSION_BOOKMARKS_API_INVOKED, in Run()
40 NotificationRegistrar* registrar_; member in browser_sync::__anonf48cc55a0111::RegistrationTask
47 new RegistrationTask(this, &registrar_)); in ExtensionsActivityMonitor()
57 if (!registrar_.IsEmpty()) { in ~ExtensionsActivityMonitor()
63 registrar_.RemoveAll(); in ~ExtensionsActivityMonitor()
/external/chromium/chrome/browser/chromeos/login/
Dwizard_accessibility_helper.cc57 registrar_.Add(accessibility_handler_.get(), in RegisterNotifications()
60 registrar_.Add(accessibility_handler_.get(), in RegisterNotifications()
63 registrar_.Add(accessibility_handler_.get(), in RegisterNotifications()
66 registrar_.Add(accessibility_handler_.get(), in RegisterNotifications()
69 registrar_.Add(accessibility_handler_.get(), in RegisterNotifications()
78 registrar_.RemoveAll(); in UnregisterNotifications()
/external/chromium/chrome/browser/sync/glue/
Dsync_backend_host.cc83 DCHECK(registrar_.workers.empty()); in ~SyncBackendHost()
105 registrar_.workers[GROUP_DB] = new DatabaseModelWorker(); in Initialize()
106 registrar_.workers[GROUP_UI] = new UIModelWorker(); in Initialize()
107 registrar_.workers[GROUP_PASSIVE] = new ModelSafeWorker(); in Initialize()
113 registrar_.workers[GROUP_HISTORY] = in Initialize()
123 registrar_.routing_info[(*it)] = GROUP_PASSIVE; in Initialize()
129 registrar_.workers[GROUP_PASSWORD] = in Initialize()
134 registrar_.routing_info.erase(syncable::PASSWORDS); in Initialize()
138 registrar_.routing_info[syncable::NIGORI] = GROUP_PASSIVE; in Initialize()
172 return registrar_.routing_info.find(syncable::NIGORI) != in IsNigoriEnabled()
[all …]
Dbookmark_data_type_controller.cc40 registrar_.Add(this, NotificationType::BOOKMARK_MODEL_LOADED, in StartModels()
47 registrar_.RemoveAll(); in CleanupState()
55 registrar_.RemoveAll(); in Observe()
/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()
498 registrar_.Add(this, NotificationType::PRERENDER_CONTENTS_STARTED, in StartUpdating()
500 registrar_.Add(this, NotificationType::PRERENDER_CONTENTS_USED, in StartUpdating()
[all …]
/external/chromium/chrome/browser/extensions/
Dextension_accessibility_api.cc53 if (registrar_.IsEmpty()) { in ObserveProfile()
54 registrar_.Add(this, in ObserveProfile()
57 registrar_.Add(this, in ObserveProfile()
60 registrar_.Add(this, in ObserveProfile()
63 registrar_.Add(this, in ObserveProfile()
66 registrar_.Add(this, in ObserveProfile()
69 registrar_.Add(this, in ObserveProfile()
72 registrar_.Add(this, in ObserveProfile()
Dextension_tab_id_map.cc36 NotificationRegistrar registrar_; member in ExtensionTabIdMap::TabObserver
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()
/external/chromium/chrome/browser/ui/views/download/
Ddownload_started_animation_win.cc71 NotificationRegistrar registrar_; member in __anond4fbf4890111::DownloadStartedAnimationWin
93 registrar_.Add( in DownloadStartedAnimationWin()
97 registrar_.Add( in DownloadStartedAnimationWin()
139 registrar_.Remove( in Close()
143 registrar_.Remove( in Close()
/external/chromium/chrome/browser/ui/gtk/download/
Ddownload_started_animation_gtk.cc74 NotificationRegistrar registrar_; member in __anon9fa4c2f90111::DownloadStartedAnimationGtk
98 registrar_.Add( in DownloadStartedAnimationGtk()
102 registrar_.Add( in DownloadStartedAnimationGtk()
150 registrar_.Remove( in Close()
154 registrar_.Remove( in Close()
/external/chromium/chrome/browser/ui/views/
Dtheme_install_bubble_view.cc48 registrar_.Add( in ThemeInstallBubbleView()
54 registrar_.Add( in ThemeInstallBubbleView()
58 registrar_.Add( in ThemeInstallBubbleView()
62 registrar_.Add( in ThemeInstallBubbleView()
68 registrar_.Add( in ThemeInstallBubbleView()
154 registrar_.RemoveAll(); in Close()
/external/chromium/chrome/browser/google/
Dgoogle_url_tracker.cc275 registrar_.RemoveAll(); in InfoBarClosed()
322 if (registrar_.IsEmpty() && (need_to_prompt_ || fetcher_.get())) { in SearchCommitted()
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()
347 registrar_.RemoveAll(); in OnNavigationCommittedOrTabClosed()
/external/chromium/chrome/browser/ui/views/tab_contents/
Dtab_contents_container.cc58 registrar_.Add(this, in AddObservers()
62 registrar_.Add(this, in AddObservers()
68 registrar_.RemoveAll(); in RemoveObservers()
/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()
/external/chromium/chrome/browser/ui/gtk/
Dtheme_install_bubble_view_gtk.cc53 registrar_.Add( in ThemeInstallBubbleViewGtk()
59 registrar_.Add( in ThemeInstallBubbleViewGtk()
63 registrar_.Add( in ThemeInstallBubbleViewGtk()
67 registrar_.Add( in ThemeInstallBubbleViewGtk()
73 registrar_.Add( in ThemeInstallBubbleViewGtk()
/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()
Dalternate_nav_url_fetcher.cc29 registrar_.Add(this, NotificationType::NAV_ENTRY_PENDING, in AlternateNavURLFetcher()
54 registrar_.Add(this, NotificationType::NAV_ENTRY_COMMITTED, in Observe()
56 registrar_.Add(this, NotificationType::TAB_CLOSED, in Observe()
71 registrar_.Remove(this, NotificationType::NAV_ENTRY_COMMITTED, in Observe()
Dmach_broker_mac.cc35 broker_->registrar_.Add(broker_, in Run()
38 broker_->registrar_.Add(broker_, in Run()
41 broker_->registrar_.Add(broker_, in Run()
44 broker_->registrar_.Add(broker_, in Run()
47 broker_->registrar_.Add(broker_, in Run()
/external/chromium/chrome/browser/geolocation/
Dgeolocation_browsertest.cc44 registrar_.Add(this, NotificationType::LOAD_STOP, in IFrameLoader()
46 registrar_.Add(this, NotificationType::DOM_OPERATION_RESPONSE, in IFrameLoader()
58 registrar_.RemoveAll(); in IFrameLoader()
86 NotificationRegistrar registrar_; member in __anon0fe026980111::IFrameLoader
112 registrar_.Add(this, NotificationType::DOM_OPERATION_RESPONSE, in GeolocationNotificationObserver()
115 registrar_.Add(this, NotificationType::TAB_CONTENTS_INFOBAR_ADDED, in GeolocationNotificationObserver()
118 registrar_.Add(this, NotificationType::NAV_ENTRY_COMMITTED, in GeolocationNotificationObserver()
120 registrar_.Add(this, NotificationType::LOAD_START, in GeolocationNotificationObserver()
122 registrar_.Add(this, NotificationType::LOAD_STOP, in GeolocationNotificationObserver()
136 registrar_.RemoveAll(); in AddWatchAndWaitForNotification()
[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()
/external/chromium/chrome/browser/prefs/
Dscoped_user_pref_update_unittest.cc22 registrar_.Init(&prefs_); in SetUp()
23 registrar_.Add(kPref, &observer_); in SetUp()
32 PrefChangeRegistrar registrar_; member in ScopedUserPrefUpdateTest
/external/chromium/chrome/browser/ui/cocoa/
Dtheme_install_bubble_view.mm63 registrar_.Add(
69 registrar_.Add(
73 registrar_.Add(
77 registrar_.Add(
83 registrar_.Add(
104 registrar_.RemoveAll();
/external/chromium/chrome/browser/net/
Dchrome_url_request_context.cc131 DCHECK(registrar_.IsEmpty()) << "Probably didn't call CleanupOnUIThread"; in ~ChromeURLRequestContextGetter()
281 DCHECK(!registrar_.IsEmpty()) << "Called more than once!"; in CleanupOnUIThread()
282 registrar_.RemoveAll(); in CleanupOnUIThread()
332 registrar_.Init(profile->GetPrefs()); in RegisterPrefsObserver()
333 registrar_.Add(prefs::kAcceptLanguages, this); in RegisterPrefsObserver()
334 registrar_.Add(prefs::kDefaultCharset, this); in RegisterPrefsObserver()
335 registrar_.Add(prefs::kClearSiteDataOnExit, this); in RegisterPrefsObserver()

12345678910>>...19