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

Side by Side Diff: ash/wm/toplevel_layout_manager.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_TOPLEVEL_LAYOUT_MANAGER_H_ 5 #ifndef ASH_WM_TOPLEVEL_LAYOUT_MANAGER_H_
6 #define ASH_WM_TOPLEVEL_LAYOUT_MANAGER_H_ 6 #define ASH_WM_TOPLEVEL_LAYOUT_MANAGER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <set> 9 #include <set>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/compiler_specific.h" 12 #include "base/compiler_specific.h"
13 #include "ui/aura/layout_manager.h" 13 #include "ui/aura/layout_manager.h"
14 #include "ui/aura/window_observer.h" 14 #include "ui/aura/window_observer.h"
15 #include "ash/ash_export.h" 15 #include "ash/ash_export.h"
16 16
17 namespace aura_shell { 17 namespace ash {
18 namespace internal { 18 namespace internal {
19 19
20 class ShelfLayoutManager; 20 class ShelfLayoutManager;
21 21
22 // ToplevelLayoutManager is the LayoutManager installed on a container that 22 // ToplevelLayoutManager is the LayoutManager installed on a container that
23 // hosts what the shell considers to be top-level windows. It is used if the 23 // hosts what the shell considers to be top-level windows. It is used if the
24 // WorkspaceManager is not enabled. ToplevelLayoutManager listens for changes to 24 // WorkspaceManager is not enabled. ToplevelLayoutManager listens for changes to
25 // kShowStateKey and resizes the window appropriately. 25 // kShowStateKey and resizes the window appropriately.
26 class ASH_EXPORT ToplevelLayoutManager : public aura::LayoutManager, 26 class ASH_EXPORT ToplevelLayoutManager : public aura::LayoutManager,
27 public aura::WindowObserver { 27 public aura::WindowObserver {
(...skipping 26 matching lines...) Expand all
54 54
55 // Set of windows we're listening to. 55 // Set of windows we're listening to.
56 Windows windows_; 56 Windows windows_;
57 57
58 // May be NULL if we're not using a shelf. 58 // May be NULL if we're not using a shelf.
59 ShelfLayoutManager* shelf_; 59 ShelfLayoutManager* shelf_;
60 60
61 DISALLOW_COPY_AND_ASSIGN(ToplevelLayoutManager); 61 DISALLOW_COPY_AND_ASSIGN(ToplevelLayoutManager);
62 }; 62 };
63 63
64 } // namespace aura_shell 64 } // namespace ash
65 } // namespace internal 65 } // namespace internal
66 66
67 #endif // ASH_WM_TOPLEVEL_LAYOUT_MANAGER_H_ 67 #endif // ASH_WM_TOPLEVEL_LAYOUT_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698