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

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

Issue 16311002: IDL roll and expectations fix (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 6 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:_collection-dev'; 5 import 'dart:_collection-dev';
6 import 'dart:html'; 6 import 'dart:html';
7 import 'dart:html_common'; 7 import 'dart:html_common';
8 import 'dart:typed_data'; 8 import 'dart:typed_data';
9 import 'dart:_js_helper' show Creates, Returns, convertDartClosureToJS; 9 import 'dart:_js_helper' show Creates, JSName, Returns, convertDartClosureToJS;
10 import 'dart:_foreign_helper' show JS; 10 import 'dart:_foreign_helper' show JS;
11 import 'dart:_interceptors' show Interceptor; 11 import 'dart:_interceptors' show Interceptor;
12 // DO NOT EDIT - unless you are editing documentation as per: 12 // DO NOT EDIT - unless you are editing documentation as per:
13 // https://code.google.com/p/dart/wiki/ContributingHTMLDocumentation 13 // https://code.google.com/p/dart/wiki/ContributingHTMLDocumentation
14 // Auto-generated dart:audio library. 14 // Auto-generated dart:audio library.
15 15
16 16
17 17
18 18
19 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 19 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
(...skipping 388 matching lines...) Expand 10 before | Expand all | Expand 10 after
408 } 408 }
409 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 409 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
410 // for details. All rights reserved. Use of this source code is governed by a 410 // for details. All rights reserved. Use of this source code is governed by a
411 // BSD-style license that can be found in the LICENSE file. 411 // BSD-style license that can be found in the LICENSE file.
412 412
413 413
414 @DocsEditable 414 @DocsEditable
415 @DomName('AudioNode') 415 @DomName('AudioNode')
416 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioNo de-section 416 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioNo de-section
417 @Experimental 417 @Experimental
418 class AudioNode native "AudioNode" { 418 class AudioNode extends EventTarget native "AudioNode" {
419 419
420 @DomName('AudioNode.channelCount') 420 @DomName('AudioNode.channelCount')
421 @DocsEditable 421 @DocsEditable
422 int channelCount; 422 int channelCount;
423 423
424 @DomName('AudioNode.channelCountMode') 424 @DomName('AudioNode.channelCountMode')
425 @DocsEditable 425 @DocsEditable
426 String channelCountMode; 426 String channelCountMode;
427 427
428 @DomName('AudioNode.channelInterpretation') 428 @DomName('AudioNode.channelInterpretation')
429 @DocsEditable 429 @DocsEditable
430 String channelInterpretation; 430 String channelInterpretation;
431 431
432 @DomName('AudioNode.context') 432 @DomName('AudioNode.context')
433 @DocsEditable 433 @DocsEditable
434 final AudioContext context; 434 final AudioContext context;
435 435
436 @DomName('AudioNode.numberOfInputs') 436 @DomName('AudioNode.numberOfInputs')
437 @DocsEditable 437 @DocsEditable
438 final int numberOfInputs; 438 final int numberOfInputs;
439 439
440 @DomName('AudioNode.numberOfOutputs') 440 @DomName('AudioNode.numberOfOutputs')
441 @DocsEditable 441 @DocsEditable
442 final int numberOfOutputs; 442 final int numberOfOutputs;
443 443
444 @JSName('addEventListener')
445 @DomName('AudioNode.addEventListener')
446 @DocsEditable
447 @Experimental // untriaged
448 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu re]) native;
449
444 @DomName('AudioNode.connect') 450 @DomName('AudioNode.connect')
445 @DocsEditable 451 @DocsEditable
446 void connect(destination, int output, [int input]) native; 452 void connect(destination, int output, [int input]) native;
447 453
448 @DomName('AudioNode.disconnect') 454 @DomName('AudioNode.disconnect')
449 @DocsEditable 455 @DocsEditable
450 void disconnect(int output) native; 456 void disconnect(int output) native;
457
458 @DomName('AudioNode.dispatchEvent')
459 @DocsEditable
460 @Experimental // untriaged
461 bool dispatchEvent(Event event) native;
462
463 @JSName('removeEventListener')
464 @DomName('AudioNode.removeEventListener')
465 @DocsEditable
466 @Experimental // untriaged
467 void $dom_removeEventListener(String type, EventListener listener, [bool useCa pture]) native;
451 } 468 }
452 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 469 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
453 // for details. All rights reserved. Use of this source code is governed by a 470 // for details. All rights reserved. Use of this source code is governed by a
454 // BSD-style license that can be found in the LICENSE file. 471 // BSD-style license that can be found in the LICENSE file.
455 472
456 473
457 @DocsEditable 474 @DocsEditable
458 @DomName('AudioParam') 475 @DomName('AudioParam')
459 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioPa ram 476 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioPa ram
460 @Experimental 477 @Experimental
(...skipping 586 matching lines...) Expand 10 before | Expand all | Expand 10 after
1047 // for details. All rights reserved. Use of this source code is governed by a 1064 // for details. All rights reserved. Use of this source code is governed by a
1048 // BSD-style license that can be found in the LICENSE file. 1065 // BSD-style license that can be found in the LICENSE file.
1049 1066
1050 1067
1051 @DocsEditable 1068 @DocsEditable
1052 @DomName('WaveTable') 1069 @DomName('WaveTable')
1053 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#WaveTab le-section 1070 // https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#WaveTab le-section
1054 @Experimental 1071 @Experimental
1055 class WaveTable native "WaveTable" { 1072 class WaveTable native "WaveTable" {
1056 } 1073 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698