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

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

Issue 2750543003: Support AudioContextOptions latencyHint as double. (Closed)
Patch Set: Refactor audiocontextoptions LayoutTest. 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
« no previous file with comments | « no previous file | content/public/renderer/content_renderer_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 d544fb7fb58f3fa2d473792f4156023afed79658..4fed0b563914910bd1e831843d58c5377bacc203 100644
--- a/content/public/renderer/content_renderer_client.h
+++ b/content/public/renderer/content_renderer_client.h
@@ -34,6 +34,7 @@ class FilePath;
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.
« no previous file with comments | « no previous file | content/public/renderer/content_renderer_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698