Index: content/renderer/render_frame_impl.h |
diff --git a/content/renderer/render_frame_impl.h b/content/renderer/render_frame_impl.h |
index 9c3b29b7b5e69d6faa88369594c46645c0ba23f0..8940e64faf2f4b75cbbebd08fae015e3bfa45dce 100644 |
--- a/content/renderer/render_frame_impl.h |
+++ b/content/renderer/render_frame_impl.h |
@@ -114,6 +114,7 @@ struct RequestNavigationParams; |
struct ResourceResponseHead; |
struct StartNavigationParams; |
struct StreamOverrideParameters; |
+class VRDispatcher; |
class CONTENT_EXPORT RenderFrameImpl |
: public RenderFrame, |
@@ -530,6 +531,10 @@ class CONTENT_EXPORT RenderFrameImpl |
virtual blink::WebPermissionClient* permissionClient(); |
virtual blink::WebAppBannerClient* appBannerClient(); |
+#if defined(ENABLE_WEBVR) |
+ blink::WebVRClient* webVRClient() override; |
+#endif |
+ |
// WebMediaPlayerDelegate implementation: |
void DidPlay(blink::WebMediaPlayer* player) override; |
void DidPause(blink::WebMediaPlayer* player) override; |
@@ -972,6 +977,11 @@ class CONTENT_EXPORT RenderFrameImpl |
scoped_ptr<blink::WebAppBannerClient> app_banner_client_; |
+#if defined(ENABLE_WEBVR) |
+ // The VR dispatcher attached to the frame, lazily initialized. |
+ scoped_ptr<VRDispatcher> vr_dispatcher_; |
+#endif |
+ |
#if defined(OS_MACOSX) || defined(OS_ANDROID) |
// The external popup for the currently showing select popup. |
scoped_ptr<ExternalPopupMenu> external_popup_menu_; |