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