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

Side by Side Diff: ash/root_window_controller.h

Issue 2032613002: Converts RootWindowLayoutManager to common types (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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 #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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 } 50 }
51 51
52 namespace ash { 52 namespace ash {
53 class AshWindowTreeHost; 53 class AshWindowTreeHost;
54 class AlwaysOnTopController; 54 class AlwaysOnTopController;
55 class AnimatingDesktopController; 55 class AnimatingDesktopController;
56 class DesktopBackgroundWidgetController; 56 class DesktopBackgroundWidgetController;
57 class DockedWindowLayoutManager; 57 class DockedWindowLayoutManager;
58 class PanelLayoutManager; 58 class PanelLayoutManager;
59 class RootWindowControllerCommon; 59 class RootWindowControllerCommon;
60 class RootWindowLayoutManager;
61 class Shelf; 60 class Shelf;
62 class ShelfLayoutManager; 61 class ShelfLayoutManager;
63 class ShelfWidget; 62 class ShelfWidget;
64 class StackingController; 63 class StackingController;
65 class StatusAreaWidget; 64 class StatusAreaWidget;
66 class SystemBackgroundController; 65 class SystemBackgroundController;
67 class SystemModalContainerLayoutManager; 66 class SystemModalContainerLayoutManager;
68 class SystemTray; 67 class SystemTray;
69 class TouchHudDebug; 68 class TouchHudDebug;
70 class TouchHudProjection; 69 class TouchHudProjection;
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 ~RootWindowController() override; 106 ~RootWindowController() override;
108 107
109 AshWindowTreeHost* ash_host() { return ash_host_.get(); } 108 AshWindowTreeHost* ash_host() { return ash_host_.get(); }
110 const AshWindowTreeHost* ash_host() const { return ash_host_.get(); } 109 const AshWindowTreeHost* ash_host() const { return ash_host_.get(); }
111 110
112 aura::WindowTreeHost* GetHost(); 111 aura::WindowTreeHost* GetHost();
113 const aura::WindowTreeHost* GetHost() const; 112 const aura::WindowTreeHost* GetHost() const;
114 aura::Window* GetRootWindow(); 113 aura::Window* GetRootWindow();
115 const aura::Window* GetRootWindow() const; 114 const aura::Window* GetRootWindow() const;
116 115
117 RootWindowLayoutManager* root_window_layout() { return root_window_layout_; }
118
119 WorkspaceController* workspace_controller() { 116 WorkspaceController* workspace_controller() {
120 return workspace_controller_.get(); 117 return workspace_controller_.get();
121 } 118 }
122 119
123 AlwaysOnTopController* always_on_top_controller() { 120 AlwaysOnTopController* always_on_top_controller() {
124 return always_on_top_controller_.get(); 121 return always_on_top_controller_.get();
125 } 122 }
126 123
127 // Access the shelf widget associated with this root window controller, 124 // Access the shelf widget associated with this root window controller,
128 // NULL if no such shelf exists. 125 // NULL if no such shelf exists.
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
268 void OnMenuClosed(); 265 void OnMenuClosed();
269 266
270 // Overridden from ShellObserver. 267 // Overridden from ShellObserver.
271 void OnLoginStateChanged(user::LoginStatus status) override; 268 void OnLoginStateChanged(user::LoginStatus status) override;
272 void OnTouchHudProjectionToggled(bool enabled) override; 269 void OnTouchHudProjectionToggled(bool enabled) override;
273 270
274 std::unique_ptr<AshWindowTreeHost> ash_host_; 271 std::unique_ptr<AshWindowTreeHost> ash_host_;
275 272
276 std::unique_ptr<RootWindowControllerCommon> root_window_controller_common_; 273 std::unique_ptr<RootWindowControllerCommon> root_window_controller_common_;
277 274
278 RootWindowLayoutManager* root_window_layout_;
279
280 std::unique_ptr<StackingController> stacking_controller_; 275 std::unique_ptr<StackingController> stacking_controller_;
281 276
282 // The shelf widget for this root window. 277 // The shelf widget for this root window.
283 std::unique_ptr<ShelfWidget> shelf_widget_; 278 std::unique_ptr<ShelfWidget> shelf_widget_;
284 279
285 // An invisible/empty window used as a event target for 280 // An invisible/empty window used as a event target for
286 // |MouseCursorEventFilter| before a user logs in. 281 // |MouseCursorEventFilter| before a user logs in.
287 // (crbug.com/266987) 282 // (crbug.com/266987)
288 // Its container is |LockScreenBackgroundContainer| and 283 // Its container is |LockScreenBackgroundContainer| and
289 // this must be deleted before the container is deleted. 284 // this must be deleted before the container is deleted.
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
329 324
330 // On classic ash, returns the RootWindowController for the given |root_window|. 325 // On classic ash, returns the RootWindowController for the given |root_window|.
331 // On mus ash, returns the RootWindowController for the primary display. 326 // On mus ash, returns the RootWindowController for the primary display.
332 // See RootWindowController class comment above. 327 // See RootWindowController class comment above.
333 ASH_EXPORT RootWindowController* GetRootWindowController( 328 ASH_EXPORT RootWindowController* GetRootWindowController(
334 const aura::Window* root_window); 329 const aura::Window* root_window);
335 330
336 } // namespace ash 331 } // namespace ash
337 332
338 #endif // ASH_ROOT_WINDOW_CONTROLLER_H_ 333 #endif // ASH_ROOT_WINDOW_CONTROLLER_H_
OLDNEW
« no previous file with comments | « ash/desktop_background/desktop_background_widget_controller.cc ('k') | ash/root_window_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698