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

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

Issue 16025005: Web MIDI API back-end (work-in-progress) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add stub for non-OSX MIDIManagers 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_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_
6 #define CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ 6 #define CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/platform_file.h" 10 #include "base/platform_file.h"
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 size_t buffer_size, unsigned input_channels, unsigned channels, 99 size_t buffer_size, unsigned input_channels, unsigned channels,
100 double sample_rate, WebKit::WebAudioDevice::RenderCallback* callback); 100 double sample_rate, WebKit::WebAudioDevice::RenderCallback* callback);
101 101
102 virtual WebKit::WebAudioDevice* createAudioDevice( 102 virtual WebKit::WebAudioDevice* createAudioDevice(
103 size_t buffer_size, unsigned input_channels, unsigned channels, 103 size_t buffer_size, unsigned input_channels, unsigned channels,
104 double sample_rate, WebKit::WebAudioDevice::RenderCallback* callback, 104 double sample_rate, WebKit::WebAudioDevice::RenderCallback* callback,
105 const WebKit::WebString& input_device_id); 105 const WebKit::WebString& input_device_id);
106 106
107 virtual WebKit::WebContentDecryptionModule* createContentDecryptionModule( 107 virtual WebKit::WebContentDecryptionModule* createContentDecryptionModule(
108 const WebKit::WebString& key_system); 108 const WebKit::WebString& key_system);
109 virtual WebKit::WebMIDIAccessor*
110 createMIDIAccessor(WebKit::WebMIDIAccessorClient* client);
109 111
110 virtual WebKit::WebBlobRegistry* blobRegistry(); 112 virtual WebKit::WebBlobRegistry* blobRegistry();
111 virtual void sampleGamepads(WebKit::WebGamepads&); 113 virtual void sampleGamepads(WebKit::WebGamepads&);
112 virtual WebKit::WebString userAgent(const WebKit::WebURL& url); 114 virtual WebKit::WebString userAgent(const WebKit::WebURL& url);
113 virtual void GetPlugins(bool refresh, 115 virtual void GetPlugins(bool refresh,
114 std::vector<webkit::WebPluginInfo>* plugins) OVERRIDE; 116 std::vector<webkit::WebPluginInfo>* plugins) OVERRIDE;
115 virtual WebKit::WebRTCPeerConnectionHandler* createRTCPeerConnectionHandler( 117 virtual WebKit::WebRTCPeerConnectionHandler* createRTCPeerConnectionHandler(
116 WebKit::WebRTCPeerConnectionHandlerClient* client); 118 WebKit::WebRTCPeerConnectionHandlerClient* client);
117 virtual WebKit::WebMediaStreamCenter* createMediaStreamCenter( 119 virtual WebKit::WebMediaStreamCenter* createMediaStreamCenter(
118 WebKit::WebMediaStreamCenterClient* client); 120 WebKit::WebMediaStreamCenterClient* client);
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 scoped_refptr<ThreadSafeSender> thread_safe_sender_; 182 scoped_refptr<ThreadSafeSender> thread_safe_sender_;
181 183
182 scoped_refptr<cc::ContextProvider> shared_offscreen_context_; 184 scoped_refptr<cc::ContextProvider> shared_offscreen_context_;
183 185
184 webkit::WebCompositorSupportImpl compositor_support_; 186 webkit::WebCompositorSupportImpl compositor_support_;
185 }; 187 };
186 188
187 } // namespace content 189 } // namespace content
188 190
189 #endif // CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ 191 #endif // CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698