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

Side by Side Diff: ash/root_window_controller.cc

Issue 2048443002: ABANDONED: mash: Move shell delegate interfaces to ash/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@moveshelfmodel
Patch Set: Created 4 years, 6 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/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/ash_constants.h" 10 #include "ash/ash_constants.h"
11 #include "ash/ash_switches.h" 11 #include "ash/ash_switches.h"
12 #include "ash/aura/aura_layout_manager_adapter.h" 12 #include "ash/aura/aura_layout_manager_adapter.h"
13 #include "ash/aura/wm_shelf_aura.h" 13 #include "ash/aura/wm_shelf_aura.h"
14 #include "ash/aura/wm_window_aura.h" 14 #include "ash/aura/wm_window_aura.h"
15 #include "ash/common/root_window_controller_common.h" 15 #include "ash/common/root_window_controller_common.h"
16 #include "ash/common/session/session_state_delegate.h"
16 #include "ash/common/shelf/shelf_types.h" 17 #include "ash/common/shelf/shelf_types.h"
17 #include "ash/common/shell_window_ids.h" 18 #include "ash/common/shell_window_ids.h"
18 #include "ash/common/wm/always_on_top_controller.h" 19 #include "ash/common/wm/always_on_top_controller.h"
19 #include "ash/common/wm/container_finder.h" 20 #include "ash/common/wm/container_finder.h"
20 #include "ash/common/wm/dock/docked_window_layout_manager.h" 21 #include "ash/common/wm/dock/docked_window_layout_manager.h"
21 #include "ash/common/wm/fullscreen_window_finder.h" 22 #include "ash/common/wm/fullscreen_window_finder.h"
22 #include "ash/common/wm/panels/panel_layout_manager.h" 23 #include "ash/common/wm/panels/panel_layout_manager.h"
23 #include "ash/common/wm/root_window_layout_manager.h" 24 #include "ash/common/wm/root_window_layout_manager.h"
24 #include "ash/common/wm/switchable_windows.h" 25 #include "ash/common/wm/switchable_windows.h"
25 #include "ash/common/wm/window_state.h" 26 #include "ash/common/wm/window_state.h"
26 #include "ash/common/wm/workspace/workspace_layout_manager.h" 27 #include "ash/common/wm/workspace/workspace_layout_manager.h"
27 #include "ash/common/wm/workspace/workspace_layout_manager_delegate.h" 28 #include "ash/common/wm/workspace/workspace_layout_manager_delegate.h"
28 #include "ash/common/wm_shell.h" 29 #include "ash/common/wm_shell.h"
29 #include "ash/common/wm_window.h" 30 #include "ash/common/wm_window.h"
30 #include "ash/desktop_background/desktop_background_controller.h" 31 #include "ash/desktop_background/desktop_background_controller.h"
31 #include "ash/desktop_background/desktop_background_widget_controller.h" 32 #include "ash/desktop_background/desktop_background_widget_controller.h"
32 #include "ash/desktop_background/user_wallpaper_delegate.h" 33 #include "ash/desktop_background/user_wallpaper_delegate.h"
33 #include "ash/display/display_manager.h" 34 #include "ash/display/display_manager.h"
34 #include "ash/focus_cycler.h" 35 #include "ash/focus_cycler.h"
35 #include "ash/high_contrast/high_contrast_controller.h" 36 #include "ash/high_contrast/high_contrast_controller.h"
36 #include "ash/host/ash_window_tree_host.h" 37 #include "ash/host/ash_window_tree_host.h"
37 #include "ash/root_window_settings.h" 38 #include "ash/root_window_settings.h"
38 #include "ash/session/session_state_delegate.h"
39 #include "ash/shelf/shelf_layout_manager.h" 39 #include "ash/shelf/shelf_layout_manager.h"
40 #include "ash/shelf/shelf_widget.h" 40 #include "ash/shelf/shelf_widget.h"
41 #include "ash/shell.h" 41 #include "ash/shell.h"
42 #include "ash/shell_delegate.h" 42 #include "ash/shell_delegate.h"
43 #include "ash/shell_factory.h" 43 #include "ash/shell_factory.h"
44 #include "ash/system/status_area_widget.h" 44 #include "ash/system/status_area_widget.h"
45 #include "ash/system/tray/system_tray_delegate.h" 45 #include "ash/system/tray/system_tray_delegate.h"
46 #include "ash/system/tray/system_tray_notifier.h" 46 #include "ash/system/tray/system_tray_notifier.h"
47 #include "ash/touch/touch_hud_debug.h" 47 #include "ash/touch/touch_hud_debug.h"
48 #include "ash/touch/touch_hud_projection.h" 48 #include "ash/touch/touch_hud_projection.h"
(...skipping 838 matching lines...) Expand 10 before | Expand all | Expand 10 after
887 aura::Window* primary_root_window = Shell::GetInstance() 887 aura::Window* primary_root_window = Shell::GetInstance()
888 ->window_tree_host_manager() 888 ->window_tree_host_manager()
889 ->GetPrimaryRootWindow(); 889 ->GetPrimaryRootWindow();
890 return GetRootWindowSettings(primary_root_window)->controller; 890 return GetRootWindowSettings(primary_root_window)->controller;
891 } 891 }
892 892
893 return GetRootWindowSettings(root_window)->controller; 893 return GetRootWindowSettings(root_window)->controller;
894 } 894 }
895 895
896 } // namespace ash 896 } // namespace ash
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698