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 <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 class PeerConnectionDependencyFactory; | 114 class PeerConnectionDependencyFactory; |
115 class PeerConnectionTracker; | 115 class PeerConnectionTracker; |
116 class CategorizedWorkerPool; | 116 class CategorizedWorkerPool; |
117 class RenderThreadObserver; | 117 class RenderThreadObserver; |
118 class RendererBlinkPlatformImpl; | 118 class RendererBlinkPlatformImpl; |
119 class RendererDemuxerAndroid; | 119 class RendererDemuxerAndroid; |
120 class RendererGpuVideoAcceleratorFactories; | 120 class RendererGpuVideoAcceleratorFactories; |
121 class ResourceDispatchThrottler; | 121 class ResourceDispatchThrottler; |
122 class V8SamplingProfiler; | 122 class V8SamplingProfiler; |
123 class VideoCaptureImplManager; | 123 class VideoCaptureImplManager; |
124 class WebRTCIdentityService; | |
125 | 124 |
126 #if defined(OS_ANDROID) | 125 #if defined(OS_ANDROID) |
127 class StreamTextureFactory; | 126 class StreamTextureFactory; |
128 class SynchronousCompositorFilter; | 127 class SynchronousCompositorFilter; |
129 #endif | 128 #endif |
130 | 129 |
131 #if defined(COMPILER_MSVC) | 130 #if defined(COMPILER_MSVC) |
132 // See explanation for other RenderViewHostImpl which is the same issue. | 131 // See explanation for other RenderViewHostImpl which is the same issue. |
133 #pragma warning(push) | 132 #pragma warning(push) |
134 #pragma warning(disable: 4250) | 133 #pragma warning(disable: 4250) |
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
366 // AudioHardwareConfig contains audio hardware configuration for | 365 // AudioHardwareConfig contains audio hardware configuration for |
367 // renderer side clients. Creation requires a synchronous IPC call so it is | 366 // renderer side clients. Creation requires a synchronous IPC call so it is |
368 // lazily created on the first call. | 367 // lazily created on the first call. |
369 media::AudioHardwareConfig* GetAudioHardwareConfig(); | 368 media::AudioHardwareConfig* GetAudioHardwareConfig(); |
370 | 369 |
371 #if defined(OS_WIN) | 370 #if defined(OS_WIN) |
372 void PreCacheFontCharacters(const LOGFONT& log_font, | 371 void PreCacheFontCharacters(const LOGFONT& log_font, |
373 const base::string16& str); | 372 const base::string16& str); |
374 #endif | 373 #endif |
375 | 374 |
376 #if defined(ENABLE_WEBRTC) | |
377 WebRTCIdentityService* get_webrtc_identity_service() { | |
378 return webrtc_identity_service_.get(); | |
379 } | |
380 #endif | |
381 | |
382 // For producing custom V8 histograms. Custom histograms are produced if all | 375 // For producing custom V8 histograms. Custom histograms are produced if all |
383 // RenderViews share the same host, and the host is in the pre-specified set | 376 // RenderViews share the same host, and the host is in the pre-specified set |
384 // of hosts we want to produce custom diagrams for. The name for a custom | 377 // of hosts we want to produce custom diagrams for. The name for a custom |
385 // diagram is the name of the corresponding generic diagram plus a | 378 // diagram is the name of the corresponding generic diagram plus a |
386 // host-specific suffix. | 379 // host-specific suffix. |
387 class CONTENT_EXPORT HistogramCustomizer { | 380 class CONTENT_EXPORT HistogramCustomizer { |
388 public: | 381 public: |
389 HistogramCustomizer(); | 382 HistogramCustomizer(); |
390 ~HistogramCustomizer(); | 383 ~HistogramCustomizer(); |
391 | 384 |
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
642 | 635 |
643 scoped_refptr<ContextProviderCommandBuffer> shared_worker_context_provider_; | 636 scoped_refptr<ContextProviderCommandBuffer> shared_worker_context_provider_; |
644 | 637 |
645 std::unique_ptr<AudioRendererMixerManager> audio_renderer_mixer_manager_; | 638 std::unique_ptr<AudioRendererMixerManager> audio_renderer_mixer_manager_; |
646 std::unique_ptr<media::AudioHardwareConfig> audio_hardware_config_; | 639 std::unique_ptr<media::AudioHardwareConfig> audio_hardware_config_; |
647 | 640 |
648 HistogramCustomizer histogram_customizer_; | 641 HistogramCustomizer histogram_customizer_; |
649 | 642 |
650 std::unique_ptr<base::MemoryPressureListener> memory_pressure_listener_; | 643 std::unique_ptr<base::MemoryPressureListener> memory_pressure_listener_; |
651 | 644 |
652 #if defined(ENABLE_WEBRTC) | |
653 std::unique_ptr<WebRTCIdentityService> webrtc_identity_service_; | |
654 #endif | |
655 | |
656 std::unique_ptr<MemoryObserver> memory_observer_; | 645 std::unique_ptr<MemoryObserver> memory_observer_; |
657 | 646 |
658 scoped_refptr<base::SingleThreadTaskRunner> | 647 scoped_refptr<base::SingleThreadTaskRunner> |
659 main_thread_compositor_task_runner_; | 648 main_thread_compositor_task_runner_; |
660 | 649 |
661 // Compositor settings. | 650 // Compositor settings. |
662 bool is_gpu_rasterization_enabled_; | 651 bool is_gpu_rasterization_enabled_; |
663 bool is_gpu_rasterization_forced_; | 652 bool is_gpu_rasterization_forced_; |
664 bool is_async_worker_context_enabled_; | 653 bool is_async_worker_context_enabled_; |
665 int gpu_rasterization_msaa_sample_count_; | 654 int gpu_rasterization_msaa_sample_count_; |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
710 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 699 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
711 }; | 700 }; |
712 | 701 |
713 #if defined(COMPILER_MSVC) | 702 #if defined(COMPILER_MSVC) |
714 #pragma warning(pop) | 703 #pragma warning(pop) |
715 #endif | 704 #endif |
716 | 705 |
717 } // namespace content | 706 } // namespace content |
718 | 707 |
719 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 708 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
OLD | NEW |