| Index: lib/html/dartium/html_dartium.dart
|
| diff --git a/lib/html/dartium/html_dartium.dart b/lib/html/dartium/html_dartium.dart
|
| index 804f70d5dfebfd2a5b741f942daccdafb46a6333..f7ae3a3f5330a5ea3abb0677e3f39baa943ccbbb 100644
|
| --- a/lib/html/dartium/html_dartium.dart
|
| +++ b/lib/html/dartium/html_dartium.dart
|
| @@ -61,175 +61,754 @@ _callPortSync(num id, var message) {
|
| _callPortLastResult = null;
|
| return result;
|
| }
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
|
|
| -class _AbstractWorkerEventsImpl extends _EventsImpl implements AbstractWorkerEvents {
|
| - _AbstractWorkerEventsImpl(_ptr) : super(_ptr);
|
| -
|
| - EventListenerList get error => this['error'];
|
| +class _ArrayBufferFactoryProvider {
|
| + factory ArrayBuffer(int length) => _createArrayBuffer(length);
|
| + static ArrayBuffer _createArrayBuffer(int length) native "ArrayBuffer_constructor_Callback";
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -// WARNING: Do not edit - generated code.
|
| -
|
| -class _AbstractWorkerImpl extends _EventTargetImpl implements AbstractWorker {
|
| -
|
| - _AbstractWorkerEventsImpl get on =>
|
| - new _AbstractWorkerEventsImpl(this);
|
| -
|
| - void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native "AbstractWorker_addEventListener_Callback";
|
| -
|
| - bool $dom_dispatchEvent(Event evt) native "AbstractWorker_dispatchEvent_Callback";
|
| -
|
| - void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native "AbstractWorker_removeEventListener_Callback";
|
| -
|
| +class _BlobFactoryProvider {
|
| + factory Blob(List blobParts, [String type, String endings]) => _createBlob(blobParts, type, endings);
|
| + static Blob _createBlob(List blobParts, [String type, String endings]) native "Blob_constructor_Callback";
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -class _ArrayBufferFactoryProvider {
|
| - factory ArrayBuffer(int length) => _createArrayBuffer(length);
|
| - static ArrayBuffer _createArrayBuffer(int length) native "ArrayBuffer_constructor_Callback";
|
| +class _FormDataFactoryProvider {
|
| + factory FormData([FormElement form]) => _createFormData(form);
|
| + static FormData _createFormData([FormElement form]) native "DOMFormData_constructor_Callback";
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -// WARNING: Do not edit - generated code.
|
| -
|
| -class _ArrayBufferImpl extends NativeFieldWrapperClass1 implements ArrayBuffer {
|
| -
|
| - int get byteLength native "ArrayBuffer_byteLength_Getter";
|
| -
|
| - ArrayBuffer slice(begin, [end]) {
|
| - if (?end) {
|
| - return _slice_1(begin, end);
|
| - }
|
| - return _slice_2(begin);
|
| - }
|
| -
|
| - ArrayBuffer _slice_1(begin, end) native "ArrayBuffer_slice_1_Callback";
|
| -
|
| - ArrayBuffer _slice_2(begin) native "ArrayBuffer_slice_2_Callback";
|
| -
|
| +class _DOMParserFactoryProvider {
|
| + factory DOMParser() => _createDOMParser();
|
| + static DOMParser _createDOMParser() native "DOMParser_constructor_Callback";
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -// WARNING: Do not edit - generated code.
|
| -
|
| -class _ArrayBufferViewImpl extends NativeFieldWrapperClass1 implements ArrayBufferView {
|
| -
|
| - ArrayBuffer get buffer native "ArrayBufferView_buffer_Getter";
|
| -
|
| - int get byteLength native "ArrayBufferView_byteLength_Getter";
|
| -
|
| - int get byteOffset native "ArrayBufferView_byteOffset_Getter";
|
| -
|
| +class _DOMURLFactoryProvider {
|
| + factory DOMURL() => _createDOMURL();
|
| + static DOMURL _createDOMURL() native "DOMURL_constructor_Callback";
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -// WARNING: Do not edit - generated code.
|
| -
|
| -class _AttrImpl extends _NodeImpl implements Attr {
|
| -
|
| - bool get isId native "Attr_isId_Getter";
|
| -
|
| - String get name native "Attr_name_Getter";
|
| -
|
| - Element get ownerElement native "Attr_ownerElement_Getter";
|
| -
|
| - bool get specified native "Attr_specified_Getter";
|
| -
|
| - String get value native "Attr_value_Getter";
|
| -
|
| - void set value(String) native "Attr_value_Setter";
|
| -
|
| +class _DataViewFactoryProvider {
|
| + factory DataView(ArrayBuffer buffer, [int byteOffset, int byteLength]) => _createDataView(buffer, byteOffset, byteLength);
|
| + static DataView _createDataView(ArrayBuffer buffer, [int byteOffset, int byteLength]) native "DataView_constructor_Callback";
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -// WARNING: Do not edit - generated code.
|
| -
|
| -class _AudioBufferImpl extends NativeFieldWrapperClass1 implements AudioBuffer {
|
| -
|
| - num get duration native "AudioBuffer_duration_Getter";
|
| -
|
| - num get gain native "AudioBuffer_gain_Getter";
|
| -
|
| - void set gain(num) native "AudioBuffer_gain_Setter";
|
| -
|
| - int get length native "AudioBuffer_length_Getter";
|
| -
|
| - int get numberOfChannels native "AudioBuffer_numberOfChannels_Getter";
|
| -
|
| - num get sampleRate native "AudioBuffer_sampleRate_Getter";
|
| -
|
| - Float32Array getChannelData(int channelIndex) native "AudioBuffer_getChannelData_Callback";
|
| -
|
| +class _EventSourceFactoryProvider {
|
| + factory EventSource(String scriptUrl) => _createEventSource(scriptUrl);
|
| + static EventSource _createEventSource(String scriptUrl) native "EventSource_constructor_Callback";
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -// WARNING: Do not edit - generated code.
|
| -
|
| -class _AudioBufferSourceNodeImpl extends _AudioSourceNodeImpl implements AudioBufferSourceNode {
|
| -
|
| - AudioBuffer get buffer native "AudioBufferSourceNode_buffer_Getter";
|
| -
|
| - void set buffer(AudioBuffer) native "AudioBufferSourceNode_buffer_Setter";
|
| +class _FileReaderFactoryProvider {
|
| + factory FileReader() => _createFileReader();
|
| + static FileReader _createFileReader() native "FileReader_constructor_Callback";
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
|
|
| - AudioGain get gain native "AudioBufferSourceNode_gain_Getter";
|
| +class _FileReaderSyncFactoryProvider {
|
| + factory FileReaderSync() => _createFileReaderSync();
|
| + static FileReaderSync _createFileReaderSync() native "FileReaderSync_constructor_Callback";
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
|
|
| - bool get loop native "AudioBufferSourceNode_loop_Getter";
|
| +class _AudioElementFactoryProvider {
|
| + factory AudioElement([String src]) => _createAudioElement(src);
|
| + static AudioElement _createAudioElement([String src]) native "HTMLAudioElement_constructor_Callback";
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
|
|
| - void set loop(bool) native "AudioBufferSourceNode_loop_Setter";
|
| +class _OptionElementFactoryProvider {
|
| + factory OptionElement([String data, String value, bool defaultSelected, bool selected]) => _createOptionElement(data, value, defaultSelected, selected);
|
| + static OptionElement _createOptionElement([String data, String value, bool defaultSelected, bool selected]) native "HTMLOptionElement_constructor_Callback";
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
|
|
| - bool get looping native "AudioBufferSourceNode_looping_Getter";
|
| +class _IceCandidateFactoryProvider {
|
| + factory IceCandidate(String label, String candidateLine) => _createIceCandidate(label, candidateLine);
|
| + static IceCandidate _createIceCandidate(String label, String candidateLine) native "IceCandidate_constructor_Callback";
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
|
|
| - void set looping(bool) native "AudioBufferSourceNode_looping_Setter";
|
| +class _MediaControllerFactoryProvider {
|
| + factory MediaController() => _createMediaController();
|
| + static MediaController _createMediaController() native "MediaController_constructor_Callback";
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
|
|
| - AudioParam get playbackRate native "AudioBufferSourceNode_playbackRate_Getter";
|
| +class _MediaSourceFactoryProvider {
|
| + factory MediaSource() => _createMediaSource();
|
| + static MediaSource _createMediaSource() native "MediaSource_constructor_Callback";
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
|
|
| - int get playbackState native "AudioBufferSourceNode_playbackState_Getter";
|
| +class _MediaStreamFactoryProvider {
|
| + factory MediaStream(MediaStreamTrackList audioTracks, MediaStreamTrackList videoTracks) => _createMediaStream(audioTracks, videoTracks);
|
| + static MediaStream _createMediaStream(MediaStreamTrackList audioTracks, MediaStreamTrackList videoTracks) native "MediaStream_constructor_Callback";
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
|
|
| - void noteGrainOn(num when, num grainOffset, num grainDuration) native "AudioBufferSourceNode_noteGrainOn_Callback";
|
| +class _MessageChannelFactoryProvider {
|
| + factory MessageChannel() => _createMessageChannel();
|
| + static MessageChannel _createMessageChannel() native "MessageChannel_constructor_Callback";
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
|
|
| - void noteOff(num when) native "AudioBufferSourceNode_noteOff_Callback";
|
| +class _MutationObserverFactoryProvider {
|
| + factory MutationObserver(MutationCallback callback) => _createMutationObserver(callback);
|
| + static MutationObserver _createMutationObserver(MutationCallback callback) native "MutationObserver_constructor_Callback";
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
|
|
| - void noteOn(num when) native "AudioBufferSourceNode_noteOn_Callback";
|
| +class _NotificationFactoryProvider {
|
| + factory Notification(String title, [Map options]) => _createNotification(title, options);
|
| + static Notification _createNotification(String title, [Map options]) native "Notification_constructor_Callback";
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
|
|
| +class _PeerConnection00FactoryProvider {
|
| + factory PeerConnection00(String serverConfiguration, IceCallback iceCallback) => _createPeerConnection00(serverConfiguration, iceCallback);
|
| + static PeerConnection00 _createPeerConnection00(String serverConfiguration, IceCallback iceCallback) native "PeerConnection00_constructor_Callback";
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -// WARNING: Do not edit - generated code.
|
| +class _RTCIceCandidateFactoryProvider {
|
| + factory RTCIceCandidate(Map dictionary) => _createRTCIceCandidate(dictionary);
|
| + static RTCIceCandidate _createRTCIceCandidate(Map dictionary) native "RTCIceCandidate_constructor_Callback";
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
|
|
| -class _AudioChannelMergerImpl extends _AudioNodeImpl implements AudioChannelMerger {
|
| +class _RTCPeerConnectionFactoryProvider {
|
| + factory RTCPeerConnection(Map rtcIceServers, [Map mediaConstraints]) => _createRTCPeerConnection(rtcIceServers, mediaConstraints);
|
| + static RTCPeerConnection _createRTCPeerConnection(Map rtcIceServers, [Map mediaConstraints]) native "RTCPeerConnection_constructor_Callback";
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
|
|
| +class _RTCSessionDescriptionFactoryProvider {
|
| + factory RTCSessionDescription(Map dictionary) => _createRTCSessionDescription(dictionary);
|
| + static RTCSessionDescription _createRTCSessionDescription(Map dictionary) native "RTCSessionDescription_constructor_Callback";
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -// WARNING: Do not edit - generated code.
|
| +class _SessionDescriptionFactoryProvider {
|
| + factory SessionDescription(String sdp) => _createSessionDescription(sdp);
|
| + static SessionDescription _createSessionDescription(String sdp) native "SessionDescription_constructor_Callback";
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
|
|
| -class _AudioChannelSplitterImpl extends _AudioNodeImpl implements AudioChannelSplitter {
|
| +class _ShadowRootFactoryProvider {
|
| + factory ShadowRoot(Element host) => _createShadowRoot(host);
|
| + static ShadowRoot _createShadowRoot(Element host) native "ShadowRoot_constructor_Callback";
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
|
|
| +class _SharedWorkerFactoryProvider {
|
| + factory SharedWorker(String scriptURL, [String name]) => _createSharedWorker(scriptURL, name);
|
| + static SharedWorker _createSharedWorker(String scriptURL, [String name]) native "SharedWorker_constructor_Callback";
|
| }
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
|
|
| -class _AudioContextEventsImpl extends _EventsImpl implements AudioContextEvents {
|
| - _AudioContextEventsImpl(_ptr) : super(_ptr);
|
| +class _SpeechGrammarFactoryProvider {
|
| + factory SpeechGrammar() => _createSpeechGrammar();
|
| + static SpeechGrammar _createSpeechGrammar() native "SpeechGrammar_constructor_Callback";
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
| +
|
| +class _SpeechGrammarListFactoryProvider {
|
| + factory SpeechGrammarList() => _createSpeechGrammarList();
|
| + static SpeechGrammarList _createSpeechGrammarList() native "SpeechGrammarList_constructor_Callback";
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
| +
|
| +class _SpeechRecognitionFactoryProvider {
|
| + factory SpeechRecognition() => _createSpeechRecognition();
|
| + static SpeechRecognition _createSpeechRecognition() native "SpeechRecognition_constructor_Callback";
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
| +
|
| +class _TextTrackCueFactoryProvider {
|
| + factory TextTrackCue(num startTime, num endTime, String text) => _createTextTrackCue(startTime, endTime, text);
|
| + static TextTrackCue _createTextTrackCue(num startTime, num endTime, String text) native "TextTrackCue_constructor_Callback";
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
| +
|
| +class _CSSMatrixFactoryProvider {
|
| + factory CSSMatrix([String cssValue]) => _createCSSMatrix(cssValue);
|
| + static CSSMatrix _createCSSMatrix([String cssValue]) native "WebKitCSSMatrix_constructor_Callback";
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
| +
|
| +class _WorkerFactoryProvider {
|
| + factory Worker(String scriptUrl) => _createWorker(scriptUrl);
|
| + static Worker _createWorker(String scriptUrl) native "Worker_constructor_Callback";
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
| +
|
| +class _HttpRequestFactoryProvider {
|
| + factory HttpRequest() => _createHttpRequest();
|
| + static HttpRequest _createHttpRequest() native "XMLHttpRequest_constructor_Callback";
|
| +
|
| + factory HttpRequest.get(String url,
|
| + onSuccess(HttpRequest request)) =>
|
| + _HttpRequestUtils.get(url, onSuccess, false);
|
| +
|
| + factory HttpRequest.getWithCredentials(String url,
|
| + onSuccess(HttpRequest request)) =>
|
| + _HttpRequestUtils.get(url, onSuccess, true);
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
| +
|
| +class _XMLSerializerFactoryProvider {
|
| + factory XMLSerializer() => _createXMLSerializer();
|
| + static XMLSerializer _createXMLSerializer() native "XMLSerializer_constructor_Callback";
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
| +
|
| +class _XPathEvaluatorFactoryProvider {
|
| + factory XPathEvaluator() => _createXPathEvaluator();
|
| + static XPathEvaluator _createXPathEvaluator() native "XPathEvaluator_constructor_Callback";
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
| +
|
| +class _XSLTProcessorFactoryProvider {
|
| + factory XSLTProcessor() => _createXSLTProcessor();
|
| + static XSLTProcessor _createXSLTProcessor() native "XSLTProcessor_constructor_Callback";
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
| +
|
| +class _Elements {
|
| +
|
| +
|
| + factory AnchorElement([String href]) {
|
| + _HTMLAnchorElementImpl _e = _document.$dom_createElement("a");
|
| + if (href != null) _e.href = href;
|
| + return _e;
|
| + }
|
| +
|
| + factory AreaElement() {
|
| + _HTMLAreaElementImpl _e = _document.$dom_createElement("area");
|
| + return _e;
|
| + }
|
| +
|
| + factory BRElement() {
|
| + _HTMLBRElementImpl _e = _document.$dom_createElement("br");
|
| + return _e;
|
| + }
|
| +
|
| + factory BaseElement() {
|
| + _HTMLBaseElementImpl _e = _document.$dom_createElement("base");
|
| + return _e;
|
| + }
|
| +
|
| + factory BodyElement() {
|
| + _HTMLBodyElementImpl _e = _document.$dom_createElement("body");
|
| + return _e;
|
| + }
|
| +
|
| + factory ButtonElement() {
|
| + _HTMLButtonElementImpl _e = _document.$dom_createElement("button");
|
| + return _e;
|
| + }
|
| +
|
| + factory CanvasElement([int width, int height]) {
|
| + _HTMLCanvasElementImpl _e = _document.$dom_createElement("canvas");
|
| + if (width != null) _e.width = width;
|
| + if (height != null) _e.height = height;
|
| + return _e;
|
| + }
|
| +
|
| + factory DListElement() {
|
| + _HTMLDListElementImpl _e = _document.$dom_createElement("dl");
|
| + return _e;
|
| + }
|
| +
|
| + factory DataListElement() {
|
| + _HTMLDataListElementImpl _e = _document.$dom_createElement("datalist");
|
| + return _e;
|
| + }
|
| +
|
| + factory DetailsElement() {
|
| + _HTMLDetailsElementImpl _e = _document.$dom_createElement("details");
|
| + return _e;
|
| + }
|
| +
|
| + factory DivElement() {
|
| + _HTMLDivElementImpl _e = _document.$dom_createElement("div");
|
| + return _e;
|
| + }
|
| +
|
| + factory EmbedElement() {
|
| + _HTMLEmbedElementImpl _e = _document.$dom_createElement("embed");
|
| + return _e;
|
| + }
|
| +
|
| + factory FieldSetElement() {
|
| + _HTMLFieldSetElementImpl _e = _document.$dom_createElement("fieldset");
|
| + return _e;
|
| + }
|
| +
|
| + factory FormElement() {
|
| + _HTMLFormElementImpl _e = _document.$dom_createElement("form");
|
| + return _e;
|
| + }
|
| +
|
| + factory HRElement() {
|
| + _HTMLHRElementImpl _e = _document.$dom_createElement("hr");
|
| + return _e;
|
| + }
|
| +
|
| + factory HeadElement() {
|
| + _HTMLHeadElementImpl _e = _document.$dom_createElement("head");
|
| + return _e;
|
| + }
|
| +
|
| + factory HeadingElement.h1() {
|
| + _HTMLHeadingElementImpl _e = _document.$dom_createElement("h1");
|
| + return _e;
|
| + }
|
| +
|
| + factory HeadingElement.h2() {
|
| + _HTMLHeadingElementImpl _e = _document.$dom_createElement("h2");
|
| + return _e;
|
| + }
|
| +
|
| + factory HeadingElement.h3() {
|
| + _HTMLHeadingElementImpl _e = _document.$dom_createElement("h3");
|
| + return _e;
|
| + }
|
| +
|
| + factory HeadingElement.h4() {
|
| + _HTMLHeadingElementImpl _e = _document.$dom_createElement("h4");
|
| + return _e;
|
| + }
|
| +
|
| + factory HeadingElement.h5() {
|
| + _HTMLHeadingElementImpl _e = _document.$dom_createElement("h5");
|
| + return _e;
|
| + }
|
| +
|
| + factory HeadingElement.h6() {
|
| + _HTMLHeadingElementImpl _e = _document.$dom_createElement("h6");
|
| + return _e;
|
| + }
|
| +
|
| + factory HtmlElement() {
|
| + _HTMLHtmlElementImpl _e = _document.$dom_createElement("html");
|
| + return _e;
|
| + }
|
| +
|
| + factory IFrameElement() {
|
| + _HTMLIFrameElementImpl _e = _document.$dom_createElement("iframe");
|
| + return _e;
|
| + }
|
| +
|
| + factory ImageElement([String src, int width, int height]) {
|
| + _HTMLImageElementImpl _e = _document.$dom_createElement("img");
|
| + if (src != null) _e.src = src;
|
| + if (width != null) _e.width = width;
|
| + if (height != null) _e.height = height;
|
| + return _e;
|
| + }
|
| +
|
| + factory InputElement([String type]) {
|
| + _HTMLInputElementImpl _e = _document.$dom_createElement("input");
|
| + if (type != null) _e.type = type;
|
| + return _e;
|
| + }
|
| +
|
| + factory KeygenElement() {
|
| + _HTMLKeygenElementImpl _e = _document.$dom_createElement("keygen");
|
| + return _e;
|
| + }
|
| +
|
| + factory LIElement() {
|
| + _HTMLLIElementImpl _e = _document.$dom_createElement("li");
|
| + return _e;
|
| + }
|
| +
|
| + factory LabelElement() {
|
| + _HTMLLabelElementImpl _e = _document.$dom_createElement("label");
|
| + return _e;
|
| + }
|
| +
|
| + factory LegendElement() {
|
| + _HTMLLegendElementImpl _e = _document.$dom_createElement("legend");
|
| + return _e;
|
| + }
|
| +
|
| + factory LinkElement() {
|
| + _HTMLLinkElementImpl _e = _document.$dom_createElement("link");
|
| + return _e;
|
| + }
|
| +
|
| + factory MapElement() {
|
| + _HTMLMapElementImpl _e = _document.$dom_createElement("map");
|
| + return _e;
|
| + }
|
| +
|
| + factory MenuElement() {
|
| + _HTMLMenuElementImpl _e = _document.$dom_createElement("menu");
|
| + return _e;
|
| + }
|
| +
|
| + factory MeterElement() {
|
| + _HTMLMeterElementImpl _e = _document.$dom_createElement("meter");
|
| + return _e;
|
| + }
|
| +
|
| + factory OListElement() {
|
| + _HTMLOListElementImpl _e = _document.$dom_createElement("ol");
|
| + return _e;
|
| + }
|
| +
|
| + factory ObjectElement() {
|
| + _HTMLObjectElementImpl _e = _document.$dom_createElement("object");
|
| + return _e;
|
| + }
|
| +
|
| + factory OptGroupElement() {
|
| + _HTMLOptGroupElementImpl _e = _document.$dom_createElement("optgroup");
|
| + return _e;
|
| + }
|
| +
|
| + factory OutputElement() {
|
| + _HTMLOutputElementImpl _e = _document.$dom_createElement("output");
|
| + return _e;
|
| + }
|
| +
|
| + factory ParagraphElement() {
|
| + _HTMLParagraphElementImpl _e = _document.$dom_createElement("p");
|
| + return _e;
|
| + }
|
| +
|
| + factory ParamElement() {
|
| + _HTMLParamElementImpl _e = _document.$dom_createElement("param");
|
| + return _e;
|
| + }
|
| +
|
| + factory PreElement() {
|
| + _HTMLPreElementImpl _e = _document.$dom_createElement("pre");
|
| + return _e;
|
| + }
|
| +
|
| + factory ProgressElement() {
|
| + _HTMLProgressElementImpl _e = _document.$dom_createElement("progress");
|
| + return _e;
|
| + }
|
| +
|
| + factory ScriptElement() {
|
| + _HTMLScriptElementImpl _e = _document.$dom_createElement("script");
|
| + return _e;
|
| + }
|
| +
|
| + factory SelectElement() {
|
| + _HTMLSelectElementImpl _e = _document.$dom_createElement("select");
|
| + return _e;
|
| + }
|
| +
|
| + factory SourceElement() {
|
| + _HTMLSourceElementImpl _e = _document.$dom_createElement("source");
|
| + return _e;
|
| + }
|
| +
|
| + factory SpanElement() {
|
| + _HTMLSpanElementImpl _e = _document.$dom_createElement("span");
|
| + return _e;
|
| + }
|
| +
|
| + factory StyleElement() {
|
| + _HTMLStyleElementImpl _e = _document.$dom_createElement("style");
|
| + return _e;
|
| + }
|
| +
|
| + factory TableCaptionElement() {
|
| + _HTMLTableCaptionElementImpl _e = _document.$dom_createElement("caption");
|
| + return _e;
|
| + }
|
| +
|
| + factory TableCellElement() {
|
| + _HTMLTableCellElementImpl _e = _document.$dom_createElement("td");
|
| + return _e;
|
| + }
|
| +
|
| + factory TableColElement() {
|
| + _HTMLTableColElementImpl _e = _document.$dom_createElement("col");
|
| + return _e;
|
| + }
|
| +
|
| + factory TableElement() {
|
| + _HTMLTableElementImpl _e = _document.$dom_createElement("table");
|
| + return _e;
|
| + }
|
| +
|
| + factory TableRowElement() {
|
| + _HTMLTableRowElementImpl _e = _document.$dom_createElement("tr");
|
| + return _e;
|
| + }
|
| +
|
| + factory TextAreaElement() {
|
| + _HTMLTextAreaElementImpl _e = _document.$dom_createElement("textarea");
|
| + return _e;
|
| + }
|
| +
|
| + factory TitleElement() {
|
| + _HTMLTitleElementImpl _e = _document.$dom_createElement("title");
|
| + return _e;
|
| + }
|
| +
|
| + factory TrackElement() {
|
| + _HTMLTrackElementImpl _e = _document.$dom_createElement("track");
|
| + return _e;
|
| + }
|
| +
|
| + factory UListElement() {
|
| + _HTMLUListElementImpl _e = _document.$dom_createElement("ul");
|
| + return _e;
|
| + }
|
| +
|
| + factory VideoElement() {
|
| + _HTMLVideoElementImpl _e = _document.$dom_createElement("video");
|
| + return _e;
|
| + }
|
| +}
|
| +
|
| +class _AbstractWorkerEventsImpl extends _EventsImpl implements AbstractWorkerEvents {
|
| + _AbstractWorkerEventsImpl(_ptr) : super(_ptr);
|
| +
|
| + EventListenerList get error => this['error'];
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
| +
|
| +// WARNING: Do not edit - generated code.
|
| +
|
| +class _AbstractWorkerImpl extends _EventTargetImpl implements AbstractWorker {
|
| +
|
| + _AbstractWorkerEventsImpl get on =>
|
| + new _AbstractWorkerEventsImpl(this);
|
| +
|
| + void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native "AbstractWorker_addEventListener_Callback";
|
| +
|
| + bool $dom_dispatchEvent(Event evt) native "AbstractWorker_dispatchEvent_Callback";
|
| +
|
| + void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native "AbstractWorker_removeEventListener_Callback";
|
| +
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
| +
|
| +// WARNING: Do not edit - generated code.
|
| +
|
| +class _ArrayBufferImpl extends NativeFieldWrapperClass1 implements ArrayBuffer {
|
| +
|
| + int get byteLength native "ArrayBuffer_byteLength_Getter";
|
| +
|
| + ArrayBuffer slice(begin, [end]) {
|
| + if (?end) {
|
| + return _slice_1(begin, end);
|
| + }
|
| + return _slice_2(begin);
|
| + }
|
| +
|
| + ArrayBuffer _slice_1(begin, end) native "ArrayBuffer_slice_1_Callback";
|
| +
|
| + ArrayBuffer _slice_2(begin) native "ArrayBuffer_slice_2_Callback";
|
| +
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
| +
|
| +// WARNING: Do not edit - generated code.
|
| +
|
| +class _ArrayBufferViewImpl extends NativeFieldWrapperClass1 implements ArrayBufferView {
|
| +
|
| + ArrayBuffer get buffer native "ArrayBufferView_buffer_Getter";
|
| +
|
| + int get byteLength native "ArrayBufferView_byteLength_Getter";
|
| +
|
| + int get byteOffset native "ArrayBufferView_byteOffset_Getter";
|
| +
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
| +
|
| +// WARNING: Do not edit - generated code.
|
| +
|
| +class _AttrImpl extends _NodeImpl implements Attr {
|
| +
|
| + bool get isId native "Attr_isId_Getter";
|
| +
|
| + String get name native "Attr_name_Getter";
|
| +
|
| + Element get ownerElement native "Attr_ownerElement_Getter";
|
| +
|
| + bool get specified native "Attr_specified_Getter";
|
| +
|
| + String get value native "Attr_value_Getter";
|
| +
|
| + void set value(String) native "Attr_value_Setter";
|
| +
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
| +
|
| +// WARNING: Do not edit - generated code.
|
| +
|
| +class _AudioBufferImpl extends NativeFieldWrapperClass1 implements AudioBuffer {
|
| +
|
| + num get duration native "AudioBuffer_duration_Getter";
|
| +
|
| + num get gain native "AudioBuffer_gain_Getter";
|
| +
|
| + void set gain(num) native "AudioBuffer_gain_Setter";
|
| +
|
| + int get length native "AudioBuffer_length_Getter";
|
| +
|
| + int get numberOfChannels native "AudioBuffer_numberOfChannels_Getter";
|
| +
|
| + num get sampleRate native "AudioBuffer_sampleRate_Getter";
|
| +
|
| + Float32Array getChannelData(int channelIndex) native "AudioBuffer_getChannelData_Callback";
|
|
|
| - EventListenerList get complete => this['complete'];
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
| +
|
| +// WARNING: Do not edit - generated code.
|
| +
|
| +class _AudioBufferSourceNodeImpl extends _AudioSourceNodeImpl implements AudioBufferSourceNode {
|
| +
|
| + AudioBuffer get buffer native "AudioBufferSourceNode_buffer_Getter";
|
| +
|
| + void set buffer(AudioBuffer) native "AudioBufferSourceNode_buffer_Setter";
|
| +
|
| + AudioGain get gain native "AudioBufferSourceNode_gain_Getter";
|
| +
|
| + bool get loop native "AudioBufferSourceNode_loop_Getter";
|
| +
|
| + void set loop(bool) native "AudioBufferSourceNode_loop_Setter";
|
| +
|
| + bool get looping native "AudioBufferSourceNode_looping_Getter";
|
| +
|
| + void set looping(bool) native "AudioBufferSourceNode_looping_Setter";
|
| +
|
| + AudioParam get playbackRate native "AudioBufferSourceNode_playbackRate_Getter";
|
| +
|
| + int get playbackState native "AudioBufferSourceNode_playbackState_Getter";
|
| +
|
| + void noteGrainOn(num when, num grainOffset, num grainDuration) native "AudioBufferSourceNode_noteGrainOn_Callback";
|
| +
|
| + void noteOff(num when) native "AudioBufferSourceNode_noteOff_Callback";
|
| +
|
| + void noteOn(num when) native "AudioBufferSourceNode_noteOn_Callback";
|
| +
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
| +
|
| +// WARNING: Do not edit - generated code.
|
| +
|
| +class _AudioChannelMergerImpl extends _AudioNodeImpl implements AudioChannelMerger {
|
| +
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
| +
|
| +// WARNING: Do not edit - generated code.
|
| +
|
| +class _AudioChannelSplitterImpl extends _AudioNodeImpl implements AudioChannelSplitter {
|
| +
|
| +}
|
| +
|
| +class _AudioContextEventsImpl extends _EventsImpl implements AudioContextEvents {
|
| + _AudioContextEventsImpl(_ptr) : super(_ptr);
|
| +
|
| + EventListenerList get complete => this['complete'];
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| @@ -624,14 +1203,6 @@ class _BiquadFilterNodeImpl extends _AudioNodeImpl implements BiquadFilterNode {
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -class _BlobFactoryProvider {
|
| - factory Blob(List blobParts, [String type, String endings]) => _createBlob(blobParts, type, endings);
|
| - static Blob _createBlob(List blobParts, [String type, String endings]) native "Blob_constructor_Callback";
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| // WARNING: Do not edit - generated code.
|
|
|
| class _BlobImpl extends NativeFieldWrapperClass1 implements Blob {
|
| @@ -4600,14 +5171,6 @@ class _DOMFileSystemSyncImpl extends NativeFieldWrapperClass1 implements DOMFile
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -class _FormDataFactoryProvider {
|
| - factory FormData([FormElement form]) => _createFormData(form);
|
| - static FormData _createFormData([FormElement form]) native "DOMFormData_constructor_Callback";
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| // WARNING: Do not edit - generated code.
|
|
|
| class _DOMFormDataImpl extends NativeFieldWrapperClass1 implements FormData {
|
| @@ -4670,14 +5233,6 @@ class _DOMMimeTypeImpl extends NativeFieldWrapperClass1 implements DOMMimeType {
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -class _DOMParserFactoryProvider {
|
| - factory DOMParser() => _createDOMParser();
|
| - static DOMParser _createDOMParser() native "DOMParser_constructor_Callback";
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| // WARNING: Do not edit - generated code.
|
|
|
| class _DOMParserImpl extends NativeFieldWrapperClass1 implements DOMParser {
|
| @@ -4921,14 +5476,6 @@ class _DOMTokenListImpl extends NativeFieldWrapperClass1 implements DOMTokenList
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -class _DOMURLFactoryProvider {
|
| - factory DOMURL() => _createDOMURL();
|
| - static DOMURL _createDOMURL() native "DOMURL_constructor_Callback";
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| // WARNING: Do not edit - generated code.
|
|
|
| class _DOMURLImpl extends NativeFieldWrapperClass1 implements DOMURL {
|
| @@ -5390,14 +5937,6 @@ class _DataTransferItemListImpl extends NativeFieldWrapperClass1 implements Data
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -class _DataViewFactoryProvider {
|
| - factory DataView(ArrayBuffer buffer, [int byteOffset, int byteLength]) => _createDataView(buffer, byteOffset, byteLength);
|
| - static DataView _createDataView(ArrayBuffer buffer, [int byteOffset, int byteLength]) native "DataView_constructor_Callback";
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| // WARNING: Do not edit - generated code.
|
|
|
| class _DataViewImpl extends _ArrayBufferViewImpl implements DataView {
|
| @@ -7624,14 +8163,6 @@ class _EventImpl extends NativeFieldWrapperClass1 implements Event {
|
| void stopPropagation() native "Event_stopPropagation_Callback";
|
|
|
| }
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| -class _EventSourceFactoryProvider {
|
| - factory EventSource(String scriptUrl) => _createEventSource(scriptUrl);
|
| - static EventSource _createEventSource(String scriptUrl) native "EventSource_constructor_Callback";
|
| -}
|
|
|
| class _EventSourceEventsImpl extends _EventsImpl implements EventSourceEvents {
|
| _EventSourceEventsImpl(_ptr) : super(_ptr);
|
| @@ -7899,14 +8430,6 @@ class _FileListImpl extends NativeFieldWrapperClass1 implements FileList {
|
| File item(int index) native "FileList_item_Callback";
|
|
|
| }
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| -class _FileReaderFactoryProvider {
|
| - factory FileReader() => _createFileReader();
|
| - static FileReader _createFileReader() native "FileReader_constructor_Callback";
|
| -}
|
|
|
| class _FileReaderEventsImpl extends _EventsImpl implements FileReaderEvents {
|
| _FileReaderEventsImpl(_ptr) : super(_ptr);
|
| @@ -7971,14 +8494,6 @@ class _FileReaderImpl extends _EventTargetImpl implements FileReader {
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -class _FileReaderSyncFactoryProvider {
|
| - factory FileReaderSync() => _createFileReaderSync();
|
| - static FileReaderSync _createFileReaderSync() native "FileReaderSync_constructor_Callback";
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| // WARNING: Do not edit - generated code.
|
|
|
| class _FileReaderSyncImpl extends NativeFieldWrapperClass1 implements FileReaderSync {
|
| @@ -8552,14 +9067,6 @@ class _HTMLAreaElementImpl extends _HTMLElementImpl implements AreaElement {
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -class _AudioElementFactoryProvider {
|
| - factory AudioElement([String src]) => _createAudioElement(src);
|
| - static AudioElement _createAudioElement([String src]) native "HTMLAudioElement_constructor_Callback";
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| // WARNING: Do not edit - generated code.
|
|
|
| class _HTMLAudioElementImpl extends _HTMLMediaElementImpl implements AudioElement {
|
| @@ -10332,14 +10839,6 @@ class _HTMLOptGroupElementImpl extends _HTMLElementImpl implements OptGroupEleme
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -class _OptionElementFactoryProvider {
|
| - factory OptionElement([String data, String value, bool defaultSelected, bool selected]) => _createOptionElement(data, value, defaultSelected, selected);
|
| - static OptionElement _createOptionElement([String data, String value, bool defaultSelected, bool selected]) native "HTMLOptionElement_constructor_Callback";
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| // WARNING: Do not edit - generated code.
|
|
|
| class _HTMLOptionElementImpl extends _HTMLElementImpl implements OptionElement {
|
| @@ -11927,14 +12426,6 @@ class _IDBVersionChangeRequestImpl extends _IDBRequestImpl implements IDBVersion
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -class _IceCandidateFactoryProvider {
|
| - factory IceCandidate(String label, String candidateLine) => _createIceCandidate(label, candidateLine);
|
| - static IceCandidate _createIceCandidate(String label, String candidateLine) native "IceCandidate_constructor_Callback";
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| // WARNING: Do not edit - generated code.
|
|
|
| class _IceCandidateImpl extends NativeFieldWrapperClass1 implements IceCandidate {
|
| @@ -12427,14 +12918,6 @@ class _LocationImpl extends NativeFieldWrapperClass1 implements Location {
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -class _MediaControllerFactoryProvider {
|
| - factory MediaController() => _createMediaController();
|
| - static MediaController _createMediaController() native "MediaController_constructor_Callback";
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| // WARNING: Do not edit - generated code.
|
|
|
| class _MediaControllerImpl extends _EventTargetImpl implements MediaController {
|
| @@ -12660,14 +13143,6 @@ class _MediaQueryListImpl extends NativeFieldWrapperClass1 implements MediaQuery
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -class _MediaSourceFactoryProvider {
|
| - factory MediaSource() => _createMediaSource();
|
| - static MediaSource _createMediaSource() native "MediaSource_constructor_Callback";
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| // WARNING: Do not edit - generated code.
|
|
|
| class _MediaSourceImpl extends _EventTargetImpl implements MediaSource {
|
| @@ -12717,14 +13192,6 @@ class _MediaStreamEventImpl extends _EventImpl implements MediaStreamEvent {
|
| MediaStream get stream native "MediaStreamEvent_stream_Getter";
|
|
|
| }
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| -class _MediaStreamFactoryProvider {
|
| - factory MediaStream(MediaStreamTrackList audioTracks, MediaStreamTrackList videoTracks) => _createMediaStream(audioTracks, videoTracks);
|
| - static MediaStream _createMediaStream(MediaStreamTrackList audioTracks, MediaStreamTrackList videoTracks) native "MediaStream_constructor_Callback";
|
| -}
|
|
|
| class _MediaStreamEventsImpl extends _EventsImpl implements MediaStreamEvents {
|
| _MediaStreamEventsImpl(_ptr) : super(_ptr);
|
| @@ -12872,14 +13339,6 @@ class _MemoryInfoImpl extends NativeFieldWrapperClass1 implements MemoryInfo {
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -class _MessageChannelFactoryProvider {
|
| - factory MessageChannel() => _createMessageChannel();
|
| - static MessageChannel _createMessageChannel() native "MessageChannel_constructor_Callback";
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| // WARNING: Do not edit - generated code.
|
|
|
| class _MessageChannelImpl extends NativeFieldWrapperClass1 implements MessageChannel {
|
| @@ -13031,14 +13490,6 @@ class _MutationEventImpl extends _EventImpl implements MutationEvent {
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -class _MutationObserverFactoryProvider {
|
| - factory MutationObserver(MutationCallback callback) => _createMutationObserver(callback);
|
| - static MutationObserver _createMutationObserver(MutationCallback callback) native "MutationObserver_constructor_Callback";
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| class _MutationObserverImpl extends NativeFieldWrapperClass1 implements MutationObserver {
|
|
|
| void disconnect() native "MutationObserver_disconnect_Callback";
|
| @@ -13733,14 +14184,6 @@ class _NotificationCenterImpl extends NativeFieldWrapperClass1 implements Notifi
|
| void requestPermission(VoidCallback callback) native "NotificationCenter_requestPermission_Callback";
|
|
|
| }
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| -class _NotificationFactoryProvider {
|
| - factory Notification(String title, [Map options]) => _createNotification(title, options);
|
| - static Notification _createNotification(String title, [Map options]) native "Notification_constructor_Callback";
|
| -}
|
|
|
| class _NotificationEventsImpl extends _EventsImpl implements NotificationEvents {
|
| _NotificationEventsImpl(_ptr) : super(_ptr);
|
| @@ -13905,14 +14348,6 @@ class _PageTransitionEventImpl extends _EventImpl implements PageTransitionEvent
|
| bool get persisted native "PageTransitionEvent_persisted_Getter";
|
|
|
| }
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| -class _PeerConnection00FactoryProvider {
|
| - factory PeerConnection00(String serverConfiguration, IceCallback iceCallback) => _createPeerConnection00(serverConfiguration, iceCallback);
|
| - static PeerConnection00 _createPeerConnection00(String serverConfiguration, IceCallback iceCallback) native "PeerConnection00_constructor_Callback";
|
| -}
|
|
|
| class _PeerConnection00EventsImpl extends _EventsImpl implements PeerConnection00Events {
|
| _PeerConnection00EventsImpl(_ptr) : super(_ptr);
|
| @@ -14180,14 +14615,6 @@ class _RTCIceCandidateEventImpl extends _EventImpl implements RTCIceCandidateEve
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -class _RTCIceCandidateFactoryProvider {
|
| - factory RTCIceCandidate(Map dictionary) => _createRTCIceCandidate(dictionary);
|
| - static RTCIceCandidate _createRTCIceCandidate(Map dictionary) native "RTCIceCandidate_constructor_Callback";
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| // WARNING: Do not edit - generated code.
|
|
|
| class _RTCIceCandidateImpl extends NativeFieldWrapperClass1 implements RTCIceCandidate {
|
| @@ -14199,14 +14626,6 @@ class _RTCIceCandidateImpl extends NativeFieldWrapperClass1 implements RTCIceCan
|
| String get sdpMid native "RTCIceCandidate_sdpMid_Getter";
|
|
|
| }
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| -class _RTCPeerConnectionFactoryProvider {
|
| - factory RTCPeerConnection(Map rtcIceServers, [Map mediaConstraints]) => _createRTCPeerConnection(rtcIceServers, mediaConstraints);
|
| - static RTCPeerConnection _createRTCPeerConnection(Map rtcIceServers, [Map mediaConstraints]) native "RTCPeerConnection_constructor_Callback";
|
| -}
|
|
|
| class _RTCPeerConnectionEventsImpl extends _EventsImpl implements RTCPeerConnectionEvents {
|
| _RTCPeerConnectionEventsImpl(_ptr) : super(_ptr);
|
| @@ -14275,14 +14694,6 @@ class _RTCPeerConnectionImpl extends _EventTargetImpl implements RTCPeerConnecti
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -class _RTCSessionDescriptionFactoryProvider {
|
| - factory RTCSessionDescription(Map dictionary) => _createRTCSessionDescription(dictionary);
|
| - static RTCSessionDescription _createRTCSessionDescription(Map dictionary) native "RTCSessionDescription_constructor_Callback";
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| // WARNING: Do not edit - generated code.
|
|
|
| class _RTCSessionDescriptionImpl extends NativeFieldWrapperClass1 implements RTCSessionDescription {
|
| @@ -18374,14 +18785,6 @@ class _ScriptProfileNodeImpl extends NativeFieldWrapperClass1 implements ScriptP
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -class _SessionDescriptionFactoryProvider {
|
| - factory SessionDescription(String sdp) => _createSessionDescription(sdp);
|
| - static SessionDescription _createSessionDescription(String sdp) native "SessionDescription_constructor_Callback";
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| // WARNING: Do not edit - generated code.
|
|
|
| class _SessionDescriptionImpl extends NativeFieldWrapperClass1 implements SessionDescription {
|
| @@ -18395,14 +18798,6 @@ class _SessionDescriptionImpl extends NativeFieldWrapperClass1 implements Sessio
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -class _ShadowRootFactoryProvider {
|
| - factory ShadowRoot(Element host) => _createShadowRoot(host);
|
| - static ShadowRoot _createShadowRoot(Element host) native "ShadowRoot_constructor_Callback";
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| // WARNING: Do not edit - generated code.
|
|
|
| class _ShadowRootImpl extends _DocumentFragmentImpl implements ShadowRoot {
|
| @@ -18458,14 +18853,6 @@ class _SharedWorkerContextImpl extends _WorkerContextImpl implements SharedWorke
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -class _SharedWorkerFactoryProvider {
|
| - factory SharedWorker(String scriptURL, [String name]) => _createSharedWorker(scriptURL, name);
|
| - static SharedWorker _createSharedWorker(String scriptURL, [String name]) native "SharedWorker_constructor_Callback";
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| // WARNING: Do not edit - generated code.
|
|
|
| class _SharedWorkerImpl extends _AbstractWorkerImpl implements SharedWorker {
|
| @@ -18508,16 +18895,8 @@ class _SourceBufferListImpl extends _EventTargetImpl implements SourceBufferList
|
|
|
| SourceBuffer item(int index) native "SourceBufferList_item_Callback";
|
|
|
| - void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native "SourceBufferList_removeEventListener_Callback";
|
| -
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| -class _SpeechGrammarFactoryProvider {
|
| - factory SpeechGrammar() => _createSpeechGrammar();
|
| - static SpeechGrammar _createSpeechGrammar() native "SpeechGrammar_constructor_Callback";
|
| + void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native "SourceBufferList_removeEventListener_Callback";
|
| +
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| @@ -18540,14 +18919,6 @@ class _SpeechGrammarImpl extends NativeFieldWrapperClass1 implements SpeechGramm
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -class _SpeechGrammarListFactoryProvider {
|
| - factory SpeechGrammarList() => _createSpeechGrammarList();
|
| - static SpeechGrammarList _createSpeechGrammarList() native "SpeechGrammarList_constructor_Callback";
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| // WARNING: Do not edit - generated code.
|
|
|
| class _SpeechGrammarListImpl extends NativeFieldWrapperClass1 implements SpeechGrammarList {
|
| @@ -18659,14 +19030,6 @@ class _SpeechRecognitionEventImpl extends _EventImpl implements SpeechRecognitio
|
| int get resultIndex native "SpeechRecognitionEvent_resultIndex_Getter";
|
|
|
| }
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| -class _SpeechRecognitionFactoryProvider {
|
| - factory SpeechRecognition() => _createSpeechRecognition();
|
| - static SpeechRecognition _createSpeechRecognition() native "SpeechRecognition_constructor_Callback";
|
| -}
|
|
|
| class _SpeechRecognitionEventsImpl extends _EventsImpl implements SpeechRecognitionEvents {
|
| _SpeechRecognitionEventsImpl(_ptr) : super(_ptr);
|
| @@ -19037,14 +19400,6 @@ class _TextMetricsImpl extends NativeFieldWrapperClass1 implements TextMetrics {
|
| num get width native "TextMetrics_width_Getter";
|
|
|
| }
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| -class _TextTrackCueFactoryProvider {
|
| - factory TextTrackCue(num startTime, num endTime, String text) => _createTextTrackCue(startTime, endTime, text);
|
| - static TextTrackCue _createTextTrackCue(num startTime, num endTime, String text) native "TextTrackCue_constructor_Callback";
|
| -}
|
|
|
| class _TextTrackCueEventsImpl extends _EventsImpl implements TextTrackCueEvents {
|
| _TextTrackCueEventsImpl(_ptr) : super(_ptr);
|
| @@ -20528,14 +20883,6 @@ class _WebKitCSSKeyframesRuleImpl extends _CSSRuleImpl implements CSSKeyframesRu
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -class _CSSMatrixFactoryProvider {
|
| - factory CSSMatrix([String cssValue]) => _createCSSMatrix(cssValue);
|
| - static CSSMatrix _createCSSMatrix([String cssValue]) native "WebKitCSSMatrix_constructor_Callback";
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| // WARNING: Do not edit - generated code.
|
|
|
| class _WebKitCSSMatrixImpl extends NativeFieldWrapperClass1 implements CSSMatrix {
|
| @@ -20860,14 +21207,6 @@ class _WorkerContextImpl extends _EventTargetImpl implements WorkerContext {
|
| void webkitResolveLocalFileSystemURL(String url, [EntryCallback successCallback, ErrorCallback errorCallback]) native "WorkerContext_webkitResolveLocalFileSystemURL_Callback";
|
|
|
| }
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| -class _WorkerFactoryProvider {
|
| - factory Worker(String scriptUrl) => _createWorker(scriptUrl);
|
| - static Worker _createWorker(String scriptUrl) native "Worker_constructor_Callback";
|
| -}
|
|
|
| class _WorkerEventsImpl extends _AbstractWorkerEventsImpl implements WorkerEvents {
|
| _WorkerEventsImpl(_ptr) : super(_ptr);
|
| @@ -20955,22 +21294,6 @@ class _XMLHttpRequestExceptionImpl extends NativeFieldWrapperClass1 implements H
|
| String toString() native "XMLHttpRequestException_toString_Callback";
|
|
|
| }
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| -class _HttpRequestFactoryProvider {
|
| - factory HttpRequest() => _createHttpRequest();
|
| - static HttpRequest _createHttpRequest() native "XMLHttpRequest_constructor_Callback";
|
| -
|
| - factory HttpRequest.get(String url,
|
| - onSuccess(HttpRequest request)) =>
|
| - _HttpRequestUtils.get(url, onSuccess, false);
|
| -
|
| - factory HttpRequest.getWithCredentials(String url,
|
| - onSuccess(HttpRequest request)) =>
|
| - _HttpRequestUtils.get(url, onSuccess, true);
|
| -}
|
|
|
| class _HttpRequestEventsImpl extends _EventsImpl implements HttpRequestEvents {
|
| _HttpRequestEventsImpl(_ptr) : super(_ptr);
|
| @@ -21094,441 +21417,118 @@ class _XMLHttpRequestUploadImpl extends _EventTargetImpl implements HttpRequestU
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -class _XMLSerializerFactoryProvider {
|
| - factory XMLSerializer() => _createXMLSerializer();
|
| - static XMLSerializer _createXMLSerializer() native "XMLSerializer_constructor_Callback";
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| -// WARNING: Do not edit - generated code.
|
| -
|
| -class _XMLSerializerImpl extends NativeFieldWrapperClass1 implements XMLSerializer {
|
| -
|
| - String serializeToString(Node node) native "XMLSerializer_serializeToString_Callback";
|
| -
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| -class _XPathEvaluatorFactoryProvider {
|
| - factory XPathEvaluator() => _createXPathEvaluator();
|
| - static XPathEvaluator _createXPathEvaluator() native "XPathEvaluator_constructor_Callback";
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| -// WARNING: Do not edit - generated code.
|
| -
|
| -class _XPathEvaluatorImpl extends NativeFieldWrapperClass1 implements XPathEvaluator {
|
| -
|
| - XPathExpression createExpression(String expression, XPathNSResolver resolver) native "XPathEvaluator_createExpression_Callback";
|
| -
|
| - XPathNSResolver createNSResolver(Node nodeResolver) native "XPathEvaluator_createNSResolver_Callback";
|
| -
|
| - XPathResult evaluate(String expression, Node contextNode, XPathNSResolver resolver, int type, XPathResult inResult) native "XPathEvaluator_evaluate_Callback";
|
| -
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| -// WARNING: Do not edit - generated code.
|
| -
|
| -class _XPathExceptionImpl extends NativeFieldWrapperClass1 implements XPathException {
|
| -
|
| - int get code native "XPathException_code_Getter";
|
| -
|
| - String get message native "XPathException_message_Getter";
|
| -
|
| - String get name native "XPathException_name_Getter";
|
| -
|
| - String toString() native "XPathException_toString_Callback";
|
| -
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| -// WARNING: Do not edit - generated code.
|
| -
|
| -class _XPathExpressionImpl extends NativeFieldWrapperClass1 implements XPathExpression {
|
| -
|
| - XPathResult evaluate(Node contextNode, int type, XPathResult inResult) native "XPathExpression_evaluate_Callback";
|
| -
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| -// WARNING: Do not edit - generated code.
|
| -
|
| -class _XPathNSResolverImpl extends NativeFieldWrapperClass1 implements XPathNSResolver {
|
| -
|
| - String lookupNamespaceURI(String prefix) native "XPathNSResolver_lookupNamespaceURI_Callback";
|
| -
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| -// WARNING: Do not edit - generated code.
|
| -
|
| -class _XPathResultImpl extends NativeFieldWrapperClass1 implements XPathResult {
|
| -
|
| - bool get booleanValue native "XPathResult_booleanValue_Getter";
|
| -
|
| - bool get invalidIteratorState native "XPathResult_invalidIteratorState_Getter";
|
| -
|
| - num get numberValue native "XPathResult_numberValue_Getter";
|
| -
|
| - int get resultType native "XPathResult_resultType_Getter";
|
| -
|
| - Node get singleNodeValue native "XPathResult_singleNodeValue_Getter";
|
| -
|
| - int get snapshotLength native "XPathResult_snapshotLength_Getter";
|
| -
|
| - String get stringValue native "XPathResult_stringValue_Getter";
|
| -
|
| - Node iterateNext() native "XPathResult_iterateNext_Callback";
|
| -
|
| - Node snapshotItem(int index) native "XPathResult_snapshotItem_Callback";
|
| -
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| -class _XSLTProcessorFactoryProvider {
|
| - factory XSLTProcessor() => _createXSLTProcessor();
|
| - static XSLTProcessor _createXSLTProcessor() native "XSLTProcessor_constructor_Callback";
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| // WARNING: Do not edit - generated code.
|
|
|
| -class _XSLTProcessorImpl extends NativeFieldWrapperClass1 implements XSLTProcessor {
|
| -
|
| - void clearParameters() native "XSLTProcessor_clearParameters_Callback";
|
| -
|
| - String getParameter(String namespaceURI, String localName) native "XSLTProcessor_getParameter_Callback";
|
| -
|
| - void importStylesheet(Node stylesheet) native "XSLTProcessor_importStylesheet_Callback";
|
| -
|
| - void removeParameter(String namespaceURI, String localName) native "XSLTProcessor_removeParameter_Callback";
|
| -
|
| - void reset() native "XSLTProcessor_reset_Callback";
|
| -
|
| - void setParameter(String namespaceURI, String localName, String value) native "XSLTProcessor_setParameter_Callback";
|
| -
|
| - Document transformToDocument(Node source) native "XSLTProcessor_transformToDocument_Callback";
|
| -
|
| - DocumentFragment transformToFragment(Node source, Document docVal) native "XSLTProcessor_transformToFragment_Callback";
|
| -
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| -class _Elements {
|
| -
|
| -
|
| - factory AnchorElement([String href]) {
|
| - _HTMLAnchorElementImpl _e = _document.$dom_createElement("a");
|
| - if (href != null) _e.href = href;
|
| - return _e;
|
| - }
|
| -
|
| - factory AreaElement() {
|
| - _HTMLAreaElementImpl _e = _document.$dom_createElement("area");
|
| - return _e;
|
| - }
|
| -
|
| - factory BRElement() {
|
| - _HTMLBRElementImpl _e = _document.$dom_createElement("br");
|
| - return _e;
|
| - }
|
| -
|
| - factory BaseElement() {
|
| - _HTMLBaseElementImpl _e = _document.$dom_createElement("base");
|
| - return _e;
|
| - }
|
| -
|
| - factory BodyElement() {
|
| - _HTMLBodyElementImpl _e = _document.$dom_createElement("body");
|
| - return _e;
|
| - }
|
| -
|
| - factory ButtonElement() {
|
| - _HTMLButtonElementImpl _e = _document.$dom_createElement("button");
|
| - return _e;
|
| - }
|
| -
|
| - factory CanvasElement([int width, int height]) {
|
| - _HTMLCanvasElementImpl _e = _document.$dom_createElement("canvas");
|
| - if (width != null) _e.width = width;
|
| - if (height != null) _e.height = height;
|
| - return _e;
|
| - }
|
| -
|
| - factory DListElement() {
|
| - _HTMLDListElementImpl _e = _document.$dom_createElement("dl");
|
| - return _e;
|
| - }
|
| -
|
| - factory DataListElement() {
|
| - _HTMLDataListElementImpl _e = _document.$dom_createElement("datalist");
|
| - return _e;
|
| - }
|
| -
|
| - factory DetailsElement() {
|
| - _HTMLDetailsElementImpl _e = _document.$dom_createElement("details");
|
| - return _e;
|
| - }
|
| -
|
| - factory DivElement() {
|
| - _HTMLDivElementImpl _e = _document.$dom_createElement("div");
|
| - return _e;
|
| - }
|
| +class _XMLSerializerImpl extends NativeFieldWrapperClass1 implements XMLSerializer {
|
|
|
| - factory EmbedElement() {
|
| - _HTMLEmbedElementImpl _e = _document.$dom_createElement("embed");
|
| - return _e;
|
| - }
|
| + String serializeToString(Node node) native "XMLSerializer_serializeToString_Callback";
|
|
|
| - factory FieldSetElement() {
|
| - _HTMLFieldSetElementImpl _e = _document.$dom_createElement("fieldset");
|
| - return _e;
|
| - }
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
|
|
| - factory FormElement() {
|
| - _HTMLFormElementImpl _e = _document.$dom_createElement("form");
|
| - return _e;
|
| - }
|
| +// WARNING: Do not edit - generated code.
|
|
|
| - factory HRElement() {
|
| - _HTMLHRElementImpl _e = _document.$dom_createElement("hr");
|
| - return _e;
|
| - }
|
| +class _XPathEvaluatorImpl extends NativeFieldWrapperClass1 implements XPathEvaluator {
|
|
|
| - factory HeadElement() {
|
| - _HTMLHeadElementImpl _e = _document.$dom_createElement("head");
|
| - return _e;
|
| - }
|
| + XPathExpression createExpression(String expression, XPathNSResolver resolver) native "XPathEvaluator_createExpression_Callback";
|
|
|
| - factory HeadingElement.h1() {
|
| - _HTMLHeadingElementImpl _e = _document.$dom_createElement("h1");
|
| - return _e;
|
| - }
|
| + XPathNSResolver createNSResolver(Node nodeResolver) native "XPathEvaluator_createNSResolver_Callback";
|
|
|
| - factory HeadingElement.h2() {
|
| - _HTMLHeadingElementImpl _e = _document.$dom_createElement("h2");
|
| - return _e;
|
| - }
|
| + XPathResult evaluate(String expression, Node contextNode, XPathNSResolver resolver, int type, XPathResult inResult) native "XPathEvaluator_evaluate_Callback";
|
|
|
| - factory HeadingElement.h3() {
|
| - _HTMLHeadingElementImpl _e = _document.$dom_createElement("h3");
|
| - return _e;
|
| - }
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
|
|
| - factory HeadingElement.h4() {
|
| - _HTMLHeadingElementImpl _e = _document.$dom_createElement("h4");
|
| - return _e;
|
| - }
|
| +// WARNING: Do not edit - generated code.
|
|
|
| - factory HeadingElement.h5() {
|
| - _HTMLHeadingElementImpl _e = _document.$dom_createElement("h5");
|
| - return _e;
|
| - }
|
| +class _XPathExceptionImpl extends NativeFieldWrapperClass1 implements XPathException {
|
|
|
| - factory HeadingElement.h6() {
|
| - _HTMLHeadingElementImpl _e = _document.$dom_createElement("h6");
|
| - return _e;
|
| - }
|
| + int get code native "XPathException_code_Getter";
|
|
|
| - factory HtmlElement() {
|
| - _HTMLHtmlElementImpl _e = _document.$dom_createElement("html");
|
| - return _e;
|
| - }
|
| + String get message native "XPathException_message_Getter";
|
|
|
| - factory IFrameElement() {
|
| - _HTMLIFrameElementImpl _e = _document.$dom_createElement("iframe");
|
| - return _e;
|
| - }
|
| + String get name native "XPathException_name_Getter";
|
|
|
| - factory ImageElement([String src, int width, int height]) {
|
| - _HTMLImageElementImpl _e = _document.$dom_createElement("img");
|
| - if (src != null) _e.src = src;
|
| - if (width != null) _e.width = width;
|
| - if (height != null) _e.height = height;
|
| - return _e;
|
| - }
|
| + String toString() native "XPathException_toString_Callback";
|
|
|
| - factory InputElement([String type]) {
|
| - _HTMLInputElementImpl _e = _document.$dom_createElement("input");
|
| - if (type != null) _e.type = type;
|
| - return _e;
|
| - }
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
|
|
| - factory KeygenElement() {
|
| - _HTMLKeygenElementImpl _e = _document.$dom_createElement("keygen");
|
| - return _e;
|
| - }
|
| +// WARNING: Do not edit - generated code.
|
|
|
| - factory LIElement() {
|
| - _HTMLLIElementImpl _e = _document.$dom_createElement("li");
|
| - return _e;
|
| - }
|
| +class _XPathExpressionImpl extends NativeFieldWrapperClass1 implements XPathExpression {
|
|
|
| - factory LabelElement() {
|
| - _HTMLLabelElementImpl _e = _document.$dom_createElement("label");
|
| - return _e;
|
| - }
|
| + XPathResult evaluate(Node contextNode, int type, XPathResult inResult) native "XPathExpression_evaluate_Callback";
|
|
|
| - factory LegendElement() {
|
| - _HTMLLegendElementImpl _e = _document.$dom_createElement("legend");
|
| - return _e;
|
| - }
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
|
|
| - factory LinkElement() {
|
| - _HTMLLinkElementImpl _e = _document.$dom_createElement("link");
|
| - return _e;
|
| - }
|
| +// WARNING: Do not edit - generated code.
|
|
|
| - factory MapElement() {
|
| - _HTMLMapElementImpl _e = _document.$dom_createElement("map");
|
| - return _e;
|
| - }
|
| +class _XPathNSResolverImpl extends NativeFieldWrapperClass1 implements XPathNSResolver {
|
|
|
| - factory MenuElement() {
|
| - _HTMLMenuElementImpl _e = _document.$dom_createElement("menu");
|
| - return _e;
|
| - }
|
| + String lookupNamespaceURI(String prefix) native "XPathNSResolver_lookupNamespaceURI_Callback";
|
|
|
| - factory MeterElement() {
|
| - _HTMLMeterElementImpl _e = _document.$dom_createElement("meter");
|
| - return _e;
|
| - }
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
|
|
| - factory OListElement() {
|
| - _HTMLOListElementImpl _e = _document.$dom_createElement("ol");
|
| - return _e;
|
| - }
|
| +// WARNING: Do not edit - generated code.
|
|
|
| - factory ObjectElement() {
|
| - _HTMLObjectElementImpl _e = _document.$dom_createElement("object");
|
| - return _e;
|
| - }
|
| +class _XPathResultImpl extends NativeFieldWrapperClass1 implements XPathResult {
|
|
|
| - factory OptGroupElement() {
|
| - _HTMLOptGroupElementImpl _e = _document.$dom_createElement("optgroup");
|
| - return _e;
|
| - }
|
| + bool get booleanValue native "XPathResult_booleanValue_Getter";
|
|
|
| - factory OutputElement() {
|
| - _HTMLOutputElementImpl _e = _document.$dom_createElement("output");
|
| - return _e;
|
| - }
|
| + bool get invalidIteratorState native "XPathResult_invalidIteratorState_Getter";
|
|
|
| - factory ParagraphElement() {
|
| - _HTMLParagraphElementImpl _e = _document.$dom_createElement("p");
|
| - return _e;
|
| - }
|
| + num get numberValue native "XPathResult_numberValue_Getter";
|
|
|
| - factory ParamElement() {
|
| - _HTMLParamElementImpl _e = _document.$dom_createElement("param");
|
| - return _e;
|
| - }
|
| + int get resultType native "XPathResult_resultType_Getter";
|
|
|
| - factory PreElement() {
|
| - _HTMLPreElementImpl _e = _document.$dom_createElement("pre");
|
| - return _e;
|
| - }
|
| + Node get singleNodeValue native "XPathResult_singleNodeValue_Getter";
|
|
|
| - factory ProgressElement() {
|
| - _HTMLProgressElementImpl _e = _document.$dom_createElement("progress");
|
| - return _e;
|
| - }
|
| + int get snapshotLength native "XPathResult_snapshotLength_Getter";
|
|
|
| - factory ScriptElement() {
|
| - _HTMLScriptElementImpl _e = _document.$dom_createElement("script");
|
| - return _e;
|
| - }
|
| + String get stringValue native "XPathResult_stringValue_Getter";
|
|
|
| - factory SelectElement() {
|
| - _HTMLSelectElementImpl _e = _document.$dom_createElement("select");
|
| - return _e;
|
| - }
|
| + Node iterateNext() native "XPathResult_iterateNext_Callback";
|
|
|
| - factory SourceElement() {
|
| - _HTMLSourceElementImpl _e = _document.$dom_createElement("source");
|
| - return _e;
|
| - }
|
| + Node snapshotItem(int index) native "XPathResult_snapshotItem_Callback";
|
|
|
| - factory SpanElement() {
|
| - _HTMLSpanElementImpl _e = _document.$dom_createElement("span");
|
| - return _e;
|
| - }
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
|
|
| - factory StyleElement() {
|
| - _HTMLStyleElementImpl _e = _document.$dom_createElement("style");
|
| - return _e;
|
| - }
|
| +// WARNING: Do not edit - generated code.
|
|
|
| - factory TableCaptionElement() {
|
| - _HTMLTableCaptionElementImpl _e = _document.$dom_createElement("caption");
|
| - return _e;
|
| - }
|
| +class _XSLTProcessorImpl extends NativeFieldWrapperClass1 implements XSLTProcessor {
|
|
|
| - factory TableCellElement() {
|
| - _HTMLTableCellElementImpl _e = _document.$dom_createElement("td");
|
| - return _e;
|
| - }
|
| + void clearParameters() native "XSLTProcessor_clearParameters_Callback";
|
|
|
| - factory TableColElement() {
|
| - _HTMLTableColElementImpl _e = _document.$dom_createElement("col");
|
| - return _e;
|
| - }
|
| + String getParameter(String namespaceURI, String localName) native "XSLTProcessor_getParameter_Callback";
|
|
|
| - factory TableElement() {
|
| - _HTMLTableElementImpl _e = _document.$dom_createElement("table");
|
| - return _e;
|
| - }
|
| + void importStylesheet(Node stylesheet) native "XSLTProcessor_importStylesheet_Callback";
|
|
|
| - factory TableRowElement() {
|
| - _HTMLTableRowElementImpl _e = _document.$dom_createElement("tr");
|
| - return _e;
|
| - }
|
| + void removeParameter(String namespaceURI, String localName) native "XSLTProcessor_removeParameter_Callback";
|
|
|
| - factory TextAreaElement() {
|
| - _HTMLTextAreaElementImpl _e = _document.$dom_createElement("textarea");
|
| - return _e;
|
| - }
|
| + void reset() native "XSLTProcessor_reset_Callback";
|
|
|
| - factory TitleElement() {
|
| - _HTMLTitleElementImpl _e = _document.$dom_createElement("title");
|
| - return _e;
|
| - }
|
| + void setParameter(String namespaceURI, String localName, String value) native "XSLTProcessor_setParameter_Callback";
|
|
|
| - factory TrackElement() {
|
| - _HTMLTrackElementImpl _e = _document.$dom_createElement("track");
|
| - return _e;
|
| - }
|
| + Document transformToDocument(Node source) native "XSLTProcessor_transformToDocument_Callback";
|
|
|
| - factory UListElement() {
|
| - _HTMLUListElementImpl _e = _document.$dom_createElement("ul");
|
| - return _e;
|
| - }
|
| + DocumentFragment transformToFragment(Node source, Document docVal) native "XSLTProcessor_transformToFragment_Callback";
|
|
|
| - factory VideoElement() {
|
| - _HTMLVideoElementImpl _e = _document.$dom_createElement("video");
|
| - return _e;
|
| - }
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
|
|