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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 class AudioRendererMixerManager; | 73 class AudioRendererMixerManager; |
74 class ContextProviderCommandBuffer; | 74 class ContextProviderCommandBuffer; |
75 class DBMessageFilter; | 75 class DBMessageFilter; |
76 class DevToolsAgentFilter; | 76 class DevToolsAgentFilter; |
77 class DomStorageDispatcher; | 77 class DomStorageDispatcher; |
78 class GpuChannelHost; | 78 class GpuChannelHost; |
79 class IndexedDBDispatcher; | 79 class IndexedDBDispatcher; |
80 class InputHandlerManager; | 80 class InputHandlerManager; |
81 class MediaStreamCenter; | 81 class MediaStreamCenter; |
82 class MediaStreamDependencyFactory; | 82 class MediaStreamDependencyFactory; |
| 83 class MIDIMessageFilter; |
83 class P2PSocketDispatcher; | 84 class P2PSocketDispatcher; |
84 class PeerConnectionTracker; | 85 class PeerConnectionTracker; |
85 class RendererWebKitPlatformSupportImpl; | 86 class RendererWebKitPlatformSupportImpl; |
86 class RenderProcessObserver; | 87 class RenderProcessObserver; |
87 class VideoCaptureImplManager; | 88 class VideoCaptureImplManager; |
88 class WebDatabaseObserverImpl; | 89 class WebDatabaseObserverImpl; |
89 class WebGraphicsContext3DCommandBufferImpl; | 90 class WebGraphicsContext3DCommandBufferImpl; |
90 | 91 |
91 // The RenderThreadImpl class represents a background thread where RenderView | 92 // The RenderThreadImpl class represents a background thread where RenderView |
92 // instances live. The RenderThread supports an API that is used by its | 93 // instances live. The RenderThread supports an API that is used by its |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
219 } | 220 } |
220 | 221 |
221 AudioInputMessageFilter* audio_input_message_filter() { | 222 AudioInputMessageFilter* audio_input_message_filter() { |
222 return audio_input_message_filter_.get(); | 223 return audio_input_message_filter_.get(); |
223 } | 224 } |
224 | 225 |
225 AudioMessageFilter* audio_message_filter() { | 226 AudioMessageFilter* audio_message_filter() { |
226 return audio_message_filter_.get(); | 227 return audio_message_filter_.get(); |
227 } | 228 } |
228 | 229 |
| 230 MIDIMessageFilter* midi_message_filter() { |
| 231 return midi_message_filter_.get(); |
| 232 } |
229 | 233 |
230 // Creates the embedder implementation of WebMediaStreamCenter. | 234 // Creates the embedder implementation of WebMediaStreamCenter. |
231 // The resulting object is owned by WebKit and deleted by WebKit at tear-down. | 235 // The resulting object is owned by WebKit and deleted by WebKit at tear-down. |
232 WebKit::WebMediaStreamCenter* CreateMediaStreamCenter( | 236 WebKit::WebMediaStreamCenter* CreateMediaStreamCenter( |
233 WebKit::WebMediaStreamCenterClient* client); | 237 WebKit::WebMediaStreamCenterClient* client); |
234 | 238 |
235 // Returns a factory used for creating RTC PeerConnection objects. | 239 // Returns a factory used for creating RTC PeerConnection objects. |
236 MediaStreamDependencyFactory* GetMediaStreamDependencyFactory(); | 240 MediaStreamDependencyFactory* GetMediaStreamDependencyFactory(); |
237 | 241 |
238 PeerConnectionTracker* peer_connection_tracker() { | 242 PeerConnectionTracker* peer_connection_tracker() { |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
366 scoped_ptr<IndexedDBDispatcher> main_thread_indexed_db_dispatcher_; | 370 scoped_ptr<IndexedDBDispatcher> main_thread_indexed_db_dispatcher_; |
367 scoped_ptr<RendererWebKitPlatformSupportImpl> webkit_platform_support_; | 371 scoped_ptr<RendererWebKitPlatformSupportImpl> webkit_platform_support_; |
368 | 372 |
369 // Used on the render thread and deleted by WebKit at shutdown. | 373 // Used on the render thread and deleted by WebKit at shutdown. |
370 WebKit::WebMediaStreamCenter* media_stream_center_; | 374 WebKit::WebMediaStreamCenter* media_stream_center_; |
371 | 375 |
372 // Used on the renderer and IPC threads. | 376 // Used on the renderer and IPC threads. |
373 scoped_refptr<DBMessageFilter> db_message_filter_; | 377 scoped_refptr<DBMessageFilter> db_message_filter_; |
374 scoped_refptr<AudioInputMessageFilter> audio_input_message_filter_; | 378 scoped_refptr<AudioInputMessageFilter> audio_input_message_filter_; |
375 scoped_refptr<AudioMessageFilter> audio_message_filter_; | 379 scoped_refptr<AudioMessageFilter> audio_message_filter_; |
| 380 scoped_refptr<MIDIMessageFilter> midi_message_filter_; |
376 scoped_refptr<DevToolsAgentFilter> devtools_agent_message_filter_; | 381 scoped_refptr<DevToolsAgentFilter> devtools_agent_message_filter_; |
377 | 382 |
378 scoped_ptr<MediaStreamDependencyFactory> media_stream_factory_; | 383 scoped_ptr<MediaStreamDependencyFactory> media_stream_factory_; |
379 | 384 |
380 // This is used to communicate to the browser process the status | 385 // This is used to communicate to the browser process the status |
381 // of all the peer connections created in the renderer. | 386 // of all the peer connections created in the renderer. |
382 scoped_ptr<PeerConnectionTracker> peer_connection_tracker_; | 387 scoped_ptr<PeerConnectionTracker> peer_connection_tracker_; |
383 | 388 |
384 // Dispatches all P2P sockets. | 389 // Dispatches all P2P sockets. |
385 scoped_refptr<P2PSocketDispatcher> p2p_socket_dispatcher_; | 390 scoped_refptr<P2PSocketDispatcher> p2p_socket_dispatcher_; |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
448 scoped_ptr<media::AudioHardwareConfig> audio_hardware_config_; | 453 scoped_ptr<media::AudioHardwareConfig> audio_hardware_config_; |
449 | 454 |
450 HistogramCustomizer histogram_customizer_; | 455 HistogramCustomizer histogram_customizer_; |
451 | 456 |
452 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 457 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
453 }; | 458 }; |
454 | 459 |
455 } // namespace content | 460 } // namespace content |
456 | 461 |
457 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 462 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
OLD | NEW |