| 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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 } | 74 } |
| 75 } | 75 } |
| 76 | 76 |
| 77 namespace content { | 77 namespace content { |
| 78 | 78 |
| 79 class AppCacheDispatcher; | 79 class AppCacheDispatcher; |
| 80 class AecDumpMessageFilter; | 80 class AecDumpMessageFilter; |
| 81 class AudioInputMessageFilter; | 81 class AudioInputMessageFilter; |
| 82 class AudioMessageFilter; | 82 class AudioMessageFilter; |
| 83 class AudioRendererMixerManager; | 83 class AudioRendererMixerManager; |
| 84 class BrowserPluginManager; |
| 84 class CompositorForwardingMessageFilter; | 85 class CompositorForwardingMessageFilter; |
| 85 class ContextProviderCommandBuffer; | 86 class ContextProviderCommandBuffer; |
| 86 class DBMessageFilter; | 87 class DBMessageFilter; |
| 87 class DevToolsAgentFilter; | 88 class DevToolsAgentFilter; |
| 88 class DomStorageDispatcher; | 89 class DomStorageDispatcher; |
| 89 class EmbeddedWorkerDispatcher; | 90 class EmbeddedWorkerDispatcher; |
| 90 class GpuChannelHost; | 91 class GpuChannelHost; |
| 91 class IndexedDBDispatcher; | 92 class IndexedDBDispatcher; |
| 92 class InputHandlerManager; | 93 class InputHandlerManager; |
| 93 class MediaStreamCenter; | 94 class MediaStreamCenter; |
| (...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 268 RendererDemuxerAndroid* renderer_demuxer() { | 269 RendererDemuxerAndroid* renderer_demuxer() { |
| 269 return renderer_demuxer_.get(); | 270 return renderer_demuxer_.get(); |
| 270 } | 271 } |
| 271 #endif | 272 #endif |
| 272 | 273 |
| 273 // Creates the embedder implementation of WebMediaStreamCenter. | 274 // Creates the embedder implementation of WebMediaStreamCenter. |
| 274 // The resulting object is owned by WebKit and deleted by WebKit at tear-down. | 275 // The resulting object is owned by WebKit and deleted by WebKit at tear-down. |
| 275 blink::WebMediaStreamCenter* CreateMediaStreamCenter( | 276 blink::WebMediaStreamCenter* CreateMediaStreamCenter( |
| 276 blink::WebMediaStreamCenterClient* client); | 277 blink::WebMediaStreamCenterClient* client); |
| 277 | 278 |
| 279 BrowserPluginManager* browser_plugin_manager() const { |
| 280 return browser_plugin_manager_.get(); |
| 281 } |
| 282 |
| 278 #if defined(ENABLE_WEBRTC) | 283 #if defined(ENABLE_WEBRTC) |
| 279 // Returns a factory used for creating RTC PeerConnection objects. | 284 // Returns a factory used for creating RTC PeerConnection objects. |
| 280 PeerConnectionDependencyFactory* GetPeerConnectionDependencyFactory(); | 285 PeerConnectionDependencyFactory* GetPeerConnectionDependencyFactory(); |
| 281 | 286 |
| 282 PeerConnectionTracker* peer_connection_tracker() { | 287 PeerConnectionTracker* peer_connection_tracker() { |
| 283 return peer_connection_tracker_.get(); | 288 return peer_connection_tracker_.get(); |
| 284 } | 289 } |
| 285 | 290 |
| 286 // Current P2PSocketDispatcher. Set to NULL if P2P API is disabled. | 291 // Current P2PSocketDispatcher. Set to NULL if P2P API is disabled. |
| 287 P2PSocketDispatcher* p2p_socket_dispatcher() { | 292 P2PSocketDispatcher* p2p_socket_dispatcher() { |
| (...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 471 scoped_refptr<DBMessageFilter> db_message_filter_; | 476 scoped_refptr<DBMessageFilter> db_message_filter_; |
| 472 scoped_refptr<AudioInputMessageFilter> audio_input_message_filter_; | 477 scoped_refptr<AudioInputMessageFilter> audio_input_message_filter_; |
| 473 scoped_refptr<AudioMessageFilter> audio_message_filter_; | 478 scoped_refptr<AudioMessageFilter> audio_message_filter_; |
| 474 scoped_refptr<MidiMessageFilter> midi_message_filter_; | 479 scoped_refptr<MidiMessageFilter> midi_message_filter_; |
| 475 #if defined(OS_ANDROID) | 480 #if defined(OS_ANDROID) |
| 476 scoped_refptr<RendererDemuxerAndroid> renderer_demuxer_; | 481 scoped_refptr<RendererDemuxerAndroid> renderer_demuxer_; |
| 477 #endif | 482 #endif |
| 478 scoped_refptr<DevToolsAgentFilter> devtools_agent_message_filter_; | 483 scoped_refptr<DevToolsAgentFilter> devtools_agent_message_filter_; |
| 479 scoped_ptr<V8SamplingProfiler> v8_sampling_profiler_; | 484 scoped_ptr<V8SamplingProfiler> v8_sampling_profiler_; |
| 480 | 485 |
| 486 scoped_ptr<BrowserPluginManager> browser_plugin_manager_; |
| 487 |
| 481 #if defined(ENABLE_WEBRTC) | 488 #if defined(ENABLE_WEBRTC) |
| 482 scoped_ptr<PeerConnectionDependencyFactory> peer_connection_factory_; | 489 scoped_ptr<PeerConnectionDependencyFactory> peer_connection_factory_; |
| 483 | 490 |
| 484 // This is used to communicate to the browser process the status | 491 // This is used to communicate to the browser process the status |
| 485 // of all the peer connections created in the renderer. | 492 // of all the peer connections created in the renderer. |
| 486 scoped_ptr<PeerConnectionTracker> peer_connection_tracker_; | 493 scoped_ptr<PeerConnectionTracker> peer_connection_tracker_; |
| 487 | 494 |
| 488 // Dispatches all P2P sockets. | 495 // Dispatches all P2P sockets. |
| 489 scoped_refptr<P2PSocketDispatcher> p2p_socket_dispatcher_; | 496 scoped_refptr<P2PSocketDispatcher> p2p_socket_dispatcher_; |
| 490 #endif | 497 #endif |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 586 unsigned use_image_texture_target_; | 593 unsigned use_image_texture_target_; |
| 587 | 594 |
| 588 std::map<int, mojo::MessagePipeHandle> pending_render_frame_connects_; | 595 std::map<int, mojo::MessagePipeHandle> pending_render_frame_connects_; |
| 589 | 596 |
| 590 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 597 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
| 591 }; | 598 }; |
| 592 | 599 |
| 593 } // namespace content | 600 } // namespace content |
| 594 | 601 |
| 595 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 602 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
| OLD | NEW |