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

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

Issue 11510013: Making ScriptProcessorNode not an EventTarget. (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
« no previous file with comments | « no previous file | sdk/lib/web_audio/dartium/web_audio_dartium.dart » ('j') | tests/html/html.status » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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, convertDartClosureToJS;
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
11 // Auto-generated dart:audio library. 11 // Auto-generated dart:audio library.
12 12
13 13
14 14
15 15
16 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 16 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17 // for details. All rights reserved. Use of this source code is governed by a 17 // for details. All rights reserved. Use of this source code is governed by a
(...skipping 788 matching lines...) Expand 10 before | Expand all | Expand 10 after
806 void setOrientation(num x, num y, num z) native; 806 void setOrientation(num x, num y, num z) native;
807 807
808 @DomName('PannerNode.setPosition') 808 @DomName('PannerNode.setPosition')
809 @DocsEditable 809 @DocsEditable
810 void setPosition(num x, num y, num z) native; 810 void setPosition(num x, num y, num z) native;
811 811
812 @DomName('PannerNode.setVelocity') 812 @DomName('PannerNode.setVelocity')
813 @DocsEditable 813 @DocsEditable
814 void setVelocity(num x, num y, num z) native; 814 void setVelocity(num x, num y, num z) native;
815 } 815 }
816 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 816 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
817 // for details. All rights reserved. Use of this source code is governed by a 817 // for details. All rights reserved. Use of this source code is governed by a
818 // BSD-style license that can be found in the LICENSE file. 818 // BSD-style license that can be found in the LICENSE file.
819 819
820 820
821 @DocsEditable
822 @DomName('ScriptProcessorNode') 821 @DomName('ScriptProcessorNode')
823 class ScriptProcessorNode extends AudioNode implements EventTarget native "*Scri ptProcessorNode" { 822 class ScriptProcessorNode extends AudioNode native "*ScriptProcessorNode" {
823 void set onAudioProcess(EventListener listener) {
824 JS('void', '#.onaudioprocess = #', this,
825 convertDartClosureToJS(listener, 1));
826 }
824 827
825 @DomName('ScriptProcessorNode.bufferSize') 828 @DomName('ScriptProcessorNode.bufferSize')
826 @DocsEditable 829 @DocsEditable
827 final int bufferSize; 830 final int bufferSize;
831
828 } 832 }
833
829 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 834 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
830 // for details. All rights reserved. Use of this source code is governed by a 835 // for details. All rights reserved. Use of this source code is governed by a
831 // BSD-style license that can be found in the LICENSE file. 836 // BSD-style license that can be found in the LICENSE file.
832 837
833 838
834 @DocsEditable 839 @DocsEditable
835 @DomName('WaveShaperNode') 840 @DomName('WaveShaperNode')
836 class WaveShaperNode extends AudioNode native "*WaveShaperNode" { 841 class WaveShaperNode extends AudioNode native "*WaveShaperNode" {
837 842
838 @DomName('WaveShaperNode.curve') 843 @DomName('WaveShaperNode.curve')
839 @DocsEditable 844 @DocsEditable
840 @Returns('Float32Array') 845 @Returns('Float32Array')
841 @Creates('Float32Array') 846 @Creates('Float32Array')
842 List<double> curve; 847 List<double> curve;
843 } 848 }
844 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 849 // 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 850 // 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. 851 // BSD-style license that can be found in the LICENSE file.
847 852
848 853
849 @DocsEditable 854 @DocsEditable
850 @DomName('WaveTable') 855 @DomName('WaveTable')
851 class WaveTable native "*WaveTable" { 856 class WaveTable native "*WaveTable" {
852 } 857 }
OLDNEW
« no previous file with comments | « no previous file | sdk/lib/web_audio/dartium/web_audio_dartium.dart » ('j') | tests/html/html.status » ('J')

Powered by Google App Engine
This is Rietveld 408576698