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

Side by Side Diff: ash/test/ash_test_base.cc

Issue 2620153003: Folds WmRootWindowController into RootWindowController (Closed)
Patch Set: merge Created 3 years, 11 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
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/test/ash_test_base.h" 5 #include "ash/test/ash_test_base.h"
6 6
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "ash/common/test/test_session_state_delegate.h" 10 #include "ash/common/test/test_session_state_delegate.h"
11 #include "ash/common/test/test_system_tray_delegate.h" 11 #include "ash/common/test/test_system_tray_delegate.h"
12 #include "ash/common/wm/window_positioner.h" 12 #include "ash/common/wm/window_positioner.h"
13 #include "ash/common/wm_root_window_controller.h"
14 #include "ash/common/wm_shell.h" 13 #include "ash/common/wm_shell.h"
15 #include "ash/common/wm_window.h" 14 #include "ash/common/wm_window.h"
16 #include "ash/display/extended_mouse_warp_controller.h" 15 #include "ash/display/extended_mouse_warp_controller.h"
17 #include "ash/display/mouse_cursor_event_filter.h" 16 #include "ash/display/mouse_cursor_event_filter.h"
18 #include "ash/display/unified_mouse_warp_controller.h" 17 #include "ash/display/unified_mouse_warp_controller.h"
19 #include "ash/display/window_tree_host_manager.h" 18 #include "ash/display/window_tree_host_manager.h"
20 #include "ash/ime/input_method_event_handler.h" 19 #include "ash/ime/input_method_event_handler.h"
20 #include "ash/root_window_controller.h"
21 #include "ash/shell.h" 21 #include "ash/shell.h"
22 #include "ash/shell/toplevel_window.h" 22 #include "ash/shell/toplevel_window.h"
23 #include "ash/test/ash_test_environment.h" 23 #include "ash/test/ash_test_environment.h"
24 #include "ash/test/ash_test_helper.h" 24 #include "ash/test/ash_test_helper.h"
25 #include "ash/test/test_shell_delegate.h" 25 #include "ash/test/test_shell_delegate.h"
26 #include "base/command_line.h" 26 #include "base/command_line.h"
27 #include "services/ui/public/interfaces/window_manager_constants.mojom.h" 27 #include "services/ui/public/interfaces/window_manager_constants.mojom.h"
28 #include "ui/aura/client/aura_constants.h" 28 #include "ui/aura/client/aura_constants.h"
29 #include "ui/aura/client/screen_position_client.h" 29 #include "ui/aura/client/screen_position_client.h"
30 #include "ui/aura/client/window_parenting_client.h" 30 #include "ui/aura/client/window_parenting_client.h"
(...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after
402 402
403 void AshTestBase::SwapPrimaryDisplay() { 403 void AshTestBase::SwapPrimaryDisplay() {
404 if (display::Screen::GetScreen()->GetNumDisplays() <= 1) 404 if (display::Screen::GetScreen()->GetNumDisplays() <= 1)
405 return; 405 return;
406 Shell::GetInstance()->window_tree_host_manager()->SetPrimaryDisplayId( 406 Shell::GetInstance()->window_tree_host_manager()->SetPrimaryDisplayId(
407 display_manager()->GetSecondaryDisplay().id()); 407 display_manager()->GetSecondaryDisplay().id());
408 } 408 }
409 409
410 } // namespace test 410 } // namespace test
411 } // namespace ash 411 } // namespace ash
OLDNEW
« no previous file with comments | « ash/system/web_notification/ash_popup_alignment_delegate_unittest.cc ('k') | ash/wm/always_on_top_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698