| 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 std::unique_ptr<blink::WebMediaStreamCenter> CreateMediaStreamCenter( | 336 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 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 599 | 599 |
| 600 // These objects live solely on the render thread. | 600 // These objects live solely on the render thread. |
| 601 std::unique_ptr<AppCacheDispatcher> appcache_dispatcher_; | 601 std::unique_ptr<AppCacheDispatcher> appcache_dispatcher_; |
| 602 std::unique_ptr<DomStorageDispatcher> dom_storage_dispatcher_; | 602 std::unique_ptr<DomStorageDispatcher> dom_storage_dispatcher_; |
| 603 std::unique_ptr<IndexedDBDispatcher> main_thread_indexed_db_dispatcher_; | 603 std::unique_ptr<IndexedDBDispatcher> main_thread_indexed_db_dispatcher_; |
| 604 std::unique_ptr<blink::scheduler::RendererScheduler> renderer_scheduler_; | 604 std::unique_ptr<blink::scheduler::RendererScheduler> renderer_scheduler_; |
| 605 std::unique_ptr<RendererBlinkPlatformImpl> blink_platform_impl_; | 605 std::unique_ptr<RendererBlinkPlatformImpl> blink_platform_impl_; |
| 606 std::unique_ptr<ResourceDispatchThrottler> resource_dispatch_throttler_; | 606 std::unique_ptr<ResourceDispatchThrottler> resource_dispatch_throttler_; |
| 607 std::unique_ptr<CacheStorageDispatcher> main_thread_cache_storage_dispatcher_; | 607 std::unique_ptr<CacheStorageDispatcher> main_thread_cache_storage_dispatcher_; |
| 608 | 608 |
| 609 // Used on the render thread and deleted by WebKit at shutdown. |
| 610 blink::WebMediaStreamCenter* media_stream_center_; |
| 611 |
| 609 // Used on the renderer and IPC threads. | 612 // Used on the renderer and IPC threads. |
| 610 scoped_refptr<BlobMessageFilter> blob_message_filter_; | 613 scoped_refptr<BlobMessageFilter> blob_message_filter_; |
| 611 scoped_refptr<DBMessageFilter> db_message_filter_; | 614 scoped_refptr<DBMessageFilter> db_message_filter_; |
| 612 scoped_refptr<AudioInputMessageFilter> audio_input_message_filter_; | 615 scoped_refptr<AudioInputMessageFilter> audio_input_message_filter_; |
| 613 scoped_refptr<AudioMessageFilter> audio_message_filter_; | 616 scoped_refptr<AudioMessageFilter> audio_message_filter_; |
| 614 scoped_refptr<MidiMessageFilter> midi_message_filter_; | 617 scoped_refptr<MidiMessageFilter> midi_message_filter_; |
| 615 scoped_refptr<DevToolsAgentFilter> devtools_agent_message_filter_; | 618 scoped_refptr<DevToolsAgentFilter> devtools_agent_message_filter_; |
| 616 | 619 |
| 617 std::unique_ptr<BrowserPluginManager> browser_plugin_manager_; | 620 std::unique_ptr<BrowserPluginManager> browser_plugin_manager_; |
| 618 | 621 |
| (...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 788 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 791 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
| 789 }; | 792 }; |
| 790 | 793 |
| 791 #if defined(COMPILER_MSVC) | 794 #if defined(COMPILER_MSVC) |
| 792 #pragma warning(pop) | 795 #pragma warning(pop) |
| 793 #endif | 796 #endif |
| 794 | 797 |
| 795 } // namespace content | 798 } // namespace content |
| 796 | 799 |
| 797 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 800 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
| OLD | NEW |