Index: content/renderer/renderer_blink_platform_impl.h |
diff --git a/content/renderer/renderer_blink_platform_impl.h b/content/renderer/renderer_blink_platform_impl.h |
index f3f64bcf2b9c2f895e91b8b4d44a3a2f12a89c91..06820eef8052fab829cc1a559518c226e0f3a939 100644 |
--- a/content/renderer/renderer_blink_platform_impl.h |
+++ b/content/renderer/renderer_blink_platform_impl.h |
@@ -39,8 +39,6 @@ class RendererScheduler; |
class WebThreadImplForRendererScheduler; |
} |
class WebCanvasCaptureHandler; |
-class WebDeviceMotionData; |
-class WebDeviceOrientationData; |
class WebGraphicsContext3DProvider; |
class WebMediaPlayer; |
class WebMediaRecorderHandler; |
@@ -49,6 +47,11 @@ class WebSecurityOrigin; |
class WebServiceWorkerCacheStorage; |
} |
+namespace device { |
+class MotionData; |
+class OrientationData; |
+} |
+ |
namespace shell { |
class InterfaceProvider; |
} |
@@ -230,13 +233,12 @@ class CONTENT_EXPORT RendererBlinkPlatformImpl : public BlinkPlatformImpl { |
// Set a double to return when setDeviceLightListener is invoked. |
static void SetMockDeviceLightDataForTesting(double data); |
- // Set WebDeviceMotionData to return when setDeviceMotionListener is invoked. |
- static void SetMockDeviceMotionDataForTesting( |
- const blink::WebDeviceMotionData& data); |
- // Set WebDeviceOrientationData to return when setDeviceOrientationListener |
+ // Set MotionData to return when setDeviceMotionListener is invoked. |
+ static void SetMockDeviceMotionDataForTesting(const device::MotionData& data); |
+ // Set OrientationData to return when setDeviceOrientationListener |
// is invoked. |
static void SetMockDeviceOrientationDataForTesting( |
- const blink::WebDeviceOrientationData& data); |
+ const device::OrientationData& data); |
WebDatabaseObserverImpl* web_database_observer_impl() { |
return web_database_observer_impl_.get(); |