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

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

Issue 17288018: Re-land 16025005 with fix for statics perf issue (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 | Annotate | Revision Log
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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 class ContextProviderCommandBuffer; 74 class ContextProviderCommandBuffer;
75 class DBMessageFilter; 75 class DBMessageFilter;
76 class DevToolsAgentFilter; 76 class DevToolsAgentFilter;
77 class DomStorageDispatcher; 77 class DomStorageDispatcher;
78 class GpuChannelHost; 78 class GpuChannelHost;
79 class IndexedDBDispatcher; 79 class IndexedDBDispatcher;
80 class InputEventFilter; 80 class InputEventFilter;
81 class InputHandlerManager; 81 class InputHandlerManager;
82 class MediaStreamCenter; 82 class MediaStreamCenter;
83 class MediaStreamDependencyFactory; 83 class MediaStreamDependencyFactory;
84 class MIDIMessageFilter;
84 class P2PSocketDispatcher; 85 class P2PSocketDispatcher;
85 class PeerConnectionTracker; 86 class PeerConnectionTracker;
86 class RendererWebKitPlatformSupportImpl; 87 class RendererWebKitPlatformSupportImpl;
87 class RenderProcessObserver; 88 class RenderProcessObserver;
88 class VideoCaptureImplManager; 89 class VideoCaptureImplManager;
89 class WebDatabaseObserverImpl; 90 class WebDatabaseObserverImpl;
90 class WebGraphicsContext3DCommandBufferImpl; 91 class WebGraphicsContext3DCommandBufferImpl;
91 92
92 // The RenderThreadImpl class represents a background thread where RenderView 93 // The RenderThreadImpl class represents a background thread where RenderView
93 // instances live. The RenderThread supports an API that is used by its 94 // instances live. The RenderThread supports an API that is used by its
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 } 221 }
221 222
222 AudioInputMessageFilter* audio_input_message_filter() { 223 AudioInputMessageFilter* audio_input_message_filter() {
223 return audio_input_message_filter_.get(); 224 return audio_input_message_filter_.get();
224 } 225 }
225 226
226 AudioMessageFilter* audio_message_filter() { 227 AudioMessageFilter* audio_message_filter() {
227 return audio_message_filter_.get(); 228 return audio_message_filter_.get();
228 } 229 }
229 230
231 MIDIMessageFilter* midi_message_filter() {
232 return midi_message_filter_.get();
233 }
230 234
231 // Creates the embedder implementation of WebMediaStreamCenter. 235 // Creates the embedder implementation of WebMediaStreamCenter.
232 // The resulting object is owned by WebKit and deleted by WebKit at tear-down. 236 // The resulting object is owned by WebKit and deleted by WebKit at tear-down.
233 WebKit::WebMediaStreamCenter* CreateMediaStreamCenter( 237 WebKit::WebMediaStreamCenter* CreateMediaStreamCenter(
234 WebKit::WebMediaStreamCenterClient* client); 238 WebKit::WebMediaStreamCenterClient* client);
235 239
236 // Returns a factory used for creating RTC PeerConnection objects. 240 // Returns a factory used for creating RTC PeerConnection objects.
237 MediaStreamDependencyFactory* GetMediaStreamDependencyFactory(); 241 MediaStreamDependencyFactory* GetMediaStreamDependencyFactory();
238 242
239 PeerConnectionTracker* peer_connection_tracker() { 243 PeerConnectionTracker* peer_connection_tracker() {
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
372 scoped_ptr<IndexedDBDispatcher> main_thread_indexed_db_dispatcher_; 376 scoped_ptr<IndexedDBDispatcher> main_thread_indexed_db_dispatcher_;
373 scoped_ptr<RendererWebKitPlatformSupportImpl> webkit_platform_support_; 377 scoped_ptr<RendererWebKitPlatformSupportImpl> webkit_platform_support_;
374 378
375 // Used on the render thread and deleted by WebKit at shutdown. 379 // Used on the render thread and deleted by WebKit at shutdown.
376 WebKit::WebMediaStreamCenter* media_stream_center_; 380 WebKit::WebMediaStreamCenter* media_stream_center_;
377 381
378 // Used on the renderer and IPC threads. 382 // Used on the renderer and IPC threads.
379 scoped_refptr<DBMessageFilter> db_message_filter_; 383 scoped_refptr<DBMessageFilter> db_message_filter_;
380 scoped_refptr<AudioInputMessageFilter> audio_input_message_filter_; 384 scoped_refptr<AudioInputMessageFilter> audio_input_message_filter_;
381 scoped_refptr<AudioMessageFilter> audio_message_filter_; 385 scoped_refptr<AudioMessageFilter> audio_message_filter_;
386 scoped_refptr<MIDIMessageFilter> midi_message_filter_;
382 scoped_refptr<DevToolsAgentFilter> devtools_agent_message_filter_; 387 scoped_refptr<DevToolsAgentFilter> devtools_agent_message_filter_;
383 388
384 scoped_ptr<MediaStreamDependencyFactory> media_stream_factory_; 389 scoped_ptr<MediaStreamDependencyFactory> media_stream_factory_;
385 390
386 // This is used to communicate to the browser process the status 391 // This is used to communicate to the browser process the status
387 // of all the peer connections created in the renderer. 392 // of all the peer connections created in the renderer.
388 scoped_ptr<PeerConnectionTracker> peer_connection_tracker_; 393 scoped_ptr<PeerConnectionTracker> peer_connection_tracker_;
389 394
390 // Dispatches all P2P sockets. 395 // Dispatches all P2P sockets.
391 scoped_refptr<P2PSocketDispatcher> p2p_socket_dispatcher_; 396 scoped_refptr<P2PSocketDispatcher> p2p_socket_dispatcher_;
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
459 scoped_ptr<media::AudioHardwareConfig> audio_hardware_config_; 464 scoped_ptr<media::AudioHardwareConfig> audio_hardware_config_;
460 465
461 HistogramCustomizer histogram_customizer_; 466 HistogramCustomizer histogram_customizer_;
462 467
463 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); 468 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl);
464 }; 469 };
465 470
466 } // namespace content 471 } // namespace content
467 472
468 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 473 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/media/renderer_webmidiaccessor_impl.cc ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698