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

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

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

Powered by Google App Engine
This is Rietveld 408576698