OLD | NEW |
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 14157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
14168 interface DirectoryReaderSync { | 14168 interface DirectoryReaderSync { |
14169 | 14169 |
14170 EntryArraySync readEntries(); | 14170 EntryArraySync readEntries(); |
14171 } | 14171 } |
14172 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14172 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
14173 // for details. All rights reserved. Use of this source code is governed by a | 14173 // for details. All rights reserved. Use of this source code is governed by a |
14174 // BSD-style license that can be found in the LICENSE file. | 14174 // BSD-style license that can be found in the LICENSE file. |
14175 | 14175 |
14176 // WARNING: Do not edit - generated code. | 14176 // WARNING: Do not edit - generated code. |
14177 | 14177 |
14178 interface Document extends Node, NodeSelector { | 14178 interface Document extends Node { |
14179 | 14179 |
14180 final String URL; | 14180 final String URL; |
14181 | 14181 |
14182 final HTMLCollection anchors; | 14182 final HTMLCollection anchors; |
14183 | 14183 |
14184 final HTMLCollection applets; | 14184 final HTMLCollection applets; |
14185 | 14185 |
14186 HTMLElement body; | 14186 HTMLElement body; |
14187 | 14187 |
14188 final String characterSet; | 14188 final String characterSet; |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
14334 void webkitCancelFullScreen(); | 14334 void webkitCancelFullScreen(); |
14335 | 14335 |
14336 void webkitExitFullscreen(); | 14336 void webkitExitFullscreen(); |
14337 } | 14337 } |
14338 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14338 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
14339 // for details. All rights reserved. Use of this source code is governed by a | 14339 // for details. All rights reserved. Use of this source code is governed by a |
14340 // BSD-style license that can be found in the LICENSE file. | 14340 // BSD-style license that can be found in the LICENSE file. |
14341 | 14341 |
14342 // WARNING: Do not edit - generated code. | 14342 // WARNING: Do not edit - generated code. |
14343 | 14343 |
14344 interface DocumentFragment extends Node, NodeSelector { | 14344 interface DocumentFragment extends Node { |
14345 | 14345 |
14346 Element querySelector(String selectors); | 14346 Element querySelector(String selectors); |
14347 | 14347 |
14348 NodeList querySelectorAll(String selectors); | 14348 NodeList querySelectorAll(String selectors); |
14349 } | 14349 } |
14350 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14350 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
14351 // for details. All rights reserved. Use of this source code is governed by a | 14351 // for details. All rights reserved. Use of this source code is governed by a |
14352 // BSD-style license that can be found in the LICENSE file. | 14352 // BSD-style license that can be found in the LICENSE file. |
14353 | 14353 |
14354 // WARNING: Do not edit - generated code. | 14354 // WARNING: Do not edit - generated code. |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
14398 static final int MAX_TEXTURE_MAX_ANISOTROPY_EXT = 0x84FF; | 14398 static final int MAX_TEXTURE_MAX_ANISOTROPY_EXT = 0x84FF; |
14399 | 14399 |
14400 static final int TEXTURE_MAX_ANISOTROPY_EXT = 0x84FE; | 14400 static final int TEXTURE_MAX_ANISOTROPY_EXT = 0x84FE; |
14401 } | 14401 } |
14402 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14402 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
14403 // for details. All rights reserved. Use of this source code is governed by a | 14403 // for details. All rights reserved. Use of this source code is governed by a |
14404 // BSD-style license that can be found in the LICENSE file. | 14404 // BSD-style license that can be found in the LICENSE file. |
14405 | 14405 |
14406 // WARNING: Do not edit - generated code. | 14406 // WARNING: Do not edit - generated code. |
14407 | 14407 |
14408 interface Element extends Node, NodeSelector, ElementTraversal { | 14408 interface Element extends Node, ElementTraversal { |
14409 | 14409 |
14410 static final int ALLOW_KEYBOARD_INPUT = 1; | 14410 static final int ALLOW_KEYBOARD_INPUT = 1; |
14411 | 14411 |
14412 final int childElementCount; | 14412 final int childElementCount; |
14413 | 14413 |
14414 final int clientHeight; | 14414 final int clientHeight; |
14415 | 14415 |
14416 final int clientLeft; | 14416 final int clientLeft; |
14417 | 14417 |
14418 final int clientTop; | 14418 final int clientTop; |
(...skipping 3879 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
18298 final int length; | 18298 final int length; |
18299 | 18299 |
18300 Node item(int index); | 18300 Node item(int index); |
18301 } | 18301 } |
18302 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18302 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
18303 // for details. All rights reserved. Use of this source code is governed by a | 18303 // for details. All rights reserved. Use of this source code is governed by a |
18304 // BSD-style license that can be found in the LICENSE file. | 18304 // BSD-style license that can be found in the LICENSE file. |
18305 | 18305 |
18306 // WARNING: Do not edit - generated code. | 18306 // WARNING: Do not edit - generated code. |
18307 | 18307 |
18308 interface NodeSelector { | |
18309 | |
18310 Element querySelector(String selectors); | |
18311 | |
18312 NodeList querySelectorAll(String selectors); | |
18313 } | |
18314 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
18315 // for details. All rights reserved. Use of this source code is governed by a | |
18316 // BSD-style license that can be found in the LICENSE file. | |
18317 | |
18318 // WARNING: Do not edit - generated code. | |
18319 | |
18320 interface Notation extends Node { | 18308 interface Notation extends Node { |
18321 | 18309 |
18322 final String publicId; | 18310 final String publicId; |
18323 | 18311 |
18324 final String systemId; | 18312 final String systemId; |
18325 } | 18313 } |
18326 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18314 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
18327 // for details. All rights reserved. Use of this source code is governed by a | 18315 // for details. All rights reserved. Use of this source code is governed by a |
18328 // BSD-style license that can be found in the LICENSE file. | 18316 // BSD-style license that can be found in the LICENSE file. |
18329 | 18317 |
(...skipping 6973 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
25303 if (length < 0) throw new IllegalArgumentException('length'); | 25291 if (length < 0) throw new IllegalArgumentException('length'); |
25304 if (start < 0) throw new IndexOutOfRangeException(start); | 25292 if (start < 0) throw new IndexOutOfRangeException(start); |
25305 int end = start + length; | 25293 int end = start + length; |
25306 if (end > a.length) throw new IndexOutOfRangeException(end); | 25294 if (end > a.length) throw new IndexOutOfRangeException(end); |
25307 for (int i = start; i < end; i++) { | 25295 for (int i = start; i < end; i++) { |
25308 accumulator.add(a[i]); | 25296 accumulator.add(a[i]); |
25309 } | 25297 } |
25310 return accumulator; | 25298 return accumulator; |
25311 } | 25299 } |
25312 } | 25300 } |
OLD | NEW |