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

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

Issue 9033007: Rename the aura_shell namespace to ash (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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
11 #include "ui/aura/window_observer.h" 11 #include "ui/aura/window_observer.h"
12 12
13 namespace aura { 13 namespace aura {
14 class Window; 14 class Window;
15 } 15 }
16 16
17 namespace aura_shell { 17 namespace ash {
18 namespace internal { 18 namespace internal {
19 19
20 // AlwaysOnTopController puts window into proper containers based on its 20 // AlwaysOnTopController puts window into proper containers based on its
21 // 'AlwaysOnTop' property. That is, putting a window to |default_container_| 21 // 'AlwaysOnTop' property. That is, putting a window to |default_container_|
22 // if its "AlwaysOnTop" property is false. Otherwise, put it in 22 // if its "AlwaysOnTop" property is false. Otherwise, put it in
23 // |always_on_top_container_|. 23 // |always_on_top_container_|.
24 class AlwaysOnTopController : public aura::WindowObserver { 24 class AlwaysOnTopController : public aura::WindowObserver {
25 public: 25 public:
26 AlwaysOnTopController(); 26 AlwaysOnTopController();
27 virtual ~AlwaysOnTopController(); 27 virtual ~AlwaysOnTopController();
(...skipping 13 matching lines...) Expand all
41 const char* name, 41 const char* name,
42 void* old) OVERRIDE; 42 void* old) OVERRIDE;
43 virtual void OnWindowDestroyed(aura::Window* window) OVERRIDE; 43 virtual void OnWindowDestroyed(aura::Window* window) OVERRIDE;
44 44
45 aura::Window* default_container_; 45 aura::Window* default_container_;
46 aura::Window* always_on_top_container_; 46 aura::Window* always_on_top_container_;
47 47
48 DISALLOW_COPY_AND_ASSIGN(AlwaysOnTopController); 48 DISALLOW_COPY_AND_ASSIGN(AlwaysOnTopController);
49 }; 49 };
50 50
51 } // namepsace aura_shell
52 } // namepsace internal 51 } // namepsace internal
52 } // namepsace ash
53 53
54 #endif // ASH_WM_ALWAYS_ON_TOP_CONTROLLER_H_ 54 #endif // ASH_WM_ALWAYS_ON_TOP_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698