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

Unified Diff: ash/wm/shelf_layout_manager.h

Issue 10852003: Changes all non-workspace code to talk to WorkspaceManager via (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more constness Created 8 years, 4 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/shell.cc ('k') | ash/wm/shelf_layout_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/shelf_layout_manager.h
diff --git a/ash/wm/shelf_layout_manager.h b/ash/wm/shelf_layout_manager.h
index a61c2db414c682d516b546059eeac59fbf2bdc3f..5797a59db74a12fbfacfaf67a8040822b06b086d 100644
--- a/ash/wm/shelf_layout_manager.h
+++ b/ash/wm/shelf_layout_manager.h
@@ -32,7 +32,7 @@ class ScreenAsh;
namespace internal {
class ShelfLayoutManagerTest;
-class WorkspaceManager;
+class WorkspaceController;
// ShelfLayoutManager is the layout manager responsible for the launcher and
// status widgets. The launcher is given the total available width and told the
@@ -98,8 +98,8 @@ class ASH_EXPORT ShelfLayoutManager :
bool SetAlignment(ShelfAlignment alignment);
ShelfAlignment alignment() const { return alignment_; }
- void set_workspace_manager(WorkspaceManager* manager) {
- workspace_manager_ = manager;
+ void set_workspace_controller(WorkspaceController* controller) {
+ workspace_controller_ = controller;
}
views::Widget* launcher_widget() {
@@ -261,7 +261,7 @@ class ASH_EXPORT ShelfLayoutManager :
Launcher* launcher_;
views::Widget* status_;
- WorkspaceManager* workspace_manager_;
+ WorkspaceController* workspace_controller_;
// Do any windows overlap the shelf? This is maintained by WorkspaceManager.
bool window_overlaps_shelf_;
« no previous file with comments | « ash/shell.cc ('k') | ash/wm/shelf_layout_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698