| 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_DATA_FETCHER_SHARED_MEMORY_H_ | 5 #ifndef CONTENT_BROWSER_DEVICE_SENSORS_DATA_FETCHER_SHARED_MEMORY_H_ |
| 6 #define CONTENT_BROWSER_DEVICE_ORIENTATION_DATA_FETCHER_SHARED_MEMORY_H_ | 6 #define CONTENT_BROWSER_DEVICE_SENSORS_DATA_FETCHER_SHARED_MEMORY_H_ |
| 7 | 7 |
| 8 #include "content/browser/device_orientation/data_fetcher_shared_memory_base.h" | 8 #include "content/browser/device_sensors/data_fetcher_shared_memory_base.h" |
| 9 | 9 |
| 10 #if !defined(OS_ANDROID) | 10 #if !defined(OS_ANDROID) |
| 11 #include "content/common/device_orientation/device_motion_hardware_buffer.h" | 11 #include "content/common/device_sensors/device_motion_hardware_buffer.h" |
| 12 #include "content/common/device_orientation/device_orientation_hardware_buffer.h
" | 12 #include "content/common/device_sensors/device_orientation_hardware_buffer.h" |
| 13 #endif | 13 #endif |
| 14 | 14 |
| 15 #if defined(OS_MACOSX) | 15 #if defined(OS_MACOSX) |
| 16 class SuddenMotionSensor; | 16 class SuddenMotionSensor; |
| 17 #elif defined(OS_WIN) | 17 #elif defined(OS_WIN) |
| 18 #include <SensorsApi.h> | 18 #include <SensorsApi.h> |
| 19 #include "base/win/scoped_comptr.h" | 19 #include "base/win/scoped_comptr.h" |
| 20 #endif | 20 #endif |
| 21 | 21 |
| 22 namespace content { | 22 namespace content { |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 base::win::ScopedComPtr<ISensor> sensor_inclinometer_; | 56 base::win::ScopedComPtr<ISensor> sensor_inclinometer_; |
| 57 base::win::ScopedComPtr<ISensor> sensor_accelerometer_; | 57 base::win::ScopedComPtr<ISensor> sensor_accelerometer_; |
| 58 base::win::ScopedComPtr<ISensor> sensor_gyrometer_; | 58 base::win::ScopedComPtr<ISensor> sensor_gyrometer_; |
| 59 #endif | 59 #endif |
| 60 | 60 |
| 61 DISALLOW_COPY_AND_ASSIGN(DataFetcherSharedMemory); | 61 DISALLOW_COPY_AND_ASSIGN(DataFetcherSharedMemory); |
| 62 }; | 62 }; |
| 63 | 63 |
| 64 } // namespace content | 64 } // namespace content |
| 65 | 65 |
| 66 #endif // CONTENT_BROWSER_DEVICE_ORIENTATION_DATA_FETCHER_SHARED_MEMORY_H_ | 66 #endif // CONTENT_BROWSER_DEVICE_SENSORS_DATA_FETCHER_SHARED_MEMORY_H_ |
| OLD | NEW |