diff options
author | flackr@chromium.org <flackr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-03 08:07:09 +0000 |
---|---|---|
committer | flackr@chromium.org <flackr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-03 08:07:09 +0000 |
commit | cc4fc3b26f0e902209a73bc5a65c6c45ca48c745 (patch) | |
tree | 9284aab5f63460d9a06aeb46cb9d84702d463d82 /ash/shell.h | |
parent | 8cc3d1cce54c6f3909985761d4e8ce6cb85bd2b8 (diff) | |
download | chromium_src-cc4fc3b26f0e902209a73bc5a65c6c45ca48c745.zip chromium_src-cc4fc3b26f0e902209a73bc5a65c6c45ca48c745.tar.gz chromium_src-cc4fc3b26f0e902209a73bc5a65c6c45ca48c745.tar.bz2 |
Read and expose accelerometer values from cros-ec-accel trigger.
BUG=342907
Review URL: https://codereview.chromium.org/200643005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@261317 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/shell.h')
-rw-r--r-- | ash/shell.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ash/shell.h b/ash/shell.h index 1f511db..b096e51 100644 --- a/ash/shell.h +++ b/ash/shell.h @@ -74,6 +74,7 @@ class WindowModalityController; namespace ash { class AcceleratorController; +class AccelerometerController; class AccessibilityDelegate; class AshNativeCursorManager; class AutoclickController; @@ -500,6 +501,10 @@ class ASH_EXPORT Shell // Starts the animation that occurs on first login. void DoInitialWorkspaceAnimation(); + AccelerometerController* accelerometer_controller() { + return accelerometer_controller_.get(); + } + #if defined(OS_CHROMEOS) // TODO(oshima): Move these objects to DisplayController. ui::OutputConfigurator* output_configurator() { @@ -697,6 +702,8 @@ class ASH_EXPORT Shell // The maximized window manager (if enabled). scoped_ptr<internal::MaximizeModeWindowManager> maximize_mode_window_manager_; + scoped_ptr<AccelerometerController> accelerometer_controller_; + #if defined(OS_CHROMEOS) scoped_ptr<internal::PowerEventObserver> power_event_observer_; scoped_ptr<internal::UserActivityNotifier> user_activity_notifier_; |