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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 class AutoclickController; | 80 class AutoclickController; |
81 class CapsLockDelegate; | 81 class CapsLockDelegate; |
82 class DesktopBackgroundController; | 82 class DesktopBackgroundController; |
83 class DisplayController; | 83 class DisplayController; |
84 class FirstRunHelper; | 84 class FirstRunHelper; |
85 class HighContrastController; | 85 class HighContrastController; |
86 class Launcher; | 86 class Launcher; |
87 class LauncherDelegate; | 87 class LauncherDelegate; |
88 class LauncherItemDelegate; | 88 class LauncherItemDelegate; |
89 class LauncherItemDelegateManager; | 89 class LauncherItemDelegateManager; |
90 class LauncherModel; | |
91 class LockStateController; | 90 class LockStateController; |
92 class MagnificationController; | 91 class MagnificationController; |
93 class MediaDelegate; | 92 class MediaDelegate; |
94 class MruWindowTracker; | 93 class MruWindowTracker; |
95 class NestedDispatcherController; | 94 class NestedDispatcherController; |
96 class NewWindowDelegate; | 95 class NewWindowDelegate; |
97 class PartialMagnificationController; | 96 class PartialMagnificationController; |
98 class PowerButtonController; | 97 class PowerButtonController; |
99 class RootWindowHostFactory; | 98 class RootWindowHostFactory; |
100 class ScreenAsh; | 99 class ScreenAsh; |
101 class SessionStateDelegate; | 100 class SessionStateDelegate; |
| 101 class ShelfModel; |
102 class ShellDelegate; | 102 class ShellDelegate; |
103 class ShellObserver; | 103 class ShellObserver; |
104 class StickyKeys; | 104 class StickyKeys; |
105 class SystemTray; | 105 class SystemTray; |
106 class SystemTrayDelegate; | 106 class SystemTrayDelegate; |
107 class SystemTrayNotifier; | 107 class SystemTrayNotifier; |
108 class UserActivityDetector; | 108 class UserActivityDetector; |
109 class UserWallpaperDelegate; | 109 class UserWallpaperDelegate; |
110 class VideoDetector; | 110 class VideoDetector; |
111 class WebNotificationTray; | 111 class WebNotificationTray; |
(...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
488 | 488 |
489 internal::ResolutionNotificationController* | 489 internal::ResolutionNotificationController* |
490 resolution_notification_controller() { | 490 resolution_notification_controller() { |
491 return resolution_notification_controller_.get(); | 491 return resolution_notification_controller_.get(); |
492 } | 492 } |
493 | 493 |
494 RootWindowHostFactory* root_window_host_factory() { | 494 RootWindowHostFactory* root_window_host_factory() { |
495 return root_window_host_factory_.get(); | 495 return root_window_host_factory_.get(); |
496 } | 496 } |
497 | 497 |
498 LauncherModel* launcher_model() { | 498 ShelfModel* shelf_model() { |
499 return launcher_model_.get(); | 499 return shelf_model_.get(); |
500 } | 500 } |
501 | 501 |
502 WindowPositioner* window_positioner() { | 502 WindowPositioner* window_positioner() { |
503 return window_positioner_.get(); | 503 return window_positioner_.get(); |
504 } | 504 } |
505 | 505 |
506 // Returns the launcher delegate, creating if necesary. | 506 // Returns the launcher delegate, creating if necesary. |
507 LauncherDelegate* GetLauncherDelegate(); | 507 LauncherDelegate* GetLauncherDelegate(); |
508 | 508 |
509 void SetTouchHudProjectionEnabled(bool enabled); | 509 void SetTouchHudProjectionEnabled(bool enabled); |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
585 scoped_ptr<SystemTrayNotifier> system_tray_notifier_; | 585 scoped_ptr<SystemTrayNotifier> system_tray_notifier_; |
586 scoped_ptr<UserWallpaperDelegate> user_wallpaper_delegate_; | 586 scoped_ptr<UserWallpaperDelegate> user_wallpaper_delegate_; |
587 scoped_ptr<CapsLockDelegate> caps_lock_delegate_; | 587 scoped_ptr<CapsLockDelegate> caps_lock_delegate_; |
588 scoped_ptr<SessionStateDelegate> session_state_delegate_; | 588 scoped_ptr<SessionStateDelegate> session_state_delegate_; |
589 scoped_ptr<AccessibilityDelegate> accessibility_delegate_; | 589 scoped_ptr<AccessibilityDelegate> accessibility_delegate_; |
590 scoped_ptr<NewWindowDelegate> new_window_delegate_; | 590 scoped_ptr<NewWindowDelegate> new_window_delegate_; |
591 scoped_ptr<MediaDelegate> media_delegate_; | 591 scoped_ptr<MediaDelegate> media_delegate_; |
592 scoped_ptr<LauncherDelegate> launcher_delegate_; | 592 scoped_ptr<LauncherDelegate> launcher_delegate_; |
593 scoped_ptr<LauncherItemDelegateManager> launcher_item_delegate_manager_; | 593 scoped_ptr<LauncherItemDelegateManager> launcher_item_delegate_manager_; |
594 | 594 |
595 scoped_ptr<LauncherModel> launcher_model_; | 595 scoped_ptr<ShelfModel> shelf_model_; |
596 scoped_ptr<ash::WindowPositioner> window_positioner_; | 596 scoped_ptr<WindowPositioner> window_positioner_; |
597 | 597 |
598 scoped_ptr<internal::AppListController> app_list_controller_; | 598 scoped_ptr<internal::AppListController> app_list_controller_; |
599 | 599 |
600 scoped_ptr<internal::DragDropController> drag_drop_controller_; | 600 scoped_ptr<internal::DragDropController> drag_drop_controller_; |
601 scoped_ptr<internal::ResizeShadowController> resize_shadow_controller_; | 601 scoped_ptr<internal::ResizeShadowController> resize_shadow_controller_; |
602 scoped_ptr<views::corewm::ShadowController> shadow_controller_; | 602 scoped_ptr<views::corewm::ShadowController> shadow_controller_; |
603 scoped_ptr<views::corewm::VisibilityController> visibility_controller_; | 603 scoped_ptr<views::corewm::VisibilityController> visibility_controller_; |
604 scoped_ptr<views::corewm::WindowModalityController> | 604 scoped_ptr<views::corewm::WindowModalityController> |
605 window_modality_controller_; | 605 window_modality_controller_; |
606 scoped_ptr<views::corewm::TooltipController> tooltip_controller_; | 606 scoped_ptr<views::corewm::TooltipController> tooltip_controller_; |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
686 bool simulate_modal_window_open_for_testing_; | 686 bool simulate_modal_window_open_for_testing_; |
687 | 687 |
688 bool is_touch_hud_projection_enabled_; | 688 bool is_touch_hud_projection_enabled_; |
689 | 689 |
690 DISALLOW_COPY_AND_ASSIGN(Shell); | 690 DISALLOW_COPY_AND_ASSIGN(Shell); |
691 }; | 691 }; |
692 | 692 |
693 } // namespace ash | 693 } // namespace ash |
694 | 694 |
695 #endif // ASH_SHELL_H_ | 695 #endif // ASH_SHELL_H_ |
OLD | NEW |