OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef ASH_ACCELEROMETER_SENSOR_MANAGER_DELEGATE_H_ | |
6 #define ASH_ACCELEROMETER_SENSOR_MANAGER_DELEGATE_H_ | |
7 | |
8 #include "ash/accelerometer/accelerometer_observer.h" | |
9 | |
10 namespace ash { | |
11 | |
12 class SensorManagerDelegate : public AccelerometerObserver { | |
13 public: | |
14 SensorManagerDelegate(); | |
15 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.
| |
16 | |
17 // AccelerometerObserver: | |
18 void OnAccelerometerUpdated(const ui::AccelerometerUpdate& update) override; | |
19 | |
20 private: | |
21 DISALLOW_COPY_AND_ASSIGN(SensorManagerDelegate); | |
22 }; | |
23 | |
24 } // namespace ash | |
25 | |
26 #endif // ASH_ACCELEROMETER_SENSOR_MANAGER_DELEGATE_H_ | |
OLD | NEW |