summaryrefslogtreecommitdiffstats
path: root/ash/system
diff options
context:
space:
mode:
authordewittj@chromium.org <dewittj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-09-24 06:59:36 +0000
committerdewittj@chromium.org <dewittj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-09-24 06:59:36 +0000
commitae37e7a768dec3692bef8214160bd9ee0e34a4e5 (patch)
treef5d8d27f83b69bb4f72b3025d9766c32a84cbc85 /ash/system
parent02e59b133c90bd62b1133673d867bfc7f7325aee (diff)
downloadchromium_src-ae37e7a768dec3692bef8214160bd9ee0e34a4e5.zip
chromium_src-ae37e7a768dec3692bef8214160bd9ee0e34a4e5.tar.gz
chromium_src-ae37e7a768dec3692bef8214160bd9ee0e34a4e5.tar.bz2
Queue notification center deletes while visible to the user.
This extends the notification center queueing system to support deletes. Formerly they would just pass through to the views, causing re-rendering artifacts. R=jianli@chromium.org TBR=oshima@chromium.org,stevenjb@chromium.org,benwells@chromium.org BUG=267066 Review URL: https://chromiumcodereview.appspot.com/24258004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@224931 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/system')
-rw-r--r--ash/system/chromeos/tray_display_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ash/system/chromeos/tray_display_unittest.cc b/ash/system/chromeos/tray_display_unittest.cc
index 1abbbd2..9cb9fee 100644
--- a/ash/system/chromeos/tray_display_unittest.cc
+++ b/ash/system/chromeos/tray_display_unittest.cc
@@ -148,7 +148,7 @@ base::string16 TrayDisplayTest::GetDisplayNotificationAdditionalText() const {
const message_center::Notification* TrayDisplayTest::GetDisplayNotification()
const {
const message_center::NotificationList::Notifications notifications =
- message_center::MessageCenter::Get()->GetNotifications();
+ message_center::MessageCenter::Get()->GetVisibleNotifications();
for (message_center::NotificationList::Notifications::const_iterator iter =
notifications.begin(); iter != notifications.end(); ++iter) {
if ((*iter)->id() == TrayDisplay::kNotificationId)