Index: third_party/WebKit/public/platform/modules/device_orientation/WebDeviceMotionListener.h |
diff --git a/third_party/WebKit/public/platform/modules/device_orientation/WebDeviceMotionListener.h b/third_party/WebKit/public/platform/modules/device_orientation/WebDeviceMotionListener.h |
index 92c115d57b444b4c08dd5258cf25c964f9b251ce..dd2c285353c9bf4d183b5a2a0c9a8f47e5432101 100644 |
--- a/third_party/WebKit/public/platform/modules/device_orientation/WebDeviceMotionListener.h |
+++ b/third_party/WebKit/public/platform/modules/device_orientation/WebDeviceMotionListener.h |
@@ -33,14 +33,16 @@ |
#include "public/platform/WebPlatformEventListener.h" |
-namespace blink { |
+namespace device { |
+class MotionData; |
+} |
-class WebDeviceMotionData; |
+namespace blink { |
class WebDeviceMotionListener : public WebPlatformEventListener { |
public: |
// This method is called every time new device motion data is available. |
- virtual void didChangeDeviceMotion(const WebDeviceMotionData&) = 0; |
+ virtual void didChangeDeviceMotion(const device::MotionData&) = 0; |
virtual ~WebDeviceMotionListener() {} |
}; |