| 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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 bool isThreadedCompositingEnabled(); | 74 virtual bool isThreadedCompositingEnabled(); |
| 75 virtual double audioHardwareSampleRate(); | 75 virtual double audioHardwareSampleRate(); |
| 76 virtual size_t audioHardwareBufferSize(); | 76 virtual size_t audioHardwareBufferSize(); |
| 77 virtual unsigned audioHardwareOutputChannels(); |
| 77 | 78 |
| 78 // TODO(crogers): remove deprecated API as soon as WebKit calls new API. | 79 // TODO(crogers): remove deprecated API as soon as WebKit calls new API. |
| 79 virtual WebKit::WebAudioDevice* createAudioDevice( | 80 virtual WebKit::WebAudioDevice* createAudioDevice( |
| 80 size_t buffer_size, unsigned channels, double sample_rate, | 81 size_t buffer_size, unsigned channels, double sample_rate, |
| 81 WebKit::WebAudioDevice::RenderCallback* callback); | 82 WebKit::WebAudioDevice::RenderCallback* callback); |
| 82 // TODO(crogers): remove deprecated API as soon as WebKit calls new API. | 83 // TODO(crogers): remove deprecated API as soon as WebKit calls new API. |
| 83 virtual WebKit::WebAudioDevice* createAudioDevice( | 84 virtual WebKit::WebAudioDevice* createAudioDevice( |
| 84 size_t buffer_size, unsigned input_channels, unsigned channels, | 85 size_t buffer_size, unsigned input_channels, unsigned channels, |
| 85 double sample_rate, WebKit::WebAudioDevice::RenderCallback* callback); | 86 double sample_rate, WebKit::WebAudioDevice::RenderCallback* callback); |
| 86 | 87 |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 152 scoped_ptr<WebFileSystemImpl> web_file_system_; | 153 scoped_ptr<WebFileSystemImpl> web_file_system_; |
| 153 | 154 |
| 154 scoped_ptr<WebKit::WebBlobRegistry> blob_registry_; | 155 scoped_ptr<WebKit::WebBlobRegistry> blob_registry_; |
| 155 | 156 |
| 156 scoped_ptr<GamepadSharedMemoryReader> gamepad_shared_memory_reader_; | 157 scoped_ptr<GamepadSharedMemoryReader> gamepad_shared_memory_reader_; |
| 157 }; | 158 }; |
| 158 | 159 |
| 159 } // namespace content | 160 } // namespace content |
| 160 | 161 |
| 161 #endif // CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ | 162 #endif // CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ |
| OLD | NEW |