| OLD | NEW |
| 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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 class P2PSocketDispatcher; | 98 class P2PSocketDispatcher; |
| 99 class PeerConnectionTracker; | 99 class PeerConnectionTracker; |
| 100 class RenderProcessObserver; | 100 class RenderProcessObserver; |
| 101 class RendererBlinkPlatformImpl; | 101 class RendererBlinkPlatformImpl; |
| 102 class RendererDemuxerAndroid; | 102 class RendererDemuxerAndroid; |
| 103 class RendererScheduler; | 103 class RendererScheduler; |
| 104 class ResourceDispatchThrottler; | 104 class ResourceDispatchThrottler; |
| 105 class ResourceSchedulingFilter; | 105 class ResourceSchedulingFilter; |
| 106 class V8SamplingProfiler; | 106 class V8SamplingProfiler; |
| 107 class VideoCaptureImplManager; | 107 class VideoCaptureImplManager; |
| 108 class VRDispatcher; |
| 108 class WebGraphicsContext3DCommandBufferImpl; | 109 class WebGraphicsContext3DCommandBufferImpl; |
| 109 class WebRTCIdentityService; | 110 class WebRTCIdentityService; |
| 110 | 111 |
| 111 #if defined(COMPILER_MSVC) | 112 #if defined(COMPILER_MSVC) |
| 112 // See explanation for other RenderViewHostImpl which is the same issue. | 113 // See explanation for other RenderViewHostImpl which is the same issue. |
| 113 #pragma warning(push) | 114 #pragma warning(push) |
| 114 #pragma warning(disable: 4250) | 115 #pragma warning(disable: 4250) |
| 115 #endif | 116 #endif |
| 116 | 117 |
| 117 // The RenderThreadImpl class represents a background thread where RenderView | 118 // The RenderThreadImpl class represents a background thread where RenderView |
| (...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 297 // Current P2PSocketDispatcher. Set to NULL if P2P API is disabled. | 298 // Current P2PSocketDispatcher. Set to NULL if P2P API is disabled. |
| 298 P2PSocketDispatcher* p2p_socket_dispatcher() { | 299 P2PSocketDispatcher* p2p_socket_dispatcher() { |
| 299 return p2p_socket_dispatcher_.get(); | 300 return p2p_socket_dispatcher_.get(); |
| 300 } | 301 } |
| 301 #endif | 302 #endif |
| 302 | 303 |
| 303 VideoCaptureImplManager* video_capture_impl_manager() const { | 304 VideoCaptureImplManager* video_capture_impl_manager() const { |
| 304 return vc_manager_.get(); | 305 return vc_manager_.get(); |
| 305 } | 306 } |
| 306 | 307 |
| 308 VRDispatcher* vr_dispatcher() const { |
| 309 return vr_dispatcher_.get(); |
| 310 } |
| 311 |
| 307 // Get the GPU channel. Returns NULL if the channel is not established or | 312 // Get the GPU channel. Returns NULL if the channel is not established or |
| 308 // has been lost. | 313 // has been lost. |
| 309 GpuChannelHost* GetGpuChannel(); | 314 GpuChannelHost* GetGpuChannel(); |
| 310 | 315 |
| 311 // Returns a MessageLoopProxy instance corresponding to the message loop | 316 // Returns a MessageLoopProxy instance corresponding to the message loop |
| 312 // of the thread on which file operations should be run. Must be called | 317 // of the thread on which file operations should be run. Must be called |
| 313 // on the renderer's main thread. | 318 // on the renderer's main thread. |
| 314 scoped_refptr<base::MessageLoopProxy> GetFileThreadMessageLoopProxy(); | 319 scoped_refptr<base::MessageLoopProxy> GetFileThreadMessageLoopProxy(); |
| 315 | 320 |
| 316 // Returns a SingleThreadTaskRunner instance corresponding to the message loop | 321 // Returns a SingleThreadTaskRunner instance corresponding to the message loop |
| (...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 579 scoped_ptr<media::AudioHardwareConfig> audio_hardware_config_; | 584 scoped_ptr<media::AudioHardwareConfig> audio_hardware_config_; |
| 580 | 585 |
| 581 HistogramCustomizer histogram_customizer_; | 586 HistogramCustomizer histogram_customizer_; |
| 582 | 587 |
| 583 scoped_ptr<base::MemoryPressureListener> memory_pressure_listener_; | 588 scoped_ptr<base::MemoryPressureListener> memory_pressure_listener_; |
| 584 | 589 |
| 585 #if defined(ENABLE_WEBRTC) | 590 #if defined(ENABLE_WEBRTC) |
| 586 scoped_ptr<WebRTCIdentityService> webrtc_identity_service_; | 591 scoped_ptr<WebRTCIdentityService> webrtc_identity_service_; |
| 587 #endif | 592 #endif |
| 588 | 593 |
| 594 scoped_ptr<VRDispatcher> vr_dispatcher_; |
| 595 |
| 589 scoped_ptr<MemoryObserver> memory_observer_; | 596 scoped_ptr<MemoryObserver> memory_observer_; |
| 590 | 597 |
| 591 scoped_refptr<base::SingleThreadTaskRunner> | 598 scoped_refptr<base::SingleThreadTaskRunner> |
| 592 main_thread_compositor_task_runner_; | 599 main_thread_compositor_task_runner_; |
| 593 | 600 |
| 594 scoped_refptr<ResourceSchedulingFilter> resource_scheduling_filter_; | 601 scoped_refptr<ResourceSchedulingFilter> resource_scheduling_filter_; |
| 595 | 602 |
| 596 // Compositor settings. | 603 // Compositor settings. |
| 597 bool is_gpu_rasterization_enabled_; | 604 bool is_gpu_rasterization_enabled_; |
| 598 bool is_gpu_rasterization_forced_; | 605 bool is_gpu_rasterization_forced_; |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 640 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 647 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
| 641 }; | 648 }; |
| 642 | 649 |
| 643 #if defined(COMPILER_MSVC) | 650 #if defined(COMPILER_MSVC) |
| 644 #pragma warning(pop) | 651 #pragma warning(pop) |
| 645 #endif | 652 #endif |
| 646 | 653 |
| 647 } // namespace content | 654 } // namespace content |
| 648 | 655 |
| 649 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 656 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
| OLD | NEW |