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

Unified Diff: content/renderer/render_thread_impl.h

Issue 829803003: Adding Chrome-side WebVR interface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed the rest of sievers@ input Created 5 years, 9 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
Index: content/renderer/render_thread_impl.h
diff --git a/content/renderer/render_thread_impl.h b/content/renderer/render_thread_impl.h
index c4a05a2dcdffbae56ea1fed67fd250651310795a..f4a5f8e7f5d5df1540bed8508c07cdf7a3e44890 100644
--- a/content/renderer/render_thread_impl.h
+++ b/content/renderer/render_thread_impl.h
@@ -107,6 +107,7 @@ class ResourceSchedulingFilter;
class ServiceWorkerCacheStorageDispatcher;
class V8SamplingProfiler;
class VideoCaptureImplManager;
+class VRDispatcher;
class WebGraphicsContext3DCommandBufferImpl;
class WebRTCIdentityService;
@@ -305,6 +306,10 @@ class CONTENT_EXPORT RenderThreadImpl
return vc_manager_.get();
}
+ VRDispatcher* vr_dispatcher() const {
+ return vr_dispatcher_.get();
+ }
+
// Get the GPU channel. Returns NULL if the channel is not established or
// has been lost.
GpuChannelHost* GetGpuChannel();
@@ -594,6 +599,8 @@ class CONTENT_EXPORT RenderThreadImpl
scoped_ptr<WebRTCIdentityService> webrtc_identity_service_;
#endif
+ scoped_ptr<VRDispatcher> vr_dispatcher_;
+
scoped_ptr<MemoryObserver> memory_observer_;
scoped_refptr<base::SingleThreadTaskRunner>

Powered by Google App Engine
This is Rietveld 408576698