diff --git a/sdk/lib/html/dart2js/html_dart2js.dart b/sdk/lib/html/dart2js/html_dart2js.dart
index ac650aee4e8..d87bde80de2 100644
--- a/sdk/lib/html/dart2js/html_dart2js.dart
+++ b/sdk/lib/html/dart2js/html_dart2js.dart
@@ -1,29 +1,3 @@
-/**
- * HTML elements and other resources for web-based applications that need to
- * interact with the browser and the DOM (Document Object Model).
- *
- * This library includes DOM element types, CSS styling, local storage,
- * media, speech, events, and more.
- * To get started,
- * check out the [Element] class, the base class for many of the HTML
- * DOM types.
- *
- * ## Other resources
- *
- * * If you've never written a web app before, try our
- * tutorials—[A Game of Darts](http://dartlang.org/docs/tutorials).
- *
- * * To see some web-based Dart apps in action and to play with the code,
- * download
- * [Dart Editor](http://www.dartlang.org/#get-started)
- * and run its built-in examples.
- *
- * * For even more examples, see
- * [Dart HTML5 Samples](https://github.com/dart-lang/dart-html5-samples)
- * on Github.
- *
- * {@category Web}
- */
library dart.dom.html;
import 'dart:async';
@@ -145,7 +119,6 @@ class HtmlElement extends Element implements NoncedElement {
HtmlElement.created() : super.created();
// From NoncedElement
- @DomName('HTMLElement.nonce')
String nonce;
}
@@ -153,17 +126,12 @@ class HtmlElement extends Element implements NoncedElement {
* Emitted for any setlike IDL entry needs a callback signature.
* Today there is only one.
*/
-@DomName('FontFaceSetForEachCallback')
-@Experimental() // untriaged
typedef void FontFaceSetForEachCallback(
FontFace fontFace, FontFace fontFaceAgain, FontFaceSet set);
// Copyright (c) 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.
-@DocsEditable()
-@DomName('AbortPaymentEvent')
-@Experimental() // untriaged
@Native("AbortPaymentEvent")
class AbortPaymentEvent extends ExtendableEvent {
// To suppress missing implicit constructor warnings.
@@ -171,8 +139,6 @@ class AbortPaymentEvent extends ExtendableEvent {
throw new UnsupportedError("Not supported");
}
- @DomName('AbortPaymentEvent.AbortPaymentEvent')
- @DocsEditable()
factory AbortPaymentEvent(String type, Map eventInitDict) {
var eventInitDict_1 = convertDartToNative_Dictionary(eventInitDict);
return AbortPaymentEvent._create_1(type, eventInitDict_1);
@@ -180,18 +146,12 @@ class AbortPaymentEvent extends ExtendableEvent {
static AbortPaymentEvent _create_1(type, eventInitDict) => JS(
'AbortPaymentEvent', 'new AbortPaymentEvent(#,#)', type, eventInitDict);
- @DomName('AbortPaymentEvent.respondWith')
- @DocsEditable()
- @Experimental() // untriaged
void respondWith(Future paymentAbortedResponse) native;
}
// Copyright (c) 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.
-@DocsEditable()
-@DomName('AbsoluteOrientationSensor')
-@Experimental() // untriaged
@Native("AbsoluteOrientationSensor")
class AbsoluteOrientationSensor extends OrientationSensor {
// To suppress missing implicit constructor warnings.
@@ -199,8 +159,6 @@ class AbsoluteOrientationSensor extends OrientationSensor {
throw new UnsupportedError("Not supported");
}
- @DomName('AbsoluteOrientationSensor.AbsoluteOrientationSensor')
- @DocsEditable()
factory AbsoluteOrientationSensor([Map sensorOptions]) {
if (sensorOptions != null) {
var sensorOptions_1 = convertDartToNative_Dictionary(sensorOptions);
@@ -219,8 +177,6 @@ class AbsoluteOrientationSensor extends OrientationSensor {
// 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.
-@DocsEditable()
-@DomName('AbstractWorker')
abstract class AbstractWorker extends Interceptor implements EventTarget {
// To suppress missing implicit constructor warnings.
factory AbstractWorker._() {
@@ -233,23 +189,16 @@ abstract class AbstractWorker extends Interceptor implements EventTarget {
*
* See [EventStreamProvider] for usage information.
*/
- @DomName('AbstractWorker.errorEvent')
- @DocsEditable()
static const EventStreamProvider errorEvent =
const EventStreamProvider('error');
/// Stream of `error` events handled by this [AbstractWorker].
- @DomName('AbstractWorker.onerror')
- @DocsEditable()
Stream get onError => errorEvent.forTarget(this);
}
// Copyright (c) 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.
-@DocsEditable()
-@DomName('Accelerometer')
-@Experimental() // untriaged
@Native("Accelerometer")
class Accelerometer extends Sensor {
// To suppress missing implicit constructor warnings.
@@ -257,8 +206,6 @@ class Accelerometer extends Sensor {
throw new UnsupportedError("Not supported");
}
- @DomName('Accelerometer.Accelerometer')
- @DocsEditable()
factory Accelerometer([Map sensorOptions]) {
if (sensorOptions != null) {
var sensorOptions_1 = convertDartToNative_Dictionary(sensorOptions);
@@ -271,28 +218,16 @@ class Accelerometer extends Sensor {
static Accelerometer _create_2() =>
JS('Accelerometer', 'new Accelerometer()');
- @DomName('Accelerometer.x')
- @DocsEditable()
- @Experimental() // untriaged
final num x;
- @DomName('Accelerometer.y')
- @DocsEditable()
- @Experimental() // untriaged
final num y;
- @DomName('Accelerometer.z')
- @DocsEditable()
- @Experimental() // untriaged
final num 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
// BSD-style license that can be found in the LICENSE file.
-@DocsEditable()
-@DomName('AccessibleNode')
-@Experimental() // untriaged
@Native("AccessibleNode")
class AccessibleNode extends EventTarget {
// To suppress missing implicit constructor warnings.
@@ -300,321 +235,139 @@ class AccessibleNode extends EventTarget {
throw new UnsupportedError("Not supported");
}
- @DomName('AccessibleNode.accessibleclickEvent')
- @DocsEditable()
- @Experimental() // untriaged
static const EventStreamProvider accessibleClickEvent =
const EventStreamProvider('accessibleclick');
- @DomName('AccessibleNode.accessiblecontextmenuEvent')
- @DocsEditable()
- @Experimental() // untriaged
static const EventStreamProvider accessibleContextMenuEvent =
const EventStreamProvider('accessiblecontextmenu');
- @DomName('AccessibleNode.accessibledecrementEvent')
- @DocsEditable()
- @Experimental() // untriaged
static const EventStreamProvider accessibleDecrementEvent =
const EventStreamProvider('accessibledecrement');
- @DomName('AccessibleNode.accessiblefocusEvent')
- @DocsEditable()
- @Experimental() // untriaged
static const EventStreamProvider accessibleFocusEvent =
const EventStreamProvider('accessiblefocus');
- @DomName('AccessibleNode.accessibleincrementEvent')
- @DocsEditable()
- @Experimental() // untriaged
static const EventStreamProvider accessibleIncrementEvent =
const EventStreamProvider('accessibleincrement');
- @DomName('AccessibleNode.accessiblescrollintoviewEvent')
- @DocsEditable()
- @Experimental() // untriaged
static const EventStreamProvider accessibleScrollIntoViewEvent =
const EventStreamProvider('accessiblescrollintoview');
- @DomName('AccessibleNode.AccessibleNode')
- @DocsEditable()
factory AccessibleNode() {
return AccessibleNode._create_1();
}
static AccessibleNode _create_1() =>
JS('AccessibleNode', 'new AccessibleNode()');
- @DomName('AccessibleNode.activeDescendant')
- @DocsEditable()
- @Experimental() // untriaged
AccessibleNode activeDescendant;
- @DomName('AccessibleNode.atomic')
- @DocsEditable()
- @Experimental() // untriaged
bool atomic;
- @DomName('AccessibleNode.autocomplete')
- @DocsEditable()
- @Experimental() // untriaged
String autocomplete;
- @DomName('AccessibleNode.busy')
- @DocsEditable()
- @Experimental() // untriaged
bool busy;
- @DomName('AccessibleNode.checked')
- @DocsEditable()
- @Experimental() // untriaged
String checked;
- @DomName('AccessibleNode.colCount')
- @DocsEditable()
- @Experimental() // untriaged
int colCount;
- @DomName('AccessibleNode.colIndex')
- @DocsEditable()
- @Experimental() // untriaged
int colIndex;
- @DomName('AccessibleNode.colSpan')
- @DocsEditable()
- @Experimental() // untriaged
int colSpan;
- @DomName('AccessibleNode.controls')
- @DocsEditable()
- @Experimental() // untriaged
AccessibleNodeList controls;
- @DomName('AccessibleNode.current')
- @DocsEditable()
- @Experimental() // untriaged
String current;
- @DomName('AccessibleNode.describedBy')
- @DocsEditable()
- @Experimental() // untriaged
AccessibleNodeList describedBy;
- @DomName('AccessibleNode.details')
- @DocsEditable()
- @Experimental() // untriaged
AccessibleNode details;
- @DomName('AccessibleNode.disabled')
- @DocsEditable()
- @Experimental() // untriaged
bool disabled;
- @DomName('AccessibleNode.errorMessage')
- @DocsEditable()
- @Experimental() // untriaged
AccessibleNode errorMessage;
- @DomName('AccessibleNode.expanded')
- @DocsEditable()
- @Experimental() // untriaged
bool expanded;
- @DomName('AccessibleNode.flowTo')
- @DocsEditable()
- @Experimental() // untriaged
AccessibleNodeList flowTo;
- @DomName('AccessibleNode.hasPopUp')
- @DocsEditable()
- @Experimental() // untriaged
String hasPopUp;
- @DomName('AccessibleNode.hidden')
- @DocsEditable()
- @Experimental() // untriaged
bool hidden;
- @DomName('AccessibleNode.invalid')
- @DocsEditable()
- @Experimental() // untriaged
String invalid;
- @DomName('AccessibleNode.keyShortcuts')
- @DocsEditable()
- @Experimental() // untriaged
String keyShortcuts;
- @DomName('AccessibleNode.label')
- @DocsEditable()
- @Experimental() // untriaged
String label;
- @DomName('AccessibleNode.labeledBy')
- @DocsEditable()
- @Experimental() // untriaged
AccessibleNodeList labeledBy;
- @DomName('AccessibleNode.level')
- @DocsEditable()
- @Experimental() // untriaged
int level;
- @DomName('AccessibleNode.live')
- @DocsEditable()
- @Experimental() // untriaged
String live;
- @DomName('AccessibleNode.modal')
- @DocsEditable()
- @Experimental() // untriaged
bool modal;
- @DomName('AccessibleNode.multiline')
- @DocsEditable()
- @Experimental() // untriaged
bool multiline;
- @DomName('AccessibleNode.multiselectable')
- @DocsEditable()
- @Experimental() // untriaged
bool multiselectable;
- @DomName('AccessibleNode.orientation')
- @DocsEditable()
- @Experimental() // untriaged
String orientation;
- @DomName('AccessibleNode.owns')
- @DocsEditable()
- @Experimental() // untriaged
AccessibleNodeList owns;
- @DomName('AccessibleNode.placeholder')
- @DocsEditable()
- @Experimental() // untriaged
String placeholder;
- @DomName('AccessibleNode.posInSet')
- @DocsEditable()
- @Experimental() // untriaged
int posInSet;
- @DomName('AccessibleNode.pressed')
- @DocsEditable()
- @Experimental() // untriaged
String pressed;
- @DomName('AccessibleNode.readOnly')
- @DocsEditable()
- @Experimental() // untriaged
bool readOnly;
- @DomName('AccessibleNode.relevant')
- @DocsEditable()
- @Experimental() // untriaged
String relevant;
- @DomName('AccessibleNode.required')
- @DocsEditable()
- @Experimental() // untriaged
bool required;
- @DomName('AccessibleNode.role')
- @DocsEditable()
- @Experimental() // untriaged
String role;
- @DomName('AccessibleNode.roleDescription')
- @DocsEditable()
- @Experimental() // untriaged
String roleDescription;
- @DomName('AccessibleNode.rowCount')
- @DocsEditable()
- @Experimental() // untriaged
int rowCount;
- @DomName('AccessibleNode.rowIndex')
- @DocsEditable()
- @Experimental() // untriaged
int rowIndex;
- @DomName('AccessibleNode.rowSpan')
- @DocsEditable()
- @Experimental() // untriaged
int rowSpan;
- @DomName('AccessibleNode.selected')
- @DocsEditable()
- @Experimental() // untriaged
bool selected;
- @DomName('AccessibleNode.setSize')
- @DocsEditable()
- @Experimental() // untriaged
int setSize;
- @DomName('AccessibleNode.sort')
- @DocsEditable()
- @Experimental() // untriaged
String sort;
- @DomName('AccessibleNode.valueMax')
- @DocsEditable()
- @Experimental() // untriaged
num valueMax;
- @DomName('AccessibleNode.valueMin')
- @DocsEditable()
- @Experimental() // untriaged
num valueMin;
- @DomName('AccessibleNode.valueNow')
- @DocsEditable()
- @Experimental() // untriaged
num valueNow;
- @DomName('AccessibleNode.valueText')
- @DocsEditable()
- @Experimental() // untriaged
String valueText;
- @DomName('AccessibleNode.appendChild')
- @DocsEditable()
- @Experimental() // untriaged
void appendChild(AccessibleNode child) native;
- @DomName('AccessibleNode.onaccessibleclick')
- @DocsEditable()
- @Experimental() // untriaged
Stream get onAccessibleClick => accessibleClickEvent.forTarget(this);
- @DomName('AccessibleNode.onaccessiblecontextmenu')
- @DocsEditable()
- @Experimental() // untriaged
Stream get onAccessibleContextMenu =>
accessibleContextMenuEvent.forTarget(this);
- @DomName('AccessibleNode.onaccessibledecrement')
- @DocsEditable()
- @Experimental() // untriaged
Stream get onAccessibleDecrement =>
accessibleDecrementEvent.forTarget(this);
- @DomName('AccessibleNode.onaccessiblefocus')
- @DocsEditable()
- @Experimental() // untriaged
Stream get onAccessibleFocus => accessibleFocusEvent.forTarget(this);
- @DomName('AccessibleNode.onaccessibleincrement')
- @DocsEditable()
- @Experimental() // untriaged
Stream get onAccessibleIncrement =>
accessibleIncrementEvent.forTarget(this);
- @DomName('AccessibleNode.onaccessiblescrollintoview')
- @DocsEditable()
- @Experimental() // untriaged
Stream get onAccessibleScrollIntoView =>
accessibleScrollIntoViewEvent.forTarget(this);
}
@@ -622,9 +375,6 @@ class AccessibleNode extends EventTarget {
// 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.
-@DocsEditable()
-@DomName('AccessibleNodeList')
-@Experimental() // untriaged
@Native("AccessibleNodeList")
class AccessibleNodeList extends Interceptor {
// To suppress missing implicit constructor warnings.
@@ -632,8 +382,6 @@ class AccessibleNodeList extends Interceptor {
throw new UnsupportedError("Not supported");
}
- @DomName('AccessibleNodeList.AccessibleNodeList')
- @DocsEditable()
factory AccessibleNodeList([List nodes]) {
if (nodes != null) {
return AccessibleNodeList._create_1(nodes);
@@ -645,38 +393,20 @@ class AccessibleNodeList extends Interceptor {
static AccessibleNodeList _create_2() =>
JS('AccessibleNodeList', 'new AccessibleNodeList()');
- @DomName('AccessibleNodeList.length')
- @DocsEditable()
- @Experimental() // untriaged
int length;
- @DomName('AccessibleNodeList.__setter__')
- @DocsEditable()
- @Experimental() // untriaged
void __setter__(int index, AccessibleNode node) native;
- @DomName('AccessibleNodeList.add')
- @DocsEditable()
- @Experimental() // untriaged
void add(AccessibleNode node, AccessibleNode before) native;
- @DomName('AccessibleNodeList.item')
- @DocsEditable()
- @Experimental() // untriaged
AccessibleNode item(int index) native;
- @DomName('AccessibleNodeList.remove')
- @DocsEditable()
- @Experimental() // untriaged
void remove(int index) native;
}
// Copyright (c) 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.
-@DocsEditable()
-@DomName('AmbientLightSensor')
-@Experimental() // untriaged
@Native("AmbientLightSensor")
class AmbientLightSensor extends Sensor {
// To suppress missing implicit constructor warnings.
@@ -684,8 +414,6 @@ class AmbientLightSensor extends Sensor {
throw new UnsupportedError("Not supported");
}
- @DomName('AmbientLightSensor.AmbientLightSensor')
- @DocsEditable()
factory AmbientLightSensor([Map sensorOptions]) {
if (sensorOptions != null) {
var sensorOptions_1 = convertDartToNative_Dictionary(sensorOptions);
@@ -698,17 +426,12 @@ class AmbientLightSensor extends Sensor {
static AmbientLightSensor _create_2() =>
JS('AmbientLightSensor', 'new AmbientLightSensor()');
- @DomName('AmbientLightSensor.illuminance')
- @DocsEditable()
- @Experimental() // untriaged
final num illuminance;
}
// Copyright (c) 2015, 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.
-@DocsEditable()
-@DomName('HTMLAnchorElement')
@Native("HTMLAnchorElement")
class AnchorElement extends HtmlElement implements HtmlHyperlinkElementUtils {
// To suppress missing implicit constructor warnings.
@@ -716,8 +439,6 @@ class AnchorElement extends HtmlElement implements HtmlHyperlinkElementUtils {
throw new UnsupportedError("Not supported");
}
- @DomName('HTMLAnchorElement.HTMLAnchorElement')
- @DocsEditable()
factory AnchorElement({String href}) {
AnchorElement e = JS('returns:AnchorElement;creates:AnchorElement;new:true',
'#.createElement(#)', document, "a");
@@ -731,92 +452,48 @@ class AnchorElement extends HtmlElement implements HtmlHyperlinkElementUtils {
*/
AnchorElement.created() : super.created();
- @DomName('HTMLAnchorElement.download')
- @DocsEditable()
String download;
- @DomName('HTMLAnchorElement.hreflang')
- @DocsEditable()
String hreflang;
- @DomName('HTMLAnchorElement.referrerPolicy')
- @DocsEditable()
- @Experimental() // untriaged
String referrerPolicy;
- @DomName('HTMLAnchorElement.rel')
- @DocsEditable()
String rel;
- @DomName('HTMLAnchorElement.target')
- @DocsEditable()
String target;
- @DomName('HTMLAnchorElement.type')
- @DocsEditable()
String type;
// From HTMLHyperlinkElementUtils
- @DomName('HTMLAnchorElement.hash')
- @DocsEditable()
String hash;
- @DomName('HTMLAnchorElement.host')
- @DocsEditable()
String host;
- @DomName('HTMLAnchorElement.hostname')
- @DocsEditable()
String hostname;
- @DomName('HTMLAnchorElement.href')
- @DocsEditable()
String href;
- @DomName('HTMLAnchorElement.origin')
- @DocsEditable()
- // WebKit only
- @Experimental() // non-standard
final String origin;
- @DomName('HTMLAnchorElement.password')
- @DocsEditable()
- @Experimental() // untriaged
String password;
- @DomName('HTMLAnchorElement.pathname')
- @DocsEditable()
String pathname;
- @DomName('HTMLAnchorElement.port')
- @DocsEditable()
String port;
- @DomName('HTMLAnchorElement.protocol')
- @DocsEditable()
String protocol;
- @DomName('HTMLAnchorElement.search')
- @DocsEditable()
String search;
- @DomName('HTMLAnchorElement.username')
- @DocsEditable()
- @Experimental() // untriaged
String username;
- @DomName('HTMLAnchorElement.toString')
- @DocsEditable()
String toString() => JS('String', 'String(#)', this);
}
// Copyright (c) 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.
-@DocsEditable()
-@DomName('Animation')
-@Experimental() // untriaged
@Native("Animation")
class Animation extends EventTarget {
// To suppress missing implicit constructor warnings.
@@ -824,20 +501,12 @@ class Animation extends EventTarget {
throw new UnsupportedError("Not supported");
}
- @DomName('Animation.cancelEvent')
- @DocsEditable()
- @Experimental() // untriaged
static const EventStreamProvider cancelEvent =
const EventStreamProvider('cancel');
- @DomName('Animation.finishEvent')
- @DocsEditable()
- @Experimental() // untriaged
static const EventStreamProvider finishEvent =
const EventStreamProvider('finish');
- @DomName('Animation.Animation')
- @DocsEditable()
factory Animation(
[AnimationEffectReadOnly effect, AnimationTimeline timeline]) {
if (timeline != null) {
@@ -857,95 +526,44 @@ class Animation extends EventTarget {
/// Checks if this type is supported on the current platform.
static bool get supported => JS('bool', '!!(document.body.animate)');
- @DomName('Animation.currentTime')
- @DocsEditable()
- @Experimental() // untriaged
num currentTime;
- @DomName('Animation.effect')
- @DocsEditable()
- @Experimental() // untriaged
AnimationEffectReadOnly effect;
- @DomName('Animation.finished')
- @DocsEditable()
- @Experimental() // untriaged
Future get finished =>
promiseToFuture(JS("", "#.finished", this));
- @DomName('Animation.id')
- @DocsEditable()
- @Experimental() // untriaged
String id;
- @DomName('Animation.playState')
- @DocsEditable()
- @Experimental() // untriaged
final String playState;
- @DomName('Animation.playbackRate')
- @DocsEditable()
- @Experimental() // untriaged
num playbackRate;
- @DomName('Animation.ready')
- @DocsEditable()
- @Experimental() // untriaged
Future get ready =>
promiseToFuture(JS("", "#.ready", this));
- @DomName('Animation.startTime')
- @DocsEditable()
- @Experimental() // untriaged
num startTime;
- @DomName('Animation.timeline')
- @DocsEditable()
- @Experimental() // untriaged
final AnimationTimeline timeline;
- @DomName('Animation.cancel')
- @DocsEditable()
- @Experimental() // untriaged
void cancel() native;
- @DomName('Animation.finish')
- @DocsEditable()
- @Experimental() // untriaged
void finish() native;
- @DomName('Animation.pause')
- @DocsEditable()
- @Experimental() // untriaged
void pause() native;
- @DomName('Animation.play')
- @DocsEditable()
- @Experimental() // untriaged
void play() native;
- @DomName('Animation.reverse')
- @DocsEditable()
- @Experimental() // untriaged
void reverse() native;
- @DomName('Animation.oncancel')
- @DocsEditable()
- @Experimental() // untriaged
Stream get onCancel => cancelEvent.forTarget(this);
- @DomName('Animation.onfinish')
- @DocsEditable()
- @Experimental() // untriaged
Stream get onFinish => finishEvent.forTarget(this);
}
// Copyright (c) 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.
-@DocsEditable()
-@DomName('AnimationEffectReadOnly')
-@Experimental() // untriaged
@Native("AnimationEffectReadOnly")
class AnimationEffectReadOnly extends Interceptor {
// To suppress missing implicit constructor warnings.
@@ -953,31 +571,19 @@ class AnimationEffectReadOnly extends Interceptor {
throw new UnsupportedError("Not supported");
}
- @DomName('AnimationEffectReadOnly.timing')
- @DocsEditable()
- @Experimental() // untriaged
final AnimationEffectTimingReadOnly timing;
- @DomName('AnimationEffectReadOnly.getComputedTiming')
- @DocsEditable()
- @Experimental() // untriaged
Map getComputedTiming() {
return convertNativeToDart_Dictionary(_getComputedTiming_1());
}
@JSName('getComputedTiming')
- @DomName('AnimationEffectReadOnly.getComputedTiming')
- @DocsEditable()
- @Experimental() // untriaged
_getComputedTiming_1() native;
}
// Copyright (c) 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.
-@DocsEditable()
-@DomName('AnimationEffectTiming')
-@Experimental() // untriaged
@Native("AnimationEffectTiming")
class AnimationEffectTiming extends AnimationEffectTimingReadOnly {
// To suppress missing implicit constructor warnings.
@@ -1045,9 +651,6 @@ class AnimationEffectTiming extends AnimationEffectTimingReadOnly {
// 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.
-@DocsEditable()
-@DomName('AnimationEffectTimingReadOnly')
-@Experimental() // untriaged
@Native("AnimationEffectTimingReadOnly")
class AnimationEffectTimingReadOnly extends Interceptor {
// To suppress missing implicit constructor warnings.
@@ -1055,53 +658,26 @@ class AnimationEffectTimingReadOnly extends Interceptor {
throw new UnsupportedError("Not supported");
}
- @DomName('AnimationEffectTimingReadOnly.delay')
- @DocsEditable()
- @Experimental() // untriaged
final num delay;
- @DomName('AnimationEffectTimingReadOnly.direction')
- @DocsEditable()
- @Experimental() // untriaged
final String direction;
- @DomName('AnimationEffectTimingReadOnly.duration')
- @DocsEditable()
- @Experimental() // untriaged
final Object duration;
- @DomName('AnimationEffectTimingReadOnly.easing')
- @DocsEditable()
- @Experimental() // untriaged
final String easing;
- @DomName('AnimationEffectTimingReadOnly.endDelay')
- @DocsEditable()
- @Experimental() // untriaged
final num endDelay;
- @DomName('AnimationEffectTimingReadOnly.fill')
- @DocsEditable()
- @Experimental() // untriaged
final String fill;
- @DomName('AnimationEffectTimingReadOnly.iterationStart')
- @DocsEditable()
- @Experimental() // untriaged
final num iterationStart;
- @DomName('AnimationEffectTimingReadOnly.iterations')
- @DocsEditable()
- @Experimental() // untriaged
final num iterations;
}
// Copyright (c) 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.
-@DocsEditable()
-@DomName('AnimationEvent')
-@Experimental() // untriaged
@Native("AnimationEvent")
class AnimationEvent extends Event {
// To suppress missing implicit constructor warnings.
@@ -1109,8 +685,6 @@ class AnimationEvent extends Event {
throw new UnsupportedError("Not supported");
}
- @DomName('AnimationEvent.AnimationEvent')
- @DocsEditable()
factory AnimationEvent(String type, [Map eventInitDict]) {
if (eventInitDict != null) {
var eventInitDict_1 = convertDartToNative_Dictionary(eventInitDict);
@@ -1123,23 +697,14 @@ class AnimationEvent extends Event {
static AnimationEvent _create_2(type) =>
JS('AnimationEvent', 'new AnimationEvent(#)', type);
- @DomName('AnimationEvent.animationName')
- @DocsEditable()
- @Experimental() // untriaged
final String animationName;
- @DomName('AnimationEvent.elapsedTime')
- @DocsEditable()
- @Experimental() // untriaged
final num 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
// BSD-style license that can be found in the LICENSE file.
-@DocsEditable()
-@DomName('AnimationPlaybackEvent')
-@Experimental() // untriaged
@Native("AnimationPlaybackEvent")
class AnimationPlaybackEvent extends Event {
// To suppress missing implicit constructor warnings.
@@ -1147,8 +712,6 @@ class AnimationPlaybackEvent extends Event {
throw new UnsupportedError("Not supported");
}
- @DomName('AnimationPlaybackEvent.AnimationPlaybackEvent')
- @DocsEditable()
factory AnimationPlaybackEvent(String type, [Map eventInitDict]) {
if (eventInitDict != null) {
var eventInitDict_1 = convertDartToNative_Dictionary(eventInitDict);
@@ -1164,23 +727,14 @@ class AnimationPlaybackEvent extends Event {
static AnimationPlaybackEvent _create_2(type) =>
JS('AnimationPlaybackEvent', 'new AnimationPlaybackEvent(#)', type);
- @DomName('AnimationPlaybackEvent.currentTime')
- @DocsEditable()
- @Experimental() // untriaged
final num currentTime;
- @DomName('AnimationPlaybackEvent.timelineTime')
- @DocsEditable()
- @Experimental() // untriaged
final num timelineTime;
}
// Copyright (c) 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.
-@DocsEditable()
-@DomName('AnimationTimeline')
-@Experimental() // untriaged
@Native("AnimationTimeline")
class AnimationTimeline extends Interceptor {
// To suppress missing implicit constructor warnings.
@@ -1188,18 +742,12 @@ class AnimationTimeline extends Interceptor {
throw new UnsupportedError("Not supported");
}
- @DomName('AnimationTimeline.currentTime')
- @DocsEditable()
- @Experimental() // untriaged
final num currentTime;
}
// Copyright (c) 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.
-@DocsEditable()
-@DomName('AnimationWorkletGlobalScope')
-@Experimental() // untriaged
@Native("AnimationWorkletGlobalScope")
class AnimationWorkletGlobalScope extends WorkletGlobalScope {
// To suppress missing implicit constructor warnings.
@@ -1207,20 +755,15 @@ class AnimationWorkletGlobalScope extends WorkletGlobalScope {
throw new UnsupportedError("Not supported");
}
- @DomName('AnimationWorkletGlobalScope.registerAnimator')
- @DocsEditable()
- @Experimental() // untriaged
void registerAnimator(String name, Object animatorConstructor) native;
}
// Copyright (c) 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.
-@DocsEditable()
/**
* ApplicationCache is accessed via [Window.applicationCache].
*/
-@DomName('ApplicationCache')
@SupportedBrowser(SupportedBrowser.CHROME)
@SupportedBrowser(SupportedBrowser.FIREFOX)
@SupportedBrowser(SupportedBrowser.IE, '10')
@@ -1240,8 +783,6 @@ class ApplicationCache extends EventTarget {
*
* See [EventStreamProvider] for usage information.
*/
- @DomName('ApplicationCache.cachedEvent')
- @DocsEditable()
static const EventStreamProvider cachedEvent =
const EventStreamProvider('cached');
@@ -1251,8 +792,6 @@ class ApplicationCache extends EventTarget {
*
* See [EventStreamProvider] for usage information.
*/
- @DomName('ApplicationCache.checkingEvent')
- @DocsEditable()
static const EventStreamProvider checkingEvent =
const EventStreamProvider('checking');
@@ -1262,8 +801,6 @@ class ApplicationCache extends EventTarget {
*
* See [EventStreamProvider] for usage information.
*/
- @DomName('ApplicationCache.downloadingEvent')
- @DocsEditable()
static const EventStreamProvider downloadingEvent =
const EventStreamProvider('downloading');
@@ -1273,8 +810,6 @@ class ApplicationCache extends EventTarget {
*
* See [EventStreamProvider] for usage information.
*/
- @DomName('ApplicationCache.errorEvent')
- @DocsEditable()
static const EventStreamProvider errorEvent =
const EventStreamProvider('error');
@@ -1284,8 +819,6 @@ class ApplicationCache extends EventTarget {
*
* See [EventStreamProvider] for usage information.
*/
- @DomName('ApplicationCache.noupdateEvent')
- @DocsEditable()
static const EventStreamProvider noUpdateEvent =
const EventStreamProvider('noupdate');
@@ -1295,8 +828,6 @@ class ApplicationCache extends EventTarget {
*
* See [EventStreamProvider] for usage information.
*/
- @DomName('ApplicationCache.obsoleteEvent')
- @DocsEditable()
static const EventStreamProvider obsoleteEvent =
const EventStreamProvider('obsolete');
@@ -1306,8 +837,6 @@ class ApplicationCache extends EventTarget {
*
* See [EventStreamProvider] for usage information.
*/
- @DomName('ApplicationCache.progressEvent')
- @DocsEditable()
static const EventStreamProvider progressEvent =
const EventStreamProvider('progress');
@@ -1317,101 +846,60 @@ class ApplicationCache extends EventTarget {
*
* See [EventStreamProvider] for usage information.
*/
- @DomName('ApplicationCache.updatereadyEvent')
- @DocsEditable()
static const EventStreamProvider updateReadyEvent =
const EventStreamProvider('updateready');
/// Checks if this type is supported on the current platform.
static bool get supported => JS('bool', '!!(window.applicationCache)');
- @DomName('ApplicationCache.CHECKING')
- @DocsEditable()
static const int CHECKING = 2;
- @DomName('ApplicationCache.DOWNLOADING')
- @DocsEditable()
static const int DOWNLOADING = 3;
- @DomName('ApplicationCache.IDLE')
- @DocsEditable()
static const int IDLE = 1;
- @DomName('ApplicationCache.OBSOLETE')
- @DocsEditable()
static const int OBSOLETE = 5;
- @DomName('ApplicationCache.UNCACHED')
- @DocsEditable()
static const int UNCACHED = 0;
- @DomName('ApplicationCache.UPDATEREADY')
- @DocsEditable()
static const int UPDATEREADY = 4;
- @DomName('ApplicationCache.status')
- @DocsEditable()
final int status;
- @DomName('ApplicationCache.abort')
- @DocsEditable()
void abort() native;
- @DomName('ApplicationCache.swapCache')
- @DocsEditable()
void swapCache() native;
- @DomName('ApplicationCache.update')
- @DocsEditable()
void update() native;
/// Stream of `cached` events handled by this [ApplicationCache].
- @DomName('ApplicationCache.oncached')
- @DocsEditable()
Stream get onCached => cachedEvent.forTarget(this);
/// Stream of `checking` events handled by this [ApplicationCache].
- @DomName('ApplicationCache.onchecking')
- @DocsEditable()
Stream get onChecking => checkingEvent.forTarget(this);
/// Stream of `downloading` events handled by this [ApplicationCache].
- @DomName('ApplicationCache.ondownloading')
- @DocsEditable()
Stream get onDownloading => downloadingEvent.forTarget(this);
/// Stream of `error` events handled by this [ApplicationCache].
- @DomName('ApplicationCache.onerror')
- @DocsEditable()
Stream get onError => errorEvent.forTarget(this);
/// Stream of `noupdate` events handled by this [ApplicationCache].
- @DomName('ApplicationCache.onnoupdate')
- @DocsEditable()
Stream get onNoUpdate => noUpdateEvent.forTarget(this);
/// Stream of `obsolete` events handled by this [ApplicationCache].
- @DomName('ApplicationCache.onobsolete')
- @DocsEditable()
Stream get onObsolete => obsoleteEvent.forTarget(this);
/// Stream of `progress` events handled by this [ApplicationCache].
- @DomName('ApplicationCache.onprogress')
- @DocsEditable()
Stream get onProgress => progressEvent.forTarget(this);
/// Stream of `updateready` events handled by this [ApplicationCache].
- @DomName('ApplicationCache.onupdateready')
- @DocsEditable()
Stream get onUpdateReady => updateReadyEvent.forTarget(this);
}
// Copyright (c) 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.
-@DocsEditable()
-@DomName('ApplicationCacheErrorEvent')
-@Experimental() // untriaged
@Native("ApplicationCacheErrorEvent")
class ApplicationCacheErrorEvent extends Event {
// To suppress missing implicit constructor warnings.
@@ -1419,8 +907,6 @@ class ApplicationCacheErrorEvent extends Event {
throw new UnsupportedError("Not supported");
}
- @DomName('ApplicationCacheErrorEvent.ApplicationCacheErrorEvent')
- @DocsEditable()
factory ApplicationCacheErrorEvent(String type, [Map eventInitDict]) {
if (eventInitDict != null) {
var eventInitDict_1 = convertDartToNative_Dictionary(eventInitDict);
@@ -1436,31 +922,18 @@ class ApplicationCacheErrorEvent extends Event {
static ApplicationCacheErrorEvent _create_2(type) => JS(
'ApplicationCacheErrorEvent', 'new ApplicationCacheErrorEvent(#)', type);
- @DomName('ApplicationCacheErrorEvent.message')
- @DocsEditable()
- @Experimental() // untriaged
final String message;
- @DomName('ApplicationCacheErrorEvent.reason')
- @DocsEditable()
- @Experimental() // untriaged
final String reason;
- @DomName('ApplicationCacheErrorEvent.status')
- @DocsEditable()
- @Experimental() // untriaged
final int status;
- @DomName('ApplicationCacheErrorEvent.url')
- @DocsEditable()
- @Experimental() // untriaged
final String url;
}
// Copyright (c) 2015, 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.
-@DocsEditable()
/**
* DOM Area Element, which links regions of an image map with a hyperlink.
*
@@ -1471,7 +944,6 @@ class ApplicationCacheErrorEvent extends Event {
* * [``](https://developer.mozilla.org/en-US/docs/HTML/Element/area)
* on MDN.
*/
-@DomName('HTMLAreaElement')
@Native("HTMLAreaElement")
class AreaElement extends HtmlElement implements HtmlHyperlinkElementUtils {
// To suppress missing implicit constructor warnings.
@@ -1479,8 +951,6 @@ class AreaElement extends HtmlElement implements HtmlHyperlinkElementUtils {
throw new UnsupportedError("Not supported");
}
- @DomName('HTMLAreaElement.HTMLAreaElement')
- @DocsEditable()
factory AreaElement() => JS(
'returns:AreaElement;creates:AreaElement;new:true',
'#.createElement(#)',
@@ -1493,100 +963,52 @@ class AreaElement extends HtmlElement implements HtmlHyperlinkElementUtils {
*/
AreaElement.created() : super.created();
- @DomName('HTMLAreaElement.alt')
- @DocsEditable()
String alt;
- @DomName('HTMLAreaElement.coords')
- @DocsEditable()
String coords;
- @DomName('HTMLAreaElement.download')
- @DocsEditable()
- @Experimental() // untriaged
String download;
- @DomName('HTMLAreaElement.referrerPolicy')
- @DocsEditable()
- @Experimental() // untriaged
String referrerPolicy;
- @DomName('HTMLAreaElement.rel')
- @DocsEditable()
- @Experimental() // untriaged
String rel;
- @DomName('HTMLAreaElement.shape')
- @DocsEditable()
String shape;
- @DomName('HTMLAreaElement.target')
- @DocsEditable()
String target;
// From HTMLHyperlinkElementUtils
- @DomName('HTMLAreaElement.hash')
- @DocsEditable()
String hash;
- @DomName('HTMLAreaElement.host')
- @DocsEditable()
String host;
- @DomName('HTMLAreaElement.hostname')
- @DocsEditable()
String hostname;
- @DomName('HTMLAreaElement.href')
- @DocsEditable()
String href;
- @DomName('HTMLAreaElement.origin')
- @DocsEditable()
- @Experimental() // untriaged
final String origin;
- @DomName('HTMLAreaElement.password')
- @DocsEditable()
- @Experimental() // untriaged
String password;
- @DomName('HTMLAreaElement.pathname')
- @DocsEditable()
String pathname;
- @DomName('HTMLAreaElement.port')
- @DocsEditable()
String port;
- @DomName('HTMLAreaElement.protocol')
- @DocsEditable()
String protocol;
- @DomName('HTMLAreaElement.search')
- @DocsEditable()
String search;
- @DomName('HTMLAreaElement.username')
- @DocsEditable()
- @Experimental() // untriaged
String username;
- @DomName('HTMLAreaElement.toString')
- @DocsEditable()
String toString() => JS('String', 'String(#)', this);
}
// Copyright (c) 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.
-@DocsEditable()
-@DomName('HTMLAudioElement')
@Native("HTMLAudioElement")
class AudioElement extends MediaElement {
- @DomName('HTMLAudioElement.HTMLAudioElement')
- @DocsEditable()
factory AudioElement._([String src]) {
if (src != null) {
return AudioElement._create_1(src);
@@ -1608,9 +1030,6 @@ class AudioElement extends MediaElement {
// 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.
-@DocsEditable()
-@DomName('AuthenticatorAssertionResponse')
-@Experimental() // untriaged
@Native("AuthenticatorAssertionResponse")
class AuthenticatorAssertionResponse extends AuthenticatorResponse {
// To suppress missing implicit constructor warnings.
@@ -1618,23 +1037,14 @@ class AuthenticatorAssertionResponse extends AuthenticatorResponse {
throw new UnsupportedError("Not supported");
}
- @DomName('AuthenticatorAssertionResponse.authenticatorData')
- @DocsEditable()
- @Experimental() // untriaged
final ByteBuffer authenticatorData;
- @DomName('AuthenticatorAssertionResponse.signature')
- @DocsEditable()
- @Experimental() // untriaged
final ByteBuffer signature;
}
// Copyright (c) 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.
-@DocsEditable()
-@DomName('AuthenticatorAttestationResponse')
-@Experimental() // untriaged
@Native("AuthenticatorAttestationResponse")
class AuthenticatorAttestationResponse extends AuthenticatorResponse {
// To suppress missing implicit constructor warnings.
@@ -1642,18 +1052,12 @@ class AuthenticatorAttestationResponse extends AuthenticatorResponse {
throw new UnsupportedError("Not supported");
}
- @DomName('AuthenticatorAttestationResponse.attestationObject')
- @DocsEditable()
- @Experimental() // untriaged
final ByteBuffer attestationObject;
}
// Copyright (c) 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.
-@DocsEditable()
-@DomName('AuthenticatorResponse')
-@Experimental() // untriaged
@Native("AuthenticatorResponse")
class AuthenticatorResponse extends Interceptor {
// To suppress missing implicit constructor warnings.
@@ -1662,17 +1066,12 @@ class AuthenticatorResponse extends Interceptor {
}
@JSName('clientDataJSON')
- @DomName('AuthenticatorResponse.clientDataJSON')
- @DocsEditable()
- @Experimental() // untriaged
final ByteBuffer clientDataJson;
}
// Copyright (c) 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.
-@DocsEditable()
-@DomName('HTMLBRElement')
@Native("HTMLBRElement")
class BRElement extends HtmlElement {
// To suppress missing implicit constructor warnings.
@@ -1680,8 +1079,6 @@ class BRElement extends HtmlElement {
throw new UnsupportedError("Not supported");
}
- @DomName('HTMLBRElement.HTMLBRElement')
- @DocsEditable()
factory BRElement() => JS('returns:BRElement;creates:BRElement;new:true',
'#.createElement(#)', document, "br");
/**
@@ -1695,9 +1092,6 @@ class BRElement extends HtmlElement {
// 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.
-@DocsEditable()
-@DomName('BackgroundFetchClickEvent')
-@Experimental() // untriaged
@Native("BackgroundFetchClickEvent")
class BackgroundFetchClickEvent extends BackgroundFetchEvent {
// To suppress missing implicit constructor warnings.
@@ -1705,8 +1099,6 @@ class BackgroundFetchClickEvent extends BackgroundFetchEvent {
throw new UnsupportedError("Not supported");
}
- @DomName('BackgroundFetchClickEvent.BackgroundFetchClickEvent')
- @DocsEditable()
factory BackgroundFetchClickEvent(String type, Map init) {
var init_1 = convertDartToNative_Dictionary(init);
return BackgroundFetchClickEvent._create_1(type, init_1);
@@ -1717,18 +1109,12 @@ class BackgroundFetchClickEvent extends BackgroundFetchEvent {
type,
init);
- @DomName('BackgroundFetchClickEvent.state')
- @DocsEditable()
- @Experimental() // untriaged
final String 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
// BSD-style license that can be found in the LICENSE file.
-@DocsEditable()
-@DomName('BackgroundFetchEvent')
-@Experimental() // untriaged
@Native("BackgroundFetchEvent")
class BackgroundFetchEvent extends ExtendableEvent {
// To suppress missing implicit constructor warnings.
@@ -1736,8 +1122,6 @@ class BackgroundFetchEvent extends ExtendableEvent {
throw new UnsupportedError("Not supported");
}
- @DomName('BackgroundFetchEvent.BackgroundFetchEvent')
- @DocsEditable()
factory BackgroundFetchEvent(String type, Map init) {
var init_1 = convertDartToNative_Dictionary(init);
return BackgroundFetchEvent._create_1(type, init_1);
@@ -1745,18 +1129,12 @@ class BackgroundFetchEvent extends ExtendableEvent {
static BackgroundFetchEvent _create_1(type, init) =>
JS('BackgroundFetchEvent', 'new BackgroundFetchEvent(#,#)', type, init);
- @DomName('BackgroundFetchEvent.id')
- @DocsEditable()
- @Experimental() // untriaged
final String id;
}
// Copyright (c) 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.
-@DocsEditable()
-@DomName('BackgroundFetchFailEvent')
-@Experimental() // untriaged
@Native("BackgroundFetchFailEvent")
class BackgroundFetchFailEvent extends BackgroundFetchEvent {
// To suppress missing implicit constructor warnings.
@@ -1764,8 +1142,6 @@ class BackgroundFetchFailEvent extends BackgroundFetchEvent {
throw new UnsupportedError("Not supported");
}
- @DomName('BackgroundFetchFailEvent.BackgroundFetchFailEvent')
- @DocsEditable()
factory BackgroundFetchFailEvent(String type, Map init) {
var init_1 = convertDartToNative_Dictionary(init);
return BackgroundFetchFailEvent._create_1(type, init_1);
@@ -1776,18 +1152,12 @@ class BackgroundFetchFailEvent extends BackgroundFetchEvent {
type,
init);
- @DomName('BackgroundFetchFailEvent.fetches')
- @DocsEditable()
- @Experimental() // untriaged
final List fetches;
}
// Copyright (c) 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.
-@DocsEditable()
-@DomName('BackgroundFetchFetch')
-@Experimental() // untriaged
@Native("BackgroundFetchFetch")
class BackgroundFetchFetch extends Interceptor {
// To suppress missing implicit constructor warnings.
@@ -1795,18 +1165,12 @@ class BackgroundFetchFetch extends Interceptor {
throw new UnsupportedError("Not supported");
}
- @DomName('BackgroundFetchFetch.request')
- @DocsEditable()
- @Experimental() // untriaged
final _Request request;
}
// Copyright (c) 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.
-@DocsEditable()
-@DomName('BackgroundFetchManager')
-@Experimental() // untriaged
@Native("BackgroundFetchManager")
class BackgroundFetchManager extends Interceptor {
// To suppress missing implicit constructor warnings.
@@ -1814,9 +1178,6 @@ class BackgroundFetchManager extends Interceptor {
throw new UnsupportedError("Not supported");
}
- @DomName('BackgroundFetchManager.fetch')
- @DocsEditable()
- @Experimental() // untriaged
Future fetch(String id, Object requests, [Map options]) {
if (options != null) {
var options_1 = convertDartToNative_Dictionary(options);
@@ -1826,26 +1187,14 @@ class BackgroundFetchManager extends Interceptor {
}
@JSName('fetch')
- @DomName('BackgroundFetchManager.fetch')
- @DocsEditable()
- @Experimental() // untriaged
Future _fetch_1(id, requests, options) native;
@JSName('fetch')
- @DomName('BackgroundFetchManager.fetch')
- @DocsEditable()
- @Experimental() // untriaged
Future _fetch_2(id, requests) native;
- @DomName('BackgroundFetchManager.get')
- @DocsEditable()
- @Experimental() // untriaged
Future get(String id) =>
promiseToFuture(
JS("", "#.get(#)", this, id));
- @DomName('BackgroundFetchManager.getIds')
- @DocsEditable()
- @Experimental() // untriaged
Future> getIds() =>
promiseToFuture>(JS("", "#.getIds()", this));
}
@@ -1853,9 +1202,6 @@ class BackgroundFetchManager extends Interceptor {
// 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.
-@DocsEditable()
-@DomName('BackgroundFetchRegistration')
-@Experimental() // untriaged
@Native("BackgroundFetchRegistration")
class BackgroundFetchRegistration extends EventTarget {
// To suppress missing implicit constructor warnings.
@@ -1863,53 +1209,26 @@ class BackgroundFetchRegistration extends EventTarget {
throw new UnsupportedError("Not supported");
}
- @DomName('BackgroundFetchRegistration.downloadTotal')
- @DocsEditable()
- @Experimental() // untriaged
final int downloadTotal;
- @DomName('BackgroundFetchRegistration.downloaded')
- @DocsEditable()
- @Experimental() // untriaged
final int downloaded;
- @DomName('BackgroundFetchRegistration.id')
- @DocsEditable()
- @Experimental() // untriaged
final String id;
- @DomName('BackgroundFetchRegistration.title')
- @DocsEditable()
- @Experimental() // untriaged
final String title;
- @DomName('BackgroundFetchRegistration.totalDownloadSize')
- @DocsEditable()
- @Experimental() // untriaged
final int totalDownloadSize;
- @DomName('BackgroundFetchRegistration.uploadTotal')
- @DocsEditable()
- @Experimental() // untriaged
final int uploadTotal;
- @DomName('BackgroundFetchRegistration.uploaded')
- @DocsEditable()
- @Experimental() // untriaged
final int uploaded;
- @DomName('BackgroundFetchRegistration.abort')
- @DocsEditable()
- @Experimental() // untriaged
Future abort() => promiseToFuture(JS("", "#.abort()", this));
}
// Copyright (c) 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.
-@DocsEditable()
-@DomName('BackgroundFetchSettledFetch')
-@Experimental() // untriaged
@Native("BackgroundFetchSettledFetch")
class BackgroundFetchSettledFetch extends BackgroundFetchFetch {
// To suppress missing implicit constructor warnings.
@@ -1917,8 +1236,6 @@ class BackgroundFetchSettledFetch extends BackgroundFetchFetch {
throw new UnsupportedError("Not supported");
}
- @DomName('BackgroundFetchSettledFetch.BackgroundFetchSettledFetch')
- @DocsEditable()
factory BackgroundFetchSettledFetch(_Request request, _Response response) {
return BackgroundFetchSettledFetch._create_1(request, response);
}
@@ -1928,18 +1245,12 @@ class BackgroundFetchSettledFetch extends BackgroundFetchFetch {
request,
response);
- @DomName('BackgroundFetchSettledFetch.response')
- @DocsEditable()
- @Experimental() // untriaged
final _Response response;
}
// Copyright (c) 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.
-@DocsEditable()
-@DomName('BackgroundFetchedEvent')
-@Experimental() // untriaged
@Native("BackgroundFetchedEvent")
class BackgroundFetchedEvent extends BackgroundFetchEvent {
// To suppress missing implicit constructor warnings.
@@ -1947,8 +1258,6 @@ class BackgroundFetchedEvent extends BackgroundFetchEvent {
throw new UnsupportedError("Not supported");
}
- @DomName('BackgroundFetchedEvent.BackgroundFetchedEvent')
- @DocsEditable()
factory BackgroundFetchedEvent(String type, Map init) {
var init_1 = convertDartToNative_Dictionary(init);
return BackgroundFetchedEvent._create_1(type, init_1);
@@ -1956,14 +1265,8 @@ class BackgroundFetchedEvent extends BackgroundFetchEvent {
static BackgroundFetchedEvent _create_1(type, init) => JS(
'BackgroundFetchedEvent', 'new BackgroundFetchedEvent(#,#)', type, init);
- @DomName('BackgroundFetchedEvent.fetches')
- @DocsEditable()
- @Experimental() // untriaged
final List fetches;
- @DomName('BackgroundFetchedEvent.updateUI')
- @DocsEditable()
- @Experimental() // untriaged
Future updateUI(String title) =>
promiseToFuture(JS("", "#.updateUI(#)", this, title));
}
@@ -1971,8 +1274,6 @@ class BackgroundFetchedEvent extends BackgroundFetchEvent {
// 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.
-@DocsEditable()
-@DomName('BarProp')
// http://www.whatwg.org/specs/web-apps/current-work/multipage/browsers.html#barprop
@deprecated // standard
@Native("BarProp")
@@ -1982,17 +1283,12 @@ class BarProp extends Interceptor {
throw new UnsupportedError("Not supported");
}
- @DomName('BarProp.visible')
- @DocsEditable()
final bool 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
// BSD-style license that can be found in the LICENSE file.
-@DocsEditable()
-@DomName('BarcodeDetector')
-@Experimental() // untriaged
@Native("BarcodeDetector")
class BarcodeDetector extends Interceptor {
// To suppress missing implicit constructor warnings.
@@ -2000,17 +1296,12 @@ class BarcodeDetector extends Interceptor {
throw new UnsupportedError("Not supported");
}
- @DomName('BarcodeDetector.BarcodeDetector')
- @DocsEditable()
factory BarcodeDetector() {
return BarcodeDetector._create_1();
}
static BarcodeDetector _create_1() =>
JS('BarcodeDetector', 'new BarcodeDetector()');
- @DomName('BarcodeDetector.detect')
- @DocsEditable()
- @Experimental() // untriaged
Future> detect(/*ImageBitmapSource*/ image) =>
promiseToFuture>(
JS("", "#.detect(#)", this, image));
@@ -2019,8 +1310,6 @@ class BarcodeDetector extends Interceptor {
// 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.
-@DocsEditable()
-@DomName('HTMLBaseElement')
@Native("HTMLBaseElement")
class BaseElement extends HtmlElement {
// To suppress missing implicit constructor warnings.
@@ -2028,8 +1317,6 @@ class BaseElement extends HtmlElement {
throw new UnsupportedError("Not supported");
}
- @DomName('HTMLBaseElement.HTMLBaseElement')
- @DocsEditable()
factory BaseElement() => JS(
'returns:BaseElement;creates:BaseElement;new:true',
'#.createElement(#)',
@@ -2042,22 +1329,14 @@ class BaseElement extends HtmlElement {
*/
BaseElement.created() : super.created();
- @DomName('HTMLBaseElement.href')
- @DocsEditable()
String href;
- @DomName('HTMLBaseElement.target')
- @DocsEditable()
String 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
// BSD-style license that can be found in the LICENSE file.
-@DocsEditable()
-@DomName('BatteryManager')
-// https://dvcs.w3.org/hg/dap/raw-file/default/battery/Overview.html#batterymanager-interface
-@Experimental() // stable
@Native("BatteryManager")
class BatteryManager extends EventTarget {
// To suppress missing implicit constructor warnings.
@@ -2065,29 +1344,18 @@ class BatteryManager extends EventTarget {
throw new UnsupportedError("Not supported");
}
- @DomName('BatteryManager.charging')
- @DocsEditable()
final bool charging;
- @DomName('BatteryManager.chargingTime')
- @DocsEditable()
final num chargingTime;
- @DomName('BatteryManager.dischargingTime')
- @DocsEditable()
final num dischargingTime;
- @DomName('BatteryManager.level')
- @DocsEditable()
final num level;
}
// Copyright (c) 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.
-@DocsEditable()
-@DomName('BeforeInstallPromptEvent')
-@Experimental() // untriaged
@Native("BeforeInstallPromptEvent")
class BeforeInstallPromptEvent extends Event {
// To suppress missing implicit constructor warnings.
@@ -2095,8 +1363,6 @@ class BeforeInstallPromptEvent extends Event {
throw new UnsupportedError("Not supported");
}
- @DomName('BeforeInstallPromptEvent.BeforeInstallPromptEvent')
- @DocsEditable()
factory BeforeInstallPromptEvent(String type, [Map eventInitDict]) {
if (eventInitDict != null) {
var eventInitDict_1 = convertDartToNative_Dictionary(eventInitDict);
@@ -2112,28 +1378,17 @@ class BeforeInstallPromptEvent extends Event {
static BeforeInstallPromptEvent _create_2(type) =>
JS('BeforeInstallPromptEvent', 'new BeforeInstallPromptEvent(#)', type);
- @DomName('BeforeInstallPromptEvent.platforms')
- @DocsEditable()
- @Experimental() // untriaged
final List platforms;
- @DomName('BeforeInstallPromptEvent.userChoice')
- @DocsEditable()
- @Experimental() // untriaged
Future