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 399 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
530 return display_error_observer_.get(); | 531 return display_error_observer_.get(); |
531 } | 532 } |
532 | 533 |
533 ResolutionNotificationController* resolution_notification_controller() { | 534 ResolutionNotificationController* resolution_notification_controller() { |
534 return resolution_notification_controller_.get(); | 535 return resolution_notification_controller_.get(); |
535 } | 536 } |
536 | 537 |
537 LogoutConfirmationController* logout_confirmation_controller() { | 538 LogoutConfirmationController* logout_confirmation_controller() { |
538 return logout_confirmation_controller_.get(); | 539 return logout_confirmation_controller_.get(); |
539 } | 540 } |
| 541 |
| 542 ScreenOrientationDelegate* screen_orientation_delegate() { |
| 543 return screen_orientation_delegate_.get(); |
| 544 } |
540 #endif // defined(OS_CHROMEOS) | 545 #endif // defined(OS_CHROMEOS) |
541 | 546 |
542 ShelfModel* shelf_model() { | 547 ShelfModel* shelf_model() { |
543 return shelf_model_.get(); | 548 return shelf_model_.get(); |
544 } | 549 } |
545 | 550 |
546 WindowPositioner* window_positioner() { | 551 WindowPositioner* window_positioner() { |
547 return window_positioner_.get(); | 552 return window_positioner_.get(); |
548 } | 553 } |
549 | 554 |
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
722 last_window_closed_logout_reminder_; | 727 last_window_closed_logout_reminder_; |
723 // Controls video output device state. | 728 // Controls video output device state. |
724 scoped_ptr<ui::DisplayConfigurator> display_configurator_; | 729 scoped_ptr<ui::DisplayConfigurator> display_configurator_; |
725 scoped_ptr<DisplayConfiguratorAnimation> display_configurator_animation_; | 730 scoped_ptr<DisplayConfiguratorAnimation> display_configurator_animation_; |
726 scoped_ptr<DisplayErrorObserver> display_error_observer_; | 731 scoped_ptr<DisplayErrorObserver> display_error_observer_; |
727 scoped_ptr<ProjectingObserver> projecting_observer_; | 732 scoped_ptr<ProjectingObserver> projecting_observer_; |
728 | 733 |
729 // Listens for output changes and updates the display manager. | 734 // Listens for output changes and updates the display manager. |
730 scoped_ptr<DisplayChangeObserver> display_change_observer_; | 735 scoped_ptr<DisplayChangeObserver> display_change_observer_; |
731 | 736 |
| 737 // Implements content::ScreenOrientationDelegate for ChromeOS |
| 738 scoped_ptr<ScreenOrientationDelegate> screen_orientation_delegate_; |
| 739 |
732 #if defined(USE_X11) | 740 #if defined(USE_X11) |
733 scoped_ptr<ui::EventHandler> magnifier_key_scroll_handler_; | 741 scoped_ptr<ui::EventHandler> magnifier_key_scroll_handler_; |
734 scoped_ptr<ui::EventHandler> speech_feedback_handler_; | 742 scoped_ptr<ui::EventHandler> speech_feedback_handler_; |
735 scoped_ptr<TouchTransformerController> touch_transformer_controller_; | 743 scoped_ptr<TouchTransformerController> touch_transformer_controller_; |
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 |
741 // |native_cursor_manager_| is owned by |cursor_manager_|, but we keep a | 749 // |native_cursor_manager_| is owned by |cursor_manager_|, but we keep a |
(...skipping 17 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 |