/external/chromium/base/ |
D | observer_list.h | 86 list.observers_.size()) { in Iterator() 96 ListType& observers = list_.observers_; in GetNext() 116 DCHECK(find(observers_.begin(), observers_.end(), obs) == observers_.end()) in AddObserver() 118 observers_.push_back(obs); in AddObserver() 124 std::find(observers_.begin(), observers_.end(), obs); in RemoveObserver() 125 if (it != observers_.end()) { in RemoveObserver() 129 observers_.erase(it); in RemoveObserver() 135 for (size_t i = 0; i < observers_.size(); ++i) { in HasObserver() 136 if (observers_[i] == observer) in HasObserver() 144 for (typename ListType::iterator it = observers_.begin(); in Clear() [all …]
|
/external/chromium/chrome/browser/prefs/ |
D | pref_change_registrar.cc | 31 if (observers_.find(registration) != observers_.end()) { in Add() 35 observers_.insert(registration); in Add() 46 observers_.find(registration); in Remove() 47 if (it == observers_.end()) { in Remove() 52 observers_.erase(it); in Remove() 57 for (std::set<ObserverRegistration>::const_iterator it = observers_.begin(); in RemoveAll() 58 it != observers_.end(); ++it) { in RemoveAll() 61 observers_.clear(); in RemoveAll() 66 return observers_.empty(); in IsEmpty()
|
D | overlay_persistent_pref_store.cc | 23 observers_.AddObserver(observer); in AddObserver() 27 observers_.RemoveObserver(observer); in RemoveObserver() 64 FOR_EACH_OBSERVER(PrefStore::Observer, observers_, OnPrefValueChanged(key)); in SetValue() 74 FOR_EACH_OBSERVER(PrefStore::Observer, observers_, OnPrefValueChanged(key)); in RemoveValue() 100 FOR_EACH_OBSERVER(PrefStore::Observer, observers_, OnPrefValueChanged(key)); in ReportValueChanged() 105 FOR_EACH_OBSERVER(PrefStore::Observer, observers_, OnPrefValueChanged(key)); in OnPrefValueChanged() 109 FOR_EACH_OBSERVER(PrefStore::Observer, observers_, in OnInitializationCompleted()
|
D | value_map_pref_store.cc | 22 observers_.AddObserver(observer); in AddObserver() 26 observers_.RemoveObserver(observer); in RemoveObserver() 31 FOR_EACH_OBSERVER(Observer, observers_, OnPrefValueChanged(key)); in SetValue() 36 FOR_EACH_OBSERVER(Observer, observers_, OnPrefValueChanged(key)); in RemoveValue() 40 FOR_EACH_OBSERVER(Observer, observers_, OnInitializationCompleted()); in NotifyInitializationCompleted()
|
D | testing_pref_store.cc | 27 observers_.AddObserver(observer); in AddObserver() 31 observers_.RemoveObserver(observer); in RemoveObserver() 72 FOR_EACH_OBSERVER(Observer, observers_, OnPrefValueChanged(key)); in NotifyPrefValueChanged() 76 FOR_EACH_OBSERVER(Observer, observers_, OnInitializationCompleted()); in NotifyInitializationCompleted() 80 FOR_EACH_OBSERVER(Observer, observers_, OnPrefValueChanged(key)); in ReportValueChanged()
|
/external/chromium/chrome/browser/chromeos/ |
D | sms_observer.cc | 39 for (ObserversMap::iterator it_observer = observers_.begin(); in UpdateObservers() 40 it_observer != observers_.end();) { in UpdateObservers() 52 observers_.erase(it_observer++); in UpdateObservers() 62 observers_.find((*it_network)->device_path()); in UpdateObservers() 63 if (it_observer == observers_.end()) { in UpdateObservers() 65 observers_.insert(ObserversMap::value_type((*it_network)->device_path(), in UpdateObservers() 78 for (ObserversMap::iterator it = observers_.begin(); in DisconnectAll() 79 it != observers_.end(); ++it) { in DisconnectAll() 83 observers_.clear(); in DisconnectAll()
|
D | wm_message_listener.h | 37 observers_.AddObserver(observer); in AddObserver() 41 observers_.RemoveObserver(observer); in RemoveObserver() 57 ObserverList<Observer> observers_;
|
/external/chromium/chrome/browser/automation/ |
D | automation_tab_helper.cc | 45 observers_.AddObserver(observer); in AddObserver() 49 observers_.RemoveObserver(observer); in RemoveObserver() 67 FOR_EACH_OBSERVER(TabEventObserver, observers_, in DidStartLoading() 79 FOR_EACH_OBSERVER(TabEventObserver, observers_, in DidStopLoading() 97 FOR_EACH_OBSERVER(TabEventObserver, observers_, in OnTabOrRenderViewDestroyed() 131 FOR_EACH_OBSERVER(TabEventObserver, observers_, in OnWillPerformClientRedirect() 144 FOR_EACH_OBSERVER(TabEventObserver, observers_, in OnDidCompleteOrCancelClientRedirect()
|
/external/chromium/chrome/browser/chromeos/cros/ |
D | screen_lock_library.cc | 30 observers_.AddObserver(observer); in AddObserver() 34 observers_.RemoveObserver(observer); in RemoveObserver() 67 FOR_EACH_OBSERVER(Observer, observers_, LockScreen(this)); in LockScreen() 78 FOR_EACH_OBSERVER(Observer, observers_, UnlockScreen(this)); in UnlockScreen() 89 FOR_EACH_OBSERVER(Observer, observers_, UnlockScreenFailed(this)); in UnlockScreenFailed() 109 ObserverList<Observer> observers_; member in chromeos::ScreenLockLibraryImpl
|
D | brightness_library.cc | 31 observers_.AddObserver(observer); in AddObserver() 35 observers_.RemoveObserver(observer); in RemoveObserver() 65 observers_, in OnBrightnessChanged() 71 ObserverList<Observer> observers_; member in chromeos::BrightnessLibraryImpl
|
D | update_library.cc | 32 observers_.AddObserver(observer); in AddObserver() 36 observers_.RemoveObserver(observer); in RemoveObserver() 40 return observers_.HasObserver(observer); in HasObserver() 91 FOR_EACH_OBSERVER(Observer, observers_, UpdateStatusChanged(this)); in UpdateStatus() 103 ObserverList<Observer> observers_; member in chromeos::UpdateLibraryImpl
|
D | power_library.cc | 38 observers_.AddObserver(observer); in AddObserver() 42 observers_.RemoveObserver(observer); in RemoveObserver() 132 FOR_EACH_OBSERVER(Observer, observers_, PowerChanged(this)); in UpdatePowerStatus() 144 FOR_EACH_OBSERVER(Observer, observers_, SystemResumed()); in SystemResumed() 147 ObserverList<Observer> observers_; member in chromeos::PowerLibraryImpl
|
D | mock_mount_library.cc | 26 observers_.AddObserver(observer); in AddObserverInternal() 31 observers_.RemoveObserver(observer); in RemoveObserverInternal() 125 FOR_EACH_OBSERVER(Observer, observers_, DiskChanged(evt, disk)); in UpdateDiskChanged() 134 FOR_EACH_OBSERVER(Observer, observers_, DeviceChanged(evt, path)); in UpdateDeviceChanged()
|
D | burn_library.cc | 36 ObserverList<BurnLibrary::Observer> observers_; member in chromeos::BurnLibraryImpl 77 observers_.AddObserver(observer); in AddObserver() 81 observers_.RemoveObserver(observer); in RemoveObserver() 142 FOR_EACH_OBSERVER(Observer, observers_, ProgressUpdated(this, evt, status)); in UpdateBurnStatus()
|
/external/chromium/net/url_request/ |
D | url_request_job_tracker.cc | 28 FOR_EACH_OBSERVER(JobObserver, observers_, OnJobAdded(job)); in AddNewJob() 40 FOR_EACH_OBSERVER(JobObserver, observers_, OnJobRemoved(job)); in RemoveJob() 45 FOR_EACH_OBSERVER(JobObserver, observers_, OnJobDone(job, status)); in OnJobDone() 51 FOR_EACH_OBSERVER(JobObserver, observers_, in OnJobRedirect() 58 FOR_EACH_OBSERVER(JobObserver, observers_, in OnBytesRead()
|
D | url_request_job_tracker.h | 67 observers_.AddObserver(observer); in AddObserver() 70 observers_.RemoveObserver(observer); in RemoveObserver() 96 ObserverList<JobObserver> observers_;
|
/external/chromium/chrome/browser/status_icons/ |
D | status_icon.cc | 17 observers_.AddObserver(observer); in AddObserver() 21 observers_.RemoveObserver(observer); in RemoveObserver() 25 return observers_.size() > 0; in HasObservers() 29 FOR_EACH_OBSERVER(Observer, observers_, OnClicked()); in DispatchClickEvent()
|
/external/chromium/chrome/browser/sync/notifier/ |
D | non_blocking_invalidation_notifier.cc | 51 scoped_refptr<ObserverListThreadSafe<SyncNotifierObserver> > observers_; member in sync_notifier::NonBlockingInvalidationNotifier::Core 56 : observers_(new ObserverListThreadSafe<SyncNotifierObserver>()) { in Core() 86 observers_->AddObserver(observer); in AddObserver() 91 observers_->RemoveObserver(observer); in RemoveObserver() 115 observers_->Notify(&SyncNotifierObserver::OnIncomingNotification, in OnIncomingNotification() 122 observers_->Notify(&SyncNotifierObserver::OnNotificationStateChange, in OnNotificationStateChange() 129 observers_->Notify(&SyncNotifierObserver::StoreState, state); in StoreState()
|
D | invalidation_notifier.cc | 42 observers_.AddObserver(observer); in AddObserver() 47 observers_.RemoveObserver(observer); in RemoveObserver() 118 FOR_EACH_OBSERVER(SyncNotifierObserver, observers_, in OnInvalidate() 123 FOR_EACH_OBSERVER(SyncNotifierObserver, observers_, in OnSessionStatusChanged() 130 FOR_EACH_OBSERVER(SyncNotifierObserver, observers_, StoreState(state)); in WriteState()
|
/external/chromium/chrome/browser/extensions/ |
D | extension_toolbar_model.cc | 42 observers_.AddObserver(observer); in AddObserver() 46 observers_.RemoveObserver(observer); in RemoveObserver() 75 FOR_EACH_OBSERVER(Observer, observers_, BrowserActionMoved(extension, index)); in MoveBrowserAction() 135 FOR_EACH_OBSERVER(Observer, observers_, in AddExtension() 139 FOR_EACH_OBSERVER(Observer, observers_, in AddExtension() 159 FOR_EACH_OBSERVER(Observer, observers_, in RemoveExtension() 212 FOR_EACH_OBSERVER(Observer, observers_, in InitializeExtensionList() 219 FOR_EACH_OBSERVER(Observer, observers_, ModelLoaded()); in InitializeExtensionList()
|
/external/chromium/chrome/browser/net/ |
D | pref_proxy_config_service.cc | 46 observers_.AddObserver(observer); in AddObserver() 52 observers_.RemoveObserver(observer); in RemoveObserver() 82 FOR_EACH_OBSERVER(Observer, observers_, OnPrefProxyConfigChanged()); in InstallProxyConfig() 183 observers_.AddObserver(observer); in AddObserver() 188 observers_.RemoveObserver(observer); in RemoveObserver() 233 FOR_EACH_OBSERVER(net::ProxyConfigService::Observer, observers_, in OnProxyConfigChanged() 252 FOR_EACH_OBSERVER(net::ProxyConfigService::Observer, observers_, in OnPrefProxyConfigChanged()
|
/external/chromium/net/proxy/ |
D | proxy_config_service_android.cc | 12 observers_.AddObserver(observer); in AddObserver() 16 observers_.RemoveObserver(observer); in RemoveObserver() 47 FOR_EACH_OBSERVER(Observer, observers_, in UpdateProxySettings()
|
D | polling_proxy_config_service.cc | 57 observers_.AddObserver(observer); in AddObserver() 62 observers_.RemoveObserver(observer); in RemoveObserver() 124 FOR_EACH_OBSERVER(Observer, observers_, in GetConfigCompleted() 145 ObserverList<Observer> observers_; member in net::PollingProxyConfigService::Core
|
/external/chromium/chrome/browser/ui/ |
D | browser_list.cc | 162 ObserverList<BrowserList::Observer> BrowserList::observers_; member in BrowserList 181 size_t original_count = observers_.size(); in AddBrowser() 182 FOR_EACH_OBSERVER(Observer, observers_, OnBrowserAdded(browser)); in AddBrowser() 183 DCHECK_EQ(original_count, observers_.size()) in AddBrowser() 258 size_t original_count = observers_.size(); in RemoveBrowser() 259 FOR_EACH_OBSERVER(Observer, observers_, OnBrowserRemoved(browser)); in RemoveBrowser() 260 DCHECK_EQ(original_count, observers_.size()) in RemoveBrowser() 291 observers_.AddObserver(observer); in AddObserver() 296 observers_.RemoveObserver(observer); in RemoveObserver() 504 FOR_EACH_OBSERVER(Observer, observers_, OnBrowserSetLastActive(browser)); in SetLastActive()
|
/external/chromium/chrome/browser/tabs/ |
D | tab_strip_model.cc | 78 FOR_EACH_OBSERVER(TabStripModelObserver, observers_, in ~TabStripModel() 85 observers_.AddObserver(observer); in AddObserver() 89 observers_.RemoveObserver(observer); in RemoveObserver() 101 return observers_.HasObserver(observer); in HasObserver() 158 FOR_EACH_OBSERVER(TabStripModelObserver, observers_, in InsertTabContentsAt() 177 FOR_EACH_OBSERVER(TabStripModelObserver, observers_, in ReplaceTabContentsAt() 184 FOR_EACH_OBSERVER(TabStripModelObserver, observers_, in ReplaceTabContentsAt() 215 FOR_EACH_OBSERVER(TabStripModelObserver, observers_, in DetachTabContentsAt() 220 FOR_EACH_OBSERVER(TabStripModelObserver, observers_, TabStripEmpty()); in DetachTabContentsAt() 252 FOR_EACH_OBSERVER(TabStripModelObserver, observers_, in ActivateTabAt() [all …]
|