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

Unified Diff: ui/aura_shell/show_state_controller.h

Issue 8430024: Add WorkspaceObserver to observe changes in workspace state (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: update comments Created 9 years, 1 month 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 | « ui/aura_shell/shell.cc ('k') | ui/aura_shell/show_state_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura_shell/show_state_controller.h
diff --git a/ui/aura_shell/show_state_controller.h b/ui/aura_shell/show_state_controller.h
index cd5fbea94ee866b16948cc9984ba849e39ecbd5f..45b285520a900e68e9cf20fc32c8bf4395510b22 100644
--- a/ui/aura_shell/show_state_controller.h
+++ b/ui/aura_shell/show_state_controller.h
@@ -17,13 +17,13 @@ class Window;
namespace aura_shell {
namespace internal {
-class DefaultContainerLayoutManager;
+class WorkspaceManager;
// ShowStateController controls the window's bounds when
// the window's show state property has changed.
class ShowStateController : public aura::WindowObserver {
public:
- explicit ShowStateController(DefaultContainerLayoutManager* layout_manager);
+ explicit ShowStateController(WorkspaceManager* layout_manager);
virtual ~ShowStateController();
// Invoked when window proparty has changed.
@@ -32,8 +32,8 @@ public:
void* old) OVERRIDE;
private:
- // LayoutManager that downs this ShowStateController.
- DefaultContainerLayoutManager* layout_manager_;
+ // |workspace_maanger_| is owned by |WorkspaceController|.
+ WorkspaceManager* workspace_manager_;
DISALLOW_COPY_AND_ASSIGN(ShowStateController);
};
« no previous file with comments | « ui/aura_shell/shell.cc ('k') | ui/aura_shell/show_state_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698