Index: content/renderer/render_view_impl.h |
diff --git a/content/renderer/render_view_impl.h b/content/renderer/render_view_impl.h |
index f72aa731e07045d0c2b7c1555949c38132c521de..d1184e7c88ff1f23d29f54af7451abda3e326435 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); |
@@ -1311,6 +1315,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_; |