Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(76)

Side by Side Diff: lib/dom/frog/dom_frog.dart

Issue 10014028: Remove EventListener attributes from Dart DOM API. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 97
98 void noteOn(num when) native; 98 void noteOn(num when) native;
99 } 99 }
100 100
101 class _AudioChannelMergerJs extends _AudioNodeJs implements AudioChannelMerger n ative "*AudioChannelMerger" { 101 class _AudioChannelMergerJs extends _AudioNodeJs implements AudioChannelMerger n ative "*AudioChannelMerger" {
102 } 102 }
103 103
104 class _AudioChannelSplitterJs extends _AudioNodeJs implements AudioChannelSplitt er native "*AudioChannelSplitter" { 104 class _AudioChannelSplitterJs extends _AudioNodeJs implements AudioChannelSplitt er native "*AudioChannelSplitter" {
105 } 105 }
106 106
107 class _AudioContextJs extends _DOMTypeJs implements AudioContext native "*AudioC ontext" { 107 class _AudioContextJs extends _EventTargetJs implements AudioContext native "*Au dioContext" {
108 108
109 final int activeSourceCount; 109 final int activeSourceCount;
110 110
111 final num currentTime; 111 final num currentTime;
112 112
113 final _AudioDestinationNodeJs destination; 113 final _AudioDestinationNodeJs destination;
114 114
115 final _AudioListenerJs listener; 115 final _AudioListenerJs listener;
116 116
117 EventListener oncomplete;
118
119 final num sampleRate; 117 final num sampleRate;
120 118
121 _RealtimeAnalyserNodeJs createAnalyser() native; 119 _RealtimeAnalyserNodeJs createAnalyser() native;
122 120
123 _BiquadFilterNodeJs createBiquadFilter() native; 121 _BiquadFilterNodeJs createBiquadFilter() native;
124 122
125 _AudioBufferJs createBuffer(var buffer_OR_numberOfChannels, var mixToMono_OR_n umberOfFrames, [num sampleRate = null]) native; 123 _AudioBufferJs createBuffer(var buffer_OR_numberOfChannels, var mixToMono_OR_n umberOfFrames, [num sampleRate = null]) native;
126 124
127 _AudioBufferSourceNodeJs createBufferSource() native; 125 _AudioBufferSourceNodeJs createBufferSource() native;
128 126
(...skipping 1356 matching lines...) Expand 10 before | Expand all | Expand 10 after
1485 1483
1486 void changeVersion(String oldVersion, String newVersion, [SQLTransactionSyncCa llback callback = null]) native; 1484 void changeVersion(String oldVersion, String newVersion, [SQLTransactionSyncCa llback callback = null]) native;
1487 1485
1488 void readTransaction(SQLTransactionSyncCallback callback) native; 1486 void readTransaction(SQLTransactionSyncCallback callback) native;
1489 1487
1490 void transaction(SQLTransactionSyncCallback callback) native; 1488 void transaction(SQLTransactionSyncCallback callback) native;
1491 } 1489 }
1492 1490
1493 class _DedicatedWorkerContextJs extends _WorkerContextJs implements DedicatedWor kerContext native "*DedicatedWorkerContext" { 1491 class _DedicatedWorkerContextJs extends _WorkerContextJs implements DedicatedWor kerContext native "*DedicatedWorkerContext" {
1494 1492
1495 EventListener onmessage;
1496
1497 void postMessage(Object message, [List messagePorts = null]) native; 1493 void postMessage(Object message, [List messagePorts = null]) native;
1498 1494
1499 void webkitPostMessage(Object message, [List transferList = null]) native; 1495 void webkitPostMessage(Object message, [List transferList = null]) native;
1500 } 1496 }
1501 1497
1502 class _DelayNodeJs extends _AudioNodeJs implements DelayNode native "*DelayNode" { 1498 class _DelayNodeJs extends _AudioNodeJs implements DelayNode native "*DelayNode" {
1503 1499
1504 final _AudioParamJs delayTime; 1500 final _AudioParamJs delayTime;
1505 } 1501 }
1506 1502
1507 class _DeprecatedPeerConnectionJs extends _DOMTypeJs implements DeprecatedPeerCo nnection native "*DeprecatedPeerConnection" { 1503 class _DeprecatedPeerConnectionJs extends _EventTargetJs implements DeprecatedPe erConnection native "*DeprecatedPeerConnection" {
1508 1504
1509 static final int ACTIVE = 2; 1505 static final int ACTIVE = 2;
1510 1506
1511 static final int CLOSED = 3; 1507 static final int CLOSED = 3;
1512 1508
1513 static final int NEGOTIATING = 1; 1509 static final int NEGOTIATING = 1;
1514 1510
1515 static final int NEW = 0; 1511 static final int NEW = 0;
1516 1512
1517 final _MediaStreamListJs localStreams; 1513 final _MediaStreamListJs localStreams;
1518 1514
1519 EventListener onaddstream;
1520
1521 EventListener onconnecting;
1522
1523 EventListener onmessage;
1524
1525 EventListener onopen;
1526
1527 EventListener onremovestream;
1528
1529 EventListener onstatechange;
1530
1531 final int readyState; 1515 final int readyState;
1532 1516
1533 final _MediaStreamListJs remoteStreams; 1517 final _MediaStreamListJs remoteStreams;
1534 1518
1535 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native; 1519 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
1536 1520
1537 void addStream(_MediaStreamJs stream) native; 1521 void addStream(_MediaStreamJs stream) native;
1538 1522
1539 void close() native; 1523 void close() native;
1540 1524
(...skipping 684 matching lines...) Expand 10 before | Expand all | Expand 10 after
2225 String toString() native; 2209 String toString() native;
2226 } 2210 }
2227 2211
2228 class _FileListJs extends _DOMTypeJs implements FileList native "*FileList" { 2212 class _FileListJs extends _DOMTypeJs implements FileList native "*FileList" {
2229 2213
2230 final int length; 2214 final int length;
2231 2215
2232 _FileJs item(int index) native; 2216 _FileJs item(int index) native;
2233 } 2217 }
2234 2218
2235 class _FileReaderJs extends _DOMTypeJs implements FileReader native "*FileReader " { 2219 class _FileReaderJs extends _EventTargetJs implements FileReader native "*FileRe ader" {
2236 2220
2237 static final int DONE = 2; 2221 static final int DONE = 2;
2238 2222
2239 static final int EMPTY = 0; 2223 static final int EMPTY = 0;
2240 2224
2241 static final int LOADING = 1; 2225 static final int LOADING = 1;
2242 2226
2243 final _FileErrorJs error; 2227 final _FileErrorJs error;
2244 2228
2245 EventListener onabort;
2246
2247 EventListener onerror;
2248
2249 EventListener onload;
2250
2251 EventListener onloadend;
2252
2253 EventListener onloadstart;
2254
2255 EventListener onprogress;
2256
2257 final int readyState; 2229 final int readyState;
2258 2230
2259 final Object result; 2231 final Object result;
2260 2232
2261 void abort() native; 2233 void abort() native;
2262 2234
2263 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native; 2235 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
2264 2236
2265 bool dispatchEvent(_EventJs evt) native; 2237 bool dispatchEvent(_EventJs evt) native;
2266 2238
(...skipping 12 matching lines...) Expand all
2279 2251
2280 _ArrayBufferJs readAsArrayBuffer(_BlobJs blob) native; 2252 _ArrayBufferJs readAsArrayBuffer(_BlobJs blob) native;
2281 2253
2282 String readAsBinaryString(_BlobJs blob) native; 2254 String readAsBinaryString(_BlobJs blob) native;
2283 2255
2284 String readAsDataURL(_BlobJs blob) native; 2256 String readAsDataURL(_BlobJs blob) native;
2285 2257
2286 String readAsText(_BlobJs blob, [String encoding = null]) native; 2258 String readAsText(_BlobJs blob, [String encoding = null]) native;
2287 } 2259 }
2288 2260
2289 class _FileWriterJs extends _DOMTypeJs implements FileWriter native "*FileWriter " { 2261 class _FileWriterJs extends _EventTargetJs implements FileWriter native "*FileWr iter" {
2290 2262
2291 static final int DONE = 2; 2263 static final int DONE = 2;
2292 2264
2293 static final int INIT = 0; 2265 static final int INIT = 0;
2294 2266
2295 static final int WRITING = 1; 2267 static final int WRITING = 1;
2296 2268
2297 final _FileErrorJs error; 2269 final _FileErrorJs error;
2298 2270
2299 final int length; 2271 final int length;
2300 2272
2301 EventListener onabort;
2302
2303 EventListener onerror;
2304
2305 EventListener onprogress;
2306
2307 EventListener onwrite;
2308
2309 EventListener onwriteend;
2310
2311 EventListener onwritestart;
2312
2313 final int position; 2273 final int position;
2314 2274
2315 final int readyState; 2275 final int readyState;
2316 2276
2317 void abort() native; 2277 void abort() native;
2318 2278
2319 void seek(int position) native; 2279 void seek(int position) native;
2320 2280
2321 void truncate(int size) native; 2281 void truncate(int size) native;
2322 2282
(...skipping 1812 matching lines...) Expand 10 before | Expand all | Expand 10 after
4135 _IDBRequestJs delete() native; 4095 _IDBRequestJs delete() native;
4136 4096
4137 _IDBRequestJs update(Dynamic value) native; 4097 _IDBRequestJs update(Dynamic value) native;
4138 } 4098 }
4139 4099
4140 class _IDBCursorWithValueJs extends _IDBCursorJs implements IDBCursorWithValue n ative "*IDBCursorWithValue" { 4100 class _IDBCursorWithValueJs extends _IDBCursorJs implements IDBCursorWithValue n ative "*IDBCursorWithValue" {
4141 4101
4142 final _IDBAnyJs value; 4102 final _IDBAnyJs value;
4143 } 4103 }
4144 4104
4145 class _IDBDatabaseJs extends _DOMTypeJs implements IDBDatabase native "*IDBDatab ase" { 4105 class _IDBDatabaseJs extends _EventTargetJs implements IDBDatabase native "*IDBD atabase" {
4146 4106
4147 final String name; 4107 final String name;
4148 4108
4149 final List<String> objectStoreNames; 4109 final List<String> objectStoreNames;
4150 4110
4151 EventListener onabort;
4152
4153 EventListener onerror;
4154
4155 EventListener onversionchange;
4156
4157 final String version; 4111 final String version;
4158 4112
4159 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native; 4113 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
4160 4114
4161 void close() native; 4115 void close() native;
4162 4116
4163 _IDBObjectStoreJs createObjectStore(String name) native; 4117 _IDBObjectStoreJs createObjectStore(String name) native;
4164 4118
4165 void deleteObjectStore(String name) native; 4119 void deleteObjectStore(String name) native;
4166 4120
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
4290 4244
4291 _IDBRequestJs getObject(_IDBKeyJs key) native 'get'; 4245 _IDBRequestJs getObject(_IDBKeyJs key) native 'get';
4292 4246
4293 _IDBIndexJs index(String name) native; 4247 _IDBIndexJs index(String name) native;
4294 4248
4295 _IDBRequestJs openCursor([_IDBKeyRangeJs range = null, int direction = null]) native; 4249 _IDBRequestJs openCursor([_IDBKeyRangeJs range = null, int direction = null]) native;
4296 4250
4297 _IDBRequestJs put(Dynamic value, [_IDBKeyJs key = null]) native; 4251 _IDBRequestJs put(Dynamic value, [_IDBKeyJs key = null]) native;
4298 } 4252 }
4299 4253
4300 class _IDBRequestJs extends _DOMTypeJs implements IDBRequest native "*IDBRequest " { 4254 class _IDBRequestJs extends _EventTargetJs implements IDBRequest native "*IDBReq uest" {
4301 4255
4302 static final int DONE = 2; 4256 static final int DONE = 2;
4303 4257
4304 static final int LOADING = 1; 4258 static final int LOADING = 1;
4305 4259
4306 final int errorCode; 4260 final int errorCode;
4307 4261
4308 EventListener onerror;
4309
4310 EventListener onsuccess;
4311
4312 final int readyState; 4262 final int readyState;
4313 4263
4314 final _IDBAnyJs result; 4264 final _IDBAnyJs result;
4315 4265
4316 final _IDBAnyJs source; 4266 final _IDBAnyJs source;
4317 4267
4318 final _IDBTransactionJs transaction; 4268 final _IDBTransactionJs transaction;
4319 4269
4320 final String webkitErrorMessage; 4270 final String webkitErrorMessage;
4321 4271
4322 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native; 4272 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
4323 4273
4324 bool dispatchEvent(_EventJs evt) native; 4274 bool dispatchEvent(_EventJs evt) native;
4325 4275
4326 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native; 4276 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
4327 } 4277 }
4328 4278
4329 class _IDBTransactionJs extends _DOMTypeJs implements IDBTransaction native "*ID BTransaction" { 4279 class _IDBTransactionJs extends _EventTargetJs implements IDBTransaction native "*IDBTransaction" {
4330 4280
4331 static final int READ_ONLY = 0; 4281 static final int READ_ONLY = 0;
4332 4282
4333 static final int READ_WRITE = 1; 4283 static final int READ_WRITE = 1;
4334 4284
4335 static final int VERSION_CHANGE = 2; 4285 static final int VERSION_CHANGE = 2;
4336 4286
4337 final _IDBDatabaseJs db; 4287 final _IDBDatabaseJs db;
4338 4288
4339 final int mode; 4289 final int mode;
4340 4290
4341 EventListener onabort;
4342
4343 EventListener oncomplete;
4344
4345 EventListener onerror;
4346
4347 void abort() native; 4291 void abort() native;
4348 4292
4349 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native; 4293 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
4350 4294
4351 bool dispatchEvent(_EventJs evt) native; 4295 bool dispatchEvent(_EventJs evt) native;
4352 4296
4353 _IDBObjectStoreJs objectStore(String name) native; 4297 _IDBObjectStoreJs objectStore(String name) native;
4354 4298
4355 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native; 4299 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
4356 } 4300 }
4357 4301
4358 class _IDBVersionChangeEventJs extends _EventJs implements IDBVersionChangeEvent native "*IDBVersionChangeEvent" { 4302 class _IDBVersionChangeEventJs extends _EventJs implements IDBVersionChangeEvent native "*IDBVersionChangeEvent" {
4359 4303
4360 final String version; 4304 final String version;
4361 } 4305 }
4362 4306
4363 class _IDBVersionChangeRequestJs extends _IDBRequestJs implements IDBVersionChan geRequest native "*IDBVersionChangeRequest" { 4307 class _IDBVersionChangeRequestJs extends _IDBRequestJs implements IDBVersionChan geRequest native "*IDBVersionChangeRequest" {
4364 4308
4365 EventListener onblocked; 4309 // From EventTarget
4310
4311 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
4312
4313 bool dispatchEvent(_EventJs event) native;
4314
4315 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
4366 } 4316 }
4367 4317
4368 class _IceCandidateJs extends _DOMTypeJs implements IceCandidate native "*IceCan didate" { 4318 class _IceCandidateJs extends _DOMTypeJs implements IceCandidate native "*IceCan didate" {
4369 4319
4370 final String label; 4320 final String label;
4371 4321
4372 String toSdp() native; 4322 String toSdp() native;
4373 } 4323 }
4374 4324
4375 class _ImageDataJs extends _DOMTypeJs implements ImageData native "*ImageData" { 4325 class _ImageDataJs extends _DOMTypeJs implements ImageData native "*ImageData" {
(...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after
4651 4601
4652 void setElements(Object array, [int offset = null]) native 'set'; 4602 void setElements(Object array, [int offset = null]) native 'set';
4653 4603
4654 _Int8ArrayJs subarray(int start, [int end = null]) native; 4604 _Int8ArrayJs subarray(int start, [int end = null]) native;
4655 } 4605 }
4656 4606
4657 class _JavaScriptAudioNodeJs extends _AudioNodeJs implements JavaScriptAudioNode native "*JavaScriptAudioNode" { 4607 class _JavaScriptAudioNodeJs extends _AudioNodeJs implements JavaScriptAudioNode native "*JavaScriptAudioNode" {
4658 4608
4659 final int bufferSize; 4609 final int bufferSize;
4660 4610
4661 EventListener onaudioprocess; 4611 // From EventTarget
4612
4613 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
4614
4615 bool dispatchEvent(_EventJs event) native;
4616
4617 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
4662 } 4618 }
4663 4619
4664 class _JavaScriptCallFrameJs extends _DOMTypeJs implements JavaScriptCallFrame n ative "*JavaScriptCallFrame" { 4620 class _JavaScriptCallFrameJs extends _DOMTypeJs implements JavaScriptCallFrame n ative "*JavaScriptCallFrame" {
4665 4621
4666 static final int CATCH_SCOPE = 4; 4622 static final int CATCH_SCOPE = 4;
4667 4623
4668 static final int CLOSURE_SCOPE = 3; 4624 static final int CLOSURE_SCOPE = 3;
4669 4625
4670 static final int GLOBAL_SCOPE = 0; 4626 static final int GLOBAL_SCOPE = 0;
4671 4627
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
4709 final bool metaKey; 4665 final bool metaKey;
4710 4666
4711 final bool shiftKey; 4667 final bool shiftKey;
4712 4668
4713 void initKeyboardEvent(String type, bool canBubble, bool cancelable, _DOMWindo wJs view, String keyIdentifier, int keyLocation, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, bool altGraphKey) native; 4669 void initKeyboardEvent(String type, bool canBubble, bool cancelable, _DOMWindo wJs view, String keyIdentifier, int keyLocation, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, bool altGraphKey) native;
4714 } 4670 }
4715 4671
4716 class _LocalMediaStreamJs extends _MediaStreamJs implements LocalMediaStream nat ive "*LocalMediaStream" { 4672 class _LocalMediaStreamJs extends _MediaStreamJs implements LocalMediaStream nat ive "*LocalMediaStream" {
4717 4673
4718 void stop() native; 4674 void stop() native;
4675
4676 // From EventTarget
4677
4678 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
4679
4680 bool dispatchEvent(_EventJs event) native;
4681
4682 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
4719 } 4683 }
4720 4684
4721 class _LocationJs extends _DOMTypeJs implements Location native "*Location" { 4685 class _LocationJs extends _DOMTypeJs implements Location native "*Location" {
4722 4686
4723 String hash; 4687 String hash;
4724 4688
4725 String host; 4689 String host;
4726 4690
4727 String hostname; 4691 String hostname;
4728 4692
(...skipping 11 matching lines...) Expand all
4740 4704
4741 void assign(String url) native; 4705 void assign(String url) native;
4742 4706
4743 void reload() native; 4707 void reload() native;
4744 4708
4745 void replace(String url) native; 4709 void replace(String url) native;
4746 4710
4747 String toString() native; 4711 String toString() native;
4748 } 4712 }
4749 4713
4750 class _MediaControllerJs extends _DOMTypeJs implements MediaController native "* MediaController" { 4714 class _MediaControllerJs extends _EventTargetJs implements MediaController nativ e "*MediaController" {
4751 4715
4752 final _TimeRangesJs buffered; 4716 final _TimeRangesJs buffered;
4753 4717
4754 num currentTime; 4718 num currentTime;
4755 4719
4756 num defaultPlaybackRate; 4720 num defaultPlaybackRate;
4757 4721
4758 final num duration; 4722 final num duration;
4759 4723
4760 bool muted; 4724 bool muted;
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
4902 void addListener(_MediaQueryListListenerJs listener) native; 4866 void addListener(_MediaQueryListListenerJs listener) native;
4903 4867
4904 void removeListener(_MediaQueryListListenerJs listener) native; 4868 void removeListener(_MediaQueryListListenerJs listener) native;
4905 } 4869 }
4906 4870
4907 class _MediaQueryListListenerJs extends _DOMTypeJs implements MediaQueryListList ener native "*MediaQueryListListener" { 4871 class _MediaQueryListListenerJs extends _DOMTypeJs implements MediaQueryListList ener native "*MediaQueryListListener" {
4908 4872
4909 void queryChanged(_MediaQueryListJs list) native; 4873 void queryChanged(_MediaQueryListJs list) native;
4910 } 4874 }
4911 4875
4912 class _MediaStreamJs extends _DOMTypeJs implements MediaStream native "*MediaStr eam" { 4876 class _MediaStreamJs extends _EventTargetJs implements MediaStream native "*Medi aStream" {
4913 4877
4914 static final int ENDED = 2; 4878 static final int ENDED = 2;
4915 4879
4916 static final int LIVE = 1; 4880 static final int LIVE = 1;
4917 4881
4918 final _MediaStreamTrackListJs audioTracks; 4882 final _MediaStreamTrackListJs audioTracks;
4919 4883
4920 final String label; 4884 final String label;
4921 4885
4922 EventListener onended;
4923
4924 final int readyState; 4886 final int readyState;
4925 4887
4926 final _MediaStreamTrackListJs videoTracks; 4888 final _MediaStreamTrackListJs videoTracks;
4927 4889
4928 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native; 4890 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
4929 4891
4930 bool dispatchEvent(_EventJs event) native; 4892 bool dispatchEvent(_EventJs event) native;
4931 4893
4932 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native; 4894 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
4933 } 4895 }
(...skipping 689 matching lines...) Expand 10 before | Expand all | Expand 10 after
5623 final int orient; 5585 final int orient;
5624 5586
5625 final bool verticalOverflow; 5587 final bool verticalOverflow;
5626 } 5588 }
5627 5589
5628 class _PageTransitionEventJs extends _EventJs implements PageTransitionEvent nat ive "*PageTransitionEvent" { 5590 class _PageTransitionEventJs extends _EventJs implements PageTransitionEvent nat ive "*PageTransitionEvent" {
5629 5591
5630 final bool persisted; 5592 final bool persisted;
5631 } 5593 }
5632 5594
5633 class _PeerConnection00Js extends _DOMTypeJs implements PeerConnection00 native "*PeerConnection00" { 5595 class _PeerConnection00Js extends _EventTargetJs implements PeerConnection00 nat ive "*PeerConnection00" {
5634 5596
5635 static final int ACTIVE = 2; 5597 static final int ACTIVE = 2;
5636 5598
5637 static final int CLOSED = 3; 5599 static final int CLOSED = 3;
5638 5600
5639 static final int ICE_CHECKING = 0x300; 5601 static final int ICE_CHECKING = 0x300;
5640 5602
5641 static final int ICE_CLOSED = 0x700; 5603 static final int ICE_CLOSED = 0x700;
5642 5604
5643 static final int ICE_COMPLETED = 0x500; 5605 static final int ICE_COMPLETED = 0x500;
(...skipping 15 matching lines...) Expand all
5659 static final int SDP_OFFER = 0x100; 5621 static final int SDP_OFFER = 0x100;
5660 5622
5661 static final int SDP_PRANSWER = 0x200; 5623 static final int SDP_PRANSWER = 0x200;
5662 5624
5663 final int iceState; 5625 final int iceState;
5664 5626
5665 final _SessionDescriptionJs localDescription; 5627 final _SessionDescriptionJs localDescription;
5666 5628
5667 final _MediaStreamListJs localStreams; 5629 final _MediaStreamListJs localStreams;
5668 5630
5669 EventListener onaddstream;
5670
5671 EventListener onconnecting;
5672
5673 EventListener onopen;
5674
5675 EventListener onremovestream;
5676
5677 EventListener onstatechange;
5678
5679 final int readyState; 5631 final int readyState;
5680 5632
5681 final _SessionDescriptionJs remoteDescription; 5633 final _SessionDescriptionJs remoteDescription;
5682 5634
5683 final _MediaStreamListJs remoteStreams; 5635 final _MediaStreamListJs remoteStreams;
5684 5636
5685 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native; 5637 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
5686 5638
5687 void addStream(_MediaStreamJs stream, [String mediaStreamHints = null]) native ; 5639 void addStream(_MediaStreamJs stream, [String mediaStreamHints = null]) native ;
5688 5640
(...skipping 817 matching lines...) Expand 10 before | Expand all | Expand 10 after
6506 6458
6507 String id; 6459 String id;
6508 6460
6509 final _SVGSVGElementJs ownerSVGElement; 6461 final _SVGSVGElementJs ownerSVGElement;
6510 6462
6511 final _SVGElementJs viewportElement; 6463 final _SVGElementJs viewportElement;
6512 6464
6513 String xmlbase; 6465 String xmlbase;
6514 } 6466 }
6515 6467
6516 class _SVGElementInstanceJs extends _EventTargetJs implements SVGElementInstance native "*SVGElementInstance" { 6468 class _SVGElementInstanceJs extends _DOMTypeJs implements SVGElementInstance nat ive "*SVGElementInstance" {
6517 6469
6518 final _SVGElementInstanceListJs childNodes; 6470 final _SVGElementInstanceListJs childNodes;
6519 6471
6520 final _SVGElementJs correspondingElement; 6472 final _SVGElementJs correspondingElement;
6521 6473
6522 final _SVGUseElementJs correspondingUseElement; 6474 final _SVGUseElementJs correspondingUseElement;
6523 6475
6524 final _SVGElementInstanceJs firstChild; 6476 final _SVGElementInstanceJs firstChild;
6525 6477
6526 final _SVGElementInstanceJs lastChild; 6478 final _SVGElementInstanceJs lastChild;
(...skipping 2852 matching lines...) Expand 10 before | Expand all | Expand 10 after
9379 } 9331 }
9380 9332
9381 class _SharedWorkerJs extends _AbstractWorkerJs implements SharedWorker native " *SharedWorker" { 9333 class _SharedWorkerJs extends _AbstractWorkerJs implements SharedWorker native " *SharedWorker" {
9382 9334
9383 final _MessagePortJs port; 9335 final _MessagePortJs port;
9384 } 9336 }
9385 9337
9386 class _SharedWorkerContextJs extends _WorkerContextJs implements SharedWorkerCon text native "*SharedWorkerContext" { 9338 class _SharedWorkerContextJs extends _WorkerContextJs implements SharedWorkerCon text native "*SharedWorkerContext" {
9387 9339
9388 final String name; 9340 final String name;
9389
9390 EventListener onconnect;
9391 } 9341 }
9392 9342
9393 class _SpeechGrammarJs extends _DOMTypeJs implements SpeechGrammar native "*Spee chGrammar" { 9343 class _SpeechGrammarJs extends _DOMTypeJs implements SpeechGrammar native "*Spee chGrammar" {
9394 9344
9395 String src; 9345 String src;
9396 9346
9397 num weight; 9347 num weight;
9398 } 9348 }
9399 9349
9400 class _SpeechGrammarListJs extends _DOMTypeJs implements SpeechGrammarList nativ e "*SpeechGrammarList" { 9350 class _SpeechGrammarListJs extends _DOMTypeJs implements SpeechGrammarList nativ e "*SpeechGrammarList" {
(...skipping 19 matching lines...) Expand all
9420 final String utterance; 9370 final String utterance;
9421 } 9371 }
9422 9372
9423 class _SpeechInputResultListJs extends _DOMTypeJs implements SpeechInputResultLi st native "*SpeechInputResultList" { 9373 class _SpeechInputResultListJs extends _DOMTypeJs implements SpeechInputResultLi st native "*SpeechInputResultList" {
9424 9374
9425 final int length; 9375 final int length;
9426 9376
9427 _SpeechInputResultJs item(int index) native; 9377 _SpeechInputResultJs item(int index) native;
9428 } 9378 }
9429 9379
9430 class _SpeechRecognitionJs extends _DOMTypeJs implements SpeechRecognition nativ e "*SpeechRecognition" { 9380 class _SpeechRecognitionJs extends _EventTargetJs implements SpeechRecognition n ative "*SpeechRecognition" {
9431 9381
9432 bool continuous; 9382 bool continuous;
9433 9383
9434 _SpeechGrammarListJs grammars; 9384 _SpeechGrammarListJs grammars;
9435 9385
9436 String lang; 9386 String lang;
9437 9387
9438 EventListener onaudioend;
9439
9440 EventListener onaudiostart;
9441
9442 EventListener onend;
9443
9444 EventListener onerror;
9445
9446 EventListener onnomatch;
9447
9448 EventListener onresult;
9449
9450 EventListener onresultdeleted;
9451
9452 EventListener onsoundend;
9453
9454 EventListener onsoundstart;
9455
9456 EventListener onspeechend;
9457
9458 EventListener onspeechstart;
9459
9460 EventListener onstart;
9461
9462 void abort() native; 9388 void abort() native;
9463 9389
9464 void start() native; 9390 void start() native;
9465 9391
9466 void stop() native; 9392 void stop() native;
9467 } 9393 }
9468 9394
9469 class _SpeechRecognitionAlternativeJs extends _DOMTypeJs implements SpeechRecogn itionAlternative native "*SpeechRecognitionAlternative" { 9395 class _SpeechRecognitionAlternativeJs extends _DOMTypeJs implements SpeechRecogn itionAlternative native "*SpeechRecognitionAlternative" {
9470 9396
9471 final num confidence; 9397 final num confidence;
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
9719 final String data; 9645 final String data;
9720 9646
9721 void initTextEvent(String typeArg, bool canBubbleArg, bool cancelableArg, _DOM WindowJs viewArg, String dataArg) native; 9647 void initTextEvent(String typeArg, bool canBubbleArg, bool cancelableArg, _DOM WindowJs viewArg, String dataArg) native;
9722 } 9648 }
9723 9649
9724 class _TextMetricsJs extends _DOMTypeJs implements TextMetrics native "*TextMetr ics" { 9650 class _TextMetricsJs extends _DOMTypeJs implements TextMetrics native "*TextMetr ics" {
9725 9651
9726 final num width; 9652 final num width;
9727 } 9653 }
9728 9654
9729 class _TextTrackJs extends _DOMTypeJs implements TextTrack native "*TextTrack" { 9655 class _TextTrackJs extends _EventTargetJs implements TextTrack native "*TextTrac k" {
9730 9656
9731 static final int DISABLED = 0; 9657 static final int DISABLED = 0;
9732 9658
9733 static final int HIDDEN = 1; 9659 static final int HIDDEN = 1;
9734 9660
9735 static final int SHOWING = 2; 9661 static final int SHOWING = 2;
9736 9662
9737 final _TextTrackCueListJs activeCues; 9663 final _TextTrackCueListJs activeCues;
9738 9664
9739 final _TextTrackCueListJs cues; 9665 final _TextTrackCueListJs cues;
9740 9666
9741 final String kind; 9667 final String kind;
9742 9668
9743 final String label; 9669 final String label;
9744 9670
9745 final String language; 9671 final String language;
9746 9672
9747 int mode; 9673 int mode;
9748 9674
9749 EventListener oncuechange;
9750
9751 void addCue(_TextTrackCueJs cue) native; 9675 void addCue(_TextTrackCueJs cue) native;
9752 9676
9753 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native; 9677 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
9754 9678
9755 bool dispatchEvent(_EventJs evt) native; 9679 bool dispatchEvent(_EventJs evt) native;
9756 9680
9757 void removeCue(_TextTrackCueJs cue) native; 9681 void removeCue(_TextTrackCueJs cue) native;
9758 9682
9759 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native; 9683 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
9760 } 9684 }
9761 9685
9762 class _TextTrackCueJs extends _DOMTypeJs implements TextTrackCue native "*TextTr ackCue" { 9686 class _TextTrackCueJs extends _EventTargetJs implements TextTrackCue native "*Te xtTrackCue" {
9763 9687
9764 String align; 9688 String align;
9765 9689
9766 num endTime; 9690 num endTime;
9767 9691
9768 String id; 9692 String id;
9769 9693
9770 int line; 9694 int line;
9771 9695
9772 EventListener onenter;
9773
9774 EventListener onexit;
9775
9776 bool pauseOnExit; 9696 bool pauseOnExit;
9777 9697
9778 int position; 9698 int position;
9779 9699
9780 int size; 9700 int size;
9781 9701
9782 bool snapToLines; 9702 bool snapToLines;
9783 9703
9784 num startTime; 9704 num startTime;
9785 9705
(...skipping 14 matching lines...) Expand all
9800 9720
9801 class _TextTrackCueListJs extends _DOMTypeJs implements TextTrackCueList native "*TextTrackCueList" { 9721 class _TextTrackCueListJs extends _DOMTypeJs implements TextTrackCueList native "*TextTrackCueList" {
9802 9722
9803 final int length; 9723 final int length;
9804 9724
9805 _TextTrackCueJs getCueById(String id) native; 9725 _TextTrackCueJs getCueById(String id) native;
9806 9726
9807 _TextTrackCueJs item(int index) native; 9727 _TextTrackCueJs item(int index) native;
9808 } 9728 }
9809 9729
9810 class _TextTrackListJs extends _DOMTypeJs implements TextTrackList native "*Text TrackList" { 9730 class _TextTrackListJs extends _EventTargetJs implements TextTrackList native "* TextTrackList" {
9811 9731
9812 final int length; 9732 final int length;
9813 9733
9814 EventListener onaddtrack;
9815
9816 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native; 9734 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
9817 9735
9818 bool dispatchEvent(_EventJs evt) native; 9736 bool dispatchEvent(_EventJs evt) native;
9819 9737
9820 _TextTrackJs item(int index) native; 9738 _TextTrackJs item(int index) native;
9821 9739
9822 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native; 9740 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
9823 } 9741 }
9824 9742
9825 class _TimeRangesJs extends _DOMTypeJs implements TimeRanges native "*TimeRanges " { 9743 class _TimeRangesJs extends _DOMTypeJs implements TimeRanges native "*TimeRanges " {
(...skipping 1767 matching lines...) Expand 10 before | Expand all | Expand 10 after
11593 11511
11594 class _WorkerJs extends _AbstractWorkerJs implements Worker native "*Worker" { 11512 class _WorkerJs extends _AbstractWorkerJs implements Worker native "*Worker" {
11595 11513
11596 void postMessage(Dynamic message, [List messagePorts = null]) native; 11514 void postMessage(Dynamic message, [List messagePorts = null]) native;
11597 11515
11598 void terminate() native; 11516 void terminate() native;
11599 11517
11600 void webkitPostMessage(Dynamic message, [List messagePorts = null]) native; 11518 void webkitPostMessage(Dynamic message, [List messagePorts = null]) native;
11601 } 11519 }
11602 11520
11603 class _WorkerContextJs extends _DOMTypeJs implements WorkerContext native "*Work erContext" { 11521 class _WorkerContextJs extends _EventTargetJs implements WorkerContext native "* WorkerContext" {
11604 11522
11605 static final int PERSISTENT = 1; 11523 static final int PERSISTENT = 1;
11606 11524
11607 static final int TEMPORARY = 0; 11525 static final int TEMPORARY = 0;
11608 11526
11609 final _WorkerLocationJs location; 11527 final _WorkerLocationJs location;
11610 11528
11611 final _WorkerNavigatorJs navigator; 11529 final _WorkerNavigatorJs navigator;
11612 11530
11613 EventListener onerror;
11614
11615 final _WorkerContextJs self; 11531 final _WorkerContextJs self;
11616 11532
11617 final _IDBFactoryJs webkitIndexedDB; 11533 final _IDBFactoryJs webkitIndexedDB;
11618 11534
11619 final _NotificationCenterJs webkitNotifications; 11535 final _NotificationCenterJs webkitNotifications;
11620 11536
11621 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native; 11537 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
11622 11538
11623 void clearInterval(int handle) native; 11539 void clearInterval(int handle) native;
11624 11540
(...skipping 616 matching lines...) Expand 10 before | Expand all | Expand 10 after
12241 // WARNING: Do not edit - generated code. 12157 // WARNING: Do not edit - generated code.
12242 12158
12243 interface AudioChannelSplitter extends AudioNode { 12159 interface AudioChannelSplitter extends AudioNode {
12244 } 12160 }
12245 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 12161 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
12246 // for details. All rights reserved. Use of this source code is governed by a 12162 // for details. All rights reserved. Use of this source code is governed by a
12247 // BSD-style license that can be found in the LICENSE file. 12163 // BSD-style license that can be found in the LICENSE file.
12248 12164
12249 // WARNING: Do not edit - generated code. 12165 // WARNING: Do not edit - generated code.
12250 12166
12251 interface AudioContext default _AudioContextFactoryProvider { 12167 interface AudioContext extends EventTarget default _AudioContextFactoryProvider {
12252 12168
12253 AudioContext(); 12169 AudioContext();
12254 12170
12255 final int activeSourceCount; 12171 final int activeSourceCount;
12256 12172
12257 final num currentTime; 12173 final num currentTime;
12258 12174
12259 final AudioDestinationNode destination; 12175 final AudioDestinationNode destination;
12260 12176
12261 final AudioListener listener; 12177 final AudioListener listener;
12262 12178
12263 EventListener oncomplete;
12264
12265 final num sampleRate; 12179 final num sampleRate;
12266 12180
12267 RealtimeAnalyserNode createAnalyser(); 12181 RealtimeAnalyserNode createAnalyser();
12268 12182
12269 BiquadFilterNode createBiquadFilter(); 12183 BiquadFilterNode createBiquadFilter();
12270 12184
12271 AudioBuffer createBuffer(var buffer_OR_numberOfChannels, var mixToMono_OR_numb erOfFrames, [num sampleRate]); 12185 AudioBuffer createBuffer(var buffer_OR_numberOfChannels, var mixToMono_OR_numb erOfFrames, [num sampleRate]);
12272 12186
12273 AudioBufferSourceNode createBufferSource(); 12187 AudioBufferSourceNode createBufferSource();
12274 12188
(...skipping 1624 matching lines...) Expand 10 before | Expand all | Expand 10 after
13899 void transaction(SQLTransactionSyncCallback callback); 13813 void transaction(SQLTransactionSyncCallback callback);
13900 } 13814 }
13901 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 13815 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13902 // for details. All rights reserved. Use of this source code is governed by a 13816 // for details. All rights reserved. Use of this source code is governed by a
13903 // BSD-style license that can be found in the LICENSE file. 13817 // BSD-style license that can be found in the LICENSE file.
13904 13818
13905 // WARNING: Do not edit - generated code. 13819 // WARNING: Do not edit - generated code.
13906 13820
13907 interface DedicatedWorkerGlobalScope extends WorkerContext { 13821 interface DedicatedWorkerGlobalScope extends WorkerContext {
13908 13822
13909 EventListener onmessage;
13910
13911 void postMessage(Object message, [List messagePorts]); 13823 void postMessage(Object message, [List messagePorts]);
13912 13824
13913 void webkitPostMessage(Object message, [List transferList]); 13825 void webkitPostMessage(Object message, [List transferList]);
13914 } 13826 }
13915 13827
13916 interface DedicatedWorkerContext extends DedicatedWorkerGlobalScope { 13828 interface DedicatedWorkerContext extends DedicatedWorkerGlobalScope {
13917 } 13829 }
13918 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 13830 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13919 // for details. All rights reserved. Use of this source code is governed by a 13831 // for details. All rights reserved. Use of this source code is governed by a
13920 // BSD-style license that can be found in the LICENSE file. 13832 // BSD-style license that can be found in the LICENSE file.
13921 13833
13922 // WARNING: Do not edit - generated code. 13834 // WARNING: Do not edit - generated code.
13923 13835
13924 interface DelayNode extends AudioNode { 13836 interface DelayNode extends AudioNode {
13925 13837
13926 final AudioParam delayTime; 13838 final AudioParam delayTime;
13927 } 13839 }
13928 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 13840 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13929 // for details. All rights reserved. Use of this source code is governed by a 13841 // for details. All rights reserved. Use of this source code is governed by a
13930 // BSD-style license that can be found in the LICENSE file. 13842 // BSD-style license that can be found in the LICENSE file.
13931 13843
13932 // WARNING: Do not edit - generated code. 13844 // WARNING: Do not edit - generated code.
13933 13845
13934 interface DeprecatedPeerConnection default _DeprecatedPeerConnectionFactoryProvi der { 13846 interface DeprecatedPeerConnection extends EventTarget default _DeprecatedPeerCo nnectionFactoryProvider {
13935 13847
13936 DeprecatedPeerConnection(String serverConfiguration, SignalingCallback signali ngCallback); 13848 DeprecatedPeerConnection(String serverConfiguration, SignalingCallback signali ngCallback);
13937 13849
13938 static final int ACTIVE = 2; 13850 static final int ACTIVE = 2;
13939 13851
13940 static final int CLOSED = 3; 13852 static final int CLOSED = 3;
13941 13853
13942 static final int NEGOTIATING = 1; 13854 static final int NEGOTIATING = 1;
13943 13855
13944 static final int NEW = 0; 13856 static final int NEW = 0;
13945 13857
13946 final MediaStreamList localStreams; 13858 final MediaStreamList localStreams;
13947 13859
13948 EventListener onaddstream;
13949
13950 EventListener onconnecting;
13951
13952 EventListener onmessage;
13953
13954 EventListener onopen;
13955
13956 EventListener onremovestream;
13957
13958 EventListener onstatechange;
13959
13960 final int readyState; 13860 final int readyState;
13961 13861
13962 final MediaStreamList remoteStreams; 13862 final MediaStreamList remoteStreams;
13963 13863
13964 void addEventListener(String type, EventListener listener, [bool useCapture]); 13864 void addEventListener(String type, EventListener listener, [bool useCapture]);
13965 13865
13966 void addStream(MediaStream stream); 13866 void addStream(MediaStream stream);
13967 13867
13968 void close(); 13868 void close();
13969 13869
(...skipping 874 matching lines...) Expand 10 before | Expand all | Expand 10 after
14844 final int length; 14744 final int length;
14845 14745
14846 File item(int index); 14746 File item(int index);
14847 } 14747 }
14848 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 14748 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14849 // for details. All rights reserved. Use of this source code is governed by a 14749 // for details. All rights reserved. Use of this source code is governed by a
14850 // BSD-style license that can be found in the LICENSE file. 14750 // BSD-style license that can be found in the LICENSE file.
14851 14751
14852 // WARNING: Do not edit - generated code. 14752 // WARNING: Do not edit - generated code.
14853 14753
14854 interface FileReader default _FileReaderFactoryProvider { 14754 interface FileReader extends EventTarget default _FileReaderFactoryProvider {
14855 14755
14856 FileReader(); 14756 FileReader();
14857 14757
14858 static final int DONE = 2; 14758 static final int DONE = 2;
14859 14759
14860 static final int EMPTY = 0; 14760 static final int EMPTY = 0;
14861 14761
14862 static final int LOADING = 1; 14762 static final int LOADING = 1;
14863 14763
14864 final FileError error; 14764 final FileError error;
14865 14765
14866 EventListener onabort;
14867
14868 EventListener onerror;
14869
14870 EventListener onload;
14871
14872 EventListener onloadend;
14873
14874 EventListener onloadstart;
14875
14876 EventListener onprogress;
14877
14878 final int readyState; 14766 final int readyState;
14879 14767
14880 final Object result; 14768 final Object result;
14881 14769
14882 void abort(); 14770 void abort();
14883 14771
14884 void addEventListener(String type, EventListener listener, [bool useCapture]); 14772 void addEventListener(String type, EventListener listener, [bool useCapture]);
14885 14773
14886 bool dispatchEvent(Event evt); 14774 bool dispatchEvent(Event evt);
14887 14775
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
14919 14807
14920 // WARNING: Do not edit - generated code. 14808 // WARNING: Do not edit - generated code.
14921 14809
14922 typedef bool FileSystemCallback(DOMFileSystem fileSystem); 14810 typedef bool FileSystemCallback(DOMFileSystem fileSystem);
14923 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 14811 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14924 // for details. All rights reserved. Use of this source code is governed by a 14812 // for details. All rights reserved. Use of this source code is governed by a
14925 // BSD-style license that can be found in the LICENSE file. 14813 // BSD-style license that can be found in the LICENSE file.
14926 14814
14927 // WARNING: Do not edit - generated code. 14815 // WARNING: Do not edit - generated code.
14928 14816
14929 interface FileWriter { 14817 interface FileWriter extends EventTarget {
14930 14818
14931 static final int DONE = 2; 14819 static final int DONE = 2;
14932 14820
14933 static final int INIT = 0; 14821 static final int INIT = 0;
14934 14822
14935 static final int WRITING = 1; 14823 static final int WRITING = 1;
14936 14824
14937 final FileError error; 14825 final FileError error;
14938 14826
14939 final int length; 14827 final int length;
14940 14828
14941 EventListener onabort;
14942
14943 EventListener onerror;
14944
14945 EventListener onprogress;
14946
14947 EventListener onwrite;
14948
14949 EventListener onwriteend;
14950
14951 EventListener onwritestart;
14952
14953 final int position; 14829 final int position;
14954 14830
14955 final int readyState; 14831 final int readyState;
14956 14832
14957 void abort(); 14833 void abort();
14958 14834
14959 void seek(int position); 14835 void seek(int position);
14960 14836
14961 void truncate(int size); 14837 void truncate(int size);
14962 14838
(...skipping 1999 matching lines...) Expand 10 before | Expand all | Expand 10 after
16962 interface IDBCursorWithValue extends IDBCursor { 16838 interface IDBCursorWithValue extends IDBCursor {
16963 16839
16964 final IDBAny value; 16840 final IDBAny value;
16965 } 16841 }
16966 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 16842 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16967 // for details. All rights reserved. Use of this source code is governed by a 16843 // for details. All rights reserved. Use of this source code is governed by a
16968 // BSD-style license that can be found in the LICENSE file. 16844 // BSD-style license that can be found in the LICENSE file.
16969 16845
16970 // WARNING: Do not edit - generated code. 16846 // WARNING: Do not edit - generated code.
16971 16847
16972 interface IDBDatabase { 16848 interface IDBDatabase extends EventTarget {
16973 16849
16974 final String name; 16850 final String name;
16975 16851
16976 final List<String> objectStoreNames; 16852 final List<String> objectStoreNames;
16977 16853
16978 EventListener onabort;
16979
16980 EventListener onerror;
16981
16982 EventListener onversionchange;
16983
16984 final String version; 16854 final String version;
16985 16855
16986 void addEventListener(String type, EventListener listener, [bool useCapture]); 16856 void addEventListener(String type, EventListener listener, [bool useCapture]);
16987 16857
16988 void close(); 16858 void close();
16989 16859
16990 IDBObjectStore createObjectStore(String name); 16860 IDBObjectStore createObjectStore(String name);
16991 16861
16992 void deleteObjectStore(String name); 16862 void deleteObjectStore(String name);
16993 16863
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
17152 IDBRequest openCursor([IDBKeyRange range, int direction]); 17022 IDBRequest openCursor([IDBKeyRange range, int direction]);
17153 17023
17154 IDBRequest put(Dynamic value, [IDBKey key]); 17024 IDBRequest put(Dynamic value, [IDBKey key]);
17155 } 17025 }
17156 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 17026 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17157 // for details. All rights reserved. Use of this source code is governed by a 17027 // for details. All rights reserved. Use of this source code is governed by a
17158 // BSD-style license that can be found in the LICENSE file. 17028 // BSD-style license that can be found in the LICENSE file.
17159 17029
17160 // WARNING: Do not edit - generated code. 17030 // WARNING: Do not edit - generated code.
17161 17031
17162 interface IDBRequest { 17032 interface IDBRequest extends EventTarget {
17163 17033
17164 static final int DONE = 2; 17034 static final int DONE = 2;
17165 17035
17166 static final int LOADING = 1; 17036 static final int LOADING = 1;
17167 17037
17168 final int errorCode; 17038 final int errorCode;
17169 17039
17170 EventListener onerror;
17171
17172 EventListener onsuccess;
17173
17174 final int readyState; 17040 final int readyState;
17175 17041
17176 final IDBAny result; 17042 final IDBAny result;
17177 17043
17178 final IDBAny source; 17044 final IDBAny source;
17179 17045
17180 final IDBTransaction transaction; 17046 final IDBTransaction transaction;
17181 17047
17182 final String webkitErrorMessage; 17048 final String webkitErrorMessage;
17183 17049
17184 void addEventListener(String type, EventListener listener, [bool useCapture]); 17050 void addEventListener(String type, EventListener listener, [bool useCapture]);
17185 17051
17186 bool dispatchEvent(Event evt); 17052 bool dispatchEvent(Event evt);
17187 17053
17188 void removeEventListener(String type, EventListener listener, [bool useCapture ]); 17054 void removeEventListener(String type, EventListener listener, [bool useCapture ]);
17189 } 17055 }
17190 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 17056 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17191 // for details. All rights reserved. Use of this source code is governed by a 17057 // for details. All rights reserved. Use of this source code is governed by a
17192 // BSD-style license that can be found in the LICENSE file. 17058 // BSD-style license that can be found in the LICENSE file.
17193 17059
17194 // WARNING: Do not edit - generated code. 17060 // WARNING: Do not edit - generated code.
17195 17061
17196 interface IDBTransaction { 17062 interface IDBTransaction extends EventTarget {
17197 17063
17198 static final int READ_ONLY = 0; 17064 static final int READ_ONLY = 0;
17199 17065
17200 static final int READ_WRITE = 1; 17066 static final int READ_WRITE = 1;
17201 17067
17202 static final int VERSION_CHANGE = 2; 17068 static final int VERSION_CHANGE = 2;
17203 17069
17204 final IDBDatabase db; 17070 final IDBDatabase db;
17205 17071
17206 final int mode; 17072 final int mode;
17207 17073
17208 EventListener onabort;
17209
17210 EventListener oncomplete;
17211
17212 EventListener onerror;
17213
17214 void abort(); 17074 void abort();
17215 17075
17216 void addEventListener(String type, EventListener listener, [bool useCapture]); 17076 void addEventListener(String type, EventListener listener, [bool useCapture]);
17217 17077
17218 bool dispatchEvent(Event evt); 17078 bool dispatchEvent(Event evt);
17219 17079
17220 IDBObjectStore objectStore(String name); 17080 IDBObjectStore objectStore(String name);
17221 17081
17222 void removeEventListener(String type, EventListener listener, [bool useCapture ]); 17082 void removeEventListener(String type, EventListener listener, [bool useCapture ]);
17223 } 17083 }
17224 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 17084 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17225 // for details. All rights reserved. Use of this source code is governed by a 17085 // for details. All rights reserved. Use of this source code is governed by a
17226 // BSD-style license that can be found in the LICENSE file. 17086 // BSD-style license that can be found in the LICENSE file.
17227 17087
17228 // WARNING: Do not edit - generated code. 17088 // WARNING: Do not edit - generated code.
17229 17089
17230 interface IDBVersionChangeEvent extends Event { 17090 interface IDBVersionChangeEvent extends Event {
17231 17091
17232 final String version; 17092 final String version;
17233 } 17093 }
17234 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 17094 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17235 // for details. All rights reserved. Use of this source code is governed by a 17095 // for details. All rights reserved. Use of this source code is governed by a
17236 // BSD-style license that can be found in the LICENSE file. 17096 // BSD-style license that can be found in the LICENSE file.
17237 17097
17238 // WARNING: Do not edit - generated code. 17098 // WARNING: Do not edit - generated code.
17239 17099
17240 interface IDBVersionChangeRequest extends IDBRequest { 17100 interface IDBVersionChangeRequest extends IDBRequest, EventTarget {
17241
17242 EventListener onblocked;
17243 } 17101 }
17244 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 17102 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
17245 // for details. All rights reserved. Use of this source code is governed by a 17103 // for details. All rights reserved. Use of this source code is governed by a
17246 // BSD-style license that can be found in the LICENSE file. 17104 // BSD-style license that can be found in the LICENSE file.
17247 17105
17248 // WARNING: Do not edit - generated code. 17106 // WARNING: Do not edit - generated code.
17249 17107
17250 typedef bool IceCallback(IceCandidate candidate, bool moreToFollow, PeerConnecti on00 source); 17108 typedef bool IceCallback(IceCandidate candidate, bool moreToFollow, PeerConnecti on00 source);
17251 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 17109 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17252 // for details. All rights reserved. Use of this source code is governed by a 17110 // for details. All rights reserved. Use of this source code is governed by a
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
17341 void setElements(Object array, [int offset]); 17199 void setElements(Object array, [int offset]);
17342 17200
17343 Int8Array subarray(int start, [int end]); 17201 Int8Array subarray(int start, [int end]);
17344 } 17202 }
17345 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 17203 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17346 // for details. All rights reserved. Use of this source code is governed by a 17204 // for details. All rights reserved. Use of this source code is governed by a
17347 // BSD-style license that can be found in the LICENSE file. 17205 // BSD-style license that can be found in the LICENSE file.
17348 17206
17349 // WARNING: Do not edit - generated code. 17207 // WARNING: Do not edit - generated code.
17350 17208
17351 interface JavaScriptAudioNode extends AudioNode { 17209 interface JavaScriptAudioNode extends AudioNode, EventTarget {
17352 17210
17353 final int bufferSize; 17211 final int bufferSize;
17354
17355 EventListener onaudioprocess;
17356 } 17212 }
17357 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 17213 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17358 // for details. All rights reserved. Use of this source code is governed by a 17214 // for details. All rights reserved. Use of this source code is governed by a
17359 // BSD-style license that can be found in the LICENSE file. 17215 // BSD-style license that can be found in the LICENSE file.
17360 17216
17361 // WARNING: Do not edit - generated code. 17217 // WARNING: Do not edit - generated code.
17362 17218
17363 interface JavaScriptCallFrame { 17219 interface JavaScriptCallFrame {
17364 17220
17365 static final int CATCH_SCOPE = 4; 17221 static final int CATCH_SCOPE = 4;
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
17415 final bool shiftKey; 17271 final bool shiftKey;
17416 17272
17417 void initKeyboardEvent(String type, bool canBubble, bool cancelable, DOMWindow view, String keyIdentifier, int keyLocation, bool ctrlKey, bool altKey, bool sh iftKey, bool metaKey, bool altGraphKey); 17273 void initKeyboardEvent(String type, bool canBubble, bool cancelable, DOMWindow view, String keyIdentifier, int keyLocation, bool ctrlKey, bool altKey, bool sh iftKey, bool metaKey, bool altGraphKey);
17418 } 17274 }
17419 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 17275 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17420 // for details. All rights reserved. Use of this source code is governed by a 17276 // for details. All rights reserved. Use of this source code is governed by a
17421 // BSD-style license that can be found in the LICENSE file. 17277 // BSD-style license that can be found in the LICENSE file.
17422 17278
17423 // WARNING: Do not edit - generated code. 17279 // WARNING: Do not edit - generated code.
17424 17280
17425 interface LocalMediaStream extends MediaStream { 17281 interface LocalMediaStream extends MediaStream, EventTarget {
17426 17282
17427 void stop(); 17283 void stop();
17428 } 17284 }
17429 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 17285 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17430 // for details. All rights reserved. Use of this source code is governed by a 17286 // for details. All rights reserved. Use of this source code is governed by a
17431 // BSD-style license that can be found in the LICENSE file. 17287 // BSD-style license that can be found in the LICENSE file.
17432 17288
17433 // WARNING: Do not edit - generated code. 17289 // WARNING: Do not edit - generated code.
17434 17290
17435 interface Location { 17291 interface Location {
(...skipping 23 matching lines...) Expand all
17459 void replace(String url); 17315 void replace(String url);
17460 17316
17461 String toString(); 17317 String toString();
17462 } 17318 }
17463 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 17319 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17464 // for details. All rights reserved. Use of this source code is governed by a 17320 // for details. All rights reserved. Use of this source code is governed by a
17465 // BSD-style license that can be found in the LICENSE file. 17321 // BSD-style license that can be found in the LICENSE file.
17466 17322
17467 // WARNING: Do not edit - generated code. 17323 // WARNING: Do not edit - generated code.
17468 17324
17469 interface MediaController default _MediaControllerFactoryProvider { 17325 interface MediaController extends EventTarget default _MediaControllerFactoryPro vider {
17470 17326
17471 MediaController(); 17327 MediaController();
17472 17328
17473 final TimeRanges buffered; 17329 final TimeRanges buffered;
17474 17330
17475 num currentTime; 17331 num currentTime;
17476 17332
17477 num defaultPlaybackRate; 17333 num defaultPlaybackRate;
17478 17334
17479 final num duration; 17335 final num duration;
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
17571 interface MediaQueryListListener { 17427 interface MediaQueryListListener {
17572 17428
17573 void queryChanged(MediaQueryList list); 17429 void queryChanged(MediaQueryList list);
17574 } 17430 }
17575 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 17431 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17576 // for details. All rights reserved. Use of this source code is governed by a 17432 // for details. All rights reserved. Use of this source code is governed by a
17577 // BSD-style license that can be found in the LICENSE file. 17433 // BSD-style license that can be found in the LICENSE file.
17578 17434
17579 // WARNING: Do not edit - generated code. 17435 // WARNING: Do not edit - generated code.
17580 17436
17581 interface MediaStream default _MediaStreamFactoryProvider { 17437 interface MediaStream extends EventTarget default _MediaStreamFactoryProvider {
17582 17438
17583 MediaStream(MediaStreamTrackList audioTracks, MediaStreamTrackList videoTracks ); 17439 MediaStream(MediaStreamTrackList audioTracks, MediaStreamTrackList videoTracks );
17584 17440
17585 static final int ENDED = 2; 17441 static final int ENDED = 2;
17586 17442
17587 static final int LIVE = 1; 17443 static final int LIVE = 1;
17588 17444
17589 final MediaStreamTrackList audioTracks; 17445 final MediaStreamTrackList audioTracks;
17590 17446
17591 final String label; 17447 final String label;
17592 17448
17593 EventListener onended;
17594
17595 final int readyState; 17449 final int readyState;
17596 17450
17597 final MediaStreamTrackList videoTracks; 17451 final MediaStreamTrackList videoTracks;
17598 17452
17599 void addEventListener(String type, EventListener listener, [bool useCapture]); 17453 void addEventListener(String type, EventListener listener, [bool useCapture]);
17600 17454
17601 bool dispatchEvent(Event event); 17455 bool dispatchEvent(Event event);
17602 17456
17603 void removeEventListener(String type, EventListener listener, [bool useCapture ]); 17457 void removeEventListener(String type, EventListener listener, [bool useCapture ]);
17604 } 17458 }
(...skipping 713 matching lines...) Expand 10 before | Expand all | Expand 10 after
18318 interface PageTransitionEvent extends Event { 18172 interface PageTransitionEvent extends Event {
18319 18173
18320 final bool persisted; 18174 final bool persisted;
18321 } 18175 }
18322 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 18176 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
18323 // for details. All rights reserved. Use of this source code is governed by a 18177 // for details. All rights reserved. Use of this source code is governed by a
18324 // BSD-style license that can be found in the LICENSE file. 18178 // BSD-style license that can be found in the LICENSE file.
18325 18179
18326 // WARNING: Do not edit - generated code. 18180 // WARNING: Do not edit - generated code.
18327 18181
18328 interface PeerConnection00 default _PeerConnection00FactoryProvider { 18182 interface PeerConnection00 extends EventTarget default _PeerConnection00FactoryP rovider {
18329 18183
18330 PeerConnection00(String serverConfiguration, IceCallback iceCallback); 18184 PeerConnection00(String serverConfiguration, IceCallback iceCallback);
18331 18185
18332 static final int ACTIVE = 2; 18186 static final int ACTIVE = 2;
18333 18187
18334 static final int CLOSED = 3; 18188 static final int CLOSED = 3;
18335 18189
18336 static final int ICE_CHECKING = 0x300; 18190 static final int ICE_CHECKING = 0x300;
18337 18191
18338 static final int ICE_CLOSED = 0x700; 18192 static final int ICE_CLOSED = 0x700;
(...skipping 17 matching lines...) Expand all
18356 static final int SDP_OFFER = 0x100; 18210 static final int SDP_OFFER = 0x100;
18357 18211
18358 static final int SDP_PRANSWER = 0x200; 18212 static final int SDP_PRANSWER = 0x200;
18359 18213
18360 final int iceState; 18214 final int iceState;
18361 18215
18362 final SessionDescription localDescription; 18216 final SessionDescription localDescription;
18363 18217
18364 final MediaStreamList localStreams; 18218 final MediaStreamList localStreams;
18365 18219
18366 EventListener onaddstream;
18367
18368 EventListener onconnecting;
18369
18370 EventListener onopen;
18371
18372 EventListener onremovestream;
18373
18374 EventListener onstatechange;
18375
18376 final int readyState; 18220 final int readyState;
18377 18221
18378 final SessionDescription remoteDescription; 18222 final SessionDescription remoteDescription;
18379 18223
18380 final MediaStreamList remoteStreams; 18224 final MediaStreamList remoteStreams;
18381 18225
18382 void addEventListener(String type, EventListener listener, [bool useCapture]); 18226 void addEventListener(String type, EventListener listener, [bool useCapture]);
18383 18227
18384 void addStream(MediaStream stream, [String mediaStreamHints]); 18228 void addStream(MediaStream stream, [String mediaStreamHints]);
18385 18229
(...skipping 870 matching lines...) Expand 10 before | Expand all | Expand 10 after
19256 final SVGElement viewportElement; 19100 final SVGElement viewportElement;
19257 19101
19258 String xmlbase; 19102 String xmlbase;
19259 } 19103 }
19260 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 19104 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
19261 // for details. All rights reserved. Use of this source code is governed by a 19105 // for details. All rights reserved. Use of this source code is governed by a
19262 // BSD-style license that can be found in the LICENSE file. 19106 // BSD-style license that can be found in the LICENSE file.
19263 19107
19264 // WARNING: Do not edit - generated code. 19108 // WARNING: Do not edit - generated code.
19265 19109
19266 interface SVGElementInstance extends EventTarget { 19110 interface SVGElementInstance {
19267 19111
19268 final SVGElementInstanceList childNodes; 19112 final SVGElementInstanceList childNodes;
19269 19113
19270 final SVGElement correspondingElement; 19114 final SVGElement correspondingElement;
19271 19115
19272 final SVGUseElement correspondingUseElement; 19116 final SVGUseElement correspondingUseElement;
19273 19117
19274 final SVGElementInstance firstChild; 19118 final SVGElementInstance firstChild;
19275 19119
19276 final SVGElementInstance lastChild; 19120 final SVGElementInstance lastChild;
(...skipping 2252 matching lines...) Expand 10 before | Expand all | Expand 10 after
21529 } 21373 }
21530 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 21374 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
21531 // for details. All rights reserved. Use of this source code is governed by a 21375 // for details. All rights reserved. Use of this source code is governed by a
21532 // BSD-style license that can be found in the LICENSE file. 21376 // BSD-style license that can be found in the LICENSE file.
21533 21377
21534 // WARNING: Do not edit - generated code. 21378 // WARNING: Do not edit - generated code.
21535 21379
21536 interface SharedWorkerGlobalScope extends WorkerContext { 21380 interface SharedWorkerGlobalScope extends WorkerContext {
21537 21381
21538 final String name; 21382 final String name;
21539
21540 EventListener onconnect;
21541 } 21383 }
21542 21384
21543 interface SharedWorkerContext extends SharedWorkerGlobalScope { 21385 interface SharedWorkerContext extends SharedWorkerGlobalScope {
21544 } 21386 }
21545 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 21387 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
21546 // for details. All rights reserved. Use of this source code is governed by a 21388 // for details. All rights reserved. Use of this source code is governed by a
21547 // BSD-style license that can be found in the LICENSE file. 21389 // BSD-style license that can be found in the LICENSE file.
21548 21390
21549 // WARNING: Do not edit - generated code. 21391 // WARNING: Do not edit - generated code.
21550 21392
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
21614 final int length; 21456 final int length;
21615 21457
21616 SpeechInputResult item(int index); 21458 SpeechInputResult item(int index);
21617 } 21459 }
21618 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 21460 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
21619 // for details. All rights reserved. Use of this source code is governed by a 21461 // for details. All rights reserved. Use of this source code is governed by a
21620 // BSD-style license that can be found in the LICENSE file. 21462 // BSD-style license that can be found in the LICENSE file.
21621 21463
21622 // WARNING: Do not edit - generated code. 21464 // WARNING: Do not edit - generated code.
21623 21465
21624 interface SpeechRecognition default _SpeechRecognitionFactoryProvider { 21466 interface SpeechRecognition extends EventTarget default _SpeechRecognitionFactor yProvider {
21625 21467
21626 SpeechRecognition(); 21468 SpeechRecognition();
21627 21469
21628 bool continuous; 21470 bool continuous;
21629 21471
21630 SpeechGrammarList grammars; 21472 SpeechGrammarList grammars;
21631 21473
21632 String lang; 21474 String lang;
21633 21475
21634 EventListener onaudioend;
21635
21636 EventListener onaudiostart;
21637
21638 EventListener onend;
21639
21640 EventListener onerror;
21641
21642 EventListener onnomatch;
21643
21644 EventListener onresult;
21645
21646 EventListener onresultdeleted;
21647
21648 EventListener onsoundend;
21649
21650 EventListener onsoundstart;
21651
21652 EventListener onspeechend;
21653
21654 EventListener onspeechstart;
21655
21656 EventListener onstart;
21657
21658 void abort(); 21476 void abort();
21659 21477
21660 void start(); 21478 void start();
21661 21479
21662 void stop(); 21480 void stop();
21663 } 21481 }
21664 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 21482 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
21665 // for details. All rights reserved. Use of this source code is governed by a 21483 // for details. All rights reserved. Use of this source code is governed by a
21666 // BSD-style license that can be found in the LICENSE file. 21484 // BSD-style license that can be found in the LICENSE file.
21667 21485
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
21910 interface TextMetrics { 21728 interface TextMetrics {
21911 21729
21912 final num width; 21730 final num width;
21913 } 21731 }
21914 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 21732 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
21915 // for details. All rights reserved. Use of this source code is governed by a 21733 // for details. All rights reserved. Use of this source code is governed by a
21916 // BSD-style license that can be found in the LICENSE file. 21734 // BSD-style license that can be found in the LICENSE file.
21917 21735
21918 // WARNING: Do not edit - generated code. 21736 // WARNING: Do not edit - generated code.
21919 21737
21920 interface TextTrack { 21738 interface TextTrack extends EventTarget {
21921 21739
21922 static final int DISABLED = 0; 21740 static final int DISABLED = 0;
21923 21741
21924 static final int HIDDEN = 1; 21742 static final int HIDDEN = 1;
21925 21743
21926 static final int SHOWING = 2; 21744 static final int SHOWING = 2;
21927 21745
21928 final TextTrackCueList activeCues; 21746 final TextTrackCueList activeCues;
21929 21747
21930 final TextTrackCueList cues; 21748 final TextTrackCueList cues;
21931 21749
21932 final String kind; 21750 final String kind;
21933 21751
21934 final String label; 21752 final String label;
21935 21753
21936 final String language; 21754 final String language;
21937 21755
21938 int mode; 21756 int mode;
21939 21757
21940 EventListener oncuechange;
21941
21942 void addCue(TextTrackCue cue); 21758 void addCue(TextTrackCue cue);
21943 21759
21944 void addEventListener(String type, EventListener listener, [bool useCapture]); 21760 void addEventListener(String type, EventListener listener, [bool useCapture]);
21945 21761
21946 bool dispatchEvent(Event evt); 21762 bool dispatchEvent(Event evt);
21947 21763
21948 void removeCue(TextTrackCue cue); 21764 void removeCue(TextTrackCue cue);
21949 21765
21950 void removeEventListener(String type, EventListener listener, [bool useCapture ]); 21766 void removeEventListener(String type, EventListener listener, [bool useCapture ]);
21951 } 21767 }
21952 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 21768 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
21953 // for details. All rights reserved. Use of this source code is governed by a 21769 // for details. All rights reserved. Use of this source code is governed by a
21954 // BSD-style license that can be found in the LICENSE file. 21770 // BSD-style license that can be found in the LICENSE file.
21955 21771
21956 // WARNING: Do not edit - generated code. 21772 // WARNING: Do not edit - generated code.
21957 21773
21958 interface TextTrackCue default _TextTrackCueFactoryProvider { 21774 interface TextTrackCue extends EventTarget default _TextTrackCueFactoryProvider {
21959 21775
21960 TextTrackCue(String id, num startTime, num endTime, String text, [String setti ngs, bool pauseOnExit]); 21776 TextTrackCue(String id, num startTime, num endTime, String text, [String setti ngs, bool pauseOnExit]);
21961 21777
21962 String align; 21778 String align;
21963 21779
21964 num endTime; 21780 num endTime;
21965 21781
21966 String id; 21782 String id;
21967 21783
21968 int line; 21784 int line;
21969 21785
21970 EventListener onenter;
21971
21972 EventListener onexit;
21973
21974 bool pauseOnExit; 21786 bool pauseOnExit;
21975 21787
21976 int position; 21788 int position;
21977 21789
21978 int size; 21790 int size;
21979 21791
21980 bool snapToLines; 21792 bool snapToLines;
21981 21793
21982 num startTime; 21794 num startTime;
21983 21795
(...skipping 24 matching lines...) Expand all
22008 TextTrackCue getCueById(String id); 21820 TextTrackCue getCueById(String id);
22009 21821
22010 TextTrackCue item(int index); 21822 TextTrackCue item(int index);
22011 } 21823 }
22012 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 21824 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
22013 // for details. All rights reserved. Use of this source code is governed by a 21825 // for details. All rights reserved. Use of this source code is governed by a
22014 // BSD-style license that can be found in the LICENSE file. 21826 // BSD-style license that can be found in the LICENSE file.
22015 21827
22016 // WARNING: Do not edit - generated code. 21828 // WARNING: Do not edit - generated code.
22017 21829
22018 interface TextTrackList { 21830 interface TextTrackList extends EventTarget {
22019 21831
22020 final int length; 21832 final int length;
22021 21833
22022 EventListener onaddtrack;
22023
22024 void addEventListener(String type, EventListener listener, [bool useCapture]); 21834 void addEventListener(String type, EventListener listener, [bool useCapture]);
22025 21835
22026 bool dispatchEvent(Event evt); 21836 bool dispatchEvent(Event evt);
22027 21837
22028 TextTrack item(int index); 21838 TextTrack item(int index);
22029 21839
22030 void removeEventListener(String type, EventListener listener, [bool useCapture ]); 21840 void removeEventListener(String type, EventListener listener, [bool useCapture ]);
22031 } 21841 }
22032 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 21842 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
22033 // for details. All rights reserved. Use of this source code is governed by a 21843 // for details. All rights reserved. Use of this source code is governed by a
(...skipping 1732 matching lines...) Expand 10 before | Expand all | Expand 10 after
23766 void terminate(); 23576 void terminate();
23767 23577
23768 void webkitPostMessage(Dynamic message, [List messagePorts]); 23578 void webkitPostMessage(Dynamic message, [List messagePorts]);
23769 } 23579 }
23770 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 23580 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
23771 // for details. All rights reserved. Use of this source code is governed by a 23581 // for details. All rights reserved. Use of this source code is governed by a
23772 // BSD-style license that can be found in the LICENSE file. 23582 // BSD-style license that can be found in the LICENSE file.
23773 23583
23774 // WARNING: Do not edit - generated code. 23584 // WARNING: Do not edit - generated code.
23775 23585
23776 interface WorkerGlobalScope { 23586 interface WorkerGlobalScope extends EventTarget {
23777 23587
23778 final WorkerLocation location; 23588 final WorkerLocation location;
23779 23589
23780 final WorkerNavigator navigator; 23590 final WorkerNavigator navigator;
23781 23591
23782 EventListener onerror;
23783
23784 final WorkerContext self; 23592 final WorkerContext self;
23785 23593
23786 final IDBFactory webkitIndexedDB; 23594 final IDBFactory webkitIndexedDB;
23787 23595
23788 final NotificationCenter webkitNotifications; 23596 final NotificationCenter webkitNotifications;
23789 23597
23790 void addEventListener(String type, EventListener listener, [bool useCapture]); 23598 void addEventListener(String type, EventListener listener, [bool useCapture]);
23791 23599
23792 void clearInterval(int handle); 23600 void clearInterval(int handle);
23793 23601
(...skipping 1240 matching lines...) Expand 10 before | Expand all | Expand 10 after
25034 if (length < 0) throw new IllegalArgumentException('length'); 24842 if (length < 0) throw new IllegalArgumentException('length');
25035 if (start < 0) throw new IndexOutOfRangeException(start); 24843 if (start < 0) throw new IndexOutOfRangeException(start);
25036 int end = start + length; 24844 int end = start + length;
25037 if (end > a.length) throw new IndexOutOfRangeException(end); 24845 if (end > a.length) throw new IndexOutOfRangeException(end);
25038 for (int i = start; i < end; i++) { 24846 for (int i = start; i < end; i++) {
25039 accumulator.add(a[i]); 24847 accumulator.add(a[i]);
25040 } 24848 }
25041 return accumulator; 24849 return accumulator;
25042 } 24850 }
25043 } 24851 }
OLDNEW
« no previous file with comments | « no previous file | lib/dom/idl/dart/webkit-supplemental.idl » ('j') | lib/dom/scripts/dartgenerator.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698