Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8371)

Unified Diff: chrome/browser/ui/views/message_center/web_notification_tray_browsertest.cc

Issue 252513004: Reland r265807: "Moves the notification icon out of th..." (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Disable tray size test on Vista since it won't have any effect on a new icon. Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/message_center/web_notification_tray_browsertest.cc
diff --git a/chrome/browser/ui/views/message_center/web_notification_tray_browsertest.cc b/chrome/browser/ui/views/message_center/web_notification_tray_browsertest.cc
index 6e95b0b80a4fa455bdcbaa722f932cfc9fbd9291..1a1889c9f6b786ed734a06bad6edd09358190094 100644
--- a/chrome/browser/ui/views/message_center/web_notification_tray_browsertest.cc
+++ b/chrome/browser/ui/views/message_center/web_notification_tray_browsertest.cc
@@ -136,7 +136,7 @@ IN_PROC_BROWSER_TEST_F(WebNotificationTrayTest, WebNotifications) {
}
IN_PROC_BROWSER_TEST_F(WebNotificationTrayTest, WebNotificationPopupBubble) {
- scoped_ptr<WebNotificationTray> tray(new WebNotificationTray());
+ scoped_ptr<WebNotificationTray> tray(new WebNotificationTray(NULL));
tray->message_center();
// Adding a notification should show the popup bubble.
@@ -162,7 +162,7 @@ using message_center::NotificationList;
// Flaky, see http://crbug.com/222500 .
IN_PROC_BROWSER_TEST_F(WebNotificationTrayTest,
DISABLED_ManyMessageCenterNotifications) {
- scoped_ptr<WebNotificationTray> tray(new WebNotificationTray());
+ scoped_ptr<WebNotificationTray> tray(new WebNotificationTray(NULL));
message_center::MessageCenter* message_center = tray->message_center();
// Add the max visible notifications +1, ensure the correct visible number.
@@ -183,7 +183,7 @@ IN_PROC_BROWSER_TEST_F(WebNotificationTrayTest,
}
IN_PROC_BROWSER_TEST_F(WebNotificationTrayTest, ManyPopupNotifications) {
- scoped_ptr<WebNotificationTray> tray(new WebNotificationTray());
+ scoped_ptr<WebNotificationTray> tray(new WebNotificationTray(NULL));
message_center::MessageCenter* message_center = tray->message_center();
// Add the max visible popup notifications +1, ensure the correct num visible.

Powered by Google App Engine
This is Rietveld 408576698