| 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 22 matching lines...) Expand all Loading... |
| 33 class FocusClient; | 33 class FocusClient; |
| 34 } | 34 } |
| 35 } | 35 } |
| 36 | 36 |
| 37 namespace chromeos { | 37 namespace chromeos { |
| 38 class AudioA11yController; | 38 class AudioA11yController; |
| 39 } | 39 } |
| 40 | 40 |
| 41 namespace display { | 41 namespace display { |
| 42 class DisplayChangeObserver; | 42 class DisplayChangeObserver; |
| 43 class DisplayConfigurator; |
| 43 class DisplayManager; | 44 class DisplayManager; |
| 44 } | 45 } |
| 45 | 46 |
| 46 namespace gfx { | 47 namespace gfx { |
| 47 class Rect; | 48 class Rect; |
| 48 } | 49 } |
| 49 | 50 |
| 50 namespace ui { | 51 namespace ui { |
| 51 class DisplayConfigurator; | |
| 52 class UserActivityDetector; | 52 class UserActivityDetector; |
| 53 class UserActivityPowerManagerNotifier; | 53 class UserActivityPowerManagerNotifier; |
| 54 } | 54 } |
| 55 |
| 55 namespace views { | 56 namespace views { |
| 56 class NonClientFrameView; | 57 class NonClientFrameView; |
| 57 class Widget; | 58 class Widget; |
| 58 namespace corewm { | 59 namespace corewm { |
| 59 class TooltipController; | 60 class TooltipController; |
| 60 } | 61 } |
| 61 } | 62 } |
| 62 | 63 |
| 63 namespace wm { | 64 namespace wm { |
| 64 class AcceleratorFilter; | 65 class AcceleratorFilter; |
| (...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 324 // Made available for tests. | 325 // Made available for tests. |
| 325 ::wm::ShadowController* shadow_controller() { | 326 ::wm::ShadowController* shadow_controller() { |
| 326 return shadow_controller_.get(); | 327 return shadow_controller_.get(); |
| 327 } | 328 } |
| 328 | 329 |
| 329 // Starts the animation that occurs on first login. | 330 // Starts the animation that occurs on first login. |
| 330 void DoInitialWorkspaceAnimation(); | 331 void DoInitialWorkspaceAnimation(); |
| 331 | 332 |
| 332 #if defined(OS_CHROMEOS) | 333 #if defined(OS_CHROMEOS) |
| 333 // TODO(oshima): Move these objects to WindowTreeHostManager. | 334 // TODO(oshima): Move these objects to WindowTreeHostManager. |
| 334 ui::DisplayConfigurator* display_configurator() { | 335 display::DisplayConfigurator* display_configurator() { |
| 335 return display_configurator_.get(); | 336 return display_configurator_.get(); |
| 336 } | 337 } |
| 337 DisplayErrorObserver* display_error_observer() { | 338 DisplayErrorObserver* display_error_observer() { |
| 338 return display_error_observer_.get(); | 339 return display_error_observer_.get(); |
| 339 } | 340 } |
| 340 | 341 |
| 341 ScreenLayoutObserver* screen_layout_observer() { | 342 ScreenLayoutObserver* screen_layout_observer() { |
| 342 return screen_layout_observer_.get(); | 343 return screen_layout_observer_.get(); |
| 343 } | 344 } |
| 344 | 345 |
| (...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 493 std::unique_ptr<ui::UserActivityPowerManagerNotifier> user_activity_notifier_; | 494 std::unique_ptr<ui::UserActivityPowerManagerNotifier> user_activity_notifier_; |
| 494 std::unique_ptr<VideoActivityNotifier> video_activity_notifier_; | 495 std::unique_ptr<VideoActivityNotifier> video_activity_notifier_; |
| 495 std::unique_ptr<StickyKeysController> sticky_keys_controller_; | 496 std::unique_ptr<StickyKeysController> sticky_keys_controller_; |
| 496 std::unique_ptr<ResolutionNotificationController> | 497 std::unique_ptr<ResolutionNotificationController> |
| 497 resolution_notification_controller_; | 498 resolution_notification_controller_; |
| 498 std::unique_ptr<BluetoothNotificationController> | 499 std::unique_ptr<BluetoothNotificationController> |
| 499 bluetooth_notification_controller_; | 500 bluetooth_notification_controller_; |
| 500 std::unique_ptr<VirtualKeyboardController> virtual_keyboard_controller_; | 501 std::unique_ptr<VirtualKeyboardController> virtual_keyboard_controller_; |
| 501 std::unique_ptr<chromeos::AudioA11yController> audio_a11y_controller_; | 502 std::unique_ptr<chromeos::AudioA11yController> audio_a11y_controller_; |
| 502 // Controls video output device state. | 503 // Controls video output device state. |
| 503 std::unique_ptr<ui::DisplayConfigurator> display_configurator_; | 504 std::unique_ptr<display::DisplayConfigurator> display_configurator_; |
| 504 std::unique_ptr<DisplayColorManager> display_color_manager_; | 505 std::unique_ptr<DisplayColorManager> display_color_manager_; |
| 505 std::unique_ptr<DisplayErrorObserver> display_error_observer_; | 506 std::unique_ptr<DisplayErrorObserver> display_error_observer_; |
| 506 std::unique_ptr<ProjectingObserver> projecting_observer_; | 507 std::unique_ptr<ProjectingObserver> projecting_observer_; |
| 507 | 508 |
| 508 // Listens for output changes and updates the display manager. | 509 // Listens for output changes and updates the display manager. |
| 509 std::unique_ptr<display::DisplayChangeObserver> display_change_observer_; | 510 std::unique_ptr<display::DisplayChangeObserver> display_change_observer_; |
| 510 | 511 |
| 511 // Listens for shutdown and updates DisplayConfigurator. | 512 // Listens for shutdown and updates DisplayConfigurator. |
| 512 std::unique_ptr<ShutdownObserver> shutdown_observer_; | 513 std::unique_ptr<ShutdownObserver> shutdown_observer_; |
| 513 | 514 |
| (...skipping 27 matching lines...) Expand all Loading... |
| 541 std::unique_ptr<GPUSupport> gpu_support_; | 542 std::unique_ptr<GPUSupport> gpu_support_; |
| 542 | 543 |
| 543 std::unique_ptr<ImmersiveHandlerFactoryAsh> immersive_handler_factory_; | 544 std::unique_ptr<ImmersiveHandlerFactoryAsh> immersive_handler_factory_; |
| 544 | 545 |
| 545 DISALLOW_COPY_AND_ASSIGN(Shell); | 546 DISALLOW_COPY_AND_ASSIGN(Shell); |
| 546 }; | 547 }; |
| 547 | 548 |
| 548 } // namespace ash | 549 } // namespace ash |
| 549 | 550 |
| 550 #endif // ASH_SHELL_H_ | 551 #endif // ASH_SHELL_H_ |
| OLD | NEW |