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

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

Issue 11469039: Make ScriptProcessorNode not a proper event (because it isn't). This fixes the last of the static a… (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years 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 web_audio; 1 library web_audio;
2 2
3 import 'dart:html'; 3 import 'dart:html';
4 // DO NOT EDIT 4 // DO NOT EDIT
5 // Auto-generated dart:audio library. 5 // Auto-generated dart:audio library.
6 6
7 7
8 8
9 9
10 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 10 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
(...skipping 625 matching lines...) Expand 10 before | Expand all | Expand 10 after
636 /// @domName PannerNode.setPosition; @docsEditable true 636 /// @domName PannerNode.setPosition; @docsEditable true
637 void setPosition(num x, num y, num z) native; 637 void setPosition(num x, num y, num z) native;
638 638
639 /// @domName PannerNode.setVelocity; @docsEditable true 639 /// @domName PannerNode.setVelocity; @docsEditable true
640 void setVelocity(num x, num y, num z) native; 640 void setVelocity(num x, num y, num z) native;
641 } 641 }
642 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 642 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
643 // for details. All rights reserved. Use of this source code is governed by a 643 // for details. All rights reserved. Use of this source code is governed by a
644 // BSD-style license that can be found in the LICENSE file. 644 // BSD-style license that can be found in the LICENSE file.
645 645
646 // WARNING: Do not edit - generated code.
646 647
647 /// @domName ScriptProcessorNode; @docsEditable true
648 class ScriptProcessorNode extends AudioNode implements EventTarget native "*Scri ptProcessorNode" {
649 648
650 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true 649 /// @domName ScriptProcessorNode
651 ScriptProcessorNodeEvents get on => 650 class ScriptProcessorNode extends AudioNode native "*ScriptProcessorNode" {
652 new ScriptProcessorNodeEvents(this);
653 651
654 /// @domName ScriptProcessorNode.bufferSize; @docsEditable true 652 /// @domName ScriptProcessorNode.bufferSize; @docsEditable true
655 final int bufferSize; 653 final int bufferSize;
656 }
657 654
658 class ScriptProcessorNodeEvents extends Events { 655 /// @domName ScriptProcessorNode.onaudioprocess; @docsEditable true
659 ScriptProcessorNodeEvents(EventTarget _ptr) : super(_ptr); 656 EventListener onaudioprocess;
660 657
661 EventListenerList get audioProcess => this['audioprocess'];
662 } 658 }
663 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 659 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
664 // for details. All rights reserved. Use of this source code is governed by a 660 // for details. All rights reserved. Use of this source code is governed by a
665 // BSD-style license that can be found in the LICENSE file. 661 // BSD-style license that can be found in the LICENSE file.
666 662
667 663
668 /// @domName WaveShaperNode; @docsEditable true 664 /// @domName WaveShaperNode; @docsEditable true
669 class WaveShaperNode extends AudioNode native "*WaveShaperNode" { 665 class WaveShaperNode extends AudioNode native "*WaveShaperNode" {
670 666
671 /// @domName WaveShaperNode.curve; @docsEditable true 667 /// @domName WaveShaperNode.curve; @docsEditable true
672 Float32Array curve; 668 Float32Array curve;
673 } 669 }
674 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 670 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
675 // for details. All rights reserved. Use of this source code is governed by a 671 // for details. All rights reserved. Use of this source code is governed by a
676 // BSD-style license that can be found in the LICENSE file. 672 // BSD-style license that can be found in the LICENSE file.
677 673
678 674
679 /// @domName WaveTable; @docsEditable true 675 /// @domName WaveTable; @docsEditable true
680 class WaveTable native "*WaveTable" { 676 class WaveTable native "*WaveTable" {
681 } 677 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698