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

Unified Diff: ui/aura_shell/workspace_controller.h

Issue 8894018: Move the concept of Activation to the Shell. (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 114022)
+++ ui/aura_shell/workspace_controller.h (working copy)
@@ -9,6 +9,7 @@
#include "base/basictypes.h"
#include "base/memory/scoped_ptr.h"
#include "ui/aura/root_window_observer.h"
+#include "ui/aura/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"
@@ -33,6 +34,7 @@
// a move event between Laucher and Workspace.
class AURA_SHELL_EXPORT WorkspaceController :
public aura::RootWindowObserver,
+ public aura::WindowObserver,
public aura_shell::internal::WorkspaceObserver,
public aura_shell::LauncherModelObserver {
public:
@@ -48,10 +50,14 @@
return workspace_manager_.get();
}
- // RootWindowObserver overrides:
+ // aura::RootWindowObserver overrides:
virtual void OnRootWindowResized(const gfx::Size& new_size) OVERRIDE;
- virtual void OnActiveWindowChanged(aura::Window* active) OVERRIDE;
+ // aura::WindowObserver overrides:
+ virtual void OnWindowPropertyChanged(aura::Window* window,
+ const char* key,
+ void* old) OVERRIDE;
+
// WorkspaceObserver overrides:
virtual void WindowMoved(WorkspaceManager* manager,
aura::Window* source,
« 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