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 } | 73 } |
74 } | 74 } |
75 | 75 |
76 namespace content { | 76 namespace content { |
77 | 77 |
78 class AppCacheDispatcher; | 78 class AppCacheDispatcher; |
79 class AecDumpMessageFilter; | 79 class AecDumpMessageFilter; |
80 class AudioInputMessageFilter; | 80 class AudioInputMessageFilter; |
81 class AudioMessageFilter; | 81 class AudioMessageFilter; |
82 class AudioRendererMixerManager; | 82 class AudioRendererMixerManager; |
| 83 class BrowserPluginManager; |
83 class CompositorForwardingMessageFilter; | 84 class CompositorForwardingMessageFilter; |
84 class ContextProviderCommandBuffer; | 85 class ContextProviderCommandBuffer; |
85 class DBMessageFilter; | 86 class DBMessageFilter; |
86 class DevToolsAgentFilter; | 87 class DevToolsAgentFilter; |
87 class DomStorageDispatcher; | 88 class DomStorageDispatcher; |
88 class EmbeddedWorkerDispatcher; | 89 class EmbeddedWorkerDispatcher; |
89 class GpuChannelHost; | 90 class GpuChannelHost; |
90 class IndexedDBDispatcher; | 91 class IndexedDBDispatcher; |
91 class InputHandlerManager; | 92 class InputHandlerManager; |
92 class MediaStreamCenter; | 93 class MediaStreamCenter; |
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
281 RendererDemuxerAndroid* renderer_demuxer() { | 282 RendererDemuxerAndroid* renderer_demuxer() { |
282 return renderer_demuxer_.get(); | 283 return renderer_demuxer_.get(); |
283 } | 284 } |
284 #endif | 285 #endif |
285 | 286 |
286 // Creates the embedder implementation of WebMediaStreamCenter. | 287 // Creates the embedder implementation of WebMediaStreamCenter. |
287 // The resulting object is owned by WebKit and deleted by WebKit at tear-down. | 288 // The resulting object is owned by WebKit and deleted by WebKit at tear-down. |
288 blink::WebMediaStreamCenter* CreateMediaStreamCenter( | 289 blink::WebMediaStreamCenter* CreateMediaStreamCenter( |
289 blink::WebMediaStreamCenterClient* client); | 290 blink::WebMediaStreamCenterClient* client); |
290 | 291 |
| 292 #if defined(ENABLE_EXTENSIONS) |
| 293 BrowserPluginManager* browser_plugin_manager() const { |
| 294 return browser_plugin_manager_.get(); |
| 295 } |
| 296 #endif |
| 297 |
291 #if defined(ENABLE_WEBRTC) | 298 #if defined(ENABLE_WEBRTC) |
292 // Returns a factory used for creating RTC PeerConnection objects. | 299 // Returns a factory used for creating RTC PeerConnection objects. |
293 PeerConnectionDependencyFactory* GetPeerConnectionDependencyFactory(); | 300 PeerConnectionDependencyFactory* GetPeerConnectionDependencyFactory(); |
294 | 301 |
295 PeerConnectionTracker* peer_connection_tracker() { | 302 PeerConnectionTracker* peer_connection_tracker() { |
296 return peer_connection_tracker_.get(); | 303 return peer_connection_tracker_.get(); |
297 } | 304 } |
298 | 305 |
299 // Current P2PSocketDispatcher. Set to NULL if P2P API is disabled. | 306 // Current P2PSocketDispatcher. Set to NULL if P2P API is disabled. |
300 P2PSocketDispatcher* p2p_socket_dispatcher() { | 307 P2PSocketDispatcher* p2p_socket_dispatcher() { |
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
480 scoped_refptr<DBMessageFilter> db_message_filter_; | 487 scoped_refptr<DBMessageFilter> db_message_filter_; |
481 scoped_refptr<AudioInputMessageFilter> audio_input_message_filter_; | 488 scoped_refptr<AudioInputMessageFilter> audio_input_message_filter_; |
482 scoped_refptr<AudioMessageFilter> audio_message_filter_; | 489 scoped_refptr<AudioMessageFilter> audio_message_filter_; |
483 scoped_refptr<MidiMessageFilter> midi_message_filter_; | 490 scoped_refptr<MidiMessageFilter> midi_message_filter_; |
484 #if defined(OS_ANDROID) | 491 #if defined(OS_ANDROID) |
485 scoped_refptr<RendererDemuxerAndroid> renderer_demuxer_; | 492 scoped_refptr<RendererDemuxerAndroid> renderer_demuxer_; |
486 #endif | 493 #endif |
487 scoped_refptr<DevToolsAgentFilter> devtools_agent_message_filter_; | 494 scoped_refptr<DevToolsAgentFilter> devtools_agent_message_filter_; |
488 scoped_ptr<V8SamplingProfiler> v8_sampling_profiler_; | 495 scoped_ptr<V8SamplingProfiler> v8_sampling_profiler_; |
489 | 496 |
| 497 #if defined(ENABLE_EXTENSIONS) |
| 498 scoped_ptr<BrowserPluginManager> browser_plugin_manager_; |
| 499 #endif |
| 500 |
490 #if defined(ENABLE_WEBRTC) | 501 #if defined(ENABLE_WEBRTC) |
491 scoped_ptr<PeerConnectionDependencyFactory> peer_connection_factory_; | 502 scoped_ptr<PeerConnectionDependencyFactory> peer_connection_factory_; |
492 | 503 |
493 // This is used to communicate to the browser process the status | 504 // This is used to communicate to the browser process the status |
494 // of all the peer connections created in the renderer. | 505 // of all the peer connections created in the renderer. |
495 scoped_ptr<PeerConnectionTracker> peer_connection_tracker_; | 506 scoped_ptr<PeerConnectionTracker> peer_connection_tracker_; |
496 | 507 |
497 // Dispatches all P2P sockets. | 508 // Dispatches all P2P sockets. |
498 scoped_refptr<P2PSocketDispatcher> p2p_socket_dispatcher_; | 509 scoped_refptr<P2PSocketDispatcher> p2p_socket_dispatcher_; |
499 #endif | 510 #endif |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
593 unsigned use_image_texture_target_; | 604 unsigned use_image_texture_target_; |
594 | 605 |
595 std::map<int, mojo::MessagePipeHandle> pending_render_frame_connects_; | 606 std::map<int, mojo::MessagePipeHandle> pending_render_frame_connects_; |
596 | 607 |
597 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 608 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
598 }; | 609 }; |
599 | 610 |
600 } // namespace content | 611 } // namespace content |
601 | 612 |
602 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 613 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
OLD | NEW |