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

Unified Diff: modules/webaudio/AudioParam.idl

Issue 2786203002: Roll 50: Copied IDLs, PYTHON scripts from WebKit removed deleted files in WebCore (Closed)
Patch Set: Created 3 years, 9 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
« no previous file with comments | « modules/webaudio/AudioNode.idl ('k') | modules/webaudio/AudioProcessingEvent.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/webaudio/AudioParam.idl
diff --git a/modules/webaudio/AudioParam.idl b/modules/webaudio/AudioParam.idl
index 7b499f49abf5b4ed04f83e2ae9cf30827e62c0e3..02501ec73ee8436f87657f317eb7d58d6c9c474a 100644
--- a/modules/webaudio/AudioParam.idl
+++ b/modules/webaudio/AudioParam.idl
@@ -28,24 +28,23 @@
[
GarbageCollected,
- Conditional=WEB_AUDIO,
] interface AudioParam {
attribute float value;
readonly attribute float defaultValue;
// Parameter automation.
- [RaisesException] void setValueAtTime(float value, double time);
- [RaisesException] void linearRampToValueAtTime(float value, double time);
- [RaisesException] void exponentialRampToValueAtTime(float value, double time);
+ [RaisesException, MeasureAs=AudioParamSetValueAtTime] AudioParam setValueAtTime(float value, double time);
+ [RaisesException, MeasureAs=AudioParamLinearRampToValueAtTime] AudioParam linearRampToValueAtTime(float value, double time);
+ [RaisesException, MeasureAs=AudioParamExponentialRampToValueAtTime] AudioParam exponentialRampToValueAtTime(float value, double time);
// Exponentially approach the target with a rate having the given time constant.
- [RaisesException] void setTargetAtTime(float target, double time, double timeConstant);
+ [RaisesException, MeasureAs=AudioParamSetTargetAtTime] AudioParam setTargetAtTime(float target, double time, double timeConstant);
// Sets an array of arbitrary parameter values starting at time for the given duration.
// The number of values will be scaled to fit into the desired duration.
- [RaisesException] void setValueCurveAtTime(Float32Array values, double time, double duration);
+ [RaisesException, MeasureAs=AudioParamSetValueCurveAtTime] AudioParam setValueCurveAtTime(Float32Array values, double time, double duration);
// Cancels all scheduled parameter changes with times greater than or equal to startTime.
- [RaisesException] void cancelScheduledValues(double startTime);
+ [RaisesException, MeasureAs=AudioParamCancelScheduledValues] AudioParam cancelScheduledValues(double startTime);
};
« no previous file with comments | « modules/webaudio/AudioNode.idl ('k') | modules/webaudio/AudioProcessingEvent.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698