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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: sdk/lib/web_audio/dartium/web_audio_dartium.dart
diff --git a/sdk/lib/web_audio/dartium/web_audio_dartium.dart b/sdk/lib/web_audio/dartium/web_audio_dartium.dart
index 908a77283af62e576e9d43f34c1ec58bb70081f6..ee711d3d553a3e6a89a62a8155e890a40352a3ca 100644
--- a/sdk/lib/web_audio/dartium/web_audio_dartium.dart
+++ b/sdk/lib/web_audio/dartium/web_audio_dartium.dart
@@ -415,25 +415,6 @@ class AudioDestinationNode extends AudioNode {
// WARNING: Do not edit - generated code.
-/// @domName HTMLAudioElement
-class AudioElement extends MediaElement {
-
- factory AudioElement([String src]) {
- if (!?src) {
- return _AudioElementFactoryProvider.createAudioElement();
- }
- return _AudioElementFactoryProvider.createAudioElement(src);
- }
- AudioElement.internal(): super.internal();
-
-}
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-// WARNING: Do not edit - generated code.
-
-
/// @domName AudioGain
class AudioGain extends AudioParam {
AudioGain.internal(): super.internal();
@@ -1063,7 +1044,11 @@ class WaveShaperNode extends AudioNode {
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
+// WARNING: Do not edit - generated code.
+
+
+/// @domName WaveTable
+class WaveTable extends NativeFieldWrapperClass1 {
+ WaveTable.internal();
-class _AudioElementFactoryProvider {
- static AudioElement createAudioElement([String src]) native "HTMLAudioElement_constructor_Callback";
}

Powered by Google App Engine
This is Rietveld 408576698