| 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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 class AcceleratorFilter; | 81 class AcceleratorFilter; |
| 82 class CompoundEventFilter; | 82 class CompoundEventFilter; |
| 83 class FocusController; | 83 class FocusController; |
| 84 class ShadowController; | 84 class ShadowController; |
| 85 class VisibilityController; | 85 class VisibilityController; |
| 86 class WindowModalityController; | 86 class WindowModalityController; |
| 87 } | 87 } |
| 88 | 88 |
| 89 namespace ash { | 89 namespace ash { |
| 90 | 90 |
| 91 class AcceleratorControllerDelegateAura; | 91 class AcceleratorController; |
| 92 class AccessibilityDelegate; | 92 class AccessibilityDelegate; |
| 93 class AppListDelegateImpl; | 93 class AppListDelegateImpl; |
| 94 class AshNativeCursorManager; | 94 class AshNativeCursorManager; |
| 95 class AshTouchTransformController; | 95 class AshTouchTransformController; |
| 96 class AutoclickController; | 96 class AutoclickController; |
| 97 class BluetoothNotificationController; | 97 class BluetoothNotificationController; |
| 98 class DisplayColorManager; | 98 class DisplayColorManager; |
| 99 class DisplayConfigurationController; | 99 class DisplayConfigurationController; |
| 100 class DisplayErrorObserver; | 100 class DisplayErrorObserver; |
| 101 class DragDropController; | 101 class DragDropController; |
| (...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 266 | 266 |
| 267 // Deactivates the virtual keyboard. | 267 // Deactivates the virtual keyboard. |
| 268 void DeactivateKeyboard(); | 268 void DeactivateKeyboard(); |
| 269 | 269 |
| 270 // Test if MaximizeModeWindowManager is not enabled, and if | 270 // Test if MaximizeModeWindowManager is not enabled, and if |
| 271 // MaximizeModeController is not currently setting a display rotation. Or if | 271 // MaximizeModeController is not currently setting a display rotation. Or if |
| 272 // the |resolution_notification_controller_| is not showing its confirmation | 272 // the |resolution_notification_controller_| is not showing its confirmation |
| 273 // dialog. If true then changes to display settings can be saved. | 273 // dialog. If true then changes to display settings can be saved. |
| 274 bool ShouldSaveDisplaySettings(); | 274 bool ShouldSaveDisplaySettings(); |
| 275 | 275 |
| 276 AcceleratorControllerDelegateAura* accelerator_controller_delegate() { | 276 AcceleratorController* accelerator_controller() { |
| 277 return accelerator_controller_delegate_.get(); | 277 return accelerator_controller_.get(); |
| 278 } | 278 } |
| 279 | |
| 280 AccessibilityDelegate* accessibility_delegate() { | 279 AccessibilityDelegate* accessibility_delegate() { |
| 281 return accessibility_delegate_.get(); | 280 return accessibility_delegate_.get(); |
| 282 } | 281 } |
| 283 app_list::AppList* app_list() { return app_list_.get(); } | 282 app_list::AppList* app_list() { return app_list_.get(); } |
| 284 const scoped_refptr<base::SequencedWorkerPool>& blocking_pool() { | 283 const scoped_refptr<base::SequencedWorkerPool>& blocking_pool() { |
| 285 return blocking_pool_; | 284 return blocking_pool_; |
| 286 } | 285 } |
| 287 display::DisplayManager* display_manager() { return display_manager_.get(); } | 286 display::DisplayManager* display_manager() { return display_manager_.get(); } |
| 288 DisplayConfigurationController* display_configuration_controller() { | 287 DisplayConfigurationController* display_configuration_controller() { |
| 289 return display_configuration_controller_.get(); | 288 return display_configuration_controller_.get(); |
| (...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 561 static bool initially_hide_cursor_; | 560 static bool initially_hide_cursor_; |
| 562 | 561 |
| 563 std::unique_ptr<ScopedOverviewAnimationSettingsFactoryAura> | 562 std::unique_ptr<ScopedOverviewAnimationSettingsFactoryAura> |
| 564 scoped_overview_animation_settings_factory_; | 563 scoped_overview_animation_settings_factory_; |
| 565 std::unique_ptr<WmShell> wm_shell_; | 564 std::unique_ptr<WmShell> wm_shell_; |
| 566 | 565 |
| 567 // The CompoundEventFilter owned by aura::Env object. | 566 // The CompoundEventFilter owned by aura::Env object. |
| 568 std::unique_ptr<::wm::CompoundEventFilter> env_filter_; | 567 std::unique_ptr<::wm::CompoundEventFilter> env_filter_; |
| 569 | 568 |
| 570 std::unique_ptr<UserMetricsRecorder> user_metrics_recorder_; | 569 std::unique_ptr<UserMetricsRecorder> user_metrics_recorder_; |
| 571 std::unique_ptr<AcceleratorControllerDelegateAura> | |
| 572 accelerator_controller_delegate_; | |
| 573 std::unique_ptr<SessionStateDelegate> session_state_delegate_; | 570 std::unique_ptr<SessionStateDelegate> session_state_delegate_; |
| 574 std::unique_ptr<WindowPositioner> window_positioner_; | 571 std::unique_ptr<WindowPositioner> window_positioner_; |
| 575 | 572 |
| 573 std::unique_ptr<AcceleratorController> accelerator_controller_; |
| 576 std::unique_ptr<AccessibilityDelegate> accessibility_delegate_; | 574 std::unique_ptr<AccessibilityDelegate> accessibility_delegate_; |
| 577 std::unique_ptr<PaletteDelegate> palette_delegate_; | 575 std::unique_ptr<PaletteDelegate> palette_delegate_; |
| 578 std::unique_ptr<DragDropController> drag_drop_controller_; | 576 std::unique_ptr<DragDropController> drag_drop_controller_; |
| 579 std::unique_ptr<ResizeShadowController> resize_shadow_controller_; | 577 std::unique_ptr<ResizeShadowController> resize_shadow_controller_; |
| 580 std::unique_ptr<ShellDelegate> shell_delegate_; | 578 std::unique_ptr<ShellDelegate> shell_delegate_; |
| 581 std::unique_ptr<ToastManager> toast_manager_; | 579 std::unique_ptr<ToastManager> toast_manager_; |
| 582 std::unique_ptr<WallpaperController> wallpaper_controller_; | 580 std::unique_ptr<WallpaperController> wallpaper_controller_; |
| 583 std::unique_ptr<WallpaperDelegate> wallpaper_delegate_; | 581 std::unique_ptr<WallpaperDelegate> wallpaper_delegate_; |
| 584 std::unique_ptr<::wm::ShadowController> shadow_controller_; | 582 std::unique_ptr<::wm::ShadowController> shadow_controller_; |
| 585 std::unique_ptr<::wm::VisibilityController> visibility_controller_; | 583 std::unique_ptr<::wm::VisibilityController> visibility_controller_; |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 694 base::ObserverList<ShellObserver> shell_observers_; | 692 base::ObserverList<ShellObserver> shell_observers_; |
| 695 | 693 |
| 696 scoped_refptr<base::SequencedWorkerPool> blocking_pool_; | 694 scoped_refptr<base::SequencedWorkerPool> blocking_pool_; |
| 697 | 695 |
| 698 DISALLOW_COPY_AND_ASSIGN(Shell); | 696 DISALLOW_COPY_AND_ASSIGN(Shell); |
| 699 }; | 697 }; |
| 700 | 698 |
| 701 } // namespace ash | 699 } // namespace ash |
| 702 | 700 |
| 703 #endif // ASH_SHELL_H_ | 701 #endif // ASH_SHELL_H_ |
| OLD | NEW |