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

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: Create real IDLParentInterface. 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 1358 matching lines...) Expand 10 before | Expand all | Expand 10 after
1487 1485
1488 void changeVersion(String oldVersion, String newVersion, [SQLTransactionSyncCa llback callback = null]) native; 1486 void changeVersion(String oldVersion, String newVersion, [SQLTransactionSyncCa llback callback = null]) native;
1489 1487
1490 void readTransaction(SQLTransactionSyncCallback callback) native; 1488 void readTransaction(SQLTransactionSyncCallback callback) native;
1491 1489
1492 void transaction(SQLTransactionSyncCallback callback) native; 1490 void transaction(SQLTransactionSyncCallback callback) native;
1493 } 1491 }
1494 1492
1495 class _DedicatedWorkerContextJs extends _WorkerContextJs implements DedicatedWor kerContext native "*DedicatedWorkerContext" { 1493 class _DedicatedWorkerContextJs extends _WorkerContextJs implements DedicatedWor kerContext native "*DedicatedWorkerContext" {
1496 1494
1497 EventListener onmessage;
1498
1499 void postMessage(Object message, [List messagePorts = null]) native; 1495 void postMessage(Object message, [List messagePorts = null]) native;
1500 1496
1501 void webkitPostMessage(Object message, [List transferList = null]) native; 1497 void webkitPostMessage(Object message, [List transferList = null]) native;
1502 } 1498 }
1503 1499
1504 class _DelayNodeJs extends _AudioNodeJs implements DelayNode native "*DelayNode" { 1500 class _DelayNodeJs extends _AudioNodeJs implements DelayNode native "*DelayNode" {
1505 1501
1506 final _AudioParamJs delayTime; 1502 final _AudioParamJs delayTime;
1507 } 1503 }
1508 1504
1509 class _DeprecatedPeerConnectionJs extends _DOMTypeJs implements DeprecatedPeerCo nnection native "*DeprecatedPeerConnection" { 1505 class _DeprecatedPeerConnectionJs extends _EventTargetJs implements DeprecatedPe erConnection native "*DeprecatedPeerConnection" {
1510 1506
1511 static final int ACTIVE = 2; 1507 static final int ACTIVE = 2;
1512 1508
1513 static final int CLOSED = 3; 1509 static final int CLOSED = 3;
1514 1510
1515 static final int NEGOTIATING = 1; 1511 static final int NEGOTIATING = 1;
1516 1512
1517 static final int NEW = 0; 1513 static final int NEW = 0;
1518 1514
1519 final _MediaStreamListJs localStreams; 1515 final _MediaStreamListJs localStreams;
1520 1516
1521 EventListener onaddstream;
1522
1523 EventListener onconnecting;
1524
1525 EventListener onmessage;
1526
1527 EventListener onopen;
1528
1529 EventListener onremovestream;
1530
1531 EventListener onstatechange;
1532
1533 final int readyState; 1517 final int readyState;
1534 1518
1535 final _MediaStreamListJs remoteStreams; 1519 final _MediaStreamListJs remoteStreams;
1536 1520
1537 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native; 1521 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
1538 1522
1539 void addStream(_MediaStreamJs stream) native; 1523 void addStream(_MediaStreamJs stream) native;
1540 1524
1541 void close() native; 1525 void close() native;
1542 1526
(...skipping 684 matching lines...) Expand 10 before | Expand all | Expand 10 after
2227 String toString() native; 2211 String toString() native;
2228 } 2212 }
2229 2213
2230 class _FileListJs extends _DOMTypeJs implements FileList native "*FileList" { 2214 class _FileListJs extends _DOMTypeJs implements FileList native "*FileList" {
2231 2215
2232 final int length; 2216 final int length;
2233 2217
2234 _FileJs item(int index) native; 2218 _FileJs item(int index) native;
2235 } 2219 }
2236 2220
2237 class _FileReaderJs extends _DOMTypeJs implements FileReader native "*FileReader " { 2221 class _FileReaderJs extends _EventTargetJs implements FileReader native "*FileRe ader" {
2238 2222
2239 static final int DONE = 2; 2223 static final int DONE = 2;
2240 2224
2241 static final int EMPTY = 0; 2225 static final int EMPTY = 0;
2242 2226
2243 static final int LOADING = 1; 2227 static final int LOADING = 1;
2244 2228
2245 final _FileErrorJs error; 2229 final _FileErrorJs error;
2246 2230
2247 EventListener onabort;
2248
2249 EventListener onerror;
2250
2251 EventListener onload;
2252
2253 EventListener onloadend;
2254
2255 EventListener onloadstart;
2256
2257 EventListener onprogress;
2258
2259 final int readyState; 2231 final int readyState;
2260 2232
2261 final Object result; 2233 final Object result;
2262 2234
2263 void abort() native; 2235 void abort() native;
2264 2236
2265 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native; 2237 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
2266 2238
2267 bool dispatchEvent(_EventJs evt) native; 2239 bool dispatchEvent(_EventJs evt) native;
2268 2240
(...skipping 12 matching lines...) Expand all
2281 2253
2282 _ArrayBufferJs readAsArrayBuffer(_BlobJs blob) native; 2254 _ArrayBufferJs readAsArrayBuffer(_BlobJs blob) native;
2283 2255
2284 String readAsBinaryString(_BlobJs blob) native; 2256 String readAsBinaryString(_BlobJs blob) native;
2285 2257
2286 String readAsDataURL(_BlobJs blob) native; 2258 String readAsDataURL(_BlobJs blob) native;
2287 2259
2288 String readAsText(_BlobJs blob, [String encoding = null]) native; 2260 String readAsText(_BlobJs blob, [String encoding = null]) native;
2289 } 2261 }
2290 2262
2291 class _FileWriterJs extends _DOMTypeJs implements FileWriter native "*FileWriter " { 2263 class _FileWriterJs extends _EventTargetJs implements FileWriter native "*FileWr iter" {
2292 2264
2293 static final int DONE = 2; 2265 static final int DONE = 2;
2294 2266
2295 static final int INIT = 0; 2267 static final int INIT = 0;
2296 2268
2297 static final int WRITING = 1; 2269 static final int WRITING = 1;
2298 2270
2299 final _FileErrorJs error; 2271 final _FileErrorJs error;
2300 2272
2301 final int length; 2273 final int length;
2302 2274
2303 EventListener onabort;
2304
2305 EventListener onerror;
2306
2307 EventListener onprogress;
2308
2309 EventListener onwrite;
2310
2311 EventListener onwriteend;
2312
2313 EventListener onwritestart;
2314
2315 final int position; 2275 final int position;
2316 2276
2317 final int readyState; 2277 final int readyState;
2318 2278
2319 void abort() native; 2279 void abort() native;
2320 2280
2321 void seek(int position) native; 2281 void seek(int position) native;
2322 2282
2323 void truncate(int size) native; 2283 void truncate(int size) native;
2324 2284
(...skipping 1812 matching lines...) Expand 10 before | Expand all | Expand 10 after
4137 _IDBRequestJs delete() native; 4097 _IDBRequestJs delete() native;
4138 4098
4139 _IDBRequestJs update(Dynamic value) native; 4099 _IDBRequestJs update(Dynamic value) native;
4140 } 4100 }
4141 4101
4142 class _IDBCursorWithValueJs extends _IDBCursorJs implements IDBCursorWithValue n ative "*IDBCursorWithValue" { 4102 class _IDBCursorWithValueJs extends _IDBCursorJs implements IDBCursorWithValue n ative "*IDBCursorWithValue" {
4143 4103
4144 final _IDBAnyJs value; 4104 final _IDBAnyJs value;
4145 } 4105 }
4146 4106
4147 class _IDBDatabaseJs extends _DOMTypeJs implements IDBDatabase native "*IDBDatab ase" { 4107 class _IDBDatabaseJs extends _EventTargetJs implements IDBDatabase native "*IDBD atabase" {
4148 4108
4149 final String name; 4109 final String name;
4150 4110
4151 final List<String> objectStoreNames; 4111 final List<String> objectStoreNames;
4152 4112
4153 EventListener onabort;
4154
4155 EventListener onerror;
4156
4157 EventListener onversionchange;
4158
4159 final String version; 4113 final String version;
4160 4114
4161 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native; 4115 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
4162 4116
4163 void close() native; 4117 void close() native;
4164 4118
4165 _IDBObjectStoreJs createObjectStore(String name) native; 4119 _IDBObjectStoreJs createObjectStore(String name) native;
4166 4120
4167 void deleteObjectStore(String name) native; 4121 void deleteObjectStore(String name) native;
4168 4122
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
4292 4246
4293 _IDBRequestJs getObject(_IDBKeyJs key) native 'get'; 4247 _IDBRequestJs getObject(_IDBKeyJs key) native 'get';
4294 4248
4295 _IDBIndexJs index(String name) native; 4249 _IDBIndexJs index(String name) native;
4296 4250
4297 _IDBRequestJs openCursor([_IDBKeyRangeJs range = null, int direction = null]) native; 4251 _IDBRequestJs openCursor([_IDBKeyRangeJs range = null, int direction = null]) native;
4298 4252
4299 _IDBRequestJs put(Dynamic value, [_IDBKeyJs key = null]) native; 4253 _IDBRequestJs put(Dynamic value, [_IDBKeyJs key = null]) native;
4300 } 4254 }
4301 4255
4302 class _IDBRequestJs extends _DOMTypeJs implements IDBRequest native "*IDBRequest " { 4256 class _IDBRequestJs extends _EventTargetJs implements IDBRequest native "*IDBReq uest" {
4303 4257
4304 static final int DONE = 2; 4258 static final int DONE = 2;
4305 4259
4306 static final int LOADING = 1; 4260 static final int LOADING = 1;
4307 4261
4308 final int errorCode; 4262 final int errorCode;
4309 4263
4310 EventListener onerror;
4311
4312 EventListener onsuccess;
4313
4314 final int readyState; 4264 final int readyState;
4315 4265
4316 final _IDBAnyJs result; 4266 final _IDBAnyJs result;
4317 4267
4318 final _IDBAnyJs source; 4268 final _IDBAnyJs source;
4319 4269
4320 final _IDBTransactionJs transaction; 4270 final _IDBTransactionJs transaction;
4321 4271
4322 final String webkitErrorMessage; 4272 final String webkitErrorMessage;
4323 4273
4324 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native; 4274 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
4325 4275
4326 bool dispatchEvent(_EventJs evt) native; 4276 bool dispatchEvent(_EventJs evt) native;
4327 4277
4328 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native; 4278 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
4329 } 4279 }
4330 4280
4331 class _IDBTransactionJs extends _DOMTypeJs implements IDBTransaction native "*ID BTransaction" { 4281 class _IDBTransactionJs extends _EventTargetJs implements IDBTransaction native "*IDBTransaction" {
4332 4282
4333 static final int READ_ONLY = 0; 4283 static final int READ_ONLY = 0;
4334 4284
4335 static final int READ_WRITE = 1; 4285 static final int READ_WRITE = 1;
4336 4286
4337 static final int VERSION_CHANGE = 2; 4287 static final int VERSION_CHANGE = 2;
4338 4288
4339 final _IDBDatabaseJs db; 4289 final _IDBDatabaseJs db;
4340 4290
4341 final int mode; 4291 final int mode;
4342 4292
4343 EventListener onabort;
4344
4345 EventListener oncomplete;
4346
4347 EventListener onerror;
4348
4349 void abort() native; 4293 void abort() native;
4350 4294
4351 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native; 4295 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
4352 4296
4353 bool dispatchEvent(_EventJs evt) native; 4297 bool dispatchEvent(_EventJs evt) native;
4354 4298
4355 _IDBObjectStoreJs objectStore(String name) native; 4299 _IDBObjectStoreJs objectStore(String name) native;
4356 4300
4357 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native; 4301 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
4358 } 4302 }
4359 4303
4360 class _IDBVersionChangeEventJs extends _EventJs implements IDBVersionChangeEvent native "*IDBVersionChangeEvent" { 4304 class _IDBVersionChangeEventJs extends _EventJs implements IDBVersionChangeEvent native "*IDBVersionChangeEvent" {
4361 4305
4362 final String version; 4306 final String version;
4363 } 4307 }
4364 4308
4365 class _IDBVersionChangeRequestJs extends _IDBRequestJs implements IDBVersionChan geRequest native "*IDBVersionChangeRequest" { 4309 class _IDBVersionChangeRequestJs extends _IDBRequestJs implements IDBVersionChan geRequest native "*IDBVersionChangeRequest" {
4366 4310
4367 EventListener onblocked; 4311 // From EventTarget
4312
4313 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
4314
4315 bool dispatchEvent(_EventJs event) native;
4316
4317 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
4368 } 4318 }
4369 4319
4370 class _IceCandidateJs extends _DOMTypeJs implements IceCandidate native "*IceCan didate" { 4320 class _IceCandidateJs extends _DOMTypeJs implements IceCandidate native "*IceCan didate" {
4371 4321
4372 final String label; 4322 final String label;
4373 4323
4374 String toSdp() native; 4324 String toSdp() native;
4375 } 4325 }
4376 4326
4377 class _ImageDataJs extends _DOMTypeJs implements ImageData native "*ImageData" { 4327 class _ImageDataJs extends _DOMTypeJs implements ImageData native "*ImageData" {
(...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after
4653 4603
4654 void setElements(Object array, [int offset = null]) native 'set'; 4604 void setElements(Object array, [int offset = null]) native 'set';
4655 4605
4656 _Int8ArrayJs subarray(int start, [int end = null]) native; 4606 _Int8ArrayJs subarray(int start, [int end = null]) native;
4657 } 4607 }
4658 4608
4659 class _JavaScriptAudioNodeJs extends _AudioNodeJs implements JavaScriptAudioNode native "*JavaScriptAudioNode" { 4609 class _JavaScriptAudioNodeJs extends _AudioNodeJs implements JavaScriptAudioNode native "*JavaScriptAudioNode" {
4660 4610
4661 final int bufferSize; 4611 final int bufferSize;
4662 4612
4663 EventListener onaudioprocess; 4613 // From EventTarget
4614
4615 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
4616
4617 bool dispatchEvent(_EventJs event) native;
4618
4619 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
4664 } 4620 }
4665 4621
4666 class _JavaScriptCallFrameJs extends _DOMTypeJs implements JavaScriptCallFrame n ative "*JavaScriptCallFrame" { 4622 class _JavaScriptCallFrameJs extends _DOMTypeJs implements JavaScriptCallFrame n ative "*JavaScriptCallFrame" {
4667 4623
4668 static final int CATCH_SCOPE = 4; 4624 static final int CATCH_SCOPE = 4;
4669 4625
4670 static final int CLOSURE_SCOPE = 3; 4626 static final int CLOSURE_SCOPE = 3;
4671 4627
4672 static final int GLOBAL_SCOPE = 0; 4628 static final int GLOBAL_SCOPE = 0;
4673 4629
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
4711 final bool metaKey; 4667 final bool metaKey;
4712 4668
4713 final bool shiftKey; 4669 final bool shiftKey;
4714 4670
4715 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; 4671 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;
4716 } 4672 }
4717 4673
4718 class _LocalMediaStreamJs extends _MediaStreamJs implements LocalMediaStream nat ive "*LocalMediaStream" { 4674 class _LocalMediaStreamJs extends _MediaStreamJs implements LocalMediaStream nat ive "*LocalMediaStream" {
4719 4675
4720 void stop() native; 4676 void stop() native;
4677
4678 // From EventTarget
4679
4680 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
4681
4682 bool dispatchEvent(_EventJs event) native;
4683
4684 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
4721 } 4685 }
4722 4686
4723 class _LocationJs extends _DOMTypeJs implements Location native "*Location" { 4687 class _LocationJs extends _DOMTypeJs implements Location native "*Location" {
4724 4688
4725 String hash; 4689 String hash;
4726 4690
4727 String host; 4691 String host;
4728 4692
4729 String hostname; 4693 String hostname;
4730 4694
(...skipping 11 matching lines...) Expand all
4742 4706
4743 void assign(String url) native; 4707 void assign(String url) native;
4744 4708
4745 void reload() native; 4709 void reload() native;
4746 4710
4747 void replace(String url) native; 4711 void replace(String url) native;
4748 4712
4749 String toString() native; 4713 String toString() native;
4750 } 4714 }
4751 4715
4752 class _MediaControllerJs extends _DOMTypeJs implements MediaController native "* MediaController" { 4716 class _MediaControllerJs extends _EventTargetJs implements MediaController nativ e "*MediaController" {
4753 4717
4754 final _TimeRangesJs buffered; 4718 final _TimeRangesJs buffered;
4755 4719
4756 num currentTime; 4720 num currentTime;
4757 4721
4758 num defaultPlaybackRate; 4722 num defaultPlaybackRate;
4759 4723
4760 final num duration; 4724 final num duration;
4761 4725
4762 bool muted; 4726 bool muted;
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
4904 void addListener(_MediaQueryListListenerJs listener) native; 4868 void addListener(_MediaQueryListListenerJs listener) native;
4905 4869
4906 void removeListener(_MediaQueryListListenerJs listener) native; 4870 void removeListener(_MediaQueryListListenerJs listener) native;
4907 } 4871 }
4908 4872
4909 class _MediaQueryListListenerJs extends _DOMTypeJs implements MediaQueryListList ener native "*MediaQueryListListener" { 4873 class _MediaQueryListListenerJs extends _DOMTypeJs implements MediaQueryListList ener native "*MediaQueryListListener" {
4910 4874
4911 void queryChanged(_MediaQueryListJs list) native; 4875 void queryChanged(_MediaQueryListJs list) native;
4912 } 4876 }
4913 4877
4914 class _MediaStreamJs extends _DOMTypeJs implements MediaStream native "*MediaStr eam" { 4878 class _MediaStreamJs extends _EventTargetJs implements MediaStream native "*Medi aStream" {
4915 4879
4916 static final int ENDED = 2; 4880 static final int ENDED = 2;
4917 4881
4918 static final int LIVE = 1; 4882 static final int LIVE = 1;
4919 4883
4920 final _MediaStreamTrackListJs audioTracks; 4884 final _MediaStreamTrackListJs audioTracks;
4921 4885
4922 final String label; 4886 final String label;
4923 4887
4924 EventListener onended;
4925
4926 final int readyState; 4888 final int readyState;
4927 4889
4928 final _MediaStreamTrackListJs videoTracks; 4890 final _MediaStreamTrackListJs videoTracks;
4929 4891
4930 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native; 4892 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
4931 4893
4932 bool dispatchEvent(_EventJs event) native; 4894 bool dispatchEvent(_EventJs event) native;
4933 4895
4934 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native; 4896 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
4935 } 4897 }
(...skipping 689 matching lines...) Expand 10 before | Expand all | Expand 10 after
5625 final int orient; 5587 final int orient;
5626 5588
5627 final bool verticalOverflow; 5589 final bool verticalOverflow;
5628 } 5590 }
5629 5591
5630 class _PageTransitionEventJs extends _EventJs implements PageTransitionEvent nat ive "*PageTransitionEvent" { 5592 class _PageTransitionEventJs extends _EventJs implements PageTransitionEvent nat ive "*PageTransitionEvent" {
5631 5593
5632 final bool persisted; 5594 final bool persisted;
5633 } 5595 }
5634 5596
5635 class _PeerConnection00Js extends _DOMTypeJs implements PeerConnection00 native "*PeerConnection00" { 5597 class _PeerConnection00Js extends _EventTargetJs implements PeerConnection00 nat ive "*PeerConnection00" {
5636 5598
5637 static final int ACTIVE = 2; 5599 static final int ACTIVE = 2;
5638 5600
5639 static final int CLOSED = 3; 5601 static final int CLOSED = 3;
5640 5602
5641 static final int ICE_CHECKING = 0x300; 5603 static final int ICE_CHECKING = 0x300;
5642 5604
5643 static final int ICE_CLOSED = 0x700; 5605 static final int ICE_CLOSED = 0x700;
5644 5606
5645 static final int ICE_COMPLETED = 0x500; 5607 static final int ICE_COMPLETED = 0x500;
(...skipping 15 matching lines...) Expand all
5661 static final int SDP_OFFER = 0x100; 5623 static final int SDP_OFFER = 0x100;
5662 5624
5663 static final int SDP_PRANSWER = 0x200; 5625 static final int SDP_PRANSWER = 0x200;
5664 5626
5665 final int iceState; 5627 final int iceState;
5666 5628
5667 final _SessionDescriptionJs localDescription; 5629 final _SessionDescriptionJs localDescription;
5668 5630
5669 final _MediaStreamListJs localStreams; 5631 final _MediaStreamListJs localStreams;
5670 5632
5671 EventListener onaddstream;
5672
5673 EventListener onconnecting;
5674
5675 EventListener onopen;
5676
5677 EventListener onremovestream;
5678
5679 EventListener onstatechange;
5680
5681 final int readyState; 5633 final int readyState;
5682 5634
5683 final _SessionDescriptionJs remoteDescription; 5635 final _SessionDescriptionJs remoteDescription;
5684 5636
5685 final _MediaStreamListJs remoteStreams; 5637 final _MediaStreamListJs remoteStreams;
5686 5638
5687 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native; 5639 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
5688 5640
5689 void addStream(_MediaStreamJs stream, [String mediaStreamHints = null]) native ; 5641 void addStream(_MediaStreamJs stream, [String mediaStreamHints = null]) native ;
5690 5642
(...skipping 817 matching lines...) Expand 10 before | Expand all | Expand 10 after
6508 6460
6509 String id; 6461 String id;
6510 6462
6511 final _SVGSVGElementJs ownerSVGElement; 6463 final _SVGSVGElementJs ownerSVGElement;
6512 6464
6513 final _SVGElementJs viewportElement; 6465 final _SVGElementJs viewportElement;
6514 6466
6515 String xmlbase; 6467 String xmlbase;
6516 } 6468 }
6517 6469
6518 class _SVGElementInstanceJs extends _EventTargetJs implements SVGElementInstance native "*SVGElementInstance" { 6470 class _SVGElementInstanceJs extends _DOMTypeJs implements SVGElementInstance nat ive "*SVGElementInstance" {
6519 6471
6520 final _SVGElementInstanceListJs childNodes; 6472 final _SVGElementInstanceListJs childNodes;
6521 6473
6522 final _SVGElementJs correspondingElement; 6474 final _SVGElementJs correspondingElement;
6523 6475
6524 final _SVGUseElementJs correspondingUseElement; 6476 final _SVGUseElementJs correspondingUseElement;
6525 6477
6526 final _SVGElementInstanceJs firstChild; 6478 final _SVGElementInstanceJs firstChild;
6527 6479
6528 final _SVGElementInstanceJs lastChild; 6480 final _SVGElementInstanceJs lastChild;
(...skipping 2852 matching lines...) Expand 10 before | Expand all | Expand 10 after
9381 } 9333 }
9382 9334
9383 class _SharedWorkerJs extends _AbstractWorkerJs implements SharedWorker native " *SharedWorker" { 9335 class _SharedWorkerJs extends _AbstractWorkerJs implements SharedWorker native " *SharedWorker" {
9384 9336
9385 final _MessagePortJs port; 9337 final _MessagePortJs port;
9386 } 9338 }
9387 9339
9388 class _SharedWorkerContextJs extends _WorkerContextJs implements SharedWorkerCon text native "*SharedWorkerContext" { 9340 class _SharedWorkerContextJs extends _WorkerContextJs implements SharedWorkerCon text native "*SharedWorkerContext" {
9389 9341
9390 final String name; 9342 final String name;
9391
9392 EventListener onconnect;
9393 } 9343 }
9394 9344
9395 class _SpeechGrammarJs extends _DOMTypeJs implements SpeechGrammar native "*Spee chGrammar" { 9345 class _SpeechGrammarJs extends _DOMTypeJs implements SpeechGrammar native "*Spee chGrammar" {
9396 9346
9397 String src; 9347 String src;
9398 9348
9399 num weight; 9349 num weight;
9400 } 9350 }
9401 9351
9402 class _SpeechGrammarListJs extends _DOMTypeJs implements SpeechGrammarList nativ e "*SpeechGrammarList" { 9352 class _SpeechGrammarListJs extends _DOMTypeJs implements SpeechGrammarList nativ e "*SpeechGrammarList" {
(...skipping 19 matching lines...) Expand all
9422 final String utterance; 9372 final String utterance;
9423 } 9373 }
9424 9374
9425 class _SpeechInputResultListJs extends _DOMTypeJs implements SpeechInputResultLi st native "*SpeechInputResultList" { 9375 class _SpeechInputResultListJs extends _DOMTypeJs implements SpeechInputResultLi st native "*SpeechInputResultList" {
9426 9376
9427 final int length; 9377 final int length;
9428 9378
9429 _SpeechInputResultJs item(int index) native; 9379 _SpeechInputResultJs item(int index) native;
9430 } 9380 }
9431 9381
9432 class _SpeechRecognitionJs extends _DOMTypeJs implements SpeechRecognition nativ e "*SpeechRecognition" { 9382 class _SpeechRecognitionJs extends _EventTargetJs implements SpeechRecognition n ative "*SpeechRecognition" {
9433 9383
9434 bool continuous; 9384 bool continuous;
9435 9385
9436 _SpeechGrammarListJs grammars; 9386 _SpeechGrammarListJs grammars;
9437 9387
9438 String lang; 9388 String lang;
9439 9389
9440 EventListener onaudioend;
9441
9442 EventListener onaudiostart;
9443
9444 EventListener onend;
9445
9446 EventListener onerror;
9447
9448 EventListener onnomatch;
9449
9450 EventListener onresult;
9451
9452 EventListener onresultdeleted;
9453
9454 EventListener onsoundend;
9455
9456 EventListener onsoundstart;
9457
9458 EventListener onspeechend;
9459
9460 EventListener onspeechstart;
9461
9462 EventListener onstart;
9463
9464 void abort() native; 9390 void abort() native;
9465 9391
9466 void start() native; 9392 void start() native;
9467 9393
9468 void stop() native; 9394 void stop() native;
9469 } 9395 }
9470 9396
9471 class _SpeechRecognitionAlternativeJs extends _DOMTypeJs implements SpeechRecogn itionAlternative native "*SpeechRecognitionAlternative" { 9397 class _SpeechRecognitionAlternativeJs extends _DOMTypeJs implements SpeechRecogn itionAlternative native "*SpeechRecognitionAlternative" {
9472 9398
9473 final num confidence; 9399 final num confidence;
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
9721 final String data; 9647 final String data;
9722 9648
9723 void initTextEvent(String typeArg, bool canBubbleArg, bool cancelableArg, _DOM WindowJs viewArg, String dataArg) native; 9649 void initTextEvent(String typeArg, bool canBubbleArg, bool cancelableArg, _DOM WindowJs viewArg, String dataArg) native;
9724 } 9650 }
9725 9651
9726 class _TextMetricsJs extends _DOMTypeJs implements TextMetrics native "*TextMetr ics" { 9652 class _TextMetricsJs extends _DOMTypeJs implements TextMetrics native "*TextMetr ics" {
9727 9653
9728 final num width; 9654 final num width;
9729 } 9655 }
9730 9656
9731 class _TextTrackJs extends _DOMTypeJs implements TextTrack native "*TextTrack" { 9657 class _TextTrackJs extends _EventTargetJs implements TextTrack native "*TextTrac k" {
9732 9658
9733 static final int DISABLED = 0; 9659 static final int DISABLED = 0;
9734 9660
9735 static final int HIDDEN = 1; 9661 static final int HIDDEN = 1;
9736 9662
9737 static final int SHOWING = 2; 9663 static final int SHOWING = 2;
9738 9664
9739 final _TextTrackCueListJs activeCues; 9665 final _TextTrackCueListJs activeCues;
9740 9666
9741 final _TextTrackCueListJs cues; 9667 final _TextTrackCueListJs cues;
9742 9668
9743 final String kind; 9669 final String kind;
9744 9670
9745 final String label; 9671 final String label;
9746 9672
9747 final String language; 9673 final String language;
9748 9674
9749 int mode; 9675 int mode;
9750 9676
9751 EventListener oncuechange;
9752
9753 void addCue(_TextTrackCueJs cue) native; 9677 void addCue(_TextTrackCueJs cue) native;
9754 9678
9755 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native; 9679 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
9756 9680
9757 bool dispatchEvent(_EventJs evt) native; 9681 bool dispatchEvent(_EventJs evt) native;
9758 9682
9759 void removeCue(_TextTrackCueJs cue) native; 9683 void removeCue(_TextTrackCueJs cue) native;
9760 9684
9761 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native; 9685 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
9762 } 9686 }
9763 9687
9764 class _TextTrackCueJs extends _DOMTypeJs implements TextTrackCue native "*TextTr ackCue" { 9688 class _TextTrackCueJs extends _EventTargetJs implements TextTrackCue native "*Te xtTrackCue" {
9765 9689
9766 String align; 9690 String align;
9767 9691
9768 num endTime; 9692 num endTime;
9769 9693
9770 String id; 9694 String id;
9771 9695
9772 int line; 9696 int line;
9773 9697
9774 EventListener onenter;
9775
9776 EventListener onexit;
9777
9778 bool pauseOnExit; 9698 bool pauseOnExit;
9779 9699
9780 int position; 9700 int position;
9781 9701
9782 int size; 9702 int size;
9783 9703
9784 bool snapToLines; 9704 bool snapToLines;
9785 9705
9786 num startTime; 9706 num startTime;
9787 9707
(...skipping 14 matching lines...) Expand all
9802 9722
9803 class _TextTrackCueListJs extends _DOMTypeJs implements TextTrackCueList native "*TextTrackCueList" { 9723 class _TextTrackCueListJs extends _DOMTypeJs implements TextTrackCueList native "*TextTrackCueList" {
9804 9724
9805 final int length; 9725 final int length;
9806 9726
9807 _TextTrackCueJs getCueById(String id) native; 9727 _TextTrackCueJs getCueById(String id) native;
9808 9728
9809 _TextTrackCueJs item(int index) native; 9729 _TextTrackCueJs item(int index) native;
9810 } 9730 }
9811 9731
9812 class _TextTrackListJs extends _DOMTypeJs implements TextTrackList native "*Text TrackList" { 9732 class _TextTrackListJs extends _EventTargetJs implements TextTrackList native "* TextTrackList" {
9813 9733
9814 final int length; 9734 final int length;
9815 9735
9816 EventListener onaddtrack;
9817
9818 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native; 9736 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
9819 9737
9820 bool dispatchEvent(_EventJs evt) native; 9738 bool dispatchEvent(_EventJs evt) native;
9821 9739
9822 _TextTrackJs item(int index) native; 9740 _TextTrackJs item(int index) native;
9823 9741
9824 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native; 9742 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
9825 } 9743 }
9826 9744
9827 class _TimeRangesJs extends _DOMTypeJs implements TimeRanges native "*TimeRanges " { 9745 class _TimeRangesJs extends _DOMTypeJs implements TimeRanges native "*TimeRanges " {
(...skipping 1769 matching lines...) Expand 10 before | Expand all | Expand 10 after
11597 11515
11598 class _WorkerJs extends _AbstractWorkerJs implements Worker native "*Worker" { 11516 class _WorkerJs extends _AbstractWorkerJs implements Worker native "*Worker" {
11599 11517
11600 void postMessage(Dynamic message, [List messagePorts = null]) native; 11518 void postMessage(Dynamic message, [List messagePorts = null]) native;
11601 11519
11602 void terminate() native; 11520 void terminate() native;
11603 11521
11604 void webkitPostMessage(Dynamic message, [List messagePorts = null]) native; 11522 void webkitPostMessage(Dynamic message, [List messagePorts = null]) native;
11605 } 11523 }
11606 11524
11607 class _WorkerContextJs extends _DOMTypeJs implements WorkerContext native "*Work erContext" { 11525 class _WorkerContextJs extends _EventTargetJs implements WorkerContext native "* WorkerContext" {
11608 11526
11609 static final int PERSISTENT = 1; 11527 static final int PERSISTENT = 1;
11610 11528
11611 static final int TEMPORARY = 0; 11529 static final int TEMPORARY = 0;
11612 11530
11613 final _WorkerLocationJs location; 11531 final _WorkerLocationJs location;
11614 11532
11615 final _WorkerNavigatorJs navigator; 11533 final _WorkerNavigatorJs navigator;
11616 11534
11617 EventListener onerror;
11618
11619 final _WorkerContextJs self; 11535 final _WorkerContextJs self;
11620 11536
11621 final _IDBFactoryJs webkitIndexedDB; 11537 final _IDBFactoryJs webkitIndexedDB;
11622 11538
11623 final _NotificationCenterJs webkitNotifications; 11539 final _NotificationCenterJs webkitNotifications;
11624 11540
11625 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native; 11541 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
11626 11542
11627 void clearInterval(int handle) native; 11543 void clearInterval(int handle) native;
11628 11544
(...skipping 616 matching lines...) Expand 10 before | Expand all | Expand 10 after
12245 // WARNING: Do not edit - generated code. 12161 // WARNING: Do not edit - generated code.
12246 12162
12247 interface AudioChannelSplitter extends AudioNode { 12163 interface AudioChannelSplitter extends AudioNode {
12248 } 12164 }
12249 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 12165 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
12250 // for details. All rights reserved. Use of this source code is governed by a 12166 // for details. All rights reserved. Use of this source code is governed by a
12251 // BSD-style license that can be found in the LICENSE file. 12167 // BSD-style license that can be found in the LICENSE file.
12252 12168
12253 // WARNING: Do not edit - generated code. 12169 // WARNING: Do not edit - generated code.
12254 12170
12255 interface AudioContext default _AudioContextFactoryProvider { 12171 interface AudioContext extends EventTarget default _AudioContextFactoryProvider {
12256 12172
12257 AudioContext(); 12173 AudioContext();
12258 12174
12259 final int activeSourceCount; 12175 final int activeSourceCount;
12260 12176
12261 final num currentTime; 12177 final num currentTime;
12262 12178
12263 final AudioDestinationNode destination; 12179 final AudioDestinationNode destination;
12264 12180
12265 final AudioListener listener; 12181 final AudioListener listener;
12266 12182
12267 EventListener oncomplete;
12268
12269 final num sampleRate; 12183 final num sampleRate;
12270 12184
12271 RealtimeAnalyserNode createAnalyser(); 12185 RealtimeAnalyserNode createAnalyser();
12272 12186
12273 BiquadFilterNode createBiquadFilter(); 12187 BiquadFilterNode createBiquadFilter();
12274 12188
12275 AudioBuffer createBuffer(var buffer_OR_numberOfChannels, var mixToMono_OR_numb erOfFrames, [num sampleRate]); 12189 AudioBuffer createBuffer(var buffer_OR_numberOfChannels, var mixToMono_OR_numb erOfFrames, [num sampleRate]);
12276 12190
12277 AudioBufferSourceNode createBufferSource(); 12191 AudioBufferSourceNode createBufferSource();
12278 12192
(...skipping 1626 matching lines...) Expand 10 before | Expand all | Expand 10 after
13905 void transaction(SQLTransactionSyncCallback callback); 13819 void transaction(SQLTransactionSyncCallback callback);
13906 } 13820 }
13907 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 13821 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13908 // for details. All rights reserved. Use of this source code is governed by a 13822 // for details. All rights reserved. Use of this source code is governed by a
13909 // BSD-style license that can be found in the LICENSE file. 13823 // BSD-style license that can be found in the LICENSE file.
13910 13824
13911 // WARNING: Do not edit - generated code. 13825 // WARNING: Do not edit - generated code.
13912 13826
13913 interface DedicatedWorkerGlobalScope extends WorkerContext { 13827 interface DedicatedWorkerGlobalScope extends WorkerContext {
13914 13828
13915 EventListener onmessage;
13916
13917 void postMessage(Object message, [List messagePorts]); 13829 void postMessage(Object message, [List messagePorts]);
13918 13830
13919 void webkitPostMessage(Object message, [List transferList]); 13831 void webkitPostMessage(Object message, [List transferList]);
13920 } 13832 }
13921 13833
13922 interface DedicatedWorkerContext extends DedicatedWorkerGlobalScope { 13834 interface DedicatedWorkerContext extends DedicatedWorkerGlobalScope {
13923 } 13835 }
13924 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 13836 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13925 // for details. All rights reserved. Use of this source code is governed by a 13837 // for details. All rights reserved. Use of this source code is governed by a
13926 // BSD-style license that can be found in the LICENSE file. 13838 // BSD-style license that can be found in the LICENSE file.
13927 13839
13928 // WARNING: Do not edit - generated code. 13840 // WARNING: Do not edit - generated code.
13929 13841
13930 interface DelayNode extends AudioNode { 13842 interface DelayNode extends AudioNode {
13931 13843
13932 final AudioParam delayTime; 13844 final AudioParam delayTime;
13933 } 13845 }
13934 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 13846 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13935 // for details. All rights reserved. Use of this source code is governed by a 13847 // for details. All rights reserved. Use of this source code is governed by a
13936 // BSD-style license that can be found in the LICENSE file. 13848 // BSD-style license that can be found in the LICENSE file.
13937 13849
13938 // WARNING: Do not edit - generated code. 13850 // WARNING: Do not edit - generated code.
13939 13851
13940 interface DeprecatedPeerConnection default _DeprecatedPeerConnectionFactoryProvi der { 13852 interface DeprecatedPeerConnection extends EventTarget default _DeprecatedPeerCo nnectionFactoryProvider {
13941 13853
13942 DeprecatedPeerConnection(String serverConfiguration, SignalingCallback signali ngCallback); 13854 DeprecatedPeerConnection(String serverConfiguration, SignalingCallback signali ngCallback);
13943 13855
13944 static final int ACTIVE = 2; 13856 static final int ACTIVE = 2;
13945 13857
13946 static final int CLOSED = 3; 13858 static final int CLOSED = 3;
13947 13859
13948 static final int NEGOTIATING = 1; 13860 static final int NEGOTIATING = 1;
13949 13861
13950 static final int NEW = 0; 13862 static final int NEW = 0;
13951 13863
13952 final MediaStreamList localStreams; 13864 final MediaStreamList localStreams;
13953 13865
13954 EventListener onaddstream;
13955
13956 EventListener onconnecting;
13957
13958 EventListener onmessage;
13959
13960 EventListener onopen;
13961
13962 EventListener onremovestream;
13963
13964 EventListener onstatechange;
13965
13966 final int readyState; 13866 final int readyState;
13967 13867
13968 final MediaStreamList remoteStreams; 13868 final MediaStreamList remoteStreams;
13969 13869
13970 void addEventListener(String type, EventListener listener, [bool useCapture]); 13870 void addEventListener(String type, EventListener listener, [bool useCapture]);
13971 13871
13972 void addStream(MediaStream stream); 13872 void addStream(MediaStream stream);
13973 13873
13974 void close(); 13874 void close();
13975 13875
(...skipping 874 matching lines...) Expand 10 before | Expand all | Expand 10 after
14850 final int length; 14750 final int length;
14851 14751
14852 File item(int index); 14752 File item(int index);
14853 } 14753 }
14854 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 14754 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14855 // for details. All rights reserved. Use of this source code is governed by a 14755 // for details. All rights reserved. Use of this source code is governed by a
14856 // BSD-style license that can be found in the LICENSE file. 14756 // BSD-style license that can be found in the LICENSE file.
14857 14757
14858 // WARNING: Do not edit - generated code. 14758 // WARNING: Do not edit - generated code.
14859 14759
14860 interface FileReader default _FileReaderFactoryProvider { 14760 interface FileReader extends EventTarget default _FileReaderFactoryProvider {
14861 14761
14862 FileReader(); 14762 FileReader();
14863 14763
14864 static final int DONE = 2; 14764 static final int DONE = 2;
14865 14765
14866 static final int EMPTY = 0; 14766 static final int EMPTY = 0;
14867 14767
14868 static final int LOADING = 1; 14768 static final int LOADING = 1;
14869 14769
14870 final FileError error; 14770 final FileError error;
14871 14771
14872 EventListener onabort;
14873
14874 EventListener onerror;
14875
14876 EventListener onload;
14877
14878 EventListener onloadend;
14879
14880 EventListener onloadstart;
14881
14882 EventListener onprogress;
14883
14884 final int readyState; 14772 final int readyState;
14885 14773
14886 final Object result; 14774 final Object result;
14887 14775
14888 void abort(); 14776 void abort();
14889 14777
14890 void addEventListener(String type, EventListener listener, [bool useCapture]); 14778 void addEventListener(String type, EventListener listener, [bool useCapture]);
14891 14779
14892 bool dispatchEvent(Event evt); 14780 bool dispatchEvent(Event evt);
14893 14781
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
14925 14813
14926 // WARNING: Do not edit - generated code. 14814 // WARNING: Do not edit - generated code.
14927 14815
14928 typedef bool FileSystemCallback(DOMFileSystem fileSystem); 14816 typedef bool FileSystemCallback(DOMFileSystem fileSystem);
14929 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 14817 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14930 // for details. All rights reserved. Use of this source code is governed by a 14818 // for details. All rights reserved. Use of this source code is governed by a
14931 // BSD-style license that can be found in the LICENSE file. 14819 // BSD-style license that can be found in the LICENSE file.
14932 14820
14933 // WARNING: Do not edit - generated code. 14821 // WARNING: Do not edit - generated code.
14934 14822
14935 interface FileWriter { 14823 interface FileWriter extends EventTarget {
14936 14824
14937 static final int DONE = 2; 14825 static final int DONE = 2;
14938 14826
14939 static final int INIT = 0; 14827 static final int INIT = 0;
14940 14828
14941 static final int WRITING = 1; 14829 static final int WRITING = 1;
14942 14830
14943 final FileError error; 14831 final FileError error;
14944 14832
14945 final int length; 14833 final int length;
14946 14834
14947 EventListener onabort;
14948
14949 EventListener onerror;
14950
14951 EventListener onprogress;
14952
14953 EventListener onwrite;
14954
14955 EventListener onwriteend;
14956
14957 EventListener onwritestart;
14958
14959 final int position; 14835 final int position;
14960 14836
14961 final int readyState; 14837 final int readyState;
14962 14838
14963 void abort(); 14839 void abort();
14964 14840
14965 void seek(int position); 14841 void seek(int position);
14966 14842
14967 void truncate(int size); 14843 void truncate(int size);
14968 14844
(...skipping 1999 matching lines...) Expand 10 before | Expand all | Expand 10 after
16968 interface IDBCursorWithValue extends IDBCursor { 16844 interface IDBCursorWithValue extends IDBCursor {
16969 16845
16970 final IDBAny value; 16846 final IDBAny value;
16971 } 16847 }
16972 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 16848 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16973 // for details. All rights reserved. Use of this source code is governed by a 16849 // for details. All rights reserved. Use of this source code is governed by a
16974 // BSD-style license that can be found in the LICENSE file. 16850 // BSD-style license that can be found in the LICENSE file.
16975 16851
16976 // WARNING: Do not edit - generated code. 16852 // WARNING: Do not edit - generated code.
16977 16853
16978 interface IDBDatabase { 16854 interface IDBDatabase extends EventTarget {
16979 16855
16980 final String name; 16856 final String name;
16981 16857
16982 final List<String> objectStoreNames; 16858 final List<String> objectStoreNames;
16983 16859
16984 EventListener onabort;
16985
16986 EventListener onerror;
16987
16988 EventListener onversionchange;
16989
16990 final String version; 16860 final String version;
16991 16861
16992 void addEventListener(String type, EventListener listener, [bool useCapture]); 16862 void addEventListener(String type, EventListener listener, [bool useCapture]);
16993 16863
16994 void close(); 16864 void close();
16995 16865
16996 IDBObjectStore createObjectStore(String name); 16866 IDBObjectStore createObjectStore(String name);
16997 16867
16998 void deleteObjectStore(String name); 16868 void deleteObjectStore(String name);
16999 16869
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
17158 IDBRequest openCursor([IDBKeyRange range, int direction]); 17028 IDBRequest openCursor([IDBKeyRange range, int direction]);
17159 17029
17160 IDBRequest put(Dynamic value, [IDBKey key]); 17030 IDBRequest put(Dynamic value, [IDBKey key]);
17161 } 17031 }
17162 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 17032 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17163 // for details. All rights reserved. Use of this source code is governed by a 17033 // for details. All rights reserved. Use of this source code is governed by a
17164 // BSD-style license that can be found in the LICENSE file. 17034 // BSD-style license that can be found in the LICENSE file.
17165 17035
17166 // WARNING: Do not edit - generated code. 17036 // WARNING: Do not edit - generated code.
17167 17037
17168 interface IDBRequest { 17038 interface IDBRequest extends EventTarget {
17169 17039
17170 static final int DONE = 2; 17040 static final int DONE = 2;
17171 17041
17172 static final int LOADING = 1; 17042 static final int LOADING = 1;
17173 17043
17174 final int errorCode; 17044 final int errorCode;
17175 17045
17176 EventListener onerror;
17177
17178 EventListener onsuccess;
17179
17180 final int readyState; 17046 final int readyState;
17181 17047
17182 final IDBAny result; 17048 final IDBAny result;
17183 17049
17184 final IDBAny source; 17050 final IDBAny source;
17185 17051
17186 final IDBTransaction transaction; 17052 final IDBTransaction transaction;
17187 17053
17188 final String webkitErrorMessage; 17054 final String webkitErrorMessage;
17189 17055
17190 void addEventListener(String type, EventListener listener, [bool useCapture]); 17056 void addEventListener(String type, EventListener listener, [bool useCapture]);
17191 17057
17192 bool dispatchEvent(Event evt); 17058 bool dispatchEvent(Event evt);
17193 17059
17194 void removeEventListener(String type, EventListener listener, [bool useCapture ]); 17060 void removeEventListener(String type, EventListener listener, [bool useCapture ]);
17195 } 17061 }
17196 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 17062 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17197 // for details. All rights reserved. Use of this source code is governed by a 17063 // for details. All rights reserved. Use of this source code is governed by a
17198 // BSD-style license that can be found in the LICENSE file. 17064 // BSD-style license that can be found in the LICENSE file.
17199 17065
17200 // WARNING: Do not edit - generated code. 17066 // WARNING: Do not edit - generated code.
17201 17067
17202 interface IDBTransaction { 17068 interface IDBTransaction extends EventTarget {
17203 17069
17204 static final int READ_ONLY = 0; 17070 static final int READ_ONLY = 0;
17205 17071
17206 static final int READ_WRITE = 1; 17072 static final int READ_WRITE = 1;
17207 17073
17208 static final int VERSION_CHANGE = 2; 17074 static final int VERSION_CHANGE = 2;
17209 17075
17210 final IDBDatabase db; 17076 final IDBDatabase db;
17211 17077
17212 final int mode; 17078 final int mode;
17213 17079
17214 EventListener onabort;
17215
17216 EventListener oncomplete;
17217
17218 EventListener onerror;
17219
17220 void abort(); 17080 void abort();
17221 17081
17222 void addEventListener(String type, EventListener listener, [bool useCapture]); 17082 void addEventListener(String type, EventListener listener, [bool useCapture]);
17223 17083
17224 bool dispatchEvent(Event evt); 17084 bool dispatchEvent(Event evt);
17225 17085
17226 IDBObjectStore objectStore(String name); 17086 IDBObjectStore objectStore(String name);
17227 17087
17228 void removeEventListener(String type, EventListener listener, [bool useCapture ]); 17088 void removeEventListener(String type, EventListener listener, [bool useCapture ]);
17229 } 17089 }
17230 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 17090 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17231 // for details. All rights reserved. Use of this source code is governed by a 17091 // for details. All rights reserved. Use of this source code is governed by a
17232 // BSD-style license that can be found in the LICENSE file. 17092 // BSD-style license that can be found in the LICENSE file.
17233 17093
17234 // WARNING: Do not edit - generated code. 17094 // WARNING: Do not edit - generated code.
17235 17095
17236 interface IDBVersionChangeEvent extends Event { 17096 interface IDBVersionChangeEvent extends Event {
17237 17097
17238 final String version; 17098 final String version;
17239 } 17099 }
17240 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 17100 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17241 // for details. All rights reserved. Use of this source code is governed by a 17101 // for details. All rights reserved. Use of this source code is governed by a
17242 // BSD-style license that can be found in the LICENSE file. 17102 // BSD-style license that can be found in the LICENSE file.
17243 17103
17244 // WARNING: Do not edit - generated code. 17104 // WARNING: Do not edit - generated code.
17245 17105
17246 interface IDBVersionChangeRequest extends IDBRequest { 17106 interface IDBVersionChangeRequest extends IDBRequest, EventTarget {
17247
17248 EventListener onblocked;
17249 } 17107 }
17250 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 17108 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
17251 // for details. All rights reserved. Use of this source code is governed by a 17109 // for details. All rights reserved. Use of this source code is governed by a
17252 // BSD-style license that can be found in the LICENSE file. 17110 // BSD-style license that can be found in the LICENSE file.
17253 17111
17254 // WARNING: Do not edit - generated code. 17112 // WARNING: Do not edit - generated code.
17255 17113
17256 typedef bool IceCallback(IceCandidate candidate, bool moreToFollow, PeerConnecti on00 source); 17114 typedef bool IceCallback(IceCandidate candidate, bool moreToFollow, PeerConnecti on00 source);
17257 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 17115 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17258 // for details. All rights reserved. Use of this source code is governed by a 17116 // 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
17347 void setElements(Object array, [int offset]); 17205 void setElements(Object array, [int offset]);
17348 17206
17349 Int8Array subarray(int start, [int end]); 17207 Int8Array subarray(int start, [int end]);
17350 } 17208 }
17351 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 17209 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17352 // for details. All rights reserved. Use of this source code is governed by a 17210 // for details. All rights reserved. Use of this source code is governed by a
17353 // BSD-style license that can be found in the LICENSE file. 17211 // BSD-style license that can be found in the LICENSE file.
17354 17212
17355 // WARNING: Do not edit - generated code. 17213 // WARNING: Do not edit - generated code.
17356 17214
17357 interface JavaScriptAudioNode extends AudioNode { 17215 interface JavaScriptAudioNode extends AudioNode, EventTarget {
17358 17216
17359 final int bufferSize; 17217 final int bufferSize;
17360
17361 EventListener onaudioprocess;
17362 } 17218 }
17363 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 17219 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17364 // for details. All rights reserved. Use of this source code is governed by a 17220 // for details. All rights reserved. Use of this source code is governed by a
17365 // BSD-style license that can be found in the LICENSE file. 17221 // BSD-style license that can be found in the LICENSE file.
17366 17222
17367 // WARNING: Do not edit - generated code. 17223 // WARNING: Do not edit - generated code.
17368 17224
17369 interface JavaScriptCallFrame { 17225 interface JavaScriptCallFrame {
17370 17226
17371 static final int CATCH_SCOPE = 4; 17227 static final int CATCH_SCOPE = 4;
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
17421 final bool shiftKey; 17277 final bool shiftKey;
17422 17278
17423 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); 17279 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);
17424 } 17280 }
17425 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 17281 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17426 // for details. All rights reserved. Use of this source code is governed by a 17282 // for details. All rights reserved. Use of this source code is governed by a
17427 // BSD-style license that can be found in the LICENSE file. 17283 // BSD-style license that can be found in the LICENSE file.
17428 17284
17429 // WARNING: Do not edit - generated code. 17285 // WARNING: Do not edit - generated code.
17430 17286
17431 interface LocalMediaStream extends MediaStream { 17287 interface LocalMediaStream extends MediaStream, EventTarget {
17432 17288
17433 void stop(); 17289 void stop();
17434 } 17290 }
17435 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 17291 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17436 // for details. All rights reserved. Use of this source code is governed by a 17292 // for details. All rights reserved. Use of this source code is governed by a
17437 // BSD-style license that can be found in the LICENSE file. 17293 // BSD-style license that can be found in the LICENSE file.
17438 17294
17439 // WARNING: Do not edit - generated code. 17295 // WARNING: Do not edit - generated code.
17440 17296
17441 interface Location { 17297 interface Location {
(...skipping 23 matching lines...) Expand all
17465 void replace(String url); 17321 void replace(String url);
17466 17322
17467 String toString(); 17323 String toString();
17468 } 17324 }
17469 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 17325 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17470 // for details. All rights reserved. Use of this source code is governed by a 17326 // for details. All rights reserved. Use of this source code is governed by a
17471 // BSD-style license that can be found in the LICENSE file. 17327 // BSD-style license that can be found in the LICENSE file.
17472 17328
17473 // WARNING: Do not edit - generated code. 17329 // WARNING: Do not edit - generated code.
17474 17330
17475 interface MediaController default _MediaControllerFactoryProvider { 17331 interface MediaController extends EventTarget default _MediaControllerFactoryPro vider {
17476 17332
17477 MediaController(); 17333 MediaController();
17478 17334
17479 final TimeRanges buffered; 17335 final TimeRanges buffered;
17480 17336
17481 num currentTime; 17337 num currentTime;
17482 17338
17483 num defaultPlaybackRate; 17339 num defaultPlaybackRate;
17484 17340
17485 final num duration; 17341 final num duration;
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
17577 interface MediaQueryListListener { 17433 interface MediaQueryListListener {
17578 17434
17579 void queryChanged(MediaQueryList list); 17435 void queryChanged(MediaQueryList list);
17580 } 17436 }
17581 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 17437 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17582 // for details. All rights reserved. Use of this source code is governed by a 17438 // for details. All rights reserved. Use of this source code is governed by a
17583 // BSD-style license that can be found in the LICENSE file. 17439 // BSD-style license that can be found in the LICENSE file.
17584 17440
17585 // WARNING: Do not edit - generated code. 17441 // WARNING: Do not edit - generated code.
17586 17442
17587 interface MediaStream default _MediaStreamFactoryProvider { 17443 interface MediaStream extends EventTarget default _MediaStreamFactoryProvider {
17588 17444
17589 MediaStream(MediaStreamTrackList audioTracks, MediaStreamTrackList videoTracks ); 17445 MediaStream(MediaStreamTrackList audioTracks, MediaStreamTrackList videoTracks );
17590 17446
17591 static final int ENDED = 2; 17447 static final int ENDED = 2;
17592 17448
17593 static final int LIVE = 1; 17449 static final int LIVE = 1;
17594 17450
17595 final MediaStreamTrackList audioTracks; 17451 final MediaStreamTrackList audioTracks;
17596 17452
17597 final String label; 17453 final String label;
17598 17454
17599 EventListener onended;
17600
17601 final int readyState; 17455 final int readyState;
17602 17456
17603 final MediaStreamTrackList videoTracks; 17457 final MediaStreamTrackList videoTracks;
17604 17458
17605 void addEventListener(String type, EventListener listener, [bool useCapture]); 17459 void addEventListener(String type, EventListener listener, [bool useCapture]);
17606 17460
17607 bool dispatchEvent(Event event); 17461 bool dispatchEvent(Event event);
17608 17462
17609 void removeEventListener(String type, EventListener listener, [bool useCapture ]); 17463 void removeEventListener(String type, EventListener listener, [bool useCapture ]);
17610 } 17464 }
(...skipping 713 matching lines...) Expand 10 before | Expand all | Expand 10 after
18324 interface PageTransitionEvent extends Event { 18178 interface PageTransitionEvent extends Event {
18325 18179
18326 final bool persisted; 18180 final bool persisted;
18327 } 18181 }
18328 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 18182 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
18329 // for details. All rights reserved. Use of this source code is governed by a 18183 // for details. All rights reserved. Use of this source code is governed by a
18330 // BSD-style license that can be found in the LICENSE file. 18184 // BSD-style license that can be found in the LICENSE file.
18331 18185
18332 // WARNING: Do not edit - generated code. 18186 // WARNING: Do not edit - generated code.
18333 18187
18334 interface PeerConnection00 default _PeerConnection00FactoryProvider { 18188 interface PeerConnection00 extends EventTarget default _PeerConnection00FactoryP rovider {
18335 18189
18336 PeerConnection00(String serverConfiguration, IceCallback iceCallback); 18190 PeerConnection00(String serverConfiguration, IceCallback iceCallback);
18337 18191
18338 static final int ACTIVE = 2; 18192 static final int ACTIVE = 2;
18339 18193
18340 static final int CLOSED = 3; 18194 static final int CLOSED = 3;
18341 18195
18342 static final int ICE_CHECKING = 0x300; 18196 static final int ICE_CHECKING = 0x300;
18343 18197
18344 static final int ICE_CLOSED = 0x700; 18198 static final int ICE_CLOSED = 0x700;
(...skipping 17 matching lines...) Expand all
18362 static final int SDP_OFFER = 0x100; 18216 static final int SDP_OFFER = 0x100;
18363 18217
18364 static final int SDP_PRANSWER = 0x200; 18218 static final int SDP_PRANSWER = 0x200;
18365 18219
18366 final int iceState; 18220 final int iceState;
18367 18221
18368 final SessionDescription localDescription; 18222 final SessionDescription localDescription;
18369 18223
18370 final MediaStreamList localStreams; 18224 final MediaStreamList localStreams;
18371 18225
18372 EventListener onaddstream;
18373
18374 EventListener onconnecting;
18375
18376 EventListener onopen;
18377
18378 EventListener onremovestream;
18379
18380 EventListener onstatechange;
18381
18382 final int readyState; 18226 final int readyState;
18383 18227
18384 final SessionDescription remoteDescription; 18228 final SessionDescription remoteDescription;
18385 18229
18386 final MediaStreamList remoteStreams; 18230 final MediaStreamList remoteStreams;
18387 18231
18388 void addEventListener(String type, EventListener listener, [bool useCapture]); 18232 void addEventListener(String type, EventListener listener, [bool useCapture]);
18389 18233
18390 void addStream(MediaStream stream, [String mediaStreamHints]); 18234 void addStream(MediaStream stream, [String mediaStreamHints]);
18391 18235
(...skipping 870 matching lines...) Expand 10 before | Expand all | Expand 10 after
19262 final SVGElement viewportElement; 19106 final SVGElement viewportElement;
19263 19107
19264 String xmlbase; 19108 String xmlbase;
19265 } 19109 }
19266 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 19110 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
19267 // for details. All rights reserved. Use of this source code is governed by a 19111 // for details. All rights reserved. Use of this source code is governed by a
19268 // BSD-style license that can be found in the LICENSE file. 19112 // BSD-style license that can be found in the LICENSE file.
19269 19113
19270 // WARNING: Do not edit - generated code. 19114 // WARNING: Do not edit - generated code.
19271 19115
19272 interface SVGElementInstance extends EventTarget { 19116 interface SVGElementInstance {
19273 19117
19274 final SVGElementInstanceList childNodes; 19118 final SVGElementInstanceList childNodes;
19275 19119
19276 final SVGElement correspondingElement; 19120 final SVGElement correspondingElement;
19277 19121
19278 final SVGUseElement correspondingUseElement; 19122 final SVGUseElement correspondingUseElement;
19279 19123
19280 final SVGElementInstance firstChild; 19124 final SVGElementInstance firstChild;
19281 19125
19282 final SVGElementInstance lastChild; 19126 final SVGElementInstance lastChild;
(...skipping 2252 matching lines...) Expand 10 before | Expand all | Expand 10 after
21535 } 21379 }
21536 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 21380 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
21537 // for details. All rights reserved. Use of this source code is governed by a 21381 // for details. All rights reserved. Use of this source code is governed by a
21538 // BSD-style license that can be found in the LICENSE file. 21382 // BSD-style license that can be found in the LICENSE file.
21539 21383
21540 // WARNING: Do not edit - generated code. 21384 // WARNING: Do not edit - generated code.
21541 21385
21542 interface SharedWorkerGlobalScope extends WorkerContext { 21386 interface SharedWorkerGlobalScope extends WorkerContext {
21543 21387
21544 final String name; 21388 final String name;
21545
21546 EventListener onconnect;
21547 } 21389 }
21548 21390
21549 interface SharedWorkerContext extends SharedWorkerGlobalScope { 21391 interface SharedWorkerContext extends SharedWorkerGlobalScope {
21550 } 21392 }
21551 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 21393 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
21552 // for details. All rights reserved. Use of this source code is governed by a 21394 // for details. All rights reserved. Use of this source code is governed by a
21553 // BSD-style license that can be found in the LICENSE file. 21395 // BSD-style license that can be found in the LICENSE file.
21554 21396
21555 // WARNING: Do not edit - generated code. 21397 // WARNING: Do not edit - generated code.
21556 21398
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
21620 final int length; 21462 final int length;
21621 21463
21622 SpeechInputResult item(int index); 21464 SpeechInputResult item(int index);
21623 } 21465 }
21624 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 21466 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
21625 // for details. All rights reserved. Use of this source code is governed by a 21467 // for details. All rights reserved. Use of this source code is governed by a
21626 // BSD-style license that can be found in the LICENSE file. 21468 // BSD-style license that can be found in the LICENSE file.
21627 21469
21628 // WARNING: Do not edit - generated code. 21470 // WARNING: Do not edit - generated code.
21629 21471
21630 interface SpeechRecognition default _SpeechRecognitionFactoryProvider { 21472 interface SpeechRecognition extends EventTarget default _SpeechRecognitionFactor yProvider {
21631 21473
21632 SpeechRecognition(); 21474 SpeechRecognition();
21633 21475
21634 bool continuous; 21476 bool continuous;
21635 21477
21636 SpeechGrammarList grammars; 21478 SpeechGrammarList grammars;
21637 21479
21638 String lang; 21480 String lang;
21639 21481
21640 EventListener onaudioend;
21641
21642 EventListener onaudiostart;
21643
21644 EventListener onend;
21645
21646 EventListener onerror;
21647
21648 EventListener onnomatch;
21649
21650 EventListener onresult;
21651
21652 EventListener onresultdeleted;
21653
21654 EventListener onsoundend;
21655
21656 EventListener onsoundstart;
21657
21658 EventListener onspeechend;
21659
21660 EventListener onspeechstart;
21661
21662 EventListener onstart;
21663
21664 void abort(); 21482 void abort();
21665 21483
21666 void start(); 21484 void start();
21667 21485
21668 void stop(); 21486 void stop();
21669 } 21487 }
21670 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 21488 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
21671 // for details. All rights reserved. Use of this source code is governed by a 21489 // for details. All rights reserved. Use of this source code is governed by a
21672 // BSD-style license that can be found in the LICENSE file. 21490 // BSD-style license that can be found in the LICENSE file.
21673 21491
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
21916 interface TextMetrics { 21734 interface TextMetrics {
21917 21735
21918 final num width; 21736 final num width;
21919 } 21737 }
21920 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 21738 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
21921 // for details. All rights reserved. Use of this source code is governed by a 21739 // for details. All rights reserved. Use of this source code is governed by a
21922 // BSD-style license that can be found in the LICENSE file. 21740 // BSD-style license that can be found in the LICENSE file.
21923 21741
21924 // WARNING: Do not edit - generated code. 21742 // WARNING: Do not edit - generated code.
21925 21743
21926 interface TextTrack { 21744 interface TextTrack extends EventTarget {
21927 21745
21928 static final int DISABLED = 0; 21746 static final int DISABLED = 0;
21929 21747
21930 static final int HIDDEN = 1; 21748 static final int HIDDEN = 1;
21931 21749
21932 static final int SHOWING = 2; 21750 static final int SHOWING = 2;
21933 21751
21934 final TextTrackCueList activeCues; 21752 final TextTrackCueList activeCues;
21935 21753
21936 final TextTrackCueList cues; 21754 final TextTrackCueList cues;
21937 21755
21938 final String kind; 21756 final String kind;
21939 21757
21940 final String label; 21758 final String label;
21941 21759
21942 final String language; 21760 final String language;
21943 21761
21944 int mode; 21762 int mode;
21945 21763
21946 EventListener oncuechange;
21947
21948 void addCue(TextTrackCue cue); 21764 void addCue(TextTrackCue cue);
21949 21765
21950 void addEventListener(String type, EventListener listener, [bool useCapture]); 21766 void addEventListener(String type, EventListener listener, [bool useCapture]);
21951 21767
21952 bool dispatchEvent(Event evt); 21768 bool dispatchEvent(Event evt);
21953 21769
21954 void removeCue(TextTrackCue cue); 21770 void removeCue(TextTrackCue cue);
21955 21771
21956 void removeEventListener(String type, EventListener listener, [bool useCapture ]); 21772 void removeEventListener(String type, EventListener listener, [bool useCapture ]);
21957 } 21773 }
21958 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 21774 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
21959 // for details. All rights reserved. Use of this source code is governed by a 21775 // for details. All rights reserved. Use of this source code is governed by a
21960 // BSD-style license that can be found in the LICENSE file. 21776 // BSD-style license that can be found in the LICENSE file.
21961 21777
21962 // WARNING: Do not edit - generated code. 21778 // WARNING: Do not edit - generated code.
21963 21779
21964 interface TextTrackCue default _TextTrackCueFactoryProvider { 21780 interface TextTrackCue extends EventTarget default _TextTrackCueFactoryProvider {
21965 21781
21966 TextTrackCue(String id, num startTime, num endTime, String text, [String setti ngs, bool pauseOnExit]); 21782 TextTrackCue(String id, num startTime, num endTime, String text, [String setti ngs, bool pauseOnExit]);
21967 21783
21968 String align; 21784 String align;
21969 21785
21970 num endTime; 21786 num endTime;
21971 21787
21972 String id; 21788 String id;
21973 21789
21974 int line; 21790 int line;
21975 21791
21976 EventListener onenter;
21977
21978 EventListener onexit;
21979
21980 bool pauseOnExit; 21792 bool pauseOnExit;
21981 21793
21982 int position; 21794 int position;
21983 21795
21984 int size; 21796 int size;
21985 21797
21986 bool snapToLines; 21798 bool snapToLines;
21987 21799
21988 num startTime; 21800 num startTime;
21989 21801
(...skipping 24 matching lines...) Expand all
22014 TextTrackCue getCueById(String id); 21826 TextTrackCue getCueById(String id);
22015 21827
22016 TextTrackCue item(int index); 21828 TextTrackCue item(int index);
22017 } 21829 }
22018 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 21830 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
22019 // for details. All rights reserved. Use of this source code is governed by a 21831 // for details. All rights reserved. Use of this source code is governed by a
22020 // BSD-style license that can be found in the LICENSE file. 21832 // BSD-style license that can be found in the LICENSE file.
22021 21833
22022 // WARNING: Do not edit - generated code. 21834 // WARNING: Do not edit - generated code.
22023 21835
22024 interface TextTrackList { 21836 interface TextTrackList extends EventTarget {
22025 21837
22026 final int length; 21838 final int length;
22027 21839
22028 EventListener onaddtrack;
22029
22030 void addEventListener(String type, EventListener listener, [bool useCapture]); 21840 void addEventListener(String type, EventListener listener, [bool useCapture]);
22031 21841
22032 bool dispatchEvent(Event evt); 21842 bool dispatchEvent(Event evt);
22033 21843
22034 TextTrack item(int index); 21844 TextTrack item(int index);
22035 21845
22036 void removeEventListener(String type, EventListener listener, [bool useCapture ]); 21846 void removeEventListener(String type, EventListener listener, [bool useCapture ]);
22037 } 21847 }
22038 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 21848 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
22039 // for details. All rights reserved. Use of this source code is governed by a 21849 // for details. All rights reserved. Use of this source code is governed by a
(...skipping 1734 matching lines...) Expand 10 before | Expand all | Expand 10 after
23774 void terminate(); 23584 void terminate();
23775 23585
23776 void webkitPostMessage(Dynamic message, [List messagePorts]); 23586 void webkitPostMessage(Dynamic message, [List messagePorts]);
23777 } 23587 }
23778 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 23588 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
23779 // for details. All rights reserved. Use of this source code is governed by a 23589 // for details. All rights reserved. Use of this source code is governed by a
23780 // BSD-style license that can be found in the LICENSE file. 23590 // BSD-style license that can be found in the LICENSE file.
23781 23591
23782 // WARNING: Do not edit - generated code. 23592 // WARNING: Do not edit - generated code.
23783 23593
23784 interface WorkerGlobalScope { 23594 interface WorkerGlobalScope extends EventTarget {
23785 23595
23786 final WorkerLocation location; 23596 final WorkerLocation location;
23787 23597
23788 final WorkerNavigator navigator; 23598 final WorkerNavigator navigator;
23789 23599
23790 EventListener onerror;
23791
23792 final WorkerContext self; 23600 final WorkerContext self;
23793 23601
23794 final IDBFactory webkitIndexedDB; 23602 final IDBFactory webkitIndexedDB;
23795 23603
23796 final NotificationCenter webkitNotifications; 23604 final NotificationCenter webkitNotifications;
23797 23605
23798 void addEventListener(String type, EventListener listener, [bool useCapture]); 23606 void addEventListener(String type, EventListener listener, [bool useCapture]);
23799 23607
23800 void clearInterval(int handle); 23608 void clearInterval(int handle);
23801 23609
(...skipping 1240 matching lines...) Expand 10 before | Expand all | Expand 10 after
25042 if (length < 0) throw new IllegalArgumentException('length'); 24850 if (length < 0) throw new IllegalArgumentException('length');
25043 if (start < 0) throw new IndexOutOfRangeException(start); 24851 if (start < 0) throw new IndexOutOfRangeException(start);
25044 int end = start + length; 24852 int end = start + length;
25045 if (end > a.length) throw new IndexOutOfRangeException(end); 24853 if (end > a.length) throw new IndexOutOfRangeException(end);
25046 for (int i = start; i < end; i++) { 24854 for (int i = start; i < end; i++) {
25047 accumulator.add(a[i]); 24855 accumulator.add(a[i]);
25048 } 24856 }
25049 return accumulator; 24857 return accumulator;
25050 } 24858 }
25051 } 24859 }
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