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 ASH_WM_WORKSPACE_H_ | 5 #ifndef ASH_WM_WORKSPACE_H_ |
6 #define ASH_WM_WORKSPACE_H_ | 6 #define ASH_WM_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 "ash/ash_export.h" | 12 #include "ash/ash_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 ash { |
20 namespace internal { | 20 namespace internal { |
21 | 21 |
22 class WorkspaceManager; | 22 class WorkspaceManager; |
23 class WorkspaceTest; | 23 class WorkspaceTest; |
24 | 24 |
25 // 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 |
26 // 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 |
27 // 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 |
28 // have multiple workspaces. | 28 // have multiple workspaces. |
29 // A workspace contains a limited number of windows and the workspace | 29 // A workspace contains a limited number of windows and the workspace |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 | 128 |
129 // Windows in the workspace in layout order. | 129 // Windows in the workspace in layout order. |
130 std::vector<aura::Window*> windows_; | 130 std::vector<aura::Window*> windows_; |
131 | 131 |
132 DISALLOW_COPY_AND_ASSIGN(Workspace); | 132 DISALLOW_COPY_AND_ASSIGN(Workspace); |
133 }; | 133 }; |
134 | 134 |
135 typedef std::vector<Workspace*> Workspaces; | 135 typedef std::vector<Workspace*> Workspaces; |
136 | 136 |
137 } // namespace internal | 137 } // namespace internal |
138 } // namespace aura_shell | 138 } // namespace ash |
139 | 139 |
140 #endif // ASH_WM_WORKSPACE_H_ | 140 #endif // ASH_WM_WORKSPACE_H_ |
OLD | NEW |