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_MANAGER_H_ | 5 #ifndef ASH_WM_WORKSPACE_MANAGER_H_ |
6 #define ASH_WM_WORKSPACE_MANAGER_H_ | 6 #define ASH_WM_WORKSPACE_MANAGER_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
12 #include "base/observer_list.h" | 12 #include "base/observer_list.h" |
13 #include "ash/ash_export.h" | 13 #include "ash/ash_export.h" |
14 #include "ui/gfx/insets.h" | 14 #include "ui/gfx/insets.h" |
15 #include "ui/gfx/size.h" | 15 #include "ui/gfx/size.h" |
16 | 16 |
17 namespace aura { | 17 namespace aura { |
18 class Window; | 18 class Window; |
19 } | 19 } |
20 | 20 |
21 namespace gfx { | 21 namespace gfx { |
22 class Point; | 22 class Point; |
23 class Rect; | 23 class Rect; |
24 } | 24 } |
25 | 25 |
26 namespace aura_shell { | 26 namespace ash { |
27 namespace internal { | 27 namespace internal { |
28 class Workspace; | 28 class Workspace; |
29 class WorkspaceObserver; | 29 class WorkspaceObserver; |
30 | 30 |
31 // WorkspaceManager manages multiple workspaces in the desktop. | 31 // WorkspaceManager manages multiple workspaces in the desktop. |
32 class ASH_EXPORT WorkspaceManager { | 32 class ASH_EXPORT WorkspaceManager { |
33 public: | 33 public: |
34 explicit WorkspaceManager(aura::Window* viewport); | 34 explicit WorkspaceManager(aura::Window* viewport); |
35 virtual ~WorkspaceManager(); | 35 virtual ~WorkspaceManager(); |
36 | 36 |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 | 123 |
124 // The window that WorkspaceManager does not set the bounds on. | 124 // The window that WorkspaceManager does not set the bounds on. |
125 aura::Window* ignored_window_; | 125 aura::Window* ignored_window_; |
126 | 126 |
127 ObserverList<WorkspaceObserver> observers_; | 127 ObserverList<WorkspaceObserver> observers_; |
128 | 128 |
129 DISALLOW_COPY_AND_ASSIGN(WorkspaceManager); | 129 DISALLOW_COPY_AND_ASSIGN(WorkspaceManager); |
130 }; | 130 }; |
131 | 131 |
132 } // namespace internal | 132 } // namespace internal |
133 } // namespace aura_shell | 133 } // namespace ash |
134 | 134 |
135 #endif // ASH_WM_WORKSPACE_MANAGER_H_ | 135 #endif // ASH_WM_WORKSPACE_MANAGER_H_ |
OLD | NEW |