| 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 <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 327 SynchronousCompositorFilter* sync_compositor_message_filter() { | 327 SynchronousCompositorFilter* sync_compositor_message_filter() { |
| 328 return sync_compositor_message_filter_.get(); | 328 return sync_compositor_message_filter_.get(); |
| 329 } | 329 } |
| 330 | 330 |
| 331 scoped_refptr<StreamTextureFactory> GetStreamTexureFactory(); | 331 scoped_refptr<StreamTextureFactory> GetStreamTexureFactory(); |
| 332 bool EnableStreamTextureCopy(); | 332 bool EnableStreamTextureCopy(); |
| 333 #endif | 333 #endif |
| 334 | 334 |
| 335 // Creates the embedder implementation of WebMediaStreamCenter. | 335 // Creates the embedder implementation of WebMediaStreamCenter. |
| 336 // The resulting object is owned by WebKit and deleted by WebKit at tear-down. | 336 // The resulting object is owned by WebKit and deleted by WebKit at tear-down. |
| 337 std::unique_ptr<blink::WebMediaStreamCenter> CreateMediaStreamCenter( | 337 blink::WebMediaStreamCenter* CreateMediaStreamCenter( |
| 338 blink::WebMediaStreamCenterClient* client); | 338 blink::WebMediaStreamCenterClient* client); |
| 339 | 339 |
| 340 BrowserPluginManager* browser_plugin_manager() const { | 340 BrowserPluginManager* browser_plugin_manager() const { |
| 341 return browser_plugin_manager_.get(); | 341 return browser_plugin_manager_.get(); |
| 342 } | 342 } |
| 343 | 343 |
| 344 #if BUILDFLAG(ENABLE_WEBRTC) | 344 #if BUILDFLAG(ENABLE_WEBRTC) |
| 345 // Returns a factory used for creating RTC PeerConnection objects. | 345 // Returns a factory used for creating RTC PeerConnection objects. |
| 346 PeerConnectionDependencyFactory* GetPeerConnectionDependencyFactory(); | 346 PeerConnectionDependencyFactory* GetPeerConnectionDependencyFactory(); |
| 347 | 347 |
| (...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 600 | 600 |
| 601 // These objects live solely on the render thread. | 601 // These objects live solely on the render thread. |
| 602 std::unique_ptr<AppCacheDispatcher> appcache_dispatcher_; | 602 std::unique_ptr<AppCacheDispatcher> appcache_dispatcher_; |
| 603 std::unique_ptr<DomStorageDispatcher> dom_storage_dispatcher_; | 603 std::unique_ptr<DomStorageDispatcher> dom_storage_dispatcher_; |
| 604 std::unique_ptr<IndexedDBDispatcher> main_thread_indexed_db_dispatcher_; | 604 std::unique_ptr<IndexedDBDispatcher> main_thread_indexed_db_dispatcher_; |
| 605 std::unique_ptr<blink::scheduler::RendererScheduler> renderer_scheduler_; | 605 std::unique_ptr<blink::scheduler::RendererScheduler> renderer_scheduler_; |
| 606 std::unique_ptr<RendererBlinkPlatformImpl> blink_platform_impl_; | 606 std::unique_ptr<RendererBlinkPlatformImpl> blink_platform_impl_; |
| 607 std::unique_ptr<ResourceDispatchThrottler> resource_dispatch_throttler_; | 607 std::unique_ptr<ResourceDispatchThrottler> resource_dispatch_throttler_; |
| 608 std::unique_ptr<CacheStorageDispatcher> main_thread_cache_storage_dispatcher_; | 608 std::unique_ptr<CacheStorageDispatcher> main_thread_cache_storage_dispatcher_; |
| 609 | 609 |
| 610 // Used on the render thread and deleted by WebKit at shutdown. |
| 611 blink::WebMediaStreamCenter* media_stream_center_; |
| 612 |
| 610 // Used on the renderer and IPC threads. | 613 // Used on the renderer and IPC threads. |
| 611 scoped_refptr<BlobMessageFilter> blob_message_filter_; | 614 scoped_refptr<BlobMessageFilter> blob_message_filter_; |
| 612 scoped_refptr<DBMessageFilter> db_message_filter_; | 615 scoped_refptr<DBMessageFilter> db_message_filter_; |
| 613 scoped_refptr<AudioInputMessageFilter> audio_input_message_filter_; | 616 scoped_refptr<AudioInputMessageFilter> audio_input_message_filter_; |
| 614 scoped_refptr<AudioMessageFilter> audio_message_filter_; | 617 scoped_refptr<AudioMessageFilter> audio_message_filter_; |
| 615 scoped_refptr<MidiMessageFilter> midi_message_filter_; | 618 scoped_refptr<MidiMessageFilter> midi_message_filter_; |
| 616 scoped_refptr<DevToolsAgentFilter> devtools_agent_message_filter_; | 619 scoped_refptr<DevToolsAgentFilter> devtools_agent_message_filter_; |
| 617 | 620 |
| 618 std::unique_ptr<BrowserPluginManager> browser_plugin_manager_; | 621 std::unique_ptr<BrowserPluginManager> browser_plugin_manager_; |
| 619 | 622 |
| (...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 790 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 793 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
| 791 }; | 794 }; |
| 792 | 795 |
| 793 #if defined(COMPILER_MSVC) | 796 #if defined(COMPILER_MSVC) |
| 794 #pragma warning(pop) | 797 #pragma warning(pop) |
| 795 #endif | 798 #endif |
| 796 | 799 |
| 797 } // namespace content | 800 } // namespace content |
| 798 | 801 |
| 799 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 802 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
| OLD | NEW |