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

Unified Diff: sdk/lib/html/dartium/html_dartium.dart

Side-by-side diff isn't available for this file because of its large size.
Issue 11447002: Re-trying moving AudioElement back to dart:html. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fixing for dartium. 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:
Download patch
« no previous file with comments | « sdk/lib/html/dart2js/html_dart2js.dart ('k') | sdk/lib/html/scripts/htmlrenamer.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/html/dartium/html_dartium.dart
diff --git a/sdk/lib/html/dartium/html_dartium.dart b/sdk/lib/html/dartium/html_dartium.dart
index 36607b77a77367aeae448773829711e2059770af..08cbb928d0a3385f84b529b47483ca336a036a20 100644
--- a/sdk/lib/html/dartium/html_dartium.dart
+++ b/sdk/lib/html/dartium/html_dartium.dart
@@ -665,6 +665,25 @@ class Attr extends Node {
// 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 HTMLBRElement
class BRElement extends _Element_Merged {
@@ -9230,34 +9249,6 @@ class ElementEvents extends Events {
// WARNING: Do not edit - generated code.
-/// @domName ElementTimeControl
-class ElementTimeControl extends NativeFieldWrapperClass1 {
- ElementTimeControl.internal();
-
-
- /** @domName ElementTimeControl.beginElement */
- void beginElement() native "ElementTimeControl_beginElement_Callback";
-
-
- /** @domName ElementTimeControl.beginElementAt */
- void beginElementAt(num offset) native "ElementTimeControl_beginElementAt_Callback";
-
-
- /** @domName ElementTimeControl.endElement */
- void endElement() native "ElementTimeControl_endElement_Callback";
-
-
- /** @domName ElementTimeControl.endElementAt */
- void endElementAt(num offset) native "ElementTimeControl_endElementAt_Callback";
-
-}
-// 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 ElementTraversal
class ElementTraversal extends NativeFieldWrapperClass1 {
ElementTraversal.internal();
@@ -23556,18 +23547,6 @@ typedef void VoidCallback();
// WARNING: Do not edit - generated code.
-/// @domName WaveTable
-class WaveTable extends NativeFieldWrapperClass1 {
- WaveTable.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 WebGLActiveInfo
class WebGLActiveInfo extends NativeFieldWrapperClass1 {
WebGLActiveInfo.internal();
@@ -25833,6 +25812,14 @@ class _ArrayBufferFactoryProvider {
// BSD-style license that can be found in the LICENSE file.
+class _AudioElementFactoryProvider {
+ static AudioElement createAudioElement([String src]) native "HTMLAudioElement_constructor_Callback";
+}
+// 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.
+
+
class _BlobFactoryProvider {
static Blob createBlob(List blobParts, [String type, String endings]) native "Blob_constructor_Callback";
}
« no previous file with comments | « sdk/lib/html/dart2js/html_dart2js.dart ('k') | sdk/lib/html/scripts/htmlrenamer.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698