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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 class DBMessageFilter; | 79 class DBMessageFilter; |
80 class DevToolsAgentFilter; | 80 class DevToolsAgentFilter; |
81 class DomStorageDispatcher; | 81 class DomStorageDispatcher; |
82 class EmbeddedWorkerDispatcher; | 82 class EmbeddedWorkerDispatcher; |
83 class GamepadSharedMemoryReader; | 83 class GamepadSharedMemoryReader; |
84 class GpuChannelHost; | 84 class GpuChannelHost; |
85 class IndexedDBDispatcher; | 85 class IndexedDBDispatcher; |
86 class InputEventFilter; | 86 class InputEventFilter; |
87 class InputHandlerManager; | 87 class InputHandlerManager; |
88 class MediaStreamCenter; | 88 class MediaStreamCenter; |
89 class MediaStreamDependencyFactory; | 89 class PeerConnectionDependencyFactory; |
90 class MidiMessageFilter; | 90 class MidiMessageFilter; |
91 class P2PSocketDispatcher; | 91 class P2PSocketDispatcher; |
92 class PeerConnectionTracker; | 92 class PeerConnectionTracker; |
93 class RendererDemuxerAndroid; | 93 class RendererDemuxerAndroid; |
94 class RendererWebKitPlatformSupportImpl; | 94 class RendererWebKitPlatformSupportImpl; |
95 class RenderProcessObserver; | 95 class RenderProcessObserver; |
96 class VideoCaptureImplManager; | 96 class VideoCaptureImplManager; |
97 class WebGraphicsContext3DCommandBufferImpl; | 97 class WebGraphicsContext3DCommandBufferImpl; |
98 class WebRTCIdentityService; | 98 class WebRTCIdentityService; |
99 | 99 |
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
254 return renderer_demuxer_.get(); | 254 return renderer_demuxer_.get(); |
255 } | 255 } |
256 #endif | 256 #endif |
257 | 257 |
258 // Creates the embedder implementation of WebMediaStreamCenter. | 258 // Creates the embedder implementation of WebMediaStreamCenter. |
259 // The resulting object is owned by WebKit and deleted by WebKit at tear-down. | 259 // The resulting object is owned by WebKit and deleted by WebKit at tear-down. |
260 blink::WebMediaStreamCenter* CreateMediaStreamCenter( | 260 blink::WebMediaStreamCenter* CreateMediaStreamCenter( |
261 blink::WebMediaStreamCenterClient* client); | 261 blink::WebMediaStreamCenterClient* client); |
262 | 262 |
263 // Returns a factory used for creating RTC PeerConnection objects. | 263 // Returns a factory used for creating RTC PeerConnection objects. |
264 MediaStreamDependencyFactory* GetMediaStreamDependencyFactory(); | 264 PeerConnectionDependencyFactory* GetPeerConnectionDependencyFactory(); |
265 | 265 |
266 PeerConnectionTracker* peer_connection_tracker() { | 266 PeerConnectionTracker* peer_connection_tracker() { |
267 return peer_connection_tracker_.get(); | 267 return peer_connection_tracker_.get(); |
268 } | 268 } |
269 | 269 |
270 // Current P2PSocketDispatcher. Set to NULL if P2P API is disabled. | 270 // Current P2PSocketDispatcher. Set to NULL if P2P API is disabled. |
271 P2PSocketDispatcher* p2p_socket_dispatcher() { | 271 P2PSocketDispatcher* p2p_socket_dispatcher() { |
272 return p2p_socket_dispatcher_.get(); | 272 return p2p_socket_dispatcher_.get(); |
273 } | 273 } |
274 | 274 |
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
465 // Used on the renderer and IPC threads. | 465 // Used on the renderer and IPC threads. |
466 scoped_refptr<DBMessageFilter> db_message_filter_; | 466 scoped_refptr<DBMessageFilter> db_message_filter_; |
467 scoped_refptr<AudioInputMessageFilter> audio_input_message_filter_; | 467 scoped_refptr<AudioInputMessageFilter> audio_input_message_filter_; |
468 scoped_refptr<AudioMessageFilter> audio_message_filter_; | 468 scoped_refptr<AudioMessageFilter> audio_message_filter_; |
469 scoped_refptr<MidiMessageFilter> midi_message_filter_; | 469 scoped_refptr<MidiMessageFilter> midi_message_filter_; |
470 #if defined(OS_ANDROID) | 470 #if defined(OS_ANDROID) |
471 scoped_refptr<RendererDemuxerAndroid> renderer_demuxer_; | 471 scoped_refptr<RendererDemuxerAndroid> renderer_demuxer_; |
472 #endif | 472 #endif |
473 scoped_refptr<DevToolsAgentFilter> devtools_agent_message_filter_; | 473 scoped_refptr<DevToolsAgentFilter> devtools_agent_message_filter_; |
474 | 474 |
475 scoped_ptr<MediaStreamDependencyFactory> media_stream_factory_; | 475 scoped_ptr<PeerConnectionDependencyFactory> media_stream_factory_; |
476 | 476 |
477 // This is used to communicate to the browser process the status | 477 // This is used to communicate to the browser process the status |
478 // of all the peer connections created in the renderer. | 478 // of all the peer connections created in the renderer. |
479 scoped_ptr<PeerConnectionTracker> peer_connection_tracker_; | 479 scoped_ptr<PeerConnectionTracker> peer_connection_tracker_; |
480 | 480 |
481 // Dispatches all P2P sockets. | 481 // Dispatches all P2P sockets. |
482 scoped_refptr<P2PSocketDispatcher> p2p_socket_dispatcher_; | 482 scoped_refptr<P2PSocketDispatcher> p2p_socket_dispatcher_; |
483 | 483 |
484 // Used on the render thread. | 484 // Used on the render thread. |
485 scoped_ptr<VideoCaptureImplManager> vc_manager_; | 485 scoped_ptr<VideoCaptureImplManager> vc_manager_; |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
562 bool is_distance_field_text_enabled_; | 562 bool is_distance_field_text_enabled_; |
563 bool is_zero_copy_enabled_; | 563 bool is_zero_copy_enabled_; |
564 bool is_one_copy_enabled_; | 564 bool is_one_copy_enabled_; |
565 | 565 |
566 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 566 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
567 }; | 567 }; |
568 | 568 |
569 } // namespace content | 569 } // namespace content |
570 | 570 |
571 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 571 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
OLD | NEW |