HomeSort by relevance Sort by last modified time
    Searched refs:blockers (Results 1 - 5 of 5) sorted by null

  /external/chromium_org/ui/message_center/
notification_list_unittest.cc 94 const NotificationBlockers& blockers() const { return blockers_; } function in class:message_center::NotificationListTest
127 ASSERT_EQ(0u, notification_list()->NotificationCount(blockers()));
128 ASSERT_EQ(0u, notification_list()->UnreadCount(blockers()));
131 EXPECT_EQ(1u, notification_list()->NotificationCount(blockers()));
133 EXPECT_EQ(2u, notification_list()->NotificationCount(blockers()));
134 EXPECT_EQ(2u, notification_list()->UnreadCount(blockers()));
136 EXPECT_TRUE(notification_list()->HasPopupNotifications(blockers()));
145 EXPECT_EQ(2u, notification_list()->NotificationCount(blockers()));
149 EXPECT_EQ(1u, notification_list()->NotificationCount(blockers()));
150 EXPECT_EQ(1u, notification_list()->UnreadCount(blockers()));
    [all...]
notification_list.h 95 bool HasPopupNotifications(const NotificationBlockers& blockers);
100 // It also stores the list of notification ids which is blocked by |blockers|
104 const NotificationBlockers& blockers,
132 const NotificationBlockers& blockers) const;
133 size_t NotificationCount(const NotificationBlockers& blockers) const;
134 size_t UnreadCount(const NotificationBlockers& blockers) const;
notification_list.cc 22 const NotificationBlockers& blockers) {
23 for (size_t i = 0; i < blockers.size(); ++i) {
24 if (!blockers[i]->ShouldShowNotificationAsPopup(notification.notifier_id()))
175 const NotificationBlockers& blockers) {
180 if (!ShouldShowNotificationAsPopup(**iter, blockers))
189 const NotificationBlockers& blockers,
204 if (!ShouldShowNotificationAsPopup(**iter, blockers)) {
279 const NotificationBlockers& blockers) const {
284 for (size_t i = 0; i < blockers.size(); ++i) {
285 if (!blockers[i]->ShouldShowNotification((*iter)->notifier_id()))
    [all...]
message_center_impl.h 208 void RemoveNotifications(bool by_user, const NotificationBlockers& blockers);
message_center_impl.cc 662 const NotificationBlockers& blockers) {
664 notification_list_->GetVisibleNotifications(blockers);

Completed in 1002 milliseconds