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

Side by Side Diff: ash/root_window_controller.h

Issue 2297893002: Merges RootWindowControllerCommon into WmRootWindowController (Closed)
Patch Set: feedback Created 4 years, 3 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/test/wm_test_helper.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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 class ScopedCaptureClient; 48 class ScopedCaptureClient;
49 } 49 }
50 50
51 namespace ash { 51 namespace ash {
52 class AshWindowTreeHost; 52 class AshWindowTreeHost;
53 class AlwaysOnTopController; 53 class AlwaysOnTopController;
54 class AnimatingWallpaperWidgetController; 54 class AnimatingWallpaperWidgetController;
55 class DockedWindowLayoutManager; 55 class DockedWindowLayoutManager;
56 enum class LoginStatus; 56 enum class LoginStatus;
57 class PanelLayoutManager; 57 class PanelLayoutManager;
58 class RootWindowControllerCommon;
59 class Shelf; 58 class Shelf;
60 class ShelfLayoutManager; 59 class ShelfLayoutManager;
61 class ShelfWidget; 60 class ShelfWidget;
62 class StackingController; 61 class StackingController;
63 class StatusAreaWidget; 62 class StatusAreaWidget;
64 class SystemModalContainerLayoutManager; 63 class SystemModalContainerLayoutManager;
65 class SystemTray; 64 class SystemTray;
66 class SystemWallpaperController; 65 class SystemWallpaperController;
67 class TouchHudDebug; 66 class TouchHudDebug;
68 class TouchHudProjection; 67 class TouchHudProjection;
69 class WallpaperWidgetController; 68 class WallpaperWidgetController;
69 class WmRootWindowControllerAura;
70 class WmShelfAura; 70 class WmShelfAura;
71 class WmWindow; 71 class WmWindow;
72 class WorkspaceController; 72 class WorkspaceController;
73 73
74 #if defined(OS_CHROMEOS) 74 #if defined(OS_CHROMEOS)
75 class BootSplashScreen; 75 class BootSplashScreen;
76 class AshTouchExplorationManager; 76 class AshTouchExplorationManager;
77 #endif 77 #endif
78 78
79 // This class maintains the per root window state for ash. This class 79 // This class maintains the per root window state for ash. This class
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 263
264 // Callback for MenuModelAdapter. 264 // Callback for MenuModelAdapter.
265 void OnMenuClosed(); 265 void OnMenuClosed();
266 266
267 // Overridden from ShellObserver. 267 // Overridden from ShellObserver.
268 void OnLoginStateChanged(LoginStatus status) override; 268 void OnLoginStateChanged(LoginStatus status) override;
269 void OnTouchHudProjectionToggled(bool enabled) override; 269 void OnTouchHudProjectionToggled(bool enabled) override;
270 270
271 std::unique_ptr<AshWindowTreeHost> ash_host_; 271 std::unique_ptr<AshWindowTreeHost> ash_host_;
272 272
273 std::unique_ptr<RootWindowControllerCommon> root_window_controller_common_; 273 // Owned by the root window.
274 WmRootWindowControllerAura* wm_root_window_controller_ = nullptr;
274 275
275 std::unique_ptr<StackingController> stacking_controller_; 276 std::unique_ptr<StackingController> stacking_controller_;
276 277
277 // The shelf controller for this root window. Exists for the entire lifetime 278 // The shelf controller for this root window. Exists for the entire lifetime
278 // of the RootWindowController so that it is safe for observers to be added 279 // of the RootWindowController so that it is safe for observers to be added
279 // to it during construction of the shelf widget and status tray. 280 // to it during construction of the shelf widget and status tray.
280 std::unique_ptr<WmShelfAura> wm_shelf_aura_; 281 std::unique_ptr<WmShelfAura> wm_shelf_aura_;
281 282
282 // Legacy shelf controller. Only present after shelf is created (post-login). 283 // Legacy shelf controller. Only present after shelf is created (post-login).
283 std::unique_ptr<Shelf> shelf_; 284 std::unique_ptr<Shelf> shelf_;
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
332 333
333 // On classic ash, returns the RootWindowController for the given |root_window|. 334 // On classic ash, returns the RootWindowController for the given |root_window|.
334 // On mus ash, returns the RootWindowController for the primary display. 335 // On mus ash, returns the RootWindowController for the primary display.
335 // See RootWindowController class comment above. 336 // See RootWindowController class comment above.
336 ASH_EXPORT RootWindowController* GetRootWindowController( 337 ASH_EXPORT RootWindowController* GetRootWindowController(
337 const aura::Window* root_window); 338 const aura::Window* root_window);
338 339
339 } // namespace ash 340 } // namespace ash
340 341
341 #endif // ASH_ROOT_WINDOW_CONTROLLER_H_ 342 #endif // ASH_ROOT_WINDOW_CONTROLLER_H_
OLDNEW
« no previous file with comments | « ash/mus/test/wm_test_helper.cc ('k') | ash/root_window_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698