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

Side by Side 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 class PeerConnectionTracker; 100 class PeerConnectionTracker;
101 class RenderProcessObserver; 101 class RenderProcessObserver;
102 class RendererBlinkPlatformImpl; 102 class RendererBlinkPlatformImpl;
103 class RendererDemuxerAndroid; 103 class RendererDemuxerAndroid;
104 class RendererScheduler; 104 class RendererScheduler;
105 class ResourceDispatchThrottler; 105 class ResourceDispatchThrottler;
106 class ResourceSchedulingFilter; 106 class ResourceSchedulingFilter;
107 class ServiceWorkerCacheStorageDispatcher; 107 class ServiceWorkerCacheStorageDispatcher;
108 class V8SamplingProfiler; 108 class V8SamplingProfiler;
109 class VideoCaptureImplManager; 109 class VideoCaptureImplManager;
110 class VRDispatcher;
110 class WebGraphicsContext3DCommandBufferImpl; 111 class WebGraphicsContext3DCommandBufferImpl;
111 class WebRTCIdentityService; 112 class WebRTCIdentityService;
112 113
113 #if defined(COMPILER_MSVC) 114 #if defined(COMPILER_MSVC)
114 // See explanation for other RenderViewHostImpl which is the same issue. 115 // See explanation for other RenderViewHostImpl which is the same issue.
115 #pragma warning(push) 116 #pragma warning(push)
116 #pragma warning(disable: 4250) 117 #pragma warning(disable: 4250)
117 #endif 118 #endif
118 119
119 // The RenderThreadImpl class represents a background thread where RenderView 120 // The RenderThreadImpl class represents a background thread where RenderView
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
298 // Current P2PSocketDispatcher. Set to NULL if P2P API is disabled. 299 // Current P2PSocketDispatcher. Set to NULL if P2P API is disabled.
299 P2PSocketDispatcher* p2p_socket_dispatcher() { 300 P2PSocketDispatcher* p2p_socket_dispatcher() {
300 return p2p_socket_dispatcher_.get(); 301 return p2p_socket_dispatcher_.get();
301 } 302 }
302 #endif 303 #endif
303 304
304 VideoCaptureImplManager* video_capture_impl_manager() const { 305 VideoCaptureImplManager* video_capture_impl_manager() const {
305 return vc_manager_.get(); 306 return vc_manager_.get();
306 } 307 }
307 308
309 VRDispatcher* vr_dispatcher() const {
310 return vr_dispatcher_.get();
311 }
312
308 // Get the GPU channel. Returns NULL if the channel is not established or 313 // Get the GPU channel. Returns NULL if the channel is not established or
309 // has been lost. 314 // has been lost.
310 GpuChannelHost* GetGpuChannel(); 315 GpuChannelHost* GetGpuChannel();
311 316
312 // Returns a MessageLoopProxy instance corresponding to the message loop 317 // Returns a MessageLoopProxy instance corresponding to the message loop
313 // of the thread on which file operations should be run. Must be called 318 // of the thread on which file operations should be run. Must be called
314 // on the renderer's main thread. 319 // on the renderer's main thread.
315 scoped_refptr<base::MessageLoopProxy> GetFileThreadMessageLoopProxy(); 320 scoped_refptr<base::MessageLoopProxy> GetFileThreadMessageLoopProxy();
316 321
317 // Returns a SingleThreadTaskRunner instance corresponding to the message loop 322 // Returns a SingleThreadTaskRunner instance corresponding to the message loop
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after
587 media::AudioHardwareConfig audio_hardware_config_; 592 media::AudioHardwareConfig audio_hardware_config_;
588 593
589 HistogramCustomizer histogram_customizer_; 594 HistogramCustomizer histogram_customizer_;
590 595
591 scoped_ptr<base::MemoryPressureListener> memory_pressure_listener_; 596 scoped_ptr<base::MemoryPressureListener> memory_pressure_listener_;
592 597
593 #if defined(ENABLE_WEBRTC) 598 #if defined(ENABLE_WEBRTC)
594 scoped_ptr<WebRTCIdentityService> webrtc_identity_service_; 599 scoped_ptr<WebRTCIdentityService> webrtc_identity_service_;
595 #endif 600 #endif
596 601
602 scoped_ptr<VRDispatcher> vr_dispatcher_;
603
597 scoped_ptr<MemoryObserver> memory_observer_; 604 scoped_ptr<MemoryObserver> memory_observer_;
598 605
599 scoped_refptr<base::SingleThreadTaskRunner> 606 scoped_refptr<base::SingleThreadTaskRunner>
600 main_thread_compositor_task_runner_; 607 main_thread_compositor_task_runner_;
601 608
602 scoped_refptr<ResourceSchedulingFilter> resource_scheduling_filter_; 609 scoped_refptr<ResourceSchedulingFilter> resource_scheduling_filter_;
603 610
604 scoped_ptr<cc::TaskGraphRunner> compositor_task_graph_runner_; 611 scoped_ptr<cc::TaskGraphRunner> compositor_task_graph_runner_;
605 612
606 // Compositor settings. 613 // Compositor settings.
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
651 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); 658 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl);
652 }; 659 };
653 660
654 #if defined(COMPILER_MSVC) 661 #if defined(COMPILER_MSVC)
655 #pragma warning(pop) 662 #pragma warning(pop)
656 #endif 663 #endif
657 664
658 } // namespace content 665 } // namespace content
659 666
660 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 667 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698