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 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 class ToplevelWindowEventHandler; | 138 class ToplevelWindowEventHandler; |
139 class TouchObserverHUD; | 139 class TouchObserverHUD; |
140 class UserActivityDetector; | 140 class UserActivityDetector; |
141 class UserWallpaperDelegate; | 141 class UserWallpaperDelegate; |
142 class VideoActivityNotifier; | 142 class VideoActivityNotifier; |
143 class VideoDetector; | 143 class VideoDetector; |
144 class WebNotificationTray; | 144 class WebNotificationTray; |
145 class WindowCycleController; | 145 class WindowCycleController; |
146 class WindowPositioner; | 146 class WindowPositioner; |
147 class WindowSelectorController; | 147 class WindowSelectorController; |
148 class WindowTreeHostFactory; | |
149 | 148 |
150 namespace shell { | 149 namespace shell { |
151 class WindowWatcher; | 150 class WindowWatcher; |
152 } | 151 } |
153 | 152 |
154 namespace test { | 153 namespace test { |
155 class ShellTestApi; | 154 class ShellTestApi; |
156 } | 155 } |
157 | 156 |
158 // Shell is a singleton object that presents the Shell API and implements the | 157 // Shell is a singleton object that presents the Shell API and implements the |
(...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
508 | 507 |
509 ResolutionNotificationController* resolution_notification_controller() { | 508 ResolutionNotificationController* resolution_notification_controller() { |
510 return resolution_notification_controller_.get(); | 509 return resolution_notification_controller_.get(); |
511 } | 510 } |
512 | 511 |
513 LogoutConfirmationController* logout_confirmation_controller() { | 512 LogoutConfirmationController* logout_confirmation_controller() { |
514 return logout_confirmation_controller_.get(); | 513 return logout_confirmation_controller_.get(); |
515 } | 514 } |
516 #endif // defined(OS_CHROMEOS) | 515 #endif // defined(OS_CHROMEOS) |
517 | 516 |
518 WindowTreeHostFactory* window_tree_host_factory() { | |
519 return window_tree_host_factory_.get(); | |
520 } | |
521 | |
522 ShelfModel* shelf_model() { | 517 ShelfModel* shelf_model() { |
523 return shelf_model_.get(); | 518 return shelf_model_.get(); |
524 } | 519 } |
525 | 520 |
526 WindowPositioner* window_positioner() { | 521 WindowPositioner* window_positioner() { |
527 return window_positioner_.get(); | 522 return window_positioner_.get(); |
528 } | 523 } |
529 | 524 |
530 // Returns the launcher delegate, creating if necesary. | 525 // Returns the launcher delegate, creating if necesary. |
531 ShelfDelegate* GetShelfDelegate(); | 526 ShelfDelegate* GetShelfDelegate(); |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
645 scoped_ptr<VideoDetector> video_detector_; | 640 scoped_ptr<VideoDetector> video_detector_; |
646 scoped_ptr<WindowSelectorController> window_selector_controller_; | 641 scoped_ptr<WindowSelectorController> window_selector_controller_; |
647 scoped_ptr<FocusCycler> focus_cycler_; | 642 scoped_ptr<FocusCycler> focus_cycler_; |
648 scoped_ptr<DisplayController> display_controller_; | 643 scoped_ptr<DisplayController> display_controller_; |
649 scoped_ptr<HighContrastController> high_contrast_controller_; | 644 scoped_ptr<HighContrastController> high_contrast_controller_; |
650 scoped_ptr<MagnificationController> magnification_controller_; | 645 scoped_ptr<MagnificationController> magnification_controller_; |
651 scoped_ptr<PartialMagnificationController> partial_magnification_controller_; | 646 scoped_ptr<PartialMagnificationController> partial_magnification_controller_; |
652 scoped_ptr<AutoclickController> autoclick_controller_; | 647 scoped_ptr<AutoclickController> autoclick_controller_; |
653 scoped_ptr<aura::client::FocusClient> focus_client_; | 648 scoped_ptr<aura::client::FocusClient> focus_client_; |
654 aura::client::ActivationClient* activation_client_; | 649 aura::client::ActivationClient* activation_client_; |
| 650 |
655 scoped_ptr<MouseCursorEventFilter> mouse_cursor_filter_; | 651 scoped_ptr<MouseCursorEventFilter> mouse_cursor_filter_; |
656 scoped_ptr<ScreenPositionController> screen_position_controller_; | 652 scoped_ptr<ScreenPositionController> screen_position_controller_; |
657 scoped_ptr<SystemModalContainerEventFilter> modality_filter_; | 653 scoped_ptr<SystemModalContainerEventFilter> modality_filter_; |
658 scoped_ptr<EventClientImpl> event_client_; | 654 scoped_ptr<EventClientImpl> event_client_; |
659 scoped_ptr<EventTransformationHandler> event_transformation_handler_; | 655 scoped_ptr<EventTransformationHandler> event_transformation_handler_; |
660 scoped_ptr<WindowTreeHostFactory> window_tree_host_factory_; | |
661 | 656 |
662 // An event filter that pre-handles key events while the partial | 657 // An event filter that pre-handles key events while the partial |
663 // screenshot UI or the keyboard overlay is active. | 658 // screenshot UI or the keyboard overlay is active. |
664 scoped_ptr<OverlayEventFilter> overlay_filter_; | 659 scoped_ptr<OverlayEventFilter> overlay_filter_; |
665 | 660 |
666 // An event filter for logging keyboard-related metrics. | 661 // An event filter for logging keyboard-related metrics. |
667 scoped_ptr<KeyboardUMAEventFilter> keyboard_metrics_filter_; | 662 scoped_ptr<KeyboardUMAEventFilter> keyboard_metrics_filter_; |
668 | 663 |
669 // An event filter which handles moving and resizing windows. | 664 // An event filter which handles moving and resizing windows. |
670 scoped_ptr<ToplevelWindowEventHandler> toplevel_window_event_handler_; | 665 scoped_ptr<ToplevelWindowEventHandler> toplevel_window_event_handler_; |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
739 | 734 |
740 // Injected content::GPUDataManager support. | 735 // Injected content::GPUDataManager support. |
741 scoped_ptr<GPUSupport> gpu_support_; | 736 scoped_ptr<GPUSupport> gpu_support_; |
742 | 737 |
743 DISALLOW_COPY_AND_ASSIGN(Shell); | 738 DISALLOW_COPY_AND_ASSIGN(Shell); |
744 }; | 739 }; |
745 | 740 |
746 } // namespace ash | 741 } // namespace ash |
747 | 742 |
748 #endif // ASH_SHELL_H_ | 743 #endif // ASH_SHELL_H_ |
OLD | NEW |