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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
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::WebContentDecryptionModule*createContentDecryptionModule( | |
jamesr
2013/06/12 20:40:49
missing a space
ddorwin
2013/06/12 21:13:00
Done.
| |
108 const WebKit::WebString& key_system); | |
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 Loading... | |
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_ |
OLD | NEW |