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

Unified Diff: ui/aura_shell/workspace_controller.h

Issue 8771015: Rename Desktop->RootWindow. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years 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/workspace/workspace_manager_unittest.cc ('k') | ui/aura_shell/workspace_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura_shell/workspace_controller.h
===================================================================
--- ui/aura_shell/workspace_controller.h (revision 113260)
+++ ui/aura_shell/workspace_controller.h (working copy)
@@ -8,7 +8,7 @@
#include "base/basictypes.h"
#include "base/memory/scoped_ptr.h"
-#include "ui/aura/desktop_observer.h"
+#include "ui/aura/root_window_observer.h"
#include "ui/aura_shell/aura_shell_export.h"
#include "ui/aura_shell/launcher/launcher_model_observer.h"
#include "ui/aura_shell/workspace/workspace_observer.h"
@@ -29,10 +29,10 @@
class WorkspaceManager;
// WorkspaceControlls owns a WorkspaceManager. WorkspaceControlls bridges
-// events From DesktopObserver translating them to WorkspaceManager, and
+// events From RootWindowObserver translating them to WorkspaceManager, and
// a move event between Laucher and Workspace.
class AURA_SHELL_EXPORT WorkspaceController :
- public aura::DesktopObserver,
+ public aura::RootWindowObserver,
public aura_shell::internal::WorkspaceObserver,
public aura_shell::LauncherModelObserver {
public:
@@ -48,8 +48,8 @@
return workspace_manager_.get();
}
- // DesktopObserver overrides:
- virtual void OnDesktopResized(const gfx::Size& new_size) OVERRIDE;
+ // RootWindowObserver overrides:
+ virtual void OnRootWindowResized(const gfx::Size& new_size) OVERRIDE;
virtual void OnActiveWindowChanged(aura::Window* active) OVERRIDE;
// WorkspaceObserver overrides:
« no previous file with comments | « ui/aura_shell/workspace/workspace_manager_unittest.cc ('k') | ui/aura_shell/workspace_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698