Chromium Code Reviews| Index: Source/WebCore/platform/PlatformDeviceMotion.h |
| diff --git a/Source/WebCore/platform/PlatformDeviceMotion.h b/Source/WebCore/platform/PlatformDeviceMotion.h |
| index c80f7a98b8e680e91e8b3826b7a4da566e4acd9f..8e2c893ea6eb7654cfaddbc484783c135d396e65 100644 |
| --- a/Source/WebCore/platform/PlatformDeviceMotion.h |
| +++ b/Source/WebCore/platform/PlatformDeviceMotion.h |
| @@ -31,18 +31,15 @@ |
| #ifndef PlatformDeviceMotion_h |
| #define PlatformDeviceMotion_h |
| -#if ENABLE(DEVICE_ORIENTATION) |
| - |
| namespace WebCore { |
| +class DeviceMotionController; |
| class DeviceMotionData; |
| -void startMonitoringDeviceMotion(); |
| -void stopMonitoringDeviceMotion(); |
| -DeviceMotionData* lastDeviceMotionData(); |
| +void registerForDeviceMotionUpdates(DeviceMotionController*); |
| +void unRegisterForDeviceMotionUpdates(DeviceMotionController*); |
|
Peter Beverloo
2013/04/17 19:08:23
As earlier said, please consider "unregister" as a
timvolodine
2013/04/18 12:37:38
Done.
|
| +DeviceMotionData* latestDeviceMotionData(); |
| } |
| -#endif // ENABLE(DEVICE_ORIENTATION) |
| - |
| #endif // PlatformDeviceMotion_h |