OLD | NEW |
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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 size_t buffer_size, unsigned input_channels, unsigned channels, | 100 size_t buffer_size, unsigned input_channels, unsigned channels, |
101 double sample_rate, WebKit::WebAudioDevice::RenderCallback* callback, | 101 double sample_rate, WebKit::WebAudioDevice::RenderCallback* callback, |
102 const WebKit::WebString& input_device_id); | 102 const WebKit::WebString& input_device_id); |
103 | 103 |
104 virtual bool loadAudioResource( | 104 virtual bool loadAudioResource( |
105 WebKit::WebAudioBus* destination_bus, const char* audio_file_data, | 105 WebKit::WebAudioBus* destination_bus, const char* audio_file_data, |
106 size_t data_size, double sample_rate); | 106 size_t data_size, double sample_rate); |
107 | 107 |
108 virtual WebKit::WebContentDecryptionModule* createContentDecryptionModule( | 108 virtual WebKit::WebContentDecryptionModule* createContentDecryptionModule( |
109 const WebKit::WebString& key_system); | 109 const WebKit::WebString& key_system); |
| 110 virtual WebKit::WebMIDIAccessor* |
| 111 createMIDIAccessor(WebKit::WebMIDIAccessorClient* client); |
110 | 112 |
111 virtual WebKit::WebBlobRegistry* blobRegistry(); | 113 virtual WebKit::WebBlobRegistry* blobRegistry(); |
112 virtual void sampleGamepads(WebKit::WebGamepads&); | 114 virtual void sampleGamepads(WebKit::WebGamepads&); |
113 virtual WebKit::WebString userAgent(const WebKit::WebURL& url); | 115 virtual WebKit::WebString userAgent(const WebKit::WebURL& url); |
114 virtual void GetPlugins(bool refresh, | 116 virtual void GetPlugins(bool refresh, |
115 std::vector<webkit::WebPluginInfo>* plugins) OVERRIDE; | 117 std::vector<webkit::WebPluginInfo>* plugins) OVERRIDE; |
116 virtual WebKit::WebRTCPeerConnectionHandler* createRTCPeerConnectionHandler( | 118 virtual WebKit::WebRTCPeerConnectionHandler* createRTCPeerConnectionHandler( |
117 WebKit::WebRTCPeerConnectionHandlerClient* client); | 119 WebKit::WebRTCPeerConnectionHandlerClient* client); |
118 virtual WebKit::WebMediaStreamCenter* createMediaStreamCenter( | 120 virtual WebKit::WebMediaStreamCenter* createMediaStreamCenter( |
119 WebKit::WebMediaStreamCenterClient* client); | 121 WebKit::WebMediaStreamCenterClient* client); |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
181 scoped_refptr<ThreadSafeSender> thread_safe_sender_; | 183 scoped_refptr<ThreadSafeSender> thread_safe_sender_; |
182 | 184 |
183 scoped_refptr<cc::ContextProvider> shared_offscreen_context_; | 185 scoped_refptr<cc::ContextProvider> shared_offscreen_context_; |
184 | 186 |
185 webkit::WebCompositorSupportImpl compositor_support_; | 187 webkit::WebCompositorSupportImpl compositor_support_; |
186 }; | 188 }; |
187 | 189 |
188 } // namespace content | 190 } // namespace content |
189 | 191 |
190 #endif // CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ | 192 #endif // CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ |
OLD | NEW |