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

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

Issue 9033007: Rename the aura_shell namespace to ash (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 12 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
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_STACKING_CONTROLLER_H_ 5 #ifndef ASH_WM_STACKING_CONTROLLER_H_
6 #define ASH_WM_STACKING_CONTROLLER_H_ 6 #define ASH_WM_STACKING_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 "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "ui/aura/client/stacking_client.h" 12 #include "ui/aura/client/stacking_client.h"
13 13
14 namespace aura_shell { 14 namespace ash {
15 namespace internal { 15 namespace internal {
16 16
17 class AlwaysOnTopController; 17 class AlwaysOnTopController;
18 18
19 class StackingController : public aura::client::StackingClient { 19 class StackingController : public aura::client::StackingClient {
20 public: 20 public:
21 StackingController(); 21 StackingController();
22 virtual ~StackingController(); 22 virtual ~StackingController();
23 23
24 // Overridden from aura::client::StackingClient: 24 // Overridden from aura::client::StackingClient:
25 virtual aura::Window* GetDefaultParent(aura::Window* window) OVERRIDE; 25 virtual aura::Window* GetDefaultParent(aura::Window* window) OVERRIDE;
26 26
27 private: 27 private:
28 // Returns corresponding modal container for a modal window. 28 // Returns corresponding modal container for a modal window.
29 // If screen lock is not active, all modal windows are placed into the 29 // If screen lock is not active, all modal windows are placed into the
30 // normal modal container. 30 // normal modal container.
31 // Otherwise those that originate from LockScreen container and above are 31 // Otherwise those that originate from LockScreen container and above are
32 // placed in the screen lock modal container. 32 // placed in the screen lock modal container.
33 aura::Window* GetModalContainer(aura::Window* window) const; 33 aura::Window* GetModalContainer(aura::Window* window) const;
34 34
35 scoped_ptr<internal::AlwaysOnTopController> always_on_top_controller_; 35 scoped_ptr<internal::AlwaysOnTopController> always_on_top_controller_;
36 36
37 DISALLOW_COPY_AND_ASSIGN(StackingController); 37 DISALLOW_COPY_AND_ASSIGN(StackingController);
38 }; 38 };
39 39
40 } // namespace internal 40 } // namespace internal
41 } // namespace aura_shell 41 } // namespace ash
42 42
43 #endif // ASH_WM_STACKING_CONTROLLER_H_ 43 #endif // ASH_WM_STACKING_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698