Home
last modified time | relevance | path

Searched refs:NotificationCount (Results 1 – 18 of 18) sorted by relevance

/external/chromium_org/chrome/browser/ui/views/message_center/
Dweb_notification_tray_browsertest.cc118 EXPECT_EQ(1u, message_center->NotificationCount()); in IN_PROC_BROWSER_TEST_F()
123 EXPECT_EQ(2u, message_center->NotificationCount()); in IN_PROC_BROWSER_TEST_F()
129 EXPECT_EQ(2u, message_center->NotificationCount()); in IN_PROC_BROWSER_TEST_F()
135 EXPECT_EQ(1u, message_center->NotificationCount()); in IN_PROC_BROWSER_TEST_F()
139 EXPECT_EQ(0u, message_center->NotificationCount()); in IN_PROC_BROWSER_TEST_F()
185 EXPECT_EQ(notifications_to_add, message_center->NotificationCount()); in IN_PROC_BROWSER_TEST_F()
213 EXPECT_EQ(notifications_to_add, message_center->NotificationCount()); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/ui/message_center/
Dnotification_list_unittest.cc127 ASSERT_EQ(0u, notification_list()->NotificationCount(blockers())); in TEST_F()
131 EXPECT_EQ(1u, notification_list()->NotificationCount(blockers())); in TEST_F()
133 EXPECT_EQ(2u, notification_list()->NotificationCount(blockers())); in TEST_F()
145 EXPECT_EQ(2u, notification_list()->NotificationCount(blockers())); in TEST_F()
149 EXPECT_EQ(1u, notification_list()->NotificationCount(blockers())); in TEST_F()
153 EXPECT_EQ(2u, notification_list()->NotificationCount(blockers())); in TEST_F()
158 EXPECT_EQ(1u, notification_list()->NotificationCount(blockers())); in TEST_F()
185 EXPECT_EQ(1u, notification_list()->NotificationCount(blockers())); in TEST_F()
197 EXPECT_EQ(1u, notification_list()->NotificationCount(blockers())); in TEST_F()
333 ASSERT_EQ(0u, notification_list()->NotificationCount(blockers())); in TEST_F()
[all …]
Dmessage_center_impl_unittest.cc521 EXPECT_EQ(1u, message_center()->NotificationCount()); in TEST_F()
547 EXPECT_EQ(2u, message_center()->NotificationCount()); in TEST_F()
555 EXPECT_EQ(4u, message_center()->NotificationCount()); in TEST_F()
565 EXPECT_EQ(0u, message_center()->NotificationCount()); in TEST_F()
567 EXPECT_EQ(2u, message_center()->NotificationCount()); in TEST_F()
577 EXPECT_EQ(0u, message_center()->NotificationCount()); in TEST_F()
Dfake_message_center.cc29 size_t FakeMessageCenter::NotificationCount() const { in NotificationCount() function in message_center::FakeMessageCenter
Dmessage_center_tray.cc162 if (message_center_visible_ && message_center_->NotificationCount() == 0) in OnMessageCenterChanged()
Dnotification_list.h133 size_t NotificationCount(const NotificationBlockers& blockers) const;
Dmessage_center.h56 virtual size_t NotificationCount() const = 0;
Dfake_message_center.h26 virtual size_t NotificationCount() const OVERRIDE;
Dmessage_center_impl.h150 virtual size_t NotificationCount() const OVERRIDE;
Dnotification_list.cc297 size_t NotificationList::NotificationCount( in NotificationCount() function in message_center::NotificationList
Dmessage_center_impl.cc505 size_t MessageCenterImpl::NotificationCount() const { in NotificationCount() function in message_center::MessageCenterImpl
/external/chromium_org/chrome/browser/download/
Ddownload_status_updater_unittest.cc33 size_t NotificationCount() { in NotificationCount() function in TestDownloadStatusUpdater
258 size_t expected_notifications = updater_->NotificationCount(); in TEST_F()
266 ASSERT_EQ(expected_notifications, updater_->NotificationCount()); in TEST_F()
272 ASSERT_EQ(expected_notifications, updater_->NotificationCount()); in TEST_F()
278 ASSERT_EQ(expected_notifications, updater_->NotificationCount()); in TEST_F()
284 ASSERT_EQ(expected_notifications, updater_->NotificationCount()); in TEST_F()
/external/chromium_org/ash/system/web_notification/
Dweb_notification_tray_unittest.cc167 EXPECT_EQ(1u, GetMessageCenter()->NotificationCount()); in TEST_F()
171 EXPECT_EQ(2u, GetMessageCenter()->NotificationCount()); in TEST_F()
177 EXPECT_EQ(2u, GetMessageCenter()->NotificationCount()); in TEST_F()
183 EXPECT_EQ(1u, GetMessageCenter()->NotificationCount()); in TEST_F()
187 EXPECT_EQ(0u, GetMessageCenter()->NotificationCount()); in TEST_F()
240 GetMessageCenter()->NotificationCount()); in TEST_F()
258 GetMessageCenter()->NotificationCount()); in TEST_F()
Dweb_notification_tray.cc592 (message_center->NotificationCount() > 0)); in UpdateTrayContent()
/external/chromium_org/chrome/browser/notifications/
Dmessage_center_notification_manager_win.cc39 0 == message_center_->NotificationCount()) { in CheckFirstRunTimer()
Dmessage_center_notifications_browsertest.cc182 EXPECT_EQ(1u, message_center()->NotificationCount()); in IN_PROC_BROWSER_TEST_F()
184 EXPECT_EQ(0u, message_center()->NotificationCount()); in IN_PROC_BROWSER_TEST_F()
Dnotification_browsertest.cc252 return message_center::MessageCenter::Get()->NotificationCount(); in GetNotificationCount()
/external/chromium_org/chrome/browser/extensions/
Dextension_crash_recovery_browsertest.cc125 ASSERT_GT(message_center->NotificationCount(), index); in AcceptNotification()
144 ASSERT_GT(message_center->NotificationCount(), index); in CancelNotification()
160 return message_center::MessageCenter::Get()->NotificationCount(); in CountBalloons()