Index: ash/accelerometer/sensor_manager_delegate.h |
diff --git a/ash/accelerometer/sensor_manager_delegate.h b/ash/accelerometer/sensor_manager_delegate.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..0ec806b972d464581555f45e7288341e51ee360f |
--- /dev/null |
+++ b/ash/accelerometer/sensor_manager_delegate.h |
@@ -0,0 +1,26 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef ASH_ACCELEROMETER_SENSOR_MANAGER_DELEGATE_H_ |
+#define ASH_ACCELEROMETER_SENSOR_MANAGER_DELEGATE_H_ |
+ |
+#include "ash/accelerometer/accelerometer_observer.h" |
+ |
+namespace ash { |
+ |
+class SensorManagerDelegate : public AccelerometerObserver { |
+ public: |
+ SensorManagerDelegate(); |
+ virtual ~SensorManagerDelegate(); |
flackr
2014/11/07 19:30:46
nit: I think the pattern we use now is ~SensorMana
jonross
2014/11/10 22:39:09
Done.
|
+ |
+ // AccelerometerObserver: |
+ void OnAccelerometerUpdated(const ui::AccelerometerUpdate& update) override; |
+ |
+ private: |
+ DISALLOW_COPY_AND_ASSIGN(SensorManagerDelegate); |
+}; |
+ |
+} // namespace ash |
+ |
+#endif // ASH_ACCELEROMETER_SENSOR_MANAGER_DELEGATE_H_ |