Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(166)

Side by Side Diff: ash/shell.h

Issue 236153002: Merge 261317 "Read and expose accelerometer values from cros-ec-..." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1916/src/
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ash/ash.gyp ('k') | ash/shell.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 #if defined(USE_X11) 509 #if defined(USE_X11)
505 // TODO(oshima): Move these objects to DisplayController. 510 // TODO(oshima): Move these objects to DisplayController.
506 ui::OutputConfigurator* output_configurator() { 511 ui::OutputConfigurator* output_configurator() {
507 return output_configurator_.get(); 512 return output_configurator_.get();
508 } 513 }
509 internal::OutputConfiguratorAnimation* output_configurator_animation() { 514 internal::OutputConfiguratorAnimation* output_configurator_animation() {
510 return output_configurator_animation_.get(); 515 return output_configurator_animation_.get();
511 } 516 }
512 internal::DisplayErrorObserver* display_error_observer() { 517 internal::DisplayErrorObserver* display_error_observer() {
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
692 scoped_ptr<internal::DisplayManager> display_manager_; 697 scoped_ptr<internal::DisplayManager> display_manager_;
693 scoped_ptr<base::WeakPtrFactory<internal::DisplayManager> > 698 scoped_ptr<base::WeakPtrFactory<internal::DisplayManager> >
694 weak_display_manager_factory_; 699 weak_display_manager_factory_;
695 700
696 scoped_ptr<internal::LocaleNotificationController> 701 scoped_ptr<internal::LocaleNotificationController>
697 locale_notification_controller_; 702 locale_notification_controller_;
698 703
699 // The maximized window manager (if enabled). 704 // The maximized window manager (if enabled).
700 scoped_ptr<internal::MaximizeModeWindowManager> maximize_mode_window_manager_; 705 scoped_ptr<internal::MaximizeModeWindowManager> maximize_mode_window_manager_;
701 706
707 scoped_ptr<AccelerometerController> accelerometer_controller_;
708
702 #if defined(OS_CHROMEOS) 709 #if defined(OS_CHROMEOS)
703 scoped_ptr<internal::PowerEventObserver> power_event_observer_; 710 scoped_ptr<internal::PowerEventObserver> power_event_observer_;
704 scoped_ptr<internal::UserActivityNotifier> user_activity_notifier_; 711 scoped_ptr<internal::UserActivityNotifier> user_activity_notifier_;
705 scoped_ptr<internal::VideoActivityNotifier> video_activity_notifier_; 712 scoped_ptr<internal::VideoActivityNotifier> video_activity_notifier_;
706 scoped_ptr<StickyKeysController> sticky_keys_controller_; 713 scoped_ptr<StickyKeysController> sticky_keys_controller_;
707 scoped_ptr<internal::ResolutionNotificationController> 714 scoped_ptr<internal::ResolutionNotificationController>
708 resolution_notification_controller_; 715 resolution_notification_controller_;
709 scoped_ptr<internal::BluetoothNotificationController> 716 scoped_ptr<internal::BluetoothNotificationController>
710 bluetooth_notification_controller_; 717 bluetooth_notification_controller_;
711 scoped_ptr<internal::LogoutConfirmationController> 718 scoped_ptr<internal::LogoutConfirmationController>
(...skipping 30 matching lines...) Expand all
742 749
743 // Injected content::GPUDataManager support. 750 // Injected content::GPUDataManager support.
744 scoped_ptr<GPUSupport> gpu_support_; 751 scoped_ptr<GPUSupport> gpu_support_;
745 752
746 DISALLOW_COPY_AND_ASSIGN(Shell); 753 DISALLOW_COPY_AND_ASSIGN(Shell);
747 }; 754 };
748 755
749 } // namespace ash 756 } // namespace ash
750 757
751 #endif // ASH_SHELL_H_ 758 #endif // ASH_SHELL_H_
OLDNEW
« no previous file with comments | « ash/ash.gyp ('k') | ash/shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698