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

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 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 cc45bbb591fe9367e9510e5acc8b2bfefae0416f..10108a0819623041b4817bf357d803627407a780 100644
--- a/third_party/WebKit/Source/modules/webaudio/PeriodicWave.idl
+++ b/third_party/WebKit/Source/modules/webaudio/PeriodicWave.idl
@@ -23,7 +23,11 @@
*/
// PeriodicWave represents a periodic audio waveform given by its Fourier coefficients.
+// See https://webaudio.github.io/web-audio-api/#the-periodicwave-interface
[
-] interface PeriodicWave {
+ Constructor(BaseAudioContext context, optional PeriodicWaveOptions options),
+ RaisesException=Constructor,
+]
+interface PeriodicWave {
};

Powered by Google App Engine
This is Rietveld 408576698