| 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_SHELL_H_ | 5 #ifndef ASH_SHELL_H_ |
| 6 #define ASH_SHELL_H_ | 6 #define ASH_SHELL_H_ |
| 7 | 7 |
| 8 #include <utility> | 8 #include <utility> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 class Layer; | 52 class Layer; |
| 53 } | 53 } |
| 54 namespace views { | 54 namespace views { |
| 55 class NonClientFrameView; | 55 class NonClientFrameView; |
| 56 class Widget; | 56 class Widget; |
| 57 } | 57 } |
| 58 | 58 |
| 59 namespace ash { | 59 namespace ash { |
| 60 | 60 |
| 61 class AcceleratorController; | 61 class AcceleratorController; |
| 62 class CapsLockDelegate; |
| 62 class DesktopBackgroundController; | 63 class DesktopBackgroundController; |
| 63 class HighContrastController; | 64 class HighContrastController; |
| 64 class Launcher; | 65 class Launcher; |
| 65 class NestedDispatcherController; | 66 class NestedDispatcherController; |
| 66 class PowerButtonController; | 67 class PowerButtonController; |
| 67 class ScreenAsh; | 68 class ScreenAsh; |
| 68 class ShellDelegate; | 69 class ShellDelegate; |
| 69 class ShellObserver; | 70 class ShellObserver; |
| 70 class SystemTrayDelegate; | 71 class SystemTrayDelegate; |
| 71 class SystemTray; | 72 class SystemTray; |
| (...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 279 return display_controller_.get(); | 280 return display_controller_.get(); |
| 280 } | 281 } |
| 281 CursorManager* cursor_manager() { return &cursor_manager_; } | 282 CursorManager* cursor_manager() { return &cursor_manager_; } |
| 282 | 283 |
| 283 ShellDelegate* delegate() { return delegate_.get(); } | 284 ShellDelegate* delegate() { return delegate_.get(); } |
| 284 | 285 |
| 285 UserWallpaperDelegate* user_wallpaper_delegate() { | 286 UserWallpaperDelegate* user_wallpaper_delegate() { |
| 286 return user_wallpaper_delegate_.get(); | 287 return user_wallpaper_delegate_.get(); |
| 287 } | 288 } |
| 288 | 289 |
| 290 CapsLockDelegate* caps_lock_delegate() { |
| 291 return caps_lock_delegate_.get(); |
| 292 } |
| 293 |
| 289 HighContrastController* high_contrast_controller() { | 294 HighContrastController* high_contrast_controller() { |
| 290 return high_contrast_controller_.get(); | 295 return high_contrast_controller_.get(); |
| 291 } | 296 } |
| 292 | 297 |
| 293 internal::MagnificationController* magnification_controller() { | 298 internal::MagnificationController* magnification_controller() { |
| 294 return magnification_controller_.get(); | 299 return magnification_controller_.get(); |
| 295 } | 300 } |
| 296 | 301 |
| 297 Launcher* launcher() { return launcher_.get(); } | 302 Launcher* launcher() { return launcher_.get(); } |
| 298 | 303 |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 401 std::vector<WindowAndBoundsPair> to_restore_; | 406 std::vector<WindowAndBoundsPair> to_restore_; |
| 402 | 407 |
| 403 #if !defined(OS_MACOSX) | 408 #if !defined(OS_MACOSX) |
| 404 scoped_ptr<NestedDispatcherController> nested_dispatcher_controller_; | 409 scoped_ptr<NestedDispatcherController> nested_dispatcher_controller_; |
| 405 | 410 |
| 406 scoped_ptr<AcceleratorController> accelerator_controller_; | 411 scoped_ptr<AcceleratorController> accelerator_controller_; |
| 407 #endif // !defined(OS_MACOSX) | 412 #endif // !defined(OS_MACOSX) |
| 408 | 413 |
| 409 scoped_ptr<ShellDelegate> delegate_; | 414 scoped_ptr<ShellDelegate> delegate_; |
| 410 scoped_ptr<UserWallpaperDelegate> user_wallpaper_delegate_; | 415 scoped_ptr<UserWallpaperDelegate> user_wallpaper_delegate_; |
| 416 scoped_ptr<CapsLockDelegate> caps_lock_delegate_; |
| 411 | 417 |
| 412 scoped_ptr<Launcher> launcher_; | 418 scoped_ptr<Launcher> launcher_; |
| 413 | 419 |
| 414 scoped_ptr<internal::AppListController> app_list_controller_; | 420 scoped_ptr<internal::AppListController> app_list_controller_; |
| 415 | 421 |
| 416 scoped_ptr<internal::ShellContextMenu> shell_context_menu_; | 422 scoped_ptr<internal::ShellContextMenu> shell_context_menu_; |
| 417 scoped_ptr<internal::StackingController> stacking_controller_; | 423 scoped_ptr<internal::StackingController> stacking_controller_; |
| 418 scoped_ptr<internal::ActivationController> activation_controller_; | 424 scoped_ptr<internal::ActivationController> activation_controller_; |
| 419 scoped_ptr<internal::CaptureController> capture_controller_; | 425 scoped_ptr<internal::CaptureController> capture_controller_; |
| 420 scoped_ptr<internal::WindowModalityController> window_modality_controller_; | 426 scoped_ptr<internal::WindowModalityController> window_modality_controller_; |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 483 | 489 |
| 484 // Used by ash/shell. | 490 // Used by ash/shell. |
| 485 content::BrowserContext* browser_context_; | 491 content::BrowserContext* browser_context_; |
| 486 | 492 |
| 487 DISALLOW_COPY_AND_ASSIGN(Shell); | 493 DISALLOW_COPY_AND_ASSIGN(Shell); |
| 488 }; | 494 }; |
| 489 | 495 |
| 490 } // namespace ash | 496 } // namespace ash |
| 491 | 497 |
| 492 #endif // ASH_SHELL_H_ | 498 #endif // ASH_SHELL_H_ |
| OLD | NEW |