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

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

Issue 16025005: Web MIDI API back-end (work-in-progress) (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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 } 220 }
220 221
221 AudioInputMessageFilter* audio_input_message_filter() { 222 AudioInputMessageFilter* audio_input_message_filter() {
222 return audio_input_message_filter_.get(); 223 return audio_input_message_filter_.get();
223 } 224 }
224 225
225 AudioMessageFilter* audio_message_filter() { 226 AudioMessageFilter* audio_message_filter() {
226 return audio_message_filter_.get(); 227 return audio_message_filter_.get();
227 } 228 }
228 229
230 MIDIMessageFilter* midi_message_filter() {
231 return midi_message_filter_.get();
232 }
229 233
230 // Creates the embedder implementation of WebMediaStreamCenter. 234 // Creates the embedder implementation of WebMediaStreamCenter.
231 // The resulting object is owned by WebKit and deleted by WebKit at tear-down. 235 // The resulting object is owned by WebKit and deleted by WebKit at tear-down.
232 WebKit::WebMediaStreamCenter* CreateMediaStreamCenter( 236 WebKit::WebMediaStreamCenter* CreateMediaStreamCenter(
233 WebKit::WebMediaStreamCenterClient* client); 237 WebKit::WebMediaStreamCenterClient* client);
234 238
235 // Returns a factory used for creating RTC PeerConnection objects. 239 // Returns a factory used for creating RTC PeerConnection objects.
236 MediaStreamDependencyFactory* GetMediaStreamDependencyFactory(); 240 MediaStreamDependencyFactory* GetMediaStreamDependencyFactory();
237 241
238 PeerConnectionTracker* peer_connection_tracker() { 242 PeerConnectionTracker* peer_connection_tracker() {
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
371 scoped_ptr<IndexedDBDispatcher> main_thread_indexed_db_dispatcher_; 375 scoped_ptr<IndexedDBDispatcher> main_thread_indexed_db_dispatcher_;
372 scoped_ptr<RendererWebKitPlatformSupportImpl> webkit_platform_support_; 376 scoped_ptr<RendererWebKitPlatformSupportImpl> webkit_platform_support_;
373 377
374 // Used on the render thread and deleted by WebKit at shutdown. 378 // Used on the render thread and deleted by WebKit at shutdown.
375 WebKit::WebMediaStreamCenter* media_stream_center_; 379 WebKit::WebMediaStreamCenter* media_stream_center_;
376 380
377 // Used on the renderer and IPC threads. 381 // Used on the renderer and IPC threads.
378 scoped_refptr<DBMessageFilter> db_message_filter_; 382 scoped_refptr<DBMessageFilter> db_message_filter_;
379 scoped_refptr<AudioInputMessageFilter> audio_input_message_filter_; 383 scoped_refptr<AudioInputMessageFilter> audio_input_message_filter_;
380 scoped_refptr<AudioMessageFilter> audio_message_filter_; 384 scoped_refptr<AudioMessageFilter> audio_message_filter_;
385 scoped_refptr<MIDIMessageFilter> midi_message_filter_;
381 scoped_refptr<DevToolsAgentFilter> devtools_agent_message_filter_; 386 scoped_refptr<DevToolsAgentFilter> devtools_agent_message_filter_;
382 387
383 scoped_ptr<MediaStreamDependencyFactory> media_stream_factory_; 388 scoped_ptr<MediaStreamDependencyFactory> media_stream_factory_;
384 389
385 // This is used to communicate to the browser process the status 390 // This is used to communicate to the browser process the status
386 // of all the peer connections created in the renderer. 391 // of all the peer connections created in the renderer.
387 scoped_ptr<PeerConnectionTracker> peer_connection_tracker_; 392 scoped_ptr<PeerConnectionTracker> peer_connection_tracker_;
388 393
389 // Dispatches all P2P sockets. 394 // Dispatches all P2P sockets.
390 scoped_refptr<P2PSocketDispatcher> p2p_socket_dispatcher_; 395 scoped_refptr<P2PSocketDispatcher> p2p_socket_dispatcher_;
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
458 scoped_ptr<media::AudioHardwareConfig> audio_hardware_config_; 463 scoped_ptr<media::AudioHardwareConfig> audio_hardware_config_;
459 464
460 HistogramCustomizer histogram_customizer_; 465 HistogramCustomizer histogram_customizer_;
461 466
462 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); 467 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl);
463 }; 468 };
464 469
465 } // namespace content 470 } // namespace content
466 471
467 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 472 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698