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

Side by Side Diff: sdk/lib/web_audio/dart2js/web_audio_dart2js.dart

Issue 12440016: Temporary map ArrayBuffer/ArrayBufferView to dynamic. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 library dart.dom.web_audio; 1 library dart.dom.web_audio;
2 2
3 import 'dart:async'; 3 import 'dart:async';
4 import 'dart:collection'; 4 import 'dart:collection';
5 import 'dart:html'; 5 import 'dart:html';
6 import 'dart:html_common'; 6 import 'dart:html_common';
7 import 'dart:_js_helper' show Creates, Returns; 7 import 'dart:_js_helper' show Creates, Returns;
8 import 'dart:_foreign_helper' show JS; 8 import 'dart:_foreign_helper' show JS;
9 // DO NOT EDIT - unless you are editing documentation as per: 9 // DO NOT EDIT - unless you are editing documentation as per:
10 // https://code.google.com/p/dart/wiki/ContributingHTMLDocumentation 10 // https://code.google.com/p/dart/wiki/ContributingHTMLDocumentation
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 @DomName('AudioContext.createWaveShaper') 263 @DomName('AudioContext.createWaveShaper')
264 @DocsEditable 264 @DocsEditable
265 WaveShaperNode createWaveShaper() native; 265 WaveShaperNode createWaveShaper() native;
266 266
267 @DomName('AudioContext.createWaveTable') 267 @DomName('AudioContext.createWaveTable')
268 @DocsEditable 268 @DocsEditable
269 WaveTable createWaveTable(Float32Array real, Float32Array imag) native; 269 WaveTable createWaveTable(Float32Array real, Float32Array imag) native;
270 270
271 @DomName('AudioContext.decodeAudioData') 271 @DomName('AudioContext.decodeAudioData')
272 @DocsEditable 272 @DocsEditable
273 void decodeAudioData(ArrayBuffer audioData, AudioBufferCallback successCallbac k, [AudioBufferCallback errorCallback]) native; 273 void decodeAudioData(/*ArrayBuffer*/ audioData, AudioBufferCallback successCal lback, [AudioBufferCallback errorCallback]) native;
274 274
275 @DomName('AudioContext.startRendering') 275 @DomName('AudioContext.startRendering')
276 @DocsEditable 276 @DocsEditable
277 void startRendering() native; 277 void startRendering() native;
278 278
279 @DomName('AudioContext.oncomplete') 279 @DomName('AudioContext.oncomplete')
280 @DocsEditable 280 @DocsEditable
281 Stream<Event> get onComplete => completeEvent.forTarget(this); 281 Stream<Event> get onComplete => completeEvent.forTarget(this);
282 282
283 factory AudioContext() => JS('AudioContext', 283 factory AudioContext() => JS('AudioContext',
(...skipping 559 matching lines...) Expand 10 before | Expand all | Expand 10 after
843 } 843 }
844 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 844 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
845 // for details. All rights reserved. Use of this source code is governed by a 845 // for details. All rights reserved. Use of this source code is governed by a
846 // BSD-style license that can be found in the LICENSE file. 846 // BSD-style license that can be found in the LICENSE file.
847 847
848 848
849 @DocsEditable 849 @DocsEditable
850 @DomName('WaveTable') 850 @DomName('WaveTable')
851 class WaveTable native "*WaveTable" { 851 class WaveTable native "*WaveTable" {
852 } 852 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698