OLD | NEW |
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 CONTENT_BROWSER_DEVICE_ORIENTATION_ACCELEROMETER_MAC_H_ | 5 #ifndef CONTENT_BROWSER_DEVICE_ORIENTATION_ACCELEROMETER_MAC_H_ |
6 #define CONTENT_BROWSER_DEVICE_ORIENTATION_ACCELEROMETER_MAC_H_ | 6 #define CONTENT_BROWSER_DEVICE_ORIENTATION_ACCELEROMETER_MAC_H_ |
7 #pragma once | |
8 | 7 |
9 #include <vector> | 8 #include <vector> |
10 | 9 |
11 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
12 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
13 #include "content/browser/device_orientation/data_fetcher.h" | 12 #include "content/browser/device_orientation/data_fetcher.h" |
14 | 13 |
15 class SuddenMotionSensor; | 14 class SuddenMotionSensor; |
16 | 15 |
17 namespace device_orientation { | 16 namespace device_orientation { |
(...skipping 10 matching lines...) Expand all Loading... |
28 private: | 27 private: |
29 AccelerometerMac(); | 28 AccelerometerMac(); |
30 bool Init(); | 29 bool Init(); |
31 | 30 |
32 scoped_ptr<SuddenMotionSensor> sudden_motion_sensor_; | 31 scoped_ptr<SuddenMotionSensor> sudden_motion_sensor_; |
33 }; | 32 }; |
34 | 33 |
35 } // namespace device_orientation | 34 } // namespace device_orientation |
36 | 35 |
37 #endif // CONTENT_BROWSER_DEVICE_ORIENTATION_ACCELEROMETER_MAC_H_ | 36 #endif // CONTENT_BROWSER_DEVICE_ORIENTATION_ACCELEROMETER_MAC_H_ |
OLD | NEW |