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

Unified Diff: ash/shell.h

Issue 200643005: Read and expose accelerometer values from cros-ec-accel trigger. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address review comments. Created 6 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: ash/shell.h
diff --git a/ash/shell.h b/ash/shell.h
index b98378d26e4be872f1e152da2a378265036a5b37..4047011254cfe5f61539f4d6ed012639f62d081d 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)
#if defined(USE_X11)
// TODO(oshima): Move these objects to DisplayController.
@@ -708,6 +713,7 @@ class ASH_EXPORT Shell
resolution_notification_controller_;
scoped_ptr<internal::BluetoothNotificationController>
bluetooth_notification_controller_;
+ scoped_ptr<AccelerometerController> accelerometer_controller_;
scoped_ptr<internal::LogoutConfirmationController>
logout_confirmation_controller_;
scoped_ptr<internal::LastWindowClosedLogoutReminder>
« no previous file with comments | « ash/ash.gyp ('k') | ash/shell.cc » ('j') | chromeos/accelerometer/accelerometer_reader.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698