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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 141 class ShelfModel; | 141 class ShelfModel; |
| 142 class ShelfWindowWatcher; | 142 class ShelfWindowWatcher; |
| 143 class ShellDelegate; | 143 class ShellDelegate; |
| 144 struct ShellInitParams; | 144 struct ShellInitParams; |
| 145 class SlowAnimationEventFilter; | 145 class SlowAnimationEventFilter; |
| 146 class StatusAreaWidget; | 146 class StatusAreaWidget; |
| 147 class StickyKeysController; | 147 class StickyKeysController; |
| 148 class SystemGestureEventFilter; | 148 class SystemGestureEventFilter; |
| 149 class SystemModalContainerEventFilter; | 149 class SystemModalContainerEventFilter; |
| 150 class SystemTray; | 150 class SystemTray; |
| 151 class SystemTrayDelegate; | 151 class SystemTrayDelegate; |
|
msw
2016/06/10 18:48:20
nit: remove
James Cook
2016/06/10 20:20:29
Done.
| |
| 152 class SystemTrayNotifier; | 152 class SystemTrayNotifier; |
| 153 class ToastManager; | 153 class ToastManager; |
| 154 class ToplevelWindowEventHandler; | 154 class ToplevelWindowEventHandler; |
| 155 class TouchTransformerController; | 155 class TouchTransformerController; |
| 156 class TouchObserverHUD; | 156 class TouchObserverHUD; |
| 157 class UserWallpaperDelegate; | 157 class UserWallpaperDelegate; |
| 158 class VirtualKeyboardController; | 158 class VirtualKeyboardController; |
| 159 class VideoActivityNotifier; | 159 class VideoActivityNotifier; |
| 160 class VideoDetector; | 160 class VideoDetector; |
| 161 class WebNotificationTray; | 161 class WebNotificationTray; |
| (...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 488 | 488 |
| 489 // Returns WebNotificationTray on the primary root window. | 489 // Returns WebNotificationTray on the primary root window. |
| 490 WebNotificationTray* GetWebNotificationTray(); | 490 WebNotificationTray* GetWebNotificationTray(); |
| 491 | 491 |
| 492 // Does the primary display have status area? | 492 // Does the primary display have status area? |
| 493 bool HasPrimaryStatusArea(); | 493 bool HasPrimaryStatusArea(); |
| 494 | 494 |
| 495 // Returns the system tray on primary display. | 495 // Returns the system tray on primary display. |
| 496 SystemTray* GetPrimarySystemTray(); | 496 SystemTray* GetPrimarySystemTray(); |
| 497 | 497 |
| 498 SystemTrayDelegate* system_tray_delegate() { | |
| 499 return system_tray_delegate_.get(); | |
| 500 } | |
| 501 | |
| 502 SystemTrayNotifier* system_tray_notifier() { | 498 SystemTrayNotifier* system_tray_notifier() { |
| 503 return system_tray_notifier_.get(); | 499 return system_tray_notifier_.get(); |
| 504 } | 500 } |
| 505 | 501 |
| 506 static void set_initially_hide_cursor(bool hide) { | 502 static void set_initially_hide_cursor(bool hide) { |
| 507 initially_hide_cursor_ = hide; | 503 initially_hide_cursor_ = hide; |
| 508 } | 504 } |
| 509 | 505 |
| 510 ResizeShadowController* resize_shadow_controller() { | 506 ResizeShadowController* resize_shadow_controller() { |
| 511 return resize_shadow_controller_.get(); | 507 return resize_shadow_controller_.get(); |
| (...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 658 aura::Window* scoped_target_root_window_; | 654 aura::Window* scoped_target_root_window_; |
| 659 | 655 |
| 660 // The CompoundEventFilter owned by aura::Env object. | 656 // The CompoundEventFilter owned by aura::Env object. |
| 661 std::unique_ptr<::wm::CompoundEventFilter> env_filter_; | 657 std::unique_ptr<::wm::CompoundEventFilter> env_filter_; |
| 662 | 658 |
| 663 std::vector<WindowAndBoundsPair> to_restore_; | 659 std::vector<WindowAndBoundsPair> to_restore_; |
| 664 | 660 |
| 665 std::unique_ptr<UserMetricsRecorder> user_metrics_recorder_; | 661 std::unique_ptr<UserMetricsRecorder> user_metrics_recorder_; |
| 666 std::unique_ptr<AcceleratorController> accelerator_controller_; | 662 std::unique_ptr<AcceleratorController> accelerator_controller_; |
| 667 std::unique_ptr<ShellDelegate> delegate_; | 663 std::unique_ptr<ShellDelegate> delegate_; |
| 668 std::unique_ptr<SystemTrayDelegate> system_tray_delegate_; | |
| 669 std::unique_ptr<SystemTrayNotifier> system_tray_notifier_; | 664 std::unique_ptr<SystemTrayNotifier> system_tray_notifier_; |
| 670 std::unique_ptr<UserWallpaperDelegate> user_wallpaper_delegate_; | 665 std::unique_ptr<UserWallpaperDelegate> user_wallpaper_delegate_; |
| 671 std::unique_ptr<SessionStateDelegate> session_state_delegate_; | 666 std::unique_ptr<SessionStateDelegate> session_state_delegate_; |
| 672 std::unique_ptr<AccessibilityDelegate> accessibility_delegate_; | 667 std::unique_ptr<AccessibilityDelegate> accessibility_delegate_; |
| 673 std::unique_ptr<NewWindowDelegate> new_window_delegate_; | 668 std::unique_ptr<NewWindowDelegate> new_window_delegate_; |
| 674 std::unique_ptr<MediaDelegate> media_delegate_; | 669 std::unique_ptr<MediaDelegate> media_delegate_; |
| 675 std::unique_ptr<ContainerDelegate> container_delegate_; | 670 std::unique_ptr<ContainerDelegate> container_delegate_; |
| 676 std::unique_ptr<PointerWatcherDelegate> pointer_watcher_delegate_; | 671 std::unique_ptr<PointerWatcherDelegate> pointer_watcher_delegate_; |
| 677 std::unique_ptr<ShelfDelegate> shelf_delegate_; | 672 std::unique_ptr<ShelfDelegate> shelf_delegate_; |
| 678 std::unique_ptr<ShelfItemDelegateManager> shelf_item_delegate_manager_; | 673 std::unique_ptr<ShelfItemDelegateManager> shelf_item_delegate_manager_; |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 792 bool in_mus_ = false; | 787 bool in_mus_ = false; |
| 793 | 788 |
| 794 std::unique_ptr<KeyboardUI> keyboard_ui_; | 789 std::unique_ptr<KeyboardUI> keyboard_ui_; |
| 795 | 790 |
| 796 DISALLOW_COPY_AND_ASSIGN(Shell); | 791 DISALLOW_COPY_AND_ASSIGN(Shell); |
| 797 }; | 792 }; |
| 798 | 793 |
| 799 } // namespace ash | 794 } // namespace ash |
| 800 | 795 |
| 801 #endif // ASH_SHELL_H_ | 796 #endif // ASH_SHELL_H_ |
| OLD | NEW |