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::WebCDM* createCDM(const WebKit::WebString& keySystem); |
| 108 |
107 virtual WebKit::WebBlobRegistry* blobRegistry(); | 109 virtual WebKit::WebBlobRegistry* blobRegistry(); |
108 virtual void sampleGamepads(WebKit::WebGamepads&); | 110 virtual void sampleGamepads(WebKit::WebGamepads&); |
109 virtual WebKit::WebString userAgent(const WebKit::WebURL& url); | 111 virtual WebKit::WebString userAgent(const WebKit::WebURL& url); |
110 virtual void GetPlugins(bool refresh, | 112 virtual void GetPlugins(bool refresh, |
111 std::vector<webkit::WebPluginInfo>* plugins) OVERRIDE; | 113 std::vector<webkit::WebPluginInfo>* plugins) OVERRIDE; |
112 virtual WebKit::WebRTCPeerConnectionHandler* createRTCPeerConnectionHandler( | 114 virtual WebKit::WebRTCPeerConnectionHandler* createRTCPeerConnectionHandler( |
113 WebKit::WebRTCPeerConnectionHandlerClient* client); | 115 WebKit::WebRTCPeerConnectionHandlerClient* client); |
114 virtual WebKit::WebMediaStreamCenter* createMediaStreamCenter( | 116 virtual WebKit::WebMediaStreamCenter* createMediaStreamCenter( |
115 WebKit::WebMediaStreamCenterClient* client); | 117 WebKit::WebMediaStreamCenterClient* client); |
116 virtual bool processMemorySizesInBytes( | 118 virtual bool processMemorySizesInBytes( |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 scoped_refptr<ThreadSafeSender> thread_safe_sender_; | 177 scoped_refptr<ThreadSafeSender> thread_safe_sender_; |
176 | 178 |
177 scoped_refptr<cc::ContextProvider> shared_offscreen_context_; | 179 scoped_refptr<cc::ContextProvider> shared_offscreen_context_; |
178 | 180 |
179 webkit::WebCompositorSupportImpl compositor_support_; | 181 webkit::WebCompositorSupportImpl compositor_support_; |
180 }; | 182 }; |
181 | 183 |
182 } // namespace content | 184 } // namespace content |
183 | 185 |
184 #endif // CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ | 186 #endif // CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ |
OLD | NEW |