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_BLINK_PLATFORM_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_ |
6 #define CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_ | 6 #define CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 | 135 |
136 bool isThreadedCompositingEnabled() override; | 136 bool isThreadedCompositingEnabled() override; |
137 bool isThreadedAnimationEnabled() override; | 137 bool isThreadedAnimationEnabled() override; |
138 bool isGPUCompositingEnabled() override; | 138 bool isGPUCompositingEnabled() override; |
139 double audioHardwareSampleRate() override; | 139 double audioHardwareSampleRate() override; |
140 size_t audioHardwareBufferSize() override; | 140 size_t audioHardwareBufferSize() override; |
141 unsigned audioHardwareOutputChannels() override; | 141 unsigned audioHardwareOutputChannels() override; |
142 blink::WebDatabaseObserver* databaseObserver() override; | 142 blink::WebDatabaseObserver* databaseObserver() override; |
143 | 143 |
144 blink::WebAudioDevice* createAudioDevice( | 144 blink::WebAudioDevice* createAudioDevice( |
145 size_t buffer_size, | |
146 unsigned input_channels, | 145 unsigned input_channels, |
147 unsigned channels, | 146 unsigned channels, |
148 double sample_rate, | 147 const blink::WebAudioLatencyHint& latency_hint, |
149 blink::WebAudioDevice::RenderCallback* callback, | 148 blink::WebAudioDevice::RenderCallback* callback, |
150 const blink::WebString& input_device_id, | 149 const blink::WebString& input_device_id, |
151 const blink::WebSecurityOrigin& security_origin) override; | 150 const blink::WebSecurityOrigin& security_origin) override; |
152 | 151 |
153 bool loadAudioResource(blink::WebAudioBus* destination_bus, | 152 bool loadAudioResource(blink::WebAudioBus* destination_bus, |
154 const char* audio_file_data, | 153 const char* audio_file_data, |
155 size_t data_size) override; | 154 size_t data_size) override; |
156 | 155 |
157 blink::WebMIDIAccessor* createMIDIAccessor( | 156 blink::WebMIDIAccessor* createMIDIAccessor( |
158 blink::WebMIDIAccessorClient* client) override; | 157 blink::WebMIDIAccessorClient* client) override; |
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
302 std::unique_ptr<BlinkInterfaceProviderImpl> blink_interface_provider_; | 301 std::unique_ptr<BlinkInterfaceProviderImpl> blink_interface_provider_; |
303 | 302 |
304 mojom::URLLoaderFactoryAssociatedPtr url_loader_factory_; | 303 mojom::URLLoaderFactoryAssociatedPtr url_loader_factory_; |
305 | 304 |
306 DISALLOW_COPY_AND_ASSIGN(RendererBlinkPlatformImpl); | 305 DISALLOW_COPY_AND_ASSIGN(RendererBlinkPlatformImpl); |
307 }; | 306 }; |
308 | 307 |
309 } // namespace content | 308 } // namespace content |
310 | 309 |
311 #endif // CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_ | 310 #endif // CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_ |
OLD | NEW |