OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 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_RENDERER_DEVICE_SENSORS_DEVICE_ORIENTATION_EVENT_PUMP_H_ | 5 #ifndef CONTENT_RENDERER_DEVICE_SENSORS_DEVICE_ORIENTATION_EVENT_PUMP_H_ |
6 #define CONTENT_RENDERER_DEVICE_SENSORS_DEVICE_ORIENTATION_EVENT_PUMP_H_ | 6 #define CONTENT_RENDERER_DEVICE_SENSORS_DEVICE_ORIENTATION_EVENT_PUMP_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
9 #include "content/renderer/device_sensors/device_sensor_event_pump.h" | 10 #include "content/renderer/device_sensors/device_sensor_event_pump.h" |
10 #include "content/renderer/shared_memory_seqlock_reader.h" | 11 #include "content/renderer/shared_memory_seqlock_reader.h" |
11 #include "third_party/WebKit/public/platform/modules/device_orientation/WebDevic
eOrientationData.h" | 12 #include "third_party/WebKit/public/platform/modules/device_orientation/WebDevic
eOrientationData.h" |
12 | 13 |
13 namespace blink { | 14 namespace blink { |
14 class WebDeviceOrientationListener; | 15 class WebDeviceOrientationListener; |
15 } | 16 } |
16 | 17 |
17 namespace content { | 18 namespace content { |
(...skipping 27 matching lines...) Expand all Loading... |
45 | 46 |
46 blink::WebDeviceOrientationData data_; | 47 blink::WebDeviceOrientationData data_; |
47 scoped_ptr<DeviceOrientationSharedMemoryReader> reader_; | 48 scoped_ptr<DeviceOrientationSharedMemoryReader> reader_; |
48 | 49 |
49 DISALLOW_COPY_AND_ASSIGN(DeviceOrientationEventPump); | 50 DISALLOW_COPY_AND_ASSIGN(DeviceOrientationEventPump); |
50 }; | 51 }; |
51 | 52 |
52 } // namespace content | 53 } // namespace content |
53 | 54 |
54 #endif // CONTENT_RENDERER_DEVICE_SENSORS_DEVICE_ORIENTATION_EVENT_PUMP_H_ | 55 #endif // CONTENT_RENDERER_DEVICE_SENSORS_DEVICE_ORIENTATION_EVENT_PUMP_H_ |
OLD | NEW |