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

Unified Diff: ash/wm/workspace/workspace_layout_manager.h

Issue 1841803002: Cleanup WorkspaceController and WorkspaceLayoutManager. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Check if the container is kShellWindowId_DefaultContainer instead. Created 4 years, 8 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/shelf/shelf_widget.cc ('k') | ash/wm/workspace/workspace_layout_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/workspace/workspace_layout_manager.h
diff --git a/ash/wm/workspace/workspace_layout_manager.h b/ash/wm/workspace/workspace_layout_manager.h
index 7685356ed23828d76e25e175dd5e3259e1ea7255..eab7d054ea83382731ce33d0bec02384b6144cf2 100644
--- a/ash/wm/workspace/workspace_layout_manager.h
+++ b/ash/wm/workspace/workspace_layout_manager.h
@@ -30,7 +30,7 @@ class Layer;
}
namespace ash {
-class ShelfLayoutManager;
+class RootWindowController;
class WorkspaceLayoutManagerDelegate;
namespace wm {
@@ -50,8 +50,6 @@ class ASH_EXPORT WorkspaceLayoutManager
explicit WorkspaceLayoutManager(aura::Window* window);
~WorkspaceLayoutManager() override;
- void SetShelf(ShelfLayoutManager* shelf);
-
// A delegate which can be set to add a backdrop behind the top most visible
// window. With the call the ownership of the delegate will be transferred to
// the WorkspaceLayoutManager.
@@ -110,9 +108,6 @@ class ASH_EXPORT WorkspaceLayoutManager
// is on display.
void AdjustAllWindowsBoundsForWorkAreaChange(const wm::WMEvent* event);
- // Updates the visibility state of the shelf.
- void UpdateShelfVisibility();
-
// Updates the fullscreen state of the workspace and notifies Shell if it
// has changed.
void UpdateFullscreenState();
@@ -129,9 +124,9 @@ class ASH_EXPORT WorkspaceLayoutManager
// Animates the window bounds to |bounds|.
void SetChildBoundsAnimated(aura::Window* child, const gfx::Rect& bounds);
- ShelfLayoutManager* shelf_;
aura::Window* window_;
aura::Window* root_window_;
+ RootWindowController* root_window_controller_;
// Set of windows we're listening to.
WindowSet windows_;
« no previous file with comments | « ash/shelf/shelf_widget.cc ('k') | ash/wm/workspace/workspace_layout_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698