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

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

Issue 2750543003: Support AudioContextOptions latencyHint as double. (Closed)
Patch Set: Created 3 years, 9 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 0764782e713aef8cdfad818e125e5f9222553b6f..e84f1908945d10434acb04d099e3a2148ef63ebb 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