OLD | NEW |
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/display/display_manager.h" | 5 #include "ash/display/display_manager.h" |
6 | 6 |
7 #include "ash/display/display_controller.h" | 7 #include "ash/display/display_controller.h" |
8 #include "ash/display/display_layout_store.h" | 8 #include "ash/display/display_layout_store.h" |
9 #include "ash/screen_util.h" | 9 #include "ash/screen_util.h" |
10 #include "ash/shell.h" | 10 #include "ash/shell.h" |
11 #include "ash/test/ash_test_base.h" | 11 #include "ash/test/ash_test_base.h" |
12 #include "ash/test/display_manager_test_api.h" | 12 #include "ash/test/display_manager_test_api.h" |
13 #include "ash/test/mirror_window_test_api.h" | 13 #include "ash/test/mirror_window_test_api.h" |
14 #include "base/format_macros.h" | 14 #include "base/format_macros.h" |
15 #include "base/strings/string_number_conversions.h" | 15 #include "base/strings/string_number_conversions.h" |
16 #include "base/strings/stringprintf.h" | 16 #include "base/strings/stringprintf.h" |
17 #include "ui/aura/env.h" | 17 #include "ui/aura/env.h" |
18 #include "ui/aura/root_window.h" | |
19 #include "ui/aura/test/event_generator.h" | 18 #include "ui/aura/test/event_generator.h" |
| 19 #include "ui/aura/window_event_dispatcher.h" |
20 #include "ui/aura/window_observer.h" | 20 #include "ui/aura/window_observer.h" |
21 #include "ui/gfx/display_observer.h" | 21 #include "ui/gfx/display_observer.h" |
22 #include "ui/gfx/display.h" | 22 #include "ui/gfx/display.h" |
23 #include "ui/gfx/screen.h" | 23 #include "ui/gfx/screen.h" |
24 #include "ui/gfx/screen_type_delegate.h" | 24 #include "ui/gfx/screen_type_delegate.h" |
25 | 25 |
26 namespace ash { | 26 namespace ash { |
27 namespace internal { | 27 namespace internal { |
28 | 28 |
29 using std::vector; | 29 using std::vector; |
(...skipping 1197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1227 }; | 1227 }; |
1228 | 1228 |
1229 TEST_F(ScreenShutdownTest, ScreenAfterShutdown) { | 1229 TEST_F(ScreenShutdownTest, ScreenAfterShutdown) { |
1230 if (!SupportsMultipleDisplays()) | 1230 if (!SupportsMultipleDisplays()) |
1231 return; | 1231 return; |
1232 UpdateDisplay("500x300,800x400"); | 1232 UpdateDisplay("500x300,800x400"); |
1233 } | 1233 } |
1234 | 1234 |
1235 } // namespace internal | 1235 } // namespace internal |
1236 } // namespace ash | 1236 } // namespace ash |
OLD | NEW |