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

Unified Diff: lib/dom/dom.dart

Issue 10871070: Provide a constructor for (DOM)FormData, and rename to the more standard name, (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/dom/dart2js/dom_dart2js.dart ('k') | lib/dom/idl/dart/dart.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/dom/dom.dart
===================================================================
--- lib/dom/dom.dart (revision 11420)
+++ lib/dom/dom.dart (working copy)
@@ -69,6 +69,13 @@
// 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 _FormDataFactoryProvider {
+ factory FormData([FormElement form]) => _dummy();
+}
+// 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 _HTMLAudioElementFactoryProvider {
factory HTMLAudioElement([String src]) => _dummy();
}
@@ -1532,19 +1539,6 @@
// WARNING: Do not edit - generated code.
-interface FormData {
-
- void append(String name, String value, String filename);
-}
-
-interface DOMFormData extends FormData {
-}
-// 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.
-
interface DOMImplementation {
CSSStyleSheet createCSSStyleSheet(String title, String media);
@@ -3163,6 +3157,18 @@
// WARNING: Do not edit - generated code.
+interface FormData default _FormDataFactoryProvider {
+
+ FormData([FormElement form]);
+
+ void append(String name, String value, String filename);
+}
+// 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.
+
interface Gamepad {
final List<num> axes;
« no previous file with comments | « lib/dom/dart2js/dom_dart2js.dart ('k') | lib/dom/idl/dart/dart.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698