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

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

Issue 2501863003: Support for AudioContextOptions latencyHint. (Closed)
Patch Set: Created 4 years, 1 month 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 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 134
135 bool isThreadedCompositingEnabled() override; 135 bool isThreadedCompositingEnabled() override;
136 bool isThreadedAnimationEnabled() override; 136 bool isThreadedAnimationEnabled() override;
137 bool isGPUCompositingEnabled() override; 137 bool isGPUCompositingEnabled() override;
138 double audioHardwareSampleRate() override; 138 double audioHardwareSampleRate() override;
139 size_t audioHardwareBufferSize() override; 139 size_t audioHardwareBufferSize() override;
140 unsigned audioHardwareOutputChannels() override; 140 unsigned audioHardwareOutputChannels() override;
141 blink::WebDatabaseObserver* databaseObserver() override; 141 blink::WebDatabaseObserver* databaseObserver() override;
142 142
143 blink::WebAudioDevice* createAudioDevice( 143 blink::WebAudioDevice* createAudioDevice(
144 size_t buffer_size,
145 unsigned input_channels, 144 unsigned input_channels,
146 unsigned channels, 145 unsigned channels,
147 double sample_rate, 146 const blink::WebAudioLatencyHint& latency_hint,
148 blink::WebAudioDevice::RenderCallback* callback, 147 blink::WebAudioDevice::RenderCallback* callback,
149 const blink::WebString& input_device_id, 148 const blink::WebString& input_device_id,
150 const blink::WebSecurityOrigin& security_origin) override; 149 const blink::WebSecurityOrigin& security_origin) override;
151 150
152 bool loadAudioResource(blink::WebAudioBus* destination_bus, 151 bool loadAudioResource(blink::WebAudioBus* destination_bus,
153 const char* audio_file_data, 152 const char* audio_file_data,
154 size_t data_size) override; 153 size_t data_size) override;
155 154
156 blink::WebMIDIAccessor* createMIDIAccessor( 155 blink::WebMIDIAccessor* createMIDIAccessor(
157 blink::WebMIDIAccessorClient* client) override; 156 blink::WebMIDIAccessorClient* client) override;
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 std::unique_ptr<BlinkInterfaceProviderImpl> blink_interface_provider_; 300 std::unique_ptr<BlinkInterfaceProviderImpl> blink_interface_provider_;
302 301
303 mojom::URLLoaderFactoryAssociatedPtr url_loader_factory_; 302 mojom::URLLoaderFactoryAssociatedPtr url_loader_factory_;
304 303
305 DISALLOW_COPY_AND_ASSIGN(RendererBlinkPlatformImpl); 304 DISALLOW_COPY_AND_ASSIGN(RendererBlinkPlatformImpl);
306 }; 305 };
307 306
308 } // namespace content 307 } // namespace content
309 308
310 #endif // CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_ 309 #endif // CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698