Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2753)

Unified Diff: content/renderer/render_frame_impl.cc

Issue 1808203005: [OnionSoup] Moving VR service from content to Blink (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase to ToT! Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/renderer/render_frame_impl.h ('k') | content/renderer/vr/vr_dispatcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_frame_impl.cc
diff --git a/content/renderer/render_frame_impl.cc b/content/renderer/render_frame_impl.cc
index 8b82079aa7bc60fc6c74c3f5b813b6145973f607..20615babaf1bc6449bf695955c1f49e538b32456 100644
--- a/content/renderer/render_frame_impl.cc
+++ b/content/renderer/render_frame_impl.cc
@@ -239,10 +239,6 @@
#include "media/mojo/services/mojo_decoder_factory.h" // nogncheck
#endif
-#if defined(ENABLE_WEBVR)
-#include "content/renderer/vr/vr_dispatcher.h"
-#endif
-
using blink::WebCachePolicy;
using blink::WebContentDecryptionModule;
using blink::WebContextMenuData;
@@ -4289,15 +4285,6 @@ blink::WebBluetooth* RenderFrameImpl::bluetooth() {
return bluetooth_.get();
}
-#if defined(ENABLE_WEBVR)
-blink::WebVRClient* RenderFrameImpl::webVRClient() {
- if (!vr_dispatcher_)
- vr_dispatcher_.reset(new VRDispatcher(GetServiceRegistry()));
-
- return vr_dispatcher_.get();
-}
-#endif
-
void RenderFrameImpl::didSerializeDataForFrame(
const WebCString& data,
WebFrameSerializerClient::FrameSerializationStatus status) {
« no previous file with comments | « content/renderer/render_frame_impl.h ('k') | content/renderer/vr/vr_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698