OLD | NEW |
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 UI_AURA_SHELL_WORKSPACE_WORKSPACE_H_ | 5 #ifndef UI_AURA_SHELL_WORKSPACE_WORKSPACE_H_ |
6 #define UI_AURA_SHELL_WORKSPACE_WORKSPACE_H_ | 6 #define UI_AURA_SHELL_WORKSPACE_WORKSPACE_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "base/gtest_prod_util.h" | 11 #include "base/gtest_prod_util.h" |
12 #include "ui/aura_shell/aura_shell_export.h" | 12 #include "ui/aura_shell/aura_shell_export.h" |
13 #include "ui/gfx/rect.h" | 13 #include "ui/gfx/rect.h" |
14 | 14 |
15 namespace aura { | 15 namespace aura { |
16 class Window; | 16 class Window; |
17 } | 17 } |
18 | 18 |
19 namespace aura_shell { | 19 namespace aura_shell { |
| 20 namespace internal { |
| 21 |
20 class WorkspaceManager; | 22 class WorkspaceManager; |
21 class WorkspaceTest; | 23 class WorkspaceTest; |
22 | 24 |
23 // A workspace is a partial area of the entire desktop (viewport) that | 25 // A workspace is a partial area of the entire desktop (viewport) that |
24 // is visible to the user at a given time. The size of the workspace is | 26 // is visible to the user at a given time. The size of the workspace is |
25 // generally the same as the size of the monitor, and the desktop can | 27 // generally the same as the size of the monitor, and the desktop can |
26 // have multiple workspaces. | 28 // have multiple workspaces. |
27 // A workspace contains a limited number of windows and the workspace | 29 // A workspace contains a limited number of windows and the workspace |
28 // manager may create a new workspace if there is not enough room for | 30 // manager may create a new workspace if there is not enough room for |
29 // a new window. | 31 // a new window. |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 gfx::Rect bounds_; | 123 gfx::Rect bounds_; |
122 | 124 |
123 // Windows in the workspace in layout order. | 125 // Windows in the workspace in layout order. |
124 std::vector<aura::Window*> windows_; | 126 std::vector<aura::Window*> windows_; |
125 | 127 |
126 DISALLOW_COPY_AND_ASSIGN(Workspace); | 128 DISALLOW_COPY_AND_ASSIGN(Workspace); |
127 }; | 129 }; |
128 | 130 |
129 typedef std::vector<Workspace*> Workspaces; | 131 typedef std::vector<Workspace*> Workspaces; |
130 | 132 |
| 133 } // namespace internal |
131 } // namespace aura_shell | 134 } // namespace aura_shell |
132 | 135 |
133 #endif // UI_AURA_SHELL_WORKSPACE_WORKSPACE_H_ | 136 #endif // UI_AURA_SHELL_WORKSPACE_WORKSPACE_H_ |
OLD | NEW |