Index: content/renderer/render_frame_impl.h |
diff --git a/content/renderer/render_frame_impl.h b/content/renderer/render_frame_impl.h |
index 5c4c0589cdbb807b966b99667677a288888d5739..343fd7cb7fb1602d4875132a081064fb49b07548 100644 |
--- a/content/renderer/render_frame_impl.h |
+++ b/content/renderer/render_frame_impl.h |
@@ -112,6 +112,7 @@ struct NavigationParams; |
struct RequestNavigationParams; |
struct ResourceResponseHead; |
struct StartNavigationParams; |
+class VRDispatcher; |
class CONTENT_EXPORT RenderFrameImpl |
: public RenderFrame, |
@@ -531,6 +532,7 @@ class CONTENT_EXPORT RenderFrameImpl |
virtual bool enterFullscreen(); |
virtual bool exitFullscreen(); |
virtual blink::WebPermissionClient* permissionClient(); |
+ blink::WebVRClient* webVRClient() override; |
// WebMediaPlayerDelegate implementation: |
void DidPlay(blink::WebMediaPlayer* player) override; |
@@ -926,6 +928,9 @@ class CONTENT_EXPORT RenderFrameImpl |
scoped_ptr<PermissionDispatcher> permission_client_; |
+ // The VR dispatcher attached to the frame, lazily initialized. |
+ VRDispatcher* vr_dispatcher_; |
+ |
#if defined(OS_MACOSX) || defined(OS_ANDROID) |
// The external popup for the currently showing select popup. |
scoped_ptr<ExternalPopupMenu> external_popup_menu_; |