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

Side by Side Diff: ash/wm/maximize_mode/maximize_mode_window_manager.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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_MAXIMIZE_MODE_MAXIMIZE_MODE_WINDOW_MANAGER_H_ 5 #ifndef ASH_WM_MAXIMIZE_MODE_MAXIMIZE_MODE_WINDOW_MANAGER_H_
6 #define ASH_WM_MAXIMIZE_MODE_MAXIMIZE_MODE_WINDOW_MANAGER_H_ 6 #define ASH_WM_MAXIMIZE_MODE_MAXIMIZE_MODE_WINDOW_MANAGER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 10
11 #include "ash/ash_export.h" 11 #include "ash/ash_export.h"
12 #include "ash/shell_observer.h" 12 #include "ash/shell_observer.h"
13 #include "ash/wm/window_state.h" 13 #include "ash/wm/window_state.h"
14 #include "base/basictypes.h" 14 #include "base/basictypes.h"
15 #include "base/compiler_specific.h" 15 #include "base/compiler_specific.h"
16 #include "ui/aura/window_observer.h" 16 #include "ui/aura/window_observer.h"
17 #include "ui/gfx/display_observer.h" 17 #include "ui/gfx/display_observer.h"
18 18
19 namespace ash { 19 namespace ash {
20 class MaximizeModeWindowState;
20 class Shell; 21 class Shell;
21 22
22 namespace internal{
23 class MaximizeModeWindowState;
24
25 // A window manager which - when created - will force all windows into maximized 23 // A window manager which - when created - will force all windows into maximized
26 // mode. Exception are panels and windows which cannot be maximized. 24 // mode. Exception are panels and windows which cannot be maximized.
27 // Windows which cannot be maximized / resized are centered with a layer placed 25 // Windows which cannot be maximized / resized are centered with a layer placed
28 // behind the window so that no other windows are visible and/or obscured. 26 // behind the window so that no other windows are visible and/or obscured.
29 // With the destruction of the manager all windows will be restored to their 27 // With the destruction of the manager all windows will be restored to their
30 // original state. 28 // original state.
31 class ASH_EXPORT MaximizeModeWindowManager : public aura::WindowObserver, 29 class ASH_EXPORT MaximizeModeWindowManager : public aura::WindowObserver,
32 public gfx::DisplayObserver, 30 public gfx::DisplayObserver,
33 public ShellObserver { 31 public ShellObserver {
34 public: 32 public:
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 105
108 // All container windows which have to be tracked. 106 // All container windows which have to be tracked.
109 std::set<aura::Window*> observed_container_windows_; 107 std::set<aura::Window*> observed_container_windows_;
110 108
111 // True if all backdrops are hidden. 109 // True if all backdrops are hidden.
112 bool backdrops_hidden_; 110 bool backdrops_hidden_;
113 111
114 DISALLOW_COPY_AND_ASSIGN(MaximizeModeWindowManager); 112 DISALLOW_COPY_AND_ASSIGN(MaximizeModeWindowManager);
115 }; 113 };
116 114
117 } // namespace internal
118 } // namespace ash 115 } // namespace ash
119 116
120 #endif // ASH_WM_MAXIMIZE_MODE_MAXIMIZE_MODE_WINDOW_MANAGER_H_ 117 #endif // ASH_WM_MAXIMIZE_MODE_MAXIMIZE_MODE_WINDOW_MANAGER_H_
OLDNEW
« no previous file with comments | « ash/wm/lock_state_controller_unittest.cc ('k') | ash/wm/maximize_mode/maximize_mode_window_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698