Changeset 148170 in webkit
- Timestamp:
- Apr 10, 2013 8:53:24 PM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r148168 r148170 1 2013-04-10 Patrick Gansterer <paroga@webkit.org> 2 3 Replace ENABLE_LEGACY_WEB_AUDIO preprocessor statements in IDL files with Conditional attribute 4 https://bugs.webkit.org/show_bug.cgi?id=114351 5 6 Reviewed by Ryosuke Niwa. 7 8 The Conditional attribute does not need a preprocessor, which is source of much pain on native windows. 9 10 * Modules/webaudio/AudioBufferSourceNode.idl: 11 * Modules/webaudio/AudioContext.idl: 12 * Modules/webaudio/AudioParam.idl: 13 * Modules/webaudio/OscillatorNode.idl: 14 1 15 2013-04-10 Patrick Gansterer <paroga@webkit.org> 2 16 -
trunk/Source/WebCore/Modules/webaudio/AudioBufferSourceNode.idl
r147857 r148170 51 51 void stop(in double when); 52 52 53 #if defined(ENABLE_LEGACY_WEB_AUDIO) && ENABLE_LEGACY_WEB_AUDIO 54 attribute boolean looping; // This is an alias for the .loop attribute for backwards compatibility. 53 [Conditional=LEGACY_WEB_AUDIO] attribute boolean looping; // This is an alias for the .loop attribute for backwards compatibility. 55 54 56 void noteOn(in double when); 57 void noteGrainOn(in double when, in double grainOffset, in double grainDuration); 58 void noteOff(in double when); 59 #endif 55 [Conditional=LEGACY_WEB_AUDIO] void noteOn(in double when); 56 [Conditional=LEGACY_WEB_AUDIO] void noteGrainOn(in double when, in double grainOffset, in double grainDuration); 57 [Conditional=LEGACY_WEB_AUDIO] void noteOff(in double when); 60 58 }; -
trunk/Source/WebCore/Modules/webaudio/AudioContext.idl
r147857 r148170 95 95 void startRendering(); 96 96 97 #if defined(ENABLE_LEGACY_WEB_AUDIO) && ENABLE_LEGACY_WEB_AUDIO 98 [ImplementedAs=createGain] GainNode createGainNode(); 99 [ImplementedAs=createDelay] DelayNode createDelayNode(in [Optional] double maxDelayTime) 97 [Conditional=LEGACY_WEB_AUDIO, ImplementedAs=createGain] GainNode createGainNode(); 98 [Conditional=LEGACY_WEB_AUDIO, ImplementedAs=createDelay] DelayNode createDelayNode(in [Optional] double maxDelayTime) 100 99 raises(DOMException); 101 100 102 [ ImplementedAs=createScriptProcessor] ScriptProcessorNode createJavaScriptNode(in unsigned long bufferSize, in [Optional] unsigned long numberOfInputChannels, in [Optional] unsigned long numberOfOutputChannels)101 [Conditional=LEGACY_WEB_AUDIO, ImplementedAs=createScriptProcessor] ScriptProcessorNode createJavaScriptNode(in unsigned long bufferSize, in [Optional] unsigned long numberOfInputChannels, in [Optional] unsigned long numberOfOutputChannels) 103 102 raises(DOMException); 104 #endif105 103 106 104 }; -
trunk/Source/WebCore/Modules/webaudio/AudioParam.idl
r147857 r148170 55 55 void cancelScheduledValues(in float startTime); 56 56 57 #if defined(ENABLE_LEGACY_WEB_AUDIO) && ENABLE_LEGACY_WEB_AUDIO 58 [ImplementedAs=setTargetAtTime] void setTargetValueAtTime(in float targetValue, in float time, in float timeConstant); 59 #endif 57 [Conditional=LEGACY_WEB_AUDIO, ImplementedAs=setTargetAtTime] void setTargetValueAtTime(in float targetValue, in float time, in float timeConstant); 60 58 61 59 }; -
trunk/Source/WebCore/Modules/webaudio/OscillatorNode.idl
r138631 r148170 52 52 void stop(in double when); 53 53 54 #if defined(ENABLE_LEGACY_WEB_AUDIO) && ENABLE_LEGACY_WEB_AUDIO 55 void noteOn(in double when); 56 void noteOff(in double when); 57 #endif 54 [Conditional=LEGACY_WEB_AUDIO] void noteOn(in double when); 55 [Conditional=LEGACY_WEB_AUDIO] void noteOff(in double when); 58 56 59 57 void setWaveTable(in WaveTable waveTable);
Note: See TracChangeset
for help on using the changeset viewer.