Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(490)

Side by Side Diff: content/renderer/renderer_blink_platform_impl.h

Issue 2501863003: Support for AudioContextOptions latencyHint. (Closed)
Patch Set: Fix WebAudioDeviceImpl unit test on Android. Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 130
131 bool isThreadedCompositingEnabled() override; 131 bool isThreadedCompositingEnabled() override;
132 bool isThreadedAnimationEnabled() override; 132 bool isThreadedAnimationEnabled() override;
133 bool isGPUCompositingEnabled() override; 133 bool isGPUCompositingEnabled() override;
134 double audioHardwareSampleRate() override; 134 double audioHardwareSampleRate() override;
135 size_t audioHardwareBufferSize() override; 135 size_t audioHardwareBufferSize() override;
136 unsigned audioHardwareOutputChannels() override; 136 unsigned audioHardwareOutputChannels() override;
137 blink::WebDatabaseObserver* databaseObserver() override; 137 blink::WebDatabaseObserver* databaseObserver() override;
138 138
139 blink::WebAudioDevice* createAudioDevice( 139 blink::WebAudioDevice* createAudioDevice(
140 size_t buffer_size,
141 unsigned input_channels, 140 unsigned input_channels,
142 unsigned channels, 141 unsigned channels,
143 double sample_rate, 142 const blink::WebAudioLatencyHint& latency_hint,
144 blink::WebAudioDevice::RenderCallback* callback, 143 blink::WebAudioDevice::RenderCallback* callback,
145 const blink::WebString& input_device_id, 144 const blink::WebString& input_device_id,
146 const blink::WebSecurityOrigin& security_origin) override; 145 const blink::WebSecurityOrigin& security_origin) override;
147 146
148 bool loadAudioResource(blink::WebAudioBus* destination_bus, 147 bool loadAudioResource(blink::WebAudioBus* destination_bus,
149 const char* audio_file_data, 148 const char* audio_file_data,
150 size_t data_size) override; 149 size_t data_size) override;
151 150
152 blink::WebMIDIAccessor* createMIDIAccessor( 151 blink::WebMIDIAccessor* createMIDIAccessor(
153 blink::WebMIDIAccessorClient* client) override; 152 blink::WebMIDIAccessorClient* client) override;
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
297 std::unique_ptr<BlinkInterfaceProviderImpl> blink_interface_provider_; 296 std::unique_ptr<BlinkInterfaceProviderImpl> blink_interface_provider_;
298 297
299 mojom::URLLoaderFactoryAssociatedPtr url_loader_factory_; 298 mojom::URLLoaderFactoryAssociatedPtr url_loader_factory_;
300 299
301 DISALLOW_COPY_AND_ASSIGN(RendererBlinkPlatformImpl); 300 DISALLOW_COPY_AND_ASSIGN(RendererBlinkPlatformImpl);
302 }; 301 };
303 302
304 } // namespace content 303 } // namespace content
305 304
306 #endif // CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_ 305 #endif // CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698