Index: content/renderer/render_view_impl.h |
diff --git a/content/renderer/render_view_impl.h b/content/renderer/render_view_impl.h |
index 592ec4d0cc685d97d0c121ed5e4f269e74f17035..1ed1714b7393ae388eeefa9488d7c2a39b7af6c0 100644 |
--- a/content/renderer/render_view_impl.h |
+++ b/content/renderer/render_view_impl.h |
@@ -62,6 +62,7 @@ |
#endif |
class CommandLine; |
+class DeviceMotionDispatcher; |
class DeviceOrientationDispatcher; |
class DevToolsAgent; |
class DomAutomationController; |
@@ -488,6 +489,7 @@ class RenderViewImpl : public RenderWidget, |
virtual WebKit::WebSpeechInputController* speechInputController( |
WebKit::WebSpeechInputListener* listener); |
virtual WebKit::WebSpeechRecognizer* speechRecognizer(); |
+ virtual WebKit::WebDeviceMotionClient* deviceMotionClient(); |
virtual WebKit::WebDeviceOrientationClient* deviceOrientationClient(); |
virtual void zoomLimitsChanged(double minimum_level, double maximum_level); |
virtual void zoomLevelChanged(); |
@@ -1295,6 +1297,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_; |