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); | |
112 | 110 |
113 virtual WebKit::WebBlobRegistry* blobRegistry(); | 111 virtual WebKit::WebBlobRegistry* blobRegistry(); |
114 virtual void sampleGamepads(WebKit::WebGamepads&); | 112 virtual void sampleGamepads(WebKit::WebGamepads&); |
115 virtual WebKit::WebString userAgent(const WebKit::WebURL& url); | 113 virtual WebKit::WebString userAgent(const WebKit::WebURL& url); |
116 virtual void GetPlugins(bool refresh, | 114 virtual void GetPlugins(bool refresh, |
117 std::vector<webkit::WebPluginInfo>* plugins) OVERRIDE; | 115 std::vector<webkit::WebPluginInfo>* plugins) OVERRIDE; |
118 virtual WebKit::WebRTCPeerConnectionHandler* createRTCPeerConnectionHandler( | 116 virtual WebKit::WebRTCPeerConnectionHandler* createRTCPeerConnectionHandler( |
119 WebKit::WebRTCPeerConnectionHandlerClient* client); | 117 WebKit::WebRTCPeerConnectionHandlerClient* client); |
120 virtual WebKit::WebMediaStreamCenter* createMediaStreamCenter( | 118 virtual WebKit::WebMediaStreamCenter* createMediaStreamCenter( |
121 WebKit::WebMediaStreamCenterClient* client); | 119 WebKit::WebMediaStreamCenterClient* client); |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
183 scoped_refptr<ThreadSafeSender> thread_safe_sender_; | 181 scoped_refptr<ThreadSafeSender> thread_safe_sender_; |
184 | 182 |
185 scoped_refptr<cc::ContextProvider> shared_offscreen_context_; | 183 scoped_refptr<cc::ContextProvider> shared_offscreen_context_; |
186 | 184 |
187 webkit::WebCompositorSupportImpl compositor_support_; | 185 webkit::WebCompositorSupportImpl compositor_support_; |
188 }; | 186 }; |
189 | 187 |
190 } // namespace content | 188 } // namespace content |
191 | 189 |
192 #endif // CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ | 190 #endif // CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ |
OLD | NEW |