Home
last modified time | relevance | path

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

/external/chromium_org/ui/message_center/
Dnotification_blocker.cc11 NotificationBlocker::NotificationBlocker(MessageCenter* message_center) in NotificationBlocker() function in message_center::NotificationBlocker
17 NotificationBlocker::~NotificationBlocker() { in ~NotificationBlocker()
22 void NotificationBlocker::AddObserver(NotificationBlocker::Observer* observer) { in AddObserver()
26 void NotificationBlocker::RemoveObserver( in RemoveObserver()
27 NotificationBlocker::Observer* observer) { in RemoveObserver()
31 bool NotificationBlocker::ShouldShowNotification( in ShouldShowNotification()
36 void NotificationBlocker::NotifyBlockingStateChanged() { in NotifyBlockingStateChanged()
38 NotificationBlocker::Observer, observers_, OnBlockingStateChanged(this)); in NotifyBlockingStateChanged()
Dnotification_blocker.h18 class MESSAGE_CENTER_EXPORT NotificationBlocker {
22 virtual void OnBlockingStateChanged(NotificationBlocker* blocker) = 0;
25 explicit NotificationBlocker(MessageCenter* message_center);
26 virtual ~NotificationBlocker();
54 typedef std::vector<NotificationBlocker*> NotificationBlockers;
Dmessage_center_impl.h141 public NotificationBlocker::Observer,
150 virtual void AddNotificationBlocker(NotificationBlocker* blocker) OVERRIDE;
151 virtual void RemoveNotificationBlocker(NotificationBlocker* blocker) OVERRIDE;
198 virtual void OnBlockingStateChanged(NotificationBlocker* blocker) OVERRIDE;
230 std::vector<NotificationBlocker*> blockers_;
Dmessage_center.h41 class NotificationBlocker; variable
83 virtual void AddNotificationBlocker(NotificationBlocker* blocker) = 0;
84 virtual void RemoveNotificationBlocker(NotificationBlocker* blocker) = 0;
Dmessage_center_observer.h14 class NotificationBlocker; variable
57 virtual void OnBlockingStateChanged(NotificationBlocker* blocker) {} in OnBlockingStateChanged()
Dfake_message_center.cc22 void FakeMessageCenter::AddNotificationBlocker(NotificationBlocker* blocker) { in AddNotificationBlocker()
26 NotificationBlocker* blocker) { in RemoveNotificationBlocker()
Dfake_message_center.h24 virtual void AddNotificationBlocker(NotificationBlocker* blocker) OVERRIDE;
25 virtual void RemoveNotificationBlocker(NotificationBlocker* blocker) OVERRIDE;
Dmessage_center_tray.h91 virtual void OnBlockingStateChanged(NotificationBlocker* blocker) OVERRIDE;
Dmessage_center_impl.cc443 void MessageCenterImpl::AddNotificationBlocker(NotificationBlocker* blocker) { in AddNotificationBlocker()
453 NotificationBlocker* blocker) { in RemoveNotificationBlocker()
454 std::vector<NotificationBlocker*>::iterator iter = in RemoveNotificationBlocker()
462 void MessageCenterImpl::OnBlockingStateChanged(NotificationBlocker* blocker) { in OnBlockingStateChanged()
Dmessage_center_tray.cc245 void MessageCenterTray::OnBlockingStateChanged(NotificationBlocker* blocker) { in OnBlockingStateChanged()
Dmessage_center_impl_unittest.cc105 class ToggledNotificationBlocker : public NotificationBlocker {
108 : NotificationBlocker(message_center), in ToggledNotificationBlocker()
348 TEST_F(MessageCenterImplTest, NotificationBlocker) { in TEST_F() argument
/external/chromium_org/ash/first_run/
Ddesktop_cleaner.cc76 class NotificationBlocker : public message_center::NotificationBlocker { class
78 NotificationBlocker() in NotificationBlocker() function in ash::NotificationBlocker
79 : message_center::NotificationBlocker( in NotificationBlocker()
84 virtual ~NotificationBlocker() {}; in ~NotificationBlocker()
93 DISALLOW_COPY_AND_ASSIGN(NotificationBlocker);
104 notification_blocker_.reset(new NotificationBlocker()); in DesktopCleaner()
Ddesktop_cleaner.h17 class NotificationBlocker; variable
34 scoped_ptr<NotificationBlocker> notification_blocker_;
/external/chromium_org/chrome/browser/notifications/
Dlogin_state_notification_blocker_chromeos_browsertest.cc26 public message_center::NotificationBlocker::Observer {
54 message_center::NotificationBlocker* blocker) OVERRIDE { in OnBlockingStateChanged()
71 scoped_ptr<message_center::NotificationBlocker> blocker_;
Dlogin_state_notification_blocker_chromeos_unittest.cc16 public message_center::NotificationBlocker::Observer {
41 message_center::NotificationBlocker* blocker) OVERRIDE { in OnBlockingStateChanged()
58 scoped_ptr<message_center::NotificationBlocker> blocker_;
Dscreen_lock_notification_blocker.h15 : public message_center::NotificationBlocker {
Dmessage_center_notification_manager.h34 class NotificationBlocker; variable
228 ScopedVector<message_center::NotificationBlocker> blockers_;
Dscreen_lock_notification_blocker.cc16 : NotificationBlocker(message_center), in ScreenLockNotificationBlocker()
Dfullscreen_notification_blocker.h15 : public message_center::NotificationBlocker,
Dlogin_state_notification_blocker_chromeos.h21 : public message_center::NotificationBlocker,
Dfullscreen_notification_blocker.cc51 : NotificationBlocker(message_center), in FullscreenNotificationBlocker()
Dlogin_state_notification_blocker_chromeos.cc19 : NotificationBlocker(message_center), in LoginStateNotificationBlockerChromeOS()
/external/chromium_org/chrome/browser/ui/ash/multi_user/
Dmulti_user_notification_blocker_chromeos_unittest.cc21 public message_center::NotificationBlocker::Observer {
63 message_center::NotificationBlocker* blocker) OVERRIDE { in OnBlockingStateChanged()
80 const message_center::NotificationBlocker* blocker() { in blocker()
Dmulti_user_notification_blocker_chromeos.h17 : public message_center::NotificationBlocker {
Dmulti_user_notification_blocker_chromeos.cc15 : NotificationBlocker(message_center), in MultiUserNotificationBlockerChromeOS()