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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 class RendererBlinkPlatformImpl; | 109 class RendererBlinkPlatformImpl; |
110 class RendererDemuxerAndroid; | 110 class RendererDemuxerAndroid; |
111 class RendererGpuVideoAcceleratorFactories; | 111 class RendererGpuVideoAcceleratorFactories; |
112 class ResourceDispatchThrottler; | 112 class ResourceDispatchThrottler; |
113 class V8SamplingProfiler; | 113 class V8SamplingProfiler; |
114 class VideoCaptureImplManager; | 114 class VideoCaptureImplManager; |
115 class WebGraphicsContext3DCommandBufferImpl; | 115 class WebGraphicsContext3DCommandBufferImpl; |
116 class WebRTCIdentityService; | 116 class WebRTCIdentityService; |
117 | 117 |
118 #if defined(OS_ANDROID) | 118 #if defined(OS_ANDROID) |
| 119 class StreamTextureFactory; |
119 class SynchronousCompositorFilter; | 120 class SynchronousCompositorFilter; |
120 #endif | 121 #endif |
121 | 122 |
122 #if defined(COMPILER_MSVC) | 123 #if defined(COMPILER_MSVC) |
123 // See explanation for other RenderViewHostImpl which is the same issue. | 124 // See explanation for other RenderViewHostImpl which is the same issue. |
124 #pragma warning(push) | 125 #pragma warning(push) |
125 #pragma warning(disable: 4250) | 126 #pragma warning(disable: 4250) |
126 #endif | 127 #endif |
127 | 128 |
128 // The RenderThreadImpl class represents a background thread where RenderView | 129 // The RenderThreadImpl class represents a background thread where RenderView |
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
281 } | 282 } |
282 | 283 |
283 #if defined(OS_ANDROID) | 284 #if defined(OS_ANDROID) |
284 RendererDemuxerAndroid* renderer_demuxer() { | 285 RendererDemuxerAndroid* renderer_demuxer() { |
285 return renderer_demuxer_.get(); | 286 return renderer_demuxer_.get(); |
286 } | 287 } |
287 | 288 |
288 SynchronousCompositorFilter* sync_compositor_message_filter() { | 289 SynchronousCompositorFilter* sync_compositor_message_filter() { |
289 return sync_compositor_message_filter_.get(); | 290 return sync_compositor_message_filter_.get(); |
290 } | 291 } |
| 292 |
| 293 scoped_refptr<StreamTextureFactory> GetStreamTexureFactory(); |
291 #endif | 294 #endif |
292 | 295 |
293 // Creates the embedder implementation of WebMediaStreamCenter. | 296 // Creates the embedder implementation of WebMediaStreamCenter. |
294 // The resulting object is owned by WebKit and deleted by WebKit at tear-down. | 297 // The resulting object is owned by WebKit and deleted by WebKit at tear-down. |
295 blink::WebMediaStreamCenter* CreateMediaStreamCenter( | 298 blink::WebMediaStreamCenter* CreateMediaStreamCenter( |
296 blink::WebMediaStreamCenterClient* client); | 299 blink::WebMediaStreamCenterClient* client); |
297 | 300 |
298 BrowserPluginManager* browser_plugin_manager() const { | 301 BrowserPluginManager* browser_plugin_manager() const { |
299 return browser_plugin_manager_.get(); | 302 return browser_plugin_manager_.get(); |
300 } | 303 } |
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
605 // Pool of workers used for raster operations (e.g., tile rasterization). | 608 // Pool of workers used for raster operations (e.g., tile rasterization). |
606 scoped_refptr<RasterWorkerPool> raster_worker_pool_; | 609 scoped_refptr<RasterWorkerPool> raster_worker_pool_; |
607 | 610 |
608 base::CancelableCallback<void(const IPC::Message&)> main_input_callback_; | 611 base::CancelableCallback<void(const IPC::Message&)> main_input_callback_; |
609 scoped_refptr<IPC::MessageFilter> input_event_filter_; | 612 scoped_refptr<IPC::MessageFilter> input_event_filter_; |
610 scoped_ptr<InputHandlerManager> input_handler_manager_; | 613 scoped_ptr<InputHandlerManager> input_handler_manager_; |
611 scoped_refptr<CompositorForwardingMessageFilter> compositor_message_filter_; | 614 scoped_refptr<CompositorForwardingMessageFilter> compositor_message_filter_; |
612 | 615 |
613 #if defined(OS_ANDROID) | 616 #if defined(OS_ANDROID) |
614 scoped_refptr<SynchronousCompositorFilter> sync_compositor_message_filter_; | 617 scoped_refptr<SynchronousCompositorFilter> sync_compositor_message_filter_; |
| 618 scoped_refptr<StreamTextureFactory> stream_texture_factory_; |
615 #endif | 619 #endif |
616 | 620 |
617 scoped_refptr<BluetoothMessageFilter> bluetooth_message_filter_; | 621 scoped_refptr<BluetoothMessageFilter> bluetooth_message_filter_; |
618 | 622 |
619 scoped_refptr<cc_blink::ContextProviderWebContext> | 623 scoped_refptr<ContextProviderCommandBuffer> shared_main_thread_contexts_; |
620 shared_main_thread_contexts_; | |
621 | 624 |
622 base::ObserverList<RenderProcessObserver> observers_; | 625 base::ObserverList<RenderProcessObserver> observers_; |
623 | 626 |
624 scoped_refptr<ContextProviderCommandBuffer> shared_worker_context_provider_; | 627 scoped_refptr<ContextProviderCommandBuffer> shared_worker_context_provider_; |
625 | 628 |
626 scoped_ptr<AudioRendererMixerManager> audio_renderer_mixer_manager_; | 629 scoped_ptr<AudioRendererMixerManager> audio_renderer_mixer_manager_; |
627 scoped_ptr<media::AudioHardwareConfig> audio_hardware_config_; | 630 scoped_ptr<media::AudioHardwareConfig> audio_hardware_config_; |
628 | 631 |
629 HistogramCustomizer histogram_customizer_; | 632 HistogramCustomizer histogram_customizer_; |
630 | 633 |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
688 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 691 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
689 }; | 692 }; |
690 | 693 |
691 #if defined(COMPILER_MSVC) | 694 #if defined(COMPILER_MSVC) |
692 #pragma warning(pop) | 695 #pragma warning(pop) |
693 #endif | 696 #endif |
694 | 697 |
695 } // namespace content | 698 } // namespace content |
696 | 699 |
697 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 700 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
OLD | NEW |