Chromium Code Reviews| 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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 52 } | 52 } |
| 53 } | 53 } |
| 54 | 54 |
| 55 namespace IPC { | 55 namespace IPC { |
| 56 class ForwardingMessageFilter; | 56 class ForwardingMessageFilter; |
| 57 } | 57 } |
| 58 | 58 |
| 59 namespace content { | 59 namespace content { |
| 60 class AudioRendererMixerManager; | 60 class AudioRendererMixerManager; |
| 61 class MediaStreamCenter; | 61 class MediaStreamCenter; |
| 62 class P2PSocketDispatcher; | |
| 62 class RenderProcessObserver; | 63 class RenderProcessObserver; |
| 63 | 64 |
| 64 namespace old { | 65 namespace old { |
| 65 class BrowserPluginChannelManager; | 66 class BrowserPluginChannelManager; |
| 66 class BrowserPluginRegistry; | 67 class BrowserPluginRegistry; |
| 67 } | 68 } |
| 68 | 69 |
| 69 } | 70 } |
| 70 | 71 |
| 71 namespace v8 { | 72 namespace v8 { |
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 192 return dom_storage_dispatcher_.get(); | 193 return dom_storage_dispatcher_.get(); |
| 193 } | 194 } |
| 194 | 195 |
| 195 AudioInputMessageFilter* audio_input_message_filter() { | 196 AudioInputMessageFilter* audio_input_message_filter() { |
| 196 return audio_input_message_filter_.get(); | 197 return audio_input_message_filter_.get(); |
| 197 } | 198 } |
| 198 | 199 |
| 199 AudioMessageFilter* audio_message_filter() { | 200 AudioMessageFilter* audio_message_filter() { |
| 200 return audio_message_filter_.get(); | 201 return audio_message_filter_.get(); |
| 201 } | 202 } |
| 202 | 203 |
|
tommi (sloooow) - chröme
2012/09/11 12:09:09
revert
perkj_chrome
2012/09/11 14:27:30
Done.
| |
| 204 | |
| 205 | |
| 203 // Creates the embedder implementation of WebMediaStreamCenter. | 206 // Creates the embedder implementation of WebMediaStreamCenter. |
| 204 // The resulting object is owned by WebKit and deleted by WebKit at tear-down. | 207 // The resulting object is owned by WebKit and deleted by WebKit at tear-down. |
| 205 WebKit::WebMediaStreamCenter* CreateMediaStreamCenter( | 208 WebKit::WebMediaStreamCenter* CreateMediaStreamCenter( |
| 206 WebKit::WebMediaStreamCenterClient* client); | 209 WebKit::WebMediaStreamCenterClient* client); |
| 207 | 210 |
| 211 // Current P2PSocketDispatcher. Set to NULL if P2P API is disabled. | |
| 212 content::P2PSocketDispatcher* p2p_socket_dispatcher() { | |
| 213 return p2p_socket_dispatcher_.get(); | |
| 214 } | |
| 215 | |
| 208 VideoCaptureImplManager* video_capture_impl_manager() const { | 216 VideoCaptureImplManager* video_capture_impl_manager() const { |
| 209 return vc_manager_.get(); | 217 return vc_manager_.get(); |
| 210 } | 218 } |
| 211 | 219 |
| 212 // Get the GPU channel. Returns NULL if the channel is not established or | 220 // Get the GPU channel. Returns NULL if the channel is not established or |
| 213 // has been lost. | 221 // has been lost. |
| 214 GpuChannelHost* GetGpuChannel(); | 222 GpuChannelHost* GetGpuChannel(); |
| 215 | 223 |
| 216 // Returns a MessageLoopProxy instance corresponding to the message loop | 224 // Returns a MessageLoopProxy instance corresponding to the message loop |
| 217 // of the thread on which file operations should be run. Must be called | 225 // of the thread on which file operations should be run. Must be called |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 310 | 318 |
| 311 // Used on the render thread and deleted by WebKit at shutdown. | 319 // Used on the render thread and deleted by WebKit at shutdown. |
| 312 content::MediaStreamCenter* media_stream_center_; | 320 content::MediaStreamCenter* media_stream_center_; |
| 313 | 321 |
| 314 // Used on the renderer and IPC threads. | 322 // Used on the renderer and IPC threads. |
| 315 scoped_refptr<DBMessageFilter> db_message_filter_; | 323 scoped_refptr<DBMessageFilter> db_message_filter_; |
| 316 scoped_refptr<AudioInputMessageFilter> audio_input_message_filter_; | 324 scoped_refptr<AudioInputMessageFilter> audio_input_message_filter_; |
| 317 scoped_refptr<AudioMessageFilter> audio_message_filter_; | 325 scoped_refptr<AudioMessageFilter> audio_message_filter_; |
| 318 scoped_refptr<DevToolsAgentFilter> devtools_agent_message_filter_; | 326 scoped_refptr<DevToolsAgentFilter> devtools_agent_message_filter_; |
| 319 | 327 |
| 328 // Dispatches all P2P sockets. | |
| 329 scoped_refptr<content::P2PSocketDispatcher> p2p_socket_dispatcher_; | |
| 330 | |
| 320 // Used on multiple threads. | 331 // Used on multiple threads. |
| 321 scoped_refptr<VideoCaptureImplManager> vc_manager_; | 332 scoped_refptr<VideoCaptureImplManager> vc_manager_; |
| 322 | 333 |
| 323 // Used on multiple script execution context threads. | 334 // Used on multiple script execution context threads. |
| 324 scoped_ptr<WebDatabaseObserverImpl> web_database_observer_impl_; | 335 scoped_ptr<WebDatabaseObserverImpl> web_database_observer_impl_; |
| 325 | 336 |
| 326 // Initialize COM when using plugins outside the sandbox (Windows only). | 337 // Initialize COM when using plugins outside the sandbox (Windows only). |
| 327 scoped_ptr<base::win::ScopedCOMInitializer> initialize_com_; | 338 scoped_ptr<base::win::ScopedCOMInitializer> initialize_com_; |
| 328 | 339 |
| 329 // The count of RenderWidgets running through this thread. | 340 // The count of RenderWidgets running through this thread. |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 363 scoped_ptr<WebGraphicsContext3DCommandBufferImpl> gpu_vda_context3d_; | 374 scoped_ptr<WebGraphicsContext3DCommandBufferImpl> gpu_vda_context3d_; |
| 364 | 375 |
| 365 scoped_ptr<content::AudioRendererMixerManager> audio_renderer_mixer_manager_; | 376 scoped_ptr<content::AudioRendererMixerManager> audio_renderer_mixer_manager_; |
| 366 | 377 |
| 367 HistogramCustomizer histogram_customizer_; | 378 HistogramCustomizer histogram_customizer_; |
| 368 | 379 |
| 369 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 380 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
| 370 }; | 381 }; |
| 371 | 382 |
| 372 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 383 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
| OLD | NEW |