| OLD | NEW |
| 1 #library('html'); | 1 #library('html'); |
| 2 | 2 |
| 3 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 3 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 4 // for details. All rights reserved. Use of this source code is governed by a | 4 // for details. All rights reserved. Use of this source code is governed by a |
| 5 // BSD-style license that can be found in the LICENSE file. | 5 // BSD-style license that can be found in the LICENSE file. |
| 6 | 6 |
| 7 // DO NOT EDIT | 7 // DO NOT EDIT |
| 8 // Auto-generated dart:html library. | 8 // Auto-generated dart:html library. |
| 9 | 9 |
| 10 | 10 |
| (...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 266 | 266 |
| 267 void noteOn(num when) native; | 267 void noteOn(num when) native; |
| 268 } | 268 } |
| 269 | 269 |
| 270 class _AudioChannelMergerImpl extends _AudioNodeImpl implements AudioChannelMerg
er native "*AudioChannelMerger" { | 270 class _AudioChannelMergerImpl extends _AudioNodeImpl implements AudioChannelMerg
er native "*AudioChannelMerger" { |
| 271 } | 271 } |
| 272 | 272 |
| 273 class _AudioChannelSplitterImpl extends _AudioNodeImpl implements AudioChannelSp
litter native "*AudioChannelSplitter" { | 273 class _AudioChannelSplitterImpl extends _AudioNodeImpl implements AudioChannelSp
litter native "*AudioChannelSplitter" { |
| 274 } | 274 } |
| 275 | 275 |
| 276 class _AudioContextImpl implements AudioContext native "*AudioContext" { | 276 class _AudioContextImpl extends _EventTargetImpl implements AudioContext native
"*AudioContext" { |
| 277 |
| 278 _AudioContextEventsImpl get on() => |
| 279 new _AudioContextEventsImpl(this); |
| 277 | 280 |
| 278 final int activeSourceCount; | 281 final int activeSourceCount; |
| 279 | 282 |
| 280 final num currentTime; | 283 final num currentTime; |
| 281 | 284 |
| 282 final _AudioDestinationNodeImpl destination; | 285 final _AudioDestinationNodeImpl destination; |
| 283 | 286 |
| 284 final _AudioListenerImpl listener; | 287 final _AudioListenerImpl listener; |
| 285 | 288 |
| 286 EventListener oncomplete; | |
| 287 | |
| 288 final num sampleRate; | 289 final num sampleRate; |
| 289 | 290 |
| 290 _RealtimeAnalyserNodeImpl createAnalyser() native; | 291 _RealtimeAnalyserNodeImpl createAnalyser() native; |
| 291 | 292 |
| 292 _BiquadFilterNodeImpl createBiquadFilter() native; | 293 _BiquadFilterNodeImpl createBiquadFilter() native; |
| 293 | 294 |
| 294 _AudioBufferImpl createBuffer(var buffer_OR_numberOfChannels, var mixToMono_OR
_numberOfFrames, [num sampleRate = null]) native; | 295 _AudioBufferImpl createBuffer(var buffer_OR_numberOfChannels, var mixToMono_OR
_numberOfFrames, [num sampleRate = null]) native; |
| 295 | 296 |
| 296 _AudioBufferSourceNodeImpl createBufferSource() native; | 297 _AudioBufferSourceNodeImpl createBufferSource() native; |
| 297 | 298 |
| (...skipping 19 matching lines...) Expand all Loading... |
| 317 | 318 |
| 318 _WaveShaperNodeImpl createWaveShaper() native; | 319 _WaveShaperNodeImpl createWaveShaper() native; |
| 319 | 320 |
| 320 _WaveTableImpl createWaveTable(_Float32ArrayImpl real, _Float32ArrayImpl imag)
native; | 321 _WaveTableImpl createWaveTable(_Float32ArrayImpl real, _Float32ArrayImpl imag)
native; |
| 321 | 322 |
| 322 void decodeAudioData(_ArrayBufferImpl audioData, AudioBufferCallback successCa
llback, [AudioBufferCallback errorCallback = null]) native; | 323 void decodeAudioData(_ArrayBufferImpl audioData, AudioBufferCallback successCa
llback, [AudioBufferCallback errorCallback = null]) native; |
| 323 | 324 |
| 324 void startRendering() native; | 325 void startRendering() native; |
| 325 } | 326 } |
| 326 | 327 |
| 328 class _AudioContextEventsImpl extends _EventsImpl implements AudioContextEvents
{ |
| 329 _AudioContextEventsImpl(_ptr) : super(_ptr); |
| 330 |
| 331 EventListenerList get complete() => _get('complete'); |
| 332 } |
| 333 |
| 327 class _AudioDestinationNodeImpl extends _AudioNodeImpl implements AudioDestinati
onNode native "*AudioDestinationNode" { | 334 class _AudioDestinationNodeImpl extends _AudioNodeImpl implements AudioDestinati
onNode native "*AudioDestinationNode" { |
| 328 | 335 |
| 329 final int numberOfChannels; | 336 final int numberOfChannels; |
| 330 } | 337 } |
| 331 | 338 |
| 332 class _AudioElementImpl extends _MediaElementImpl implements AudioElement native
"*HTMLAudioElement" { | 339 class _AudioElementImpl extends _MediaElementImpl implements AudioElement native
"*HTMLAudioElement" { |
| 333 } | 340 } |
| 334 | 341 |
| 335 class _AudioGainImpl extends _AudioParamImpl implements AudioGain native "*Audio
Gain" { | 342 class _AudioGainImpl extends _AudioParamImpl implements AudioGain native "*Audio
Gain" { |
| 336 } | 343 } |
| (...skipping 4188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4525 | 4532 |
| 4526 void changeVersion(String oldVersion, String newVersion, [SQLTransactionSyncCa
llback callback = null]) native; | 4533 void changeVersion(String oldVersion, String newVersion, [SQLTransactionSyncCa
llback callback = null]) native; |
| 4527 | 4534 |
| 4528 void readTransaction(SQLTransactionSyncCallback callback) native; | 4535 void readTransaction(SQLTransactionSyncCallback callback) native; |
| 4529 | 4536 |
| 4530 void transaction(SQLTransactionSyncCallback callback) native; | 4537 void transaction(SQLTransactionSyncCallback callback) native; |
| 4531 } | 4538 } |
| 4532 | 4539 |
| 4533 class _DedicatedWorkerContextImpl extends _WorkerContextImpl implements Dedicate
dWorkerContext native "*DedicatedWorkerContext" { | 4540 class _DedicatedWorkerContextImpl extends _WorkerContextImpl implements Dedicate
dWorkerContext native "*DedicatedWorkerContext" { |
| 4534 | 4541 |
| 4535 EventListener onmessage; | 4542 _DedicatedWorkerContextEventsImpl get on() => |
| 4543 new _DedicatedWorkerContextEventsImpl(this); |
| 4536 | 4544 |
| 4537 void postMessage(Object message, [List messagePorts = null]) native; | 4545 void postMessage(Object message, [List messagePorts = null]) native; |
| 4538 | 4546 |
| 4539 void webkitPostMessage(Object message, [List transferList = null]) native; | 4547 void webkitPostMessage(Object message, [List transferList = null]) native; |
| 4540 } | 4548 } |
| 4541 | 4549 |
| 4550 class _DedicatedWorkerContextEventsImpl extends _WorkerContextEventsImpl impleme
nts DedicatedWorkerContextEvents { |
| 4551 _DedicatedWorkerContextEventsImpl(_ptr) : super(_ptr); |
| 4552 |
| 4553 EventListenerList get message() => _get('message'); |
| 4554 } |
| 4555 |
| 4542 class _DelayNodeImpl extends _AudioNodeImpl implements DelayNode native "*DelayN
ode" { | 4556 class _DelayNodeImpl extends _AudioNodeImpl implements DelayNode native "*DelayN
ode" { |
| 4543 | 4557 |
| 4544 final _AudioParamImpl delayTime; | 4558 final _AudioParamImpl delayTime; |
| 4545 } | 4559 } |
| 4546 | 4560 |
| 4547 class _DeprecatedPeerConnectionImpl implements DeprecatedPeerConnection native "
*DeprecatedPeerConnection" { | 4561 class _DeprecatedPeerConnectionImpl extends _EventTargetImpl implements Deprecat
edPeerConnection native "*DeprecatedPeerConnection" { |
| 4562 |
| 4563 _DeprecatedPeerConnectionEventsImpl get on() => |
| 4564 new _DeprecatedPeerConnectionEventsImpl(this); |
| 4548 | 4565 |
| 4549 static final int ACTIVE = 2; | 4566 static final int ACTIVE = 2; |
| 4550 | 4567 |
| 4551 static final int CLOSED = 3; | 4568 static final int CLOSED = 3; |
| 4552 | 4569 |
| 4553 static final int NEGOTIATING = 1; | 4570 static final int NEGOTIATING = 1; |
| 4554 | 4571 |
| 4555 static final int NEW = 0; | 4572 static final int NEW = 0; |
| 4556 | 4573 |
| 4557 final _MediaStreamListImpl localStreams; | 4574 final _MediaStreamListImpl localStreams; |
| 4558 | 4575 |
| 4559 EventListener onaddstream; | |
| 4560 | |
| 4561 EventListener onconnecting; | |
| 4562 | |
| 4563 EventListener onmessage; | |
| 4564 | |
| 4565 EventListener onopen; | |
| 4566 | |
| 4567 EventListener onremovestream; | |
| 4568 | |
| 4569 EventListener onstatechange; | |
| 4570 | |
| 4571 final int readyState; | 4576 final int readyState; |
| 4572 | 4577 |
| 4573 final _MediaStreamListImpl remoteStreams; | 4578 final _MediaStreamListImpl remoteStreams; |
| 4574 | 4579 |
| 4575 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; | 4580 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re = null]) native "addEventListener"; |
| 4576 | 4581 |
| 4577 void addStream(_MediaStreamImpl stream) native; | 4582 void addStream(_MediaStreamImpl stream) native; |
| 4578 | 4583 |
| 4579 void close() native; | 4584 void close() native; |
| 4580 | 4585 |
| 4581 bool dispatchEvent(_EventImpl event) native; | 4586 bool $dom_dispatchEvent(_EventImpl event) native "dispatchEvent"; |
| 4582 | 4587 |
| 4583 void processSignalingMessage(String message) native; | 4588 void processSignalingMessage(String message) native; |
| 4584 | 4589 |
| 4585 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | 4590 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture = null]) native "removeEventListener"; |
| 4586 | 4591 |
| 4587 void removeStream(_MediaStreamImpl stream) native; | 4592 void removeStream(_MediaStreamImpl stream) native; |
| 4588 | 4593 |
| 4589 void send(String text) native; | 4594 void send(String text) native; |
| 4590 } | 4595 } |
| 4591 | 4596 |
| 4597 class _DeprecatedPeerConnectionEventsImpl extends _EventsImpl implements Depreca
tedPeerConnectionEvents { |
| 4598 _DeprecatedPeerConnectionEventsImpl(_ptr) : super(_ptr); |
| 4599 |
| 4600 EventListenerList get addStream() => _get('addstream'); |
| 4601 |
| 4602 EventListenerList get connecting() => _get('connecting'); |
| 4603 |
| 4604 EventListenerList get message() => _get('message'); |
| 4605 |
| 4606 EventListenerList get open() => _get('open'); |
| 4607 |
| 4608 EventListenerList get removeStream() => _get('removestream'); |
| 4609 |
| 4610 EventListenerList get stateChange() => _get('statechange'); |
| 4611 } |
| 4612 |
| 4592 class _DetailsElementImpl extends _ElementImpl implements DetailsElement native
"*HTMLDetailsElement" { | 4613 class _DetailsElementImpl extends _ElementImpl implements DetailsElement native
"*HTMLDetailsElement" { |
| 4593 | 4614 |
| 4594 bool open; | 4615 bool open; |
| 4595 } | 4616 } |
| 4596 | 4617 |
| 4597 class _DeviceMotionEventImpl extends _EventImpl implements DeviceMotionEvent nat
ive "*DeviceMotionEvent" { | 4618 class _DeviceMotionEventImpl extends _EventImpl implements DeviceMotionEvent nat
ive "*DeviceMotionEvent" { |
| 4598 | 4619 |
| 4599 final num interval; | 4620 final num interval; |
| 4600 } | 4621 } |
| 4601 | 4622 |
| (...skipping 2115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6717 String toString() native; | 6738 String toString() native; |
| 6718 } | 6739 } |
| 6719 | 6740 |
| 6720 class _FileListImpl implements FileList native "*FileList" { | 6741 class _FileListImpl implements FileList native "*FileList" { |
| 6721 | 6742 |
| 6722 final int length; | 6743 final int length; |
| 6723 | 6744 |
| 6724 _FileImpl item(int index) native; | 6745 _FileImpl item(int index) native; |
| 6725 } | 6746 } |
| 6726 | 6747 |
| 6727 class _FileReaderImpl implements FileReader native "*FileReader" { | 6748 class _FileReaderImpl extends _EventTargetImpl implements FileReader native "*Fi
leReader" { |
| 6749 |
| 6750 _FileReaderEventsImpl get on() => |
| 6751 new _FileReaderEventsImpl(this); |
| 6728 | 6752 |
| 6729 static final int DONE = 2; | 6753 static final int DONE = 2; |
| 6730 | 6754 |
| 6731 static final int EMPTY = 0; | 6755 static final int EMPTY = 0; |
| 6732 | 6756 |
| 6733 static final int LOADING = 1; | 6757 static final int LOADING = 1; |
| 6734 | 6758 |
| 6735 final _FileErrorImpl error; | 6759 final _FileErrorImpl error; |
| 6736 | 6760 |
| 6737 EventListener onabort; | |
| 6738 | |
| 6739 EventListener onerror; | |
| 6740 | |
| 6741 EventListener onload; | |
| 6742 | |
| 6743 EventListener onloadend; | |
| 6744 | |
| 6745 EventListener onloadstart; | |
| 6746 | |
| 6747 EventListener onprogress; | |
| 6748 | |
| 6749 final int readyState; | 6761 final int readyState; |
| 6750 | 6762 |
| 6751 final Object result; | 6763 final Object result; |
| 6752 | 6764 |
| 6753 void abort() native; | 6765 void abort() native; |
| 6754 | 6766 |
| 6755 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; | 6767 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re = null]) native "addEventListener"; |
| 6756 | 6768 |
| 6757 bool dispatchEvent(_EventImpl evt) native; | 6769 bool $dom_dispatchEvent(_EventImpl evt) native "dispatchEvent"; |
| 6758 | 6770 |
| 6759 void readAsArrayBuffer(_BlobImpl blob) native; | 6771 void readAsArrayBuffer(_BlobImpl blob) native; |
| 6760 | 6772 |
| 6761 void readAsBinaryString(_BlobImpl blob) native; | 6773 void readAsBinaryString(_BlobImpl blob) native; |
| 6762 | 6774 |
| 6763 void readAsDataURL(_BlobImpl blob) native; | 6775 void readAsDataURL(_BlobImpl blob) native; |
| 6764 | 6776 |
| 6765 void readAsText(_BlobImpl blob, [String encoding = null]) native; | 6777 void readAsText(_BlobImpl blob, [String encoding = null]) native; |
| 6766 | 6778 |
| 6767 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | 6779 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture = null]) native "removeEventListener"; |
| 6780 } |
| 6781 |
| 6782 class _FileReaderEventsImpl extends _EventsImpl implements FileReaderEvents { |
| 6783 _FileReaderEventsImpl(_ptr) : super(_ptr); |
| 6784 |
| 6785 EventListenerList get abort() => _get('abort'); |
| 6786 |
| 6787 EventListenerList get error() => _get('error'); |
| 6788 |
| 6789 EventListenerList get load() => _get('load'); |
| 6790 |
| 6791 EventListenerList get loadEnd() => _get('loadend'); |
| 6792 |
| 6793 EventListenerList get loadStart() => _get('loadstart'); |
| 6794 |
| 6795 EventListenerList get progress() => _get('progress'); |
| 6768 } | 6796 } |
| 6769 | 6797 |
| 6770 class _FileReaderSyncImpl implements FileReaderSync native "*FileReaderSync" { | 6798 class _FileReaderSyncImpl implements FileReaderSync native "*FileReaderSync" { |
| 6771 | 6799 |
| 6772 _ArrayBufferImpl readAsArrayBuffer(_BlobImpl blob) native; | 6800 _ArrayBufferImpl readAsArrayBuffer(_BlobImpl blob) native; |
| 6773 | 6801 |
| 6774 String readAsBinaryString(_BlobImpl blob) native; | 6802 String readAsBinaryString(_BlobImpl blob) native; |
| 6775 | 6803 |
| 6776 String readAsDataURL(_BlobImpl blob) native; | 6804 String readAsDataURL(_BlobImpl blob) native; |
| 6777 | 6805 |
| 6778 String readAsText(_BlobImpl blob, [String encoding = null]) native; | 6806 String readAsText(_BlobImpl blob, [String encoding = null]) native; |
| 6779 } | 6807 } |
| 6780 | 6808 |
| 6781 class _FileWriterImpl implements FileWriter native "*FileWriter" { | 6809 class _FileWriterImpl extends _EventTargetImpl implements FileWriter native "*Fi
leWriter" { |
| 6810 |
| 6811 _FileWriterEventsImpl get on() => |
| 6812 new _FileWriterEventsImpl(this); |
| 6782 | 6813 |
| 6783 static final int DONE = 2; | 6814 static final int DONE = 2; |
| 6784 | 6815 |
| 6785 static final int INIT = 0; | 6816 static final int INIT = 0; |
| 6786 | 6817 |
| 6787 static final int WRITING = 1; | 6818 static final int WRITING = 1; |
| 6788 | 6819 |
| 6789 final _FileErrorImpl error; | 6820 final _FileErrorImpl error; |
| 6790 | 6821 |
| 6791 final int length; | 6822 final int length; |
| 6792 | 6823 |
| 6793 EventListener onabort; | |
| 6794 | |
| 6795 EventListener onerror; | |
| 6796 | |
| 6797 EventListener onprogress; | |
| 6798 | |
| 6799 EventListener onwrite; | |
| 6800 | |
| 6801 EventListener onwriteend; | |
| 6802 | |
| 6803 EventListener onwritestart; | |
| 6804 | |
| 6805 final int position; | 6824 final int position; |
| 6806 | 6825 |
| 6807 final int readyState; | 6826 final int readyState; |
| 6808 | 6827 |
| 6809 void abort() native; | 6828 void abort() native; |
| 6810 | 6829 |
| 6811 void seek(int position) native; | 6830 void seek(int position) native; |
| 6812 | 6831 |
| 6813 void truncate(int size) native; | 6832 void truncate(int size) native; |
| 6814 | 6833 |
| 6815 void write(_BlobImpl data) native; | 6834 void write(_BlobImpl data) native; |
| 6816 } | 6835 } |
| 6817 | 6836 |
| 6837 class _FileWriterEventsImpl extends _EventsImpl implements FileWriterEvents { |
| 6838 _FileWriterEventsImpl(_ptr) : super(_ptr); |
| 6839 |
| 6840 EventListenerList get abort() => _get('abort'); |
| 6841 |
| 6842 EventListenerList get error() => _get('error'); |
| 6843 |
| 6844 EventListenerList get progress() => _get('progress'); |
| 6845 |
| 6846 EventListenerList get write() => _get('write'); |
| 6847 |
| 6848 EventListenerList get writeEnd() => _get('writeend'); |
| 6849 |
| 6850 EventListenerList get writeStart() => _get('writestart'); |
| 6851 } |
| 6852 |
| 6818 class _FileWriterSyncImpl implements FileWriterSync native "*FileWriterSync" { | 6853 class _FileWriterSyncImpl implements FileWriterSync native "*FileWriterSync" { |
| 6819 | 6854 |
| 6820 final int length; | 6855 final int length; |
| 6821 | 6856 |
| 6822 final int position; | 6857 final int position; |
| 6823 | 6858 |
| 6824 void seek(int position) native; | 6859 void seek(int position) native; |
| 6825 | 6860 |
| 6826 void truncate(int size) native; | 6861 void truncate(int size) native; |
| 6827 | 6862 |
| (...skipping 497 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7325 _IDBRequestImpl delete() native; | 7360 _IDBRequestImpl delete() native; |
| 7326 | 7361 |
| 7327 _IDBRequestImpl update(Dynamic value) native; | 7362 _IDBRequestImpl update(Dynamic value) native; |
| 7328 } | 7363 } |
| 7329 | 7364 |
| 7330 class _IDBCursorWithValueImpl extends _IDBCursorImpl implements IDBCursorWithVal
ue native "*IDBCursorWithValue" { | 7365 class _IDBCursorWithValueImpl extends _IDBCursorImpl implements IDBCursorWithVal
ue native "*IDBCursorWithValue" { |
| 7331 | 7366 |
| 7332 final _IDBAnyImpl value; | 7367 final _IDBAnyImpl value; |
| 7333 } | 7368 } |
| 7334 | 7369 |
| 7335 class _IDBDatabaseImpl implements IDBDatabase native "*IDBDatabase" { | 7370 class _IDBDatabaseImpl extends _EventTargetImpl implements IDBDatabase native "*
IDBDatabase" { |
| 7371 |
| 7372 _IDBDatabaseEventsImpl get on() => |
| 7373 new _IDBDatabaseEventsImpl(this); |
| 7336 | 7374 |
| 7337 final String name; | 7375 final String name; |
| 7338 | 7376 |
| 7339 final List<String> objectStoreNames; | 7377 final List<String> objectStoreNames; |
| 7340 | 7378 |
| 7341 EventListener onabort; | |
| 7342 | |
| 7343 EventListener onerror; | |
| 7344 | |
| 7345 EventListener onversionchange; | |
| 7346 | |
| 7347 final String version; | 7379 final String version; |
| 7348 | 7380 |
| 7349 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; | 7381 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re = null]) native "addEventListener"; |
| 7350 | 7382 |
| 7351 void close() native; | 7383 void close() native; |
| 7352 | 7384 |
| 7353 _IDBObjectStoreImpl createObjectStore(String name) native; | 7385 _IDBObjectStoreImpl createObjectStore(String name) native; |
| 7354 | 7386 |
| 7355 void deleteObjectStore(String name) native; | 7387 void deleteObjectStore(String name) native; |
| 7356 | 7388 |
| 7357 bool dispatchEvent(_EventImpl evt) native; | 7389 bool $dom_dispatchEvent(_EventImpl evt) native "dispatchEvent"; |
| 7358 | 7390 |
| 7359 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | 7391 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture = null]) native "removeEventListener"; |
| 7360 | 7392 |
| 7361 _IDBVersionChangeRequestImpl setVersion(String version) native; | 7393 _IDBVersionChangeRequestImpl setVersion(String version) native; |
| 7362 | 7394 |
| 7363 _IDBTransactionImpl transaction(var storeName_OR_storeNames, [int mode = null]
) native; | 7395 _IDBTransactionImpl transaction(var storeName_OR_storeNames, [int mode = null]
) native; |
| 7364 } | 7396 } |
| 7365 | 7397 |
| 7398 class _IDBDatabaseEventsImpl extends _EventsImpl implements IDBDatabaseEvents { |
| 7399 _IDBDatabaseEventsImpl(_ptr) : super(_ptr); |
| 7400 |
| 7401 EventListenerList get abort() => _get('abort'); |
| 7402 |
| 7403 EventListenerList get error() => _get('error'); |
| 7404 |
| 7405 EventListenerList get versionChange() => _get('versionchange'); |
| 7406 } |
| 7407 |
| 7366 class _IDBDatabaseExceptionImpl implements IDBDatabaseException native "*IDBData
baseException" { | 7408 class _IDBDatabaseExceptionImpl implements IDBDatabaseException native "*IDBData
baseException" { |
| 7367 | 7409 |
| 7368 static final int ABORT_ERR = 8; | 7410 static final int ABORT_ERR = 8; |
| 7369 | 7411 |
| 7370 static final int CONSTRAINT_ERR = 4; | 7412 static final int CONSTRAINT_ERR = 4; |
| 7371 | 7413 |
| 7372 static final int DATA_ERR = 5; | 7414 static final int DATA_ERR = 5; |
| 7373 | 7415 |
| 7374 static final int NON_TRANSIENT_ERR = 2; | 7416 static final int NON_TRANSIENT_ERR = 2; |
| 7375 | 7417 |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7480 | 7522 |
| 7481 _IDBRequestImpl getObject(_IDBKeyImpl key) native "get"; | 7523 _IDBRequestImpl getObject(_IDBKeyImpl key) native "get"; |
| 7482 | 7524 |
| 7483 _IDBIndexImpl index(String name) native; | 7525 _IDBIndexImpl index(String name) native; |
| 7484 | 7526 |
| 7485 _IDBRequestImpl openCursor([_IDBKeyRangeImpl range = null, int direction = nul
l]) native; | 7527 _IDBRequestImpl openCursor([_IDBKeyRangeImpl range = null, int direction = nul
l]) native; |
| 7486 | 7528 |
| 7487 _IDBRequestImpl put(Dynamic value, [_IDBKeyImpl key = null]) native; | 7529 _IDBRequestImpl put(Dynamic value, [_IDBKeyImpl key = null]) native; |
| 7488 } | 7530 } |
| 7489 | 7531 |
| 7490 class _IDBRequestImpl implements IDBRequest native "*IDBRequest" { | 7532 class _IDBRequestImpl extends _EventTargetImpl implements IDBRequest native "*ID
BRequest" { |
| 7533 |
| 7534 _IDBRequestEventsImpl get on() => |
| 7535 new _IDBRequestEventsImpl(this); |
| 7491 | 7536 |
| 7492 static final int DONE = 2; | 7537 static final int DONE = 2; |
| 7493 | 7538 |
| 7494 static final int LOADING = 1; | 7539 static final int LOADING = 1; |
| 7495 | 7540 |
| 7496 final int errorCode; | 7541 final int errorCode; |
| 7497 | 7542 |
| 7498 EventListener onerror; | |
| 7499 | |
| 7500 EventListener onsuccess; | |
| 7501 | |
| 7502 final int readyState; | 7543 final int readyState; |
| 7503 | 7544 |
| 7504 final _IDBAnyImpl result; | 7545 final _IDBAnyImpl result; |
| 7505 | 7546 |
| 7506 final _IDBAnyImpl source; | 7547 final _IDBAnyImpl source; |
| 7507 | 7548 |
| 7508 final _IDBTransactionImpl transaction; | 7549 final _IDBTransactionImpl transaction; |
| 7509 | 7550 |
| 7510 final String webkitErrorMessage; | 7551 final String webkitErrorMessage; |
| 7511 | 7552 |
| 7512 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; | 7553 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re = null]) native "addEventListener"; |
| 7513 | 7554 |
| 7514 bool dispatchEvent(_EventImpl evt) native; | 7555 bool $dom_dispatchEvent(_EventImpl evt) native "dispatchEvent"; |
| 7515 | 7556 |
| 7516 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | 7557 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture = null]) native "removeEventListener"; |
| 7517 } | 7558 } |
| 7518 | 7559 |
| 7519 class _IDBTransactionImpl implements IDBTransaction native "*IDBTransaction" { | 7560 class _IDBRequestEventsImpl extends _EventsImpl implements IDBRequestEvents { |
| 7561 _IDBRequestEventsImpl(_ptr) : super(_ptr); |
| 7562 |
| 7563 EventListenerList get error() => _get('error'); |
| 7564 |
| 7565 EventListenerList get success() => _get('success'); |
| 7566 } |
| 7567 |
| 7568 class _IDBTransactionImpl extends _EventTargetImpl implements IDBTransaction nat
ive "*IDBTransaction" { |
| 7569 |
| 7570 _IDBTransactionEventsImpl get on() => |
| 7571 new _IDBTransactionEventsImpl(this); |
| 7520 | 7572 |
| 7521 static final int READ_ONLY = 0; | 7573 static final int READ_ONLY = 0; |
| 7522 | 7574 |
| 7523 static final int READ_WRITE = 1; | 7575 static final int READ_WRITE = 1; |
| 7524 | 7576 |
| 7525 static final int VERSION_CHANGE = 2; | 7577 static final int VERSION_CHANGE = 2; |
| 7526 | 7578 |
| 7527 final _IDBDatabaseImpl db; | 7579 final _IDBDatabaseImpl db; |
| 7528 | 7580 |
| 7529 final int mode; | 7581 final int mode; |
| 7530 | 7582 |
| 7531 EventListener onabort; | |
| 7532 | |
| 7533 EventListener oncomplete; | |
| 7534 | |
| 7535 EventListener onerror; | |
| 7536 | |
| 7537 void abort() native; | 7583 void abort() native; |
| 7538 | 7584 |
| 7539 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; | 7585 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re = null]) native "addEventListener"; |
| 7540 | 7586 |
| 7541 bool dispatchEvent(_EventImpl evt) native; | 7587 bool $dom_dispatchEvent(_EventImpl evt) native "dispatchEvent"; |
| 7542 | 7588 |
| 7543 _IDBObjectStoreImpl objectStore(String name) native; | 7589 _IDBObjectStoreImpl objectStore(String name) native; |
| 7544 | 7590 |
| 7545 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | 7591 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture = null]) native "removeEventListener"; |
| 7592 } |
| 7593 |
| 7594 class _IDBTransactionEventsImpl extends _EventsImpl implements IDBTransactionEve
nts { |
| 7595 _IDBTransactionEventsImpl(_ptr) : super(_ptr); |
| 7596 |
| 7597 EventListenerList get abort() => _get('abort'); |
| 7598 |
| 7599 EventListenerList get complete() => _get('complete'); |
| 7600 |
| 7601 EventListenerList get error() => _get('error'); |
| 7546 } | 7602 } |
| 7547 | 7603 |
| 7548 class _IDBVersionChangeEventImpl extends _EventImpl implements IDBVersionChangeE
vent native "*IDBVersionChangeEvent" { | 7604 class _IDBVersionChangeEventImpl extends _EventImpl implements IDBVersionChangeE
vent native "*IDBVersionChangeEvent" { |
| 7549 | 7605 |
| 7550 final String version; | 7606 final String version; |
| 7551 } | 7607 } |
| 7552 | 7608 |
| 7553 class _IDBVersionChangeRequestImpl extends _IDBRequestImpl implements IDBVersion
ChangeRequest native "*IDBVersionChangeRequest" { | 7609 class _IDBVersionChangeRequestImpl extends _IDBRequestImpl implements IDBVersion
ChangeRequest native "*IDBVersionChangeRequest" { |
| 7554 | 7610 |
| 7555 EventListener onblocked; | 7611 _IDBVersionChangeRequestEventsImpl get on() => |
| 7612 new _IDBVersionChangeRequestEventsImpl(this); |
| 7613 |
| 7614 // From EventTarget |
| 7615 |
| 7616 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re = null]) native "addEventListener"; |
| 7617 |
| 7618 bool $dom_dispatchEvent(_EventImpl event) native "dispatchEvent"; |
| 7619 |
| 7620 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture = null]) native "removeEventListener"; |
| 7621 } |
| 7622 |
| 7623 class _IDBVersionChangeRequestEventsImpl extends _IDBRequestEventsImpl implement
s IDBVersionChangeRequestEvents { |
| 7624 _IDBVersionChangeRequestEventsImpl(_ptr) : super(_ptr); |
| 7625 |
| 7626 EventListenerList get blocked() => _get('blocked'); |
| 7556 } | 7627 } |
| 7557 | 7628 |
| 7558 class _IFrameElementImpl extends _ElementImpl implements IFrameElement native "*
HTMLIFrameElement" { | 7629 class _IFrameElementImpl extends _ElementImpl implements IFrameElement native "*
HTMLIFrameElement" { |
| 7559 | 7630 |
| 7560 String align; | 7631 String align; |
| 7561 | 7632 |
| 7562 final _DocumentImpl contentDocument; | 7633 final _DocumentImpl contentDocument; |
| 7563 | 7634 |
| 7564 final _WindowImpl contentWindow; | 7635 final _WindowImpl contentWindow; |
| 7565 | 7636 |
| (...skipping 461 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8027 | 8098 |
| 8028 // -- end List<int> mixins. | 8099 // -- end List<int> mixins. |
| 8029 | 8100 |
| 8030 void setElements(Object array, [int offset = null]) native "set"; | 8101 void setElements(Object array, [int offset = null]) native "set"; |
| 8031 | 8102 |
| 8032 _Int8ArrayImpl subarray(int start, [int end = null]) native; | 8103 _Int8ArrayImpl subarray(int start, [int end = null]) native; |
| 8033 } | 8104 } |
| 8034 | 8105 |
| 8035 class _JavaScriptAudioNodeImpl extends _AudioNodeImpl implements JavaScriptAudio
Node native "*JavaScriptAudioNode" { | 8106 class _JavaScriptAudioNodeImpl extends _AudioNodeImpl implements JavaScriptAudio
Node native "*JavaScriptAudioNode" { |
| 8036 | 8107 |
| 8108 _JavaScriptAudioNodeEventsImpl get on() => |
| 8109 new _JavaScriptAudioNodeEventsImpl(this); |
| 8110 |
| 8037 final int bufferSize; | 8111 final int bufferSize; |
| 8038 | 8112 |
| 8039 EventListener onaudioprocess; | 8113 // From EventTarget |
| 8114 |
| 8115 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re = null]) native "addEventListener"; |
| 8116 |
| 8117 bool $dom_dispatchEvent(_EventImpl event) native "dispatchEvent"; |
| 8118 |
| 8119 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture = null]) native "removeEventListener"; |
| 8120 } |
| 8121 |
| 8122 class _JavaScriptAudioNodeEventsImpl extends _EventsImpl implements JavaScriptAu
dioNodeEvents { |
| 8123 _JavaScriptAudioNodeEventsImpl(_ptr) : super(_ptr); |
| 8124 |
| 8125 EventListenerList get audioProcess() => _get('audioprocess'); |
| 8040 } | 8126 } |
| 8041 | 8127 |
| 8042 class _JavaScriptCallFrameImpl implements JavaScriptCallFrame native "*JavaScrip
tCallFrame" { | 8128 class _JavaScriptCallFrameImpl implements JavaScriptCallFrame native "*JavaScrip
tCallFrame" { |
| 8043 | 8129 |
| 8044 static final int CATCH_SCOPE = 4; | 8130 static final int CATCH_SCOPE = 4; |
| 8045 | 8131 |
| 8046 static final int CLOSURE_SCOPE = 3; | 8132 static final int CLOSURE_SCOPE = 3; |
| 8047 | 8133 |
| 8048 static final int GLOBAL_SCOPE = 0; | 8134 static final int GLOBAL_SCOPE = 0; |
| 8049 | 8135 |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8164 _DOMSettableTokenListImpl sizes; | 8250 _DOMSettableTokenListImpl sizes; |
| 8165 | 8251 |
| 8166 String target; | 8252 String target; |
| 8167 | 8253 |
| 8168 String type; | 8254 String type; |
| 8169 } | 8255 } |
| 8170 | 8256 |
| 8171 class _LocalMediaStreamImpl extends _MediaStreamImpl implements LocalMediaStream
native "*LocalMediaStream" { | 8257 class _LocalMediaStreamImpl extends _MediaStreamImpl implements LocalMediaStream
native "*LocalMediaStream" { |
| 8172 | 8258 |
| 8173 void stop() native; | 8259 void stop() native; |
| 8260 |
| 8261 // From EventTarget |
| 8262 |
| 8263 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re = null]) native "addEventListener"; |
| 8264 |
| 8265 bool $dom_dispatchEvent(_EventImpl event) native "dispatchEvent"; |
| 8266 |
| 8267 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture = null]) native "removeEventListener"; |
| 8174 } | 8268 } |
| 8175 | 8269 |
| 8176 class _LocationImpl implements Location native "*Location" { | 8270 class _LocationImpl implements Location native "*Location" { |
| 8177 | 8271 |
| 8178 String hash; | 8272 String hash; |
| 8179 | 8273 |
| 8180 String host; | 8274 String host; |
| 8181 | 8275 |
| 8182 String hostname; | 8276 String hostname; |
| 8183 | 8277 |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8231 | 8325 |
| 8232 int vspace; | 8326 int vspace; |
| 8233 | 8327 |
| 8234 String width; | 8328 String width; |
| 8235 | 8329 |
| 8236 void start() native; | 8330 void start() native; |
| 8237 | 8331 |
| 8238 void stop() native; | 8332 void stop() native; |
| 8239 } | 8333 } |
| 8240 | 8334 |
| 8241 class _MediaControllerImpl implements MediaController native "*MediaController"
{ | 8335 class _MediaControllerImpl extends _EventTargetImpl implements MediaController n
ative "*MediaController" { |
| 8242 | 8336 |
| 8243 final _TimeRangesImpl buffered; | 8337 final _TimeRangesImpl buffered; |
| 8244 | 8338 |
| 8245 num currentTime; | 8339 num currentTime; |
| 8246 | 8340 |
| 8247 num defaultPlaybackRate; | 8341 num defaultPlaybackRate; |
| 8248 | 8342 |
| 8249 final num duration; | 8343 final num duration; |
| 8250 | 8344 |
| 8251 bool muted; | 8345 bool muted; |
| 8252 | 8346 |
| 8253 final bool paused; | 8347 final bool paused; |
| 8254 | 8348 |
| 8255 num playbackRate; | 8349 num playbackRate; |
| 8256 | 8350 |
| 8257 final _TimeRangesImpl played; | 8351 final _TimeRangesImpl played; |
| 8258 | 8352 |
| 8259 final _TimeRangesImpl seekable; | 8353 final _TimeRangesImpl seekable; |
| 8260 | 8354 |
| 8261 num volume; | 8355 num volume; |
| 8262 | 8356 |
| 8263 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; | 8357 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re = null]) native "addEventListener"; |
| 8264 | 8358 |
| 8265 bool dispatchEvent(_EventImpl evt) native; | 8359 bool $dom_dispatchEvent(_EventImpl evt) native "dispatchEvent"; |
| 8266 | 8360 |
| 8267 void pause() native; | 8361 void pause() native; |
| 8268 | 8362 |
| 8269 void play() native; | 8363 void play() native; |
| 8270 | 8364 |
| 8271 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | 8365 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture = null]) native "removeEventListener"; |
| 8272 } | 8366 } |
| 8273 | 8367 |
| 8274 class _MediaElementImpl extends _ElementImpl implements MediaElement native "*HT
MLMediaElement" { | 8368 class _MediaElementImpl extends _ElementImpl implements MediaElement native "*HT
MLMediaElement" { |
| 8275 | 8369 |
| 8276 static final int EOS_DECODE_ERR = 2; | 8370 static final int EOS_DECODE_ERR = 2; |
| 8277 | 8371 |
| 8278 static final int EOS_NETWORK_ERR = 1; | 8372 static final int EOS_NETWORK_ERR = 1; |
| 8279 | 8373 |
| 8280 static final int EOS_NO_ERROR = 0; | 8374 static final int EOS_NO_ERROR = 0; |
| 8281 | 8375 |
| (...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8508 void addListener(_MediaQueryListListenerImpl listener) native; | 8602 void addListener(_MediaQueryListListenerImpl listener) native; |
| 8509 | 8603 |
| 8510 void removeListener(_MediaQueryListListenerImpl listener) native; | 8604 void removeListener(_MediaQueryListListenerImpl listener) native; |
| 8511 } | 8605 } |
| 8512 | 8606 |
| 8513 class _MediaQueryListListenerImpl implements MediaQueryListListener native "*Med
iaQueryListListener" { | 8607 class _MediaQueryListListenerImpl implements MediaQueryListListener native "*Med
iaQueryListListener" { |
| 8514 | 8608 |
| 8515 void queryChanged(_MediaQueryListImpl list) native; | 8609 void queryChanged(_MediaQueryListImpl list) native; |
| 8516 } | 8610 } |
| 8517 | 8611 |
| 8518 class _MediaStreamImpl implements MediaStream native "*MediaStream" { | 8612 class _MediaStreamImpl extends _EventTargetImpl implements MediaStream native "*
MediaStream" { |
| 8613 |
| 8614 _MediaStreamEventsImpl get on() => |
| 8615 new _MediaStreamEventsImpl(this); |
| 8519 | 8616 |
| 8520 static final int ENDED = 2; | 8617 static final int ENDED = 2; |
| 8521 | 8618 |
| 8522 static final int LIVE = 1; | 8619 static final int LIVE = 1; |
| 8523 | 8620 |
| 8524 final _MediaStreamTrackListImpl audioTracks; | 8621 final _MediaStreamTrackListImpl audioTracks; |
| 8525 | 8622 |
| 8526 final String label; | 8623 final String label; |
| 8527 | 8624 |
| 8528 EventListener onended; | |
| 8529 | |
| 8530 final int readyState; | 8625 final int readyState; |
| 8531 | 8626 |
| 8532 final _MediaStreamTrackListImpl videoTracks; | 8627 final _MediaStreamTrackListImpl videoTracks; |
| 8533 | 8628 |
| 8534 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; | 8629 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re = null]) native "addEventListener"; |
| 8535 | 8630 |
| 8536 bool dispatchEvent(_EventImpl event) native; | 8631 bool $dom_dispatchEvent(_EventImpl event) native "dispatchEvent"; |
| 8537 | 8632 |
| 8538 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | 8633 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture = null]) native "removeEventListener"; |
| 8634 } |
| 8635 |
| 8636 class _MediaStreamEventsImpl extends _EventsImpl implements MediaStreamEvents { |
| 8637 _MediaStreamEventsImpl(_ptr) : super(_ptr); |
| 8638 |
| 8639 EventListenerList get ended() => _get('ended'); |
| 8539 } | 8640 } |
| 8540 | 8641 |
| 8541 class _MediaStreamEventImpl extends _EventImpl implements MediaStreamEvent nativ
e "*MediaStreamEvent" { | 8642 class _MediaStreamEventImpl extends _EventImpl implements MediaStreamEvent nativ
e "*MediaStreamEvent" { |
| 8542 | 8643 |
| 8543 final _MediaStreamImpl stream; | 8644 final _MediaStreamImpl stream; |
| 8544 } | 8645 } |
| 8545 | 8646 |
| 8546 class _MediaStreamListImpl implements MediaStreamList native "*MediaStreamList"
{ | 8647 class _MediaStreamListImpl implements MediaStreamList native "*MediaStreamList"
{ |
| 8547 | 8648 |
| 8548 final int length; | 8649 final int length; |
| (...skipping 1055 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9604 | 9705 |
| 9605 String name; | 9706 String name; |
| 9606 | 9707 |
| 9607 String type; | 9708 String type; |
| 9608 | 9709 |
| 9609 String value; | 9710 String value; |
| 9610 | 9711 |
| 9611 String valueType; | 9712 String valueType; |
| 9612 } | 9713 } |
| 9613 | 9714 |
| 9614 class _PeerConnection00Impl implements PeerConnection00 native "*PeerConnection0
0" { | 9715 class _PeerConnection00Impl extends _EventTargetImpl implements PeerConnection00
native "*PeerConnection00" { |
| 9716 |
| 9717 _PeerConnection00EventsImpl get on() => |
| 9718 new _PeerConnection00EventsImpl(this); |
| 9615 | 9719 |
| 9616 static final int ACTIVE = 2; | 9720 static final int ACTIVE = 2; |
| 9617 | 9721 |
| 9618 static final int CLOSED = 3; | 9722 static final int CLOSED = 3; |
| 9619 | 9723 |
| 9620 static final int ICE_CHECKING = 0x300; | 9724 static final int ICE_CHECKING = 0x300; |
| 9621 | 9725 |
| 9622 static final int ICE_CLOSED = 0x700; | 9726 static final int ICE_CLOSED = 0x700; |
| 9623 | 9727 |
| 9624 static final int ICE_COMPLETED = 0x500; | 9728 static final int ICE_COMPLETED = 0x500; |
| (...skipping 15 matching lines...) Expand all Loading... |
| 9640 static final int SDP_OFFER = 0x100; | 9744 static final int SDP_OFFER = 0x100; |
| 9641 | 9745 |
| 9642 static final int SDP_PRANSWER = 0x200; | 9746 static final int SDP_PRANSWER = 0x200; |
| 9643 | 9747 |
| 9644 final int iceState; | 9748 final int iceState; |
| 9645 | 9749 |
| 9646 final _SessionDescriptionImpl localDescription; | 9750 final _SessionDescriptionImpl localDescription; |
| 9647 | 9751 |
| 9648 final _MediaStreamListImpl localStreams; | 9752 final _MediaStreamListImpl localStreams; |
| 9649 | 9753 |
| 9650 EventListener onaddstream; | |
| 9651 | |
| 9652 EventListener onconnecting; | |
| 9653 | |
| 9654 EventListener onopen; | |
| 9655 | |
| 9656 EventListener onremovestream; | |
| 9657 | |
| 9658 EventListener onstatechange; | |
| 9659 | |
| 9660 final int readyState; | 9754 final int readyState; |
| 9661 | 9755 |
| 9662 final _SessionDescriptionImpl remoteDescription; | 9756 final _SessionDescriptionImpl remoteDescription; |
| 9663 | 9757 |
| 9664 final _MediaStreamListImpl remoteStreams; | 9758 final _MediaStreamListImpl remoteStreams; |
| 9665 | 9759 |
| 9666 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; | 9760 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re = null]) native "addEventListener"; |
| 9667 | 9761 |
| 9668 void addStream(_MediaStreamImpl stream, [String mediaStreamHints = null]) nati
ve; | 9762 void addStream(_MediaStreamImpl stream, [String mediaStreamHints = null]) nati
ve; |
| 9669 | 9763 |
| 9670 void close() native; | 9764 void close() native; |
| 9671 | 9765 |
| 9672 _SessionDescriptionImpl createAnswer(String offer, [String mediaHints = null])
native; | 9766 _SessionDescriptionImpl createAnswer(String offer, [String mediaHints = null])
native; |
| 9673 | 9767 |
| 9674 _SessionDescriptionImpl createOffer([String mediaHints = null]) native; | 9768 _SessionDescriptionImpl createOffer([String mediaHints = null]) native; |
| 9675 | 9769 |
| 9676 bool dispatchEvent(_EventImpl event) native; | 9770 bool $dom_dispatchEvent(_EventImpl event) native "dispatchEvent"; |
| 9677 | 9771 |
| 9678 void processIceMessage(_IceCandidateImpl candidate) native; | 9772 void processIceMessage(_IceCandidateImpl candidate) native; |
| 9679 | 9773 |
| 9680 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | 9774 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture = null]) native "removeEventListener"; |
| 9681 | 9775 |
| 9682 void removeStream(_MediaStreamImpl stream) native; | 9776 void removeStream(_MediaStreamImpl stream) native; |
| 9683 | 9777 |
| 9684 void setLocalDescription(int action, _SessionDescriptionImpl desc) native; | 9778 void setLocalDescription(int action, _SessionDescriptionImpl desc) native; |
| 9685 | 9779 |
| 9686 void setRemoteDescription(int action, _SessionDescriptionImpl desc) native; | 9780 void setRemoteDescription(int action, _SessionDescriptionImpl desc) native; |
| 9687 | 9781 |
| 9688 void startIce([String iceOptions = null]) native; | 9782 void startIce([String iceOptions = null]) native; |
| 9689 } | 9783 } |
| 9690 | 9784 |
| 9785 class _PeerConnection00EventsImpl extends _EventsImpl implements PeerConnection0
0Events { |
| 9786 _PeerConnection00EventsImpl(_ptr) : super(_ptr); |
| 9787 |
| 9788 EventListenerList get addStream() => _get('addstream'); |
| 9789 |
| 9790 EventListenerList get connecting() => _get('connecting'); |
| 9791 |
| 9792 EventListenerList get open() => _get('open'); |
| 9793 |
| 9794 EventListenerList get removeStream() => _get('removestream'); |
| 9795 |
| 9796 EventListenerList get stateChange() => _get('statechange'); |
| 9797 } |
| 9798 |
| 9691 class _PerformanceImpl implements Performance native "*Performance" { | 9799 class _PerformanceImpl implements Performance native "*Performance" { |
| 9692 | 9800 |
| 9693 final _MemoryInfoImpl memory; | 9801 final _MemoryInfoImpl memory; |
| 9694 | 9802 |
| 9695 final _PerformanceNavigationImpl navigation; | 9803 final _PerformanceNavigationImpl navigation; |
| 9696 | 9804 |
| 9697 final _PerformanceTimingImpl timing; | 9805 final _PerformanceTimingImpl timing; |
| 9698 } | 9806 } |
| 9699 | 9807 |
| 9700 class _PerformanceNavigationImpl implements PerformanceNavigation native "*Perfo
rmanceNavigation" { | 9808 class _PerformanceNavigationImpl implements PerformanceNavigation native "*Perfo
rmanceNavigation" { |
| (...skipping 870 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10571 void set id(String value) native "this.id = value;"; | 10679 void set id(String value) native "this.id = value;"; |
| 10572 | 10680 |
| 10573 final _SVGSVGElementImpl ownerSVGElement; | 10681 final _SVGSVGElementImpl ownerSVGElement; |
| 10574 | 10682 |
| 10575 final _SVGElementImpl viewportElement; | 10683 final _SVGElementImpl viewportElement; |
| 10576 | 10684 |
| 10577 String xmlbase; | 10685 String xmlbase; |
| 10578 | 10686 |
| 10579 } | 10687 } |
| 10580 | 10688 |
| 10581 class _SVGElementInstanceImpl extends _EventTargetImpl implements SVGElementInst
ance native "*SVGElementInstance" { | 10689 class _SVGElementInstanceImpl implements SVGElementInstance native "*SVGElementI
nstance" { |
| 10582 | 10690 |
| 10583 _SVGElementInstanceEventsImpl get on() => | 10691 _SVGElementInstanceEventsImpl get on() => |
| 10584 new _SVGElementInstanceEventsImpl(this); | 10692 new _SVGElementInstanceEventsImpl(this); |
| 10585 | 10693 |
| 10586 final _SVGElementInstanceListImpl childNodes; | 10694 final _SVGElementInstanceListImpl childNodes; |
| 10587 | 10695 |
| 10588 final _SVGElementImpl correspondingElement; | 10696 final _SVGElementImpl correspondingElement; |
| 10589 | 10697 |
| 10590 final _SVGUseElementImpl correspondingUseElement; | 10698 final _SVGUseElementImpl correspondingUseElement; |
| 10591 | 10699 |
| 10592 final _SVGElementInstanceImpl firstChild; | 10700 final _SVGElementInstanceImpl firstChild; |
| 10593 | 10701 |
| 10594 final _SVGElementInstanceImpl lastChild; | 10702 final _SVGElementInstanceImpl lastChild; |
| 10595 | 10703 |
| 10596 final _SVGElementInstanceImpl nextSibling; | 10704 final _SVGElementInstanceImpl nextSibling; |
| 10597 | 10705 |
| 10598 final _SVGElementInstanceImpl parentNode; | 10706 final _SVGElementInstanceImpl parentNode; |
| 10599 | 10707 |
| 10600 final _SVGElementInstanceImpl previousSibling; | 10708 final _SVGElementInstanceImpl previousSibling; |
| 10601 | 10709 |
| 10602 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re = null]) native "addEventListener"; | 10710 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; |
| 10603 | 10711 |
| 10604 bool $dom_dispatchEvent(_EventImpl event) native "dispatchEvent"; | 10712 bool dispatchEvent(_EventImpl event) native; |
| 10605 | 10713 |
| 10606 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture = null]) native "removeEventListener"; | 10714 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; |
| 10607 } | 10715 } |
| 10608 | 10716 |
| 10609 class _SVGElementInstanceEventsImpl extends _EventsImpl implements SVGElementIns
tanceEvents { | 10717 class _SVGElementInstanceEventsImpl extends _EventsImpl implements SVGElementIns
tanceEvents { |
| 10610 _SVGElementInstanceEventsImpl(_ptr) : super(_ptr); | 10718 _SVGElementInstanceEventsImpl(_ptr) : super(_ptr); |
| 10611 | 10719 |
| 10612 EventListenerList get abort() => _get('abort'); | 10720 EventListenerList get abort() => _get('abort'); |
| 10613 | 10721 |
| 10614 EventListenerList get beforeCopy() => _get('beforecopy'); | 10722 EventListenerList get beforeCopy() => _get('beforecopy'); |
| 10615 | 10723 |
| 10616 EventListenerList get beforeCut() => _get('beforecut'); | 10724 EventListenerList get beforeCut() => _get('beforecut'); |
| (...skipping 2985 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 13602 _NodeListImpl getElementsByTagNameNS(String namespaceURI, String localName) na
tive; | 13710 _NodeListImpl getElementsByTagNameNS(String namespaceURI, String localName) na
tive; |
| 13603 } | 13711 } |
| 13604 | 13712 |
| 13605 class _SharedWorkerImpl extends _AbstractWorkerImpl implements SharedWorker nati
ve "*SharedWorker" { | 13713 class _SharedWorkerImpl extends _AbstractWorkerImpl implements SharedWorker nati
ve "*SharedWorker" { |
| 13606 | 13714 |
| 13607 final _MessagePortImpl port; | 13715 final _MessagePortImpl port; |
| 13608 } | 13716 } |
| 13609 | 13717 |
| 13610 class _SharedWorkerContextImpl extends _WorkerContextImpl implements SharedWorke
rContext native "*SharedWorkerContext" { | 13718 class _SharedWorkerContextImpl extends _WorkerContextImpl implements SharedWorke
rContext native "*SharedWorkerContext" { |
| 13611 | 13719 |
| 13720 _SharedWorkerContextEventsImpl get on() => |
| 13721 new _SharedWorkerContextEventsImpl(this); |
| 13722 |
| 13612 final String name; | 13723 final String name; |
| 13724 } |
| 13613 | 13725 |
| 13614 EventListener onconnect; | 13726 class _SharedWorkerContextEventsImpl extends _WorkerContextEventsImpl implements
SharedWorkerContextEvents { |
| 13727 _SharedWorkerContextEventsImpl(_ptr) : super(_ptr); |
| 13728 |
| 13729 EventListenerList get connect() => _get('connect'); |
| 13615 } | 13730 } |
| 13616 | 13731 |
| 13617 class _SourceElementImpl extends _ElementImpl implements SourceElement native "*
HTMLSourceElement" { | 13732 class _SourceElementImpl extends _ElementImpl implements SourceElement native "*
HTMLSourceElement" { |
| 13618 | 13733 |
| 13619 String media; | 13734 String media; |
| 13620 | 13735 |
| 13621 String src; | 13736 String src; |
| 13622 | 13737 |
| 13623 String type; | 13738 String type; |
| 13624 } | 13739 } |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 13656 final String utterance; | 13771 final String utterance; |
| 13657 } | 13772 } |
| 13658 | 13773 |
| 13659 class _SpeechInputResultListImpl implements SpeechInputResultList native "*Speec
hInputResultList" { | 13774 class _SpeechInputResultListImpl implements SpeechInputResultList native "*Speec
hInputResultList" { |
| 13660 | 13775 |
| 13661 final int length; | 13776 final int length; |
| 13662 | 13777 |
| 13663 _SpeechInputResultImpl item(int index) native; | 13778 _SpeechInputResultImpl item(int index) native; |
| 13664 } | 13779 } |
| 13665 | 13780 |
| 13666 class _SpeechRecognitionImpl implements SpeechRecognition native "*SpeechRecogni
tion" { | 13781 class _SpeechRecognitionImpl extends _EventTargetImpl implements SpeechRecogniti
on native "*SpeechRecognition" { |
| 13782 |
| 13783 _SpeechRecognitionEventsImpl get on() => |
| 13784 new _SpeechRecognitionEventsImpl(this); |
| 13667 | 13785 |
| 13668 bool continuous; | 13786 bool continuous; |
| 13669 | 13787 |
| 13670 _SpeechGrammarListImpl grammars; | 13788 _SpeechGrammarListImpl grammars; |
| 13671 | 13789 |
| 13672 String lang; | 13790 String lang; |
| 13673 | 13791 |
| 13674 EventListener onaudioend; | |
| 13675 | |
| 13676 EventListener onaudiostart; | |
| 13677 | |
| 13678 EventListener onend; | |
| 13679 | |
| 13680 EventListener onerror; | |
| 13681 | |
| 13682 EventListener onnomatch; | |
| 13683 | |
| 13684 EventListener onresult; | |
| 13685 | |
| 13686 EventListener onresultdeleted; | |
| 13687 | |
| 13688 EventListener onsoundend; | |
| 13689 | |
| 13690 EventListener onsoundstart; | |
| 13691 | |
| 13692 EventListener onspeechend; | |
| 13693 | |
| 13694 EventListener onspeechstart; | |
| 13695 | |
| 13696 EventListener onstart; | |
| 13697 | |
| 13698 void abort() native; | 13792 void abort() native; |
| 13699 | 13793 |
| 13700 void start() native; | 13794 void start() native; |
| 13701 | 13795 |
| 13702 void stop() native; | 13796 void stop() native; |
| 13703 } | 13797 } |
| 13704 | 13798 |
| 13799 class _SpeechRecognitionEventsImpl extends _EventsImpl implements SpeechRecognit
ionEvents { |
| 13800 _SpeechRecognitionEventsImpl(_ptr) : super(_ptr); |
| 13801 |
| 13802 EventListenerList get audioEnd() => _get('audioend'); |
| 13803 |
| 13804 EventListenerList get audioStart() => _get('audiostart'); |
| 13805 |
| 13806 EventListenerList get end() => _get('end'); |
| 13807 |
| 13808 EventListenerList get error() => _get('error'); |
| 13809 |
| 13810 EventListenerList get noMatch() => _get('nomatch'); |
| 13811 |
| 13812 EventListenerList get result() => _get('result'); |
| 13813 |
| 13814 EventListenerList get resultDeleted() => _get('resultdeleted'); |
| 13815 |
| 13816 EventListenerList get soundEnd() => _get('soundend'); |
| 13817 |
| 13818 EventListenerList get soundStart() => _get('soundstart'); |
| 13819 |
| 13820 EventListenerList get speechEnd() => _get('speechend'); |
| 13821 |
| 13822 EventListenerList get speechStart() => _get('speechstart'); |
| 13823 |
| 13824 EventListenerList get start() => _get('start'); |
| 13825 } |
| 13826 |
| 13705 class _SpeechRecognitionAlternativeImpl implements SpeechRecognitionAlternative
native "*SpeechRecognitionAlternative" { | 13827 class _SpeechRecognitionAlternativeImpl implements SpeechRecognitionAlternative
native "*SpeechRecognitionAlternative" { |
| 13706 | 13828 |
| 13707 final num confidence; | 13829 final num confidence; |
| 13708 | 13830 |
| 13709 final String transcript; | 13831 final String transcript; |
| 13710 } | 13832 } |
| 13711 | 13833 |
| 13712 class _SpeechRecognitionErrorImpl implements SpeechRecognitionError native "*Spe
echRecognitionError" { | 13834 class _SpeechRecognitionErrorImpl implements SpeechRecognitionError native "*Spe
echRecognitionError" { |
| 13713 | 13835 |
| 13714 static final int ABORTED = 2; | 13836 static final int ABORTED = 2; |
| (...skipping 471 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 14186 final String data; | 14308 final String data; |
| 14187 | 14309 |
| 14188 void initTextEvent(String typeArg, bool canBubbleArg, bool cancelableArg, _Win
dowImpl viewArg, String dataArg) native; | 14310 void initTextEvent(String typeArg, bool canBubbleArg, bool cancelableArg, _Win
dowImpl viewArg, String dataArg) native; |
| 14189 } | 14311 } |
| 14190 | 14312 |
| 14191 class _TextMetricsImpl implements TextMetrics native "*TextMetrics" { | 14313 class _TextMetricsImpl implements TextMetrics native "*TextMetrics" { |
| 14192 | 14314 |
| 14193 final num width; | 14315 final num width; |
| 14194 } | 14316 } |
| 14195 | 14317 |
| 14196 class _TextTrackImpl implements TextTrack native "*TextTrack" { | 14318 class _TextTrackImpl extends _EventTargetImpl implements TextTrack native "*Text
Track" { |
| 14319 |
| 14320 _TextTrackEventsImpl get on() => |
| 14321 new _TextTrackEventsImpl(this); |
| 14197 | 14322 |
| 14198 static final int DISABLED = 0; | 14323 static final int DISABLED = 0; |
| 14199 | 14324 |
| 14200 static final int HIDDEN = 1; | 14325 static final int HIDDEN = 1; |
| 14201 | 14326 |
| 14202 static final int SHOWING = 2; | 14327 static final int SHOWING = 2; |
| 14203 | 14328 |
| 14204 final _TextTrackCueListImpl activeCues; | 14329 final _TextTrackCueListImpl activeCues; |
| 14205 | 14330 |
| 14206 final _TextTrackCueListImpl cues; | 14331 final _TextTrackCueListImpl cues; |
| 14207 | 14332 |
| 14208 final String kind; | 14333 final String kind; |
| 14209 | 14334 |
| 14210 final String label; | 14335 final String label; |
| 14211 | 14336 |
| 14212 final String language; | 14337 final String language; |
| 14213 | 14338 |
| 14214 int mode; | 14339 int mode; |
| 14215 | 14340 |
| 14216 EventListener oncuechange; | |
| 14217 | |
| 14218 void addCue(_TextTrackCueImpl cue) native; | 14341 void addCue(_TextTrackCueImpl cue) native; |
| 14219 | 14342 |
| 14220 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; | 14343 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re = null]) native "addEventListener"; |
| 14221 | 14344 |
| 14222 bool dispatchEvent(_EventImpl evt) native; | 14345 bool $dom_dispatchEvent(_EventImpl evt) native "dispatchEvent"; |
| 14223 | 14346 |
| 14224 void removeCue(_TextTrackCueImpl cue) native; | 14347 void removeCue(_TextTrackCueImpl cue) native; |
| 14225 | 14348 |
| 14226 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | 14349 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture = null]) native "removeEventListener"; |
| 14227 } | 14350 } |
| 14228 | 14351 |
| 14229 class _TextTrackCueImpl implements TextTrackCue native "*TextTrackCue" { | 14352 class _TextTrackEventsImpl extends _EventsImpl implements TextTrackEvents { |
| 14353 _TextTrackEventsImpl(_ptr) : super(_ptr); |
| 14354 |
| 14355 EventListenerList get cueChange() => _get('cuechange'); |
| 14356 } |
| 14357 |
| 14358 class _TextTrackCueImpl extends _EventTargetImpl implements TextTrackCue native
"*TextTrackCue" { |
| 14359 |
| 14360 _TextTrackCueEventsImpl get on() => |
| 14361 new _TextTrackCueEventsImpl(this); |
| 14230 | 14362 |
| 14231 String align; | 14363 String align; |
| 14232 | 14364 |
| 14233 num endTime; | 14365 num endTime; |
| 14234 | 14366 |
| 14235 String id; | 14367 String id; |
| 14236 | 14368 |
| 14237 int line; | 14369 int line; |
| 14238 | 14370 |
| 14239 EventListener onenter; | |
| 14240 | |
| 14241 EventListener onexit; | |
| 14242 | |
| 14243 bool pauseOnExit; | 14371 bool pauseOnExit; |
| 14244 | 14372 |
| 14245 int position; | 14373 int position; |
| 14246 | 14374 |
| 14247 int size; | 14375 int size; |
| 14248 | 14376 |
| 14249 bool snapToLines; | 14377 bool snapToLines; |
| 14250 | 14378 |
| 14251 num startTime; | 14379 num startTime; |
| 14252 | 14380 |
| 14253 String text; | 14381 String text; |
| 14254 | 14382 |
| 14255 final _TextTrackImpl track; | 14383 final _TextTrackImpl track; |
| 14256 | 14384 |
| 14257 String vertical; | 14385 String vertical; |
| 14258 | 14386 |
| 14259 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; | 14387 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re = null]) native "addEventListener"; |
| 14260 | 14388 |
| 14261 bool dispatchEvent(_EventImpl evt) native; | 14389 bool $dom_dispatchEvent(_EventImpl evt) native "dispatchEvent"; |
| 14262 | 14390 |
| 14263 _DocumentFragmentImpl getCueAsHTML() native; | 14391 _DocumentFragmentImpl getCueAsHTML() native; |
| 14264 | 14392 |
| 14265 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | 14393 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture = null]) native "removeEventListener"; |
| 14394 } |
| 14395 |
| 14396 class _TextTrackCueEventsImpl extends _EventsImpl implements TextTrackCueEvents
{ |
| 14397 _TextTrackCueEventsImpl(_ptr) : super(_ptr); |
| 14398 |
| 14399 EventListenerList get enter() => _get('enter'); |
| 14400 |
| 14401 EventListenerList get exit() => _get('exit'); |
| 14266 } | 14402 } |
| 14267 | 14403 |
| 14268 class _TextTrackCueListImpl implements TextTrackCueList native "*TextTrackCueLis
t" { | 14404 class _TextTrackCueListImpl implements TextTrackCueList native "*TextTrackCueLis
t" { |
| 14269 | 14405 |
| 14270 final int length; | 14406 final int length; |
| 14271 | 14407 |
| 14272 _TextTrackCueImpl getCueById(String id) native; | 14408 _TextTrackCueImpl getCueById(String id) native; |
| 14273 | 14409 |
| 14274 _TextTrackCueImpl item(int index) native; | 14410 _TextTrackCueImpl item(int index) native; |
| 14275 } | 14411 } |
| 14276 | 14412 |
| 14277 class _TextTrackListImpl implements TextTrackList native "*TextTrackList" { | 14413 class _TextTrackListImpl extends _EventTargetImpl implements TextTrackList nativ
e "*TextTrackList" { |
| 14414 |
| 14415 _TextTrackListEventsImpl get on() => |
| 14416 new _TextTrackListEventsImpl(this); |
| 14278 | 14417 |
| 14279 final int length; | 14418 final int length; |
| 14280 | 14419 |
| 14281 EventListener onaddtrack; | 14420 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re = null]) native "addEventListener"; |
| 14282 | 14421 |
| 14283 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; | 14422 bool $dom_dispatchEvent(_EventImpl evt) native "dispatchEvent"; |
| 14284 | |
| 14285 bool dispatchEvent(_EventImpl evt) native; | |
| 14286 | 14423 |
| 14287 _TextTrackImpl item(int index) native; | 14424 _TextTrackImpl item(int index) native; |
| 14288 | 14425 |
| 14289 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | 14426 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture = null]) native "removeEventListener"; |
| 14427 } |
| 14428 |
| 14429 class _TextTrackListEventsImpl extends _EventsImpl implements TextTrackListEvent
s { |
| 14430 _TextTrackListEventsImpl(_ptr) : super(_ptr); |
| 14431 |
| 14432 EventListenerList get addTrack() => _get('addtrack'); |
| 14290 } | 14433 } |
| 14291 | 14434 |
| 14292 class _TimeRangesImpl implements TimeRanges native "*TimeRanges" { | 14435 class _TimeRangesImpl implements TimeRanges native "*TimeRanges" { |
| 14293 | 14436 |
| 14294 final int length; | 14437 final int length; |
| 14295 | 14438 |
| 14296 num end(int index) native; | 14439 num end(int index) native; |
| 14297 | 14440 |
| 14298 num start(int index) native; | 14441 num start(int index) native; |
| 14299 } | 14442 } |
| (...skipping 2011 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 16311 | 16454 |
| 16312 void webkitPostMessage(Dynamic message, [List messagePorts = null]) native; | 16455 void webkitPostMessage(Dynamic message, [List messagePorts = null]) native; |
| 16313 } | 16456 } |
| 16314 | 16457 |
| 16315 class _WorkerEventsImpl extends _AbstractWorkerEventsImpl implements WorkerEvent
s { | 16458 class _WorkerEventsImpl extends _AbstractWorkerEventsImpl implements WorkerEvent
s { |
| 16316 _WorkerEventsImpl(_ptr) : super(_ptr); | 16459 _WorkerEventsImpl(_ptr) : super(_ptr); |
| 16317 | 16460 |
| 16318 EventListenerList get message() => _get('message'); | 16461 EventListenerList get message() => _get('message'); |
| 16319 } | 16462 } |
| 16320 | 16463 |
| 16321 class _WorkerContextImpl implements WorkerContext native "*WorkerContext" { | 16464 class _WorkerContextImpl extends _EventTargetImpl implements WorkerContext nativ
e "*WorkerContext" { |
| 16465 |
| 16466 _WorkerContextEventsImpl get on() => |
| 16467 new _WorkerContextEventsImpl(this); |
| 16322 | 16468 |
| 16323 static final int PERSISTENT = 1; | 16469 static final int PERSISTENT = 1; |
| 16324 | 16470 |
| 16325 static final int TEMPORARY = 0; | 16471 static final int TEMPORARY = 0; |
| 16326 | 16472 |
| 16327 final _WorkerLocationImpl location; | 16473 final _WorkerLocationImpl location; |
| 16328 | 16474 |
| 16329 final _WorkerNavigatorImpl navigator; | 16475 final _WorkerNavigatorImpl navigator; |
| 16330 | 16476 |
| 16331 EventListener onerror; | |
| 16332 | |
| 16333 final _WorkerContextImpl self; | 16477 final _WorkerContextImpl self; |
| 16334 | 16478 |
| 16335 final _IDBFactoryImpl webkitIndexedDB; | 16479 final _IDBFactoryImpl webkitIndexedDB; |
| 16336 | 16480 |
| 16337 final _NotificationCenterImpl webkitNotifications; | 16481 final _NotificationCenterImpl webkitNotifications; |
| 16338 | 16482 |
| 16339 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; | 16483 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re = null]) native "addEventListener"; |
| 16340 | 16484 |
| 16341 void clearInterval(int handle) native; | 16485 void clearInterval(int handle) native; |
| 16342 | 16486 |
| 16343 void clearTimeout(int handle) native; | 16487 void clearTimeout(int handle) native; |
| 16344 | 16488 |
| 16345 void close() native; | 16489 void close() native; |
| 16346 | 16490 |
| 16347 bool dispatchEvent(_EventImpl evt) native; | 16491 bool $dom_dispatchEvent(_EventImpl evt) native "dispatchEvent"; |
| 16348 | 16492 |
| 16349 void importScripts() native; | 16493 void importScripts() native; |
| 16350 | 16494 |
| 16351 _DatabaseImpl openDatabase(String name, String version, String displayName, in
t estimatedSize, [DatabaseCallback creationCallback = null]) native; | 16495 _DatabaseImpl openDatabase(String name, String version, String displayName, in
t estimatedSize, [DatabaseCallback creationCallback = null]) native; |
| 16352 | 16496 |
| 16353 _DatabaseSyncImpl openDatabaseSync(String name, String version, String display
Name, int estimatedSize, [DatabaseCallback creationCallback = null]) native; | 16497 _DatabaseSyncImpl openDatabaseSync(String name, String version, String display
Name, int estimatedSize, [DatabaseCallback creationCallback = null]) native; |
| 16354 | 16498 |
| 16355 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | 16499 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture = null]) native "removeEventListener"; |
| 16356 | 16500 |
| 16357 int setInterval(TimeoutHandler handler, int timeout) native; | 16501 int setInterval(TimeoutHandler handler, int timeout) native; |
| 16358 | 16502 |
| 16359 int setTimeout(TimeoutHandler handler, int timeout) native; | 16503 int setTimeout(TimeoutHandler handler, int timeout) native; |
| 16360 | 16504 |
| 16361 void webkitRequestFileSystem(int type, int size, [FileSystemCallback successCa
llback = null, ErrorCallback errorCallback = null]) native; | 16505 void webkitRequestFileSystem(int type, int size, [FileSystemCallback successCa
llback = null, ErrorCallback errorCallback = null]) native; |
| 16362 | 16506 |
| 16363 _DOMFileSystemSyncImpl webkitRequestFileSystemSync(int type, int size) native; | 16507 _DOMFileSystemSyncImpl webkitRequestFileSystemSync(int type, int size) native; |
| 16364 | 16508 |
| 16365 _EntrySyncImpl webkitResolveLocalFileSystemSyncURL(String url) native; | 16509 _EntrySyncImpl webkitResolveLocalFileSystemSyncURL(String url) native; |
| 16366 | 16510 |
| 16367 void webkitResolveLocalFileSystemURL(String url, [EntryCallback successCallbac
k = null, ErrorCallback errorCallback = null]) native; | 16511 void webkitResolveLocalFileSystemURL(String url, [EntryCallback successCallbac
k = null, ErrorCallback errorCallback = null]) native; |
| 16368 } | 16512 } |
| 16369 | 16513 |
| 16514 class _WorkerContextEventsImpl extends _EventsImpl implements WorkerContextEvent
s { |
| 16515 _WorkerContextEventsImpl(_ptr) : super(_ptr); |
| 16516 |
| 16517 EventListenerList get error() => _get('error'); |
| 16518 } |
| 16519 |
| 16370 class _WorkerLocationImpl implements WorkerLocation native "*WorkerLocation" { | 16520 class _WorkerLocationImpl implements WorkerLocation native "*WorkerLocation" { |
| 16371 | 16521 |
| 16372 final String hash; | 16522 final String hash; |
| 16373 | 16523 |
| 16374 final String host; | 16524 final String host; |
| 16375 | 16525 |
| 16376 final String hostname; | 16526 final String hostname; |
| 16377 | 16527 |
| 16378 final String href; | 16528 final String href; |
| 16379 | 16529 |
| (...skipping 807 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 17187 // WARNING: Do not edit - generated code. | 17337 // WARNING: Do not edit - generated code. |
| 17188 | 17338 |
| 17189 interface AudioChannelSplitter extends AudioNode { | 17339 interface AudioChannelSplitter extends AudioNode { |
| 17190 } | 17340 } |
| 17191 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17341 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17192 // for details. All rights reserved. Use of this source code is governed by a | 17342 // for details. All rights reserved. Use of this source code is governed by a |
| 17193 // BSD-style license that can be found in the LICENSE file. | 17343 // BSD-style license that can be found in the LICENSE file. |
| 17194 | 17344 |
| 17195 // WARNING: Do not edit - generated code. | 17345 // WARNING: Do not edit - generated code. |
| 17196 | 17346 |
| 17197 interface AudioContext { | 17347 interface AudioContext extends EventTarget { |
| 17348 |
| 17349 AudioContextEvents get on(); |
| 17198 | 17350 |
| 17199 final int activeSourceCount; | 17351 final int activeSourceCount; |
| 17200 | 17352 |
| 17201 final num currentTime; | 17353 final num currentTime; |
| 17202 | 17354 |
| 17203 final AudioDestinationNode destination; | 17355 final AudioDestinationNode destination; |
| 17204 | 17356 |
| 17205 final AudioListener listener; | 17357 final AudioListener listener; |
| 17206 | 17358 |
| 17207 EventListener oncomplete; | |
| 17208 | |
| 17209 final num sampleRate; | 17359 final num sampleRate; |
| 17210 | 17360 |
| 17211 RealtimeAnalyserNode createAnalyser(); | 17361 RealtimeAnalyserNode createAnalyser(); |
| 17212 | 17362 |
| 17213 BiquadFilterNode createBiquadFilter(); | 17363 BiquadFilterNode createBiquadFilter(); |
| 17214 | 17364 |
| 17215 AudioBuffer createBuffer(var buffer_OR_numberOfChannels, var mixToMono_OR_numb
erOfFrames, [num sampleRate]); | 17365 AudioBuffer createBuffer(var buffer_OR_numberOfChannels, var mixToMono_OR_numb
erOfFrames, [num sampleRate]); |
| 17216 | 17366 |
| 17217 AudioBufferSourceNode createBufferSource(); | 17367 AudioBufferSourceNode createBufferSource(); |
| 17218 | 17368 |
| (...skipping 18 matching lines...) Expand all Loading... |
| 17237 AudioPannerNode createPanner(); | 17387 AudioPannerNode createPanner(); |
| 17238 | 17388 |
| 17239 WaveShaperNode createWaveShaper(); | 17389 WaveShaperNode createWaveShaper(); |
| 17240 | 17390 |
| 17241 WaveTable createWaveTable(Float32Array real, Float32Array imag); | 17391 WaveTable createWaveTable(Float32Array real, Float32Array imag); |
| 17242 | 17392 |
| 17243 void decodeAudioData(ArrayBuffer audioData, AudioBufferCallback successCallbac
k, [AudioBufferCallback errorCallback]); | 17393 void decodeAudioData(ArrayBuffer audioData, AudioBufferCallback successCallbac
k, [AudioBufferCallback errorCallback]); |
| 17244 | 17394 |
| 17245 void startRendering(); | 17395 void startRendering(); |
| 17246 } | 17396 } |
| 17397 |
| 17398 interface AudioContextEvents extends Events { |
| 17399 |
| 17400 EventListenerList get complete(); |
| 17401 } |
| 17247 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17402 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17248 // for details. All rights reserved. Use of this source code is governed by a | 17403 // for details. All rights reserved. Use of this source code is governed by a |
| 17249 // BSD-style license that can be found in the LICENSE file. | 17404 // BSD-style license that can be found in the LICENSE file. |
| 17250 | 17405 |
| 17251 // WARNING: Do not edit - generated code. | 17406 // WARNING: Do not edit - generated code. |
| 17252 | 17407 |
| 17253 interface AudioDestinationNode extends AudioNode { | 17408 interface AudioDestinationNode extends AudioNode { |
| 17254 | 17409 |
| 17255 final int numberOfChannels; | 17410 final int numberOfChannels; |
| 17256 } | 17411 } |
| (...skipping 3586 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 20843 void transaction(SQLTransactionSyncCallback callback); | 20998 void transaction(SQLTransactionSyncCallback callback); |
| 20844 } | 20999 } |
| 20845 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 21000 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 20846 // for details. All rights reserved. Use of this source code is governed by a | 21001 // for details. All rights reserved. Use of this source code is governed by a |
| 20847 // BSD-style license that can be found in the LICENSE file. | 21002 // BSD-style license that can be found in the LICENSE file. |
| 20848 | 21003 |
| 20849 // WARNING: Do not edit - generated code. | 21004 // WARNING: Do not edit - generated code. |
| 20850 | 21005 |
| 20851 interface DedicatedWorkerContext extends WorkerContext { | 21006 interface DedicatedWorkerContext extends WorkerContext { |
| 20852 | 21007 |
| 20853 EventListener onmessage; | 21008 DedicatedWorkerContextEvents get on(); |
| 20854 | 21009 |
| 20855 void postMessage(Object message, [List messagePorts]); | 21010 void postMessage(Object message, [List messagePorts]); |
| 20856 | 21011 |
| 20857 void webkitPostMessage(Object message, [List transferList]); | 21012 void webkitPostMessage(Object message, [List transferList]); |
| 20858 } | 21013 } |
| 21014 |
| 21015 interface DedicatedWorkerContextEvents extends WorkerContextEvents { |
| 21016 |
| 21017 EventListenerList get message(); |
| 21018 } |
| 20859 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 21019 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 20860 // for details. All rights reserved. Use of this source code is governed by a | 21020 // for details. All rights reserved. Use of this source code is governed by a |
| 20861 // BSD-style license that can be found in the LICENSE file. | 21021 // BSD-style license that can be found in the LICENSE file. |
| 20862 | 21022 |
| 20863 // WARNING: Do not edit - generated code. | 21023 // WARNING: Do not edit - generated code. |
| 20864 | 21024 |
| 20865 interface DelayNode extends AudioNode { | 21025 interface DelayNode extends AudioNode { |
| 20866 | 21026 |
| 20867 final AudioParam delayTime; | 21027 final AudioParam delayTime; |
| 20868 } | 21028 } |
| 20869 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 21029 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 20870 // for details. All rights reserved. Use of this source code is governed by a | 21030 // for details. All rights reserved. Use of this source code is governed by a |
| 20871 // BSD-style license that can be found in the LICENSE file. | 21031 // BSD-style license that can be found in the LICENSE file. |
| 20872 | 21032 |
| 20873 // WARNING: Do not edit - generated code. | 21033 // WARNING: Do not edit - generated code. |
| 20874 | 21034 |
| 20875 interface DeprecatedPeerConnection default _DeprecatedPeerConnectionFactoryProvi
der { | 21035 interface DeprecatedPeerConnection extends EventTarget default _DeprecatedPeerCo
nnectionFactoryProvider { |
| 20876 | 21036 |
| 20877 DeprecatedPeerConnection(String serverConfiguration, SignalingCallback signali
ngCallback); | 21037 DeprecatedPeerConnection(String serverConfiguration, SignalingCallback signali
ngCallback); |
| 20878 | 21038 |
| 21039 DeprecatedPeerConnectionEvents get on(); |
| 21040 |
| 20879 static final int ACTIVE = 2; | 21041 static final int ACTIVE = 2; |
| 20880 | 21042 |
| 20881 static final int CLOSED = 3; | 21043 static final int CLOSED = 3; |
| 20882 | 21044 |
| 20883 static final int NEGOTIATING = 1; | 21045 static final int NEGOTIATING = 1; |
| 20884 | 21046 |
| 20885 static final int NEW = 0; | 21047 static final int NEW = 0; |
| 20886 | 21048 |
| 20887 final MediaStreamList localStreams; | 21049 final MediaStreamList localStreams; |
| 20888 | 21050 |
| 20889 EventListener onaddstream; | |
| 20890 | |
| 20891 EventListener onconnecting; | |
| 20892 | |
| 20893 EventListener onmessage; | |
| 20894 | |
| 20895 EventListener onopen; | |
| 20896 | |
| 20897 EventListener onremovestream; | |
| 20898 | |
| 20899 EventListener onstatechange; | |
| 20900 | |
| 20901 final int readyState; | 21051 final int readyState; |
| 20902 | 21052 |
| 20903 final MediaStreamList remoteStreams; | 21053 final MediaStreamList remoteStreams; |
| 20904 | 21054 |
| 20905 void addEventListener(String type, EventListener listener, [bool useCapture]); | 21055 /** @domName addEventListener */ |
| 21056 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]); |
| 20906 | 21057 |
| 20907 void addStream(MediaStream stream); | 21058 void addStream(MediaStream stream); |
| 20908 | 21059 |
| 20909 void close(); | 21060 void close(); |
| 20910 | 21061 |
| 20911 bool dispatchEvent(Event event); | 21062 /** @domName dispatchEvent */ |
| 21063 bool $dom_dispatchEvent(Event event); |
| 20912 | 21064 |
| 20913 void processSignalingMessage(String message); | 21065 void processSignalingMessage(String message); |
| 20914 | 21066 |
| 20915 void removeEventListener(String type, EventListener listener, [bool useCapture
]); | 21067 /** @domName removeEventListener */ |
| 21068 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]); |
| 20916 | 21069 |
| 20917 void removeStream(MediaStream stream); | 21070 void removeStream(MediaStream stream); |
| 20918 | 21071 |
| 20919 void send(String text); | 21072 void send(String text); |
| 20920 } | 21073 } |
| 21074 |
| 21075 interface DeprecatedPeerConnectionEvents extends Events { |
| 21076 |
| 21077 EventListenerList get addStream(); |
| 21078 |
| 21079 EventListenerList get connecting(); |
| 21080 |
| 21081 EventListenerList get message(); |
| 21082 |
| 21083 EventListenerList get open(); |
| 21084 |
| 21085 EventListenerList get removeStream(); |
| 21086 |
| 21087 EventListenerList get stateChange(); |
| 21088 } |
| 20921 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 21089 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 20922 // for details. All rights reserved. Use of this source code is governed by a | 21090 // for details. All rights reserved. Use of this source code is governed by a |
| 20923 // BSD-style license that can be found in the LICENSE file. | 21091 // BSD-style license that can be found in the LICENSE file. |
| 20924 | 21092 |
| 20925 // WARNING: Do not edit - generated code. | 21093 // WARNING: Do not edit - generated code. |
| 20926 | 21094 |
| 20927 interface DetailsElement extends Element { | 21095 interface DetailsElement extends Element { |
| 20928 | 21096 |
| 20929 bool open; | 21097 bool open; |
| 20930 } | 21098 } |
| (...skipping 1265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 22196 final int length; | 22364 final int length; |
| 22197 | 22365 |
| 22198 File item(int index); | 22366 File item(int index); |
| 22199 } | 22367 } |
| 22200 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 22368 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22201 // for details. All rights reserved. Use of this source code is governed by a | 22369 // for details. All rights reserved. Use of this source code is governed by a |
| 22202 // BSD-style license that can be found in the LICENSE file. | 22370 // BSD-style license that can be found in the LICENSE file. |
| 22203 | 22371 |
| 22204 // WARNING: Do not edit - generated code. | 22372 // WARNING: Do not edit - generated code. |
| 22205 | 22373 |
| 22206 interface FileReader default _FileReaderFactoryProvider { | 22374 interface FileReader extends EventTarget default _FileReaderFactoryProvider { |
| 22207 | 22375 |
| 22208 FileReader(); | 22376 FileReader(); |
| 22209 | 22377 |
| 22378 FileReaderEvents get on(); |
| 22379 |
| 22210 static final int DONE = 2; | 22380 static final int DONE = 2; |
| 22211 | 22381 |
| 22212 static final int EMPTY = 0; | 22382 static final int EMPTY = 0; |
| 22213 | 22383 |
| 22214 static final int LOADING = 1; | 22384 static final int LOADING = 1; |
| 22215 | 22385 |
| 22216 final FileError error; | 22386 final FileError error; |
| 22217 | 22387 |
| 22218 EventListener onabort; | |
| 22219 | |
| 22220 EventListener onerror; | |
| 22221 | |
| 22222 EventListener onload; | |
| 22223 | |
| 22224 EventListener onloadend; | |
| 22225 | |
| 22226 EventListener onloadstart; | |
| 22227 | |
| 22228 EventListener onprogress; | |
| 22229 | |
| 22230 final int readyState; | 22388 final int readyState; |
| 22231 | 22389 |
| 22232 final Object result; | 22390 final Object result; |
| 22233 | 22391 |
| 22234 void abort(); | 22392 void abort(); |
| 22235 | 22393 |
| 22236 void addEventListener(String type, EventListener listener, [bool useCapture]); | 22394 /** @domName addEventListener */ |
| 22395 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]); |
| 22237 | 22396 |
| 22238 bool dispatchEvent(Event evt); | 22397 /** @domName dispatchEvent */ |
| 22398 bool $dom_dispatchEvent(Event evt); |
| 22239 | 22399 |
| 22240 void readAsArrayBuffer(Blob blob); | 22400 void readAsArrayBuffer(Blob blob); |
| 22241 | 22401 |
| 22242 void readAsBinaryString(Blob blob); | 22402 void readAsBinaryString(Blob blob); |
| 22243 | 22403 |
| 22244 void readAsDataURL(Blob blob); | 22404 void readAsDataURL(Blob blob); |
| 22245 | 22405 |
| 22246 void readAsText(Blob blob, [String encoding]); | 22406 void readAsText(Blob blob, [String encoding]); |
| 22247 | 22407 |
| 22248 void removeEventListener(String type, EventListener listener, [bool useCapture
]); | 22408 /** @domName removeEventListener */ |
| 22409 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]); |
| 22410 } |
| 22411 |
| 22412 interface FileReaderEvents extends Events { |
| 22413 |
| 22414 EventListenerList get abort(); |
| 22415 |
| 22416 EventListenerList get error(); |
| 22417 |
| 22418 EventListenerList get load(); |
| 22419 |
| 22420 EventListenerList get loadEnd(); |
| 22421 |
| 22422 EventListenerList get loadStart(); |
| 22423 |
| 22424 EventListenerList get progress(); |
| 22249 } | 22425 } |
| 22250 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 22426 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22251 // for details. All rights reserved. Use of this source code is governed by a | 22427 // for details. All rights reserved. Use of this source code is governed by a |
| 22252 // BSD-style license that can be found in the LICENSE file. | 22428 // BSD-style license that can be found in the LICENSE file. |
| 22253 | 22429 |
| 22254 // WARNING: Do not edit - generated code. | 22430 // WARNING: Do not edit - generated code. |
| 22255 | 22431 |
| 22256 interface FileReaderSync default _FileReaderSyncFactoryProvider { | 22432 interface FileReaderSync default _FileReaderSyncFactoryProvider { |
| 22257 | 22433 |
| 22258 FileReaderSync(); | 22434 FileReaderSync(); |
| (...skipping 12 matching lines...) Expand all Loading... |
| 22271 | 22447 |
| 22272 // WARNING: Do not edit - generated code. | 22448 // WARNING: Do not edit - generated code. |
| 22273 | 22449 |
| 22274 typedef bool FileSystemCallback(DOMFileSystem fileSystem); | 22450 typedef bool FileSystemCallback(DOMFileSystem fileSystem); |
| 22275 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 22451 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22276 // for details. All rights reserved. Use of this source code is governed by a | 22452 // for details. All rights reserved. Use of this source code is governed by a |
| 22277 // BSD-style license that can be found in the LICENSE file. | 22453 // BSD-style license that can be found in the LICENSE file. |
| 22278 | 22454 |
| 22279 // WARNING: Do not edit - generated code. | 22455 // WARNING: Do not edit - generated code. |
| 22280 | 22456 |
| 22281 interface FileWriter { | 22457 interface FileWriter extends EventTarget { |
| 22458 |
| 22459 FileWriterEvents get on(); |
| 22282 | 22460 |
| 22283 static final int DONE = 2; | 22461 static final int DONE = 2; |
| 22284 | 22462 |
| 22285 static final int INIT = 0; | 22463 static final int INIT = 0; |
| 22286 | 22464 |
| 22287 static final int WRITING = 1; | 22465 static final int WRITING = 1; |
| 22288 | 22466 |
| 22289 final FileError error; | 22467 final FileError error; |
| 22290 | 22468 |
| 22291 final int length; | 22469 final int length; |
| 22292 | 22470 |
| 22293 EventListener onabort; | |
| 22294 | |
| 22295 EventListener onerror; | |
| 22296 | |
| 22297 EventListener onprogress; | |
| 22298 | |
| 22299 EventListener onwrite; | |
| 22300 | |
| 22301 EventListener onwriteend; | |
| 22302 | |
| 22303 EventListener onwritestart; | |
| 22304 | |
| 22305 final int position; | 22471 final int position; |
| 22306 | 22472 |
| 22307 final int readyState; | 22473 final int readyState; |
| 22308 | 22474 |
| 22309 void abort(); | 22475 void abort(); |
| 22310 | 22476 |
| 22311 void seek(int position); | 22477 void seek(int position); |
| 22312 | 22478 |
| 22313 void truncate(int size); | 22479 void truncate(int size); |
| 22314 | 22480 |
| 22315 void write(Blob data); | 22481 void write(Blob data); |
| 22316 } | 22482 } |
| 22483 |
| 22484 interface FileWriterEvents extends Events { |
| 22485 |
| 22486 EventListenerList get abort(); |
| 22487 |
| 22488 EventListenerList get error(); |
| 22489 |
| 22490 EventListenerList get progress(); |
| 22491 |
| 22492 EventListenerList get write(); |
| 22493 |
| 22494 EventListenerList get writeEnd(); |
| 22495 |
| 22496 EventListenerList get writeStart(); |
| 22497 } |
| 22317 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 22498 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 22318 // for details. All rights reserved. Use of this source code is governed by a | 22499 // for details. All rights reserved. Use of this source code is governed by a |
| 22319 // BSD-style license that can be found in the LICENSE file. | 22500 // BSD-style license that can be found in the LICENSE file. |
| 22320 | 22501 |
| 22321 // WARNING: Do not edit - generated code. | 22502 // WARNING: Do not edit - generated code. |
| 22322 | 22503 |
| 22323 typedef bool FileWriterCallback(FileWriter fileWriter); | 22504 typedef bool FileWriterCallback(FileWriter fileWriter); |
| 22324 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 22505 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22325 // for details. All rights reserved. Use of this source code is governed by a | 22506 // for details. All rights reserved. Use of this source code is governed by a |
| 22326 // BSD-style license that can be found in the LICENSE file. | 22507 // BSD-style license that can be found in the LICENSE file. |
| (...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 22707 interface IDBCursorWithValue extends IDBCursor { | 22888 interface IDBCursorWithValue extends IDBCursor { |
| 22708 | 22889 |
| 22709 final IDBAny value; | 22890 final IDBAny value; |
| 22710 } | 22891 } |
| 22711 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 22892 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22712 // for details. All rights reserved. Use of this source code is governed by a | 22893 // for details. All rights reserved. Use of this source code is governed by a |
| 22713 // BSD-style license that can be found in the LICENSE file. | 22894 // BSD-style license that can be found in the LICENSE file. |
| 22714 | 22895 |
| 22715 // WARNING: Do not edit - generated code. | 22896 // WARNING: Do not edit - generated code. |
| 22716 | 22897 |
| 22717 interface IDBDatabase { | 22898 interface IDBDatabase extends EventTarget { |
| 22899 |
| 22900 IDBDatabaseEvents get on(); |
| 22718 | 22901 |
| 22719 final String name; | 22902 final String name; |
| 22720 | 22903 |
| 22721 final List<String> objectStoreNames; | 22904 final List<String> objectStoreNames; |
| 22722 | 22905 |
| 22723 EventListener onabort; | |
| 22724 | |
| 22725 EventListener onerror; | |
| 22726 | |
| 22727 EventListener onversionchange; | |
| 22728 | |
| 22729 final String version; | 22906 final String version; |
| 22730 | 22907 |
| 22731 void addEventListener(String type, EventListener listener, [bool useCapture]); | 22908 /** @domName addEventListener */ |
| 22909 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]); |
| 22732 | 22910 |
| 22733 void close(); | 22911 void close(); |
| 22734 | 22912 |
| 22735 IDBObjectStore createObjectStore(String name); | 22913 IDBObjectStore createObjectStore(String name); |
| 22736 | 22914 |
| 22737 void deleteObjectStore(String name); | 22915 void deleteObjectStore(String name); |
| 22738 | 22916 |
| 22739 bool dispatchEvent(Event evt); | 22917 /** @domName dispatchEvent */ |
| 22918 bool $dom_dispatchEvent(Event evt); |
| 22740 | 22919 |
| 22741 void removeEventListener(String type, EventListener listener, [bool useCapture
]); | 22920 /** @domName removeEventListener */ |
| 22921 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]); |
| 22742 | 22922 |
| 22743 IDBVersionChangeRequest setVersion(String version); | 22923 IDBVersionChangeRequest setVersion(String version); |
| 22744 | 22924 |
| 22745 IDBTransaction transaction(var storeName_OR_storeNames, [int mode]); | 22925 IDBTransaction transaction(var storeName_OR_storeNames, [int mode]); |
| 22746 } | 22926 } |
| 22927 |
| 22928 interface IDBDatabaseEvents extends Events { |
| 22929 |
| 22930 EventListenerList get abort(); |
| 22931 |
| 22932 EventListenerList get error(); |
| 22933 |
| 22934 EventListenerList get versionChange(); |
| 22935 } |
| 22747 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 22936 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22748 // for details. All rights reserved. Use of this source code is governed by a | 22937 // for details. All rights reserved. Use of this source code is governed by a |
| 22749 // BSD-style license that can be found in the LICENSE file. | 22938 // BSD-style license that can be found in the LICENSE file. |
| 22750 | 22939 |
| 22751 // WARNING: Do not edit - generated code. | 22940 // WARNING: Do not edit - generated code. |
| 22752 | 22941 |
| 22753 interface IDBDatabaseException { | 22942 interface IDBDatabaseException { |
| 22754 | 22943 |
| 22755 static final int ABORT_ERR = 8; | 22944 static final int ABORT_ERR = 8; |
| 22756 | 22945 |
| (...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 22897 IDBRequest openCursor([IDBKeyRange range, int direction]); | 23086 IDBRequest openCursor([IDBKeyRange range, int direction]); |
| 22898 | 23087 |
| 22899 IDBRequest put(Dynamic value, [IDBKey key]); | 23088 IDBRequest put(Dynamic value, [IDBKey key]); |
| 22900 } | 23089 } |
| 22901 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 23090 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22902 // for details. All rights reserved. Use of this source code is governed by a | 23091 // for details. All rights reserved. Use of this source code is governed by a |
| 22903 // BSD-style license that can be found in the LICENSE file. | 23092 // BSD-style license that can be found in the LICENSE file. |
| 22904 | 23093 |
| 22905 // WARNING: Do not edit - generated code. | 23094 // WARNING: Do not edit - generated code. |
| 22906 | 23095 |
| 22907 interface IDBRequest { | 23096 interface IDBRequest extends EventTarget { |
| 23097 |
| 23098 IDBRequestEvents get on(); |
| 22908 | 23099 |
| 22909 static final int DONE = 2; | 23100 static final int DONE = 2; |
| 22910 | 23101 |
| 22911 static final int LOADING = 1; | 23102 static final int LOADING = 1; |
| 22912 | 23103 |
| 22913 final int errorCode; | 23104 final int errorCode; |
| 22914 | 23105 |
| 22915 EventListener onerror; | |
| 22916 | |
| 22917 EventListener onsuccess; | |
| 22918 | |
| 22919 final int readyState; | 23106 final int readyState; |
| 22920 | 23107 |
| 22921 final IDBAny result; | 23108 final IDBAny result; |
| 22922 | 23109 |
| 22923 final IDBAny source; | 23110 final IDBAny source; |
| 22924 | 23111 |
| 22925 final IDBTransaction transaction; | 23112 final IDBTransaction transaction; |
| 22926 | 23113 |
| 22927 final String webkitErrorMessage; | 23114 final String webkitErrorMessage; |
| 22928 | 23115 |
| 22929 void addEventListener(String type, EventListener listener, [bool useCapture]); | 23116 /** @domName addEventListener */ |
| 23117 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]); |
| 22930 | 23118 |
| 22931 bool dispatchEvent(Event evt); | 23119 /** @domName dispatchEvent */ |
| 23120 bool $dom_dispatchEvent(Event evt); |
| 22932 | 23121 |
| 22933 void removeEventListener(String type, EventListener listener, [bool useCapture
]); | 23122 /** @domName removeEventListener */ |
| 23123 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]); |
| 23124 } |
| 23125 |
| 23126 interface IDBRequestEvents extends Events { |
| 23127 |
| 23128 EventListenerList get error(); |
| 23129 |
| 23130 EventListenerList get success(); |
| 22934 } | 23131 } |
| 22935 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 23132 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22936 // for details. All rights reserved. Use of this source code is governed by a | 23133 // for details. All rights reserved. Use of this source code is governed by a |
| 22937 // BSD-style license that can be found in the LICENSE file. | 23134 // BSD-style license that can be found in the LICENSE file. |
| 22938 | 23135 |
| 22939 // WARNING: Do not edit - generated code. | 23136 // WARNING: Do not edit - generated code. |
| 22940 | 23137 |
| 22941 interface IDBTransaction { | 23138 interface IDBTransaction extends EventTarget { |
| 23139 |
| 23140 IDBTransactionEvents get on(); |
| 22942 | 23141 |
| 22943 static final int READ_ONLY = 0; | 23142 static final int READ_ONLY = 0; |
| 22944 | 23143 |
| 22945 static final int READ_WRITE = 1; | 23144 static final int READ_WRITE = 1; |
| 22946 | 23145 |
| 22947 static final int VERSION_CHANGE = 2; | 23146 static final int VERSION_CHANGE = 2; |
| 22948 | 23147 |
| 22949 final IDBDatabase db; | 23148 final IDBDatabase db; |
| 22950 | 23149 |
| 22951 final int mode; | 23150 final int mode; |
| 22952 | 23151 |
| 22953 EventListener onabort; | |
| 22954 | |
| 22955 EventListener oncomplete; | |
| 22956 | |
| 22957 EventListener onerror; | |
| 22958 | |
| 22959 void abort(); | 23152 void abort(); |
| 22960 | 23153 |
| 22961 void addEventListener(String type, EventListener listener, [bool useCapture]); | 23154 /** @domName addEventListener */ |
| 23155 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]); |
| 22962 | 23156 |
| 22963 bool dispatchEvent(Event evt); | 23157 /** @domName dispatchEvent */ |
| 23158 bool $dom_dispatchEvent(Event evt); |
| 22964 | 23159 |
| 22965 IDBObjectStore objectStore(String name); | 23160 IDBObjectStore objectStore(String name); |
| 22966 | 23161 |
| 22967 void removeEventListener(String type, EventListener listener, [bool useCapture
]); | 23162 /** @domName removeEventListener */ |
| 23163 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]); |
| 23164 } |
| 23165 |
| 23166 interface IDBTransactionEvents extends Events { |
| 23167 |
| 23168 EventListenerList get abort(); |
| 23169 |
| 23170 EventListenerList get complete(); |
| 23171 |
| 23172 EventListenerList get error(); |
| 22968 } | 23173 } |
| 22969 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 23174 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22970 // for details. All rights reserved. Use of this source code is governed by a | 23175 // for details. All rights reserved. Use of this source code is governed by a |
| 22971 // BSD-style license that can be found in the LICENSE file. | 23176 // BSD-style license that can be found in the LICENSE file. |
| 22972 | 23177 |
| 22973 // WARNING: Do not edit - generated code. | 23178 // WARNING: Do not edit - generated code. |
| 22974 | 23179 |
| 22975 interface IDBVersionChangeEvent extends Event { | 23180 interface IDBVersionChangeEvent extends Event { |
| 22976 | 23181 |
| 22977 final String version; | 23182 final String version; |
| 22978 } | 23183 } |
| 22979 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 23184 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22980 // for details. All rights reserved. Use of this source code is governed by a | 23185 // for details. All rights reserved. Use of this source code is governed by a |
| 22981 // BSD-style license that can be found in the LICENSE file. | 23186 // BSD-style license that can be found in the LICENSE file. |
| 22982 | 23187 |
| 22983 // WARNING: Do not edit - generated code. | 23188 // WARNING: Do not edit - generated code. |
| 22984 | 23189 |
| 22985 interface IDBVersionChangeRequest extends IDBRequest { | 23190 interface IDBVersionChangeRequest extends IDBRequest, EventTarget { |
| 22986 | 23191 |
| 22987 EventListener onblocked; | 23192 IDBVersionChangeRequestEvents get on(); |
| 23193 } |
| 23194 |
| 23195 interface IDBVersionChangeRequestEvents extends IDBRequestEvents { |
| 23196 |
| 23197 EventListenerList get blocked(); |
| 22988 } | 23198 } |
| 22989 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 23199 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22990 // for details. All rights reserved. Use of this source code is governed by a | 23200 // for details. All rights reserved. Use of this source code is governed by a |
| 22991 // BSD-style license that can be found in the LICENSE file. | 23201 // BSD-style license that can be found in the LICENSE file. |
| 22992 | 23202 |
| 22993 // WARNING: Do not edit - generated code. | 23203 // WARNING: Do not edit - generated code. |
| 22994 | 23204 |
| 22995 interface IFrameElement extends Element { | 23205 interface IFrameElement extends Element { |
| 22996 | 23206 |
| 22997 String align; | 23207 String align; |
| (...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 23287 void setElements(Object array, [int offset]); | 23497 void setElements(Object array, [int offset]); |
| 23288 | 23498 |
| 23289 Int8Array subarray(int start, [int end]); | 23499 Int8Array subarray(int start, [int end]); |
| 23290 } | 23500 } |
| 23291 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 23501 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23292 // for details. All rights reserved. Use of this source code is governed by a | 23502 // for details. All rights reserved. Use of this source code is governed by a |
| 23293 // BSD-style license that can be found in the LICENSE file. | 23503 // BSD-style license that can be found in the LICENSE file. |
| 23294 | 23504 |
| 23295 // WARNING: Do not edit - generated code. | 23505 // WARNING: Do not edit - generated code. |
| 23296 | 23506 |
| 23297 interface JavaScriptAudioNode extends AudioNode { | 23507 interface JavaScriptAudioNode extends AudioNode, EventTarget { |
| 23508 |
| 23509 JavaScriptAudioNodeEvents get on(); |
| 23298 | 23510 |
| 23299 final int bufferSize; | 23511 final int bufferSize; |
| 23512 } |
| 23300 | 23513 |
| 23301 EventListener onaudioprocess; | 23514 interface JavaScriptAudioNodeEvents extends Events { |
| 23515 |
| 23516 EventListenerList get audioProcess(); |
| 23302 } | 23517 } |
| 23303 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 23518 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23304 // for details. All rights reserved. Use of this source code is governed by a | 23519 // for details. All rights reserved. Use of this source code is governed by a |
| 23305 // BSD-style license that can be found in the LICENSE file. | 23520 // BSD-style license that can be found in the LICENSE file. |
| 23306 | 23521 |
| 23307 // WARNING: Do not edit - generated code. | 23522 // WARNING: Do not edit - generated code. |
| 23308 | 23523 |
| 23309 interface JavaScriptCallFrame { | 23524 interface JavaScriptCallFrame { |
| 23310 | 23525 |
| 23311 static final int CATCH_SCOPE = 4; | 23526 static final int CATCH_SCOPE = 4; |
| (...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 23463 String target; | 23678 String target; |
| 23464 | 23679 |
| 23465 String type; | 23680 String type; |
| 23466 } | 23681 } |
| 23467 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 23682 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23468 // for details. All rights reserved. Use of this source code is governed by a | 23683 // for details. All rights reserved. Use of this source code is governed by a |
| 23469 // BSD-style license that can be found in the LICENSE file. | 23684 // BSD-style license that can be found in the LICENSE file. |
| 23470 | 23685 |
| 23471 // WARNING: Do not edit - generated code. | 23686 // WARNING: Do not edit - generated code. |
| 23472 | 23687 |
| 23473 interface LocalMediaStream extends MediaStream { | 23688 interface LocalMediaStream extends MediaStream, EventTarget { |
| 23474 | 23689 |
| 23475 void stop(); | 23690 void stop(); |
| 23476 } | 23691 } |
| 23477 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 23692 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23478 // for details. All rights reserved. Use of this source code is governed by a | 23693 // for details. All rights reserved. Use of this source code is governed by a |
| 23479 // BSD-style license that can be found in the LICENSE file. | 23694 // BSD-style license that can be found in the LICENSE file. |
| 23480 | 23695 |
| 23481 // WARNING: Do not edit - generated code. | 23696 // WARNING: Do not edit - generated code. |
| 23482 | 23697 |
| 23483 interface Location { | 23698 interface Location { |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 23553 void start(); | 23768 void start(); |
| 23554 | 23769 |
| 23555 void stop(); | 23770 void stop(); |
| 23556 } | 23771 } |
| 23557 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 23772 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23558 // for details. All rights reserved. Use of this source code is governed by a | 23773 // for details. All rights reserved. Use of this source code is governed by a |
| 23559 // BSD-style license that can be found in the LICENSE file. | 23774 // BSD-style license that can be found in the LICENSE file. |
| 23560 | 23775 |
| 23561 // WARNING: Do not edit - generated code. | 23776 // WARNING: Do not edit - generated code. |
| 23562 | 23777 |
| 23563 interface MediaController default _MediaControllerFactoryProvider { | 23778 interface MediaController extends EventTarget default _MediaControllerFactoryPro
vider { |
| 23564 | 23779 |
| 23565 MediaController(); | 23780 MediaController(); |
| 23566 | 23781 |
| 23567 final TimeRanges buffered; | 23782 final TimeRanges buffered; |
| 23568 | 23783 |
| 23569 num currentTime; | 23784 num currentTime; |
| 23570 | 23785 |
| 23571 num defaultPlaybackRate; | 23786 num defaultPlaybackRate; |
| 23572 | 23787 |
| 23573 final num duration; | 23788 final num duration; |
| 23574 | 23789 |
| 23575 bool muted; | 23790 bool muted; |
| 23576 | 23791 |
| 23577 final bool paused; | 23792 final bool paused; |
| 23578 | 23793 |
| 23579 num playbackRate; | 23794 num playbackRate; |
| 23580 | 23795 |
| 23581 final TimeRanges played; | 23796 final TimeRanges played; |
| 23582 | 23797 |
| 23583 final TimeRanges seekable; | 23798 final TimeRanges seekable; |
| 23584 | 23799 |
| 23585 num volume; | 23800 num volume; |
| 23586 | 23801 |
| 23587 void addEventListener(String type, EventListener listener, [bool useCapture]); | 23802 /** @domName addEventListener */ |
| 23803 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]); |
| 23588 | 23804 |
| 23589 bool dispatchEvent(Event evt); | 23805 /** @domName dispatchEvent */ |
| 23806 bool $dom_dispatchEvent(Event evt); |
| 23590 | 23807 |
| 23591 void pause(); | 23808 void pause(); |
| 23592 | 23809 |
| 23593 void play(); | 23810 void play(); |
| 23594 | 23811 |
| 23595 void removeEventListener(String type, EventListener listener, [bool useCapture
]); | 23812 /** @domName removeEventListener */ |
| 23813 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]); |
| 23596 } | 23814 } |
| 23597 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 23815 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23598 // for details. All rights reserved. Use of this source code is governed by a | 23816 // for details. All rights reserved. Use of this source code is governed by a |
| 23599 // BSD-style license that can be found in the LICENSE file. | 23817 // BSD-style license that can be found in the LICENSE file. |
| 23600 | 23818 |
| 23601 // WARNING: Do not edit - generated code. | 23819 // WARNING: Do not edit - generated code. |
| 23602 | 23820 |
| 23603 interface MediaElement extends Element { | 23821 interface MediaElement extends Element { |
| 23604 | 23822 |
| 23605 static final int EOS_DECODE_ERR = 2; | 23823 static final int EOS_DECODE_ERR = 2; |
| (...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 23785 interface MediaQueryListListener { | 24003 interface MediaQueryListListener { |
| 23786 | 24004 |
| 23787 void queryChanged(MediaQueryList list); | 24005 void queryChanged(MediaQueryList list); |
| 23788 } | 24006 } |
| 23789 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 24007 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23790 // for details. All rights reserved. Use of this source code is governed by a | 24008 // for details. All rights reserved. Use of this source code is governed by a |
| 23791 // BSD-style license that can be found in the LICENSE file. | 24009 // BSD-style license that can be found in the LICENSE file. |
| 23792 | 24010 |
| 23793 // WARNING: Do not edit - generated code. | 24011 // WARNING: Do not edit - generated code. |
| 23794 | 24012 |
| 23795 interface MediaStream default _MediaStreamFactoryProvider { | 24013 interface MediaStream extends EventTarget default _MediaStreamFactoryProvider { |
| 23796 | 24014 |
| 23797 MediaStream(MediaStreamTrackList audioTracks, MediaStreamTrackList videoTracks
); | 24015 MediaStream(MediaStreamTrackList audioTracks, MediaStreamTrackList videoTracks
); |
| 23798 | 24016 |
| 24017 MediaStreamEvents get on(); |
| 24018 |
| 23799 static final int ENDED = 2; | 24019 static final int ENDED = 2; |
| 23800 | 24020 |
| 23801 static final int LIVE = 1; | 24021 static final int LIVE = 1; |
| 23802 | 24022 |
| 23803 final MediaStreamTrackList audioTracks; | 24023 final MediaStreamTrackList audioTracks; |
| 23804 | 24024 |
| 23805 final String label; | 24025 final String label; |
| 23806 | 24026 |
| 23807 EventListener onended; | |
| 23808 | |
| 23809 final int readyState; | 24027 final int readyState; |
| 23810 | 24028 |
| 23811 final MediaStreamTrackList videoTracks; | 24029 final MediaStreamTrackList videoTracks; |
| 23812 | 24030 |
| 23813 void addEventListener(String type, EventListener listener, [bool useCapture]); | 24031 /** @domName addEventListener */ |
| 24032 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]); |
| 23814 | 24033 |
| 23815 bool dispatchEvent(Event event); | 24034 /** @domName dispatchEvent */ |
| 24035 bool $dom_dispatchEvent(Event event); |
| 23816 | 24036 |
| 23817 void removeEventListener(String type, EventListener listener, [bool useCapture
]); | 24037 /** @domName removeEventListener */ |
| 24038 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]); |
| 24039 } |
| 24040 |
| 24041 interface MediaStreamEvents extends Events { |
| 24042 |
| 24043 EventListenerList get ended(); |
| 23818 } | 24044 } |
| 23819 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 24045 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23820 // for details. All rights reserved. Use of this source code is governed by a | 24046 // for details. All rights reserved. Use of this source code is governed by a |
| 23821 // BSD-style license that can be found in the LICENSE file. | 24047 // BSD-style license that can be found in the LICENSE file. |
| 23822 | 24048 |
| 23823 // WARNING: Do not edit - generated code. | 24049 // WARNING: Do not edit - generated code. |
| 23824 | 24050 |
| 23825 interface MediaStreamEvent extends Event { | 24051 interface MediaStreamEvent extends Event { |
| 23826 | 24052 |
| 23827 final MediaStream stream; | 24053 final MediaStream stream; |
| (...skipping 950 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 24778 String value; | 25004 String value; |
| 24779 | 25005 |
| 24780 String valueType; | 25006 String valueType; |
| 24781 } | 25007 } |
| 24782 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 25008 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24783 // for details. All rights reserved. Use of this source code is governed by a | 25009 // for details. All rights reserved. Use of this source code is governed by a |
| 24784 // BSD-style license that can be found in the LICENSE file. | 25010 // BSD-style license that can be found in the LICENSE file. |
| 24785 | 25011 |
| 24786 // WARNING: Do not edit - generated code. | 25012 // WARNING: Do not edit - generated code. |
| 24787 | 25013 |
| 24788 interface PeerConnection00 default _PeerConnection00FactoryProvider { | 25014 interface PeerConnection00 extends EventTarget default _PeerConnection00FactoryP
rovider { |
| 24789 | 25015 |
| 24790 PeerConnection00(String serverConfiguration, IceCallback iceCallback); | 25016 PeerConnection00(String serverConfiguration, IceCallback iceCallback); |
| 24791 | 25017 |
| 25018 PeerConnection00Events get on(); |
| 25019 |
| 24792 static final int ACTIVE = 2; | 25020 static final int ACTIVE = 2; |
| 24793 | 25021 |
| 24794 static final int CLOSED = 3; | 25022 static final int CLOSED = 3; |
| 24795 | 25023 |
| 24796 static final int ICE_CHECKING = 0x300; | 25024 static final int ICE_CHECKING = 0x300; |
| 24797 | 25025 |
| 24798 static final int ICE_CLOSED = 0x700; | 25026 static final int ICE_CLOSED = 0x700; |
| 24799 | 25027 |
| 24800 static final int ICE_COMPLETED = 0x500; | 25028 static final int ICE_COMPLETED = 0x500; |
| 24801 | 25029 |
| (...skipping 14 matching lines...) Expand all Loading... |
| 24816 static final int SDP_OFFER = 0x100; | 25044 static final int SDP_OFFER = 0x100; |
| 24817 | 25045 |
| 24818 static final int SDP_PRANSWER = 0x200; | 25046 static final int SDP_PRANSWER = 0x200; |
| 24819 | 25047 |
| 24820 final int iceState; | 25048 final int iceState; |
| 24821 | 25049 |
| 24822 final SessionDescription localDescription; | 25050 final SessionDescription localDescription; |
| 24823 | 25051 |
| 24824 final MediaStreamList localStreams; | 25052 final MediaStreamList localStreams; |
| 24825 | 25053 |
| 24826 EventListener onaddstream; | |
| 24827 | |
| 24828 EventListener onconnecting; | |
| 24829 | |
| 24830 EventListener onopen; | |
| 24831 | |
| 24832 EventListener onremovestream; | |
| 24833 | |
| 24834 EventListener onstatechange; | |
| 24835 | |
| 24836 final int readyState; | 25054 final int readyState; |
| 24837 | 25055 |
| 24838 final SessionDescription remoteDescription; | 25056 final SessionDescription remoteDescription; |
| 24839 | 25057 |
| 24840 final MediaStreamList remoteStreams; | 25058 final MediaStreamList remoteStreams; |
| 24841 | 25059 |
| 24842 void addEventListener(String type, EventListener listener, [bool useCapture]); | 25060 /** @domName addEventListener */ |
| 25061 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]); |
| 24843 | 25062 |
| 24844 void addStream(MediaStream stream, [String mediaStreamHints]); | 25063 void addStream(MediaStream stream, [String mediaStreamHints]); |
| 24845 | 25064 |
| 24846 void close(); | 25065 void close(); |
| 24847 | 25066 |
| 24848 SessionDescription createAnswer(String offer, [String mediaHints]); | 25067 SessionDescription createAnswer(String offer, [String mediaHints]); |
| 24849 | 25068 |
| 24850 SessionDescription createOffer([String mediaHints]); | 25069 SessionDescription createOffer([String mediaHints]); |
| 24851 | 25070 |
| 24852 bool dispatchEvent(Event event); | 25071 /** @domName dispatchEvent */ |
| 25072 bool $dom_dispatchEvent(Event event); |
| 24853 | 25073 |
| 24854 void processIceMessage(IceCandidate candidate); | 25074 void processIceMessage(IceCandidate candidate); |
| 24855 | 25075 |
| 24856 void removeEventListener(String type, EventListener listener, [bool useCapture
]); | 25076 /** @domName removeEventListener */ |
| 25077 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]); |
| 24857 | 25078 |
| 24858 void removeStream(MediaStream stream); | 25079 void removeStream(MediaStream stream); |
| 24859 | 25080 |
| 24860 void setLocalDescription(int action, SessionDescription desc); | 25081 void setLocalDescription(int action, SessionDescription desc); |
| 24861 | 25082 |
| 24862 void setRemoteDescription(int action, SessionDescription desc); | 25083 void setRemoteDescription(int action, SessionDescription desc); |
| 24863 | 25084 |
| 24864 void startIce([String iceOptions]); | 25085 void startIce([String iceOptions]); |
| 24865 } | 25086 } |
| 25087 |
| 25088 interface PeerConnection00Events extends Events { |
| 25089 |
| 25090 EventListenerList get addStream(); |
| 25091 |
| 25092 EventListenerList get connecting(); |
| 25093 |
| 25094 EventListenerList get open(); |
| 25095 |
| 25096 EventListenerList get removeStream(); |
| 25097 |
| 25098 EventListenerList get stateChange(); |
| 25099 } |
| 24866 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 25100 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24867 // for details. All rights reserved. Use of this source code is governed by a | 25101 // for details. All rights reserved. Use of this source code is governed by a |
| 24868 // BSD-style license that can be found in the LICENSE file. | 25102 // BSD-style license that can be found in the LICENSE file. |
| 24869 | 25103 |
| 24870 // WARNING: Do not edit - generated code. | 25104 // WARNING: Do not edit - generated code. |
| 24871 | 25105 |
| 24872 interface Performance { | 25106 interface Performance { |
| 24873 | 25107 |
| 24874 final MemoryInfo memory; | 25108 final MemoryInfo memory; |
| 24875 | 25109 |
| (...skipping 898 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 25774 | 26008 |
| 25775 String xmlbase; | 26009 String xmlbase; |
| 25776 | 26010 |
| 25777 } | 26011 } |
| 25778 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 26012 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25779 // for details. All rights reserved. Use of this source code is governed by a | 26013 // for details. All rights reserved. Use of this source code is governed by a |
| 25780 // BSD-style license that can be found in the LICENSE file. | 26014 // BSD-style license that can be found in the LICENSE file. |
| 25781 | 26015 |
| 25782 // WARNING: Do not edit - generated code. | 26016 // WARNING: Do not edit - generated code. |
| 25783 | 26017 |
| 25784 interface SVGElementInstance extends EventTarget { | 26018 interface SVGElementInstance { |
| 25785 | 26019 |
| 25786 SVGElementInstanceEvents get on(); | 26020 SVGElementInstanceEvents get on(); |
| 25787 | 26021 |
| 25788 final SVGElementInstanceList childNodes; | 26022 final SVGElementInstanceList childNodes; |
| 25789 | 26023 |
| 25790 final SVGElement correspondingElement; | 26024 final SVGElement correspondingElement; |
| 25791 | 26025 |
| 25792 final SVGUseElement correspondingUseElement; | 26026 final SVGUseElement correspondingUseElement; |
| 25793 | 26027 |
| 25794 final SVGElementInstance firstChild; | 26028 final SVGElementInstance firstChild; |
| 25795 | 26029 |
| 25796 final SVGElementInstance lastChild; | 26030 final SVGElementInstance lastChild; |
| 25797 | 26031 |
| 25798 final SVGElementInstance nextSibling; | 26032 final SVGElementInstance nextSibling; |
| 25799 | 26033 |
| 25800 final SVGElementInstance parentNode; | 26034 final SVGElementInstance parentNode; |
| 25801 | 26035 |
| 25802 final SVGElementInstance previousSibling; | 26036 final SVGElementInstance previousSibling; |
| 25803 | 26037 |
| 25804 /** @domName addEventListener */ | 26038 void addEventListener(String type, EventListener listener, [bool useCapture]); |
| 25805 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]); | |
| 25806 | 26039 |
| 25807 /** @domName dispatchEvent */ | 26040 bool dispatchEvent(Event event); |
| 25808 bool $dom_dispatchEvent(Event event); | |
| 25809 | 26041 |
| 25810 /** @domName removeEventListener */ | 26042 void removeEventListener(String type, EventListener listener, [bool useCapture
]); |
| 25811 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]); | |
| 25812 } | 26043 } |
| 25813 | 26044 |
| 25814 interface SVGElementInstanceEvents extends Events { | 26045 interface SVGElementInstanceEvents extends Events { |
| 25815 | 26046 |
| 25816 EventListenerList get abort(); | 26047 EventListenerList get abort(); |
| 25817 | 26048 |
| 25818 EventListenerList get beforeCopy(); | 26049 EventListenerList get beforeCopy(); |
| 25819 | 26050 |
| 25820 EventListenerList get beforeCut(); | 26051 EventListenerList get beforeCut(); |
| 25821 | 26052 |
| (...skipping 2399 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 28221 final MessagePort port; | 28452 final MessagePort port; |
| 28222 } | 28453 } |
| 28223 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 28454 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 28224 // for details. All rights reserved. Use of this source code is governed by a | 28455 // for details. All rights reserved. Use of this source code is governed by a |
| 28225 // BSD-style license that can be found in the LICENSE file. | 28456 // BSD-style license that can be found in the LICENSE file. |
| 28226 | 28457 |
| 28227 // WARNING: Do not edit - generated code. | 28458 // WARNING: Do not edit - generated code. |
| 28228 | 28459 |
| 28229 interface SharedWorkerContext extends WorkerContext { | 28460 interface SharedWorkerContext extends WorkerContext { |
| 28230 | 28461 |
| 28462 SharedWorkerContextEvents get on(); |
| 28463 |
| 28231 final String name; | 28464 final String name; |
| 28465 } |
| 28232 | 28466 |
| 28233 EventListener onconnect; | 28467 interface SharedWorkerContextEvents extends WorkerContextEvents { |
| 28468 |
| 28469 EventListenerList get connect(); |
| 28234 } | 28470 } |
| 28235 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 28471 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 28236 // for details. All rights reserved. Use of this source code is governed by a | 28472 // for details. All rights reserved. Use of this source code is governed by a |
| 28237 // BSD-style license that can be found in the LICENSE file. | 28473 // BSD-style license that can be found in the LICENSE file. |
| 28238 | 28474 |
| 28239 // WARNING: Do not edit - generated code. | 28475 // WARNING: Do not edit - generated code. |
| 28240 | 28476 |
| 28241 typedef bool SignalingCallback(String message, DeprecatedPeerConnection source); | 28477 typedef bool SignalingCallback(String message, DeprecatedPeerConnection source); |
| 28242 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 28478 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 28243 // for details. All rights reserved. Use of this source code is governed by a | 28479 // for details. All rights reserved. Use of this source code is governed by a |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 28326 final int length; | 28562 final int length; |
| 28327 | 28563 |
| 28328 SpeechInputResult item(int index); | 28564 SpeechInputResult item(int index); |
| 28329 } | 28565 } |
| 28330 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 28566 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 28331 // for details. All rights reserved. Use of this source code is governed by a | 28567 // for details. All rights reserved. Use of this source code is governed by a |
| 28332 // BSD-style license that can be found in the LICENSE file. | 28568 // BSD-style license that can be found in the LICENSE file. |
| 28333 | 28569 |
| 28334 // WARNING: Do not edit - generated code. | 28570 // WARNING: Do not edit - generated code. |
| 28335 | 28571 |
| 28336 interface SpeechRecognition default _SpeechRecognitionFactoryProvider { | 28572 interface SpeechRecognition extends EventTarget default _SpeechRecognitionFactor
yProvider { |
| 28337 | 28573 |
| 28338 SpeechRecognition(); | 28574 SpeechRecognition(); |
| 28339 | 28575 |
| 28576 SpeechRecognitionEvents get on(); |
| 28577 |
| 28340 bool continuous; | 28578 bool continuous; |
| 28341 | 28579 |
| 28342 SpeechGrammarList grammars; | 28580 SpeechGrammarList grammars; |
| 28343 | 28581 |
| 28344 String lang; | 28582 String lang; |
| 28345 | 28583 |
| 28346 EventListener onaudioend; | |
| 28347 | |
| 28348 EventListener onaudiostart; | |
| 28349 | |
| 28350 EventListener onend; | |
| 28351 | |
| 28352 EventListener onerror; | |
| 28353 | |
| 28354 EventListener onnomatch; | |
| 28355 | |
| 28356 EventListener onresult; | |
| 28357 | |
| 28358 EventListener onresultdeleted; | |
| 28359 | |
| 28360 EventListener onsoundend; | |
| 28361 | |
| 28362 EventListener onsoundstart; | |
| 28363 | |
| 28364 EventListener onspeechend; | |
| 28365 | |
| 28366 EventListener onspeechstart; | |
| 28367 | |
| 28368 EventListener onstart; | |
| 28369 | |
| 28370 void abort(); | 28584 void abort(); |
| 28371 | 28585 |
| 28372 void start(); | 28586 void start(); |
| 28373 | 28587 |
| 28374 void stop(); | 28588 void stop(); |
| 28375 } | 28589 } |
| 28590 |
| 28591 interface SpeechRecognitionEvents extends Events { |
| 28592 |
| 28593 EventListenerList get audioEnd(); |
| 28594 |
| 28595 EventListenerList get audioStart(); |
| 28596 |
| 28597 EventListenerList get end(); |
| 28598 |
| 28599 EventListenerList get error(); |
| 28600 |
| 28601 EventListenerList get noMatch(); |
| 28602 |
| 28603 EventListenerList get result(); |
| 28604 |
| 28605 EventListenerList get resultDeleted(); |
| 28606 |
| 28607 EventListenerList get soundEnd(); |
| 28608 |
| 28609 EventListenerList get soundStart(); |
| 28610 |
| 28611 EventListenerList get speechEnd(); |
| 28612 |
| 28613 EventListenerList get speechStart(); |
| 28614 |
| 28615 EventListenerList get start(); |
| 28616 } |
| 28376 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 28617 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 28377 // for details. All rights reserved. Use of this source code is governed by a | 28618 // for details. All rights reserved. Use of this source code is governed by a |
| 28378 // BSD-style license that can be found in the LICENSE file. | 28619 // BSD-style license that can be found in the LICENSE file. |
| 28379 | 28620 |
| 28380 // WARNING: Do not edit - generated code. | 28621 // WARNING: Do not edit - generated code. |
| 28381 | 28622 |
| 28382 interface SpeechRecognitionAlternative { | 28623 interface SpeechRecognitionAlternative { |
| 28383 | 28624 |
| 28384 final num confidence; | 28625 final num confidence; |
| 28385 | 28626 |
| (...skipping 489 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 28875 interface TextMetrics { | 29116 interface TextMetrics { |
| 28876 | 29117 |
| 28877 final num width; | 29118 final num width; |
| 28878 } | 29119 } |
| 28879 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 29120 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 28880 // for details. All rights reserved. Use of this source code is governed by a | 29121 // for details. All rights reserved. Use of this source code is governed by a |
| 28881 // BSD-style license that can be found in the LICENSE file. | 29122 // BSD-style license that can be found in the LICENSE file. |
| 28882 | 29123 |
| 28883 // WARNING: Do not edit - generated code. | 29124 // WARNING: Do not edit - generated code. |
| 28884 | 29125 |
| 28885 interface TextTrack { | 29126 interface TextTrack extends EventTarget { |
| 29127 |
| 29128 TextTrackEvents get on(); |
| 28886 | 29129 |
| 28887 static final int DISABLED = 0; | 29130 static final int DISABLED = 0; |
| 28888 | 29131 |
| 28889 static final int HIDDEN = 1; | 29132 static final int HIDDEN = 1; |
| 28890 | 29133 |
| 28891 static final int SHOWING = 2; | 29134 static final int SHOWING = 2; |
| 28892 | 29135 |
| 28893 final TextTrackCueList activeCues; | 29136 final TextTrackCueList activeCues; |
| 28894 | 29137 |
| 28895 final TextTrackCueList cues; | 29138 final TextTrackCueList cues; |
| 28896 | 29139 |
| 28897 final String kind; | 29140 final String kind; |
| 28898 | 29141 |
| 28899 final String label; | 29142 final String label; |
| 28900 | 29143 |
| 28901 final String language; | 29144 final String language; |
| 28902 | 29145 |
| 28903 int mode; | 29146 int mode; |
| 28904 | 29147 |
| 28905 EventListener oncuechange; | |
| 28906 | |
| 28907 void addCue(TextTrackCue cue); | 29148 void addCue(TextTrackCue cue); |
| 28908 | 29149 |
| 28909 void addEventListener(String type, EventListener listener, [bool useCapture]); | 29150 /** @domName addEventListener */ |
| 29151 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]); |
| 28910 | 29152 |
| 28911 bool dispatchEvent(Event evt); | 29153 /** @domName dispatchEvent */ |
| 29154 bool $dom_dispatchEvent(Event evt); |
| 28912 | 29155 |
| 28913 void removeCue(TextTrackCue cue); | 29156 void removeCue(TextTrackCue cue); |
| 28914 | 29157 |
| 28915 void removeEventListener(String type, EventListener listener, [bool useCapture
]); | 29158 /** @domName removeEventListener */ |
| 29159 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]); |
| 29160 } |
| 29161 |
| 29162 interface TextTrackEvents extends Events { |
| 29163 |
| 29164 EventListenerList get cueChange(); |
| 28916 } | 29165 } |
| 28917 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 29166 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 28918 // for details. All rights reserved. Use of this source code is governed by a | 29167 // for details. All rights reserved. Use of this source code is governed by a |
| 28919 // BSD-style license that can be found in the LICENSE file. | 29168 // BSD-style license that can be found in the LICENSE file. |
| 28920 | 29169 |
| 28921 // WARNING: Do not edit - generated code. | 29170 // WARNING: Do not edit - generated code. |
| 28922 | 29171 |
| 28923 interface TextTrackCue default _TextTrackCueFactoryProvider { | 29172 interface TextTrackCue extends EventTarget default _TextTrackCueFactoryProvider
{ |
| 28924 | 29173 |
| 28925 TextTrackCue(String id, num startTime, num endTime, String text, [String setti
ngs, bool pauseOnExit]); | 29174 TextTrackCue(String id, num startTime, num endTime, String text, [String setti
ngs, bool pauseOnExit]); |
| 28926 | 29175 |
| 29176 TextTrackCueEvents get on(); |
| 29177 |
| 28927 String align; | 29178 String align; |
| 28928 | 29179 |
| 28929 num endTime; | 29180 num endTime; |
| 28930 | 29181 |
| 28931 String id; | 29182 String id; |
| 28932 | 29183 |
| 28933 int line; | 29184 int line; |
| 28934 | 29185 |
| 28935 EventListener onenter; | |
| 28936 | |
| 28937 EventListener onexit; | |
| 28938 | |
| 28939 bool pauseOnExit; | 29186 bool pauseOnExit; |
| 28940 | 29187 |
| 28941 int position; | 29188 int position; |
| 28942 | 29189 |
| 28943 int size; | 29190 int size; |
| 28944 | 29191 |
| 28945 bool snapToLines; | 29192 bool snapToLines; |
| 28946 | 29193 |
| 28947 num startTime; | 29194 num startTime; |
| 28948 | 29195 |
| 28949 String text; | 29196 String text; |
| 28950 | 29197 |
| 28951 final TextTrack track; | 29198 final TextTrack track; |
| 28952 | 29199 |
| 28953 String vertical; | 29200 String vertical; |
| 28954 | 29201 |
| 28955 void addEventListener(String type, EventListener listener, [bool useCapture]); | 29202 /** @domName addEventListener */ |
| 29203 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]); |
| 28956 | 29204 |
| 28957 bool dispatchEvent(Event evt); | 29205 /** @domName dispatchEvent */ |
| 29206 bool $dom_dispatchEvent(Event evt); |
| 28958 | 29207 |
| 28959 DocumentFragment getCueAsHTML(); | 29208 DocumentFragment getCueAsHTML(); |
| 28960 | 29209 |
| 28961 void removeEventListener(String type, EventListener listener, [bool useCapture
]); | 29210 /** @domName removeEventListener */ |
| 29211 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]); |
| 29212 } |
| 29213 |
| 29214 interface TextTrackCueEvents extends Events { |
| 29215 |
| 29216 EventListenerList get enter(); |
| 29217 |
| 29218 EventListenerList get exit(); |
| 28962 } | 29219 } |
| 28963 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 29220 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 28964 // for details. All rights reserved. Use of this source code is governed by a | 29221 // for details. All rights reserved. Use of this source code is governed by a |
| 28965 // BSD-style license that can be found in the LICENSE file. | 29222 // BSD-style license that can be found in the LICENSE file. |
| 28966 | 29223 |
| 28967 // WARNING: Do not edit - generated code. | 29224 // WARNING: Do not edit - generated code. |
| 28968 | 29225 |
| 28969 interface TextTrackCueList { | 29226 interface TextTrackCueList { |
| 28970 | 29227 |
| 28971 final int length; | 29228 final int length; |
| 28972 | 29229 |
| 28973 TextTrackCue getCueById(String id); | 29230 TextTrackCue getCueById(String id); |
| 28974 | 29231 |
| 28975 TextTrackCue item(int index); | 29232 TextTrackCue item(int index); |
| 28976 } | 29233 } |
| 28977 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 29234 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 28978 // for details. All rights reserved. Use of this source code is governed by a | 29235 // for details. All rights reserved. Use of this source code is governed by a |
| 28979 // BSD-style license that can be found in the LICENSE file. | 29236 // BSD-style license that can be found in the LICENSE file. |
| 28980 | 29237 |
| 28981 // WARNING: Do not edit - generated code. | 29238 // WARNING: Do not edit - generated code. |
| 28982 | 29239 |
| 28983 interface TextTrackList { | 29240 interface TextTrackList extends EventTarget { |
| 29241 |
| 29242 TextTrackListEvents get on(); |
| 28984 | 29243 |
| 28985 final int length; | 29244 final int length; |
| 28986 | 29245 |
| 28987 EventListener onaddtrack; | 29246 /** @domName addEventListener */ |
| 29247 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]); |
| 28988 | 29248 |
| 28989 void addEventListener(String type, EventListener listener, [bool useCapture]); | 29249 /** @domName dispatchEvent */ |
| 28990 | 29250 bool $dom_dispatchEvent(Event evt); |
| 28991 bool dispatchEvent(Event evt); | |
| 28992 | 29251 |
| 28993 TextTrack item(int index); | 29252 TextTrack item(int index); |
| 28994 | 29253 |
| 28995 void removeEventListener(String type, EventListener listener, [bool useCapture
]); | 29254 /** @domName removeEventListener */ |
| 29255 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]); |
| 29256 } |
| 29257 |
| 29258 interface TextTrackListEvents extends Events { |
| 29259 |
| 29260 EventListenerList get addTrack(); |
| 28996 } | 29261 } |
| 28997 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 29262 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 28998 // for details. All rights reserved. Use of this source code is governed by a | 29263 // for details. All rights reserved. Use of this source code is governed by a |
| 28999 // BSD-style license that can be found in the LICENSE file. | 29264 // BSD-style license that can be found in the LICENSE file. |
| 29000 | 29265 |
| 29001 // WARNING: Do not edit - generated code. | 29266 // WARNING: Do not edit - generated code. |
| 29002 | 29267 |
| 29003 interface TimeRanges { | 29268 interface TimeRanges { |
| 29004 | 29269 |
| 29005 final int length; | 29270 final int length; |
| (...skipping 1954 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 30960 interface WorkerEvents extends AbstractWorkerEvents { | 31225 interface WorkerEvents extends AbstractWorkerEvents { |
| 30961 | 31226 |
| 30962 EventListenerList get message(); | 31227 EventListenerList get message(); |
| 30963 } | 31228 } |
| 30964 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 31229 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 30965 // for details. All rights reserved. Use of this source code is governed by a | 31230 // for details. All rights reserved. Use of this source code is governed by a |
| 30966 // BSD-style license that can be found in the LICENSE file. | 31231 // BSD-style license that can be found in the LICENSE file. |
| 30967 | 31232 |
| 30968 // WARNING: Do not edit - generated code. | 31233 // WARNING: Do not edit - generated code. |
| 30969 | 31234 |
| 30970 interface WorkerContext { | 31235 interface WorkerContext extends EventTarget { |
| 31236 |
| 31237 WorkerContextEvents get on(); |
| 30971 | 31238 |
| 30972 static final int PERSISTENT = 1; | 31239 static final int PERSISTENT = 1; |
| 30973 | 31240 |
| 30974 static final int TEMPORARY = 0; | 31241 static final int TEMPORARY = 0; |
| 30975 | 31242 |
| 30976 final WorkerLocation location; | 31243 final WorkerLocation location; |
| 30977 | 31244 |
| 30978 final WorkerNavigator navigator; | 31245 final WorkerNavigator navigator; |
| 30979 | 31246 |
| 30980 EventListener onerror; | |
| 30981 | |
| 30982 final WorkerContext self; | 31247 final WorkerContext self; |
| 30983 | 31248 |
| 30984 final IDBFactory webkitIndexedDB; | 31249 final IDBFactory webkitIndexedDB; |
| 30985 | 31250 |
| 30986 final NotificationCenter webkitNotifications; | 31251 final NotificationCenter webkitNotifications; |
| 30987 | 31252 |
| 30988 void addEventListener(String type, EventListener listener, [bool useCapture]); | 31253 /** @domName addEventListener */ |
| 31254 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]); |
| 30989 | 31255 |
| 30990 void clearInterval(int handle); | 31256 void clearInterval(int handle); |
| 30991 | 31257 |
| 30992 void clearTimeout(int handle); | 31258 void clearTimeout(int handle); |
| 30993 | 31259 |
| 30994 void close(); | 31260 void close(); |
| 30995 | 31261 |
| 30996 bool dispatchEvent(Event evt); | 31262 /** @domName dispatchEvent */ |
| 31263 bool $dom_dispatchEvent(Event evt); |
| 30997 | 31264 |
| 30998 void importScripts(); | 31265 void importScripts(); |
| 30999 | 31266 |
| 31000 Database openDatabase(String name, String version, String displayName, int est
imatedSize, [DatabaseCallback creationCallback]); | 31267 Database openDatabase(String name, String version, String displayName, int est
imatedSize, [DatabaseCallback creationCallback]); |
| 31001 | 31268 |
| 31002 DatabaseSync openDatabaseSync(String name, String version, String displayName,
int estimatedSize, [DatabaseCallback creationCallback]); | 31269 DatabaseSync openDatabaseSync(String name, String version, String displayName,
int estimatedSize, [DatabaseCallback creationCallback]); |
| 31003 | 31270 |
| 31004 void removeEventListener(String type, EventListener listener, [bool useCapture
]); | 31271 /** @domName removeEventListener */ |
| 31272 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]); |
| 31005 | 31273 |
| 31006 int setInterval(TimeoutHandler handler, int timeout); | 31274 int setInterval(TimeoutHandler handler, int timeout); |
| 31007 | 31275 |
| 31008 int setTimeout(TimeoutHandler handler, int timeout); | 31276 int setTimeout(TimeoutHandler handler, int timeout); |
| 31009 | 31277 |
| 31010 void webkitRequestFileSystem(int type, int size, [FileSystemCallback successCa
llback, ErrorCallback errorCallback]); | 31278 void webkitRequestFileSystem(int type, int size, [FileSystemCallback successCa
llback, ErrorCallback errorCallback]); |
| 31011 | 31279 |
| 31012 DOMFileSystemSync webkitRequestFileSystemSync(int type, int size); | 31280 DOMFileSystemSync webkitRequestFileSystemSync(int type, int size); |
| 31013 | 31281 |
| 31014 EntrySync webkitResolveLocalFileSystemSyncURL(String url); | 31282 EntrySync webkitResolveLocalFileSystemSyncURL(String url); |
| 31015 | 31283 |
| 31016 void webkitResolveLocalFileSystemURL(String url, [EntryCallback successCallbac
k, ErrorCallback errorCallback]); | 31284 void webkitResolveLocalFileSystemURL(String url, [EntryCallback successCallbac
k, ErrorCallback errorCallback]); |
| 31017 } | 31285 } |
| 31286 |
| 31287 interface WorkerContextEvents extends Events { |
| 31288 |
| 31289 EventListenerList get error(); |
| 31290 } |
| 31018 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 31291 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 31019 // for details. All rights reserved. Use of this source code is governed by a | 31292 // for details. All rights reserved. Use of this source code is governed by a |
| 31020 // BSD-style license that can be found in the LICENSE file. | 31293 // BSD-style license that can be found in the LICENSE file. |
| 31021 | 31294 |
| 31022 // WARNING: Do not edit - generated code. | 31295 // WARNING: Do not edit - generated code. |
| 31023 | 31296 |
| 31024 interface WorkerLocation { | 31297 interface WorkerLocation { |
| 31025 | 31298 |
| 31026 final String hash; | 31299 final String hash; |
| 31027 | 31300 |
| (...skipping 1469 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 32497 if (length < 0) throw new IllegalArgumentException('length'); | 32770 if (length < 0) throw new IllegalArgumentException('length'); |
| 32498 if (start < 0) throw new IndexOutOfRangeException(start); | 32771 if (start < 0) throw new IndexOutOfRangeException(start); |
| 32499 int end = start + length; | 32772 int end = start + length; |
| 32500 if (end > a.length) throw new IndexOutOfRangeException(end); | 32773 if (end > a.length) throw new IndexOutOfRangeException(end); |
| 32501 for (int i = start; i < end; i++) { | 32774 for (int i = start; i < end; i++) { |
| 32502 accumulator.add(a[i]); | 32775 accumulator.add(a[i]); |
| 32503 } | 32776 } |
| 32504 return accumulator; | 32777 return accumulator; |
| 32505 } | 32778 } |
| 32506 } | 32779 } |
| OLD | NEW |