Index: content/renderer/render_view_impl.h |
diff --git a/content/renderer/render_view_impl.h b/content/renderer/render_view_impl.h |
index 04490b93e27b795c3d976fd89974f0a4f0e75040..f2ec05e160f0113c61083715984fc129b900dcb1 100644 |
--- a/content/renderer/render_view_impl.h |
+++ b/content/renderer/render_view_impl.h |
@@ -61,6 +61,7 @@ |
#endif |
class CommandLine; |
+class DeviceMotionDispatcher; |
class DeviceOrientationDispatcher; |
class DevToolsAgent; |
class DomAutomationController; |
@@ -139,6 +140,7 @@ namespace WebKit { |
class WebApplicationCacheHost; |
class WebApplicationCacheHostClient; |
class WebCompositorOutputSurface; |
+class WebDeviceMotionDetector; |
class WebDOMMessageEvent; |
class WebDataSource; |
class WebDragData; |
@@ -263,6 +265,8 @@ class RenderViewImpl : public RenderWidget, |
} |
#endif |
+ WebKit::WebDeviceMotionDetector* GetDeviceMotionDispatcher(); |
+ |
WebKit::WebPeerConnection00Handler* CreatePeerConnectionHandlerJsep( |
WebKit::WebPeerConnection00HandlerClient* client); |
@@ -1316,6 +1320,9 @@ class RenderViewImpl : public RenderWidget, |
// initialized. |
SpeechRecognitionDispatcher* speech_recognition_dispatcher_; |
+ // Device motion dispatcher attached to this view; lazily initialized. |
+ DeviceMotionDispatcher* device_motion_dispatcher_; |
+ |
// Device orientation dispatcher attached to this view; lazily initialized. |
DeviceOrientationDispatcher* device_orientation_dispatcher_; |