OLD | NEW |
1 #library('html'); | 1 #library('html'); |
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:html library. | 8 // Auto-generated dart:html library. |
9 | 9 |
10 | 10 |
(...skipping 4018 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4029 class _ClipboardImpl implements Clipboard native "*Clipboard" { | 4029 class _ClipboardImpl implements Clipboard native "*Clipboard" { |
4030 | 4030 |
4031 String dropEffect; | 4031 String dropEffect; |
4032 | 4032 |
4033 String effectAllowed; | 4033 String effectAllowed; |
4034 | 4034 |
4035 final _FileListImpl files; | 4035 final _FileListImpl files; |
4036 | 4036 |
4037 final _DataTransferItemListImpl items; | 4037 final _DataTransferItemListImpl items; |
4038 | 4038 |
4039 final List types; | 4039 final List<String> types; |
4040 | 4040 |
4041 void clearData([String type = null]) native; | 4041 void clearData([String type = null]) native; |
4042 | 4042 |
4043 void getData(String type) native; | 4043 void getData(String type) native; |
4044 | 4044 |
4045 bool setData(String type, String data) native; | 4045 bool setData(String type, String data) native; |
4046 | 4046 |
4047 void setDragImage(_ImageElementImpl image, int x, int y) native; | 4047 void setDragImage(_ImageElementImpl image, int x, int y) native; |
4048 } | 4048 } |
4049 | 4049 |
(...skipping 406 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4456 } | 4456 } |
4457 | 4457 |
4458 class _DataTransferItemImpl implements DataTransferItem native "*DataTransferIte
m" { | 4458 class _DataTransferItemImpl implements DataTransferItem native "*DataTransferIte
m" { |
4459 | 4459 |
4460 final String kind; | 4460 final String kind; |
4461 | 4461 |
4462 final String type; | 4462 final String type; |
4463 | 4463 |
4464 _BlobImpl getAsFile() native; | 4464 _BlobImpl getAsFile() native; |
4465 | 4465 |
4466 void getAsString(StringCallback callback) native; | 4466 void getAsString([StringCallback callback = null]) native; |
4467 } | 4467 } |
4468 | 4468 |
4469 class _DataTransferItemListImpl implements DataTransferItemList native "*DataTra
nsferItemList" { | 4469 class _DataTransferItemListImpl implements DataTransferItemList native "*DataTra
nsferItemList" { |
4470 | 4470 |
4471 final int length; | 4471 final int length; |
4472 | 4472 |
4473 void add(var data_OR_file, [String type = null]) native; | 4473 void add(var data_OR_file, [String type = null]) native; |
4474 | 4474 |
4475 void clear() native; | 4475 void clear() native; |
4476 | 4476 |
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4688 _TextImpl _createTextNode(String data) native "return this.parentNode.createTe
xtNode(data);"; | 4688 _TextImpl _createTextNode(String data) native "return this.parentNode.createTe
xtNode(data);"; |
4689 | 4689 |
4690 _TouchImpl createTouch(_WindowImpl window, _EventTargetImpl target, int identi
fier, int pageX, int pageY, int screenX, int screenY, int webkitRadiusX, int web
kitRadiusY, num webkitRotationAngle, num webkitForce) native "return this.parent
Node.createTouch(window, target, identifier, pageX, pageY, screenX, screenY, web
kitRadiusX, webkitRadiusY, webkitRotationAngle, webkitForce);"; | 4690 _TouchImpl createTouch(_WindowImpl window, _EventTargetImpl target, int identi
fier, int pageX, int pageY, int screenX, int screenY, int webkitRadiusX, int web
kitRadiusY, num webkitRotationAngle, num webkitForce) native "return this.parent
Node.createTouch(window, target, identifier, pageX, pageY, screenX, screenY, web
kitRadiusX, webkitRadiusY, webkitRotationAngle, webkitForce);"; |
4691 | 4691 |
4692 _TouchListImpl _createTouchList() native "return this.parentNode.createTouchLi
st();"; | 4692 _TouchListImpl _createTouchList() native "return this.parentNode.createTouchLi
st();"; |
4693 | 4693 |
4694 _ElementImpl elementFromPoint(int x, int y) native "return this.parentNode.ele
mentFromPoint(x, y);"; | 4694 _ElementImpl elementFromPoint(int x, int y) native "return this.parentNode.ele
mentFromPoint(x, y);"; |
4695 | 4695 |
4696 bool execCommand(String command, bool userInterface, String value) native "ret
urn this.parentNode.execCommand(command, userInterface, value);"; | 4696 bool execCommand(String command, bool userInterface, String value) native "ret
urn this.parentNode.execCommand(command, userInterface, value);"; |
4697 | 4697 |
4698 Object getCSSCanvasContext(String contextId, String name, int width, int heigh
t) native "return this.parentNode.getCSSCanvasContext(contextId, name, width, he
ight);"; | 4698 _CanvasRenderingContextImpl getCSSCanvasContext(String contextId, String name,
int width, int height) native "return this.parentNode.getCSSCanvasContext(conte
xtId, name, width, height);"; |
4699 | 4699 |
4700 bool queryCommandEnabled(String command) native "return this.parentNode.queryC
ommandEnabled(command);"; | 4700 bool queryCommandEnabled(String command) native "return this.parentNode.queryC
ommandEnabled(command);"; |
4701 | 4701 |
4702 bool queryCommandIndeterm(String command) native "return this.parentNode.query
CommandIndeterm(command);"; | 4702 bool queryCommandIndeterm(String command) native "return this.parentNode.query
CommandIndeterm(command);"; |
4703 | 4703 |
4704 bool queryCommandState(String command) native "return this.parentNode.queryCom
mandState(command);"; | 4704 bool queryCommandState(String command) native "return this.parentNode.queryCom
mandState(command);"; |
4705 | 4705 |
4706 bool queryCommandSupported(String command) native "return this.parentNode.quer
yCommandSupported(command);"; | 4706 bool queryCommandSupported(String command) native "return this.parentNode.quer
yCommandSupported(command);"; |
4707 | 4707 |
4708 String queryCommandValue(String command) native "return this.parentNode.queryC
ommandValue(command);"; | 4708 String queryCommandValue(String command) native "return this.parentNode.queryC
ommandValue(command);"; |
(...skipping 762 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5471 bool spellcheck; | 5471 bool spellcheck; |
5472 | 5472 |
5473 final _CSSStyleDeclarationImpl style; | 5473 final _CSSStyleDeclarationImpl style; |
5474 | 5474 |
5475 int tabIndex; | 5475 int tabIndex; |
5476 | 5476 |
5477 final String tagName; | 5477 final String tagName; |
5478 | 5478 |
5479 String title; | 5479 String title; |
5480 | 5480 |
| 5481 bool translate; |
| 5482 |
5481 final String webkitRegionOverflow; | 5483 final String webkitRegionOverflow; |
5482 | 5484 |
5483 String webkitdropzone; | 5485 String webkitdropzone; |
5484 | 5486 |
5485 _ElementEventsImpl get on() => | 5487 _ElementEventsImpl get on() => |
5486 new _ElementEventsImpl(this); | 5488 new _ElementEventsImpl(this); |
5487 | 5489 |
5488 void blur() native; | 5490 void blur() native; |
5489 | 5491 |
5490 void click() native; | 5492 void click() native; |
(...skipping 1200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6691 _IDBObjectStoreImpl createObjectStore(String name) native; | 6693 _IDBObjectStoreImpl createObjectStore(String name) native; |
6692 | 6694 |
6693 void deleteObjectStore(String name) native; | 6695 void deleteObjectStore(String name) native; |
6694 | 6696 |
6695 bool dispatchEvent(_EventImpl evt) native; | 6697 bool dispatchEvent(_EventImpl evt) native; |
6696 | 6698 |
6697 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | 6699 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; |
6698 | 6700 |
6699 _IDBVersionChangeRequestImpl setVersion(String version) native; | 6701 _IDBVersionChangeRequestImpl setVersion(String version) native; |
6700 | 6702 |
6701 _IDBTransactionImpl transaction(var storeName_OR_storeNames, int mode) native; | 6703 _IDBTransactionImpl transaction(var storeName_OR_storeNames, [int mode = null]
) native; |
6702 } | 6704 } |
6703 | 6705 |
6704 class _IDBDatabaseErrorImpl implements IDBDatabaseError native "*IDBDatabaseErro
r" { | 6706 class _IDBDatabaseErrorImpl implements IDBDatabaseError native "*IDBDatabaseErro
r" { |
6705 | 6707 |
6706 int code; | 6708 int code; |
6707 | 6709 |
6708 String message; | 6710 String message; |
6709 } | 6711 } |
6710 | 6712 |
6711 class _IDBDatabaseExceptionImpl implements IDBDatabaseException native "*IDBData
baseException" { | 6713 class _IDBDatabaseExceptionImpl implements IDBDatabaseException native "*IDBData
baseException" { |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6812 final _IDBTransactionImpl transaction; | 6814 final _IDBTransactionImpl transaction; |
6813 | 6815 |
6814 _IDBRequestImpl add(Dynamic value, [_IDBKeyImpl key = null]) native; | 6816 _IDBRequestImpl add(Dynamic value, [_IDBKeyImpl key = null]) native; |
6815 | 6817 |
6816 _IDBRequestImpl clear() native; | 6818 _IDBRequestImpl clear() native; |
6817 | 6819 |
6818 _IDBRequestImpl count([_IDBKeyRangeImpl range = null]) native; | 6820 _IDBRequestImpl count([_IDBKeyRangeImpl range = null]) native; |
6819 | 6821 |
6820 _IDBIndexImpl createIndex(String name, String keyPath) native; | 6822 _IDBIndexImpl createIndex(String name, String keyPath) native; |
6821 | 6823 |
6822 _IDBRequestImpl delete(_IDBKeyImpl key) native; | 6824 _IDBRequestImpl delete(var key_OR_keyRange) native; |
6823 | 6825 |
6824 void deleteIndex(String name) native; | 6826 void deleteIndex(String name) native; |
6825 | 6827 |
6826 _IDBRequestImpl getObject(_IDBKeyImpl key) native; | 6828 _IDBRequestImpl getObject(_IDBKeyImpl key) native; |
6827 | 6829 |
6828 _IDBIndexImpl index(String name) native; | 6830 _IDBIndexImpl index(String name) native; |
6829 | 6831 |
6830 _IDBRequestImpl openCursor([_IDBKeyRangeImpl range = null, int direction = nul
l]) native; | 6832 _IDBRequestImpl openCursor([_IDBKeyRangeImpl range = null, int direction = nul
l]) native; |
6831 | 6833 |
6832 _IDBRequestImpl put(Dynamic value, [_IDBKeyImpl key = null]) native; | 6834 _IDBRequestImpl put(Dynamic value, [_IDBKeyImpl key = null]) native; |
(...skipping 6872 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
13705 | 13707 |
13706 factory Uint8ClampedArray.fromList(List<int> list) => _construct_Uint8ClampedA
rray(list); | 13708 factory Uint8ClampedArray.fromList(List<int> list) => _construct_Uint8ClampedA
rray(list); |
13707 | 13709 |
13708 factory Uint8ClampedArray.fromBuffer(ArrayBuffer buffer) => _construct_Uint8Cl
ampedArray(buffer); | 13710 factory Uint8ClampedArray.fromBuffer(ArrayBuffer buffer) => _construct_Uint8Cl
ampedArray(buffer); |
13709 | 13711 |
13710 static _construct_Uint8ClampedArray(arg) native 'return new Uint8ClampedArray(
arg);'; | 13712 static _construct_Uint8ClampedArray(arg) native 'return new Uint8ClampedArray(
arg);'; |
13711 | 13713 |
13712 // Use implementation from Uint8Array. | 13714 // Use implementation from Uint8Array. |
13713 // final int length; | 13715 // final int length; |
13714 | 13716 |
| 13717 void setElements(Object array, [int offset = null]) native; |
| 13718 |
13715 _Uint8ClampedArrayImpl subarray(int start, [int end = null]) native; | 13719 _Uint8ClampedArrayImpl subarray(int start, [int end = null]) native; |
13716 } | 13720 } |
13717 | 13721 |
13718 class _UnknownElementImpl extends _ElementImpl implements UnknownElement native
"*HTMLUnknownElement" { | 13722 class _UnknownElementImpl extends _ElementImpl implements UnknownElement native
"*HTMLUnknownElement" { |
13719 } | 13723 } |
13720 | 13724 |
13721 class _ValidityStateImpl implements ValidityState native "*ValidityState" { | 13725 class _ValidityStateImpl implements ValidityState native "*ValidityState" { |
13722 | 13726 |
13723 final bool customError; | 13727 final bool customError; |
13724 | 13728 |
(...skipping 999 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
14724 | 14728 |
14725 class _WebGLVertexArrayObjectOESImpl implements WebGLVertexArrayObjectOES native
"*WebGLVertexArrayObjectOES" { | 14729 class _WebGLVertexArrayObjectOESImpl implements WebGLVertexArrayObjectOES native
"*WebGLVertexArrayObjectOES" { |
14726 } | 14730 } |
14727 | 14731 |
14728 class _WebKitCSSRegionRuleImpl extends _CSSRuleImpl implements WebKitCSSRegionRu
le native "*WebKitCSSRegionRule" { | 14732 class _WebKitCSSRegionRuleImpl extends _CSSRuleImpl implements WebKitCSSRegionRu
le native "*WebKitCSSRegionRule" { |
14729 | 14733 |
14730 final _CSSRuleListImpl cssRules; | 14734 final _CSSRuleListImpl cssRules; |
14731 } | 14735 } |
14732 | 14736 |
14733 class _WebKitNamedFlowImpl implements WebKitNamedFlow native "*WebKitNamedFlow"
{ | 14737 class _WebKitNamedFlowImpl implements WebKitNamedFlow native "*WebKitNamedFlow"
{ |
| 14738 |
| 14739 final bool overflow; |
14734 } | 14740 } |
14735 | 14741 |
14736 class _WebSocketImpl extends _EventTargetImpl implements WebSocket native "*WebS
ocket" { | 14742 class _WebSocketImpl extends _EventTargetImpl implements WebSocket native "*WebS
ocket" { |
14737 | 14743 |
14738 static final int CLOSED = 3; | 14744 static final int CLOSED = 3; |
14739 | 14745 |
14740 static final int CLOSING = 2; | 14746 static final int CLOSING = 2; |
14741 | 14747 |
14742 static final int CONNECTING = 0; | 14748 static final int CONNECTING = 0; |
14743 | 14749 |
(...skipping 4052 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
18796 interface Clipboard { | 18802 interface Clipboard { |
18797 | 18803 |
18798 String dropEffect; | 18804 String dropEffect; |
18799 | 18805 |
18800 String effectAllowed; | 18806 String effectAllowed; |
18801 | 18807 |
18802 final FileList files; | 18808 final FileList files; |
18803 | 18809 |
18804 final DataTransferItemList items; | 18810 final DataTransferItemList items; |
18805 | 18811 |
18806 final List types; | 18812 final List<String> types; |
18807 | 18813 |
18808 void clearData([String type]); | 18814 void clearData([String type]); |
18809 | 18815 |
18810 void getData(String type); | 18816 void getData(String type); |
18811 | 18817 |
18812 bool setData(String type, String data); | 18818 bool setData(String type, String data); |
18813 | 18819 |
18814 void setDragImage(ImageElement image, int x, int y); | 18820 void setDragImage(ImageElement image, int x, int y); |
18815 } | 18821 } |
18816 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18822 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
(...skipping 526 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
19343 // WARNING: Do not edit - generated code. | 19349 // WARNING: Do not edit - generated code. |
19344 | 19350 |
19345 interface DataTransferItem { | 19351 interface DataTransferItem { |
19346 | 19352 |
19347 final String kind; | 19353 final String kind; |
19348 | 19354 |
19349 final String type; | 19355 final String type; |
19350 | 19356 |
19351 Blob getAsFile(); | 19357 Blob getAsFile(); |
19352 | 19358 |
19353 void getAsString(StringCallback callback); | 19359 void getAsString([StringCallback callback]); |
19354 } | 19360 } |
19355 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 19361 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
19356 // for details. All rights reserved. Use of this source code is governed by a | 19362 // for details. All rights reserved. Use of this source code is governed by a |
19357 // BSD-style license that can be found in the LICENSE file. | 19363 // BSD-style license that can be found in the LICENSE file. |
19358 | 19364 |
19359 // WARNING: Do not edit - generated code. | 19365 // WARNING: Do not edit - generated code. |
19360 | 19366 |
19361 interface DataTransferItemList { | 19367 interface DataTransferItemList { |
19362 | 19368 |
19363 final int length; | 19369 final int length; |
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
19645 Text _createTextNode(String data); | 19651 Text _createTextNode(String data); |
19646 | 19652 |
19647 Touch createTouch(Window window, EventTarget target, int identifier, int pageX
, int pageY, int screenX, int screenY, int webkitRadiusX, int webkitRadiusY, num
webkitRotationAngle, num webkitForce); | 19653 Touch createTouch(Window window, EventTarget target, int identifier, int pageX
, int pageY, int screenX, int screenY, int webkitRadiusX, int webkitRadiusY, num
webkitRotationAngle, num webkitForce); |
19648 | 19654 |
19649 TouchList _createTouchList(); | 19655 TouchList _createTouchList(); |
19650 | 19656 |
19651 Element elementFromPoint(int x, int y); | 19657 Element elementFromPoint(int x, int y); |
19652 | 19658 |
19653 bool execCommand(String command, bool userInterface, String value); | 19659 bool execCommand(String command, bool userInterface, String value); |
19654 | 19660 |
19655 Object getCSSCanvasContext(String contextId, String name, int width, int heigh
t); | 19661 CanvasRenderingContext getCSSCanvasContext(String contextId, String name, int
width, int height); |
19656 | 19662 |
19657 bool queryCommandEnabled(String command); | 19663 bool queryCommandEnabled(String command); |
19658 | 19664 |
19659 bool queryCommandIndeterm(String command); | 19665 bool queryCommandIndeterm(String command); |
19660 | 19666 |
19661 bool queryCommandState(String command); | 19667 bool queryCommandState(String command); |
19662 | 19668 |
19663 bool queryCommandSupported(String command); | 19669 bool queryCommandSupported(String command); |
19664 | 19670 |
19665 String queryCommandValue(String command); | 19671 String queryCommandValue(String command); |
(...skipping 506 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
20172 bool spellcheck; | 20178 bool spellcheck; |
20173 | 20179 |
20174 final CSSStyleDeclaration style; | 20180 final CSSStyleDeclaration style; |
20175 | 20181 |
20176 int tabIndex; | 20182 int tabIndex; |
20177 | 20183 |
20178 final String tagName; | 20184 final String tagName; |
20179 | 20185 |
20180 String title; | 20186 String title; |
20181 | 20187 |
| 20188 bool translate; |
| 20189 |
20182 final String webkitRegionOverflow; | 20190 final String webkitRegionOverflow; |
20183 | 20191 |
20184 String webkitdropzone; | 20192 String webkitdropzone; |
20185 | 20193 |
20186 ElementEvents get on(); | 20194 ElementEvents get on(); |
20187 | 20195 |
20188 void blur(); | 20196 void blur(); |
20189 | 20197 |
20190 void click(); | 20198 void click(); |
20191 | 20199 |
(...skipping 1199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
21391 IDBObjectStore createObjectStore(String name); | 21399 IDBObjectStore createObjectStore(String name); |
21392 | 21400 |
21393 void deleteObjectStore(String name); | 21401 void deleteObjectStore(String name); |
21394 | 21402 |
21395 bool dispatchEvent(Event evt); | 21403 bool dispatchEvent(Event evt); |
21396 | 21404 |
21397 void removeEventListener(String type, EventListener listener, [bool useCapture
]); | 21405 void removeEventListener(String type, EventListener listener, [bool useCapture
]); |
21398 | 21406 |
21399 IDBVersionChangeRequest setVersion(String version); | 21407 IDBVersionChangeRequest setVersion(String version); |
21400 | 21408 |
21401 IDBTransaction transaction(var storeName_OR_storeNames, int mode); | 21409 IDBTransaction transaction(var storeName_OR_storeNames, [int mode]); |
21402 } | 21410 } |
21403 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 21411 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
21404 // for details. All rights reserved. Use of this source code is governed by a | 21412 // for details. All rights reserved. Use of this source code is governed by a |
21405 // BSD-style license that can be found in the LICENSE file. | 21413 // BSD-style license that can be found in the LICENSE file. |
21406 | 21414 |
21407 // WARNING: Do not edit - generated code. | 21415 // WARNING: Do not edit - generated code. |
21408 | 21416 |
21409 interface IDBDatabaseError { | 21417 interface IDBDatabaseError { |
21410 | 21418 |
21411 int code; | 21419 int code; |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
21547 final IDBTransaction transaction; | 21555 final IDBTransaction transaction; |
21548 | 21556 |
21549 IDBRequest add(Dynamic value, [IDBKey key]); | 21557 IDBRequest add(Dynamic value, [IDBKey key]); |
21550 | 21558 |
21551 IDBRequest clear(); | 21559 IDBRequest clear(); |
21552 | 21560 |
21553 IDBRequest count([IDBKeyRange range]); | 21561 IDBRequest count([IDBKeyRange range]); |
21554 | 21562 |
21555 IDBIndex createIndex(String name, String keyPath); | 21563 IDBIndex createIndex(String name, String keyPath); |
21556 | 21564 |
21557 IDBRequest delete(IDBKey key); | 21565 IDBRequest delete(var key_OR_keyRange); |
21558 | 21566 |
21559 void deleteIndex(String name); | 21567 void deleteIndex(String name); |
21560 | 21568 |
21561 IDBRequest getObject(IDBKey key); | 21569 IDBRequest getObject(IDBKey key); |
21562 | 21570 |
21563 IDBIndex index(String name); | 21571 IDBIndex index(String name); |
21564 | 21572 |
21565 IDBRequest openCursor([IDBKeyRange range, int direction]); | 21573 IDBRequest openCursor([IDBKeyRange range, int direction]); |
21566 | 21574 |
21567 IDBRequest put(Dynamic value, [IDBKey key]); | 21575 IDBRequest put(Dynamic value, [IDBKey key]); |
(...skipping 6042 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
27610 interface Uint8ClampedArray extends Uint8Array default _TypedArrayFactoryProvide
r { | 27618 interface Uint8ClampedArray extends Uint8Array default _TypedArrayFactoryProvide
r { |
27611 | 27619 |
27612 Uint8ClampedArray(int length); | 27620 Uint8ClampedArray(int length); |
27613 | 27621 |
27614 Uint8ClampedArray.fromList(List<int> list); | 27622 Uint8ClampedArray.fromList(List<int> list); |
27615 | 27623 |
27616 Uint8ClampedArray.fromBuffer(ArrayBuffer buffer); | 27624 Uint8ClampedArray.fromBuffer(ArrayBuffer buffer); |
27617 | 27625 |
27618 final int length; | 27626 final int length; |
27619 | 27627 |
| 27628 void setElements(Object array, [int offset]); |
| 27629 |
27620 Uint8ClampedArray subarray(int start, [int end]); | 27630 Uint8ClampedArray subarray(int start, [int end]); |
27621 } | 27631 } |
27622 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 27632 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
27623 // for details. All rights reserved. Use of this source code is governed by a | 27633 // for details. All rights reserved. Use of this source code is governed by a |
27624 // BSD-style license that can be found in the LICENSE file. | 27634 // BSD-style license that can be found in the LICENSE file. |
27625 | 27635 |
27626 // WARNING: Do not edit - generated code. | 27636 // WARNING: Do not edit - generated code. |
27627 | 27637 |
27628 interface UnknownElement extends Element { | 27638 interface UnknownElement extends Element { |
27629 } | 27639 } |
(...skipping 1116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
28746 | 28756 |
28747 final CSSRuleList cssRules; | 28757 final CSSRuleList cssRules; |
28748 } | 28758 } |
28749 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 28759 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
28750 // for details. All rights reserved. Use of this source code is governed by a | 28760 // for details. All rights reserved. Use of this source code is governed by a |
28751 // BSD-style license that can be found in the LICENSE file. | 28761 // BSD-style license that can be found in the LICENSE file. |
28752 | 28762 |
28753 // WARNING: Do not edit - generated code. | 28763 // WARNING: Do not edit - generated code. |
28754 | 28764 |
28755 interface WebKitNamedFlow { | 28765 interface WebKitNamedFlow { |
| 28766 |
| 28767 final bool overflow; |
28756 } | 28768 } |
28757 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 28769 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
28758 // for details. All rights reserved. Use of this source code is governed by a | 28770 // for details. All rights reserved. Use of this source code is governed by a |
28759 // BSD-style license that can be found in the LICENSE file. | 28771 // BSD-style license that can be found in the LICENSE file. |
28760 | 28772 |
28761 // WARNING: Do not edit - generated code. | 28773 // WARNING: Do not edit - generated code. |
28762 | 28774 |
28763 interface WebSocket extends EventTarget { | 28775 interface WebSocket extends EventTarget { |
28764 | 28776 |
28765 static final int CLOSED = 3; | 28777 static final int CLOSED = 3; |
(...skipping 1934 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
30700 if (length < 0) throw new IllegalArgumentException('length'); | 30712 if (length < 0) throw new IllegalArgumentException('length'); |
30701 if (start < 0) throw new IndexOutOfRangeException(start); | 30713 if (start < 0) throw new IndexOutOfRangeException(start); |
30702 int end = start + length; | 30714 int end = start + length; |
30703 if (end > a.length) throw new IndexOutOfRangeException(end); | 30715 if (end > a.length) throw new IndexOutOfRangeException(end); |
30704 for (int i = start; i < end; i++) { | 30716 for (int i = start; i < end; i++) { |
30705 accumulator.add(a[i]); | 30717 accumulator.add(a[i]); |
30706 } | 30718 } |
30707 return accumulator; | 30719 return accumulator; |
30708 } | 30720 } |
30709 } | 30721 } |
OLD | NEW |