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 class AppCacheDispatcher; | 70 class AppCacheDispatcher; |
71 class AudioInputMessageFilter; | 71 class AudioInputMessageFilter; |
72 class AudioMessageFilter; | 72 class AudioMessageFilter; |
73 class AudioRendererMixerManager; | 73 class AudioRendererMixerManager; |
74 class ContextProviderCommandBuffer; | 74 class ContextProviderCommandBuffer; |
75 class DBMessageFilter; | 75 class DBMessageFilter; |
76 class DevToolsAgentFilter; | 76 class DevToolsAgentFilter; |
77 class DomStorageDispatcher; | 77 class DomStorageDispatcher; |
78 class GpuChannelHost; | 78 class GpuChannelHost; |
79 class IndexedDBDispatcher; | 79 class IndexedDBDispatcher; |
| 80 class InputEventFilter; |
80 class InputHandlerManager; | 81 class InputHandlerManager; |
81 class MediaStreamCenter; | 82 class MediaStreamCenter; |
82 class MediaStreamDependencyFactory; | 83 class MediaStreamDependencyFactory; |
83 class P2PSocketDispatcher; | 84 class P2PSocketDispatcher; |
84 class PeerConnectionTracker; | 85 class PeerConnectionTracker; |
85 class RendererWebKitPlatformSupportImpl; | 86 class RendererWebKitPlatformSupportImpl; |
86 class RenderProcessObserver; | 87 class RenderProcessObserver; |
87 class VideoCaptureImplManager; | 88 class VideoCaptureImplManager; |
88 class WebDatabaseObserverImpl; | 89 class WebDatabaseObserverImpl; |
89 class WebGraphicsContext3DCommandBufferImpl; | 90 class WebGraphicsContext3DCommandBufferImpl; |
(...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
430 // May be null if overridden by ContentRendererClient. | 431 // May be null if overridden by ContentRendererClient. |
431 scoped_ptr<base::Thread> compositor_thread_; | 432 scoped_ptr<base::Thread> compositor_thread_; |
432 | 433 |
433 // Thread for running multimedia operations (e.g., video decoding). | 434 // Thread for running multimedia operations (e.g., video decoding). |
434 scoped_ptr<base::Thread> media_thread_; | 435 scoped_ptr<base::Thread> media_thread_; |
435 | 436 |
436 // Will point to appropriate MessageLoopProxy after initialization, | 437 // Will point to appropriate MessageLoopProxy after initialization, |
437 // regardless of whether |compositor_thread_| is overriden. | 438 // regardless of whether |compositor_thread_| is overriden. |
438 scoped_refptr<base::MessageLoopProxy> compositor_message_loop_proxy_; | 439 scoped_refptr<base::MessageLoopProxy> compositor_message_loop_proxy_; |
439 | 440 |
| 441 // May be null if unused by the |input_handler_manager_|. |
| 442 scoped_refptr<InputEventFilter> input_event_filter_; |
440 scoped_ptr<InputHandlerManager> input_handler_manager_; | 443 scoped_ptr<InputHandlerManager> input_handler_manager_; |
441 scoped_refptr<IPC::ForwardingMessageFilter> compositor_output_surface_filter_; | 444 scoped_refptr<IPC::ForwardingMessageFilter> compositor_output_surface_filter_; |
442 | 445 |
443 class RendererContextProviderCommandBuffer; | 446 class RendererContextProviderCommandBuffer; |
444 scoped_refptr<RendererContextProviderCommandBuffer> | 447 scoped_refptr<RendererContextProviderCommandBuffer> |
445 shared_contexts_main_thread_; | 448 shared_contexts_main_thread_; |
446 scoped_refptr<RendererContextProviderCommandBuffer> | 449 scoped_refptr<RendererContextProviderCommandBuffer> |
447 shared_contexts_compositor_thread_; | 450 shared_contexts_compositor_thread_; |
448 | 451 |
449 ObserverList<RenderProcessObserver> observers_; | 452 ObserverList<RenderProcessObserver> observers_; |
450 | 453 |
451 class GpuVDAContextLostCallback; | 454 class GpuVDAContextLostCallback; |
452 scoped_ptr<GpuVDAContextLostCallback> context_lost_cb_; | 455 scoped_ptr<GpuVDAContextLostCallback> context_lost_cb_; |
453 scoped_ptr<WebGraphicsContext3DCommandBufferImpl> gpu_vda_context3d_; | 456 scoped_ptr<WebGraphicsContext3DCommandBufferImpl> gpu_vda_context3d_; |
454 | 457 |
455 scoped_ptr<AudioRendererMixerManager> audio_renderer_mixer_manager_; | 458 scoped_ptr<AudioRendererMixerManager> audio_renderer_mixer_manager_; |
456 scoped_ptr<media::AudioHardwareConfig> audio_hardware_config_; | 459 scoped_ptr<media::AudioHardwareConfig> audio_hardware_config_; |
457 | 460 |
458 HistogramCustomizer histogram_customizer_; | 461 HistogramCustomizer histogram_customizer_; |
459 | 462 |
460 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 463 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
461 }; | 464 }; |
462 | 465 |
463 } // namespace content | 466 } // namespace content |
464 | 467 |
465 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 468 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
OLD | NEW |