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

Unified Diff: content/public/renderer/content_renderer_client.h

Issue 2750543003: Support AudioContextOptions latencyHint as double. (Closed)
Patch Set: Update TODO with userid and crbug. Created 3 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: content/public/renderer/content_renderer_client.h
diff --git a/content/public/renderer/content_renderer_client.h b/content/public/renderer/content_renderer_client.h
index 78543f883ce061fd47b90459db6f184551651c57..aa460c2dac5fce377acb438b0e57ac2bc54781fe 100644
--- a/content/public/renderer/content_renderer_client.h
+++ b/content/public/renderer/content_renderer_client.h
@@ -34,6 +34,7 @@ class SchedulerWorkerPoolParams;
namespace blink {
class WebAudioDevice;
+class WebAudioLatencyHint;
class WebClipboard;
class WebFrame;
class WebLocalFrame;
@@ -171,7 +172,8 @@ class CONTENT_EXPORT ContentRendererClient {
// Allows the embedder to override creating a WebAudioDevice. If it
// returns NULL the content layer will create the audio device.
- virtual blink::WebAudioDevice* OverrideCreateAudioDevice();
+ virtual blink::WebAudioDevice* OverrideCreateAudioDevice(
+ const blink::WebAudioLatencyHint& latency_hint);
// Allows the embedder to override the blink::WebClipboard used. If it
// returns NULL the content layer will handle clipboard interactions.

Powered by Google App Engine
This is Rietveld 408576698