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

Unified Diff: third_party/WebKit/Source/modules/webaudio/WindowWebAudio.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/WindowWebAudio.idl
diff --git a/third_party/WebKit/Source/modules/webaudio/WindowWebAudio.idl b/third_party/WebKit/Source/modules/webaudio/WindowWebAudio.idl
index 0a5bb07dbf6a857e77c3c9905f6e104765b374a9..28b744d9d389512ac2d42bc320738acf753eda04 100644
--- a/third_party/WebKit/Source/modules/webaudio/WindowWebAudio.idl
+++ b/third_party/WebKit/Source/modules/webaudio/WindowWebAudio.idl
@@ -9,4 +9,23 @@
[MeasureAs=OfflineAudioContext] attribute OfflineAudioContextConstructor OfflineAudioContext;
[DeprecateAs=PrefixedAudioContext] attribute AudioContextConstructor webkitAudioContext;
[DeprecateAs=PrefixedOfflineAudioContext] attribute OfflineAudioContextConstructor webkitOfflineAudioContext;
+
+ // The individual constructible AudioNodes.
+ [MeasureAs=AnalyserNode] attribute AnalyserNodeConstructor AnalyserNode;
+ [MeasureAs=AudioBuffer] attribute AudioBufferConstructor AudioBuffer;
+ [MeasureAs=AudioBufferSourceNode] attribute AudioBufferSourceNodeConstructor AudioBufferSourceNode;
+ [MeasureAs=BiquadFilterNode] attribute BiquadFilterNodeConstructor BiquadFilterNode;
+ [MeasureAs=ChannelMergerNode] attribute ChannelMergerNodeConstructor ChannelMergerNode;
+ [MeasureAs=ChannelSplitterNode] attribute ChannelSplitterNodeConstructor ChannelSplitterNode;
+ [MeasureAs=ConvolverNode] attribute ConvolverNodeConstructor ConvolverNode;
+ [MeasureAs=DelayNode] attribute DelayNodeConstructor DelayNode;
+ [MeasureAs=DynamicsCompressorNode] attribute DynamicsCompressorNodeConstructor DynamicsCompressorNode;
+ [MeasureAs=GainNode] attribute GainNodeConstructor GainNode;
+ [MeasureAs=IIRFilterNode] attribute IIRFilterNodeConstructor IIRFilterNode;
+ [MeasureAs=MediaElementAudioSourceNode] attribute MediaElementAudioSourceNodeConstructor MediaElementAudioSourceNode;
+ [MeasureAs=OscillatorNode] attribute OscillatorNodeConstructor OscillatorNode;
+ [MeasureAs=PannerNode] attribute PannerNodeConstructor PannerNode;
+ [MeasureAs=PeriodicWave] attribute PeriodicWaveConstructor PeriodicWave;
+ [MeasureAs=StereoPannerNode] attribute StereoPannerNodeConstructor StereoPannerNode;
+ [MeasureAs=WaveShaperNode] attribute WaveShaperNodeConstructor WaveShaperNode;
};

Powered by Google App Engine
This is Rietveld 408576698