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

Unified Diff: third_party/WebKit/Source/modules/webaudio/PeriodicWave.idl

Issue 2102133002: Add constructors for WebAudio nodes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase and prefix use counter names with WebAudio Created 4 years, 3 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/PeriodicWave.idl
diff --git a/third_party/WebKit/Source/modules/webaudio/PeriodicWave.idl b/third_party/WebKit/Source/modules/webaudio/PeriodicWave.idl
index 79e8284f3338aed4201cd7671e8317afaad2994e..0a36c9d63ec6f0ce37be74a80c0a3f52dde2a8e1 100644
--- a/third_party/WebKit/Source/modules/webaudio/PeriodicWave.idl
+++ b/third_party/WebKit/Source/modules/webaudio/PeriodicWave.idl
@@ -23,6 +23,10 @@
*/
// PeriodicWave represents a periodic audio waveform given by its Fourier coefficients.
+// See https://webaudio.github.io/web-audio-api/#the-periodicwave-interface
+[
+ Constructor(BaseAudioContext context, optional PeriodicWaveOptions options),
+ RaisesException=Constructor,
+]
interface PeriodicWave {
-
};

Powered by Google App Engine
This is Rietveld 408576698