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

Side by Side Diff: sdk/lib/web_audio/dartium/web_audio_dartium.dart

Issue 11348382: Moving AudioElement back to dart:html (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 import 'dart:nativewrappers'; 4 import 'dart:nativewrappers';
5 // DO NOT EDIT 5 // DO NOT EDIT
6 // Auto-generated dart:audio library. 6 // Auto-generated dart:audio library.
7 7
8 8
9 9
10 10
(...skipping 397 matching lines...) Expand 10 before | Expand all | Expand 10 after
408 int get numberOfChannels native "AudioDestinationNode_numberOfChannels_Getter" ; 408 int get numberOfChannels native "AudioDestinationNode_numberOfChannels_Getter" ;
409 409
410 } 410 }
411 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 411 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
412 // for details. All rights reserved. Use of this source code is governed by a 412 // for details. All rights reserved. Use of this source code is governed by a
413 // BSD-style license that can be found in the LICENSE file. 413 // BSD-style license that can be found in the LICENSE file.
414 414
415 // WARNING: Do not edit - generated code. 415 // WARNING: Do not edit - generated code.
416 416
417 417
418 /// @domName HTMLAudioElement
419 class AudioElement extends MediaElement {
420
421 factory AudioElement([String src]) {
422 if (!?src) {
423 return _AudioElementFactoryProvider.createAudioElement();
424 }
425 return _AudioElementFactoryProvider.createAudioElement(src);
426 }
427 AudioElement.internal(): super.internal();
428
429 }
430 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
431 // for details. All rights reserved. Use of this source code is governed by a
432 // BSD-style license that can be found in the LICENSE file.
433
434 // WARNING: Do not edit - generated code.
435
436
437 /// @domName AudioGain 418 /// @domName AudioGain
438 class AudioGain extends AudioParam { 419 class AudioGain extends AudioParam {
439 AudioGain.internal(): super.internal(); 420 AudioGain.internal(): super.internal();
440 421
441 } 422 }
442 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 423 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
443 // for details. All rights reserved. Use of this source code is governed by a 424 // for details. All rights reserved. Use of this source code is governed by a
444 // BSD-style license that can be found in the LICENSE file. 425 // BSD-style license that can be found in the LICENSE file.
445 426
446 // WARNING: Do not edit - generated code. 427 // WARNING: Do not edit - generated code.
(...skipping 609 matching lines...) Expand 10 before | Expand all | Expand 10 after
1056 1037
1057 1038
1058 /** @domName WaveShaperNode.curve */ 1039 /** @domName WaveShaperNode.curve */
1059 void set curve(Float32Array value) native "WaveShaperNode_curve_Setter"; 1040 void set curve(Float32Array value) native "WaveShaperNode_curve_Setter";
1060 1041
1061 } 1042 }
1062 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1043 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1063 // for details. All rights reserved. Use of this source code is governed by a 1044 // for details. All rights reserved. Use of this source code is governed by a
1064 // BSD-style license that can be found in the LICENSE file. 1045 // BSD-style license that can be found in the LICENSE file.
1065 1046
1047 // WARNING: Do not edit - generated code.
1066 1048
1067 class _AudioElementFactoryProvider { 1049
1068 static AudioElement createAudioElement([String src]) native "HTMLAudioElement_ constructor_Callback"; 1050 /// @domName WaveTable
1051 class WaveTable extends NativeFieldWrapperClass1 {
1052 WaveTable.internal();
1053
1069 } 1054 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698