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