| Index: Source/WebCore/platform/PlatformDeviceMotion.h
|
| diff --git a/Source/WebCore/platform/PlatformDeviceMotion.h b/Source/WebCore/platform/PlatformDeviceMotion.h
|
| index c80f7a98b8e680e91e8b3826b7a4da566e4acd9f..884ead89fccc45df0e28d20d0964c1f6311b62e9 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*);
|
| +DeviceMotionData* latestDeviceMotionData();
|
|
|
| }
|
|
|
| -#endif // ENABLE(DEVICE_ORIENTATION)
|
| -
|
| #endif // PlatformDeviceMotion_h
|
|
|