| 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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 class StatusAreaWidget; | 61 class StatusAreaWidget; |
| 62 class SystemBackgroundController; | 62 class SystemBackgroundController; |
| 63 class SystemModalContainerLayoutManager; | 63 class SystemModalContainerLayoutManager; |
| 64 class SystemTray; | 64 class SystemTray; |
| 65 class TouchHudDebug; | 65 class TouchHudDebug; |
| 66 class TouchHudProjection; | 66 class TouchHudProjection; |
| 67 class WorkspaceController; | 67 class WorkspaceController; |
| 68 | 68 |
| 69 #if defined(OS_CHROMEOS) | 69 #if defined(OS_CHROMEOS) |
| 70 class BootSplashScreen; | 70 class BootSplashScreen; |
| 71 class AccessibilityObserver; | 71 class AshTouchExplorationManager; |
| 72 #endif | 72 #endif |
| 73 | 73 |
| 74 // This class maintains the per root window state for ash. This class | 74 // This class maintains the per root window state for ash. This class |
| 75 // owns the root window and other dependent objects that should be | 75 // owns the root window and other dependent objects that should be |
| 76 // deleted upon the deletion of the root window. This object is | 76 // deleted upon the deletion of the root window. This object is |
| 77 // indirectly owned and deleted by |DisplayController|. | 77 // indirectly owned and deleted by |DisplayController|. |
| 78 // The RootWindowController for particular root window is stored in | 78 // The RootWindowController for particular root window is stored in |
| 79 // its property (RootWindowSettings) and can be obtained using | 79 // its property (RootWindowSettings) and can be obtained using |
| 80 // |GetRootWindowController(aura::WindowEventDispatcher*)| function. | 80 // |GetRootWindowController(aura::WindowEventDispatcher*)| function. |
| 81 class ASH_EXPORT RootWindowController : public ShellObserver { | 81 class ASH_EXPORT RootWindowController : public ShellObserver { |
| (...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 291 | 291 |
| 292 // Manages layout of panels. Owned by PanelContainer. | 292 // Manages layout of panels. Owned by PanelContainer. |
| 293 PanelLayoutManager* panel_layout_manager_; | 293 PanelLayoutManager* panel_layout_manager_; |
| 294 | 294 |
| 295 scoped_ptr<SystemBackgroundController> system_background_; | 295 scoped_ptr<SystemBackgroundController> system_background_; |
| 296 | 296 |
| 297 #if defined(OS_CHROMEOS) | 297 #if defined(OS_CHROMEOS) |
| 298 scoped_ptr<BootSplashScreen> boot_splash_screen_; | 298 scoped_ptr<BootSplashScreen> boot_splash_screen_; |
| 299 // Responsible for initializing TouchExplorationController when spoken | 299 // Responsible for initializing TouchExplorationController when spoken |
| 300 // feedback is on. | 300 // feedback is on. |
| 301 scoped_ptr<AccessibilityObserver> cros_accessibility_observer_; | 301 scoped_ptr<AshTouchExplorationManager> touch_exploration_manager_; |
| 302 #endif | 302 #endif |
| 303 | 303 |
| 304 scoped_ptr<ScreenDimmer> screen_dimmer_; | 304 scoped_ptr<ScreenDimmer> screen_dimmer_; |
| 305 scoped_ptr<WorkspaceController> workspace_controller_; | 305 scoped_ptr<WorkspaceController> workspace_controller_; |
| 306 scoped_ptr<AlwaysOnTopController> always_on_top_controller_; | 306 scoped_ptr<AlwaysOnTopController> always_on_top_controller_; |
| 307 | 307 |
| 308 // Heads-up displays for touch events. These HUDs are not owned by the root | 308 // Heads-up displays for touch events. These HUDs are not owned by the root |
| 309 // window controller and manage their own lifetimes. | 309 // window controller and manage their own lifetimes. |
| 310 TouchHudDebug* touch_hud_debug_; | 310 TouchHudDebug* touch_hud_debug_; |
| 311 TouchHudProjection* touch_hud_projection_; | 311 TouchHudProjection* touch_hud_projection_; |
| 312 | 312 |
| 313 // Handles double clicks on the panel window header. | 313 // Handles double clicks on the panel window header. |
| 314 scoped_ptr<ui::EventHandler> panel_container_handler_; | 314 scoped_ptr<ui::EventHandler> panel_container_handler_; |
| 315 | 315 |
| 316 scoped_ptr<DesktopBackgroundWidgetController> wallpaper_controller_; | 316 scoped_ptr<DesktopBackgroundWidgetController> wallpaper_controller_; |
| 317 scoped_ptr<AnimatingDesktopController> animating_wallpaper_controller_; | 317 scoped_ptr<AnimatingDesktopController> animating_wallpaper_controller_; |
| 318 scoped_ptr< ::wm::ScopedCaptureClient> capture_client_; | 318 scoped_ptr< ::wm::ScopedCaptureClient> capture_client_; |
| 319 | 319 |
| 320 DISALLOW_COPY_AND_ASSIGN(RootWindowController); | 320 DISALLOW_COPY_AND_ASSIGN(RootWindowController); |
| 321 }; | 321 }; |
| 322 | 322 |
| 323 | 323 |
| 324 // Gets the RootWindowController for |root_window|. | 324 // Gets the RootWindowController for |root_window|. |
| 325 ASH_EXPORT RootWindowController* GetRootWindowController( | 325 ASH_EXPORT RootWindowController* GetRootWindowController( |
| 326 const aura::Window* root_window); | 326 const aura::Window* root_window); |
| 327 | 327 |
| 328 } // namespace ash | 328 } // namespace ash |
| 329 | 329 |
| 330 #endif // ASH_ROOT_WINDOW_CONTROLLER_H_ | 330 #endif // ASH_ROOT_WINDOW_CONTROLLER_H_ |
| OLD | NEW |