OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_ROOT_WINDOW_CONTROLLER_H_ | 5 #ifndef ASH_ROOT_WINDOW_CONTROLLER_H_ |
6 #define ASH_ROOT_WINDOW_CONTROLLER_H_ | 6 #define ASH_ROOT_WINDOW_CONTROLLER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <memory> | 9 #include <memory> |
10 | 10 |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 class Shelf; | 60 class Shelf; |
61 class ShelfLayoutManager; | 61 class ShelfLayoutManager; |
62 class ShelfWidget; | 62 class ShelfWidget; |
63 class StackingController; | 63 class StackingController; |
64 class StatusAreaWidget; | 64 class StatusAreaWidget; |
65 class SystemBackgroundController; | 65 class SystemBackgroundController; |
66 class SystemModalContainerLayoutManager; | 66 class SystemModalContainerLayoutManager; |
67 class SystemTray; | 67 class SystemTray; |
68 class TouchHudDebug; | 68 class TouchHudDebug; |
69 class TouchHudProjection; | 69 class TouchHudProjection; |
| 70 class WmWindow; |
70 class WorkspaceController; | 71 class WorkspaceController; |
71 | 72 |
72 #if defined(OS_CHROMEOS) | 73 #if defined(OS_CHROMEOS) |
73 class BootSplashScreen; | 74 class BootSplashScreen; |
74 class AshTouchExplorationManager; | 75 class AshTouchExplorationManager; |
75 #endif | 76 #endif |
76 | 77 |
77 namespace wm { | |
78 class WmWindow; | |
79 } | |
80 | |
81 // This class maintains the per root window state for ash. This class | 78 // This class maintains the per root window state for ash. This class |
82 // owns the root window and other dependent objects that should be | 79 // owns the root window and other dependent objects that should be |
83 // deleted upon the deletion of the root window. This object is | 80 // deleted upon the deletion of the root window. This object is |
84 // indirectly owned and deleted by |WindowTreeHostManager|. | 81 // indirectly owned and deleted by |WindowTreeHostManager|. |
85 // The RootWindowController for particular root window is stored in | 82 // The RootWindowController for particular root window is stored in |
86 // its property (RootWindowSettings) and can be obtained using | 83 // its property (RootWindowSettings) and can be obtained using |
87 // |GetRootWindowController(aura::WindowEventDispatcher*)| function. | 84 // |GetRootWindowController(aura::WindowEventDispatcher*)| function. |
88 // | 85 // |
89 // NOTE: In classic ash there is one RootWindow per display, so every RootWindow | 86 // NOTE: In classic ash there is one RootWindow per display, so every RootWindow |
90 // has a RootWindowController. In mus/mash there is one RootWindow per top-level | 87 // has a RootWindowController. In mus/mash there is one RootWindow per top-level |
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
324 | 321 |
325 // On classic ash, returns the RootWindowController for the given |root_window|. | 322 // On classic ash, returns the RootWindowController for the given |root_window|. |
326 // On mus ash, returns the RootWindowController for the primary display. | 323 // On mus ash, returns the RootWindowController for the primary display. |
327 // See RootWindowController class comment above. | 324 // See RootWindowController class comment above. |
328 ASH_EXPORT RootWindowController* GetRootWindowController( | 325 ASH_EXPORT RootWindowController* GetRootWindowController( |
329 const aura::Window* root_window); | 326 const aura::Window* root_window); |
330 | 327 |
331 } // namespace ash | 328 } // namespace ash |
332 | 329 |
333 #endif // ASH_ROOT_WINDOW_CONTROLLER_H_ | 330 #endif // ASH_ROOT_WINDOW_CONTROLLER_H_ |
OLD | NEW |