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 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 class PeerConnectionDependencyFactory; | 110 class PeerConnectionDependencyFactory; |
111 class PeerConnectionTracker; | 111 class PeerConnectionTracker; |
112 class CategorizedWorkerPool; | 112 class CategorizedWorkerPool; |
113 class RenderThreadObserver; | 113 class RenderThreadObserver; |
114 class RendererBlinkPlatformImpl; | 114 class RendererBlinkPlatformImpl; |
115 class RendererDemuxerAndroid; | 115 class RendererDemuxerAndroid; |
116 class RendererGpuVideoAcceleratorFactories; | 116 class RendererGpuVideoAcceleratorFactories; |
117 class ResourceDispatchThrottler; | 117 class ResourceDispatchThrottler; |
118 class V8SamplingProfiler; | 118 class V8SamplingProfiler; |
119 class VideoCaptureImplManager; | 119 class VideoCaptureImplManager; |
120 class WebRTCIdentityService; | |
121 | 120 |
122 #if defined(OS_ANDROID) | 121 #if defined(OS_ANDROID) |
123 class StreamTextureFactory; | 122 class StreamTextureFactory; |
124 class SynchronousCompositorFilter; | 123 class SynchronousCompositorFilter; |
125 #endif | 124 #endif |
126 | 125 |
127 #if defined(COMPILER_MSVC) | 126 #if defined(COMPILER_MSVC) |
128 // See explanation for other RenderViewHostImpl which is the same issue. | 127 // See explanation for other RenderViewHostImpl which is the same issue. |
129 #pragma warning(push) | 128 #pragma warning(push) |
130 #pragma warning(disable: 4250) | 129 #pragma warning(disable: 4250) |
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
354 // AudioHardwareConfig contains audio hardware configuration for | 353 // AudioHardwareConfig contains audio hardware configuration for |
355 // renderer side clients. Creation requires a synchronous IPC call so it is | 354 // renderer side clients. Creation requires a synchronous IPC call so it is |
356 // lazily created on the first call. | 355 // lazily created on the first call. |
357 media::AudioHardwareConfig* GetAudioHardwareConfig(); | 356 media::AudioHardwareConfig* GetAudioHardwareConfig(); |
358 | 357 |
359 #if defined(OS_WIN) | 358 #if defined(OS_WIN) |
360 void PreCacheFontCharacters(const LOGFONT& log_font, | 359 void PreCacheFontCharacters(const LOGFONT& log_font, |
361 const base::string16& str); | 360 const base::string16& str); |
362 #endif | 361 #endif |
363 | 362 |
364 #if defined(ENABLE_WEBRTC) | |
365 WebRTCIdentityService* get_webrtc_identity_service() { | |
366 return webrtc_identity_service_.get(); | |
367 } | |
368 #endif | |
369 | |
370 // For producing custom V8 histograms. Custom histograms are produced if all | 363 // For producing custom V8 histograms. Custom histograms are produced if all |
371 // RenderViews share the same host, and the host is in the pre-specified set | 364 // RenderViews share the same host, and the host is in the pre-specified set |
372 // of hosts we want to produce custom diagrams for. The name for a custom | 365 // of hosts we want to produce custom diagrams for. The name for a custom |
373 // diagram is the name of the corresponding generic diagram plus a | 366 // diagram is the name of the corresponding generic diagram plus a |
374 // host-specific suffix. | 367 // host-specific suffix. |
375 class CONTENT_EXPORT HistogramCustomizer { | 368 class CONTENT_EXPORT HistogramCustomizer { |
376 public: | 369 public: |
377 HistogramCustomizer(); | 370 HistogramCustomizer(); |
378 ~HistogramCustomizer(); | 371 ~HistogramCustomizer(); |
379 | 372 |
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
631 | 624 |
632 scoped_refptr<ContextProviderCommandBuffer> shared_worker_context_provider_; | 625 scoped_refptr<ContextProviderCommandBuffer> shared_worker_context_provider_; |
633 | 626 |
634 std::unique_ptr<AudioRendererMixerManager> audio_renderer_mixer_manager_; | 627 std::unique_ptr<AudioRendererMixerManager> audio_renderer_mixer_manager_; |
635 std::unique_ptr<media::AudioHardwareConfig> audio_hardware_config_; | 628 std::unique_ptr<media::AudioHardwareConfig> audio_hardware_config_; |
636 | 629 |
637 HistogramCustomizer histogram_customizer_; | 630 HistogramCustomizer histogram_customizer_; |
638 | 631 |
639 std::unique_ptr<base::MemoryPressureListener> memory_pressure_listener_; | 632 std::unique_ptr<base::MemoryPressureListener> memory_pressure_listener_; |
640 | 633 |
641 #if defined(ENABLE_WEBRTC) | |
642 std::unique_ptr<WebRTCIdentityService> webrtc_identity_service_; | |
643 #endif | |
644 | |
645 std::unique_ptr<MemoryObserver> memory_observer_; | 634 std::unique_ptr<MemoryObserver> memory_observer_; |
646 | 635 |
647 scoped_refptr<base::SingleThreadTaskRunner> | 636 scoped_refptr<base::SingleThreadTaskRunner> |
648 main_thread_compositor_task_runner_; | 637 main_thread_compositor_task_runner_; |
649 | 638 |
650 // Compositor settings. | 639 // Compositor settings. |
651 bool is_gpu_rasterization_enabled_; | 640 bool is_gpu_rasterization_enabled_; |
652 bool is_gpu_rasterization_forced_; | 641 bool is_gpu_rasterization_forced_; |
653 bool is_async_worker_context_enabled_; | 642 bool is_async_worker_context_enabled_; |
654 int gpu_rasterization_msaa_sample_count_; | 643 int gpu_rasterization_msaa_sample_count_; |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
701 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 690 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
702 }; | 691 }; |
703 | 692 |
704 #if defined(COMPILER_MSVC) | 693 #if defined(COMPILER_MSVC) |
705 #pragma warning(pop) | 694 #pragma warning(pop) |
706 #endif | 695 #endif |
707 | 696 |
708 } // namespace content | 697 } // namespace content |
709 | 698 |
710 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 699 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
OLD | NEW |