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

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

Issue 10908005: Reapply revision 11570, custom callbacks are now implemented in dartium. (Closed) Base URL: https://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:
Download patch
« no previous file with comments | « lib/html/dart2js/html_dart2js.dart ('k') | lib/html/doc/html.dartdoc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/html/dartium/html_dartium.dart
diff --git a/lib/html/dartium/html_dartium.dart b/lib/html/dartium/html_dartium.dart
index b37f1ce834f2a7bcaef897f9776e08289f4c11d9..29f80ca1a3919bfa5571d4dbda3ad8d64d9025ac 100644
--- a/lib/html/dartium/html_dartium.dart
+++ b/lib/html/dartium/html_dartium.dart
@@ -4603,9 +4603,17 @@ class _DOMFileSystemSyncImpl extends NativeFieldWrapperClass1 implements DOMFile
// 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]) => _createFormData(form);
+ static FormData _createFormData([FormElement form]) native "DOMFormData_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.
+
// WARNING: Do not edit - generated code.
-class _DOMFormDataImpl extends NativeFieldWrapperClass1 implements DOMFormData {
+class _DOMFormDataImpl extends NativeFieldWrapperClass1 implements FormData {
void append(String name, String value, String filename) native "DOMFormData_append_Callback";
@@ -21147,6 +21155,11 @@ class _Elements {
return _e;
}
+ factory FormElement() {
+ _HTMLFormElementImpl _e = _document.$dom_createElement("form");
+ return _e;
+ }
+
factory HRElement() {
_HTMLHRElementImpl _e = _document.$dom_createElement("hr");
return _e;
@@ -25611,18 +25624,6 @@ interface DOMFileSystemSync {
// WARNING: Do not edit - generated code.
-/// @domName DOMFormData
-interface DOMFormData {
-
- /** @domName DOMFormData.append */
- 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.
-
/// @domName DOMImplementation
interface DOMImplementation {
@@ -27965,8 +27966,24 @@ interface FontElement extends Element {
// WARNING: Do not edit - generated code.
+/// @domName DOMFormData
+interface FormData default _FormDataFactoryProvider {
+
+ FormData([FormElement form]);
+
+ /** @domName DOMFormData.append */
+ 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.
+
/// @domName HTMLFormElement
-interface FormElement extends Element {
+interface FormElement extends Element default _Elements {
+
+ FormElement();
/** @domName HTMLFormElement.acceptCharset */
String acceptCharset;
« no previous file with comments | « lib/html/dart2js/html_dart2js.dart ('k') | lib/html/doc/html.dartdoc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698