| 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 <memory> | 8 #include <memory> |
| 9 #include <utility> | 9 #include <utility> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 class FocusController; | 82 class FocusController; |
| 83 class ShadowController; | 83 class ShadowController; |
| 84 class VisibilityController; | 84 class VisibilityController; |
| 85 class WindowModalityController; | 85 class WindowModalityController; |
| 86 } | 86 } |
| 87 | 87 |
| 88 namespace ash { | 88 namespace ash { |
| 89 | 89 |
| 90 class AcceleratorController; | 90 class AcceleratorController; |
| 91 class AccessibilityDelegate; | 91 class AccessibilityDelegate; |
| 92 class ActionHandlerStateController; |
| 92 class AppListDelegateImpl; | 93 class AppListDelegateImpl; |
| 93 class AshNativeCursorManager; | 94 class AshNativeCursorManager; |
| 94 class AshTouchTransformController; | 95 class AshTouchTransformController; |
| 95 class AutoclickController; | 96 class AutoclickController; |
| 96 class BluetoothNotificationController; | 97 class BluetoothNotificationController; |
| 97 class BrightnessControlDelegate; | 98 class BrightnessControlDelegate; |
| 98 class CastConfigController; | 99 class CastConfigController; |
| 99 class DisplayColorManager; | 100 class DisplayColorManager; |
| 100 class DisplayConfigurationController; | 101 class DisplayConfigurationController; |
| 101 class DisplayErrorObserver; | 102 class DisplayErrorObserver; |
| (...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 286 // the |resolution_notification_controller_| is not showing its confirmation | 287 // the |resolution_notification_controller_| is not showing its confirmation |
| 287 // dialog. If true then changes to display settings can be saved. | 288 // dialog. If true then changes to display settings can be saved. |
| 288 bool ShouldSaveDisplaySettings(); | 289 bool ShouldSaveDisplaySettings(); |
| 289 | 290 |
| 290 AcceleratorController* accelerator_controller() { | 291 AcceleratorController* accelerator_controller() { |
| 291 return accelerator_controller_.get(); | 292 return accelerator_controller_.get(); |
| 292 } | 293 } |
| 293 AccessibilityDelegate* accessibility_delegate() { | 294 AccessibilityDelegate* accessibility_delegate() { |
| 294 return accessibility_delegate_.get(); | 295 return accessibility_delegate_.get(); |
| 295 } | 296 } |
| 297 ActionHandlerStateController* action_handler_state_controller() { |
| 298 return action_handler_state_controller_.get(); |
| 299 } |
| 296 app_list::AppList* app_list() { return app_list_.get(); } | 300 app_list::AppList* app_list() { return app_list_.get(); } |
| 297 const scoped_refptr<base::SequencedWorkerPool>& blocking_pool() { | 301 const scoped_refptr<base::SequencedWorkerPool>& blocking_pool() { |
| 298 return blocking_pool_; | 302 return blocking_pool_; |
| 299 } | 303 } |
| 300 BrightnessControlDelegate* brightness_control_delegate() { | 304 BrightnessControlDelegate* brightness_control_delegate() { |
| 301 return brightness_control_delegate_.get(); | 305 return brightness_control_delegate_.get(); |
| 302 } | 306 } |
| 303 CastConfigController* cast_config() { return cast_config_.get(); } | 307 CastConfigController* cast_config() { return cast_config_.get(); } |
| 304 display::DisplayManager* display_manager() { return display_manager_.get(); } | 308 display::DisplayManager* display_manager() { return display_manager_.get(); } |
| 305 DisplayConfigurationController* display_configuration_controller() { | 309 DisplayConfigurationController* display_configuration_controller() { |
| (...skipping 352 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 658 | 662 |
| 659 // The CompoundEventFilter owned by aura::Env object. | 663 // The CompoundEventFilter owned by aura::Env object. |
| 660 std::unique_ptr<::wm::CompoundEventFilter> env_filter_; | 664 std::unique_ptr<::wm::CompoundEventFilter> env_filter_; |
| 661 | 665 |
| 662 std::unique_ptr<UserMetricsRecorder> user_metrics_recorder_; | 666 std::unique_ptr<UserMetricsRecorder> user_metrics_recorder_; |
| 663 std::unique_ptr<SessionStateDelegate> session_state_delegate_; | 667 std::unique_ptr<SessionStateDelegate> session_state_delegate_; |
| 664 std::unique_ptr<WindowPositioner> window_positioner_; | 668 std::unique_ptr<WindowPositioner> window_positioner_; |
| 665 | 669 |
| 666 std::unique_ptr<AcceleratorController> accelerator_controller_; | 670 std::unique_ptr<AcceleratorController> accelerator_controller_; |
| 667 std::unique_ptr<AccessibilityDelegate> accessibility_delegate_; | 671 std::unique_ptr<AccessibilityDelegate> accessibility_delegate_; |
| 672 std::unique_ptr<ActionHandlerStateController> |
| 673 action_handler_state_controller_; |
| 668 std::unique_ptr<BrightnessControlDelegate> brightness_control_delegate_; | 674 std::unique_ptr<BrightnessControlDelegate> brightness_control_delegate_; |
| 669 std::unique_ptr<CastConfigController> cast_config_; | 675 std::unique_ptr<CastConfigController> cast_config_; |
| 670 std::unique_ptr<DragDropController> drag_drop_controller_; | 676 std::unique_ptr<DragDropController> drag_drop_controller_; |
| 671 std::unique_ptr<FocusCycler> focus_cycler_; | 677 std::unique_ptr<FocusCycler> focus_cycler_; |
| 672 std::unique_ptr<ImmersiveContextAsh> immersive_context_; | 678 std::unique_ptr<ImmersiveContextAsh> immersive_context_; |
| 673 std::unique_ptr<KeyboardBrightnessControlDelegate> | 679 std::unique_ptr<KeyboardBrightnessControlDelegate> |
| 674 keyboard_brightness_control_delegate_; | 680 keyboard_brightness_control_delegate_; |
| 675 std::unique_ptr<KeyboardUI> keyboard_ui_; | 681 std::unique_ptr<KeyboardUI> keyboard_ui_; |
| 676 std::unique_ptr<LocaleNotificationController> locale_notification_controller_; | 682 std::unique_ptr<LocaleNotificationController> locale_notification_controller_; |
| 677 std::unique_ptr<LogoutConfirmationController> logout_confirmation_controller_; | 683 std::unique_ptr<LogoutConfirmationController> logout_confirmation_controller_; |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 809 base::ObserverList<ShellObserver> shell_observers_; | 815 base::ObserverList<ShellObserver> shell_observers_; |
| 810 | 816 |
| 811 scoped_refptr<base::SequencedWorkerPool> blocking_pool_; | 817 scoped_refptr<base::SequencedWorkerPool> blocking_pool_; |
| 812 | 818 |
| 813 DISALLOW_COPY_AND_ASSIGN(Shell); | 819 DISALLOW_COPY_AND_ASSIGN(Shell); |
| 814 }; | 820 }; |
| 815 | 821 |
| 816 } // namespace ash | 822 } // namespace ash |
| 817 | 823 |
| 818 #endif // ASH_SHELL_H_ | 824 #endif // ASH_SHELL_H_ |
| OLD | NEW |