| 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 <memory> | 8 #include <memory> |
| 9 #include <utility> | 9 #include <utility> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 class RootWindowController; | 114 class RootWindowController; |
| 115 class ScopedOverviewAnimationSettingsFactoryAura; | 115 class ScopedOverviewAnimationSettingsFactoryAura; |
| 116 class ScopedTargetRootWindow; | 116 class ScopedTargetRootWindow; |
| 117 class ScreenAsh; | 117 class ScreenAsh; |
| 118 class ScreenOrientationController; | 118 class ScreenOrientationController; |
| 119 class ScreenshotController; | 119 class ScreenshotController; |
| 120 class ScreenPinningController; | 120 class ScreenPinningController; |
| 121 class ScreenPositionController; | 121 class ScreenPositionController; |
| 122 class SessionStateDelegate; | 122 class SessionStateDelegate; |
| 123 class Shelf; | 123 class Shelf; |
| 124 class ShelfDelegate; | |
| 125 class ShelfWindowWatcher; | 124 class ShelfWindowWatcher; |
| 126 class ShellDelegate; | 125 class ShellDelegate; |
| 127 struct ShellInitParams; | 126 struct ShellInitParams; |
| 128 class SlowAnimationEventFilter; | 127 class SlowAnimationEventFilter; |
| 129 class StatusAreaWidget; | 128 class StatusAreaWidget; |
| 130 class StickyKeysController; | 129 class StickyKeysController; |
| 131 class SystemGestureEventFilter; | 130 class SystemGestureEventFilter; |
| 132 class SystemModalContainerEventFilter; | 131 class SystemModalContainerEventFilter; |
| 133 class SystemTray; | 132 class SystemTray; |
| 134 class ToplevelWindowEventHandler; | 133 class ToplevelWindowEventHandler; |
| (...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 442 return virtual_keyboard_controller_.get(); | 441 return virtual_keyboard_controller_.get(); |
| 443 } | 442 } |
| 444 | 443 |
| 445 chromeos::AudioA11yController* audio_a11y_controller() { | 444 chromeos::AudioA11yController* audio_a11y_controller() { |
| 446 return audio_a11y_controller_.get(); | 445 return audio_a11y_controller_.get(); |
| 447 } | 446 } |
| 448 #endif // defined(OS_CHROMEOS) | 447 #endif // defined(OS_CHROMEOS) |
| 449 | 448 |
| 450 WindowPositioner* window_positioner() { return window_positioner_.get(); } | 449 WindowPositioner* window_positioner() { return window_positioner_.get(); } |
| 451 | 450 |
| 452 // Returns the launcher delegate, creating if necesary. | |
| 453 ShelfDelegate* GetShelfDelegate(); | |
| 454 | |
| 455 UserMetricsRecorder* metrics() { return user_metrics_recorder_.get(); } | 451 UserMetricsRecorder* metrics() { return user_metrics_recorder_.get(); } |
| 456 | 452 |
| 457 void SetTouchHudProjectionEnabled(bool enabled); | 453 void SetTouchHudProjectionEnabled(bool enabled); |
| 458 | 454 |
| 459 bool is_touch_hud_projection_enabled() const { | 455 bool is_touch_hud_projection_enabled() const { |
| 460 return is_touch_hud_projection_enabled_; | 456 return is_touch_hud_projection_enabled_; |
| 461 } | 457 } |
| 462 | 458 |
| 463 // TODO(sky): remove this. This was needed by sysui, but as sysui is going | 459 // TODO(sky): remove this. This was needed by sysui, but as sysui is going |
| 464 // away it should no longer be needed. | 460 // away it should no longer be needed. |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 548 | 544 |
| 549 std::vector<WindowAndBoundsPair> to_restore_; | 545 std::vector<WindowAndBoundsPair> to_restore_; |
| 550 | 546 |
| 551 std::unique_ptr<UserMetricsRecorder> user_metrics_recorder_; | 547 std::unique_ptr<UserMetricsRecorder> user_metrics_recorder_; |
| 552 std::unique_ptr<AcceleratorControllerDelegateAura> | 548 std::unique_ptr<AcceleratorControllerDelegateAura> |
| 553 accelerator_controller_delegate_; | 549 accelerator_controller_delegate_; |
| 554 std::unique_ptr<UserWallpaperDelegate> user_wallpaper_delegate_; | 550 std::unique_ptr<UserWallpaperDelegate> user_wallpaper_delegate_; |
| 555 std::unique_ptr<SessionStateDelegate> session_state_delegate_; | 551 std::unique_ptr<SessionStateDelegate> session_state_delegate_; |
| 556 std::unique_ptr<NewWindowDelegate> new_window_delegate_; | 552 std::unique_ptr<NewWindowDelegate> new_window_delegate_; |
| 557 std::unique_ptr<PointerWatcherDelegate> pointer_watcher_delegate_; | 553 std::unique_ptr<PointerWatcherDelegate> pointer_watcher_delegate_; |
| 558 std::unique_ptr<ShelfDelegate> shelf_delegate_; | |
| 559 std::unique_ptr<ShelfWindowWatcher> shelf_window_watcher_; | 554 std::unique_ptr<ShelfWindowWatcher> shelf_window_watcher_; |
| 560 std::unique_ptr<WindowPositioner> window_positioner_; | 555 std::unique_ptr<WindowPositioner> window_positioner_; |
| 561 | 556 |
| 562 std::unique_ptr<DragDropController> drag_drop_controller_; | 557 std::unique_ptr<DragDropController> drag_drop_controller_; |
| 563 std::unique_ptr<ResizeShadowController> resize_shadow_controller_; | 558 std::unique_ptr<ResizeShadowController> resize_shadow_controller_; |
| 564 std::unique_ptr<::wm::ShadowController> shadow_controller_; | 559 std::unique_ptr<::wm::ShadowController> shadow_controller_; |
| 565 std::unique_ptr<::wm::VisibilityController> visibility_controller_; | 560 std::unique_ptr<::wm::VisibilityController> visibility_controller_; |
| 566 std::unique_ptr<::wm::WindowModalityController> window_modality_controller_; | 561 std::unique_ptr<::wm::WindowModalityController> window_modality_controller_; |
| 567 std::unique_ptr<views::corewm::TooltipController> tooltip_controller_; | 562 std::unique_ptr<views::corewm::TooltipController> tooltip_controller_; |
| 568 std::unique_ptr<DesktopBackgroundController> desktop_background_controller_; | 563 std::unique_ptr<DesktopBackgroundController> desktop_background_controller_; |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 660 base::SequencedWorkerPool* blocking_pool_; | 655 base::SequencedWorkerPool* blocking_pool_; |
| 661 | 656 |
| 662 bool in_mus_ = false; | 657 bool in_mus_ = false; |
| 663 | 658 |
| 664 DISALLOW_COPY_AND_ASSIGN(Shell); | 659 DISALLOW_COPY_AND_ASSIGN(Shell); |
| 665 }; | 660 }; |
| 666 | 661 |
| 667 } // namespace ash | 662 } // namespace ash |
| 668 | 663 |
| 669 #endif // ASH_SHELL_H_ | 664 #endif // ASH_SHELL_H_ |
| OLD | NEW |