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

Side by Side Diff: ash/wm/always_on_top_controller.h

Issue 10830365: Initial crack at new workspace behavior. Each workspace now has its (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ash/wm/activation_controller.cc ('k') | ash/wm/always_on_top_controller.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ASH_WM_ALWAYS_ON_TOP_CONTROLLER_H_ 5 #ifndef ASH_WM_ALWAYS_ON_TOP_CONTROLLER_H_
6 #define ASH_WM_ALWAYS_ON_TOP_CONTROLLER_H_ 6 #define ASH_WM_ALWAYS_ON_TOP_CONTROLLER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "ui/aura/window_observer.h" 10 #include "ui/aura/window_observer.h"
(...skipping 23 matching lines...) Expand all
34 34
35 private: 35 private:
36 // Overridden from aura::WindowObserver: 36 // Overridden from aura::WindowObserver:
37 virtual void OnWindowAdded(aura::Window* child) OVERRIDE; 37 virtual void OnWindowAdded(aura::Window* child) OVERRIDE;
38 virtual void OnWillRemoveWindow(aura::Window* child) OVERRIDE; 38 virtual void OnWillRemoveWindow(aura::Window* child) OVERRIDE;
39 virtual void OnWindowPropertyChanged(aura::Window* window, 39 virtual void OnWindowPropertyChanged(aura::Window* window,
40 const void* key, 40 const void* key,
41 intptr_t old) OVERRIDE; 41 intptr_t old) OVERRIDE;
42 virtual void OnWindowDestroyed(aura::Window* window) OVERRIDE; 42 virtual void OnWindowDestroyed(aura::Window* window) OVERRIDE;
43 43
44 // TODO(sky): remove this after workspace2 is the default.
45 // Is NULL if workspace2 is enabled.
44 aura::Window* default_container_; 46 aura::Window* default_container_;
45 aura::Window* always_on_top_container_; 47 aura::Window* always_on_top_container_;
46 48
47 DISALLOW_COPY_AND_ASSIGN(AlwaysOnTopController); 49 DISALLOW_COPY_AND_ASSIGN(AlwaysOnTopController);
48 }; 50 };
49 51
50 } // namepsace internal 52 } // namepsace internal
51 } // namepsace ash 53 } // namepsace ash
52 54
53 #endif // ASH_WM_ALWAYS_ON_TOP_CONTROLLER_H_ 55 #endif // ASH_WM_ALWAYS_ON_TOP_CONTROLLER_H_
OLDNEW
« 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