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

Unified Diff: lib/html/dart2js/html_dart2js.dart

Side-by-side diff isn't available for this file because of its large size.
Issue 10892010: Revert change 11459 and 11464. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 3 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
Index: lib/html/dart2js/html_dart2js.dart
===================================================================
--- lib/html/dart2js/html_dart2js.dart (revision 11465)
+++ lib/html/dart2js/html_dart2js.dart (working copy)
@@ -4352,6 +4352,11 @@
final _DirectoryEntrySyncImpl root;
}
+class _DOMFormDataImpl implements DOMFormData native "*DOMFormData" {
+
+ void append(String name, String value, String filename) native;
+}
+
class _DOMImplementationImpl implements DOMImplementation native "*DOMImplementation" {
_CSSStyleSheetImpl createCSSStyleSheet(String title, String media) native;
@@ -7307,11 +7312,6 @@
String size;
}
-class _FormDataImpl implements FormData native "*FormData" {
-
- void append(String name, String value, String filename) native;
-}
-
class _FormElementImpl extends _ElementImpl implements FormElement native "*HTMLFormElement" {
String acceptCharset;
@@ -18068,11 +18068,6 @@
return _e;
}
- factory FormElement() {
- _FormElementImpl _e = _document.$dom_createElement("form");
- return _e;
- }
-
factory HRElement() {
_HRElementImpl _e = _document.$dom_createElement("hr");
return _e;
@@ -18315,16 +18310,6 @@
// 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 = null]) native '''
- if (form == null) return new FormData();
- return new FormData(form);
- ''';
-}
-// 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 _HttpRequestFactoryProvider {
factory HttpRequest() native 'return new XMLHttpRequest();';
@@ -22774,6 +22759,18 @@
// 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 {
@@ -25105,25 +25102,9 @@
// WARNING: Do not edit - generated code.
-/// @domName FormData
-interface FormData default _FormDataFactoryProvider {
-
- FormData([FormElement form]);
-
- /** @domName FormData.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 default _Elements {
+interface FormElement extends Element {
- FormElement();
-
/** @domName HTMLFormElement.acceptCharset */
String acceptCharset;
« no previous file with comments | « lib/dom/templates/html/dart2js/factoryprovider_FormData.darttemplate ('k') | lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698