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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 class MediaStreamCenter; | 115 class MediaStreamCenter; |
116 class MemoryObserver; | 116 class MemoryObserver; |
117 class MidiMessageFilter; | 117 class MidiMessageFilter; |
118 class NetInfoDispatcher; | 118 class NetInfoDispatcher; |
119 class P2PSocketDispatcher; | 119 class P2PSocketDispatcher; |
120 class PeerConnectionDependencyFactory; | 120 class PeerConnectionDependencyFactory; |
121 class PeerConnectionTracker; | 121 class PeerConnectionTracker; |
122 class CategorizedWorkerPool; | 122 class CategorizedWorkerPool; |
123 class RenderThreadObserver; | 123 class RenderThreadObserver; |
124 class RendererBlinkPlatformImpl; | 124 class RendererBlinkPlatformImpl; |
125 class RendererDemuxerAndroid; | |
126 class RendererGpuVideoAcceleratorFactories; | 125 class RendererGpuVideoAcceleratorFactories; |
127 class ResourceDispatchThrottler; | 126 class ResourceDispatchThrottler; |
128 class V8SamplingProfiler; | 127 class V8SamplingProfiler; |
129 class VideoCaptureImplManager; | 128 class VideoCaptureImplManager; |
130 | 129 |
131 #if defined(OS_ANDROID) | 130 #if defined(OS_ANDROID) |
132 class StreamTextureFactory; | 131 class StreamTextureFactory; |
133 class SynchronousCompositorFilter; | 132 class SynchronousCompositorFilter; |
134 #endif | 133 #endif |
135 | 134 |
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
295 | 294 |
296 AudioMessageFilter* audio_message_filter() { | 295 AudioMessageFilter* audio_message_filter() { |
297 return audio_message_filter_.get(); | 296 return audio_message_filter_.get(); |
298 } | 297 } |
299 | 298 |
300 MidiMessageFilter* midi_message_filter() { | 299 MidiMessageFilter* midi_message_filter() { |
301 return midi_message_filter_.get(); | 300 return midi_message_filter_.get(); |
302 } | 301 } |
303 | 302 |
304 #if defined(OS_ANDROID) | 303 #if defined(OS_ANDROID) |
305 RendererDemuxerAndroid* renderer_demuxer() { | |
306 return renderer_demuxer_.get(); | |
307 } | |
308 | |
309 SynchronousCompositorFilter* sync_compositor_message_filter() { | 304 SynchronousCompositorFilter* sync_compositor_message_filter() { |
310 return sync_compositor_message_filter_.get(); | 305 return sync_compositor_message_filter_.get(); |
311 } | 306 } |
312 | 307 |
313 scoped_refptr<StreamTextureFactory> GetStreamTexureFactory(); | 308 scoped_refptr<StreamTextureFactory> GetStreamTexureFactory(); |
314 bool EnableStreamTextureCopy(); | 309 bool EnableStreamTextureCopy(); |
315 #endif | 310 #endif |
316 | 311 |
317 // Creates the embedder implementation of WebMediaStreamCenter. | 312 // Creates the embedder implementation of WebMediaStreamCenter. |
318 // The resulting object is owned by WebKit and deleted by WebKit at tear-down. | 313 // The resulting object is owned by WebKit and deleted by WebKit at tear-down. |
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
552 | 547 |
553 // Used on the render thread and deleted by WebKit at shutdown. | 548 // Used on the render thread and deleted by WebKit at shutdown. |
554 blink::WebMediaStreamCenter* media_stream_center_; | 549 blink::WebMediaStreamCenter* media_stream_center_; |
555 | 550 |
556 // Used on the renderer and IPC threads. | 551 // Used on the renderer and IPC threads. |
557 scoped_refptr<BlobMessageFilter> blob_message_filter_; | 552 scoped_refptr<BlobMessageFilter> blob_message_filter_; |
558 scoped_refptr<DBMessageFilter> db_message_filter_; | 553 scoped_refptr<DBMessageFilter> db_message_filter_; |
559 scoped_refptr<AudioInputMessageFilter> audio_input_message_filter_; | 554 scoped_refptr<AudioInputMessageFilter> audio_input_message_filter_; |
560 scoped_refptr<AudioMessageFilter> audio_message_filter_; | 555 scoped_refptr<AudioMessageFilter> audio_message_filter_; |
561 scoped_refptr<MidiMessageFilter> midi_message_filter_; | 556 scoped_refptr<MidiMessageFilter> midi_message_filter_; |
562 #if defined(OS_ANDROID) | |
563 scoped_refptr<RendererDemuxerAndroid> renderer_demuxer_; | |
564 #endif | |
565 scoped_refptr<DevToolsAgentFilter> devtools_agent_message_filter_; | 557 scoped_refptr<DevToolsAgentFilter> devtools_agent_message_filter_; |
566 std::unique_ptr<V8SamplingProfiler> v8_sampling_profiler_; | 558 std::unique_ptr<V8SamplingProfiler> v8_sampling_profiler_; |
567 | 559 |
568 std::unique_ptr<BrowserPluginManager> browser_plugin_manager_; | 560 std::unique_ptr<BrowserPluginManager> browser_plugin_manager_; |
569 | 561 |
570 #if defined(ENABLE_WEBRTC) | 562 #if defined(ENABLE_WEBRTC) |
571 std::unique_ptr<PeerConnectionDependencyFactory> peer_connection_factory_; | 563 std::unique_ptr<PeerConnectionDependencyFactory> peer_connection_factory_; |
572 | 564 |
573 // This is used to communicate to the browser process the status | 565 // This is used to communicate to the browser process the status |
574 // of all the peer connections created in the renderer. | 566 // of all the peer connections created in the renderer. |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
730 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 722 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
731 }; | 723 }; |
732 | 724 |
733 #if defined(COMPILER_MSVC) | 725 #if defined(COMPILER_MSVC) |
734 #pragma warning(pop) | 726 #pragma warning(pop) |
735 #endif | 727 #endif |
736 | 728 |
737 } // namespace content | 729 } // namespace content |
738 | 730 |
739 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 731 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
OLD | NEW |