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 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
363 // AudioHardwareConfig contains audio hardware configuration for | 362 // AudioHardwareConfig contains audio hardware configuration for |
364 // renderer side clients. Creation requires a synchronous IPC call so it is | 363 // renderer side clients. Creation requires a synchronous IPC call so it is |
365 // lazily created on the first call. | 364 // lazily created on the first call. |
366 media::AudioHardwareConfig* GetAudioHardwareConfig(); | 365 media::AudioHardwareConfig* GetAudioHardwareConfig(); |
367 | 366 |
368 #if defined(OS_WIN) | 367 #if defined(OS_WIN) |
369 void PreCacheFontCharacters(const LOGFONT& log_font, | 368 void PreCacheFontCharacters(const LOGFONT& log_font, |
370 const base::string16& str); | 369 const base::string16& str); |
371 #endif | 370 #endif |
372 | 371 |
373 #if defined(ENABLE_WEBRTC) | |
374 WebRTCIdentityService* get_webrtc_identity_service() { | |
375 return webrtc_identity_service_.get(); | |
376 } | |
377 #endif | |
378 | |
379 // For producing custom V8 histograms. Custom histograms are produced if all | 372 // For producing custom V8 histograms. Custom histograms are produced if all |
380 // RenderViews share the same host, and the host is in the pre-specified set | 373 // RenderViews share the same host, and the host is in the pre-specified set |
381 // of hosts we want to produce custom diagrams for. The name for a custom | 374 // of hosts we want to produce custom diagrams for. The name for a custom |
382 // diagram is the name of the corresponding generic diagram plus a | 375 // diagram is the name of the corresponding generic diagram plus a |
383 // host-specific suffix. | 376 // host-specific suffix. |
384 class CONTENT_EXPORT HistogramCustomizer { | 377 class CONTENT_EXPORT HistogramCustomizer { |
385 public: | 378 public: |
386 HistogramCustomizer(); | 379 HistogramCustomizer(); |
387 ~HistogramCustomizer(); | 380 ~HistogramCustomizer(); |
388 | 381 |
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
639 | 632 |
640 scoped_refptr<ContextProviderCommandBuffer> shared_worker_context_provider_; | 633 scoped_refptr<ContextProviderCommandBuffer> shared_worker_context_provider_; |
641 | 634 |
642 std::unique_ptr<AudioRendererMixerManager> audio_renderer_mixer_manager_; | 635 std::unique_ptr<AudioRendererMixerManager> audio_renderer_mixer_manager_; |
643 std::unique_ptr<media::AudioHardwareConfig> audio_hardware_config_; | 636 std::unique_ptr<media::AudioHardwareConfig> audio_hardware_config_; |
644 | 637 |
645 HistogramCustomizer histogram_customizer_; | 638 HistogramCustomizer histogram_customizer_; |
646 | 639 |
647 std::unique_ptr<base::MemoryPressureListener> memory_pressure_listener_; | 640 std::unique_ptr<base::MemoryPressureListener> memory_pressure_listener_; |
648 | 641 |
649 #if defined(ENABLE_WEBRTC) | |
650 std::unique_ptr<WebRTCIdentityService> webrtc_identity_service_; | |
651 #endif | |
652 | |
653 std::unique_ptr<MemoryObserver> memory_observer_; | 642 std::unique_ptr<MemoryObserver> memory_observer_; |
654 | 643 |
655 scoped_refptr<base::SingleThreadTaskRunner> | 644 scoped_refptr<base::SingleThreadTaskRunner> |
656 main_thread_compositor_task_runner_; | 645 main_thread_compositor_task_runner_; |
657 | 646 |
658 // Compositor settings. | 647 // Compositor settings. |
659 bool is_gpu_rasterization_enabled_; | 648 bool is_gpu_rasterization_enabled_; |
660 bool is_gpu_rasterization_forced_; | 649 bool is_gpu_rasterization_forced_; |
661 bool is_async_worker_context_enabled_; | 650 bool is_async_worker_context_enabled_; |
662 int gpu_rasterization_msaa_sample_count_; | 651 int gpu_rasterization_msaa_sample_count_; |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
707 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 696 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
708 }; | 697 }; |
709 | 698 |
710 #if defined(COMPILER_MSVC) | 699 #if defined(COMPILER_MSVC) |
711 #pragma warning(pop) | 700 #pragma warning(pop) |
712 #endif | 701 #endif |
713 | 702 |
714 } // namespace content | 703 } // namespace content |
715 | 704 |
716 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 705 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
OLD | NEW |