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

Side by Side Diff: lib/dom/frog/dom_frog.dart

Issue 10442125: Rework Element constructors (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: code review and rebase Created 8 years, 6 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/dom.dart ('k') | lib/dom/scripts/generator.py » ('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('dom'); 1 #library('dom');
2 2
3 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 3 // Copyright (c) 2011, 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. 8 // Auto-generated Dart DOM library.
9 9
10 10
(...skipping 1204 matching lines...) Expand 10 before | Expand all | Expand 10 after
1215 List<String> getRange(int start, int rangeLength) => 1215 List<String> getRange(int start, int rangeLength) =>
1216 _Lists.getRange(this, start, rangeLength, <String>[]); 1216 _Lists.getRange(this, start, rangeLength, <String>[]);
1217 1217
1218 // -- end List<String> mixins. 1218 // -- end List<String> mixins.
1219 1219
1220 bool contains(String string) native; 1220 bool contains(String string) native;
1221 1221
1222 String item(int index) native; 1222 String item(int index) native;
1223 } 1223 }
1224 1224
1225 class _DOMStringMapJs extends _DOMTypeJs implements DOMStringMap native "*DOMStr ingMap" {
1226 }
1227
1225 class _DOMTokenListJs extends _DOMTypeJs implements DOMTokenList native "*DOMTok enList" { 1228 class _DOMTokenListJs extends _DOMTypeJs implements DOMTokenList native "*DOMTok enList" {
1226 1229
1227 final int length; 1230 final int length;
1228 1231
1229 void add(String token) native; 1232 void add(String token) native;
1230 1233
1231 bool contains(String token) native; 1234 bool contains(String token) native;
1232 1235
1233 String item(int index) native; 1236 String item(int index) native;
1234 1237
(...skipping 12515 matching lines...) Expand 10 before | Expand all | Expand 10 after
13750 bool contains(String string); 13753 bool contains(String string);
13751 13754
13752 String item(int index); 13755 String item(int index);
13753 } 13756 }
13754 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 13757 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13755 // for details. All rights reserved. Use of this source code is governed by a 13758 // for details. All rights reserved. Use of this source code is governed by a
13756 // BSD-style license that can be found in the LICENSE file. 13759 // BSD-style license that can be found in the LICENSE file.
13757 13760
13758 // WARNING: Do not edit - generated code. 13761 // WARNING: Do not edit - generated code.
13759 13762
13763 interface DOMStringMap {
13764 }
13765 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13766 // for details. All rights reserved. Use of this source code is governed by a
13767 // BSD-style license that can be found in the LICENSE file.
13768
13769 // WARNING: Do not edit - generated code.
13770
13760 interface DOMTokenList { 13771 interface DOMTokenList {
13761 13772
13762 final int length; 13773 final int length;
13763 13774
13764 void add(String token); 13775 void add(String token);
13765 13776
13766 bool contains(String token); 13777 bool contains(String token);
13767 13778
13768 String item(int index); 13779 String item(int index);
13769 13780
(...skipping 11584 matching lines...) Expand 10 before | Expand all | Expand 10 after
25354 if (length < 0) throw new IllegalArgumentException('length'); 25365 if (length < 0) throw new IllegalArgumentException('length');
25355 if (start < 0) throw new IndexOutOfRangeException(start); 25366 if (start < 0) throw new IndexOutOfRangeException(start);
25356 int end = start + length; 25367 int end = start + length;
25357 if (end > a.length) throw new IndexOutOfRangeException(end); 25368 if (end > a.length) throw new IndexOutOfRangeException(end);
25358 for (int i = start; i < end; i++) { 25369 for (int i = start; i < end; i++) {
25359 accumulator.add(a[i]); 25370 accumulator.add(a[i]);
25360 } 25371 }
25361 return accumulator; 25372 return accumulator;
25362 } 25373 }
25363 } 25374 }
OLDNEW
« no previous file with comments | « lib/dom/dom.dart ('k') | lib/dom/scripts/generator.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698