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 <utility> | 8 #include <utility> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 class CompoundEventFilter; | 67 class CompoundEventFilter; |
68 class InputMethodEventFilter; | 68 class InputMethodEventFilter; |
69 class ShadowController; | 69 class ShadowController; |
70 class VisibilityController; | 70 class VisibilityController; |
71 class WindowModalityController; | 71 class WindowModalityController; |
72 } | 72 } |
73 | 73 |
74 namespace ash { | 74 namespace ash { |
75 | 75 |
76 class AcceleratorController; | 76 class AcceleratorController; |
| 77 class AccelerometerController; |
77 class AccessibilityDelegate; | 78 class AccessibilityDelegate; |
78 class AshNativeCursorManager; | 79 class AshNativeCursorManager; |
79 class AutoclickController; | 80 class AutoclickController; |
80 class DesktopBackgroundController; | 81 class DesktopBackgroundController; |
81 class DisplayController; | 82 class DisplayController; |
82 class FirstRunHelper; | 83 class FirstRunHelper; |
83 class GPUSupport; | 84 class GPUSupport; |
84 class HighContrastController; | 85 class HighContrastController; |
85 class LockStateController; | 86 class LockStateController; |
86 class MagnificationController; | 87 class MagnificationController; |
(...skipping 406 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
493 } | 494 } |
494 | 495 |
495 // Made available for tests. | 496 // Made available for tests. |
496 ::wm::ShadowController* shadow_controller() { | 497 ::wm::ShadowController* shadow_controller() { |
497 return shadow_controller_.get(); | 498 return shadow_controller_.get(); |
498 } | 499 } |
499 | 500 |
500 // Starts the animation that occurs on first login. | 501 // Starts the animation that occurs on first login. |
501 void DoInitialWorkspaceAnimation(); | 502 void DoInitialWorkspaceAnimation(); |
502 | 503 |
| 504 AccelerometerController* accelerometer_controller() { |
| 505 return accelerometer_controller_.get(); |
| 506 } |
| 507 |
503 #if defined(OS_CHROMEOS) | 508 #if defined(OS_CHROMEOS) |
504 // TODO(oshima): Move these objects to DisplayController. | 509 // TODO(oshima): Move these objects to DisplayController. |
505 ui::OutputConfigurator* output_configurator() { | 510 ui::OutputConfigurator* output_configurator() { |
506 return output_configurator_.get(); | 511 return output_configurator_.get(); |
507 } | 512 } |
508 internal::OutputConfiguratorAnimation* output_configurator_animation() { | 513 internal::OutputConfiguratorAnimation* output_configurator_animation() { |
509 return output_configurator_animation_.get(); | 514 return output_configurator_animation_.get(); |
510 } | 515 } |
511 internal::DisplayErrorObserver* display_error_observer() { | 516 internal::DisplayErrorObserver* display_error_observer() { |
512 return display_error_observer_.get(); | 517 return display_error_observer_.get(); |
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
690 scoped_ptr<internal::DisplayManager> display_manager_; | 695 scoped_ptr<internal::DisplayManager> display_manager_; |
691 scoped_ptr<base::WeakPtrFactory<internal::DisplayManager> > | 696 scoped_ptr<base::WeakPtrFactory<internal::DisplayManager> > |
692 weak_display_manager_factory_; | 697 weak_display_manager_factory_; |
693 | 698 |
694 scoped_ptr<internal::LocaleNotificationController> | 699 scoped_ptr<internal::LocaleNotificationController> |
695 locale_notification_controller_; | 700 locale_notification_controller_; |
696 | 701 |
697 // The maximized window manager (if enabled). | 702 // The maximized window manager (if enabled). |
698 scoped_ptr<internal::MaximizeModeWindowManager> maximize_mode_window_manager_; | 703 scoped_ptr<internal::MaximizeModeWindowManager> maximize_mode_window_manager_; |
699 | 704 |
| 705 scoped_ptr<AccelerometerController> accelerometer_controller_; |
| 706 |
700 #if defined(OS_CHROMEOS) | 707 #if defined(OS_CHROMEOS) |
701 scoped_ptr<internal::PowerEventObserver> power_event_observer_; | 708 scoped_ptr<internal::PowerEventObserver> power_event_observer_; |
702 scoped_ptr<internal::UserActivityNotifier> user_activity_notifier_; | 709 scoped_ptr<internal::UserActivityNotifier> user_activity_notifier_; |
703 scoped_ptr<internal::VideoActivityNotifier> video_activity_notifier_; | 710 scoped_ptr<internal::VideoActivityNotifier> video_activity_notifier_; |
704 scoped_ptr<StickyKeysController> sticky_keys_controller_; | 711 scoped_ptr<StickyKeysController> sticky_keys_controller_; |
705 scoped_ptr<internal::ResolutionNotificationController> | 712 scoped_ptr<internal::ResolutionNotificationController> |
706 resolution_notification_controller_; | 713 resolution_notification_controller_; |
707 scoped_ptr<internal::BluetoothNotificationController> | 714 scoped_ptr<internal::BluetoothNotificationController> |
708 bluetooth_notification_controller_; | 715 bluetooth_notification_controller_; |
709 scoped_ptr<internal::LogoutConfirmationController> | 716 scoped_ptr<internal::LogoutConfirmationController> |
(...skipping 30 matching lines...) Expand all Loading... |
740 | 747 |
741 // Injected content::GPUDataManager support. | 748 // Injected content::GPUDataManager support. |
742 scoped_ptr<GPUSupport> gpu_support_; | 749 scoped_ptr<GPUSupport> gpu_support_; |
743 | 750 |
744 DISALLOW_COPY_AND_ASSIGN(Shell); | 751 DISALLOW_COPY_AND_ASSIGN(Shell); |
745 }; | 752 }; |
746 | 753 |
747 } // namespace ash | 754 } // namespace ash |
748 | 755 |
749 #endif // ASH_SHELL_H_ | 756 #endif // ASH_SHELL_H_ |
OLD | NEW |