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/root_window_controller.h" | 5 #include "ash/root_window_controller.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <queue> | 8 #include <queue> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
| 11 #include "ash/ash_constants.h" |
| 12 #include "ash/ash_switches.h" |
11 #include "ash/ash_touch_exploration_manager_chromeos.h" | 13 #include "ash/ash_touch_exploration_manager_chromeos.h" |
12 #include "ash/aura/aura_layout_manager_adapter.h" | 14 #include "ash/aura/aura_layout_manager_adapter.h" |
13 #include "ash/common/ash_constants.h" | 15 #include "ash/focus_cycler.h" |
14 #include "ash/common/ash_switches.h" | |
15 #include "ash/common/focus_cycler.h" | |
16 #include "ash/common/login_status.h" | |
17 #include "ash/common/session/session_state_delegate.h" | |
18 #include "ash/common/shelf/shelf_delegate.h" | |
19 #include "ash/common/shelf/shelf_layout_manager.h" | |
20 #include "ash/common/shelf/shelf_widget.h" | |
21 #include "ash/common/shelf/wm_shelf.h" | |
22 #include "ash/common/shell_delegate.h" | |
23 #include "ash/common/wallpaper/wallpaper_delegate.h" | |
24 #include "ash/common/wallpaper/wallpaper_widget_controller.h" | |
25 #include "ash/common/wm/always_on_top_controller.h" | |
26 #include "ash/common/wm/container_finder.h" | |
27 #include "ash/common/wm/dock/docked_window_layout_manager.h" | |
28 #include "ash/common/wm/fullscreen_window_finder.h" | |
29 #include "ash/common/wm/lock_layout_manager.h" | |
30 #include "ash/common/wm/panels/panel_layout_manager.h" | |
31 #include "ash/common/wm/root_window_layout_manager.h" | |
32 #include "ash/common/wm/switchable_windows.h" | |
33 #include "ash/common/wm/system_modal_container_layout_manager.h" | |
34 #include "ash/common/wm/window_state.h" | |
35 #include "ash/common/wm/wm_screen_util.h" | |
36 #include "ash/common/wm/workspace/workspace_layout_manager.h" | |
37 #include "ash/common/wm/workspace_controller.h" | |
38 #include "ash/common/wm_shell.h" | |
39 #include "ash/common/wm_window.h" | |
40 #include "ash/high_contrast/high_contrast_controller.h" | 16 #include "ash/high_contrast/high_contrast_controller.h" |
41 #include "ash/host/ash_window_tree_host.h" | 17 #include "ash/host/ash_window_tree_host.h" |
| 18 #include "ash/login_status.h" |
42 #include "ash/public/cpp/shelf_types.h" | 19 #include "ash/public/cpp/shelf_types.h" |
43 #include "ash/public/cpp/shell_window_ids.h" | 20 #include "ash/public/cpp/shell_window_ids.h" |
44 #include "ash/root_window_settings.h" | 21 #include "ash/root_window_settings.h" |
| 22 #include "ash/session/session_state_delegate.h" |
| 23 #include "ash/shelf/shelf_delegate.h" |
| 24 #include "ash/shelf/shelf_layout_manager.h" |
| 25 #include "ash/shelf/shelf_widget.h" |
45 #include "ash/shelf/shelf_window_targeter.h" | 26 #include "ash/shelf/shelf_window_targeter.h" |
| 27 #include "ash/shelf/wm_shelf.h" |
46 #include "ash/shell.h" | 28 #include "ash/shell.h" |
| 29 #include "ash/shell_delegate.h" |
47 #include "ash/system/status_area_layout_manager.h" | 30 #include "ash/system/status_area_layout_manager.h" |
48 #include "ash/system/status_area_widget.h" | 31 #include "ash/system/status_area_widget.h" |
49 #include "ash/system/tray/system_tray_delegate.h" | 32 #include "ash/system/tray/system_tray_delegate.h" |
50 #include "ash/touch/touch_hud_debug.h" | 33 #include "ash/touch/touch_hud_debug.h" |
51 #include "ash/touch/touch_hud_projection.h" | 34 #include "ash/touch/touch_hud_projection.h" |
52 #include "ash/touch/touch_observer_hud.h" | 35 #include "ash/touch/touch_observer_hud.h" |
| 36 #include "ash/wallpaper/wallpaper_delegate.h" |
| 37 #include "ash/wallpaper/wallpaper_widget_controller.h" |
| 38 #include "ash/wm/always_on_top_controller.h" |
53 #include "ash/wm/boot_splash_screen_chromeos.h" | 39 #include "ash/wm/boot_splash_screen_chromeos.h" |
| 40 #include "ash/wm/container_finder.h" |
| 41 #include "ash/wm/dock/docked_window_layout_manager.h" |
| 42 #include "ash/wm/fullscreen_window_finder.h" |
| 43 #include "ash/wm/lock_layout_manager.h" |
54 #include "ash/wm/panels/attached_panel_window_targeter.h" | 44 #include "ash/wm/panels/attached_panel_window_targeter.h" |
| 45 #include "ash/wm/panels/panel_layout_manager.h" |
55 #include "ash/wm/panels/panel_window_event_handler.h" | 46 #include "ash/wm/panels/panel_window_event_handler.h" |
| 47 #include "ash/wm/root_window_layout_manager.h" |
56 #include "ash/wm/stacking_controller.h" | 48 #include "ash/wm/stacking_controller.h" |
| 49 #include "ash/wm/switchable_windows.h" |
| 50 #include "ash/wm/system_modal_container_layout_manager.h" |
57 #include "ash/wm/system_wallpaper_controller.h" | 51 #include "ash/wm/system_wallpaper_controller.h" |
58 #include "ash/wm/window_properties.h" | 52 #include "ash/wm/window_properties.h" |
| 53 #include "ash/wm/window_state.h" |
59 #include "ash/wm/window_state_aura.h" | 54 #include "ash/wm/window_state_aura.h" |
60 #include "ash/wm/window_util.h" | 55 #include "ash/wm/window_util.h" |
| 56 #include "ash/wm/wm_screen_util.h" |
| 57 #include "ash/wm/workspace/workspace_layout_manager.h" |
| 58 #include "ash/wm/workspace_controller.h" |
| 59 #include "ash/wm_shell.h" |
| 60 #include "ash/wm_window.h" |
61 #include "base/command_line.h" | 61 #include "base/command_line.h" |
62 #include "base/macros.h" | 62 #include "base/macros.h" |
63 #include "base/memory/ptr_util.h" | 63 #include "base/memory/ptr_util.h" |
64 #include "base/time/time.h" | 64 #include "base/time/time.h" |
65 #include "chromeos/chromeos_switches.h" | 65 #include "chromeos/chromeos_switches.h" |
66 #include "ui/aura/client/aura_constants.h" | 66 #include "ui/aura/client/aura_constants.h" |
67 #include "ui/aura/client/drag_drop_client.h" | 67 #include "ui/aura/client/drag_drop_client.h" |
68 #include "ui/aura/client/screen_position_client.h" | 68 #include "ui/aura/client/screen_position_client.h" |
69 #include "ui/aura/mus/window_mus.h" | 69 #include "ui/aura/mus/window_mus.h" |
70 #include "ui/aura/mus/window_port_mus.h" | 70 #include "ui/aura/mus/window_port_mus.h" |
(...skipping 1084 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1155 EnableTouchHudProjection(); | 1155 EnableTouchHudProjection(); |
1156 else | 1156 else |
1157 DisableTouchHudProjection(); | 1157 DisableTouchHudProjection(); |
1158 } | 1158 } |
1159 | 1159 |
1160 RootWindowController* GetRootWindowController(const aura::Window* root_window) { | 1160 RootWindowController* GetRootWindowController(const aura::Window* root_window) { |
1161 return root_window ? GetRootWindowSettings(root_window)->controller : nullptr; | 1161 return root_window ? GetRootWindowSettings(root_window)->controller : nullptr; |
1162 } | 1162 } |
1163 | 1163 |
1164 } // namespace ash | 1164 } // namespace ash |
OLD | NEW |