| 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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 class DisplayManager; | 123 class DisplayManager; |
| 124 class DragDropController; | 124 class DragDropController; |
| 125 class EventClientImpl; | 125 class EventClientImpl; |
| 126 class EventRewriterEventFilter; | 126 class EventRewriterEventFilter; |
| 127 class EventTransformationHandler; | 127 class EventTransformationHandler; |
| 128 class FocusCycler; | 128 class FocusCycler; |
| 129 class KeyboardUMAEventFilter; | 129 class KeyboardUMAEventFilter; |
| 130 class LastWindowClosedLogoutReminder; | 130 class LastWindowClosedLogoutReminder; |
| 131 class LocaleNotificationController; | 131 class LocaleNotificationController; |
| 132 class LogoutConfirmationController; | 132 class LogoutConfirmationController; |
| 133 class MaximizeModeController; |
| 133 class MaximizeModeWindowManager; | 134 class MaximizeModeWindowManager; |
| 134 class MouseCursorEventFilter; | 135 class MouseCursorEventFilter; |
| 135 class OutputConfiguratorAnimation; | 136 class OutputConfiguratorAnimation; |
| 136 class OverlayEventFilter; | 137 class OverlayEventFilter; |
| 137 class PowerEventObserver; | 138 class PowerEventObserver; |
| 138 class ProjectingObserver; | 139 class ProjectingObserver; |
| 139 class ResizeShadowController; | 140 class ResizeShadowController; |
| 140 class ResolutionNotificationController; | 141 class ResolutionNotificationController; |
| 141 class RootWindowController; | 142 class RootWindowController; |
| 142 class ScopedTargetRootWindow; | 143 class ScopedTargetRootWindow; |
| (...skipping 355 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 498 return shadow_controller_.get(); | 499 return shadow_controller_.get(); |
| 499 } | 500 } |
| 500 | 501 |
| 501 // Starts the animation that occurs on first login. | 502 // Starts the animation that occurs on first login. |
| 502 void DoInitialWorkspaceAnimation(); | 503 void DoInitialWorkspaceAnimation(); |
| 503 | 504 |
| 504 AccelerometerController* accelerometer_controller() { | 505 AccelerometerController* accelerometer_controller() { |
| 505 return accelerometer_controller_.get(); | 506 return accelerometer_controller_.get(); |
| 506 } | 507 } |
| 507 | 508 |
| 509 internal::MaximizeModeController* maximize_mode_controller() { |
| 510 return maximize_mode_controller_.get(); |
| 511 } |
| 512 |
| 508 #if defined(OS_CHROMEOS) | 513 #if defined(OS_CHROMEOS) |
| 509 // TODO(oshima): Move these objects to DisplayController. | 514 // TODO(oshima): Move these objects to DisplayController. |
| 510 ui::OutputConfigurator* output_configurator() { | 515 ui::OutputConfigurator* output_configurator() { |
| 511 return output_configurator_.get(); | 516 return output_configurator_.get(); |
| 512 } | 517 } |
| 513 internal::OutputConfiguratorAnimation* output_configurator_animation() { | 518 internal::OutputConfiguratorAnimation* output_configurator_animation() { |
| 514 return output_configurator_animation_.get(); | 519 return output_configurator_animation_.get(); |
| 515 } | 520 } |
| 516 internal::DisplayErrorObserver* display_error_observer() { | 521 internal::DisplayErrorObserver* display_error_observer() { |
| 517 return display_error_observer_.get(); | 522 return display_error_observer_.get(); |
| (...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 725 | 730 |
| 726 // Listens for output changes and updates the display manager. | 731 // Listens for output changes and updates the display manager. |
| 727 scoped_ptr<internal::DisplayChangeObserver> display_change_observer_; | 732 scoped_ptr<internal::DisplayChangeObserver> display_change_observer_; |
| 728 | 733 |
| 729 #if defined(USE_X11) | 734 #if defined(USE_X11) |
| 730 scoped_ptr<ui::EventHandler> magnifier_key_scroll_handler_; | 735 scoped_ptr<ui::EventHandler> magnifier_key_scroll_handler_; |
| 731 scoped_ptr<ui::EventHandler> speech_feedback_handler_; | 736 scoped_ptr<ui::EventHandler> speech_feedback_handler_; |
| 732 #endif // defined(USE_X11) | 737 #endif // defined(USE_X11) |
| 733 #endif // defined(OS_CHROMEOS) | 738 #endif // defined(OS_CHROMEOS) |
| 734 | 739 |
| 740 scoped_ptr<internal::MaximizeModeController> maximize_mode_controller_; |
| 741 |
| 735 // |native_cursor_manager_| is owned by |cursor_manager_|, but we keep a | 742 // |native_cursor_manager_| is owned by |cursor_manager_|, but we keep a |
| 736 // pointer to vend to test code. | 743 // pointer to vend to test code. |
| 737 AshNativeCursorManager* native_cursor_manager_; | 744 AshNativeCursorManager* native_cursor_manager_; |
| 738 ::wm::CursorManager cursor_manager_; | 745 ::wm::CursorManager cursor_manager_; |
| 739 | 746 |
| 740 ObserverList<ShellObserver> observers_; | 747 ObserverList<ShellObserver> observers_; |
| 741 | 748 |
| 742 // For testing only: simulate that a modal window is open | 749 // For testing only: simulate that a modal window is open |
| 743 bool simulate_modal_window_open_for_testing_; | 750 bool simulate_modal_window_open_for_testing_; |
| 744 | 751 |
| 745 bool is_touch_hud_projection_enabled_; | 752 bool is_touch_hud_projection_enabled_; |
| 746 | 753 |
| 747 // Injected content::GPUDataManager support. | 754 // Injected content::GPUDataManager support. |
| 748 scoped_ptr<GPUSupport> gpu_support_; | 755 scoped_ptr<GPUSupport> gpu_support_; |
| 749 | 756 |
| 750 DISALLOW_COPY_AND_ASSIGN(Shell); | 757 DISALLOW_COPY_AND_ASSIGN(Shell); |
| 751 }; | 758 }; |
| 752 | 759 |
| 753 } // namespace ash | 760 } // namespace ash |
| 754 | 761 |
| 755 #endif // ASH_SHELL_H_ | 762 #endif // ASH_SHELL_H_ |
| OLD | NEW |