Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(173)

Side by Side Diff: content/renderer/render_thread_impl.h

Issue 1223193009: WIP attempt to replace StartWorker/StopWorker IPCs with a new mojo EmbeddedWorker service. Base URL: https://chromium.googlesource.com/chromium/src.git@mojo-event-dispatching-option2
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/public/test/mock_render_process_host.cc ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 class AudioInputMessageFilter; 85 class AudioInputMessageFilter;
86 class AudioMessageFilter; 86 class AudioMessageFilter;
87 class AudioRendererMixerManager; 87 class AudioRendererMixerManager;
88 class BrowserPluginManager; 88 class BrowserPluginManager;
89 class CacheStorageDispatcher; 89 class CacheStorageDispatcher;
90 class CompositorForwardingMessageFilter; 90 class CompositorForwardingMessageFilter;
91 class ContextProviderCommandBuffer; 91 class ContextProviderCommandBuffer;
92 class DBMessageFilter; 92 class DBMessageFilter;
93 class DevToolsAgentFilter; 93 class DevToolsAgentFilter;
94 class DomStorageDispatcher; 94 class DomStorageDispatcher;
95 class EmbeddedWorkerDispatcher;
96 class GpuChannelHost; 95 class GpuChannelHost;
97 class IndexedDBDispatcher; 96 class IndexedDBDispatcher;
98 class InputHandlerManager; 97 class InputHandlerManager;
99 class MediaStreamCenter; 98 class MediaStreamCenter;
100 class MemoryObserver; 99 class MemoryObserver;
101 class MidiMessageFilter; 100 class MidiMessageFilter;
102 class NetInfoDispatcher; 101 class NetInfoDispatcher;
103 class P2PSocketDispatcher; 102 class P2PSocketDispatcher;
104 class PeerConnectionDependencyFactory; 103 class PeerConnectionDependencyFactory;
105 class PeerConnectionTracker; 104 class PeerConnectionTracker;
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 } 248 }
250 249
251 AppCacheDispatcher* appcache_dispatcher() const { 250 AppCacheDispatcher* appcache_dispatcher() const {
252 return appcache_dispatcher_.get(); 251 return appcache_dispatcher_.get();
253 } 252 }
254 253
255 DomStorageDispatcher* dom_storage_dispatcher() const { 254 DomStorageDispatcher* dom_storage_dispatcher() const {
256 return dom_storage_dispatcher_.get(); 255 return dom_storage_dispatcher_.get();
257 } 256 }
258 257
259 EmbeddedWorkerDispatcher* embedded_worker_dispatcher() const {
260 return embedded_worker_dispatcher_.get();
261 }
262
263 AudioInputMessageFilter* audio_input_message_filter() { 258 AudioInputMessageFilter* audio_input_message_filter() {
264 return audio_input_message_filter_.get(); 259 return audio_input_message_filter_.get();
265 } 260 }
266 261
267 AudioMessageFilter* audio_message_filter() { 262 AudioMessageFilter* audio_message_filter() {
268 return audio_message_filter_.get(); 263 return audio_message_filter_.get();
269 } 264 }
270 265
271 MidiMessageFilter* midi_message_filter() { 266 MidiMessageFilter* midi_message_filter() {
272 return midi_message_filter_.get(); 267 return midi_message_filter_.get();
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
474 scoped_ptr<WebGraphicsContext3DCommandBufferImpl> CreateOffscreenContext3d(); 469 scoped_ptr<WebGraphicsContext3DCommandBufferImpl> CreateOffscreenContext3d();
475 470
476 // These objects live solely on the render thread. 471 // These objects live solely on the render thread.
477 scoped_ptr<AppCacheDispatcher> appcache_dispatcher_; 472 scoped_ptr<AppCacheDispatcher> appcache_dispatcher_;
478 scoped_ptr<DomStorageDispatcher> dom_storage_dispatcher_; 473 scoped_ptr<DomStorageDispatcher> dom_storage_dispatcher_;
479 scoped_ptr<IndexedDBDispatcher> main_thread_indexed_db_dispatcher_; 474 scoped_ptr<IndexedDBDispatcher> main_thread_indexed_db_dispatcher_;
480 scoped_ptr<scheduler::RendererScheduler> renderer_scheduler_; 475 scoped_ptr<scheduler::RendererScheduler> renderer_scheduler_;
481 scoped_ptr<RendererBlinkPlatformImpl> blink_platform_impl_; 476 scoped_ptr<RendererBlinkPlatformImpl> blink_platform_impl_;
482 scoped_ptr<ResourceDispatchThrottler> resource_dispatch_throttler_; 477 scoped_ptr<ResourceDispatchThrottler> resource_dispatch_throttler_;
483 scoped_ptr<CacheStorageDispatcher> main_thread_cache_storage_dispatcher_; 478 scoped_ptr<CacheStorageDispatcher> main_thread_cache_storage_dispatcher_;
484 scoped_ptr<EmbeddedWorkerDispatcher> embedded_worker_dispatcher_;
485 479
486 // Used on the render thread and deleted by WebKit at shutdown. 480 // Used on the render thread and deleted by WebKit at shutdown.
487 blink::WebMediaStreamCenter* media_stream_center_; 481 blink::WebMediaStreamCenter* media_stream_center_;
488 482
489 // Used on the renderer and IPC threads. 483 // Used on the renderer and IPC threads.
490 scoped_refptr<DBMessageFilter> db_message_filter_; 484 scoped_refptr<DBMessageFilter> db_message_filter_;
491 scoped_refptr<AudioInputMessageFilter> audio_input_message_filter_; 485 scoped_refptr<AudioInputMessageFilter> audio_input_message_filter_;
492 scoped_refptr<AudioMessageFilter> audio_message_filter_; 486 scoped_refptr<AudioMessageFilter> audio_message_filter_;
493 scoped_refptr<MidiMessageFilter> midi_message_filter_; 487 scoped_refptr<MidiMessageFilter> midi_message_filter_;
494 #if defined(OS_ANDROID) 488 #if defined(OS_ANDROID)
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
644 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); 638 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl);
645 }; 639 };
646 640
647 #if defined(COMPILER_MSVC) 641 #if defined(COMPILER_MSVC)
648 #pragma warning(pop) 642 #pragma warning(pop)
649 #endif 643 #endif
650 644
651 } // namespace content 645 } // namespace content
652 646
653 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 647 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
OLDNEW
« no previous file with comments | « content/public/test/mock_render_process_host.cc ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698