| 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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 unsigned key_size_index, | 66 unsigned key_size_index, |
| 67 const WebKit::WebString& challenge, | 67 const WebKit::WebString& challenge, |
| 68 const WebKit::WebURL& url); | 68 const WebKit::WebURL& url); |
| 69 virtual void screenColorProfile(WebKit::WebVector<char>* to_profile); | 69 virtual void screenColorProfile(WebKit::WebVector<char>* to_profile); |
| 70 virtual WebKit::WebIDBFactory* idbFactory(); | 70 virtual WebKit::WebIDBFactory* idbFactory(); |
| 71 virtual WebKit::WebFileSystem* fileSystem(); | 71 virtual WebKit::WebFileSystem* fileSystem(); |
| 72 virtual WebKit::WebSharedWorkerRepository* sharedWorkerRepository(); | 72 virtual WebKit::WebSharedWorkerRepository* sharedWorkerRepository(); |
| 73 virtual bool canAccelerate2dCanvas(); | 73 virtual bool canAccelerate2dCanvas(); |
| 74 virtual double audioHardwareSampleRate(); | 74 virtual double audioHardwareSampleRate(); |
| 75 virtual size_t audioHardwareBufferSize(); | 75 virtual size_t audioHardwareBufferSize(); |
| 76 |
| 77 // TODO(crogers): remove deprecated API as soon as WebKit calls new API. |
| 76 virtual WebKit::WebAudioDevice* createAudioDevice( | 78 virtual WebKit::WebAudioDevice* createAudioDevice( |
| 77 size_t buffer_size, unsigned channels, double sample_rate, | 79 size_t buffer_size, unsigned channels, double sample_rate, |
| 78 WebKit::WebAudioDevice::RenderCallback* callback); | 80 WebKit::WebAudioDevice::RenderCallback* callback); |
| 81 virtual WebKit::WebAudioDevice* createAudioDevice( |
| 82 size_t buffer_size, unsigned input_channels, unsigned channels, |
| 83 double sample_rate, WebKit::WebAudioDevice::RenderCallback* callback); |
| 84 |
| 79 virtual WebKit::WebBlobRegistry* blobRegistry(); | 85 virtual WebKit::WebBlobRegistry* blobRegistry(); |
| 80 virtual void sampleGamepads(WebKit::WebGamepads&); | 86 virtual void sampleGamepads(WebKit::WebGamepads&); |
| 81 virtual WebKit::WebString userAgent(const WebKit::WebURL& url); | 87 virtual WebKit::WebString userAgent(const WebKit::WebURL& url); |
| 82 virtual void GetPlugins(bool refresh, | 88 virtual void GetPlugins(bool refresh, |
| 83 std::vector<webkit::WebPluginInfo>* plugins) OVERRIDE; | 89 std::vector<webkit::WebPluginInfo>* plugins) OVERRIDE; |
| 84 virtual WebKit::WebRTCPeerConnectionHandler* createRTCPeerConnectionHandler( | 90 virtual WebKit::WebRTCPeerConnectionHandler* createRTCPeerConnectionHandler( |
| 85 WebKit::WebRTCPeerConnectionHandlerClient* client); | 91 WebKit::WebRTCPeerConnectionHandlerClient* client); |
| 86 virtual WebKit::WebMediaStreamCenter* createMediaStreamCenter( | 92 virtual WebKit::WebMediaStreamCenter* createMediaStreamCenter( |
| 87 WebKit::WebMediaStreamCenterClient* client); | 93 WebKit::WebMediaStreamCenterClient* client); |
| 88 virtual bool canHyphenate(const WebKit::WebString& locale); | 94 virtual bool canHyphenate(const WebKit::WebString& locale); |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 scoped_ptr<WebKit::WebBlobRegistry> blob_registry_; | 147 scoped_ptr<WebKit::WebBlobRegistry> blob_registry_; |
| 142 | 148 |
| 143 scoped_ptr<GamepadSharedMemoryReader> gamepad_shared_memory_reader_; | 149 scoped_ptr<GamepadSharedMemoryReader> gamepad_shared_memory_reader_; |
| 144 | 150 |
| 145 scoped_ptr<content::Hyphenator> hyphenator_; | 151 scoped_ptr<content::Hyphenator> hyphenator_; |
| 146 }; | 152 }; |
| 147 | 153 |
| 148 } // namespace content | 154 } // namespace content |
| 149 | 155 |
| 150 #endif // CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ | 156 #endif // CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ |
| OLD | NEW |