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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 virtual void getPluginList(bool refresh, | 89 virtual void getPluginList(bool refresh, |
90 blink::WebPluginListBuilder* builder); | 90 blink::WebPluginListBuilder* builder); |
91 virtual void screenColorProfile(blink::WebVector<char>* to_profile); | 91 virtual void screenColorProfile(blink::WebVector<char>* to_profile); |
92 virtual blink::WebIDBFactory* idbFactory(); | 92 virtual blink::WebIDBFactory* idbFactory(); |
93 virtual blink::WebFileSystem* fileSystem(); | 93 virtual blink::WebFileSystem* fileSystem(); |
94 virtual bool canAccelerate2dCanvas(); | 94 virtual bool canAccelerate2dCanvas(); |
95 virtual bool isThreadedCompositingEnabled(); | 95 virtual bool isThreadedCompositingEnabled(); |
96 virtual double audioHardwareSampleRate(); | 96 virtual double audioHardwareSampleRate(); |
97 virtual size_t audioHardwareBufferSize(); | 97 virtual size_t audioHardwareBufferSize(); |
98 virtual unsigned audioHardwareOutputChannels(); | 98 virtual unsigned audioHardwareOutputChannels(); |
99 virtual blink::WebPlatformDatabaseObserver* databaseObserver(); | 99 virtual blink::WebDatabaseObserver* databaseObserver(); |
100 | 100 |
101 // TODO(crogers): remove deprecated API as soon as WebKit calls new API. | 101 // TODO(crogers): remove deprecated API as soon as WebKit calls new API. |
102 virtual blink::WebAudioDevice* createAudioDevice( | 102 virtual blink::WebAudioDevice* createAudioDevice( |
103 size_t buffer_size, unsigned channels, double sample_rate, | 103 size_t buffer_size, unsigned channels, double sample_rate, |
104 blink::WebAudioDevice::RenderCallback* callback); | 104 blink::WebAudioDevice::RenderCallback* callback); |
105 // TODO(crogers): remove deprecated API as soon as WebKit calls new API. | 105 // TODO(crogers): remove deprecated API as soon as WebKit calls new API. |
106 virtual blink::WebAudioDevice* createAudioDevice( | 106 virtual blink::WebAudioDevice* createAudioDevice( |
107 size_t buffer_size, unsigned input_channels, unsigned channels, | 107 size_t buffer_size, unsigned input_channels, unsigned channels, |
108 double sample_rate, blink::WebAudioDevice::RenderCallback* callback); | 108 double sample_rate, blink::WebAudioDevice::RenderCallback* callback); |
109 | 109 |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
214 scoped_ptr<WebDatabaseObserverImpl> web_database_observer_impl_; | 214 scoped_ptr<WebDatabaseObserverImpl> web_database_observer_impl_; |
215 | 215 |
216 webkit::WebCompositorSupportImpl compositor_support_; | 216 webkit::WebCompositorSupportImpl compositor_support_; |
217 | 217 |
218 scoped_ptr<WebCryptoImpl> web_crypto_; | 218 scoped_ptr<WebCryptoImpl> web_crypto_; |
219 }; | 219 }; |
220 | 220 |
221 } // namespace content | 221 } // namespace content |
222 | 222 |
223 #endif // CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ | 223 #endif // CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ |
OLD | NEW |