| OLD | NEW |
| 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 "ash/test/ash_test_helper.h" | 5 #include "ash/test/ash_test_helper.h" |
| 6 | 6 |
| 7 #include "ash/accelerators/accelerator_controller_delegate_aura.h" | 7 #include "ash/accelerators/accelerator_controller_delegate_aura.h" |
| 8 #include "ash/aura/wm_shell_aura.h" | 8 #include "ash/aura/wm_shell_aura.h" |
| 9 #include "ash/common/test/test_session_state_delegate.h" | 9 #include "ash/common/test/test_session_state_delegate.h" |
| 10 #include "ash/common/test/test_system_tray_delegate.h" | 10 #include "ash/common/test/test_system_tray_delegate.h" |
| 11 #include "ash/common/test/wm_shell_test_api.h" | |
| 12 #include "ash/common/wm_shell.h" | 11 #include "ash/common/wm_shell.h" |
| 13 #include "ash/common/wm_window.h" | 12 #include "ash/common/wm_window.h" |
| 14 #include "ash/mus/screen_mus.h" | 13 #include "ash/mus/screen_mus.h" |
| 15 #include "ash/mus/window_manager.h" | 14 #include "ash/mus/window_manager.h" |
| 16 #include "ash/mus/window_manager_application.h" | 15 #include "ash/mus/window_manager_application.h" |
| 17 #include "ash/shell.h" | 16 #include "ash/shell.h" |
| 18 #include "ash/shell_init_params.h" | 17 #include "ash/shell_init_params.h" |
| 19 #include "ash/system/chromeos/screen_layout_observer.h" | 18 #include "ash/system/chromeos/screen_layout_observer.h" |
| 20 #include "ash/test/ash_test_environment.h" | 19 #include "ash/test/ash_test_environment.h" |
| 21 #include "ash/test/ash_test_views_delegate.h" | 20 #include "ash/test/ash_test_views_delegate.h" |
| (...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 371 std::set<RootWindowController*> roots = | 370 std::set<RootWindowController*> roots = |
| 372 window_manager_app_->window_manager()->GetRootWindowControllers(); | 371 window_manager_app_->window_manager()->GetRootWindowControllers(); |
| 373 std::vector<RootWindowController*> ordered_roots; | 372 std::vector<RootWindowController*> ordered_roots; |
| 374 ordered_roots.insert(ordered_roots.begin(), roots.begin(), roots.end()); | 373 ordered_roots.insert(ordered_roots.begin(), roots.begin(), roots.end()); |
| 375 std::sort(ordered_roots.begin(), ordered_roots.end(), &CompareByDisplayId); | 374 std::sort(ordered_roots.begin(), ordered_roots.end(), &CompareByDisplayId); |
| 376 return ordered_roots; | 375 return ordered_roots; |
| 377 } | 376 } |
| 378 | 377 |
| 379 } // namespace test | 378 } // namespace test |
| 380 } // namespace ash | 379 } // namespace ash |
| OLD | NEW |