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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 class OverlayEventFilter; | 111 class OverlayEventFilter; |
112 class PartialMagnificationController; | 112 class PartialMagnificationController; |
113 class PowerButtonController; | 113 class PowerButtonController; |
114 class PowerEventObserver; | 114 class PowerEventObserver; |
115 class ProjectingObserver; | 115 class ProjectingObserver; |
116 class ResizeShadowController; | 116 class ResizeShadowController; |
117 class ResolutionNotificationController; | 117 class ResolutionNotificationController; |
118 class RootWindowController; | 118 class RootWindowController; |
119 class ScopedTargetRootWindow; | 119 class ScopedTargetRootWindow; |
120 class ScreenAsh; | 120 class ScreenAsh; |
| 121 class ScreenOrientationDelegate; |
121 class ScreenPositionController; | 122 class ScreenPositionController; |
122 class SessionStateDelegate; | 123 class SessionStateDelegate; |
123 class Shelf; | 124 class Shelf; |
124 class ShelfDelegate; | 125 class ShelfDelegate; |
125 class ShelfItemDelegateManager; | 126 class ShelfItemDelegateManager; |
126 class ShelfModel; | 127 class ShelfModel; |
127 class ShelfWindowWatcher; | 128 class ShelfWindowWatcher; |
128 class ShellDelegate; | 129 class ShellDelegate; |
129 struct ShellInitParams; | 130 struct ShellInitParams; |
130 class ShellObserver; | 131 class ShellObserver; |
(...skipping 397 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
528 } | 529 } |
529 | 530 |
530 ResolutionNotificationController* resolution_notification_controller() { | 531 ResolutionNotificationController* resolution_notification_controller() { |
531 return resolution_notification_controller_.get(); | 532 return resolution_notification_controller_.get(); |
532 } | 533 } |
533 | 534 |
534 LogoutConfirmationController* logout_confirmation_controller() { | 535 LogoutConfirmationController* logout_confirmation_controller() { |
535 return logout_confirmation_controller_.get(); | 536 return logout_confirmation_controller_.get(); |
536 } | 537 } |
537 | 538 |
| 539 ScreenOrientationDelegate* screen_orientation_delegate() { |
| 540 return screen_orientation_delegate_.get(); |
| 541 } |
| 542 |
538 VirtualKeyboardController* virtual_keyboard_controller() { | 543 VirtualKeyboardController* virtual_keyboard_controller() { |
539 return virtual_keyboard_controller_.get(); | 544 return virtual_keyboard_controller_.get(); |
540 } | 545 } |
541 #endif // defined(OS_CHROMEOS) | 546 #endif // defined(OS_CHROMEOS) |
542 | 547 |
543 ShelfModel* shelf_model() { | 548 ShelfModel* shelf_model() { |
544 return shelf_model_.get(); | 549 return shelf_model_.get(); |
545 } | 550 } |
546 | 551 |
547 WindowPositioner* window_positioner() { | 552 WindowPositioner* window_positioner() { |
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
721 scoped_ptr<VirtualKeyboardController> virtual_keyboard_controller_; | 726 scoped_ptr<VirtualKeyboardController> virtual_keyboard_controller_; |
722 // Controls video output device state. | 727 // Controls video output device state. |
723 scoped_ptr<ui::DisplayConfigurator> display_configurator_; | 728 scoped_ptr<ui::DisplayConfigurator> display_configurator_; |
724 scoped_ptr<DisplayConfiguratorAnimation> display_configurator_animation_; | 729 scoped_ptr<DisplayConfiguratorAnimation> display_configurator_animation_; |
725 scoped_ptr<DisplayErrorObserver> display_error_observer_; | 730 scoped_ptr<DisplayErrorObserver> display_error_observer_; |
726 scoped_ptr<ProjectingObserver> projecting_observer_; | 731 scoped_ptr<ProjectingObserver> projecting_observer_; |
727 | 732 |
728 // Listens for output changes and updates the display manager. | 733 // Listens for output changes and updates the display manager. |
729 scoped_ptr<DisplayChangeObserver> display_change_observer_; | 734 scoped_ptr<DisplayChangeObserver> display_change_observer_; |
730 | 735 |
| 736 // Implements content::ScreenOrientationDelegate for ChromeOS |
| 737 scoped_ptr<ScreenOrientationDelegate> screen_orientation_delegate_; |
| 738 |
731 scoped_ptr<TouchTransformerController> touch_transformer_controller_; | 739 scoped_ptr<TouchTransformerController> touch_transformer_controller_; |
732 | 740 |
733 #if defined(USE_X11) | 741 #if defined(USE_X11) |
734 scoped_ptr<ui::EventHandler> magnifier_key_scroll_handler_; | 742 scoped_ptr<ui::EventHandler> magnifier_key_scroll_handler_; |
735 scoped_ptr<ui::EventHandler> speech_feedback_handler_; | 743 scoped_ptr<ui::EventHandler> speech_feedback_handler_; |
736 #endif // defined(USE_X11) | 744 #endif // defined(USE_X11) |
737 #endif // defined(OS_CHROMEOS) | 745 #endif // defined(OS_CHROMEOS) |
738 | 746 |
739 scoped_ptr<MaximizeModeController> maximize_mode_controller_; | 747 scoped_ptr<MaximizeModeController> maximize_mode_controller_; |
740 | 748 |
(...skipping 18 matching lines...) Expand all Loading... |
759 | 767 |
760 // Injected content::GPUDataManager support. | 768 // Injected content::GPUDataManager support. |
761 scoped_ptr<GPUSupport> gpu_support_; | 769 scoped_ptr<GPUSupport> gpu_support_; |
762 | 770 |
763 DISALLOW_COPY_AND_ASSIGN(Shell); | 771 DISALLOW_COPY_AND_ASSIGN(Shell); |
764 }; | 772 }; |
765 | 773 |
766 } // namespace ash | 774 } // namespace ash |
767 | 775 |
768 #endif // ASH_SHELL_H_ | 776 #endif // ASH_SHELL_H_ |
OLD | NEW |