| 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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 108 class RenderProcessObserver; | 108 class RenderProcessObserver; |
| 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) |
| 119 class SynchronousCompositorFilter; |
| 120 #endif |
| 121 |
| 118 #if defined(COMPILER_MSVC) | 122 #if defined(COMPILER_MSVC) |
| 119 // See explanation for other RenderViewHostImpl which is the same issue. | 123 // See explanation for other RenderViewHostImpl which is the same issue. |
| 120 #pragma warning(push) | 124 #pragma warning(push) |
| 121 #pragma warning(disable: 4250) | 125 #pragma warning(disable: 4250) |
| 122 #endif | 126 #endif |
| 123 | 127 |
| 124 // The RenderThreadImpl class represents a background thread where RenderView | 128 // The RenderThreadImpl class represents a background thread where RenderView |
| 125 // instances live. The RenderThread supports an API that is used by its | 129 // instances live. The RenderThread supports an API that is used by its |
| 126 // consumer to talk indirectly to the RenderViews and supporting objects. | 130 // consumer to talk indirectly to the RenderViews and supporting objects. |
| 127 // Likewise, it provides an API for the RenderViews to talk back to the main | 131 // Likewise, it provides an API for the RenderViews to talk back to the main |
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 272 } | 276 } |
| 273 | 277 |
| 274 MidiMessageFilter* midi_message_filter() { | 278 MidiMessageFilter* midi_message_filter() { |
| 275 return midi_message_filter_.get(); | 279 return midi_message_filter_.get(); |
| 276 } | 280 } |
| 277 | 281 |
| 278 #if defined(OS_ANDROID) | 282 #if defined(OS_ANDROID) |
| 279 RendererDemuxerAndroid* renderer_demuxer() { | 283 RendererDemuxerAndroid* renderer_demuxer() { |
| 280 return renderer_demuxer_.get(); | 284 return renderer_demuxer_.get(); |
| 281 } | 285 } |
| 286 |
| 287 SynchronousCompositorFilter* sync_compositor_message_filter() { |
| 288 return sync_compositor_message_filter_.get(); |
| 289 } |
| 282 #endif | 290 #endif |
| 283 | 291 |
| 284 // Creates the embedder implementation of WebMediaStreamCenter. | 292 // Creates the embedder implementation of WebMediaStreamCenter. |
| 285 // The resulting object is owned by WebKit and deleted by WebKit at tear-down. | 293 // The resulting object is owned by WebKit and deleted by WebKit at tear-down. |
| 286 blink::WebMediaStreamCenter* CreateMediaStreamCenter( | 294 blink::WebMediaStreamCenter* CreateMediaStreamCenter( |
| 287 blink::WebMediaStreamCenterClient* client); | 295 blink::WebMediaStreamCenterClient* client); |
| 288 | 296 |
| 289 BrowserPluginManager* browser_plugin_manager() const { | 297 BrowserPluginManager* browser_plugin_manager() const { |
| 290 return browser_plugin_manager_.get(); | 298 return browser_plugin_manager_.get(); |
| 291 } | 299 } |
| (...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 594 scoped_refptr<base::SingleThreadTaskRunner> compositor_task_runner_; | 602 scoped_refptr<base::SingleThreadTaskRunner> compositor_task_runner_; |
| 595 | 603 |
| 596 // Pool of workers used for raster operations (e.g., tile rasterization). | 604 // Pool of workers used for raster operations (e.g., tile rasterization). |
| 597 scoped_refptr<RasterWorkerPool> raster_worker_pool_; | 605 scoped_refptr<RasterWorkerPool> raster_worker_pool_; |
| 598 | 606 |
| 599 base::CancelableCallback<void(const IPC::Message&)> main_input_callback_; | 607 base::CancelableCallback<void(const IPC::Message&)> main_input_callback_; |
| 600 scoped_refptr<IPC::MessageFilter> input_event_filter_; | 608 scoped_refptr<IPC::MessageFilter> input_event_filter_; |
| 601 scoped_ptr<InputHandlerManager> input_handler_manager_; | 609 scoped_ptr<InputHandlerManager> input_handler_manager_; |
| 602 scoped_refptr<CompositorForwardingMessageFilter> compositor_message_filter_; | 610 scoped_refptr<CompositorForwardingMessageFilter> compositor_message_filter_; |
| 603 | 611 |
| 612 #if defined(OS_ANDROID) |
| 613 scoped_refptr<SynchronousCompositorFilter> sync_compositor_message_filter_; |
| 614 #endif |
| 615 |
| 604 scoped_refptr<BluetoothMessageFilter> bluetooth_message_filter_; | 616 scoped_refptr<BluetoothMessageFilter> bluetooth_message_filter_; |
| 605 | 617 |
| 606 scoped_refptr<cc_blink::ContextProviderWebContext> | 618 scoped_refptr<cc_blink::ContextProviderWebContext> |
| 607 shared_main_thread_contexts_; | 619 shared_main_thread_contexts_; |
| 608 | 620 |
| 609 base::ObserverList<RenderProcessObserver> observers_; | 621 base::ObserverList<RenderProcessObserver> observers_; |
| 610 | 622 |
| 611 scoped_refptr<ContextProviderCommandBuffer> shared_worker_context_provider_; | 623 scoped_refptr<ContextProviderCommandBuffer> shared_worker_context_provider_; |
| 612 | 624 |
| 613 scoped_ptr<AudioRendererMixerManager> audio_renderer_mixer_manager_; | 625 scoped_ptr<AudioRendererMixerManager> audio_renderer_mixer_manager_; |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 674 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 686 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
| 675 }; | 687 }; |
| 676 | 688 |
| 677 #if defined(COMPILER_MSVC) | 689 #if defined(COMPILER_MSVC) |
| 678 #pragma warning(pop) | 690 #pragma warning(pop) |
| 679 #endif | 691 #endif |
| 680 | 692 |
| 681 } // namespace content | 693 } // namespace content |
| 682 | 694 |
| 683 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 695 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
| OLD | NEW |