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

Unified Diff: third_party/WebCore/Modules/webaudio/AudioContext.idl

Issue 11363035: Roll IDLs forward. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 1 month 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/WebCore/Modules/webaudio/AudioContext.idl
diff --git a/third_party/WebCore/Modules/webaudio/AudioContext.idl b/third_party/WebCore/Modules/webaudio/AudioContext.idl
index 8ee2dc29d0a94b1d9f52f5379d76641d8988d584..00f49cfe3435ceff84e7921f45cb9e996237c0aa 100644
--- a/third_party/WebCore/Modules/webaudio/AudioContext.idl
+++ b/third_party/WebCore/Modules/webaudio/AudioContext.idl
@@ -69,15 +69,15 @@
#endif
// Processing nodes
- GainNode createGainNode();
- DelayNode createDelayNode(in [Optional] double maxDelayTime);
+ GainNode createGain();
+ DelayNode createDelay(in [Optional] double maxDelayTime);
BiquadFilterNode createBiquadFilter();
WaveShaperNode createWaveShaper();
PannerNode createPanner();
ConvolverNode createConvolver();
DynamicsCompressorNode createDynamicsCompressor();
AnalyserNode createAnalyser();
- ScriptProcessorNode createJavaScriptNode(in unsigned long bufferSize, in [Optional] unsigned long numberOfInputChannels, in [Optional] unsigned long numberOfOutputChannels)
+ ScriptProcessorNode createScriptProcessor(in unsigned long bufferSize, in [Optional] unsigned long numberOfInputChannels, in [Optional] unsigned long numberOfOutputChannels)
raises(DOMException);
OscillatorNode createOscillator();
WaveTable createWaveTable(in Float32Array real, in Float32Array imag)
@@ -93,4 +93,13 @@
// void prepareOfflineBufferRendering(in unsigned long numberOfChannels, in unsigned long numberOfFrames, in float sampleRate);
attribute EventListener oncomplete;
void startRendering();
+
+#if defined(ENABLE_LEGACY_WEB_AUDIO) && ENABLE_LEGACY_WEB_AUDIO
+ [V8MeasureAs=LegacyWebAudio, ImplementedAs=createGain] GainNode createGainNode();
+ [V8MeasureAs=LegacyWebAudio, ImplementedAs=createDelay] DelayNode createDelayNode(in [Optional] double maxDelayTime);
+
+ [V8MeasureAs=LegacyWebAudio, ImplementedAs=createScriptProcessor] ScriptProcessorNode createJavaScriptNode(in unsigned long bufferSize, in [Optional] unsigned long numberOfInputChannels, in [Optional] unsigned long numberOfOutputChannels)
+ raises(DOMException);
+#endif
+
};

Powered by Google App Engine
This is Rietveld 408576698