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

Unified Diff: ash/root_window_controller.h

Issue 2350953009: Centralizes more shared code between ash and mash (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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/mus/workspace/workspace_layout_manager_unittest.cc ('k') | ash/root_window_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/root_window_controller.h
diff --git a/ash/root_window_controller.h b/ash/root_window_controller.h
index e42aa052e4b29c38fc1e0b18cad3831b3aa2f25b..bc9fd3f2db0b62db4b6b37f2f9f556b499aca78c 100644
--- a/ash/root_window_controller.h
+++ b/ash/root_window_controller.h
@@ -46,7 +46,6 @@ class ScopedCaptureClient;
namespace ash {
class AshWindowTreeHost;
-class AlwaysOnTopController;
class DockedWindowLayoutManager;
enum class LoginStatus;
class PanelLayoutManager;
@@ -105,12 +104,12 @@ class ASH_EXPORT RootWindowController : public ShellObserver {
WorkspaceController* workspace_controller();
- AlwaysOnTopController* always_on_top_controller() {
- return always_on_top_controller_.get();
- }
-
WmShelfAura* wm_shelf_aura() const { return wm_shelf_aura_.get(); }
+ WmRootWindowControllerAura* wm_root_window_controller() {
+ return wm_root_window_controller_;
+ }
+
// Get touch HUDs associated with this root window controller.
TouchHudDebug* touch_hud_debug() const { return touch_hud_debug_; }
TouchHudProjection* touch_hud_projection() const {
@@ -222,6 +221,9 @@ class ASH_EXPORT RootWindowController : public ShellObserver {
// Disables projection touch HUD.
void DisableTouchHudProjection();
+ DockedWindowLayoutManager* docked_window_layout_manager();
+ PanelLayoutManager* panel_layout_manager();
+
// Overridden from ShellObserver.
void OnLoginStateChanged(LoginStatus status) override;
void OnTouchHudProjectionToggled(bool enabled) override;
@@ -245,12 +247,6 @@ class ASH_EXPORT RootWindowController : public ShellObserver {
// this must be deleted before the container is deleted.
std::unique_ptr<aura::Window> mouse_event_target_;
- // Manages layout of docked windows. Owned by DockedContainer.
- DockedWindowLayoutManager* docked_layout_manager_;
-
- // Manages layout of panels. Owned by PanelContainer.
- PanelLayoutManager* panel_layout_manager_;
-
std::unique_ptr<SystemWallpaperController> system_wallpaper_;
#if defined(OS_CHROMEOS)
@@ -260,8 +256,6 @@ class ASH_EXPORT RootWindowController : public ShellObserver {
std::unique_ptr<AshTouchExplorationManager> touch_exploration_manager_;
#endif
- std::unique_ptr<AlwaysOnTopController> always_on_top_controller_;
-
// Heads-up displays for touch events. These HUDs are not owned by the root
// window controller and manage their own lifetimes.
TouchHudDebug* touch_hud_debug_;
« no previous file with comments | « ash/mus/workspace/workspace_layout_manager_unittest.cc ('k') | ash/root_window_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698