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

Unified Diff: third_party/WebKit/Source/modules/webaudio/OfflineAudioContext.h

Issue 2713793004: Add dictionary for OfflineAudioContext constructor (Closed)
Patch Set: Rebase Created 3 years, 5 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: third_party/WebKit/Source/modules/webaudio/OfflineAudioContext.h
diff --git a/third_party/WebKit/Source/modules/webaudio/OfflineAudioContext.h b/third_party/WebKit/Source/modules/webaudio/OfflineAudioContext.h
index 165d5557f9c897b0f3e70f0c29d16eba652d7bcd..b8dd28cb7b0d258bbc01c32968ca403aaaa5d4fb 100644
--- a/third_party/WebKit/Source/modules/webaudio/OfflineAudioContext.h
+++ b/third_party/WebKit/Source/modules/webaudio/OfflineAudioContext.h
@@ -33,6 +33,7 @@
namespace blink {
class ExceptionState;
+class OfflineAudioContextOptions;
class OfflineAudioDestinationHandler;
class MODULES_EXPORT OfflineAudioContext final : public BaseAudioContext {
@@ -45,6 +46,10 @@ class MODULES_EXPORT OfflineAudioContext final : public BaseAudioContext {
float sample_rate,
ExceptionState&);
+ static OfflineAudioContext* Create(ExecutionContext*,
+ const OfflineAudioContextOptions&,
+ ExceptionState&);
+
~OfflineAudioContext() override;
DECLARE_VIRTUAL_TRACE();

Powered by Google App Engine
This is Rietveld 408576698