| 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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 namespace content { | 70 namespace content { |
| 71 | 71 |
| 72 class AppCacheDispatcher; | 72 class AppCacheDispatcher; |
| 73 class AudioInputMessageFilter; | 73 class AudioInputMessageFilter; |
| 74 class AudioMessageFilter; | 74 class AudioMessageFilter; |
| 75 class AudioRendererMixerManager; | 75 class AudioRendererMixerManager; |
| 76 class ContextProviderCommandBuffer; | 76 class ContextProviderCommandBuffer; |
| 77 class DBMessageFilter; | 77 class DBMessageFilter; |
| 78 class DevToolsAgentFilter; | 78 class DevToolsAgentFilter; |
| 79 class DomStorageDispatcher; | 79 class DomStorageDispatcher; |
| 80 class EmbeddedWorkerDispatcher; |
| 80 class GamepadSharedMemoryReader; | 81 class GamepadSharedMemoryReader; |
| 81 class GpuChannelHost; | 82 class GpuChannelHost; |
| 82 class IndexedDBDispatcher; | 83 class IndexedDBDispatcher; |
| 83 class InputEventFilter; | 84 class InputEventFilter; |
| 84 class InputHandlerManager; | 85 class InputHandlerManager; |
| 85 class MediaStreamCenter; | 86 class MediaStreamCenter; |
| 86 class MediaStreamDependencyFactory; | 87 class MediaStreamDependencyFactory; |
| 87 class MIDIMessageFilter; | 88 class MIDIMessageFilter; |
| 88 class P2PSocketDispatcher; | 89 class P2PSocketDispatcher; |
| 89 class PeerConnectionTracker; | 90 class PeerConnectionTracker; |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 196 } | 197 } |
| 197 | 198 |
| 198 AppCacheDispatcher* appcache_dispatcher() const { | 199 AppCacheDispatcher* appcache_dispatcher() const { |
| 199 return appcache_dispatcher_.get(); | 200 return appcache_dispatcher_.get(); |
| 200 } | 201 } |
| 201 | 202 |
| 202 DomStorageDispatcher* dom_storage_dispatcher() const { | 203 DomStorageDispatcher* dom_storage_dispatcher() const { |
| 203 return dom_storage_dispatcher_.get(); | 204 return dom_storage_dispatcher_.get(); |
| 204 } | 205 } |
| 205 | 206 |
| 207 EmbeddedWorkerDispatcher* embedded_worker_dispatcher() const { |
| 208 return embedded_worker_dispatcher_.get(); |
| 209 } |
| 210 |
| 206 AudioInputMessageFilter* audio_input_message_filter() { | 211 AudioInputMessageFilter* audio_input_message_filter() { |
| 207 return audio_input_message_filter_.get(); | 212 return audio_input_message_filter_.get(); |
| 208 } | 213 } |
| 209 | 214 |
| 210 AudioMessageFilter* audio_message_filter() { | 215 AudioMessageFilter* audio_message_filter() { |
| 211 return audio_message_filter_.get(); | 216 return audio_message_filter_.get(); |
| 212 } | 217 } |
| 213 | 218 |
| 214 MIDIMessageFilter* midi_message_filter() { | 219 MIDIMessageFilter* midi_message_filter() { |
| 215 return midi_message_filter_.get(); | 220 return midi_message_filter_.get(); |
| (...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 393 | 398 |
| 394 void IdleHandlerInForegroundTab(); | 399 void IdleHandlerInForegroundTab(); |
| 395 | 400 |
| 396 scoped_ptr<WebGraphicsContext3DCommandBufferImpl> CreateOffscreenContext3d(); | 401 scoped_ptr<WebGraphicsContext3DCommandBufferImpl> CreateOffscreenContext3d(); |
| 397 | 402 |
| 398 // These objects live solely on the render thread. | 403 // These objects live solely on the render thread. |
| 399 scoped_ptr<AppCacheDispatcher> appcache_dispatcher_; | 404 scoped_ptr<AppCacheDispatcher> appcache_dispatcher_; |
| 400 scoped_ptr<DomStorageDispatcher> dom_storage_dispatcher_; | 405 scoped_ptr<DomStorageDispatcher> dom_storage_dispatcher_; |
| 401 scoped_ptr<IndexedDBDispatcher> main_thread_indexed_db_dispatcher_; | 406 scoped_ptr<IndexedDBDispatcher> main_thread_indexed_db_dispatcher_; |
| 402 scoped_ptr<RendererWebKitPlatformSupportImpl> webkit_platform_support_; | 407 scoped_ptr<RendererWebKitPlatformSupportImpl> webkit_platform_support_; |
| 408 scoped_ptr<EmbeddedWorkerDispatcher> embedded_worker_dispatcher_; |
| 403 | 409 |
| 404 // Used on the render thread and deleted by WebKit at shutdown. | 410 // Used on the render thread and deleted by WebKit at shutdown. |
| 405 blink::WebMediaStreamCenter* media_stream_center_; | 411 blink::WebMediaStreamCenter* media_stream_center_; |
| 406 | 412 |
| 407 // Used on the renderer and IPC threads. | 413 // Used on the renderer and IPC threads. |
| 408 scoped_refptr<DBMessageFilter> db_message_filter_; | 414 scoped_refptr<DBMessageFilter> db_message_filter_; |
| 409 scoped_refptr<AudioInputMessageFilter> audio_input_message_filter_; | 415 scoped_refptr<AudioInputMessageFilter> audio_input_message_filter_; |
| 410 scoped_refptr<AudioMessageFilter> audio_message_filter_; | 416 scoped_refptr<AudioMessageFilter> audio_message_filter_; |
| 411 scoped_refptr<MIDIMessageFilter> midi_message_filter_; | 417 scoped_refptr<MIDIMessageFilter> midi_message_filter_; |
| 412 #if defined(OS_ANDROID) | 418 #if defined(OS_ANDROID) |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 497 scoped_ptr<GamepadSharedMemoryReader> gamepad_shared_memory_reader_; | 503 scoped_ptr<GamepadSharedMemoryReader> gamepad_shared_memory_reader_; |
| 498 | 504 |
| 499 base::ProcessId renderer_process_id_; | 505 base::ProcessId renderer_process_id_; |
| 500 | 506 |
| 501 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 507 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
| 502 }; | 508 }; |
| 503 | 509 |
| 504 } // namespace content | 510 } // namespace content |
| 505 | 511 |
| 506 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 512 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
| OLD | NEW |