| 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 1222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1233 String item(int index) native; | 1233 String item(int index) native; |
| 1234 | 1234 |
| 1235 void remove(String token) native; | 1235 void remove(String token) native; |
| 1236 | 1236 |
| 1237 String toString() native; | 1237 String toString() native; |
| 1238 | 1238 |
| 1239 bool toggle(String token) native; | 1239 bool toggle(String token) native; |
| 1240 } | 1240 } |
| 1241 | 1241 |
| 1242 class _DOMURLJs extends _DOMTypeJs implements DOMURL native "*DOMURL" { | 1242 class _DOMURLJs extends _DOMTypeJs implements DOMURL native "*DOMURL" { |
| 1243 | |
| 1244 String createObjectURL(blob_OR_stream) native; | |
| 1245 | |
| 1246 void revokeObjectURL(String url) native; | |
| 1247 } | 1243 } |
| 1248 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1244 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1249 // for details. All rights reserved. Use of this source code is governed by a | 1245 // for details. All rights reserved. Use of this source code is governed by a |
| 1250 // BSD-style license that can be found in the LICENSE file. | 1246 // BSD-style license that can be found in the LICENSE file. |
| 1251 | 1247 |
| 1252 class _DOMWindowJs extends _EventTargetJs implements DOMWindow native "@*DOMWind
ow" { | 1248 class _DOMWindowJs extends _EventTargetJs implements DOMWindow native "@*DOMWind
ow" { |
| 1253 | 1249 |
| 1254 Window get _top() native "return this.top;"; | 1250 Window get _top() native "return this.top;"; |
| 1255 | 1251 |
| 1256 // Override top to return secure wrapper. | 1252 // Override top to return secure wrapper. |
| (...skipping 12432 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 13689 } | 13685 } |
| 13690 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 13686 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 13691 // for details. All rights reserved. Use of this source code is governed by a | 13687 // for details. All rights reserved. Use of this source code is governed by a |
| 13692 // BSD-style license that can be found in the LICENSE file. | 13688 // BSD-style license that can be found in the LICENSE file. |
| 13693 | 13689 |
| 13694 // WARNING: Do not edit - generated code. | 13690 // WARNING: Do not edit - generated code. |
| 13695 | 13691 |
| 13696 interface DOMURL default _DOMURLFactoryProvider { | 13692 interface DOMURL default _DOMURLFactoryProvider { |
| 13697 | 13693 |
| 13698 DOMURL(); | 13694 DOMURL(); |
| 13699 | |
| 13700 String createObjectURL(blob_OR_stream); | |
| 13701 | |
| 13702 void revokeObjectURL(String url); | |
| 13703 } | 13695 } |
| 13704 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 13696 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 13705 // for details. All rights reserved. Use of this source code is governed by a | 13697 // for details. All rights reserved. Use of this source code is governed by a |
| 13706 // BSD-style license that can be found in the LICENSE file. | 13698 // BSD-style license that can be found in the LICENSE file. |
| 13707 | 13699 |
| 13708 // WARNING: Do not edit - generated code. | 13700 // WARNING: Do not edit - generated code. |
| 13709 | 13701 |
| 13710 interface Window extends EventTarget { | 13702 interface Window extends EventTarget { |
| 13711 | 13703 |
| 13712 final DOMApplicationCache applicationCache; | 13704 final DOMApplicationCache applicationCache; |
| (...skipping 11527 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 25240 if (length < 0) throw new IllegalArgumentException('length'); | 25232 if (length < 0) throw new IllegalArgumentException('length'); |
| 25241 if (start < 0) throw new IndexOutOfRangeException(start); | 25233 if (start < 0) throw new IndexOutOfRangeException(start); |
| 25242 int end = start + length; | 25234 int end = start + length; |
| 25243 if (end > a.length) throw new IndexOutOfRangeException(end); | 25235 if (end > a.length) throw new IndexOutOfRangeException(end); |
| 25244 for (int i = start; i < end; i++) { | 25236 for (int i = start; i < end; i++) { |
| 25245 accumulator.add(a[i]); | 25237 accumulator.add(a[i]); |
| 25246 } | 25238 } |
| 25247 return accumulator; | 25239 return accumulator; |
| 25248 } | 25240 } |
| 25249 } | 25241 } |
| OLD | NEW |