OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 "ash/display/mirror_window_controller.h" | 5 #include "ash/display/mirror_window_controller.h" |
6 | 6 |
7 #include "ash/ash_switches.h" | 7 #include "ash/common/ash_switches.h" |
8 #include "ash/display/display_manager.h" | 8 #include "ash/display/display_manager.h" |
9 #include "ash/display/window_tree_host_manager.h" | 9 #include "ash/display/window_tree_host_manager.h" |
10 #include "ash/screen_util.h" | 10 #include "ash/screen_util.h" |
11 #include "ash/shell.h" | 11 #include "ash/shell.h" |
12 #include "ash/test/ash_test_base.h" | 12 #include "ash/test/ash_test_base.h" |
13 #include "ash/test/cursor_manager_test_api.h" | 13 #include "ash/test/cursor_manager_test_api.h" |
14 #include "ash/test/display_manager_test_api.h" | 14 #include "ash/test/display_manager_test_api.h" |
15 #include "ash/test/mirror_window_test_api.h" | 15 #include "ash/test/mirror_window_test_api.h" |
16 #include "base/command_line.h" | 16 #include "base/command_line.h" |
17 #include "base/strings/stringprintf.h" | 17 #include "base/strings/stringprintf.h" |
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
299 | 299 |
300 TEST_F(MirrorOnBootTest, MAYBE_MirrorOnBoot) { | 300 TEST_F(MirrorOnBootTest, MAYBE_MirrorOnBoot) { |
301 DisplayManager* display_manager = Shell::GetInstance()->display_manager(); | 301 DisplayManager* display_manager = Shell::GetInstance()->display_manager(); |
302 EXPECT_TRUE(display_manager->IsInMirrorMode()); | 302 EXPECT_TRUE(display_manager->IsInMirrorMode()); |
303 RunAllPendingInMessageLoop(); | 303 RunAllPendingInMessageLoop(); |
304 test::MirrorWindowTestApi test_api; | 304 test::MirrorWindowTestApi test_api; |
305 EXPECT_TRUE(test_api.GetHost()); | 305 EXPECT_TRUE(test_api.GetHost()); |
306 } | 306 } |
307 | 307 |
308 } // namespace ash | 308 } // namespace ash |
OLD | NEW |