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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 class DevToolsAgentFilter; | 78 class DevToolsAgentFilter; |
79 class DomStorageDispatcher; | 79 class DomStorageDispatcher; |
80 class EmbeddedWorkerDispatcher; | 80 class EmbeddedWorkerDispatcher; |
81 class GamepadSharedMemoryReader; | 81 class GamepadSharedMemoryReader; |
82 class GpuChannelHost; | 82 class GpuChannelHost; |
83 class IndexedDBDispatcher; | 83 class IndexedDBDispatcher; |
84 class InputEventFilter; | 84 class InputEventFilter; |
85 class InputHandlerManager; | 85 class InputHandlerManager; |
86 class MediaStreamCenter; | 86 class MediaStreamCenter; |
87 class MediaStreamDependencyFactory; | 87 class MediaStreamDependencyFactory; |
88 class MIDIMessageFilter; | 88 class MidiMessageFilter; |
89 class P2PSocketDispatcher; | 89 class P2PSocketDispatcher; |
90 class PeerConnectionTracker; | 90 class PeerConnectionTracker; |
91 class RendererDemuxerAndroid; | 91 class RendererDemuxerAndroid; |
92 class RendererWebKitPlatformSupportImpl; | 92 class RendererWebKitPlatformSupportImpl; |
93 class RenderProcessObserver; | 93 class RenderProcessObserver; |
94 class VideoCaptureImplManager; | 94 class VideoCaptureImplManager; |
95 class WebGraphicsContext3DCommandBufferImpl; | 95 class WebGraphicsContext3DCommandBufferImpl; |
96 class WebRTCIdentityService; | 96 class WebRTCIdentityService; |
97 | 97 |
98 // The RenderThreadImpl class represents a background thread where RenderView | 98 // The RenderThreadImpl class represents a background thread where RenderView |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
207 } | 207 } |
208 | 208 |
209 AudioInputMessageFilter* audio_input_message_filter() { | 209 AudioInputMessageFilter* audio_input_message_filter() { |
210 return audio_input_message_filter_.get(); | 210 return audio_input_message_filter_.get(); |
211 } | 211 } |
212 | 212 |
213 AudioMessageFilter* audio_message_filter() { | 213 AudioMessageFilter* audio_message_filter() { |
214 return audio_message_filter_.get(); | 214 return audio_message_filter_.get(); |
215 } | 215 } |
216 | 216 |
217 MIDIMessageFilter* midi_message_filter() { | 217 MidiMessageFilter* midi_message_filter() { |
218 return midi_message_filter_.get(); | 218 return midi_message_filter_.get(); |
219 } | 219 } |
220 | 220 |
221 #if defined(OS_ANDROID) | 221 #if defined(OS_ANDROID) |
222 RendererDemuxerAndroid* renderer_demuxer() { | 222 RendererDemuxerAndroid* renderer_demuxer() { |
223 return renderer_demuxer_.get(); | 223 return renderer_demuxer_.get(); |
224 } | 224 } |
225 #endif | 225 #endif |
226 | 226 |
227 // Creates the embedder implementation of WebMediaStreamCenter. | 227 // Creates the embedder implementation of WebMediaStreamCenter. |
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
409 scoped_ptr<RendererWebKitPlatformSupportImpl> webkit_platform_support_; | 409 scoped_ptr<RendererWebKitPlatformSupportImpl> webkit_platform_support_; |
410 scoped_ptr<EmbeddedWorkerDispatcher> embedded_worker_dispatcher_; | 410 scoped_ptr<EmbeddedWorkerDispatcher> embedded_worker_dispatcher_; |
411 | 411 |
412 // Used on the render thread and deleted by WebKit at shutdown. | 412 // Used on the render thread and deleted by WebKit at shutdown. |
413 blink::WebMediaStreamCenter* media_stream_center_; | 413 blink::WebMediaStreamCenter* media_stream_center_; |
414 | 414 |
415 // Used on the renderer and IPC threads. | 415 // Used on the renderer and IPC threads. |
416 scoped_refptr<DBMessageFilter> db_message_filter_; | 416 scoped_refptr<DBMessageFilter> db_message_filter_; |
417 scoped_refptr<AudioInputMessageFilter> audio_input_message_filter_; | 417 scoped_refptr<AudioInputMessageFilter> audio_input_message_filter_; |
418 scoped_refptr<AudioMessageFilter> audio_message_filter_; | 418 scoped_refptr<AudioMessageFilter> audio_message_filter_; |
419 scoped_refptr<MIDIMessageFilter> midi_message_filter_; | 419 scoped_refptr<MidiMessageFilter> midi_message_filter_; |
420 #if defined(OS_ANDROID) | 420 #if defined(OS_ANDROID) |
421 scoped_refptr<RendererDemuxerAndroid> renderer_demuxer_; | 421 scoped_refptr<RendererDemuxerAndroid> renderer_demuxer_; |
422 #endif | 422 #endif |
423 scoped_refptr<DevToolsAgentFilter> devtools_agent_message_filter_; | 423 scoped_refptr<DevToolsAgentFilter> devtools_agent_message_filter_; |
424 | 424 |
425 scoped_ptr<MediaStreamDependencyFactory> media_stream_factory_; | 425 scoped_ptr<MediaStreamDependencyFactory> media_stream_factory_; |
426 | 426 |
427 // This is used to communicate to the browser process the status | 427 // This is used to communicate to the browser process the status |
428 // of all the peer connections created in the renderer. | 428 // of all the peer connections created in the renderer. |
429 scoped_ptr<PeerConnectionTracker> peer_connection_tracker_; | 429 scoped_ptr<PeerConnectionTracker> peer_connection_tracker_; |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
504 // multiple threads. Current allocation mechanism for IOSurface | 504 // multiple threads. Current allocation mechanism for IOSurface |
505 // backed GpuMemoryBuffers prevent this. crbug.com/325045 | 505 // backed GpuMemoryBuffers prevent this. crbug.com/325045 |
506 base::ThreadChecker allocate_gpu_memory_buffer_thread_checker_; | 506 base::ThreadChecker allocate_gpu_memory_buffer_thread_checker_; |
507 | 507 |
508 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 508 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
509 }; | 509 }; |
510 | 510 |
511 } // namespace content | 511 } // namespace content |
512 | 512 |
513 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 513 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
OLD | NEW |