OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_DEVICE_MOTION_PROVIDER_H_ | 5 #ifndef CONTENT_BROWSER_DEVICE_ORIENTATION_DEVICE_MOTION_PROVIDER_H_ |
6 #define CONTENT_BROWSER_DEVICE_ORIENTATION_DEVICE_MOTION_PROVIDER_H_ | 6 #define CONTENT_BROWSER_DEVICE_ORIENTATION_DEVICE_MOTION_PROVIDER_H_ |
7 | 7 |
8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
9 #include "base/shared_memory.h" | 9 #include "base/memory/shared_memory.h" |
10 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
11 #include "content/common/device_motion_hardware_buffer.h" | 11 #include "content/common/device_motion_hardware_buffer.h" |
12 | 12 |
13 namespace content { | 13 namespace content { |
14 class DataFetcherSharedMemory; | 14 class DataFetcherSharedMemory; |
15 | 15 |
16 class CONTENT_EXPORT DeviceMotionProvider { | 16 class CONTENT_EXPORT DeviceMotionProvider { |
17 public: | 17 public: |
18 DeviceMotionProvider(); | 18 DeviceMotionProvider(); |
19 virtual ~DeviceMotionProvider(); | 19 virtual ~DeviceMotionProvider(); |
(...skipping 16 matching lines...) Expand all Loading... |
36 scoped_ptr<DataFetcherSharedMemory> data_fetcher_; | 36 scoped_ptr<DataFetcherSharedMemory> data_fetcher_; |
37 | 37 |
38 bool is_started_; | 38 bool is_started_; |
39 | 39 |
40 DISALLOW_COPY_AND_ASSIGN(DeviceMotionProvider); | 40 DISALLOW_COPY_AND_ASSIGN(DeviceMotionProvider); |
41 }; | 41 }; |
42 | 42 |
43 } // namespace content | 43 } // namespace content |
44 | 44 |
45 #endif // CONTENT_BROWSER_DEVICE_ORIENTATION_DEVICE_MOTION_PROVIDER_H_ | 45 #endif // CONTENT_BROWSER_DEVICE_ORIENTATION_DEVICE_MOTION_PROVIDER_H_ |
OLD | NEW |