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

Unified Diff: lib/html/dart2js/html_dart2js.dart

Side-by-side diff isn't available for this file because of its large size.
Issue 10915245: Removing interfaces from dart:html (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Incorporating review feedback. Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
Download patch
« no previous file with comments | « no previous file | lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/html/dart2js/html_dart2js.dart
diff --git a/lib/html/dart2js/html_dart2js.dart b/lib/html/dart2js/html_dart2js.dart
index f470f2d78d2fae2350579d1fb027bc3ec56e26ce..133308d617d56b463001ca17a8cc2b8d0b140c7f 100644
--- a/lib/html/dart2js/html_dart2js.dart
+++ b/lib/html/dart2js/html_dart2js.dart
@@ -6413,7 +6413,7 @@ class _ElementFactoryProvider {
};
/** @domName Document.createElement */
- factory Element.html(String html) {
+ static Element createElement_html(String html) {
// TODO(jacobr): this method can be made more robust and performant.
// 1) Cache the dummy parent elements required to use innerHTML rather than
// creating them every call.
@@ -6451,7 +6451,8 @@ class _ElementFactoryProvider {
/** @domName Document.createElement */
// Optimization to improve performance until the dart2js compiler inlines this
// method.
- factory Element.tag(String tag) native "return document.createElement(tag)";
+ static Element createElement_tag(String tag)
+ native "return document.createElement(tag)";
}
class _ElementEventsImpl extends _EventsImpl implements ElementEvents {
@@ -18109,7 +18110,7 @@ class _XSLTProcessorImpl implements XSLTProcessor native "*XSLTProcessor" {
// BSD-style license that can be found in the LICENSE file.
class _ArrayBufferFactoryProvider {
- factory ArrayBuffer(int length) native
+ static ArrayBuffer createArrayBuffer(int length) native
'''return new ArrayBuffer(length);''';
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -18117,7 +18118,7 @@ class _ArrayBufferFactoryProvider {
// BSD-style license that can be found in the LICENSE file.
class _AudioElementFactoryProvider {
- factory AudioElement([String src = null]) native '''
+ static AudioElement createAudioElement([String src = null]) native '''
if (src == null) return new Audio();
return new Audio(src);
''';
@@ -18127,7 +18128,7 @@ class _AudioElementFactoryProvider {
// BSD-style license that can be found in the LICENSE file.
class _BlobFactoryProvider {
- factory Blob(List blobParts = null, [String type, String endings]) {
+ static Blob createBlob([List blobParts = null, String type, String endings]) {
// TODO: validate that blobParts is a JS Array and convert if not.
// TODO: any coercions on the elements of blobParts, e.g. coerce a typed
// array to ArrayBuffer if it is a total view.
@@ -18151,7 +18152,7 @@ class _BlobFactoryProvider {
// BSD-style license that can be found in the LICENSE file.
class _CSSMatrixFactoryProvider {
- factory CSSMatrix([String cssValue = '']) native
+ static CSSMatrix createCSSMatrix([String cssValue = '']) native
'return new WebKitCSSMatrix(cssValue);';
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -18159,7 +18160,7 @@ class _CSSMatrixFactoryProvider {
// BSD-style license that can be found in the LICENSE file.
class _DOMParserFactoryProvider {
- factory DOMParser() native
+ static DOMParser createDOMParser() native
'''return new DOMParser();''';
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -18167,7 +18168,7 @@ class _DOMParserFactoryProvider {
// BSD-style license that can be found in the LICENSE file.
class _DOMURLFactoryProvider {
- factory DOMURL() native
+ static DOMURL createDOMURL() native
'''return new DOMURL();''';
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -18175,8 +18176,8 @@ class _DOMURLFactoryProvider {
// BSD-style license that can be found in the LICENSE file.
class _DataViewFactoryProvider {
- factory DataView(ArrayBuffer buffer,
- [int byteOffset = null, int byteLength = null])
+ static DataView createDataView(ArrayBuffer buffer,
+ [int byteOffset = null, int byteLength = null])
native '''
if (byteOffset == null) return new DataView(buffer);
if (byteLength == null) return new DataView(buffer, byteOffset);
@@ -18190,130 +18191,130 @@ class _DataViewFactoryProvider {
class _Elements {
- factory AnchorElement([String href]) {
+ static AnchorElement createAnchorElement([String href]) {
_AnchorElementImpl _e = _document.$dom_createElement("a");
if (href != null) _e.href = href;
return _e;
}
- factory AreaElement() {
+ static AreaElement createAreaElement() {
_AreaElementImpl _e = _document.$dom_createElement("area");
return _e;
}
- factory BRElement() {
+ static BRElement createBRElement() {
_BRElementImpl _e = _document.$dom_createElement("br");
return _e;
}
- factory BaseElement() {
+ static BaseElement createBaseElement() {
_BaseElementImpl _e = _document.$dom_createElement("base");
return _e;
}
- factory BodyElement() {
+ static BodyElement createBodyElement() {
_BodyElementImpl _e = _document.$dom_createElement("body");
return _e;
}
- factory ButtonElement() {
+ static ButtonElement createButtonElement() {
_ButtonElementImpl _e = _document.$dom_createElement("button");
return _e;
}
- factory CanvasElement([int width, int height]) {
+ static CanvasElement createCanvasElement([int width, int height]) {
_CanvasElementImpl _e = _document.$dom_createElement("canvas");
if (width != null) _e.width = width;
if (height != null) _e.height = height;
return _e;
}
- factory DListElement() {
+ static DListElement createDListElement() {
_DListElementImpl _e = _document.$dom_createElement("dl");
return _e;
}
- factory DataListElement() {
+ static DataListElement createDataListElement() {
_DataListElementImpl _e = _document.$dom_createElement("datalist");
return _e;
}
- factory DetailsElement() {
+ static DetailsElement createDetailsElement() {
_DetailsElementImpl _e = _document.$dom_createElement("details");
return _e;
}
- factory DivElement() {
+ static DivElement createDivElement() {
_DivElementImpl _e = _document.$dom_createElement("div");
return _e;
}
- factory EmbedElement() {
+ static EmbedElement createEmbedElement() {
_EmbedElementImpl _e = _document.$dom_createElement("embed");
return _e;
}
- factory FieldSetElement() {
+ static FieldSetElement createFieldSetElement() {
_FieldSetElementImpl _e = _document.$dom_createElement("fieldset");
return _e;
}
- factory FormElement() {
+ static FormElement createFormElement() {
_FormElementImpl _e = _document.$dom_createElement("form");
return _e;
}
- factory HRElement() {
+ static HRElement createHRElement() {
_HRElementImpl _e = _document.$dom_createElement("hr");
return _e;
}
- factory HeadElement() {
+ static HeadElement createHeadElement() {
_HeadElementImpl _e = _document.$dom_createElement("head");
return _e;
}
- factory HeadingElement.h1() {
+ static HeadingElement createHeadingElement_h1() {
_HeadingElementImpl _e = _document.$dom_createElement("h1");
return _e;
}
- factory HeadingElement.h2() {
+ static HeadingElement createHeadingElement_h2() {
_HeadingElementImpl _e = _document.$dom_createElement("h2");
return _e;
}
- factory HeadingElement.h3() {
+ static HeadingElement createHeadingElement_h3() {
_HeadingElementImpl _e = _document.$dom_createElement("h3");
return _e;
}
- factory HeadingElement.h4() {
+ static HeadingElement createHeadingElement_h4() {
_HeadingElementImpl _e = _document.$dom_createElement("h4");
return _e;
}
- factory HeadingElement.h5() {
+ static HeadingElement createHeadingElement_h5() {
_HeadingElementImpl _e = _document.$dom_createElement("h5");
return _e;
}
- factory HeadingElement.h6() {
+ static HeadingElement createHeadingElement_h6() {
_HeadingElementImpl _e = _document.$dom_createElement("h6");
return _e;
}
- factory HtmlElement() {
+ static HtmlElement createHtmlElement() {
_HtmlElementImpl _e = _document.$dom_createElement("html");
return _e;
}
- factory IFrameElement() {
+ static IFrameElement createIFrameElement() {
_IFrameElementImpl _e = _document.$dom_createElement("iframe");
return _e;
}
- factory ImageElement([String src, int width, int height]) {
+ static ImageElement createImageElement([String src, int width, int height]) {
_ImageElementImpl _e = _document.$dom_createElement("img");
if (src != null) _e.src = src;
if (width != null) _e.width = width;
@@ -18321,163 +18322,163 @@ class _Elements {
return _e;
}
- factory InputElement([String type]) {
+ static InputElement createInputElement([String type]) {
_InputElementImpl _e = _document.$dom_createElement("input");
if (type != null) _e.type = type;
return _e;
}
- factory KeygenElement() {
+ static KeygenElement createKeygenElement() {
_KeygenElementImpl _e = _document.$dom_createElement("keygen");
return _e;
}
- factory LIElement() {
+ static LIElement createLIElement() {
_LIElementImpl _e = _document.$dom_createElement("li");
return _e;
}
- factory LabelElement() {
+ static LabelElement createLabelElement() {
_LabelElementImpl _e = _document.$dom_createElement("label");
return _e;
}
- factory LegendElement() {
+ static LegendElement createLegendElement() {
_LegendElementImpl _e = _document.$dom_createElement("legend");
return _e;
}
- factory LinkElement() {
+ static LinkElement createLinkElement() {
_LinkElementImpl _e = _document.$dom_createElement("link");
return _e;
}
- factory MapElement() {
+ static MapElement createMapElement() {
_MapElementImpl _e = _document.$dom_createElement("map");
return _e;
}
- factory MenuElement() {
+ static MenuElement createMenuElement() {
_MenuElementImpl _e = _document.$dom_createElement("menu");
return _e;
}
- factory MeterElement() {
+ static MeterElement createMeterElement() {
_MeterElementImpl _e = _document.$dom_createElement("meter");
return _e;
}
- factory OListElement() {
+ static OListElement createOListElement() {
_OListElementImpl _e = _document.$dom_createElement("ol");
return _e;
}
- factory ObjectElement() {
+ static ObjectElement createObjectElement() {
_ObjectElementImpl _e = _document.$dom_createElement("object");
return _e;
}
- factory OptGroupElement() {
+ static OptGroupElement createOptGroupElement() {
_OptGroupElementImpl _e = _document.$dom_createElement("optgroup");
return _e;
}
- factory OutputElement() {
+ static OutputElement createOutputElement() {
_OutputElementImpl _e = _document.$dom_createElement("output");
return _e;
}
- factory ParagraphElement() {
+ static ParagraphElement createParagraphElement() {
_ParagraphElementImpl _e = _document.$dom_createElement("p");
return _e;
}
- factory ParamElement() {
+ static ParamElement createParamElement() {
_ParamElementImpl _e = _document.$dom_createElement("param");
return _e;
}
- factory PreElement() {
+ static PreElement createPreElement() {
_PreElementImpl _e = _document.$dom_createElement("pre");
return _e;
}
- factory ProgressElement() {
+ static ProgressElement createProgressElement() {
_ProgressElementImpl _e = _document.$dom_createElement("progress");
return _e;
}
- factory ScriptElement() {
+ static ScriptElement createScriptElement() {
_ScriptElementImpl _e = _document.$dom_createElement("script");
return _e;
}
- factory SelectElement() {
+ static SelectElement createSelectElement() {
_SelectElementImpl _e = _document.$dom_createElement("select");
return _e;
}
- factory SourceElement() {
+ static SourceElement createSourceElement() {
_SourceElementImpl _e = _document.$dom_createElement("source");
return _e;
}
- factory SpanElement() {
+ static SpanElement createSpanElement() {
_SpanElementImpl _e = _document.$dom_createElement("span");
return _e;
}
- factory StyleElement() {
+ static StyleElement createStyleElement() {
_StyleElementImpl _e = _document.$dom_createElement("style");
return _e;
}
- factory TableCaptionElement() {
+ static TableCaptionElement createTableCaptionElement() {
_TableCaptionElementImpl _e = _document.$dom_createElement("caption");
return _e;
}
- factory TableCellElement() {
+ static TableCellElement createTableCellElement() {
_TableCellElementImpl _e = _document.$dom_createElement("td");
return _e;
}
- factory TableColElement() {
+ static TableColElement createTableColElement() {
_TableColElementImpl _e = _document.$dom_createElement("col");
return _e;
}
- factory TableElement() {
+ static TableElement createTableElement() {
_TableElementImpl _e = _document.$dom_createElement("table");
return _e;
}
- factory TableRowElement() {
+ static TableRowElement createTableRowElement() {
_TableRowElementImpl _e = _document.$dom_createElement("tr");
return _e;
}
- factory TextAreaElement() {
+ static TextAreaElement createTextAreaElement() {
_TextAreaElementImpl _e = _document.$dom_createElement("textarea");
return _e;
}
- factory TitleElement() {
+ static TitleElement createTitleElement() {
_TitleElementImpl _e = _document.$dom_createElement("title");
return _e;
}
- factory TrackElement() {
+ static TrackElement createTrackElement() {
_TrackElementImpl _e = _document.$dom_createElement("track");
return _e;
}
- factory UListElement() {
+ static UListElement createUListElement() {
_UListElementImpl _e = _document.$dom_createElement("ul");
return _e;
}
- factory VideoElement() {
+ static VideoElement createVideoElement() {
_VideoElementImpl _e = _document.$dom_createElement("video");
return _e;
}
@@ -18487,7 +18488,7 @@ class _Elements {
// BSD-style license that can be found in the LICENSE file.
class _EventSourceFactoryProvider {
- factory EventSource(String scriptUrl) native
+ static EventSource createEventSource(String scriptUrl) native
'''return new EventSource(scriptUrl);''';
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -18495,7 +18496,7 @@ class _EventSourceFactoryProvider {
// BSD-style license that can be found in the LICENSE file.
class _FileReaderFactoryProvider {
- factory FileReader() native
+ static FileReader createFileReader() native
'''return new FileReader();''';
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -18503,7 +18504,7 @@ class _FileReaderFactoryProvider {
// BSD-style license that can be found in the LICENSE file.
class _FileReaderSyncFactoryProvider {
- factory FileReaderSync() native
+ static FileReaderSync createFileReaderSync() native
'''return new FileReaderSync();''';
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -18511,7 +18512,7 @@ class _FileReaderSyncFactoryProvider {
// BSD-style license that can be found in the LICENSE file.
class _FormDataFactoryProvider {
- factory FormData([FormElement form = null]) native '''
+ static FormData createFormData([FormElement form = null]) native '''
if (form == null) return new FormData();
return new FormData(form);
''';
@@ -18521,14 +18522,14 @@ class _FormDataFactoryProvider {
// BSD-style license that can be found in the LICENSE file.
class _HttpRequestFactoryProvider {
- factory HttpRequest() native 'return new XMLHttpRequest();';
+ static HttpRequest createHttpRequest() native 'return new XMLHttpRequest();';
- factory HttpRequest.get(String url,
- onSuccess(HttpRequest request)) =>
+ static HttpRequest createHttpRequest_get(String url,
+ onSuccess(HttpRequest request)) =>
_HttpRequestUtils.get(url, onSuccess, false);
- factory HttpRequest.getWithCredentials(String url,
- onSuccess(HttpRequest request)) =>
+ static HttpRequest createHttpRequest_getWithCredentials(String url,
+ onSuccess(HttpRequest request)) =>
_HttpRequestUtils.get(url, onSuccess, true);
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -18536,7 +18537,7 @@ class _HttpRequestFactoryProvider {
// BSD-style license that can be found in the LICENSE file.
class _IceCandidateFactoryProvider {
- factory IceCandidate(String label, String candidateLine) native
+ static IceCandidate createIceCandidate(String label, String candidateLine) native
'''return new IceCandidate(label, candidateLine);''';
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -18544,7 +18545,7 @@ class _IceCandidateFactoryProvider {
// BSD-style license that can be found in the LICENSE file.
class _MediaControllerFactoryProvider {
- factory MediaController() native
+ static MediaController createMediaController() native
'''return new MediaController();''';
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -18552,7 +18553,7 @@ class _MediaControllerFactoryProvider {
// BSD-style license that can be found in the LICENSE file.
class _MediaSourceFactoryProvider {
- factory MediaSource() native
+ static MediaSource createMediaSource() native
'''return new MediaSource();''';
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -18560,7 +18561,7 @@ class _MediaSourceFactoryProvider {
// BSD-style license that can be found in the LICENSE file.
class _MediaStreamFactoryProvider {
- factory MediaStream(MediaStreamTrackList audioTracks, MediaStreamTrackList videoTracks) native
+ static MediaStream createMediaStream(MediaStreamTrackList audioTracks, MediaStreamTrackList videoTracks) native
'''return new MediaStream(audioTracks, videoTracks);''';
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -18568,7 +18569,7 @@ class _MediaStreamFactoryProvider {
// BSD-style license that can be found in the LICENSE file.
class _MessageChannelFactoryProvider {
- factory MessageChannel() native
+ static MessageChannel createMessageChannel() native
'''return new MessageChannel();''';
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -18576,7 +18577,7 @@ class _MessageChannelFactoryProvider {
// BSD-style license that can be found in the LICENSE file.
class _MutationObserverFactoryProvider {
- factory MutationObserver(MutationCallback callback) native '''
+ static MutationObserver createMutationObserver(MutationCallback callback) native '''
var constructor =
window.MutationObserver || window.WebKitMutationObserver ||
window.MozMutationObserver;
@@ -18588,7 +18589,7 @@ class _MutationObserverFactoryProvider {
// BSD-style license that can be found in the LICENSE file.
class _NotificationFactoryProvider {
- factory Notification(String title, [Map options]) native
+ static Notification createNotification(String title, [Map options]) native
'''return new Notification(title, options);''';
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -18596,8 +18597,8 @@ class _NotificationFactoryProvider {
// BSD-style license that can be found in the LICENSE file.
class _OptionElementFactoryProvider {
- factory OptionElement([String data = null, String value = null,
- bool defaultSelected = null, bool selected = null])
+ static OptionElement createOptionElement(
+ [String data, String value, bool defaultSelected, bool selected])
native '''
if (data == null) return new Option();
if (value == null) return new Option(data);
@@ -18611,7 +18612,7 @@ class _OptionElementFactoryProvider {
// BSD-style license that can be found in the LICENSE file.
class _PeerConnection00FactoryProvider {
- factory PeerConnection00(String serverConfiguration, IceCallback iceCallback) native
+ static PeerConnection00 createPeerConnection00(String serverConfiguration, IceCallback iceCallback) native
'''return new PeerConnection00(serverConfiguration, iceCallback);''';
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -18619,7 +18620,7 @@ class _PeerConnection00FactoryProvider {
// BSD-style license that can be found in the LICENSE file.
class _RTCIceCandidateFactoryProvider {
- factory RTCIceCandidate(Map dictionary) native
+ static RTCIceCandidate createRTCIceCandidate(Map dictionary) native
'''return new RTCIceCandidate(dictionary);''';
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -18627,7 +18628,7 @@ class _RTCIceCandidateFactoryProvider {
// BSD-style license that can be found in the LICENSE file.
class _RTCPeerConnectionFactoryProvider {
- factory RTCPeerConnection(Map rtcIceServers, [Map mediaConstraints]) native
+ static RTCPeerConnection createRTCPeerConnection(Map rtcIceServers, [Map mediaConstraints]) native
'''return new RTCPeerConnection(rtcIceServers, mediaConstraints);''';
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -18635,7 +18636,7 @@ class _RTCPeerConnectionFactoryProvider {
// BSD-style license that can be found in the LICENSE file.
class _RTCSessionDescriptionFactoryProvider {
- factory RTCSessionDescription(Map dictionary) native
+ static RTCSessionDescription createRTCSessionDescription(Map dictionary) native
'''return new RTCSessionDescription(dictionary);''';
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -18643,7 +18644,7 @@ class _RTCSessionDescriptionFactoryProvider {
// BSD-style license that can be found in the LICENSE file.
class _SessionDescriptionFactoryProvider {
- factory SessionDescription(String sdp) native
+ static SessionDescription createSessionDescription(String sdp) native
'''return new SessionDescription(sdp);''';
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -18651,7 +18652,7 @@ class _SessionDescriptionFactoryProvider {
// BSD-style license that can be found in the LICENSE file.
class _ShadowRootFactoryProvider {
- factory ShadowRoot(Element host) native '''
+ static ShadowRoot createShadowRoot(Element host) native '''
return new WebKitShadowRoot(host);
''';
}
@@ -18660,17 +18661,18 @@ class _ShadowRootFactoryProvider {
// BSD-style license that can be found in the LICENSE file.
class _SharedWorkerFactoryProvider {
- factory SharedWorker(String scriptURL, [String name]) native '''
- if (name == null) return new SharedWorker(scriptURL);
- return new SharedWorker(scriptURL, name);
- ''';
+ static SharedWorker createSharedWorker(String scriptURL, [String name])
+ native '''
+ if (name == null) return new SharedWorker(scriptURL);
+ return new SharedWorker(scriptURL, name);
+ ''';
}
// 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() native
+ static SpeechGrammar createSpeechGrammar() native
'''return new SpeechGrammar();''';
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -18678,7 +18680,7 @@ class _SpeechGrammarFactoryProvider {
// BSD-style license that can be found in the LICENSE file.
class _SpeechGrammarListFactoryProvider {
- factory SpeechGrammarList() native
+ static SpeechGrammarList createSpeechGrammarList() native
'''return new SpeechGrammarList();''';
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -18686,7 +18688,7 @@ class _SpeechGrammarListFactoryProvider {
// BSD-style license that can be found in the LICENSE file.
class _SpeechRecognitionFactoryProvider {
- factory SpeechRecognition() native
+ static SpeechRecognition createSpeechRecognition() native
'''return new SpeechRecognition();''';
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -18694,21 +18696,23 @@ class _SpeechRecognitionFactoryProvider {
// BSD-style license that can be found in the LICENSE file.
class _TextTrackCueFactoryProvider {
- factory TextTrackCue(String id, num startTime, num endTime, String text,
- [String settings, bool pauseOnExit]) native '''
- if (settings == null)
- return new TextTrackCue(id, startTime, endTime, text);
- if (pauseOnExit == null)
- return new TextTrackCue(id, startTime, endTime, text, settings);
- return new TextTrackCue(id, startTime, endTime, text, settings, pauseOnExit);
- ''';
+ static TextTrackCue createTextTrackCue(
+ String id, num startTime, num endTime, String text,
+ [String settings, bool pauseOnExit])
+ native '''
+ if (settings == null)
+ return new TextTrackCue(id, startTime, endTime, text);
+ if (pauseOnExit == null)
+ return new TextTrackCue(id, startTime, endTime, text, settings);
+ return new TextTrackCue(id, startTime, endTime, text, settings, pauseOnExit);
+ ''';
}
// 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) native
+ static Worker createWorker(String scriptUrl) native
'''return new Worker(scriptUrl);''';
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -18716,7 +18720,7 @@ class _WorkerFactoryProvider {
// BSD-style license that can be found in the LICENSE file.
class _XMLSerializerFactoryProvider {
- factory XMLSerializer() native
+ static XMLSerializer createXMLSerializer() native
'''return new XMLSerializer();''';
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -18724,7 +18728,7 @@ class _XMLSerializerFactoryProvider {
// BSD-style license that can be found in the LICENSE file.
class _XPathEvaluatorFactoryProvider {
- factory XPathEvaluator() native
+ static XPathEvaluator createXPathEvaluator() native
'''return new XPathEvaluator();''';
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -18732,7 +18736,7 @@ class _XPathEvaluatorFactoryProvider {
// BSD-style license that can be found in the LICENSE file.
class _XSLTProcessorFactoryProvider {
- factory XSLTProcessor() native
+ static XSLTProcessor createXSLTProcessor() native
'''return new XSLTProcessor();''';
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -18742,7 +18746,7 @@ class _XSLTProcessorFactoryProvider {
// WARNING: Do not edit - generated code.
/// @domName AbstractWorker
-interface AbstractWorker extends EventTarget {
+abstract class AbstractWorker implements EventTarget {
/**
* @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent
@@ -18759,7 +18763,7 @@ interface AbstractWorker extends EventTarget {
void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]);
}
-interface AbstractWorkerEvents extends Events {
+abstract class AbstractWorkerEvents implements Events {
EventListenerList get error;
}
@@ -18770,9 +18774,14 @@ interface AbstractWorkerEvents extends Events {
// WARNING: Do not edit - generated code.
/// @domName HTMLAnchorElement
-interface AnchorElement extends Element default _Elements {
+abstract class AnchorElement implements Element {
- AnchorElement([String href]);
+ factory AnchorElement([String href]) {
+ if (!?href) {
+ return _Elements.createAnchorElement();
+ }
+ return _Elements.createAnchorElement(href);
+ }
/** @domName HTMLAnchorElement.charset */
String charset;
@@ -18802,7 +18811,7 @@ interface AnchorElement extends Element default _Elements {
String name;
/** @domName HTMLAnchorElement.origin */
- final String origin;
+ abstract String get origin;
/** @domName HTMLAnchorElement.pathname */
String pathname;
@@ -18844,7 +18853,7 @@ interface AnchorElement extends Element default _Elements {
// WARNING: Do not edit - generated code.
/// @domName WebKitAnimation
-interface Animation {
+abstract class Animation {
static const int DIRECTION_ALTERNATE = 1;
@@ -18859,31 +18868,31 @@ interface Animation {
static const int FILL_NONE = 0;
/** @domName WebKitAnimation.delay */
- final num delay;
+ abstract num get delay;
/** @domName WebKitAnimation.direction */
- final int direction;
+ abstract int get direction;
/** @domName WebKitAnimation.duration */
- final num duration;
+ abstract num get duration;
/** @domName WebKitAnimation.elapsedTime */
num elapsedTime;
/** @domName WebKitAnimation.ended */
- final bool ended;
+ abstract bool get ended;
/** @domName WebKitAnimation.fillMode */
- final int fillMode;
+ abstract int get fillMode;
/** @domName WebKitAnimation.iterationCount */
- final int iterationCount;
+ abstract int get iterationCount;
/** @domName WebKitAnimation.name */
- final String name;
+ abstract String get name;
/** @domName WebKitAnimation.paused */
- final bool paused;
+ abstract bool get paused;
/** @domName WebKitAnimation.pause */
void pause();
@@ -18898,13 +18907,13 @@ interface Animation {
// WARNING: Do not edit - generated code.
/// @domName WebKitAnimationEvent
-interface AnimationEvent extends Event {
+abstract class AnimationEvent implements Event {
/** @domName WebKitAnimationEvent.animationName */
- final String animationName;
+ abstract String get animationName;
/** @domName WebKitAnimationEvent.elapsedTime */
- final num elapsedTime;
+ abstract num get elapsedTime;
}
// 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
@@ -18913,10 +18922,10 @@ interface AnimationEvent extends Event {
// WARNING: Do not edit - generated code.
/// @domName WebKitAnimationList
-interface AnimationList {
+abstract class AnimationList {
/** @domName WebKitAnimationList.length */
- final int length;
+ abstract int get length;
/** @domName WebKitAnimationList.item */
Animation item(int index);
@@ -18928,7 +18937,7 @@ interface AnimationList {
// WARNING: Do not edit - generated code.
/// @domName HTMLAppletElement
-interface AppletElement extends Element {
+abstract class AppletElement implements Element {
/** @domName HTMLAppletElement.align */
String align;
@@ -18970,9 +18979,9 @@ interface AppletElement extends Element {
// WARNING: Do not edit - generated code.
/// @domName HTMLAreaElement
-interface AreaElement extends Element default _Elements {
+abstract class AreaElement implements Element {
- AreaElement();
+ factory AreaElement() => _Elements.createAreaElement();
/** @domName HTMLAreaElement.alt */
String alt;
@@ -18981,13 +18990,13 @@ interface AreaElement extends Element default _Elements {
String coords;
/** @domName HTMLAreaElement.hash */
- final String hash;
+ abstract String get hash;
/** @domName HTMLAreaElement.host */
- final String host;
+ abstract String get host;
/** @domName HTMLAreaElement.hostname */
- final String hostname;
+ abstract String get hostname;
/** @domName HTMLAreaElement.href */
String href;
@@ -18996,19 +19005,19 @@ interface AreaElement extends Element default _Elements {
bool noHref;
/** @domName HTMLAreaElement.pathname */
- final String pathname;
+ abstract String get pathname;
/** @domName HTMLAreaElement.ping */
String ping;
/** @domName HTMLAreaElement.port */
- final String port;
+ abstract String get port;
/** @domName HTMLAreaElement.protocol */
- final String protocol;
+ abstract String get protocol;
/** @domName HTMLAreaElement.search */
- final String search;
+ abstract String get search;
/** @domName HTMLAreaElement.shape */
String shape;
@@ -19023,12 +19032,12 @@ interface AreaElement extends Element default _Elements {
// WARNING: Do not edit - generated code.
/// @domName ArrayBuffer
-interface ArrayBuffer default _ArrayBufferFactoryProvider {
+abstract class ArrayBuffer {
- ArrayBuffer(int length);
+ factory ArrayBuffer(int length) => _ArrayBufferFactoryProvider.createArrayBuffer(length);
/** @domName ArrayBuffer.byteLength */
- final int byteLength;
+ abstract int get byteLength;
/** @domName ArrayBuffer.slice */
ArrayBuffer slice(int begin, [int end]);
@@ -19040,16 +19049,16 @@ interface ArrayBuffer default _ArrayBufferFactoryProvider {
// WARNING: Do not edit - generated code.
/// @domName ArrayBufferView
-interface ArrayBufferView {
+abstract class ArrayBufferView {
/** @domName ArrayBufferView.buffer */
- final ArrayBuffer buffer;
+ abstract ArrayBuffer get buffer;
/** @domName ArrayBufferView.byteLength */
- final int byteLength;
+ abstract int get byteLength;
/** @domName ArrayBufferView.byteOffset */
- final int byteOffset;
+ abstract int get byteOffset;
}
// 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
@@ -19058,19 +19067,19 @@ interface ArrayBufferView {
// WARNING: Do not edit - generated code.
/// @domName Attr
-interface Attr extends Node {
+abstract class Attr implements Node {
/** @domName Attr.isId */
- final bool isId;
+ abstract bool get isId;
/** @domName Attr.name */
- final String name;
+ abstract String get name;
/** @domName Attr.ownerElement */
- final Element ownerElement;
+ abstract Element get ownerElement;
/** @domName Attr.specified */
- final bool specified;
+ abstract bool get specified;
/** @domName Attr.value */
String value;
@@ -19082,22 +19091,22 @@ interface Attr extends Node {
// WARNING: Do not edit - generated code.
/// @domName AudioBuffer
-interface AudioBuffer {
+abstract class AudioBuffer {
/** @domName AudioBuffer.duration */
- final num duration;
+ abstract num get duration;
/** @domName AudioBuffer.gain */
num gain;
/** @domName AudioBuffer.length */
- final int length;
+ abstract int get length;
/** @domName AudioBuffer.numberOfChannels */
- final int numberOfChannels;
+ abstract int get numberOfChannels;
/** @domName AudioBuffer.sampleRate */
- final num sampleRate;
+ abstract num get sampleRate;
/** @domName AudioBuffer.getChannelData */
Float32Array getChannelData(int channelIndex);
@@ -19116,7 +19125,7 @@ typedef bool AudioBufferCallback(AudioBuffer audioBuffer);
// WARNING: Do not edit - generated code.
/// @domName AudioBufferSourceNode
-interface AudioBufferSourceNode extends AudioSourceNode {
+abstract class AudioBufferSourceNode implements AudioSourceNode {
static const int FINISHED_STATE = 3;
@@ -19130,7 +19139,7 @@ interface AudioBufferSourceNode extends AudioSourceNode {
AudioBuffer buffer;
/** @domName AudioBufferSourceNode.gain */
- final AudioGain gain;
+ abstract AudioGain get gain;
/** @domName AudioBufferSourceNode.loop */
bool loop;
@@ -19139,10 +19148,10 @@ interface AudioBufferSourceNode extends AudioSourceNode {
bool looping;
/** @domName AudioBufferSourceNode.playbackRate */
- final AudioParam playbackRate;
+ abstract AudioParam get playbackRate;
/** @domName AudioBufferSourceNode.playbackState */
- final int playbackState;
+ abstract int get playbackState;
/** @domName AudioBufferSourceNode.noteGrainOn */
void noteGrainOn(num when, num grainOffset, num grainDuration);
@@ -19160,7 +19169,7 @@ interface AudioBufferSourceNode extends AudioSourceNode {
// WARNING: Do not edit - generated code.
/// @domName AudioChannelMerger
-interface AudioChannelMerger extends AudioNode {
+abstract class AudioChannelMerger implements AudioNode {
}
// 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
@@ -19169,7 +19178,7 @@ interface AudioChannelMerger extends AudioNode {
// WARNING: Do not edit - generated code.
/// @domName AudioChannelSplitter
-interface AudioChannelSplitter extends AudioNode {
+abstract class AudioChannelSplitter implements AudioNode {
}
// 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
@@ -19178,8 +19187,8 @@ interface AudioChannelSplitter extends AudioNode {
// WARNING: Do not edit - generated code.
/// @domName AudioContext
-interface AudioContext extends EventTarget default _AudioContextFactoryProvider {
- AudioContext();
+abstract class AudioContext implements EventTarget {
+ factory AudioContext() => _AudioContextFactoryProvider.createAudioContext();
/**
* @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent
@@ -19187,19 +19196,19 @@ interface AudioContext extends EventTarget default _AudioContextFactoryProvider
AudioContextEvents get on;
/** @domName AudioContext.activeSourceCount */
- final int activeSourceCount;
+ abstract int get activeSourceCount;
/** @domName AudioContext.currentTime */
- final num currentTime;
+ abstract num get currentTime;
/** @domName AudioContext.destination */
- final AudioDestinationNode destination;
+ abstract AudioDestinationNode get destination;
/** @domName AudioContext.listener */
- final AudioListener listener;
+ abstract AudioListener get listener;
/** @domName AudioContext.sampleRate */
- final num sampleRate;
+ abstract num get sampleRate;
/** @domName AudioContext.createAnalyser */
RealtimeAnalyserNode createAnalyser();
@@ -19259,7 +19268,7 @@ interface AudioContext extends EventTarget default _AudioContextFactoryProvider
void startRendering();
}
-interface AudioContextEvents extends Events {
+abstract class AudioContextEvents implements Events {
EventListenerList get complete;
}
@@ -19270,10 +19279,10 @@ interface AudioContextEvents extends Events {
// WARNING: Do not edit - generated code.
/// @domName AudioDestinationNode
-interface AudioDestinationNode extends AudioNode {
+abstract class AudioDestinationNode implements AudioNode {
/** @domName AudioDestinationNode.numberOfChannels */
- final int numberOfChannels;
+ abstract int get numberOfChannels;
}
// 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
@@ -19282,9 +19291,14 @@ interface AudioDestinationNode extends AudioNode {
// WARNING: Do not edit - generated code.
/// @domName HTMLAudioElement
-interface AudioElement extends MediaElement default _AudioElementFactoryProvider {
+abstract class AudioElement implements MediaElement {
- AudioElement([String src]);
+ factory AudioElement([String src]) {
+ if (!?src) {
+ return _AudioElementFactoryProvider.createAudioElement();
+ }
+ return _AudioElementFactoryProvider.createAudioElement(src);
+ }
}
// 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
@@ -19293,7 +19307,7 @@ interface AudioElement extends MediaElement default _AudioElementFactoryProvider
// WARNING: Do not edit - generated code.
/// @domName AudioGain
-interface AudioGain extends AudioParam {
+abstract class AudioGain implements AudioParam {
}
// 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
@@ -19302,10 +19316,10 @@ interface AudioGain extends AudioParam {
// WARNING: Do not edit - generated code.
/// @domName AudioGainNode
-interface AudioGainNode extends AudioNode {
+abstract class AudioGainNode implements AudioNode {
/** @domName AudioGainNode.gain */
- final AudioGain gain;
+ abstract AudioGain get gain;
}
// 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
@@ -19314,7 +19328,7 @@ interface AudioGainNode extends AudioNode {
// WARNING: Do not edit - generated code.
/// @domName AudioListener
-interface AudioListener {
+abstract class AudioListener {
/** @domName AudioListener.dopplerFactor */
num dopplerFactor;
@@ -19338,16 +19352,16 @@ interface AudioListener {
// WARNING: Do not edit - generated code.
/// @domName AudioNode
-interface AudioNode {
+abstract class AudioNode {
/** @domName AudioNode.context */
- final AudioContext context;
+ abstract AudioContext get context;
/** @domName AudioNode.numberOfInputs */
- final int numberOfInputs;
+ abstract int get numberOfInputs;
/** @domName AudioNode.numberOfOutputs */
- final int numberOfOutputs;
+ abstract int get numberOfOutputs;
/** @domName AudioNode.connect */
void connect(destination, int output, [int input]);
@@ -19362,7 +19376,7 @@ interface AudioNode {
// WARNING: Do not edit - generated code.
/// @domName AudioPannerNode
-interface AudioPannerNode extends AudioNode {
+abstract class AudioPannerNode implements AudioNode {
static const int EQUALPOWER = 0;
@@ -19377,7 +19391,7 @@ interface AudioPannerNode extends AudioNode {
static const int SOUNDFIELD = 2;
/** @domName AudioPannerNode.coneGain */
- final AudioGain coneGain;
+ abstract AudioGain get coneGain;
/** @domName AudioPannerNode.coneInnerAngle */
num coneInnerAngle;
@@ -19389,7 +19403,7 @@ interface AudioPannerNode extends AudioNode {
num coneOuterGain;
/** @domName AudioPannerNode.distanceGain */
- final AudioGain distanceGain;
+ abstract AudioGain get distanceGain;
/** @domName AudioPannerNode.distanceModel */
int distanceModel;
@@ -19422,22 +19436,22 @@ interface AudioPannerNode extends AudioNode {
// WARNING: Do not edit - generated code.
/// @domName AudioParam
-interface AudioParam {
+abstract class AudioParam {
/** @domName AudioParam.defaultValue */
- final num defaultValue;
+ abstract num get defaultValue;
/** @domName AudioParam.maxValue */
- final num maxValue;
+ abstract num get maxValue;
/** @domName AudioParam.minValue */
- final num minValue;
+ abstract num get minValue;
/** @domName AudioParam.name */
- final String name;
+ abstract String get name;
/** @domName AudioParam.units */
- final int units;
+ abstract int get units;
/** @domName AudioParam.value */
num value;
@@ -19467,13 +19481,13 @@ interface AudioParam {
// WARNING: Do not edit - generated code.
/// @domName AudioProcessingEvent
-interface AudioProcessingEvent extends Event {
+abstract class AudioProcessingEvent implements Event {
/** @domName AudioProcessingEvent.inputBuffer */
- final AudioBuffer inputBuffer;
+ abstract AudioBuffer get inputBuffer;
/** @domName AudioProcessingEvent.outputBuffer */
- final AudioBuffer outputBuffer;
+ abstract AudioBuffer get outputBuffer;
}
// 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
@@ -19482,7 +19496,7 @@ interface AudioProcessingEvent extends Event {
// WARNING: Do not edit - generated code.
/// @domName AudioSourceNode
-interface AudioSourceNode extends AudioNode {
+abstract class AudioSourceNode implements AudioNode {
}
// 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
@@ -19491,9 +19505,9 @@ interface AudioSourceNode extends AudioNode {
// WARNING: Do not edit - generated code.
/// @domName HTMLBRElement
-interface BRElement extends Element default _Elements {
+abstract class BRElement implements Element {
- BRElement();
+ factory BRElement() => _Elements.createBRElement();
/** @domName HTMLBRElement.clear */
String clear;
@@ -19505,10 +19519,10 @@ interface BRElement extends Element default _Elements {
// WARNING: Do not edit - generated code.
/// @domName BarInfo
-interface BarInfo {
+abstract class BarInfo {
/** @domName BarInfo.visible */
- final bool visible;
+ abstract bool get visible;
}
// 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
@@ -19517,9 +19531,9 @@ interface BarInfo {
// WARNING: Do not edit - generated code.
/// @domName HTMLBaseElement
-interface BaseElement extends Element default _Elements {
+abstract class BaseElement implements Element {
- BaseElement();
+ factory BaseElement() => _Elements.createBaseElement();
/** @domName HTMLBaseElement.href */
String href;
@@ -19534,7 +19548,7 @@ interface BaseElement extends Element default _Elements {
// WARNING: Do not edit - generated code.
/// @domName HTMLBaseFontElement
-interface BaseFontElement extends Element {
+abstract class BaseFontElement implements Element {
/** @domName HTMLBaseFontElement.color */
String color;
@@ -19552,7 +19566,7 @@ interface BaseFontElement extends Element {
// WARNING: Do not edit - generated code.
/// @domName BatteryManager
-interface BatteryManager extends EventTarget {
+abstract class BatteryManager implements EventTarget {
/**
* @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent
@@ -19560,16 +19574,16 @@ interface BatteryManager extends EventTarget {
BatteryManagerEvents get on;
/** @domName BatteryManager.charging */
- final bool charging;
+ abstract bool get charging;
/** @domName BatteryManager.chargingTime */
- final num chargingTime;
+ abstract num get chargingTime;
/** @domName BatteryManager.dischargingTime */
- final num dischargingTime;
+ abstract num get dischargingTime;
/** @domName BatteryManager.level */
- final num level;
+ abstract num get level;
/** @domName BatteryManager.addEventListener */
void $dom_addEventListener(String type, EventListener listener, [bool useCapture]);
@@ -19581,7 +19595,7 @@ interface BatteryManager extends EventTarget {
void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]);
}
-interface BatteryManagerEvents extends Events {
+abstract class BatteryManagerEvents implements Events {
EventListenerList get chargingChange;
@@ -19598,10 +19612,10 @@ interface BatteryManagerEvents extends Events {
// WARNING: Do not edit - generated code.
/// @domName BeforeLoadEvent
-interface BeforeLoadEvent extends Event {
+abstract class BeforeLoadEvent implements Event {
/** @domName BeforeLoadEvent.url */
- final String url;
+ abstract String get url;
}
// 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
@@ -19610,7 +19624,7 @@ interface BeforeLoadEvent extends Event {
// WARNING: Do not edit - generated code.
/// @domName BiquadFilterNode
-interface BiquadFilterNode extends AudioNode {
+abstract class BiquadFilterNode implements AudioNode {
static const int ALLPASS = 7;
@@ -19629,13 +19643,13 @@ interface BiquadFilterNode extends AudioNode {
static const int PEAKING = 5;
/** @domName BiquadFilterNode.Q */
- final AudioParam Q;
+ abstract AudioParam get Q;
/** @domName BiquadFilterNode.frequency */
- final AudioParam frequency;
+ abstract AudioParam get frequency;
/** @domName BiquadFilterNode.gain */
- final AudioParam gain;
+ abstract AudioParam get gain;
/** @domName BiquadFilterNode.type */
int type;
@@ -19650,15 +19664,23 @@ interface BiquadFilterNode extends AudioNode {
// WARNING: Do not edit - generated code.
/// @domName Blob
-interface Blob default _BlobFactoryProvider {
+abstract class Blob {
- Blob(List blobParts, [String type, String endings]);
+ factory Blob(List blobParts, [String type, String endings]) {
+ if (!?type) {
+ return _BlobFactoryProvider.createBlob(blobParts);
+ }
+ if (!?endings) {
+ return _BlobFactoryProvider.createBlob(blobParts, type);
+ }
+ return _BlobFactoryProvider.createBlob(blobParts, type, endings);
+ }
/** @domName Blob.size */
- final int size;
+ abstract int get size;
/** @domName Blob.type */
- final String type;
+ abstract String get type;
/** @domName Blob.slice */
Blob slice([int start, int end, String contentType]);
@@ -19673,9 +19695,9 @@ interface Blob default _BlobFactoryProvider {
// WARNING: Do not edit - generated code.
/// @domName HTMLBodyElement
-interface BodyElement extends Element default _Elements {
+abstract class BodyElement implements Element {
- BodyElement();
+ factory BodyElement() => _Elements.createBodyElement();
/**
* @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent
@@ -19698,7 +19720,7 @@ interface BodyElement extends Element default _Elements {
String vLink;
}
-interface BodyElementEvents extends ElementEvents {
+abstract class BodyElementEvents implements ElementEvents {
EventListenerList get beforeUnload;
@@ -19733,9 +19755,9 @@ interface BodyElementEvents extends ElementEvents {
// WARNING: Do not edit - generated code.
/// @domName HTMLButtonElement
-interface ButtonElement extends Element default _Elements {
+abstract class ButtonElement implements Element {
- ButtonElement();
+ factory ButtonElement() => _Elements.createButtonElement();
/** @domName HTMLButtonElement.autofocus */
bool autofocus;
@@ -19744,7 +19766,7 @@ interface ButtonElement extends Element default _Elements {
bool disabled;
/** @domName HTMLButtonElement.form */
- final FormElement form;
+ abstract FormElement get form;
/** @domName HTMLButtonElement.formAction */
String formAction;
@@ -19762,7 +19784,7 @@ interface ButtonElement extends Element default _Elements {
String formTarget;
/** @domName HTMLButtonElement.labels */
- final NodeList labels;
+ abstract NodeList get labels;
/** @domName HTMLButtonElement.name */
String name;
@@ -19771,16 +19793,16 @@ interface ButtonElement extends Element default _Elements {
String type;
/** @domName HTMLButtonElement.validationMessage */
- final String validationMessage;
+ abstract String get validationMessage;
/** @domName HTMLButtonElement.validity */
- final ValidityState validity;
+ abstract ValidityState get validity;
/** @domName HTMLButtonElement.value */
String value;
/** @domName HTMLButtonElement.willValidate */
- final bool willValidate;
+ abstract bool get willValidate;
/** @domName HTMLButtonElement.checkValidity */
bool checkValidity();
@@ -19795,7 +19817,7 @@ interface ButtonElement extends Element default _Elements {
// WARNING: Do not edit - generated code.
/// @domName CDATASection
-interface CDATASection extends Text {
+abstract class CDATASection implements Text {
}
// 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
@@ -19804,7 +19826,7 @@ interface CDATASection extends Text {
// WARNING: Do not edit - generated code.
/// @domName CSSCharsetRule
-interface CSSCharsetRule extends CSSRule {
+abstract class CSSCharsetRule implements CSSRule {
/** @domName CSSCharsetRule.encoding */
String encoding;
@@ -19816,10 +19838,10 @@ interface CSSCharsetRule extends CSSRule {
// WARNING: Do not edit - generated code.
/// @domName CSSFontFaceRule
-interface CSSFontFaceRule extends CSSRule {
+abstract class CSSFontFaceRule implements CSSRule {
/** @domName CSSFontFaceRule.style */
- final CSSStyleDeclaration style;
+ abstract CSSStyleDeclaration get style;
}
// 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
@@ -19828,16 +19850,16 @@ interface CSSFontFaceRule extends CSSRule {
// WARNING: Do not edit - generated code.
/// @domName CSSImportRule
-interface CSSImportRule extends CSSRule {
+abstract class CSSImportRule implements CSSRule {
/** @domName CSSImportRule.href */
- final String href;
+ abstract String get href;
/** @domName CSSImportRule.media */
- final MediaList media;
+ abstract MediaList get media;
/** @domName CSSImportRule.styleSheet */
- final CSSStyleSheet styleSheet;
+ abstract CSSStyleSheet get styleSheet;
}
// 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
@@ -19846,13 +19868,13 @@ interface CSSImportRule extends CSSRule {
// WARNING: Do not edit - generated code.
/// @domName WebKitCSSKeyframeRule
-interface CSSKeyframeRule extends CSSRule {
+abstract class CSSKeyframeRule implements CSSRule {
/** @domName WebKitCSSKeyframeRule.keyText */
String keyText;
/** @domName WebKitCSSKeyframeRule.style */
- final CSSStyleDeclaration style;
+ abstract CSSStyleDeclaration get style;
}
// 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
@@ -19861,10 +19883,10 @@ interface CSSKeyframeRule extends CSSRule {
// WARNING: Do not edit - generated code.
/// @domName WebKitCSSKeyframesRule
-interface CSSKeyframesRule extends CSSRule {
+abstract class CSSKeyframesRule implements CSSRule {
/** @domName WebKitCSSKeyframesRule.cssRules */
- final CSSRuleList cssRules;
+ abstract CSSRuleList get cssRules;
/** @domName WebKitCSSKeyframesRule.name */
String name;
@@ -19885,9 +19907,14 @@ interface CSSKeyframesRule extends CSSRule {
// WARNING: Do not edit - generated code.
/// @domName WebKitCSSMatrix
-interface CSSMatrix default _CSSMatrixFactoryProvider {
+abstract class CSSMatrix {
- CSSMatrix([String cssValue]);
+ factory CSSMatrix([String cssValue]) {
+ if (!?cssValue) {
+ return _CSSMatrixFactoryProvider.createCSSMatrix();
+ }
+ return _CSSMatrixFactoryProvider.createCSSMatrix(cssValue);
+ }
/** @domName WebKitCSSMatrix.a */
num a;
@@ -19992,13 +20019,13 @@ interface CSSMatrix default _CSSMatrixFactoryProvider {
// WARNING: Do not edit - generated code.
/// @domName CSSMediaRule
-interface CSSMediaRule extends CSSRule {
+abstract class CSSMediaRule implements CSSRule {
/** @domName CSSMediaRule.cssRules */
- final CSSRuleList cssRules;
+ abstract CSSRuleList get cssRules;
/** @domName CSSMediaRule.media */
- final MediaList media;
+ abstract MediaList get media;
/** @domName CSSMediaRule.deleteRule */
void deleteRule(int index);
@@ -20013,13 +20040,13 @@ interface CSSMediaRule extends CSSRule {
// WARNING: Do not edit - generated code.
/// @domName CSSPageRule
-interface CSSPageRule extends CSSRule {
+abstract class CSSPageRule implements CSSRule {
/** @domName CSSPageRule.selectorText */
String selectorText;
/** @domName CSSPageRule.style */
- final CSSStyleDeclaration style;
+ abstract CSSStyleDeclaration get style;
}
// 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
@@ -20028,7 +20055,7 @@ interface CSSPageRule extends CSSRule {
// WARNING: Do not edit - generated code.
/// @domName CSSPrimitiveValue
-interface CSSPrimitiveValue extends CSSValue {
+abstract class CSSPrimitiveValue implements CSSValue {
static const int CSS_ATTR = 22;
@@ -20089,7 +20116,7 @@ interface CSSPrimitiveValue extends CSSValue {
static const int CSS_VW = 26;
/** @domName CSSPrimitiveValue.primitiveType */
- final int primitiveType;
+ abstract int get primitiveType;
/** @domName CSSPrimitiveValue.getCounterValue */
Counter getCounterValue();
@@ -20119,7 +20146,7 @@ interface CSSPrimitiveValue extends CSSValue {
// WARNING: Do not edit - generated code.
/// @domName CSSRule
-interface CSSRule {
+abstract class CSSRule {
static const int CHARSET_RULE = 2;
@@ -20143,13 +20170,13 @@ interface CSSRule {
String cssText;
/** @domName CSSRule.parentRule */
- final CSSRule parentRule;
+ abstract CSSRule get parentRule;
/** @domName CSSRule.parentStyleSheet */
- final CSSStyleSheet parentStyleSheet;
+ abstract CSSStyleSheet get parentStyleSheet;
/** @domName CSSRule.type */
- final int type;
+ abstract int get type;
}
// 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
@@ -20158,10 +20185,10 @@ interface CSSRule {
// WARNING: Do not edit - generated code.
/// @domName CSSRuleList
-interface CSSRuleList {
+abstract class CSSRuleList {
/** @domName CSSRuleList.length */
- final int length;
+ abstract int get length;
/** @domName CSSRuleList.item */
CSSRule item(int index);
@@ -20173,19 +20200,19 @@ interface CSSRuleList {
// WARNING: Do not edit - generated code.
/// @domName CSSStyleDeclaration
-interface CSSStyleDeclaration default _CSSStyleDeclarationFactoryProvider {
- CSSStyleDeclaration();
- CSSStyleDeclaration.css(String css);
+abstract class CSSStyleDeclaration {
+ factory CSSStyleDeclaration() => _CSSStyleDeclarationFactoryProvider.createCSSStyleDeclaration();
+ factory CSSStyleDeclaration.css(String css) => _CSSStyleDeclarationFactoryProvider.createCSSStyleDeclaration_css(css);
/** @domName CSSStyleDeclaration.cssText */
String cssText;
/** @domName CSSStyleDeclaration.length */
- final int length;
+ abstract int get length;
/** @domName CSSStyleDeclaration.parentRule */
- final CSSRule parentRule;
+ abstract CSSRule get parentRule;
/** @domName CSSStyleDeclaration.getPropertyCSSValue */
CSSValue getPropertyCSSValue(String propertyName);
@@ -22061,13 +22088,13 @@ interface CSSStyleDeclaration default _CSSStyleDeclarationFactoryProvider {
// WARNING: Do not edit - generated code.
/// @domName CSSStyleRule
-interface CSSStyleRule extends CSSRule {
+abstract class CSSStyleRule implements CSSRule {
/** @domName CSSStyleRule.selectorText */
String selectorText;
/** @domName CSSStyleRule.style */
- final CSSStyleDeclaration style;
+ abstract CSSStyleDeclaration get style;
}
// 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
@@ -22076,16 +22103,16 @@ interface CSSStyleRule extends CSSRule {
// WARNING: Do not edit - generated code.
/// @domName CSSStyleSheet
-interface CSSStyleSheet extends StyleSheet {
+abstract class CSSStyleSheet implements StyleSheet {
/** @domName CSSStyleSheet.cssRules */
- final CSSRuleList cssRules;
+ abstract CSSRuleList get cssRules;
/** @domName CSSStyleSheet.ownerRule */
- final CSSRule ownerRule;
+ abstract CSSRule get ownerRule;
/** @domName CSSStyleSheet.rules */
- final CSSRuleList rules;
+ abstract CSSRuleList get rules;
/** @domName CSSStyleSheet.addRule */
int addRule(String selector, String style, [int index]);
@@ -22106,7 +22133,7 @@ interface CSSStyleSheet extends StyleSheet {
// WARNING: Do not edit - generated code.
/// @domName WebKitCSSTransformValue
-interface CSSTransformValue extends CSSValueList {
+abstract class CSSTransformValue implements CSSValueList {
static const int CSS_MATRIX = 11;
@@ -22151,7 +22178,7 @@ interface CSSTransformValue extends CSSValueList {
static const int CSS_TRANSLATEZ = 12;
/** @domName WebKitCSSTransformValue.operationType */
- final int operationType;
+ abstract int get operationType;
}
// 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
@@ -22160,7 +22187,7 @@ interface CSSTransformValue extends CSSValueList {
// WARNING: Do not edit - generated code.
/// @domName CSSUnknownRule
-interface CSSUnknownRule extends CSSRule {
+abstract class CSSUnknownRule implements CSSRule {
}
// 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
@@ -22169,7 +22196,7 @@ interface CSSUnknownRule extends CSSRule {
// WARNING: Do not edit - generated code.
/// @domName CSSValue
-interface CSSValue {
+abstract class CSSValue {
static const int CSS_CUSTOM = 3;
@@ -22183,7 +22210,7 @@ interface CSSValue {
String cssText;
/** @domName CSSValue.cssValueType */
- final int cssValueType;
+ abstract int get cssValueType;
}
// 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
@@ -22192,10 +22219,10 @@ interface CSSValue {
// WARNING: Do not edit - generated code.
/// @domName CSSValueList
-interface CSSValueList extends CSSValue {
+abstract class CSSValueList implements CSSValue {
/** @domName CSSValueList.length */
- final int length;
+ abstract int get length;
/** @domName CSSValueList.item */
CSSValue item(int index);
@@ -22207,9 +22234,17 @@ interface CSSValueList extends CSSValue {
// WARNING: Do not edit - generated code.
/// @domName HTMLCanvasElement
-interface CanvasElement extends Element default _Elements {
+abstract class CanvasElement implements Element {
- CanvasElement([int width, int height]);
+ factory CanvasElement([int width, int height]) {
+ if (!?width) {
+ return _Elements.createCanvasElement();
+ }
+ if (!?height) {
+ return _Elements.createCanvasElement(width);
+ }
+ return _Elements.createCanvasElement(width, height);
+ }
/** @domName HTMLCanvasElement.height */
int height;
@@ -22232,7 +22267,7 @@ interface CanvasElement extends Element default _Elements {
// WARNING: Do not edit - generated code.
/// @domName CanvasGradient
-interface CanvasGradient {
+abstract class CanvasGradient {
/** @domName CanvasGradient.addColorStop */
void addColorStop(num offset, String color);
@@ -22244,7 +22279,7 @@ interface CanvasGradient {
// WARNING: Do not edit - generated code.
/// @domName CanvasPattern
-interface CanvasPattern {
+abstract class CanvasPattern {
}
// 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
@@ -22253,10 +22288,10 @@ interface CanvasPattern {
// WARNING: Do not edit - generated code.
/// @domName CanvasRenderingContext
-interface CanvasRenderingContext {
+abstract class CanvasRenderingContext {
/** @domName CanvasRenderingContext.canvas */
- final CanvasElement canvas;
+ abstract CanvasElement get canvas;
}
// 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
@@ -22265,7 +22300,7 @@ interface CanvasRenderingContext {
// WARNING: Do not edit - generated code.
/// @domName CanvasRenderingContext2D
-interface CanvasRenderingContext2D extends CanvasRenderingContext {
+abstract class CanvasRenderingContext2D implements CanvasRenderingContext {
/** @domName CanvasRenderingContext2D.fillStyle */
Dynamic fillStyle;
@@ -22313,7 +22348,7 @@ interface CanvasRenderingContext2D extends CanvasRenderingContext {
String textBaseline;
/** @domName CanvasRenderingContext2D.webkitBackingStorePixelRatio */
- final num webkitBackingStorePixelRatio;
+ abstract num get webkitBackingStorePixelRatio;
/** @domName CanvasRenderingContext2D.webkitImageSmoothingEnabled */
bool webkitImageSmoothingEnabled;
@@ -22469,13 +22504,13 @@ interface CanvasRenderingContext2D extends CanvasRenderingContext {
// WARNING: Do not edit - generated code.
/// @domName CharacterData
-interface CharacterData extends Node {
+abstract class CharacterData implements Node {
/** @domName CharacterData.data */
String data;
/** @domName CharacterData.length */
- final int length;
+ abstract int get length;
/** @domName CharacterData.appendData */
void appendData(String data);
@@ -22499,25 +22534,25 @@ interface CharacterData extends Node {
// WARNING: Do not edit - generated code.
/// @domName ClientRect
-interface ClientRect {
+abstract class ClientRect {
/** @domName ClientRect.bottom */
- final num bottom;
+ abstract num get bottom;
/** @domName ClientRect.height */
- final num height;
+ abstract num get height;
/** @domName ClientRect.left */
- final num left;
+ abstract num get left;
/** @domName ClientRect.right */
- final num right;
+ abstract num get right;
/** @domName ClientRect.top */
- final num top;
+ abstract num get top;
/** @domName ClientRect.width */
- final num width;
+ abstract num get width;
}
// 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
@@ -22526,10 +22561,10 @@ interface ClientRect {
// WARNING: Do not edit - generated code.
/// @domName ClientRectList
-interface ClientRectList {
+abstract class ClientRectList {
/** @domName ClientRectList.length */
- final int length;
+ abstract int get length;
/** @domName ClientRectList.item */
ClientRect item(int index);
@@ -22541,7 +22576,7 @@ interface ClientRectList {
// WARNING: Do not edit - generated code.
/// @domName Clipboard
-interface Clipboard {
+abstract class Clipboard {
/** @domName Clipboard.dropEffect */
String dropEffect;
@@ -22550,13 +22585,13 @@ interface Clipboard {
String effectAllowed;
/** @domName Clipboard.files */
- final FileList files;
+ abstract FileList get files;
/** @domName Clipboard.items */
- final DataTransferItemList items;
+ abstract DataTransferItemList get items;
/** @domName Clipboard.types */
- final List types;
+ abstract List get types;
/** @domName Clipboard.clearData */
void clearData([String type]);
@@ -22577,16 +22612,16 @@ interface Clipboard {
// WARNING: Do not edit - generated code.
/// @domName CloseEvent
-interface CloseEvent extends Event {
+abstract class CloseEvent implements Event {
/** @domName CloseEvent.code */
- final int code;
+ abstract int get code;
/** @domName CloseEvent.reason */
- final String reason;
+ abstract String get reason;
/** @domName CloseEvent.wasClean */
- final bool wasClean;
+ abstract bool get wasClean;
}
// 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
@@ -22595,7 +22630,7 @@ interface CloseEvent extends Event {
// WARNING: Do not edit - generated code.
/// @domName Comment
-interface Comment extends CharacterData {
+abstract class Comment implements CharacterData {
}
// 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
@@ -22604,10 +22639,10 @@ interface Comment extends CharacterData {
// WARNING: Do not edit - generated code.
/// @domName CompositionEvent
-interface CompositionEvent extends UIEvent {
+abstract class CompositionEvent implements UIEvent {
/** @domName CompositionEvent.data */
- final String data;
+ abstract String get data;
/** @domName CompositionEvent.initCompositionEvent */
void initCompositionEvent(String typeArg, bool canBubbleArg, bool cancelableArg, Window viewArg, String dataArg);
@@ -22619,13 +22654,13 @@ interface CompositionEvent extends UIEvent {
// WARNING: Do not edit - generated code.
/// @domName Console
-interface Console {
+abstract class Console {
/** @domName Console.memory */
- final MemoryInfo memory;
+ abstract MemoryInfo get memory;
/** @domName Console.profiles */
- final List<ScriptProfile> profiles;
+ abstract List<ScriptProfile> get profiles;
/** @domName Console.assertCondition */
void assertCondition(bool condition, Object arg);
@@ -22691,7 +22726,7 @@ interface Console {
// WARNING: Do not edit - generated code.
/// @domName HTMLContentElement
-interface ContentElement extends Element {
+abstract class ContentElement implements Element {
/** @domName HTMLContentElement.select */
String select;
@@ -22703,7 +22738,7 @@ interface ContentElement extends Element {
// WARNING: Do not edit - generated code.
/// @domName ConvolverNode
-interface ConvolverNode extends AudioNode {
+abstract class ConvolverNode implements AudioNode {
/** @domName ConvolverNode.buffer */
AudioBuffer buffer;
@@ -22718,28 +22753,28 @@ interface ConvolverNode extends AudioNode {
// WARNING: Do not edit - generated code.
/// @domName Coordinates
-interface Coordinates {
+abstract class Coordinates {
/** @domName Coordinates.accuracy */
- final num accuracy;
+ abstract num get accuracy;
/** @domName Coordinates.altitude */
- final num altitude;
+ abstract num get altitude;
/** @domName Coordinates.altitudeAccuracy */
- final num altitudeAccuracy;
+ abstract num get altitudeAccuracy;
/** @domName Coordinates.heading */
- final num heading;
+ abstract num get heading;
/** @domName Coordinates.latitude */
- final num latitude;
+ abstract num get latitude;
/** @domName Coordinates.longitude */
- final num longitude;
+ abstract num get longitude;
/** @domName Coordinates.speed */
- final num speed;
+ abstract num get speed;
}
// 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
@@ -22748,16 +22783,16 @@ interface Coordinates {
// WARNING: Do not edit - generated code.
/// @domName Counter
-interface Counter {
+abstract class Counter {
/** @domName Counter.identifier */
- final String identifier;
+ abstract String get identifier;
/** @domName Counter.listStyle */
- final String listStyle;
+ abstract String get listStyle;
/** @domName Counter.separator */
- final String separator;
+ abstract String get separator;
}
// 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
@@ -22766,7 +22801,7 @@ interface Counter {
// WARNING: Do not edit - generated code.
/// @domName Crypto
-interface Crypto {
+abstract class Crypto {
/** @domName Crypto.getRandomValues */
void getRandomValues(ArrayBufferView array);
@@ -22778,10 +22813,10 @@ interface Crypto {
// WARNING: Do not edit - generated code.
/// @domName CustomEvent
-interface CustomEvent extends Event {
+abstract class CustomEvent implements Event {
/** @domName CustomEvent.detail */
- final Object detail;
+ abstract Object get detail;
/** @domName CustomEvent.initCustomEvent */
void initCustomEvent(String typeArg, bool canBubbleArg, bool cancelableArg, Object detailArg);
@@ -22793,9 +22828,9 @@ interface CustomEvent extends Event {
// WARNING: Do not edit - generated code.
/// @domName HTMLDListElement
-interface DListElement extends Element default _Elements {
+abstract class DListElement implements Element {
- DListElement();
+ factory DListElement() => _Elements.createDListElement();
/** @domName HTMLDListElement.compact */
bool compact;
@@ -22807,7 +22842,7 @@ interface DListElement extends Element default _Elements {
// WARNING: Do not edit - generated code.
/// @domName DOMApplicationCache
-interface DOMApplicationCache extends EventTarget {
+abstract class DOMApplicationCache implements EventTarget {
/**
* @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent
@@ -22827,7 +22862,7 @@ interface DOMApplicationCache extends EventTarget {
static const int UPDATEREADY = 4;
/** @domName DOMApplicationCache.status */
- final int status;
+ abstract int get status;
/** @domName DOMApplicationCache.abort */
void abort();
@@ -22848,7 +22883,7 @@ interface DOMApplicationCache extends EventTarget {
void update();
}
-interface DOMApplicationCacheEvents extends Events {
+abstract class DOMApplicationCacheEvents implements Events {
EventListenerList get cached;
@@ -22873,10 +22908,10 @@ interface DOMApplicationCacheEvents extends Events {
// WARNING: Do not edit - generated code.
/// @domName DOMError
-interface DOMError {
+abstract class DOMError {
/** @domName DOMError.name */
- final String name;
+ abstract String get name;
}
// 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
@@ -22885,7 +22920,7 @@ interface DOMError {
// WARNING: Do not edit - generated code.
/// @domName DOMException
-interface DOMException {
+abstract class DOMException {
static const int ABORT_ERR = 20;
@@ -22938,13 +22973,13 @@ interface DOMException {
static const int WRONG_DOCUMENT_ERR = 4;
/** @domName DOMException.code */
- final int code;
+ abstract int get code;
/** @domName DOMException.message */
- final String message;
+ abstract String get message;
/** @domName DOMException.name */
- final String name;
+ abstract String get name;
/** @domName DOMException.toString */
String toString();
@@ -22956,13 +22991,13 @@ interface DOMException {
// WARNING: Do not edit - generated code.
/// @domName DOMFileSystem
-interface DOMFileSystem {
+abstract class DOMFileSystem {
/** @domName DOMFileSystem.name */
- final String name;
+ abstract String get name;
/** @domName DOMFileSystem.root */
- final DirectoryEntry root;
+ abstract DirectoryEntry get root;
}
// 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
@@ -22971,13 +23006,13 @@ interface DOMFileSystem {
// WARNING: Do not edit - generated code.
/// @domName DOMFileSystemSync
-interface DOMFileSystemSync {
+abstract class DOMFileSystemSync {
/** @domName DOMFileSystemSync.name */
- final String name;
+ abstract String get name;
/** @domName DOMFileSystemSync.root */
- final DirectoryEntrySync root;
+ abstract DirectoryEntrySync get root;
}
// 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
@@ -22986,7 +23021,7 @@ interface DOMFileSystemSync {
// WARNING: Do not edit - generated code.
/// @domName DOMImplementation
-interface DOMImplementation {
+abstract class DOMImplementation {
/** @domName DOMImplementation.createCSSStyleSheet */
CSSStyleSheet createCSSStyleSheet(String title, String media);
@@ -23010,19 +23045,19 @@ interface DOMImplementation {
// WARNING: Do not edit - generated code.
/// @domName DOMMimeType
-interface DOMMimeType {
+abstract class DOMMimeType {
/** @domName DOMMimeType.description */
- final String description;
+ abstract String get description;
/** @domName DOMMimeType.enabledPlugin */
- final DOMPlugin enabledPlugin;
+ abstract DOMPlugin get enabledPlugin;
/** @domName DOMMimeType.suffixes */
- final String suffixes;
+ abstract String get suffixes;
/** @domName DOMMimeType.type */
- final String type;
+ abstract String get type;
}
// 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
@@ -23031,10 +23066,10 @@ interface DOMMimeType {
// WARNING: Do not edit - generated code.
/// @domName DOMMimeTypeArray
-interface DOMMimeTypeArray {
+abstract class DOMMimeTypeArray {
/** @domName DOMMimeTypeArray.length */
- final int length;
+ abstract int get length;
/** @domName DOMMimeTypeArray.item */
DOMMimeType item(int index);
@@ -23049,9 +23084,9 @@ interface DOMMimeTypeArray {
// WARNING: Do not edit - generated code.
/// @domName DOMParser
-interface DOMParser default _DOMParserFactoryProvider {
+abstract class DOMParser {
- DOMParser();
+ factory DOMParser() => _DOMParserFactoryProvider.createDOMParser();
/** @domName DOMParser.parseFromString */
Document parseFromString(String str, String contentType);
@@ -23063,19 +23098,19 @@ interface DOMParser default _DOMParserFactoryProvider {
// WARNING: Do not edit - generated code.
/// @domName DOMPlugin
-interface DOMPlugin {
+abstract class DOMPlugin {
/** @domName DOMPlugin.description */
- final String description;
+ abstract String get description;
/** @domName DOMPlugin.filename */
- final String filename;
+ abstract String get filename;
/** @domName DOMPlugin.length */
- final int length;
+ abstract int get length;
/** @domName DOMPlugin.name */
- final String name;
+ abstract String get name;
/** @domName DOMPlugin.item */
DOMMimeType item(int index);
@@ -23090,10 +23125,10 @@ interface DOMPlugin {
// WARNING: Do not edit - generated code.
/// @domName DOMPluginArray
-interface DOMPluginArray {
+abstract class DOMPluginArray {
/** @domName DOMPluginArray.length */
- final int length;
+ abstract int get length;
/** @domName DOMPluginArray.item */
DOMPlugin item(int index);
@@ -23111,40 +23146,40 @@ interface DOMPluginArray {
// WARNING: Do not edit - generated code.
/// @domName DOMSelection
-interface DOMSelection {
+abstract class DOMSelection {
/** @domName DOMSelection.anchorNode */
- final Node anchorNode;
+ abstract Node get anchorNode;
/** @domName DOMSelection.anchorOffset */
- final int anchorOffset;
+ abstract int get anchorOffset;
/** @domName DOMSelection.baseNode */
- final Node baseNode;
+ abstract Node get baseNode;
/** @domName DOMSelection.baseOffset */
- final int baseOffset;
+ abstract int get baseOffset;
/** @domName DOMSelection.extentNode */
- final Node extentNode;
+ abstract Node get extentNode;
/** @domName DOMSelection.extentOffset */
- final int extentOffset;
+ abstract int get extentOffset;
/** @domName DOMSelection.focusNode */
- final Node focusNode;
+ abstract Node get focusNode;
/** @domName DOMSelection.focusOffset */
- final int focusOffset;
+ abstract int get focusOffset;
/** @domName DOMSelection.isCollapsed */
- final bool isCollapsed;
+ abstract bool get isCollapsed;
/** @domName DOMSelection.rangeCount */
- final int rangeCount;
+ abstract int get rangeCount;
/** @domName DOMSelection.type */
- final String type;
+ abstract String get type;
/** @domName DOMSelection.addRange */
void addRange(Range range);
@@ -23198,7 +23233,7 @@ interface DOMSelection {
// WARNING: Do not edit - generated code.
/// @domName DOMSettableTokenList
-interface DOMSettableTokenList extends DOMTokenList {
+abstract class DOMSettableTokenList implements DOMTokenList {
/** @domName DOMSettableTokenList.value */
String value;
@@ -23210,10 +23245,10 @@ interface DOMSettableTokenList extends DOMTokenList {
// WARNING: Do not edit - generated code.
/// @domName DOMStringList
-interface DOMStringList extends List<String> {
+abstract class DOMStringList implements List<String> {
/** @domName DOMStringList.length */
- final int length;
+ abstract int get length;
/** @domName DOMStringList.contains */
bool contains(String string);
@@ -23228,7 +23263,7 @@ interface DOMStringList extends List<String> {
// WARNING: Do not edit - generated code.
/// @domName DOMStringMap
-interface DOMStringMap {
+abstract class DOMStringMap {
}
// 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
@@ -23237,10 +23272,10 @@ interface DOMStringMap {
// WARNING: Do not edit - generated code.
/// @domName DOMTokenList
-interface DOMTokenList {
+abstract class DOMTokenList {
/** @domName DOMTokenList.length */
- final int length;
+ abstract int get length;
/** @domName DOMTokenList.add */
void add(String token);
@@ -23267,9 +23302,9 @@ interface DOMTokenList {
// WARNING: Do not edit - generated code.
/// @domName DOMURL
-interface DOMURL default _DOMURLFactoryProvider {
+abstract class DOMURL {
- DOMURL();
+ factory DOMURL() => _DOMURLFactoryProvider.createDOMURL();
}
// 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
@@ -23278,12 +23313,12 @@ interface DOMURL default _DOMURLFactoryProvider {
// WARNING: Do not edit - generated code.
/// @domName HTMLDataListElement
-interface DataListElement extends Element default _Elements {
+abstract class DataListElement implements Element {
- DataListElement();
+ factory DataListElement() => _Elements.createDataListElement();
/** @domName HTMLDataListElement.options */
- final HTMLCollection options;
+ abstract HTMLCollection get options;
}
// 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
@@ -23292,13 +23327,13 @@ interface DataListElement extends Element default _Elements {
// WARNING: Do not edit - generated code.
/// @domName DataTransferItem
-interface DataTransferItem {
+abstract class DataTransferItem {
/** @domName DataTransferItem.kind */
- final String kind;
+ abstract String get kind;
/** @domName DataTransferItem.type */
- final String type;
+ abstract String get type;
/** @domName DataTransferItem.getAsFile */
Blob getAsFile();
@@ -23316,10 +23351,10 @@ interface DataTransferItem {
// WARNING: Do not edit - generated code.
/// @domName DataTransferItemList
-interface DataTransferItemList {
+abstract class DataTransferItemList {
/** @domName DataTransferItemList.length */
- final int length;
+ abstract int get length;
/** @domName DataTransferItemList.add */
void add(data_OR_file, [String type]);
@@ -23337,9 +23372,17 @@ interface DataTransferItemList {
// WARNING: Do not edit - generated code.
/// @domName DataView
-interface DataView extends ArrayBufferView default _DataViewFactoryProvider {
+abstract class DataView implements ArrayBufferView {
- DataView(ArrayBuffer buffer, [int byteOffset, int byteLength]);
+ factory DataView(ArrayBuffer buffer, [int byteOffset, int byteLength]) {
+ if (!?byteOffset) {
+ return _DataViewFactoryProvider.createDataView(buffer);
+ }
+ if (!?byteLength) {
+ return _DataViewFactoryProvider.createDataView(buffer, byteOffset);
+ }
+ return _DataViewFactoryProvider.createDataView(buffer, byteOffset, byteLength);
+ }
/** @domName DataView.getFloat32 */
num getFloat32(int byteOffset, [bool littleEndian]);
@@ -23396,10 +23439,10 @@ interface DataView extends ArrayBufferView default _DataViewFactoryProvider {
// WARNING: Do not edit - generated code.
/// @domName Database
-interface Database {
+abstract class Database {
/** @domName Database.version */
- final String version;
+ abstract String get version;
/** @domName Database.changeVersion */
void changeVersion(String oldVersion, String newVersion, [SQLTransactionCallback callback, SQLTransactionErrorCallback errorCallback, VoidCallback successCallback]);
@@ -23424,13 +23467,13 @@ typedef bool DatabaseCallback(database);
// WARNING: Do not edit - generated code.
/// @domName DatabaseSync
-interface DatabaseSync {
+abstract class DatabaseSync {
/** @domName DatabaseSync.lastErrorMessage */
- final String lastErrorMessage;
+ abstract String get lastErrorMessage;
/** @domName DatabaseSync.version */
- final String version;
+ abstract String get version;
/** @domName DatabaseSync.changeVersion */
void changeVersion(String oldVersion, String newVersion, [SQLTransactionSyncCallback callback]);
@@ -23448,7 +23491,7 @@ interface DatabaseSync {
// WARNING: Do not edit - generated code.
/// @domName DedicatedWorkerContext
-interface DedicatedWorkerContext extends WorkerContext {
+abstract class DedicatedWorkerContext implements WorkerContext {
/**
* @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent
@@ -23462,7 +23505,7 @@ interface DedicatedWorkerContext extends WorkerContext {
void webkitPostMessage(Object message, [List transferList]);
}
-interface DedicatedWorkerContextEvents extends WorkerContextEvents {
+abstract class DedicatedWorkerContextEvents implements WorkerContextEvents {
EventListenerList get message;
}
@@ -23473,10 +23516,10 @@ interface DedicatedWorkerContextEvents extends WorkerContextEvents {
// WARNING: Do not edit - generated code.
/// @domName DelayNode
-interface DelayNode extends AudioNode {
+abstract class DelayNode implements AudioNode {
/** @domName DelayNode.delayTime */
- final AudioParam delayTime;
+ abstract AudioParam get delayTime;
}
// 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
@@ -23485,9 +23528,9 @@ interface DelayNode extends AudioNode {
// WARNING: Do not edit - generated code.
/// @domName HTMLDetailsElement
-interface DetailsElement extends Element default _Elements {
+abstract class DetailsElement implements Element {
- DetailsElement();
+ factory DetailsElement() => _Elements.createDetailsElement();
/** @domName HTMLDetailsElement.open */
bool open;
@@ -23499,10 +23542,10 @@ interface DetailsElement extends Element default _Elements {
// WARNING: Do not edit - generated code.
/// @domName DeviceMotionEvent
-interface DeviceMotionEvent extends Event {
+abstract class DeviceMotionEvent implements Event {
/** @domName DeviceMotionEvent.interval */
- final num interval;
+ abstract num get interval;
}
// 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
@@ -23511,19 +23554,19 @@ interface DeviceMotionEvent extends Event {
// WARNING: Do not edit - generated code.
/// @domName DeviceOrientationEvent
-interface DeviceOrientationEvent extends Event {
+abstract class DeviceOrientationEvent implements Event {
/** @domName DeviceOrientationEvent.absolute */
- final bool absolute;
+ abstract bool get absolute;
/** @domName DeviceOrientationEvent.alpha */
- final num alpha;
+ abstract num get alpha;
/** @domName DeviceOrientationEvent.beta */
- final num beta;
+ abstract num get beta;
/** @domName DeviceOrientationEvent.gamma */
- final num gamma;
+ abstract num get gamma;
/** @domName DeviceOrientationEvent.initDeviceOrientationEvent */
void initDeviceOrientationEvent(String type, bool bubbles, bool cancelable, num alpha, num beta, num gamma, bool absolute);
@@ -23535,7 +23578,7 @@ interface DeviceOrientationEvent extends Event {
// WARNING: Do not edit - generated code.
/// @domName HTMLDirectoryElement
-interface DirectoryElement extends Element {
+abstract class DirectoryElement implements Element {
/** @domName HTMLDirectoryElement.compact */
bool compact;
@@ -23547,7 +23590,7 @@ interface DirectoryElement extends Element {
// WARNING: Do not edit - generated code.
/// @domName DirectoryEntry
-interface DirectoryEntry extends Entry {
+abstract class DirectoryEntry implements Entry {
/** @domName DirectoryEntry.createReader */
DirectoryReader createReader();
@@ -23568,7 +23611,7 @@ interface DirectoryEntry extends Entry {
// WARNING: Do not edit - generated code.
/// @domName DirectoryEntrySync
-interface DirectoryEntrySync extends EntrySync {
+abstract class DirectoryEntrySync implements EntrySync {
/** @domName DirectoryEntrySync.createReader */
DirectoryReaderSync createReader();
@@ -23589,7 +23632,7 @@ interface DirectoryEntrySync extends EntrySync {
// WARNING: Do not edit - generated code.
/// @domName DirectoryReader
-interface DirectoryReader {
+abstract class DirectoryReader {
/** @domName DirectoryReader.readEntries */
void readEntries(EntriesCallback successCallback, [ErrorCallback errorCallback]);
@@ -23601,7 +23644,7 @@ interface DirectoryReader {
// WARNING: Do not edit - generated code.
/// @domName DirectoryReaderSync
-interface DirectoryReaderSync {
+abstract class DirectoryReaderSync {
/** @domName DirectoryReaderSync.readEntries */
EntryArraySync readEntries();
@@ -23613,9 +23656,9 @@ interface DirectoryReaderSync {
// WARNING: Do not edit - generated code.
/// @domName HTMLDivElement
-interface DivElement extends Element default _Elements {
+abstract class DivElement implements Element {
- DivElement();
+ factory DivElement() => _Elements.createDivElement();
/** @domName HTMLDivElement.align */
String align;
@@ -23625,7 +23668,7 @@ interface DivElement extends Element default _Elements {
// BSD-style license that can be found in the LICENSE file.
/// @domName Document
-interface Document extends HtmlElement {
+abstract class Document extends HtmlElement {
/**
@@ -23634,7 +23677,7 @@ interface Document extends HtmlElement {
DocumentEvents get on;
/** @domName HTMLDocument.activeElement */
- final Element activeElement;
+ abstract Element get activeElement;
/** @domName Document.body */
Element body;
@@ -23646,61 +23689,61 @@ interface Document extends HtmlElement {
String cookie;
/** @domName Document.defaultView */
- final Window window;
+ abstract Window get window;
/** @domName Document.documentElement */
- final Element documentElement;
+ abstract Element get documentElement;
/** @domName Document.domain */
- final String domain;
+ abstract String get domain;
/** @domName Document.head */
- final HeadElement head;
+ abstract HeadElement get head;
/** @domName Document.lastModified */
- final String lastModified;
+ abstract String get lastModified;
/** @domName Document.preferredStylesheetSet */
- final String preferredStylesheetSet;
+ abstract String get preferredStylesheetSet;
/** @domName Document.readyState */
- final String readyState;
+ abstract String get readyState;
/** @domName Document.referrer */
- final String referrer;
+ abstract String get referrer;
/** @domName Document.selectedStylesheetSet */
String selectedStylesheetSet;
/** @domName Document.styleSheets */
- final StyleSheetList styleSheets;
+ abstract StyleSheetList get styleSheets;
/** @domName Document.title */
String title;
/** @domName Document.webkitCurrentFullScreenElement */
- final Element webkitCurrentFullScreenElement;
+ abstract Element get webkitCurrentFullScreenElement;
/** @domName Document.webkitFullScreenKeyboardInputAllowed */
- final bool webkitFullScreenKeyboardInputAllowed;
+ abstract bool get webkitFullScreenKeyboardInputAllowed;
/** @domName Document.webkitFullscreenElement */
- final Element webkitFullscreenElement;
+ abstract Element get webkitFullscreenElement;
/** @domName Document.webkitFullscreenEnabled */
- final bool webkitFullscreenEnabled;
+ abstract bool get webkitFullscreenEnabled;
/** @domName Document.webkitHidden */
- final bool webkitHidden;
+ abstract bool get webkitHidden;
/** @domName Document.webkitIsFullScreen */
- final bool webkitIsFullScreen;
+ abstract bool get webkitIsFullScreen;
/** @domName Document.webkitPointerLockElement */
- final Element webkitPointerLockElement;
+ abstract Element get webkitPointerLockElement;
/** @domName Document.webkitVisibilityState */
- final String webkitVisibilityState;
+ abstract String get webkitVisibilityState;
/** @domName Document.caretRangeFromPoint */
Range caretRangeFromPoint(int x, int y);
@@ -23785,7 +23828,7 @@ interface Document extends HtmlElement {
}
-interface DocumentEvents extends ElementEvents {
+abstract class DocumentEvents implements ElementEvents {
EventListenerList get abort;
@@ -23890,17 +23933,19 @@ interface DocumentEvents extends ElementEvents {
// BSD-style license that can be found in the LICENSE file.
/// @domName DocumentFragment
-interface DocumentFragment extends Element default _DocumentFragmentFactoryProvider {
+abstract class DocumentFragment extends Element {
- DocumentFragment();
+ factory DocumentFragment() => _DocumentFragmentFactoryProvider.createDocumentFragment();
- DocumentFragment.html(String html);
+ factory DocumentFragment.html(String html) =>
+ _DocumentFragmentFactoryProvider.createDocumentFragment_html(html);
// TODO(nweiz): enable this when XML is ported
// /** WARNING: Currently this doesn't work on Dartium (issue 649). */
// DocumentFragment.xml(String xml);
- DocumentFragment.svg(String svg);
+ factory DocumentFragment.svg(String svg) =>
+ new _DocumentFragmentFactoryProvider.DocumentFragment.svg(svg);
DocumentFragment clone(bool deep);
@@ -23924,25 +23969,25 @@ interface DocumentFragment extends Element default _DocumentFragmentFactoryProvi
// WARNING: Do not edit - generated code.
/// @domName DocumentType
-interface DocumentType extends Node {
+abstract class DocumentType implements Node {
/** @domName DocumentType.entities */
- final NamedNodeMap entities;
+ abstract NamedNodeMap get entities;
/** @domName DocumentType.internalSubset */
- final String internalSubset;
+ abstract String get internalSubset;
/** @domName DocumentType.name */
- final String name;
+ abstract String get name;
/** @domName DocumentType.notations */
- final NamedNodeMap notations;
+ abstract NamedNodeMap get notations;
/** @domName DocumentType.publicId */
- final String publicId;
+ abstract String get publicId;
/** @domName DocumentType.systemId */
- final String systemId;
+ abstract String get systemId;
}
// 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
@@ -23951,25 +23996,25 @@ interface DocumentType extends Node {
// WARNING: Do not edit - generated code.
/// @domName DynamicsCompressorNode
-interface DynamicsCompressorNode extends AudioNode {
+abstract class DynamicsCompressorNode implements AudioNode {
/** @domName DynamicsCompressorNode.attack */
- final AudioParam attack;
+ abstract AudioParam get attack;
/** @domName DynamicsCompressorNode.knee */
- final AudioParam knee;
+ abstract AudioParam get knee;
/** @domName DynamicsCompressorNode.ratio */
- final AudioParam ratio;
+ abstract AudioParam get ratio;
/** @domName DynamicsCompressorNode.reduction */
- final AudioParam reduction;
+ abstract AudioParam get reduction;
/** @domName DynamicsCompressorNode.release */
- final AudioParam release;
+ abstract AudioParam get release;
/** @domName DynamicsCompressorNode.threshold */
- final AudioParam threshold;
+ abstract AudioParam get threshold;
}
// 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
@@ -23978,7 +24023,7 @@ interface DynamicsCompressorNode extends AudioNode {
// WARNING: Do not edit - generated code.
/// @domName EXTTextureFilterAnisotropic
-interface EXTTextureFilterAnisotropic {
+abstract class EXTTextureFilterAnisotropic {
static const int MAX_TEXTURE_MAX_ANISOTROPY_EXT = 0x84FF;
@@ -23995,7 +24040,7 @@ interface EXTTextureFilterAnisotropic {
// Note, ElementList implements List (instead of List<Element>) so
// that its implementing classes may be cast to Lists of more specific
// type such as List<CanvasElement>.
-interface ElementList extends List {
+abstract class ElementList implements List {
// TODO(jacobr): add element batch manipulation methods.
ElementList filter(bool f(Element element));
@@ -24010,14 +24055,14 @@ interface ElementList extends List {
* Extends the regular Map interface by automatically coercing non-string
* values to strings.
*/
-interface AttributeMap extends Map<String, String> {
+abstract class AttributeMap implements Map<String, String> {
void operator []=(String key, value);
}
/**
* All your element measurement needs in one place
*/
-interface ElementRect {
+abstract class ElementRect {
// Relative to offsetParent
ClientRect get client;
ClientRect get offset;
@@ -24028,12 +24073,12 @@ interface ElementRect {
List<ClientRect> get clientRects;
}
-interface NodeSelector {
+abstract class NodeSelector {
Element query(String selectors);
List<Element> queryAll(String selectors);
}
-interface CSSClassSet extends Set<String> {
+abstract class CSSClassSet implements Set<String> {
/**
* Adds the class [token] to the element if it is not on it, removes it if it
* is.
@@ -24048,9 +24093,11 @@ interface CSSClassSet extends Set<String> {
}
/// @domName Element
-interface Element extends Node, NodeSelector default _ElementFactoryProvider {
- Element.html(String html);
- Element.tag(String tag);
+abstract class Element implements Node, NodeSelector {
+ factory Element.html(String html) =>
+ _ElementFactoryProvider.createElement_html(html);
+ factory Element.tag(String tag) =>
+ _ElementFactoryProvider.createElement_tag(tag);
AttributeMap get attributes;
void set attributes(Map<String, String> value);
@@ -24106,7 +24153,7 @@ interface Element extends Node, NodeSelector default _ElementFactoryProvider {
ElementEvents get on;
/** @domName HTMLElement.children */
- final HTMLCollection $dom_children;
+ abstract HTMLCollection get $dom_children;
/** @domName HTMLElement.contentEditable */
String contentEditable;
@@ -24127,13 +24174,13 @@ interface Element extends Node, NodeSelector default _ElementFactoryProvider {
String innerHTML;
/** @domName HTMLElement.isContentEditable */
- final bool isContentEditable;
+ abstract bool get isContentEditable;
/** @domName HTMLElement.lang */
String lang;
/** @domName HTMLElement.outerHTML */
- final String outerHTML;
+ abstract String get outerHTML;
/** @domName HTMLElement.spellcheck */
bool spellcheck;
@@ -24165,55 +24212,55 @@ interface Element extends Node, NodeSelector default _ElementFactoryProvider {
static const int ALLOW_KEYBOARD_INPUT = 1;
/** @domName Element.childElementCount */
- final int $dom_childElementCount;
+ abstract int get $dom_childElementCount;
/** @domName Element.className */
String $dom_className;
/** @domName Element.clientHeight */
- final int $dom_clientHeight;
+ abstract int get $dom_clientHeight;
/** @domName Element.clientLeft */
- final int $dom_clientLeft;
+ abstract int get $dom_clientLeft;
/** @domName Element.clientTop */
- final int $dom_clientTop;
+ abstract int get $dom_clientTop;
/** @domName Element.clientWidth */
- final int $dom_clientWidth;
+ abstract int get $dom_clientWidth;
/** @domName Element.dataset */
- final Map<String, String> dataset;
+ abstract Map<String, String> get dataset;
/** @domName Element.firstElementChild */
- final Element $dom_firstElementChild;
+ abstract Element get $dom_firstElementChild;
/** @domName Element.lastElementChild */
- final Element $dom_lastElementChild;
+ abstract Element get $dom_lastElementChild;
/** @domName Element.nextElementSibling */
- final Element nextElementSibling;
+ abstract Element get nextElementSibling;
/** @domName Element.offsetHeight */
- final int $dom_offsetHeight;
+ abstract int get $dom_offsetHeight;
/** @domName Element.offsetLeft */
- final int $dom_offsetLeft;
+ abstract int get $dom_offsetLeft;
/** @domName Element.offsetParent */
- final Element offsetParent;
+ abstract Element get offsetParent;
/** @domName Element.offsetTop */
- final int $dom_offsetTop;
+ abstract int get $dom_offsetTop;
/** @domName Element.offsetWidth */
- final int $dom_offsetWidth;
+ abstract int get $dom_offsetWidth;
/** @domName Element.previousElementSibling */
- final Element previousElementSibling;
+ abstract Element get previousElementSibling;
/** @domName Element.scrollHeight */
- final int $dom_scrollHeight;
+ abstract int get $dom_scrollHeight;
/** @domName Element.scrollLeft */
int $dom_scrollLeft;
@@ -24222,16 +24269,16 @@ interface Element extends Node, NodeSelector default _ElementFactoryProvider {
int $dom_scrollTop;
/** @domName Element.scrollWidth */
- final int $dom_scrollWidth;
+ abstract int get $dom_scrollWidth;
/** @domName Element.style */
- final CSSStyleDeclaration style;
+ abstract CSSStyleDeclaration get style;
/** @domName Element.tagName */
- final String tagName;
+ abstract String get tagName;
/** @domName Element.webkitRegionOverset */
- final String webkitRegionOverset;
+ abstract String get webkitRegionOverset;
/** @domName Element.blur */
void blur();
@@ -24292,7 +24339,7 @@ interface Element extends Node, NodeSelector default _ElementFactoryProvider {
}
-interface ElementEvents extends Events {
+abstract class ElementEvents implements Events {
EventListenerList get abort;
@@ -24397,7 +24444,7 @@ interface ElementEvents extends Events {
// WARNING: Do not edit - generated code.
/// @domName ElementTimeControl
-interface ElementTimeControl {
+abstract class ElementTimeControl {
/** @domName ElementTimeControl.beginElement */
void beginElement();
@@ -24418,22 +24465,22 @@ interface ElementTimeControl {
// WARNING: Do not edit - generated code.
/// @domName ElementTraversal
-interface ElementTraversal {
+abstract class ElementTraversal {
/** @domName ElementTraversal.childElementCount */
- final int childElementCount;
+ abstract int get childElementCount;
/** @domName ElementTraversal.firstElementChild */
- final Element firstElementChild;
+ abstract Element get firstElementChild;
/** @domName ElementTraversal.lastElementChild */
- final Element lastElementChild;
+ abstract Element get lastElementChild;
/** @domName ElementTraversal.nextElementSibling */
- final Element nextElementSibling;
+ abstract Element get nextElementSibling;
/** @domName ElementTraversal.previousElementSibling */
- final Element previousElementSibling;
+ abstract Element get previousElementSibling;
}
// 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
@@ -24442,9 +24489,9 @@ interface ElementTraversal {
// WARNING: Do not edit - generated code.
/// @domName HTMLEmbedElement
-interface EmbedElement extends Element default _Elements {
+abstract class EmbedElement implements Element {
- EmbedElement();
+ factory EmbedElement() => _Elements.createEmbedElement();
/** @domName HTMLEmbedElement.align */
String align;
@@ -24471,16 +24518,16 @@ interface EmbedElement extends Element default _Elements {
// WARNING: Do not edit - generated code.
/// @domName Entity
-interface Entity extends Node {
+abstract class Entity implements Node {
/** @domName Entity.notationName */
- final String notationName;
+ abstract String get notationName;
/** @domName Entity.publicId */
- final String publicId;
+ abstract String get publicId;
/** @domName Entity.systemId */
- final String systemId;
+ abstract String get systemId;
}
// 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
@@ -24489,7 +24536,7 @@ interface Entity extends Node {
// WARNING: Do not edit - generated code.
/// @domName EntityReference
-interface EntityReference extends Node {
+abstract class EntityReference implements Node {
}
// 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
@@ -24505,22 +24552,22 @@ typedef bool EntriesCallback(EntryArray entries);
// WARNING: Do not edit - generated code.
/// @domName Entry
-interface Entry {
+abstract class Entry {
/** @domName Entry.filesystem */
- final DOMFileSystem filesystem;
+ abstract DOMFileSystem get filesystem;
/** @domName Entry.fullPath */
- final String fullPath;
+ abstract String get fullPath;
/** @domName Entry.isDirectory */
- final bool isDirectory;
+ abstract bool get isDirectory;
/** @domName Entry.isFile */
- final bool isFile;
+ abstract bool get isFile;
/** @domName Entry.name */
- final String name;
+ abstract String get name;
/** @domName Entry.copyTo */
void copyTo(DirectoryEntry parent, [String name, EntryCallback successCallback, ErrorCallback errorCallback]);
@@ -24547,10 +24594,10 @@ interface Entry {
// WARNING: Do not edit - generated code.
/// @domName EntryArray
-interface EntryArray {
+abstract class EntryArray {
/** @domName EntryArray.length */
- final int length;
+ abstract int get length;
/** @domName EntryArray.item */
Entry item(int index);
@@ -24562,10 +24609,10 @@ interface EntryArray {
// WARNING: Do not edit - generated code.
/// @domName EntryArraySync
-interface EntryArraySync {
+abstract class EntryArraySync {
/** @domName EntryArraySync.length */
- final int length;
+ abstract int get length;
/** @domName EntryArraySync.item */
EntrySync item(int index);
@@ -24584,22 +24631,22 @@ typedef bool EntryCallback(Entry entry);
// WARNING: Do not edit - generated code.
/// @domName EntrySync
-interface EntrySync {
+abstract class EntrySync {
/** @domName EntrySync.filesystem */
- final DOMFileSystemSync filesystem;
+ abstract DOMFileSystemSync get filesystem;
/** @domName EntrySync.fullPath */
- final String fullPath;
+ abstract String get fullPath;
/** @domName EntrySync.isDirectory */
- final bool isDirectory;
+ abstract bool get isDirectory;
/** @domName EntrySync.isFile */
- final bool isFile;
+ abstract bool get isFile;
/** @domName EntrySync.name */
- final String name;
+ abstract String get name;
/** @domName EntrySync.copyTo */
EntrySync copyTo(DirectoryEntrySync parent, String name);
@@ -24633,16 +24680,16 @@ typedef bool ErrorCallback(FileError error);
// WARNING: Do not edit - generated code.
/// @domName ErrorEvent
-interface ErrorEvent extends Event {
+abstract class ErrorEvent implements Event {
/** @domName ErrorEvent.filename */
- final String filename;
+ abstract String get filename;
/** @domName ErrorEvent.lineno */
- final int lineno;
+ abstract int get lineno;
/** @domName ErrorEvent.message */
- final String message;
+ abstract String get message;
}
// 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
@@ -24651,7 +24698,7 @@ interface ErrorEvent extends Event {
// WARNING: Do not edit - generated code.
/// @domName Event
-interface Event default _EventFactoryProvider {
+abstract class Event {
// In JS, canBubble and cancelable are technically required parameters to
// init*Event. In practice, though, if they aren't provided they simply
@@ -24659,7 +24706,8 @@ interface Event default _EventFactoryProvider {
//
// Contrary to JS, we default canBubble and cancelable to true, since that's
// what people want most of the time anyway.
- Event(String type, [bool canBubble, bool cancelable]);
+ factory Event(String type, [bool canBubble = true, bool cancelable = true]) =>
+ _EventFactoryProvider.createEvent(type, canBubble, cancelable);
static const int AT_TARGET = 2;
@@ -24702,40 +24750,40 @@ interface Event default _EventFactoryProvider {
static const int SELECT = 16384;
/** @domName Event.bubbles */
- final bool bubbles;
+ abstract bool get bubbles;
/** @domName Event.cancelBubble */
bool cancelBubble;
/** @domName Event.cancelable */
- final bool cancelable;
+ abstract bool get cancelable;
/** @domName Event.clipboardData */
- final Clipboard clipboardData;
+ abstract Clipboard get clipboardData;
/** @domName Event.currentTarget */
- final EventTarget currentTarget;
+ abstract EventTarget get currentTarget;
/** @domName Event.defaultPrevented */
- final bool defaultPrevented;
+ abstract bool get defaultPrevented;
/** @domName Event.eventPhase */
- final int eventPhase;
+ abstract int get eventPhase;
/** @domName Event.returnValue */
bool returnValue;
/** @domName Event.srcElement */
- final EventTarget srcElement;
+ abstract EventTarget get srcElement;
/** @domName Event.target */
- final EventTarget target;
+ abstract EventTarget get target;
/** @domName Event.timeStamp */
- final int timeStamp;
+ abstract int get timeStamp;
/** @domName Event.type */
- final String type;
+ abstract String get type;
/** @domName Event.initEvent */
void $dom_initEvent(String eventTypeArg, bool canBubbleArg, bool cancelableArg);
@@ -24756,20 +24804,20 @@ interface Event default _EventFactoryProvider {
// WARNING: Do not edit - generated code.
/// @domName EventException
-interface EventException {
+abstract class EventException {
static const int DISPATCH_REQUEST_ERR = 1;
static const int UNSPECIFIED_EVENT_TYPE_ERR = 0;
/** @domName EventException.code */
- final int code;
+ abstract int get code;
/** @domName EventException.message */
- final String message;
+ abstract String get message;
/** @domName EventException.name */
- final String name;
+ abstract String get name;
/** @domName EventException.toString */
String toString();
@@ -24781,9 +24829,9 @@ interface EventException {
// WARNING: Do not edit - generated code.
/// @domName EventSource
-interface EventSource extends EventTarget default _EventSourceFactoryProvider {
+abstract class EventSource implements EventTarget {
- EventSource(String scriptUrl);
+ factory EventSource(String scriptUrl) => _EventSourceFactoryProvider.createEventSource(scriptUrl);
/**
* @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent
@@ -24797,13 +24845,13 @@ interface EventSource extends EventTarget default _EventSourceFactoryProvider {
static const int OPEN = 1;
/** @domName EventSource.URL */
- final String URL;
+ abstract String get URL;
/** @domName EventSource.readyState */
- final int readyState;
+ abstract int get readyState;
/** @domName EventSource.url */
- final String url;
+ abstract String get url;
/** @domName EventSource.addEventListener */
void $dom_addEventListener(String type, EventListener listener, [bool useCapture]);
@@ -24818,7 +24866,7 @@ interface EventSource extends EventTarget default _EventSourceFactoryProvider {
void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]);
}
-interface EventSourceEvents extends Events {
+abstract class EventSourceEvents implements Events {
EventListenerList get error;
@@ -24832,7 +24880,7 @@ interface EventSourceEvents extends Events {
// WARNING: Do not edit - generated code.
-interface EventListenerList {
+abstract class EventListenerList {
EventListenerList add(EventListener handler, [bool useCapture]);
EventListenerList remove(EventListener handler, [bool useCapture]);
@@ -24840,15 +24888,15 @@ interface EventListenerList {
bool dispatch(Event evt);
}
-interface Events {
+abstract class Events {
EventListenerList operator [](String type);
}
/// @domName EventTarget
-interface EventTarget {
+abstract class EventTarget {
/** @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent */
- final Events on;
+ abstract Events get on;
/** @domName EventTarget.addEventListener */
void $dom_addEventListener(String type, EventListener listener, [bool useCapture]);
@@ -24867,33 +24915,33 @@ interface EventTarget {
// WARNING: Do not edit - generated code.
/// @domName HTMLFieldSetElement
-interface FieldSetElement extends Element default _Elements {
+abstract class FieldSetElement implements Element {
- FieldSetElement();
+ factory FieldSetElement() => _Elements.createFieldSetElement();
/** @domName HTMLFieldSetElement.disabled */
bool disabled;
/** @domName HTMLFieldSetElement.elements */
- final HTMLCollection elements;
+ abstract HTMLCollection get elements;
/** @domName HTMLFieldSetElement.form */
- final FormElement form;
+ abstract FormElement get form;
/** @domName HTMLFieldSetElement.name */
String name;
/** @domName HTMLFieldSetElement.type */
- final String type;
+ abstract String get type;
/** @domName HTMLFieldSetElement.validationMessage */
- final String validationMessage;
+ abstract String get validationMessage;
/** @domName HTMLFieldSetElement.validity */
- final ValidityState validity;
+ abstract ValidityState get validity;
/** @domName HTMLFieldSetElement.willValidate */
- final bool willValidate;
+ abstract bool get willValidate;
/** @domName HTMLFieldSetElement.checkValidity */
bool checkValidity();
@@ -24908,16 +24956,16 @@ interface FieldSetElement extends Element default _Elements {
// WARNING: Do not edit - generated code.
/// @domName File
-interface File extends Blob {
+abstract class File implements Blob {
/** @domName File.lastModifiedDate */
- final Date lastModifiedDate;
+ abstract Date get lastModifiedDate;
/** @domName File.name */
- final String name;
+ abstract String get name;
/** @domName File.webkitRelativePath */
- final String webkitRelativePath;
+ abstract String get webkitRelativePath;
}
// 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
@@ -24933,7 +24981,7 @@ typedef bool FileCallback(File file);
// WARNING: Do not edit - generated code.
/// @domName FileEntry
-interface FileEntry extends Entry {
+abstract class FileEntry implements Entry {
/** @domName FileEntry.createWriter */
void createWriter(FileWriterCallback successCallback, [ErrorCallback errorCallback]);
@@ -24948,7 +24996,7 @@ interface FileEntry extends Entry {
// WARNING: Do not edit - generated code.
/// @domName FileEntrySync
-interface FileEntrySync extends EntrySync {
+abstract class FileEntrySync implements EntrySync {
/** @domName FileEntrySync.createWriter */
FileWriterSync createWriter();
@@ -24963,7 +25011,7 @@ interface FileEntrySync extends EntrySync {
// WARNING: Do not edit - generated code.
/// @domName FileError
-interface FileError {
+abstract class FileError {
static const int ABORT_ERR = 3;
@@ -24990,7 +25038,7 @@ interface FileError {
static const int TYPE_MISMATCH_ERR = 11;
/** @domName FileError.code */
- final int code;
+ abstract int get code;
}
// 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
@@ -24999,7 +25047,7 @@ interface FileError {
// WARNING: Do not edit - generated code.
/// @domName FileException
-interface FileException {
+abstract class FileException {
static const int ABORT_ERR = 3;
@@ -25026,13 +25074,13 @@ interface FileException {
static const int TYPE_MISMATCH_ERR = 11;
/** @domName FileException.code */
- final int code;
+ abstract int get code;
/** @domName FileException.message */
- final String message;
+ abstract String get message;
/** @domName FileException.name */
- final String name;
+ abstract String get name;
/** @domName FileException.toString */
String toString();
@@ -25044,10 +25092,10 @@ interface FileException {
// WARNING: Do not edit - generated code.
/// @domName FileList
-interface FileList extends List<File> {
+abstract class FileList implements List<File> {
/** @domName FileList.length */
- final int length;
+ abstract int get length;
/** @domName FileList.item */
File item(int index);
@@ -25059,9 +25107,9 @@ interface FileList extends List<File> {
// WARNING: Do not edit - generated code.
/// @domName FileReader
-interface FileReader extends EventTarget default _FileReaderFactoryProvider {
+abstract class FileReader implements EventTarget {
- FileReader();
+ factory FileReader() => _FileReaderFactoryProvider.createFileReader();
/**
* @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent
@@ -25075,13 +25123,13 @@ interface FileReader extends EventTarget default _FileReaderFactoryProvider {
static const int LOADING = 1;
/** @domName FileReader.error */
- final FileError error;
+ abstract FileError get error;
/** @domName FileReader.readyState */
- final int readyState;
+ abstract int get readyState;
/** @domName FileReader.result */
- final Object result;
+ abstract Object get result;
/** @domName FileReader.abort */
void abort();
@@ -25108,7 +25156,7 @@ interface FileReader extends EventTarget default _FileReaderFactoryProvider {
void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]);
}
-interface FileReaderEvents extends Events {
+abstract class FileReaderEvents implements Events {
EventListenerList get abort;
@@ -25129,9 +25177,9 @@ interface FileReaderEvents extends Events {
// WARNING: Do not edit - generated code.
/// @domName FileReaderSync
-interface FileReaderSync default _FileReaderSyncFactoryProvider {
+abstract class FileReaderSync {
- FileReaderSync();
+ factory FileReaderSync() => _FileReaderSyncFactoryProvider.createFileReaderSync();
/** @domName FileReaderSync.readAsArrayBuffer */
ArrayBuffer readAsArrayBuffer(Blob blob);
@@ -25159,7 +25207,7 @@ typedef bool FileSystemCallback(DOMFileSystem fileSystem);
// WARNING: Do not edit - generated code.
/// @domName FileWriter
-interface FileWriter extends EventTarget {
+abstract class FileWriter implements EventTarget {
/**
* @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent
@@ -25173,16 +25221,16 @@ interface FileWriter extends EventTarget {
static const int WRITING = 1;
/** @domName FileWriter.error */
- final FileError error;
+ abstract FileError get error;
/** @domName FileWriter.length */
- final int length;
+ abstract int get length;
/** @domName FileWriter.position */
- final int position;
+ abstract int get position;
/** @domName FileWriter.readyState */
- final int readyState;
+ abstract int get readyState;
/** @domName FileWriter.abort */
void abort();
@@ -25206,7 +25254,7 @@ interface FileWriter extends EventTarget {
void write(Blob data);
}
-interface FileWriterEvents extends Events {
+abstract class FileWriterEvents implements Events {
EventListenerList get abort;
@@ -25234,13 +25282,13 @@ typedef bool FileWriterCallback(FileWriter fileWriter);
// WARNING: Do not edit - generated code.
/// @domName FileWriterSync
-interface FileWriterSync {
+abstract class FileWriterSync {
/** @domName FileWriterSync.length */
- final int length;
+ abstract int get length;
/** @domName FileWriterSync.position */
- final int position;
+ abstract int get position;
/** @domName FileWriterSync.seek */
void seek(int position);
@@ -25258,18 +25306,21 @@ interface FileWriterSync {
// WARNING: Do not edit - generated code.
/// @domName Float32Array
-interface Float32Array extends ArrayBufferView, List<num> default _TypedArrayFactoryProvider {
+abstract class Float32Array implements ArrayBufferView, List<num> {
- Float32Array(int length);
+ factory Float32Array(int length) =>
+ _TypedArrayFactoryProvider.createFloat32Array(length);
- Float32Array.fromList(List<num> list);
+ factory Float32Array.fromList(List<num> list) =>
+ _TypedArrayFactoryProvider.createFloat32Array_fromList(list);
- Float32Array.fromBuffer(ArrayBuffer buffer, [int byteOffset, int length]);
+ factory Float32Array.fromBuffer(ArrayBuffer buffer, [int byteOffset, int length]) =>
+ _TypedArrayFactoryProvider.createFloat32Array_fromBuffer(buffer, byteOffset, length);
static const int BYTES_PER_ELEMENT = 4;
/** @domName Float32Array.length */
- final int length;
+ abstract int get length;
/** @domName Float32Array.setElements */
void setElements(Object array, [int offset]);
@@ -25284,18 +25335,21 @@ interface Float32Array extends ArrayBufferView, List<num> default _TypedArrayFac
// WARNING: Do not edit - generated code.
/// @domName Float64Array
-interface Float64Array extends ArrayBufferView, List<num> default _TypedArrayFactoryProvider {
+abstract class Float64Array implements ArrayBufferView, List<num> {
- Float64Array(int length);
+ factory Float64Array(int length) =>
+ _TypedArrayFactoryProvider.createFloat64Array(length);
- Float64Array.fromList(List<num> list);
+ factory Float64Array.fromList(List<num> list) =>
+ _TypedArrayFactoryProvider.createFloat64Array_fromList(list);
- Float64Array.fromBuffer(ArrayBuffer buffer, [int byteOffset, int length]);
+ factory Float64Array.fromBuffer(ArrayBuffer buffer, [int byteOffset, int length]) =>
+ _TypedArrayFactoryProvider.createFloat64Array_fromBuffer(buffer, byteOffset, length);
static const int BYTES_PER_ELEMENT = 8;
/** @domName Float64Array.length */
- final int length;
+ abstract int get length;
/** @domName Float64Array.setElements */
void setElements(Object array, [int offset]);
@@ -25310,7 +25364,7 @@ interface Float64Array extends ArrayBufferView, List<num> default _TypedArrayFac
// WARNING: Do not edit - generated code.
/// @domName HTMLFontElement
-interface FontElement extends Element {
+abstract class FontElement implements Element {
/** @domName HTMLFontElement.color */
String color;
@@ -25328,9 +25382,14 @@ interface FontElement extends Element {
// WARNING: Do not edit - generated code.
/// @domName DOMFormData
-interface FormData default _FormDataFactoryProvider {
+abstract class FormData {
- FormData([FormElement form]);
+ factory FormData([FormElement form]) {
+ if (!?form) {
+ return _FormDataFactoryProvider.createFormData();
+ }
+ return _FormDataFactoryProvider.createFormData(form);
+ }
/** @domName DOMFormData.append */
void append(String name, String value, String filename);
@@ -25342,9 +25401,9 @@ interface FormData default _FormDataFactoryProvider {
// WARNING: Do not edit - generated code.
/// @domName HTMLFormElement
-interface FormElement extends Element default _Elements {
+abstract class FormElement implements Element {
- FormElement();
+ factory FormElement() => _Elements.createFormElement();
/** @domName HTMLFormElement.acceptCharset */
String acceptCharset;
@@ -25362,7 +25421,7 @@ interface FormElement extends Element default _Elements {
String enctype;
/** @domName HTMLFormElement.length */
- final int length;
+ abstract int get length;
/** @domName HTMLFormElement.method */
String method;
@@ -25392,19 +25451,19 @@ interface FormElement extends Element default _Elements {
// WARNING: Do not edit - generated code.
/// @domName HTMLFrameElement
-interface FrameElement extends Element {
+abstract class FrameElement implements Element {
/** @domName HTMLFrameElement.contentDocument */
- final Document contentDocument;
+ abstract Document get contentDocument;
/** @domName HTMLFrameElement.contentWindow */
- final Window contentWindow;
+ abstract Window get contentWindow;
/** @domName HTMLFrameElement.frameBorder */
String frameBorder;
/** @domName HTMLFrameElement.height */
- final int height;
+ abstract int get height;
/** @domName HTMLFrameElement.location */
String location;
@@ -25431,7 +25490,7 @@ interface FrameElement extends Element {
String src;
/** @domName HTMLFrameElement.width */
- final int width;
+ abstract int get width;
/** @domName HTMLFrameElement.getSVGDocument */
SVGDocument getSVGDocument();
@@ -25443,7 +25502,7 @@ interface FrameElement extends Element {
// WARNING: Do not edit - generated code.
/// @domName HTMLFrameSetElement
-interface FrameSetElement extends Element {
+abstract class FrameSetElement implements Element {
/**
* @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent
@@ -25457,7 +25516,7 @@ interface FrameSetElement extends Element {
String rows;
}
-interface FrameSetElementEvents extends ElementEvents {
+abstract class FrameSetElementEvents implements ElementEvents {
EventListenerList get beforeUnload;
@@ -25492,22 +25551,22 @@ interface FrameSetElementEvents extends ElementEvents {
// WARNING: Do not edit - generated code.
/// @domName Gamepad
-interface Gamepad {
+abstract class Gamepad {
/** @domName Gamepad.axes */
- final List<num> axes;
+ abstract List<num> get axes;
/** @domName Gamepad.buttons */
- final List<num> buttons;
+ abstract List<num> get buttons;
/** @domName Gamepad.id */
- final String id;
+ abstract String get id;
/** @domName Gamepad.index */
- final int index;
+ abstract int get index;
/** @domName Gamepad.timestamp */
- final int timestamp;
+ abstract int get timestamp;
}
// 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
@@ -25516,10 +25575,10 @@ interface Gamepad {
// WARNING: Do not edit - generated code.
/// @domName GamepadList
-interface GamepadList {
+abstract class GamepadList {
/** @domName GamepadList.length */
- final int length;
+ abstract int get length;
/** @domName GamepadList.item */
Gamepad item(int index);
@@ -25531,7 +25590,7 @@ interface GamepadList {
// WARNING: Do not edit - generated code.
/// @domName Geolocation
-interface Geolocation {
+abstract class Geolocation {
/** @domName Geolocation.clearWatch */
void clearWatch(int watchId);
@@ -25549,13 +25608,13 @@ interface Geolocation {
// WARNING: Do not edit - generated code.
/// @domName Geoposition
-interface Geoposition {
+abstract class Geoposition {
/** @domName Geoposition.coords */
- final Coordinates coords;
+ abstract Coordinates get coords;
/** @domName Geoposition.timestamp */
- final int timestamp;
+ abstract int get timestamp;
}
// 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
@@ -25564,9 +25623,9 @@ interface Geoposition {
// WARNING: Do not edit - generated code.
/// @domName HTMLHRElement
-interface HRElement extends Element default _Elements {
+abstract class HRElement implements Element {
- HRElement();
+ factory HRElement() => _Elements.createHRElement();
/** @domName HTMLHRElement.align */
String align;
@@ -25587,10 +25646,10 @@ interface HRElement extends Element default _Elements {
// WARNING: Do not edit - generated code.
/// @domName HTMLAllCollection
-interface HTMLAllCollection {
+abstract class HTMLAllCollection {
/** @domName HTMLAllCollection.length */
- final int length;
+ abstract int get length;
/** @domName HTMLAllCollection.item */
Node item(int index);
@@ -25608,10 +25667,10 @@ interface HTMLAllCollection {
// WARNING: Do not edit - generated code.
/// @domName HTMLCollection
-interface HTMLCollection extends List<Node> {
+abstract class HTMLCollection implements List<Node> {
/** @domName HTMLCollection.length */
- final int length;
+ abstract int get length;
/** @domName HTMLCollection.item */
Node item(int index);
@@ -25626,7 +25685,7 @@ interface HTMLCollection extends List<Node> {
// WARNING: Do not edit - generated code.
/// @domName HTMLOptionsCollection
-interface HTMLOptionsCollection extends HTMLCollection {
+abstract class HTMLOptionsCollection implements HTMLCollection {
/** @domName HTMLOptionsCollection.length */
int length;
@@ -25644,13 +25703,13 @@ interface HTMLOptionsCollection extends HTMLCollection {
// WARNING: Do not edit - generated code.
/// @domName HashChangeEvent
-interface HashChangeEvent extends Event {
+abstract class HashChangeEvent implements Event {
/** @domName HashChangeEvent.newURL */
- final String newURL;
+ abstract String get newURL;
/** @domName HashChangeEvent.oldURL */
- final String oldURL;
+ abstract String get oldURL;
/** @domName HashChangeEvent.initHashChangeEvent */
void initHashChangeEvent(String type, bool canBubble, bool cancelable, String oldURL, String newURL);
@@ -25662,9 +25721,9 @@ interface HashChangeEvent extends Event {
// WARNING: Do not edit - generated code.
/// @domName HTMLHeadElement
-interface HeadElement extends Element default _Elements {
+abstract class HeadElement implements Element {
- HeadElement();
+ factory HeadElement() => _Elements.createHeadElement();
/** @domName HTMLHeadElement.profile */
String profile;
@@ -25676,19 +25735,19 @@ interface HeadElement extends Element default _Elements {
// WARNING: Do not edit - generated code.
/// @domName HTMLHeadingElement
-interface HeadingElement extends Element default _Elements {
+abstract class HeadingElement implements Element {
- HeadingElement.h1();
+ factory HeadingElement.h1() => _Elements.createHeadingElement_h1();
- HeadingElement.h2();
+ factory HeadingElement.h2() => _Elements.createHeadingElement_h2();
- HeadingElement.h3();
+ factory HeadingElement.h3() => _Elements.createHeadingElement_h3();
- HeadingElement.h4();
+ factory HeadingElement.h4() => _Elements.createHeadingElement_h4();
- HeadingElement.h5();
+ factory HeadingElement.h5() => _Elements.createHeadingElement_h5();
- HeadingElement.h6();
+ factory HeadingElement.h6() => _Elements.createHeadingElement_h6();
/** @domName HTMLHeadingElement.align */
String align;
@@ -25700,13 +25759,13 @@ interface HeadingElement extends Element default _Elements {
// WARNING: Do not edit - generated code.
/// @domName History
-interface History {
+abstract class History {
/** @domName History.length */
- final int length;
+ abstract int get length;
/** @domName History.state */
- final Dynamic state;
+ abstract Dynamic get state;
/** @domName History.back */
void back();
@@ -25730,9 +25789,9 @@ interface History {
// WARNING: Do not edit - generated code.
/// @domName HTMLHtmlElement
-interface HtmlElement extends Element default _Elements {
+abstract class HtmlElement implements Element {
- HtmlElement();
+ factory HtmlElement() => _Elements.createHtmlElement();
}
// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -25741,12 +25800,14 @@ interface HtmlElement extends Element default _Elements {
// WARNING: Do not edit - generated code.
/// @domName XMLHttpRequest
-interface HttpRequest extends EventTarget default _HttpRequestFactoryProvider {
- HttpRequest.get(String url, onSuccess(HttpRequest request));
+abstract class HttpRequest implements EventTarget {
+ factory HttpRequest.get(String url, onSuccess(HttpRequest request)) =>
+ _HttpRequestFactoryProvider.createHttpRequest_get(url, onSuccess);
- HttpRequest.getWithCredentials(String url, onSuccess(HttpRequest request));
+ factory HttpRequest.getWithCredentials(String url, onSuccess(HttpRequest request)) =>
+ _HttpRequestFactoryProvider.createHttpRequestgetWithCredentials(url, onSuccess);
- HttpRequest();
+ factory HttpRequest() => _HttpRequestFactoryProvider.createHttpRequest();
/**
* @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent
@@ -25764,28 +25825,28 @@ interface HttpRequest extends EventTarget default _HttpRequestFactoryProvider {
static const int UNSENT = 0;
/** @domName XMLHttpRequest.readyState */
- final int readyState;
+ abstract int get readyState;
/** @domName XMLHttpRequest.response */
- final Object response;
+ abstract Object get response;
/** @domName XMLHttpRequest.responseText */
- final String responseText;
+ abstract String get responseText;
/** @domName XMLHttpRequest.responseType */
String responseType;
/** @domName XMLHttpRequest.responseXML */
- final Document responseXML;
+ abstract Document get responseXML;
/** @domName XMLHttpRequest.status */
- final int status;
+ abstract int get status;
/** @domName XMLHttpRequest.statusText */
- final String statusText;
+ abstract String get statusText;
/** @domName XMLHttpRequest.upload */
- final HttpRequestUpload upload;
+ abstract HttpRequestUpload get upload;
/** @domName XMLHttpRequest.withCredentials */
bool withCredentials;
@@ -25821,7 +25882,7 @@ interface HttpRequest extends EventTarget default _HttpRequestFactoryProvider {
void setRequestHeader(String header, String value);
}
-interface HttpRequestEvents extends Events {
+abstract class HttpRequestEvents implements Events {
EventListenerList get abort;
@@ -25844,20 +25905,20 @@ interface HttpRequestEvents extends Events {
// WARNING: Do not edit - generated code.
/// @domName XMLHttpRequestException
-interface HttpRequestException {
+abstract class HttpRequestException {
static const int ABORT_ERR = 102;
static const int NETWORK_ERR = 101;
/** @domName XMLHttpRequestException.code */
- final int code;
+ abstract int get code;
/** @domName XMLHttpRequestException.message */
- final String message;
+ abstract String get message;
/** @domName XMLHttpRequestException.name */
- final String name;
+ abstract String get name;
/** @domName XMLHttpRequestException.toString */
String toString();
@@ -25869,13 +25930,13 @@ interface HttpRequestException {
// WARNING: Do not edit - generated code.
/// @domName XMLHttpRequestProgressEvent
-interface HttpRequestProgressEvent extends ProgressEvent {
+abstract class HttpRequestProgressEvent implements ProgressEvent {
/** @domName XMLHttpRequestProgressEvent.position */
- final int position;
+ abstract int get position;
/** @domName XMLHttpRequestProgressEvent.totalSize */
- final int totalSize;
+ abstract int get totalSize;
}
// 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
@@ -25884,7 +25945,7 @@ interface HttpRequestProgressEvent extends ProgressEvent {
// WARNING: Do not edit - generated code.
/// @domName XMLHttpRequestUpload
-interface HttpRequestUpload extends EventTarget {
+abstract class HttpRequestUpload implements EventTarget {
/**
* @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent
@@ -25901,7 +25962,7 @@ interface HttpRequestUpload extends EventTarget {
void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]);
}
-interface HttpRequestUploadEvents extends Events {
+abstract class HttpRequestUploadEvents implements Events {
EventListenerList get abort;
@@ -25922,7 +25983,7 @@ interface HttpRequestUploadEvents extends Events {
// WARNING: Do not edit - generated code.
/// @domName IDBAny
-interface IDBAny {
+abstract class IDBAny {
}
// 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
@@ -25931,7 +25992,7 @@ interface IDBAny {
// WARNING: Do not edit - generated code.
/// @domName IDBCursor
-interface IDBCursor {
+abstract class IDBCursor {
static const int NEXT = 0;
@@ -25942,16 +26003,16 @@ interface IDBCursor {
static const int PREV_NO_DUPLICATE = 3;
/** @domName IDBCursor.direction */
- final String direction;
+ abstract String get direction;
/** @domName IDBCursor.key */
- final Dynamic key;
+ abstract Dynamic get key;
/** @domName IDBCursor.primaryKey */
- final Dynamic primaryKey;
+ abstract Dynamic get primaryKey;
/** @domName IDBCursor.source */
- final Dynamic source;
+ abstract Dynamic get source;
/** @domName IDBCursor.advance */
void advance(int count);
@@ -25972,10 +26033,10 @@ interface IDBCursor {
// WARNING: Do not edit - generated code.
/// @domName IDBCursorWithValue
-interface IDBCursorWithValue extends IDBCursor {
+abstract class IDBCursorWithValue implements IDBCursor {
/** @domName IDBCursorWithValue.value */
- final Dynamic value;
+ abstract Dynamic get value;
}
// 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
@@ -25984,7 +26045,7 @@ interface IDBCursorWithValue extends IDBCursor {
// WARNING: Do not edit - generated code.
/// @domName IDBDatabase
-interface IDBDatabase extends EventTarget {
+abstract class IDBDatabase implements EventTarget {
/**
* @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent
@@ -25992,13 +26053,13 @@ interface IDBDatabase extends EventTarget {
IDBDatabaseEvents get on;
/** @domName IDBDatabase.name */
- final String name;
+ abstract String get name;
/** @domName IDBDatabase.objectStoreNames */
- final List<String> objectStoreNames;
+ abstract List<String> get objectStoreNames;
/** @domName IDBDatabase.version */
- final Dynamic version;
+ abstract Dynamic get version;
/** @domName IDBDatabase.addEventListener */
void $dom_addEventListener(String type, EventListener listener, [bool useCapture]);
@@ -26025,7 +26086,7 @@ interface IDBDatabase extends EventTarget {
IDBTransaction transaction(storeName_OR_storeNames, String mode);
}
-interface IDBDatabaseEvents extends Events {
+abstract class IDBDatabaseEvents implements Events {
EventListenerList get abort;
@@ -26040,7 +26101,7 @@ interface IDBDatabaseEvents extends Events {
// WARNING: Do not edit - generated code.
/// @domName IDBDatabaseException
-interface IDBDatabaseException {
+abstract class IDBDatabaseException {
static const int ABORT_ERR = 20;
@@ -26069,13 +26130,13 @@ interface IDBDatabaseException {
static const int VER_ERR = 12;
/** @domName IDBDatabaseException.code */
- final int code;
+ abstract int get code;
/** @domName IDBDatabaseException.message */
- final String message;
+ abstract String get message;
/** @domName IDBDatabaseException.name */
- final String name;
+ abstract String get name;
/** @domName IDBDatabaseException.toString */
String toString();
@@ -26087,7 +26148,7 @@ interface IDBDatabaseException {
// WARNING: Do not edit - generated code.
/// @domName IDBFactory
-interface IDBFactory {
+abstract class IDBFactory {
/** @domName IDBFactory.cmp */
int cmp(/*IDBKey*/ first, /*IDBKey*/ second);
@@ -26108,22 +26169,22 @@ interface IDBFactory {
// WARNING: Do not edit - generated code.
/// @domName IDBIndex
-interface IDBIndex {
+abstract class IDBIndex {
/** @domName IDBIndex.keyPath */
- final Dynamic keyPath;
+ abstract Dynamic get keyPath;
/** @domName IDBIndex.multiEntry */
- final bool multiEntry;
+ abstract bool get multiEntry;
/** @domName IDBIndex.name */
- final String name;
+ abstract String get name;
/** @domName IDBIndex.objectStore */
- final IDBObjectStore objectStore;
+ abstract IDBObjectStore get objectStore;
/** @domName IDBIndex.unique */
- final bool unique;
+ abstract bool get unique;
/** @domName IDBIndex.count */
IDBRequest count([key_OR_range]);
@@ -26147,7 +26208,7 @@ interface IDBIndex {
// WARNING: Do not edit - generated code.
/// @domName IDBKey
-interface IDBKey {
+abstract class IDBKey {
}
// 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
@@ -26156,41 +26217,46 @@ interface IDBKey {
// WARNING: Do not edit - generated code.
/// @domName IDBKeyRange
-interface IDBKeyRange default _IDBKeyRangeFactoryProvider {
+abstract class IDBKeyRange {
/**
* @domName IDBKeyRange.only
*/
- IDBKeyRange.only(/*IDBKey*/ value);
+ factory IDBKeyRange.only(/*IDBKey*/ value) =>
+ _IDBKeyRangeFactoryProvider.createIDBKeyRange_only(value);
/**
* @domName IDBKeyRange.lowerBound
*/
- IDBKeyRange.lowerBound(/*IDBKey*/ bound, [bool open]);
+ factory IDBKeyRange.lowerBound(/*IDBKey*/ bound, [bool open]) =>
+ _IDBKeyRangeFactoryProvider.createIDBKeyRange_lowerBound(bound, open);
/**
* @domName IDBKeyRange.upperBound
*/
- IDBKeyRange.upperBound(/*IDBKey*/ bound, [bool open]);
+ factory IDBKeyRange.upperBound(/*IDBKey*/ bound, [bool open]) =>
+ _IDBKeyRangeFactoryProvider.createIDBKeyRange_upperBound(bound, open);
/**
* @domName IDBKeyRange.bound
*/
- IDBKeyRange.bound(/*IDBKey*/ lower, /*IDBKey*/ upper,
- [bool lowerOpen, bool upperOpen]);
+ factory IDBKeyRange.bound(/*IDBKey*/ lower, /*IDBKey*/ upper,
+ [bool lowerOpen, bool upperOpen]) =>
+ _IDBKeyRangeFactoryProvider.createIDBKeyRange_bound(
+ lower, upper, lowerOpen, upperOpen);
/** @domName IDBKeyRange.lower */
- final Dynamic lower;
+ abstract Dynamic get lower;
/** @domName IDBKeyRange.lowerOpen */
- final bool lowerOpen;
+ abstract bool get lowerOpen;
/** @domName IDBKeyRange.upper */
- final Dynamic upper;
+ abstract Dynamic get upper;
/** @domName IDBKeyRange.upperOpen */
- final bool upperOpen;
+ abstract bool get upperOpen;
}
// 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
@@ -26199,22 +26265,22 @@ interface IDBKeyRange default _IDBKeyRangeFactoryProvider {
// WARNING: Do not edit - generated code.
/// @domName IDBObjectStore
-interface IDBObjectStore {
+abstract class IDBObjectStore {
/** @domName IDBObjectStore.autoIncrement */
- final bool autoIncrement;
+ abstract bool get autoIncrement;
/** @domName IDBObjectStore.indexNames */
- final List<String> indexNames;
+ abstract List<String> get indexNames;
/** @domName IDBObjectStore.keyPath */
- final Dynamic keyPath;
+ abstract Dynamic get keyPath;
/** @domName IDBObjectStore.name */
- final String name;
+ abstract String get name;
/** @domName IDBObjectStore.transaction */
- final IDBTransaction transaction;
+ abstract IDBTransaction get transaction;
/** @domName IDBObjectStore.add */
IDBRequest add(/*SerializedScriptValue*/ value, [/*IDBKey*/ key]);
@@ -26253,7 +26319,7 @@ interface IDBObjectStore {
// WARNING: Do not edit - generated code.
/// @domName IDBOpenDBRequest
-interface IDBOpenDBRequest extends IDBRequest, EventTarget {
+abstract class IDBOpenDBRequest implements IDBRequest, EventTarget {
/**
* @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent
@@ -26261,7 +26327,7 @@ interface IDBOpenDBRequest extends IDBRequest, EventTarget {
IDBOpenDBRequestEvents get on;
}
-interface IDBOpenDBRequestEvents extends IDBRequestEvents {
+abstract class IDBOpenDBRequestEvents implements IDBRequestEvents {
EventListenerList get blocked;
@@ -26274,7 +26340,7 @@ interface IDBOpenDBRequestEvents extends IDBRequestEvents {
// WARNING: Do not edit - generated code.
/// @domName IDBRequest
-interface IDBRequest extends EventTarget {
+abstract class IDBRequest implements EventTarget {
/**
* @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent
@@ -26282,25 +26348,25 @@ interface IDBRequest extends EventTarget {
IDBRequestEvents get on;
/** @domName IDBRequest.error */
- final DOMError error;
+ abstract DOMError get error;
/** @domName IDBRequest.errorCode */
- final int errorCode;
+ abstract int get errorCode;
/** @domName IDBRequest.readyState */
- final String readyState;
+ abstract String get readyState;
/** @domName IDBRequest.result */
- final Dynamic result;
+ abstract Dynamic get result;
/** @domName IDBRequest.source */
- final Dynamic source;
+ abstract Dynamic get source;
/** @domName IDBRequest.transaction */
- final IDBTransaction transaction;
+ abstract IDBTransaction get transaction;
/** @domName IDBRequest.webkitErrorMessage */
- final String webkitErrorMessage;
+ abstract String get webkitErrorMessage;
/** @domName IDBRequest.addEventListener */
void $dom_addEventListener(String type, EventListener listener, [bool useCapture]);
@@ -26312,7 +26378,7 @@ interface IDBRequest extends EventTarget {
void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]);
}
-interface IDBRequestEvents extends Events {
+abstract class IDBRequestEvents implements Events {
EventListenerList get error;
@@ -26325,7 +26391,7 @@ interface IDBRequestEvents extends Events {
// WARNING: Do not edit - generated code.
/// @domName IDBTransaction
-interface IDBTransaction extends EventTarget {
+abstract class IDBTransaction implements EventTarget {
/**
* @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent
@@ -26339,13 +26405,13 @@ interface IDBTransaction extends EventTarget {
static const int VERSION_CHANGE = 2;
/** @domName IDBTransaction.db */
- final IDBDatabase db;
+ abstract IDBDatabase get db;
/** @domName IDBTransaction.error */
- final DOMError error;
+ abstract DOMError get error;
/** @domName IDBTransaction.mode */
- final String mode;
+ abstract String get mode;
/** @domName IDBTransaction.abort */
void abort();
@@ -26363,7 +26429,7 @@ interface IDBTransaction extends EventTarget {
void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]);
}
-interface IDBTransactionEvents extends Events {
+abstract class IDBTransactionEvents implements Events {
EventListenerList get abort;
@@ -26378,13 +26444,13 @@ interface IDBTransactionEvents extends Events {
// WARNING: Do not edit - generated code.
/// @domName IDBUpgradeNeededEvent
-interface IDBUpgradeNeededEvent extends Event {
+abstract class IDBUpgradeNeededEvent implements Event {
/** @domName IDBUpgradeNeededEvent.newVersion */
- final int newVersion;
+ abstract int get newVersion;
/** @domName IDBUpgradeNeededEvent.oldVersion */
- final int oldVersion;
+ abstract int get oldVersion;
}
// 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
@@ -26393,10 +26459,10 @@ interface IDBUpgradeNeededEvent extends Event {
// WARNING: Do not edit - generated code.
/// @domName IDBVersionChangeEvent
-interface IDBVersionChangeEvent extends Event {
+abstract class IDBVersionChangeEvent implements Event {
/** @domName IDBVersionChangeEvent.version */
- final String version;
+ abstract String get version;
}
// 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
@@ -26405,7 +26471,7 @@ interface IDBVersionChangeEvent extends Event {
// WARNING: Do not edit - generated code.
/// @domName IDBVersionChangeRequest
-interface IDBVersionChangeRequest extends IDBRequest, EventTarget {
+abstract class IDBVersionChangeRequest implements IDBRequest, EventTarget {
/**
* @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent
@@ -26413,7 +26479,7 @@ interface IDBVersionChangeRequest extends IDBRequest, EventTarget {
IDBVersionChangeRequestEvents get on;
}
-interface IDBVersionChangeRequestEvents extends IDBRequestEvents {
+abstract class IDBVersionChangeRequestEvents implements IDBRequestEvents {
EventListenerList get blocked;
}
@@ -26424,15 +26490,15 @@ interface IDBVersionChangeRequestEvents extends IDBRequestEvents {
// WARNING: Do not edit - generated code.
/// @domName HTMLIFrameElement
-interface IFrameElement extends Element default _Elements {
+abstract class IFrameElement implements Element {
- IFrameElement();
+ factory IFrameElement() => _Elements.createIFrameElement();
/** @domName HTMLIFrameElement.align */
String align;
/** @domName HTMLIFrameElement.contentWindow */
- final Window contentWindow;
+ abstract Window get contentWindow;
/** @domName HTMLIFrameElement.frameBorder */
String frameBorder;
@@ -26484,12 +26550,12 @@ typedef bool IceCallback(IceCandidate candidate, bool moreToFollow, PeerConnecti
// WARNING: Do not edit - generated code.
/// @domName IceCandidate
-interface IceCandidate default _IceCandidateFactoryProvider {
+abstract class IceCandidate {
- IceCandidate(String label, String candidateLine);
+ factory IceCandidate(String label, String candidateLine) => _IceCandidateFactoryProvider.createIceCandidate(label, candidateLine);
/** @domName IceCandidate.label */
- final String label;
+ abstract String get label;
/** @domName IceCandidate.toSdp */
String toSdp();
@@ -26501,16 +26567,16 @@ interface IceCandidate default _IceCandidateFactoryProvider {
// WARNING: Do not edit - generated code.
/// @domName ImageData
-interface ImageData {
+abstract class ImageData {
/** @domName ImageData.data */
- final Uint8ClampedArray data;
+ abstract Uint8ClampedArray get data;
/** @domName ImageData.height */
- final int height;
+ abstract int get height;
/** @domName ImageData.width */
- final int width;
+ abstract int get width;
}
// 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
@@ -26519,9 +26585,20 @@ interface ImageData {
// WARNING: Do not edit - generated code.
/// @domName HTMLImageElement
-interface ImageElement extends Element default _Elements {
+abstract class ImageElement implements Element {
- ImageElement([String src, int width, int height]);
+ factory ImageElement([String src, int width, int height]) {
+ if (!?src) {
+ return _Elements.createImageElement();
+ }
+ if (!?width) {
+ return _Elements.createImageElement(src);
+ }
+ if (!?height) {
+ return _Elements.createImageElement(src, width);
+ }
+ return _Elements.createImageElement(src, width, height);
+ }
/** @domName HTMLImageElement.align */
String align;
@@ -26533,7 +26610,7 @@ interface ImageElement extends Element default _Elements {
String border;
/** @domName HTMLImageElement.complete */
- final bool complete;
+ abstract bool get complete;
/** @domName HTMLImageElement.crossOrigin */
String crossOrigin;
@@ -26557,10 +26634,10 @@ interface ImageElement extends Element default _Elements {
String name;
/** @domName HTMLImageElement.naturalHeight */
- final int naturalHeight;
+ abstract int get naturalHeight;
/** @domName HTMLImageElement.naturalWidth */
- final int naturalWidth;
+ abstract int get naturalWidth;
/** @domName HTMLImageElement.src */
String src;
@@ -26575,10 +26652,10 @@ interface ImageElement extends Element default _Elements {
int width;
/** @domName HTMLImageElement.x */
- final int x;
+ abstract int get x;
/** @domName HTMLImageElement.y */
- final int y;
+ abstract int get y;
}
// 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
@@ -26587,9 +26664,14 @@ interface ImageElement extends Element default _Elements {
// WARNING: Do not edit - generated code.
/// @domName HTMLInputElement
-interface InputElement extends Element default _Elements {
+abstract class InputElement implements Element {
- InputElement([String type]);
+ factory InputElement([String type]) {
+ if (!?type) {
+ return _Elements.createInputElement();
+ }
+ return _Elements.createInputElement(type);
+ }
/**
* @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent
@@ -26627,7 +26709,7 @@ interface InputElement extends Element default _Elements {
FileList files;
/** @domName HTMLInputElement.form */
- final FormElement form;
+ abstract FormElement get form;
/** @domName HTMLInputElement.formAction */
String formAction;
@@ -26654,10 +26736,10 @@ interface InputElement extends Element default _Elements {
bool indeterminate;
/** @domName HTMLInputElement.labels */
- final NodeList labels;
+ abstract NodeList get labels;
/** @domName HTMLInputElement.list */
- final Element list;
+ abstract Element get list;
/** @domName HTMLInputElement.max */
String max;
@@ -26711,10 +26793,10 @@ interface InputElement extends Element default _Elements {
String useMap;
/** @domName HTMLInputElement.validationMessage */
- final String validationMessage;
+ abstract String get validationMessage;
/** @domName HTMLInputElement.validity */
- final ValidityState validity;
+ abstract ValidityState get validity;
/** @domName HTMLInputElement.value */
String value;
@@ -26726,7 +26808,7 @@ interface InputElement extends Element default _Elements {
num valueAsNumber;
/** @domName HTMLInputElement.webkitEntries */
- final EntryArray webkitEntries;
+ abstract EntryArray get webkitEntries;
/** @domName HTMLInputElement.webkitGrammar */
bool webkitGrammar;
@@ -26741,7 +26823,7 @@ interface InputElement extends Element default _Elements {
int width;
/** @domName HTMLInputElement.willValidate */
- final bool willValidate;
+ abstract bool get willValidate;
/** @domName HTMLInputElement.checkValidity */
bool checkValidity();
@@ -26762,7 +26844,7 @@ interface InputElement extends Element default _Elements {
void stepUp([int n]);
}
-interface InputElementEvents extends ElementEvents {
+abstract class InputElementEvents implements ElementEvents {
EventListenerList get speechChange;
}
@@ -26773,18 +26855,21 @@ interface InputElementEvents extends ElementEvents {
// WARNING: Do not edit - generated code.
/// @domName Int16Array
-interface Int16Array extends ArrayBufferView, List<int> default _TypedArrayFactoryProvider {
+abstract class Int16Array implements ArrayBufferView, List<int> {
- Int16Array(int length);
+ factory Int16Array(int length) =>
+ _TypedArrayFactoryProvider.createInt16Array(length);
- Int16Array.fromList(List<int> list);
+ factory Int16Array.fromList(List<int> list) =>
+ _TypedArrayFactoryProvider.createInt16Array_fromList(list);
- Int16Array.fromBuffer(ArrayBuffer buffer, [int byteOffset, int length]);
+ factory Int16Array.fromBuffer(ArrayBuffer buffer, [int byteOffset, int length]) =>
+ _TypedArrayFactoryProvider.createInt16Array_fromBuffer(buffer, byteOffset, length);
static const int BYTES_PER_ELEMENT = 2;
/** @domName Int16Array.length */
- final int length;
+ abstract int get length;
/** @domName Int16Array.setElements */
void setElements(Object array, [int offset]);
@@ -26799,18 +26884,21 @@ interface Int16Array extends ArrayBufferView, List<int> default _TypedArrayFacto
// WARNING: Do not edit - generated code.
/// @domName Int32Array
-interface Int32Array extends ArrayBufferView, List<int> default _TypedArrayFactoryProvider {
+abstract class Int32Array implements ArrayBufferView, List<int> {
- Int32Array(int length);
+ factory Int32Array(int length) =>
+ _TypedArrayFactoryProvider.createInt32Array(length);
- Int32Array.fromList(List<int> list);
+ factory Int32Array.fromList(List<int> list) =>
+ _TypedArrayFactoryProvider.createInt32Array_fromList(list);
- Int32Array.fromBuffer(ArrayBuffer buffer, [int byteOffset, int length]);
+ factory Int32Array.fromBuffer(ArrayBuffer buffer, [int byteOffset, int length]) =>
+ _TypedArrayFactoryProvider.createInt32Array_fromBuffer(buffer, byteOffset, length);
static const int BYTES_PER_ELEMENT = 4;
/** @domName Int32Array.length */
- final int length;
+ abstract int get length;
/** @domName Int32Array.setElements */
void setElements(Object array, [int offset]);
@@ -26825,18 +26913,21 @@ interface Int32Array extends ArrayBufferView, List<int> default _TypedArrayFacto
// WARNING: Do not edit - generated code.
/// @domName Int8Array
-interface Int8Array extends ArrayBufferView, List<int> default _TypedArrayFactoryProvider {
+abstract class Int8Array implements ArrayBufferView, List<int> {
- Int8Array(int length);
+ factory Int8Array(int length) =>
+ _TypedArrayFactoryProvider.createInt8Array(length);
- Int8Array.fromList(List<int> list);
+ factory Int8Array.fromList(List<int> list) =>
+ _TypedArrayFactoryProvider.createInt8Array_fromList(list);
- Int8Array.fromBuffer(ArrayBuffer buffer, [int byteOffset, int length]);
+ factory Int8Array.fromBuffer(ArrayBuffer buffer, [int byteOffset, int length]) =>
+ _TypedArrayFactoryProvider.createInt8Array_fromBuffer(buffer, byteOffset, length);
static const int BYTES_PER_ELEMENT = 1;
/** @domName Int8Array.length */
- final int length;
+ abstract int get length;
/** @domName Int8Array.setElements */
void setElements(Object array, [int offset]);
@@ -26851,7 +26942,7 @@ interface Int8Array extends ArrayBufferView, List<int> default _TypedArrayFactor
// WARNING: Do not edit - generated code.
/// @domName JavaScriptAudioNode
-interface JavaScriptAudioNode extends AudioNode, EventTarget {
+abstract class JavaScriptAudioNode implements AudioNode, EventTarget {
/**
* @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent
@@ -26859,10 +26950,10 @@ interface JavaScriptAudioNode extends AudioNode, EventTarget {
JavaScriptAudioNodeEvents get on;
/** @domName JavaScriptAudioNode.bufferSize */
- final int bufferSize;
+ abstract int get bufferSize;
}
-interface JavaScriptAudioNodeEvents extends Events {
+abstract class JavaScriptAudioNodeEvents implements Events {
EventListenerList get audioProcess;
}
@@ -26873,7 +26964,7 @@ interface JavaScriptAudioNodeEvents extends Events {
// WARNING: Do not edit - generated code.
/// @domName JavaScriptCallFrame
-interface JavaScriptCallFrame {
+abstract class JavaScriptCallFrame {
static const int CATCH_SCOPE = 4;
@@ -26886,28 +26977,28 @@ interface JavaScriptCallFrame {
static const int WITH_SCOPE = 2;
/** @domName JavaScriptCallFrame.caller */
- final JavaScriptCallFrame caller;
+ abstract JavaScriptCallFrame get caller;
/** @domName JavaScriptCallFrame.column */
- final int column;
+ abstract int get column;
/** @domName JavaScriptCallFrame.functionName */
- final String functionName;
+ abstract String get functionName;
/** @domName JavaScriptCallFrame.line */
- final int line;
+ abstract int get line;
/** @domName JavaScriptCallFrame.scopeChain */
- final List scopeChain;
+ abstract List get scopeChain;
/** @domName JavaScriptCallFrame.sourceID */
- final int sourceID;
+ abstract int get sourceID;
/** @domName JavaScriptCallFrame.thisObject */
- final Object thisObject;
+ abstract Object get thisObject;
/** @domName JavaScriptCallFrame.type */
- final String type;
+ abstract String get type;
/** @domName JavaScriptCallFrame.evaluate */
void evaluate(String script);
@@ -26925,28 +27016,28 @@ interface JavaScriptCallFrame {
// WARNING: Do not edit - generated code.
/// @domName KeyboardEvent
-interface KeyboardEvent extends UIEvent {
+abstract class KeyboardEvent implements UIEvent {
/** @domName KeyboardEvent.altGraphKey */
- final bool altGraphKey;
+ abstract bool get altGraphKey;
/** @domName KeyboardEvent.altKey */
- final bool altKey;
+ abstract bool get altKey;
/** @domName KeyboardEvent.ctrlKey */
- final bool ctrlKey;
+ abstract bool get ctrlKey;
/** @domName KeyboardEvent.keyIdentifier */
- final String keyIdentifier;
+ abstract String get keyIdentifier;
/** @domName KeyboardEvent.keyLocation */
- final int keyLocation;
+ abstract int get keyLocation;
/** @domName KeyboardEvent.metaKey */
- final bool metaKey;
+ abstract bool get metaKey;
/** @domName KeyboardEvent.shiftKey */
- final bool shiftKey;
+ abstract bool get shiftKey;
/** @domName KeyboardEvent.initKeyboardEvent */
void initKeyboardEvent(String type, bool canBubble, bool cancelable, Window view, String keyIdentifier, int keyLocation, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, bool altGraphKey);
@@ -26958,9 +27049,9 @@ interface KeyboardEvent extends UIEvent {
// WARNING: Do not edit - generated code.
/// @domName HTMLKeygenElement
-interface KeygenElement extends Element default _Elements {
+abstract class KeygenElement implements Element {
- KeygenElement();
+ factory KeygenElement() => _Elements.createKeygenElement();
/** @domName HTMLKeygenElement.autofocus */
bool autofocus;
@@ -26972,28 +27063,28 @@ interface KeygenElement extends Element default _Elements {
bool disabled;
/** @domName HTMLKeygenElement.form */
- final FormElement form;
+ abstract FormElement get form;
/** @domName HTMLKeygenElement.keytype */
String keytype;
/** @domName HTMLKeygenElement.labels */
- final NodeList labels;
+ abstract NodeList get labels;
/** @domName HTMLKeygenElement.name */
String name;
/** @domName HTMLKeygenElement.type */
- final String type;
+ abstract String get type;
/** @domName HTMLKeygenElement.validationMessage */
- final String validationMessage;
+ abstract String get validationMessage;
/** @domName HTMLKeygenElement.validity */
- final ValidityState validity;
+ abstract ValidityState get validity;
/** @domName HTMLKeygenElement.willValidate */
- final bool willValidate;
+ abstract bool get willValidate;
/** @domName HTMLKeygenElement.checkValidity */
bool checkValidity();
@@ -27008,9 +27099,9 @@ interface KeygenElement extends Element default _Elements {
// WARNING: Do not edit - generated code.
/// @domName HTMLLIElement
-interface LIElement extends Element default _Elements {
+abstract class LIElement implements Element {
- LIElement();
+ factory LIElement() => _Elements.createLIElement();
/** @domName HTMLLIElement.type */
String type;
@@ -27025,15 +27116,15 @@ interface LIElement extends Element default _Elements {
// WARNING: Do not edit - generated code.
/// @domName HTMLLabelElement
-interface LabelElement extends Element default _Elements {
+abstract class LabelElement implements Element {
- LabelElement();
+ factory LabelElement() => _Elements.createLabelElement();
/** @domName HTMLLabelElement.control */
- final Element control;
+ abstract Element get control;
/** @domName HTMLLabelElement.form */
- final FormElement form;
+ abstract FormElement get form;
/** @domName HTMLLabelElement.htmlFor */
String htmlFor;
@@ -27045,15 +27136,15 @@ interface LabelElement extends Element default _Elements {
// WARNING: Do not edit - generated code.
/// @domName HTMLLegendElement
-interface LegendElement extends Element default _Elements {
+abstract class LegendElement implements Element {
- LegendElement();
+ factory LegendElement() => _Elements.createLegendElement();
/** @domName HTMLLegendElement.align */
String align;
/** @domName HTMLLegendElement.form */
- final FormElement form;
+ abstract FormElement get form;
}
// 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
@@ -27062,9 +27153,9 @@ interface LegendElement extends Element default _Elements {
// WARNING: Do not edit - generated code.
/// @domName HTMLLinkElement
-interface LinkElement extends Element default _Elements {
+abstract class LinkElement implements Element {
- LinkElement();
+ factory LinkElement() => _Elements.createLinkElement();
/** @domName HTMLLinkElement.charset */
String charset;
@@ -27088,7 +27179,7 @@ interface LinkElement extends Element default _Elements {
String rev;
/** @domName HTMLLinkElement.sheet */
- final StyleSheet sheet;
+ abstract StyleSheet get sheet;
/** @domName HTMLLinkElement.sizes */
DOMSettableTokenList sizes;
@@ -27106,7 +27197,7 @@ interface LinkElement extends Element default _Elements {
// WARNING: Do not edit - generated code.
/// @domName LocalMediaStream
-interface LocalMediaStream extends MediaStream, EventTarget {
+abstract class LocalMediaStream implements MediaStream, EventTarget {
/** @domName LocalMediaStream.stop */
void stop();
@@ -27118,10 +27209,10 @@ interface LocalMediaStream extends MediaStream, EventTarget {
// WARNING: Do not edit - generated code.
/// @domName Location
-interface Location {
+abstract class Location {
/** @domName Location.ancestorOrigins */
- final List<String> ancestorOrigins;
+ abstract List<String> get ancestorOrigins;
/** @domName Location.hash */
String hash;
@@ -27136,7 +27227,7 @@ interface Location {
String href;
/** @domName Location.origin */
- final String origin;
+ abstract String get origin;
/** @domName Location.pathname */
String pathname;
@@ -27169,12 +27260,12 @@ interface Location {
// WARNING: Do not edit - generated code.
/// @domName HTMLMapElement
-interface MapElement extends Element default _Elements {
+abstract class MapElement implements Element {
- MapElement();
+ factory MapElement() => _Elements.createMapElement();
/** @domName HTMLMapElement.areas */
- final HTMLCollection areas;
+ abstract HTMLCollection get areas;
/** @domName HTMLMapElement.name */
String name;
@@ -27186,7 +27277,7 @@ interface MapElement extends Element default _Elements {
// WARNING: Do not edit - generated code.
/// @domName HTMLMarqueeElement
-interface MarqueeElement extends Element {
+abstract class MarqueeElement implements Element {
/** @domName HTMLMarqueeElement.behavior */
String behavior;
@@ -27234,12 +27325,12 @@ interface MarqueeElement extends Element {
// WARNING: Do not edit - generated code.
/// @domName MediaController
-interface MediaController extends EventTarget default _MediaControllerFactoryProvider {
+abstract class MediaController implements EventTarget {
- MediaController();
+ factory MediaController() => _MediaControllerFactoryProvider.createMediaController();
/** @domName MediaController.buffered */
- final TimeRanges buffered;
+ abstract TimeRanges get buffered;
/** @domName MediaController.currentTime */
num currentTime;
@@ -27248,22 +27339,22 @@ interface MediaController extends EventTarget default _MediaControllerFactoryPro
num defaultPlaybackRate;
/** @domName MediaController.duration */
- final num duration;
+ abstract num get duration;
/** @domName MediaController.muted */
bool muted;
/** @domName MediaController.paused */
- final bool paused;
+ abstract bool get paused;
/** @domName MediaController.playbackRate */
num playbackRate;
/** @domName MediaController.played */
- final TimeRanges played;
+ abstract TimeRanges get played;
/** @domName MediaController.seekable */
- final TimeRanges seekable;
+ abstract TimeRanges get seekable;
/** @domName MediaController.volume */
num volume;
@@ -27290,7 +27381,7 @@ interface MediaController extends EventTarget default _MediaControllerFactoryPro
// WARNING: Do not edit - generated code.
/// @domName HTMLMediaElement
-interface MediaElement extends Element {
+abstract class MediaElement implements Element {
/**
* @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent
@@ -27319,7 +27410,7 @@ interface MediaElement extends Element {
bool autoplay;
/** @domName HTMLMediaElement.buffered */
- final TimeRanges buffered;
+ abstract TimeRanges get buffered;
/** @domName HTMLMediaElement.controller */
MediaController controller;
@@ -27328,7 +27419,7 @@ interface MediaElement extends Element {
bool controls;
/** @domName HTMLMediaElement.currentSrc */
- final String currentSrc;
+ abstract String get currentSrc;
/** @domName HTMLMediaElement.currentTime */
num currentTime;
@@ -27340,16 +27431,16 @@ interface MediaElement extends Element {
num defaultPlaybackRate;
/** @domName HTMLMediaElement.duration */
- final num duration;
+ abstract num get duration;
/** @domName HTMLMediaElement.ended */
- final bool ended;
+ abstract bool get ended;
/** @domName HTMLMediaElement.error */
- final MediaError error;
+ abstract MediaError get error;
/** @domName HTMLMediaElement.initialTime */
- final num initialTime;
+ abstract num get initialTime;
/** @domName HTMLMediaElement.loop */
bool loop;
@@ -27361,55 +27452,55 @@ interface MediaElement extends Element {
bool muted;
/** @domName HTMLMediaElement.networkState */
- final int networkState;
+ abstract int get networkState;
/** @domName HTMLMediaElement.paused */
- final bool paused;
+ abstract bool get paused;
/** @domName HTMLMediaElement.playbackRate */
num playbackRate;
/** @domName HTMLMediaElement.played */
- final TimeRanges played;
+ abstract TimeRanges get played;
/** @domName HTMLMediaElement.preload */
String preload;
/** @domName HTMLMediaElement.readyState */
- final int readyState;
+ abstract int get readyState;
/** @domName HTMLMediaElement.seekable */
- final TimeRanges seekable;
+ abstract TimeRanges get seekable;
/** @domName HTMLMediaElement.seeking */
- final bool seeking;
+ abstract bool get seeking;
/** @domName HTMLMediaElement.src */
String src;
/** @domName HTMLMediaElement.startTime */
- final num startTime;
+ abstract num get startTime;
/** @domName HTMLMediaElement.textTracks */
- final TextTrackList textTracks;
+ abstract TextTrackList get textTracks;
/** @domName HTMLMediaElement.volume */
num volume;
/** @domName HTMLMediaElement.webkitAudioDecodedByteCount */
- final int webkitAudioDecodedByteCount;
+ abstract int get webkitAudioDecodedByteCount;
/** @domName HTMLMediaElement.webkitClosedCaptionsVisible */
bool webkitClosedCaptionsVisible;
/** @domName HTMLMediaElement.webkitHasClosedCaptions */
- final bool webkitHasClosedCaptions;
+ abstract bool get webkitHasClosedCaptions;
/** @domName HTMLMediaElement.webkitPreservesPitch */
bool webkitPreservesPitch;
/** @domName HTMLMediaElement.webkitVideoDecodedByteCount */
- final int webkitVideoDecodedByteCount;
+ abstract int get webkitVideoDecodedByteCount;
/** @domName HTMLMediaElement.addTextTrack */
TextTrack addTextTrack(String kind, [String label, String language]);
@@ -27436,7 +27527,7 @@ interface MediaElement extends Element {
void webkitGenerateKeyRequest(String keySystem, [Uint8Array initData]);
}
-interface MediaElementEvents extends ElementEvents {
+abstract class MediaElementEvents implements ElementEvents {
EventListenerList get canPlay;
@@ -27495,10 +27586,10 @@ interface MediaElementEvents extends ElementEvents {
// WARNING: Do not edit - generated code.
/// @domName MediaElementAudioSourceNode
-interface MediaElementAudioSourceNode extends AudioSourceNode {
+abstract class MediaElementAudioSourceNode implements AudioSourceNode {
/** @domName MediaElementAudioSourceNode.mediaElement */
- final MediaElement mediaElement;
+ abstract MediaElement get mediaElement;
}
// 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
@@ -27507,7 +27598,7 @@ interface MediaElementAudioSourceNode extends AudioSourceNode {
// WARNING: Do not edit - generated code.
/// @domName MediaError
-interface MediaError {
+abstract class MediaError {
static const int MEDIA_ERR_ABORTED = 1;
@@ -27520,7 +27611,7 @@ interface MediaError {
static const int MEDIA_ERR_SRC_NOT_SUPPORTED = 4;
/** @domName MediaError.code */
- final int code;
+ abstract int get code;
}
// 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
@@ -27529,7 +27620,7 @@ interface MediaError {
// WARNING: Do not edit - generated code.
/// @domName MediaKeyError
-interface MediaKeyError {
+abstract class MediaKeyError {
static const int MEDIA_KEYERR_CLIENT = 2;
@@ -27544,7 +27635,7 @@ interface MediaKeyError {
static const int MEDIA_KEYERR_UNKNOWN = 1;
/** @domName MediaKeyError.code */
- final int code;
+ abstract int get code;
}
// 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
@@ -27553,28 +27644,28 @@ interface MediaKeyError {
// WARNING: Do not edit - generated code.
/// @domName MediaKeyEvent
-interface MediaKeyEvent extends Event {
+abstract class MediaKeyEvent implements Event {
/** @domName MediaKeyEvent.defaultURL */
- final String defaultURL;
+ abstract String get defaultURL;
/** @domName MediaKeyEvent.errorCode */
- final MediaKeyError errorCode;
+ abstract MediaKeyError get errorCode;
/** @domName MediaKeyEvent.initData */
- final Uint8Array initData;
+ abstract Uint8Array get initData;
/** @domName MediaKeyEvent.keySystem */
- final String keySystem;
+ abstract String get keySystem;
/** @domName MediaKeyEvent.message */
- final Uint8Array message;
+ abstract Uint8Array get message;
/** @domName MediaKeyEvent.sessionId */
- final String sessionId;
+ abstract String get sessionId;
/** @domName MediaKeyEvent.systemCode */
- final int systemCode;
+ abstract int get systemCode;
}
// 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
@@ -27583,10 +27674,10 @@ interface MediaKeyEvent extends Event {
// WARNING: Do not edit - generated code.
/// @domName MediaList
-interface MediaList extends List<String> {
+abstract class MediaList implements List<String> {
/** @domName MediaList.length */
- final int length;
+ abstract int get length;
/** @domName MediaList.mediaText */
String mediaText;
@@ -27607,13 +27698,13 @@ interface MediaList extends List<String> {
// WARNING: Do not edit - generated code.
/// @domName MediaQueryList
-interface MediaQueryList {
+abstract class MediaQueryList {
/** @domName MediaQueryList.matches */
- final bool matches;
+ abstract bool get matches;
/** @domName MediaQueryList.media */
- final String media;
+ abstract String get media;
/** @domName MediaQueryList.addListener */
void addListener(MediaQueryListListener listener);
@@ -27628,7 +27719,7 @@ interface MediaQueryList {
// WARNING: Do not edit - generated code.
/// @domName MediaQueryListListener
-interface MediaQueryListListener {
+abstract class MediaQueryListListener {
/** @domName MediaQueryListListener.queryChanged */
void queryChanged(MediaQueryList list);
@@ -27640,21 +27731,21 @@ interface MediaQueryListListener {
// WARNING: Do not edit - generated code.
/// @domName MediaSource
-interface MediaSource extends EventTarget default _MediaSourceFactoryProvider {
+abstract class MediaSource implements EventTarget {
- MediaSource();
+ factory MediaSource() => _MediaSourceFactoryProvider.createMediaSource();
/** @domName MediaSource.activeSourceBuffers */
- final SourceBufferList activeSourceBuffers;
+ abstract SourceBufferList get activeSourceBuffers;
/** @domName MediaSource.duration */
num duration;
/** @domName MediaSource.readyState */
- final String readyState;
+ abstract String get readyState;
/** @domName MediaSource.sourceBuffers */
- final SourceBufferList sourceBuffers;
+ abstract SourceBufferList get sourceBuffers;
/** @domName MediaSource.addEventListener */
void $dom_addEventListener(String type, EventListener listener, [bool useCapture]);
@@ -27681,9 +27772,9 @@ interface MediaSource extends EventTarget default _MediaSourceFactoryProvider {
// WARNING: Do not edit - generated code.
/// @domName MediaStream
-interface MediaStream extends EventTarget default _MediaStreamFactoryProvider {
+abstract class MediaStream implements EventTarget {
- MediaStream(MediaStreamTrackList audioTracks, MediaStreamTrackList videoTracks);
+ factory MediaStream(MediaStreamTrackList audioTracks, MediaStreamTrackList videoTracks) => _MediaStreamFactoryProvider.createMediaStream(audioTracks, videoTracks);
/**
* @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent
@@ -27695,16 +27786,16 @@ interface MediaStream extends EventTarget default _MediaStreamFactoryProvider {
static const int LIVE = 1;
/** @domName MediaStream.audioTracks */
- final MediaStreamTrackList audioTracks;
+ abstract MediaStreamTrackList get audioTracks;
/** @domName MediaStream.label */
- final String label;
+ abstract String get label;
/** @domName MediaStream.readyState */
- final int readyState;
+ abstract int get readyState;
/** @domName MediaStream.videoTracks */
- final MediaStreamTrackList videoTracks;
+ abstract MediaStreamTrackList get videoTracks;
/** @domName MediaStream.addEventListener */
void $dom_addEventListener(String type, EventListener listener, [bool useCapture]);
@@ -27716,7 +27807,7 @@ interface MediaStream extends EventTarget default _MediaStreamFactoryProvider {
void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]);
}
-interface MediaStreamEvents extends Events {
+abstract class MediaStreamEvents implements Events {
EventListenerList get ended;
}
@@ -27727,10 +27818,10 @@ interface MediaStreamEvents extends Events {
// WARNING: Do not edit - generated code.
/// @domName MediaStreamAudioSourceNode
-interface MediaStreamAudioSourceNode extends AudioSourceNode {
+abstract class MediaStreamAudioSourceNode implements AudioSourceNode {
/** @domName MediaStreamAudioSourceNode.mediaStream */
- final MediaStream mediaStream;
+ abstract MediaStream get mediaStream;
}
// 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
@@ -27739,10 +27830,10 @@ interface MediaStreamAudioSourceNode extends AudioSourceNode {
// WARNING: Do not edit - generated code.
/// @domName MediaStreamEvent
-interface MediaStreamEvent extends Event {
+abstract class MediaStreamEvent implements Event {
/** @domName MediaStreamEvent.stream */
- final MediaStream stream;
+ abstract MediaStream get stream;
}
// 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
@@ -27751,10 +27842,10 @@ interface MediaStreamEvent extends Event {
// WARNING: Do not edit - generated code.
/// @domName MediaStreamList
-interface MediaStreamList {
+abstract class MediaStreamList {
/** @domName MediaStreamList.length */
- final int length;
+ abstract int get length;
/** @domName MediaStreamList.item */
MediaStream item(int index);
@@ -27766,7 +27857,7 @@ interface MediaStreamList {
// WARNING: Do not edit - generated code.
/// @domName MediaStreamTrack
-interface MediaStreamTrack extends EventTarget {
+abstract class MediaStreamTrack implements EventTarget {
/**
* @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent
@@ -27783,13 +27874,13 @@ interface MediaStreamTrack extends EventTarget {
bool enabled;
/** @domName MediaStreamTrack.kind */
- final String kind;
+ abstract String get kind;
/** @domName MediaStreamTrack.label */
- final String label;
+ abstract String get label;
/** @domName MediaStreamTrack.readyState */
- final int readyState;
+ abstract int get readyState;
/** @domName MediaStreamTrack.addEventListener */
void $dom_addEventListener(String type, EventListener listener, [bool useCapture]);
@@ -27801,7 +27892,7 @@ interface MediaStreamTrack extends EventTarget {
void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]);
}
-interface MediaStreamTrackEvents extends Events {
+abstract class MediaStreamTrackEvents implements Events {
EventListenerList get ended;
@@ -27816,10 +27907,10 @@ interface MediaStreamTrackEvents extends Events {
// WARNING: Do not edit - generated code.
/// @domName MediaStreamTrackEvent
-interface MediaStreamTrackEvent extends Event {
+abstract class MediaStreamTrackEvent implements Event {
/** @domName MediaStreamTrackEvent.track */
- final MediaStreamTrack track;
+ abstract MediaStreamTrack get track;
}
// 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
@@ -27828,7 +27919,7 @@ interface MediaStreamTrackEvent extends Event {
// WARNING: Do not edit - generated code.
/// @domName MediaStreamTrackList
-interface MediaStreamTrackList extends EventTarget {
+abstract class MediaStreamTrackList implements EventTarget {
/**
* @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent
@@ -27836,7 +27927,7 @@ interface MediaStreamTrackList extends EventTarget {
MediaStreamTrackListEvents get on;
/** @domName MediaStreamTrackList.length */
- final int length;
+ abstract int get length;
/** @domName MediaStreamTrackList.add */
void add(MediaStreamTrack track);
@@ -27857,7 +27948,7 @@ interface MediaStreamTrackList extends EventTarget {
void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]);
}
-interface MediaStreamTrackListEvents extends Events {
+abstract class MediaStreamTrackListEvents implements Events {
EventListenerList get addTrack;
@@ -27870,16 +27961,16 @@ interface MediaStreamTrackListEvents extends Events {
// WARNING: Do not edit - generated code.
/// @domName MemoryInfo
-interface MemoryInfo {
+abstract class MemoryInfo {
/** @domName MemoryInfo.jsHeapSizeLimit */
- final int jsHeapSizeLimit;
+ abstract int get jsHeapSizeLimit;
/** @domName MemoryInfo.totalJSHeapSize */
- final int totalJSHeapSize;
+ abstract int get totalJSHeapSize;
/** @domName MemoryInfo.usedJSHeapSize */
- final int usedJSHeapSize;
+ abstract int get usedJSHeapSize;
}
// 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
@@ -27888,9 +27979,9 @@ interface MemoryInfo {
// WARNING: Do not edit - generated code.
/// @domName HTMLMenuElement
-interface MenuElement extends Element default _Elements {
+abstract class MenuElement implements Element {
- MenuElement();
+ factory MenuElement() => _Elements.createMenuElement();
/** @domName HTMLMenuElement.compact */
bool compact;
@@ -27902,15 +27993,15 @@ interface MenuElement extends Element default _Elements {
// WARNING: Do not edit - generated code.
/// @domName MessageChannel
-interface MessageChannel default _MessageChannelFactoryProvider {
+abstract class MessageChannel {
- MessageChannel();
+ factory MessageChannel() => _MessageChannelFactoryProvider.createMessageChannel();
/** @domName MessageChannel.port1 */
- final MessagePort port1;
+ abstract MessagePort get port1;
/** @domName MessageChannel.port2 */
- final MessagePort port2;
+ abstract MessagePort get port2;
}
// 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
@@ -27919,22 +28010,22 @@ interface MessageChannel default _MessageChannelFactoryProvider {
// WARNING: Do not edit - generated code.
/// @domName MessageEvent
-interface MessageEvent extends Event {
+abstract class MessageEvent implements Event {
/** @domName MessageEvent.data */
- final Object data;
+ abstract Object get data;
/** @domName MessageEvent.lastEventId */
- final String lastEventId;
+ abstract String get lastEventId;
/** @domName MessageEvent.origin */
- final String origin;
+ abstract String get origin;
/** @domName MessageEvent.ports */
- final List ports;
+ abstract List get ports;
/** @domName MessageEvent.source */
- final Window source;
+ abstract Window get source;
/** @domName MessageEvent.initMessageEvent */
void initMessageEvent(String typeArg, bool canBubbleArg, bool cancelableArg, Object dataArg, String originArg, String lastEventIdArg, Window sourceArg, List messagePorts);
@@ -27949,7 +28040,7 @@ interface MessageEvent extends Event {
// WARNING: Do not edit - generated code.
/// @domName MessagePort
-interface MessagePort extends EventTarget {
+abstract class MessagePort implements EventTarget {
/**
* @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent
@@ -27978,7 +28069,7 @@ interface MessagePort extends EventTarget {
void webkitPostMessage(Object message, [List transfer]);
}
-interface MessagePortEvents extends Events {
+abstract class MessagePortEvents implements Events {
EventListenerList get message;
}
@@ -27989,7 +28080,7 @@ interface MessagePortEvents extends Events {
// WARNING: Do not edit - generated code.
/// @domName HTMLMetaElement
-interface MetaElement extends Element {
+abstract class MetaElement implements Element {
/** @domName HTMLMetaElement.content */
String content;
@@ -28010,13 +28101,13 @@ interface MetaElement extends Element {
// WARNING: Do not edit - generated code.
/// @domName Metadata
-interface Metadata {
+abstract class Metadata {
/** @domName Metadata.modificationTime */
- final Date modificationTime;
+ abstract Date get modificationTime;
/** @domName Metadata.size */
- final int size;
+ abstract int get size;
}
// 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
@@ -28032,15 +28123,15 @@ typedef bool MetadataCallback(Metadata metadata);
// WARNING: Do not edit - generated code.
/// @domName HTMLMeterElement
-interface MeterElement extends Element default _Elements {
+abstract class MeterElement implements Element {
- MeterElement();
+ factory MeterElement() => _Elements.createMeterElement();
/** @domName HTMLMeterElement.high */
num high;
/** @domName HTMLMeterElement.labels */
- final NodeList labels;
+ abstract NodeList get labels;
/** @domName HTMLMeterElement.low */
num low;
@@ -28064,7 +28155,7 @@ interface MeterElement extends Element default _Elements {
// WARNING: Do not edit - generated code.
/// @domName HTMLModElement
-interface ModElement extends Element {
+abstract class ModElement implements Element {
/** @domName HTMLModElement.cite */
String cite;
@@ -28079,70 +28170,75 @@ interface ModElement extends Element {
// WARNING: Do not edit - generated code.
/// @domName MouseEvent
-interface MouseEvent extends UIEvent default _MouseEventFactoryProvider {
+abstract class MouseEvent implements UIEvent {
- MouseEvent(String type, Window view, int detail, int screenX, int screenY,
+ factory MouseEvent(String type, Window view, int detail, int screenX, int screenY,
int clientX, int clientY, int button, [bool canBubble, bool cancelable,
bool ctrlKey, bool altKey, bool shiftKey, bool metaKey,
- EventTarget relatedTarget]);
+ EventTarget relatedTarget]) =>
+ _MouseEventFactoryProvider.createMouseEvent(
+ type, view, detail, screenX, screenY,
+ clientX, clientY, button, canBubble, cancelable,
+ ctrlKey, altKey, shiftKey, metaKey,
+ relatedTarget);
/** @domName MouseEvent.altKey */
- final bool altKey;
+ abstract bool get altKey;
/** @domName MouseEvent.button */
- final int button;
+ abstract int get button;
/** @domName MouseEvent.clientX */
- final int clientX;
+ abstract int get clientX;
/** @domName MouseEvent.clientY */
- final int clientY;
+ abstract int get clientY;
/** @domName MouseEvent.ctrlKey */
- final bool ctrlKey;
+ abstract bool get ctrlKey;
/** @domName MouseEvent.dataTransfer */
- final Clipboard dataTransfer;
+ abstract Clipboard get dataTransfer;
/** @domName MouseEvent.fromElement */
- final Node fromElement;
+ abstract Node get fromElement;
/** @domName MouseEvent.metaKey */
- final bool metaKey;
+ abstract bool get metaKey;
/** @domName MouseEvent.offsetX */
- final int offsetX;
+ abstract int get offsetX;
/** @domName MouseEvent.offsetY */
- final int offsetY;
+ abstract int get offsetY;
/** @domName MouseEvent.relatedTarget */
- final EventTarget relatedTarget;
+ abstract EventTarget get relatedTarget;
/** @domName MouseEvent.screenX */
- final int screenX;
+ abstract int get screenX;
/** @domName MouseEvent.screenY */
- final int screenY;
+ abstract int get screenY;
/** @domName MouseEvent.shiftKey */
- final bool shiftKey;
+ abstract bool get shiftKey;
/** @domName MouseEvent.toElement */
- final Node toElement;
+ abstract Node get toElement;
/** @domName MouseEvent.webkitMovementX */
- final int webkitMovementX;
+ abstract int get webkitMovementX;
/** @domName MouseEvent.webkitMovementY */
- final int webkitMovementY;
+ abstract int get webkitMovementY;
/** @domName MouseEvent.x */
- final int x;
+ abstract int get x;
/** @domName MouseEvent.y */
- final int y;
+ abstract int get y;
/** @domName MouseEvent.initMouseEvent */
void $dom_initMouseEvent(String type, bool canBubble, bool cancelable, Window view, int detail, int screenX, int screenY, int clientX, int clientY, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, int button, EventTarget relatedTarget);
@@ -28161,7 +28257,7 @@ typedef bool MutationCallback(List<MutationRecord> mutations, MutationObserver o
// WARNING: Do not edit - generated code.
/// @domName MutationEvent
-interface MutationEvent extends Event {
+abstract class MutationEvent implements Event {
static const int ADDITION = 2;
@@ -28170,19 +28266,19 @@ interface MutationEvent extends Event {
static const int REMOVAL = 3;
/** @domName MutationEvent.attrChange */
- final int attrChange;
+ abstract int get attrChange;
/** @domName MutationEvent.attrName */
- final String attrName;
+ abstract String get attrName;
/** @domName MutationEvent.newValue */
- final String newValue;
+ abstract String get newValue;
/** @domName MutationEvent.prevValue */
- final String prevValue;
+ abstract String get prevValue;
/** @domName MutationEvent.relatedNode */
- final Node relatedNode;
+ abstract Node get relatedNode;
/** @domName MutationEvent.initMutationEvent */
void initMutationEvent(String type, bool canBubble, bool cancelable, Node relatedNode, String prevValue, String newValue, String attrName, int attrChange);
@@ -28194,9 +28290,9 @@ interface MutationEvent extends Event {
// WARNING: Do not edit - generated code.
/// @domName MutationObserver
-interface MutationObserver default _MutationObserverFactoryProvider {
+abstract class MutationObserver {
- MutationObserver(MutationCallback callback);
+ factory MutationObserver(MutationCallback callback) => _MutationObserverFactoryProvider.createMutationObserver(callback);
/** @domName MutationObserver.disconnect */
void disconnect();
@@ -28221,34 +28317,34 @@ interface MutationObserver default _MutationObserverFactoryProvider {
// WARNING: Do not edit - generated code.
/// @domName MutationRecord
-interface MutationRecord {
+abstract class MutationRecord {
/** @domName MutationRecord.addedNodes */
- final NodeList addedNodes;
+ abstract NodeList get addedNodes;
/** @domName MutationRecord.attributeName */
- final String attributeName;
+ abstract String get attributeName;
/** @domName MutationRecord.attributeNamespace */
- final String attributeNamespace;
+ abstract String get attributeNamespace;
/** @domName MutationRecord.nextSibling */
- final Node nextSibling;
+ abstract Node get nextSibling;
/** @domName MutationRecord.oldValue */
- final String oldValue;
+ abstract String get oldValue;
/** @domName MutationRecord.previousSibling */
- final Node previousSibling;
+ abstract Node get previousSibling;
/** @domName MutationRecord.removedNodes */
- final NodeList removedNodes;
+ abstract NodeList get removedNodes;
/** @domName MutationRecord.target */
- final Node target;
+ abstract Node get target;
/** @domName MutationRecord.type */
- final String type;
+ abstract String get type;
}
// 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
@@ -28257,10 +28353,10 @@ interface MutationRecord {
// WARNING: Do not edit - generated code.
/// @domName NamedNodeMap
-interface NamedNodeMap extends List<Node> {
+abstract class NamedNodeMap implements List<Node> {
/** @domName NamedNodeMap.length */
- final int length;
+ abstract int get length;
/** @domName NamedNodeMap.getNamedItem */
Node getNamedItem(String name);
@@ -28290,55 +28386,55 @@ interface NamedNodeMap extends List<Node> {
// WARNING: Do not edit - generated code.
/// @domName Navigator
-interface Navigator {
+abstract class Navigator {
/** @domName Navigator.appCodeName */
- final String appCodeName;
+ abstract String get appCodeName;
/** @domName Navigator.appName */
- final String appName;
+ abstract String get appName;
/** @domName Navigator.appVersion */
- final String appVersion;
+ abstract String get appVersion;
/** @domName Navigator.cookieEnabled */
- final bool cookieEnabled;
+ abstract bool get cookieEnabled;
/** @domName Navigator.geolocation */
- final Geolocation geolocation;
+ abstract Geolocation get geolocation;
/** @domName Navigator.language */
- final String language;
+ abstract String get language;
/** @domName Navigator.mimeTypes */
- final DOMMimeTypeArray mimeTypes;
+ abstract DOMMimeTypeArray get mimeTypes;
/** @domName Navigator.onLine */
- final bool onLine;
+ abstract bool get onLine;
/** @domName Navigator.platform */
- final String platform;
+ abstract String get platform;
/** @domName Navigator.plugins */
- final DOMPluginArray plugins;
+ abstract DOMPluginArray get plugins;
/** @domName Navigator.product */
- final String product;
+ abstract String get product;
/** @domName Navigator.productSub */
- final String productSub;
+ abstract String get productSub;
/** @domName Navigator.userAgent */
- final String userAgent;
+ abstract String get userAgent;
/** @domName Navigator.vendor */
- final String vendor;
+ abstract String get vendor;
/** @domName Navigator.vendorSub */
- final String vendorSub;
+ abstract String get vendorSub;
/** @domName Navigator.webkitBattery */
- final BatteryManager webkitBattery;
+ abstract BatteryManager get webkitBattery;
/** @domName Navigator.getStorageUpdates */
void getStorageUpdates();
@@ -28359,12 +28455,12 @@ interface Navigator {
// WARNING: Do not edit - generated code.
/// @domName NavigatorUserMediaError
-interface NavigatorUserMediaError {
+abstract class NavigatorUserMediaError {
static const int PERMISSION_DENIED = 1;
/** @domName NavigatorUserMediaError.code */
- final int code;
+ abstract int get code;
}
// 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
@@ -28387,7 +28483,7 @@ typedef bool NavigatorUserMediaSuccessCallback(LocalMediaStream stream);
// WARNING: Do not edit - generated code.
/// @domName Node
-interface Node extends EventTarget {
+abstract class Node implements EventTarget {
NodeList get nodes;
void set nodes(Collection<Node> value);
@@ -28442,31 +28538,31 @@ interface Node extends EventTarget {
static const int TEXT_NODE = 3;
/** @domName Node.attributes */
- final NamedNodeMap $dom_attributes;
+ abstract NamedNodeMap get $dom_attributes;
/** @domName Node.childNodes */
- final NodeList $dom_childNodes;
+ abstract NodeList get $dom_childNodes;
/** @domName Node.firstChild */
- final Node $dom_firstChild;
+ abstract Node get $dom_firstChild;
/** @domName Node.lastChild */
- final Node $dom_lastChild;
+ abstract Node get $dom_lastChild;
/** @domName Node.nextSibling */
- final Node nextNode;
+ abstract Node get nextNode;
/** @domName Node.nodeType */
- final int $dom_nodeType;
+ abstract int get $dom_nodeType;
/** @domName Node.ownerDocument */
- final Document document;
+ abstract Document get document;
/** @domName Node.parentNode */
- final Node parent;
+ abstract Node get parent;
/** @domName Node.previousSibling */
- final Node previousNode;
+ abstract Node get previousNode;
/** @domName Node.textContent */
String text;
@@ -28509,7 +28605,7 @@ interface Node extends EventTarget {
// WARNING: Do not edit - generated code.
/// @domName NodeFilter
-interface NodeFilter {
+abstract class NodeFilter {
static const int FILTER_ACCEPT = 1;
@@ -28553,25 +28649,25 @@ interface NodeFilter {
// WARNING: Do not edit - generated code.
/// @domName NodeIterator
-interface NodeIterator {
+abstract class NodeIterator {
/** @domName NodeIterator.expandEntityReferences */
- final bool expandEntityReferences;
+ abstract bool get expandEntityReferences;
/** @domName NodeIterator.filter */
- final NodeFilter filter;
+ abstract NodeFilter get filter;
/** @domName NodeIterator.pointerBeforeReferenceNode */
- final bool pointerBeforeReferenceNode;
+ abstract bool get pointerBeforeReferenceNode;
/** @domName NodeIterator.referenceNode */
- final Node referenceNode;
+ abstract Node get referenceNode;
/** @domName NodeIterator.root */
- final Node root;
+ abstract Node get root;
/** @domName NodeIterator.whatToShow */
- final int whatToShow;
+ abstract int get whatToShow;
/** @domName NodeIterator.detach */
void detach();
@@ -28589,7 +28685,7 @@ interface NodeIterator {
// WARNING: Do not edit - generated code.
/// @domName NodeList
-interface NodeList extends List<Node> {
+abstract class NodeList implements List<Node> {
NodeList filter(bool f(Node element));
@@ -28599,7 +28695,7 @@ interface NodeList extends List<Node> {
/** @domName NodeList.length */
- final int length;
+ abstract int get length;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -28609,13 +28705,13 @@ interface NodeList extends List<Node> {
// WARNING: Do not edit - generated code.
/// @domName Notation
-interface Notation extends Node {
+abstract class Notation implements Node {
/** @domName Notation.publicId */
- final String publicId;
+ abstract String get publicId;
/** @domName Notation.systemId */
- final String systemId;
+ abstract String get systemId;
}
// 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
@@ -28624,9 +28720,14 @@ interface Notation extends Node {
// WARNING: Do not edit - generated code.
/// @domName Notification
-interface Notification extends EventTarget default _NotificationFactoryProvider {
+abstract class Notification implements EventTarget {
- Notification(String title, [Map options]);
+ factory Notification(String title, [Map options]) {
+ if (!?options) {
+ return _NotificationFactoryProvider.createNotification(title);
+ }
+ return _NotificationFactoryProvider.createNotification(title, options);
+ }
/**
* @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent
@@ -28637,7 +28738,7 @@ interface Notification extends EventTarget default _NotificationFactoryProvider
String dir;
/** @domName Notification.permission */
- final String permission;
+ abstract String get permission;
/** @domName Notification.replaceId */
String replaceId;
@@ -28664,7 +28765,7 @@ interface Notification extends EventTarget default _NotificationFactoryProvider
void show();
}
-interface NotificationEvents extends Events {
+abstract class NotificationEvents implements Events {
EventListenerList get click;
@@ -28683,7 +28784,7 @@ interface NotificationEvents extends Events {
// WARNING: Do not edit - generated code.
/// @domName NotificationCenter
-interface NotificationCenter {
+abstract class NotificationCenter {
/** @domName NotificationCenter.checkPermission */
int checkPermission();
@@ -28711,7 +28812,7 @@ typedef bool NotificationPermissionCallback(String permission);
// WARNING: Do not edit - generated code.
/// @domName OESStandardDerivatives
-interface OESStandardDerivatives {
+abstract class OESStandardDerivatives {
static const int FRAGMENT_SHADER_DERIVATIVE_HINT_OES = 0x8B8B;
}
@@ -28722,7 +28823,7 @@ interface OESStandardDerivatives {
// WARNING: Do not edit - generated code.
/// @domName OESTextureFloat
-interface OESTextureFloat {
+abstract class OESTextureFloat {
}
// 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
@@ -28731,7 +28832,7 @@ interface OESTextureFloat {
// WARNING: Do not edit - generated code.
/// @domName OESVertexArrayObject
-interface OESVertexArrayObject {
+abstract class OESVertexArrayObject {
static const int VERTEX_ARRAY_BINDING_OES = 0x85B5;
@@ -28754,9 +28855,9 @@ interface OESVertexArrayObject {
// WARNING: Do not edit - generated code.
/// @domName HTMLOListElement
-interface OListElement extends Element default _Elements {
+abstract class OListElement implements Element {
- OListElement();
+ factory OListElement() => _Elements.createOListElement();
/** @domName HTMLOListElement.compact */
bool compact;
@@ -28777,9 +28878,9 @@ interface OListElement extends Element default _Elements {
// WARNING: Do not edit - generated code.
/// @domName HTMLObjectElement
-interface ObjectElement extends Element default _Elements {
+abstract class ObjectElement implements Element {
- ObjectElement();
+ factory ObjectElement() => _Elements.createObjectElement();
/** @domName HTMLObjectElement.align */
String align;
@@ -28800,7 +28901,7 @@ interface ObjectElement extends Element default _Elements {
String codeType;
/** @domName HTMLObjectElement.contentDocument */
- final Document contentDocument;
+ abstract Document get contentDocument;
/** @domName HTMLObjectElement.data */
String data;
@@ -28809,7 +28910,7 @@ interface ObjectElement extends Element default _Elements {
bool declare;
/** @domName HTMLObjectElement.form */
- final FormElement form;
+ abstract FormElement get form;
/** @domName HTMLObjectElement.height */
String height;
@@ -28830,10 +28931,10 @@ interface ObjectElement extends Element default _Elements {
String useMap;
/** @domName HTMLObjectElement.validationMessage */
- final String validationMessage;
+ abstract String get validationMessage;
/** @domName HTMLObjectElement.validity */
- final ValidityState validity;
+ abstract ValidityState get validity;
/** @domName HTMLObjectElement.vspace */
int vspace;
@@ -28842,7 +28943,7 @@ interface ObjectElement extends Element default _Elements {
String width;
/** @domName HTMLObjectElement.willValidate */
- final bool willValidate;
+ abstract bool get willValidate;
/** @domName HTMLObjectElement.checkValidity */
bool checkValidity();
@@ -28857,10 +28958,10 @@ interface ObjectElement extends Element default _Elements {
// WARNING: Do not edit - generated code.
/// @domName OfflineAudioCompletionEvent
-interface OfflineAudioCompletionEvent extends Event {
+abstract class OfflineAudioCompletionEvent implements Event {
/** @domName OfflineAudioCompletionEvent.renderedBuffer */
- final AudioBuffer renderedBuffer;
+ abstract AudioBuffer get renderedBuffer;
}
// 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
@@ -28869,9 +28970,9 @@ interface OfflineAudioCompletionEvent extends Event {
// WARNING: Do not edit - generated code.
/// @domName HTMLOptGroupElement
-interface OptGroupElement extends Element default _Elements {
+abstract class OptGroupElement implements Element {
- OptGroupElement();
+ factory OptGroupElement() => _Elements.createOptGroupElement();
/** @domName HTMLOptGroupElement.disabled */
bool disabled;
@@ -28886,9 +28987,23 @@ interface OptGroupElement extends Element default _Elements {
// WARNING: Do not edit - generated code.
/// @domName HTMLOptionElement
-interface OptionElement extends Element default _OptionElementFactoryProvider {
+abstract class OptionElement implements Element {
- OptionElement([String data, String value, bool defaultSelected, bool selected]);
+ factory OptionElement([String data, String value, bool defaultSelected, bool selected]) {
+ if (!?data) {
+ return _OptionElementFactoryProvider.createOptionElement();
+ }
+ if (!?value) {
+ return _OptionElementFactoryProvider.createOptionElement(data);
+ }
+ if (!?defaultSelected) {
+ return _OptionElementFactoryProvider.createOptionElement(data, value);
+ }
+ if (!?selected) {
+ return _OptionElementFactoryProvider.createOptionElement(data, value, defaultSelected);
+ }
+ return _OptionElementFactoryProvider.createOptionElement(data, value, defaultSelected, selected);
+ }
/** @domName HTMLOptionElement.defaultSelected */
bool defaultSelected;
@@ -28897,10 +29012,10 @@ interface OptionElement extends Element default _OptionElementFactoryProvider {
bool disabled;
/** @domName HTMLOptionElement.form */
- final FormElement form;
+ abstract FormElement get form;
/** @domName HTMLOptionElement.index */
- final int index;
+ abstract int get index;
/** @domName HTMLOptionElement.label */
String label;
@@ -28918,7 +29033,7 @@ interface OptionElement extends Element default _OptionElementFactoryProvider {
// WARNING: Do not edit - generated code.
/// @domName Oscillator
-interface Oscillator extends AudioSourceNode {
+abstract class Oscillator implements AudioSourceNode {
static const int CUSTOM = 4;
@@ -28939,13 +29054,13 @@ interface Oscillator extends AudioSourceNode {
static const int UNSCHEDULED_STATE = 0;
/** @domName Oscillator.detune */
- final AudioParam detune;
+ abstract AudioParam get detune;
/** @domName Oscillator.frequency */
- final AudioParam frequency;
+ abstract AudioParam get frequency;
/** @domName Oscillator.playbackState */
- final int playbackState;
+ abstract int get playbackState;
/** @domName Oscillator.type */
int type;
@@ -28966,39 +29081,39 @@ interface Oscillator extends AudioSourceNode {
// WARNING: Do not edit - generated code.
/// @domName HTMLOutputElement
-interface OutputElement extends Element default _Elements {
+abstract class OutputElement implements Element {
- OutputElement();
+ factory OutputElement() => _Elements.createOutputElement();
/** @domName HTMLOutputElement.defaultValue */
String defaultValue;
/** @domName HTMLOutputElement.form */
- final FormElement form;
+ abstract FormElement get form;
/** @domName HTMLOutputElement.htmlFor */
DOMSettableTokenList htmlFor;
/** @domName HTMLOutputElement.labels */
- final NodeList labels;
+ abstract NodeList get labels;
/** @domName HTMLOutputElement.name */
String name;
/** @domName HTMLOutputElement.type */
- final String type;
+ abstract String get type;
/** @domName HTMLOutputElement.validationMessage */
- final String validationMessage;
+ abstract String get validationMessage;
/** @domName HTMLOutputElement.validity */
- final ValidityState validity;
+ abstract ValidityState get validity;
/** @domName HTMLOutputElement.value */
String value;
/** @domName HTMLOutputElement.willValidate */
- final bool willValidate;
+ abstract bool get willValidate;
/** @domName HTMLOutputElement.checkValidity */
bool checkValidity();
@@ -29013,7 +29128,7 @@ interface OutputElement extends Element default _Elements {
// WARNING: Do not edit - generated code.
/// @domName OverflowEvent
-interface OverflowEvent extends Event {
+abstract class OverflowEvent implements Event {
static const int BOTH = 2;
@@ -29022,13 +29137,13 @@ interface OverflowEvent extends Event {
static const int VERTICAL = 1;
/** @domName OverflowEvent.horizontalOverflow */
- final bool horizontalOverflow;
+ abstract bool get horizontalOverflow;
/** @domName OverflowEvent.orient */
- final int orient;
+ abstract int get orient;
/** @domName OverflowEvent.verticalOverflow */
- final bool verticalOverflow;
+ abstract bool get verticalOverflow;
}
// 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
@@ -29037,7 +29152,7 @@ interface OverflowEvent extends Event {
// WARNING: Do not edit - generated code.
/// @domName PagePopupController
-interface PagePopupController {
+abstract class PagePopupController {
/** @domName PagePopupController.localizeNumberString */
String localizeNumberString(String numberString);
@@ -29052,10 +29167,10 @@ interface PagePopupController {
// WARNING: Do not edit - generated code.
/// @domName PageTransitionEvent
-interface PageTransitionEvent extends Event {
+abstract class PageTransitionEvent implements Event {
/** @domName PageTransitionEvent.persisted */
- final bool persisted;
+ abstract bool get persisted;
}
// 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
@@ -29064,9 +29179,9 @@ interface PageTransitionEvent extends Event {
// WARNING: Do not edit - generated code.
/// @domName HTMLParagraphElement
-interface ParagraphElement extends Element default _Elements {
+abstract class ParagraphElement implements Element {
- ParagraphElement();
+ factory ParagraphElement() => _Elements.createParagraphElement();
/** @domName HTMLParagraphElement.align */
String align;
@@ -29078,9 +29193,9 @@ interface ParagraphElement extends Element default _Elements {
// WARNING: Do not edit - generated code.
/// @domName HTMLParamElement
-interface ParamElement extends Element default _Elements {
+abstract class ParamElement implements Element {
- ParamElement();
+ factory ParamElement() => _Elements.createParamElement();
/** @domName HTMLParamElement.name */
String name;
@@ -29101,9 +29216,9 @@ interface ParamElement extends Element default _Elements {
// WARNING: Do not edit - generated code.
/// @domName PeerConnection00
-interface PeerConnection00 extends EventTarget default _PeerConnection00FactoryProvider {
+abstract class PeerConnection00 implements EventTarget {
- PeerConnection00(String serverConfiguration, IceCallback iceCallback);
+ factory PeerConnection00(String serverConfiguration, IceCallback iceCallback) => _PeerConnection00FactoryProvider.createPeerConnection00(serverConfiguration, iceCallback);
/**
* @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent
@@ -29139,22 +29254,22 @@ interface PeerConnection00 extends EventTarget default _PeerConnection00FactoryP
static const int SDP_PRANSWER = 0x200;
/** @domName PeerConnection00.iceState */
- final int iceState;
+ abstract int get iceState;
/** @domName PeerConnection00.localDescription */
- final SessionDescription localDescription;
+ abstract SessionDescription get localDescription;
/** @domName PeerConnection00.localStreams */
- final MediaStreamList localStreams;
+ abstract MediaStreamList get localStreams;
/** @domName PeerConnection00.readyState */
- final int readyState;
+ abstract int get readyState;
/** @domName PeerConnection00.remoteDescription */
- final SessionDescription remoteDescription;
+ abstract SessionDescription get remoteDescription;
/** @domName PeerConnection00.remoteStreams */
- final MediaStreamList remoteStreams;
+ abstract MediaStreamList get remoteStreams;
/** @domName PeerConnection00.addEventListener */
void $dom_addEventListener(String type, EventListener listener, [bool useCapture]);
@@ -29193,7 +29308,7 @@ interface PeerConnection00 extends EventTarget default _PeerConnection00FactoryP
void startIce([Map iceOptions]);
}
-interface PeerConnection00Events extends Events {
+abstract class PeerConnection00Events implements Events {
EventListenerList get addStream;
@@ -29212,16 +29327,16 @@ interface PeerConnection00Events extends Events {
// WARNING: Do not edit - generated code.
/// @domName Performance
-interface Performance extends EventTarget {
+abstract class Performance implements EventTarget {
/** @domName Performance.memory */
- final MemoryInfo memory;
+ abstract MemoryInfo get memory;
/** @domName Performance.navigation */
- final PerformanceNavigation navigation;
+ abstract PerformanceNavigation get navigation;
/** @domName Performance.timing */
- final PerformanceTiming timing;
+ abstract PerformanceTiming get timing;
/** @domName Performance.webkitNow */
num webkitNow();
@@ -29233,7 +29348,7 @@ interface Performance extends EventTarget {
// WARNING: Do not edit - generated code.
/// @domName PerformanceNavigation
-interface PerformanceNavigation {
+abstract class PerformanceNavigation {
static const int TYPE_BACK_FORWARD = 2;
@@ -29244,10 +29359,10 @@ interface PerformanceNavigation {
static const int TYPE_RESERVED = 255;
/** @domName PerformanceNavigation.redirectCount */
- final int redirectCount;
+ abstract int get redirectCount;
/** @domName PerformanceNavigation.type */
- final int type;
+ abstract int get type;
}
// 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
@@ -29256,70 +29371,70 @@ interface PerformanceNavigation {
// WARNING: Do not edit - generated code.
/// @domName PerformanceTiming
-interface PerformanceTiming {
+abstract class PerformanceTiming {
/** @domName PerformanceTiming.connectEnd */
- final int connectEnd;
+ abstract int get connectEnd;
/** @domName PerformanceTiming.connectStart */
- final int connectStart;
+ abstract int get connectStart;
/** @domName PerformanceTiming.domComplete */
- final int domComplete;
+ abstract int get domComplete;
/** @domName PerformanceTiming.domContentLoadedEventEnd */
- final int domContentLoadedEventEnd;
+ abstract int get domContentLoadedEventEnd;
/** @domName PerformanceTiming.domContentLoadedEventStart */
- final int domContentLoadedEventStart;
+ abstract int get domContentLoadedEventStart;
/** @domName PerformanceTiming.domInteractive */
- final int domInteractive;
+ abstract int get domInteractive;
/** @domName PerformanceTiming.domLoading */
- final int domLoading;
+ abstract int get domLoading;
/** @domName PerformanceTiming.domainLookupEnd */
- final int domainLookupEnd;
+ abstract int get domainLookupEnd;
/** @domName PerformanceTiming.domainLookupStart */
- final int domainLookupStart;
+ abstract int get domainLookupStart;
/** @domName PerformanceTiming.fetchStart */
- final int fetchStart;
+ abstract int get fetchStart;
/** @domName PerformanceTiming.loadEventEnd */
- final int loadEventEnd;
+ abstract int get loadEventEnd;
/** @domName PerformanceTiming.loadEventStart */
- final int loadEventStart;
+ abstract int get loadEventStart;
/** @domName PerformanceTiming.navigationStart */
- final int navigationStart;
+ abstract int get navigationStart;
/** @domName PerformanceTiming.redirectEnd */
- final int redirectEnd;
+ abstract int get redirectEnd;
/** @domName PerformanceTiming.redirectStart */
- final int redirectStart;
+ abstract int get redirectStart;
/** @domName PerformanceTiming.requestStart */
- final int requestStart;
+ abstract int get requestStart;
/** @domName PerformanceTiming.responseEnd */
- final int responseEnd;
+ abstract int get responseEnd;
/** @domName PerformanceTiming.responseStart */
- final int responseStart;
+ abstract int get responseStart;
/** @domName PerformanceTiming.secureConnectionStart */
- final int secureConnectionStart;
+ abstract int get secureConnectionStart;
/** @domName PerformanceTiming.unloadEventEnd */
- final int unloadEventEnd;
+ abstract int get unloadEventEnd;
/** @domName PerformanceTiming.unloadEventStart */
- final int unloadEventStart;
+ abstract int get unloadEventStart;
}
// 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
@@ -29328,9 +29443,9 @@ interface PerformanceTiming {
// WARNING: Do not edit - generated code.
/// @domName WebKitPoint
-interface Point default _PointFactoryProvider {
+abstract class Point {
- Point(num x, num y);
+ factory Point(num x, num y) => _PointFactoryProvider.createPoint(x, y);
/** @domName WebKitPoint.x */
num x;
@@ -29345,10 +29460,10 @@ interface Point default _PointFactoryProvider {
// WARNING: Do not edit - generated code.
/// @domName PopStateEvent
-interface PopStateEvent extends Event {
+abstract class PopStateEvent implements Event {
/** @domName PopStateEvent.state */
- final Object state;
+ abstract Object get state;
}
// 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
@@ -29364,7 +29479,7 @@ typedef bool PositionCallback(Geoposition position);
// WARNING: Do not edit - generated code.
/// @domName PositionError
-interface PositionError {
+abstract class PositionError {
static const int PERMISSION_DENIED = 1;
@@ -29373,10 +29488,10 @@ interface PositionError {
static const int TIMEOUT = 3;
/** @domName PositionError.code */
- final int code;
+ abstract int get code;
/** @domName PositionError.message */
- final String message;
+ abstract String get message;
}
// 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
@@ -29392,9 +29507,9 @@ typedef bool PositionErrorCallback(PositionError error);
// WARNING: Do not edit - generated code.
/// @domName HTMLPreElement
-interface PreElement extends Element default _Elements {
+abstract class PreElement implements Element {
- PreElement();
+ factory PreElement() => _Elements.createPreElement();
/** @domName HTMLPreElement.width */
int width;
@@ -29409,16 +29524,16 @@ interface PreElement extends Element default _Elements {
// WARNING: Do not edit - generated code.
/// @domName ProcessingInstruction
-interface ProcessingInstruction extends Node {
+abstract class ProcessingInstruction implements Node {
/** @domName ProcessingInstruction.data */
String data;
/** @domName ProcessingInstruction.sheet */
- final StyleSheet sheet;
+ abstract StyleSheet get sheet;
/** @domName ProcessingInstruction.target */
- final String target;
+ abstract String get target;
}
// 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
@@ -29427,18 +29542,18 @@ interface ProcessingInstruction extends Node {
// WARNING: Do not edit - generated code.
/// @domName HTMLProgressElement
-interface ProgressElement extends Element default _Elements {
+abstract class ProgressElement implements Element {
- ProgressElement();
+ factory ProgressElement() => _Elements.createProgressElement();
/** @domName HTMLProgressElement.labels */
- final NodeList labels;
+ abstract NodeList get labels;
/** @domName HTMLProgressElement.max */
num max;
/** @domName HTMLProgressElement.position */
- final num position;
+ abstract num get position;
/** @domName HTMLProgressElement.value */
num value;
@@ -29450,16 +29565,16 @@ interface ProgressElement extends Element default _Elements {
// WARNING: Do not edit - generated code.
/// @domName ProgressEvent
-interface ProgressEvent extends Event {
+abstract class ProgressEvent implements Event {
/** @domName ProgressEvent.lengthComputable */
- final bool lengthComputable;
+ abstract bool get lengthComputable;
/** @domName ProgressEvent.loaded */
- final int loaded;
+ abstract int get loaded;
/** @domName ProgressEvent.total */
- final int total;
+ abstract int get total;
}
// 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
@@ -29468,7 +29583,7 @@ interface ProgressEvent extends Event {
// WARNING: Do not edit - generated code.
/// @domName HTMLQuoteElement
-interface QuoteElement extends Element {
+abstract class QuoteElement implements Element {
/** @domName HTMLQuoteElement.cite */
String cite;
@@ -29480,16 +29595,16 @@ interface QuoteElement extends Element {
// WARNING: Do not edit - generated code.
/// @domName RGBColor
-interface RGBColor {
+abstract class RGBColor {
/** @domName RGBColor.blue */
- final CSSPrimitiveValue blue;
+ abstract CSSPrimitiveValue get blue;
/** @domName RGBColor.green */
- final CSSPrimitiveValue green;
+ abstract CSSPrimitiveValue get green;
/** @domName RGBColor.red */
- final CSSPrimitiveValue red;
+ abstract CSSPrimitiveValue get red;
}
// 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
@@ -29505,18 +29620,18 @@ typedef bool RTCErrorCallback(String errorInformation);
// WARNING: Do not edit - generated code.
/// @domName RTCIceCandidate
-interface RTCIceCandidate default _RTCIceCandidateFactoryProvider {
+abstract class RTCIceCandidate {
- RTCIceCandidate(Map dictionary);
+ factory RTCIceCandidate(Map dictionary) => _RTCIceCandidateFactoryProvider.createRTCIceCandidate(dictionary);
/** @domName RTCIceCandidate.candidate */
- final String candidate;
+ abstract String get candidate;
/** @domName RTCIceCandidate.sdpMLineIndex */
- final int sdpMLineIndex;
+ abstract int get sdpMLineIndex;
/** @domName RTCIceCandidate.sdpMid */
- final String sdpMid;
+ abstract String get sdpMid;
}
// 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
@@ -29525,10 +29640,10 @@ interface RTCIceCandidate default _RTCIceCandidateFactoryProvider {
// WARNING: Do not edit - generated code.
/// @domName RTCIceCandidateEvent
-interface RTCIceCandidateEvent extends Event {
+abstract class RTCIceCandidateEvent implements Event {
/** @domName RTCIceCandidateEvent.candidate */
- final RTCIceCandidate candidate;
+ abstract RTCIceCandidate get candidate;
}
// 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
@@ -29537,9 +29652,14 @@ interface RTCIceCandidateEvent extends Event {
// WARNING: Do not edit - generated code.
/// @domName RTCPeerConnection
-interface RTCPeerConnection extends EventTarget default _RTCPeerConnectionFactoryProvider {
+abstract class RTCPeerConnection implements EventTarget {
- RTCPeerConnection(Map rtcIceServers, [Map mediaConstraints]);
+ factory RTCPeerConnection(Map rtcIceServers, [Map mediaConstraints]) {
+ if (!?mediaConstraints) {
+ return _RTCPeerConnectionFactoryProvider.createRTCPeerConnection(rtcIceServers);
+ }
+ return _RTCPeerConnectionFactoryProvider.createRTCPeerConnection(rtcIceServers, mediaConstraints);
+ }
/**
* @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent
@@ -29547,22 +29667,22 @@ interface RTCPeerConnection extends EventTarget default _RTCPeerConnectionFactor
RTCPeerConnectionEvents get on;
/** @domName RTCPeerConnection.iceState */
- final String iceState;
+ abstract String get iceState;
/** @domName RTCPeerConnection.localDescription */
- final RTCSessionDescription localDescription;
+ abstract RTCSessionDescription get localDescription;
/** @domName RTCPeerConnection.localStreams */
- final MediaStreamList localStreams;
+ abstract MediaStreamList get localStreams;
/** @domName RTCPeerConnection.readyState */
- final String readyState;
+ abstract String get readyState;
/** @domName RTCPeerConnection.remoteDescription */
- final RTCSessionDescription remoteDescription;
+ abstract RTCSessionDescription get remoteDescription;
/** @domName RTCPeerConnection.remoteStreams */
- final MediaStreamList remoteStreams;
+ abstract MediaStreamList get remoteStreams;
/** @domName RTCPeerConnection.addEventListener */
void $dom_addEventListener(String type, EventListener listener, [bool useCapture]);
@@ -29601,7 +29721,7 @@ interface RTCPeerConnection extends EventTarget default _RTCPeerConnectionFactor
void updateIce(Map configuration, Map mediaConstraints);
}
-interface RTCPeerConnectionEvents extends Events {
+abstract class RTCPeerConnectionEvents implements Events {
EventListenerList get addStream;
@@ -29622,9 +29742,9 @@ interface RTCPeerConnectionEvents extends Events {
// WARNING: Do not edit - generated code.
/// @domName RTCSessionDescription
-interface RTCSessionDescription default _RTCSessionDescriptionFactoryProvider {
+abstract class RTCSessionDescription {
- RTCSessionDescription(Map dictionary);
+ factory RTCSessionDescription(Map dictionary) => _RTCSessionDescriptionFactoryProvider.createRTCSessionDescription(dictionary);
/** @domName RTCSessionDescription.sdp */
String sdp;
@@ -29646,7 +29766,7 @@ typedef bool RTCSessionDescriptionCallback(RTCSessionDescription sdp);
// WARNING: Do not edit - generated code.
/// @domName RadioNodeList
-interface RadioNodeList extends NodeList {
+abstract class RadioNodeList implements NodeList {
/** @domName RadioNodeList.value */
String value;
@@ -29658,7 +29778,7 @@ interface RadioNodeList extends NodeList {
// WARNING: Do not edit - generated code.
/// @domName Range
-interface Range {
+abstract class Range {
static const int END_TO_END = 2;
@@ -29677,22 +29797,22 @@ interface Range {
static const int START_TO_START = 0;
/** @domName Range.collapsed */
- final bool collapsed;
+ abstract bool get collapsed;
/** @domName Range.commonAncestorContainer */
- final Node commonAncestorContainer;
+ abstract Node get commonAncestorContainer;
/** @domName Range.endContainer */
- final Node endContainer;
+ abstract Node get endContainer;
/** @domName Range.endOffset */
- final int endOffset;
+ abstract int get endOffset;
/** @domName Range.startContainer */
- final Node startContainer;
+ abstract Node get startContainer;
/** @domName Range.startOffset */
- final int startOffset;
+ abstract int get startOffset;
/** @domName Range.cloneContents */
DocumentFragment cloneContents();
@@ -29776,20 +29896,20 @@ interface Range {
// WARNING: Do not edit - generated code.
/// @domName RangeException
-interface RangeException {
+abstract class RangeException {
static const int BAD_BOUNDARYPOINTS_ERR = 1;
static const int INVALID_NODE_TYPE_ERR = 2;
/** @domName RangeException.code */
- final int code;
+ abstract int get code;
/** @domName RangeException.message */
- final String message;
+ abstract String get message;
/** @domName RangeException.name */
- final String name;
+ abstract String get name;
/** @domName RangeException.toString */
String toString();
@@ -29801,13 +29921,13 @@ interface RangeException {
// WARNING: Do not edit - generated code.
/// @domName RealtimeAnalyserNode
-interface RealtimeAnalyserNode extends AudioNode {
+abstract class RealtimeAnalyserNode implements AudioNode {
/** @domName RealtimeAnalyserNode.fftSize */
int fftSize;
/** @domName RealtimeAnalyserNode.frequencyBinCount */
- final int frequencyBinCount;
+ abstract int get frequencyBinCount;
/** @domName RealtimeAnalyserNode.maxDecibels */
num maxDecibels;
@@ -29834,19 +29954,19 @@ interface RealtimeAnalyserNode extends AudioNode {
// WARNING: Do not edit - generated code.
/// @domName Rect
-interface Rect {
+abstract class Rect {
/** @domName Rect.bottom */
- final CSSPrimitiveValue bottom;
+ abstract CSSPrimitiveValue get bottom;
/** @domName Rect.left */
- final CSSPrimitiveValue left;
+ abstract CSSPrimitiveValue get left;
/** @domName Rect.right */
- final CSSPrimitiveValue right;
+ abstract CSSPrimitiveValue get right;
/** @domName Rect.top */
- final CSSPrimitiveValue top;
+ abstract CSSPrimitiveValue get top;
}
// 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
@@ -29862,7 +29982,7 @@ typedef bool RequestAnimationFrameCallback(int time);
// WARNING: Do not edit - generated code.
/// @domName SQLError
-interface SQLError {
+abstract class SQLError {
static const int CONSTRAINT_ERR = 6;
@@ -29881,10 +30001,10 @@ interface SQLError {
static const int VERSION_ERR = 2;
/** @domName SQLError.code */
- final int code;
+ abstract int get code;
/** @domName SQLError.message */
- final String message;
+ abstract String get message;
}
// 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
@@ -29893,7 +30013,7 @@ interface SQLError {
// WARNING: Do not edit - generated code.
/// @domName SQLException
-interface SQLException {
+abstract class SQLException {
static const int CONSTRAINT_ERR = 6;
@@ -29912,10 +30032,10 @@ interface SQLException {
static const int VERSION_ERR = 2;
/** @domName SQLException.code */
- final int code;
+ abstract int get code;
/** @domName SQLException.message */
- final String message;
+ abstract String get message;
}
// 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
@@ -29924,16 +30044,16 @@ interface SQLException {
// WARNING: Do not edit - generated code.
/// @domName SQLResultSet
-interface SQLResultSet {
+abstract class SQLResultSet {
/** @domName SQLResultSet.insertId */
- final int insertId;
+ abstract int get insertId;
/** @domName SQLResultSet.rows */
- final SQLResultSetRowList rows;
+ abstract SQLResultSetRowList get rows;
/** @domName SQLResultSet.rowsAffected */
- final int rowsAffected;
+ abstract int get rowsAffected;
}
// 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
@@ -29942,10 +30062,10 @@ interface SQLResultSet {
// WARNING: Do not edit - generated code.
/// @domName SQLResultSetRowList
-interface SQLResultSetRowList {
+abstract class SQLResultSetRowList {
/** @domName SQLResultSetRowList.length */
- final int length;
+ abstract int get length;
/** @domName SQLResultSetRowList.item */
Map item(int index);
@@ -29971,7 +30091,7 @@ typedef bool SQLStatementErrorCallback(SQLTransaction transaction, SQLError erro
// WARNING: Do not edit - generated code.
/// @domName SQLTransaction
-interface SQLTransaction {
+abstract class SQLTransaction {
/** @domName SQLTransaction.executeSql */
void executeSql(String sqlStatement, List arguments, [SQLStatementCallback callback, SQLStatementErrorCallback errorCallback]);
@@ -29997,7 +30117,7 @@ typedef bool SQLTransactionErrorCallback(SQLError error);
// WARNING: Do not edit - generated code.
/// @domName SQLTransactionSync
-interface SQLTransactionSync {
+abstract class SQLTransactionSync {
/** @domName SQLTransactionSync.executeSql */
SQLResultSet executeSql(String sqlStatement, List arguments);
@@ -30016,10 +30136,10 @@ typedef bool SQLTransactionSyncCallback(SQLTransactionSync transaction);
// WARNING: Do not edit - generated code.
/// @domName SVGAElement
-interface SVGAElement extends SVGElement, SVGURIReference, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, SVGTransformable {
+abstract class SVGAElement implements SVGElement, SVGURIReference, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, SVGTransformable {
/** @domName SVGAElement.target */
- final SVGAnimatedString target;
+ abstract SVGAnimatedString get target;
}
// 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
@@ -30028,7 +30148,7 @@ interface SVGAElement extends SVGElement, SVGURIReference, SVGTests, SVGLangSpac
// WARNING: Do not edit - generated code.
/// @domName SVGAltGlyphDefElement
-interface SVGAltGlyphDefElement extends SVGElement {
+abstract class SVGAltGlyphDefElement implements SVGElement {
}
// 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
@@ -30037,7 +30157,7 @@ interface SVGAltGlyphDefElement extends SVGElement {
// WARNING: Do not edit - generated code.
/// @domName SVGAltGlyphElement
-interface SVGAltGlyphElement extends SVGTextPositioningElement, SVGURIReference {
+abstract class SVGAltGlyphElement implements SVGTextPositioningElement, SVGURIReference {
/** @domName SVGAltGlyphElement.format */
String format;
@@ -30052,7 +30172,7 @@ interface SVGAltGlyphElement extends SVGTextPositioningElement, SVGURIReference
// WARNING: Do not edit - generated code.
/// @domName SVGAltGlyphItemElement
-interface SVGAltGlyphItemElement extends SVGElement {
+abstract class SVGAltGlyphItemElement implements SVGElement {
}
// 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
@@ -30061,7 +30181,7 @@ interface SVGAltGlyphItemElement extends SVGElement {
// WARNING: Do not edit - generated code.
/// @domName SVGAngle
-interface SVGAngle {
+abstract class SVGAngle {
static const int SVG_ANGLETYPE_DEG = 2;
@@ -30074,7 +30194,7 @@ interface SVGAngle {
static const int SVG_ANGLETYPE_UNSPECIFIED = 1;
/** @domName SVGAngle.unitType */
- final int unitType;
+ abstract int get unitType;
/** @domName SVGAngle.value */
num value;
@@ -30098,7 +30218,7 @@ interface SVGAngle {
// WARNING: Do not edit - generated code.
/// @domName SVGAnimateColorElement
-interface SVGAnimateColorElement extends SVGAnimationElement {
+abstract class SVGAnimateColorElement implements SVGAnimationElement {
}
// 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
@@ -30107,7 +30227,7 @@ interface SVGAnimateColorElement extends SVGAnimationElement {
// WARNING: Do not edit - generated code.
/// @domName SVGAnimateElement
-interface SVGAnimateElement extends SVGAnimationElement {
+abstract class SVGAnimateElement implements SVGAnimationElement {
}
// 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
@@ -30116,7 +30236,7 @@ interface SVGAnimateElement extends SVGAnimationElement {
// WARNING: Do not edit - generated code.
/// @domName SVGAnimateMotionElement
-interface SVGAnimateMotionElement extends SVGAnimationElement {
+abstract class SVGAnimateMotionElement implements SVGAnimationElement {
}
// 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
@@ -30125,7 +30245,7 @@ interface SVGAnimateMotionElement extends SVGAnimationElement {
// WARNING: Do not edit - generated code.
/// @domName SVGAnimateTransformElement
-interface SVGAnimateTransformElement extends SVGAnimationElement {
+abstract class SVGAnimateTransformElement implements SVGAnimationElement {
}
// 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
@@ -30134,13 +30254,13 @@ interface SVGAnimateTransformElement extends SVGAnimationElement {
// WARNING: Do not edit - generated code.
/// @domName SVGAnimatedAngle
-interface SVGAnimatedAngle {
+abstract class SVGAnimatedAngle {
/** @domName SVGAnimatedAngle.animVal */
- final SVGAngle animVal;
+ abstract SVGAngle get animVal;
/** @domName SVGAnimatedAngle.baseVal */
- final SVGAngle baseVal;
+ abstract SVGAngle get baseVal;
}
// 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
@@ -30149,10 +30269,10 @@ interface SVGAnimatedAngle {
// WARNING: Do not edit - generated code.
/// @domName SVGAnimatedBoolean
-interface SVGAnimatedBoolean {
+abstract class SVGAnimatedBoolean {
/** @domName SVGAnimatedBoolean.animVal */
- final bool animVal;
+ abstract bool get animVal;
/** @domName SVGAnimatedBoolean.baseVal */
bool baseVal;
@@ -30164,10 +30284,10 @@ interface SVGAnimatedBoolean {
// WARNING: Do not edit - generated code.
/// @domName SVGAnimatedEnumeration
-interface SVGAnimatedEnumeration {
+abstract class SVGAnimatedEnumeration {
/** @domName SVGAnimatedEnumeration.animVal */
- final int animVal;
+ abstract int get animVal;
/** @domName SVGAnimatedEnumeration.baseVal */
int baseVal;
@@ -30179,10 +30299,10 @@ interface SVGAnimatedEnumeration {
// WARNING: Do not edit - generated code.
/// @domName SVGAnimatedInteger
-interface SVGAnimatedInteger {
+abstract class SVGAnimatedInteger {
/** @domName SVGAnimatedInteger.animVal */
- final int animVal;
+ abstract int get animVal;
/** @domName SVGAnimatedInteger.baseVal */
int baseVal;
@@ -30194,13 +30314,13 @@ interface SVGAnimatedInteger {
// WARNING: Do not edit - generated code.
/// @domName SVGAnimatedLength
-interface SVGAnimatedLength {
+abstract class SVGAnimatedLength {
/** @domName SVGAnimatedLength.animVal */
- final SVGLength animVal;
+ abstract SVGLength get animVal;
/** @domName SVGAnimatedLength.baseVal */
- final SVGLength baseVal;
+ abstract SVGLength get baseVal;
}
// 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
@@ -30209,13 +30329,13 @@ interface SVGAnimatedLength {
// WARNING: Do not edit - generated code.
/// @domName SVGAnimatedLengthList
-interface SVGAnimatedLengthList {
+abstract class SVGAnimatedLengthList {
/** @domName SVGAnimatedLengthList.animVal */
- final SVGLengthList animVal;
+ abstract SVGLengthList get animVal;
/** @domName SVGAnimatedLengthList.baseVal */
- final SVGLengthList baseVal;
+ abstract SVGLengthList get baseVal;
}
// 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
@@ -30224,10 +30344,10 @@ interface SVGAnimatedLengthList {
// WARNING: Do not edit - generated code.
/// @domName SVGAnimatedNumber
-interface SVGAnimatedNumber {
+abstract class SVGAnimatedNumber {
/** @domName SVGAnimatedNumber.animVal */
- final num animVal;
+ abstract num get animVal;
/** @domName SVGAnimatedNumber.baseVal */
num baseVal;
@@ -30239,13 +30359,13 @@ interface SVGAnimatedNumber {
// WARNING: Do not edit - generated code.
/// @domName SVGAnimatedNumberList
-interface SVGAnimatedNumberList {
+abstract class SVGAnimatedNumberList {
/** @domName SVGAnimatedNumberList.animVal */
- final SVGNumberList animVal;
+ abstract SVGNumberList get animVal;
/** @domName SVGAnimatedNumberList.baseVal */
- final SVGNumberList baseVal;
+ abstract SVGNumberList get baseVal;
}
// 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
@@ -30254,13 +30374,13 @@ interface SVGAnimatedNumberList {
// WARNING: Do not edit - generated code.
/// @domName SVGAnimatedPreserveAspectRatio
-interface SVGAnimatedPreserveAspectRatio {
+abstract class SVGAnimatedPreserveAspectRatio {
/** @domName SVGAnimatedPreserveAspectRatio.animVal */
- final SVGPreserveAspectRatio animVal;
+ abstract SVGPreserveAspectRatio get animVal;
/** @domName SVGAnimatedPreserveAspectRatio.baseVal */
- final SVGPreserveAspectRatio baseVal;
+ abstract SVGPreserveAspectRatio get baseVal;
}
// 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
@@ -30269,13 +30389,13 @@ interface SVGAnimatedPreserveAspectRatio {
// WARNING: Do not edit - generated code.
/// @domName SVGAnimatedRect
-interface SVGAnimatedRect {
+abstract class SVGAnimatedRect {
/** @domName SVGAnimatedRect.animVal */
- final SVGRect animVal;
+ abstract SVGRect get animVal;
/** @domName SVGAnimatedRect.baseVal */
- final SVGRect baseVal;
+ abstract SVGRect get baseVal;
}
// 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
@@ -30284,10 +30404,10 @@ interface SVGAnimatedRect {
// WARNING: Do not edit - generated code.
/// @domName SVGAnimatedString
-interface SVGAnimatedString {
+abstract class SVGAnimatedString {
/** @domName SVGAnimatedString.animVal */
- final String animVal;
+ abstract String get animVal;
/** @domName SVGAnimatedString.baseVal */
String baseVal;
@@ -30299,13 +30419,13 @@ interface SVGAnimatedString {
// WARNING: Do not edit - generated code.
/// @domName SVGAnimatedTransformList
-interface SVGAnimatedTransformList {
+abstract class SVGAnimatedTransformList {
/** @domName SVGAnimatedTransformList.animVal */
- final SVGTransformList animVal;
+ abstract SVGTransformList get animVal;
/** @domName SVGAnimatedTransformList.baseVal */
- final SVGTransformList baseVal;
+ abstract SVGTransformList get baseVal;
}
// 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
@@ -30314,10 +30434,10 @@ interface SVGAnimatedTransformList {
// WARNING: Do not edit - generated code.
/// @domName SVGAnimationElement
-interface SVGAnimationElement extends SVGElement, SVGTests, SVGExternalResourcesRequired, ElementTimeControl {
+abstract class SVGAnimationElement implements SVGElement, SVGTests, SVGExternalResourcesRequired, ElementTimeControl {
/** @domName SVGAnimationElement.targetElement */
- final SVGElement targetElement;
+ abstract SVGElement get targetElement;
/** @domName SVGAnimationElement.getCurrentTime */
num getCurrentTime();
@@ -30335,16 +30455,16 @@ interface SVGAnimationElement extends SVGElement, SVGTests, SVGExternalResources
// WARNING: Do not edit - generated code.
/// @domName SVGCircleElement
-interface SVGCircleElement extends SVGElement, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, SVGTransformable {
+abstract class SVGCircleElement implements SVGElement, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, SVGTransformable {
/** @domName SVGCircleElement.cx */
- final SVGAnimatedLength cx;
+ abstract SVGAnimatedLength get cx;
/** @domName SVGCircleElement.cy */
- final SVGAnimatedLength cy;
+ abstract SVGAnimatedLength get cy;
/** @domName SVGCircleElement.r */
- final SVGAnimatedLength r;
+ abstract SVGAnimatedLength get r;
}
// 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
@@ -30353,10 +30473,10 @@ interface SVGCircleElement extends SVGElement, SVGTests, SVGLangSpace, SVGExtern
// WARNING: Do not edit - generated code.
/// @domName SVGClipPathElement
-interface SVGClipPathElement extends SVGElement, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, SVGTransformable {
+abstract class SVGClipPathElement implements SVGElement, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, SVGTransformable {
/** @domName SVGClipPathElement.clipPathUnits */
- final SVGAnimatedEnumeration clipPathUnits;
+ abstract SVGAnimatedEnumeration get clipPathUnits;
}
// 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
@@ -30365,7 +30485,7 @@ interface SVGClipPathElement extends SVGElement, SVGTests, SVGLangSpace, SVGExte
// WARNING: Do not edit - generated code.
/// @domName SVGColor
-interface SVGColor extends CSSValue {
+abstract class SVGColor implements CSSValue {
static const int SVG_COLORTYPE_CURRENTCOLOR = 3;
@@ -30376,10 +30496,10 @@ interface SVGColor extends CSSValue {
static const int SVG_COLORTYPE_UNKNOWN = 0;
/** @domName SVGColor.colorType */
- final int colorType;
+ abstract int get colorType;
/** @domName SVGColor.rgbColor */
- final RGBColor rgbColor;
+ abstract RGBColor get rgbColor;
/** @domName SVGColor.setColor */
void setColor(int colorType, String rgbColor, String iccColor);
@@ -30397,7 +30517,7 @@ interface SVGColor extends CSSValue {
// WARNING: Do not edit - generated code.
/// @domName SVGComponentTransferFunctionElement
-interface SVGComponentTransferFunctionElement extends SVGElement {
+abstract class SVGComponentTransferFunctionElement implements SVGElement {
static const int SVG_FECOMPONENTTRANSFER_TYPE_DISCRETE = 3;
@@ -30412,25 +30532,25 @@ interface SVGComponentTransferFunctionElement extends SVGElement {
static const int SVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN = 0;
/** @domName SVGComponentTransferFunctionElement.amplitude */
- final SVGAnimatedNumber amplitude;
+ abstract SVGAnimatedNumber get amplitude;
/** @domName SVGComponentTransferFunctionElement.exponent */
- final SVGAnimatedNumber exponent;
+ abstract SVGAnimatedNumber get exponent;
/** @domName SVGComponentTransferFunctionElement.intercept */
- final SVGAnimatedNumber intercept;
+ abstract SVGAnimatedNumber get intercept;
/** @domName SVGComponentTransferFunctionElement.offset */
- final SVGAnimatedNumber offset;
+ abstract SVGAnimatedNumber get offset;
/** @domName SVGComponentTransferFunctionElement.slope */
- final SVGAnimatedNumber slope;
+ abstract SVGAnimatedNumber get slope;
/** @domName SVGComponentTransferFunctionElement.tableValues */
- final SVGAnimatedNumberList tableValues;
+ abstract SVGAnimatedNumberList get tableValues;
/** @domName SVGComponentTransferFunctionElement.type */
- final SVGAnimatedEnumeration type;
+ abstract SVGAnimatedEnumeration get type;
}
// 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
@@ -30439,13 +30559,13 @@ interface SVGComponentTransferFunctionElement extends SVGElement {
// WARNING: Do not edit - generated code.
/// @domName SVGCursorElement
-interface SVGCursorElement extends SVGElement, SVGURIReference, SVGTests, SVGExternalResourcesRequired {
+abstract class SVGCursorElement implements SVGElement, SVGURIReference, SVGTests, SVGExternalResourcesRequired {
/** @domName SVGCursorElement.x */
- final SVGAnimatedLength x;
+ abstract SVGAnimatedLength get x;
/** @domName SVGCursorElement.y */
- final SVGAnimatedLength y;
+ abstract SVGAnimatedLength get y;
}
// 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
@@ -30454,7 +30574,7 @@ interface SVGCursorElement extends SVGElement, SVGURIReference, SVGTests, SVGExt
// WARNING: Do not edit - generated code.
/// @domName SVGDefsElement
-interface SVGDefsElement extends SVGElement, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, SVGTransformable {
+abstract class SVGDefsElement implements SVGElement, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, SVGTransformable {
}
// 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
@@ -30463,7 +30583,7 @@ interface SVGDefsElement extends SVGElement, SVGTests, SVGLangSpace, SVGExternal
// WARNING: Do not edit - generated code.
/// @domName SVGDescElement
-interface SVGDescElement extends SVGElement, SVGLangSpace, SVGStylable {
+abstract class SVGDescElement implements SVGElement, SVGLangSpace, SVGStylable {
}
// 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
@@ -30472,10 +30592,10 @@ interface SVGDescElement extends SVGElement, SVGLangSpace, SVGStylable {
// WARNING: Do not edit - generated code.
/// @domName SVGDocument
-interface SVGDocument extends Document {
+abstract class SVGDocument implements Document {
/** @domName SVGDocument.rootElement */
- final SVGSVGElement rootElement;
+ abstract SVGSVGElement get rootElement;
/** @domName SVGDocument.createEvent */
Event $dom_createEvent(String eventType);
@@ -30485,10 +30605,12 @@ interface SVGDocument extends Document {
// BSD-style license that can be found in the LICENSE file.
/// @domName SVGElement
-interface SVGElement extends Element default _SVGElementFactoryProvider {
+abstract class SVGElement implements Element {
- SVGElement.tag(String tag);
- SVGElement.svg(String svg);
+ factory SVGElement.tag(String tag) =>
+ _SVGElementFactoryProvider.createSVGElement_tag(tag);
+ factory SVGElement.svg(String svg) =>
+ _SVGElementFactoryProvider.createSVGElement_svg(svg);
SVGElement clone(bool deep);
@@ -30497,10 +30619,10 @@ interface SVGElement extends Element default _SVGElementFactoryProvider {
String id;
/** @domName SVGElement.ownerSVGElement */
- final SVGSVGElement ownerSVGElement;
+ abstract SVGSVGElement get ownerSVGElement;
/** @domName SVGElement.viewportElement */
- final SVGElement viewportElement;
+ abstract SVGElement get viewportElement;
/** @domName SVGElement.xmlbase */
String xmlbase;
@@ -30513,7 +30635,7 @@ interface SVGElement extends Element default _SVGElementFactoryProvider {
// WARNING: Do not edit - generated code.
/// @domName SVGElementInstance
-interface SVGElementInstance extends EventTarget {
+abstract class SVGElementInstance implements EventTarget {
/**
* @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent
@@ -30521,31 +30643,31 @@ interface SVGElementInstance extends EventTarget {
SVGElementInstanceEvents get on;
/** @domName SVGElementInstance.childNodes */
- final SVGElementInstanceList childNodes;
+ abstract SVGElementInstanceList get childNodes;
/** @domName SVGElementInstance.correspondingElement */
- final SVGElement correspondingElement;
+ abstract SVGElement get correspondingElement;
/** @domName SVGElementInstance.correspondingUseElement */
- final SVGUseElement correspondingUseElement;
+ abstract SVGUseElement get correspondingUseElement;
/** @domName SVGElementInstance.firstChild */
- final SVGElementInstance firstChild;
+ abstract SVGElementInstance get firstChild;
/** @domName SVGElementInstance.lastChild */
- final SVGElementInstance lastChild;
+ abstract SVGElementInstance get lastChild;
/** @domName SVGElementInstance.nextSibling */
- final SVGElementInstance nextSibling;
+ abstract SVGElementInstance get nextSibling;
/** @domName SVGElementInstance.parentNode */
- final SVGElementInstance parentNode;
+ abstract SVGElementInstance get parentNode;
/** @domName SVGElementInstance.previousSibling */
- final SVGElementInstance previousSibling;
+ abstract SVGElementInstance get previousSibling;
}
-interface SVGElementInstanceEvents extends Events {
+abstract class SVGElementInstanceEvents implements Events {
EventListenerList get abort;
@@ -30634,10 +30756,10 @@ interface SVGElementInstanceEvents extends Events {
// WARNING: Do not edit - generated code.
/// @domName SVGElementInstanceList
-interface SVGElementInstanceList {
+abstract class SVGElementInstanceList {
/** @domName SVGElementInstanceList.length */
- final int length;
+ abstract int get length;
/** @domName SVGElementInstanceList.item */
SVGElementInstance item(int index);
@@ -30649,19 +30771,19 @@ interface SVGElementInstanceList {
// WARNING: Do not edit - generated code.
/// @domName SVGEllipseElement
-interface SVGEllipseElement extends SVGElement, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, SVGTransformable {
+abstract class SVGEllipseElement implements SVGElement, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, SVGTransformable {
/** @domName SVGEllipseElement.cx */
- final SVGAnimatedLength cx;
+ abstract SVGAnimatedLength get cx;
/** @domName SVGEllipseElement.cy */
- final SVGAnimatedLength cy;
+ abstract SVGAnimatedLength get cy;
/** @domName SVGEllipseElement.rx */
- final SVGAnimatedLength rx;
+ abstract SVGAnimatedLength get rx;
/** @domName SVGEllipseElement.ry */
- final SVGAnimatedLength ry;
+ abstract SVGAnimatedLength get ry;
}
// 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
@@ -30670,7 +30792,7 @@ interface SVGEllipseElement extends SVGElement, SVGTests, SVGLangSpace, SVGExter
// WARNING: Do not edit - generated code.
/// @domName SVGException
-interface SVGException {
+abstract class SVGException {
static const int SVG_INVALID_VALUE_ERR = 1;
@@ -30679,13 +30801,13 @@ interface SVGException {
static const int SVG_WRONG_TYPE_ERR = 0;
/** @domName SVGException.code */
- final int code;
+ abstract int get code;
/** @domName SVGException.message */
- final String message;
+ abstract String get message;
/** @domName SVGException.name */
- final String name;
+ abstract String get name;
/** @domName SVGException.toString */
String toString();
@@ -30697,10 +30819,10 @@ interface SVGException {
// WARNING: Do not edit - generated code.
/// @domName SVGExternalResourcesRequired
-interface SVGExternalResourcesRequired {
+abstract class SVGExternalResourcesRequired {
/** @domName SVGExternalResourcesRequired.externalResourcesRequired */
- final SVGAnimatedBoolean externalResourcesRequired;
+ abstract SVGAnimatedBoolean get externalResourcesRequired;
}
// 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
@@ -30709,7 +30831,7 @@ interface SVGExternalResourcesRequired {
// WARNING: Do not edit - generated code.
/// @domName SVGFEBlendElement
-interface SVGFEBlendElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {
+abstract class SVGFEBlendElement implements SVGElement, SVGFilterPrimitiveStandardAttributes {
static const int SVG_FEBLEND_MODE_DARKEN = 4;
@@ -30724,13 +30846,13 @@ interface SVGFEBlendElement extends SVGElement, SVGFilterPrimitiveStandardAttrib
static const int SVG_FEBLEND_MODE_UNKNOWN = 0;
/** @domName SVGFEBlendElement.in1 */
- final SVGAnimatedString in1;
+ abstract SVGAnimatedString get in1;
/** @domName SVGFEBlendElement.in2 */
- final SVGAnimatedString in2;
+ abstract SVGAnimatedString get in2;
/** @domName SVGFEBlendElement.mode */
- final SVGAnimatedEnumeration mode;
+ abstract SVGAnimatedEnumeration get mode;
}
// 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
@@ -30739,7 +30861,7 @@ interface SVGFEBlendElement extends SVGElement, SVGFilterPrimitiveStandardAttrib
// WARNING: Do not edit - generated code.
/// @domName SVGFEColorMatrixElement
-interface SVGFEColorMatrixElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {
+abstract class SVGFEColorMatrixElement implements SVGElement, SVGFilterPrimitiveStandardAttributes {
static const int SVG_FECOLORMATRIX_TYPE_HUEROTATE = 3;
@@ -30752,13 +30874,13 @@ interface SVGFEColorMatrixElement extends SVGElement, SVGFilterPrimitiveStandard
static const int SVG_FECOLORMATRIX_TYPE_UNKNOWN = 0;
/** @domName SVGFEColorMatrixElement.in1 */
- final SVGAnimatedString in1;
+ abstract SVGAnimatedString get in1;
/** @domName SVGFEColorMatrixElement.type */
- final SVGAnimatedEnumeration type;
+ abstract SVGAnimatedEnumeration get type;
/** @domName SVGFEColorMatrixElement.values */
- final SVGAnimatedNumberList values;
+ abstract SVGAnimatedNumberList get values;
}
// 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
@@ -30767,10 +30889,10 @@ interface SVGFEColorMatrixElement extends SVGElement, SVGFilterPrimitiveStandard
// WARNING: Do not edit - generated code.
/// @domName SVGFEComponentTransferElement
-interface SVGFEComponentTransferElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {
+abstract class SVGFEComponentTransferElement implements SVGElement, SVGFilterPrimitiveStandardAttributes {
/** @domName SVGFEComponentTransferElement.in1 */
- final SVGAnimatedString in1;
+ abstract SVGAnimatedString get in1;
}
// 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
@@ -30779,7 +30901,7 @@ interface SVGFEComponentTransferElement extends SVGElement, SVGFilterPrimitiveSt
// WARNING: Do not edit - generated code.
/// @domName SVGFECompositeElement
-interface SVGFECompositeElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {
+abstract class SVGFECompositeElement implements SVGElement, SVGFilterPrimitiveStandardAttributes {
static const int SVG_FECOMPOSITE_OPERATOR_ARITHMETIC = 6;
@@ -30796,25 +30918,25 @@ interface SVGFECompositeElement extends SVGElement, SVGFilterPrimitiveStandardAt
static const int SVG_FECOMPOSITE_OPERATOR_XOR = 5;
/** @domName SVGFECompositeElement.in1 */
- final SVGAnimatedString in1;
+ abstract SVGAnimatedString get in1;
/** @domName SVGFECompositeElement.in2 */
- final SVGAnimatedString in2;
+ abstract SVGAnimatedString get in2;
/** @domName SVGFECompositeElement.k1 */
- final SVGAnimatedNumber k1;
+ abstract SVGAnimatedNumber get k1;
/** @domName SVGFECompositeElement.k2 */
- final SVGAnimatedNumber k2;
+ abstract SVGAnimatedNumber get k2;
/** @domName SVGFECompositeElement.k3 */
- final SVGAnimatedNumber k3;
+ abstract SVGAnimatedNumber get k3;
/** @domName SVGFECompositeElement.k4 */
- final SVGAnimatedNumber k4;
+ abstract SVGAnimatedNumber get k4;
/** @domName SVGFECompositeElement.operator */
- final SVGAnimatedEnumeration operator;
+ abstract SVGAnimatedEnumeration get operator;
}
// 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
@@ -30823,7 +30945,7 @@ interface SVGFECompositeElement extends SVGElement, SVGFilterPrimitiveStandardAt
// WARNING: Do not edit - generated code.
/// @domName SVGFEConvolveMatrixElement
-interface SVGFEConvolveMatrixElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {
+abstract class SVGFEConvolveMatrixElement implements SVGElement, SVGFilterPrimitiveStandardAttributes {
static const int SVG_EDGEMODE_DUPLICATE = 1;
@@ -30834,40 +30956,40 @@ interface SVGFEConvolveMatrixElement extends SVGElement, SVGFilterPrimitiveStand
static const int SVG_EDGEMODE_WRAP = 2;
/** @domName SVGFEConvolveMatrixElement.bias */
- final SVGAnimatedNumber bias;
+ abstract SVGAnimatedNumber get bias;
/** @domName SVGFEConvolveMatrixElement.divisor */
- final SVGAnimatedNumber divisor;
+ abstract SVGAnimatedNumber get divisor;
/** @domName SVGFEConvolveMatrixElement.edgeMode */
- final SVGAnimatedEnumeration edgeMode;
+ abstract SVGAnimatedEnumeration get edgeMode;
/** @domName SVGFEConvolveMatrixElement.in1 */
- final SVGAnimatedString in1;
+ abstract SVGAnimatedString get in1;
/** @domName SVGFEConvolveMatrixElement.kernelMatrix */
- final SVGAnimatedNumberList kernelMatrix;
+ abstract SVGAnimatedNumberList get kernelMatrix;
/** @domName SVGFEConvolveMatrixElement.kernelUnitLengthX */
- final SVGAnimatedNumber kernelUnitLengthX;
+ abstract SVGAnimatedNumber get kernelUnitLengthX;
/** @domName SVGFEConvolveMatrixElement.kernelUnitLengthY */
- final SVGAnimatedNumber kernelUnitLengthY;
+ abstract SVGAnimatedNumber get kernelUnitLengthY;
/** @domName SVGFEConvolveMatrixElement.orderX */
- final SVGAnimatedInteger orderX;
+ abstract SVGAnimatedInteger get orderX;
/** @domName SVGFEConvolveMatrixElement.orderY */
- final SVGAnimatedInteger orderY;
+ abstract SVGAnimatedInteger get orderY;
/** @domName SVGFEConvolveMatrixElement.preserveAlpha */
- final SVGAnimatedBoolean preserveAlpha;
+ abstract SVGAnimatedBoolean get preserveAlpha;
/** @domName SVGFEConvolveMatrixElement.targetX */
- final SVGAnimatedInteger targetX;
+ abstract SVGAnimatedInteger get targetX;
/** @domName SVGFEConvolveMatrixElement.targetY */
- final SVGAnimatedInteger targetY;
+ abstract SVGAnimatedInteger get targetY;
}
// 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
@@ -30876,22 +30998,22 @@ interface SVGFEConvolveMatrixElement extends SVGElement, SVGFilterPrimitiveStand
// WARNING: Do not edit - generated code.
/// @domName SVGFEDiffuseLightingElement
-interface SVGFEDiffuseLightingElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {
+abstract class SVGFEDiffuseLightingElement implements SVGElement, SVGFilterPrimitiveStandardAttributes {
/** @domName SVGFEDiffuseLightingElement.diffuseConstant */
- final SVGAnimatedNumber diffuseConstant;
+ abstract SVGAnimatedNumber get diffuseConstant;
/** @domName SVGFEDiffuseLightingElement.in1 */
- final SVGAnimatedString in1;
+ abstract SVGAnimatedString get in1;
/** @domName SVGFEDiffuseLightingElement.kernelUnitLengthX */
- final SVGAnimatedNumber kernelUnitLengthX;
+ abstract SVGAnimatedNumber get kernelUnitLengthX;
/** @domName SVGFEDiffuseLightingElement.kernelUnitLengthY */
- final SVGAnimatedNumber kernelUnitLengthY;
+ abstract SVGAnimatedNumber get kernelUnitLengthY;
/** @domName SVGFEDiffuseLightingElement.surfaceScale */
- final SVGAnimatedNumber surfaceScale;
+ abstract SVGAnimatedNumber get surfaceScale;
}
// 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
@@ -30900,7 +31022,7 @@ interface SVGFEDiffuseLightingElement extends SVGElement, SVGFilterPrimitiveStan
// WARNING: Do not edit - generated code.
/// @domName SVGFEDisplacementMapElement
-interface SVGFEDisplacementMapElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {
+abstract class SVGFEDisplacementMapElement implements SVGElement, SVGFilterPrimitiveStandardAttributes {
static const int SVG_CHANNEL_A = 4;
@@ -30913,19 +31035,19 @@ interface SVGFEDisplacementMapElement extends SVGElement, SVGFilterPrimitiveStan
static const int SVG_CHANNEL_UNKNOWN = 0;
/** @domName SVGFEDisplacementMapElement.in1 */
- final SVGAnimatedString in1;
+ abstract SVGAnimatedString get in1;
/** @domName SVGFEDisplacementMapElement.in2 */
- final SVGAnimatedString in2;
+ abstract SVGAnimatedString get in2;
/** @domName SVGFEDisplacementMapElement.scale */
- final SVGAnimatedNumber scale;
+ abstract SVGAnimatedNumber get scale;
/** @domName SVGFEDisplacementMapElement.xChannelSelector */
- final SVGAnimatedEnumeration xChannelSelector;
+ abstract SVGAnimatedEnumeration get xChannelSelector;
/** @domName SVGFEDisplacementMapElement.yChannelSelector */
- final SVGAnimatedEnumeration yChannelSelector;
+ abstract SVGAnimatedEnumeration get yChannelSelector;
}
// 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
@@ -30934,13 +31056,13 @@ interface SVGFEDisplacementMapElement extends SVGElement, SVGFilterPrimitiveStan
// WARNING: Do not edit - generated code.
/// @domName SVGFEDistantLightElement
-interface SVGFEDistantLightElement extends SVGElement {
+abstract class SVGFEDistantLightElement implements SVGElement {
/** @domName SVGFEDistantLightElement.azimuth */
- final SVGAnimatedNumber azimuth;
+ abstract SVGAnimatedNumber get azimuth;
/** @domName SVGFEDistantLightElement.elevation */
- final SVGAnimatedNumber elevation;
+ abstract SVGAnimatedNumber get elevation;
}
// 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
@@ -30949,22 +31071,22 @@ interface SVGFEDistantLightElement extends SVGElement {
// WARNING: Do not edit - generated code.
/// @domName SVGFEDropShadowElement
-interface SVGFEDropShadowElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {
+abstract class SVGFEDropShadowElement implements SVGElement, SVGFilterPrimitiveStandardAttributes {
/** @domName SVGFEDropShadowElement.dx */
- final SVGAnimatedNumber dx;
+ abstract SVGAnimatedNumber get dx;
/** @domName SVGFEDropShadowElement.dy */
- final SVGAnimatedNumber dy;
+ abstract SVGAnimatedNumber get dy;
/** @domName SVGFEDropShadowElement.in1 */
- final SVGAnimatedString in1;
+ abstract SVGAnimatedString get in1;
/** @domName SVGFEDropShadowElement.stdDeviationX */
- final SVGAnimatedNumber stdDeviationX;
+ abstract SVGAnimatedNumber get stdDeviationX;
/** @domName SVGFEDropShadowElement.stdDeviationY */
- final SVGAnimatedNumber stdDeviationY;
+ abstract SVGAnimatedNumber get stdDeviationY;
/** @domName SVGFEDropShadowElement.setStdDeviation */
void setStdDeviation(num stdDeviationX, num stdDeviationY);
@@ -30976,7 +31098,7 @@ interface SVGFEDropShadowElement extends SVGElement, SVGFilterPrimitiveStandardA
// WARNING: Do not edit - generated code.
/// @domName SVGFEFloodElement
-interface SVGFEFloodElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {
+abstract class SVGFEFloodElement implements SVGElement, SVGFilterPrimitiveStandardAttributes {
}
// 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
@@ -30985,7 +31107,7 @@ interface SVGFEFloodElement extends SVGElement, SVGFilterPrimitiveStandardAttrib
// WARNING: Do not edit - generated code.
/// @domName SVGFEFuncAElement
-interface SVGFEFuncAElement extends SVGComponentTransferFunctionElement {
+abstract class SVGFEFuncAElement implements SVGComponentTransferFunctionElement {
}
// 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
@@ -30994,7 +31116,7 @@ interface SVGFEFuncAElement extends SVGComponentTransferFunctionElement {
// WARNING: Do not edit - generated code.
/// @domName SVGFEFuncBElement
-interface SVGFEFuncBElement extends SVGComponentTransferFunctionElement {
+abstract class SVGFEFuncBElement implements SVGComponentTransferFunctionElement {
}
// 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
@@ -31003,7 +31125,7 @@ interface SVGFEFuncBElement extends SVGComponentTransferFunctionElement {
// WARNING: Do not edit - generated code.
/// @domName SVGFEFuncGElement
-interface SVGFEFuncGElement extends SVGComponentTransferFunctionElement {
+abstract class SVGFEFuncGElement implements SVGComponentTransferFunctionElement {
}
// 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
@@ -31012,7 +31134,7 @@ interface SVGFEFuncGElement extends SVGComponentTransferFunctionElement {
// WARNING: Do not edit - generated code.
/// @domName SVGFEFuncRElement
-interface SVGFEFuncRElement extends SVGComponentTransferFunctionElement {
+abstract class SVGFEFuncRElement implements SVGComponentTransferFunctionElement {
}
// 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
@@ -31021,16 +31143,16 @@ interface SVGFEFuncRElement extends SVGComponentTransferFunctionElement {
// WARNING: Do not edit - generated code.
/// @domName SVGFEGaussianBlurElement
-interface SVGFEGaussianBlurElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {
+abstract class SVGFEGaussianBlurElement implements SVGElement, SVGFilterPrimitiveStandardAttributes {
/** @domName SVGFEGaussianBlurElement.in1 */
- final SVGAnimatedString in1;
+ abstract SVGAnimatedString get in1;
/** @domName SVGFEGaussianBlurElement.stdDeviationX */
- final SVGAnimatedNumber stdDeviationX;
+ abstract SVGAnimatedNumber get stdDeviationX;
/** @domName SVGFEGaussianBlurElement.stdDeviationY */
- final SVGAnimatedNumber stdDeviationY;
+ abstract SVGAnimatedNumber get stdDeviationY;
/** @domName SVGFEGaussianBlurElement.setStdDeviation */
void setStdDeviation(num stdDeviationX, num stdDeviationY);
@@ -31042,10 +31164,10 @@ interface SVGFEGaussianBlurElement extends SVGElement, SVGFilterPrimitiveStandar
// WARNING: Do not edit - generated code.
/// @domName SVGFEImageElement
-interface SVGFEImageElement extends SVGElement, SVGURIReference, SVGLangSpace, SVGExternalResourcesRequired, SVGFilterPrimitiveStandardAttributes {
+abstract class SVGFEImageElement implements SVGElement, SVGURIReference, SVGLangSpace, SVGExternalResourcesRequired, SVGFilterPrimitiveStandardAttributes {
/** @domName SVGFEImageElement.preserveAspectRatio */
- final SVGAnimatedPreserveAspectRatio preserveAspectRatio;
+ abstract SVGAnimatedPreserveAspectRatio get preserveAspectRatio;
}
// 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
@@ -31054,7 +31176,7 @@ interface SVGFEImageElement extends SVGElement, SVGURIReference, SVGLangSpace, S
// WARNING: Do not edit - generated code.
/// @domName SVGFEMergeElement
-interface SVGFEMergeElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {
+abstract class SVGFEMergeElement implements SVGElement, SVGFilterPrimitiveStandardAttributes {
}
// 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
@@ -31063,10 +31185,10 @@ interface SVGFEMergeElement extends SVGElement, SVGFilterPrimitiveStandardAttrib
// WARNING: Do not edit - generated code.
/// @domName SVGFEMergeNodeElement
-interface SVGFEMergeNodeElement extends SVGElement {
+abstract class SVGFEMergeNodeElement implements SVGElement {
/** @domName SVGFEMergeNodeElement.in1 */
- final SVGAnimatedString in1;
+ abstract SVGAnimatedString get in1;
}
// 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
@@ -31075,7 +31197,7 @@ interface SVGFEMergeNodeElement extends SVGElement {
// WARNING: Do not edit - generated code.
/// @domName SVGFEMorphologyElement
-interface SVGFEMorphologyElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {
+abstract class SVGFEMorphologyElement implements SVGElement, SVGFilterPrimitiveStandardAttributes {
static const int SVG_MORPHOLOGY_OPERATOR_DILATE = 2;
@@ -31084,16 +31206,16 @@ interface SVGFEMorphologyElement extends SVGElement, SVGFilterPrimitiveStandardA
static const int SVG_MORPHOLOGY_OPERATOR_UNKNOWN = 0;
/** @domName SVGFEMorphologyElement.in1 */
- final SVGAnimatedString in1;
+ abstract SVGAnimatedString get in1;
/** @domName SVGFEMorphologyElement.operator */
- final SVGAnimatedEnumeration operator;
+ abstract SVGAnimatedEnumeration get operator;
/** @domName SVGFEMorphologyElement.radiusX */
- final SVGAnimatedNumber radiusX;
+ abstract SVGAnimatedNumber get radiusX;
/** @domName SVGFEMorphologyElement.radiusY */
- final SVGAnimatedNumber radiusY;
+ abstract SVGAnimatedNumber get radiusY;
/** @domName SVGFEMorphologyElement.setRadius */
void setRadius(num radiusX, num radiusY);
@@ -31105,16 +31227,16 @@ interface SVGFEMorphologyElement extends SVGElement, SVGFilterPrimitiveStandardA
// WARNING: Do not edit - generated code.
/// @domName SVGFEOffsetElement
-interface SVGFEOffsetElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {
+abstract class SVGFEOffsetElement implements SVGElement, SVGFilterPrimitiveStandardAttributes {
/** @domName SVGFEOffsetElement.dx */
- final SVGAnimatedNumber dx;
+ abstract SVGAnimatedNumber get dx;
/** @domName SVGFEOffsetElement.dy */
- final SVGAnimatedNumber dy;
+ abstract SVGAnimatedNumber get dy;
/** @domName SVGFEOffsetElement.in1 */
- final SVGAnimatedString in1;
+ abstract SVGAnimatedString get in1;
}
// 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
@@ -31123,16 +31245,16 @@ interface SVGFEOffsetElement extends SVGElement, SVGFilterPrimitiveStandardAttri
// WARNING: Do not edit - generated code.
/// @domName SVGFEPointLightElement
-interface SVGFEPointLightElement extends SVGElement {
+abstract class SVGFEPointLightElement implements SVGElement {
/** @domName SVGFEPointLightElement.x */
- final SVGAnimatedNumber x;
+ abstract SVGAnimatedNumber get x;
/** @domName SVGFEPointLightElement.y */
- final SVGAnimatedNumber y;
+ abstract SVGAnimatedNumber get y;
/** @domName SVGFEPointLightElement.z */
- final SVGAnimatedNumber z;
+ abstract SVGAnimatedNumber get z;
}
// 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
@@ -31141,19 +31263,19 @@ interface SVGFEPointLightElement extends SVGElement {
// WARNING: Do not edit - generated code.
/// @domName SVGFESpecularLightingElement
-interface SVGFESpecularLightingElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {
+abstract class SVGFESpecularLightingElement implements SVGElement, SVGFilterPrimitiveStandardAttributes {
/** @domName SVGFESpecularLightingElement.in1 */
- final SVGAnimatedString in1;
+ abstract SVGAnimatedString get in1;
/** @domName SVGFESpecularLightingElement.specularConstant */
- final SVGAnimatedNumber specularConstant;
+ abstract SVGAnimatedNumber get specularConstant;
/** @domName SVGFESpecularLightingElement.specularExponent */
- final SVGAnimatedNumber specularExponent;
+ abstract SVGAnimatedNumber get specularExponent;
/** @domName SVGFESpecularLightingElement.surfaceScale */
- final SVGAnimatedNumber surfaceScale;
+ abstract SVGAnimatedNumber get surfaceScale;
}
// 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
@@ -31162,31 +31284,31 @@ interface SVGFESpecularLightingElement extends SVGElement, SVGFilterPrimitiveSta
// WARNING: Do not edit - generated code.
/// @domName SVGFESpotLightElement
-interface SVGFESpotLightElement extends SVGElement {
+abstract class SVGFESpotLightElement implements SVGElement {
/** @domName SVGFESpotLightElement.limitingConeAngle */
- final SVGAnimatedNumber limitingConeAngle;
+ abstract SVGAnimatedNumber get limitingConeAngle;
/** @domName SVGFESpotLightElement.pointsAtX */
- final SVGAnimatedNumber pointsAtX;
+ abstract SVGAnimatedNumber get pointsAtX;
/** @domName SVGFESpotLightElement.pointsAtY */
- final SVGAnimatedNumber pointsAtY;
+ abstract SVGAnimatedNumber get pointsAtY;
/** @domName SVGFESpotLightElement.pointsAtZ */
- final SVGAnimatedNumber pointsAtZ;
+ abstract SVGAnimatedNumber get pointsAtZ;
/** @domName SVGFESpotLightElement.specularExponent */
- final SVGAnimatedNumber specularExponent;
+ abstract SVGAnimatedNumber get specularExponent;
/** @domName SVGFESpotLightElement.x */
- final SVGAnimatedNumber x;
+ abstract SVGAnimatedNumber get x;
/** @domName SVGFESpotLightElement.y */
- final SVGAnimatedNumber y;
+ abstract SVGAnimatedNumber get y;
/** @domName SVGFESpotLightElement.z */
- final SVGAnimatedNumber z;
+ abstract SVGAnimatedNumber get z;
}
// 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
@@ -31195,10 +31317,10 @@ interface SVGFESpotLightElement extends SVGElement {
// WARNING: Do not edit - generated code.
/// @domName SVGFETileElement
-interface SVGFETileElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {
+abstract class SVGFETileElement implements SVGElement, SVGFilterPrimitiveStandardAttributes {
/** @domName SVGFETileElement.in1 */
- final SVGAnimatedString in1;
+ abstract SVGAnimatedString get in1;
}
// 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
@@ -31207,7 +31329,7 @@ interface SVGFETileElement extends SVGElement, SVGFilterPrimitiveStandardAttribu
// WARNING: Do not edit - generated code.
/// @domName SVGFETurbulenceElement
-interface SVGFETurbulenceElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {
+abstract class SVGFETurbulenceElement implements SVGElement, SVGFilterPrimitiveStandardAttributes {
static const int SVG_STITCHTYPE_NOSTITCH = 2;
@@ -31222,22 +31344,22 @@ interface SVGFETurbulenceElement extends SVGElement, SVGFilterPrimitiveStandardA
static const int SVG_TURBULENCE_TYPE_UNKNOWN = 0;
/** @domName SVGFETurbulenceElement.baseFrequencyX */
- final SVGAnimatedNumber baseFrequencyX;
+ abstract SVGAnimatedNumber get baseFrequencyX;
/** @domName SVGFETurbulenceElement.baseFrequencyY */
- final SVGAnimatedNumber baseFrequencyY;
+ abstract SVGAnimatedNumber get baseFrequencyY;
/** @domName SVGFETurbulenceElement.numOctaves */
- final SVGAnimatedInteger numOctaves;
+ abstract SVGAnimatedInteger get numOctaves;
/** @domName SVGFETurbulenceElement.seed */
- final SVGAnimatedNumber seed;
+ abstract SVGAnimatedNumber get seed;
/** @domName SVGFETurbulenceElement.stitchTiles */
- final SVGAnimatedEnumeration stitchTiles;
+ abstract SVGAnimatedEnumeration get stitchTiles;
/** @domName SVGFETurbulenceElement.type */
- final SVGAnimatedEnumeration type;
+ abstract SVGAnimatedEnumeration get type;
}
// 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
@@ -31246,31 +31368,31 @@ interface SVGFETurbulenceElement extends SVGElement, SVGFilterPrimitiveStandardA
// WARNING: Do not edit - generated code.
/// @domName SVGFilterElement
-interface SVGFilterElement extends SVGElement, SVGURIReference, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable {
+abstract class SVGFilterElement implements SVGElement, SVGURIReference, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable {
/** @domName SVGFilterElement.filterResX */
- final SVGAnimatedInteger filterResX;
+ abstract SVGAnimatedInteger get filterResX;
/** @domName SVGFilterElement.filterResY */
- final SVGAnimatedInteger filterResY;
+ abstract SVGAnimatedInteger get filterResY;
/** @domName SVGFilterElement.filterUnits */
- final SVGAnimatedEnumeration filterUnits;
+ abstract SVGAnimatedEnumeration get filterUnits;
/** @domName SVGFilterElement.height */
- final SVGAnimatedLength height;
+ abstract SVGAnimatedLength get height;
/** @domName SVGFilterElement.primitiveUnits */
- final SVGAnimatedEnumeration primitiveUnits;
+ abstract SVGAnimatedEnumeration get primitiveUnits;
/** @domName SVGFilterElement.width */
- final SVGAnimatedLength width;
+ abstract SVGAnimatedLength get width;
/** @domName SVGFilterElement.x */
- final SVGAnimatedLength x;
+ abstract SVGAnimatedLength get x;
/** @domName SVGFilterElement.y */
- final SVGAnimatedLength y;
+ abstract SVGAnimatedLength get y;
/** @domName SVGFilterElement.setFilterRes */
void setFilterRes(int filterResX, int filterResY);
@@ -31282,22 +31404,22 @@ interface SVGFilterElement extends SVGElement, SVGURIReference, SVGLangSpace, SV
// WARNING: Do not edit - generated code.
/// @domName SVGFilterPrimitiveStandardAttributes
-interface SVGFilterPrimitiveStandardAttributes extends SVGStylable {
+abstract class SVGFilterPrimitiveStandardAttributes implements SVGStylable {
/** @domName SVGFilterPrimitiveStandardAttributes.height */
- final SVGAnimatedLength height;
+ abstract SVGAnimatedLength get height;
/** @domName SVGFilterPrimitiveStandardAttributes.result */
- final SVGAnimatedString result;
+ abstract SVGAnimatedString get result;
/** @domName SVGFilterPrimitiveStandardAttributes.width */
- final SVGAnimatedLength width;
+ abstract SVGAnimatedLength get width;
/** @domName SVGFilterPrimitiveStandardAttributes.x */
- final SVGAnimatedLength x;
+ abstract SVGAnimatedLength get x;
/** @domName SVGFilterPrimitiveStandardAttributes.y */
- final SVGAnimatedLength y;
+ abstract SVGAnimatedLength get y;
}
// 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
@@ -31306,13 +31428,13 @@ interface SVGFilterPrimitiveStandardAttributes extends SVGStylable {
// WARNING: Do not edit - generated code.
/// @domName SVGFitToViewBox
-interface SVGFitToViewBox {
+abstract class SVGFitToViewBox {
/** @domName SVGFitToViewBox.preserveAspectRatio */
- final SVGAnimatedPreserveAspectRatio preserveAspectRatio;
+ abstract SVGAnimatedPreserveAspectRatio get preserveAspectRatio;
/** @domName SVGFitToViewBox.viewBox */
- final SVGAnimatedRect viewBox;
+ abstract SVGAnimatedRect get viewBox;
}
// 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
@@ -31321,7 +31443,7 @@ interface SVGFitToViewBox {
// WARNING: Do not edit - generated code.
/// @domName SVGFontElement
-interface SVGFontElement extends SVGElement {
+abstract class SVGFontElement implements SVGElement {
}
// 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
@@ -31330,7 +31452,7 @@ interface SVGFontElement extends SVGElement {
// WARNING: Do not edit - generated code.
/// @domName SVGFontFaceElement
-interface SVGFontFaceElement extends SVGElement {
+abstract class SVGFontFaceElement implements SVGElement {
}
// 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
@@ -31339,7 +31461,7 @@ interface SVGFontFaceElement extends SVGElement {
// WARNING: Do not edit - generated code.
/// @domName SVGFontFaceFormatElement
-interface SVGFontFaceFormatElement extends SVGElement {
+abstract class SVGFontFaceFormatElement implements SVGElement {
}
// 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
@@ -31348,7 +31470,7 @@ interface SVGFontFaceFormatElement extends SVGElement {
// WARNING: Do not edit - generated code.
/// @domName SVGFontFaceNameElement
-interface SVGFontFaceNameElement extends SVGElement {
+abstract class SVGFontFaceNameElement implements SVGElement {
}
// 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
@@ -31357,7 +31479,7 @@ interface SVGFontFaceNameElement extends SVGElement {
// WARNING: Do not edit - generated code.
/// @domName SVGFontFaceSrcElement
-interface SVGFontFaceSrcElement extends SVGElement {
+abstract class SVGFontFaceSrcElement implements SVGElement {
}
// 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
@@ -31366,7 +31488,7 @@ interface SVGFontFaceSrcElement extends SVGElement {
// WARNING: Do not edit - generated code.
/// @domName SVGFontFaceUriElement
-interface SVGFontFaceUriElement extends SVGElement {
+abstract class SVGFontFaceUriElement implements SVGElement {
}
// 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
@@ -31375,19 +31497,19 @@ interface SVGFontFaceUriElement extends SVGElement {
// WARNING: Do not edit - generated code.
/// @domName SVGForeignObjectElement
-interface SVGForeignObjectElement extends SVGElement, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, SVGTransformable {
+abstract class SVGForeignObjectElement implements SVGElement, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, SVGTransformable {
/** @domName SVGForeignObjectElement.height */
- final SVGAnimatedLength height;
+ abstract SVGAnimatedLength get height;
/** @domName SVGForeignObjectElement.width */
- final SVGAnimatedLength width;
+ abstract SVGAnimatedLength get width;
/** @domName SVGForeignObjectElement.x */
- final SVGAnimatedLength x;
+ abstract SVGAnimatedLength get x;
/** @domName SVGForeignObjectElement.y */
- final SVGAnimatedLength y;
+ abstract SVGAnimatedLength get y;
}
// 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
@@ -31396,7 +31518,7 @@ interface SVGForeignObjectElement extends SVGElement, SVGTests, SVGLangSpace, SV
// WARNING: Do not edit - generated code.
/// @domName SVGGElement
-interface SVGGElement extends SVGElement, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, SVGTransformable {
+abstract class SVGGElement implements SVGElement, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, SVGTransformable {
}
// 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
@@ -31405,7 +31527,7 @@ interface SVGGElement extends SVGElement, SVGTests, SVGLangSpace, SVGExternalRes
// WARNING: Do not edit - generated code.
/// @domName SVGGlyphElement
-interface SVGGlyphElement extends SVGElement {
+abstract class SVGGlyphElement implements SVGElement {
}
// 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
@@ -31414,7 +31536,7 @@ interface SVGGlyphElement extends SVGElement {
// WARNING: Do not edit - generated code.
/// @domName SVGGlyphRefElement
-interface SVGGlyphRefElement extends SVGElement, SVGURIReference, SVGStylable {
+abstract class SVGGlyphRefElement implements SVGElement, SVGURIReference, SVGStylable {
/** @domName SVGGlyphRefElement.dx */
num dx;
@@ -31441,7 +31563,7 @@ interface SVGGlyphRefElement extends SVGElement, SVGURIReference, SVGStylable {
// WARNING: Do not edit - generated code.
/// @domName SVGGradientElement
-interface SVGGradientElement extends SVGElement, SVGURIReference, SVGExternalResourcesRequired, SVGStylable {
+abstract class SVGGradientElement implements SVGElement, SVGURIReference, SVGExternalResourcesRequired, SVGStylable {
static const int SVG_SPREADMETHOD_PAD = 1;
@@ -31452,13 +31574,13 @@ interface SVGGradientElement extends SVGElement, SVGURIReference, SVGExternalRes
static const int SVG_SPREADMETHOD_UNKNOWN = 0;
/** @domName SVGGradientElement.gradientTransform */
- final SVGAnimatedTransformList gradientTransform;
+ abstract SVGAnimatedTransformList get gradientTransform;
/** @domName SVGGradientElement.gradientUnits */
- final SVGAnimatedEnumeration gradientUnits;
+ abstract SVGAnimatedEnumeration get gradientUnits;
/** @domName SVGGradientElement.spreadMethod */
- final SVGAnimatedEnumeration spreadMethod;
+ abstract SVGAnimatedEnumeration get spreadMethod;
}
// 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
@@ -31467,7 +31589,7 @@ interface SVGGradientElement extends SVGElement, SVGURIReference, SVGExternalRes
// WARNING: Do not edit - generated code.
/// @domName SVGHKernElement
-interface SVGHKernElement extends SVGElement {
+abstract class SVGHKernElement implements SVGElement {
}
// 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
@@ -31476,22 +31598,22 @@ interface SVGHKernElement extends SVGElement {
// WARNING: Do not edit - generated code.
/// @domName SVGImageElement
-interface SVGImageElement extends SVGElement, SVGURIReference, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, SVGTransformable {
+abstract class SVGImageElement implements SVGElement, SVGURIReference, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, SVGTransformable {
/** @domName SVGImageElement.height */
- final SVGAnimatedLength height;
+ abstract SVGAnimatedLength get height;
/** @domName SVGImageElement.preserveAspectRatio */
- final SVGAnimatedPreserveAspectRatio preserveAspectRatio;
+ abstract SVGAnimatedPreserveAspectRatio get preserveAspectRatio;
/** @domName SVGImageElement.width */
- final SVGAnimatedLength width;
+ abstract SVGAnimatedLength get width;
/** @domName SVGImageElement.x */
- final SVGAnimatedLength x;
+ abstract SVGAnimatedLength get x;
/** @domName SVGImageElement.y */
- final SVGAnimatedLength y;
+ abstract SVGAnimatedLength get y;
}
// 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
@@ -31500,7 +31622,7 @@ interface SVGImageElement extends SVGElement, SVGURIReference, SVGTests, SVGLang
// WARNING: Do not edit - generated code.
/// @domName SVGLangSpace
-interface SVGLangSpace {
+abstract class SVGLangSpace {
/** @domName SVGLangSpace.xmllang */
String xmllang;
@@ -31515,7 +31637,7 @@ interface SVGLangSpace {
// WARNING: Do not edit - generated code.
/// @domName SVGLength
-interface SVGLength {
+abstract class SVGLength {
static const int SVG_LENGTHTYPE_CM = 6;
@@ -31540,7 +31662,7 @@ interface SVGLength {
static const int SVG_LENGTHTYPE_UNKNOWN = 0;
/** @domName SVGLength.unitType */
- final int unitType;
+ abstract int get unitType;
/** @domName SVGLength.value */
num value;
@@ -31564,10 +31686,10 @@ interface SVGLength {
// WARNING: Do not edit - generated code.
/// @domName SVGLengthList
-interface SVGLengthList {
+abstract class SVGLengthList {
/** @domName SVGLengthList.numberOfItems */
- final int numberOfItems;
+ abstract int get numberOfItems;
/** @domName SVGLengthList.appendItem */
SVGLength appendItem(SVGLength item);
@@ -31597,19 +31719,19 @@ interface SVGLengthList {
// WARNING: Do not edit - generated code.
/// @domName SVGLineElement
-interface SVGLineElement extends SVGElement, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, SVGTransformable {
+abstract class SVGLineElement implements SVGElement, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, SVGTransformable {
/** @domName SVGLineElement.x1 */
- final SVGAnimatedLength x1;
+ abstract SVGAnimatedLength get x1;
/** @domName SVGLineElement.x2 */
- final SVGAnimatedLength x2;
+ abstract SVGAnimatedLength get x2;
/** @domName SVGLineElement.y1 */
- final SVGAnimatedLength y1;
+ abstract SVGAnimatedLength get y1;
/** @domName SVGLineElement.y2 */
- final SVGAnimatedLength y2;
+ abstract SVGAnimatedLength get y2;
}
// 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
@@ -31618,19 +31740,19 @@ interface SVGLineElement extends SVGElement, SVGTests, SVGLangSpace, SVGExternal
// WARNING: Do not edit - generated code.
/// @domName SVGLinearGradientElement
-interface SVGLinearGradientElement extends SVGGradientElement {
+abstract class SVGLinearGradientElement implements SVGGradientElement {
/** @domName SVGLinearGradientElement.x1 */
- final SVGAnimatedLength x1;
+ abstract SVGAnimatedLength get x1;
/** @domName SVGLinearGradientElement.x2 */
- final SVGAnimatedLength x2;
+ abstract SVGAnimatedLength get x2;
/** @domName SVGLinearGradientElement.y1 */
- final SVGAnimatedLength y1;
+ abstract SVGAnimatedLength get y1;
/** @domName SVGLinearGradientElement.y2 */
- final SVGAnimatedLength y2;
+ abstract SVGAnimatedLength get y2;
}
// 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
@@ -31639,13 +31761,13 @@ interface SVGLinearGradientElement extends SVGGradientElement {
// WARNING: Do not edit - generated code.
/// @domName SVGLocatable
-interface SVGLocatable {
+abstract class SVGLocatable {
/** @domName SVGLocatable.farthestViewportElement */
- final SVGElement farthestViewportElement;
+ abstract SVGElement get farthestViewportElement;
/** @domName SVGLocatable.nearestViewportElement */
- final SVGElement nearestViewportElement;
+ abstract SVGElement get nearestViewportElement;
/** @domName SVGLocatable.getBBox */
SVGRect getBBox();
@@ -31666,7 +31788,7 @@ interface SVGLocatable {
// WARNING: Do not edit - generated code.
/// @domName SVGMPathElement
-interface SVGMPathElement extends SVGElement, SVGURIReference, SVGExternalResourcesRequired {
+abstract class SVGMPathElement implements SVGElement, SVGURIReference, SVGExternalResourcesRequired {
}
// 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
@@ -31675,7 +31797,7 @@ interface SVGMPathElement extends SVGElement, SVGURIReference, SVGExternalResour
// WARNING: Do not edit - generated code.
/// @domName SVGMarkerElement
-interface SVGMarkerElement extends SVGElement, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, SVGFitToViewBox {
+abstract class SVGMarkerElement implements SVGElement, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, SVGFitToViewBox {
static const int SVG_MARKERUNITS_STROKEWIDTH = 2;
@@ -31690,25 +31812,25 @@ interface SVGMarkerElement extends SVGElement, SVGLangSpace, SVGExternalResource
static const int SVG_MARKER_ORIENT_UNKNOWN = 0;
/** @domName SVGMarkerElement.markerHeight */
- final SVGAnimatedLength markerHeight;
+ abstract SVGAnimatedLength get markerHeight;
/** @domName SVGMarkerElement.markerUnits */
- final SVGAnimatedEnumeration markerUnits;
+ abstract SVGAnimatedEnumeration get markerUnits;
/** @domName SVGMarkerElement.markerWidth */
- final SVGAnimatedLength markerWidth;
+ abstract SVGAnimatedLength get markerWidth;
/** @domName SVGMarkerElement.orientAngle */
- final SVGAnimatedAngle orientAngle;
+ abstract SVGAnimatedAngle get orientAngle;
/** @domName SVGMarkerElement.orientType */
- final SVGAnimatedEnumeration orientType;
+ abstract SVGAnimatedEnumeration get orientType;
/** @domName SVGMarkerElement.refX */
- final SVGAnimatedLength refX;
+ abstract SVGAnimatedLength get refX;
/** @domName SVGMarkerElement.refY */
- final SVGAnimatedLength refY;
+ abstract SVGAnimatedLength get refY;
/** @domName SVGMarkerElement.setOrientToAngle */
void setOrientToAngle(SVGAngle angle);
@@ -31723,25 +31845,25 @@ interface SVGMarkerElement extends SVGElement, SVGLangSpace, SVGExternalResource
// WARNING: Do not edit - generated code.
/// @domName SVGMaskElement
-interface SVGMaskElement extends SVGElement, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable {
+abstract class SVGMaskElement implements SVGElement, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable {
/** @domName SVGMaskElement.height */
- final SVGAnimatedLength height;
+ abstract SVGAnimatedLength get height;
/** @domName SVGMaskElement.maskContentUnits */
- final SVGAnimatedEnumeration maskContentUnits;
+ abstract SVGAnimatedEnumeration get maskContentUnits;
/** @domName SVGMaskElement.maskUnits */
- final SVGAnimatedEnumeration maskUnits;
+ abstract SVGAnimatedEnumeration get maskUnits;
/** @domName SVGMaskElement.width */
- final SVGAnimatedLength width;
+ abstract SVGAnimatedLength get width;
/** @domName SVGMaskElement.x */
- final SVGAnimatedLength x;
+ abstract SVGAnimatedLength get x;
/** @domName SVGMaskElement.y */
- final SVGAnimatedLength y;
+ abstract SVGAnimatedLength get y;
}
// 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
@@ -31750,7 +31872,7 @@ interface SVGMaskElement extends SVGElement, SVGTests, SVGLangSpace, SVGExternal
// WARNING: Do not edit - generated code.
/// @domName SVGMatrix
-interface SVGMatrix {
+abstract class SVGMatrix {
/** @domName SVGMatrix.a */
num a;
@@ -31810,7 +31932,7 @@ interface SVGMatrix {
// WARNING: Do not edit - generated code.
/// @domName SVGMetadataElement
-interface SVGMetadataElement extends SVGElement {
+abstract class SVGMetadataElement implements SVGElement {
}
// 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
@@ -31819,7 +31941,7 @@ interface SVGMetadataElement extends SVGElement {
// WARNING: Do not edit - generated code.
/// @domName SVGMissingGlyphElement
-interface SVGMissingGlyphElement extends SVGElement {
+abstract class SVGMissingGlyphElement implements SVGElement {
}
// 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
@@ -31828,7 +31950,7 @@ interface SVGMissingGlyphElement extends SVGElement {
// WARNING: Do not edit - generated code.
/// @domName SVGNumber
-interface SVGNumber {
+abstract class SVGNumber {
/** @domName SVGNumber.value */
num value;
@@ -31840,10 +31962,10 @@ interface SVGNumber {
// WARNING: Do not edit - generated code.
/// @domName SVGNumberList
-interface SVGNumberList {
+abstract class SVGNumberList {
/** @domName SVGNumberList.numberOfItems */
- final int numberOfItems;
+ abstract int get numberOfItems;
/** @domName SVGNumberList.appendItem */
SVGNumber appendItem(SVGNumber item);
@@ -31873,7 +31995,7 @@ interface SVGNumberList {
// WARNING: Do not edit - generated code.
/// @domName SVGPaint
-interface SVGPaint extends SVGColor {
+abstract class SVGPaint implements SVGColor {
static const int SVG_PAINTTYPE_CURRENTCOLOR = 102;
@@ -31896,10 +32018,10 @@ interface SVGPaint extends SVGColor {
static const int SVG_PAINTTYPE_URI_RGBCOLOR_ICCCOLOR = 106;
/** @domName SVGPaint.paintType */
- final int paintType;
+ abstract int get paintType;
/** @domName SVGPaint.uri */
- final String uri;
+ abstract String get uri;
/** @domName SVGPaint.setPaint */
void setPaint(int paintType, String uri, String rgbColor, String iccColor);
@@ -31914,22 +32036,22 @@ interface SVGPaint extends SVGColor {
// WARNING: Do not edit - generated code.
/// @domName SVGPathElement
-interface SVGPathElement extends SVGElement, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, SVGTransformable {
+abstract class SVGPathElement implements SVGElement, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, SVGTransformable {
/** @domName SVGPathElement.animatedNormalizedPathSegList */
- final SVGPathSegList animatedNormalizedPathSegList;
+ abstract SVGPathSegList get animatedNormalizedPathSegList;
/** @domName SVGPathElement.animatedPathSegList */
- final SVGPathSegList animatedPathSegList;
+ abstract SVGPathSegList get animatedPathSegList;
/** @domName SVGPathElement.normalizedPathSegList */
- final SVGPathSegList normalizedPathSegList;
+ abstract SVGPathSegList get normalizedPathSegList;
/** @domName SVGPathElement.pathLength */
- final SVGAnimatedNumber pathLength;
+ abstract SVGAnimatedNumber get pathLength;
/** @domName SVGPathElement.pathSegList */
- final SVGPathSegList pathSegList;
+ abstract SVGPathSegList get pathSegList;
/** @domName SVGPathElement.createSVGPathSegArcAbs */
SVGPathSegArcAbs createSVGPathSegArcAbs(num x, num y, num r1, num r2, num angle, bool largeArcFlag, bool sweepFlag);
@@ -32004,7 +32126,7 @@ interface SVGPathElement extends SVGElement, SVGTests, SVGLangSpace, SVGExternal
// WARNING: Do not edit - generated code.
/// @domName SVGPathSeg
-interface SVGPathSeg {
+abstract class SVGPathSeg {
static const int PATHSEG_ARC_ABS = 10;
@@ -32047,10 +32169,10 @@ interface SVGPathSeg {
static const int PATHSEG_UNKNOWN = 0;
/** @domName SVGPathSeg.pathSegType */
- final int pathSegType;
+ abstract int get pathSegType;
/** @domName SVGPathSeg.pathSegTypeAsLetter */
- final String pathSegTypeAsLetter;
+ abstract String get pathSegTypeAsLetter;
}
// 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
@@ -32059,7 +32181,7 @@ interface SVGPathSeg {
// WARNING: Do not edit - generated code.
/// @domName SVGPathSegArcAbs
-interface SVGPathSegArcAbs extends SVGPathSeg {
+abstract class SVGPathSegArcAbs implements SVGPathSeg {
/** @domName SVGPathSegArcAbs.angle */
num angle;
@@ -32089,7 +32211,7 @@ interface SVGPathSegArcAbs extends SVGPathSeg {
// WARNING: Do not edit - generated code.
/// @domName SVGPathSegArcRel
-interface SVGPathSegArcRel extends SVGPathSeg {
+abstract class SVGPathSegArcRel implements SVGPathSeg {
/** @domName SVGPathSegArcRel.angle */
num angle;
@@ -32119,7 +32241,7 @@ interface SVGPathSegArcRel extends SVGPathSeg {
// WARNING: Do not edit - generated code.
/// @domName SVGPathSegClosePath
-interface SVGPathSegClosePath extends SVGPathSeg {
+abstract class SVGPathSegClosePath implements SVGPathSeg {
}
// 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
@@ -32128,7 +32250,7 @@ interface SVGPathSegClosePath extends SVGPathSeg {
// WARNING: Do not edit - generated code.
/// @domName SVGPathSegCurvetoCubicAbs
-interface SVGPathSegCurvetoCubicAbs extends SVGPathSeg {
+abstract class SVGPathSegCurvetoCubicAbs implements SVGPathSeg {
/** @domName SVGPathSegCurvetoCubicAbs.x */
num x;
@@ -32155,7 +32277,7 @@ interface SVGPathSegCurvetoCubicAbs extends SVGPathSeg {
// WARNING: Do not edit - generated code.
/// @domName SVGPathSegCurvetoCubicRel
-interface SVGPathSegCurvetoCubicRel extends SVGPathSeg {
+abstract class SVGPathSegCurvetoCubicRel implements SVGPathSeg {
/** @domName SVGPathSegCurvetoCubicRel.x */
num x;
@@ -32182,7 +32304,7 @@ interface SVGPathSegCurvetoCubicRel extends SVGPathSeg {
// WARNING: Do not edit - generated code.
/// @domName SVGPathSegCurvetoCubicSmoothAbs
-interface SVGPathSegCurvetoCubicSmoothAbs extends SVGPathSeg {
+abstract class SVGPathSegCurvetoCubicSmoothAbs implements SVGPathSeg {
/** @domName SVGPathSegCurvetoCubicSmoothAbs.x */
num x;
@@ -32203,7 +32325,7 @@ interface SVGPathSegCurvetoCubicSmoothAbs extends SVGPathSeg {
// WARNING: Do not edit - generated code.
/// @domName SVGPathSegCurvetoCubicSmoothRel
-interface SVGPathSegCurvetoCubicSmoothRel extends SVGPathSeg {
+abstract class SVGPathSegCurvetoCubicSmoothRel implements SVGPathSeg {
/** @domName SVGPathSegCurvetoCubicSmoothRel.x */
num x;
@@ -32224,7 +32346,7 @@ interface SVGPathSegCurvetoCubicSmoothRel extends SVGPathSeg {
// WARNING: Do not edit - generated code.
/// @domName SVGPathSegCurvetoQuadraticAbs
-interface SVGPathSegCurvetoQuadraticAbs extends SVGPathSeg {
+abstract class SVGPathSegCurvetoQuadraticAbs implements SVGPathSeg {
/** @domName SVGPathSegCurvetoQuadraticAbs.x */
num x;
@@ -32245,7 +32367,7 @@ interface SVGPathSegCurvetoQuadraticAbs extends SVGPathSeg {
// WARNING: Do not edit - generated code.
/// @domName SVGPathSegCurvetoQuadraticRel
-interface SVGPathSegCurvetoQuadraticRel extends SVGPathSeg {
+abstract class SVGPathSegCurvetoQuadraticRel implements SVGPathSeg {
/** @domName SVGPathSegCurvetoQuadraticRel.x */
num x;
@@ -32266,7 +32388,7 @@ interface SVGPathSegCurvetoQuadraticRel extends SVGPathSeg {
// WARNING: Do not edit - generated code.
/// @domName SVGPathSegCurvetoQuadraticSmoothAbs
-interface SVGPathSegCurvetoQuadraticSmoothAbs extends SVGPathSeg {
+abstract class SVGPathSegCurvetoQuadraticSmoothAbs implements SVGPathSeg {
/** @domName SVGPathSegCurvetoQuadraticSmoothAbs.x */
num x;
@@ -32281,7 +32403,7 @@ interface SVGPathSegCurvetoQuadraticSmoothAbs extends SVGPathSeg {
// WARNING: Do not edit - generated code.
/// @domName SVGPathSegCurvetoQuadraticSmoothRel
-interface SVGPathSegCurvetoQuadraticSmoothRel extends SVGPathSeg {
+abstract class SVGPathSegCurvetoQuadraticSmoothRel implements SVGPathSeg {
/** @domName SVGPathSegCurvetoQuadraticSmoothRel.x */
num x;
@@ -32296,7 +32418,7 @@ interface SVGPathSegCurvetoQuadraticSmoothRel extends SVGPathSeg {
// WARNING: Do not edit - generated code.
/// @domName SVGPathSegLinetoAbs
-interface SVGPathSegLinetoAbs extends SVGPathSeg {
+abstract class SVGPathSegLinetoAbs implements SVGPathSeg {
/** @domName SVGPathSegLinetoAbs.x */
num x;
@@ -32311,7 +32433,7 @@ interface SVGPathSegLinetoAbs extends SVGPathSeg {
// WARNING: Do not edit - generated code.
/// @domName SVGPathSegLinetoHorizontalAbs
-interface SVGPathSegLinetoHorizontalAbs extends SVGPathSeg {
+abstract class SVGPathSegLinetoHorizontalAbs implements SVGPathSeg {
/** @domName SVGPathSegLinetoHorizontalAbs.x */
num x;
@@ -32323,7 +32445,7 @@ interface SVGPathSegLinetoHorizontalAbs extends SVGPathSeg {
// WARNING: Do not edit - generated code.
/// @domName SVGPathSegLinetoHorizontalRel
-interface SVGPathSegLinetoHorizontalRel extends SVGPathSeg {
+abstract class SVGPathSegLinetoHorizontalRel implements SVGPathSeg {
/** @domName SVGPathSegLinetoHorizontalRel.x */
num x;
@@ -32335,7 +32457,7 @@ interface SVGPathSegLinetoHorizontalRel extends SVGPathSeg {
// WARNING: Do not edit - generated code.
/// @domName SVGPathSegLinetoRel
-interface SVGPathSegLinetoRel extends SVGPathSeg {
+abstract class SVGPathSegLinetoRel implements SVGPathSeg {
/** @domName SVGPathSegLinetoRel.x */
num x;
@@ -32350,7 +32472,7 @@ interface SVGPathSegLinetoRel extends SVGPathSeg {
// WARNING: Do not edit - generated code.
/// @domName SVGPathSegLinetoVerticalAbs
-interface SVGPathSegLinetoVerticalAbs extends SVGPathSeg {
+abstract class SVGPathSegLinetoVerticalAbs implements SVGPathSeg {
/** @domName SVGPathSegLinetoVerticalAbs.y */
num y;
@@ -32362,7 +32484,7 @@ interface SVGPathSegLinetoVerticalAbs extends SVGPathSeg {
// WARNING: Do not edit - generated code.
/// @domName SVGPathSegLinetoVerticalRel
-interface SVGPathSegLinetoVerticalRel extends SVGPathSeg {
+abstract class SVGPathSegLinetoVerticalRel implements SVGPathSeg {
/** @domName SVGPathSegLinetoVerticalRel.y */
num y;
@@ -32374,10 +32496,10 @@ interface SVGPathSegLinetoVerticalRel extends SVGPathSeg {
// WARNING: Do not edit - generated code.
/// @domName SVGPathSegList
-interface SVGPathSegList {
+abstract class SVGPathSegList {
/** @domName SVGPathSegList.numberOfItems */
- final int numberOfItems;
+ abstract int get numberOfItems;
/** @domName SVGPathSegList.appendItem */
SVGPathSeg appendItem(SVGPathSeg newItem);
@@ -32407,7 +32529,7 @@ interface SVGPathSegList {
// WARNING: Do not edit - generated code.
/// @domName SVGPathSegMovetoAbs
-interface SVGPathSegMovetoAbs extends SVGPathSeg {
+abstract class SVGPathSegMovetoAbs implements SVGPathSeg {
/** @domName SVGPathSegMovetoAbs.x */
num x;
@@ -32422,7 +32544,7 @@ interface SVGPathSegMovetoAbs extends SVGPathSeg {
// WARNING: Do not edit - generated code.
/// @domName SVGPathSegMovetoRel
-interface SVGPathSegMovetoRel extends SVGPathSeg {
+abstract class SVGPathSegMovetoRel implements SVGPathSeg {
/** @domName SVGPathSegMovetoRel.x */
num x;
@@ -32437,28 +32559,28 @@ interface SVGPathSegMovetoRel extends SVGPathSeg {
// WARNING: Do not edit - generated code.
/// @domName SVGPatternElement
-interface SVGPatternElement extends SVGElement, SVGURIReference, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, SVGFitToViewBox {
+abstract class SVGPatternElement implements SVGElement, SVGURIReference, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, SVGFitToViewBox {
/** @domName SVGPatternElement.height */
- final SVGAnimatedLength height;
+ abstract SVGAnimatedLength get height;
/** @domName SVGPatternElement.patternContentUnits */
- final SVGAnimatedEnumeration patternContentUnits;
+ abstract SVGAnimatedEnumeration get patternContentUnits;
/** @domName SVGPatternElement.patternTransform */
- final SVGAnimatedTransformList patternTransform;
+ abstract SVGAnimatedTransformList get patternTransform;
/** @domName SVGPatternElement.patternUnits */
- final SVGAnimatedEnumeration patternUnits;
+ abstract SVGAnimatedEnumeration get patternUnits;
/** @domName SVGPatternElement.width */
- final SVGAnimatedLength width;
+ abstract SVGAnimatedLength get width;
/** @domName SVGPatternElement.x */
- final SVGAnimatedLength x;
+ abstract SVGAnimatedLength get x;
/** @domName SVGPatternElement.y */
- final SVGAnimatedLength y;
+ abstract SVGAnimatedLength get y;
}
// 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
@@ -32467,7 +32589,7 @@ interface SVGPatternElement extends SVGElement, SVGURIReference, SVGTests, SVGLa
// WARNING: Do not edit - generated code.
/// @domName SVGPoint
-interface SVGPoint {
+abstract class SVGPoint {
/** @domName SVGPoint.x */
num x;
@@ -32485,10 +32607,10 @@ interface SVGPoint {
// WARNING: Do not edit - generated code.
/// @domName SVGPointList
-interface SVGPointList {
+abstract class SVGPointList {
/** @domName SVGPointList.numberOfItems */
- final int numberOfItems;
+ abstract int get numberOfItems;
/** @domName SVGPointList.appendItem */
SVGPoint appendItem(SVGPoint item);
@@ -32518,13 +32640,13 @@ interface SVGPointList {
// WARNING: Do not edit - generated code.
/// @domName SVGPolygonElement
-interface SVGPolygonElement extends SVGElement, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, SVGTransformable {
+abstract class SVGPolygonElement implements SVGElement, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, SVGTransformable {
/** @domName SVGPolygonElement.animatedPoints */
- final SVGPointList animatedPoints;
+ abstract SVGPointList get animatedPoints;
/** @domName SVGPolygonElement.points */
- final SVGPointList points;
+ abstract SVGPointList get points;
}
// 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
@@ -32533,13 +32655,13 @@ interface SVGPolygonElement extends SVGElement, SVGTests, SVGLangSpace, SVGExter
// WARNING: Do not edit - generated code.
/// @domName SVGPolylineElement
-interface SVGPolylineElement extends SVGElement, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, SVGTransformable {
+abstract class SVGPolylineElement implements SVGElement, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, SVGTransformable {
/** @domName SVGPolylineElement.animatedPoints */
- final SVGPointList animatedPoints;
+ abstract SVGPointList get animatedPoints;
/** @domName SVGPolylineElement.points */
- final SVGPointList points;
+ abstract SVGPointList get points;
}
// 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
@@ -32548,7 +32670,7 @@ interface SVGPolylineElement extends SVGElement, SVGTests, SVGLangSpace, SVGExte
// WARNING: Do not edit - generated code.
/// @domName SVGPreserveAspectRatio
-interface SVGPreserveAspectRatio {
+abstract class SVGPreserveAspectRatio {
static const int SVG_MEETORSLICE_MEET = 1;
@@ -32591,22 +32713,22 @@ interface SVGPreserveAspectRatio {
// WARNING: Do not edit - generated code.
/// @domName SVGRadialGradientElement
-interface SVGRadialGradientElement extends SVGGradientElement {
+abstract class SVGRadialGradientElement implements SVGGradientElement {
/** @domName SVGRadialGradientElement.cx */
- final SVGAnimatedLength cx;
+ abstract SVGAnimatedLength get cx;
/** @domName SVGRadialGradientElement.cy */
- final SVGAnimatedLength cy;
+ abstract SVGAnimatedLength get cy;
/** @domName SVGRadialGradientElement.fx */
- final SVGAnimatedLength fx;
+ abstract SVGAnimatedLength get fx;
/** @domName SVGRadialGradientElement.fy */
- final SVGAnimatedLength fy;
+ abstract SVGAnimatedLength get fy;
/** @domName SVGRadialGradientElement.r */
- final SVGAnimatedLength r;
+ abstract SVGAnimatedLength get r;
}
// 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
@@ -32615,7 +32737,7 @@ interface SVGRadialGradientElement extends SVGGradientElement {
// WARNING: Do not edit - generated code.
/// @domName SVGRect
-interface SVGRect {
+abstract class SVGRect {
/** @domName SVGRect.height */
num height;
@@ -32636,25 +32758,25 @@ interface SVGRect {
// WARNING: Do not edit - generated code.
/// @domName SVGRectElement
-interface SVGRectElement extends SVGElement, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, SVGTransformable {
+abstract class SVGRectElement implements SVGElement, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, SVGTransformable {
/** @domName SVGRectElement.height */
- final SVGAnimatedLength height;
+ abstract SVGAnimatedLength get height;
/** @domName SVGRectElement.rx */
- final SVGAnimatedLength rx;
+ abstract SVGAnimatedLength get rx;
/** @domName SVGRectElement.ry */
- final SVGAnimatedLength ry;
+ abstract SVGAnimatedLength get ry;
/** @domName SVGRectElement.width */
- final SVGAnimatedLength width;
+ abstract SVGAnimatedLength get width;
/** @domName SVGRectElement.x */
- final SVGAnimatedLength x;
+ abstract SVGAnimatedLength get x;
/** @domName SVGRectElement.y */
- final SVGAnimatedLength y;
+ abstract SVGAnimatedLength get y;
}
// 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
@@ -32663,7 +32785,7 @@ interface SVGRectElement extends SVGElement, SVGTests, SVGLangSpace, SVGExternal
// WARNING: Do not edit - generated code.
/// @domName SVGRenderingIntent
-interface SVGRenderingIntent {
+abstract class SVGRenderingIntent {
static const int RENDERING_INTENT_ABSOLUTE_COLORIMETRIC = 5;
@@ -32682,9 +32804,8 @@ interface SVGRenderingIntent {
// BSD-style license that can be found in the LICENSE file.
/// @domName SVGSVGElement
-interface SVGSVGElement extends SVGElement, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, SVGLocatable, SVGFitToViewBox, SVGZoomAndPan
- default _SVGSVGElementFactoryProvider {
- SVGSVGElement();
+abstract class SVGSVGElement extends SVGElement implements SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, SVGLocatable, SVGFitToViewBox, SVGZoomAndPan {
+ factory SVGSVGElement() => _SVGSVGElementFactoryProvider.createSVGSVGElement();
/** @domName SVGSVGElement.contentScriptType */
@@ -32697,40 +32818,40 @@ interface SVGSVGElement extends SVGElement, SVGTests, SVGLangSpace, SVGExternalR
num currentScale;
/** @domName SVGSVGElement.currentTranslate */
- final SVGPoint currentTranslate;
+ abstract SVGPoint get currentTranslate;
/** @domName SVGSVGElement.currentView */
- final SVGViewSpec currentView;
+ abstract SVGViewSpec get currentView;
/** @domName SVGSVGElement.height */
- final SVGAnimatedLength height;
+ abstract SVGAnimatedLength get height;
/** @domName SVGSVGElement.pixelUnitToMillimeterX */
- final num pixelUnitToMillimeterX;
+ abstract num get pixelUnitToMillimeterX;
/** @domName SVGSVGElement.pixelUnitToMillimeterY */
- final num pixelUnitToMillimeterY;
+ abstract num get pixelUnitToMillimeterY;
/** @domName SVGSVGElement.screenPixelToMillimeterX */
- final num screenPixelToMillimeterX;
+ abstract num get screenPixelToMillimeterX;
/** @domName SVGSVGElement.screenPixelToMillimeterY */
- final num screenPixelToMillimeterY;
+ abstract num get screenPixelToMillimeterY;
/** @domName SVGSVGElement.useCurrentView */
- final bool useCurrentView;
+ abstract bool get useCurrentView;
/** @domName SVGSVGElement.viewport */
- final SVGRect viewport;
+ abstract SVGRect get viewport;
/** @domName SVGSVGElement.width */
- final SVGAnimatedLength width;
+ abstract SVGAnimatedLength get width;
/** @domName SVGSVGElement.x */
- final SVGAnimatedLength x;
+ abstract SVGAnimatedLength get x;
/** @domName SVGSVGElement.y */
- final SVGAnimatedLength y;
+ abstract SVGAnimatedLength get y;
/** @domName SVGSVGElement.animationsPaused */
bool animationsPaused();
@@ -32809,7 +32930,7 @@ interface SVGSVGElement extends SVGElement, SVGTests, SVGLangSpace, SVGExternalR
// WARNING: Do not edit - generated code.
/// @domName SVGScriptElement
-interface SVGScriptElement extends SVGElement, SVGURIReference, SVGExternalResourcesRequired {
+abstract class SVGScriptElement implements SVGElement, SVGURIReference, SVGExternalResourcesRequired {
/** @domName SVGScriptElement.type */
String type;
@@ -32821,7 +32942,7 @@ interface SVGScriptElement extends SVGElement, SVGURIReference, SVGExternalResou
// WARNING: Do not edit - generated code.
/// @domName SVGSetElement
-interface SVGSetElement extends SVGAnimationElement {
+abstract class SVGSetElement implements SVGAnimationElement {
}
// 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
@@ -32830,10 +32951,10 @@ interface SVGSetElement extends SVGAnimationElement {
// WARNING: Do not edit - generated code.
/// @domName SVGStopElement
-interface SVGStopElement extends SVGElement, SVGStylable {
+abstract class SVGStopElement implements SVGElement, SVGStylable {
/** @domName SVGStopElement.offset */
- final SVGAnimatedNumber offset;
+ abstract SVGAnimatedNumber get offset;
}
// 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
@@ -32842,10 +32963,10 @@ interface SVGStopElement extends SVGElement, SVGStylable {
// WARNING: Do not edit - generated code.
/// @domName SVGStringList
-interface SVGStringList {
+abstract class SVGStringList {
/** @domName SVGStringList.numberOfItems */
- final int numberOfItems;
+ abstract int get numberOfItems;
/** @domName SVGStringList.appendItem */
String appendItem(String item);
@@ -32875,13 +32996,13 @@ interface SVGStringList {
// WARNING: Do not edit - generated code.
/// @domName SVGStylable
-interface SVGStylable {
+abstract class SVGStylable {
/** @domName SVGStylable.className */
- final SVGAnimatedString $dom_svgClassName;
+ abstract SVGAnimatedString get $dom_svgClassName;
/** @domName SVGStylable.style */
- final CSSStyleDeclaration style;
+ abstract CSSStyleDeclaration get style;
/** @domName SVGStylable.getPresentationAttribute */
CSSValue getPresentationAttribute(String name);
@@ -32893,7 +33014,7 @@ interface SVGStylable {
// WARNING: Do not edit - generated code.
/// @domName SVGStyleElement
-interface SVGStyleElement extends SVGElement, SVGLangSpace {
+abstract class SVGStyleElement implements SVGElement, SVGLangSpace {
/** @domName SVGStyleElement.disabled */
bool disabled;
@@ -32914,7 +33035,7 @@ interface SVGStyleElement extends SVGElement, SVGLangSpace {
// WARNING: Do not edit - generated code.
/// @domName SVGSwitchElement
-interface SVGSwitchElement extends SVGElement, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, SVGTransformable {
+abstract class SVGSwitchElement implements SVGElement, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, SVGTransformable {
}
// 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
@@ -32923,7 +33044,7 @@ interface SVGSwitchElement extends SVGElement, SVGTests, SVGLangSpace, SVGExtern
// WARNING: Do not edit - generated code.
/// @domName SVGSymbolElement
-interface SVGSymbolElement extends SVGElement, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, SVGFitToViewBox {
+abstract class SVGSymbolElement implements SVGElement, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, SVGFitToViewBox {
}
// 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
@@ -32932,7 +33053,7 @@ interface SVGSymbolElement extends SVGElement, SVGLangSpace, SVGExternalResource
// WARNING: Do not edit - generated code.
/// @domName SVGTRefElement
-interface SVGTRefElement extends SVGTextPositioningElement, SVGURIReference {
+abstract class SVGTRefElement implements SVGTextPositioningElement, SVGURIReference {
}
// 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
@@ -32941,7 +33062,7 @@ interface SVGTRefElement extends SVGTextPositioningElement, SVGURIReference {
// WARNING: Do not edit - generated code.
/// @domName SVGTSpanElement
-interface SVGTSpanElement extends SVGTextPositioningElement {
+abstract class SVGTSpanElement implements SVGTextPositioningElement {
}
// 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
@@ -32950,16 +33071,16 @@ interface SVGTSpanElement extends SVGTextPositioningElement {
// WARNING: Do not edit - generated code.
/// @domName SVGTests
-interface SVGTests {
+abstract class SVGTests {
/** @domName SVGTests.requiredExtensions */
- final SVGStringList requiredExtensions;
+ abstract SVGStringList get requiredExtensions;
/** @domName SVGTests.requiredFeatures */
- final SVGStringList requiredFeatures;
+ abstract SVGStringList get requiredFeatures;
/** @domName SVGTests.systemLanguage */
- final SVGStringList systemLanguage;
+ abstract SVGStringList get systemLanguage;
/** @domName SVGTests.hasExtension */
bool hasExtension(String extension);
@@ -32971,7 +33092,7 @@ interface SVGTests {
// WARNING: Do not edit - generated code.
/// @domName SVGTextContentElement
-interface SVGTextContentElement extends SVGElement, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable {
+abstract class SVGTextContentElement implements SVGElement, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable {
static const int LENGTHADJUST_SPACING = 1;
@@ -32980,10 +33101,10 @@ interface SVGTextContentElement extends SVGElement, SVGTests, SVGLangSpace, SVGE
static const int LENGTHADJUST_UNKNOWN = 0;
/** @domName SVGTextContentElement.lengthAdjust */
- final SVGAnimatedEnumeration lengthAdjust;
+ abstract SVGAnimatedEnumeration get lengthAdjust;
/** @domName SVGTextContentElement.textLength */
- final SVGAnimatedLength textLength;
+ abstract SVGAnimatedLength get textLength;
/** @domName SVGTextContentElement.getCharNumAtPosition */
int getCharNumAtPosition(SVGPoint point);
@@ -33019,7 +33140,7 @@ interface SVGTextContentElement extends SVGElement, SVGTests, SVGLangSpace, SVGE
// WARNING: Do not edit - generated code.
/// @domName SVGTextElement
-interface SVGTextElement extends SVGTextPositioningElement, SVGTransformable {
+abstract class SVGTextElement implements SVGTextPositioningElement, SVGTransformable {
}
// 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
@@ -33028,7 +33149,7 @@ interface SVGTextElement extends SVGTextPositioningElement, SVGTransformable {
// WARNING: Do not edit - generated code.
/// @domName SVGTextPathElement
-interface SVGTextPathElement extends SVGTextContentElement, SVGURIReference {
+abstract class SVGTextPathElement implements SVGTextContentElement, SVGURIReference {
static const int TEXTPATH_METHODTYPE_ALIGN = 1;
@@ -33043,13 +33164,13 @@ interface SVGTextPathElement extends SVGTextContentElement, SVGURIReference {
static const int TEXTPATH_SPACINGTYPE_UNKNOWN = 0;
/** @domName SVGTextPathElement.method */
- final SVGAnimatedEnumeration method;
+ abstract SVGAnimatedEnumeration get method;
/** @domName SVGTextPathElement.spacing */
- final SVGAnimatedEnumeration spacing;
+ abstract SVGAnimatedEnumeration get spacing;
/** @domName SVGTextPathElement.startOffset */
- final SVGAnimatedLength startOffset;
+ abstract SVGAnimatedLength get startOffset;
}
// 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
@@ -33058,22 +33179,22 @@ interface SVGTextPathElement extends SVGTextContentElement, SVGURIReference {
// WARNING: Do not edit - generated code.
/// @domName SVGTextPositioningElement
-interface SVGTextPositioningElement extends SVGTextContentElement {
+abstract class SVGTextPositioningElement implements SVGTextContentElement {
/** @domName SVGTextPositioningElement.dx */
- final SVGAnimatedLengthList dx;
+ abstract SVGAnimatedLengthList get dx;
/** @domName SVGTextPositioningElement.dy */
- final SVGAnimatedLengthList dy;
+ abstract SVGAnimatedLengthList get dy;
/** @domName SVGTextPositioningElement.rotate */
- final SVGAnimatedNumberList rotate;
+ abstract SVGAnimatedNumberList get rotate;
/** @domName SVGTextPositioningElement.x */
- final SVGAnimatedLengthList x;
+ abstract SVGAnimatedLengthList get x;
/** @domName SVGTextPositioningElement.y */
- final SVGAnimatedLengthList y;
+ abstract SVGAnimatedLengthList get y;
}
// 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
@@ -33082,7 +33203,7 @@ interface SVGTextPositioningElement extends SVGTextContentElement {
// WARNING: Do not edit - generated code.
/// @domName SVGTitleElement
-interface SVGTitleElement extends SVGElement, SVGLangSpace, SVGStylable {
+abstract class SVGTitleElement implements SVGElement, SVGLangSpace, SVGStylable {
}
// 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
@@ -33091,7 +33212,7 @@ interface SVGTitleElement extends SVGElement, SVGLangSpace, SVGStylable {
// WARNING: Do not edit - generated code.
/// @domName SVGTransform
-interface SVGTransform {
+abstract class SVGTransform {
static const int SVG_TRANSFORM_MATRIX = 1;
@@ -33108,13 +33229,13 @@ interface SVGTransform {
static const int SVG_TRANSFORM_UNKNOWN = 0;
/** @domName SVGTransform.angle */
- final num angle;
+ abstract num get angle;
/** @domName SVGTransform.matrix */
- final SVGMatrix matrix;
+ abstract SVGMatrix get matrix;
/** @domName SVGTransform.type */
- final int type;
+ abstract int get type;
/** @domName SVGTransform.setMatrix */
void setMatrix(SVGMatrix matrix);
@@ -33141,10 +33262,10 @@ interface SVGTransform {
// WARNING: Do not edit - generated code.
/// @domName SVGTransformList
-interface SVGTransformList {
+abstract class SVGTransformList {
/** @domName SVGTransformList.numberOfItems */
- final int numberOfItems;
+ abstract int get numberOfItems;
/** @domName SVGTransformList.appendItem */
SVGTransform appendItem(SVGTransform item);
@@ -33180,10 +33301,10 @@ interface SVGTransformList {
// WARNING: Do not edit - generated code.
/// @domName SVGTransformable
-interface SVGTransformable extends SVGLocatable {
+abstract class SVGTransformable implements SVGLocatable {
/** @domName SVGTransformable.transform */
- final SVGAnimatedTransformList transform;
+ abstract SVGAnimatedTransformList get transform;
}
// 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
@@ -33192,10 +33313,10 @@ interface SVGTransformable extends SVGLocatable {
// WARNING: Do not edit - generated code.
/// @domName SVGURIReference
-interface SVGURIReference {
+abstract class SVGURIReference {
/** @domName SVGURIReference.href */
- final SVGAnimatedString href;
+ abstract SVGAnimatedString get href;
}
// 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
@@ -33204,7 +33325,7 @@ interface SVGURIReference {
// WARNING: Do not edit - generated code.
/// @domName SVGUnitTypes
-interface SVGUnitTypes {
+abstract class SVGUnitTypes {
static const int SVG_UNIT_TYPE_OBJECTBOUNDINGBOX = 2;
@@ -33219,25 +33340,25 @@ interface SVGUnitTypes {
// WARNING: Do not edit - generated code.
/// @domName SVGUseElement
-interface SVGUseElement extends SVGElement, SVGURIReference, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, SVGTransformable {
+abstract class SVGUseElement implements SVGElement, SVGURIReference, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, SVGTransformable {
/** @domName SVGUseElement.animatedInstanceRoot */
- final SVGElementInstance animatedInstanceRoot;
+ abstract SVGElementInstance get animatedInstanceRoot;
/** @domName SVGUseElement.height */
- final SVGAnimatedLength height;
+ abstract SVGAnimatedLength get height;
/** @domName SVGUseElement.instanceRoot */
- final SVGElementInstance instanceRoot;
+ abstract SVGElementInstance get instanceRoot;
/** @domName SVGUseElement.width */
- final SVGAnimatedLength width;
+ abstract SVGAnimatedLength get width;
/** @domName SVGUseElement.x */
- final SVGAnimatedLength x;
+ abstract SVGAnimatedLength get x;
/** @domName SVGUseElement.y */
- final SVGAnimatedLength y;
+ abstract SVGAnimatedLength get y;
}
// 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
@@ -33246,7 +33367,7 @@ interface SVGUseElement extends SVGElement, SVGURIReference, SVGTests, SVGLangSp
// WARNING: Do not edit - generated code.
/// @domName SVGVKernElement
-interface SVGVKernElement extends SVGElement {
+abstract class SVGVKernElement implements SVGElement {
}
// 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
@@ -33255,10 +33376,10 @@ interface SVGVKernElement extends SVGElement {
// WARNING: Do not edit - generated code.
/// @domName SVGViewElement
-interface SVGViewElement extends SVGElement, SVGExternalResourcesRequired, SVGFitToViewBox, SVGZoomAndPan {
+abstract class SVGViewElement implements SVGElement, SVGExternalResourcesRequired, SVGFitToViewBox, SVGZoomAndPan {
/** @domName SVGViewElement.viewTarget */
- final SVGStringList viewTarget;
+ abstract SVGStringList get viewTarget;
}
// 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
@@ -33267,31 +33388,31 @@ interface SVGViewElement extends SVGElement, SVGExternalResourcesRequired, SVGFi
// WARNING: Do not edit - generated code.
/// @domName SVGViewSpec
-interface SVGViewSpec {
+abstract class SVGViewSpec {
/** @domName SVGViewSpec.preserveAspectRatio */
- final SVGAnimatedPreserveAspectRatio preserveAspectRatio;
+ abstract SVGAnimatedPreserveAspectRatio get preserveAspectRatio;
/** @domName SVGViewSpec.preserveAspectRatioString */
- final String preserveAspectRatioString;
+ abstract String get preserveAspectRatioString;
/** @domName SVGViewSpec.transform */
- final SVGTransformList transform;
+ abstract SVGTransformList get transform;
/** @domName SVGViewSpec.transformString */
- final String transformString;
+ abstract String get transformString;
/** @domName SVGViewSpec.viewBox */
- final SVGAnimatedRect viewBox;
+ abstract SVGAnimatedRect get viewBox;
/** @domName SVGViewSpec.viewBoxString */
- final String viewBoxString;
+ abstract String get viewBoxString;
/** @domName SVGViewSpec.viewTarget */
- final SVGElement viewTarget;
+ abstract SVGElement get viewTarget;
/** @domName SVGViewSpec.viewTargetString */
- final String viewTargetString;
+ abstract String get viewTargetString;
/** @domName SVGViewSpec.zoomAndPan */
int zoomAndPan;
@@ -33303,7 +33424,7 @@ interface SVGViewSpec {
// WARNING: Do not edit - generated code.
/// @domName SVGZoomAndPan
-interface SVGZoomAndPan {
+abstract class SVGZoomAndPan {
static const int SVG_ZOOMANDPAN_DISABLE = 1;
@@ -33321,22 +33442,22 @@ interface SVGZoomAndPan {
// WARNING: Do not edit - generated code.
/// @domName SVGZoomEvent
-interface SVGZoomEvent extends UIEvent {
+abstract class SVGZoomEvent implements UIEvent {
/** @domName SVGZoomEvent.newScale */
- final num newScale;
+ abstract num get newScale;
/** @domName SVGZoomEvent.newTranslate */
- final SVGPoint newTranslate;
+ abstract SVGPoint get newTranslate;
/** @domName SVGZoomEvent.previousScale */
- final num previousScale;
+ abstract num get previousScale;
/** @domName SVGZoomEvent.previousTranslate */
- final SVGPoint previousTranslate;
+ abstract SVGPoint get previousTranslate;
/** @domName SVGZoomEvent.zoomRectScreen */
- final SVGRect zoomRectScreen;
+ abstract SVGRect get zoomRectScreen;
}
// 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
@@ -33345,31 +33466,31 @@ interface SVGZoomEvent extends UIEvent {
// WARNING: Do not edit - generated code.
/// @domName Screen
-interface Screen {
+abstract class Screen {
/** @domName Screen.availHeight */
- final int availHeight;
+ abstract int get availHeight;
/** @domName Screen.availLeft */
- final int availLeft;
+ abstract int get availLeft;
/** @domName Screen.availTop */
- final int availTop;
+ abstract int get availTop;
/** @domName Screen.availWidth */
- final int availWidth;
+ abstract int get availWidth;
/** @domName Screen.colorDepth */
- final int colorDepth;
+ abstract int get colorDepth;
/** @domName Screen.height */
- final int height;
+ abstract int get height;
/** @domName Screen.pixelDepth */
- final int pixelDepth;
+ abstract int get pixelDepth;
/** @domName Screen.width */
- final int width;
+ abstract int get width;
}
// 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
@@ -33378,9 +33499,9 @@ interface Screen {
// WARNING: Do not edit - generated code.
/// @domName HTMLScriptElement
-interface ScriptElement extends Element default _Elements {
+abstract class ScriptElement implements Element {
- ScriptElement();
+ factory ScriptElement() => _Elements.createScriptElement();
/** @domName HTMLScriptElement.async */
bool async;
@@ -33413,16 +33534,16 @@ interface ScriptElement extends Element default _Elements {
// WARNING: Do not edit - generated code.
/// @domName ScriptProfile
-interface ScriptProfile {
+abstract class ScriptProfile {
/** @domName ScriptProfile.head */
- final ScriptProfileNode head;
+ abstract ScriptProfileNode get head;
/** @domName ScriptProfile.title */
- final String title;
+ abstract String get title;
/** @domName ScriptProfile.uid */
- final int uid;
+ abstract int get uid;
}
// 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
@@ -33431,31 +33552,31 @@ interface ScriptProfile {
// WARNING: Do not edit - generated code.
/// @domName ScriptProfileNode
-interface ScriptProfileNode {
+abstract class ScriptProfileNode {
/** @domName ScriptProfileNode.callUID */
- final int callUID;
+ abstract int get callUID;
/** @domName ScriptProfileNode.functionName */
- final String functionName;
+ abstract String get functionName;
/** @domName ScriptProfileNode.lineNumber */
- final int lineNumber;
+ abstract int get lineNumber;
/** @domName ScriptProfileNode.numberOfCalls */
- final int numberOfCalls;
+ abstract int get numberOfCalls;
/** @domName ScriptProfileNode.selfTime */
- final num selfTime;
+ abstract num get selfTime;
/** @domName ScriptProfileNode.totalTime */
- final num totalTime;
+ abstract num get totalTime;
/** @domName ScriptProfileNode.url */
- final String url;
+ abstract String get url;
/** @domName ScriptProfileNode.visible */
- final bool visible;
+ abstract bool get visible;
/** @domName ScriptProfileNode.children */
List<ScriptProfileNode> children();
@@ -33467,9 +33588,9 @@ interface ScriptProfileNode {
// WARNING: Do not edit - generated code.
/// @domName HTMLSelectElement
-interface SelectElement extends Element default _Elements {
+abstract class SelectElement implements Element {
- SelectElement();
+ factory SelectElement() => _Elements.createSelectElement();
/** @domName HTMLSelectElement.autofocus */
bool autofocus;
@@ -33478,10 +33599,10 @@ interface SelectElement extends Element default _Elements {
bool disabled;
/** @domName HTMLSelectElement.form */
- final FormElement form;
+ abstract FormElement get form;
/** @domName HTMLSelectElement.labels */
- final NodeList labels;
+ abstract NodeList get labels;
/** @domName HTMLSelectElement.length */
int length;
@@ -33493,7 +33614,7 @@ interface SelectElement extends Element default _Elements {
String name;
/** @domName HTMLSelectElement.options */
- final HTMLOptionsCollection options;
+ abstract HTMLOptionsCollection get options;
/** @domName HTMLSelectElement.required */
bool required;
@@ -33502,25 +33623,25 @@ interface SelectElement extends Element default _Elements {
int selectedIndex;
/** @domName HTMLSelectElement.selectedOptions */
- final HTMLCollection selectedOptions;
+ abstract HTMLCollection get selectedOptions;
/** @domName HTMLSelectElement.size */
int size;
/** @domName HTMLSelectElement.type */
- final String type;
+ abstract String get type;
/** @domName HTMLSelectElement.validationMessage */
- final String validationMessage;
+ abstract String get validationMessage;
/** @domName HTMLSelectElement.validity */
- final ValidityState validity;
+ abstract ValidityState get validity;
/** @domName HTMLSelectElement.value */
String value;
/** @domName HTMLSelectElement.willValidate */
- final bool willValidate;
+ abstract bool get willValidate;
/** @domName HTMLSelectElement.checkValidity */
bool checkValidity();
@@ -33541,9 +33662,9 @@ interface SelectElement extends Element default _Elements {
// WARNING: Do not edit - generated code.
/// @domName SessionDescription
-interface SessionDescription default _SessionDescriptionFactoryProvider {
+abstract class SessionDescription {
- SessionDescription(String sdp);
+ factory SessionDescription(String sdp) => _SessionDescriptionFactoryProvider.createSessionDescription(sdp);
/** @domName SessionDescription.addCandidate */
void addCandidate(IceCandidate candidate);
@@ -33558,7 +33679,7 @@ interface SessionDescription default _SessionDescriptionFactoryProvider {
// WARNING: Do not edit - generated code.
/// @domName HTMLShadowElement
-interface ShadowElement extends Element {
+abstract class ShadowElement implements Element {
}
// 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
@@ -33567,12 +33688,12 @@ interface ShadowElement extends Element {
// WARNING: Do not edit - generated code.
/// @domName ShadowRoot
-interface ShadowRoot extends DocumentFragment default _ShadowRootFactoryProvider {
+abstract class ShadowRoot implements DocumentFragment {
- ShadowRoot(Element host);
+ factory ShadowRoot(Element host) => _ShadowRootFactoryProvider.createShadowRoot(host);
/** @domName ShadowRoot.activeElement */
- final Element activeElement;
+ abstract Element get activeElement;
/** @domName ShadowRoot.applyAuthorStyles */
bool applyAuthorStyles;
@@ -33608,12 +33729,17 @@ interface ShadowRoot extends DocumentFragment default _ShadowRootFactoryProvider
// WARNING: Do not edit - generated code.
/// @domName SharedWorker
-interface SharedWorker extends AbstractWorker default _SharedWorkerFactoryProvider {
+abstract class SharedWorker implements AbstractWorker {
- SharedWorker(String scriptURL, [String name]);
+ factory SharedWorker(String scriptURL, [String name]) {
+ if (!?name) {
+ return _SharedWorkerFactoryProvider.createSharedWorker(scriptURL);
+ }
+ return _SharedWorkerFactoryProvider.createSharedWorker(scriptURL, name);
+ }
/** @domName SharedWorker.port */
- final MessagePort port;
+ abstract MessagePort get port;
}
// 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
@@ -33622,7 +33748,7 @@ interface SharedWorker extends AbstractWorker default _SharedWorkerFactoryProvid
// WARNING: Do not edit - generated code.
/// @domName SharedWorkerContext
-interface SharedWorkerContext extends WorkerContext {
+abstract class SharedWorkerContext implements WorkerContext {
/**
* @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent
@@ -33630,10 +33756,10 @@ interface SharedWorkerContext extends WorkerContext {
SharedWorkerContextEvents get on;
/** @domName SharedWorkerContext.name */
- final String name;
+ abstract String get name;
}
-interface SharedWorkerContextEvents extends WorkerContextEvents {
+abstract class SharedWorkerContextEvents implements WorkerContextEvents {
EventListenerList get connect;
}
@@ -33644,10 +33770,10 @@ interface SharedWorkerContextEvents extends WorkerContextEvents {
// WARNING: Do not edit - generated code.
/// @domName SourceBuffer
-interface SourceBuffer {
+abstract class SourceBuffer {
/** @domName SourceBuffer.buffered */
- final TimeRanges buffered;
+ abstract TimeRanges get buffered;
/** @domName SourceBuffer.timestampOffset */
num timestampOffset;
@@ -33665,10 +33791,10 @@ interface SourceBuffer {
// WARNING: Do not edit - generated code.
/// @domName SourceBufferList
-interface SourceBufferList extends EventTarget {
+abstract class SourceBufferList implements EventTarget {
/** @domName SourceBufferList.length */
- final int length;
+ abstract int get length;
/** @domName SourceBufferList.addEventListener */
void $dom_addEventListener(String type, EventListener listener, [bool useCapture]);
@@ -33689,9 +33815,9 @@ interface SourceBufferList extends EventTarget {
// WARNING: Do not edit - generated code.
/// @domName HTMLSourceElement
-interface SourceElement extends Element default _Elements {
+abstract class SourceElement implements Element {
- SourceElement();
+ factory SourceElement() => _Elements.createSourceElement();
/** @domName HTMLSourceElement.media */
String media;
@@ -33709,9 +33835,9 @@ interface SourceElement extends Element default _Elements {
// WARNING: Do not edit - generated code.
/// @domName HTMLSpanElement
-interface SpanElement extends Element default _Elements {
+abstract class SpanElement implements Element {
- SpanElement();
+ factory SpanElement() => _Elements.createSpanElement();
}
// 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
@@ -33720,9 +33846,9 @@ interface SpanElement extends Element default _Elements {
// WARNING: Do not edit - generated code.
/// @domName SpeechGrammar
-interface SpeechGrammar default _SpeechGrammarFactoryProvider {
+abstract class SpeechGrammar {
- SpeechGrammar();
+ factory SpeechGrammar() => _SpeechGrammarFactoryProvider.createSpeechGrammar();
/** @domName SpeechGrammar.src */
String src;
@@ -33737,12 +33863,12 @@ interface SpeechGrammar default _SpeechGrammarFactoryProvider {
// WARNING: Do not edit - generated code.
/// @domName SpeechGrammarList
-interface SpeechGrammarList default _SpeechGrammarListFactoryProvider {
+abstract class SpeechGrammarList {
- SpeechGrammarList();
+ factory SpeechGrammarList() => _SpeechGrammarListFactoryProvider.createSpeechGrammarList();
/** @domName SpeechGrammarList.length */
- final int length;
+ abstract int get length;
/** @domName SpeechGrammarList.addFromString */
void addFromString(String string, [num weight]);
@@ -33760,10 +33886,10 @@ interface SpeechGrammarList default _SpeechGrammarListFactoryProvider {
// WARNING: Do not edit - generated code.
/// @domName SpeechInputEvent
-interface SpeechInputEvent extends Event {
+abstract class SpeechInputEvent implements Event {
/** @domName SpeechInputEvent.results */
- final SpeechInputResultList results;
+ abstract SpeechInputResultList get results;
}
// 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
@@ -33772,13 +33898,13 @@ interface SpeechInputEvent extends Event {
// WARNING: Do not edit - generated code.
/// @domName SpeechInputResult
-interface SpeechInputResult {
+abstract class SpeechInputResult {
/** @domName SpeechInputResult.confidence */
- final num confidence;
+ abstract num get confidence;
/** @domName SpeechInputResult.utterance */
- final String utterance;
+ abstract String get utterance;
}
// 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
@@ -33787,10 +33913,10 @@ interface SpeechInputResult {
// WARNING: Do not edit - generated code.
/// @domName SpeechInputResultList
-interface SpeechInputResultList {
+abstract class SpeechInputResultList {
/** @domName SpeechInputResultList.length */
- final int length;
+ abstract int get length;
/** @domName SpeechInputResultList.item */
SpeechInputResult item(int index);
@@ -33802,9 +33928,9 @@ interface SpeechInputResultList {
// WARNING: Do not edit - generated code.
/// @domName SpeechRecognition
-interface SpeechRecognition extends EventTarget default _SpeechRecognitionFactoryProvider {
+abstract class SpeechRecognition implements EventTarget {
- SpeechRecognition();
+ factory SpeechRecognition() => _SpeechRecognitionFactoryProvider.createSpeechRecognition();
/**
* @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent
@@ -33842,7 +33968,7 @@ interface SpeechRecognition extends EventTarget default _SpeechRecognitionFactor
void stop();
}
-interface SpeechRecognitionEvents extends Events {
+abstract class SpeechRecognitionEvents implements Events {
EventListenerList get audioEnd;
@@ -33875,13 +34001,13 @@ interface SpeechRecognitionEvents extends Events {
// WARNING: Do not edit - generated code.
/// @domName SpeechRecognitionAlternative
-interface SpeechRecognitionAlternative {
+abstract class SpeechRecognitionAlternative {
/** @domName SpeechRecognitionAlternative.confidence */
- final num confidence;
+ abstract num get confidence;
/** @domName SpeechRecognitionAlternative.transcript */
- final String transcript;
+ abstract String get transcript;
}
// 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
@@ -33890,7 +34016,7 @@ interface SpeechRecognitionAlternative {
// WARNING: Do not edit - generated code.
/// @domName SpeechRecognitionError
-interface SpeechRecognitionError extends Event {
+abstract class SpeechRecognitionError implements Event {
static const int ABORTED = 2;
@@ -33911,10 +34037,10 @@ interface SpeechRecognitionError extends Event {
static const int SERVICE_NOT_ALLOWED = 6;
/** @domName SpeechRecognitionError.code */
- final int code;
+ abstract int get code;
/** @domName SpeechRecognitionError.message */
- final String message;
+ abstract String get message;
}
// 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
@@ -33923,16 +34049,16 @@ interface SpeechRecognitionError extends Event {
// WARNING: Do not edit - generated code.
/// @domName SpeechRecognitionEvent
-interface SpeechRecognitionEvent extends Event {
+abstract class SpeechRecognitionEvent implements Event {
/** @domName SpeechRecognitionEvent.result */
- final SpeechRecognitionResult result;
+ abstract SpeechRecognitionResult get result;
/** @domName SpeechRecognitionEvent.resultHistory */
- final SpeechRecognitionResultList resultHistory;
+ abstract SpeechRecognitionResultList get resultHistory;
/** @domName SpeechRecognitionEvent.resultIndex */
- final int resultIndex;
+ abstract int get resultIndex;
}
// 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
@@ -33941,16 +34067,16 @@ interface SpeechRecognitionEvent extends Event {
// WARNING: Do not edit - generated code.
/// @domName SpeechRecognitionResult
-interface SpeechRecognitionResult {
+abstract class SpeechRecognitionResult {
/** @domName SpeechRecognitionResult.emma */
- final Document emma;
+ abstract Document get emma;
/** @domName SpeechRecognitionResult.finalValue */
- final bool finalValue;
+ abstract bool get finalValue;
/** @domName SpeechRecognitionResult.length */
- final int length;
+ abstract int get length;
/** @domName SpeechRecognitionResult.item */
SpeechRecognitionAlternative item(int index);
@@ -33962,10 +34088,10 @@ interface SpeechRecognitionResult {
// WARNING: Do not edit - generated code.
/// @domName SpeechRecognitionResultList
-interface SpeechRecognitionResultList {
+abstract class SpeechRecognitionResultList {
/** @domName SpeechRecognitionResultList.length */
- final int length;
+ abstract int get length;
/** @domName SpeechRecognitionResultList.item */
SpeechRecognitionResult item(int index);
@@ -33975,10 +34101,10 @@ interface SpeechRecognitionResultList {
// BSD-style license that can be found in the LICENSE file.
/// @domName Storage
-interface Storage extends Map<String, String> {
+abstract class Storage implements Map<String, String> {
/** @domName Storage.length */
- final int $dom_length;
+ abstract int get $dom_length;
/** @domName Storage.clear */
void $dom_clear();
@@ -34003,22 +34129,22 @@ interface Storage extends Map<String, String> {
// WARNING: Do not edit - generated code.
/// @domName StorageEvent
-interface StorageEvent extends Event {
+abstract class StorageEvent implements Event {
/** @domName StorageEvent.key */
- final String key;
+ abstract String get key;
/** @domName StorageEvent.newValue */
- final String newValue;
+ abstract String get newValue;
/** @domName StorageEvent.oldValue */
- final String oldValue;
+ abstract String get oldValue;
/** @domName StorageEvent.storageArea */
- final Storage storageArea;
+ abstract Storage get storageArea;
/** @domName StorageEvent.url */
- final String url;
+ abstract String get url;
/** @domName StorageEvent.initStorageEvent */
void initStorageEvent(String typeArg, bool canBubbleArg, bool cancelableArg, String keyArg, String oldValueArg, String newValueArg, String urlArg, Storage storageAreaArg);
@@ -34030,7 +34156,7 @@ interface StorageEvent extends Event {
// WARNING: Do not edit - generated code.
/// @domName StorageInfo
-interface StorageInfo {
+abstract class StorageInfo {
static const int PERSISTENT = 1;
@@ -34077,9 +34203,9 @@ typedef bool StringCallback(String data);
// WARNING: Do not edit - generated code.
/// @domName HTMLStyleElement
-interface StyleElement extends Element default _Elements {
+abstract class StyleElement implements Element {
- StyleElement();
+ factory StyleElement() => _Elements.createStyleElement();
/** @domName HTMLStyleElement.disabled */
bool disabled;
@@ -34091,7 +34217,7 @@ interface StyleElement extends Element default _Elements {
bool scoped;
/** @domName HTMLStyleElement.sheet */
- final StyleSheet sheet;
+ abstract StyleSheet get sheet;
/** @domName HTMLStyleElement.type */
String type;
@@ -34103,10 +34229,10 @@ interface StyleElement extends Element default _Elements {
// WARNING: Do not edit - generated code.
/// @domName StyleMedia
-interface StyleMedia {
+abstract class StyleMedia {
/** @domName StyleMedia.type */
- final String type;
+ abstract String get type;
/** @domName StyleMedia.matchMedium */
bool matchMedium(String mediaquery);
@@ -34118,28 +34244,28 @@ interface StyleMedia {
// WARNING: Do not edit - generated code.
/// @domName StyleSheet
-interface StyleSheet {
+abstract class StyleSheet {
/** @domName StyleSheet.disabled */
bool disabled;
/** @domName StyleSheet.href */
- final String href;
+ abstract String get href;
/** @domName StyleSheet.media */
- final MediaList media;
+ abstract MediaList get media;
/** @domName StyleSheet.ownerNode */
- final Node ownerNode;
+ abstract Node get ownerNode;
/** @domName StyleSheet.parentStyleSheet */
- final StyleSheet parentStyleSheet;
+ abstract StyleSheet get parentStyleSheet;
/** @domName StyleSheet.title */
- final String title;
+ abstract String get title;
/** @domName StyleSheet.type */
- final String type;
+ abstract String get type;
}
// 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
@@ -34148,10 +34274,10 @@ interface StyleSheet {
// WARNING: Do not edit - generated code.
/// @domName StyleSheetList
-interface StyleSheetList extends List<StyleSheet> {
+abstract class StyleSheetList implements List<StyleSheet> {
/** @domName StyleSheetList.length */
- final int length;
+ abstract int get length;
/** @domName StyleSheetList.item */
StyleSheet item(int index);
@@ -34163,9 +34289,9 @@ interface StyleSheetList extends List<StyleSheet> {
// WARNING: Do not edit - generated code.
/// @domName HTMLTableCaptionElement
-interface TableCaptionElement extends Element default _Elements {
+abstract class TableCaptionElement implements Element {
- TableCaptionElement();
+ factory TableCaptionElement() => _Elements.createTableCaptionElement();
/** @domName HTMLTableCaptionElement.align */
String align;
@@ -34177,9 +34303,9 @@ interface TableCaptionElement extends Element default _Elements {
// WARNING: Do not edit - generated code.
/// @domName HTMLTableCellElement
-interface TableCellElement extends Element default _Elements {
+abstract class TableCellElement implements Element {
- TableCellElement();
+ factory TableCellElement() => _Elements.createTableCellElement();
/** @domName HTMLTableCellElement.abbr */
String abbr;
@@ -34194,7 +34320,7 @@ interface TableCellElement extends Element default _Elements {
String bgColor;
/** @domName HTMLTableCellElement.cellIndex */
- final int cellIndex;
+ abstract int get cellIndex;
/** @domName HTMLTableCellElement.ch */
String ch;
@@ -34233,9 +34359,9 @@ interface TableCellElement extends Element default _Elements {
// WARNING: Do not edit - generated code.
/// @domName HTMLTableColElement
-interface TableColElement extends Element default _Elements {
+abstract class TableColElement implements Element {
- TableColElement();
+ factory TableColElement() => _Elements.createTableColElement();
/** @domName HTMLTableColElement.align */
String align;
@@ -34262,9 +34388,9 @@ interface TableColElement extends Element default _Elements {
// WARNING: Do not edit - generated code.
/// @domName HTMLTableElement
-interface TableElement extends Element default _Elements {
+abstract class TableElement implements Element {
- TableElement();
+ factory TableElement() => _Elements.createTableElement();
/** @domName HTMLTableElement.align */
String align;
@@ -34288,7 +34414,7 @@ interface TableElement extends Element default _Elements {
String frame;
/** @domName HTMLTableElement.rows */
- final HTMLCollection rows;
+ abstract HTMLCollection get rows;
/** @domName HTMLTableElement.rules */
String rules;
@@ -34297,7 +34423,7 @@ interface TableElement extends Element default _Elements {
String summary;
/** @domName HTMLTableElement.tBodies */
- final HTMLCollection tBodies;
+ abstract HTMLCollection get tBodies;
/** @domName HTMLTableElement.tFoot */
TableSectionElement tFoot;
@@ -34342,9 +34468,9 @@ interface TableElement extends Element default _Elements {
// WARNING: Do not edit - generated code.
/// @domName HTMLTableRowElement
-interface TableRowElement extends Element default _Elements {
+abstract class TableRowElement implements Element {
- TableRowElement();
+ factory TableRowElement() => _Elements.createTableRowElement();
/** @domName HTMLTableRowElement.align */
String align;
@@ -34353,7 +34479,7 @@ interface TableRowElement extends Element default _Elements {
String bgColor;
/** @domName HTMLTableRowElement.cells */
- final HTMLCollection cells;
+ abstract HTMLCollection get cells;
/** @domName HTMLTableRowElement.ch */
String ch;
@@ -34362,10 +34488,10 @@ interface TableRowElement extends Element default _Elements {
String chOff;
/** @domName HTMLTableRowElement.rowIndex */
- final int rowIndex;
+ abstract int get rowIndex;
/** @domName HTMLTableRowElement.sectionRowIndex */
- final int sectionRowIndex;
+ abstract int get sectionRowIndex;
/** @domName HTMLTableRowElement.vAlign */
String vAlign;
@@ -34383,7 +34509,7 @@ interface TableRowElement extends Element default _Elements {
// WARNING: Do not edit - generated code.
/// @domName HTMLTableSectionElement
-interface TableSectionElement extends Element {
+abstract class TableSectionElement implements Element {
/** @domName HTMLTableSectionElement.align */
String align;
@@ -34395,7 +34521,7 @@ interface TableSectionElement extends Element {
String chOff;
/** @domName HTMLTableSectionElement.rows */
- final HTMLCollection rows;
+ abstract HTMLCollection get rows;
/** @domName HTMLTableSectionElement.vAlign */
String vAlign;
@@ -34413,12 +34539,12 @@ interface TableSectionElement extends Element {
// WARNING: Do not edit - generated code.
/// @domName Text
-interface Text extends CharacterData default _TextFactoryProvider {
+abstract class Text implements CharacterData {
- Text(String data);
+ factory Text(String data) => _TextFactoryProvider.createText(data);
/** @domName Text.wholeText */
- final String wholeText;
+ abstract String get wholeText;
/** @domName Text.replaceWholeText */
Text replaceWholeText(String content);
@@ -34433,9 +34559,9 @@ interface Text extends CharacterData default _TextFactoryProvider {
// WARNING: Do not edit - generated code.
/// @domName HTMLTextAreaElement
-interface TextAreaElement extends Element default _Elements {
+abstract class TextAreaElement implements Element {
- TextAreaElement();
+ factory TextAreaElement() => _Elements.createTextAreaElement();
/** @domName HTMLTextAreaElement.autofocus */
bool autofocus;
@@ -34450,10 +34576,10 @@ interface TextAreaElement extends Element default _Elements {
bool disabled;
/** @domName HTMLTextAreaElement.form */
- final FormElement form;
+ abstract FormElement get form;
/** @domName HTMLTextAreaElement.labels */
- final NodeList labels;
+ abstract NodeList get labels;
/** @domName HTMLTextAreaElement.maxLength */
int maxLength;
@@ -34483,22 +34609,22 @@ interface TextAreaElement extends Element default _Elements {
int selectionStart;
/** @domName HTMLTextAreaElement.textLength */
- final int textLength;
+ abstract int get textLength;
/** @domName HTMLTextAreaElement.type */
- final String type;
+ abstract String get type;
/** @domName HTMLTextAreaElement.validationMessage */
- final String validationMessage;
+ abstract String get validationMessage;
/** @domName HTMLTextAreaElement.validity */
- final ValidityState validity;
+ abstract ValidityState get validity;
/** @domName HTMLTextAreaElement.value */
String value;
/** @domName HTMLTextAreaElement.willValidate */
- final bool willValidate;
+ abstract bool get willValidate;
/** @domName HTMLTextAreaElement.wrap */
String wrap;
@@ -34522,10 +34648,10 @@ interface TextAreaElement extends Element default _Elements {
// WARNING: Do not edit - generated code.
/// @domName TextEvent
-interface TextEvent extends UIEvent {
+abstract class TextEvent implements UIEvent {
/** @domName TextEvent.data */
- final String data;
+ abstract String get data;
/** @domName TextEvent.initTextEvent */
void initTextEvent(String typeArg, bool canBubbleArg, bool cancelableArg, Window viewArg, String dataArg);
@@ -34537,10 +34663,10 @@ interface TextEvent extends UIEvent {
// WARNING: Do not edit - generated code.
/// @domName TextMetrics
-interface TextMetrics {
+abstract class TextMetrics {
/** @domName TextMetrics.width */
- final num width;
+ abstract num get width;
}
// 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
@@ -34549,7 +34675,7 @@ interface TextMetrics {
// WARNING: Do not edit - generated code.
/// @domName TextTrack
-interface TextTrack extends EventTarget {
+abstract class TextTrack implements EventTarget {
/**
* @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent
@@ -34557,19 +34683,19 @@ interface TextTrack extends EventTarget {
TextTrackEvents get on;
/** @domName TextTrack.activeCues */
- final TextTrackCueList activeCues;
+ abstract TextTrackCueList get activeCues;
/** @domName TextTrack.cues */
- final TextTrackCueList cues;
+ abstract TextTrackCueList get cues;
/** @domName TextTrack.kind */
- final String kind;
+ abstract String get kind;
/** @domName TextTrack.label */
- final String label;
+ abstract String get label;
/** @domName TextTrack.language */
- final String language;
+ abstract String get language;
/** @domName TextTrack.mode */
String mode;
@@ -34590,7 +34716,7 @@ interface TextTrack extends EventTarget {
void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]);
}
-interface TextTrackEvents extends Events {
+abstract class TextTrackEvents implements Events {
EventListenerList get cueChange;
}
@@ -34601,9 +34727,9 @@ interface TextTrackEvents extends Events {
// WARNING: Do not edit - generated code.
/// @domName TextTrackCue
-interface TextTrackCue extends EventTarget default _TextTrackCueFactoryProvider {
+abstract class TextTrackCue implements EventTarget {
- TextTrackCue(num startTime, num endTime, String text);
+ factory TextTrackCue(num startTime, num endTime, String text) => _TextTrackCueFactoryProvider.createTextTrackCue(startTime, endTime, text);
/**
* @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent
@@ -34641,7 +34767,7 @@ interface TextTrackCue extends EventTarget default _TextTrackCueFactoryProvider
String text;
/** @domName TextTrackCue.track */
- final TextTrack track;
+ abstract TextTrack get track;
/** @domName TextTrackCue.vertical */
String vertical;
@@ -34659,7 +34785,7 @@ interface TextTrackCue extends EventTarget default _TextTrackCueFactoryProvider
void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]);
}
-interface TextTrackCueEvents extends Events {
+abstract class TextTrackCueEvents implements Events {
EventListenerList get enter;
@@ -34672,10 +34798,10 @@ interface TextTrackCueEvents extends Events {
// WARNING: Do not edit - generated code.
/// @domName TextTrackCueList
-interface TextTrackCueList {
+abstract class TextTrackCueList {
/** @domName TextTrackCueList.length */
- final int length;
+ abstract int get length;
/** @domName TextTrackCueList.getCueById */
TextTrackCue getCueById(String id);
@@ -34690,7 +34816,7 @@ interface TextTrackCueList {
// WARNING: Do not edit - generated code.
/// @domName TextTrackList
-interface TextTrackList extends EventTarget {
+abstract class TextTrackList implements EventTarget {
/**
* @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent
@@ -34698,7 +34824,7 @@ interface TextTrackList extends EventTarget {
TextTrackListEvents get on;
/** @domName TextTrackList.length */
- final int length;
+ abstract int get length;
/** @domName TextTrackList.addEventListener */
void $dom_addEventListener(String type, EventListener listener, [bool useCapture]);
@@ -34713,7 +34839,7 @@ interface TextTrackList extends EventTarget {
void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]);
}
-interface TextTrackListEvents extends Events {
+abstract class TextTrackListEvents implements Events {
EventListenerList get addTrack;
}
@@ -34724,10 +34850,10 @@ interface TextTrackListEvents extends Events {
// WARNING: Do not edit - generated code.
/// @domName TimeRanges
-interface TimeRanges {
+abstract class TimeRanges {
/** @domName TimeRanges.length */
- final int length;
+ abstract int get length;
/** @domName TimeRanges.end */
num end(int index);
@@ -34749,9 +34875,9 @@ typedef void TimeoutHandler();
// WARNING: Do not edit - generated code.
/// @domName HTMLTitleElement
-interface TitleElement extends Element default _Elements {
+abstract class TitleElement implements Element {
- TitleElement();
+ factory TitleElement() => _Elements.createTitleElement();
}
// 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
@@ -34760,43 +34886,43 @@ interface TitleElement extends Element default _Elements {
// WARNING: Do not edit - generated code.
/// @domName Touch
-interface Touch {
+abstract class Touch {
/** @domName Touch.clientX */
- final int clientX;
+ abstract int get clientX;
/** @domName Touch.clientY */
- final int clientY;
+ abstract int get clientY;
/** @domName Touch.identifier */
- final int identifier;
+ abstract int get identifier;
/** @domName Touch.pageX */
- final int pageX;
+ abstract int get pageX;
/** @domName Touch.pageY */
- final int pageY;
+ abstract int get pageY;
/** @domName Touch.screenX */
- final int screenX;
+ abstract int get screenX;
/** @domName Touch.screenY */
- final int screenY;
+ abstract int get screenY;
/** @domName Touch.target */
- final EventTarget target;
+ abstract EventTarget get target;
/** @domName Touch.webkitForce */
- final num webkitForce;
+ abstract num get webkitForce;
/** @domName Touch.webkitRadiusX */
- final int webkitRadiusX;
+ abstract int get webkitRadiusX;
/** @domName Touch.webkitRadiusY */
- final int webkitRadiusY;
+ abstract int get webkitRadiusY;
/** @domName Touch.webkitRotationAngle */
- final num webkitRotationAngle;
+ abstract num get webkitRotationAngle;
}
// 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
@@ -34805,28 +34931,28 @@ interface Touch {
// WARNING: Do not edit - generated code.
/// @domName TouchEvent
-interface TouchEvent extends UIEvent {
+abstract class TouchEvent implements UIEvent {
/** @domName TouchEvent.altKey */
- final bool altKey;
+ abstract bool get altKey;
/** @domName TouchEvent.changedTouches */
- final TouchList changedTouches;
+ abstract TouchList get changedTouches;
/** @domName TouchEvent.ctrlKey */
- final bool ctrlKey;
+ abstract bool get ctrlKey;
/** @domName TouchEvent.metaKey */
- final bool metaKey;
+ abstract bool get metaKey;
/** @domName TouchEvent.shiftKey */
- final bool shiftKey;
+ abstract bool get shiftKey;
/** @domName TouchEvent.targetTouches */
- final TouchList targetTouches;
+ abstract TouchList get targetTouches;
/** @domName TouchEvent.touches */
- final TouchList touches;
+ abstract TouchList get touches;
/** @domName TouchEvent.initTouchEvent */
void initTouchEvent(TouchList touches, TouchList targetTouches, TouchList changedTouches, String type, Window view, int screenX, int screenY, int clientX, int clientY, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey);
@@ -34838,10 +34964,10 @@ interface TouchEvent extends UIEvent {
// WARNING: Do not edit - generated code.
/// @domName TouchList
-interface TouchList extends List<Touch> {
+abstract class TouchList implements List<Touch> {
/** @domName TouchList.length */
- final int length;
+ abstract int get length;
/** @domName TouchList.item */
Touch item(int index);
@@ -34853,9 +34979,9 @@ interface TouchList extends List<Touch> {
// WARNING: Do not edit - generated code.
/// @domName HTMLTrackElement
-interface TrackElement extends Element default _Elements {
+abstract class TrackElement implements Element {
- TrackElement();
+ factory TrackElement() => _Elements.createTrackElement();
static const int ERROR = 3;
@@ -34875,7 +35001,7 @@ interface TrackElement extends Element default _Elements {
String label;
/** @domName HTMLTrackElement.readyState */
- final int readyState;
+ abstract int get readyState;
/** @domName HTMLTrackElement.src */
String src;
@@ -34884,7 +35010,7 @@ interface TrackElement extends Element default _Elements {
String srclang;
/** @domName HTMLTrackElement.track */
- final TextTrack track;
+ abstract TextTrack get track;
}
// 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
@@ -34893,10 +35019,10 @@ interface TrackElement extends Element default _Elements {
// WARNING: Do not edit - generated code.
/// @domName TrackEvent
-interface TrackEvent extends Event {
+abstract class TrackEvent implements Event {
/** @domName TrackEvent.track */
- final Object track;
+ abstract Object get track;
}
// 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
@@ -34905,13 +35031,13 @@ interface TrackEvent extends Event {
// WARNING: Do not edit - generated code.
/// @domName WebKitTransitionEvent
-interface TransitionEvent extends Event {
+abstract class TransitionEvent implements Event {
/** @domName WebKitTransitionEvent.elapsedTime */
- final num elapsedTime;
+ abstract num get elapsedTime;
/** @domName WebKitTransitionEvent.propertyName */
- final String propertyName;
+ abstract String get propertyName;
}
// 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
@@ -34920,22 +35046,22 @@ interface TransitionEvent extends Event {
// WARNING: Do not edit - generated code.
/// @domName TreeWalker
-interface TreeWalker {
+abstract class TreeWalker {
/** @domName TreeWalker.currentNode */
Node currentNode;
/** @domName TreeWalker.expandEntityReferences */
- final bool expandEntityReferences;
+ abstract bool get expandEntityReferences;
/** @domName TreeWalker.filter */
- final NodeFilter filter;
+ abstract NodeFilter get filter;
/** @domName TreeWalker.root */
- final Node root;
+ abstract Node get root;
/** @domName TreeWalker.whatToShow */
- final int whatToShow;
+ abstract int get whatToShow;
/** @domName TreeWalker.firstChild */
Node firstChild();
@@ -34965,34 +35091,34 @@ interface TreeWalker {
// WARNING: Do not edit - generated code.
/// @domName UIEvent
-interface UIEvent extends Event {
+abstract class UIEvent implements Event {
/** @domName UIEvent.charCode */
- final int charCode;
+ abstract int get charCode;
/** @domName UIEvent.detail */
- final int detail;
+ abstract int get detail;
/** @domName UIEvent.keyCode */
- final int keyCode;
+ abstract int get keyCode;
/** @domName UIEvent.layerX */
- final int layerX;
+ abstract int get layerX;
/** @domName UIEvent.layerY */
- final int layerY;
+ abstract int get layerY;
/** @domName UIEvent.pageX */
- final int pageX;
+ abstract int get pageX;
/** @domName UIEvent.pageY */
- final int pageY;
+ abstract int get pageY;
/** @domName UIEvent.view */
- final Window view;
+ abstract Window get view;
/** @domName UIEvent.which */
- final int which;
+ abstract int get which;
/** @domName UIEvent.initUIEvent */
void initUIEvent(String type, bool canBubble, bool cancelable, Window view, int detail);
@@ -35004,9 +35130,9 @@ interface UIEvent extends Event {
// WARNING: Do not edit - generated code.
/// @domName HTMLUListElement
-interface UListElement extends Element default _Elements {
+abstract class UListElement implements Element {
- UListElement();
+ factory UListElement() => _Elements.createUListElement();
/** @domName HTMLUListElement.compact */
bool compact;
@@ -35021,18 +35147,21 @@ interface UListElement extends Element default _Elements {
// WARNING: Do not edit - generated code.
/// @domName Uint16Array
-interface Uint16Array extends ArrayBufferView, List<int> default _TypedArrayFactoryProvider {
+abstract class Uint16Array implements ArrayBufferView, List<int> {
- Uint16Array(int length);
+ factory Uint16Array(int length) =>
+ _TypedArrayFactoryProvider.createUint16Array(length);
- Uint16Array.fromList(List<int> list);
+ factory Uint16Array.fromList(List<int> list) =>
+ _TypedArrayFactoryProvider.createUint16Array_fromList(list);
- Uint16Array.fromBuffer(ArrayBuffer buffer, [int byteOffset, int length]);
+ factory Uint16Array.fromBuffer(ArrayBuffer buffer, [int byteOffset, int length]) =>
+ _TypedArrayFactoryProvider.createUint16Array_fromBuffer(buffer, byteOffset, length);
static const int BYTES_PER_ELEMENT = 2;
/** @domName Uint16Array.length */
- final int length;
+ abstract int get length;
/** @domName Uint16Array.setElements */
void setElements(Object array, [int offset]);
@@ -35047,18 +35176,21 @@ interface Uint16Array extends ArrayBufferView, List<int> default _TypedArrayFact
// WARNING: Do not edit - generated code.
/// @domName Uint32Array
-interface Uint32Array extends ArrayBufferView, List<int> default _TypedArrayFactoryProvider {
+abstract class Uint32Array implements ArrayBufferView, List<int> {
- Uint32Array(int length);
+ factory Uint32Array(int length) =>
+ _TypedArrayFactoryProvider.createUint32Array(length);
- Uint32Array.fromList(List<int> list);
+ factory Uint32Array.fromList(List<int> list) =>
+ _TypedArrayFactoryProvider.createUint32Array_fromList(list);
- Uint32Array.fromBuffer(ArrayBuffer buffer, [int byteOffset, int length]);
+ factory Uint32Array.fromBuffer(ArrayBuffer buffer, [int byteOffset, int length]) =>
+ _TypedArrayFactoryProvider.createUint32Array_fromBuffer(buffer, byteOffset, length);
static const int BYTES_PER_ELEMENT = 4;
/** @domName Uint32Array.length */
- final int length;
+ abstract int get length;
/** @domName Uint32Array.setElements */
void setElements(Object array, [int offset]);
@@ -35073,18 +35205,21 @@ interface Uint32Array extends ArrayBufferView, List<int> default _TypedArrayFact
// WARNING: Do not edit - generated code.
/// @domName Uint8Array
-interface Uint8Array extends ArrayBufferView, List<int> default _TypedArrayFactoryProvider {
+abstract class Uint8Array implements ArrayBufferView, List<int> {
- Uint8Array(int length);
+ factory Uint8Array(int length) =>
+ _TypedArrayFactoryProvider.createUint8Array(length);
- Uint8Array.fromList(List<int> list);
+ factory Uint8Array.fromList(List<int> list) =>
+ _TypedArrayFactoryProvider.createUint8Array_fromList(list);
- Uint8Array.fromBuffer(ArrayBuffer buffer, [int byteOffset, int length]);
+ factory Uint8Array.fromBuffer(ArrayBuffer buffer, [int byteOffset, int length]) =>
+ _TypedArrayFactoryProvider.createUint8Array_fromBuffer(buffer, byteOffset, length);
static const int BYTES_PER_ELEMENT = 1;
/** @domName Uint8Array.length */
- final int length;
+ abstract int get length;
/** @domName Uint8Array.setElements */
void setElements(Object array, [int offset]);
@@ -35099,16 +35234,19 @@ interface Uint8Array extends ArrayBufferView, List<int> default _TypedArrayFacto
// WARNING: Do not edit - generated code.
/// @domName Uint8ClampedArray
-interface Uint8ClampedArray extends Uint8Array default _TypedArrayFactoryProvider {
+abstract class Uint8ClampedArray implements Uint8Array {
- Uint8ClampedArray(int length);
+ factory Uint8ClampedArray(int length) =>
+ _TypedArrayFactoryProvider.createUint8ClampedArray(length);
- Uint8ClampedArray.fromList(List<int> list);
+ factory Uint8ClampedArray.fromList(List<int> list) =>
+ _TypedArrayFactoryProvider.createUint8ClampedArray_fromList(list);
- Uint8ClampedArray.fromBuffer(ArrayBuffer buffer, [int byteOffset, int length]);
+ factory Uint8ClampedArray.fromBuffer(ArrayBuffer buffer, [int byteOffset, int length]) =>
+ _TypedArrayFactoryProvider.createUint8ClampedArray_fromBuffer(buffer, byteOffset, length);
/** @domName Uint8ClampedArray.length */
- final int length;
+ abstract int get length;
/** @domName Uint8ClampedArray.setElements */
void setElements(Object array, [int offset]);
@@ -35123,7 +35261,7 @@ interface Uint8ClampedArray extends Uint8Array default _TypedArrayFactoryProvide
// WARNING: Do not edit - generated code.
/// @domName HTMLUnknownElement
-interface UnknownElement extends Element {
+abstract class UnknownElement implements Element {
}
// 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
@@ -35132,34 +35270,34 @@ interface UnknownElement extends Element {
// WARNING: Do not edit - generated code.
/// @domName ValidityState
-interface ValidityState {
+abstract class ValidityState {
/** @domName ValidityState.customError */
- final bool customError;
+ abstract bool get customError;
/** @domName ValidityState.patternMismatch */
- final bool patternMismatch;
+ abstract bool get patternMismatch;
/** @domName ValidityState.rangeOverflow */
- final bool rangeOverflow;
+ abstract bool get rangeOverflow;
/** @domName ValidityState.rangeUnderflow */
- final bool rangeUnderflow;
+ abstract bool get rangeUnderflow;
/** @domName ValidityState.stepMismatch */
- final bool stepMismatch;
+ abstract bool get stepMismatch;
/** @domName ValidityState.tooLong */
- final bool tooLong;
+ abstract bool get tooLong;
/** @domName ValidityState.typeMismatch */
- final bool typeMismatch;
+ abstract bool get typeMismatch;
/** @domName ValidityState.valid */
- final bool valid;
+ abstract bool get valid;
/** @domName ValidityState.valueMissing */
- final bool valueMissing;
+ abstract bool get valueMissing;
}
// 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
@@ -35168,9 +35306,9 @@ interface ValidityState {
// WARNING: Do not edit - generated code.
/// @domName HTMLVideoElement
-interface VideoElement extends MediaElement default _Elements {
+abstract class VideoElement implements MediaElement {
- VideoElement();
+ factory VideoElement() => _Elements.createVideoElement();
/** @domName HTMLVideoElement.height */
int height;
@@ -35179,22 +35317,22 @@ interface VideoElement extends MediaElement default _Elements {
String poster;
/** @domName HTMLVideoElement.videoHeight */
- final int videoHeight;
+ abstract int get videoHeight;
/** @domName HTMLVideoElement.videoWidth */
- final int videoWidth;
+ abstract int get videoWidth;
/** @domName HTMLVideoElement.webkitDecodedFrameCount */
- final int webkitDecodedFrameCount;
+ abstract int get webkitDecodedFrameCount;
/** @domName HTMLVideoElement.webkitDisplayingFullscreen */
- final bool webkitDisplayingFullscreen;
+ abstract bool get webkitDisplayingFullscreen;
/** @domName HTMLVideoElement.webkitDroppedFrameCount */
- final int webkitDroppedFrameCount;
+ abstract int get webkitDroppedFrameCount;
/** @domName HTMLVideoElement.webkitSupportsFullscreen */
- final bool webkitSupportsFullscreen;
+ abstract bool get webkitSupportsFullscreen;
/** @domName HTMLVideoElement.width */
int width;
@@ -35225,7 +35363,7 @@ typedef bool VoidCallback();
// WARNING: Do not edit - generated code.
/// @domName WaveShaperNode
-interface WaveShaperNode extends AudioNode {
+abstract class WaveShaperNode implements AudioNode {
/** @domName WaveShaperNode.curve */
Float32Array curve;
@@ -35237,7 +35375,7 @@ interface WaveShaperNode extends AudioNode {
// WARNING: Do not edit - generated code.
/// @domName WaveTable
-interface WaveTable {
+abstract class WaveTable {
}
// 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
@@ -35246,16 +35384,16 @@ interface WaveTable {
// WARNING: Do not edit - generated code.
/// @domName WebGLActiveInfo
-interface WebGLActiveInfo {
+abstract class WebGLActiveInfo {
/** @domName WebGLActiveInfo.name */
- final String name;
+ abstract String get name;
/** @domName WebGLActiveInfo.size */
- final int size;
+ abstract int get size;
/** @domName WebGLActiveInfo.type */
- final int type;
+ abstract int get type;
}
// 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
@@ -35264,7 +35402,7 @@ interface WebGLActiveInfo {
// WARNING: Do not edit - generated code.
/// @domName WebGLBuffer
-interface WebGLBuffer {
+abstract class WebGLBuffer {
}
// 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
@@ -35273,7 +35411,7 @@ interface WebGLBuffer {
// WARNING: Do not edit - generated code.
/// @domName WebGLCompressedTextureS3TC
-interface WebGLCompressedTextureS3TC {
+abstract class WebGLCompressedTextureS3TC {
static const int COMPRESSED_RGBA_S3TC_DXT1_EXT = 0x83F1;
@@ -35290,7 +35428,7 @@ interface WebGLCompressedTextureS3TC {
// WARNING: Do not edit - generated code.
/// @domName WebGLContextAttributes
-interface WebGLContextAttributes {
+abstract class WebGLContextAttributes {
/** @domName WebGLContextAttributes.alpha */
bool alpha;
@@ -35317,10 +35455,10 @@ interface WebGLContextAttributes {
// WARNING: Do not edit - generated code.
/// @domName WebGLContextEvent
-interface WebGLContextEvent extends Event {
+abstract class WebGLContextEvent implements Event {
/** @domName WebGLContextEvent.statusMessage */
- final String statusMessage;
+ abstract String get statusMessage;
}
// 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
@@ -35329,7 +35467,7 @@ interface WebGLContextEvent extends Event {
// WARNING: Do not edit - generated code.
/// @domName WebGLDebugRendererInfo
-interface WebGLDebugRendererInfo {
+abstract class WebGLDebugRendererInfo {
static const int UNMASKED_RENDERER_WEBGL = 0x9246;
@@ -35342,7 +35480,7 @@ interface WebGLDebugRendererInfo {
// WARNING: Do not edit - generated code.
/// @domName WebGLDebugShaders
-interface WebGLDebugShaders {
+abstract class WebGLDebugShaders {
/** @domName WebGLDebugShaders.getTranslatedShaderSource */
String getTranslatedShaderSource(WebGLShader shader);
@@ -35354,7 +35492,7 @@ interface WebGLDebugShaders {
// WARNING: Do not edit - generated code.
/// @domName WebGLDepthTexture
-interface WebGLDepthTexture {
+abstract class WebGLDepthTexture {
static const int UNSIGNED_INT_24_8_WEBGL = 0x84FA;
}
@@ -35365,7 +35503,7 @@ interface WebGLDepthTexture {
// WARNING: Do not edit - generated code.
/// @domName WebGLFramebuffer
-interface WebGLFramebuffer {
+abstract class WebGLFramebuffer {
}
// 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
@@ -35374,7 +35512,7 @@ interface WebGLFramebuffer {
// WARNING: Do not edit - generated code.
/// @domName WebGLLoseContext
-interface WebGLLoseContext {
+abstract class WebGLLoseContext {
/** @domName WebGLLoseContext.loseContext */
void loseContext();
@@ -35389,7 +35527,7 @@ interface WebGLLoseContext {
// WARNING: Do not edit - generated code.
/// @domName WebGLProgram
-interface WebGLProgram {
+abstract class WebGLProgram {
}
// 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
@@ -35398,7 +35536,7 @@ interface WebGLProgram {
// WARNING: Do not edit - generated code.
/// @domName WebGLRenderbuffer
-interface WebGLRenderbuffer {
+abstract class WebGLRenderbuffer {
}
// 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
@@ -35407,7 +35545,7 @@ interface WebGLRenderbuffer {
// WARNING: Do not edit - generated code.
/// @domName WebGLRenderingContext
-interface WebGLRenderingContext extends CanvasRenderingContext {
+abstract class WebGLRenderingContext implements CanvasRenderingContext {
static const int ACTIVE_ATTRIBUTES = 0x8B89;
@@ -36000,10 +36138,10 @@ interface WebGLRenderingContext extends CanvasRenderingContext {
static const int ZERO = 0;
/** @domName WebGLRenderingContext.drawingBufferHeight */
- final int drawingBufferHeight;
+ abstract int get drawingBufferHeight;
/** @domName WebGLRenderingContext.drawingBufferWidth */
- final int drawingBufferWidth;
+ abstract int get drawingBufferWidth;
/** @domName WebGLRenderingContext.activeTexture */
void activeTexture(int texture);
@@ -36423,7 +36561,7 @@ interface WebGLRenderingContext extends CanvasRenderingContext {
// WARNING: Do not edit - generated code.
/// @domName WebGLShader
-interface WebGLShader {
+abstract class WebGLShader {
}
// 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
@@ -36432,16 +36570,16 @@ interface WebGLShader {
// WARNING: Do not edit - generated code.
/// @domName WebGLShaderPrecisionFormat
-interface WebGLShaderPrecisionFormat {
+abstract class WebGLShaderPrecisionFormat {
/** @domName WebGLShaderPrecisionFormat.precision */
- final int precision;
+ abstract int get precision;
/** @domName WebGLShaderPrecisionFormat.rangeMax */
- final int rangeMax;
+ abstract int get rangeMax;
/** @domName WebGLShaderPrecisionFormat.rangeMin */
- final int rangeMin;
+ abstract int get rangeMin;
}
// 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
@@ -36450,7 +36588,7 @@ interface WebGLShaderPrecisionFormat {
// WARNING: Do not edit - generated code.
/// @domName WebGLTexture
-interface WebGLTexture {
+abstract class WebGLTexture {
}
// 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
@@ -36459,7 +36597,7 @@ interface WebGLTexture {
// WARNING: Do not edit - generated code.
/// @domName WebGLUniformLocation
-interface WebGLUniformLocation {
+abstract class WebGLUniformLocation {
}
// 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
@@ -36468,7 +36606,7 @@ interface WebGLUniformLocation {
// WARNING: Do not edit - generated code.
/// @domName WebGLVertexArrayObjectOES
-interface WebGLVertexArrayObjectOES {
+abstract class WebGLVertexArrayObjectOES {
}
// 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
@@ -36477,7 +36615,7 @@ interface WebGLVertexArrayObjectOES {
// WARNING: Do not edit - generated code.
/// @domName WebKitCSSFilterValue
-interface WebKitCSSFilterValue extends CSSValueList {
+abstract class WebKitCSSFilterValue implements CSSValueList {
static const int CSS_FILTER_BLUR = 10;
@@ -36504,7 +36642,7 @@ interface WebKitCSSFilterValue extends CSSValueList {
static const int CSS_FILTER_SEPIA = 3;
/** @domName WebKitCSSFilterValue.operationType */
- final int operationType;
+ abstract int get operationType;
}
// 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
@@ -36513,16 +36651,16 @@ interface WebKitCSSFilterValue extends CSSValueList {
// WARNING: Do not edit - generated code.
/// @domName WebKitNamedFlow
-interface WebKitNamedFlow extends EventTarget {
+abstract class WebKitNamedFlow implements EventTarget {
/** @domName WebKitNamedFlow.firstEmptyRegionIndex */
- final int firstEmptyRegionIndex;
+ abstract int get firstEmptyRegionIndex;
/** @domName WebKitNamedFlow.name */
- final String name;
+ abstract String get name;
/** @domName WebKitNamedFlow.overset */
- final bool overset;
+ abstract bool get overset;
/** @domName WebKitNamedFlow.addEventListener */
void $dom_addEventListener(String type, EventListener listener, [bool useCapture]);
@@ -36549,9 +36687,9 @@ interface WebKitNamedFlow extends EventTarget {
// WARNING: Do not edit - generated code.
/// @domName WebSocket
-interface WebSocket extends EventTarget default _WebSocketFactoryProvider {
+abstract class WebSocket implements EventTarget {
- WebSocket(String url);
+ factory WebSocket(String url) => _WebSocketFactoryProvider.createWebSocket(url);
/**
* @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent
@@ -36567,25 +36705,25 @@ interface WebSocket extends EventTarget default _WebSocketFactoryProvider {
static const int OPEN = 1;
/** @domName WebSocket.URL */
- final String URL;
+ abstract String get URL;
/** @domName WebSocket.binaryType */
String binaryType;
/** @domName WebSocket.bufferedAmount */
- final int bufferedAmount;
+ abstract int get bufferedAmount;
/** @domName WebSocket.extensions */
- final String extensions;
+ abstract String get extensions;
/** @domName WebSocket.protocol */
- final String protocol;
+ abstract String get protocol;
/** @domName WebSocket.readyState */
- final int readyState;
+ abstract int get readyState;
/** @domName WebSocket.url */
- final String url;
+ abstract String get url;
/** @domName WebSocket.addEventListener */
void $dom_addEventListener(String type, EventListener listener, [bool useCapture]);
@@ -36603,7 +36741,7 @@ interface WebSocket extends EventTarget default _WebSocketFactoryProvider {
void send(data);
}
-interface WebSocketEvents extends Events {
+abstract class WebSocketEvents implements Events {
EventListenerList get close;
@@ -36620,19 +36758,19 @@ interface WebSocketEvents extends Events {
// WARNING: Do not edit - generated code.
/// @domName WheelEvent
-interface WheelEvent extends MouseEvent {
+abstract class WheelEvent implements MouseEvent {
/** @domName WheelEvent.webkitDirectionInvertedFromDevice */
- final bool webkitDirectionInvertedFromDevice;
+ abstract bool get webkitDirectionInvertedFromDevice;
/** @domName WheelEvent.wheelDelta */
- final int wheelDelta;
+ abstract int get wheelDelta;
/** @domName WheelEvent.wheelDeltaX */
- final int wheelDeltaX;
+ abstract int get wheelDeltaX;
/** @domName WheelEvent.wheelDeltaY */
- final int wheelDeltaY;
+ abstract int get wheelDeltaY;
/** @domName WheelEvent.initWebKitWheelEvent */
void initWebKitWheelEvent(int wheelDeltaX, int wheelDeltaY, Window view, int screenX, int screenY, int clientX, int clientY, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey);
@@ -36644,7 +36782,7 @@ interface WheelEvent extends MouseEvent {
// WARNING: Do not edit - generated code.
/// @domName DOMWindow
-interface Window extends EventTarget {
+abstract class Window implements EventTarget {
/**
* Register a [port] on this window under the given [name]. This
@@ -36695,19 +36833,19 @@ interface Window extends EventTarget {
static const int TEMPORARY = 0;
/** @domName DOMWindow.applicationCache */
- final DOMApplicationCache applicationCache;
+ abstract DOMApplicationCache get applicationCache;
/** @domName DOMWindow.clientInformation */
- final Navigator clientInformation;
+ abstract Navigator get clientInformation;
/** @domName DOMWindow.closed */
- final bool closed;
+ abstract bool get closed;
/** @domName DOMWindow.console */
- final Console console;
+ abstract Console get console;
/** @domName DOMWindow.crypto */
- final Crypto crypto;
+ abstract Crypto get crypto;
/** @domName DOMWindow.defaultStatus */
String defaultStatus;
@@ -36716,133 +36854,133 @@ interface Window extends EventTarget {
String defaultstatus;
/** @domName DOMWindow.devicePixelRatio */
- final num devicePixelRatio;
+ abstract num get devicePixelRatio;
/** @domName DOMWindow.document */
- final Document document;
+ abstract Document get document;
/** @domName DOMWindow.event */
- final Event event;
+ abstract Event get event;
/** @domName DOMWindow.frames */
- final Window frames;
+ abstract Window get frames;
/** @domName DOMWindow.history */
- final History history;
+ abstract History get history;
/** @domName DOMWindow.innerHeight */
- final int innerHeight;
+ abstract int get innerHeight;
/** @domName DOMWindow.innerWidth */
- final int innerWidth;
+ abstract int get innerWidth;
/** @domName DOMWindow.length */
- final int length;
+ abstract int get length;
/** @domName DOMWindow.localStorage */
- final Storage localStorage;
+ abstract Storage get localStorage;
/** @domName DOMWindow.location */
Location location;
/** @domName DOMWindow.locationbar */
- final BarInfo locationbar;
+ abstract BarInfo get locationbar;
/** @domName DOMWindow.menubar */
- final BarInfo menubar;
+ abstract BarInfo get menubar;
/** @domName DOMWindow.name */
String name;
/** @domName DOMWindow.navigator */
- final Navigator navigator;
+ abstract Navigator get navigator;
/** @domName DOMWindow.offscreenBuffering */
- final bool offscreenBuffering;
+ abstract bool get offscreenBuffering;
/** @domName DOMWindow.opener */
- final Window opener;
+ abstract Window get opener;
/** @domName DOMWindow.outerHeight */
- final int outerHeight;
+ abstract int get outerHeight;
/** @domName DOMWindow.outerWidth */
- final int outerWidth;
+ abstract int get outerWidth;
/** @domName DOMWindow.pagePopupController */
- final PagePopupController pagePopupController;
+ abstract PagePopupController get pagePopupController;
/** @domName DOMWindow.pageXOffset */
- final int pageXOffset;
+ abstract int get pageXOffset;
/** @domName DOMWindow.pageYOffset */
- final int pageYOffset;
+ abstract int get pageYOffset;
/** @domName DOMWindow.parent */
- final Window parent;
+ abstract Window get parent;
/** @domName DOMWindow.performance */
- final Performance performance;
+ abstract Performance get performance;
/** @domName DOMWindow.personalbar */
- final BarInfo personalbar;
+ abstract BarInfo get personalbar;
/** @domName DOMWindow.screen */
- final Screen screen;
+ abstract Screen get screen;
/** @domName DOMWindow.screenLeft */
- final int screenLeft;
+ abstract int get screenLeft;
/** @domName DOMWindow.screenTop */
- final int screenTop;
+ abstract int get screenTop;
/** @domName DOMWindow.screenX */
- final int screenX;
+ abstract int get screenX;
/** @domName DOMWindow.screenY */
- final int screenY;
+ abstract int get screenY;
/** @domName DOMWindow.scrollX */
- final int scrollX;
+ abstract int get scrollX;
/** @domName DOMWindow.scrollY */
- final int scrollY;
+ abstract int get scrollY;
/** @domName DOMWindow.scrollbars */
- final BarInfo scrollbars;
+ abstract BarInfo get scrollbars;
/** @domName DOMWindow.self */
- final Window self;
+ abstract Window get self;
/** @domName DOMWindow.sessionStorage */
- final Storage sessionStorage;
+ abstract Storage get sessionStorage;
/** @domName DOMWindow.status */
String status;
/** @domName DOMWindow.statusbar */
- final BarInfo statusbar;
+ abstract BarInfo get statusbar;
/** @domName DOMWindow.styleMedia */
- final StyleMedia styleMedia;
+ abstract StyleMedia get styleMedia;
/** @domName DOMWindow.toolbar */
- final BarInfo toolbar;
+ abstract BarInfo get toolbar;
/** @domName DOMWindow.top */
- final Window top;
+ abstract Window get top;
/** @domName DOMWindow.webkitIndexedDB */
- final IDBFactory webkitIndexedDB;
+ abstract IDBFactory get webkitIndexedDB;
/** @domName DOMWindow.webkitNotifications */
- final NotificationCenter webkitNotifications;
+ abstract NotificationCenter get webkitNotifications;
/** @domName DOMWindow.webkitStorageInfo */
- final StorageInfo webkitStorageInfo;
+ abstract StorageInfo get webkitStorageInfo;
/** @domName DOMWindow.window */
- final Window window;
+ abstract Window get window;
/** @domName DOMWindow.addEventListener */
void $dom_addEventListener(String type, EventListener listener, [bool useCapture]);
@@ -36975,7 +37113,7 @@ interface Window extends EventTarget {
}
-interface WindowEvents extends Events {
+abstract class WindowEvents implements Events {
EventListenerList get abort;
@@ -37132,9 +37270,9 @@ interface WindowEvents extends Events {
// WARNING: Do not edit - generated code.
/// @domName Worker
-interface Worker extends AbstractWorker default _WorkerFactoryProvider {
+abstract class Worker implements AbstractWorker {
- Worker(String scriptUrl);
+ factory Worker(String scriptUrl) => _WorkerFactoryProvider.createWorker(scriptUrl);
/**
* @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent
@@ -37151,7 +37289,7 @@ interface Worker extends AbstractWorker default _WorkerFactoryProvider {
void webkitPostMessage(/*SerializedScriptValue*/ message, [List messagePorts]);
}
-interface WorkerEvents extends AbstractWorkerEvents {
+abstract class WorkerEvents implements AbstractWorkerEvents {
EventListenerList get message;
}
@@ -37162,7 +37300,7 @@ interface WorkerEvents extends AbstractWorkerEvents {
// WARNING: Do not edit - generated code.
/// @domName WorkerContext
-interface WorkerContext extends EventTarget {
+abstract class WorkerContext implements EventTarget {
/**
* @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent
@@ -37174,19 +37312,19 @@ interface WorkerContext extends EventTarget {
static const int TEMPORARY = 0;
/** @domName WorkerContext.location */
- final WorkerLocation location;
+ abstract WorkerLocation get location;
/** @domName WorkerContext.navigator */
- final WorkerNavigator navigator;
+ abstract WorkerNavigator get navigator;
/** @domName WorkerContext.self */
- final WorkerContext self;
+ abstract WorkerContext get self;
/** @domName WorkerContext.webkitIndexedDB */
- final IDBFactory webkitIndexedDB;
+ abstract IDBFactory get webkitIndexedDB;
/** @domName WorkerContext.webkitNotifications */
- final NotificationCenter webkitNotifications;
+ abstract NotificationCenter get webkitNotifications;
/** @domName WorkerContext.addEventListener */
void $dom_addEventListener(String type, EventListener listener, [bool useCapture]);
@@ -37234,7 +37372,7 @@ interface WorkerContext extends EventTarget {
void webkitResolveLocalFileSystemURL(String url, [EntryCallback successCallback, ErrorCallback errorCallback]);
}
-interface WorkerContextEvents extends Events {
+abstract class WorkerContextEvents implements Events {
EventListenerList get error;
}
@@ -37245,31 +37383,31 @@ interface WorkerContextEvents extends Events {
// WARNING: Do not edit - generated code.
/// @domName WorkerLocation
-interface WorkerLocation {
+abstract class WorkerLocation {
/** @domName WorkerLocation.hash */
- final String hash;
+ abstract String get hash;
/** @domName WorkerLocation.host */
- final String host;
+ abstract String get host;
/** @domName WorkerLocation.hostname */
- final String hostname;
+ abstract String get hostname;
/** @domName WorkerLocation.href */
- final String href;
+ abstract String get href;
/** @domName WorkerLocation.pathname */
- final String pathname;
+ abstract String get pathname;
/** @domName WorkerLocation.port */
- final String port;
+ abstract String get port;
/** @domName WorkerLocation.protocol */
- final String protocol;
+ abstract String get protocol;
/** @domName WorkerLocation.search */
- final String search;
+ abstract String get search;
/** @domName WorkerLocation.toString */
String toString();
@@ -37281,22 +37419,22 @@ interface WorkerLocation {
// WARNING: Do not edit - generated code.
/// @domName WorkerNavigator
-interface WorkerNavigator {
+abstract class WorkerNavigator {
/** @domName WorkerNavigator.appName */
- final String appName;
+ abstract String get appName;
/** @domName WorkerNavigator.appVersion */
- final String appVersion;
+ abstract String get appVersion;
/** @domName WorkerNavigator.onLine */
- final bool onLine;
+ abstract bool get onLine;
/** @domName WorkerNavigator.platform */
- final String platform;
+ abstract String get platform;
/** @domName WorkerNavigator.userAgent */
- final String userAgent;
+ abstract String get userAgent;
}
// 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
@@ -37305,9 +37443,9 @@ interface WorkerNavigator {
// WARNING: Do not edit - generated code.
/// @domName XMLSerializer
-interface XMLSerializer default _XMLSerializerFactoryProvider {
+abstract class XMLSerializer {
- XMLSerializer();
+ factory XMLSerializer() => _XMLSerializerFactoryProvider.createXMLSerializer();
/** @domName XMLSerializer.serializeToString */
String serializeToString(Node node);
@@ -37319,9 +37457,9 @@ interface XMLSerializer default _XMLSerializerFactoryProvider {
// WARNING: Do not edit - generated code.
/// @domName XPathEvaluator
-interface XPathEvaluator default _XPathEvaluatorFactoryProvider {
+abstract class XPathEvaluator {
- XPathEvaluator();
+ factory XPathEvaluator() => _XPathEvaluatorFactoryProvider.createXPathEvaluator();
/** @domName XPathEvaluator.createExpression */
XPathExpression createExpression(String expression, XPathNSResolver resolver);
@@ -37339,20 +37477,20 @@ interface XPathEvaluator default _XPathEvaluatorFactoryProvider {
// WARNING: Do not edit - generated code.
/// @domName XPathException
-interface XPathException {
+abstract class XPathException {
static const int INVALID_EXPRESSION_ERR = 51;
static const int TYPE_ERR = 52;
/** @domName XPathException.code */
- final int code;
+ abstract int get code;
/** @domName XPathException.message */
- final String message;
+ abstract String get message;
/** @domName XPathException.name */
- final String name;
+ abstract String get name;
/** @domName XPathException.toString */
String toString();
@@ -37364,7 +37502,7 @@ interface XPathException {
// WARNING: Do not edit - generated code.
/// @domName XPathExpression
-interface XPathExpression {
+abstract class XPathExpression {
/** @domName XPathExpression.evaluate */
XPathResult evaluate(Node contextNode, int type, XPathResult inResult);
@@ -37376,7 +37514,7 @@ interface XPathExpression {
// WARNING: Do not edit - generated code.
/// @domName XPathNSResolver
-interface XPathNSResolver {
+abstract class XPathNSResolver {
/** @domName XPathNSResolver.lookupNamespaceURI */
String lookupNamespaceURI(String prefix);
@@ -37388,7 +37526,7 @@ interface XPathNSResolver {
// WARNING: Do not edit - generated code.
/// @domName XPathResult
-interface XPathResult {
+abstract class XPathResult {
static const int ANY_TYPE = 0;
@@ -37411,25 +37549,25 @@ interface XPathResult {
static const int UNORDERED_NODE_SNAPSHOT_TYPE = 6;
/** @domName XPathResult.booleanValue */
- final bool booleanValue;
+ abstract bool get booleanValue;
/** @domName XPathResult.invalidIteratorState */
- final bool invalidIteratorState;
+ abstract bool get invalidIteratorState;
/** @domName XPathResult.numberValue */
- final num numberValue;
+ abstract num get numberValue;
/** @domName XPathResult.resultType */
- final int resultType;
+ abstract int get resultType;
/** @domName XPathResult.singleNodeValue */
- final Node singleNodeValue;
+ abstract Node get singleNodeValue;
/** @domName XPathResult.snapshotLength */
- final int snapshotLength;
+ abstract int get snapshotLength;
/** @domName XPathResult.stringValue */
- final String stringValue;
+ abstract String get stringValue;
/** @domName XPathResult.iterateNext */
Node iterateNext();
@@ -37444,9 +37582,9 @@ interface XPathResult {
// WARNING: Do not edit - generated code.
/// @domName XSLTProcessor
-interface XSLTProcessor default _XSLTProcessorFactoryProvider {
+abstract class XSLTProcessor {
- XSLTProcessor();
+ factory XSLTProcessor() => _XSLTProcessorFactoryProvider.createXSLTProcessor();
/** @domName XSLTProcessor.clearParameters */
void clearParameters();
@@ -37485,7 +37623,7 @@ typedef void EventListener(Event event);
* Defines the standard key locations returned by
* KeyboardEvent.getKeyLocation.
*/
-interface KeyLocation {
+abstract class KeyLocation {
/**
* The event key is not distinguished as the left or right version
@@ -37531,7 +37669,7 @@ interface KeyLocation {
* by KeyEvent.getKeyboardIdentifier when the key does not have a direct
* unicode mapping.
*/
-interface KeyName {
+abstract class KeyName {
/** The Accept (Commit, OK) key */
static const String ACCEPT = "Accept";
@@ -38022,7 +38160,7 @@ interface KeyName {
/**
* Contains the set of standard values returned by HTMLDocument.getReadyState.
*/
-interface ReadyState {
+abstract class ReadyState {
/**
* Indicates the document is still loading and parsing.
*/
@@ -38684,7 +38822,7 @@ class _Deserializer {
// BSD-style license that can be found in the LICENSE file.
class _EventFactoryProvider {
- factory Event(String type, [bool canBubble = true,
+ static Event createEvent(String type, [bool canBubble = true,
bool cancelable = true]) {
final _EventImpl e = _document.$dom_createEvent("Event");
e.$dom_initEvent(type, canBubble, cancelable);
@@ -38693,7 +38831,7 @@ class _EventFactoryProvider {
}
class _MouseEventFactoryProvider {
- factory MouseEvent(String type, Window view, int detail,
+ static MouseEvent createMouseEvent(String type, Window view, int detail,
int screenX, int screenY, int clientX, int clientY, int button,
[bool canBubble = true, bool cancelable = true, bool ctrlKey = false,
bool altKey = false, bool shiftKey = false, bool metaKey = false,
@@ -38707,22 +38845,23 @@ class _MouseEventFactoryProvider {
}
class _CSSStyleDeclarationFactoryProvider {
- factory CSSStyleDeclaration.css(String css) {
+ static CSSStyleDeclaration createCSSStyleDeclaration_css(String css) {
final style = new Element.tag('div').style;
style.cssText = css;
return style;
- }
+ }
- factory CSSStyleDeclaration() {
+ static CSSStyleDeclaration createCSSStyleDeclaration() {
return new CSSStyleDeclaration.css('');
}
}
class _DocumentFragmentFactoryProvider {
/** @domName Document.createDocumentFragment */
- factory DocumentFragment() => document.createDocumentFragment();
+ static DocumentFragment createDocumentFragment() =>
+ document.createDocumentFragment();
- factory DocumentFragment.html(String html) {
+ static DocumentFragment createDocumentFragment_html(String html) {
final fragment = new DocumentFragment();
fragment.innerHTML = html;
return fragment;
@@ -38740,7 +38879,7 @@ class _DocumentFragmentFactoryProvider {
// return fragment;
// }
- factory DocumentFragment.svg(String svg) {
+ static DocumentFragment createDocumentFragment_svg(String svg) {
final fragment = new DocumentFragment();
final e = new SVGSVGElement();
e.innerHTML = svg;
@@ -38753,13 +38892,13 @@ class _DocumentFragmentFactoryProvider {
}
class _SVGElementFactoryProvider {
- factory SVGElement.tag(String tag) {
+ static SVGElement createSVGElement_tag(String tag) {
final Element temp =
_document.$dom_createElementNS("http://www.w3.org/2000/svg", tag);
return temp;
}
- factory SVGElement.svg(String svg) {
+ static SVGElement createSVGElement_svg(String svg) {
Element parentTag;
final match = _START_TAG_REGEXP.firstMatch(svg);
if (match != null && match.group(1).toLowerCase() == 'svg') {
@@ -38778,7 +38917,7 @@ class _SVGElementFactoryProvider {
}
class _SVGSVGElementFactoryProvider {
- factory SVGSVGElement() {
+ static SVGSVGElement createSVGSVGElement() {
final el = new SVGElement.tag("svg");
// The SVG spec requires the version attribute to match the spec version
el.attributes['version'] = "1.1";
@@ -39257,24 +39396,25 @@ class _DOMWindowCrossFrameImpl implements Window {
class _AudioContextFactoryProvider {
- factory AudioContext() native '''
+ static AudioContext createAudioContext() native '''
var constructor = window.AudioContext || window.webkitAudioContext;
return new constructor();
''';
}
class _PointFactoryProvider {
-
- factory Point(num x, num y) native 'return new WebKitPoint(x, y);';
+ static Point createPoint(num x, num y) native
+ 'return new WebKitPoint(x, y);';
}
class _WebSocketFactoryProvider {
-
- factory WebSocket(String url) native '''return new WebSocket(url);''';
+ static WebSocket createWebSocket(String url) native
+ '''return new WebSocket(url);''';
}
class _TextFactoryProvider {
- factory Text(String data) native "return document.createTextNode(data);";
+ static Text createText(String data) native
+ "return document.createTextNode(data);";
}
// 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
@@ -39282,17 +39422,19 @@ class _TextFactoryProvider {
class _IDBKeyRangeFactoryProvider {
- factory IDBKeyRange.only(/*IDBKey*/ value) =>
+ static IDBKeyRange createIDBKeyRange_only(/*IDBKey*/ value) =>
_only(_class(), _translateKey(value));
- factory IDBKeyRange.lowerBound(/*IDBKey*/ bound, [bool open = false]) =>
+ static IDBKeyRange createIDBKeyRange_lowerBound(
+ /*IDBKey*/ bound, [bool open = false]) =>
_lowerBound(_class(), _translateKey(bound), open);
- factory IDBKeyRange.upperBound(/*IDBKey*/ bound, [bool open = false]) =>
+ static IDBKeyRange createIDBKeyRange_upperBound(
+ /*IDBKey*/ bound, [bool open = false]) =>
_upperBound(_class(), _translateKey(bound), open);
- factory IDBKeyRange.bound(/*IDBKey*/ lower, /*IDBKey*/ upper,
- [bool lowerOpen = false, bool upperOpen = false]) =>
+ static IDBKeyRange createIDBKeyRange_bound(/*IDBKey*/ lower, /*IDBKey*/ upper,
+ [bool lowerOpen = false, bool upperOpen = false]) =>
_bound(_class(), _translateKey(lower), _translateKey(upper),
lowerOpen, upperOpen);
@@ -39402,74 +39544,83 @@ class _LocationWrapper implements Location {
class _TypedArrayFactoryProvider {
- factory Float32Array(int length) => _F32(length);
- factory Float32Array.fromList(List<num> list) => _F32(ensureNative(list));
- factory Float32Array.fromBuffer(ArrayBuffer buffer,
+ static Float32Array createFloat32Array(int length) => _F32(length);
+ static Float32Array createFloat32Array_fromList(List<num> list) =>
+ _F32(ensureNative(list));
+ static Float32Array createFloat32Array_fromBuffer(ArrayBuffer buffer,
[int byteOffset = 0, int length]) {
if (length == null) return _F32_2(buffer, byteOffset);
return _F32_3(buffer, byteOffset, length);
}
- factory Float64Array(int length) => _F64(length);
- factory Float64Array.fromList(List<num> list) => _F64(ensureNative(list));
- factory Float64Array.fromBuffer(ArrayBuffer buffer,
- [int byteOffset = 0, int length]) {
+ static Float64Array createFloat64Array(int length) => _F64(length);
+ static Float64Array createFloat64Array_fromList(List<num> list) =>
+ _F64(ensureNative(list));
+ static Float64Array createFloat64Array_fromBuffer(ArrayBuffer buffer,
+ [int byteOffset = 0, int length]) {
if (length == null) return _F64_2(buffer, byteOffset);
return _F64_3(buffer, byteOffset, length);
}
- factory Int8Array(int length) => _I8(length);
- factory Int8Array.fromList(List<num> list) => _I8(ensureNative(list));
- factory Int8Array.fromBuffer(ArrayBuffer buffer,
- [int byteOffset = 0, int length]) {
+ static Int8Array createInt8Array(int length) => _I8(length);
+ static Int8Array createInt8Array_fromList(List<num> list) =>
+ _I8(ensureNative(list));
+ static Int8Array createInt8Array_fromBuffer(ArrayBuffer buffer,
+ [int byteOffset = 0, int length]) {
if (length == null) return _I8_2(buffer, byteOffset);
return _I8_3(buffer, byteOffset, length);
}
- factory Int16Array(int length) => _I16(length);
- factory Int16Array.fromList(List<num> list) => _I16(ensureNative(list));
- factory Int16Array.fromBuffer(ArrayBuffer buffer,
- [int byteOffset = 0, int length]) {
+ static Int16Array createInt16Array(int length) => _I16(length);
+ static Int16Array createInt16Array_fromList(List<num> list) =>
+ _I16(ensureNative(list));
+ static Int16Array createInt16Array_fromBuffer(ArrayBuffer buffer,
+ [int byteOffset = 0, int length]) {
if (length == null) return _I16_2(buffer, byteOffset);
return _I16_3(buffer, byteOffset, length);
}
- factory Int32Array(int length) => _I32(length);
- factory Int32Array.fromList(List<num> list) => _I32(ensureNative(list));
- factory Int32Array.fromBuffer(ArrayBuffer buffer,
- [int byteOffset = 0, int length]) {
+ static Int32Array createInt32Array(int length) => _I32(length);
+ static Int32Array createInt32Array_fromList(List<num> list) =>
+ _I32(ensureNative(list));
+ static Int32Array createInt32Array_fromBuffer(ArrayBuffer buffer,
+ [int byteOffset = 0, int length]) {
if (length == null) return _I32_2(buffer, byteOffset);
return _I32_3(buffer, byteOffset, length);
}
- factory Uint8Array(int length) => _U8(length);
- factory Uint8Array.fromList(List<num> list) => _U8(ensureNative(list));
- factory Uint8Array.fromBuffer(ArrayBuffer buffer,
- [int byteOffset = 0, int length]) {
+ static Uint8Array createUint8Array(int length) => _U8(length);
+ static Uint8Array createUint8Array_fromList(List<num> list) =>
+ _U8(ensureNative(list));
+ static Uint8Array createUint8Array_fromBuffer(ArrayBuffer buffer,
+ [int byteOffset = 0, int length]) {
if (length == null) return _U8_2(buffer, byteOffset);
return _U8_3(buffer, byteOffset, length);
}
- factory Uint16Array(int length) => _U16(length);
- factory Uint16Array.fromList(List<num> list) => _U16(ensureNative(list));
- factory Uint16Array.fromBuffer(ArrayBuffer buffer,
- [int byteOffset = 0, int length]) {
+ static Uint16Array createUint16Array(int length) => _U16(length);
+ static Uint16Array createUint16Array_fromList(List<num> list) =>
+ _U16(ensureNative(list));
+ static Uint16Array createUint16Array_fromBuffer(ArrayBuffer buffer,
+ [int byteOffset = 0, int length]) {
if (length == null) return _U16_2(buffer, byteOffset);
return _U16_3(buffer, byteOffset, length);
}
- factory Uint32Array(int length) => _U32(length);
- factory Uint32Array.fromList(List<num> list) => _U32(ensureNative(list));
- factory Uint32Array.fromBuffer(ArrayBuffer buffer,
- [int byteOffset = 0, int length]) {
+ static Uint32Array createUint32Array(int length) => _U32(length);
+ static Uint32Array createUint32Array_fromList(List<num> list) =>
+ _U32(ensureNative(list));
+ static Uint32Array createUint32Array_fromBuffer(ArrayBuffer buffer,
+ [int byteOffset = 0, int length]) {
if (length == null) return _U32_2(buffer, byteOffset);
return _U32_3(buffer, byteOffset, length);
}
- factory Uint8ClampedArray(int length) => _U8C(length);
- factory Uint8ClampedArray.fromList(List<num> list) => _U8C(ensureNative(list));
- factory Uint8ClampedArray.fromBuffer(ArrayBuffer buffer,
- [int byteOffset = 0, int length]) {
+ static Uint8ClampedArray createUint8ClampedArray(int length) => _U8C(length);
+ static Uint8ClampedArray createUint8ClampedArray_fromList(List<num> list) =>
+ _U8C(ensureNative(list));
+ static Uint8ClampedArray createUint8ClampedArray_fromBuffer(
+ ArrayBuffer buffer, [int byteOffset = 0, int length]) {
if (length == null) return _U8C_2(buffer, byteOffset);
return _U8C_3(buffer, byteOffset, length);
}
« no previous file with comments | « no previous file | lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698