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

Side by Side Diff: ash/root_window_controller.h

Issue 2626483002: Removes WmShelfAura and WmShelfMus (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
« no previous file with comments | « ash/mus/root_window_controller.cc ('k') | ash/root_window_controller.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 #ifndef ASH_ROOT_WINDOW_CONTROLLER_H_ 5 #ifndef ASH_ROOT_WINDOW_CONTROLLER_H_
6 #define ASH_ROOT_WINDOW_CONTROLLER_H_ 6 #define ASH_ROOT_WINDOW_CONTROLLER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <memory> 9 #include <memory>
10 10
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 enum class LoginStatus; 47 enum class LoginStatus;
48 class PanelLayoutManager; 48 class PanelLayoutManager;
49 class ShelfLayoutManager; 49 class ShelfLayoutManager;
50 class StackingController; 50 class StackingController;
51 class StatusAreaWidget; 51 class StatusAreaWidget;
52 class SystemTray; 52 class SystemTray;
53 class SystemWallpaperController; 53 class SystemWallpaperController;
54 class TouchHudDebug; 54 class TouchHudDebug;
55 class TouchHudProjection; 55 class TouchHudProjection;
56 class WmRootWindowControllerAura; 56 class WmRootWindowControllerAura;
57 class WmShelfAura; 57 class WmShelf;
58 class WorkspaceController; 58 class WorkspaceController;
59 59
60 // This class maintains the per root window state for ash. This class 60 // This class maintains the per root window state for ash. This class
61 // owns the root window and other dependent objects that should be 61 // owns the root window and other dependent objects that should be
62 // deleted upon the deletion of the root window. This object is 62 // deleted upon the deletion of the root window. This object is
63 // indirectly owned and deleted by |WindowTreeHostManager|. 63 // indirectly owned and deleted by |WindowTreeHostManager|.
64 // The RootWindowController for particular root window is stored in 64 // The RootWindowController for particular root window is stored in
65 // its property (RootWindowSettings) and can be obtained using 65 // its property (RootWindowSettings) and can be obtained using
66 // |GetRootWindowController(aura::WindowEventDispatcher*)| function. 66 // |GetRootWindowController(aura::WindowEventDispatcher*)| function.
67 // 67 //
(...skipping 19 matching lines...) Expand all
87 AshWindowTreeHost* ash_host() { return ash_host_.get(); } 87 AshWindowTreeHost* ash_host() { return ash_host_.get(); }
88 const AshWindowTreeHost* ash_host() const { return ash_host_.get(); } 88 const AshWindowTreeHost* ash_host() const { return ash_host_.get(); }
89 89
90 aura::WindowTreeHost* GetHost(); 90 aura::WindowTreeHost* GetHost();
91 const aura::WindowTreeHost* GetHost() const; 91 const aura::WindowTreeHost* GetHost() const;
92 aura::Window* GetRootWindow(); 92 aura::Window* GetRootWindow();
93 const aura::Window* GetRootWindow() const; 93 const aura::Window* GetRootWindow() const;
94 94
95 WorkspaceController* workspace_controller(); 95 WorkspaceController* workspace_controller();
96 96
97 WmShelfAura* wm_shelf_aura() const { return wm_shelf_aura_.get(); } 97 WmShelf* wm_shelf() const { return wm_shelf_.get(); }
98 98
99 WmRootWindowControllerAura* wm_root_window_controller() { 99 WmRootWindowControllerAura* wm_root_window_controller() {
100 return wm_root_window_controller_; 100 return wm_root_window_controller_;
101 } 101 }
102 102
103 // Get touch HUDs associated with this root window controller. 103 // Get touch HUDs associated with this root window controller.
104 TouchHudDebug* touch_hud_debug() const { return touch_hud_debug_; } 104 TouchHudDebug* touch_hud_debug() const { return touch_hud_debug_; }
105 TouchHudProjection* touch_hud_projection() const { 105 TouchHudProjection* touch_hud_projection() const {
106 return touch_hud_projection_; 106 return touch_hud_projection_;
107 } 107 }
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 std::unique_ptr<AshWindowTreeHost> ash_host_; 209 std::unique_ptr<AshWindowTreeHost> ash_host_;
210 210
211 // Owned by the root window. 211 // Owned by the root window.
212 WmRootWindowControllerAura* wm_root_window_controller_ = nullptr; 212 WmRootWindowControllerAura* wm_root_window_controller_ = nullptr;
213 213
214 std::unique_ptr<StackingController> stacking_controller_; 214 std::unique_ptr<StackingController> stacking_controller_;
215 215
216 // The shelf controller for this root window. Exists for the entire lifetime 216 // The shelf controller for this root window. Exists for the entire lifetime
217 // of the RootWindowController so that it is safe for observers to be added 217 // of the RootWindowController so that it is safe for observers to be added
218 // to it during construction of the shelf widget and status tray. 218 // to it during construction of the shelf widget and status tray.
219 std::unique_ptr<WmShelfAura> wm_shelf_aura_; 219 std::unique_ptr<WmShelf> wm_shelf_;
220 220
221 std::unique_ptr<SystemWallpaperController> system_wallpaper_; 221 std::unique_ptr<SystemWallpaperController> system_wallpaper_;
222 222
223 std::unique_ptr<BootSplashScreen> boot_splash_screen_; 223 std::unique_ptr<BootSplashScreen> boot_splash_screen_;
224 // Responsible for initializing TouchExplorationController when spoken 224 // Responsible for initializing TouchExplorationController when spoken
225 // feedback is on. 225 // feedback is on.
226 std::unique_ptr<AshTouchExplorationManager> touch_exploration_manager_; 226 std::unique_ptr<AshTouchExplorationManager> touch_exploration_manager_;
227 227
228 // Heads-up displays for touch events. These HUDs are not owned by the root 228 // Heads-up displays for touch events. These HUDs are not owned by the root
229 // window controller and manage their own lifetimes. 229 // window controller and manage their own lifetimes.
(...skipping 10 matching lines...) Expand all
240 240
241 // On classic ash, returns the RootWindowController for the given |root_window|. 241 // On classic ash, returns the RootWindowController for the given |root_window|.
242 // On mus ash, returns the RootWindowController for the primary display. 242 // On mus ash, returns the RootWindowController for the primary display.
243 // See RootWindowController class comment above. 243 // See RootWindowController class comment above.
244 ASH_EXPORT RootWindowController* GetRootWindowController( 244 ASH_EXPORT RootWindowController* GetRootWindowController(
245 const aura::Window* root_window); 245 const aura::Window* root_window);
246 246
247 } // namespace ash 247 } // namespace ash
248 248
249 #endif // ASH_ROOT_WINDOW_CONTROLLER_H_ 249 #endif // ASH_ROOT_WINDOW_CONTROLLER_H_
OLDNEW
« no previous file with comments | « ash/mus/root_window_controller.cc ('k') | ash/root_window_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698