| 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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 197 } | 198 } |
| 198 | 199 |
| 199 AppCacheDispatcher* appcache_dispatcher() const { | 200 AppCacheDispatcher* appcache_dispatcher() const { |
| 200 return appcache_dispatcher_.get(); | 201 return appcache_dispatcher_.get(); |
| 201 } | 202 } |
| 202 | 203 |
| 203 DomStorageDispatcher* dom_storage_dispatcher() const { | 204 DomStorageDispatcher* dom_storage_dispatcher() const { |
| 204 return dom_storage_dispatcher_.get(); | 205 return dom_storage_dispatcher_.get(); |
| 205 } | 206 } |
| 206 | 207 |
| 208 EmbeddedWorkerDispatcher* embedded_worker_dispatcher() const { |
| 209 return embedded_worker_dispatcher_.get(); |
| 210 } |
| 211 |
| 207 AudioInputMessageFilter* audio_input_message_filter() { | 212 AudioInputMessageFilter* audio_input_message_filter() { |
| 208 return audio_input_message_filter_.get(); | 213 return audio_input_message_filter_.get(); |
| 209 } | 214 } |
| 210 | 215 |
| 211 AudioMessageFilter* audio_message_filter() { | 216 AudioMessageFilter* audio_message_filter() { |
| 212 return audio_message_filter_.get(); | 217 return audio_message_filter_.get(); |
| 213 } | 218 } |
| 214 | 219 |
| 215 MIDIMessageFilter* midi_message_filter() { | 220 MIDIMessageFilter* midi_message_filter() { |
| 216 return midi_message_filter_.get(); | 221 return midi_message_filter_.get(); |
| (...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 386 | 391 |
| 387 void IdleHandlerInForegroundTab(); | 392 void IdleHandlerInForegroundTab(); |
| 388 | 393 |
| 389 scoped_ptr<WebGraphicsContext3DCommandBufferImpl> CreateOffscreenContext3d(); | 394 scoped_ptr<WebGraphicsContext3DCommandBufferImpl> CreateOffscreenContext3d(); |
| 390 | 395 |
| 391 // These objects live solely on the render thread. | 396 // These objects live solely on the render thread. |
| 392 scoped_ptr<AppCacheDispatcher> appcache_dispatcher_; | 397 scoped_ptr<AppCacheDispatcher> appcache_dispatcher_; |
| 393 scoped_ptr<DomStorageDispatcher> dom_storage_dispatcher_; | 398 scoped_ptr<DomStorageDispatcher> dom_storage_dispatcher_; |
| 394 scoped_ptr<IndexedDBDispatcher> main_thread_indexed_db_dispatcher_; | 399 scoped_ptr<IndexedDBDispatcher> main_thread_indexed_db_dispatcher_; |
| 395 scoped_ptr<RendererWebKitPlatformSupportImpl> webkit_platform_support_; | 400 scoped_ptr<RendererWebKitPlatformSupportImpl> webkit_platform_support_; |
| 401 scoped_ptr<EmbeddedWorkerDispatcher> embedded_worker_dispatcher_; |
| 396 | 402 |
| 397 // Used on the render thread and deleted by WebKit at shutdown. | 403 // Used on the render thread and deleted by WebKit at shutdown. |
| 398 blink::WebMediaStreamCenter* media_stream_center_; | 404 blink::WebMediaStreamCenter* media_stream_center_; |
| 399 | 405 |
| 400 // Used on the renderer and IPC threads. | 406 // Used on the renderer and IPC threads. |
| 401 scoped_refptr<DBMessageFilter> db_message_filter_; | 407 scoped_refptr<DBMessageFilter> db_message_filter_; |
| 402 scoped_refptr<AudioInputMessageFilter> audio_input_message_filter_; | 408 scoped_refptr<AudioInputMessageFilter> audio_input_message_filter_; |
| 403 scoped_refptr<AudioMessageFilter> audio_message_filter_; | 409 scoped_refptr<AudioMessageFilter> audio_message_filter_; |
| 404 scoped_refptr<MIDIMessageFilter> midi_message_filter_; | 410 scoped_refptr<MIDIMessageFilter> midi_message_filter_; |
| 405 #if defined(OS_ANDROID) | 411 #if defined(OS_ANDROID) |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 493 scoped_ptr<GamepadSharedMemoryReader> gamepad_shared_memory_reader_; | 499 scoped_ptr<GamepadSharedMemoryReader> gamepad_shared_memory_reader_; |
| 494 | 500 |
| 495 base::ProcessId renderer_process_id_; | 501 base::ProcessId renderer_process_id_; |
| 496 | 502 |
| 497 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 503 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
| 498 }; | 504 }; |
| 499 | 505 |
| 500 } // namespace content | 506 } // namespace content |
| 501 | 507 |
| 502 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 508 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
| OLD | NEW |