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

Side by Side Diff: ash/system/tray/system_tray_unittest.cc

Issue 2734733002: Revert "chromeos: Move files in //ash/common to //ash, part 3" (Closed)
Patch Set: 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
« no previous file with comments | « ash/system/tray/system_tray_notifier.h ('k') | ash/system/tray/tray_background_view.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/tray/system_tray.h" 5 #include "ash/system/tray/system_tray.h"
6 6
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "ash/accelerators/accelerator_controller.h" 10 #include "ash/accelerators/accelerator_controller.h"
11 #include "ash/accessibility_delegate.h" 11 #include "ash/common/accessibility_delegate.h"
12 #include "ash/common/wm_shell.h"
13 #include "ash/common/wm_window.h"
12 #include "ash/public/cpp/shell_window_ids.h" 14 #include "ash/public/cpp/shell_window_ids.h"
13 #include "ash/root_window_controller.h" 15 #include "ash/root_window_controller.h"
14 #include "ash/shelf/wm_shelf.h" 16 #include "ash/shelf/wm_shelf.h"
15 #include "ash/system/status_area_widget.h" 17 #include "ash/system/status_area_widget.h"
16 #include "ash/system/tray/system_tray_bubble.h" 18 #include "ash/system/tray/system_tray_bubble.h"
17 #include "ash/system/tray/system_tray_item.h" 19 #include "ash/system/tray/system_tray_item.h"
18 #include "ash/system/tray/tray_constants.h" 20 #include "ash/system/tray/tray_constants.h"
19 #include "ash/system/tray/tray_popup_item_container.h" 21 #include "ash/system/tray/tray_popup_item_container.h"
20 #include "ash/system/web_notification/web_notification_tray.h" 22 #include "ash/system/web_notification/web_notification_tray.h"
21 #include "ash/test/ash_test_base.h" 23 #include "ash/test/ash_test_base.h"
22 #include "ash/test/status_area_widget_test_helper.h" 24 #include "ash/test/status_area_widget_test_helper.h"
23 #include "ash/test/test_system_tray_item.h" 25 #include "ash/test/test_system_tray_item.h"
24 #include "ash/wm_shell.h"
25 #include "ash/wm_window.h"
26 #include "base/memory/ptr_util.h" 26 #include "base/memory/ptr_util.h"
27 #include "base/run_loop.h" 27 #include "base/run_loop.h"
28 #include "base/test/histogram_tester.h" 28 #include "base/test/histogram_tester.h"
29 #include "ui/base/ui_base_types.h" 29 #include "ui/base/ui_base_types.h"
30 #include "ui/compositor/scoped_animation_duration_scale_mode.h" 30 #include "ui/compositor/scoped_animation_duration_scale_mode.h"
31 #include "ui/events/test/event_generator.h" 31 #include "ui/events/test/event_generator.h"
32 #include "ui/gfx/geometry/point.h" 32 #include "ui/gfx/geometry/point.h"
33 #include "ui/gfx/geometry/rect.h" 33 #include "ui/gfx/geometry/rect.h"
34 #include "ui/views/controls/separator.h" 34 #include "ui/views/controls/separator.h"
35 #include "ui/views/view.h" 35 #include "ui/views/view.h"
(...skipping 517 matching lines...) Expand 10 before | Expand all | Expand 10 after
553 553
554 EXPECT_EQ(0, notification_tray->tray_bubble_height_for_test()); 554 EXPECT_EQ(0, notification_tray->tray_bubble_height_for_test());
555 } 555 }
556 556
557 TEST_F(SystemTrayTest, SeparatorThickness) { 557 TEST_F(SystemTrayTest, SeparatorThickness) {
558 EXPECT_EQ(kSeparatorWidth, views::Separator::kThickness); 558 EXPECT_EQ(kSeparatorWidth, views::Separator::kThickness);
559 } 559 }
560 560
561 } // namespace test 561 } // namespace test
562 } // namespace ash 562 } // namespace ash
OLDNEW
« no previous file with comments | « ash/system/tray/system_tray_notifier.h ('k') | ash/system/tray/tray_background_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698