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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 _AudioBufferJs createBuffer(var buffer_OR_numberOfChannels, var mixToMono_OR_n
umberOfFrames, [num sampleRate = null]) native; | 114 _AudioBufferJs createBuffer(var buffer_OR_numberOfChannels, var mixToMono_OR_n
umberOfFrames, [num sampleRate = null]) native; |
115 | 115 |
116 _AudioBufferSourceNodeJs createBufferSource() native; | 116 _AudioBufferSourceNodeJs createBufferSource() native; |
117 | 117 |
118 _AudioChannelMergerJs createChannelMerger() native; | 118 _AudioChannelMergerJs createChannelMerger() native; |
119 | 119 |
120 _AudioChannelSplitterJs createChannelSplitter() native; | 120 _AudioChannelSplitterJs createChannelSplitter() native; |
121 | 121 |
122 _ConvolverNodeJs createConvolver() native; | 122 _ConvolverNodeJs createConvolver() native; |
123 | 123 |
124 _DelayNodeJs createDelayNode() native; | 124 _DelayNodeJs createDelayNode([num maxDelayTime = null]) native; |
125 | 125 |
126 _DynamicsCompressorNodeJs createDynamicsCompressor() native; | 126 _DynamicsCompressorNodeJs createDynamicsCompressor() native; |
127 | 127 |
128 _AudioGainNodeJs createGainNode() native; | 128 _AudioGainNodeJs createGainNode() native; |
129 | 129 |
130 _HighPass2FilterNodeJs createHighPass2Filter() native; | 130 _HighPass2FilterNodeJs createHighPass2Filter() native; |
131 | 131 |
132 _JavaScriptAudioNodeJs createJavaScriptNode(int bufferSize) native; | 132 _JavaScriptAudioNodeJs createJavaScriptNode(int bufferSize) native; |
133 | 133 |
134 _LowPass2FilterNodeJs createLowPass2Filter() native; | 134 _LowPass2FilterNodeJs createLowPass2Filter() native; |
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
396 static final int CSS_RGBCOLOR = 25; | 396 static final int CSS_RGBCOLOR = 25; |
397 | 397 |
398 static final int CSS_S = 15; | 398 static final int CSS_S = 15; |
399 | 399 |
400 static final int CSS_STRING = 19; | 400 static final int CSS_STRING = 19; |
401 | 401 |
402 static final int CSS_UNKNOWN = 0; | 402 static final int CSS_UNKNOWN = 0; |
403 | 403 |
404 static final int CSS_URI = 20; | 404 static final int CSS_URI = 20; |
405 | 405 |
| 406 static final int CSS_VH = 27; |
| 407 |
| 408 static final int CSS_VMIN = 28; |
| 409 |
| 410 static final int CSS_VW = 26; |
| 411 |
406 final int primitiveType; | 412 final int primitiveType; |
407 | 413 |
408 _CounterJs getCounterValue() native; | 414 _CounterJs getCounterValue() native; |
409 | 415 |
410 num getFloatValue(int unitType) native; | 416 num getFloatValue(int unitType) native; |
411 | 417 |
412 _RGBColorJs getRGBColorValue() native; | 418 _RGBColorJs getRGBColorValue() native; |
413 | 419 |
414 _RectJs getRectValue() native; | 420 _RectJs getRectValue() native; |
415 | 421 |
(...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
788 class _ClipboardJs extends _DOMTypeJs implements Clipboard native "*Clipboard" { | 794 class _ClipboardJs extends _DOMTypeJs implements Clipboard native "*Clipboard" { |
789 | 795 |
790 String dropEffect; | 796 String dropEffect; |
791 | 797 |
792 String effectAllowed; | 798 String effectAllowed; |
793 | 799 |
794 final _FileListJs files; | 800 final _FileListJs files; |
795 | 801 |
796 final _DataTransferItemListJs items; | 802 final _DataTransferItemListJs items; |
797 | 803 |
798 final List<String> types; | 804 final List types; |
799 | 805 |
800 void clearData([String type = null]) native; | 806 void clearData([String type = null]) native; |
801 | 807 |
802 void getData(String type) native; | 808 String getData(String type) native; |
803 | 809 |
804 bool setData(String type, String data) native; | 810 bool setData(String type, String data) native; |
805 | 811 |
806 void setDragImage(_HTMLImageElementJs image, int x, int y) native; | 812 void setDragImage(_HTMLImageElementJs image, int x, int y) native; |
807 } | 813 } |
808 | 814 |
809 class _CloseEventJs extends _EventJs implements CloseEvent native "*CloseEvent"
{ | 815 class _CloseEventJs extends _EventJs implements CloseEvent native "*CloseEvent"
{ |
810 | 816 |
811 final int code; | 817 final int code; |
812 | 818 |
(...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1172 String item(int index) native; | 1178 String item(int index) native; |
1173 | 1179 |
1174 void remove(String token) native; | 1180 void remove(String token) native; |
1175 | 1181 |
1176 String toString() native; | 1182 String toString() native; |
1177 | 1183 |
1178 bool toggle(String token) native; | 1184 bool toggle(String token) native; |
1179 } | 1185 } |
1180 | 1186 |
1181 class _DOMURLJs extends _DOMTypeJs implements DOMURL native "*DOMURL" { | 1187 class _DOMURLJs extends _DOMTypeJs implements DOMURL native "*DOMURL" { |
| 1188 |
| 1189 String createObjectURL(var blob_OR_stream) native; |
| 1190 |
| 1191 void revokeObjectURL(String url) native; |
1182 } | 1192 } |
1183 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1193 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
1184 // for details. All rights reserved. Use of this source code is governed by a | 1194 // for details. All rights reserved. Use of this source code is governed by a |
1185 // BSD-style license that can be found in the LICENSE file. | 1195 // BSD-style license that can be found in the LICENSE file. |
1186 | 1196 |
1187 class _DOMWindowJs extends _EventTargetJs implements DOMWindow native "@*DOMWind
ow" { | 1197 class _DOMWindowJs extends _EventTargetJs implements DOMWindow native "@*DOMWind
ow" { |
1188 | 1198 |
1189 static final int PERSISTENT = 1; | 1199 static final int PERSISTENT = 1; |
1190 | 1200 |
1191 static final int TEMPORARY = 0; | 1201 static final int TEMPORARY = 0; |
(...skipping 505 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1697 final String name; | 1707 final String name; |
1698 | 1708 |
1699 final _NamedNodeMapJs notations; | 1709 final _NamedNodeMapJs notations; |
1700 | 1710 |
1701 final String publicId; | 1711 final String publicId; |
1702 | 1712 |
1703 final String systemId; | 1713 final String systemId; |
1704 } | 1714 } |
1705 | 1715 |
1706 class _DynamicsCompressorNodeJs extends _AudioNodeJs implements DynamicsCompress
orNode native "*DynamicsCompressorNode" { | 1716 class _DynamicsCompressorNodeJs extends _AudioNodeJs implements DynamicsCompress
orNode native "*DynamicsCompressorNode" { |
| 1717 |
| 1718 final _AudioParamJs knee; |
| 1719 |
| 1720 final _AudioParamJs ratio; |
| 1721 |
| 1722 final _AudioParamJs reduction; |
| 1723 |
| 1724 final _AudioParamJs threshold; |
1707 } | 1725 } |
1708 | 1726 |
1709 class _ElementJs extends _NodeJs implements Element native "*Element" { | 1727 class _ElementJs extends _NodeJs implements Element native "*Element" { |
1710 | 1728 |
1711 static final int ALLOW_KEYBOARD_INPUT = 1; | 1729 static final int ALLOW_KEYBOARD_INPUT = 1; |
1712 | 1730 |
1713 final int childElementCount; | 1731 final int childElementCount; |
1714 | 1732 |
1715 final int clientHeight; | 1733 final int clientHeight; |
1716 | 1734 |
(...skipping 1560 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3277 | 3295 |
3278 String width; | 3296 String width; |
3279 | 3297 |
3280 void start() native; | 3298 void start() native; |
3281 | 3299 |
3282 void stop() native; | 3300 void stop() native; |
3283 } | 3301 } |
3284 | 3302 |
3285 class _HTMLMediaElementJs extends _HTMLElementJs implements HTMLMediaElement nat
ive "*HTMLMediaElement" { | 3303 class _HTMLMediaElementJs extends _HTMLElementJs implements HTMLMediaElement nat
ive "*HTMLMediaElement" { |
3286 | 3304 |
3287 static final int EOS_DECODE_ERR = 2; | |
3288 | |
3289 static final int EOS_NETWORK_ERR = 1; | |
3290 | |
3291 static final int EOS_NO_ERROR = 0; | |
3292 | |
3293 static final int HAVE_CURRENT_DATA = 2; | 3305 static final int HAVE_CURRENT_DATA = 2; |
3294 | 3306 |
3295 static final int HAVE_ENOUGH_DATA = 4; | 3307 static final int HAVE_ENOUGH_DATA = 4; |
3296 | 3308 |
3297 static final int HAVE_FUTURE_DATA = 3; | 3309 static final int HAVE_FUTURE_DATA = 3; |
3298 | 3310 |
3299 static final int HAVE_METADATA = 1; | 3311 static final int HAVE_METADATA = 1; |
3300 | 3312 |
3301 static final int HAVE_NOTHING = 0; | 3313 static final int HAVE_NOTHING = 0; |
3302 | 3314 |
3303 static final int NETWORK_EMPTY = 0; | 3315 static final int NETWORK_EMPTY = 0; |
3304 | 3316 |
3305 static final int NETWORK_IDLE = 1; | 3317 static final int NETWORK_IDLE = 1; |
3306 | 3318 |
3307 static final int NETWORK_LOADING = 2; | 3319 static final int NETWORK_LOADING = 2; |
3308 | 3320 |
3309 static final int NETWORK_NO_SOURCE = 3; | 3321 static final int NETWORK_NO_SOURCE = 3; |
3310 | 3322 |
3311 static final int SOURCE_CLOSED = 0; | |
3312 | |
3313 static final int SOURCE_ENDED = 2; | |
3314 | |
3315 static final int SOURCE_OPEN = 1; | |
3316 | |
3317 bool autoplay; | 3323 bool autoplay; |
3318 | 3324 |
3319 final _TimeRangesJs buffered; | 3325 final _TimeRangesJs buffered; |
3320 | 3326 |
3321 _MediaControllerJs controller; | 3327 _MediaControllerJs controller; |
3322 | 3328 |
3323 bool controls; | 3329 bool controls; |
3324 | 3330 |
3325 final String currentSrc; | 3331 final String currentSrc; |
3326 | 3332 |
(...skipping 568 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3895 void setSelectionRange(int start, int end, [String direction = null]) native; | 3901 void setSelectionRange(int start, int end, [String direction = null]) native; |
3896 } | 3902 } |
3897 | 3903 |
3898 class _HTMLTitleElementJs extends _HTMLElementJs implements HTMLTitleElement nat
ive "*HTMLTitleElement" { | 3904 class _HTMLTitleElementJs extends _HTMLElementJs implements HTMLTitleElement nat
ive "*HTMLTitleElement" { |
3899 | 3905 |
3900 String text; | 3906 String text; |
3901 } | 3907 } |
3902 | 3908 |
3903 class _HTMLTrackElementJs extends _HTMLElementJs implements HTMLTrackElement nat
ive "*HTMLTrackElement" { | 3909 class _HTMLTrackElementJs extends _HTMLElementJs implements HTMLTrackElement nat
ive "*HTMLTrackElement" { |
3904 | 3910 |
3905 static final int ERROR = 3; | |
3906 | |
3907 static final int LOADED = 2; | 3911 static final int LOADED = 2; |
3908 | 3912 |
3909 static final int LOADING = 1; | 3913 static final int LOADING = 1; |
3910 | 3914 |
3911 static final int NONE = 0; | 3915 static final int NONE = 0; |
3912 | 3916 |
3913 bool isDefault; | 3917 bool isDefault; |
3914 | 3918 |
3915 String kind; | 3919 String kind; |
3916 | 3920 |
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4124 final String keyPath; | 4128 final String keyPath; |
4125 | 4129 |
4126 final bool multiEntry; | 4130 final bool multiEntry; |
4127 | 4131 |
4128 final String name; | 4132 final String name; |
4129 | 4133 |
4130 final _IDBObjectStoreJs objectStore; | 4134 final _IDBObjectStoreJs objectStore; |
4131 | 4135 |
4132 final bool unique; | 4136 final bool unique; |
4133 | 4137 |
4134 _IDBRequestJs count([_IDBKeyRangeJs range = null]) native; | 4138 _IDBRequestJs count([var key_OR_range = null]) native; |
4135 | 4139 |
4136 _IDBRequestJs getObject(_IDBKeyJs key) native '''return this.get(key);'''; | 4140 _IDBRequestJs getObject(_IDBKeyJs key) native '''return this.get(key);'''; |
4137 | 4141 |
4138 _IDBRequestJs getKey(_IDBKeyJs key) native; | 4142 _IDBRequestJs getKey(_IDBKeyJs key) native; |
4139 | 4143 |
4140 _IDBRequestJs openCursor([_IDBKeyRangeJs range = null, int direction = null])
native; | 4144 _IDBRequestJs openCursor([_IDBKeyRangeJs range = null, int direction = null])
native; |
4141 | 4145 |
4142 _IDBRequestJs openKeyCursor([_IDBKeyRangeJs range = null, int direction = null
]) native; | 4146 _IDBRequestJs openKeyCursor([_IDBKeyRangeJs range = null, int direction = null
]) native; |
4143 } | 4147 } |
4144 | 4148 |
(...skipping 26 matching lines...) Expand all Loading... |
4171 final String keyPath; | 4175 final String keyPath; |
4172 | 4176 |
4173 final String name; | 4177 final String name; |
4174 | 4178 |
4175 final _IDBTransactionJs transaction; | 4179 final _IDBTransactionJs transaction; |
4176 | 4180 |
4177 _IDBRequestJs add(Dynamic value, [_IDBKeyJs key = null]) native; | 4181 _IDBRequestJs add(Dynamic value, [_IDBKeyJs key = null]) native; |
4178 | 4182 |
4179 _IDBRequestJs clear() native; | 4183 _IDBRequestJs clear() native; |
4180 | 4184 |
4181 _IDBRequestJs count([_IDBKeyRangeJs range = null]) native; | 4185 _IDBRequestJs count([var key_OR_range = null]) native; |
4182 | 4186 |
4183 _IDBIndexJs createIndex(String name, String keyPath) native; | 4187 _IDBIndexJs createIndex(String name, String keyPath) native; |
4184 | 4188 |
4185 _IDBRequestJs delete(var key_OR_keyRange) native; | 4189 _IDBRequestJs delete(var key_OR_keyRange) native; |
4186 | 4190 |
4187 void deleteIndex(String name) native; | 4191 void deleteIndex(String name) native; |
4188 | 4192 |
4189 _IDBRequestJs getObject(_IDBKeyJs key) native '''return this.get(key);'''; | 4193 _IDBRequestJs getObject(_IDBKeyJs key) native '''return this.get(key);'''; |
4190 | 4194 |
4191 _IDBIndexJs index(String name) native; | 4195 _IDBIndexJs index(String name) native; |
(...skipping 706 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4898 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | 4902 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; |
4899 | 4903 |
4900 void start() native; | 4904 void start() native; |
4901 | 4905 |
4902 void webkitPostMessage(String message, [List transfer = null]) native; | 4906 void webkitPostMessage(String message, [List transfer = null]) native; |
4903 } | 4907 } |
4904 | 4908 |
4905 class _MetadataJs extends _DOMTypeJs implements Metadata native "*Metadata" { | 4909 class _MetadataJs extends _DOMTypeJs implements Metadata native "*Metadata" { |
4906 | 4910 |
4907 final Date modificationTime; | 4911 final Date modificationTime; |
| 4912 |
| 4913 final int size; |
4908 } | 4914 } |
4909 | 4915 |
4910 class _MouseEventJs extends _UIEventJs implements MouseEvent native "*MouseEvent
" { | 4916 class _MouseEventJs extends _UIEventJs implements MouseEvent native "*MouseEvent
" { |
4911 | 4917 |
4912 final bool altKey; | 4918 final bool altKey; |
4913 | 4919 |
4914 final int button; | 4920 final int button; |
4915 | 4921 |
4916 final int clientX; | 4922 final int clientX; |
4917 | 4923 |
(...skipping 4228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9146 | 9152 |
9147 final String url; | 9153 final String url; |
9148 | 9154 |
9149 final bool visible; | 9155 final bool visible; |
9150 } | 9156 } |
9151 | 9157 |
9152 class _ShadowRootJs extends _DocumentFragmentJs implements ShadowRoot native "*S
hadowRoot" { | 9158 class _ShadowRootJs extends _DocumentFragmentJs implements ShadowRoot native "*S
hadowRoot" { |
9153 | 9159 |
9154 final _ElementJs host; | 9160 final _ElementJs host; |
9155 | 9161 |
| 9162 String innerHTML; |
| 9163 |
9156 _ElementJs getElementById(String elementId) native; | 9164 _ElementJs getElementById(String elementId) native; |
9157 | 9165 |
9158 _NodeListJs getElementsByClassName(String className) native; | 9166 _NodeListJs getElementsByClassName(String className) native; |
9159 | 9167 |
9160 _NodeListJs getElementsByTagName(String tagName) native; | 9168 _NodeListJs getElementsByTagName(String tagName) native; |
9161 | 9169 |
9162 _NodeListJs getElementsByTagNameNS(String namespaceURI, String localName) nati
ve; | 9170 _NodeListJs getElementsByTagNameNS(String namespaceURI, String localName) nati
ve; |
9163 } | 9171 } |
9164 | 9172 |
9165 class _SharedWorkerJs extends _AbstractWorkerJs implements SharedWorker native "
*SharedWorker" { | 9173 class _SharedWorkerJs extends _AbstractWorkerJs implements SharedWorker native "
*SharedWorker" { |
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9413 | 9421 |
9414 bool dispatchEvent(_EventJs evt) native; | 9422 bool dispatchEvent(_EventJs evt) native; |
9415 | 9423 |
9416 void removeCue(_TextTrackCueJs cue) native; | 9424 void removeCue(_TextTrackCueJs cue) native; |
9417 | 9425 |
9418 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | 9426 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; |
9419 } | 9427 } |
9420 | 9428 |
9421 class _TextTrackCueJs extends _DOMTypeJs implements TextTrackCue native "*TextTr
ackCue" { | 9429 class _TextTrackCueJs extends _DOMTypeJs implements TextTrackCue native "*TextTr
ackCue" { |
9422 | 9430 |
9423 String alignment; | 9431 String align; |
9424 | |
9425 String direction; | |
9426 | 9432 |
9427 num endTime; | 9433 num endTime; |
9428 | 9434 |
9429 String id; | 9435 String id; |
9430 | 9436 |
9431 int linePosition; | 9437 int line; |
9432 | 9438 |
9433 EventListener onenter; | 9439 EventListener onenter; |
9434 | 9440 |
9435 EventListener onexit; | 9441 EventListener onexit; |
9436 | 9442 |
9437 bool pauseOnExit; | 9443 bool pauseOnExit; |
9438 | 9444 |
| 9445 int position; |
| 9446 |
9439 int size; | 9447 int size; |
9440 | 9448 |
9441 bool snapToLines; | 9449 bool snapToLines; |
9442 | 9450 |
9443 num startTime; | 9451 num startTime; |
9444 | 9452 |
9445 String text; | 9453 String text; |
9446 | 9454 |
9447 int textPosition; | 9455 final _TextTrackJs track; |
9448 | 9456 |
9449 final _TextTrackJs track; | 9457 String vertical; |
9450 | 9458 |
9451 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; | 9459 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; |
9452 | 9460 |
9453 bool dispatchEvent(_EventJs evt) native; | 9461 bool dispatchEvent(_EventJs evt) native; |
9454 | 9462 |
9455 _DocumentFragmentJs getCueAsHTML() native; | 9463 _DocumentFragmentJs getCueAsHTML() native; |
9456 | 9464 |
9457 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | 9465 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; |
9458 } | 9466 } |
9459 | 9467 |
(...skipping 1678 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11138 static final int CSS_TRANSLATEY = 3; | 11146 static final int CSS_TRANSLATEY = 3; |
11139 | 11147 |
11140 static final int CSS_TRANSLATEZ = 12; | 11148 static final int CSS_TRANSLATEZ = 12; |
11141 | 11149 |
11142 final int operationType; | 11150 final int operationType; |
11143 } | 11151 } |
11144 | 11152 |
11145 class _WebKitNamedFlowJs extends _DOMTypeJs implements WebKitNamedFlow native "*
WebKitNamedFlow" { | 11153 class _WebKitNamedFlowJs extends _DOMTypeJs implements WebKitNamedFlow native "*
WebKitNamedFlow" { |
11146 | 11154 |
11147 final bool overflow; | 11155 final bool overflow; |
| 11156 |
| 11157 _NodeListJs getRegionsByContentNode(_NodeJs contentNode) native; |
11148 } | 11158 } |
11149 | 11159 |
11150 class _WebKitPointJs extends _DOMTypeJs implements WebKitPoint native "*WebKitPo
int" { | 11160 class _WebKitPointJs extends _DOMTypeJs implements WebKitPoint native "*WebKitPo
int" { |
11151 | 11161 |
11152 num x; | 11162 num x; |
11153 | 11163 |
11154 num y; | 11164 num y; |
11155 } | 11165 } |
11156 | 11166 |
11157 class _WebKitTransitionEventJs extends _EventJs implements WebKitTransitionEvent
native "*WebKitTransitionEvent" { | 11167 class _WebKitTransitionEventJs extends _EventJs implements WebKitTransitionEvent
native "*WebKitTransitionEvent" { |
(...skipping 695 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11853 AudioBuffer createBuffer(var buffer_OR_numberOfChannels, var mixToMono_OR_numb
erOfFrames, [num sampleRate]); | 11863 AudioBuffer createBuffer(var buffer_OR_numberOfChannels, var mixToMono_OR_numb
erOfFrames, [num sampleRate]); |
11854 | 11864 |
11855 AudioBufferSourceNode createBufferSource(); | 11865 AudioBufferSourceNode createBufferSource(); |
11856 | 11866 |
11857 AudioChannelMerger createChannelMerger(); | 11867 AudioChannelMerger createChannelMerger(); |
11858 | 11868 |
11859 AudioChannelSplitter createChannelSplitter(); | 11869 AudioChannelSplitter createChannelSplitter(); |
11860 | 11870 |
11861 ConvolverNode createConvolver(); | 11871 ConvolverNode createConvolver(); |
11862 | 11872 |
11863 DelayNode createDelayNode(); | 11873 DelayNode createDelayNode([num maxDelayTime]); |
11864 | 11874 |
11865 DynamicsCompressorNode createDynamicsCompressor(); | 11875 DynamicsCompressorNode createDynamicsCompressor(); |
11866 | 11876 |
11867 AudioGainNode createGainNode(); | 11877 AudioGainNode createGainNode(); |
11868 | 11878 |
11869 HighPass2FilterNode createHighPass2Filter(); | 11879 HighPass2FilterNode createHighPass2Filter(); |
11870 | 11880 |
11871 JavaScriptAudioNode createJavaScriptNode(int bufferSize); | 11881 JavaScriptAudioNode createJavaScriptNode(int bufferSize); |
11872 | 11882 |
11873 LowPass2FilterNode createLowPass2Filter(); | 11883 LowPass2FilterNode createLowPass2Filter(); |
(...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
12238 static final int CSS_RGBCOLOR = 25; | 12248 static final int CSS_RGBCOLOR = 25; |
12239 | 12249 |
12240 static final int CSS_S = 15; | 12250 static final int CSS_S = 15; |
12241 | 12251 |
12242 static final int CSS_STRING = 19; | 12252 static final int CSS_STRING = 19; |
12243 | 12253 |
12244 static final int CSS_UNKNOWN = 0; | 12254 static final int CSS_UNKNOWN = 0; |
12245 | 12255 |
12246 static final int CSS_URI = 20; | 12256 static final int CSS_URI = 20; |
12247 | 12257 |
| 12258 static final int CSS_VH = 27; |
| 12259 |
| 12260 static final int CSS_VMIN = 28; |
| 12261 |
| 12262 static final int CSS_VW = 26; |
| 12263 |
12248 final int primitiveType; | 12264 final int primitiveType; |
12249 | 12265 |
12250 Counter getCounterValue(); | 12266 Counter getCounterValue(); |
12251 | 12267 |
12252 num getFloatValue(int unitType); | 12268 num getFloatValue(int unitType); |
12253 | 12269 |
12254 RGBColor getRGBColorValue(); | 12270 RGBColor getRGBColorValue(); |
12255 | 12271 |
12256 Rect getRectValue(); | 12272 Rect getRectValue(); |
12257 | 12273 |
(...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
12644 interface Clipboard { | 12660 interface Clipboard { |
12645 | 12661 |
12646 String dropEffect; | 12662 String dropEffect; |
12647 | 12663 |
12648 String effectAllowed; | 12664 String effectAllowed; |
12649 | 12665 |
12650 final FileList files; | 12666 final FileList files; |
12651 | 12667 |
12652 final DataTransferItemList items; | 12668 final DataTransferItemList items; |
12653 | 12669 |
12654 final List<String> types; | 12670 final List types; |
12655 | 12671 |
12656 void clearData([String type]); | 12672 void clearData([String type]); |
12657 | 12673 |
12658 void getData(String type); | 12674 String getData(String type); |
12659 | 12675 |
12660 bool setData(String type, String data); | 12676 bool setData(String type, String data); |
12661 | 12677 |
12662 void setDragImage(HTMLImageElement image, int x, int y); | 12678 void setDragImage(HTMLImageElement image, int x, int y); |
12663 } | 12679 } |
12664 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 12680 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
12665 // for details. All rights reserved. Use of this source code is governed by a | 12681 // for details. All rights reserved. Use of this source code is governed by a |
12666 // BSD-style license that can be found in the LICENSE file. | 12682 // BSD-style license that can be found in the LICENSE file. |
12667 | 12683 |
12668 // WARNING: Do not edit - generated code. | 12684 // WARNING: Do not edit - generated code. |
(...skipping 479 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
13148 } | 13164 } |
13149 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 13165 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
13150 // for details. All rights reserved. Use of this source code is governed by a | 13166 // for details. All rights reserved. Use of this source code is governed by a |
13151 // BSD-style license that can be found in the LICENSE file. | 13167 // BSD-style license that can be found in the LICENSE file. |
13152 | 13168 |
13153 // WARNING: Do not edit - generated code. | 13169 // WARNING: Do not edit - generated code. |
13154 | 13170 |
13155 interface DOMURL default _DOMURLFactoryProvider { | 13171 interface DOMURL default _DOMURLFactoryProvider { |
13156 | 13172 |
13157 DOMURL(); | 13173 DOMURL(); |
| 13174 |
| 13175 String createObjectURL(var blob_OR_stream); |
| 13176 |
| 13177 void revokeObjectURL(String url); |
13158 } | 13178 } |
13159 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 13179 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
13160 // for details. All rights reserved. Use of this source code is governed by a | 13180 // for details. All rights reserved. Use of this source code is governed by a |
13161 // BSD-style license that can be found in the LICENSE file. | 13181 // BSD-style license that can be found in the LICENSE file. |
13162 | 13182 |
13163 // WARNING: Do not edit - generated code. | 13183 // WARNING: Do not edit - generated code. |
13164 | 13184 |
13165 interface Window extends EventTarget { | 13185 interface Window extends EventTarget { |
13166 | 13186 |
13167 final DOMApplicationCache applicationCache; | 13187 final DOMApplicationCache applicationCache; |
(...skipping 603 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
13771 | 13791 |
13772 final String systemId; | 13792 final String systemId; |
13773 } | 13793 } |
13774 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 13794 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
13775 // for details. All rights reserved. Use of this source code is governed by a | 13795 // for details. All rights reserved. Use of this source code is governed by a |
13776 // BSD-style license that can be found in the LICENSE file. | 13796 // BSD-style license that can be found in the LICENSE file. |
13777 | 13797 |
13778 // WARNING: Do not edit - generated code. | 13798 // WARNING: Do not edit - generated code. |
13779 | 13799 |
13780 interface DynamicsCompressorNode extends AudioNode { | 13800 interface DynamicsCompressorNode extends AudioNode { |
| 13801 |
| 13802 final AudioParam knee; |
| 13803 |
| 13804 final AudioParam ratio; |
| 13805 |
| 13806 final AudioParam reduction; |
| 13807 |
| 13808 final AudioParam threshold; |
13781 } | 13809 } |
13782 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 13810 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
13783 // for details. All rights reserved. Use of this source code is governed by a | 13811 // for details. All rights reserved. Use of this source code is governed by a |
13784 // BSD-style license that can be found in the LICENSE file. | 13812 // BSD-style license that can be found in the LICENSE file. |
13785 | 13813 |
13786 // WARNING: Do not edit - generated code. | 13814 // WARNING: Do not edit - generated code. |
13787 | 13815 |
13788 interface Element extends Node, NodeSelector, ElementTraversal { | 13816 interface Element extends Node, NodeSelector, ElementTraversal { |
13789 | 13817 |
13790 static final int ALLOW_KEYBOARD_INPUT = 1; | 13818 static final int ALLOW_KEYBOARD_INPUT = 1; |
(...skipping 1719 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
15510 void stop(); | 15538 void stop(); |
15511 } | 15539 } |
15512 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 15540 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
15513 // for details. All rights reserved. Use of this source code is governed by a | 15541 // for details. All rights reserved. Use of this source code is governed by a |
15514 // BSD-style license that can be found in the LICENSE file. | 15542 // BSD-style license that can be found in the LICENSE file. |
15515 | 15543 |
15516 // WARNING: Do not edit - generated code. | 15544 // WARNING: Do not edit - generated code. |
15517 | 15545 |
15518 interface HTMLMediaElement extends HTMLElement { | 15546 interface HTMLMediaElement extends HTMLElement { |
15519 | 15547 |
15520 static final int EOS_DECODE_ERR = 2; | |
15521 | |
15522 static final int EOS_NETWORK_ERR = 1; | |
15523 | |
15524 static final int EOS_NO_ERROR = 0; | |
15525 | |
15526 static final int HAVE_CURRENT_DATA = 2; | 15548 static final int HAVE_CURRENT_DATA = 2; |
15527 | 15549 |
15528 static final int HAVE_ENOUGH_DATA = 4; | 15550 static final int HAVE_ENOUGH_DATA = 4; |
15529 | 15551 |
15530 static final int HAVE_FUTURE_DATA = 3; | 15552 static final int HAVE_FUTURE_DATA = 3; |
15531 | 15553 |
15532 static final int HAVE_METADATA = 1; | 15554 static final int HAVE_METADATA = 1; |
15533 | 15555 |
15534 static final int HAVE_NOTHING = 0; | 15556 static final int HAVE_NOTHING = 0; |
15535 | 15557 |
15536 static final int NETWORK_EMPTY = 0; | 15558 static final int NETWORK_EMPTY = 0; |
15537 | 15559 |
15538 static final int NETWORK_IDLE = 1; | 15560 static final int NETWORK_IDLE = 1; |
15539 | 15561 |
15540 static final int NETWORK_LOADING = 2; | 15562 static final int NETWORK_LOADING = 2; |
15541 | 15563 |
15542 static final int NETWORK_NO_SOURCE = 3; | 15564 static final int NETWORK_NO_SOURCE = 3; |
15543 | 15565 |
15544 static final int SOURCE_CLOSED = 0; | |
15545 | |
15546 static final int SOURCE_ENDED = 2; | |
15547 | |
15548 static final int SOURCE_OPEN = 1; | |
15549 | |
15550 bool autoplay; | 15566 bool autoplay; |
15551 | 15567 |
15552 final TimeRanges buffered; | 15568 final TimeRanges buffered; |
15553 | 15569 |
15554 MediaController controller; | 15570 MediaController controller; |
15555 | 15571 |
15556 bool controls; | 15572 bool controls; |
15557 | 15573 |
15558 final String currentSrc; | 15574 final String currentSrc; |
15559 | 15575 |
(...skipping 718 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
16278 String text; | 16294 String text; |
16279 } | 16295 } |
16280 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16296 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
16281 // for details. All rights reserved. Use of this source code is governed by a | 16297 // for details. All rights reserved. Use of this source code is governed by a |
16282 // BSD-style license that can be found in the LICENSE file. | 16298 // BSD-style license that can be found in the LICENSE file. |
16283 | 16299 |
16284 // WARNING: Do not edit - generated code. | 16300 // WARNING: Do not edit - generated code. |
16285 | 16301 |
16286 interface HTMLTrackElement extends HTMLElement { | 16302 interface HTMLTrackElement extends HTMLElement { |
16287 | 16303 |
16288 static final int ERROR = 3; | |
16289 | |
16290 static final int LOADED = 2; | 16304 static final int LOADED = 2; |
16291 | 16305 |
16292 static final int LOADING = 1; | 16306 static final int LOADING = 1; |
16293 | 16307 |
16294 static final int NONE = 0; | 16308 static final int NONE = 0; |
16295 | 16309 |
16296 bool isDefault; | 16310 bool isDefault; |
16297 | 16311 |
16298 String kind; | 16312 String kind; |
16299 | 16313 |
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
16574 final String keyPath; | 16588 final String keyPath; |
16575 | 16589 |
16576 final bool multiEntry; | 16590 final bool multiEntry; |
16577 | 16591 |
16578 final String name; | 16592 final String name; |
16579 | 16593 |
16580 final IDBObjectStore objectStore; | 16594 final IDBObjectStore objectStore; |
16581 | 16595 |
16582 final bool unique; | 16596 final bool unique; |
16583 | 16597 |
16584 IDBRequest count([IDBKeyRange range]); | 16598 IDBRequest count([var key_OR_range]); |
16585 | 16599 |
16586 IDBRequest getObject(IDBKey key); | 16600 IDBRequest getObject(IDBKey key); |
16587 | 16601 |
16588 IDBRequest getKey(IDBKey key); | 16602 IDBRequest getKey(IDBKey key); |
16589 | 16603 |
16590 IDBRequest openCursor([IDBKeyRange range, int direction]); | 16604 IDBRequest openCursor([IDBKeyRange range, int direction]); |
16591 | 16605 |
16592 IDBRequest openKeyCursor([IDBKeyRange range, int direction]); | 16606 IDBRequest openKeyCursor([IDBKeyRange range, int direction]); |
16593 } | 16607 } |
16594 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16608 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
16636 final String keyPath; | 16650 final String keyPath; |
16637 | 16651 |
16638 final String name; | 16652 final String name; |
16639 | 16653 |
16640 final IDBTransaction transaction; | 16654 final IDBTransaction transaction; |
16641 | 16655 |
16642 IDBRequest add(Dynamic value, [IDBKey key]); | 16656 IDBRequest add(Dynamic value, [IDBKey key]); |
16643 | 16657 |
16644 IDBRequest clear(); | 16658 IDBRequest clear(); |
16645 | 16659 |
16646 IDBRequest count([IDBKeyRange range]); | 16660 IDBRequest count([var key_OR_range]); |
16647 | 16661 |
16648 IDBIndex createIndex(String name, String keyPath); | 16662 IDBIndex createIndex(String name, String keyPath); |
16649 | 16663 |
16650 IDBRequest delete(var key_OR_keyRange); | 16664 IDBRequest delete(var key_OR_keyRange); |
16651 | 16665 |
16652 void deleteIndex(String name); | 16666 void deleteIndex(String name); |
16653 | 16667 |
16654 IDBRequest getObject(IDBKey key); | 16668 IDBRequest getObject(IDBKey key); |
16655 | 16669 |
16656 IDBIndex index(String name); | 16670 IDBIndex index(String name); |
(...skipping 564 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
17221 } | 17235 } |
17222 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17236 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
17223 // for details. All rights reserved. Use of this source code is governed by a | 17237 // for details. All rights reserved. Use of this source code is governed by a |
17224 // BSD-style license that can be found in the LICENSE file. | 17238 // BSD-style license that can be found in the LICENSE file. |
17225 | 17239 |
17226 // WARNING: Do not edit - generated code. | 17240 // WARNING: Do not edit - generated code. |
17227 | 17241 |
17228 interface Metadata { | 17242 interface Metadata { |
17229 | 17243 |
17230 final Date modificationTime; | 17244 final Date modificationTime; |
| 17245 |
| 17246 final int size; |
17231 } | 17247 } |
17232 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 17248 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
17233 // for details. All rights reserved. Use of this source code is governed by a | 17249 // for details. All rights reserved. Use of this source code is governed by a |
17234 // BSD-style license that can be found in the LICENSE file. | 17250 // BSD-style license that can be found in the LICENSE file. |
17235 | 17251 |
17236 // WARNING: Do not edit - generated code. | 17252 // WARNING: Do not edit - generated code. |
17237 | 17253 |
17238 typedef bool MetadataCallback(Metadata metadata); | 17254 typedef bool MetadataCallback(Metadata metadata); |
17239 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17255 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
17240 // for details. All rights reserved. Use of this source code is governed by a | 17256 // for details. All rights reserved. Use of this source code is governed by a |
(...skipping 3644 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
20885 // BSD-style license that can be found in the LICENSE file. | 20901 // BSD-style license that can be found in the LICENSE file. |
20886 | 20902 |
20887 // WARNING: Do not edit - generated code. | 20903 // WARNING: Do not edit - generated code. |
20888 | 20904 |
20889 interface ShadowRoot extends DocumentFragment default _ShadowRootFactoryProvider
{ | 20905 interface ShadowRoot extends DocumentFragment default _ShadowRootFactoryProvider
{ |
20890 | 20906 |
20891 ShadowRoot(Element host); | 20907 ShadowRoot(Element host); |
20892 | 20908 |
20893 final Element host; | 20909 final Element host; |
20894 | 20910 |
| 20911 String innerHTML; |
| 20912 |
20895 Element getElementById(String elementId); | 20913 Element getElementById(String elementId); |
20896 | 20914 |
20897 NodeList getElementsByClassName(String className); | 20915 NodeList getElementsByClassName(String className); |
20898 | 20916 |
20899 NodeList getElementsByTagName(String tagName); | 20917 NodeList getElementsByTagName(String tagName); |
20900 | 20918 |
20901 NodeList getElementsByTagNameNS(String namespaceURI, String localName); | 20919 NodeList getElementsByTagNameNS(String namespaceURI, String localName); |
20902 } | 20920 } |
20903 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 20921 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
20904 // for details. All rights reserved. Use of this source code is governed by a | 20922 // for details. All rights reserved. Use of this source code is governed by a |
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
21175 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 21193 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
21176 // for details. All rights reserved. Use of this source code is governed by a | 21194 // for details. All rights reserved. Use of this source code is governed by a |
21177 // BSD-style license that can be found in the LICENSE file. | 21195 // BSD-style license that can be found in the LICENSE file. |
21178 | 21196 |
21179 // WARNING: Do not edit - generated code. | 21197 // WARNING: Do not edit - generated code. |
21180 | 21198 |
21181 interface TextTrackCue default _TextTrackCueFactoryProvider { | 21199 interface TextTrackCue default _TextTrackCueFactoryProvider { |
21182 | 21200 |
21183 TextTrackCue(String id, num startTime, num endTime, String text, [String setti
ngs, bool pauseOnExit]); | 21201 TextTrackCue(String id, num startTime, num endTime, String text, [String setti
ngs, bool pauseOnExit]); |
21184 | 21202 |
21185 String alignment; | 21203 String align; |
21186 | |
21187 String direction; | |
21188 | 21204 |
21189 num endTime; | 21205 num endTime; |
21190 | 21206 |
21191 String id; | 21207 String id; |
21192 | 21208 |
21193 int linePosition; | 21209 int line; |
21194 | 21210 |
21195 EventListener onenter; | 21211 EventListener onenter; |
21196 | 21212 |
21197 EventListener onexit; | 21213 EventListener onexit; |
21198 | 21214 |
21199 bool pauseOnExit; | 21215 bool pauseOnExit; |
21200 | 21216 |
| 21217 int position; |
| 21218 |
21201 int size; | 21219 int size; |
21202 | 21220 |
21203 bool snapToLines; | 21221 bool snapToLines; |
21204 | 21222 |
21205 num startTime; | 21223 num startTime; |
21206 | 21224 |
21207 String text; | 21225 String text; |
21208 | 21226 |
21209 int textPosition; | 21227 final TextTrack track; |
21210 | 21228 |
21211 final TextTrack track; | 21229 String vertical; |
21212 | 21230 |
21213 void addEventListener(String type, EventListener listener, [bool useCapture]); | 21231 void addEventListener(String type, EventListener listener, [bool useCapture]); |
21214 | 21232 |
21215 bool dispatchEvent(Event evt); | 21233 bool dispatchEvent(Event evt); |
21216 | 21234 |
21217 DocumentFragment getCueAsHTML(); | 21235 DocumentFragment getCueAsHTML(); |
21218 | 21236 |
21219 void removeEventListener(String type, EventListener listener, [bool useCapture
]); | 21237 void removeEventListener(String type, EventListener listener, [bool useCapture
]); |
21220 } | 21238 } |
21221 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 21239 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
(...skipping 1591 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
22813 } | 22831 } |
22814 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 22832 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
22815 // for details. All rights reserved. Use of this source code is governed by a | 22833 // for details. All rights reserved. Use of this source code is governed by a |
22816 // BSD-style license that can be found in the LICENSE file. | 22834 // BSD-style license that can be found in the LICENSE file. |
22817 | 22835 |
22818 // WARNING: Do not edit - generated code. | 22836 // WARNING: Do not edit - generated code. |
22819 | 22837 |
22820 interface WebKitNamedFlow { | 22838 interface WebKitNamedFlow { |
22821 | 22839 |
22822 final bool overflow; | 22840 final bool overflow; |
| 22841 |
| 22842 NodeList getRegionsByContentNode(Node contentNode); |
22823 } | 22843 } |
22824 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 22844 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
22825 // for details. All rights reserved. Use of this source code is governed by a | 22845 // for details. All rights reserved. Use of this source code is governed by a |
22826 // BSD-style license that can be found in the LICENSE file. | 22846 // BSD-style license that can be found in the LICENSE file. |
22827 | 22847 |
22828 // WARNING: Do not edit - generated code. | 22848 // WARNING: Do not edit - generated code. |
22829 | 22849 |
22830 interface WebKitPoint default _WebKitPointFactoryProvider { | 22850 interface WebKitPoint default _WebKitPointFactoryProvider { |
22831 | 22851 |
22832 WebKitPoint(num x, num y); | 22852 WebKitPoint(num x, num y); |
(...skipping 1324 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
24157 if (length < 0) throw new IllegalArgumentException('length'); | 24177 if (length < 0) throw new IllegalArgumentException('length'); |
24158 if (start < 0) throw new IndexOutOfRangeException(start); | 24178 if (start < 0) throw new IndexOutOfRangeException(start); |
24159 int end = start + length; | 24179 int end = start + length; |
24160 if (end > a.length) throw new IndexOutOfRangeException(end); | 24180 if (end > a.length) throw new IndexOutOfRangeException(end); |
24161 for (int i = start; i < end; i++) { | 24181 for (int i = start; i < end; i++) { |
24162 accumulator.add(a[i]); | 24182 accumulator.add(a[i]); |
24163 } | 24183 } |
24164 return accumulator; | 24184 return accumulator; |
24165 } | 24185 } |
24166 } | 24186 } |
OLD | NEW |