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 <queue> | 7 #include <queue> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "ash/aura/aura_layout_manager_adapter.h" | 10 #include "ash/aura/aura_layout_manager_adapter.h" |
(...skipping 20 matching lines...) Expand all Loading... |
31 #include "ash/common/wm/fullscreen_window_finder.h" | 31 #include "ash/common/wm/fullscreen_window_finder.h" |
32 #include "ash/common/wm/panels/panel_layout_manager.h" | 32 #include "ash/common/wm/panels/panel_layout_manager.h" |
33 #include "ash/common/wm/root_window_layout_manager.h" | 33 #include "ash/common/wm/root_window_layout_manager.h" |
34 #include "ash/common/wm/switchable_windows.h" | 34 #include "ash/common/wm/switchable_windows.h" |
35 #include "ash/common/wm/system_modal_container_layout_manager.h" | 35 #include "ash/common/wm/system_modal_container_layout_manager.h" |
36 #include "ash/common/wm/window_state.h" | 36 #include "ash/common/wm/window_state.h" |
37 #include "ash/common/wm/workspace/workspace_layout_manager.h" | 37 #include "ash/common/wm/workspace/workspace_layout_manager.h" |
38 #include "ash/common/wm/workspace_controller.h" | 38 #include "ash/common/wm/workspace_controller.h" |
39 #include "ash/common/wm_shell.h" | 39 #include "ash/common/wm_shell.h" |
40 #include "ash/common/wm_window.h" | 40 #include "ash/common/wm_window.h" |
41 #include "ash/display/display_manager.h" | |
42 #include "ash/high_contrast/high_contrast_controller.h" | 41 #include "ash/high_contrast/high_contrast_controller.h" |
43 #include "ash/host/ash_window_tree_host.h" | 42 #include "ash/host/ash_window_tree_host.h" |
44 #include "ash/public/cpp/shelf_types.h" | 43 #include "ash/public/cpp/shelf_types.h" |
45 #include "ash/public/cpp/shell_window_ids.h" | 44 #include "ash/public/cpp/shell_window_ids.h" |
46 #include "ash/root_window_settings.h" | 45 #include "ash/root_window_settings.h" |
47 #include "ash/shelf/shelf_window_targeter.h" | 46 #include "ash/shelf/shelf_window_targeter.h" |
48 #include "ash/shell.h" | 47 #include "ash/shell.h" |
49 #include "ash/touch/touch_hud_debug.h" | 48 #include "ash/touch/touch_hud_debug.h" |
50 #include "ash/touch/touch_hud_projection.h" | 49 #include "ash/touch/touch_hud_projection.h" |
51 #include "ash/touch/touch_observer_hud.h" | 50 #include "ash/touch/touch_observer_hud.h" |
52 #include "ash/wm/panels/attached_panel_window_targeter.h" | 51 #include "ash/wm/panels/attached_panel_window_targeter.h" |
53 #include "ash/wm/panels/panel_window_event_handler.h" | 52 #include "ash/wm/panels/panel_window_event_handler.h" |
54 #include "ash/wm/stacking_controller.h" | 53 #include "ash/wm/stacking_controller.h" |
55 #include "ash/wm/system_wallpaper_controller.h" | 54 #include "ash/wm/system_wallpaper_controller.h" |
56 #include "ash/wm/window_properties.h" | 55 #include "ash/wm/window_properties.h" |
57 #include "ash/wm/window_state_aura.h" | 56 #include "ash/wm/window_state_aura.h" |
58 #include "ash/wm/window_util.h" | 57 #include "ash/wm/window_util.h" |
59 #include "base/command_line.h" | 58 #include "base/command_line.h" |
60 #include "base/macros.h" | 59 #include "base/macros.h" |
61 #include "base/memory/ptr_util.h" | 60 #include "base/memory/ptr_util.h" |
62 #include "base/time/time.h" | 61 #include "base/time/time.h" |
63 #include "ui/aura/client/aura_constants.h" | 62 #include "ui/aura/client/aura_constants.h" |
64 #include "ui/aura/client/drag_drop_client.h" | 63 #include "ui/aura/client/drag_drop_client.h" |
65 #include "ui/aura/client/screen_position_client.h" | 64 #include "ui/aura/client/screen_position_client.h" |
66 #include "ui/aura/window.h" | 65 #include "ui/aura/window.h" |
67 #include "ui/aura/window_event_dispatcher.h" | 66 #include "ui/aura/window_event_dispatcher.h" |
68 #include "ui/aura/window_observer.h" | 67 #include "ui/aura/window_observer.h" |
69 #include "ui/aura/window_tracker.h" | 68 #include "ui/aura/window_tracker.h" |
70 #include "ui/display/display.h" | 69 #include "ui/display/display.h" |
| 70 #include "ui/display/manager/display_manager.h" |
71 #include "ui/display/screen.h" | 71 #include "ui/display/screen.h" |
72 #include "ui/keyboard/keyboard_controller.h" | 72 #include "ui/keyboard/keyboard_controller.h" |
73 #include "ui/keyboard/keyboard_util.h" | 73 #include "ui/keyboard/keyboard_util.h" |
74 #include "ui/views/view_model.h" | 74 #include "ui/views/view_model.h" |
75 #include "ui/views/view_model_utils.h" | 75 #include "ui/views/view_model_utils.h" |
76 #include "ui/wm/core/capture_controller.h" | 76 #include "ui/wm/core/capture_controller.h" |
77 #include "ui/wm/core/visibility_controller.h" | 77 #include "ui/wm/core/visibility_controller.h" |
78 #include "ui/wm/core/window_util.h" | 78 #include "ui/wm/core/window_util.h" |
79 #include "ui/wm/public/tooltip_client.h" | 79 #include "ui/wm/public/tooltip_client.h" |
80 #include "ui/wm/public/window_types.h" | 80 #include "ui/wm/public/window_types.h" |
(...skipping 487 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
568 EnableTouchHudProjection(); | 568 EnableTouchHudProjection(); |
569 else | 569 else |
570 DisableTouchHudProjection(); | 570 DisableTouchHudProjection(); |
571 } | 571 } |
572 | 572 |
573 RootWindowController* GetRootWindowController(const aura::Window* root_window) { | 573 RootWindowController* GetRootWindowController(const aura::Window* root_window) { |
574 return root_window ? GetRootWindowSettings(root_window)->controller : nullptr; | 574 return root_window ? GetRootWindowSettings(root_window)->controller : nullptr; |
575 } | 575 } |
576 | 576 |
577 } // namespace ash | 577 } // namespace ash |
OLD | NEW |