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

Side by Side 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, 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:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « lib/dom/dart2js/dom_dart2js.dart ('k') | lib/dom/idl/dart/dart.idl » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #library('dart:dom_deprecated'); 1 #library('dart:dom_deprecated');
2 2
3 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 3 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4 // for details. All rights reserved. Use of this source code is governed by a 4 // for details. All rights reserved. Use of this source code is governed by a
5 // BSD-style license that can be found in the LICENSE file. 5 // BSD-style license that can be found in the LICENSE file.
6 6
7 // DO NOT EDIT 7 // DO NOT EDIT
8 // Auto-generated Dart DOM library with no implementation. 8 // Auto-generated Dart DOM library with no implementation.
9 9
10 10
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 // for details. All rights reserved. Use of this source code is governed by a 62 // for details. All rights reserved. Use of this source code is governed by a
63 // BSD-style license that can be found in the LICENSE file. 63 // BSD-style license that can be found in the LICENSE file.
64 64
65 class _FileReaderSyncFactoryProvider { 65 class _FileReaderSyncFactoryProvider {
66 factory FileReaderSync() => _dummy(); 66 factory FileReaderSync() => _dummy();
67 } 67 }
68 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 68 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
69 // for details. All rights reserved. Use of this source code is governed by a 69 // for details. All rights reserved. Use of this source code is governed by a
70 // BSD-style license that can be found in the LICENSE file. 70 // BSD-style license that can be found in the LICENSE file.
71 71
72 class _FormDataFactoryProvider {
73 factory FormData([FormElement form]) => _dummy();
74 }
75 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
76 // for details. All rights reserved. Use of this source code is governed by a
77 // BSD-style license that can be found in the LICENSE file.
78
72 class _HTMLAudioElementFactoryProvider { 79 class _HTMLAudioElementFactoryProvider {
73 factory HTMLAudioElement([String src]) => _dummy(); 80 factory HTMLAudioElement([String src]) => _dummy();
74 } 81 }
75 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 82 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
76 // for details. All rights reserved. Use of this source code is governed by a 83 // for details. All rights reserved. Use of this source code is governed by a
77 // BSD-style license that can be found in the LICENSE file. 84 // BSD-style license that can be found in the LICENSE file.
78 85
79 class _HTMLOptionElementFactoryProvider { 86 class _HTMLOptionElementFactoryProvider {
80 factory HTMLOptionElement([String data, String value, bool defaultSelected, bo ol selected]) => _dummy(); 87 factory HTMLOptionElement([String data, String value, bool defaultSelected, bo ol selected]) => _dummy();
81 } 88 }
(...skipping 1443 matching lines...) Expand 10 before | Expand all | Expand 10 after
1525 final String name; 1532 final String name;
1526 1533
1527 final DirectoryEntrySync root; 1534 final DirectoryEntrySync root;
1528 } 1535 }
1529 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1536 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1530 // for details. All rights reserved. Use of this source code is governed by a 1537 // for details. All rights reserved. Use of this source code is governed by a
1531 // BSD-style license that can be found in the LICENSE file. 1538 // BSD-style license that can be found in the LICENSE file.
1532 1539
1533 // WARNING: Do not edit - generated code. 1540 // WARNING: Do not edit - generated code.
1534 1541
1535 interface FormData {
1536
1537 void append(String name, String value, String filename);
1538 }
1539
1540 interface DOMFormData extends FormData {
1541 }
1542 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1543 // for details. All rights reserved. Use of this source code is governed by a
1544 // BSD-style license that can be found in the LICENSE file.
1545
1546 // WARNING: Do not edit - generated code.
1547
1548 interface DOMImplementation { 1542 interface DOMImplementation {
1549 1543
1550 CSSStyleSheet createCSSStyleSheet(String title, String media); 1544 CSSStyleSheet createCSSStyleSheet(String title, String media);
1551 1545
1552 Document createDocument(String namespaceURI, String qualifiedName, DocumentTyp e doctype); 1546 Document createDocument(String namespaceURI, String qualifiedName, DocumentTyp e doctype);
1553 1547
1554 DocumentType createDocumentType(String qualifiedName, String publicId, String systemId); 1548 DocumentType createDocumentType(String qualifiedName, String publicId, String systemId);
1555 1549
1556 HTMLDocument createHTMLDocument(String title); 1550 HTMLDocument createHTMLDocument(String title);
1557 1551
(...skipping 1598 matching lines...) Expand 10 before | Expand all | Expand 10 after
3156 void setElements(Object array, [int offset]); 3150 void setElements(Object array, [int offset]);
3157 3151
3158 Float64Array subarray(int start, [int end]); 3152 Float64Array subarray(int start, [int end]);
3159 } 3153 }
3160 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 3154 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3161 // for details. All rights reserved. Use of this source code is governed by a 3155 // for details. All rights reserved. Use of this source code is governed by a
3162 // BSD-style license that can be found in the LICENSE file. 3156 // BSD-style license that can be found in the LICENSE file.
3163 3157
3164 // WARNING: Do not edit - generated code. 3158 // WARNING: Do not edit - generated code.
3165 3159
3160 interface FormData default _FormDataFactoryProvider {
3161
3162 FormData([FormElement form]);
3163
3164 void append(String name, String value, String filename);
3165 }
3166 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3167 // for details. All rights reserved. Use of this source code is governed by a
3168 // BSD-style license that can be found in the LICENSE file.
3169
3170 // WARNING: Do not edit - generated code.
3171
3166 interface Gamepad { 3172 interface Gamepad {
3167 3173
3168 final List<num> axes; 3174 final List<num> axes;
3169 3175
3170 final List<num> buttons; 3176 final List<num> buttons;
3171 3177
3172 final String id; 3178 final String id;
3173 3179
3174 final int index; 3180 final int index;
3175 3181
(...skipping 9934 matching lines...) Expand 10 before | Expand all | Expand 10 after
13110 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 13116 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13111 // for details. All rights reserved. Use of this source code is governed by a 13117 // for details. All rights reserved. Use of this source code is governed by a
13112 // BSD-style license that can be found in the LICENSE file. 13118 // BSD-style license that can be found in the LICENSE file.
13113 13119
13114 Window get window() => _dummy(); 13120 Window get window() => _dummy();
13115 13121
13116 // TODO(vsm): Remove when prefixes are supported. 13122 // TODO(vsm): Remove when prefixes are supported.
13117 Window get dom_window() => _dummy(); 13123 Window get dom_window() => _dummy();
13118 13124
13119 Document get document() => _dummy(); 13125 Document get document() => _dummy();
OLDNEW
« 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