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

Side by Side Diff: chrome/browser/ui/views/message_center/web_notification_tray_browsertest.cc

Issue 2732813002: chromeos: Move files in //ash/common to //ash, part 1 (Closed)
Patch Set: rebase Created 3 years, 9 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/ui/views/message_center/web_notification_tray.h" 5 #include "chrome/browser/ui/views/message_center/web_notification_tray.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <set> 9 #include <set>
10 10
11 #include "ash/common/system/status_area_widget.h"
12 #include "ash/common/system/tray/system_tray_item.h"
13 #include "ash/root_window_controller.h" 11 #include "ash/root_window_controller.h"
12 #include "ash/system/status_area_widget.h"
13 #include "ash/system/tray/system_tray_item.h"
14 #include "base/macros.h" 14 #include "base/macros.h"
15 #include "base/strings/stringprintf.h" 15 #include "base/strings/stringprintf.h"
16 #include "base/strings/utf_string_conversions.h" 16 #include "base/strings/utf_string_conversions.h"
17 #include "chrome/browser/browser_process.h" 17 #include "chrome/browser/browser_process.h"
18 #include "chrome/browser/notifications/message_center_notification_manager.h" 18 #include "chrome/browser/notifications/message_center_notification_manager.h"
19 #include "chrome/browser/notifications/notification.h" 19 #include "chrome/browser/notifications/notification.h"
20 #include "chrome/browser/notifications/notification_delegate.h" 20 #include "chrome/browser/notifications/notification_delegate.h"
21 #include "chrome/browser/notifications/notification_ui_manager.h" 21 #include "chrome/browser/notifications/notification_ui_manager.h"
22 #include "chrome/browser/ui/browser.h" 22 #include "chrome/browser/ui/browser.h"
23 #include "chrome/test/base/in_process_browser_test.h" 23 #include "chrome/test/base/in_process_browser_test.h"
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 tray->message_center_tray_->HidePopupBubble(); 187 tray->message_center_tray_->HidePopupBubble();
188 tray->message_center_tray_->ShowPopupBubble(); 188 tray->message_center_tray_->ShowPopupBubble();
189 EXPECT_TRUE(tray->message_center_tray_->popups_visible()); 189 EXPECT_TRUE(tray->message_center_tray_->popups_visible());
190 EXPECT_EQ(notifications_to_add, message_center->NotificationCount()); 190 EXPECT_EQ(notifications_to_add, message_center->NotificationCount());
191 NotificationList::PopupNotifications popups = 191 NotificationList::PopupNotifications popups =
192 message_center->GetPopupNotifications(); 192 message_center->GetPopupNotifications();
193 EXPECT_EQ(kMaxVisiblePopupNotifications, popups.size()); 193 EXPECT_EQ(kMaxVisiblePopupNotifications, popups.size());
194 } 194 }
195 195
196 } // namespace message_center 196 } // namespace message_center
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698