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

Side by Side Diff: ui/aura_shell/stacking_controller.h

Issue 9026017: Move some more files into ash... this time seed the window manager dir. (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
« no previous file with comments | « ui/aura_shell/show_state_controller.cc ('k') | ui/aura_shell/stacking_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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef UI_AURA_SHELL_STACKING_CONTROLLER_H_
6 #define UI_AURA_SHELL_STACKING_CONTROLLER_H_
7 #pragma once
8
9 #include "base/basictypes.h"
10 #include "base/compiler_specific.h"
11 #include "base/memory/scoped_ptr.h"
12 #include "ui/aura/client/stacking_client.h"
13
14 namespace aura_shell {
15 namespace internal {
16
17 class AlwaysOnTopController;
18
19 class StackingController : public aura::client::StackingClient {
20 public:
21 StackingController();
22 virtual ~StackingController();
23
24 // Overridden from aura::client::StackingClient:
25 virtual aura::Window* GetDefaultParent(aura::Window* window) OVERRIDE;
26
27 private:
28 // Returns corresponding modal container for a modal window.
29 // If screen lock is not active, all modal windows are placed into the
30 // normal modal container.
31 // Otherwise those that originate from LockScreen container and above are
32 // placed in the screen lock modal container.
33 aura::Window* GetModalContainer(aura::Window* window) const;
34
35 scoped_ptr<internal::AlwaysOnTopController> always_on_top_controller_;
36
37 DISALLOW_COPY_AND_ASSIGN(StackingController);
38 };
39
40 } // namespace internal
41 } // namespace aura_shell
42
43 #endif // UI_AURA_SHELL_STACKING_CONTROLLER_H_
OLDNEW
« no previous file with comments | « ui/aura_shell/show_state_controller.cc ('k') | ui/aura_shell/stacking_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698