| 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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 class AcceleratorFilter; | 73 class AcceleratorFilter; |
| 74 class CompoundEventFilter; | 74 class CompoundEventFilter; |
| 75 class ShadowController; | 75 class ShadowController; |
| 76 class VisibilityController; | 76 class VisibilityController; |
| 77 class WindowModalityController; | 77 class WindowModalityController; |
| 78 } | 78 } |
| 79 | 79 |
| 80 namespace ash { | 80 namespace ash { |
| 81 | 81 |
| 82 class AcceleratorController; | 82 class AcceleratorController; |
| 83 class AcceleratorControllerDelegateAura; |
| 83 class AppListController; | 84 class AppListController; |
| 84 class AshNativeCursorManager; | 85 class AshNativeCursorManager; |
| 85 class AutoclickController; | 86 class AutoclickController; |
| 86 class BluetoothNotificationController; | 87 class BluetoothNotificationController; |
| 87 class CaptureController; | 88 class CaptureController; |
| 88 class DesktopBackgroundController; | 89 class DesktopBackgroundController; |
| 89 class DisplayChangeObserver; | 90 class DisplayChangeObserver; |
| 90 class DisplayColorManager; | 91 class DisplayColorManager; |
| 91 class DisplayConfigurationController; | 92 class DisplayConfigurationController; |
| 92 class WindowTreeHostManager; | 93 class WindowTreeHostManager; |
| (...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 305 // Test if MaximizeModeWindowManager is not enabled, and if | 306 // Test if MaximizeModeWindowManager is not enabled, and if |
| 306 // MaximizeModeController is not currently setting a display rotation. Or if | 307 // MaximizeModeController is not currently setting a display rotation. Or if |
| 307 // the |resolution_notification_controller_| is not showing its confirmation | 308 // the |resolution_notification_controller_| is not showing its confirmation |
| 308 // dialog. If true then changes to display settings can be saved. | 309 // dialog. If true then changes to display settings can be saved. |
| 309 bool ShouldSaveDisplaySettings(); | 310 bool ShouldSaveDisplaySettings(); |
| 310 #endif | 311 #endif |
| 311 | 312 |
| 312 AcceleratorController* accelerator_controller() { | 313 AcceleratorController* accelerator_controller() { |
| 313 return accelerator_controller_.get(); | 314 return accelerator_controller_.get(); |
| 314 } | 315 } |
| 316 AcceleratorControllerDelegateAura* accelerator_controller_delegate() { |
| 317 return accelerator_controller_delegate_.get(); |
| 318 } |
| 315 | 319 |
| 316 DisplayManager* display_manager() { return display_manager_.get(); } | 320 DisplayManager* display_manager() { return display_manager_.get(); } |
| 317 DisplayConfigurationController* display_configuration_controller() { | 321 DisplayConfigurationController* display_configuration_controller() { |
| 318 return display_configuration_controller_.get(); | 322 return display_configuration_controller_.get(); |
| 319 } | 323 } |
| 320 ::wm::CompoundEventFilter* env_filter() { return env_filter_.get(); } | 324 ::wm::CompoundEventFilter* env_filter() { return env_filter_.get(); } |
| 321 views::corewm::TooltipController* tooltip_controller() { | 325 views::corewm::TooltipController* tooltip_controller() { |
| 322 return tooltip_controller_.get(); | 326 return tooltip_controller_.get(); |
| 323 } | 327 } |
| 324 OverlayEventFilter* overlay_filter() { return overlay_filter_.get(); } | 328 OverlayEventFilter* overlay_filter() { return overlay_filter_.get(); } |
| (...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 575 // |target_root_window_| never becomes NULL during the session. | 579 // |target_root_window_| never becomes NULL during the session. |
| 576 aura::Window* target_root_window_; | 580 aura::Window* target_root_window_; |
| 577 aura::Window* scoped_target_root_window_; | 581 aura::Window* scoped_target_root_window_; |
| 578 | 582 |
| 579 // The CompoundEventFilter owned by aura::Env object. | 583 // The CompoundEventFilter owned by aura::Env object. |
| 580 std::unique_ptr<::wm::CompoundEventFilter> env_filter_; | 584 std::unique_ptr<::wm::CompoundEventFilter> env_filter_; |
| 581 | 585 |
| 582 std::vector<WindowAndBoundsPair> to_restore_; | 586 std::vector<WindowAndBoundsPair> to_restore_; |
| 583 | 587 |
| 584 std::unique_ptr<UserMetricsRecorder> user_metrics_recorder_; | 588 std::unique_ptr<UserMetricsRecorder> user_metrics_recorder_; |
| 589 std::unique_ptr<AcceleratorControllerDelegateAura> |
| 590 accelerator_controller_delegate_; |
| 585 std::unique_ptr<AcceleratorController> accelerator_controller_; | 591 std::unique_ptr<AcceleratorController> accelerator_controller_; |
| 586 std::unique_ptr<UserWallpaperDelegate> user_wallpaper_delegate_; | 592 std::unique_ptr<UserWallpaperDelegate> user_wallpaper_delegate_; |
| 587 std::unique_ptr<SessionStateDelegate> session_state_delegate_; | 593 std::unique_ptr<SessionStateDelegate> session_state_delegate_; |
| 588 std::unique_ptr<NewWindowDelegate> new_window_delegate_; | 594 std::unique_ptr<NewWindowDelegate> new_window_delegate_; |
| 589 std::unique_ptr<PointerWatcherDelegate> pointer_watcher_delegate_; | 595 std::unique_ptr<PointerWatcherDelegate> pointer_watcher_delegate_; |
| 590 std::unique_ptr<ShelfDelegate> shelf_delegate_; | 596 std::unique_ptr<ShelfDelegate> shelf_delegate_; |
| 591 std::unique_ptr<ShelfItemDelegateManager> shelf_item_delegate_manager_; | 597 std::unique_ptr<ShelfItemDelegateManager> shelf_item_delegate_manager_; |
| 592 std::unique_ptr<ShelfWindowWatcher> shelf_window_watcher_; | 598 std::unique_ptr<ShelfWindowWatcher> shelf_window_watcher_; |
| 593 | 599 |
| 594 std::unique_ptr<ShelfModel> shelf_model_; | 600 std::unique_ptr<ShelfModel> shelf_model_; |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 697 base::SequencedWorkerPool* blocking_pool_; | 703 base::SequencedWorkerPool* blocking_pool_; |
| 698 | 704 |
| 699 bool in_mus_ = false; | 705 bool in_mus_ = false; |
| 700 | 706 |
| 701 DISALLOW_COPY_AND_ASSIGN(Shell); | 707 DISALLOW_COPY_AND_ASSIGN(Shell); |
| 702 }; | 708 }; |
| 703 | 709 |
| 704 } // namespace ash | 710 } // namespace ash |
| 705 | 711 |
| 706 #endif // ASH_SHELL_H_ | 712 #endif // ASH_SHELL_H_ |
| OLD | NEW |