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

Side by Side Diff: ash/root_window_controller.cc

Issue 2430593002: mash: Use ash shell window container ids instead of ash::mojom::Container (Closed)
Patch Set: rebase Created 4 years, 2 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
« no previous file with comments | « ash/public/interfaces/container.mojom ('k') | ash/root_window_controller_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/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"
11 #include "ash/aura/wm_root_window_controller_aura.h" 11 #include "ash/aura/wm_root_window_controller_aura.h"
12 #include "ash/aura/wm_shelf_aura.h" 12 #include "ash/aura/wm_shelf_aura.h"
13 #include "ash/aura/wm_window_aura.h" 13 #include "ash/aura/wm_window_aura.h"
14 #include "ash/common/ash_constants.h" 14 #include "ash/common/ash_constants.h"
15 #include "ash/common/ash_switches.h" 15 #include "ash/common/ash_switches.h"
16 #include "ash/common/focus_cycler.h" 16 #include "ash/common/focus_cycler.h"
17 #include "ash/common/login_status.h" 17 #include "ash/common/login_status.h"
18 #include "ash/common/session/session_state_delegate.h" 18 #include "ash/common/session/session_state_delegate.h"
19 #include "ash/common/shelf/shelf_delegate.h" 19 #include "ash/common/shelf/shelf_delegate.h"
20 #include "ash/common/shelf/shelf_layout_manager.h" 20 #include "ash/common/shelf/shelf_layout_manager.h"
21 #include "ash/common/shelf/shelf_widget.h" 21 #include "ash/common/shelf/shelf_widget.h"
22 #include "ash/common/shell_delegate.h" 22 #include "ash/common/shell_delegate.h"
23 #include "ash/common/shell_window_ids.h"
24 #include "ash/common/system/status_area_layout_manager.h" 23 #include "ash/common/system/status_area_layout_manager.h"
25 #include "ash/common/system/status_area_widget.h" 24 #include "ash/common/system/status_area_widget.h"
26 #include "ash/common/system/tray/system_tray_delegate.h" 25 #include "ash/common/system/tray/system_tray_delegate.h"
27 #include "ash/common/wallpaper/wallpaper_delegate.h" 26 #include "ash/common/wallpaper/wallpaper_delegate.h"
28 #include "ash/common/wallpaper/wallpaper_widget_controller.h" 27 #include "ash/common/wallpaper/wallpaper_widget_controller.h"
29 #include "ash/common/wm/always_on_top_controller.h" 28 #include "ash/common/wm/always_on_top_controller.h"
30 #include "ash/common/wm/container_finder.h" 29 #include "ash/common/wm/container_finder.h"
31 #include "ash/common/wm/dock/docked_window_layout_manager.h" 30 #include "ash/common/wm/dock/docked_window_layout_manager.h"
32 #include "ash/common/wm/fullscreen_window_finder.h" 31 #include "ash/common/wm/fullscreen_window_finder.h"
33 #include "ash/common/wm/panels/panel_layout_manager.h" 32 #include "ash/common/wm/panels/panel_layout_manager.h"
34 #include "ash/common/wm/root_window_layout_manager.h" 33 #include "ash/common/wm/root_window_layout_manager.h"
35 #include "ash/common/wm/switchable_windows.h" 34 #include "ash/common/wm/switchable_windows.h"
36 #include "ash/common/wm/system_modal_container_layout_manager.h" 35 #include "ash/common/wm/system_modal_container_layout_manager.h"
37 #include "ash/common/wm/window_state.h" 36 #include "ash/common/wm/window_state.h"
38 #include "ash/common/wm/workspace/workspace_layout_manager.h" 37 #include "ash/common/wm/workspace/workspace_layout_manager.h"
39 #include "ash/common/wm/workspace_controller.h" 38 #include "ash/common/wm/workspace_controller.h"
40 #include "ash/common/wm_shell.h" 39 #include "ash/common/wm_shell.h"
41 #include "ash/common/wm_window.h" 40 #include "ash/common/wm_window.h"
42 #include "ash/display/display_manager.h" 41 #include "ash/display/display_manager.h"
43 #include "ash/high_contrast/high_contrast_controller.h" 42 #include "ash/high_contrast/high_contrast_controller.h"
44 #include "ash/host/ash_window_tree_host.h" 43 #include "ash/host/ash_window_tree_host.h"
45 #include "ash/public/cpp/shelf_types.h" 44 #include "ash/public/cpp/shelf_types.h"
45 #include "ash/public/cpp/shell_window_ids.h"
46 #include "ash/root_window_settings.h" 46 #include "ash/root_window_settings.h"
47 #include "ash/shelf/shelf_window_targeter.h" 47 #include "ash/shelf/shelf_window_targeter.h"
48 #include "ash/shell.h" 48 #include "ash/shell.h"
49 #include "ash/touch/touch_hud_debug.h" 49 #include "ash/touch/touch_hud_debug.h"
50 #include "ash/touch/touch_hud_projection.h" 50 #include "ash/touch/touch_hud_projection.h"
51 #include "ash/touch/touch_observer_hud.h" 51 #include "ash/touch/touch_observer_hud.h"
52 #include "ash/wm/panels/attached_panel_window_targeter.h" 52 #include "ash/wm/panels/attached_panel_window_targeter.h"
53 #include "ash/wm/panels/panel_window_event_handler.h" 53 #include "ash/wm/panels/panel_window_event_handler.h"
54 #include "ash/wm/stacking_controller.h" 54 #include "ash/wm/stacking_controller.h"
55 #include "ash/wm/system_wallpaper_controller.h" 55 #include "ash/wm/system_wallpaper_controller.h"
(...skipping 504 matching lines...) Expand 10 before | Expand all | Expand 10 after
560 EnableTouchHudProjection(); 560 EnableTouchHudProjection();
561 else 561 else
562 DisableTouchHudProjection(); 562 DisableTouchHudProjection();
563 } 563 }
564 564
565 RootWindowController* GetRootWindowController(const aura::Window* root_window) { 565 RootWindowController* GetRootWindowController(const aura::Window* root_window) {
566 return root_window ? GetRootWindowSettings(root_window)->controller : nullptr; 566 return root_window ? GetRootWindowSettings(root_window)->controller : nullptr;
567 } 567 }
568 568
569 } // namespace ash 569 } // namespace ash
OLDNEW
« no previous file with comments | « ash/public/interfaces/container.mojom ('k') | ash/root_window_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698