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

Unified Diff: ash/wm/always_on_top_controller.h

Issue 11201002: Removes worskpace 1 code. Will rename next. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove constants and add back kDisableLoginAnimations Created 8 years, 2 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/wm/activation_controller.cc ('k') | ash/wm/always_on_top_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/always_on_top_controller.h
diff --git a/ash/wm/always_on_top_controller.h b/ash/wm/always_on_top_controller.h
index 386ce27ecc9141761ba7ae3bc4d8d3b672926349..57fbf99e171a0f0277c1fd76a014bbc8579b4305 100644
--- a/ash/wm/always_on_top_controller.h
+++ b/ash/wm/always_on_top_controller.h
@@ -17,17 +17,16 @@ namespace ash {
namespace internal {
// AlwaysOnTopController puts window into proper containers based on its
-// 'AlwaysOnTop' property. That is, putting a window to |default_container_|
-// if its "AlwaysOnTop" property is false. Otherwise, put it in
+// 'AlwaysOnTop' property. That is, putting a window into the worskpace
+// container if its "AlwaysOnTop" property is false. Otherwise, put it in
// |always_on_top_container_|.
class AlwaysOnTopController : public aura::WindowObserver {
public:
AlwaysOnTopController();
virtual ~AlwaysOnTopController();
- // Sets the two top level window containers.
- void SetContainers(aura::Window* default_container,
- aura::Window* always_on_top_container);
+ // Sets the container for always on top windows.
+ void SetAlwaysOnTopContainer(aura::Window* always_on_top_container);
// Gets container for given |window| based on its "AlwaysOnTop" property.
aura::Window* GetContainer(aura::Window* window) const;
@@ -41,9 +40,6 @@ class AlwaysOnTopController : public aura::WindowObserver {
intptr_t old) OVERRIDE;
virtual void OnWindowDestroyed(aura::Window* window) OVERRIDE;
- // TODO(sky): remove this after workspace2 is the default.
- // Is NULL if workspace2 is enabled.
- aura::Window* default_container_;
aura::Window* always_on_top_container_;
DISALLOW_COPY_AND_ASSIGN(AlwaysOnTopController);
« no previous file with comments | « ash/wm/activation_controller.cc ('k') | ash/wm/always_on_top_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698