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

Unified Diff: tools/dom/idl/dart/dart.idl

Issue 13811054: Update code generator for dartium dart:html with typeddata. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments and add failing test to status Created 7 years, 8 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: tools/dom/idl/dart/dart.idl
diff --git a/tools/dom/idl/dart/dart.idl b/tools/dom/idl/dart/dart.idl
index def76c9c0185c95adb78d29dd51847a2ca847504..4e4cd890d1d6eec279b7fad0f4463e099732ea31 100644
--- a/tools/dom/idl/dart/dart.idl
+++ b/tools/dom/idl/dart/dart.idl
@@ -2,7 +2,25 @@
[Supplemental,
Constructor]
-interface AudioContext {};
+interface AudioContext {
+ // TODO(ager): Auto-generate this custom method when the info about retaining
+ // typed arrays is in the IDL.
+ [Custom] void decodeAudioData(in ArrayBuffer audioData, in AudioBufferCallback successCallback, in AudioBufferCallback errorCallback);
+};
+
+[Supplemental]
+interface WaveShaperNode {
+ // TODO(ager): Auto-generate this custom method when the info about retaining
+ // typed arrays is in the IDL.
+ [CustomSetter] attribute Float32Array curve;
+};
+
+[Supplemental]
+interface AudioParam {
+ // TODO(ager): Auto-generate this custom method when the info about retaining
+ // typed arrays is in the IDL.
+ [Custom] void setValueCurveAtTime(in Float32Array values, in float time, in float duration);
+};
[Supplemental]
interface Document {

Powered by Google App Engine
This is Rietveld 408576698