| 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 1378 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1389 void webkitCancelAnimationFrame(int id) native; | 1389 void webkitCancelAnimationFrame(int id) native; |
| 1390 | 1390 |
| 1391 void webkitCancelRequestAnimationFrame(int id) native; | 1391 void webkitCancelRequestAnimationFrame(int id) native; |
| 1392 | 1392 |
| 1393 _WebKitPointJs webkitConvertPointFromNodeToPage(_NodeJs node, _WebKitPointJs p
) native; | 1393 _WebKitPointJs webkitConvertPointFromNodeToPage(_NodeJs node, _WebKitPointJs p
) native; |
| 1394 | 1394 |
| 1395 _WebKitPointJs webkitConvertPointFromPageToNode(_NodeJs node, _WebKitPointJs p
) native; | 1395 _WebKitPointJs webkitConvertPointFromPageToNode(_NodeJs node, _WebKitPointJs p
) native; |
| 1396 | 1396 |
| 1397 void webkitPostMessage(Dynamic message, String targetOrigin, [List transferLis
t = null]) native; | 1397 void webkitPostMessage(Dynamic message, String targetOrigin, [List transferLis
t = null]) native; |
| 1398 | 1398 |
| 1399 int webkitRequestAnimationFrame(RequestAnimationFrameCallback callback, _Eleme
ntJs element) native; | 1399 int webkitRequestAnimationFrame(RequestAnimationFrameCallback callback) native
; |
| 1400 | 1400 |
| 1401 void webkitRequestFileSystem(int type, int size, FileSystemCallback successCal
lback, [ErrorCallback errorCallback = null]) native; | 1401 void webkitRequestFileSystem(int type, int size, FileSystemCallback successCal
lback, [ErrorCallback errorCallback = null]) native; |
| 1402 | 1402 |
| 1403 void webkitResolveLocalFileSystemURL(String url, [EntryCallback successCallbac
k = null, ErrorCallback errorCallback = null]) native; | 1403 void webkitResolveLocalFileSystemURL(String url, [EntryCallback successCallbac
k = null, ErrorCallback errorCallback = null]) native; |
| 1404 | 1404 |
| 1405 | 1405 |
| 1406 Window get _top() native "return this.top;"; | 1406 Window get _top() native "return this.top;"; |
| 1407 | 1407 |
| 1408 // Override top to return secure wrapper. | 1408 // Override top to return secure wrapper. |
| 1409 Window get top() => _DOMWindowCrossFrameImpl._createSafe(_top); | 1409 Window get top() => _DOMWindowCrossFrameImpl._createSafe(_top); |
| 1410 } | 1410 } |
| 1411 | 1411 |
| 1412 class _DataTransferItemJs extends _DOMTypeJs implements DataTransferItem native
"*DataTransferItem" { | 1412 class _DataTransferItemJs extends _DOMTypeJs implements DataTransferItem native
"*DataTransferItem" { |
| 1413 | 1413 |
| 1414 final String kind; | 1414 final String kind; |
| 1415 | 1415 |
| 1416 final String type; | 1416 final String type; |
| 1417 | 1417 |
| 1418 _BlobJs getAsFile() native; | 1418 _BlobJs getAsFile() native; |
| 1419 | 1419 |
| 1420 void getAsString([StringCallback callback = null]) native; | 1420 void getAsString([StringCallback callback = null]) native; |
| 1421 |
| 1422 void webkitGetAsEntry([EntryCallback callback = null]) native; |
| 1421 } | 1423 } |
| 1422 | 1424 |
| 1423 class _DataTransferItemListJs extends _DOMTypeJs implements DataTransferItemList
native "*DataTransferItemList" { | 1425 class _DataTransferItemListJs extends _DOMTypeJs implements DataTransferItemList
native "*DataTransferItemList" { |
| 1424 | 1426 |
| 1425 final int length; | 1427 final int length; |
| 1426 | 1428 |
| 1427 void add(var data_OR_file, [String type = null]) native; | 1429 void add(var data_OR_file, [String type = null]) native; |
| 1428 | 1430 |
| 1429 void clear() native; | 1431 void clear() native; |
| 1430 | 1432 |
| (...skipping 10058 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11489 static final int CSS_TRANSLATEY = 3; | 11491 static final int CSS_TRANSLATEY = 3; |
| 11490 | 11492 |
| 11491 static final int CSS_TRANSLATEZ = 12; | 11493 static final int CSS_TRANSLATEZ = 12; |
| 11492 | 11494 |
| 11493 final int operationType; | 11495 final int operationType; |
| 11494 } | 11496 } |
| 11495 | 11497 |
| 11496 class _WebKitMutationObserverJs extends _DOMTypeJs implements WebKitMutationObse
rver native "*WebKitMutationObserver" { | 11498 class _WebKitMutationObserverJs extends _DOMTypeJs implements WebKitMutationObse
rver native "*WebKitMutationObserver" { |
| 11497 | 11499 |
| 11498 void disconnect() native; | 11500 void disconnect() native; |
| 11501 |
| 11502 List<MutationRecord> takeRecords() native; |
| 11499 } | 11503 } |
| 11500 | 11504 |
| 11501 class _WebKitNamedFlowJs extends _DOMTypeJs implements WebKitNamedFlow native "*
WebKitNamedFlow" { | 11505 class _WebKitNamedFlowJs extends _DOMTypeJs implements WebKitNamedFlow native "*
WebKitNamedFlow" { |
| 11502 | 11506 |
| 11503 final bool overflow; | 11507 final bool overflow; |
| 11504 | 11508 |
| 11505 _NodeListJs getRegionsByContentNode(_NodeJs contentNode) native; | 11509 _NodeListJs getRegionsByContentNode(_NodeJs contentNode) native; |
| 11506 } | 11510 } |
| 11507 | 11511 |
| 11508 class _WebKitPointJs extends _DOMTypeJs implements WebKitPoint native "*WebKitPo
int" { | 11512 class _WebKitPointJs extends _DOMTypeJs implements WebKitPoint native "*WebKitPo
int" { |
| (...skipping 2256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 13765 void webkitCancelAnimationFrame(int id); | 13769 void webkitCancelAnimationFrame(int id); |
| 13766 | 13770 |
| 13767 void webkitCancelRequestAnimationFrame(int id); | 13771 void webkitCancelRequestAnimationFrame(int id); |
| 13768 | 13772 |
| 13769 WebKitPoint webkitConvertPointFromNodeToPage(Node node, WebKitPoint p); | 13773 WebKitPoint webkitConvertPointFromNodeToPage(Node node, WebKitPoint p); |
| 13770 | 13774 |
| 13771 WebKitPoint webkitConvertPointFromPageToNode(Node node, WebKitPoint p); | 13775 WebKitPoint webkitConvertPointFromPageToNode(Node node, WebKitPoint p); |
| 13772 | 13776 |
| 13773 void webkitPostMessage(Dynamic message, String targetOrigin, [List transferLis
t]); | 13777 void webkitPostMessage(Dynamic message, String targetOrigin, [List transferLis
t]); |
| 13774 | 13778 |
| 13775 int webkitRequestAnimationFrame(RequestAnimationFrameCallback callback, Elemen
t element); | 13779 int webkitRequestAnimationFrame(RequestAnimationFrameCallback callback); |
| 13776 | 13780 |
| 13777 void webkitRequestFileSystem(int type, int size, FileSystemCallback successCal
lback, [ErrorCallback errorCallback]); | 13781 void webkitRequestFileSystem(int type, int size, FileSystemCallback successCal
lback, [ErrorCallback errorCallback]); |
| 13778 | 13782 |
| 13779 void webkitResolveLocalFileSystemURL(String url, [EntryCallback successCallbac
k, ErrorCallback errorCallback]); | 13783 void webkitResolveLocalFileSystemURL(String url, [EntryCallback successCallbac
k, ErrorCallback errorCallback]); |
| 13780 } | 13784 } |
| 13781 | 13785 |
| 13782 interface DOMWindow extends Window { | 13786 interface DOMWindow extends Window { |
| 13783 | 13787 |
| 13784 static final int PERSISTENT = 1; | 13788 static final int PERSISTENT = 1; |
| 13785 | 13789 |
| 13786 static final int TEMPORARY = 0; | 13790 static final int TEMPORARY = 0; |
| 13787 } | 13791 } |
| 13788 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 13792 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 13789 // for details. All rights reserved. Use of this source code is governed by a | 13793 // for details. All rights reserved. Use of this source code is governed by a |
| 13790 // BSD-style license that can be found in the LICENSE file. | 13794 // BSD-style license that can be found in the LICENSE file. |
| 13791 | 13795 |
| 13792 // WARNING: Do not edit - generated code. | 13796 // WARNING: Do not edit - generated code. |
| 13793 | 13797 |
| 13794 interface DataTransferItem { | 13798 interface DataTransferItem { |
| 13795 | 13799 |
| 13796 final String kind; | 13800 final String kind; |
| 13797 | 13801 |
| 13798 final String type; | 13802 final String type; |
| 13799 | 13803 |
| 13800 Blob getAsFile(); | 13804 Blob getAsFile(); |
| 13801 | 13805 |
| 13802 void getAsString([StringCallback callback]); | 13806 void getAsString([StringCallback callback]); |
| 13807 |
| 13808 void webkitGetAsEntry([EntryCallback callback]); |
| 13803 } | 13809 } |
| 13804 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 13810 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 13805 // for details. All rights reserved. Use of this source code is governed by a | 13811 // for details. All rights reserved. Use of this source code is governed by a |
| 13806 // BSD-style license that can be found in the LICENSE file. | 13812 // BSD-style license that can be found in the LICENSE file. |
| 13807 | 13813 |
| 13808 // WARNING: Do not edit - generated code. | 13814 // WARNING: Do not edit - generated code. |
| 13809 | 13815 |
| 13810 interface DataTransferItemList { | 13816 interface DataTransferItemList { |
| 13811 | 13817 |
| 13812 final int length; | 13818 final int length; |
| (...skipping 9808 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 23621 } | 23627 } |
| 23622 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 23628 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23623 // for details. All rights reserved. Use of this source code is governed by a | 23629 // for details. All rights reserved. Use of this source code is governed by a |
| 23624 // BSD-style license that can be found in the LICENSE file. | 23630 // BSD-style license that can be found in the LICENSE file. |
| 23625 | 23631 |
| 23626 // WARNING: Do not edit - generated code. | 23632 // WARNING: Do not edit - generated code. |
| 23627 | 23633 |
| 23628 interface WebKitMutationObserver { | 23634 interface WebKitMutationObserver { |
| 23629 | 23635 |
| 23630 void disconnect(); | 23636 void disconnect(); |
| 23637 |
| 23638 List<MutationRecord> takeRecords(); |
| 23631 } | 23639 } |
| 23632 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 23640 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23633 // for details. All rights reserved. Use of this source code is governed by a | 23641 // for details. All rights reserved. Use of this source code is governed by a |
| 23634 // BSD-style license that can be found in the LICENSE file. | 23642 // BSD-style license that can be found in the LICENSE file. |
| 23635 | 23643 |
| 23636 // WARNING: Do not edit - generated code. | 23644 // WARNING: Do not edit - generated code. |
| 23637 | 23645 |
| 23638 interface WebKitNamedFlow { | 23646 interface WebKitNamedFlow { |
| 23639 | 23647 |
| 23640 final bool overflow; | 23648 final bool overflow; |
| (...skipping 1393 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 25034 if (length < 0) throw new IllegalArgumentException('length'); | 25042 if (length < 0) throw new IllegalArgumentException('length'); |
| 25035 if (start < 0) throw new IndexOutOfRangeException(start); | 25043 if (start < 0) throw new IndexOutOfRangeException(start); |
| 25036 int end = start + length; | 25044 int end = start + length; |
| 25037 if (end > a.length) throw new IndexOutOfRangeException(end); | 25045 if (end > a.length) throw new IndexOutOfRangeException(end); |
| 25038 for (int i = start; i < end; i++) { | 25046 for (int i = start; i < end; i++) { |
| 25039 accumulator.add(a[i]); | 25047 accumulator.add(a[i]); |
| 25040 } | 25048 } |
| 25041 return accumulator; | 25049 return accumulator; |
| 25042 } | 25050 } |
| 25043 } | 25051 } |
| OLD | NEW |