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 | 9 |
10 #include "ash/ash_export.h" | 10 #include "ash/ash_export.h" |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 class RootWindowLayoutManager; | 57 class RootWindowLayoutManager; |
58 class ScreenDimmer; | 58 class ScreenDimmer; |
59 class ShelfLayoutManager; | 59 class ShelfLayoutManager; |
60 class StatusAreaWidget; | 60 class StatusAreaWidget; |
61 class SystemBackgroundController; | 61 class SystemBackgroundController; |
62 class SystemModalContainerLayoutManager; | 62 class SystemModalContainerLayoutManager; |
63 class TouchHudDebug; | 63 class TouchHudDebug; |
64 class TouchHudProjection; | 64 class TouchHudProjection; |
65 class WorkspaceController; | 65 class WorkspaceController; |
66 | 66 |
67 #if defined(USE_X11) | 67 #if defined(OS_CHROMEOS) |
68 class BootSplashScreen; | 68 class BootSplashScreen; |
69 #endif | 69 #endif |
70 | 70 |
71 // This class maintains the per root window state for ash. This class | 71 // This class maintains the per root window state for ash. This class |
72 // owns the root window and other dependent objects that should be | 72 // owns the root window and other dependent objects that should be |
73 // deleted upon the deletion of the root window. The RootWindowController | 73 // deleted upon the deletion of the root window. The RootWindowController |
74 // for particular root window is stored as a property and can be obtained | 74 // for particular root window is stored as a property and can be obtained |
75 // using |GetRootWindowController(aura::RootWindow*)| function. | 75 // using |GetRootWindowController(aura::RootWindow*)| function. |
76 class ASH_EXPORT RootWindowController : public ShellObserver { | 76 class ASH_EXPORT RootWindowController : public ShellObserver { |
77 public: | 77 public: |
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
255 // this must be deleted before the container is deleted. | 255 // this must be deleted before the container is deleted. |
256 scoped_ptr<aura::Window> mouse_event_target_; | 256 scoped_ptr<aura::Window> mouse_event_target_; |
257 | 257 |
258 // Manages layout of docked windows. Owned by DockedContainer. | 258 // Manages layout of docked windows. Owned by DockedContainer. |
259 DockedWindowLayoutManager* docked_layout_manager_; | 259 DockedWindowLayoutManager* docked_layout_manager_; |
260 | 260 |
261 // Manages layout of panels. Owned by PanelContainer. | 261 // Manages layout of panels. Owned by PanelContainer. |
262 PanelLayoutManager* panel_layout_manager_; | 262 PanelLayoutManager* panel_layout_manager_; |
263 | 263 |
264 scoped_ptr<SystemBackgroundController> system_background_; | 264 scoped_ptr<SystemBackgroundController> system_background_; |
265 #if defined(USE_X11) | 265 #if defined(OS_CHROMEOS) |
266 scoped_ptr<BootSplashScreen> boot_splash_screen_; | 266 scoped_ptr<BootSplashScreen> boot_splash_screen_; |
267 #endif | 267 #endif |
268 | 268 |
269 scoped_ptr<ScreenDimmer> screen_dimmer_; | 269 scoped_ptr<ScreenDimmer> screen_dimmer_; |
270 scoped_ptr<WorkspaceController> workspace_controller_; | 270 scoped_ptr<WorkspaceController> workspace_controller_; |
271 scoped_ptr<AlwaysOnTopController> always_on_top_controller_; | 271 scoped_ptr<AlwaysOnTopController> always_on_top_controller_; |
272 | 272 |
273 // Heads-up displays for touch events. These HUDs are not owned by the root | 273 // Heads-up displays for touch events. These HUDs are not owned by the root |
274 // window controller and manage their own lifetimes. | 274 // window controller and manage their own lifetimes. |
275 TouchHudDebug* touch_hud_debug_; | 275 TouchHudDebug* touch_hud_debug_; |
(...skipping 16 matching lines...) Expand all Loading... |
292 | 292 |
293 | 293 |
294 // Gets the RootWindowController for |root_window|. | 294 // Gets the RootWindowController for |root_window|. |
295 ASH_EXPORT RootWindowController* GetRootWindowController( | 295 ASH_EXPORT RootWindowController* GetRootWindowController( |
296 const aura::RootWindow* root_window); | 296 const aura::RootWindow* root_window); |
297 | 297 |
298 } // namespace internal | 298 } // namespace internal |
299 } // ash | 299 } // ash |
300 | 300 |
301 #endif // ASH_ROOT_WINDOW_CONTROLLER_H_ | 301 #endif // ASH_ROOT_WINDOW_CONTROLLER_H_ |
OLD | NEW |