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

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: Updates/cleanups before pulling in reviewers. 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 6ec87b55449b8d84731acb1340ae2f236fe70c2f..955ddbd00309f36f6b69a580e598bc891d68fd2b 100644
--- a/content/renderer/render_thread_impl.h
+++ b/content/renderer/render_thread_impl.h
@@ -105,6 +105,7 @@ class ResourceDispatchThrottler;
class ResourceSchedulingFilter;
class V8SamplingProfiler;
class VideoCaptureImplManager;
+class VRDispatcher;
class WebGraphicsContext3DCommandBufferImpl;
class WebRTCIdentityService;
@@ -304,6 +305,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();
@@ -586,6 +591,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