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

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: use int64 in ParamTraits 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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 // TODO(crogers): remove deprecated API as soon as WebKit calls new API. 97 // TODO(crogers): remove deprecated API as soon as WebKit calls new API.
98 virtual WebKit::WebAudioDevice* createAudioDevice( 98 virtual WebKit::WebAudioDevice* createAudioDevice(
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::WebMIDIAccessor*
108 createMIDIAccessor(WebKit::WebMIDIAccessor::Client* client);
109
107 virtual WebKit::WebBlobRegistry* blobRegistry(); 110 virtual WebKit::WebBlobRegistry* blobRegistry();
108 virtual void sampleGamepads(WebKit::WebGamepads&); 111 virtual void sampleGamepads(WebKit::WebGamepads&);
109 virtual WebKit::WebString userAgent(const WebKit::WebURL& url); 112 virtual WebKit::WebString userAgent(const WebKit::WebURL& url);
110 virtual void GetPlugins(bool refresh, 113 virtual void GetPlugins(bool refresh,
111 std::vector<webkit::WebPluginInfo>* plugins) OVERRIDE; 114 std::vector<webkit::WebPluginInfo>* plugins) OVERRIDE;
112 virtual WebKit::WebRTCPeerConnectionHandler* createRTCPeerConnectionHandler( 115 virtual WebKit::WebRTCPeerConnectionHandler* createRTCPeerConnectionHandler(
113 WebKit::WebRTCPeerConnectionHandlerClient* client); 116 WebKit::WebRTCPeerConnectionHandlerClient* client);
114 virtual WebKit::WebMediaStreamCenter* createMediaStreamCenter( 117 virtual WebKit::WebMediaStreamCenter* createMediaStreamCenter(
115 WebKit::WebMediaStreamCenterClient* client); 118 WebKit::WebMediaStreamCenterClient* client);
116 virtual bool processMemorySizesInBytes( 119 virtual bool processMemorySizesInBytes(
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 scoped_refptr<ThreadSafeSender> thread_safe_sender_; 178 scoped_refptr<ThreadSafeSender> thread_safe_sender_;
176 179
177 scoped_refptr<cc::ContextProvider> shared_offscreen_context_; 180 scoped_refptr<cc::ContextProvider> shared_offscreen_context_;
178 181
179 webkit::WebCompositorSupportImpl compositor_support_; 182 webkit::WebCompositorSupportImpl compositor_support_;
180 }; 183 };
181 184
182 } // namespace content 185 } // namespace content
183 186
184 #endif // CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ 187 #endif // CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698