Searched defs:observer (Results 1 - 25 of 905) sorted by relevance

1234567891011>>

/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/session/
H A Dsession_state_observer.cc13 ash::SessionStateObserver* observer)
14 : observer_(observer) {
12 ScopedSessionStateObserver( ash::SessionStateObserver* observer) argument
/external/chromium_org/media/video/capture/win/
H A Dsink_filter_win.h37 explicit SinkFilter(SinkFilterObserver* observer); variable
/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/chrome/browser/signin/
H A Dsignin_tracker_factory.cc19 SigninTracker::Observer* observer) {
31 observer));
17 CreateForProfile( Profile* profile, SigninTracker::Observer* observer) argument
/external/chromium_org/chrome/browser/status_icons/
H A Dstatus_icon_unittest.cc33 MockStatusIconObserver observer, observer2; local
34 EXPECT_CALL(observer, OnStatusIconClicked()).Times(2);
36 icon.AddObserver(&observer);
40 icon.RemoveObserver(&observer);
47 MockStatusIconObserver observer; local
48 EXPECT_CALL(observer, OnStatusIconClicked());
49 icon.AddObserver(&observer);
51 icon.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/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);
/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);
/external/chromium_org/ui/wm/public/
H A Dactivation_change_observer.cc20 ActivationChangeObserver* observer) {
21 window->SetProperty(kActivationChangeObserverKey, observer);
18 SetActivationChangeObserver( Window* window, ActivationChangeObserver* observer) argument
/external/chromium_org/v8/test/mjsunit/es6/
H A Dmicrotask-delivery.js74 var observer = {
79 Object.observe(observer, function(records) {
81 observer.recordCounts.push(records.length);
85 return observer;
/external/chromium_org/ash/display/
H A Ddisplay_error_observer_chromeos_unittest.cc32 DisplayErrorObserver* observer() { return observer_.get(); } function in class:ash::DisplayErrorObserverTest
49 observer()->OnDisplayModeChangeFailed(ui::MULTIPLE_DISPLAY_STATE_DUAL_MIRROR);
59 observer()->OnDisplayModeChangeFailed(ui::MULTIPLE_DISPLAY_STATE_DUAL_MIRROR);
63 observer()->OnDisplayModeChangeFailed(ui::MULTIPLE_DISPLAY_STATE_DUAL_MIRROR);
74 observer()->OnDisplayModeChangeFailed(ui::MULTIPLE_DISPLAY_STATE_DUAL_MIRROR);
78 observer()->OnDisplayModeChangeFailed(
/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/
H A Dcommand_updater_unittest.cc64 // Create an observer for the command 2 and add it to the controller, then
66 FakeCommandObserver observer; local
67 command_updater.AddCommandObserver(2, &observer);
69 EXPECT_TRUE(observer.enabled());
71 EXPECT_FALSE(observer.enabled());
73 // Remove the observer and update the command.
74 command_updater.RemoveCommandObserver(2, &observer);
76 EXPECT_FALSE(observer.enabled());
85 // removed observer still thinks all commands are true and the one left
100 // Remove one observer an
[all...]
/external/chromium_org/chrome/browser/extensions/api/braille_display_private/
H A Dstub_braille_controller.cc21 void StubBrailleController::AddObserver(BrailleObserver* observer) { argument
24 void StubBrailleController::RemoveObserver(BrailleObserver* observer) { argument
/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);
H A Dsync_startup_tracker.cc11 SyncStartupTracker::SyncStartupTracker(Profile* profile, Observer* observer) argument
13 observer_(observer) {
34 // Note: the observer may free this object so it is not allowed to access
35 // this object after invoking the observer callback below.
/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/chrome/browser/ui/webui/
H A Dchrome_url_data_manager_browsertest.cc53 NavigationNotificationObserver observer; local
55 EXPECT_TRUE(observer.got_navigation());
56 EXPECT_EQ(200, observer.http_status_code());
/external/chromium_org/chrome/browser/web_resource/
H A Deula_accepted_notifier.cc20 void EulaAcceptedNotifier::Init(Observer* observer) { argument
21 DCHECK(!observer_ && observer);
22 observer_ = 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/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/media/audio/sounds/
H A Dsounds_manager_unittest.cc36 void SetObserverForTesting(AudioStreamHandler::TestObserver* observer) { argument
37 AudioStreamHandler::SetObserverForTesting(observer);
50 TestObserver observer(run_loop.QuitClosure());
52 SetObserverForTesting(&observer);
62 ASSERT_EQ(1, observer.num_play_requests());
63 ASSERT_EQ(1, observer.num_stop_requests());
64 ASSERT_EQ(4, observer.cursor());
/external/chromium_org/net/cert/
H A Dcert_database.cc19 void CertDatabase::AddObserver(Observer* observer) { argument
20 observer_list_->AddObserver(observer);
23 void CertDatabase::RemoveObserver(Observer* observer) { argument
24 observer_list_->RemoveObserver(observer);

Completed in 574 milliseconds

1234567891011>>