Searched refs:observer (Results 1 - 25 of 1816) sorted by relevance

1234567891011>>

/external/chromium_org/ash/first_run/
H A Dfirst_run_helper.cc12 void FirstRunHelper::AddObserver(Observer* observer) { argument
13 observers_.AddObserver(observer);
16 void FirstRunHelper::RemoveObserver(Observer* observer) { argument
17 observers_.RemoveObserver(observer);
/external/chromium_org/content/public/browser/
H A Dbrowser_child_process_observer.cc12 void BrowserChildProcessObserver::Add(BrowserChildProcessObserver* observer) { argument
13 BrowserChildProcessHostImpl::AddObserver(observer);
18 BrowserChildProcessObserver* observer) {
19 BrowserChildProcessHostImpl::RemoveObserver(observer);
17 Remove( BrowserChildProcessObserver* observer) argument
/external/chromium_org/ash/system/tray/
H A Dsystem_tray_notifier.cc23 AccessibilityObserver* observer) {
24 accessibility_observers_.AddObserver(observer);
28 AccessibilityObserver* observer) {
29 accessibility_observers_.RemoveObserver(observer);
32 void SystemTrayNotifier::AddAudioObserver(AudioObserver* observer) { argument
33 audio_observers_.AddObserver(observer);
36 void SystemTrayNotifier::RemoveAudioObserver(AudioObserver* observer) { argument
37 audio_observers_.RemoveObserver(observer);
40 void SystemTrayNotifier::AddBluetoothObserver(BluetoothObserver* observer) { argument
41 bluetooth_observers_.AddObserver(observer);
22 AddAccessibilityObserver( AccessibilityObserver* observer) argument
27 RemoveAccessibilityObserver( AccessibilityObserver* observer) argument
44 RemoveBluetoothObserver(BluetoothObserver* observer) argument
48 AddClockObserver(ClockObserver* observer) argument
52 RemoveClockObserver(ClockObserver* observer) argument
56 AddIMEObserver(IMEObserver* observer) argument
60 RemoveIMEObserver(IMEObserver* observer) argument
64 AddLocaleObserver(LocaleObserver* observer) argument
68 RemoveLocaleObserver(LocaleObserver* observer) argument
72 AddTracingObserver(TracingObserver* observer) argument
76 RemoveTracingObserver(TracingObserver* observer) argument
80 AddUpdateObserver(UpdateObserver* observer) argument
84 RemoveUpdateObserver(UpdateObserver* observer) argument
88 AddUserObserver(UserObserver* observer) argument
92 RemoveUserObserver(UserObserver* observer) argument
98 AddLogoutButtonObserver( LogoutButtonObserver* observer) argument
103 RemoveLogoutButtonObserver( LogoutButtonObserver* observer) argument
108 AddSessionLengthLimitObserver( SessionLengthLimitObserver* observer) argument
113 RemoveSessionLengthLimitObserver( SessionLengthLimitObserver* observer) argument
118 AddNetworkObserver(NetworkObserver* observer) argument
122 RemoveNetworkObserver(NetworkObserver* observer) argument
126 AddNetworkPortalDetectorObserver( NetworkPortalDetectorObserver* observer) argument
131 RemoveNetworkPortalDetectorObserver( NetworkPortalDetectorObserver* observer) argument
136 AddEnterpriseDomainObserver( EnterpriseDomainObserver* observer) argument
141 RemoveEnterpriseDomainObserver( EnterpriseDomainObserver* observer) argument
146 AddMediaCaptureObserver( MediaCaptureObserver* observer) argument
151 RemoveMediaCaptureObserver( MediaCaptureObserver* observer) argument
156 AddScreenCaptureObserver( ScreenCaptureObserver* observer) argument
161 RemoveScreenCaptureObserver( ScreenCaptureObserver* observer) argument
166 AddScreenShareObserver( ScreenShareObserver* observer) argument
171 RemoveScreenShareObserver( ScreenShareObserver* observer) argument
176 AddLastWindowClosedObserver( LastWindowClosedObserver* observer) argument
181 RemoveLastWindowClosedObserver( LastWindowClosedObserver* observer) argument
[all...]
H A Dsystem_tray_notifier.h47 void AddAccessibilityObserver(AccessibilityObserver* observer);
48 void RemoveAccessibilityObserver(AccessibilityObserver* observer);
50 void AddAudioObserver(AudioObserver* observer);
51 void RemoveAudioObserver(AudioObserver* observer);
53 void AddBluetoothObserver(BluetoothObserver* observer);
54 void RemoveBluetoothObserver(BluetoothObserver* observer);
56 void AddClockObserver(ClockObserver* observer);
57 void RemoveClockObserver(ClockObserver* observer);
59 void AddIMEObserver(IMEObserver* observer);
60 void RemoveIMEObserver(IMEObserver* observer);
[all...]
/external/chromium_org/third_party/WebKit/Source/core/dom/
H A DDocumentLifecycleNotifier.cpp39 void DocumentLifecycleNotifier::addObserver(DocumentLifecycleNotifier::Observer* observer) argument
41 if (observer->observerType() == Observer::DocumentLifecycleObserverType) {
43 m_documentObservers.add(static_cast<DocumentLifecycleObserver*>(observer));
46 LifecycleNotifier<Document>::addObserver(observer);
49 void DocumentLifecycleNotifier::removeObserver(DocumentLifecycleNotifier::Observer* observer) argument
51 if (observer->observerType() == Observer::DocumentLifecycleObserverType) {
53 m_documentObservers.remove(static_cast<DocumentLifecycleObserver*>(observer));
56 LifecycleNotifier<Document>::removeObserver(observer);
H A DContextLifecycleObserver.cpp34 template<> void observerContext(ExecutionContext* context, LifecycleObserver<ExecutionContext>* observer) argument
36 context->wasObservedBy(observer);
39 template<> void unobserverContext(ExecutionContext* context, LifecycleObserver<ExecutionContext>* observer) argument
41 context->wasUnobservedBy(observer);
H A DDocumentLifecycleObserver.cpp34 template<> void observerContext(Document* context, LifecycleObserver<Document>* observer) argument
36 static_cast<LifecycleContext<Document>*>(context)->wasObservedBy(observer);
39 template<> void unobserverContext(Document* context, LifecycleObserver<Document>* observer) argument
41 static_cast<LifecycleContext<Document>*>(context)->wasUnobservedBy(observer);
/external/chromium_org/third_party/WebKit/Source/core/page/
H A DPageLifecycleNotifier.cpp37 void PageLifecycleNotifier::addObserver(PageLifecycleNotifier::Observer* observer) argument
39 if (observer->observerType() == Observer::PageLifecycleObserverType) {
41 m_pageObservers.add(static_cast<PageLifecycleObserver*>(observer));
44 LifecycleNotifier<Page>::addObserver(observer);
47 void PageLifecycleNotifier::removeObserver(PageLifecycleNotifier::Observer* observer) argument
49 if (observer->observerType() == Observer::PageLifecycleObserverType) {
51 m_pageObservers.remove(static_cast<PageLifecycleObserver*>(observer));
54 LifecycleNotifier<Page>::removeObserver(observer);
H A DPageLifecycleObserver.cpp34 template<> void observerContext(Page* context, LifecycleObserver<Page>* observer) argument
36 context->wasObservedBy(observer);
39 template<> void unobserverContext(Page* context, LifecycleObserver<Page>* observer) argument
41 context->wasUnobservedBy(observer);
/external/chromium_org/win8/metro_driver/ime/
H A Dime_popup_monitor.h12 // Adds/Removes ImePopupObserver. Currently only one observer is supported at
14 void AddImePopupObserver(ImePopupObserver* observer);
15 void RemoveImePopupObserver(ImePopupObserver* observer);
/external/chromium_org/ash/system/user/
H A Duser_accounts_delegate.cc14 void UserAccountsDelegate::AddObserver(Observer* observer) { argument
15 observers_.AddObserver(observer);
18 void UserAccountsDelegate::RemoveObserver(Observer* observer) { argument
19 observers_.RemoveObserver(observer);
/external/chromium_org/chrome/browser/ui/views/frame/
H A Dimmersive_mode_controller.cc14 void ImmersiveModeController::AddObserver(Observer* observer) { argument
15 observers_.AddObserver(observer);
18 void ImmersiveModeController::RemoveObserver(Observer* observer) { argument
19 observers_.RemoveObserver(observer);
/external/chromium_org/components/invalidation/
H A Dticl_settings_provider.cc18 void TiclSettingsProvider::AddObserver(Observer* observer) { argument
19 observers_.AddObserver(observer);
22 void TiclSettingsProvider::RemoveObserver(Observer* observer) { argument
23 observers_.RemoveObserver(observer);
/external/chromium_org/chrome/browser/ui/panels/
H A Dpanel_mouse_watcher.cc16 void PanelMouseWatcher::AddObserver(PanelMouseWatcherObserver* observer) { argument
18 observers_.AddObserver(observer);
23 void PanelMouseWatcher::RemoveObserver(PanelMouseWatcherObserver* observer) { argument
24 DCHECK(observers_.HasObserver(observer));
25 observers_.RemoveObserver(observer);
/external/chromium_org/ui/gfx/
H A Ddisplay_change_notifier_unittest.cc65 MockDisplayObserver observer; local
69 EXPECT_EQ(0, observer.display_added());
71 change_notifier.AddObserver(&observer);
74 EXPECT_EQ(1, observer.display_added());
86 MockDisplayObserver observer; local
90 EXPECT_EQ(0, observer.display_added());
92 change_notifier.AddObserver(&observer);
93 change_notifier.RemoveObserver(&observer);
97 EXPECT_EQ(0, observer.display_added());
109 MockDisplayObserver observer; local
120 MockDisplayObserver observer; local
134 MockDisplayObserver observer; local
148 MockDisplayObserver observer; local
165 MockDisplayObserver observer; local
183 MockDisplayObserver observer; local
204 MockDisplayObserver observer; local
218 MockDisplayObserver observer; local
232 MockDisplayObserver observer; local
249 MockDisplayObserver observer; local
267 MockDisplayObserver observer; local
288 MockDisplayObserver observer; local
302 MockDisplayObserver observer; local
316 MockDisplayObserver observer; local
330 MockDisplayObserver observer; local
350 MockDisplayObserver observer; local
364 MockDisplayObserver observer; local
381 MockDisplayObserver observer; local
400 MockDisplayObserver observer; local
417 MockDisplayObserver observer; local
434 MockDisplayObserver observer; local
451 MockDisplayObserver observer; local
477 MockDisplayObserver observer; local
[all...]
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/
H A DApplicationLifetime.java28 * Adds an observer to watch for application termination.
29 * @param observer The observer to add.
31 public static void addObserver(Observer observer) { argument
32 sObservers.addObserver(observer);
36 * Removes an observer from watching for application termination.
37 * @oparam observer The observer to remove.
39 public static void removeObserver(Observer observer) { argument
40 sObservers.removeObserver(observer);
[all...]
/external/chromium_org/third_party/WebKit/Source/platform/
H A DLifecycleContextTest.cpp43 template<> void observerContext(DummyContext* context, LifecycleObserver<DummyContext>* observer) argument
45 context->wasObservedBy(observer);
48 template<> void unobserverContext(DummyContext* context, LifecycleObserver<DummyContext>* observer) argument
50 context->wasUnobservedBy(observer);
79 OwnPtr<TestingObserver> observer = adoptPtr(new TestingObserver(context.get())); local
81 EXPECT_EQ(observer->lifecycleContext(), context.get());
82 EXPECT_FALSE(observer->m_contextDestroyedCalled);
85 EXPECT_EQ(observer->lifecycleContext(), static_cast<DummyContext*>(0));
86 EXPECT_TRUE(observer->m_contextDestroyedCalled);
92 OwnPtr<TestingObserver> observer local
[all...]
/external/chromium_org/remoting/host/
H A Dhost_status_monitor.h17 // Add/Remove |observer| to/from the list of status observers.
18 virtual void AddStatusObserver(HostStatusObserver* observer) = 0;
19 virtual void RemoveStatusObserver(HostStatusObserver* observer) = 0;
/external/chromium_org/chrome/browser/sync/
H A Dsync_error_controller.cc24 void SyncErrorController::AddObserver(Observer* observer) { argument
25 observer_list_.AddObserver(observer);
28 void SyncErrorController::RemoveObserver(Observer* observer) { argument
29 observer_list_.RemoveObserver(observer);
/external/chromium_org/content/public/test/android/javatests/src/org/chromium/content/browser/test/util/
H A DOrientationChangeObserverCriteria.java18 public OrientationChangeObserverCriteria(MockOrientationObserver observer) { argument
19 mObserver = observer;
28 public OrientationChangeObserverCriteria(MockOrientationObserver observer, int target) { argument
29 mObserver = observer;
/external/chromium_org/content/public/test/
H A Dmock_download_item.cc15 void MockDownloadItem::AddObserver(Observer* observer) { argument
16 observers_.AddObserver(observer);
19 void MockDownloadItem::RemoveObserver(Observer* observer) { argument
20 observers_.RemoveObserver(observer);
/external/chromium_org/third_party/WebKit/Source/core/frame/
H A DDOMWindowLifecycleObserver.cpp34 template<> void observerContext(LocalDOMWindow* context, LifecycleObserver<LocalDOMWindow>* observer) argument
36 context->wasObservedBy(observer);
39 template<> void unobserverContext(LocalDOMWindow* context, LifecycleObserver<LocalDOMWindow>* observer) argument
41 context->wasUnobservedBy(observer);
/external/chromium_org/chromeos/dbus/
H A Dfake_system_clock_client.cc18 void FakeSystemClockClient::AddObserver(Observer* observer) { argument
21 void FakeSystemClockClient::RemoveObserver(Observer* observer) { argument
24 bool FakeSystemClockClient::HasObserver(Observer* observer) { argument
/external/chromium_org/ui/events/ozone/device/
H A Ddevice_manager.h19 // Scans the currently available devices and notifies |observer| for each
21 // the scan should happen after the registration otherwise the observer may
23 virtual void ScanDevices(DeviceEventObserver* observer) = 0;
25 // Registers |observer| for device event notifications.
26 virtual void AddObserver(DeviceEventObserver* observer) = 0;
28 // Removes |observer| from the list of observers notified.
29 virtual void RemoveObserver(DeviceEventObserver* observer) = 0;
H A Ddevice_manager_manual.h20 virtual void ScanDevices(DeviceEventObserver* observer) OVERRIDE;
21 virtual void AddObserver(DeviceEventObserver* observer) OVERRIDE;
22 virtual void RemoveObserver(DeviceEventObserver* observer) OVERRIDE;

Completed in 714 milliseconds

1234567891011>>