Searched refs:observer_list (Results 1 - 19 of 19) sorted by relevance

/external/chromium_org/base/
H A Dobserver_list_unittest.cc5 #include "base/observer_list.h"
74 explicit AddInObserve(ObserverListType* observer_list) argument
76 observer_list(observer_list),
83 observer_list->AddObserver(&adder);
88 ObserverListType* observer_list; member in class:base::__anon3839::AddInObserve
185 ObserverList<Foo> observer_list; local
187 Disrupter evil(&observer_list, &c);
189 observer_list.AddObserver(&a);
190 observer_list
501 ObserverList<Foo> observer_list; local
539 ObserverList<Foo>* observer_list = new ObserverList<Foo>; local
[all...]
H A Dobserver_list.h206 #define FOR_EACH_OBSERVER(ObserverType, observer_list, func) \
208 if ((observer_list).might_have_observers()) { \
209 ObserverListBase<ObserverType>::Iterator it(observer_list); \
/external/chromium/base/
H A Dobserver_list_unittest.cc5 #include "base/observer_list.h"
66 explicit AddInObserve(ObserverList<Foo>* observer_list) argument
68 observer_list(observer_list),
74 observer_list->AddObserver(&adder);
79 ObserverList<Foo>* observer_list; member in class:__anon1737::AddInObserve
177 ObserverList<Foo> observer_list; local
179 Disrupter evil(&observer_list, &c);
181 observer_list.AddObserver(&a);
182 observer_list
369 ObserverList<Foo> observer_list; local
[all...]
H A Dobserver_list.h200 #define FOR_EACH_OBSERVER(ObserverType, observer_list, func) \
202 ObserverListBase<ObserverType>::Iterator it(observer_list); \
/external/chromium/chrome/browser/prefs/
H A Dpref_notifier_impl.cc36 NotificationObserverList* observer_list = NULL; local
40 observer_list = new NotificationObserverList;
41 pref_observers_[path] = observer_list;
43 observer_list = observer_iterator->second;
47 NotificationObserverList::Iterator it(*observer_list);
56 observer_list->AddObserver(obs);
69 NotificationObserverList* observer_list = observer_iterator->second; local
70 observer_list->RemoveObserver(obs);
H A Dpref_notifier_impl_unittest.cc47 NotificationObserverList* observer_list = observer_iterator->second;
48 NotificationObserverList::Iterator it(*observer_list);
/external/chromium_org/content/browser/
H A Dnotification_service_impl.cc57 NotificationObserverList* observer_list; local
59 observer_list = observers_[type][source.map_key()];
61 observer_list = new NotificationObserverList;
62 observers_[type][source.map_key()] = observer_list;
65 observer_list->AddObserver(observer);
82 NotificationObserverList* observer_list = local
84 if (observer_list) {
85 observer_list->RemoveObserver(observer);
86 if (!observer_list->size()) {
88 delete observer_list;
[all...]
/external/chromium_org/base/prefs/
H A Dpref_notifier_impl.cc44 PrefObserverList* observer_list = NULL; local
48 observer_list = new PrefObserverList;
49 pref_observers_[path] = observer_list;
51 observer_list = observer_iterator->second;
56 observer_list->AddObserver(obs);
69 PrefObserverList* observer_list = observer_iterator->second; local
70 observer_list->RemoveObserver(obs);
H A Dpref_notifier_impl_unittest.cc60 PrefObserverList* observer_list = observer_iterator->second;
61 PrefObserverList::Iterator it(*observer_list);
/external/chromium/chrome/browser/chromeos/
H A Dcros_settings.cc107 NotificationObserverList* observer_list = NULL; local
111 observer_list = new NotificationObserverList;
112 settings_observers_[path] = observer_list;
114 observer_list = observer_iterator->second;
118 NotificationObserverList::Iterator it(*observer_list);
127 observer_list->AddObserver(obs);
140 NotificationObserverList* observer_list = observer_iterator->second; local
141 observer_list->RemoveObserver(obs);
/external/chromium_org/chrome/browser/chromeos/
H A Dxinput_hierarchy_changed_event_listener.cc35 ObserverList<DeviceHierarchyObserver>* observer_list) {
44 *observer_list,
50 *observer_list,
33 HandleHierarchyChangedEvent( XIHierarchyEvent* event, ObserverList<DeviceHierarchyObserver>* observer_list) argument
/external/chromium_org/chrome/browser/chromeos/settings/
H A Dcros_settings.cc278 NotificationObserverList* observer_list = NULL; local
282 observer_list = new NotificationObserverList;
283 settings_observers_[path] = observer_list;
285 observer_list = observer_iterator->second;
289 NotificationObserverList::Iterator it(*observer_list);
297 observer_list->AddObserver(obs);
309 NotificationObserverList* observer_list = observer_iterator->second;
310 observer_list->RemoveObserver(obs);
/external/chromium_org/chromeos/dbus/
H A Dshill_device_client_stub.cc305 PropertyObserverList* observer_list = new PropertyObserverList();
306 observer_list_[device_path] = observer_list;
307 return *observer_list;
H A Dshill_service_client_stub.cc586 PropertyObserverList* observer_list = new PropertyObserverList();
587 observer_list_[device_path] = observer_list;
588 return *observer_list;
/external/chromium_org/webkit/browser/appcache/
H A Dappcache_group.h15 #include "base/observer_list.h"
120 const ObserverList<UpdateObserver>& observer_list);
H A Dappcache_group.cc223 const ObserverList<UpdateObserver>& observer_list) {
224 return observer_list.HasObserver(find_me);
222 FindObserver(UpdateObserver* find_me, const ObserverList<UpdateObserver>& observer_list) argument
/external/chromium_org/chrome/browser/extensions/api/input_ime/
H A Dinput_ime_api.cc331 std::map<std::string, chromeos::ImeObserver*>& observer_list = local
334 observer_list[component.id] = observer;
353 chromeos::ImeObserver*> >::iterator observer_list = local
355 if (observer_list != observers_.end()) {
356 STLDeleteContainerPairSecondPointers(observer_list->second.begin(),
357 observer_list->second.end());
358 observers_.erase(observer_list);
/external/chromium_org/base/debug/
H A Dtrace_event_impl.cc947 std::vector<EnabledStateObserver*> observer_list;
999 observer_list = enabled_state_observer_list_;
1002 for (size_t i = 0; i < observer_list.size(); ++i)
1003 observer_list[i]->OnTraceLogEnabled();
1018 std::vector<EnabledStateObserver*> observer_list;
1048 observer_list = enabled_state_observer_list_;
1053 for (size_t i = 0; i < observer_list.size(); ++i)
1054 observer_list[i]->OnTraceLogDisabled();
/external/chromium_org/net/dns/
H A Dmdns_client_impl.cc365 ObserverList<MDnsListenerImpl>* observer_list = local
368 observer_list->AddObserver(listener);

Completed in 395 milliseconds