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

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

Issue 224113005: Eliminate ash::internal namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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/touch/touch_observer_hud_unittest.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"
11 11
12 namespace aura { 12 namespace aura {
13 class Window; 13 class Window;
14 } 14 }
15 15
16 namespace ash { 16 namespace ash {
17 namespace internal {
18 17
19 // AlwaysOnTopController puts window into proper containers based on its 18 // AlwaysOnTopController puts window into proper containers based on its
20 // 'AlwaysOnTop' property. That is, putting a window into the worskpace 19 // 'AlwaysOnTop' property. That is, putting a window into the worskpace
21 // container if its "AlwaysOnTop" property is false. Otherwise, put it in 20 // container if its "AlwaysOnTop" property is false. Otherwise, put it in
22 // |always_on_top_container_|. 21 // |always_on_top_container_|.
23 class AlwaysOnTopController : public aura::WindowObserver { 22 class AlwaysOnTopController : public aura::WindowObserver {
24 public: 23 public:
25 AlwaysOnTopController(); 24 AlwaysOnTopController();
26 virtual ~AlwaysOnTopController(); 25 virtual ~AlwaysOnTopController();
27 26
(...skipping 10 matching lines...) Expand all
38 virtual void OnWindowPropertyChanged(aura::Window* window, 37 virtual void OnWindowPropertyChanged(aura::Window* window,
39 const void* key, 38 const void* key,
40 intptr_t old) OVERRIDE; 39 intptr_t old) OVERRIDE;
41 virtual void OnWindowDestroyed(aura::Window* window) OVERRIDE; 40 virtual void OnWindowDestroyed(aura::Window* window) OVERRIDE;
42 41
43 aura::Window* always_on_top_container_; 42 aura::Window* always_on_top_container_;
44 43
45 DISALLOW_COPY_AND_ASSIGN(AlwaysOnTopController); 44 DISALLOW_COPY_AND_ASSIGN(AlwaysOnTopController);
46 }; 45 };
47 46
48 } // namepsace internal
49 } // namepsace ash 47 } // namepsace ash
50 48
51 #endif // ASH_WM_ALWAYS_ON_TOP_CONTROLLER_H_ 49 #endif // ASH_WM_ALWAYS_ON_TOP_CONTROLLER_H_
OLDNEW
« no previous file with comments | « ash/touch/touch_observer_hud_unittest.cc ('k') | ash/wm/always_on_top_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698