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

Unified Diff: third_party/WebCore/Modules/webaudio/AudioParam.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/AudioParam.idl
diff --git a/third_party/WebCore/Modules/webaudio/AudioParam.idl b/third_party/WebCore/Modules/webaudio/AudioParam.idl
index 84a952c5a76601ad2c241d40cf6c3243fbd245cc..d6d01fec56b5a2dc670f0292f9c2b3aa663329a4 100644
--- a/third_party/WebCore/Modules/webaudio/AudioParam.idl
+++ b/third_party/WebCore/Modules/webaudio/AudioParam.idl
@@ -44,8 +44,8 @@
void linearRampToValueAtTime(in float value, in float time);
void exponentialRampToValueAtTime(in float value, in float time);
- // Exponentially approach the target value with a rate having the given time constant.
- void setTargetValueAtTime(in float targetValue, in float time, in float timeConstant);
+ // Exponentially approach the target with a rate having the given time constant.
+ void setTargetAtTime(in float target, in float time, in float 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.
@@ -53,4 +53,9 @@
// Cancels all scheduled parameter changes with times greater than or equal to startTime.
void cancelScheduledValues(in float startTime);
+
+#if defined(ENABLE_LEGACY_WEB_AUDIO) && ENABLE_LEGACY_WEB_AUDIO
+ [V8MeasureAs=LegacyWebAudio, ImplementedAs=setTargetAtTime] void setTargetValueAtTime(in float targetValue, in float time, in float timeConstant);
+#endif
+
};

Powered by Google App Engine
This is Rietveld 408576698