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 1014 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1025 static final int IDLE = 1; | 1025 static final int IDLE = 1; |
1026 | 1026 |
1027 static final int OBSOLETE = 5; | 1027 static final int OBSOLETE = 5; |
1028 | 1028 |
1029 static final int UNCACHED = 0; | 1029 static final int UNCACHED = 0; |
1030 | 1030 |
1031 static final int UPDATEREADY = 4; | 1031 static final int UPDATEREADY = 4; |
1032 | 1032 |
1033 int get status() native "return this.status;"; | 1033 int get status() native "return this.status;"; |
1034 | 1034 |
| 1035 void abort() native; |
| 1036 |
1035 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; | 1037 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; |
1036 | 1038 |
1037 bool dispatchEvent(EventJs evt) native; | 1039 bool dispatchEvent(EventJs evt) native; |
1038 | 1040 |
1039 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | 1041 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; |
1040 | 1042 |
1041 void swapCache() native; | 1043 void swapCache() native; |
1042 | 1044 |
1043 void update() native; | 1045 void update() native; |
1044 } | 1046 } |
(...skipping 443 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1488 MediaQueryListJs matchMedia(String query) native; | 1490 MediaQueryListJs matchMedia(String query) native; |
1489 | 1491 |
1490 void moveBy(num x, num y) native; | 1492 void moveBy(num x, num y) native; |
1491 | 1493 |
1492 void moveTo(num x, num y) native; | 1494 void moveTo(num x, num y) native; |
1493 | 1495 |
1494 DOMWindowJs open(String url, String name, [String options = null]) native; | 1496 DOMWindowJs open(String url, String name, [String options = null]) native; |
1495 | 1497 |
1496 DatabaseJs openDatabase(String name, String version, String displayName, int e
stimatedSize, [DatabaseCallback creationCallback = null]) native; | 1498 DatabaseJs openDatabase(String name, String version, String displayName, int e
stimatedSize, [DatabaseCallback creationCallback = null]) native; |
1497 | 1499 |
1498 void postMessage(String message, String targetOrigin, [List messagePorts = nul
l]) native; | 1500 void postMessage(Dynamic/*SerializedScriptValue*/ message, String targetOrigin
, [List messagePorts = null]) native; |
1499 | 1501 |
1500 void print() native; | 1502 void print() native; |
1501 | 1503 |
1502 String prompt(String message, String defaultValue) native; | 1504 String prompt(String message, String defaultValue) native; |
1503 | 1505 |
1504 void releaseEvents() native; | 1506 void releaseEvents() native; |
1505 | 1507 |
1506 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | 1508 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; |
1507 | 1509 |
1508 void resizeBy(num x, num y) native; | 1510 void resizeBy(num x, num y) native; |
(...skipping 15 matching lines...) Expand all Loading... |
1524 void stop() native; | 1526 void stop() native; |
1525 | 1527 |
1526 void webkitCancelAnimationFrame(int id) native; | 1528 void webkitCancelAnimationFrame(int id) native; |
1527 | 1529 |
1528 void webkitCancelRequestAnimationFrame(int id) native; | 1530 void webkitCancelRequestAnimationFrame(int id) native; |
1529 | 1531 |
1530 WebKitPointJs webkitConvertPointFromNodeToPage(NodeJs node, WebKitPointJs p) n
ative; | 1532 WebKitPointJs webkitConvertPointFromNodeToPage(NodeJs node, WebKitPointJs p) n
ative; |
1531 | 1533 |
1532 WebKitPointJs webkitConvertPointFromPageToNode(NodeJs node, WebKitPointJs p) n
ative; | 1534 WebKitPointJs webkitConvertPointFromPageToNode(NodeJs node, WebKitPointJs p) n
ative; |
1533 | 1535 |
1534 void webkitPostMessage(String message, String targetOrigin, [List transferList
= null]) native; | 1536 void webkitPostMessage(Dynamic/*SerializedScriptValue*/ message, String target
Origin, [List transferList = null]) native; |
1535 | 1537 |
1536 int webkitRequestAnimationFrame(RequestAnimationFrameCallback callback, Elemen
tJs element) native; | 1538 int webkitRequestAnimationFrame(RequestAnimationFrameCallback callback, Elemen
tJs element) native; |
1537 | 1539 |
1538 void webkitRequestFileSystem(int type, int size, FileSystemCallback successCal
lback, [ErrorCallback errorCallback = null]) native; | 1540 void webkitRequestFileSystem(int type, int size, FileSystemCallback successCal
lback, [ErrorCallback errorCallback = null]) native; |
1539 | 1541 |
1540 void webkitResolveLocalFileSystemURL(String url, [EntryCallback successCallbac
k = null, ErrorCallback errorCallback = null]) native; | 1542 void webkitResolveLocalFileSystemURL(String url, [EntryCallback successCallbac
k = null, ErrorCallback errorCallback = null]) native; |
1541 } | 1543 } |
1542 | 1544 |
1543 class DataTransferItemJs extends DOMTypeJs implements DataTransferItem native "*
DataTransferItem" { | 1545 class DataTransferItemJs extends DOMTypeJs implements DataTransferItem native "*
DataTransferItem" { |
1544 | 1546 |
1545 String get kind() native "return this.kind;"; | 1547 String get kind() native "return this.kind;"; |
1546 | 1548 |
1547 String get type() native "return this.type;"; | 1549 String get type() native "return this.type;"; |
1548 | 1550 |
1549 BlobJs getAsFile() native; | 1551 BlobJs getAsFile() native; |
1550 | 1552 |
1551 void getAsString(StringCallback callback) native; | 1553 void getAsString(StringCallback callback) native; |
1552 } | 1554 } |
1553 | 1555 |
1554 class DataTransferItemListJs extends DOMTypeJs implements DataTransferItemList n
ative "*DataTransferItemList" { | 1556 class DataTransferItemListJs extends DOMTypeJs implements DataTransferItemList n
ative "*DataTransferItemList" { |
1555 | 1557 |
1556 int get length() native "return this.length;"; | 1558 int get length() native "return this.length;"; |
1557 | 1559 |
1558 void add(String data, String type) native; | 1560 void add(var data_OR_file, [String type = null]) native; |
1559 | 1561 |
1560 void clear() native; | 1562 void clear() native; |
1561 | 1563 |
1562 DataTransferItemJs item(int index) native; | 1564 DataTransferItemJs item(int index) native; |
1563 } | 1565 } |
1564 | 1566 |
1565 class DataViewJs extends ArrayBufferViewJs implements DataView native "*DataView
" { | 1567 class DataViewJs extends ArrayBufferViewJs implements DataView native "*DataView
" { |
1566 | 1568 |
1567 num getFloat32(int byteOffset, [bool littleEndian = null]) native; | 1569 num getFloat32(int byteOffset, [bool littleEndian = null]) native; |
1568 | 1570 |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1637 AudioParamJs get delayTime() native "return this.delayTime;"; | 1639 AudioParamJs get delayTime() native "return this.delayTime;"; |
1638 } | 1640 } |
1639 | 1641 |
1640 class DeviceMotionEventJs extends EventJs implements DeviceMotionEvent native "*
DeviceMotionEvent" { | 1642 class DeviceMotionEventJs extends EventJs implements DeviceMotionEvent native "*
DeviceMotionEvent" { |
1641 | 1643 |
1642 num get interval() native "return this.interval;"; | 1644 num get interval() native "return this.interval;"; |
1643 } | 1645 } |
1644 | 1646 |
1645 class DeviceOrientationEventJs extends EventJs implements DeviceOrientationEvent
native "*DeviceOrientationEvent" { | 1647 class DeviceOrientationEventJs extends EventJs implements DeviceOrientationEvent
native "*DeviceOrientationEvent" { |
1646 | 1648 |
| 1649 bool get absolute() native "return this.absolute;"; |
| 1650 |
1647 num get alpha() native "return this.alpha;"; | 1651 num get alpha() native "return this.alpha;"; |
1648 | 1652 |
1649 num get beta() native "return this.beta;"; | 1653 num get beta() native "return this.beta;"; |
1650 | 1654 |
1651 num get gamma() native "return this.gamma;"; | 1655 num get gamma() native "return this.gamma;"; |
1652 | 1656 |
1653 void initDeviceOrientationEvent(String type, bool bubbles, bool cancelable, nu
m alpha, num beta, num gamma) native; | 1657 void initDeviceOrientationEvent(String type, bool bubbles, bool cancelable, nu
m alpha, num beta, num gamma, bool absolute) native; |
1654 } | 1658 } |
1655 | 1659 |
1656 class DirectoryEntryJs extends EntryJs implements DirectoryEntry native "*Direct
oryEntry" { | 1660 class DirectoryEntryJs extends EntryJs implements DirectoryEntry native "*Direct
oryEntry" { |
1657 | 1661 |
1658 DirectoryReaderJs createReader() native; | 1662 DirectoryReaderJs createReader() native; |
1659 | 1663 |
1660 void getDirectory(String path, [Object flags = null, EntryCallback successCall
back = null, ErrorCallback errorCallback = null]) native; | 1664 void getDirectory(String path, [Object flags = null, EntryCallback successCall
back = null, ErrorCallback errorCallback = null]) native; |
1661 | 1665 |
1662 void getFile(String path, [Object flags = null, EntryCallback successCallback
= null, ErrorCallback errorCallback = null]) native; | 1666 void getFile(String path, [Object flags = null, EntryCallback successCallback
= null, ErrorCallback errorCallback = null]) native; |
1663 | 1667 |
(...skipping 534 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2198 static final int CLOSED = 2; | 2202 static final int CLOSED = 2; |
2199 | 2203 |
2200 static final int CONNECTING = 0; | 2204 static final int CONNECTING = 0; |
2201 | 2205 |
2202 static final int OPEN = 1; | 2206 static final int OPEN = 1; |
2203 | 2207 |
2204 String get URL() native "return this.URL;"; | 2208 String get URL() native "return this.URL;"; |
2205 | 2209 |
2206 int get readyState() native "return this.readyState;"; | 2210 int get readyState() native "return this.readyState;"; |
2207 | 2211 |
| 2212 String get url() native "return this.url;"; |
| 2213 |
2208 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; | 2214 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; |
2209 | 2215 |
2210 void close() native; | 2216 void close() native; |
2211 | 2217 |
2212 bool dispatchEvent(EventJs evt) native; | 2218 bool dispatchEvent(EventJs evt) native; |
2213 | 2219 |
2214 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | 2220 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; |
2215 } | 2221 } |
2216 | 2222 |
2217 class EventTargetJs extends DOMTypeJs implements EventTarget native "*EventTarge
t" { | 2223 class EventTargetJs extends DOMTypeJs implements EventTarget native "*EventTarge
t" { |
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2446 | 2452 |
2447 void seek(int position) native; | 2453 void seek(int position) native; |
2448 | 2454 |
2449 void truncate(int size) native; | 2455 void truncate(int size) native; |
2450 | 2456 |
2451 void write(BlobJs data) native; | 2457 void write(BlobJs data) native; |
2452 } | 2458 } |
2453 | 2459 |
2454 class Float32ArrayJs extends ArrayBufferViewJs implements Float32Array, List<num
> native "*Float32Array" { | 2460 class Float32ArrayJs extends ArrayBufferViewJs implements Float32Array, List<num
> native "*Float32Array" { |
2455 | 2461 |
2456 factory Float32Array(int length) => _construct(length); | 2462 factory Float32Array(int length) => _construct_Float32Array(length); |
2457 | 2463 |
2458 factory Float32Array.fromList(List<num> list) => _construct(list); | 2464 factory Float32Array.fromList(List<num> list) => _construct_Float32Array(list)
; |
2459 | 2465 |
2460 factory Float32Array.fromBuffer(ArrayBuffer buffer) => _construct(buffer); | 2466 factory Float32Array.fromBuffer(ArrayBuffer buffer) => _construct_Float32Array
(buffer); |
2461 | 2467 |
2462 static _construct(arg) native 'return new Float32Array(arg);'; | 2468 static _construct_Float32Array(arg) native 'return new Float32Array(arg);'; |
2463 | 2469 |
2464 static final int BYTES_PER_ELEMENT = 4; | 2470 static final int BYTES_PER_ELEMENT = 4; |
2465 | 2471 |
2466 int get length() native "return this.length;"; | 2472 int get length() native "return this.length;"; |
2467 | 2473 |
2468 num operator[](int index) native "return this[index];"; | 2474 num operator[](int index) native "return this[index];"; |
2469 | 2475 |
2470 void operator[]=(int index, num value) native "this[index] = value"; | 2476 void operator[]=(int index, num value) native "this[index] = value"; |
2471 // -- start List<num> mixins. | 2477 // -- start List<num> mixins. |
2472 // num is the element type. | 2478 // num is the element type. |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2536 | 2542 |
2537 // -- end List<num> mixins. | 2543 // -- end List<num> mixins. |
2538 | 2544 |
2539 void setElements(Object array, [int offset = null]) native; | 2545 void setElements(Object array, [int offset = null]) native; |
2540 | 2546 |
2541 Float32ArrayJs subarray(int start, [int end = null]) native; | 2547 Float32ArrayJs subarray(int start, [int end = null]) native; |
2542 } | 2548 } |
2543 | 2549 |
2544 class Float64ArrayJs extends ArrayBufferViewJs implements Float64Array, List<num
> native "*Float64Array" { | 2550 class Float64ArrayJs extends ArrayBufferViewJs implements Float64Array, List<num
> native "*Float64Array" { |
2545 | 2551 |
2546 factory Float64Array(int length) => _construct(length); | 2552 factory Float64Array(int length) => _construct_Float64Array(length); |
2547 | 2553 |
2548 factory Float64Array.fromList(List<num> list) => _construct(list); | 2554 factory Float64Array.fromList(List<num> list) => _construct_Float64Array(list)
; |
2549 | 2555 |
2550 factory Float64Array.fromBuffer(ArrayBuffer buffer) => _construct(buffer); | 2556 factory Float64Array.fromBuffer(ArrayBuffer buffer) => _construct_Float64Array
(buffer); |
2551 | 2557 |
2552 static _construct(arg) native 'return new Float64Array(arg);'; | 2558 static _construct_Float64Array(arg) native 'return new Float64Array(arg);'; |
2553 | 2559 |
2554 static final int BYTES_PER_ELEMENT = 8; | 2560 static final int BYTES_PER_ELEMENT = 8; |
2555 | 2561 |
2556 int get length() native "return this.length;"; | 2562 int get length() native "return this.length;"; |
2557 | 2563 |
2558 num operator[](int index) native "return this[index];"; | 2564 num operator[](int index) native "return this[index];"; |
2559 | 2565 |
2560 void operator[]=(int index, num value) native "this[index] = value"; | 2566 void operator[]=(int index, num value) native "this[index] = value"; |
2561 // -- start List<num> mixins. | 2567 // -- start List<num> mixins. |
2562 // num is the element type. | 2568 // num is the element type. |
(...skipping 482 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3045 List<Node> getRange(int start, int length) => | 3051 List<Node> getRange(int start, int length) => |
3046 _Lists.getRange(this, start, length, <Node>[]); | 3052 _Lists.getRange(this, start, length, <Node>[]); |
3047 | 3053 |
3048 // -- end List<Node> mixins. | 3054 // -- end List<Node> mixins. |
3049 | 3055 |
3050 NodeJs item(int index) native; | 3056 NodeJs item(int index) native; |
3051 | 3057 |
3052 NodeJs namedItem(String name) native; | 3058 NodeJs namedItem(String name) native; |
3053 } | 3059 } |
3054 | 3060 |
| 3061 class HTMLContentElementJs extends HTMLElementJs implements HTMLContentElement n
ative "*HTMLContentElement" { |
| 3062 |
| 3063 String get select() native "return this.select;"; |
| 3064 |
| 3065 void set select(String value) native "this.select = value;"; |
| 3066 } |
| 3067 |
3055 class HTMLDListElementJs extends HTMLElementJs implements HTMLDListElement nativ
e "*HTMLDListElement" { | 3068 class HTMLDListElementJs extends HTMLElementJs implements HTMLDListElement nativ
e "*HTMLDListElement" { |
3056 | 3069 |
3057 bool get compact() native "return this.compact;"; | 3070 bool get compact() native "return this.compact;"; |
3058 | 3071 |
3059 void set compact(bool value) native "this.compact = value;"; | 3072 void set compact(bool value) native "this.compact = value;"; |
3060 } | 3073 } |
3061 | 3074 |
3062 class HTMLDataListElementJs extends HTMLElementJs implements HTMLDataListElement
native "*HTMLDataListElement" { | 3075 class HTMLDataListElementJs extends HTMLElementJs implements HTMLDataListElement
native "*HTMLDataListElement" { |
3063 | 3076 |
3064 HTMLCollectionJs get options() native "return this.options;"; | 3077 HTMLCollectionJs get options() native "return this.options;"; |
(...skipping 1954 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5019 IDBKeyJs get key() native "return this.key;"; | 5032 IDBKeyJs get key() native "return this.key;"; |
5020 | 5033 |
5021 IDBKeyJs get primaryKey() native "return this.primaryKey;"; | 5034 IDBKeyJs get primaryKey() native "return this.primaryKey;"; |
5022 | 5035 |
5023 IDBAnyJs get source() native "return this.source;"; | 5036 IDBAnyJs get source() native "return this.source;"; |
5024 | 5037 |
5025 void continueFunction([IDBKeyJs key = null]) native; | 5038 void continueFunction([IDBKeyJs key = null]) native; |
5026 | 5039 |
5027 IDBRequestJs delete() native; | 5040 IDBRequestJs delete() native; |
5028 | 5041 |
5029 IDBRequestJs update(String value) native; | 5042 IDBRequestJs update(Dynamic/*SerializedScriptValue*/ value) native; |
5030 } | 5043 } |
5031 | 5044 |
5032 class IDBCursorWithValueJs extends IDBCursorJs implements IDBCursorWithValue nat
ive "*IDBCursorWithValue" { | 5045 class IDBCursorWithValueJs extends IDBCursorJs implements IDBCursorWithValue nat
ive "*IDBCursorWithValue" { |
5033 | 5046 |
5034 IDBAnyJs get value() native "return this.value;"; | 5047 IDBAnyJs get value() native "return this.value;"; |
5035 } | 5048 } |
5036 | 5049 |
5037 class IDBDatabaseJs extends DOMTypeJs implements IDBDatabase native "*IDBDatabas
e" { | 5050 class IDBDatabaseJs extends DOMTypeJs implements IDBDatabase native "*IDBDatabas
e" { |
5038 | 5051 |
5039 String get name() native "return this.name;"; | 5052 String get name() native "return this.name;"; |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5174 } | 5187 } |
5175 | 5188 |
5176 class IDBObjectStoreJs extends DOMTypeJs implements IDBObjectStore native "*IDBO
bjectStore" { | 5189 class IDBObjectStoreJs extends DOMTypeJs implements IDBObjectStore native "*IDBO
bjectStore" { |
5177 | 5190 |
5178 String get keyPath() native "return this.keyPath;"; | 5191 String get keyPath() native "return this.keyPath;"; |
5179 | 5192 |
5180 String get name() native "return this.name;"; | 5193 String get name() native "return this.name;"; |
5181 | 5194 |
5182 IDBTransactionJs get transaction() native "return this.transaction;"; | 5195 IDBTransactionJs get transaction() native "return this.transaction;"; |
5183 | 5196 |
5184 IDBRequestJs add(String value, [IDBKeyJs key = null]) native; | 5197 IDBRequestJs add(Dynamic/*SerializedScriptValue*/ value, [IDBKeyJs key = null]
) native; |
5185 | 5198 |
5186 IDBRequestJs clear() native; | 5199 IDBRequestJs clear() native; |
5187 | 5200 |
5188 IDBRequestJs count([IDBKeyRangeJs range = null]) native; | 5201 IDBRequestJs count([IDBKeyRangeJs range = null]) native; |
5189 | 5202 |
5190 IDBIndexJs createIndex(String name, String keyPath) native; | 5203 IDBIndexJs createIndex(String name, String keyPath) native; |
5191 | 5204 |
5192 IDBRequestJs delete(IDBKeyJs key) native; | 5205 IDBRequestJs delete(IDBKeyJs key) native; |
5193 | 5206 |
5194 void deleteIndex(String name) native; | 5207 void deleteIndex(String name) native; |
5195 | 5208 |
5196 IDBRequestJs getObject(IDBKeyJs key) native; | 5209 IDBRequestJs getObject(IDBKeyJs key) native; |
5197 | 5210 |
5198 IDBIndexJs index(String name) native; | 5211 IDBIndexJs index(String name) native; |
5199 | 5212 |
5200 IDBRequestJs openCursor([IDBKeyRangeJs range = null, int direction = null]) na
tive; | 5213 IDBRequestJs openCursor([IDBKeyRangeJs range = null, int direction = null]) na
tive; |
5201 | 5214 |
5202 IDBRequestJs put(String value, [IDBKeyJs key = null]) native; | 5215 IDBRequestJs put(Dynamic/*SerializedScriptValue*/ value, [IDBKeyJs key = null]
) native; |
5203 } | 5216 } |
5204 | 5217 |
5205 class IDBRequestJs extends DOMTypeJs implements IDBRequest native "*IDBRequest"
{ | 5218 class IDBRequestJs extends DOMTypeJs implements IDBRequest native "*IDBRequest"
{ |
5206 | 5219 |
5207 static final int DONE = 2; | 5220 static final int DONE = 2; |
5208 | 5221 |
5209 static final int LOADING = 1; | 5222 static final int LOADING = 1; |
5210 | 5223 |
5211 int get errorCode() native "return this.errorCode;"; | 5224 int get errorCode() native "return this.errorCode;"; |
5212 | 5225 |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5298 void copyText(String text) native; | 5311 void copyText(String text) native; |
5299 | 5312 |
5300 int databaseId(Object database) native; | 5313 int databaseId(Object database) native; |
5301 | 5314 |
5302 void didCreateWorker(int id, String url, bool isFakeWorker) native; | 5315 void didCreateWorker(int id, String url, bool isFakeWorker) native; |
5303 | 5316 |
5304 void didDestroyWorker(int id) native; | 5317 void didDestroyWorker(int id) native; |
5305 | 5318 |
5306 Object evaluate(String text) native; | 5319 Object evaluate(String text) native; |
5307 | 5320 |
5308 Object functionLocation(Object object) native; | 5321 Object functionDetails(Object object) native; |
5309 | 5322 |
5310 void inspect(Object objectId, Object hints) native; | 5323 void inspect(Object objectId, Object hints) native; |
5311 | 5324 |
5312 Object inspectedNode(int num) native; | 5325 Object inspectedNode(int num) native; |
5313 | 5326 |
5314 Object internalConstructorName(Object object) native; | 5327 Object internalConstructorName(Object object) native; |
5315 | 5328 |
5316 bool isHTMLAllCollection(Object object) native; | 5329 bool isHTMLAllCollection(Object object) native; |
5317 | 5330 |
5318 int nextWorkerId() native; | 5331 int nextWorkerId() native; |
(...skipping 18 matching lines...) Expand all Loading... |
5337 void inspectedURLChanged(String newURL) native; | 5350 void inspectedURLChanged(String newURL) native; |
5338 | 5351 |
5339 String loadResourceSynchronously(String url) native; | 5352 String loadResourceSynchronously(String url) native; |
5340 | 5353 |
5341 void loaded() native; | 5354 void loaded() native; |
5342 | 5355 |
5343 String localizedStringsURL() native; | 5356 String localizedStringsURL() native; |
5344 | 5357 |
5345 void moveWindowBy(num x, num y) native; | 5358 void moveWindowBy(num x, num y) native; |
5346 | 5359 |
| 5360 void openInNewTab(String url) native; |
| 5361 |
5347 String platform() native; | 5362 String platform() native; |
5348 | 5363 |
5349 String port() native; | 5364 String port() native; |
5350 | 5365 |
5351 void recordActionTaken(int actionCode) native; | 5366 void recordActionTaken(int actionCode) native; |
5352 | 5367 |
5353 void recordPanelShown(int panelCode) native; | 5368 void recordPanelShown(int panelCode) native; |
5354 | 5369 |
5355 void recordSettingChanged(int settingChanged) native; | 5370 void recordSettingChanged(int settingChanged) native; |
5356 | 5371 |
5357 void requestAttachWindow() native; | 5372 void requestAttachWindow() native; |
5358 | 5373 |
5359 void requestDetachWindow() native; | 5374 void requestDetachWindow() native; |
5360 | 5375 |
5361 void requestSetDockSide(String side) native; | 5376 void requestSetDockSide(String side) native; |
5362 | 5377 |
5363 void saveAs(String fileName, String content) native; | 5378 void saveAs(String fileName, String content) native; |
5364 | 5379 |
5365 void sendMessageToBackend(String message) native; | 5380 void sendMessageToBackend(String message) native; |
5366 | 5381 |
5367 void setAttachedWindowHeight(int height) native; | 5382 void setAttachedWindowHeight(int height) native; |
5368 | 5383 |
5369 void setInjectedScriptForOrigin(String origin, String script) native; | 5384 void setInjectedScriptForOrigin(String origin, String script) native; |
5370 | 5385 |
5371 void showContextMenu(MouseEventJs event, Object items) native; | 5386 void showContextMenu(MouseEventJs event, Object items) native; |
5372 } | 5387 } |
5373 | 5388 |
5374 class Int16ArrayJs extends ArrayBufferViewJs implements Int16Array, List<int> na
tive "*Int16Array" { | 5389 class Int16ArrayJs extends ArrayBufferViewJs implements Int16Array, List<int> na
tive "*Int16Array" { |
5375 | 5390 |
5376 factory Int16Array(int length) => _construct(length); | 5391 factory Int16Array(int length) => _construct_Int16Array(length); |
5377 | 5392 |
5378 factory Int16Array.fromList(List<int> list) => _construct(list); | 5393 factory Int16Array.fromList(List<int> list) => _construct_Int16Array(list); |
5379 | 5394 |
5380 factory Int16Array.fromBuffer(ArrayBuffer buffer) => _construct(buffer); | 5395 factory Int16Array.fromBuffer(ArrayBuffer buffer) => _construct_Int16Array(buf
fer); |
5381 | 5396 |
5382 static _construct(arg) native 'return new Int16Array(arg);'; | 5397 static _construct_Int16Array(arg) native 'return new Int16Array(arg);'; |
5383 | 5398 |
5384 static final int BYTES_PER_ELEMENT = 2; | 5399 static final int BYTES_PER_ELEMENT = 2; |
5385 | 5400 |
5386 int get length() native "return this.length;"; | 5401 int get length() native "return this.length;"; |
5387 | 5402 |
5388 int operator[](int index) native "return this[index];"; | 5403 int operator[](int index) native "return this[index];"; |
5389 | 5404 |
5390 void operator[]=(int index, int value) native "this[index] = value"; | 5405 void operator[]=(int index, int value) native "this[index] = value"; |
5391 // -- start List<int> mixins. | 5406 // -- start List<int> mixins. |
5392 // int is the element type. | 5407 // int is the element type. |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5456 | 5471 |
5457 // -- end List<int> mixins. | 5472 // -- end List<int> mixins. |
5458 | 5473 |
5459 void setElements(Object array, [int offset = null]) native; | 5474 void setElements(Object array, [int offset = null]) native; |
5460 | 5475 |
5461 Int16ArrayJs subarray(int start, [int end = null]) native; | 5476 Int16ArrayJs subarray(int start, [int end = null]) native; |
5462 } | 5477 } |
5463 | 5478 |
5464 class Int32ArrayJs extends ArrayBufferViewJs implements Int32Array, List<int> na
tive "*Int32Array" { | 5479 class Int32ArrayJs extends ArrayBufferViewJs implements Int32Array, List<int> na
tive "*Int32Array" { |
5465 | 5480 |
5466 factory Int32Array(int length) => _construct(length); | 5481 factory Int32Array(int length) => _construct_Int32Array(length); |
5467 | 5482 |
5468 factory Int32Array.fromList(List<int> list) => _construct(list); | 5483 factory Int32Array.fromList(List<int> list) => _construct_Int32Array(list); |
5469 | 5484 |
5470 factory Int32Array.fromBuffer(ArrayBuffer buffer) => _construct(buffer); | 5485 factory Int32Array.fromBuffer(ArrayBuffer buffer) => _construct_Int32Array(buf
fer); |
5471 | 5486 |
5472 static _construct(arg) native 'return new Int32Array(arg);'; | 5487 static _construct_Int32Array(arg) native 'return new Int32Array(arg);'; |
5473 | 5488 |
5474 static final int BYTES_PER_ELEMENT = 4; | 5489 static final int BYTES_PER_ELEMENT = 4; |
5475 | 5490 |
5476 int get length() native "return this.length;"; | 5491 int get length() native "return this.length;"; |
5477 | 5492 |
5478 int operator[](int index) native "return this[index];"; | 5493 int operator[](int index) native "return this[index];"; |
5479 | 5494 |
5480 void operator[]=(int index, int value) native "this[index] = value"; | 5495 void operator[]=(int index, int value) native "this[index] = value"; |
5481 // -- start List<int> mixins. | 5496 // -- start List<int> mixins. |
5482 // int is the element type. | 5497 // int is the element type. |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5546 | 5561 |
5547 // -- end List<int> mixins. | 5562 // -- end List<int> mixins. |
5548 | 5563 |
5549 void setElements(Object array, [int offset = null]) native; | 5564 void setElements(Object array, [int offset = null]) native; |
5550 | 5565 |
5551 Int32ArrayJs subarray(int start, [int end = null]) native; | 5566 Int32ArrayJs subarray(int start, [int end = null]) native; |
5552 } | 5567 } |
5553 | 5568 |
5554 class Int8ArrayJs extends ArrayBufferViewJs implements Int8Array, List<int> nati
ve "*Int8Array" { | 5569 class Int8ArrayJs extends ArrayBufferViewJs implements Int8Array, List<int> nati
ve "*Int8Array" { |
5555 | 5570 |
5556 factory Int8Array(int length) => _construct(length); | 5571 factory Int8Array(int length) => _construct_Int8Array(length); |
5557 | 5572 |
5558 factory Int8Array.fromList(List<int> list) => _construct(list); | 5573 factory Int8Array.fromList(List<int> list) => _construct_Int8Array(list); |
5559 | 5574 |
5560 factory Int8Array.fromBuffer(ArrayBuffer buffer) => _construct(buffer); | 5575 factory Int8Array.fromBuffer(ArrayBuffer buffer) => _construct_Int8Array(buffe
r); |
5561 | 5576 |
5562 static _construct(arg) native 'return new Int8Array(arg);'; | 5577 static _construct_Int8Array(arg) native 'return new Int8Array(arg);'; |
5563 | 5578 |
5564 static final int BYTES_PER_ELEMENT = 1; | 5579 static final int BYTES_PER_ELEMENT = 1; |
5565 | 5580 |
5566 int get length() native "return this.length;"; | 5581 int get length() native "return this.length;"; |
5567 | 5582 |
5568 int operator[](int index) native "return this[index];"; | 5583 int operator[](int index) native "return this[index];"; |
5569 | 5584 |
5570 void operator[]=(int index, int value) native "this[index] = value"; | 5585 void operator[]=(int index, int value) native "this[index] = value"; |
5571 // -- start List<int> mixins. | 5586 // -- start List<int> mixins. |
5572 // int is the element type. | 5587 // int is the element type. |
(...skipping 4909 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10482 | 10497 |
10483 num get selfTime() native "return this.selfTime;"; | 10498 num get selfTime() native "return this.selfTime;"; |
10484 | 10499 |
10485 num get totalTime() native "return this.totalTime;"; | 10500 num get totalTime() native "return this.totalTime;"; |
10486 | 10501 |
10487 String get url() native "return this.url;"; | 10502 String get url() native "return this.url;"; |
10488 | 10503 |
10489 bool get visible() native "return this.visible;"; | 10504 bool get visible() native "return this.visible;"; |
10490 } | 10505 } |
10491 | 10506 |
| 10507 class ShadowRootJs extends NodeJs implements ShadowRoot native "*ShadowRoot" { |
| 10508 |
| 10509 ElementJs get host() native "return this.host;"; |
| 10510 } |
| 10511 |
10492 class SharedWorkerJs extends AbstractWorkerJs implements SharedWorker native "*S
haredWorker" { | 10512 class SharedWorkerJs extends AbstractWorkerJs implements SharedWorker native "*S
haredWorker" { |
10493 | 10513 |
10494 MessagePortJs get port() native "return this.port;"; | 10514 MessagePortJs get port() native "return this.port;"; |
10495 } | 10515 } |
10496 | 10516 |
10497 class SharedWorkerContextJs extends WorkerContextJs implements SharedWorkerConte
xt native "*SharedWorkerContext" { | 10517 class SharedWorkerContextJs extends WorkerContextJs implements SharedWorkerConte
xt native "*SharedWorkerContext" { |
10498 | 10518 |
10499 String get name() native "return this.name;"; | 10519 String get name() native "return this.name;"; |
10500 | 10520 |
10501 EventListener get onconnect() native "return this.onconnect;"; | 10521 EventListener get onconnect() native "return this.onconnect;"; |
(...skipping 529 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11031 | 11051 |
11032 DOMWindowJs get view() native "return this.view;"; | 11052 DOMWindowJs get view() native "return this.view;"; |
11033 | 11053 |
11034 int get which() native "return this.which;"; | 11054 int get which() native "return this.which;"; |
11035 | 11055 |
11036 void initUIEvent(String type, bool canBubble, bool cancelable, DOMWindowJs vie
w, int detail) native; | 11056 void initUIEvent(String type, bool canBubble, bool cancelable, DOMWindowJs vie
w, int detail) native; |
11037 } | 11057 } |
11038 | 11058 |
11039 class Uint16ArrayJs extends ArrayBufferViewJs implements Uint16Array, List<int>
native "*Uint16Array" { | 11059 class Uint16ArrayJs extends ArrayBufferViewJs implements Uint16Array, List<int>
native "*Uint16Array" { |
11040 | 11060 |
11041 factory Uint16Array(int length) => _construct(length); | 11061 factory Uint16Array(int length) => _construct_Uint16Array(length); |
11042 | 11062 |
11043 factory Uint16Array.fromList(List<int> list) => _construct(list); | 11063 factory Uint16Array.fromList(List<int> list) => _construct_Uint16Array(list); |
11044 | 11064 |
11045 factory Uint16Array.fromBuffer(ArrayBuffer buffer) => _construct(buffer); | 11065 factory Uint16Array.fromBuffer(ArrayBuffer buffer) => _construct_Uint16Array(b
uffer); |
11046 | 11066 |
11047 static _construct(arg) native 'return new Uint16Array(arg);'; | 11067 static _construct_Uint16Array(arg) native 'return new Uint16Array(arg);'; |
11048 | 11068 |
11049 static final int BYTES_PER_ELEMENT = 2; | 11069 static final int BYTES_PER_ELEMENT = 2; |
11050 | 11070 |
11051 int get length() native "return this.length;"; | 11071 int get length() native "return this.length;"; |
11052 | 11072 |
11053 int operator[](int index) native "return this[index];"; | 11073 int operator[](int index) native "return this[index];"; |
11054 | 11074 |
11055 void operator[]=(int index, int value) native "this[index] = value"; | 11075 void operator[]=(int index, int value) native "this[index] = value"; |
11056 // -- start List<int> mixins. | 11076 // -- start List<int> mixins. |
11057 // int is the element type. | 11077 // int is the element type. |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11121 | 11141 |
11122 // -- end List<int> mixins. | 11142 // -- end List<int> mixins. |
11123 | 11143 |
11124 void setElements(Object array, [int offset = null]) native; | 11144 void setElements(Object array, [int offset = null]) native; |
11125 | 11145 |
11126 Uint16ArrayJs subarray(int start, [int end = null]) native; | 11146 Uint16ArrayJs subarray(int start, [int end = null]) native; |
11127 } | 11147 } |
11128 | 11148 |
11129 class Uint32ArrayJs extends ArrayBufferViewJs implements Uint32Array, List<int>
native "*Uint32Array" { | 11149 class Uint32ArrayJs extends ArrayBufferViewJs implements Uint32Array, List<int>
native "*Uint32Array" { |
11130 | 11150 |
11131 factory Uint32Array(int length) => _construct(length); | 11151 factory Uint32Array(int length) => _construct_Uint32Array(length); |
11132 | 11152 |
11133 factory Uint32Array.fromList(List<int> list) => _construct(list); | 11153 factory Uint32Array.fromList(List<int> list) => _construct_Uint32Array(list); |
11134 | 11154 |
11135 factory Uint32Array.fromBuffer(ArrayBuffer buffer) => _construct(buffer); | 11155 factory Uint32Array.fromBuffer(ArrayBuffer buffer) => _construct_Uint32Array(b
uffer); |
11136 | 11156 |
11137 static _construct(arg) native 'return new Uint32Array(arg);'; | 11157 static _construct_Uint32Array(arg) native 'return new Uint32Array(arg);'; |
11138 | 11158 |
11139 static final int BYTES_PER_ELEMENT = 4; | 11159 static final int BYTES_PER_ELEMENT = 4; |
11140 | 11160 |
11141 int get length() native "return this.length;"; | 11161 int get length() native "return this.length;"; |
11142 | 11162 |
11143 int operator[](int index) native "return this[index];"; | 11163 int operator[](int index) native "return this[index];"; |
11144 | 11164 |
11145 void operator[]=(int index, int value) native "this[index] = value"; | 11165 void operator[]=(int index, int value) native "this[index] = value"; |
11146 // -- start List<int> mixins. | 11166 // -- start List<int> mixins. |
11147 // int is the element type. | 11167 // int is the element type. |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11211 | 11231 |
11212 // -- end List<int> mixins. | 11232 // -- end List<int> mixins. |
11213 | 11233 |
11214 void setElements(Object array, [int offset = null]) native; | 11234 void setElements(Object array, [int offset = null]) native; |
11215 | 11235 |
11216 Uint32ArrayJs subarray(int start, [int end = null]) native; | 11236 Uint32ArrayJs subarray(int start, [int end = null]) native; |
11217 } | 11237 } |
11218 | 11238 |
11219 class Uint8ArrayJs extends ArrayBufferViewJs implements Uint8Array, List<int> na
tive "*Uint8Array" { | 11239 class Uint8ArrayJs extends ArrayBufferViewJs implements Uint8Array, List<int> na
tive "*Uint8Array" { |
11220 | 11240 |
11221 factory Uint8Array(int length) => _construct(length); | 11241 factory Uint8Array(int length) => _construct_Uint8Array(length); |
11222 | 11242 |
11223 factory Uint8Array.fromList(List<int> list) => _construct(list); | 11243 factory Uint8Array.fromList(List<int> list) => _construct_Uint8Array(list); |
11224 | 11244 |
11225 factory Uint8Array.fromBuffer(ArrayBuffer buffer) => _construct(buffer); | 11245 factory Uint8Array.fromBuffer(ArrayBuffer buffer) => _construct_Uint8Array(buf
fer); |
11226 | 11246 |
11227 static _construct(arg) native 'return new Uint8Array(arg);'; | 11247 static _construct_Uint8Array(arg) native 'return new Uint8Array(arg);'; |
11228 | 11248 |
11229 static final int BYTES_PER_ELEMENT = 1; | 11249 static final int BYTES_PER_ELEMENT = 1; |
11230 | 11250 |
11231 int get length() native "return this.length;"; | 11251 int get length() native "return this.length;"; |
11232 | 11252 |
11233 int operator[](int index) native "return this[index];"; | 11253 int operator[](int index) native "return this[index];"; |
11234 | 11254 |
11235 void operator[]=(int index, int value) native "this[index] = value"; | 11255 void operator[]=(int index, int value) native "this[index] = value"; |
11236 // -- start List<int> mixins. | 11256 // -- start List<int> mixins. |
11237 // int is the element type. | 11257 // int is the element type. |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11299 List<int> getRange(int start, int length) => | 11319 List<int> getRange(int start, int length) => |
11300 _Lists.getRange(this, start, length, <int>[]); | 11320 _Lists.getRange(this, start, length, <int>[]); |
11301 | 11321 |
11302 // -- end List<int> mixins. | 11322 // -- end List<int> mixins. |
11303 | 11323 |
11304 void setElements(Object array, [int offset = null]) native; | 11324 void setElements(Object array, [int offset = null]) native; |
11305 | 11325 |
11306 Uint8ArrayJs subarray(int start, [int end = null]) native; | 11326 Uint8ArrayJs subarray(int start, [int end = null]) native; |
11307 } | 11327 } |
11308 | 11328 |
| 11329 class Uint8ClampedArrayJs extends Uint8ArrayJs implements Uint8ClampedArray, Lis
t<int> native "*Uint8ClampedArray" { |
| 11330 |
| 11331 factory Uint8ClampedArray(int length) => _construct_Uint8ClampedArray(length)
; |
| 11332 |
| 11333 factory Uint8ClampedArray.fromList(List<int> list) => _construct_Uint8ClampedA
rray(list); |
| 11334 |
| 11335 factory Uint8ClampedArray.fromBuffer(ArrayBuffer buffer) => _construct_Uint8Cl
ampedArray(buffer); |
| 11336 |
| 11337 static _construct_Uint8ClampedArray(arg) native 'return new Uint8ClampedArray(
arg);'; |
| 11338 |
| 11339 int get length() native "return this.length;"; |
| 11340 |
| 11341 Uint8ClampedArrayJs subarray(int start, [int end = null]) native; |
| 11342 } |
| 11343 |
11309 class ValidityStateJs extends DOMTypeJs implements ValidityState native "*Validi
tyState" { | 11344 class ValidityStateJs extends DOMTypeJs implements ValidityState native "*Validi
tyState" { |
11310 | 11345 |
11311 bool get customError() native "return this.customError;"; | 11346 bool get customError() native "return this.customError;"; |
11312 | 11347 |
11313 bool get patternMismatch() native "return this.patternMismatch;"; | 11348 bool get patternMismatch() native "return this.patternMismatch;"; |
11314 | 11349 |
11315 bool get rangeOverflow() native "return this.rangeOverflow;"; | 11350 bool get rangeOverflow() native "return this.rangeOverflow;"; |
11316 | 11351 |
11317 bool get rangeUnderflow() native "return this.rangeUnderflow;"; | 11352 bool get rangeUnderflow() native "return this.rangeUnderflow;"; |
11318 | 11353 |
(...skipping 741 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
12060 void clearColor(num red, num green, num blue, num alpha) native; | 12095 void clearColor(num red, num green, num blue, num alpha) native; |
12061 | 12096 |
12062 void clearDepth(num depth) native; | 12097 void clearDepth(num depth) native; |
12063 | 12098 |
12064 void clearStencil(int s) native; | 12099 void clearStencil(int s) native; |
12065 | 12100 |
12066 void colorMask(bool red, bool green, bool blue, bool alpha) native; | 12101 void colorMask(bool red, bool green, bool blue, bool alpha) native; |
12067 | 12102 |
12068 void compileShader(WebGLShaderJs shader) native; | 12103 void compileShader(WebGLShaderJs shader) native; |
12069 | 12104 |
| 12105 void compressedTexImage2D(int target, int level, int internalformat, int width
, int height, int border, ArrayBufferViewJs data) native; |
| 12106 |
| 12107 void compressedTexSubImage2D(int target, int level, int xoffset, int yoffset,
int width, int height, int format, ArrayBufferViewJs data) native; |
| 12108 |
12070 void copyTexImage2D(int target, int level, int internalformat, int x, int y, i
nt width, int height, int border) native; | 12109 void copyTexImage2D(int target, int level, int internalformat, int x, int y, i
nt width, int height, int border) native; |
12071 | 12110 |
12072 void copyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x,
int y, int width, int height) native; | 12111 void copyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x,
int y, int width, int height) native; |
12073 | 12112 |
12074 WebGLBufferJs createBuffer() native; | 12113 WebGLBufferJs createBuffer() native; |
12075 | 12114 |
12076 WebGLFramebufferJs createFramebuffer() native; | 12115 WebGLFramebufferJs createFramebuffer() native; |
12077 | 12116 |
12078 WebGLProgramJs createProgram() native; | 12117 WebGLProgramJs createProgram() native; |
12079 | 12118 |
(...skipping 441 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
12521 | 12560 |
12522 WebKitCSSMatrixJs skewX(num angle) native; | 12561 WebKitCSSMatrixJs skewX(num angle) native; |
12523 | 12562 |
12524 WebKitCSSMatrixJs skewY(num angle) native; | 12563 WebKitCSSMatrixJs skewY(num angle) native; |
12525 | 12564 |
12526 String toString() native; | 12565 String toString() native; |
12527 | 12566 |
12528 WebKitCSSMatrixJs translate(num x, num y, num z) native; | 12567 WebKitCSSMatrixJs translate(num x, num y, num z) native; |
12529 } | 12568 } |
12530 | 12569 |
| 12570 class WebKitCSSRegionRuleJs extends CSSRuleJs implements WebKitCSSRegionRule nat
ive "*WebKitCSSRegionRule" { |
| 12571 |
| 12572 CSSRuleListJs get cssRules() native "return this.cssRules;"; |
| 12573 } |
| 12574 |
12531 class WebKitCSSTransformValueJs extends CSSValueListJs implements WebKitCSSTrans
formValue native "*WebKitCSSTransformValue" { | 12575 class WebKitCSSTransformValueJs extends CSSValueListJs implements WebKitCSSTrans
formValue native "*WebKitCSSTransformValue" { |
12532 | 12576 |
12533 static final int CSS_MATRIX = 11; | 12577 static final int CSS_MATRIX = 11; |
12534 | 12578 |
12535 static final int CSS_MATRIX3D = 21; | 12579 static final int CSS_MATRIX3D = 21; |
12536 | 12580 |
12537 static final int CSS_PERSPECTIVE = 20; | 12581 static final int CSS_PERSPECTIVE = 20; |
12538 | 12582 |
12539 static final int CSS_ROTATE = 4; | 12583 static final int CSS_ROTATE = 4; |
12540 | 12584 |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
12622 void set binaryType(String value) native "this.binaryType = value;"; | 12666 void set binaryType(String value) native "this.binaryType = value;"; |
12623 | 12667 |
12624 int get bufferedAmount() native "return this.bufferedAmount;"; | 12668 int get bufferedAmount() native "return this.bufferedAmount;"; |
12625 | 12669 |
12626 String get extensions() native "return this.extensions;"; | 12670 String get extensions() native "return this.extensions;"; |
12627 | 12671 |
12628 String get protocol() native "return this.protocol;"; | 12672 String get protocol() native "return this.protocol;"; |
12629 | 12673 |
12630 int get readyState() native "return this.readyState;"; | 12674 int get readyState() native "return this.readyState;"; |
12631 | 12675 |
| 12676 String get url() native "return this.url;"; |
| 12677 |
12632 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; | 12678 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; |
12633 | 12679 |
12634 void close([int code = null, String reason = null]) native; | 12680 void close([int code = null, String reason = null]) native; |
12635 | 12681 |
12636 bool dispatchEvent(EventJs evt) native; | 12682 bool dispatchEvent(EventJs evt) native; |
12637 | 12683 |
12638 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | 12684 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; |
12639 | 12685 |
12640 bool send(String data) native; | 12686 bool send(String data) native; |
12641 } | 12687 } |
(...skipping 30 matching lines...) Expand all Loading... |
12672 | 12718 |
12673 int get x() native "return this.x;"; | 12719 int get x() native "return this.x;"; |
12674 | 12720 |
12675 int get y() native "return this.y;"; | 12721 int get y() native "return this.y;"; |
12676 | 12722 |
12677 void initWebKitWheelEvent(int wheelDeltaX, int wheelDeltaY, DOMWindowJs view,
int screenX, int screenY, int clientX, int clientY, bool ctrlKey, bool altKey, b
ool shiftKey, bool metaKey) native; | 12723 void initWebKitWheelEvent(int wheelDeltaX, int wheelDeltaY, DOMWindowJs view,
int screenX, int screenY, int clientX, int clientY, bool ctrlKey, bool altKey, b
ool shiftKey, bool metaKey) native; |
12678 } | 12724 } |
12679 | 12725 |
12680 class WorkerJs extends AbstractWorkerJs implements Worker native "*Worker" { | 12726 class WorkerJs extends AbstractWorkerJs implements Worker native "*Worker" { |
12681 | 12727 |
12682 // TODO(jimhug): Manually changed this from String message to var message. | 12728 void postMessage(Dynamic/*SerializedScriptValue*/ message, [List messagePorts
= null]) native; |
12683 void postMessage(var message, [List messagePorts = null]) native; | |
12684 | 12729 |
12685 void terminate() native; | 12730 void terminate() native; |
12686 | 12731 |
12687 void webkitPostMessage(String message, [List messagePorts = null]) native; | 12732 void webkitPostMessage(Dynamic/*SerializedScriptValue*/ message, [List message
Ports = null]) native; |
12688 } | 12733 } |
12689 | 12734 |
12690 class WorkerContextJs extends DOMTypeJs implements WorkerContext native "*Worker
Context" { | 12735 class WorkerContextJs extends DOMTypeJs implements WorkerContext native "*Worker
Context" { |
12691 | 12736 |
12692 static final int PERSISTENT = 1; | 12737 static final int PERSISTENT = 1; |
12693 | 12738 |
12694 static final int TEMPORARY = 0; | 12739 static final int TEMPORARY = 0; |
12695 | 12740 |
12696 WorkerLocationJs get location() native "return this.location;"; | 12741 WorkerLocationJs get location() native "return this.location;"; |
12697 | 12742 |
(...skipping 1475 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
14173 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 14218 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
14174 // for details. All rights reserved. Use of this source code is governed by a | 14219 // for details. All rights reserved. Use of this source code is governed by a |
14175 // BSD-style license that can be found in the LICENSE file. | 14220 // BSD-style license that can be found in the LICENSE file. |
14176 | 14221 |
14177 // WARNING: Do not edit - generated code. | 14222 // WARNING: Do not edit - generated code. |
14178 | 14223 |
14179 interface ApplicationCache extends EventTarget { | 14224 interface ApplicationCache extends EventTarget { |
14180 | 14225 |
14181 int get status(); | 14226 int get status(); |
14182 | 14227 |
| 14228 void abort(); |
| 14229 |
14183 void addEventListener(String type, EventListener listener, [bool useCapture]); | 14230 void addEventListener(String type, EventListener listener, [bool useCapture]); |
14184 | 14231 |
14185 bool dispatchEvent(Event evt); | 14232 bool dispatchEvent(Event evt); |
14186 | 14233 |
14187 void removeEventListener(String type, EventListener listener, [bool useCapture
]); | 14234 void removeEventListener(String type, EventListener listener, [bool useCapture
]); |
14188 | 14235 |
14189 void swapCache(); | 14236 void swapCache(); |
14190 | 14237 |
14191 void update(); | 14238 void update(); |
14192 } | 14239 } |
(...skipping 535 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
14728 MediaQueryList matchMedia(String query); | 14775 MediaQueryList matchMedia(String query); |
14729 | 14776 |
14730 void moveBy(num x, num y); | 14777 void moveBy(num x, num y); |
14731 | 14778 |
14732 void moveTo(num x, num y); | 14779 void moveTo(num x, num y); |
14733 | 14780 |
14734 DOMWindow open(String url, String name, [String options]); | 14781 DOMWindow open(String url, String name, [String options]); |
14735 | 14782 |
14736 Database openDatabase(String name, String version, String displayName, int est
imatedSize, [DatabaseCallback creationCallback]); | 14783 Database openDatabase(String name, String version, String displayName, int est
imatedSize, [DatabaseCallback creationCallback]); |
14737 | 14784 |
14738 void postMessage(String message, String targetOrigin, [List messagePorts]); | 14785 void postMessage(Dynamic/*SerializedScriptValue*/ message, String targetOrigin
, [List messagePorts]); |
14739 | 14786 |
14740 void print(); | 14787 void print(); |
14741 | 14788 |
14742 String prompt(String message, String defaultValue); | 14789 String prompt(String message, String defaultValue); |
14743 | 14790 |
14744 void releaseEvents(); | 14791 void releaseEvents(); |
14745 | 14792 |
14746 void removeEventListener(String type, EventListener listener, [bool useCapture
]); | 14793 void removeEventListener(String type, EventListener listener, [bool useCapture
]); |
14747 | 14794 |
14748 void resizeBy(num x, num y); | 14795 void resizeBy(num x, num y); |
(...skipping 15 matching lines...) Expand all Loading... |
14764 void stop(); | 14811 void stop(); |
14765 | 14812 |
14766 void webkitCancelAnimationFrame(int id); | 14813 void webkitCancelAnimationFrame(int id); |
14767 | 14814 |
14768 void webkitCancelRequestAnimationFrame(int id); | 14815 void webkitCancelRequestAnimationFrame(int id); |
14769 | 14816 |
14770 WebKitPoint webkitConvertPointFromNodeToPage(Node node, WebKitPoint p); | 14817 WebKitPoint webkitConvertPointFromNodeToPage(Node node, WebKitPoint p); |
14771 | 14818 |
14772 WebKitPoint webkitConvertPointFromPageToNode(Node node, WebKitPoint p); | 14819 WebKitPoint webkitConvertPointFromPageToNode(Node node, WebKitPoint p); |
14773 | 14820 |
14774 void webkitPostMessage(String message, String targetOrigin, [List transferList
]); | 14821 void webkitPostMessage(Dynamic/*SerializedScriptValue*/ message, String target
Origin, [List transferList]); |
14775 | 14822 |
14776 int webkitRequestAnimationFrame(RequestAnimationFrameCallback callback, Elemen
t element); | 14823 int webkitRequestAnimationFrame(RequestAnimationFrameCallback callback, Elemen
t element); |
14777 | 14824 |
14778 void webkitRequestFileSystem(int type, int size, FileSystemCallback successCal
lback, [ErrorCallback errorCallback]); | 14825 void webkitRequestFileSystem(int type, int size, FileSystemCallback successCal
lback, [ErrorCallback errorCallback]); |
14779 | 14826 |
14780 void webkitResolveLocalFileSystemURL(String url, [EntryCallback successCallbac
k, ErrorCallback errorCallback]); | 14827 void webkitResolveLocalFileSystemURL(String url, [EntryCallback successCallbac
k, ErrorCallback errorCallback]); |
14781 } | 14828 } |
14782 | 14829 |
14783 interface DOMWindow extends Window { | 14830 interface DOMWindow extends Window { |
14784 | 14831 |
(...skipping 20 matching lines...) Expand all Loading... |
14805 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 14852 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
14806 // for details. All rights reserved. Use of this source code is governed by a | 14853 // for details. All rights reserved. Use of this source code is governed by a |
14807 // BSD-style license that can be found in the LICENSE file. | 14854 // BSD-style license that can be found in the LICENSE file. |
14808 | 14855 |
14809 // WARNING: Do not edit - generated code. | 14856 // WARNING: Do not edit - generated code. |
14810 | 14857 |
14811 interface DataTransferItemList { | 14858 interface DataTransferItemList { |
14812 | 14859 |
14813 int get length(); | 14860 int get length(); |
14814 | 14861 |
14815 void add(String data, String type); | 14862 void add(var data_OR_file, [String type]); |
14816 | 14863 |
14817 void clear(); | 14864 void clear(); |
14818 | 14865 |
14819 DataTransferItem item(int index); | 14866 DataTransferItem item(int index); |
14820 } | 14867 } |
14821 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 14868 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
14822 // for details. All rights reserved. Use of this source code is governed by a | 14869 // for details. All rights reserved. Use of this source code is governed by a |
14823 // BSD-style license that can be found in the LICENSE file. | 14870 // BSD-style license that can be found in the LICENSE file. |
14824 | 14871 |
14825 // WARNING: Do not edit - generated code. | 14872 // WARNING: Do not edit - generated code. |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
14939 num get interval(); | 14986 num get interval(); |
14940 } | 14987 } |
14941 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 14988 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
14942 // for details. All rights reserved. Use of this source code is governed by a | 14989 // for details. All rights reserved. Use of this source code is governed by a |
14943 // BSD-style license that can be found in the LICENSE file. | 14990 // BSD-style license that can be found in the LICENSE file. |
14944 | 14991 |
14945 // WARNING: Do not edit - generated code. | 14992 // WARNING: Do not edit - generated code. |
14946 | 14993 |
14947 interface DeviceOrientationEvent extends Event { | 14994 interface DeviceOrientationEvent extends Event { |
14948 | 14995 |
| 14996 bool get absolute(); |
| 14997 |
14949 num get alpha(); | 14998 num get alpha(); |
14950 | 14999 |
14951 num get beta(); | 15000 num get beta(); |
14952 | 15001 |
14953 num get gamma(); | 15002 num get gamma(); |
14954 | 15003 |
14955 void initDeviceOrientationEvent(String type, bool bubbles, bool cancelable, nu
m alpha, num beta, num gamma); | 15004 void initDeviceOrientationEvent(String type, bool bubbles, bool cancelable, nu
m alpha, num beta, num gamma, bool absolute); |
14956 } | 15005 } |
14957 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 15006 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
14958 // for details. All rights reserved. Use of this source code is governed by a | 15007 // for details. All rights reserved. Use of this source code is governed by a |
14959 // BSD-style license that can be found in the LICENSE file. | 15008 // BSD-style license that can be found in the LICENSE file. |
14960 | 15009 |
14961 // WARNING: Do not edit - generated code. | 15010 // WARNING: Do not edit - generated code. |
14962 | 15011 |
14963 interface DirectoryEntry extends Entry { | 15012 interface DirectoryEntry extends Entry { |
14964 | 15013 |
14965 DirectoryReader createReader(); | 15014 DirectoryReader createReader(); |
(...skipping 660 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
15626 static final int CLOSED = 2; | 15675 static final int CLOSED = 2; |
15627 | 15676 |
15628 static final int CONNECTING = 0; | 15677 static final int CONNECTING = 0; |
15629 | 15678 |
15630 static final int OPEN = 1; | 15679 static final int OPEN = 1; |
15631 | 15680 |
15632 String get URL(); | 15681 String get URL(); |
15633 | 15682 |
15634 int get readyState(); | 15683 int get readyState(); |
15635 | 15684 |
| 15685 String get url(); |
| 15686 |
15636 void addEventListener(String type, EventListener listener, [bool useCapture]); | 15687 void addEventListener(String type, EventListener listener, [bool useCapture]); |
15637 | 15688 |
15638 void close(); | 15689 void close(); |
15639 | 15690 |
15640 bool dispatchEvent(Event evt); | 15691 bool dispatchEvent(Event evt); |
15641 | 15692 |
15642 void removeEventListener(String type, EventListener listener, [bool useCapture
]); | 15693 void removeEventListener(String type, EventListener listener, [bool useCapture
]); |
15643 } | 15694 } |
15644 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 15695 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
15645 // for details. All rights reserved. Use of this source code is governed by a | 15696 // for details. All rights reserved. Use of this source code is governed by a |
(...skipping 769 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
16415 Node item(int index); | 16466 Node item(int index); |
16416 | 16467 |
16417 Node namedItem(String name); | 16468 Node namedItem(String name); |
16418 } | 16469 } |
16419 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 16470 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
16420 // for details. All rights reserved. Use of this source code is governed by a | 16471 // for details. All rights reserved. Use of this source code is governed by a |
16421 // BSD-style license that can be found in the LICENSE file. | 16472 // BSD-style license that can be found in the LICENSE file. |
16422 | 16473 |
16423 // WARNING: Do not edit - generated code. | 16474 // WARNING: Do not edit - generated code. |
16424 | 16475 |
| 16476 interface HTMLContentElement extends HTMLElement { |
| 16477 |
| 16478 String get select(); |
| 16479 |
| 16480 void set select(String value); |
| 16481 } |
| 16482 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 16483 // for details. All rights reserved. Use of this source code is governed by a |
| 16484 // BSD-style license that can be found in the LICENSE file. |
| 16485 |
| 16486 // WARNING: Do not edit - generated code. |
| 16487 |
16425 interface HTMLDListElement extends HTMLElement { | 16488 interface HTMLDListElement extends HTMLElement { |
16426 | 16489 |
16427 bool get compact(); | 16490 bool get compact(); |
16428 | 16491 |
16429 void set compact(bool value); | 16492 void set compact(bool value); |
16430 } | 16493 } |
16431 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 16494 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
16432 // for details. All rights reserved. Use of this source code is governed by a | 16495 // for details. All rights reserved. Use of this source code is governed by a |
16433 // BSD-style license that can be found in the LICENSE file. | 16496 // BSD-style license that can be found in the LICENSE file. |
16434 | 16497 |
(...skipping 2284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
18719 IDBKey get key(); | 18782 IDBKey get key(); |
18720 | 18783 |
18721 IDBKey get primaryKey(); | 18784 IDBKey get primaryKey(); |
18722 | 18785 |
18723 IDBAny get source(); | 18786 IDBAny get source(); |
18724 | 18787 |
18725 void continueFunction([IDBKey key]); | 18788 void continueFunction([IDBKey key]); |
18726 | 18789 |
18727 IDBRequest delete(); | 18790 IDBRequest delete(); |
18728 | 18791 |
18729 IDBRequest update(String value); | 18792 IDBRequest update(Dynamic/*SerializedScriptValue*/ value); |
18730 } | 18793 } |
18731 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 18794 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
18732 // for details. All rights reserved. Use of this source code is governed by a | 18795 // for details. All rights reserved. Use of this source code is governed by a |
18733 // BSD-style license that can be found in the LICENSE file. | 18796 // BSD-style license that can be found in the LICENSE file. |
18734 | 18797 |
18735 // WARNING: Do not edit - generated code. | 18798 // WARNING: Do not edit - generated code. |
18736 | 18799 |
18737 interface IDBCursorWithValue extends IDBCursor { | 18800 interface IDBCursorWithValue extends IDBCursor { |
18738 | 18801 |
18739 IDBAny get value(); | 18802 IDBAny get value(); |
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
18919 // WARNING: Do not edit - generated code. | 18982 // WARNING: Do not edit - generated code. |
18920 | 18983 |
18921 interface IDBObjectStore { | 18984 interface IDBObjectStore { |
18922 | 18985 |
18923 String get keyPath(); | 18986 String get keyPath(); |
18924 | 18987 |
18925 String get name(); | 18988 String get name(); |
18926 | 18989 |
18927 IDBTransaction get transaction(); | 18990 IDBTransaction get transaction(); |
18928 | 18991 |
18929 IDBRequest add(String value, [IDBKey key]); | 18992 IDBRequest add(Dynamic/*SerializedScriptValue*/ value, [IDBKey key]); |
18930 | 18993 |
18931 IDBRequest clear(); | 18994 IDBRequest clear(); |
18932 | 18995 |
18933 IDBRequest count([IDBKeyRange range]); | 18996 IDBRequest count([IDBKeyRange range]); |
18934 | 18997 |
18935 IDBIndex createIndex(String name, String keyPath); | 18998 IDBIndex createIndex(String name, String keyPath); |
18936 | 18999 |
18937 IDBRequest delete(IDBKey key); | 19000 IDBRequest delete(IDBKey key); |
18938 | 19001 |
18939 void deleteIndex(String name); | 19002 void deleteIndex(String name); |
18940 | 19003 |
18941 IDBRequest getObject(IDBKey key); | 19004 IDBRequest getObject(IDBKey key); |
18942 | 19005 |
18943 IDBIndex index(String name); | 19006 IDBIndex index(String name); |
18944 | 19007 |
18945 IDBRequest openCursor([IDBKeyRange range, int direction]); | 19008 IDBRequest openCursor([IDBKeyRange range, int direction]); |
18946 | 19009 |
18947 IDBRequest put(String value, [IDBKey key]); | 19010 IDBRequest put(Dynamic/*SerializedScriptValue*/ value, [IDBKey key]); |
18948 } | 19011 } |
18949 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 19012 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
18950 // for details. All rights reserved. Use of this source code is governed by a | 19013 // for details. All rights reserved. Use of this source code is governed by a |
18951 // BSD-style license that can be found in the LICENSE file. | 19014 // BSD-style license that can be found in the LICENSE file. |
18952 | 19015 |
18953 // WARNING: Do not edit - generated code. | 19016 // WARNING: Do not edit - generated code. |
18954 | 19017 |
18955 interface IDBRequest { | 19018 interface IDBRequest { |
18956 | 19019 |
18957 static final int DONE = 2; | 19020 static final int DONE = 2; |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
19073 void copyText(String text); | 19136 void copyText(String text); |
19074 | 19137 |
19075 int databaseId(Object database); | 19138 int databaseId(Object database); |
19076 | 19139 |
19077 void didCreateWorker(int id, String url, bool isFakeWorker); | 19140 void didCreateWorker(int id, String url, bool isFakeWorker); |
19078 | 19141 |
19079 void didDestroyWorker(int id); | 19142 void didDestroyWorker(int id); |
19080 | 19143 |
19081 Object evaluate(String text); | 19144 Object evaluate(String text); |
19082 | 19145 |
19083 Object functionLocation(Object object); | 19146 Object functionDetails(Object object); |
19084 | 19147 |
19085 void inspect(Object objectId, Object hints); | 19148 void inspect(Object objectId, Object hints); |
19086 | 19149 |
19087 Object inspectedNode(int num); | 19150 Object inspectedNode(int num); |
19088 | 19151 |
19089 Object internalConstructorName(Object object); | 19152 Object internalConstructorName(Object object); |
19090 | 19153 |
19091 bool isHTMLAllCollection(Object object); | 19154 bool isHTMLAllCollection(Object object); |
19092 | 19155 |
19093 int nextWorkerId(); | 19156 int nextWorkerId(); |
(...skipping 23 matching lines...) Expand all Loading... |
19117 void inspectedURLChanged(String newURL); | 19180 void inspectedURLChanged(String newURL); |
19118 | 19181 |
19119 String loadResourceSynchronously(String url); | 19182 String loadResourceSynchronously(String url); |
19120 | 19183 |
19121 void loaded(); | 19184 void loaded(); |
19122 | 19185 |
19123 String localizedStringsURL(); | 19186 String localizedStringsURL(); |
19124 | 19187 |
19125 void moveWindowBy(num x, num y); | 19188 void moveWindowBy(num x, num y); |
19126 | 19189 |
| 19190 void openInNewTab(String url); |
| 19191 |
19127 String platform(); | 19192 String platform(); |
19128 | 19193 |
19129 String port(); | 19194 String port(); |
19130 | 19195 |
19131 void recordActionTaken(int actionCode); | 19196 void recordActionTaken(int actionCode); |
19132 | 19197 |
19133 void recordPanelShown(int panelCode); | 19198 void recordPanelShown(int panelCode); |
19134 | 19199 |
19135 void recordSettingChanged(int settingChanged); | 19200 void recordSettingChanged(int settingChanged); |
19136 | 19201 |
(...skipping 4260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
23397 String get url(); | 23462 String get url(); |
23398 | 23463 |
23399 bool get visible(); | 23464 bool get visible(); |
23400 } | 23465 } |
23401 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 23466 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
23402 // for details. All rights reserved. Use of this source code is governed by a | 23467 // for details. All rights reserved. Use of this source code is governed by a |
23403 // BSD-style license that can be found in the LICENSE file. | 23468 // BSD-style license that can be found in the LICENSE file. |
23404 | 23469 |
23405 // WARNING: Do not edit - generated code. | 23470 // WARNING: Do not edit - generated code. |
23406 | 23471 |
| 23472 interface ShadowRoot extends Node { |
| 23473 |
| 23474 Element get host(); |
| 23475 } |
| 23476 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 23477 // for details. All rights reserved. Use of this source code is governed by a |
| 23478 // BSD-style license that can be found in the LICENSE file. |
| 23479 |
| 23480 // WARNING: Do not edit - generated code. |
| 23481 |
23407 interface SharedWorker extends AbstractWorker { | 23482 interface SharedWorker extends AbstractWorker { |
23408 | 23483 |
23409 MessagePort get port(); | 23484 MessagePort get port(); |
23410 } | 23485 } |
23411 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 23486 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
23412 // for details. All rights reserved. Use of this source code is governed by a | 23487 // for details. All rights reserved. Use of this source code is governed by a |
23413 // BSD-style license that can be found in the LICENSE file. | 23488 // BSD-style license that can be found in the LICENSE file. |
23414 | 23489 |
23415 // WARNING: Do not edit - generated code. | 23490 // WARNING: Do not edit - generated code. |
23416 | 23491 |
(...skipping 577 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
23994 void setElements(Object array, [int offset]); | 24069 void setElements(Object array, [int offset]); |
23995 | 24070 |
23996 Uint8Array subarray(int start, [int end]); | 24071 Uint8Array subarray(int start, [int end]); |
23997 } | 24072 } |
23998 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 24073 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
23999 // for details. All rights reserved. Use of this source code is governed by a | 24074 // for details. All rights reserved. Use of this source code is governed by a |
24000 // BSD-style license that can be found in the LICENSE file. | 24075 // BSD-style license that can be found in the LICENSE file. |
24001 | 24076 |
24002 // WARNING: Do not edit - generated code. | 24077 // WARNING: Do not edit - generated code. |
24003 | 24078 |
| 24079 interface Uint8ClampedArray extends Uint8Array default _TypedArrayFactoryProvide
r { |
| 24080 |
| 24081 Uint8ClampedArray(int length); |
| 24082 |
| 24083 Uint8ClampedArray.fromList(List<int> list); |
| 24084 |
| 24085 Uint8ClampedArray.fromBuffer(ArrayBuffer buffer); |
| 24086 |
| 24087 int get length(); |
| 24088 |
| 24089 Uint8ClampedArray subarray(int start, [int end]); |
| 24090 } |
| 24091 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 24092 // for details. All rights reserved. Use of this source code is governed by a |
| 24093 // BSD-style license that can be found in the LICENSE file. |
| 24094 |
| 24095 // WARNING: Do not edit - generated code. |
| 24096 |
24004 interface ValidityState { | 24097 interface ValidityState { |
24005 | 24098 |
24006 bool get customError(); | 24099 bool get customError(); |
24007 | 24100 |
24008 bool get patternMismatch(); | 24101 bool get patternMismatch(); |
24009 | 24102 |
24010 bool get rangeOverflow(); | 24103 bool get rangeOverflow(); |
24011 | 24104 |
24012 bool get rangeUnderflow(); | 24105 bool get rangeUnderflow(); |
24013 | 24106 |
(...skipping 813 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
24827 void clearColor(num red, num green, num blue, num alpha); | 24920 void clearColor(num red, num green, num blue, num alpha); |
24828 | 24921 |
24829 void clearDepth(num depth); | 24922 void clearDepth(num depth); |
24830 | 24923 |
24831 void clearStencil(int s); | 24924 void clearStencil(int s); |
24832 | 24925 |
24833 void colorMask(bool red, bool green, bool blue, bool alpha); | 24926 void colorMask(bool red, bool green, bool blue, bool alpha); |
24834 | 24927 |
24835 void compileShader(WebGLShader shader); | 24928 void compileShader(WebGLShader shader); |
24836 | 24929 |
| 24930 void compressedTexImage2D(int target, int level, int internalformat, int width
, int height, int border, ArrayBufferView data); |
| 24931 |
| 24932 void compressedTexSubImage2D(int target, int level, int xoffset, int yoffset,
int width, int height, int format, ArrayBufferView data); |
| 24933 |
24837 void copyTexImage2D(int target, int level, int internalformat, int x, int y, i
nt width, int height, int border); | 24934 void copyTexImage2D(int target, int level, int internalformat, int x, int y, i
nt width, int height, int border); |
24838 | 24935 |
24839 void copyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x,
int y, int width, int height); | 24936 void copyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x,
int y, int width, int height); |
24840 | 24937 |
24841 WebGLBuffer createBuffer(); | 24938 WebGLBuffer createBuffer(); |
24842 | 24939 |
24843 WebGLFramebuffer createFramebuffer(); | 24940 WebGLFramebuffer createFramebuffer(); |
24844 | 24941 |
24845 WebGLProgram createProgram(); | 24942 WebGLProgram createProgram(); |
24846 | 24943 |
(...skipping 506 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
25353 String toString(); | 25450 String toString(); |
25354 | 25451 |
25355 WebKitCSSMatrix translate(num x, num y, num z); | 25452 WebKitCSSMatrix translate(num x, num y, num z); |
25356 } | 25453 } |
25357 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 25454 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
25358 // for details. All rights reserved. Use of this source code is governed by a | 25455 // for details. All rights reserved. Use of this source code is governed by a |
25359 // BSD-style license that can be found in the LICENSE file. | 25456 // BSD-style license that can be found in the LICENSE file. |
25360 | 25457 |
25361 // WARNING: Do not edit - generated code. | 25458 // WARNING: Do not edit - generated code. |
25362 | 25459 |
| 25460 interface WebKitCSSRegionRule extends CSSRule { |
| 25461 |
| 25462 CSSRuleList get cssRules(); |
| 25463 } |
| 25464 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 25465 // for details. All rights reserved. Use of this source code is governed by a |
| 25466 // BSD-style license that can be found in the LICENSE file. |
| 25467 |
| 25468 // WARNING: Do not edit - generated code. |
| 25469 |
25363 interface WebKitCSSTransformValue extends CSSValueList { | 25470 interface WebKitCSSTransformValue extends CSSValueList { |
25364 | 25471 |
25365 static final int CSS_MATRIX = 11; | 25472 static final int CSS_MATRIX = 11; |
25366 | 25473 |
25367 static final int CSS_MATRIX3D = 21; | 25474 static final int CSS_MATRIX3D = 21; |
25368 | 25475 |
25369 static final int CSS_PERSPECTIVE = 20; | 25476 static final int CSS_PERSPECTIVE = 20; |
25370 | 25477 |
25371 static final int CSS_ROTATE = 4; | 25478 static final int CSS_ROTATE = 4; |
25372 | 25479 |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
25479 void set binaryType(String value); | 25586 void set binaryType(String value); |
25480 | 25587 |
25481 int get bufferedAmount(); | 25588 int get bufferedAmount(); |
25482 | 25589 |
25483 String get extensions(); | 25590 String get extensions(); |
25484 | 25591 |
25485 String get protocol(); | 25592 String get protocol(); |
25486 | 25593 |
25487 int get readyState(); | 25594 int get readyState(); |
25488 | 25595 |
| 25596 String get url(); |
| 25597 |
25489 void addEventListener(String type, EventListener listener, [bool useCapture]); | 25598 void addEventListener(String type, EventListener listener, [bool useCapture]); |
25490 | 25599 |
25491 void close([int code, String reason]); | 25600 void close([int code, String reason]); |
25492 | 25601 |
25493 bool dispatchEvent(Event evt); | 25602 bool dispatchEvent(Event evt); |
25494 | 25603 |
25495 void removeEventListener(String type, EventListener listener, [bool useCapture
]); | 25604 void removeEventListener(String type, EventListener listener, [bool useCapture
]); |
25496 | 25605 |
25497 bool send(String data); | 25606 bool send(String data); |
25498 } | 25607 } |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
25539 void initWebKitWheelEvent(int wheelDeltaX, int wheelDeltaY, DOMWindow view, in
t screenX, int screenY, int clientX, int clientY, bool ctrlKey, bool altKey, boo
l shiftKey, bool metaKey); | 25648 void initWebKitWheelEvent(int wheelDeltaX, int wheelDeltaY, DOMWindow view, in
t screenX, int screenY, int clientX, int clientY, bool ctrlKey, bool altKey, boo
l shiftKey, bool metaKey); |
25540 } | 25649 } |
25541 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 25650 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
25542 // for details. All rights reserved. Use of this source code is governed by a | 25651 // for details. All rights reserved. Use of this source code is governed by a |
25543 // BSD-style license that can be found in the LICENSE file. | 25652 // BSD-style license that can be found in the LICENSE file. |
25544 | 25653 |
25545 // WARNING: Do not edit - generated code. | 25654 // WARNING: Do not edit - generated code. |
25546 | 25655 |
25547 interface Worker extends AbstractWorker { | 25656 interface Worker extends AbstractWorker { |
25548 | 25657 |
25549 // TODO(jimhug): Manually changed this from String message to var message. | 25658 void postMessage(Dynamic/*SerializedScriptValue*/ message, [List messagePorts]
); |
25550 void postMessage(var message, [List messagePorts]); | |
25551 | 25659 |
25552 void terminate(); | 25660 void terminate(); |
25553 | 25661 |
25554 void webkitPostMessage(String message, [List messagePorts]); | 25662 void webkitPostMessage(Dynamic/*SerializedScriptValue*/ message, [List message
Ports]); |
25555 } | 25663 } |
25556 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 25664 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
25557 // for details. All rights reserved. Use of this source code is governed by a | 25665 // for details. All rights reserved. Use of this source code is governed by a |
25558 // BSD-style license that can be found in the LICENSE file. | 25666 // BSD-style license that can be found in the LICENSE file. |
25559 | 25667 |
25560 // WARNING: Do not edit - generated code. | 25668 // WARNING: Do not edit - generated code. |
25561 | 25669 |
25562 interface WorkerGlobalScope { | 25670 interface WorkerGlobalScope { |
25563 | 25671 |
25564 WorkerLocation get location(); | 25672 WorkerLocation get location(); |
(...skipping 1043 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
26608 factory Uint8Array.fromBuffer(ArrayBuffer buffer) => _U8(buffer); | 26716 factory Uint8Array.fromBuffer(ArrayBuffer buffer) => _U8(buffer); |
26609 | 26717 |
26610 factory Uint16Array(int length) => _U16(length); | 26718 factory Uint16Array(int length) => _U16(length); |
26611 factory Uint16Array.fromList(List<num> list) => _U16(ensureNative(list)); | 26719 factory Uint16Array.fromList(List<num> list) => _U16(ensureNative(list)); |
26612 factory Uint16Array.fromBuffer(ArrayBuffer buffer) => _U16(buffer); | 26720 factory Uint16Array.fromBuffer(ArrayBuffer buffer) => _U16(buffer); |
26613 | 26721 |
26614 factory Uint32Array(int length) => _U32(length); | 26722 factory Uint32Array(int length) => _U32(length); |
26615 factory Uint32Array.fromList(List<num> list) => _U32(ensureNative(list)); | 26723 factory Uint32Array.fromList(List<num> list) => _U32(ensureNative(list)); |
26616 factory Uint32Array.fromBuffer(ArrayBuffer buffer) => _U32(buffer); | 26724 factory Uint32Array.fromBuffer(ArrayBuffer buffer) => _U32(buffer); |
26617 | 26725 |
| 26726 factory Uint8ClampedArray(int length) => _U8C(length); |
| 26727 factory Uint8ClampedArray.fromList(List<num> list) => _U8C(ensureNative(list))
; |
| 26728 factory Uint8ClampedArray.fromBuffer(ArrayBuffer buffer) => _U8C(buffer); |
26618 | 26729 |
26619 static Float32Array _F32(arg) native 'return new Float32Array(arg);'; | 26730 static Float32Array _F32(arg) native 'return new Float32Array(arg);'; |
26620 static Float64Array _F64(arg) native 'return new Float64Array(arg);'; | 26731 static Float64Array _F64(arg) native 'return new Float64Array(arg);'; |
26621 static Int8Array _I8(arg) native 'return new Int8Array(arg);'; | 26732 static Int8Array _I8(arg) native 'return new Int8Array(arg);'; |
26622 static Int16Array _I16(arg) native 'return new Int16Array(arg);'; | 26733 static Int16Array _I16(arg) native 'return new Int16Array(arg);'; |
26623 static Int32Array _I32(arg) native 'return new Int32Array(arg);'; | 26734 static Int32Array _I32(arg) native 'return new Int32Array(arg);'; |
26624 static Uint8Array _U8(arg) native 'return new Uint8Array(arg);'; | 26735 static Uint8Array _U8(arg) native 'return new Uint8Array(arg);'; |
26625 static Uint16Array _U16(arg) native 'return new Uint16Array(arg);'; | 26736 static Uint16Array _U16(arg) native 'return new Uint16Array(arg);'; |
26626 static Uint32Array _U32(arg) native 'return new Uint32Array(arg);'; | 26737 static Uint32Array _U32(arg) native 'return new Uint32Array(arg);'; |
| 26738 static Uint8ClampedArray _U8C(arg) native 'return new Uint8ClampedArray(arg);'
; |
26627 | 26739 |
26628 static ensureNative(List list) => list; // TODO: make sure. | 26740 static ensureNative(List list) => list; // TODO: make sure. |
26629 } | 26741 } |
26630 | 26742 |
26631 class _WebKitCSSMatrixFactoryProvider { | 26743 class _WebKitCSSMatrixFactoryProvider { |
26632 | 26744 |
26633 factory WebKitCSSMatrix([String spec = '']) native | 26745 factory WebKitCSSMatrix([String spec = '']) native |
26634 '''return new WebKitCSSMatrix(spec);'''; | 26746 '''return new WebKitCSSMatrix(spec);'''; |
26635 } | 26747 } |
26636 | 26748 |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
26742 if (length < 0) throw new IllegalArgumentException('length'); | 26854 if (length < 0) throw new IllegalArgumentException('length'); |
26743 if (start < 0) throw new IndexOutOfRangeException(start); | 26855 if (start < 0) throw new IndexOutOfRangeException(start); |
26744 int end = start + length; | 26856 int end = start + length; |
26745 if (end > a.length) throw new IndexOutOfRangeException(end); | 26857 if (end > a.length) throw new IndexOutOfRangeException(end); |
26746 for (int i = start; i < end; i++) { | 26858 for (int i = start; i < end; i++) { |
26747 accumulator.add(a[i]); | 26859 accumulator.add(a[i]); |
26748 } | 26860 } |
26749 return accumulator; | 26861 return accumulator; |
26750 } | 26862 } |
26751 } | 26863 } |
OLD | NEW |