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

Side by Side Diff: ash/system/web_notification/web_notification_tray_unittest.cc

Issue 15735027: Use a direct include of utf_string_conversions.h in android_webview/, apps/, ash/, base/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "ash/system/web_notification/web_notification_tray.h" 5 #include "ash/system/web_notification/web_notification_tray.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "ash/root_window_controller.h" 9 #include "ash/root_window_controller.h"
10 #include "ash/shelf/shelf_widget.h" 10 #include "ash/shelf/shelf_widget.h"
11 #include "ash/shell.h" 11 #include "ash/shell.h"
12 #include "ash/system/status_area_widget.h" 12 #include "ash/system/status_area_widget.h"
13 #include "ash/system/tray/system_tray_item.h" 13 #include "ash/system/tray/system_tray_item.h"
14 #include "ash/test/ash_test_base.h" 14 #include "ash/test/ash_test_base.h"
15 #include "base/stringprintf.h" 15 #include "base/stringprintf.h"
16 #include "base/utf_string_conversions.h" 16 #include "base/strings/utf_string_conversions.h"
17 #include "ui/message_center/message_center_style.h" 17 #include "ui/message_center/message_center_style.h"
18 #include "ui/message_center/message_center_tray.h" 18 #include "ui/message_center/message_center_tray.h"
19 #include "ui/message_center/message_center_util.h" 19 #include "ui/message_center/message_center_util.h"
20 #include "ui/message_center/notification_list.h" 20 #include "ui/message_center/notification_list.h"
21 #include "ui/message_center/notification_types.h" 21 #include "ui/message_center/notification_types.h"
22 #include "ui/message_center/views/message_center_bubble.h" 22 #include "ui/message_center/views/message_center_bubble.h"
23 #include "ui/message_center/views/message_popup_bubble.h" 23 #include "ui/message_center/views/message_popup_bubble.h"
24 #include "ui/message_center/views/message_popup_collection.h" 24 #include "ui/message_center/views/message_popup_collection.h"
25 #include "ui/views/controls/label.h" 25 #include "ui/views/controls/label.h"
26 #include "ui/views/layout/fill_layout.h" 26 #include "ui/views/layout/fill_layout.h"
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 NotificationList::PopupNotifications popups = 194 NotificationList::PopupNotifications popups =
195 GetMessageCenter()->GetPopupNotifications(); 195 GetMessageCenter()->GetPopupNotifications();
196 EXPECT_EQ(message_center::kMaxVisiblePopupNotifications, popups.size()); 196 EXPECT_EQ(message_center::kMaxVisiblePopupNotifications, popups.size());
197 } else { 197 } else {
198 EXPECT_EQ(message_center::kMaxVisiblePopupNotifications, 198 EXPECT_EQ(message_center::kMaxVisiblePopupNotifications,
199 GetTray()->GetPopupBubbleForTest()->NumMessageViewsForTest()); 199 GetTray()->GetPopupBubbleForTest()->NumMessageViewsForTest());
200 } 200 }
201 } 201 }
202 202
203 } // namespace ash 203 } // namespace ash
OLDNEW
« no previous file with comments | « ash/system/web_notification/web_notification_tray.cc ('k') | ash/test/test_launcher_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698