Chromium Code Reviews| 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 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 140 class ShelfModel; | 140 class ShelfModel; |
| 141 class ShelfWindowWatcher; | 141 class ShelfWindowWatcher; |
| 142 class ShellDelegate; | 142 class ShellDelegate; |
| 143 struct ShellInitParams; | 143 struct ShellInitParams; |
| 144 class SlowAnimationEventFilter; | 144 class SlowAnimationEventFilter; |
| 145 class StatusAreaWidget; | 145 class StatusAreaWidget; |
| 146 class StickyKeysController; | 146 class StickyKeysController; |
| 147 class SystemGestureEventFilter; | 147 class SystemGestureEventFilter; |
| 148 class SystemModalContainerEventFilter; | 148 class SystemModalContainerEventFilter; |
| 149 class SystemTray; | 149 class SystemTray; |
| 150 class SystemTrayNotifier; | |
| 151 class ToastManager; | 150 class ToastManager; |
| 152 class ToplevelWindowEventHandler; | 151 class ToplevelWindowEventHandler; |
| 153 class TouchTransformerController; | 152 class TouchTransformerController; |
| 154 class TouchObserverHUD; | 153 class TouchObserverHUD; |
| 155 class UserWallpaperDelegate; | 154 class UserWallpaperDelegate; |
| 156 class VirtualKeyboardController; | 155 class VirtualKeyboardController; |
| 157 class VideoActivityNotifier; | 156 class VideoActivityNotifier; |
| 158 class VideoDetector; | 157 class VideoDetector; |
| 159 class WebNotificationTray; | 158 class WebNotificationTray; |
| 160 class WindowCycleController; | 159 class WindowCycleController; |
| (...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 464 | 463 |
| 465 // Returns WebNotificationTray on the primary root window. | 464 // Returns WebNotificationTray on the primary root window. |
| 466 WebNotificationTray* GetWebNotificationTray(); | 465 WebNotificationTray* GetWebNotificationTray(); |
| 467 | 466 |
| 468 // Does the primary display have status area? | 467 // Does the primary display have status area? |
| 469 bool HasPrimaryStatusArea(); | 468 bool HasPrimaryStatusArea(); |
| 470 | 469 |
| 471 // Returns the system tray on primary display. | 470 // Returns the system tray on primary display. |
| 472 SystemTray* GetPrimarySystemTray(); | 471 SystemTray* GetPrimarySystemTray(); |
| 473 | 472 |
| 474 SystemTrayNotifier* system_tray_notifier() { | |
| 475 return system_tray_notifier_.get(); | |
| 476 } | |
| 477 | |
| 478 static void set_initially_hide_cursor(bool hide) { | 473 static void set_initially_hide_cursor(bool hide) { |
| 479 initially_hide_cursor_ = hide; | 474 initially_hide_cursor_ = hide; |
| 480 } | 475 } |
| 481 | 476 |
| 482 ResizeShadowController* resize_shadow_controller() { | 477 ResizeShadowController* resize_shadow_controller() { |
| 483 return resize_shadow_controller_.get(); | 478 return resize_shadow_controller_.get(); |
| 484 } | 479 } |
| 485 | 480 |
| 486 // Made available for tests. | 481 // Made available for tests. |
| 487 ::wm::ShadowController* shadow_controller() { | 482 ::wm::ShadowController* shadow_controller() { |
| (...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 635 aura::Window* scoped_target_root_window_; | 630 aura::Window* scoped_target_root_window_; |
| 636 | 631 |
| 637 // The CompoundEventFilter owned by aura::Env object. | 632 // The CompoundEventFilter owned by aura::Env object. |
| 638 std::unique_ptr<::wm::CompoundEventFilter> env_filter_; | 633 std::unique_ptr<::wm::CompoundEventFilter> env_filter_; |
| 639 | 634 |
| 640 std::vector<WindowAndBoundsPair> to_restore_; | 635 std::vector<WindowAndBoundsPair> to_restore_; |
| 641 | 636 |
| 642 std::unique_ptr<UserMetricsRecorder> user_metrics_recorder_; | 637 std::unique_ptr<UserMetricsRecorder> user_metrics_recorder_; |
| 643 std::unique_ptr<AcceleratorController> accelerator_controller_; | 638 std::unique_ptr<AcceleratorController> accelerator_controller_; |
| 644 std::unique_ptr<ShellDelegate> delegate_; | 639 std::unique_ptr<ShellDelegate> delegate_; |
| 645 std::unique_ptr<SystemTrayNotifier> system_tray_notifier_; | |
|
James Cook
2016/06/24 23:37:04
Hooray!
| |
| 646 std::unique_ptr<UserWallpaperDelegate> user_wallpaper_delegate_; | 640 std::unique_ptr<UserWallpaperDelegate> user_wallpaper_delegate_; |
| 647 std::unique_ptr<SessionStateDelegate> session_state_delegate_; | 641 std::unique_ptr<SessionStateDelegate> session_state_delegate_; |
| 648 std::unique_ptr<AccessibilityDelegate> accessibility_delegate_; | 642 std::unique_ptr<AccessibilityDelegate> accessibility_delegate_; |
| 649 std::unique_ptr<NewWindowDelegate> new_window_delegate_; | 643 std::unique_ptr<NewWindowDelegate> new_window_delegate_; |
| 650 std::unique_ptr<MediaDelegate> media_delegate_; | 644 std::unique_ptr<MediaDelegate> media_delegate_; |
| 651 std::unique_ptr<PointerWatcherDelegate> pointer_watcher_delegate_; | 645 std::unique_ptr<PointerWatcherDelegate> pointer_watcher_delegate_; |
| 652 std::unique_ptr<ShelfDelegate> shelf_delegate_; | 646 std::unique_ptr<ShelfDelegate> shelf_delegate_; |
| 653 std::unique_ptr<ShelfItemDelegateManager> shelf_item_delegate_manager_; | 647 std::unique_ptr<ShelfItemDelegateManager> shelf_item_delegate_manager_; |
| 654 std::unique_ptr<ShelfWindowWatcher> shelf_window_watcher_; | 648 std::unique_ptr<ShelfWindowWatcher> shelf_window_watcher_; |
| 655 | 649 |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 766 bool in_mus_ = false; | 760 bool in_mus_ = false; |
| 767 | 761 |
| 768 std::unique_ptr<KeyboardUI> keyboard_ui_; | 762 std::unique_ptr<KeyboardUI> keyboard_ui_; |
| 769 | 763 |
| 770 DISALLOW_COPY_AND_ASSIGN(Shell); | 764 DISALLOW_COPY_AND_ASSIGN(Shell); |
| 771 }; | 765 }; |
| 772 | 766 |
| 773 } // namespace ash | 767 } // namespace ash |
| 774 | 768 |
| 775 #endif // ASH_SHELL_H_ | 769 #endif // ASH_SHELL_H_ |
| OLD | NEW |