Index: content/renderer/render_view_impl.h |
diff --git a/content/renderer/render_view_impl.h b/content/renderer/render_view_impl.h |
index 7b8a8b91baf8f50551fedf9395d4ee18504ff67b..7f2934b9dfabc5a2b37f4d7c2869c66014b5dca8 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; |
@@ -137,6 +138,7 @@ class WebMediaPlayerManagerAndroid; |
namespace WebKit { |
class WebApplicationCacheHost; |
class WebApplicationCacheHostClient; |
+class WebDeviceMotionDetector; |
class WebDOMMessageEvent; |
class WebDataSource; |
class WebDragData; |
@@ -261,6 +263,8 @@ class RenderViewImpl : public RenderWidget, |
} |
#endif |
+ WebKit::WebDeviceMotionDetector* GetDeviceMotionDispatcher(); |
+ |
WebKit::WebPeerConnection00Handler* CreatePeerConnectionHandlerJsep( |
WebKit::WebPeerConnection00HandlerClient* client); |
@@ -1308,6 +1312,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_; |