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> get userChoice => promiseToFutureAsMap(JS("", "#.userChoice", this)); - @DomName('BeforeInstallPromptEvent.prompt') - @DocsEditable() - @Experimental() // untriaged Future prompt() => promiseToFuture(JS("", "#.prompt()", 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('BeforeUnloadEvent') @Native("BeforeUnloadEvent") class BeforeUnloadEvent extends Event { // To suppress missing implicit constructor warnings. @@ -2152,7 +1407,6 @@ class BeforeUnloadEvent extends Event { // 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. -@DomName('Blob') @Native("Blob") class Blob extends Interceptor { // To suppress missing implicit constructor warnings. @@ -2160,16 +1414,10 @@ class Blob extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('Blob.size') - @DocsEditable() final int size; - @DomName('Blob.type') - @DocsEditable() final String type; - @DomName('Blob.slice') - @DocsEditable() Blob slice([int start, int end, String contentType]) native; factory Blob(List blobParts, [String type, String endings]) { @@ -2199,16 +1447,11 @@ class Blob extends Interceptor { // WARNING: Do not edit - generated code. -@DomName('BlobCallback') -@Experimental() // untriaged typedef void BlobCallback(Blob blob); // Copyright (c) 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('BlobEvent') -@Experimental() // untriaged @Native("BlobEvent") class BlobEvent extends Event { // To suppress missing implicit constructor warnings. @@ -2216,8 +1459,6 @@ class BlobEvent extends Event { throw new UnsupportedError("Not supported"); } - @DomName('BlobEvent.BlobEvent') - @DocsEditable() factory BlobEvent(String type, Map eventInitDict) { var eventInitDict_1 = convertDartToNative_Dictionary(eventInitDict); return BlobEvent._create_1(type, eventInitDict_1); @@ -2225,23 +1466,14 @@ class BlobEvent extends Event { static BlobEvent _create_1(type, eventInitDict) => JS('BlobEvent', 'new BlobEvent(#,#)', type, eventInitDict); - @DomName('BlobEvent.data') - @DocsEditable() - @Experimental() // untriaged final Blob data; - @DomName('BlobEvent.timecode') - @DocsEditable() - @Experimental() // untriaged final num timecode; } // Copyright (c) 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('BluetoothRemoteGATTDescriptor') -@Experimental() // untriaged @Native("BluetoothRemoteGATTDescriptor") class BluetoothRemoteGattDescriptor extends Interceptor { // To suppress missing implicit constructor warnings. @@ -2249,29 +1481,14 @@ class BluetoothRemoteGattDescriptor extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('BluetoothRemoteGATTDescriptor.characteristic') - @DocsEditable() - @Experimental() // untriaged final _BluetoothRemoteGATTCharacteristic characteristic; - @DomName('BluetoothRemoteGATTDescriptor.uuid') - @DocsEditable() - @Experimental() // untriaged final String uuid; - @DomName('BluetoothRemoteGATTDescriptor.value') - @DocsEditable() - @Experimental() // untriaged final ByteData value; - @DomName('BluetoothRemoteGATTDescriptor.readValue') - @DocsEditable() - @Experimental() // untriaged Future readValue() => promiseToFuture(JS("", "#.readValue()", this)); - @DomName('BluetoothRemoteGATTDescriptor.writeValue') - @DocsEditable() - @Experimental() // untriaged Future writeValue(/*BufferSource*/ value) => promiseToFuture(JS("", "#.writeValue(#)", this, value)); } @@ -2279,9 +1496,6 @@ class BluetoothRemoteGattDescriptor 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('Body') -@Experimental() // untriaged @Native("Body") class Body extends Interceptor { // To suppress missing implicit constructor warnings. @@ -2289,43 +1503,23 @@ class Body extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('Body.bodyUsed') - @DocsEditable() - @Experimental() // untriaged final bool bodyUsed; - @DomName('Body.arrayBuffer') - @DocsEditable() - @Experimental() // untriaged Future arrayBuffer() => promiseToFuture(JS("", "#.arrayBuffer()", this)); - @DomName('Body.blob') - @DocsEditable() - @Experimental() // untriaged Future blob() => promiseToFuture(JS("", "#.blob()", this)); - @DomName('Body.formData') - @DocsEditable() - @Experimental() // untriaged Future formData() => promiseToFuture(JS("", "#.formData()", this)); - @DomName('Body.json') - @DocsEditable() - @Experimental() // untriaged Future json() => promiseToFuture(JS("", "#.json()", this)); - @DomName('Body.text') - @DocsEditable() - @Experimental() // untriaged Future text() => promiseToFuture(JS("", "#.text()", 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('HTMLBodyElement') @Native("HTMLBodyElement") class BodyElement extends HtmlElement implements WindowEventHandlers { // To suppress missing implicit constructor warnings. @@ -2339,8 +1533,6 @@ class BodyElement extends HtmlElement implements WindowEventHandlers { * * See [EventStreamProvider] for usage information. */ - @DomName('HTMLBodyElement.blurEvent') - @DocsEditable() static const EventStreamProvider blurEvent = const EventStreamProvider('blur'); @@ -2350,8 +1542,6 @@ class BodyElement extends HtmlElement implements WindowEventHandlers { * * See [EventStreamProvider] for usage information. */ - @DomName('HTMLBodyElement.errorEvent') - @DocsEditable() static const EventStreamProvider errorEvent = const EventStreamProvider('error'); @@ -2361,8 +1551,6 @@ class BodyElement extends HtmlElement implements WindowEventHandlers { * * See [EventStreamProvider] for usage information. */ - @DomName('HTMLBodyElement.focusEvent') - @DocsEditable() static const EventStreamProvider focusEvent = const EventStreamProvider('focus'); @@ -2372,8 +1560,6 @@ class BodyElement extends HtmlElement implements WindowEventHandlers { * * See [EventStreamProvider] for usage information. */ - @DomName('HTMLBodyElement.hashchangeEvent') - @DocsEditable() static const EventStreamProvider hashChangeEvent = const EventStreamProvider('hashchange'); @@ -2383,8 +1569,6 @@ class BodyElement extends HtmlElement implements WindowEventHandlers { * * See [EventStreamProvider] for usage information. */ - @DomName('HTMLBodyElement.loadEvent') - @DocsEditable() static const EventStreamProvider loadEvent = const EventStreamProvider('load'); @@ -2394,8 +1578,6 @@ class BodyElement extends HtmlElement implements WindowEventHandlers { * * See [EventStreamProvider] for usage information. */ - @DomName('HTMLBodyElement.messageEvent') - @DocsEditable() static const EventStreamProvider messageEvent = const EventStreamProvider('message'); @@ -2405,8 +1587,6 @@ class BodyElement extends HtmlElement implements WindowEventHandlers { * * See [EventStreamProvider] for usage information. */ - @DomName('HTMLBodyElement.offlineEvent') - @DocsEditable() static const EventStreamProvider offlineEvent = const EventStreamProvider('offline'); @@ -2416,8 +1596,6 @@ class BodyElement extends HtmlElement implements WindowEventHandlers { * * See [EventStreamProvider] for usage information. */ - @DomName('HTMLBodyElement.onlineEvent') - @DocsEditable() static const EventStreamProvider onlineEvent = const EventStreamProvider('online'); @@ -2427,8 +1605,6 @@ class BodyElement extends HtmlElement implements WindowEventHandlers { * * See [EventStreamProvider] for usage information. */ - @DomName('HTMLBodyElement.popstateEvent') - @DocsEditable() static const EventStreamProvider popStateEvent = const EventStreamProvider('popstate'); @@ -2438,14 +1614,9 @@ class BodyElement extends HtmlElement implements WindowEventHandlers { * * See [EventStreamProvider] for usage information. */ - @DomName('HTMLBodyElement.resizeEvent') - @DocsEditable() static const EventStreamProvider resizeEvent = const EventStreamProvider('resize'); - @DomName('HTMLBodyElement.scrollEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider scrollEvent = const EventStreamProvider('scroll'); @@ -2455,8 +1626,6 @@ class BodyElement extends HtmlElement implements WindowEventHandlers { * * See [EventStreamProvider] for usage information. */ - @DomName('HTMLBodyElement.storageEvent') - @DocsEditable() static const EventStreamProvider storageEvent = const EventStreamProvider('storage'); @@ -2466,13 +1635,9 @@ class BodyElement extends HtmlElement implements WindowEventHandlers { * * See [EventStreamProvider] for usage information. */ - @DomName('HTMLBodyElement.unloadEvent') - @DocsEditable() static const EventStreamProvider unloadEvent = const EventStreamProvider('unload'); - @DomName('HTMLBodyElement.HTMLBodyElement') - @DocsEditable() factory BodyElement() => JS( 'returns:BodyElement;creates:BodyElement;new:true', '#.createElement(#)', @@ -2486,77 +1651,47 @@ class BodyElement extends HtmlElement implements WindowEventHandlers { BodyElement.created() : super.created(); /// Stream of `blur` events handled by this [BodyElement]. - @DomName('HTMLBodyElement.onblur') - @DocsEditable() ElementStream get onBlur => blurEvent.forElement(this); /// Stream of `error` events handled by this [BodyElement]. - @DomName('HTMLBodyElement.onerror') - @DocsEditable() ElementStream get onError => errorEvent.forElement(this); /// Stream of `focus` events handled by this [BodyElement]. - @DomName('HTMLBodyElement.onfocus') - @DocsEditable() ElementStream get onFocus => focusEvent.forElement(this); /// Stream of `hashchange` events handled by this [BodyElement]. - @DomName('HTMLBodyElement.onhashchange') - @DocsEditable() ElementStream get onHashChange => hashChangeEvent.forElement(this); /// Stream of `load` events handled by this [BodyElement]. - @DomName('HTMLBodyElement.onload') - @DocsEditable() ElementStream get onLoad => loadEvent.forElement(this); /// Stream of `message` events handled by this [BodyElement]. - @DomName('HTMLBodyElement.onmessage') - @DocsEditable() ElementStream get onMessage => messageEvent.forElement(this); /// Stream of `offline` events handled by this [BodyElement]. - @DomName('HTMLBodyElement.onoffline') - @DocsEditable() ElementStream get onOffline => offlineEvent.forElement(this); /// Stream of `online` events handled by this [BodyElement]. - @DomName('HTMLBodyElement.ononline') - @DocsEditable() ElementStream get onOnline => onlineEvent.forElement(this); /// Stream of `popstate` events handled by this [BodyElement]. - @DomName('HTMLBodyElement.onpopstate') - @DocsEditable() ElementStream get onPopState => popStateEvent.forElement(this); /// Stream of `resize` events handled by this [BodyElement]. - @DomName('HTMLBodyElement.onresize') - @DocsEditable() ElementStream get onResize => resizeEvent.forElement(this); - @DomName('HTMLBodyElement.onscroll') - @DocsEditable() - @Experimental() // untriaged ElementStream get onScroll => scrollEvent.forElement(this); /// Stream of `storage` events handled by this [BodyElement]. - @DomName('HTMLBodyElement.onstorage') - @DocsEditable() ElementStream get onStorage => storageEvent.forElement(this); /// Stream of `unload` events handled by this [BodyElement]. - @DomName('HTMLBodyElement.onunload') - @DocsEditable() ElementStream get onUnload => unloadEvent.forElement(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('BroadcastChannel') -@Experimental() // untriaged @Native("BroadcastChannel") class BroadcastChannel extends EventTarget { // To suppress missing implicit constructor warnings. @@ -2564,47 +1699,27 @@ class BroadcastChannel extends EventTarget { throw new UnsupportedError("Not supported"); } - @DomName('BroadcastChannel.messageEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider messageEvent = const EventStreamProvider('message'); - @DomName('BroadcastChannel.BroadcastChannel') - @DocsEditable() factory BroadcastChannel(String name) { return BroadcastChannel._create_1(name); } static BroadcastChannel _create_1(name) => JS('BroadcastChannel', 'new BroadcastChannel(#)', name); - @DomName('BroadcastChannel.name') - @DocsEditable() - @Experimental() // untriaged final String name; - @DomName('BroadcastChannel.close') - @DocsEditable() - @Experimental() // untriaged void close() native; - @DomName('BroadcastChannel.postMessage') - @DocsEditable() - @Experimental() // untriaged void postMessage(Object message) native; - @DomName('BroadcastChannel.onmessage') - @DocsEditable() - @Experimental() // untriaged Stream get onMessage => messageEvent.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('BudgetState') -@Experimental() // untriaged @Native("BudgetState") class BudgetState extends Interceptor { // To suppress missing implicit constructor warnings. @@ -2612,22 +1727,14 @@ class BudgetState extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('BudgetState.budgetAt') - @DocsEditable() - @Experimental() // untriaged final num budgetAt; - @DomName('BudgetState.time') - @DocsEditable() - @Experimental() // untriaged final int time; } // Copyright (c) 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('HTMLButtonElement') @Native("HTMLButtonElement") class ButtonElement extends HtmlElement { // To suppress missing implicit constructor warnings. @@ -2635,8 +1742,6 @@ class ButtonElement extends HtmlElement { throw new UnsupportedError("Not supported"); } - @DomName('HTMLButtonElement.HTMLButtonElement') - @DocsEditable() factory ButtonElement() => JS( 'returns:ButtonElement;creates:ButtonElement;new:true', '#.createElement(#)', @@ -2649,88 +1754,49 @@ class ButtonElement extends HtmlElement { */ ButtonElement.created() : super.created(); - @DomName('HTMLButtonElement.autofocus') - @DocsEditable() bool autofocus; - @DomName('HTMLButtonElement.disabled') - @DocsEditable() bool disabled; - @DomName('HTMLButtonElement.form') - @DocsEditable() final FormElement form; - @DomName('HTMLButtonElement.formAction') - @DocsEditable() String formAction; - @DomName('HTMLButtonElement.formEnctype') - @DocsEditable() String formEnctype; - @DomName('HTMLButtonElement.formMethod') - @DocsEditable() String formMethod; - @DomName('HTMLButtonElement.formNoValidate') - @DocsEditable() bool formNoValidate; - @DomName('HTMLButtonElement.formTarget') - @DocsEditable() String formTarget; - @DomName('HTMLButtonElement.labels') - @DocsEditable() @Unstable() @Returns('NodeList|Null') @Creates('NodeList') final List labels; - @DomName('HTMLButtonElement.name') - @DocsEditable() String name; - @DomName('HTMLButtonElement.type') - @DocsEditable() String type; - @DomName('HTMLButtonElement.validationMessage') - @DocsEditable() final String validationMessage; - @DomName('HTMLButtonElement.validity') - @DocsEditable() final ValidityState validity; - @DomName('HTMLButtonElement.value') - @DocsEditable() String value; - @DomName('HTMLButtonElement.willValidate') - @DocsEditable() final bool willValidate; - @DomName('HTMLButtonElement.checkValidity') - @DocsEditable() bool checkValidity() native; - @DomName('HTMLButtonElement.reportValidity') - @DocsEditable() - @Experimental() // untriaged bool reportValidity() native; - @DomName('HTMLButtonElement.setCustomValidity') - @DocsEditable() void setCustomValidity(String error) 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('CDATASection') // http://dom.spec.whatwg.org/#cdatasection @deprecated // deprecated @Native("CDATASection") @@ -2744,9 +1810,6 @@ class CDataSection extends Text { // 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('CacheStorage') -@Experimental() // untriaged @Native("CacheStorage") class CacheStorage extends Interceptor { // To suppress missing implicit constructor warnings. @@ -2754,26 +1817,14 @@ class CacheStorage extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('CacheStorage.delete') - @DocsEditable() - @Experimental() // untriaged Future delete(String cacheName) => promiseToFuture(JS("", "#.delete(#)", this, cacheName)); - @DomName('CacheStorage.has') - @DocsEditable() - @Experimental() // untriaged Future has(String cacheName) => promiseToFuture(JS("", "#.has(#)", this, cacheName)); - @DomName('CacheStorage.keys') - @DocsEditable() - @Experimental() // untriaged Future keys() => promiseToFuture(JS("", "#.keys()", this)); - @DomName('CacheStorage.match') - @DocsEditable() - @Experimental() // untriaged Future match(/*RequestInfo*/ request, [Map options]) { if (options != null) { var options_1 = convertDartToNative_Dictionary(options); @@ -2783,19 +1834,10 @@ class CacheStorage extends Interceptor { } @JSName('match') - @DomName('CacheStorage.match') - @DocsEditable() - @Experimental() // untriaged Future _match_1(request, options) native; @JSName('match') - @DomName('CacheStorage.match') - @DocsEditable() - @Experimental() // untriaged Future _match_2(request) native; - @DomName('CacheStorage.open') - @DocsEditable() - @Experimental() // untriaged Future open(String cacheName) => promiseToFuture(JS("", "#.open(#)", this, cacheName)); } @@ -2803,9 +1845,6 @@ class CacheStorage 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('CanMakePaymentEvent') -@Experimental() // untriaged @Native("CanMakePaymentEvent") class CanMakePaymentEvent extends ExtendableEvent { // To suppress missing implicit constructor warnings. @@ -2813,8 +1852,6 @@ class CanMakePaymentEvent extends ExtendableEvent { throw new UnsupportedError("Not supported"); } - @DomName('CanMakePaymentEvent.CanMakePaymentEvent') - @DocsEditable() factory CanMakePaymentEvent(String type, Map eventInitDict) { var eventInitDict_1 = convertDartToNative_Dictionary(eventInitDict); return CanMakePaymentEvent._create_1(type, eventInitDict_1); @@ -2825,38 +1862,20 @@ class CanMakePaymentEvent extends ExtendableEvent { type, eventInitDict); - @DomName('CanMakePaymentEvent.methodData') - @DocsEditable() - @Experimental() // untriaged final List methodData; - @DomName('CanMakePaymentEvent.modifiers') - @DocsEditable() - @Experimental() // untriaged final List modifiers; - @DomName('CanMakePaymentEvent.paymentRequestOrigin') - @DocsEditable() - @Experimental() // untriaged final String paymentRequestOrigin; - @DomName('CanMakePaymentEvent.topLevelOrigin') - @DocsEditable() - @Experimental() // untriaged final String topLevelOrigin; - @DomName('CanMakePaymentEvent.respondWith') - @DocsEditable() - @Experimental() // untriaged void respondWith(Future canMakePaymentResponse) 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('CanvasCaptureMediaStreamTrack') -@Experimental() // untriaged @Native("CanvasCaptureMediaStreamTrack") class CanvasCaptureMediaStreamTrack extends MediaStreamTrack { // To suppress missing implicit constructor warnings. @@ -2864,21 +1883,14 @@ class CanvasCaptureMediaStreamTrack extends MediaStreamTrack { throw new UnsupportedError("Not supported"); } - @DomName('CanvasCaptureMediaStreamTrack.canvas') - @DocsEditable() - @Experimental() // untriaged final CanvasElement canvas; - @DomName('CanvasCaptureMediaStreamTrack.requestFrame') - @DocsEditable() - @Experimental() // untriaged void requestFrame() 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. -@DomName('HTMLCanvasElement') @Native("HTMLCanvasElement") class CanvasElement extends HtmlElement implements CanvasImageSource { // To suppress missing implicit constructor warnings. @@ -2892,8 +1904,6 @@ class CanvasElement extends HtmlElement implements CanvasImageSource { * * See [EventStreamProvider] for usage information. */ - @DomName('HTMLCanvasElement.webglcontextlostEvent') - @DocsEditable() static const EventStreamProvider webGlContextLostEvent = const EventStreamProvider('webglcontextlost'); @@ -2903,13 +1913,9 @@ class CanvasElement extends HtmlElement implements CanvasImageSource { * * See [EventStreamProvider] for usage information. */ - @DomName('HTMLCanvasElement.webglcontextrestoredEvent') - @DocsEditable() static const EventStreamProvider webGlContextRestoredEvent = const EventStreamProvider('webglcontextrestored'); - @DomName('HTMLCanvasElement.HTMLCanvasElement') - @DocsEditable() factory CanvasElement({int width, int height}) { CanvasElement e = JS('returns:CanvasElement;creates:CanvasElement;new:true', '#.createElement(#)', document, "canvas"); @@ -2925,22 +1931,13 @@ class CanvasElement extends HtmlElement implements CanvasImageSource { CanvasElement.created() : super.created(); /// The height of this canvas element in CSS pixels. - @DomName('HTMLCanvasElement.height') - @DocsEditable() int height; /// The width of this canvas element in CSS pixels. - @DomName('HTMLCanvasElement.width') - @DocsEditable() int width; - @DomName('HTMLCanvasElement.captureStream') - @DocsEditable() - @Experimental() // untriaged MediaStream captureStream([num frameRate]) native; - @DomName('HTMLCanvasElement.getContext') - @DocsEditable() @Creates('CanvasRenderingContext2D|RenderingContext|RenderingContext2') @Returns('CanvasRenderingContext2D|RenderingContext|RenderingContext2|Null') Object getContext(String contextId, [Map attributes]) { @@ -2952,42 +1949,26 @@ class CanvasElement extends HtmlElement implements CanvasImageSource { } @JSName('getContext') - @DomName('HTMLCanvasElement.getContext') - @DocsEditable() @Creates('CanvasRenderingContext2D|RenderingContext|RenderingContext2') @Returns('CanvasRenderingContext2D|RenderingContext|RenderingContext2|Null') Object _getContext_1(contextId, attributes) native; @JSName('getContext') - @DomName('HTMLCanvasElement.getContext') - @DocsEditable() @Creates('CanvasRenderingContext2D|RenderingContext|RenderingContext2') @Returns('CanvasRenderingContext2D|RenderingContext|RenderingContext2|Null') Object _getContext_2(contextId) native; - @DomName('HTMLCanvasElement.toBlob') - @DocsEditable() - @Experimental() // untriaged void toBlob(BlobCallback callback, String type, [Object arguments]) native; @JSName('toDataURL') - @DomName('HTMLCanvasElement.toDataURL') - @DocsEditable() String _toDataUrl(String type, [arguments_OR_quality]) native; - @DomName('HTMLCanvasElement.transferControlToOffscreen') - @DocsEditable() - @Experimental() // untriaged OffscreenCanvas transferControlToOffscreen() native; /// Stream of `webglcontextlost` events handled by this [CanvasElement]. - @DomName('HTMLCanvasElement.onwebglcontextlost') - @DocsEditable() ElementStream get onWebGlContextLost => webGlContextLostEvent.forElement(this); /// Stream of `webglcontextrestored` events handled by this [CanvasElement]. - @DomName('HTMLCanvasElement.onwebglcontextrestored') - @DocsEditable() ElementStream get onWebGlContextRestored => webGlContextRestoredEvent.forElement(this); @@ -3006,7 +1987,6 @@ class CanvasElement extends HtmlElement implements CanvasImageSource { */ @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.FIREFOX) - @Experimental() gl.RenderingContext getContext3d( {alpha: true, depth: true, @@ -3077,7 +2057,6 @@ class CanvasElement extends HtmlElement implements CanvasImageSource { // 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() /** * An opaque canvas object representing a gradient. * @@ -3108,7 +2087,6 @@ class CanvasElement extends HtmlElement implements CanvasImageSource { * from WHATWG. * * [CanvasGradient](http://www.w3.org/TR/2010/WD-2dcontext-20100304/#canvasgradient) from W3C. */ -@DomName('CanvasGradient') @Native("CanvasGradient") class CanvasGradient extends Interceptor { // To suppress missing implicit constructor warnings. @@ -3125,15 +2103,12 @@ class CanvasGradient extends Interceptor { * * * [Multiple Color Stops](https://developer.mozilla.org/en-US/docs/CSS/linear-gradient#Gradient_with_multiple_color_stops) from MDN. */ - @DomName('CanvasGradient.addColorStop') - @DocsEditable() void addColorStop(num offset, String color) 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() /** * An opaque object representing a pattern of image, canvas, or video. * @@ -3162,7 +2137,6 @@ class CanvasGradient extends Interceptor { * from WHATWG. * * [CanvasPattern](http://www.w3.org/TR/2010/WD-2dcontext-20100304/#canvaspattern) from W3C. */ -@DomName('CanvasPattern') @Native("CanvasPattern") class CanvasPattern extends Interceptor { // To suppress missing implicit constructor warnings. @@ -3170,9 +2144,6 @@ class CanvasPattern extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('CanvasPattern.setTransform') - @DocsEditable() - @Experimental() // untriaged void setTransform(Matrix transform) native; } // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file @@ -3183,7 +2154,6 @@ abstract class CanvasRenderingContext { CanvasElement get canvas; } -@DomName('CanvasRenderingContext2D') @Native("CanvasRenderingContext2D") class CanvasRenderingContext2D extends Interceptor implements CanvasRenderingContext { @@ -3192,42 +2162,22 @@ class CanvasRenderingContext2D extends Interceptor throw new UnsupportedError("Not supported"); } - @DomName('CanvasRenderingContext2D.canvas') - @DocsEditable() - @Experimental() // untriaged final CanvasElement canvas; - @DomName('CanvasRenderingContext2D.currentTransform') - @DocsEditable() - @Experimental() // untriaged Matrix currentTransform; - @DomName('CanvasRenderingContext2D.direction') - @DocsEditable() - @Experimental() // untriaged String direction; - @DomName('CanvasRenderingContext2D.fillStyle') - @DocsEditable() @Creates('String|CanvasGradient|CanvasPattern') @Returns('String|CanvasGradient|CanvasPattern') Object fillStyle; - @DomName('CanvasRenderingContext2D.filter') - @DocsEditable() - @Experimental() // untriaged String filter; - @DomName('CanvasRenderingContext2D.font') - @DocsEditable() String font; - @DomName('CanvasRenderingContext2D.globalAlpha') - @DocsEditable() num globalAlpha; - @DomName('CanvasRenderingContext2D.globalCompositeOperation') - @DocsEditable() String globalCompositeOperation; /** @@ -3240,65 +2190,34 @@ class CanvasRenderingContext2D extends Interceptor * smoothing](https://html.spec.whatwg.org/multipage/scripting.html#image-smoothing) * from WHATWG. */ - @DomName('CanvasRenderingContext2D.imageSmoothingEnabled') - @DocsEditable() - @Experimental() // untriaged bool imageSmoothingEnabled; - @DomName('CanvasRenderingContext2D.imageSmoothingQuality') - @DocsEditable() - @Experimental() // untriaged String imageSmoothingQuality; - @DomName('CanvasRenderingContext2D.lineCap') - @DocsEditable() String lineCap; - @DomName('CanvasRenderingContext2D.lineJoin') - @DocsEditable() String lineJoin; - @DomName('CanvasRenderingContext2D.lineWidth') - @DocsEditable() num lineWidth; - @DomName('CanvasRenderingContext2D.miterLimit') - @DocsEditable() num miterLimit; - @DomName('CanvasRenderingContext2D.shadowBlur') - @DocsEditable() num shadowBlur; - @DomName('CanvasRenderingContext2D.shadowColor') - @DocsEditable() String shadowColor; - @DomName('CanvasRenderingContext2D.shadowOffsetX') - @DocsEditable() num shadowOffsetX; - @DomName('CanvasRenderingContext2D.shadowOffsetY') - @DocsEditable() num shadowOffsetY; - @DomName('CanvasRenderingContext2D.strokeStyle') - @DocsEditable() @Creates('String|CanvasGradient|CanvasPattern') @Returns('String|CanvasGradient|CanvasPattern') Object strokeStyle; - @DomName('CanvasRenderingContext2D.textAlign') - @DocsEditable() String textAlign; - @DomName('CanvasRenderingContext2D.textBaseline') - @DocsEditable() String textBaseline; - @DomName('CanvasRenderingContext2D.addHitRegion') - @DocsEditable() - @Experimental() // untriaged void addHitRegion([Map options]) { if (options != null) { var options_1 = convertDartToNative_Dictionary(options); @@ -3310,35 +2229,18 @@ class CanvasRenderingContext2D extends Interceptor } @JSName('addHitRegion') - @DomName('CanvasRenderingContext2D.addHitRegion') - @DocsEditable() - @Experimental() // untriaged void _addHitRegion_1(options) native; @JSName('addHitRegion') - @DomName('CanvasRenderingContext2D.addHitRegion') - @DocsEditable() - @Experimental() // untriaged void _addHitRegion_2() native; - @DomName('CanvasRenderingContext2D.beginPath') - @DocsEditable() void beginPath() native; - @DomName('CanvasRenderingContext2D.clearHitRegions') - @DocsEditable() - @Experimental() // untriaged void clearHitRegions() native; - @DomName('CanvasRenderingContext2D.clearRect') - @DocsEditable() void clearRect(num x, num y, num width, num height) native; - @DomName('CanvasRenderingContext2D.clip') - @DocsEditable() void clip([path_OR_winding, String winding]) native; - @DomName('CanvasRenderingContext2D.createImageData') - @DocsEditable() @Creates('ImageData|=Object') ImageData createImageData(data_OR_imagedata_OR_sw, [int sh_OR_sw, @@ -3390,110 +2292,62 @@ class CanvasRenderingContext2D extends Interceptor } @JSName('createImageData') - @DomName('CanvasRenderingContext2D.createImageData') - @DocsEditable() @Creates('ImageData|=Object') _createImageData_1(imagedata) native; @JSName('createImageData') - @DomName('CanvasRenderingContext2D.createImageData') - @DocsEditable() @Creates('ImageData|=Object') _createImageData_2(int sw, sh) native; @JSName('createImageData') - @DomName('CanvasRenderingContext2D.createImageData') - @DocsEditable() @Creates('ImageData|=Object') _createImageData_3(int sw, sh, imageDataColorSettings) native; @JSName('createImageData') - @DomName('CanvasRenderingContext2D.createImageData') - @DocsEditable() @Creates('ImageData|=Object') _createImageData_4(data, sw, int sh) native; @JSName('createImageData') - @DomName('CanvasRenderingContext2D.createImageData') - @DocsEditable() @Creates('ImageData|=Object') _createImageData_5(data, sw, int sh, imageDataColorSettings) native; - @DomName('CanvasRenderingContext2D.createLinearGradient') - @DocsEditable() CanvasGradient createLinearGradient(num x0, num y0, num x1, num y1) native; - @DomName('CanvasRenderingContext2D.createPattern') - @DocsEditable() CanvasPattern createPattern(Object image, String repetitionType) native; - @DomName('CanvasRenderingContext2D.createRadialGradient') - @DocsEditable() CanvasGradient createRadialGradient( num x0, num y0, num r0, num x1, num y1, num r1) native; - @DomName('CanvasRenderingContext2D.drawFocusIfNeeded') - @DocsEditable() - @Experimental() // untriaged void drawFocusIfNeeded(element_OR_path, [Element element]) native; - @DomName('CanvasRenderingContext2D.fill') - @DocsEditable() void fill([path_OR_winding, String winding]) native; - @DomName('CanvasRenderingContext2D.fillRect') - @DocsEditable() void fillRect(num x, num y, num width, num height) native; - @DomName('CanvasRenderingContext2D.getContextAttributes') - @DocsEditable() - // http://wiki.whatwg.org/wiki/CanvasOpaque#Suggested_IDL - @Experimental() Map getContextAttributes() { return convertNativeToDart_Dictionary(_getContextAttributes_1()); } @JSName('getContextAttributes') - @DomName('CanvasRenderingContext2D.getContextAttributes') - @DocsEditable() - // http://wiki.whatwg.org/wiki/CanvasOpaque#Suggested_IDL - @Experimental() _getContextAttributes_1() native; - @DomName('CanvasRenderingContext2D.getImageData') - @DocsEditable() @Creates('ImageData|=Object') ImageData getImageData(int sx, int sy, int sw, int sh) { return convertNativeToDart_ImageData(_getImageData_1(sx, sy, sw, sh)); } @JSName('getImageData') - @DomName('CanvasRenderingContext2D.getImageData') - @DocsEditable() @Creates('ImageData|=Object') _getImageData_1(sx, sy, sw, sh) native; @JSName('getLineDash') - @DomName('CanvasRenderingContext2D.getLineDash') - @DocsEditable() List _getLineDash() native; - @DomName('CanvasRenderingContext2D.isContextLost') - @DocsEditable() - @Experimental() // untriaged bool isContextLost() native; - @DomName('CanvasRenderingContext2D.isPointInPath') - @DocsEditable() bool isPointInPath(path_OR_x, num x_OR_y, [winding_OR_y, String winding]) native; - @DomName('CanvasRenderingContext2D.isPointInStroke') - @DocsEditable() bool isPointInStroke(path_OR_x, num x_OR_y, [num y]) native; - @DomName('CanvasRenderingContext2D.measureText') - @DocsEditable() TextMetrics measureText(String text) native; - @DomName('CanvasRenderingContext2D.putImageData') - @DocsEditable() void putImageData(ImageData imagedata, int dx, int dy, [int dirtyX, int dirtyY, int dirtyWidth, int dirtyHeight]) { if (dirtyX == null && @@ -3517,115 +2371,61 @@ class CanvasRenderingContext2D extends Interceptor } @JSName('putImageData') - @DomName('CanvasRenderingContext2D.putImageData') - @DocsEditable() void _putImageData_1(imagedata, dx, dy) native; @JSName('putImageData') - @DomName('CanvasRenderingContext2D.putImageData') - @DocsEditable() void _putImageData_2( imagedata, dx, dy, dirtyX, dirtyY, dirtyWidth, dirtyHeight) native; - @DomName('CanvasRenderingContext2D.removeHitRegion') - @DocsEditable() - @Experimental() // untriaged void removeHitRegion(String id) native; - @DomName('CanvasRenderingContext2D.resetTransform') - @DocsEditable() - @Experimental() // untriaged void resetTransform() native; - @DomName('CanvasRenderingContext2D.restore') - @DocsEditable() void restore() native; - @DomName('CanvasRenderingContext2D.rotate') - @DocsEditable() void rotate(num angle) native; - @DomName('CanvasRenderingContext2D.save') - @DocsEditable() void save() native; - @DomName('CanvasRenderingContext2D.scale') - @DocsEditable() void scale(num x, num y) native; - @DomName('CanvasRenderingContext2D.scrollPathIntoView') - @DocsEditable() - @Experimental() // untriaged void scrollPathIntoView([Path2D path]) native; - @DomName('CanvasRenderingContext2D.setTransform') - @DocsEditable() void setTransform(num a, num b, num c, num d, num e, num f) native; - @DomName('CanvasRenderingContext2D.stroke') - @DocsEditable() void stroke([Path2D path]) native; - @DomName('CanvasRenderingContext2D.strokeRect') - @DocsEditable() void strokeRect(num x, num y, num width, num height) native; - @DomName('CanvasRenderingContext2D.strokeText') - @DocsEditable() void strokeText(String text, num x, num y, [num maxWidth]) native; - @DomName('CanvasRenderingContext2D.transform') - @DocsEditable() void transform(num a, num b, num c, num d, num e, num f) native; - @DomName('CanvasRenderingContext2D.translate') - @DocsEditable() void translate(num x, num y) native; // From CanvasPath @JSName('arc') - @DomName('CanvasRenderingContext2D.arc') - @DocsEditable() void _arc(num x, num y, num radius, num startAngle, num endAngle, bool anticlockwise) native; - @DomName('CanvasRenderingContext2D.arcTo') - @DocsEditable() void arcTo(num x1, num y1, num x2, num y2, num radius) native; - @DomName('CanvasRenderingContext2D.bezierCurveTo') - @DocsEditable() void bezierCurveTo(num cp1x, num cp1y, num cp2x, num cp2y, num x, num y) native; - @DomName('CanvasRenderingContext2D.closePath') - @DocsEditable() void closePath() native; - @DomName('CanvasRenderingContext2D.ellipse') - @DocsEditable() - @Experimental() // untriaged void ellipse(num x, num y, num radiusX, num radiusY, num rotation, num startAngle, num endAngle, bool anticlockwise) native; - @DomName('CanvasRenderingContext2D.lineTo') - @DocsEditable() void lineTo(num x, num y) native; - @DomName('CanvasRenderingContext2D.moveTo') - @DocsEditable() void moveTo(num x, num y) native; - @DomName('CanvasRenderingContext2D.quadraticCurveTo') - @DocsEditable() void quadraticCurveTo(num cpx, num cpy, num x, num y) native; - @DomName('CanvasRenderingContext2D.rect') - @DocsEditable() void rect(num x, num y, num width, num height) native; - @DomName('CanvasRenderingContext2D.createImageDataFromImageData') - @DocsEditable() ImageData createImageDataFromImageData(ImageData imagedata) => JS('ImageData', '#.createImageData(#)', this, imagedata); @@ -3665,7 +2465,6 @@ class CanvasRenderingContext2D extends Interceptor this.strokeStyle = 'hsla($h, $s%, $l%, $a)'; } - @DomName('CanvasRenderingContext2D.arc') void arc(num x, num y, num radius, num startAngle, num endAngle, [bool anticlockwise = false]) { // TODO(terry): This should not be needed: dartbug.com/20939. @@ -3673,7 +2472,6 @@ class CanvasRenderingContext2D extends Interceptor endAngle, anticlockwise); } - @DomName('CanvasRenderingContext2D.createPatternFromImage') CanvasPattern createPatternFromImage( ImageElement image, String repetitionType) => JS('CanvasPattern', '#.createPattern(#, #)', this, image, repetitionType); @@ -3718,7 +2516,6 @@ class CanvasRenderingContext2D extends Interceptor * * [drawImage](http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#dom-context-2d-drawimage) * from the WHATWG. */ - @DomName('CanvasRenderingContext2D.drawImage') void drawImageToRect(CanvasImageSource source, Rectangle destRect, {Rectangle sourceRect}) { if (sourceRect == null) { @@ -3767,7 +2564,6 @@ class CanvasRenderingContext2D extends Interceptor * * [drawImage](http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#dom-context-2d-drawimage) * from the WHATWG. */ - @DomName('CanvasRenderingContext2D.drawImage') @JSName('drawImage') void drawImage(CanvasImageSource source, num destX, num destY) native; @@ -3797,7 +2593,6 @@ class CanvasRenderingContext2D extends Interceptor * * [drawImage](http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#dom-context-2d-drawimage) * from the WHATWG. */ - @DomName('CanvasRenderingContext2D.drawImage') @JSName('drawImage') void drawImageScaled(CanvasImageSource source, num destX, num destY, num destWidth, num destHeight) native; @@ -3831,7 +2626,6 @@ class CanvasRenderingContext2D extends Interceptor * * [drawImage](http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#dom-context-2d-drawimage) * from the WHATWG. */ - @DomName('CanvasRenderingContext2D.drawImage') @JSName('drawImage') void drawImageScaledFromSource( CanvasImageSource source, @@ -3848,7 +2642,6 @@ class CanvasRenderingContext2D extends Interceptor @SupportedBrowser(SupportedBrowser.SAFARI) @SupportedBrowser(SupportedBrowser.IE, '11') @Unstable() - @DomName('CanvasRenderingContext2D.lineDashOffset') // TODO(14316): Firefox has this functionality with mozDashOffset, but it // needs to be polyfilled. num get lineDashOffset => @@ -3858,7 +2651,6 @@ class CanvasRenderingContext2D extends Interceptor @SupportedBrowser(SupportedBrowser.SAFARI) @SupportedBrowser(SupportedBrowser.IE, '11') @Unstable() - @DomName('CanvasRenderingContext2D.lineDashOffset') // TODO(14316): Firefox has this functionality with mozDashOffset, but it // needs to be polyfilled. set lineDashOffset(num value) { @@ -3877,7 +2669,6 @@ class CanvasRenderingContext2D extends Interceptor @SupportedBrowser(SupportedBrowser.SAFARI) @SupportedBrowser(SupportedBrowser.IE, '11') @Unstable() - @DomName('CanvasRenderingContext2D.getLineDash') List getLineDash() { // TODO(14316): Firefox has this functionality with mozDash, but it's a bit // different. @@ -3892,7 +2683,6 @@ class CanvasRenderingContext2D extends Interceptor @SupportedBrowser(SupportedBrowser.SAFARI) @SupportedBrowser(SupportedBrowser.IE, '11') @Unstable() - @DomName('CanvasRenderingContext2D.setLineDash') void setLineDash(List dash) { // TODO(14316): Firefox has this functionality with mozDash, but it's a bit // different. @@ -3917,7 +2707,6 @@ class CanvasRenderingContext2D extends Interceptor * [CanvasRenderingContext2D.textBaseLine] properties are also applied to the * drawn text. */ - @DomName('CanvasRenderingContext2D.fillText') void fillText(String text, num x, num y, [num maxWidth]) { if (maxWidth != null) { JS('void', '#.fillText(#, #, #, #)', this, text, x, y, maxWidth); @@ -3927,8 +2716,6 @@ class CanvasRenderingContext2D extends Interceptor } /** Deprecated always returns 1.0 */ - @DomName('CanvasRenderingContext2D.webkitBackingStorePixelRation') - @Experimental() @deprecated double get backingStorePixelRatio => 1.0; } @@ -3936,8 +2723,6 @@ class CanvasRenderingContext2D 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('CharacterData') @Native("CharacterData") class CharacterData extends Node implements NonDocumentTypeChildNode, ChildNode { @@ -3946,63 +2731,36 @@ class CharacterData extends Node throw new UnsupportedError("Not supported"); } - @DomName('CharacterData.data') - @DocsEditable() String data; - @DomName('CharacterData.length') - @DocsEditable() final int length; - @DomName('CharacterData.appendData') - @DocsEditable() void appendData(String data) native; - @DomName('CharacterData.deleteData') - @DocsEditable() void deleteData(int offset, int count) native; - @DomName('CharacterData.insertData') - @DocsEditable() void insertData(int offset, String data) native; - @DomName('CharacterData.replaceData') - @DocsEditable() void replaceData(int offset, int count, String data) native; - @DomName('CharacterData.substringData') - @DocsEditable() String substringData(int offset, int count) native; // From ChildNode - @DomName('CharacterData.after') - @DocsEditable() - @Experimental() // untriaged void after(Object nodes) native; - @DomName('CharacterData.before') - @DocsEditable() - @Experimental() // untriaged void before(Object nodes) native; // From NonDocumentTypeChildNode - @DomName('CharacterData.nextElementSibling') - @DocsEditable() final Element nextElementSibling; - @DomName('CharacterData.previousElementSibling') - @DocsEditable() final Element 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('ChildNode') -@Experimental() // untriaged abstract class ChildNode extends Interceptor { // To suppress missing implicit constructor warnings. factory ChildNode._() { @@ -4019,9 +2777,6 @@ abstract class ChildNode 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('Client') -@Experimental() // untriaged @Native("Client") class Client extends Interceptor { // To suppress missing implicit constructor warnings. @@ -4029,38 +2784,20 @@ class Client extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('Client.frameType') - @DocsEditable() - @Experimental() // untriaged final String frameType; - @DomName('Client.id') - @DocsEditable() - @Experimental() // untriaged final String id; - @DomName('Client.type') - @DocsEditable() - @Experimental() // untriaged final String type; - @DomName('Client.url') - @DocsEditable() - @Experimental() // untriaged final String url; - @DomName('Client.postMessage') - @DocsEditable() - @Experimental() // untriaged void postMessage(Object message, [List transfer]) 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('Clients') -@Experimental() // untriaged @Native("Clients") class Clients extends Interceptor { // To suppress missing implicit constructor warnings. @@ -4068,19 +2805,10 @@ class Clients extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('Clients.claim') - @DocsEditable() - @Experimental() // untriaged Future claim() => promiseToFuture(JS("", "#.claim()", this)); - @DomName('Clients.get') - @DocsEditable() - @Experimental() // untriaged Future get(String id) => promiseToFuture(JS("", "#.get(#)", this, id)); - @DomName('Clients.matchAll') - @DocsEditable() - @Experimental() // untriaged Future matchAll([Map options]) { if (options != null) { var options_1 = convertDartToNative_Dictionary(options); @@ -4090,19 +2818,10 @@ class Clients extends Interceptor { } @JSName('matchAll') - @DomName('Clients.matchAll') - @DocsEditable() - @Experimental() // untriaged Future _matchAll_1(options) native; @JSName('matchAll') - @DomName('Clients.matchAll') - @DocsEditable() - @Experimental() // untriaged Future _matchAll_2() native; - @DomName('Clients.openWindow') - @DocsEditable() - @Experimental() // untriaged Future openWindow(String url) => promiseToFuture(JS("", "#.openWindow(#)", this, url)); } @@ -4110,9 +2829,6 @@ class Clients 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('ClipboardEvent') -@Experimental() // untriaged @Native("ClipboardEvent") class ClipboardEvent extends Event { // To suppress missing implicit constructor warnings. @@ -4120,8 +2836,6 @@ class ClipboardEvent extends Event { throw new UnsupportedError("Not supported"); } - @DomName('ClipboardEvent.ClipboardEvent') - @DocsEditable() factory ClipboardEvent(String type, [Map eventInitDict]) { if (eventInitDict != null) { var eventInitDict_1 = convertDartToNative_Dictionary(eventInitDict); @@ -4134,17 +2848,12 @@ class ClipboardEvent extends Event { static ClipboardEvent _create_2(type) => JS('ClipboardEvent', 'new ClipboardEvent(#)', type); - @DomName('ClipboardEvent.clipboardData') - @DocsEditable() - @Experimental() // untriaged final DataTransfer clipboardData; } // Copyright (c) 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('CloseEvent') @Native("CloseEvent") class CloseEvent extends Event { // To suppress missing implicit constructor warnings. @@ -4152,8 +2861,6 @@ class CloseEvent extends Event { throw new UnsupportedError("Not supported"); } - @DomName('CloseEvent.CloseEvent') - @DocsEditable() factory CloseEvent(String type, [Map eventInitDict]) { if (eventInitDict != null) { var eventInitDict_1 = convertDartToNative_Dictionary(eventInitDict); @@ -4166,24 +2873,16 @@ class CloseEvent extends Event { static CloseEvent _create_2(type) => JS('CloseEvent', 'new CloseEvent(#)', type); - @DomName('CloseEvent.code') - @DocsEditable() final int code; - @DomName('CloseEvent.reason') - @DocsEditable() final String reason; - @DomName('CloseEvent.wasClean') - @DocsEditable() final bool 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('Comment') @Native("Comment") class Comment extends CharacterData { factory Comment([String data]) { @@ -4201,7 +2900,6 @@ class Comment extends CharacterData { // WARNING: Do not edit - generated code. -@DomName('CompositionEvent') @Native("CompositionEvent") class CompositionEvent extends UIEvent { factory CompositionEvent(String type, @@ -4226,8 +2924,6 @@ class CompositionEvent extends UIEvent { return e; } - @DomName('CompositionEvent.CompositionEvent') - @DocsEditable() factory CompositionEvent._(String type, [Map eventInitDict]) { if (eventInitDict != null) { var eventInitDict_1 = convertDartToNative_Dictionary(eventInitDict); @@ -4240,13 +2936,9 @@ class CompositionEvent extends UIEvent { static CompositionEvent _create_2(type) => JS('CompositionEvent', 'new CompositionEvent(#)', type); - @DomName('CompositionEvent.data') - @DocsEditable() final String data; @JSName('initCompositionEvent') - @DomName('CompositionEvent.initCompositionEvent') - @DocsEditable() void _initCompositionEvent(String type, bool bubbles, bool cancelable, Window view, String data) native; } @@ -4254,11 +2946,7 @@ class CompositionEvent extends UIEvent { // 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('HTMLContentElement') @SupportedBrowser(SupportedBrowser.CHROME, '26') -@Experimental() -// https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/shadow/index.html#content-element @Native("HTMLContentElement") class ContentElement extends HtmlElement { // To suppress missing implicit constructor warnings. @@ -4266,8 +2954,6 @@ class ContentElement extends HtmlElement { throw new UnsupportedError("Not supported"); } - @DomName('HTMLContentElement.HTMLContentElement') - @DocsEditable() factory ContentElement() => document.createElement("content"); /** * Constructor instantiated by the DOM when a custom element has been created. @@ -4279,12 +2965,8 @@ class ContentElement extends HtmlElement { /// Checks if this type is supported on the current platform. static bool get supported => Element.isTagSupported('content'); - @DomName('HTMLContentElement.select') - @DocsEditable() String select; - @DomName('HTMLContentElement.getDistributedNodes') - @DocsEditable() @Returns('NodeList|Null') @Creates('NodeList') List getDistributedNodes() native; @@ -4293,9 +2975,6 @@ class ContentElement 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('CookieStore') -@Experimental() // untriaged @Native("CookieStore") class CookieStore extends Interceptor { // To suppress missing implicit constructor warnings. @@ -4303,9 +2982,6 @@ class CookieStore extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('CookieStore.getAll') - @DocsEditable() - @Experimental() // untriaged Future getAll([Map options]) { if (options != null) { var options_1 = convertDartToNative_Dictionary(options); @@ -4315,19 +2991,10 @@ class CookieStore extends Interceptor { } @JSName('getAll') - @DomName('CookieStore.getAll') - @DocsEditable() - @Experimental() // untriaged Future _getAll_1(options) native; @JSName('getAll') - @DomName('CookieStore.getAll') - @DocsEditable() - @Experimental() // untriaged Future _getAll_2() native; - @DomName('CookieStore.set') - @DocsEditable() - @Experimental() // untriaged Future set(String name, String value, [Map options]) { if (options != null) { var options_1 = convertDartToNative_Dictionary(options); @@ -4337,22 +3004,14 @@ class CookieStore extends Interceptor { } @JSName('set') - @DomName('CookieStore.set') - @DocsEditable() - @Experimental() // untriaged Future _set_1(name, value, options) native; @JSName('set') - @DomName('CookieStore.set') - @DocsEditable() - @Experimental() // untriaged Future _set_2(name, value) 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('Coordinates') @Native("Coordinates") class Coordinates extends Interceptor { // To suppress missing implicit constructor warnings. @@ -4360,41 +3019,24 @@ class Coordinates extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('Coordinates.accuracy') - @DocsEditable() final num accuracy; - @DomName('Coordinates.altitude') - @DocsEditable() final num altitude; - @DomName('Coordinates.altitudeAccuracy') - @DocsEditable() final num altitudeAccuracy; - @DomName('Coordinates.heading') - @DocsEditable() final num heading; - @DomName('Coordinates.latitude') - @DocsEditable() final num latitude; - @DomName('Coordinates.longitude') - @DocsEditable() final num longitude; - @DomName('Coordinates.speed') - @DocsEditable() final num 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('Credential') -@Experimental() // untriaged @Native("Credential") class Credential extends Interceptor { // To suppress missing implicit constructor warnings. @@ -4402,23 +3044,14 @@ class Credential extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('Credential.id') - @DocsEditable() - @Experimental() // untriaged final String id; - @DomName('Credential.type') - @DocsEditable() - @Experimental() // untriaged final String 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('CredentialUserData') -@Experimental() // untriaged @Native("CredentialUserData") class CredentialUserData extends Interceptor { // To suppress missing implicit constructor warnings. @@ -4427,23 +3060,14 @@ class CredentialUserData extends Interceptor { } @JSName('iconURL') - @DomName('CredentialUserData.iconURL') - @DocsEditable() - @Experimental() // untriaged final String iconUrl; - @DomName('CredentialUserData.name') - @DocsEditable() - @Experimental() // untriaged final String 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. -@DocsEditable() -@DomName('CredentialsContainer') -@Experimental() // untriaged @Native("CredentialsContainer") class CredentialsContainer extends Interceptor { // To suppress missing implicit constructor warnings. @@ -4451,9 +3075,6 @@ class CredentialsContainer extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('CredentialsContainer.create') - @DocsEditable() - @Experimental() // untriaged Future create([Map options]) { if (options != null) { var options_1 = convertDartToNative_Dictionary(options); @@ -4463,19 +3084,10 @@ class CredentialsContainer extends Interceptor { } @JSName('create') - @DomName('CredentialsContainer.create') - @DocsEditable() - @Experimental() // untriaged Future _create_1(options) native; @JSName('create') - @DomName('CredentialsContainer.create') - @DocsEditable() - @Experimental() // untriaged Future _create_2() native; - @DomName('CredentialsContainer.get') - @DocsEditable() - @Experimental() // untriaged Future get([Map options]) { if (options != null) { var options_1 = convertDartToNative_Dictionary(options); @@ -4485,31 +3097,16 @@ class CredentialsContainer extends Interceptor { } @JSName('get') - @DomName('CredentialsContainer.get') - @DocsEditable() - @Experimental() // untriaged Future _get_1(options) native; @JSName('get') - @DomName('CredentialsContainer.get') - @DocsEditable() - @Experimental() // untriaged Future _get_2() native; - @DomName('CredentialsContainer.preventSilentAccess') - @DocsEditable() - @Experimental() // untriaged Future preventSilentAccess() => promiseToFuture(JS("", "#.preventSilentAccess()", this)); - @DomName('CredentialsContainer.requireUserMediation') - @DocsEditable() - @Experimental() // untriaged Future requireUserMediation() => promiseToFuture(JS("", "#.requireUserMediation()", this)); - @DomName('CredentialsContainer.store') - @DocsEditable() - @Experimental() // untriaged Future store(Credential credential) => promiseToFuture(JS("", "#.store(#)", this, credential)); } @@ -4517,11 +3114,8 @@ class CredentialsContainer 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. -@DomName('Crypto') @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.SAFARI) -@Experimental() -// http://www.w3.org/TR/WebCryptoAPI/ @Native("Crypto") class Crypto extends Interceptor { TypedData getRandomValues(TypedData array) { @@ -4537,14 +3131,9 @@ class Crypto extends Interceptor { static bool get supported => JS('bool', '!!(window.crypto && window.crypto.getRandomValues)'); - @DomName('Crypto.subtle') - @DocsEditable() - @Experimental() // untriaged final _SubtleCrypto subtle; @JSName('getRandomValues') - @DomName('Crypto.getRandomValues') - @DocsEditable() @Creates('TypedData') @Returns('TypedData|Null') TypedData _getRandomValues(TypedData array) native; @@ -4553,9 +3142,6 @@ class Crypto 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('CryptoKey') -@Experimental() // untriaged @Native("CryptoKey") class CryptoKey extends Interceptor { // To suppress missing implicit constructor warnings. @@ -4563,35 +3149,19 @@ class CryptoKey extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('CryptoKey.algorithm') - @DocsEditable() - @Experimental() // untriaged @Creates('Null') final Object algorithm; - @DomName('CryptoKey.extractable') - @DocsEditable() - @Experimental() // untriaged final bool extractable; - @DomName('CryptoKey.type') - @DocsEditable() - @Experimental() // untriaged final String type; - @DomName('CryptoKey.usages') - @DocsEditable() - @Experimental() // untriaged final Object usages; } // Copyright (c) 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('CSS') -// http://www.w3.org/TR/css3-conditional/#the-css-interface -@Experimental() // None @Native("CSS") class Css extends Interceptor { // To suppress missing implicit constructor warnings. @@ -4599,125 +3169,53 @@ class Css extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('CSS.paintWorklet') - @DocsEditable() - @Experimental() // untriaged static final _Worklet paintWorklet; - @DomName('CSS.Hz') - @DocsEditable() - @Experimental() // untriaged static CssUnitValue Hz(num value) native; - @DomName('CSS.ch') - @DocsEditable() - @Experimental() // untriaged static CssUnitValue ch(num value) native; - @DomName('CSS.cm') - @DocsEditable() - @Experimental() // untriaged static CssUnitValue cm(num value) native; - @DomName('CSS.deg') - @DocsEditable() - @Experimental() // untriaged static CssUnitValue deg(num value) native; - @DomName('CSS.dpcm') - @DocsEditable() - @Experimental() // untriaged static CssUnitValue dpcm(num value) native; - @DomName('CSS.dpi') - @DocsEditable() - @Experimental() // untriaged static CssUnitValue dpi(num value) native; - @DomName('CSS.dppx') - @DocsEditable() - @Experimental() // untriaged static CssUnitValue dppx(num value) native; - @DomName('CSS.em') - @DocsEditable() - @Experimental() // untriaged static CssUnitValue em(num value) native; - @DomName('CSS.escape') - @DocsEditable() - @Experimental() // untriaged static String escape(String ident) native; - @DomName('CSS.ex') - @DocsEditable() - @Experimental() // untriaged static CssUnitValue ex(num value) native; - @DomName('CSS.fr') - @DocsEditable() - @Experimental() // untriaged static CssUnitValue fr(num value) native; - @DomName('CSS.grad') - @DocsEditable() - @Experimental() // untriaged static CssUnitValue grad(num value) native; @JSName('in') - @DomName('CSS.in') - @DocsEditable() - @Experimental() // untriaged static CssUnitValue inch(num value) native; - @DomName('CSS.kHz') - @DocsEditable() - @Experimental() // untriaged static CssUnitValue kHz(num value) native; - @DomName('CSS.mm') - @DocsEditable() - @Experimental() // untriaged static CssUnitValue mm(num value) native; - @DomName('CSS.ms') - @DocsEditable() - @Experimental() // untriaged static CssUnitValue ms(num value) native; - @DomName('CSS.number') - @DocsEditable() - @Experimental() // untriaged static CssUnitValue number(num value) native; - @DomName('CSS.pc') - @DocsEditable() - @Experimental() // untriaged static CssUnitValue pc(num value) native; - @DomName('CSS.percent') - @DocsEditable() - @Experimental() // untriaged static CssUnitValue percent(num value) native; - @DomName('CSS.pt') - @DocsEditable() - @Experimental() // untriaged static CssUnitValue pt(num value) native; - @DomName('CSS.px') - @DocsEditable() - @Experimental() // untriaged static CssUnitValue px(num value) native; - @DomName('CSS.rad') - @DocsEditable() - @Experimental() // untriaged static CssUnitValue rad(num value) native; - @DomName('CSS.registerProperty') - @DocsEditable() - @Experimental() // untriaged static void registerProperty(Map descriptor) { var descriptor_1 = convertDartToNative_Dictionary(descriptor); _registerProperty_1(descriptor_1); @@ -4725,63 +3223,31 @@ class Css extends Interceptor { } @JSName('registerProperty') - @DomName('CSS.registerProperty') - @DocsEditable() - @Experimental() // untriaged static void _registerProperty_1(descriptor) native; - @DomName('CSS.rem') - @DocsEditable() - @Experimental() // untriaged static CssUnitValue rem(num value) native; - @DomName('CSS.s') - @DocsEditable() - @Experimental() // untriaged static CssUnitValue s(num value) native; - @DomName('CSS.supports') - @DocsEditable() static bool supports(String property, String value) native; @JSName('supports') - @DomName('CSS.supports') - @DocsEditable() static bool supportsCondition(String conditionText) native; - @DomName('CSS.turn') - @DocsEditable() - @Experimental() // untriaged static CssUnitValue turn(num value) native; - @DomName('CSS.vh') - @DocsEditable() - @Experimental() // untriaged static CssUnitValue vh(num value) native; - @DomName('CSS.vmax') - @DocsEditable() - @Experimental() // untriaged static CssUnitValue vmax(num value) native; - @DomName('CSS.vmin') - @DocsEditable() - @Experimental() // untriaged static CssUnitValue vmin(num value) native; - @DomName('CSS.vw') - @DocsEditable() - @Experimental() // untriaged static CssUnitValue vw(num value) 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('CSSCharsetRule') -// http://dev.w3.org/csswg/cssom/#the-csscharsetrule-interface -@Experimental() @Native("CSSCharsetRule") class CssCharsetRule extends CssRule { // To suppress missing implicit constructor warnings. @@ -4789,17 +3255,12 @@ class CssCharsetRule extends CssRule { throw new UnsupportedError("Not supported"); } - @DomName('CSSCharsetRule.encoding') - @DocsEditable() String encoding; } // Copyright (c) 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('CSSConditionRule') -@Experimental() // untriaged @Native("CSSConditionRule") class CssConditionRule extends CssGroupingRule { // To suppress missing implicit constructor warnings. @@ -4807,17 +3268,12 @@ class CssConditionRule extends CssGroupingRule { throw new UnsupportedError("Not supported"); } - @DomName('CSSConditionRule.conditionText') - @DocsEditable() - @Experimental() // untriaged final String conditionText; } // Copyright (c) 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('CSSFontFaceRule') @Native("CSSFontFaceRule") class CssFontFaceRule extends CssRule { // To suppress missing implicit constructor warnings. @@ -4825,17 +3281,12 @@ class CssFontFaceRule extends CssRule { throw new UnsupportedError("Not supported"); } - @DomName('CSSFontFaceRule.style') - @DocsEditable() final CssStyleDeclaration 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('CSSGroupingRule') -@Experimental() // untriaged @Native("CSSGroupingRule") class CssGroupingRule extends CssRule { // To suppress missing implicit constructor warnings. @@ -4843,30 +3294,18 @@ class CssGroupingRule extends CssRule { throw new UnsupportedError("Not supported"); } - @DomName('CSSGroupingRule.cssRules') - @DocsEditable() - @Experimental() // untriaged @Returns('_CssRuleList|Null') @Creates('_CssRuleList') final List cssRules; - @DomName('CSSGroupingRule.deleteRule') - @DocsEditable() - @Experimental() // untriaged void deleteRule(int index) native; - @DomName('CSSGroupingRule.insertRule') - @DocsEditable() - @Experimental() // untriaged int insertRule(String rule, 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('CSSImageValue') -@Experimental() // untriaged @Native("CSSImageValue") class CssImageValue extends CssResourceValue { // To suppress missing implicit constructor warnings. @@ -4874,27 +3313,16 @@ class CssImageValue extends CssResourceValue { throw new UnsupportedError("Not supported"); } - @DomName('CSSImageValue.intrinsicHeight') - @DocsEditable() - @Experimental() // untriaged final num intrinsicHeight; - @DomName('CSSImageValue.intrinsicRatio') - @DocsEditable() - @Experimental() // untriaged final num intrinsicRatio; - @DomName('CSSImageValue.intrinsicWidth') - @DocsEditable() - @Experimental() // untriaged final num intrinsicWidth; } // Copyright (c) 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('CSSImportRule') @Native("CSSImportRule") class CssImportRule extends CssRule { // To suppress missing implicit constructor warnings. @@ -4902,25 +3330,16 @@ class CssImportRule extends CssRule { throw new UnsupportedError("Not supported"); } - @DomName('CSSImportRule.href') - @DocsEditable() final String href; - @DomName('CSSImportRule.media') - @DocsEditable() final MediaList media; - @DomName('CSSImportRule.styleSheet') - @DocsEditable() final CssStyleSheet 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('CSSKeyframeRule') -@Experimental() // untriaged @Native("CSSKeyframeRule,MozCSSKeyframeRule,WebKitCSSKeyframeRule") class CssKeyframeRule extends CssRule { // To suppress missing implicit constructor warnings. @@ -4928,23 +3347,14 @@ class CssKeyframeRule extends CssRule { throw new UnsupportedError("Not supported"); } - @DomName('CSSKeyframeRule.keyText') - @DocsEditable() - @Experimental() // untriaged String keyText; - @DomName('CSSKeyframeRule.style') - @DocsEditable() - @Experimental() // untriaged final CssStyleDeclaration 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('CSSKeyframesRule') -@Experimental() // untriaged @Native("CSSKeyframesRule,MozCSSKeyframesRule,WebKitCSSKeyframesRule") class CssKeyframesRule extends CssRule { // To suppress missing implicit constructor warnings. @@ -4952,45 +3362,24 @@ class CssKeyframesRule extends CssRule { throw new UnsupportedError("Not supported"); } - @DomName('CSSKeyframesRule.cssRules') - @DocsEditable() - @Experimental() // untriaged @Returns('_CssRuleList|Null') @Creates('_CssRuleList') final List cssRules; - @DomName('CSSKeyframesRule.name') - @DocsEditable() - @Experimental() // untriaged String name; - @DomName('CSSKeyframesRule.__getter__') - @DocsEditable() - @Experimental() // untriaged CssKeyframeRule __getter__(int index) native; - @DomName('CSSKeyframesRule.appendRule') - @DocsEditable() - @Experimental() // untriaged void appendRule(String rule) native; - @DomName('CSSKeyframesRule.deleteRule') - @DocsEditable() - @Experimental() // untriaged void deleteRule(String select) native; - @DomName('CSSKeyframesRule.findRule') - @DocsEditable() - @Experimental() // untriaged CssKeyframeRule findRule(String select) 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('CSSKeywordValue') -@Experimental() // untriaged @Native("CSSKeywordValue") class CssKeywordValue extends CssStyleValue { // To suppress missing implicit constructor warnings. @@ -4998,26 +3387,18 @@ class CssKeywordValue extends CssStyleValue { throw new UnsupportedError("Not supported"); } - @DomName('CSSKeywordValue.CSSKeywordValue') - @DocsEditable() factory CssKeywordValue(String keyword) { return CssKeywordValue._create_1(keyword); } static CssKeywordValue _create_1(keyword) => JS('CssKeywordValue', 'new CSSKeywordValue(#)', keyword); - @DomName('CSSKeywordValue.value') - @DocsEditable() - @Experimental() // untriaged String 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('CSSMatrixComponent') -@Experimental() // untriaged @Native("CSSMatrixComponent") class CssMatrixComponent extends CssTransformComponent { // To suppress missing implicit constructor warnings. @@ -5025,8 +3406,6 @@ class CssMatrixComponent extends CssTransformComponent { throw new UnsupportedError("Not supported"); } - @DomName('CSSMatrixComponent.CSSMatrixComponent') - @DocsEditable() factory CssMatrixComponent(DomMatrixReadOnly matrix, [Map options]) { if (options != null) { var options_1 = convertDartToNative_Dictionary(options); @@ -5039,17 +3418,12 @@ class CssMatrixComponent extends CssTransformComponent { static CssMatrixComponent _create_2(matrix) => JS('CssMatrixComponent', 'new CSSMatrixComponent(#)', matrix); - @DomName('CSSMatrixComponent.matrix') - @DocsEditable() - @Experimental() // untriaged DomMatrix matrix; } // Copyright (c) 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('CSSMediaRule') @Native("CSSMediaRule") class CssMediaRule extends CssConditionRule { // To suppress missing implicit constructor warnings. @@ -5057,17 +3431,12 @@ class CssMediaRule extends CssConditionRule { throw new UnsupportedError("Not supported"); } - @DomName('CSSMediaRule.media') - @DocsEditable() final MediaList media; } // Copyright (c) 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('CSSNamespaceRule') -@Experimental() // untriaged @Native("CSSNamespaceRule") class CssNamespaceRule extends CssRule { // To suppress missing implicit constructor warnings. @@ -5076,23 +3445,14 @@ class CssNamespaceRule extends CssRule { } @JSName('namespaceURI') - @DomName('CSSNamespaceRule.namespaceURI') - @DocsEditable() - @Experimental() // untriaged final String namespaceUri; - @DomName('CSSNamespaceRule.prefix') - @DocsEditable() - @Experimental() // untriaged final String prefix; } // Copyright (c) 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('CSSNumericValue') -@Experimental() // untriaged @Native("CSSNumericValue") class CssNumericValue extends CssStyleValue { // To suppress missing implicit constructor warnings. @@ -5100,42 +3460,22 @@ class CssNumericValue extends CssStyleValue { throw new UnsupportedError("Not supported"); } - @DomName('CSSNumericValue.add') - @DocsEditable() - @Experimental() // untriaged CssNumericValue add(CssNumericValue value) native; - @DomName('CSSNumericValue.div') - @DocsEditable() - @Experimental() // untriaged CssNumericValue div(num value) native; - @DomName('CSSNumericValue.mul') - @DocsEditable() - @Experimental() // untriaged CssNumericValue mul(num value) native; - @DomName('CSSNumericValue.parse') - @DocsEditable() - @Experimental() // untriaged static CssNumericValue parse(String cssText) native; - @DomName('CSSNumericValue.sub') - @DocsEditable() - @Experimental() // untriaged CssNumericValue sub(CssNumericValue value) native; - @DomName('CSSNumericValue.to') - @DocsEditable() - @Experimental() // untriaged CssNumericValue to(String unit) 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('CSSPageRule') @Native("CSSPageRule") class CssPageRule extends CssRule { // To suppress missing implicit constructor warnings. @@ -5143,21 +3483,14 @@ class CssPageRule extends CssRule { throw new UnsupportedError("Not supported"); } - @DomName('CSSPageRule.selectorText') - @DocsEditable() String selectorText; - @DomName('CSSPageRule.style') - @DocsEditable() final CssStyleDeclaration 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('CSSPerspective') -@Experimental() // untriaged @Native("CSSPerspective") class CssPerspective extends CssTransformComponent { // To suppress missing implicit constructor warnings. @@ -5165,26 +3498,18 @@ class CssPerspective extends CssTransformComponent { throw new UnsupportedError("Not supported"); } - @DomName('CSSPerspective.CSSPerspective') - @DocsEditable() factory CssPerspective(CssNumericValue length) { return CssPerspective._create_1(length); } static CssPerspective _create_1(length) => JS('CssPerspective', 'new CSSPerspective(#)', length); - @DomName('CSSPerspective.length') - @DocsEditable() - @Experimental() // untriaged CssNumericValue length; } // Copyright (c) 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('CSSPositionValue') -@Experimental() // untriaged @Native("CSSPositionValue") class CssPositionValue extends CssStyleValue { // To suppress missing implicit constructor warnings. @@ -5192,31 +3517,20 @@ class CssPositionValue extends CssStyleValue { throw new UnsupportedError("Not supported"); } - @DomName('CSSPositionValue.CSSPositionValue') - @DocsEditable() factory CssPositionValue(CssNumericValue x, CssNumericValue y) { return CssPositionValue._create_1(x, y); } static CssPositionValue _create_1(x, y) => JS('CssPositionValue', 'new CSSPositionValue(#,#)', x, y); - @DomName('CSSPositionValue.x') - @DocsEditable() - @Experimental() // untriaged CssNumericValue x; - @DomName('CSSPositionValue.y') - @DocsEditable() - @Experimental() // untriaged CssNumericValue 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('CSSResourceValue') -@Experimental() // untriaged @Native("CSSResourceValue") class CssResourceValue extends CssStyleValue { // To suppress missing implicit constructor warnings. @@ -5224,18 +3538,12 @@ class CssResourceValue extends CssStyleValue { throw new UnsupportedError("Not supported"); } - @DomName('CSSResourceValue.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('CSSRotation') -@Experimental() // untriaged @Native("CSSRotation") class CssRotation extends CssTransformComponent { // To suppress missing implicit constructor warnings. @@ -5243,8 +3551,6 @@ class CssRotation extends CssTransformComponent { throw new UnsupportedError("Not supported"); } - @DomName('CSSRotation.CSSRotation') - @DocsEditable() factory CssRotation(angleValue_OR_x, [num y, num z, CssNumericValue angle]) { if ((angleValue_OR_x is CssNumericValue) && y == null && @@ -5265,32 +3571,18 @@ class CssRotation extends CssTransformComponent { static CssRotation _create_2(angleValue_OR_x, y, z, angle) => JS( 'CssRotation', 'new CSSRotation(#,#,#,#)', angleValue_OR_x, y, z, angle); - @DomName('CSSRotation.angle') - @DocsEditable() - @Experimental() // untriaged CssNumericValue angle; - @DomName('CSSRotation.x') - @DocsEditable() - @Experimental() // untriaged num x; - @DomName('CSSRotation.y') - @DocsEditable() - @Experimental() // untriaged num y; - @DomName('CSSRotation.z') - @DocsEditable() - @Experimental() // untriaged 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('CSSRule') @Native("CSSRule") class CssRule extends Interceptor { // To suppress missing implicit constructor warnings. @@ -5298,77 +3590,40 @@ class CssRule extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('CSSRule.CHARSET_RULE') - @DocsEditable() static const int CHARSET_RULE = 2; - @DomName('CSSRule.FONT_FACE_RULE') - @DocsEditable() static const int FONT_FACE_RULE = 5; - @DomName('CSSRule.IMPORT_RULE') - @DocsEditable() static const int IMPORT_RULE = 3; - @DomName('CSSRule.KEYFRAMES_RULE') - @DocsEditable() - @Experimental() // untriaged static const int KEYFRAMES_RULE = 7; - @DomName('CSSRule.KEYFRAME_RULE') - @DocsEditable() - @Experimental() // untriaged static const int KEYFRAME_RULE = 8; - @DomName('CSSRule.MEDIA_RULE') - @DocsEditable() static const int MEDIA_RULE = 4; - @DomName('CSSRule.NAMESPACE_RULE') - @DocsEditable() - @Experimental() // untriaged static const int NAMESPACE_RULE = 10; - @DomName('CSSRule.PAGE_RULE') - @DocsEditable() static const int PAGE_RULE = 6; - @DomName('CSSRule.STYLE_RULE') - @DocsEditable() static const int STYLE_RULE = 1; - @DomName('CSSRule.SUPPORTS_RULE') - @DocsEditable() static const int SUPPORTS_RULE = 12; - @DomName('CSSRule.VIEWPORT_RULE') - @DocsEditable() - @Experimental() // untriaged static const int VIEWPORT_RULE = 15; - @DomName('CSSRule.cssText') - @DocsEditable() String cssText; - @DomName('CSSRule.parentRule') - @DocsEditable() final CssRule parentRule; - @DomName('CSSRule.parentStyleSheet') - @DocsEditable() final CssStyleSheet parentStyleSheet; - @DomName('CSSRule.type') - @DocsEditable() final int 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('CSSScale') -@Experimental() // untriaged @Native("CSSScale") class CssScale extends CssTransformComponent { // To suppress missing implicit constructor warnings. @@ -5376,8 +3631,6 @@ class CssScale extends CssTransformComponent { throw new UnsupportedError("Not supported"); } - @DomName('CSSScale.CSSScale') - @DocsEditable() factory CssScale(num x, num y, [num z]) { if ((y is num) && (x is num) && z == null) { return CssScale._create_1(x, y); @@ -5391,28 +3644,16 @@ class CssScale extends CssTransformComponent { static CssScale _create_2(x, y, z) => JS('CssScale', 'new CSSScale(#,#,#)', x, y, z); - @DomName('CSSScale.x') - @DocsEditable() - @Experimental() // untriaged num x; - @DomName('CSSScale.y') - @DocsEditable() - @Experimental() // untriaged num y; - @DomName('CSSScale.z') - @DocsEditable() - @Experimental() // untriaged 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('CSSSkew') -@Experimental() // untriaged @Native("CSSSkew") class CssSkew extends CssTransformComponent { // To suppress missing implicit constructor warnings. @@ -5420,21 +3661,13 @@ class CssSkew extends CssTransformComponent { throw new UnsupportedError("Not supported"); } - @DomName('CSSSkew.CSSSkew') - @DocsEditable() factory CssSkew(CssNumericValue ax, CssNumericValue ay) { return CssSkew._create_1(ax, ay); } static CssSkew _create_1(ax, ay) => JS('CssSkew', 'new CSSSkew(#,#)', ax, ay); - @DomName('CSSSkew.ax') - @DocsEditable() - @Experimental() // untriaged CssNumericValue ax; - @DomName('CSSSkew.ay') - @DocsEditable() - @Experimental() // untriaged CssNumericValue ay; } @@ -5448,7 +3681,6 @@ class CssSkew extends CssTransformComponent { // Source of CSS properties: // CSSPropertyNames.in -@DomName('CSSStyleDeclaration') @Native("CSSStyleDeclaration,MSStyleCSSProperties,CSS2Properties") class CssStyleDeclaration extends Interceptor with CssStyleDeclarationBase { factory CssStyleDeclaration() => new CssStyleDeclaration.css(''); @@ -5490,7 +3722,6 @@ class CssStyleDeclaration extends Interceptor with CssStyleDeclarationBase { return JS('bool', '# in #', propertyName, this); } - @DomName('CSSStyleDeclaration.setProperty') void setProperty(String propertyName, String value, [String priority]) { return _setPropertyHelper( _browserPropertyName(propertyName), value, priority); @@ -5551,38 +3782,21 @@ class CssStyleDeclaration extends Interceptor with CssStyleDeclarationBase { throw new UnsupportedError("Not supported"); } - @DomName('CSSStyleDeclaration.cssFloat') - @DocsEditable() - @Experimental() // untriaged String cssFloat; - @DomName('CSSStyleDeclaration.cssText') - @DocsEditable() String cssText; - @DomName('CSSStyleDeclaration.length') - @DocsEditable() final int length; - @DomName('CSSStyleDeclaration.parentRule') - @DocsEditable() final CssRule parentRule; - @DomName('CSSStyleDeclaration.getPropertyPriority') - @DocsEditable() String getPropertyPriority(String property) native; @JSName('getPropertyValue') - @DomName('CSSStyleDeclaration.getPropertyValue') - @DocsEditable() String _getPropertyValue(String property) native; - @DomName('CSSStyleDeclaration.item') - @DocsEditable() String item(int index) native; - @DomName('CSSStyleDeclaration.removeProperty') - @DocsEditable() String removeProperty(String property) native; /** Gets the value of "background" */ @@ -9913,8 +8127,6 @@ abstract class CssStyleDeclarationBase { // 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('CSSStyleRule') @Native("CSSStyleRule") class CssStyleRule extends CssRule { // To suppress missing implicit constructor warnings. @@ -9922,20 +8134,14 @@ class CssStyleRule extends CssRule { throw new UnsupportedError("Not supported"); } - @DomName('CSSStyleRule.selectorText') - @DocsEditable() String selectorText; - @DomName('CSSStyleRule.style') - @DocsEditable() final CssStyleDeclaration 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('CSSStyleSheet') @Native("CSSStyleSheet") class CssStyleSheet extends StyleSheet { // To suppress missing implicit constructor warnings. @@ -9943,48 +8149,28 @@ class CssStyleSheet extends StyleSheet { throw new UnsupportedError("Not supported"); } - @DomName('CSSStyleSheet.cssRules') - @DocsEditable() @Returns('_CssRuleList|Null') @Creates('_CssRuleList') final List cssRules; - @DomName('CSSStyleSheet.ownerRule') - @DocsEditable() final CssRule ownerRule; - @DomName('CSSStyleSheet.rules') - @DocsEditable() - @Experimental() // non-standard @Returns('_CssRuleList|Null') @Creates('_CssRuleList') final List rules; - @DomName('CSSStyleSheet.addRule') - @DocsEditable() - @Experimental() // non-standard int addRule(String selector, String style, [int index]) native; - @DomName('CSSStyleSheet.deleteRule') - @DocsEditable() void deleteRule(int index) native; - @DomName('CSSStyleSheet.insertRule') - @DocsEditable() int insertRule(String rule, [int index]) native; - @DomName('CSSStyleSheet.removeRule') - @DocsEditable() - @Experimental() // non-standard void removeRule(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('CSSStyleValue') -@Experimental() // untriaged @Native("CSSStyleValue") class CssStyleValue extends Interceptor { // To suppress missing implicit constructor warnings. @@ -9992,17 +8178,12 @@ class CssStyleValue extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('CSSStyleValue.parse') - @DocsEditable() - @Experimental() // untriaged static Object parse(String property, String cssText) 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('CSSSupportsRule') @Native("CSSSupportsRule") class CssSupportsRule extends CssConditionRule { // To suppress missing implicit constructor warnings. @@ -10014,9 +8195,6 @@ class CssSupportsRule extends CssConditionRule { // 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('CSSTransformComponent') -@Experimental() // untriaged @Native("CSSTransformComponent") class CssTransformComponent extends Interceptor { // To suppress missing implicit constructor warnings. @@ -10024,18 +8202,12 @@ class CssTransformComponent extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('CSSTransformComponent.is2D') - @DocsEditable() - @Experimental() // untriaged bool is2D; } // Copyright (c) 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('CSSTransformValue') -@Experimental() // untriaged @Native("CSSTransformValue") class CssTransformValue extends CssStyleValue { // To suppress missing implicit constructor warnings. @@ -10043,8 +8215,6 @@ class CssTransformValue extends CssStyleValue { throw new UnsupportedError("Not supported"); } - @DomName('CSSTransformValue.CSSTransformValue') - @DocsEditable() factory CssTransformValue([List transformComponents]) { if (transformComponents == null) { return CssTransformValue._create_1(); @@ -10059,33 +8229,18 @@ class CssTransformValue extends CssStyleValue { static CssTransformValue _create_2(transformComponents) => JS('CssTransformValue', 'new CSSTransformValue(#)', transformComponents); - @DomName('CSSTransformValue.is2D') - @DocsEditable() - @Experimental() // untriaged final bool is2D; - @DomName('CSSTransformValue.length') - @DocsEditable() - @Experimental() // untriaged final int length; - @DomName('CSSTransformValue.componentAtIndex') - @DocsEditable() - @Experimental() // untriaged CssTransformComponent componentAtIndex(int index) native; - @DomName('CSSTransformValue.toMatrix') - @DocsEditable() - @Experimental() // untriaged DomMatrix toMatrix() 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('CSSTranslation') -@Experimental() // untriaged @Native("CSSTranslation") class CssTranslation extends CssTransformComponent { // To suppress missing implicit constructor warnings. @@ -10093,8 +8248,6 @@ class CssTranslation extends CssTransformComponent { throw new UnsupportedError("Not supported"); } - @DomName('CSSTranslation.CSSTranslation') - @DocsEditable() factory CssTranslation(CssNumericValue x, CssNumericValue y, [CssNumericValue z]) { if ((y is CssNumericValue) && (x is CssNumericValue) && z == null) { @@ -10112,28 +8265,16 @@ class CssTranslation extends CssTransformComponent { static CssTranslation _create_2(x, y, z) => JS('CssTranslation', 'new CSSTranslation(#,#,#)', x, y, z); - @DomName('CSSTranslation.x') - @DocsEditable() - @Experimental() // untriaged CssNumericValue x; - @DomName('CSSTranslation.y') - @DocsEditable() - @Experimental() // untriaged CssNumericValue y; - @DomName('CSSTranslation.z') - @DocsEditable() - @Experimental() // untriaged CssNumericValue 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('CSSUnitValue') -@Experimental() // untriaged @Native("CSSUnitValue") class CssUnitValue extends CssNumericValue { // To suppress missing implicit constructor warnings. @@ -10141,36 +8282,22 @@ class CssUnitValue extends CssNumericValue { throw new UnsupportedError("Not supported"); } - @DomName('CSSUnitValue.CSSUnitValue') - @DocsEditable() factory CssUnitValue(num value, String unit) { return CssUnitValue._create_1(value, unit); } static CssUnitValue _create_1(value, unit) => JS('CssUnitValue', 'new CSSUnitValue(#,#)', value, unit); - @DomName('CSSUnitValue.type') - @DocsEditable() - @Experimental() // untriaged final String type; - @DomName('CSSUnitValue.unit') - @DocsEditable() - @Experimental() // untriaged String unit; - @DomName('CSSUnitValue.value') - @DocsEditable() - @Experimental() // untriaged num 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('CSSUnparsedValue') -@Experimental() // untriaged @Native("CSSUnparsedValue") class CssUnparsedValue extends CssStyleValue { // To suppress missing implicit constructor warnings. @@ -10178,23 +8305,14 @@ class CssUnparsedValue extends CssStyleValue { throw new UnsupportedError("Not supported"); } - @DomName('CSSUnparsedValue.length') - @DocsEditable() - @Experimental() // untriaged final int length; - @DomName('CSSUnparsedValue.fragmentAtIndex') - @DocsEditable() - @Experimental() // untriaged Object fragmentAtIndex(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('CSSVariableReferenceValue') -@Experimental() // untriaged @Native("CSSVariableReferenceValue") class CssVariableReferenceValue extends Interceptor { // To suppress missing implicit constructor warnings. @@ -10202,23 +8320,14 @@ class CssVariableReferenceValue extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('CSSVariableReferenceValue.fallback') - @DocsEditable() - @Experimental() // untriaged final CssUnparsedValue fallback; - @DomName('CSSVariableReferenceValue.variable') - @DocsEditable() - @Experimental() // untriaged final String variable; } // Copyright (c) 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('CSSViewportRule') -@Experimental() // untriaged @Native("CSSViewportRule") class CssViewportRule extends CssRule { // To suppress missing implicit constructor warnings. @@ -10226,18 +8335,12 @@ class CssViewportRule extends CssRule { throw new UnsupportedError("Not supported"); } - @DomName('CSSViewportRule.style') - @DocsEditable() - @Experimental() // untriaged final CssStyleDeclaration 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('CSSURLImageValue') -@Experimental() // untriaged @Native("CSSURLImageValue") class CssurlImageValue extends CssImageValue { // To suppress missing implicit constructor warnings. @@ -10245,17 +8348,12 @@ class CssurlImageValue extends CssImageValue { throw new UnsupportedError("Not supported"); } - @DomName('CSSURLImageValue.CSSURLImageValue') - @DocsEditable() factory CssurlImageValue(String url) { return CssurlImageValue._create_1(url); } static CssurlImageValue _create_1(url) => JS('CssurlImageValue', 'new CSSURLImageValue(#)', url); - @DomName('CSSURLImageValue.url') - @DocsEditable() - @Experimental() // untriaged final String url; } // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file @@ -10264,7 +8362,6 @@ class CssurlImageValue extends CssImageValue { // WARNING: Do not edit - generated code. -@DomName('CustomElementConstructor') // https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/custom/index.html#dfn-custom-element-constructor-generation @deprecated // experimental typedef void CustomElementConstructor(); @@ -10272,9 +8369,6 @@ typedef void CustomElementConstructor(); // 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('CustomElementRegistry') -@Experimental() // untriaged @Native("CustomElementRegistry") class CustomElementRegistry extends Interceptor { // To suppress missing implicit constructor warnings. @@ -10282,9 +8376,6 @@ class CustomElementRegistry extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('CustomElementRegistry.define') - @DocsEditable() - @Experimental() // untriaged void define(String name, Object constructor, [Map options]) { if (options != null) { var options_1 = convertDartToNative_Dictionary(options); @@ -10296,24 +8387,12 @@ class CustomElementRegistry extends Interceptor { } @JSName('define') - @DomName('CustomElementRegistry.define') - @DocsEditable() - @Experimental() // untriaged void _define_1(name, constructor, options) native; @JSName('define') - @DomName('CustomElementRegistry.define') - @DocsEditable() - @Experimental() // untriaged void _define_2(name, constructor) native; - @DomName('CustomElementRegistry.get') - @DocsEditable() - @Experimental() // untriaged Object get(String name) native; - @DomName('CustomElementRegistry.whenDefined') - @DocsEditable() - @Experimental() // untriaged Future whenDefined(String name) => promiseToFuture(JS("", "#.whenDefined(#)", this, name)); } @@ -10323,7 +8402,6 @@ class CustomElementRegistry extends Interceptor { // WARNING: Do not edit - generated code. -@DomName('CustomEvent') @Native("CustomEvent") class CustomEvent extends Event { @Creates('Null') // Set from Dart code; does not instantiate a native type. @@ -10351,7 +8429,6 @@ class CustomEvent extends Event { return e; } - @DomName('CustomEvent.detail') get detail { if (_dartDetail != null) { return _dartDetail; @@ -10359,8 +8436,6 @@ class CustomEvent extends Event { return _detail; } - @DomName('CustomEvent.CustomEvent') - @DocsEditable() factory CustomEvent._(String type, [Map eventInitDict]) { if (eventInitDict != null) { var eventInitDict_1 = convertDartToNative_Dictionary(eventInitDict); @@ -10373,21 +8448,13 @@ class CustomEvent extends Event { static CustomEvent _create_2(type) => JS('CustomEvent', 'new CustomEvent(#)', type); - @DomName('CustomEvent._detail') - @DocsEditable() - @Experimental() // untriaged dynamic get _detail => convertNativeToDart_SerializedScriptValue(this._get__detail); @JSName('detail') - @DomName('CustomEvent._detail') - @DocsEditable() - @Experimental() // untriaged @Creates('Null') final dynamic _get__detail; @JSName('initCustomEvent') - @DomName('CustomEvent.initCustomEvent') - @DocsEditable() void _initCustomEvent(String type, [bool bubbles, bool cancelable, Object detail]) native; } @@ -10395,8 +8462,6 @@ class CustomEvent extends Event { // 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('HTMLDListElement') @Native("HTMLDListElement") class DListElement extends HtmlElement { // To suppress missing implicit constructor warnings. @@ -10404,8 +8469,6 @@ class DListElement extends HtmlElement { throw new UnsupportedError("Not supported"); } - @DomName('HTMLDListElement.HTMLDListElement') - @DocsEditable() factory DListElement() => JS( 'returns:DListElement;creates:DListElement;new:true', '#.createElement(#)', @@ -10422,9 +8485,6 @@ class DListElement 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('HTMLDataElement') -@Experimental() // untriaged @Native("HTMLDataElement") class DataElement extends HtmlElement { // To suppress missing implicit constructor warnings. @@ -10438,17 +8498,12 @@ class DataElement extends HtmlElement { */ DataElement.created() : super.created(); - @DomName('HTMLDataElement.value') - @DocsEditable() - @Experimental() // untriaged String 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('HTMLDataListElement') @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.FIREFOX) @SupportedBrowser(SupportedBrowser.IE, '10') @@ -10460,8 +8515,6 @@ class DataListElement extends HtmlElement { throw new UnsupportedError("Not supported"); } - @DomName('HTMLDataListElement.HTMLDataListElement') - @DocsEditable() factory DataListElement() => document.createElement("datalist"); /** * Constructor instantiated by the DOM when a custom element has been created. @@ -10473,8 +8526,6 @@ class DataListElement extends HtmlElement { /// Checks if this type is supported on the current platform. static bool get supported => Element.isTagSupported('datalist'); - @DomName('HTMLDataListElement.options') - @DocsEditable() @Returns('HtmlCollection|Null') @Creates('HtmlCollection') final List options; @@ -10483,9 +8534,6 @@ class DataListElement 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('DataTransfer') -@Experimental() // untriaged @Native("DataTransfer") class DataTransfer extends Interceptor { // To suppress missing implicit constructor warnings. @@ -10493,68 +8541,35 @@ class DataTransfer extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('DataTransfer.DataTransfer') - @DocsEditable() factory DataTransfer() { return DataTransfer._create_1(); } static DataTransfer _create_1() => JS('DataTransfer', 'new DataTransfer()'); - @DomName('DataTransfer.dropEffect') - @DocsEditable() - @Experimental() // untriaged String dropEffect; - @DomName('DataTransfer.effectAllowed') - @DocsEditable() - @Experimental() // untriaged String effectAllowed; - @DomName('DataTransfer.files') - @DocsEditable() - @Experimental() // untriaged @Returns('FileList|Null') @Creates('FileList') final List files; - @DomName('DataTransfer.items') - @DocsEditable() - @Experimental() // untriaged final DataTransferItemList items; - @DomName('DataTransfer.types') - @DocsEditable() - @Experimental() // untriaged final List types; - @DomName('DataTransfer.clearData') - @DocsEditable() - @Experimental() // untriaged void clearData([String format]) native; - @DomName('DataTransfer.getData') - @DocsEditable() - @Experimental() // untriaged String getData(String format) native; - @DomName('DataTransfer.setData') - @DocsEditable() - @Experimental() // untriaged void setData(String format, String data) native; - @DomName('DataTransfer.setDragImage') - @DocsEditable() - @Experimental() // untriaged void setDragImage(Element image, int x, int y) 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('DataTransferItem') -// http://www.w3.org/TR/2011/WD-html5-20110113/dnd.html#the-datatransferitem-interface -@Experimental() @Native("DataTransferItem") class DataTransferItem extends Interceptor { // To suppress missing implicit constructor warnings. @@ -10562,34 +8577,21 @@ class DataTransferItem extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('DataTransferItem.kind') - @DocsEditable() final String kind; - @DomName('DataTransferItem.type') - @DocsEditable() final String type; - @DomName('DataTransferItem.getAsFile') - @DocsEditable() File getAsFile() native; @JSName('webkitGetAsEntry') - @DomName('DataTransferItem.webkitGetAsEntry') - @DocsEditable() @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.SAFARI) - @Experimental() Entry getAsEntry() native; } // Copyright (c) 2013, 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('DataTransferItemList') -// http://www.whatwg.org/specs/web-apps/current-work/multipage/dnd.html#the-datatransferitemlist-interface -@Experimental() @Native("DataTransferItemList") class DataTransferItemList extends Interceptor { // To suppress missing implicit constructor warnings. @@ -10597,35 +8599,20 @@ class DataTransferItemList extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('DataTransferItemList.length') - @DocsEditable() final int length; - @DomName('DataTransferItemList.add') - @DocsEditable() DataTransferItem add(data_OR_file, [String type]) native; @JSName('add') - @DomName('DataTransferItemList.add') - @DocsEditable() DataTransferItem addData(String data, String type) native; @JSName('add') - @DomName('DataTransferItemList.add') - @DocsEditable() DataTransferItem addFile(File file) native; - @DomName('DataTransferItemList.clear') - @DocsEditable() void clear() native; - @DomName('DataTransferItemList.item') - @DocsEditable() DataTransferItem item(int index) native; - @DomName('DataTransferItemList.remove') - @DocsEditable() - @Experimental() // untriaged void remove(int index) native; DataTransferItem operator [](int index) { @@ -10638,9 +8625,6 @@ class DataTransferItemList extends Interceptor { // WARNING: Do not edit - generated code. -@DomName('DatabaseCallback') -// http://www.w3.org/TR/webdatabase/#databasecallback -@Experimental() // deprecated typedef void DatabaseCallback(SqlDatabase database); // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a @@ -10648,8 +8632,6 @@ typedef void DatabaseCallback(SqlDatabase database); // WARNING: Do not edit - generated code. -@DomName('DecodeErrorCallback') -@Experimental() // untriaged typedef void DecodeErrorCallback(DomException error); // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a @@ -10657,16 +8639,11 @@ typedef void DecodeErrorCallback(DomException error); // WARNING: Do not edit - generated code. -@DomName('DecodeSuccessCallback') -@Experimental() // untriaged typedef void DecodeSuccessCallback(AudioBuffer decodedData); // Copyright (c) 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('DedicatedWorkerGlobalScope') -@Experimental() // untriaged @Native("DedicatedWorkerGlobalScope") class DedicatedWorkerGlobalScope extends WorkerGlobalScope { // To suppress missing implicit constructor warnings. @@ -10680,30 +8657,15 @@ class DedicatedWorkerGlobalScope extends WorkerGlobalScope { * * See [EventStreamProvider] for usage information. */ - @DomName('DedicatedWorkerGlobalScope.messageEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider messageEvent = const EventStreamProvider('message'); - @DomName('DedicatedWorkerGlobalScope.PERSISTENT') - @DocsEditable() - @Experimental() // untriaged static const int PERSISTENT = 1; - @DomName('DedicatedWorkerGlobalScope.TEMPORARY') - @DocsEditable() - @Experimental() // untriaged static const int TEMPORARY = 0; - @DomName('DedicatedWorkerGlobalScope.close') - @DocsEditable() - @Experimental() // untriaged void close() native; - @DomName('DedicatedWorkerGlobalScope.postMessage') - @DocsEditable() - @Experimental() // untriaged void postMessage(/*any*/ message, [List transfer]) { if (transfer != null) { var message_1 = convertDartToNative_SerializedScriptValue(message); @@ -10716,69 +8678,41 @@ class DedicatedWorkerGlobalScope extends WorkerGlobalScope { } @JSName('postMessage') - @DomName('DedicatedWorkerGlobalScope.postMessage') - @DocsEditable() - @Experimental() // untriaged void _postMessage_1(message, List transfer) native; @JSName('postMessage') - @DomName('DedicatedWorkerGlobalScope.postMessage') - @DocsEditable() - @Experimental() // untriaged void _postMessage_2(message) native; @JSName('webkitRequestFileSystem') - @DomName('DedicatedWorkerGlobalScope.webkitRequestFileSystem') - @DocsEditable() @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.SAFARI) - @Experimental() - @Experimental() // untriaged void _webkitRequestFileSystem(int type, int size, [_FileSystemCallback successCallback, _ErrorCallback errorCallback]) native; @JSName('webkitRequestFileSystemSync') - @DomName('DedicatedWorkerGlobalScope.webkitRequestFileSystemSync') - @DocsEditable() @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.SAFARI) - @Experimental() - @Experimental() // untriaged _DOMFileSystemSync requestFileSystemSync(int type, int size) native; @JSName('webkitResolveLocalFileSystemSyncURL') - @DomName('DedicatedWorkerGlobalScope.webkitResolveLocalFileSystemSyncURL') - @DocsEditable() @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.SAFARI) - @Experimental() - @Experimental() // untriaged _EntrySync resolveLocalFileSystemSyncUrl(String url) native; @JSName('webkitResolveLocalFileSystemURL') - @DomName('DedicatedWorkerGlobalScope.webkitResolveLocalFileSystemURL') - @DocsEditable() @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.SAFARI) - @Experimental() - @Experimental() // untriaged void _webkitResolveLocalFileSystemUrl( String url, _EntryCallback successCallback, [_ErrorCallback errorCallback]) native; /// Stream of `message` events handled by this [DedicatedWorkerGlobalScope]. - @DomName('DedicatedWorkerGlobalScope.onmessage') - @DocsEditable() - @Experimental() // untriaged Stream get onMessage => messageEvent.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('DeprecatedStorageInfo') -@Experimental() // untriaged @Native("DeprecatedStorageInfo") class DeprecatedStorageInfo extends Interceptor { // To suppress missing implicit constructor warnings. @@ -10786,26 +8720,14 @@ class DeprecatedStorageInfo extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('DeprecatedStorageInfo.PERSISTENT') - @DocsEditable() - @Experimental() // untriaged static const int PERSISTENT = 1; - @DomName('DeprecatedStorageInfo.TEMPORARY') - @DocsEditable() - @Experimental() // untriaged static const int TEMPORARY = 0; - @DomName('DeprecatedStorageInfo.queryUsageAndQuota') - @DocsEditable() - @Experimental() // untriaged void queryUsageAndQuota(int storageType, [StorageUsageCallback usageCallback, StorageErrorCallback errorCallback]) native; - @DomName('DeprecatedStorageInfo.requestQuota') - @DocsEditable() - @Experimental() // untriaged void requestQuota(int storageType, int newQuotaInBytes, [StorageQuotaCallback quotaCallback, StorageErrorCallback errorCallback]) native; @@ -10814,9 +8736,6 @@ class DeprecatedStorageInfo 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('DeprecatedStorageQuota') -@Experimental() // untriaged @Native("DeprecatedStorageQuota") class DeprecatedStorageQuota extends Interceptor { // To suppress missing implicit constructor warnings. @@ -10824,15 +8743,9 @@ class DeprecatedStorageQuota extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('DeprecatedStorageQuota.queryUsageAndQuota') - @DocsEditable() - @Experimental() // untriaged void queryUsageAndQuota(StorageUsageCallback usageCallback, [StorageErrorCallback errorCallback]) native; - @DomName('DeprecatedStorageQuota.requestQuota') - @DocsEditable() - @Experimental() // untriaged void requestQuota(int newQuotaInBytes, [StorageQuotaCallback quotaCallback, StorageErrorCallback errorCallback]) native; @@ -10841,9 +8754,6 @@ class DeprecatedStorageQuota 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('DeprecationReport') -@Experimental() // untriaged @Native("DeprecationReport") class DeprecationReport extends ReportBody { // To suppress missing implicit constructor warnings. @@ -10851,30 +8761,18 @@ class DeprecationReport extends ReportBody { throw new UnsupportedError("Not supported"); } - @DomName('DeprecationReport.lineNumber') - @DocsEditable() - @Experimental() // untriaged final int lineNumber; - @DomName('DeprecationReport.message') - @DocsEditable() - @Experimental() // untriaged final String message; - @DomName('DeprecationReport.sourceFile') - @DocsEditable() - @Experimental() // untriaged final String sourceFile; } // Copyright (c) 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('HTMLDetailsElement') @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.SAFARI) -@Experimental() @Native("HTMLDetailsElement") class DetailsElement extends HtmlElement { // To suppress missing implicit constructor warnings. @@ -10882,8 +8780,6 @@ class DetailsElement extends HtmlElement { throw new UnsupportedError("Not supported"); } - @DomName('HTMLDetailsElement.HTMLDetailsElement') - @DocsEditable() factory DetailsElement() => document.createElement("details"); /** * Constructor instantiated by the DOM when a custom element has been created. @@ -10895,17 +8791,12 @@ class DetailsElement extends HtmlElement { /// Checks if this type is supported on the current platform. static bool get supported => Element.isTagSupported('details'); - @DomName('HTMLDetailsElement.open') - @DocsEditable() bool open; } // Copyright (c) 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('DetectedBarcode') -@Experimental() // untriaged @Native("DetectedBarcode") class DetectedBarcode extends Interceptor { // To suppress missing implicit constructor warnings. @@ -10913,36 +8804,22 @@ class DetectedBarcode extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('DetectedBarcode.DetectedBarcode') - @DocsEditable() factory DetectedBarcode() { return DetectedBarcode._create_1(); } static DetectedBarcode _create_1() => JS('DetectedBarcode', 'new DetectedBarcode()'); - @DomName('DetectedBarcode.boundingBox') - @DocsEditable() - @Experimental() // untriaged final Rectangle boundingBox; - @DomName('DetectedBarcode.cornerPoints') - @DocsEditable() - @Experimental() // untriaged final List cornerPoints; - @DomName('DetectedBarcode.rawValue') - @DocsEditable() - @Experimental() // untriaged final String rawValue; } // Copyright (c) 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('DetectedFace') -@Experimental() // untriaged @Native("DetectedFace") class DetectedFace extends Interceptor { // To suppress missing implicit constructor warnings. @@ -10950,30 +8827,19 @@ class DetectedFace extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('DetectedFace.DetectedFace') - @DocsEditable() factory DetectedFace() { return DetectedFace._create_1(); } static DetectedFace _create_1() => JS('DetectedFace', 'new DetectedFace()'); - @DomName('DetectedFace.boundingBox') - @DocsEditable() - @Experimental() // untriaged final Rectangle boundingBox; - @DomName('DetectedFace.landmarks') - @DocsEditable() - @Experimental() // untriaged final List landmarks; } // Copyright (c) 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('DetectedText') -@Experimental() // untriaged @Native("DetectedText") class DetectedText extends Interceptor { // To suppress missing implicit constructor warnings. @@ -10981,36 +8847,21 @@ class DetectedText extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('DetectedText.DetectedText') - @DocsEditable() factory DetectedText() { return DetectedText._create_1(); } static DetectedText _create_1() => JS('DetectedText', 'new DetectedText()'); - @DomName('DetectedText.boundingBox') - @DocsEditable() - @Experimental() // untriaged final Rectangle boundingBox; - @DomName('DetectedText.cornerPoints') - @DocsEditable() - @Experimental() // untriaged final List cornerPoints; - @DomName('DetectedText.rawValue') - @DocsEditable() - @Experimental() // untriaged final String rawValue; } // Copyright (c) 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('DeviceAcceleration') -// http://dev.w3.org/geo/api/spec-source-orientation.html#devicemotion -@Experimental() @Native("DeviceAcceleration") class DeviceAcceleration extends Interceptor { // To suppress missing implicit constructor warnings. @@ -11018,26 +8869,16 @@ class DeviceAcceleration extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('DeviceAcceleration.x') - @DocsEditable() final num x; - @DomName('DeviceAcceleration.y') - @DocsEditable() final num y; - @DomName('DeviceAcceleration.z') - @DocsEditable() 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('DeviceMotionEvent') -// http://dev.w3.org/geo/api/spec-source-orientation.html#devicemotion -@Experimental() @Native("DeviceMotionEvent") class DeviceMotionEvent extends Event { // To suppress missing implicit constructor warnings. @@ -11045,8 +8886,6 @@ class DeviceMotionEvent extends Event { throw new UnsupportedError("Not supported"); } - @DomName('DeviceMotionEvent.DeviceMotionEvent') - @DocsEditable() factory DeviceMotionEvent(String type, [Map eventInitDict]) { if (eventInitDict != null) { var eventInitDict_1 = convertDartToNative_Dictionary(eventInitDict); @@ -11059,30 +8898,18 @@ class DeviceMotionEvent extends Event { static DeviceMotionEvent _create_2(type) => JS('DeviceMotionEvent', 'new DeviceMotionEvent(#)', type); - @DomName('DeviceMotionEvent.acceleration') - @DocsEditable() final DeviceAcceleration acceleration; - @DomName('DeviceMotionEvent.accelerationIncludingGravity') - @DocsEditable() final DeviceAcceleration accelerationIncludingGravity; - @DomName('DeviceMotionEvent.interval') - @DocsEditable() final num interval; - @DomName('DeviceMotionEvent.rotationRate') - @DocsEditable() final DeviceRotationRate rotationRate; } // Copyright (c) 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('DeviceOrientationEvent') -// http://dev.w3.org/geo/api/spec-source-orientation.html#devicemotion -@Experimental() @Native("DeviceOrientationEvent") class DeviceOrientationEvent extends Event { // To suppress missing implicit constructor warnings. @@ -11090,8 +8917,6 @@ class DeviceOrientationEvent extends Event { throw new UnsupportedError("Not supported"); } - @DomName('DeviceOrientationEvent.DeviceOrientationEvent') - @DocsEditable() factory DeviceOrientationEvent(String type, [Map eventInitDict]) { if (eventInitDict != null) { var eventInitDict_1 = convertDartToNative_Dictionary(eventInitDict); @@ -11107,30 +8932,18 @@ class DeviceOrientationEvent extends Event { static DeviceOrientationEvent _create_2(type) => JS('DeviceOrientationEvent', 'new DeviceOrientationEvent(#)', type); - @DomName('DeviceOrientationEvent.absolute') - @DocsEditable() final bool absolute; - @DomName('DeviceOrientationEvent.alpha') - @DocsEditable() final num alpha; - @DomName('DeviceOrientationEvent.beta') - @DocsEditable() final num beta; - @DomName('DeviceOrientationEvent.gamma') - @DocsEditable() final num gamma; } // Copyright (c) 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('DeviceRotationRate') -// http://dev.w3.org/geo/api/spec-source-orientation.html#devicemotion -@Experimental() @Native("DeviceRotationRate") class DeviceRotationRate extends Interceptor { // To suppress missing implicit constructor warnings. @@ -11138,24 +8951,16 @@ class DeviceRotationRate extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('DeviceRotationRate.alpha') - @DocsEditable() final num alpha; - @DomName('DeviceRotationRate.beta') - @DocsEditable() final num beta; - @DomName('DeviceRotationRate.gamma') - @DocsEditable() final num gamma; } // Copyright (c) 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('HTMLDialogElement') @Unstable() @Native("HTMLDialogElement") class DialogElement extends HtmlElement { @@ -11170,34 +8975,20 @@ class DialogElement extends HtmlElement { */ DialogElement.created() : super.created(); - @DomName('HTMLDialogElement.open') - @DocsEditable() bool open; - @DomName('HTMLDialogElement.returnValue') - @DocsEditable() - @Experimental() // untriaged String returnValue; - @DomName('HTMLDialogElement.close') - @DocsEditable() void close([String returnValue]) native; - @DomName('HTMLDialogElement.show') - @DocsEditable() void show() native; - @DomName('HTMLDialogElement.showModal') - @DocsEditable() void showModal() native; } // Copyright (c) 2013, 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. -@DomName('DirectoryEntry') -// http://www.w3.org/TR/file-system-api/#the-directoryentry-interface -@Experimental() @Native("DirectoryEntry") class DirectoryEntry extends Entry { /** @@ -11249,12 +9040,8 @@ class DirectoryEntry extends Entry { } @JSName('createReader') - @DomName('DirectoryEntry.createReader') - @DocsEditable() DirectoryReader _createReader() native; - @DomName('DirectoryEntry.getDirectory') - @DocsEditable() void __getDirectory(String path, [Map options, _EntryCallback successCallback, @@ -11279,26 +9066,16 @@ class DirectoryEntry extends Entry { } @JSName('getDirectory') - @DomName('DirectoryEntry.getDirectory') - @DocsEditable() void __getDirectory_1(path, options, _EntryCallback successCallback, _ErrorCallback errorCallback) native; @JSName('getDirectory') - @DomName('DirectoryEntry.getDirectory') - @DocsEditable() void __getDirectory_2(path, options, _EntryCallback successCallback) native; @JSName('getDirectory') - @DomName('DirectoryEntry.getDirectory') - @DocsEditable() void __getDirectory_3(path, options) native; @JSName('getDirectory') - @DomName('DirectoryEntry.getDirectory') - @DocsEditable() void __getDirectory_4(path) native; @JSName('getDirectory') - @DomName('DirectoryEntry.getDirectory') - @DocsEditable() Future _getDirectory(String path, {Map options}) { var completer = new Completer(); __getDirectory(path, options, (value) { @@ -11309,8 +9086,6 @@ class DirectoryEntry extends Entry { return completer.future; } - @DomName('DirectoryEntry.getFile') - @DocsEditable() void __getFile(String path, [Map options, _EntryCallback successCallback, @@ -11335,26 +9110,16 @@ class DirectoryEntry extends Entry { } @JSName('getFile') - @DomName('DirectoryEntry.getFile') - @DocsEditable() void __getFile_1(path, options, _EntryCallback successCallback, _ErrorCallback errorCallback) native; @JSName('getFile') - @DomName('DirectoryEntry.getFile') - @DocsEditable() void __getFile_2(path, options, _EntryCallback successCallback) native; @JSName('getFile') - @DomName('DirectoryEntry.getFile') - @DocsEditable() void __getFile_3(path, options) native; @JSName('getFile') - @DomName('DirectoryEntry.getFile') - @DocsEditable() void __getFile_4(path) native; @JSName('getFile') - @DomName('DirectoryEntry.getFile') - @DocsEditable() Future _getFile(String path, {Map options}) { var completer = new Completer(); __getFile(path, options, (value) { @@ -11367,14 +9132,10 @@ class DirectoryEntry extends Entry { } @JSName('removeRecursively') - @DomName('DirectoryEntry.removeRecursively') - @DocsEditable() void _removeRecursively(VoidCallback successCallback, [_ErrorCallback errorCallback]) native; @JSName('removeRecursively') - @DomName('DirectoryEntry.removeRecursively') - @DocsEditable() Future removeRecursively() { var completer = new Completer(); _removeRecursively(() { @@ -11389,9 +9150,6 @@ class DirectoryEntry extends Entry { // 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. -@DomName('DirectoryReader') -// http://www.w3.org/TR/file-system-api/#the-directoryreader-interface -@Experimental() @Native("DirectoryReader") class DirectoryReader extends Interceptor { // To suppress missing implicit constructor warnings. @@ -11400,13 +9158,9 @@ class DirectoryReader extends Interceptor { } @JSName('readEntries') - @DomName('DirectoryReader.readEntries') - @DocsEditable() void _readEntries(_EntriesCallback successCallback, [_ErrorCallback errorCallback]) native; - @DomName('DirectoryReader.readEntries') - @DocsEditable() Future> readEntries() { var completer = new Completer>(); _readEntries((value) { @@ -11422,7 +9176,6 @@ class DirectoryReader 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() /** * A generic container for content on an HTML page; * corresponds to the <div> tag. @@ -11445,7 +9198,6 @@ class DirectoryReader extends Interceptor { * * [Block-level element](http://www.w3.org/TR/CSS2/visuren.html#block-boxes) from W3C. * * [Inline-level element](http://www.w3.org/TR/CSS2/visuren.html#inline-boxes) from W3C. */ -@DomName('HTMLDivElement') @Native("HTMLDivElement") class DivElement extends HtmlElement { // To suppress missing implicit constructor warnings. @@ -11453,8 +9205,6 @@ class DivElement extends HtmlElement { throw new UnsupportedError("Not supported"); } - @DomName('HTMLDivElement.HTMLDivElement') - @DocsEditable() factory DivElement() => JS('returns:DivElement;creates:DivElement;new:true', '#.createElement(#)', document, "div"); /** @@ -11468,7 +9218,6 @@ class DivElement 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() /** * The base class for all documents. * @@ -11478,7 +9227,6 @@ class DivElement extends HtmlElement { * If you aren't comfortable with DOM concepts, see the Dart tutorial * [Target 2: Connect Dart & HTML](http://www.dartlang.org/docs/tutorials/connect-dart-html/). */ -@DomName('Document') @Native("Document") class Document extends Node { // To suppress missing implicit constructor warnings. @@ -11486,15 +9234,9 @@ class Document extends Node { throw new UnsupportedError("Not supported"); } - @DomName('Document.pointerlockchangeEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider pointerLockChangeEvent = const EventStreamProvider('pointerlockchange'); - @DomName('Document.pointerlockerrorEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider pointerLockErrorEvent = const EventStreamProvider('pointerlockerror'); @@ -11504,8 +9246,6 @@ class Document extends Node { * * See [EventStreamProvider] for usage information. */ - @DomName('Document.readystatechangeEvent') - @DocsEditable() static const EventStreamProvider readyStateChangeEvent = const EventStreamProvider('readystatechange'); @@ -11515,10 +9255,6 @@ class Document extends Node { * * See [EventStreamProvider] for usage information. */ - @DomName('Document.securitypolicyviolationEvent') - @DocsEditable() - // https://dvcs.w3.org/hg/content-security-policy/raw-file/tip/csp-specification.dev.html#widl-Document-onsecuritypolicyviolation - @Experimental() static const EventStreamProvider securityPolicyViolationEvent = const EventStreamProvider( @@ -11530,229 +9266,121 @@ class Document extends Node { * * See [EventStreamProvider] for usage information. */ - @DomName('Document.selectionchangeEvent') - @DocsEditable() static const EventStreamProvider selectionChangeEvent = const EventStreamProvider('selectionchange'); - @DomName('Document.Document') - @DocsEditable() factory Document() { return Document._create_1(); } static Document _create_1() => JS('Document', 'new Document()'); - @DomName('Document.addressSpace') - @DocsEditable() - @Experimental() // untriaged final String addressSpace; @JSName('body') - @DomName('Document.body') - @DocsEditable() HtmlElement _body; - @DomName('Document.contentType') - @DocsEditable() - @Experimental() // untriaged final String contentType; - @DomName('Document.cookie') - @DocsEditable() String cookie; - @DomName('Document.currentScript') - @DocsEditable() - @Experimental() // untriaged final ScriptElement currentScript; - @DomName('Document.window') - @DocsEditable() - @Experimental() // untriaged WindowBase get window => _convertNativeToDart_Window(this._get_window); @JSName('defaultView') - @DomName('Document.window') - @DocsEditable() - @Experimental() // untriaged @Creates('Window|=Object') @Returns('Window|=Object') @Creates('Window|=Object|Null') @Returns('Window|=Object|Null') final dynamic _get_window; - @DomName('Document.documentElement') - @DocsEditable() final Element documentElement; - @DomName('Document.domain') - @DocsEditable() final String domain; - @DomName('Document.fullscreenEnabled') - @DocsEditable() - @Experimental() // untriaged final bool fullscreenEnabled; @JSName('head') - @DomName('Document.head') - @DocsEditable() final HeadElement _head; - @DomName('Document.hidden') - @DocsEditable() - @Experimental() // untriaged final bool hidden; - @DomName('Document.implementation') - @DocsEditable() final DomImplementation implementation; @JSName('lastModified') - @DomName('Document.lastModified') - @DocsEditable() final String _lastModified; - @DomName('Document.origin') - @DocsEditable() - @Experimental() // untriaged final String origin; @JSName('preferredStylesheetSet') - @DomName('Document.preferredStylesheetSet') - @DocsEditable() final String _preferredStylesheetSet; - @DomName('Document.readyState') - @DocsEditable() final String readyState; @JSName('referrer') - @DomName('Document.referrer') - @DocsEditable() final String _referrer; - @DomName('Document.rootElement') - @DocsEditable() - @Experimental() // untriaged final SvgSvgElement rootElement; - @DomName('Document.rootScroller') - @DocsEditable() - @Experimental() // untriaged Element rootScroller; - @DomName('Document.scrollingElement') - @DocsEditable() - @Experimental() // untriaged final Element scrollingElement; @JSName('selectedStylesheetSet') - @DomName('Document.selectedStylesheetSet') - @DocsEditable() String _selectedStylesheetSet; - @DomName('Document.suborigin') - @DocsEditable() - @Experimental() // untriaged final String suborigin; - @DomName('Document.timeline') - @DocsEditable() - @Experimental() // untriaged final DocumentTimeline timeline; @JSName('title') - @DomName('Document.title') - @DocsEditable() String _title; @JSName('visibilityState') - @DomName('Document.visibilityState') - @DocsEditable() - @Experimental() // untriaged final String _visibilityState; @JSName('webkitFullscreenElement') - @DomName('Document.webkitFullscreenElement') - @DocsEditable() @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.SAFARI) - @Experimental() - // https://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html#dom-document-fullscreenelement final Element _webkitFullscreenElement; @JSName('webkitFullscreenEnabled') - @DomName('Document.webkitFullscreenEnabled') - @DocsEditable() @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.SAFARI) - @Experimental() - // https://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html#dom-document-fullscreenenabled final bool _webkitFullscreenEnabled; @JSName('webkitHidden') - @DomName('Document.webkitHidden') - @DocsEditable() @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.SAFARI) - @Experimental() - // https://dvcs.w3.org/hg/webperf/raw-file/tip/specs/PageVisibility/Overview.html#document final bool _webkitHidden; @JSName('webkitVisibilityState') - @DomName('Document.webkitVisibilityState') - @DocsEditable() @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.SAFARI) - @Experimental() - // https://dvcs.w3.org/hg/webperf/raw-file/tip/specs/PageVisibility/Overview.html#dom-document-visibilitystate final String _webkitVisibilityState; - @DomName('Document.adoptNode') - @DocsEditable() Node adoptNode(Node node) native; @JSName('caretRangeFromPoint') - @DomName('Document.caretRangeFromPoint') - @DocsEditable() - // http://www.w3.org/TR/2009/WD-cssom-view-20090804/#dom-documentview-caretrangefrompoint - @Experimental() Range _caretRangeFromPoint(int x, int y) native; - @DomName('Document.createDocumentFragment') - @DocsEditable() DocumentFragment createDocumentFragment() native; @JSName('createElement') - @DomName('Document.createElement') - @DocsEditable() Element _createElement(String localName_OR_tagName, [options_OR_typeExtension]) native; @JSName('createElementNS') - @DomName('Document.createElementNS') - @DocsEditable() Element _createElementNS(String namespaceURI, String qualifiedName, [options_OR_typeExtension]) native; @JSName('createEvent') - @DomName('Document.createEvent') - @DocsEditable() Event _createEvent(String eventType) native; - @DomName('Document.createRange') - @DocsEditable() Range createRange() native; @JSName('createTextNode') - @DomName('Document.createTextNode') - @DocsEditable() Text _createTextNode(String data) native; - @DomName('Document.createTouch') - @DocsEditable() - // http://www.w3.org/TR/touch-events/, http://www.chromestatus.com/features - @Experimental() Touch _createTouch(Window view, EventTarget target, int identifier, num pageX, num pageY, num screenX, num screenY, [num radiusX, num radiusY, num rotationAngle, num force]) { @@ -11782,112 +9410,56 @@ class Document extends Node { } @JSName('createTouch') - @DomName('Document.createTouch') - @DocsEditable() - // http://www.w3.org/TR/touch-events/, http://www.chromestatus.com/features - @Experimental() Touch _createTouch_1(Window view, target, identifier, pageX, pageY, screenX, screenY, radiusX, radiusY, rotationAngle, force) native; @JSName('createTouch') - @DomName('Document.createTouch') - @DocsEditable() - // http://www.w3.org/TR/touch-events/, http://www.chromestatus.com/features - @Experimental() Touch _createTouch_2(Window view, target, identifier, pageX, pageY, screenX, screenY, radiusX, radiusY, rotationAngle) native; @JSName('createTouch') - @DomName('Document.createTouch') - @DocsEditable() - // http://www.w3.org/TR/touch-events/, http://www.chromestatus.com/features - @Experimental() Touch _createTouch_3(Window view, target, identifier, pageX, pageY, screenX, screenY, radiusX, radiusY) native; @JSName('createTouch') - @DomName('Document.createTouch') - @DocsEditable() - // http://www.w3.org/TR/touch-events/, http://www.chromestatus.com/features - @Experimental() Touch _createTouch_4(Window view, target, identifier, pageX, pageY, screenX, screenY, radiusX) native; @JSName('createTouch') - @DomName('Document.createTouch') - @DocsEditable() - // http://www.w3.org/TR/touch-events/, http://www.chromestatus.com/features - @Experimental() Touch _createTouch_5( Window view, target, identifier, pageX, pageY, screenX, screenY) native; @JSName('createTouchList') - @DomName('Document.createTouchList') - @DocsEditable() - // http://www.w3.org/TR/touch-events/, http://www.chromestatus.com/features - @Experimental() TouchList _createTouchList(Touch touches) native; - @DomName('Document.execCommand') - @DocsEditable() bool execCommand(String commandId, [bool showUI, String value]) native; - @DomName('Document.exitFullscreen') - @DocsEditable() - @Experimental() // untriaged void exitFullscreen() native; - @DomName('Document.exitPointerLock') - @DocsEditable() - @Experimental() // untriaged void exitPointerLock() native; - @DomName('Document.getAnimations') - @DocsEditable() - @Experimental() // untriaged List getAnimations() native; - @DomName('Document.getElementsByClassName') - @DocsEditable() @Creates('NodeList|HtmlCollection') @Returns('NodeList|HtmlCollection') List getElementsByClassName(String classNames) native; - @DomName('Document.getElementsByName') - @DocsEditable() @Creates('NodeList|HtmlCollection') @Returns('NodeList|HtmlCollection') List getElementsByName(String elementName) native; - @DomName('Document.getElementsByTagName') - @DocsEditable() @Creates('NodeList|HtmlCollection') @Returns('NodeList|HtmlCollection') List getElementsByTagName(String localName) native; - @DomName('Document.importNode') - @DocsEditable() Node importNode(Node node, [bool deep]) native; - @DomName('Document.queryCommandEnabled') - @DocsEditable() bool queryCommandEnabled(String commandId) native; - @DomName('Document.queryCommandIndeterm') - @DocsEditable() bool queryCommandIndeterm(String commandId) native; - @DomName('Document.queryCommandState') - @DocsEditable() bool queryCommandState(String commandId) native; - @DomName('Document.queryCommandSupported') - @DocsEditable() bool queryCommandSupported(String commandId) native; - @DomName('Document.queryCommandValue') - @DocsEditable() String queryCommandValue(String commandId) native; - @DomName('Document.registerElement') - @DocsEditable() - @Experimental() // untriaged Function registerElement2(String type, [Map options]) { if (options != null) { var options_1 = convertDartToNative_Dictionary(options); @@ -11897,94 +9469,55 @@ class Document extends Node { } @JSName('registerElement') - @DomName('Document.registerElement') - @DocsEditable() - @Experimental() // untriaged Function _registerElement2_1(type, options) native; @JSName('registerElement') - @DomName('Document.registerElement') - @DocsEditable() - @Experimental() // untriaged Function _registerElement2_2(type) native; @JSName('webkitExitFullscreen') - @DomName('Document.webkitExitFullscreen') - @DocsEditable() @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.SAFARI) - @Experimental() - // https://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html#dom-document-exitfullscreen void _webkitExitFullscreen() native; // From NonElementParentNode - @DomName('Document.getElementById') - @DocsEditable() Element getElementById(String elementId) native; // From DocumentOrShadowRoot - @DomName('Document.activeElement') - @DocsEditable() - @Experimental() // untriaged final Element activeElement; - @DomName('Document.fullscreenElement') - @DocsEditable() - @Experimental() // untriaged final Element fullscreenElement; - @DomName('Document.pointerLockElement') - @DocsEditable() - @Experimental() // untriaged final Element pointerLockElement; @JSName('styleSheets') - @DomName('Document.styleSheets') - @DocsEditable() @Returns('_StyleSheetList|Null') @Creates('_StyleSheetList') final List _styleSheets; @JSName('elementFromPoint') - @DomName('Document.elementFromPoint') - @DocsEditable() Element _elementFromPoint(int x, int y) native; - @DomName('Document.elementsFromPoint') - @DocsEditable() - @Experimental() // untriaged List elementsFromPoint(int x, int y) native; // From FontFaceSource - @DomName('Document.fonts') - @DocsEditable() - @Experimental() // untriaged final FontFaceSet fonts; // From ParentNode @JSName('childElementCount') - @DomName('Document.childElementCount') - @DocsEditable() final int _childElementCount; @JSName('children') - @DomName('Document.children') - @DocsEditable() @Returns('HtmlCollection|Null') @Creates('HtmlCollection') final List _children; @JSName('firstElementChild') - @DomName('Document.firstElementChild') - @DocsEditable() final Element _firstElementChild; @JSName('lastElementChild') - @DomName('Document.lastElementChild') - @DocsEditable() final Element _lastElementChild; /** @@ -12004,400 +9537,215 @@ class Document extends Node { * For details about CSS selector syntax, see the * [CSS selector specification](http://www.w3.org/TR/css3-selectors/). */ - @DomName('Document.querySelector') - @DocsEditable() Element querySelector(String selectors) native; @JSName('querySelectorAll') - @DomName('Document.querySelectorAll') - @DocsEditable() @Creates('NodeList') @Returns('NodeList') List _querySelectorAll(String selectors) native; /// Stream of `abort` events handled by this [Document]. - @DomName('Document.onabort') - @DocsEditable() Stream get onAbort => Element.abortEvent.forTarget(this); /// Stream of `beforecopy` events handled by this [Document]. - @DomName('Document.onbeforecopy') - @DocsEditable() Stream get onBeforeCopy => Element.beforeCopyEvent.forTarget(this); /// Stream of `beforecut` events handled by this [Document]. - @DomName('Document.onbeforecut') - @DocsEditable() Stream get onBeforeCut => Element.beforeCutEvent.forTarget(this); /// Stream of `beforepaste` events handled by this [Document]. - @DomName('Document.onbeforepaste') - @DocsEditable() Stream get onBeforePaste => Element.beforePasteEvent.forTarget(this); /// Stream of `blur` events handled by this [Document]. - @DomName('Document.onblur') - @DocsEditable() Stream get onBlur => Element.blurEvent.forTarget(this); - @DomName('Document.oncanplay') - @DocsEditable() - @Experimental() // untriaged Stream get onCanPlay => Element.canPlayEvent.forTarget(this); - @DomName('Document.oncanplaythrough') - @DocsEditable() - @Experimental() // untriaged Stream get onCanPlayThrough => Element.canPlayThroughEvent.forTarget(this); /// Stream of `change` events handled by this [Document]. - @DomName('Document.onchange') - @DocsEditable() Stream get onChange => Element.changeEvent.forTarget(this); /// Stream of `click` events handled by this [Document]. - @DomName('Document.onclick') - @DocsEditable() Stream get onClick => Element.clickEvent.forTarget(this); /// Stream of `contextmenu` events handled by this [Document]. - @DomName('Document.oncontextmenu') - @DocsEditable() Stream get onContextMenu => Element.contextMenuEvent.forTarget(this); /// Stream of `copy` events handled by this [Document]. - @DomName('Document.oncopy') - @DocsEditable() Stream get onCopy => Element.copyEvent.forTarget(this); /// Stream of `cut` events handled by this [Document]. - @DomName('Document.oncut') - @DocsEditable() Stream get onCut => Element.cutEvent.forTarget(this); /// Stream of `doubleclick` events handled by this [Document]. - @DomName('Document.ondblclick') - @DocsEditable() Stream get onDoubleClick => Element.doubleClickEvent.forTarget(this); /// Stream of `drag` events handled by this [Document]. - @DomName('Document.ondrag') - @DocsEditable() Stream get onDrag => Element.dragEvent.forTarget(this); /// Stream of `dragend` events handled by this [Document]. - @DomName('Document.ondragend') - @DocsEditable() Stream get onDragEnd => Element.dragEndEvent.forTarget(this); /// Stream of `dragenter` events handled by this [Document]. - @DomName('Document.ondragenter') - @DocsEditable() Stream get onDragEnter => Element.dragEnterEvent.forTarget(this); /// Stream of `dragleave` events handled by this [Document]. - @DomName('Document.ondragleave') - @DocsEditable() Stream get onDragLeave => Element.dragLeaveEvent.forTarget(this); /// Stream of `dragover` events handled by this [Document]. - @DomName('Document.ondragover') - @DocsEditable() Stream get onDragOver => Element.dragOverEvent.forTarget(this); /// Stream of `dragstart` events handled by this [Document]. - @DomName('Document.ondragstart') - @DocsEditable() Stream get onDragStart => Element.dragStartEvent.forTarget(this); /// Stream of `drop` events handled by this [Document]. - @DomName('Document.ondrop') - @DocsEditable() Stream get onDrop => Element.dropEvent.forTarget(this); - @DomName('Document.ondurationchange') - @DocsEditable() - @Experimental() // untriaged Stream get onDurationChange => Element.durationChangeEvent.forTarget(this); - @DomName('Document.onemptied') - @DocsEditable() - @Experimental() // untriaged Stream get onEmptied => Element.emptiedEvent.forTarget(this); - @DomName('Document.onended') - @DocsEditable() - @Experimental() // untriaged Stream get onEnded => Element.endedEvent.forTarget(this); /// Stream of `error` events handled by this [Document]. - @DomName('Document.onerror') - @DocsEditable() Stream get onError => Element.errorEvent.forTarget(this); /// Stream of `focus` events handled by this [Document]. - @DomName('Document.onfocus') - @DocsEditable() Stream get onFocus => Element.focusEvent.forTarget(this); /// Stream of `input` events handled by this [Document]. - @DomName('Document.oninput') - @DocsEditable() Stream get onInput => Element.inputEvent.forTarget(this); /// Stream of `invalid` events handled by this [Document]. - @DomName('Document.oninvalid') - @DocsEditable() Stream get onInvalid => Element.invalidEvent.forTarget(this); /// Stream of `keydown` events handled by this [Document]. - @DomName('Document.onkeydown') - @DocsEditable() Stream get onKeyDown => Element.keyDownEvent.forTarget(this); /// Stream of `keypress` events handled by this [Document]. - @DomName('Document.onkeypress') - @DocsEditable() Stream get onKeyPress => Element.keyPressEvent.forTarget(this); /// Stream of `keyup` events handled by this [Document]. - @DomName('Document.onkeyup') - @DocsEditable() Stream get onKeyUp => Element.keyUpEvent.forTarget(this); /// Stream of `load` events handled by this [Document]. - @DomName('Document.onload') - @DocsEditable() Stream get onLoad => Element.loadEvent.forTarget(this); - @DomName('Document.onloadeddata') - @DocsEditable() - @Experimental() // untriaged Stream get onLoadedData => Element.loadedDataEvent.forTarget(this); - @DomName('Document.onloadedmetadata') - @DocsEditable() - @Experimental() // untriaged Stream get onLoadedMetadata => Element.loadedMetadataEvent.forTarget(this); /// Stream of `mousedown` events handled by this [Document]. - @DomName('Document.onmousedown') - @DocsEditable() Stream get onMouseDown => Element.mouseDownEvent.forTarget(this); /// Stream of `mouseenter` events handled by this [Document]. - @DomName('Document.onmouseenter') - @DocsEditable() - @Experimental() // untriaged Stream get onMouseEnter => Element.mouseEnterEvent.forTarget(this); /// Stream of `mouseleave` events handled by this [Document]. - @DomName('Document.onmouseleave') - @DocsEditable() - @Experimental() // untriaged Stream get onMouseLeave => Element.mouseLeaveEvent.forTarget(this); /// Stream of `mousemove` events handled by this [Document]. - @DomName('Document.onmousemove') - @DocsEditable() Stream get onMouseMove => Element.mouseMoveEvent.forTarget(this); /// Stream of `mouseout` events handled by this [Document]. - @DomName('Document.onmouseout') - @DocsEditable() Stream get onMouseOut => Element.mouseOutEvent.forTarget(this); /// Stream of `mouseover` events handled by this [Document]. - @DomName('Document.onmouseover') - @DocsEditable() Stream get onMouseOver => Element.mouseOverEvent.forTarget(this); /// Stream of `mouseup` events handled by this [Document]. - @DomName('Document.onmouseup') - @DocsEditable() Stream get onMouseUp => Element.mouseUpEvent.forTarget(this); /// Stream of `mousewheel` events handled by this [Document]. - @DomName('Document.onmousewheel') - @DocsEditable() Stream get onMouseWheel => Element.mouseWheelEvent.forTarget(this); /// Stream of `paste` events handled by this [Document]. - @DomName('Document.onpaste') - @DocsEditable() Stream get onPaste => Element.pasteEvent.forTarget(this); - @DomName('Document.onpause') - @DocsEditable() - @Experimental() // untriaged Stream get onPause => Element.pauseEvent.forTarget(this); - @DomName('Document.onplay') - @DocsEditable() - @Experimental() // untriaged Stream get onPlay => Element.playEvent.forTarget(this); - @DomName('Document.onplaying') - @DocsEditable() - @Experimental() // untriaged Stream get onPlaying => Element.playingEvent.forTarget(this); - @DomName('Document.onpointerlockchange') - @DocsEditable() - @Experimental() // untriaged Stream get onPointerLockChange => pointerLockChangeEvent.forTarget(this); - @DomName('Document.onpointerlockerror') - @DocsEditable() - @Experimental() // untriaged Stream get onPointerLockError => pointerLockErrorEvent.forTarget(this); - @DomName('Document.onratechange') - @DocsEditable() - @Experimental() // untriaged Stream get onRateChange => Element.rateChangeEvent.forTarget(this); /// Stream of `readystatechange` events handled by this [Document]. - @DomName('Document.onreadystatechange') - @DocsEditable() Stream get onReadyStateChange => readyStateChangeEvent.forTarget(this); /// Stream of `reset` events handled by this [Document]. - @DomName('Document.onreset') - @DocsEditable() Stream get onReset => Element.resetEvent.forTarget(this); - @DomName('Document.onresize') - @DocsEditable() - @Experimental() // untriaged Stream get onResize => Element.resizeEvent.forTarget(this); /// Stream of `scroll` events handled by this [Document]. - @DomName('Document.onscroll') - @DocsEditable() Stream get onScroll => Element.scrollEvent.forTarget(this); /// Stream of `search` events handled by this [Document]. - @DomName('Document.onsearch') - @DocsEditable() - // http://www.w3.org/TR/html-markup/input.search.html - @Experimental() Stream get onSearch => Element.searchEvent.forTarget(this); /// Stream of `securitypolicyviolation` events handled by this [Document]. - @DomName('Document.onsecuritypolicyviolation') - @DocsEditable() - // https://dvcs.w3.org/hg/content-security-policy/raw-file/tip/csp-specification.dev.html#widl-Document-onsecuritypolicyviolation - @Experimental() Stream get onSecurityPolicyViolation => securityPolicyViolationEvent.forTarget(this); - @DomName('Document.onseeked') - @DocsEditable() - @Experimental() // untriaged Stream get onSeeked => Element.seekedEvent.forTarget(this); - @DomName('Document.onseeking') - @DocsEditable() - @Experimental() // untriaged Stream get onSeeking => Element.seekingEvent.forTarget(this); /// Stream of `select` events handled by this [Document]. - @DomName('Document.onselect') - @DocsEditable() Stream get onSelect => Element.selectEvent.forTarget(this); /// Stream of `selectionchange` events handled by this [Document]. - @DomName('Document.onselectionchange') - @DocsEditable() Stream get onSelectionChange => selectionChangeEvent.forTarget(this); /// Stream of `selectstart` events handled by this [Document]. - @DomName('Document.onselectstart') - @DocsEditable() Stream get onSelectStart => Element.selectStartEvent.forTarget(this); - @DomName('Document.onstalled') - @DocsEditable() - @Experimental() // untriaged Stream get onStalled => Element.stalledEvent.forTarget(this); /// Stream of `submit` events handled by this [Document]. - @DomName('Document.onsubmit') - @DocsEditable() Stream get onSubmit => Element.submitEvent.forTarget(this); - @DomName('Document.onsuspend') - @DocsEditable() - @Experimental() // untriaged Stream get onSuspend => Element.suspendEvent.forTarget(this); - @DomName('Document.ontimeupdate') - @DocsEditable() - @Experimental() // untriaged Stream get onTimeUpdate => Element.timeUpdateEvent.forTarget(this); /// Stream of `touchcancel` events handled by this [Document]. - @DomName('Document.ontouchcancel') - @DocsEditable() - // http://www.w3.org/TR/touch-events/, http://www.chromestatus.com/features - @Experimental() Stream get onTouchCancel => Element.touchCancelEvent.forTarget(this); /// Stream of `touchend` events handled by this [Document]. - @DomName('Document.ontouchend') - @DocsEditable() - // http://www.w3.org/TR/touch-events/, http://www.chromestatus.com/features - @Experimental() Stream get onTouchEnd => Element.touchEndEvent.forTarget(this); /// Stream of `touchmove` events handled by this [Document]. - @DomName('Document.ontouchmove') - @DocsEditable() - // http://www.w3.org/TR/touch-events/, http://www.chromestatus.com/features - @Experimental() Stream get onTouchMove => Element.touchMoveEvent.forTarget(this); /// Stream of `touchstart` events handled by this [Document]. - @DomName('Document.ontouchstart') - @DocsEditable() - // http://www.w3.org/TR/touch-events/, http://www.chromestatus.com/features - @Experimental() Stream get onTouchStart => Element.touchStartEvent.forTarget(this); - @DomName('Document.onvolumechange') - @DocsEditable() - @Experimental() // untriaged Stream get onVolumeChange => Element.volumeChangeEvent.forTarget(this); - @DomName('Document.onwaiting') - @DocsEditable() - @Experimental() // untriaged Stream get onWaiting => Element.waitingEvent.forTarget(this); /// Stream of `fullscreenchange` events handled by this [Document]. - @DomName('Document.onwebkitfullscreenchange') - @DocsEditable() - // https://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html - @Experimental() Stream get onFullscreenChange => Element.fullscreenChangeEvent.forTarget(this); /// Stream of `fullscreenerror` events handled by this [Document]. - @DomName('Document.onwebkitfullscreenerror') - @DocsEditable() - // https://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html - @Experimental() Stream get onFullscreenError => Element.fullscreenErrorEvent.forTarget(this); @@ -12435,7 +9783,6 @@ class Document extends Node { tag, {'prototype': customElementClass, 'extends': extendsTag}); } - @DomName('Document.createElement') @ForceInline() // Almost all call sites have one argument. Element createElement(String tagName, [String typeExtension]) { return (typeExtension == null) @@ -12445,18 +9792,14 @@ class Document extends Node { // The two-argument version of this is automatically generated, but we need to // omit the typeExtension if it's null on Firefox or we get an is="null" attribute. - @DomName('Document.createElement') _createElement_2(String tagName) => JS('Element', '#.createElement(#)', this, tagName); // The three-argument version of this is automatically generated, but we need to // omit the typeExtension if it's null on Firefox or we get an is="null" attribute. - @DomName('Document.createElementNS') _createElementNS_2(String namespaceURI, String qualifiedName) => JS( 'Element', '#.createElementNS(#, #)', this, namespaceURI, qualifiedName); - @DomName('Document.createElementNS') - @DocsEditable() Element createElementNS(String namespaceURI, String qualifiedName, [String typeExtension]) { return (typeExtension == null) @@ -12464,23 +9807,19 @@ class Document extends Node { : _createElementNS(namespaceURI, qualifiedName, typeExtension); } - @DomName('Document.createNodeIterator') NodeIterator _createNodeIterator(Node root, [int whatToShow, NodeFilter filter]) => JS('NodeIterator', '#.createNodeIterator(#, #, #, false)', this, root, whatToShow, filter); - @DomName('Document.createTreeWalker') TreeWalker _createTreeWalker(Node root, [int whatToShow, NodeFilter filter]) => JS('TreeWalker', '#.createTreeWalker(#, #, #, false)', this, root, whatToShow, filter); - @DomName('Document.visibilityState') @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.FIREFOX) @SupportedBrowser(SupportedBrowser.IE, '10') - @Experimental() String get visibilityState => JS( 'String', '(#.visibilityState || #.mozVisibilityState || #.msVisibilityState ||' @@ -12494,7 +9833,6 @@ class Document extends Node { // 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. -@DomName('DocumentFragment') @Native("DocumentFragment") class DocumentFragment extends Node implements NonElementParentNode, ParentNode { @@ -12591,26 +9929,17 @@ class DocumentFragment extends Node // From NonElementParentNode - @DomName('DocumentFragment.getElementById') - @DocsEditable() - @Experimental() // untriaged Element getElementById(String elementId) native; // From ParentNode @JSName('childElementCount') - @DomName('DocumentFragment.childElementCount') - @DocsEditable() final int _childElementCount; @JSName('firstElementChild') - @DomName('DocumentFragment.firstElementChild') - @DocsEditable() final Element _firstElementChild; @JSName('lastElementChild') - @DomName('DocumentFragment.lastElementChild') - @DocsEditable() final Element _lastElementChild; /** @@ -12625,13 +9954,9 @@ class DocumentFragment extends Node * For details about CSS selector syntax, see the * [CSS selector specification](http://www.w3.org/TR/css3-selectors/). */ - @DomName('DocumentFragment.querySelector') - @DocsEditable() Element querySelector(String selectors) native; @JSName('querySelectorAll') - @DomName('DocumentFragment.querySelectorAll') - @DocsEditable() @Creates('NodeList') @Returns('NodeList') List _querySelectorAll(String selectors) native; @@ -12640,9 +9965,6 @@ class DocumentFragment extends Node // 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('DocumentOrShadowRoot') -@Experimental() // untriaged @Native("DocumentOrShadowRoot") class DocumentOrShadowRoot extends Interceptor { // To suppress missing implicit constructor warnings. @@ -12650,50 +9972,26 @@ class DocumentOrShadowRoot extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('DocumentOrShadowRoot.activeElement') - @DocsEditable() - @Experimental() // untriaged final Element activeElement; - @DomName('DocumentOrShadowRoot.fullscreenElement') - @DocsEditable() - @Experimental() // untriaged final Element fullscreenElement; - @DomName('DocumentOrShadowRoot.pointerLockElement') - @DocsEditable() - @Experimental() // untriaged final Element pointerLockElement; - @DomName('DocumentOrShadowRoot.styleSheets') - @DocsEditable() - @Experimental() // untriaged @Returns('_StyleSheetList|Null') @Creates('_StyleSheetList') final List styleSheets; - @DomName('DocumentOrShadowRoot.elementFromPoint') - @DocsEditable() - @Experimental() // untriaged Element elementFromPoint(int x, int y) native; - @DomName('DocumentOrShadowRoot.elementsFromPoint') - @DocsEditable() - @Experimental() // untriaged List elementsFromPoint(int x, int y) native; - @DomName('DocumentOrShadowRoot.getSelection') - @DocsEditable() - @Experimental() // untriaged Selection getSelection() 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('DocumentTimeline') -@Experimental() // untriaged @Native("DocumentTimeline") class DocumentTimeline extends AnimationTimeline { // To suppress missing implicit constructor warnings. @@ -12701,8 +9999,6 @@ class DocumentTimeline extends AnimationTimeline { throw new UnsupportedError("Not supported"); } - @DomName('DocumentTimeline.DocumentTimeline') - @DocsEditable() factory DocumentTimeline([Map options]) { if (options != null) { var options_1 = convertDartToNative_Dictionary(options); @@ -12719,8 +10015,6 @@ class DocumentTimeline extends AnimationTimeline { // 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('DOMError') @Native("DOMError") class DomError extends Interceptor { // To suppress missing implicit constructor warnings. @@ -12728,8 +10022,6 @@ class DomError extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('DOMError.DOMError') - @DocsEditable() factory DomError(String name, [String message]) { if (message != null) { return DomError._create_1(name, message); @@ -12740,20 +10032,14 @@ class DomError extends Interceptor { JS('DomError', 'new DOMError(#,#)', name, message); static DomError _create_2(name) => JS('DomError', 'new DOMError(#)', name); - @DomName('DOMError.message') - @DocsEditable() - @Experimental() // untriaged final String message; - @DomName('DOMError.name') - @DocsEditable() final String name; } // Copyright (c) 2013, 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. -@DomName('DOMException') @Unstable() @Native("DOMException") class DomException extends Interceptor { @@ -12797,20 +10083,14 @@ class DomException extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('DOMException.message') - @DocsEditable() final String message; - @DomName('DOMException.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('DOMImplementation') @Native("DOMImplementation") class DomImplementation extends Interceptor { // To suppress missing implicit constructor warnings. @@ -12818,32 +10098,21 @@ class DomImplementation extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('DOMImplementation.createDocument') - @DocsEditable() XmlDocument createDocument( String namespaceURI, String qualifiedName, _DocumentType doctype) native; - @DomName('DOMImplementation.createDocumentType') - @DocsEditable() _DocumentType createDocumentType( String qualifiedName, String publicId, String systemId) native; @JSName('createHTMLDocument') - @DomName('DOMImplementation.createHTMLDocument') - @DocsEditable() HtmlDocument createHtmlDocument([String title]) native; - @DomName('DOMImplementation.hasFeature') - @DocsEditable() bool hasFeature() 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('Iterator') -@Experimental() // untriaged @Native("Iterator") class DomIterator extends Interceptor { // To suppress missing implicit constructor warnings. @@ -12851,18 +10120,12 @@ class DomIterator extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('Iterator.next') - @DocsEditable() - @Experimental() // untriaged Object next([Object value]) 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('DOMMatrix') -@Experimental() // untriaged @Native("DOMMatrix") class DomMatrix extends DomMatrixReadOnly { // To suppress missing implicit constructor warnings. @@ -12870,8 +10133,6 @@ class DomMatrix extends DomMatrixReadOnly { throw new UnsupportedError("Not supported"); } - @DomName('DOMMatrix.DOMMatrix') - @DocsEditable() factory DomMatrix([Object init]) { if (init != null) { return DomMatrix._create_1(init); @@ -13035,19 +10296,10 @@ class DomMatrix extends DomMatrixReadOnly { JS("void", "#.m44 = #", this, value); } - @DomName('DOMMatrix.fromFloat32Array') - @DocsEditable() - @Experimental() // untriaged static DomMatrix fromFloat32Array(Float32List array32) native; - @DomName('DOMMatrix.fromFloat64Array') - @DocsEditable() - @Experimental() // untriaged static DomMatrix fromFloat64Array(Float64List array64) native; - @DomName('DOMMatrix.fromMatrix') - @DocsEditable() - @Experimental() // untriaged static DomMatrix fromMatrix([Map other]) { if (other != null) { var other_1 = convertDartToNative_Dictionary(other); @@ -13057,24 +10309,12 @@ class DomMatrix extends DomMatrixReadOnly { } @JSName('fromMatrix') - @DomName('DOMMatrix.fromMatrix') - @DocsEditable() - @Experimental() // untriaged static DomMatrix _fromMatrix_1(other) native; @JSName('fromMatrix') - @DomName('DOMMatrix.fromMatrix') - @DocsEditable() - @Experimental() // untriaged static DomMatrix _fromMatrix_2() native; - @DomName('DOMMatrix.invertSelf') - @DocsEditable() - @Experimental() // untriaged DomMatrix invertSelf() native; - @DomName('DOMMatrix.multiplySelf') - @DocsEditable() - @Experimental() // untriaged DomMatrix multiplySelf([Map other]) { if (other != null) { var other_1 = convertDartToNative_Dictionary(other); @@ -13084,19 +10324,10 @@ class DomMatrix extends DomMatrixReadOnly { } @JSName('multiplySelf') - @DomName('DOMMatrix.multiplySelf') - @DocsEditable() - @Experimental() // untriaged DomMatrix _multiplySelf_1(other) native; @JSName('multiplySelf') - @DomName('DOMMatrix.multiplySelf') - @DocsEditable() - @Experimental() // untriaged DomMatrix _multiplySelf_2() native; - @DomName('DOMMatrix.preMultiplySelf') - @DocsEditable() - @Experimental() // untriaged DomMatrix preMultiplySelf([Map other]) { if (other != null) { var other_1 = convertDartToNative_Dictionary(other); @@ -13106,40 +10337,19 @@ class DomMatrix extends DomMatrixReadOnly { } @JSName('preMultiplySelf') - @DomName('DOMMatrix.preMultiplySelf') - @DocsEditable() - @Experimental() // untriaged DomMatrix _preMultiplySelf_1(other) native; @JSName('preMultiplySelf') - @DomName('DOMMatrix.preMultiplySelf') - @DocsEditable() - @Experimental() // untriaged DomMatrix _preMultiplySelf_2() native; - @DomName('DOMMatrix.rotateAxisAngleSelf') - @DocsEditable() - @Experimental() // untriaged DomMatrix rotateAxisAngleSelf([num x, num y, num z, num angle]) native; - @DomName('DOMMatrix.rotateFromVectorSelf') - @DocsEditable() - @Experimental() // untriaged DomMatrix rotateFromVectorSelf([num x, num y]) native; - @DomName('DOMMatrix.rotateSelf') - @DocsEditable() - @Experimental() // untriaged DomMatrix rotateSelf([num rotX, num rotY, num rotZ]) native; - @DomName('DOMMatrix.scale3dSelf') - @DocsEditable() - @Experimental() // untriaged DomMatrix scale3dSelf([num scale, num originX, num originY, num originZ]) native; - @DomName('DOMMatrix.scaleSelf') - @DocsEditable() - @Experimental() // untriaged DomMatrix scaleSelf( [num scaleX, num scaleY, @@ -13148,33 +10358,18 @@ class DomMatrix extends DomMatrixReadOnly { num originY, num originZ]) native; - @DomName('DOMMatrix.setMatrixValue') - @DocsEditable() - @Experimental() // untriaged DomMatrix setMatrixValue(String transformList) native; - @DomName('DOMMatrix.skewXSelf') - @DocsEditable() - @Experimental() // untriaged DomMatrix skewXSelf([num sx]) native; - @DomName('DOMMatrix.skewYSelf') - @DocsEditable() - @Experimental() // untriaged DomMatrix skewYSelf([num sy]) native; - @DomName('DOMMatrix.translateSelf') - @DocsEditable() - @Experimental() // untriaged DomMatrix translateSelf([num tx, num ty, num tz]) 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('DOMMatrixReadOnly') -@Experimental() // untriaged @Native("DOMMatrixReadOnly") class DomMatrixReadOnly extends Interceptor { // To suppress missing implicit constructor warnings. @@ -13182,8 +10377,6 @@ class DomMatrixReadOnly extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('DOMMatrixReadOnly.DOMMatrixReadOnly') - @DocsEditable() factory DomMatrixReadOnly([Object init]) { if (init != null) { return DomMatrixReadOnly._create_1(init); @@ -13243,29 +10436,14 @@ class DomMatrixReadOnly extends Interceptor { num get m44 => JS("num", "#.m44", this); - @DomName('DOMMatrixReadOnly.flipX') - @DocsEditable() - @Experimental() // untriaged DomMatrix flipX() native; - @DomName('DOMMatrixReadOnly.flipY') - @DocsEditable() - @Experimental() // untriaged DomMatrix flipY() native; - @DomName('DOMMatrixReadOnly.fromFloat32Array') - @DocsEditable() - @Experimental() // untriaged static DomMatrixReadOnly fromFloat32Array(Float32List array32) native; - @DomName('DOMMatrixReadOnly.fromFloat64Array') - @DocsEditable() - @Experimental() // untriaged static DomMatrixReadOnly fromFloat64Array(Float64List array64) native; - @DomName('DOMMatrixReadOnly.fromMatrix') - @DocsEditable() - @Experimental() // untriaged static DomMatrixReadOnly fromMatrix([Map other]) { if (other != null) { var other_1 = convertDartToNative_Dictionary(other); @@ -13275,24 +10453,12 @@ class DomMatrixReadOnly extends Interceptor { } @JSName('fromMatrix') - @DomName('DOMMatrixReadOnly.fromMatrix') - @DocsEditable() - @Experimental() // untriaged static DomMatrixReadOnly _fromMatrix_1(other) native; @JSName('fromMatrix') - @DomName('DOMMatrixReadOnly.fromMatrix') - @DocsEditable() - @Experimental() // untriaged static DomMatrixReadOnly _fromMatrix_2() native; - @DomName('DOMMatrixReadOnly.inverse') - @DocsEditable() - @Experimental() // untriaged DomMatrix inverse() native; - @DomName('DOMMatrixReadOnly.multiply') - @DocsEditable() - @Experimental() // untriaged DomMatrix multiply([Map other]) { if (other != null) { var other_1 = convertDartToNative_Dictionary(other); @@ -13302,34 +10468,16 @@ class DomMatrixReadOnly extends Interceptor { } @JSName('multiply') - @DomName('DOMMatrixReadOnly.multiply') - @DocsEditable() - @Experimental() // untriaged DomMatrix _multiply_1(other) native; @JSName('multiply') - @DomName('DOMMatrixReadOnly.multiply') - @DocsEditable() - @Experimental() // untriaged DomMatrix _multiply_2() native; - @DomName('DOMMatrixReadOnly.rotate') - @DocsEditable() - @Experimental() // untriaged DomMatrix rotate([num rotX, num rotY, num rotZ]) native; - @DomName('DOMMatrixReadOnly.rotateAxisAngle') - @DocsEditable() - @Experimental() // untriaged DomMatrix rotateAxisAngle([num x, num y, num z, num angle]) native; - @DomName('DOMMatrixReadOnly.rotateFromVector') - @DocsEditable() - @Experimental() // untriaged DomMatrix rotateFromVector([num x, num y]) native; - @DomName('DOMMatrixReadOnly.scale') - @DocsEditable() - @Experimental() // untriaged DomMatrix scale( [num scaleX, num scaleY, @@ -13338,34 +10486,16 @@ class DomMatrixReadOnly extends Interceptor { num originY, num originZ]) native; - @DomName('DOMMatrixReadOnly.scale3d') - @DocsEditable() - @Experimental() // untriaged DomMatrix scale3d([num scale, num originX, num originY, num originZ]) native; - @DomName('DOMMatrixReadOnly.skewX') - @DocsEditable() - @Experimental() // untriaged DomMatrix skewX([num sx]) native; - @DomName('DOMMatrixReadOnly.skewY') - @DocsEditable() - @Experimental() // untriaged DomMatrix skewY([num sy]) native; - @DomName('DOMMatrixReadOnly.toFloat32Array') - @DocsEditable() - @Experimental() // untriaged Float32List toFloat32Array() native; - @DomName('DOMMatrixReadOnly.toFloat64Array') - @DocsEditable() - @Experimental() // untriaged Float64List toFloat64Array() native; - @DomName('DOMMatrixReadOnly.transformPoint') - @DocsEditable() - @Experimental() // untriaged DomPoint transformPoint([Map point]) { if (point != null) { var point_1 = convertDartToNative_Dictionary(point); @@ -13375,27 +10505,16 @@ class DomMatrixReadOnly extends Interceptor { } @JSName('transformPoint') - @DomName('DOMMatrixReadOnly.transformPoint') - @DocsEditable() - @Experimental() // untriaged DomPoint _transformPoint_1(point) native; @JSName('transformPoint') - @DomName('DOMMatrixReadOnly.transformPoint') - @DocsEditable() - @Experimental() // untriaged DomPoint _transformPoint_2() native; - @DomName('DOMMatrixReadOnly.translate') - @DocsEditable() - @Experimental() // untriaged DomMatrix translate([num tx, num ty, num tz]) 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('DOMParser') @Native("DOMParser") class DomParser extends Interceptor { // To suppress missing implicit constructor warnings. @@ -13403,24 +10522,17 @@ class DomParser extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('DOMParser.DOMParser') - @DocsEditable() factory DomParser() { return DomParser._create_1(); } static DomParser _create_1() => JS('DomParser', 'new DOMParser()'); - @DomName('DOMParser.parseFromString') - @DocsEditable() Document parseFromString(String str, String type) 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('DOMPoint') -@Experimental() // untriaged @Native("DOMPoint") class DomPoint extends DomPointReadOnly { // To suppress missing implicit constructor warnings. @@ -13428,8 +10540,6 @@ class DomPoint extends DomPointReadOnly { throw new UnsupportedError("Not supported"); } - @DomName('DOMPoint.DOMPoint') - @DocsEditable() factory DomPoint([num x, num y, num z, num w]) { if (w != null) { return DomPoint._create_1(x, y, z, w); @@ -13485,9 +10595,6 @@ class DomPoint extends DomPointReadOnly { JS("void", "#.z = #", this, value); } - @DomName('DOMPoint.fromPoint') - @DocsEditable() - @Experimental() // untriaged static DomPoint fromPoint([Map other]) { if (other != null) { var other_1 = convertDartToNative_Dictionary(other); @@ -13497,23 +10604,14 @@ class DomPoint extends DomPointReadOnly { } @JSName('fromPoint') - @DomName('DOMPoint.fromPoint') - @DocsEditable() - @Experimental() // untriaged static DomPoint _fromPoint_1(other) native; @JSName('fromPoint') - @DomName('DOMPoint.fromPoint') - @DocsEditable() - @Experimental() // untriaged static DomPoint _fromPoint_2() 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('DOMPointReadOnly') -@Experimental() // untriaged @Native("DOMPointReadOnly") class DomPointReadOnly extends Interceptor { // To suppress missing implicit constructor warnings. @@ -13521,8 +10619,6 @@ class DomPointReadOnly extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('DOMPointReadOnly.DOMPointReadOnly') - @DocsEditable() factory DomPointReadOnly([num x, num y, num z, num w]) { if (w != null) { return DomPointReadOnly._create_1(x, y, z, w); @@ -13557,9 +10653,6 @@ class DomPointReadOnly extends Interceptor { num get z => JS("num", "#.z", this); - @DomName('DOMPointReadOnly.fromPoint') - @DocsEditable() - @Experimental() // untriaged static DomPointReadOnly fromPoint([Map other]) { if (other != null) { var other_1 = convertDartToNative_Dictionary(other); @@ -13569,19 +10662,10 @@ class DomPointReadOnly extends Interceptor { } @JSName('fromPoint') - @DomName('DOMPointReadOnly.fromPoint') - @DocsEditable() - @Experimental() // untriaged static DomPointReadOnly _fromPoint_1(other) native; @JSName('fromPoint') - @DomName('DOMPointReadOnly.fromPoint') - @DocsEditable() - @Experimental() // untriaged static DomPointReadOnly _fromPoint_2() native; - @DomName('DOMPointReadOnly.matrixTransform') - @DocsEditable() - @Experimental() // untriaged DomPoint matrixTransform([Map matrix]) { if (matrix != null) { var matrix_1 = convertDartToNative_Dictionary(matrix); @@ -13591,23 +10675,14 @@ class DomPointReadOnly extends Interceptor { } @JSName('matrixTransform') - @DomName('DOMPointReadOnly.matrixTransform') - @DocsEditable() - @Experimental() // untriaged DomPoint _matrixTransform_1(matrix) native; @JSName('matrixTransform') - @DomName('DOMPointReadOnly.matrixTransform') - @DocsEditable() - @Experimental() // untriaged DomPoint _matrixTransform_2() 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('DOMQuad') -@Experimental() // untriaged @Native("DOMQuad") class DomQuad extends Interceptor { // To suppress missing implicit constructor warnings. @@ -13615,8 +10690,6 @@ class DomQuad extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('DOMQuad.DOMQuad') - @DocsEditable() factory DomQuad([Map p1, Map p2, Map p3, Map p4]) { if (p4 != null) { var p1_1 = convertDartToNative_Dictionary(p1); @@ -13650,29 +10723,14 @@ class DomQuad extends Interceptor { static DomQuad _create_4(p1) => JS('DomQuad', 'new DOMQuad(#)', p1); static DomQuad _create_5() => JS('DomQuad', 'new DOMQuad()'); - @DomName('DOMQuad.p1') - @DocsEditable() - @Experimental() // untriaged final DomPoint p1; - @DomName('DOMQuad.p2') - @DocsEditable() - @Experimental() // untriaged final DomPoint p2; - @DomName('DOMQuad.p3') - @DocsEditable() - @Experimental() // untriaged final DomPoint p3; - @DomName('DOMQuad.p4') - @DocsEditable() - @Experimental() // untriaged final DomPoint p4; - @DomName('DOMQuad.fromQuad') - @DocsEditable() - @Experimental() // untriaged static DomQuad fromQuad([Map other]) { if (other != null) { var other_1 = convertDartToNative_Dictionary(other); @@ -13682,19 +10740,10 @@ class DomQuad extends Interceptor { } @JSName('fromQuad') - @DomName('DOMQuad.fromQuad') - @DocsEditable() - @Experimental() // untriaged static DomQuad _fromQuad_1(other) native; @JSName('fromQuad') - @DomName('DOMQuad.fromQuad') - @DocsEditable() - @Experimental() // untriaged static DomQuad _fromQuad_2() native; - @DomName('DOMQuad.fromRect') - @DocsEditable() - @Experimental() // untriaged static DomQuad fromRect([Map other]) { if (other != null) { var other_1 = convertDartToNative_Dictionary(other); @@ -13704,28 +10753,16 @@ class DomQuad extends Interceptor { } @JSName('fromRect') - @DomName('DOMQuad.fromRect') - @DocsEditable() - @Experimental() // untriaged static DomQuad _fromRect_1(other) native; @JSName('fromRect') - @DomName('DOMQuad.fromRect') - @DocsEditable() - @Experimental() // untriaged static DomQuad _fromRect_2() native; - @DomName('DOMQuad.getBounds') - @DocsEditable() - @Experimental() // untriaged Rectangle getBounds() 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('DOMRectList') -@Experimental() // untriaged @Native("ClientRectList,DOMRectList") class DomRectList extends Interceptor with ListMixin, ImmutableListMixin @@ -13735,9 +10772,6 @@ class DomRectList extends Interceptor throw new UnsupportedError("Not supported"); } - @DomName('DOMRectList.length') - @DocsEditable() - @Experimental() // untriaged int get length => JS("int", "#.length", this); Rectangle operator [](int index) { @@ -13783,18 +10817,12 @@ class DomRectList extends Interceptor Rectangle elementAt(int index) => this[index]; // -- end List mixins. - @DomName('DOMRectList.item') - @DocsEditable() - @Experimental() // untriaged Rectangle item(int index) native; } // Copyright (c) 2013, 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('DOMRectReadOnly') -@Experimental() // untriaged @Native("DOMRectReadOnly") class DomRectReadOnly extends Interceptor implements Rectangle { // NOTE! All code below should be common with RectangleBase. @@ -13891,8 +10919,6 @@ class DomRectReadOnly extends Interceptor implements Rectangle { throw new UnsupportedError("Not supported"); } - @DomName('DOMRectReadOnly.DOMRectReadOnly') - @DocsEditable() factory DomRectReadOnly([num x, num y, num width, num height]) { if (height != null) { return DomRectReadOnly._create_1(x, y, width, height); @@ -13935,9 +10961,6 @@ class DomRectReadOnly extends Interceptor implements Rectangle { num get y => JS("num", "#.y", this); - @DomName('DOMRectReadOnly.fromRect') - @DocsEditable() - @Experimental() // untriaged static DomRectReadOnly fromRect([Map other]) { if (other != null) { var other_1 = convertDartToNative_Dictionary(other); @@ -13947,14 +10970,8 @@ class DomRectReadOnly extends Interceptor implements Rectangle { } @JSName('fromRect') - @DomName('DOMRectReadOnly.fromRect') - @DocsEditable() - @Experimental() // untriaged static DomRectReadOnly _fromRect_1(other) native; @JSName('fromRect') - @DomName('DOMRectReadOnly.fromRect') - @DocsEditable() - @Experimental() // untriaged static DomRectReadOnly _fromRect_2() native; } @@ -13962,8 +10979,6 @@ class DomRectReadOnly extends Interceptor implements Rectangle { // 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('DOMStringList') @Native("DOMStringList") class DomStringList extends Interceptor with ListMixin, ImmutableListMixin @@ -13973,8 +10988,6 @@ class DomStringList extends Interceptor throw new UnsupportedError("Not supported"); } - @DomName('DOMStringList.length') - @DocsEditable() int get length => JS("int", "#.length", this); String operator [](int index) { @@ -14020,16 +11033,12 @@ class DomStringList extends Interceptor String elementAt(int index) => this[index]; // -- end List mixins. - @DomName('DOMStringList.item') - @DocsEditable() String item(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('DOMStringMap') @Native("DOMStringMap") class DomStringMap extends Interceptor { // To suppress missing implicit constructor warnings. @@ -14037,25 +11046,16 @@ class DomStringMap extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('DOMStringMap.__delete__') - @DocsEditable() void __delete__(String name) native; - @DomName('DOMStringMap.__setter__') - @DocsEditable() void __setter__(String name, String value) native; - @DomName('DOMStringMap.item') - @DocsEditable() - @Experimental() // untriaged String item(String name) 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('DOMTokenList') @Native("DOMTokenList") class DomTokenList extends Interceptor { // To suppress missing implicit constructor warnings. @@ -14063,45 +11063,22 @@ class DomTokenList extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('DOMTokenList.length') - @DocsEditable() final int length; - @DomName('DOMTokenList.value') - @DocsEditable() - @Experimental() // untriaged String value; - @DomName('DOMTokenList.add') - @DocsEditable() - @Experimental() // untriaged void add(String tokens) native; - @DomName('DOMTokenList.contains') - @DocsEditable() bool contains(String token) native; - @DomName('DOMTokenList.item') - @DocsEditable() String item(int index) native; - @DomName('DOMTokenList.remove') - @DocsEditable() - @Experimental() // untriaged void remove(String tokens) native; - @DomName('DOMTokenList.replace') - @DocsEditable() - @Experimental() // untriaged void replace(String token, String newToken) native; - @DomName('DOMTokenList.supports') - @DocsEditable() - @Experimental() // untriaged bool supports(String token) native; - @DomName('DOMTokenList.toggle') - @DocsEditable() bool toggle(String token, [bool force]) native; } // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file @@ -14313,7 +11290,6 @@ abstract class ElementList extends ListBase { * Unlike [getBoundingClientRect], the dimensions of this rectangle * will return the same numerical height if the element is hidden or not. */ - @Experimental() CssRect get contentEdge; /** @@ -14328,7 +11304,6 @@ abstract class ElementList extends ListBase { * is also a rectangle equalling the dimensions of clientHeight and * clientWidth. */ - @Experimental() CssRect get paddingEdge; /** @@ -14341,7 +11316,6 @@ abstract class ElementList extends ListBase { * will return the same numerical height if the element is hidden or not. This * can be used to retrieve jQuery's `outerHeight` value for an element. */ - @Experimental() CssRect get borderEdge; /** @@ -14354,72 +11328,43 @@ abstract class ElementList extends ListBase { * will return the same numerical height if the element is hidden or not. This * can be used to retrieve jQuery's `outerHeight` value for an element. */ - @Experimental() CssRect get marginEdge; /// Stream of `abort` events handled by this [Element]. - @DomName('Element.onabort') - @DocsEditable() ElementStream get onAbort; /// Stream of `beforecopy` events handled by this [Element]. - @DomName('Element.onbeforecopy') - @DocsEditable() ElementStream get onBeforeCopy; /// Stream of `beforecut` events handled by this [Element]. - @DomName('Element.onbeforecut') - @DocsEditable() ElementStream get onBeforeCut; /// Stream of `beforepaste` events handled by this [Element]. - @DomName('Element.onbeforepaste') - @DocsEditable() ElementStream get onBeforePaste; /// Stream of `blur` events handled by this [Element]. - @DomName('Element.onblur') - @DocsEditable() ElementStream get onBlur; - @DomName('Element.oncanplay') - @DocsEditable() - @Experimental() // untriaged ElementStream get onCanPlay; - @DomName('Element.oncanplaythrough') - @DocsEditable() - @Experimental() // untriaged ElementStream get onCanPlayThrough; /// Stream of `change` events handled by this [Element]. - @DomName('Element.onchange') - @DocsEditable() ElementStream get onChange; /// Stream of `click` events handled by this [Element]. - @DomName('Element.onclick') - @DocsEditable() ElementStream get onClick; /// Stream of `contextmenu` events handled by this [Element]. - @DomName('Element.oncontextmenu') - @DocsEditable() ElementStream get onContextMenu; /// Stream of `copy` events handled by this [Element]. - @DomName('Element.oncopy') - @DocsEditable() ElementStream get onCopy; /// Stream of `cut` events handled by this [Element]. - @DomName('Element.oncut') - @DocsEditable() ElementStream get onCut; /// Stream of `doubleclick` events handled by this [Element]. - @DomName('Element.ondblclick') - @DocsEditable() ElementStream get onDoubleClick; /** @@ -14439,8 +11384,6 @@ abstract class ElementList extends ListBase { * specification](https://html.spec.whatwg.org/multipage/interaction.html#dnd) * from WHATWG. */ - @DomName('Element.ondrag') - @DocsEditable() ElementStream get onDrag; /** @@ -14457,8 +11400,6 @@ abstract class ElementList extends ListBase { * specification](https://html.spec.whatwg.org/multipage/interaction.html#dnd) * from WHATWG. */ - @DomName('Element.ondragend') - @DocsEditable() ElementStream get onDragEnd; /** @@ -14475,8 +11416,6 @@ abstract class ElementList extends ListBase { * specification](https://html.spec.whatwg.org/multipage/interaction.html#dnd) * from WHATWG. */ - @DomName('Element.ondragenter') - @DocsEditable() ElementStream get onDragEnter; /** @@ -14493,8 +11432,6 @@ abstract class ElementList extends ListBase { * specification](https://html.spec.whatwg.org/multipage/interaction.html#dnd) * from WHATWG. */ - @DomName('Element.ondragleave') - @DocsEditable() ElementStream get onDragLeave; /** @@ -14511,8 +11448,6 @@ abstract class ElementList extends ListBase { * specification](https://html.spec.whatwg.org/multipage/interaction.html#dnd) * from WHATWG. */ - @DomName('Element.ondragover') - @DocsEditable() ElementStream get onDragOver; /** @@ -14529,8 +11464,6 @@ abstract class ElementList extends ListBase { * specification](https://html.spec.whatwg.org/multipage/interaction.html#dnd) * from WHATWG. */ - @DomName('Element.ondragstart') - @DocsEditable() ElementStream get onDragStart; /** @@ -14547,285 +11480,142 @@ abstract class ElementList extends ListBase { * specification](https://html.spec.whatwg.org/multipage/interaction.html#dnd) * from WHATWG. */ - @DomName('Element.ondrop') - @DocsEditable() ElementStream get onDrop; - @DomName('Element.ondurationchange') - @DocsEditable() - @Experimental() // untriaged ElementStream get onDurationChange; - @DomName('Element.onemptied') - @DocsEditable() - @Experimental() // untriaged ElementStream get onEmptied; - @DomName('Element.onended') - @DocsEditable() - @Experimental() // untriaged ElementStream get onEnded; /// Stream of `error` events handled by this [Element]. - @DomName('Element.onerror') - @DocsEditable() ElementStream get onError; /// Stream of `focus` events handled by this [Element]. - @DomName('Element.onfocus') - @DocsEditable() ElementStream get onFocus; /// Stream of `input` events handled by this [Element]. - @DomName('Element.oninput') - @DocsEditable() ElementStream get onInput; /// Stream of `invalid` events handled by this [Element]. - @DomName('Element.oninvalid') - @DocsEditable() ElementStream get onInvalid; /// Stream of `keydown` events handled by this [Element]. - @DomName('Element.onkeydown') - @DocsEditable() ElementStream get onKeyDown; /// Stream of `keypress` events handled by this [Element]. - @DomName('Element.onkeypress') - @DocsEditable() ElementStream get onKeyPress; /// Stream of `keyup` events handled by this [Element]. - @DomName('Element.onkeyup') - @DocsEditable() ElementStream get onKeyUp; /// Stream of `load` events handled by this [Element]. - @DomName('Element.onload') - @DocsEditable() ElementStream get onLoad; - @DomName('Element.onloadeddata') - @DocsEditable() - @Experimental() // untriaged ElementStream get onLoadedData; - @DomName('Element.onloadedmetadata') - @DocsEditable() - @Experimental() // untriaged ElementStream get onLoadedMetadata; /// Stream of `mousedown` events handled by this [Element]. - @DomName('Element.onmousedown') - @DocsEditable() ElementStream get onMouseDown; /// Stream of `mouseenter` events handled by this [Element]. - @DomName('Element.onmouseenter') - @DocsEditable() - @Experimental() // untriaged ElementStream get onMouseEnter; /// Stream of `mouseleave` events handled by this [Element]. - @DomName('Element.onmouseleave') - @DocsEditable() - @Experimental() // untriaged ElementStream get onMouseLeave; /// Stream of `mousemove` events handled by this [Element]. - @DomName('Element.onmousemove') - @DocsEditable() ElementStream get onMouseMove; /// Stream of `mouseout` events handled by this [Element]. - @DomName('Element.onmouseout') - @DocsEditable() ElementStream get onMouseOut; /// Stream of `mouseover` events handled by this [Element]. - @DomName('Element.onmouseover') - @DocsEditable() ElementStream get onMouseOver; /// Stream of `mouseup` events handled by this [Element]. - @DomName('Element.onmouseup') - @DocsEditable() ElementStream get onMouseUp; /// Stream of `mousewheel` events handled by this [Element]. - @DomName('Element.onmousewheel') - @DocsEditable() - // http://www.w3.org/TR/DOM-Level-3-Events/#events-wheelevents - @Experimental() // non-standard ElementStream get onMouseWheel; /// Stream of `paste` events handled by this [Element]. - @DomName('Element.onpaste') - @DocsEditable() ElementStream get onPaste; - @DomName('Element.onpause') - @DocsEditable() - @Experimental() // untriaged ElementStream get onPause; - @DomName('Element.onplay') - @DocsEditable() - @Experimental() // untriaged ElementStream get onPlay; - @DomName('Element.onplaying') - @DocsEditable() - @Experimental() // untriaged ElementStream get onPlaying; - @DomName('Element.onratechange') - @DocsEditable() - @Experimental() // untriaged ElementStream get onRateChange; /// Stream of `reset` events handled by this [Element]. - @DomName('Element.onreset') - @DocsEditable() ElementStream get onReset; - @DomName('Element.onresize') - @DocsEditable() - @Experimental() // untriaged ElementStream get onResize; /// Stream of `scroll` events handled by this [Element]. - @DomName('Element.onscroll') - @DocsEditable() ElementStream get onScroll; /// Stream of `search` events handled by this [Element]. - @DomName('Element.onsearch') - @DocsEditable() - // http://www.w3.org/TR/html-markup/input.search.html - @Experimental() ElementStream get onSearch; - @DomName('Element.onseeked') - @DocsEditable() - @Experimental() // untriaged ElementStream get onSeeked; - @DomName('Element.onseeking') - @DocsEditable() - @Experimental() // untriaged ElementStream get onSeeking; /// Stream of `select` events handled by this [Element]. - @DomName('Element.onselect') - @DocsEditable() ElementStream get onSelect; /// Stream of `selectstart` events handled by this [Element]. - @DomName('Element.onselectstart') - @DocsEditable() - @Experimental() // nonstandard ElementStream get onSelectStart; - @DomName('Element.onstalled') - @DocsEditable() - @Experimental() // untriaged ElementStream get onStalled; /// Stream of `submit` events handled by this [Element]. - @DomName('Element.onsubmit') - @DocsEditable() ElementStream get onSubmit; - @DomName('Element.onsuspend') - @DocsEditable() - @Experimental() // untriaged ElementStream get onSuspend; - @DomName('Element.ontimeupdate') - @DocsEditable() - @Experimental() // untriaged ElementStream get onTimeUpdate; /// Stream of `touchcancel` events handled by this [Element]. - @DomName('Element.ontouchcancel') - @DocsEditable() - // http://www.w3.org/TR/touch-events/, http://www.chromestatus.com/features - @Experimental() ElementStream get onTouchCancel; /// Stream of `touchend` events handled by this [Element]. - @DomName('Element.ontouchend') - @DocsEditable() - // http://www.w3.org/TR/touch-events/, http://www.chromestatus.com/features - @Experimental() ElementStream get onTouchEnd; /// Stream of `touchenter` events handled by this [Element]. - @DomName('Element.ontouchenter') - @DocsEditable() - // http://www.w3.org/TR/touch-events/, http://www.chromestatus.com/features - @Experimental() ElementStream get onTouchEnter; /// Stream of `touchleave` events handled by this [Element]. - @DomName('Element.ontouchleave') - @DocsEditable() - // http://www.w3.org/TR/touch-events/, http://www.chromestatus.com/features - @Experimental() ElementStream get onTouchLeave; /// Stream of `touchmove` events handled by this [Element]. - @DomName('Element.ontouchmove') - @DocsEditable() - // http://www.w3.org/TR/touch-events/, http://www.chromestatus.com/features - @Experimental() ElementStream get onTouchMove; /// Stream of `touchstart` events handled by this [Element]. - @DomName('Element.ontouchstart') - @DocsEditable() - // http://www.w3.org/TR/touch-events/, http://www.chromestatus.com/features - @Experimental() ElementStream get onTouchStart; /// Stream of `transitionend` events handled by this [Element]. - @DomName('Element.ontransitionend') - @DocsEditable() @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.FIREFOX) @SupportedBrowser(SupportedBrowser.IE, '10') @SupportedBrowser(SupportedBrowser.SAFARI) ElementStream get onTransitionEnd; - @DomName('Element.onvolumechange') - @DocsEditable() - @Experimental() // untriaged ElementStream get onVolumeChange; - @DomName('Element.onwaiting') - @DocsEditable() - @Experimental() // untriaged ElementStream get onWaiting; /// Stream of `fullscreenchange` events handled by this [Element]. - @DomName('Element.onwebkitfullscreenchange') - @DocsEditable() - // https://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html - @Experimental() ElementStream get onFullscreenChange; /// Stream of `fullscreenerror` events handled by this [Element]. - @DomName('Element.onwebkitfullscreenerror') - @DocsEditable() - // https://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html - @Experimental() ElementStream get onFullscreenError; - @DomName('Element.onwheel') - @DocsEditable() - @Experimental() // untriaged ElementStream get onWheel; } @@ -14892,78 +11682,50 @@ class _FrozenElementList extends ListBase List get rawList => _nodeList; /// Stream of `abort` events handled by this [Element]. - @DomName('Element.onabort') - @DocsEditable() ElementStream get onAbort => Element.abortEvent._forElementList(this); /// Stream of `beforecopy` events handled by this [Element]. - @DomName('Element.onbeforecopy') - @DocsEditable() ElementStream get onBeforeCopy => Element.beforeCopyEvent._forElementList(this); /// Stream of `beforecut` events handled by this [Element]. - @DomName('Element.onbeforecut') - @DocsEditable() ElementStream get onBeforeCut => Element.beforeCutEvent._forElementList(this); /// Stream of `beforepaste` events handled by this [Element]. - @DomName('Element.onbeforepaste') - @DocsEditable() ElementStream get onBeforePaste => Element.beforePasteEvent._forElementList(this); /// Stream of `blur` events handled by this [Element]. - @DomName('Element.onblur') - @DocsEditable() ElementStream get onBlur => Element.blurEvent._forElementList(this); - @DomName('Element.oncanplay') - @DocsEditable() - @Experimental() // untriaged ElementStream get onCanPlay => Element.canPlayEvent._forElementList(this); - @DomName('Element.oncanplaythrough') - @DocsEditable() - @Experimental() // untriaged ElementStream get onCanPlayThrough => Element.canPlayThroughEvent._forElementList(this); /// Stream of `change` events handled by this [Element]. - @DomName('Element.onchange') - @DocsEditable() ElementStream get onChange => Element.changeEvent._forElementList(this); /// Stream of `click` events handled by this [Element]. - @DomName('Element.onclick') - @DocsEditable() ElementStream get onClick => Element.clickEvent._forElementList(this); /// Stream of `contextmenu` events handled by this [Element]. - @DomName('Element.oncontextmenu') - @DocsEditable() ElementStream get onContextMenu => Element.contextMenuEvent._forElementList(this); /// Stream of `copy` events handled by this [Element]. - @DomName('Element.oncopy') - @DocsEditable() ElementStream get onCopy => Element.copyEvent._forElementList(this); /// Stream of `cut` events handled by this [Element]. - @DomName('Element.oncut') - @DocsEditable() ElementStream get onCut => Element.cutEvent._forElementList(this); /// Stream of `doubleclick` events handled by this [Element]. - @DomName('Element.ondblclick') - @DocsEditable() ElementStream get onDoubleClick => Element.doubleClickEvent._forElementList(this); @@ -14984,8 +11746,6 @@ class _FrozenElementList extends ListBase * specification](https://html.spec.whatwg.org/multipage/interaction.html#dnd) * from WHATWG. */ - @DomName('Element.ondrag') - @DocsEditable() ElementStream get onDrag => Element.dragEvent._forElementList(this); @@ -15003,8 +11763,6 @@ class _FrozenElementList extends ListBase * specification](https://html.spec.whatwg.org/multipage/interaction.html#dnd) * from WHATWG. */ - @DomName('Element.ondragend') - @DocsEditable() ElementStream get onDragEnd => Element.dragEndEvent._forElementList(this); @@ -15022,8 +11780,6 @@ class _FrozenElementList extends ListBase * specification](https://html.spec.whatwg.org/multipage/interaction.html#dnd) * from WHATWG. */ - @DomName('Element.ondragenter') - @DocsEditable() ElementStream get onDragEnter => Element.dragEnterEvent._forElementList(this); @@ -15041,8 +11797,6 @@ class _FrozenElementList extends ListBase * specification](https://html.spec.whatwg.org/multipage/interaction.html#dnd) * from WHATWG. */ - @DomName('Element.ondragleave') - @DocsEditable() ElementStream get onDragLeave => Element.dragLeaveEvent._forElementList(this); @@ -15060,8 +11814,6 @@ class _FrozenElementList extends ListBase * specification](https://html.spec.whatwg.org/multipage/interaction.html#dnd) * from WHATWG. */ - @DomName('Element.ondragover') - @DocsEditable() ElementStream get onDragOver => Element.dragOverEvent._forElementList(this); @@ -15079,8 +11831,6 @@ class _FrozenElementList extends ListBase * specification](https://html.spec.whatwg.org/multipage/interaction.html#dnd) * from WHATWG. */ - @DomName('Element.ondragstart') - @DocsEditable() ElementStream get onDragStart => Element.dragStartEvent._forElementList(this); @@ -15098,289 +11848,163 @@ class _FrozenElementList extends ListBase * specification](https://html.spec.whatwg.org/multipage/interaction.html#dnd) * from WHATWG. */ - @DomName('Element.ondrop') - @DocsEditable() ElementStream get onDrop => Element.dropEvent._forElementList(this); - @DomName('Element.ondurationchange') - @DocsEditable() - @Experimental() // untriaged ElementStream get onDurationChange => Element.durationChangeEvent._forElementList(this); - @DomName('Element.onemptied') - @DocsEditable() - @Experimental() // untriaged ElementStream get onEmptied => Element.emptiedEvent._forElementList(this); - @DomName('Element.onended') - @DocsEditable() - @Experimental() // untriaged ElementStream get onEnded => Element.endedEvent._forElementList(this); /// Stream of `error` events handled by this [Element]. - @DomName('Element.onerror') - @DocsEditable() ElementStream get onError => Element.errorEvent._forElementList(this); /// Stream of `focus` events handled by this [Element]. - @DomName('Element.onfocus') - @DocsEditable() ElementStream get onFocus => Element.focusEvent._forElementList(this); /// Stream of `input` events handled by this [Element]. - @DomName('Element.oninput') - @DocsEditable() ElementStream get onInput => Element.inputEvent._forElementList(this); /// Stream of `invalid` events handled by this [Element]. - @DomName('Element.oninvalid') - @DocsEditable() ElementStream get onInvalid => Element.invalidEvent._forElementList(this); /// Stream of `keydown` events handled by this [Element]. - @DomName('Element.onkeydown') - @DocsEditable() ElementStream get onKeyDown => Element.keyDownEvent._forElementList(this); /// Stream of `keypress` events handled by this [Element]. - @DomName('Element.onkeypress') - @DocsEditable() ElementStream get onKeyPress => Element.keyPressEvent._forElementList(this); /// Stream of `keyup` events handled by this [Element]. - @DomName('Element.onkeyup') - @DocsEditable() ElementStream get onKeyUp => Element.keyUpEvent._forElementList(this); /// Stream of `load` events handled by this [Element]. - @DomName('Element.onload') - @DocsEditable() ElementStream get onLoad => Element.loadEvent._forElementList(this); - @DomName('Element.onloadeddata') - @DocsEditable() - @Experimental() // untriaged ElementStream get onLoadedData => Element.loadedDataEvent._forElementList(this); - @DomName('Element.onloadedmetadata') - @DocsEditable() - @Experimental() // untriaged ElementStream get onLoadedMetadata => Element.loadedMetadataEvent._forElementList(this); /// Stream of `mousedown` events handled by this [Element]. - @DomName('Element.onmousedown') - @DocsEditable() ElementStream get onMouseDown => Element.mouseDownEvent._forElementList(this); /// Stream of `mouseenter` events handled by this [Element]. - @DomName('Element.onmouseenter') - @DocsEditable() - @Experimental() // untriaged ElementStream get onMouseEnter => Element.mouseEnterEvent._forElementList(this); /// Stream of `mouseleave` events handled by this [Element]. - @DomName('Element.onmouseleave') - @DocsEditable() - @Experimental() // untriaged ElementStream get onMouseLeave => Element.mouseLeaveEvent._forElementList(this); /// Stream of `mousemove` events handled by this [Element]. - @DomName('Element.onmousemove') - @DocsEditable() ElementStream get onMouseMove => Element.mouseMoveEvent._forElementList(this); /// Stream of `mouseout` events handled by this [Element]. - @DomName('Element.onmouseout') - @DocsEditable() ElementStream get onMouseOut => Element.mouseOutEvent._forElementList(this); /// Stream of `mouseover` events handled by this [Element]. - @DomName('Element.onmouseover') - @DocsEditable() ElementStream get onMouseOver => Element.mouseOverEvent._forElementList(this); /// Stream of `mouseup` events handled by this [Element]. - @DomName('Element.onmouseup') - @DocsEditable() ElementStream get onMouseUp => Element.mouseUpEvent._forElementList(this); /// Stream of `mousewheel` events handled by this [Element]. - @DomName('Element.onmousewheel') - @DocsEditable() - // http://www.w3.org/TR/DOM-Level-3-Events/#events-wheelevents - @Experimental() // non-standard ElementStream get onMouseWheel => Element.mouseWheelEvent._forElementList(this); /// Stream of `paste` events handled by this [Element]. - @DomName('Element.onpaste') - @DocsEditable() ElementStream get onPaste => Element.pasteEvent._forElementList(this); - @DomName('Element.onpause') - @DocsEditable() - @Experimental() // untriaged ElementStream get onPause => Element.pauseEvent._forElementList(this); - @DomName('Element.onplay') - @DocsEditable() - @Experimental() // untriaged ElementStream get onPlay => Element.playEvent._forElementList(this); - @DomName('Element.onplaying') - @DocsEditable() - @Experimental() // untriaged ElementStream get onPlaying => Element.playingEvent._forElementList(this); - @DomName('Element.onratechange') - @DocsEditable() - @Experimental() // untriaged ElementStream get onRateChange => Element.rateChangeEvent._forElementList(this); /// Stream of `reset` events handled by this [Element]. - @DomName('Element.onreset') - @DocsEditable() ElementStream get onReset => Element.resetEvent._forElementList(this); - @DomName('Element.onresize') - @DocsEditable() - @Experimental() // untriaged ElementStream get onResize => Element.resizeEvent._forElementList(this); /// Stream of `scroll` events handled by this [Element]. - @DomName('Element.onscroll') - @DocsEditable() ElementStream get onScroll => Element.scrollEvent._forElementList(this); /// Stream of `search` events handled by this [Element]. - @DomName('Element.onsearch') - @DocsEditable() - // http://www.w3.org/TR/html-markup/input.search.html - @Experimental() ElementStream get onSearch => Element.searchEvent._forElementList(this); - @DomName('Element.onseeked') - @DocsEditable() - @Experimental() // untriaged ElementStream get onSeeked => Element.seekedEvent._forElementList(this); - @DomName('Element.onseeking') - @DocsEditable() - @Experimental() // untriaged ElementStream get onSeeking => Element.seekingEvent._forElementList(this); /// Stream of `select` events handled by this [Element]. - @DomName('Element.onselect') - @DocsEditable() ElementStream get onSelect => Element.selectEvent._forElementList(this); /// Stream of `selectstart` events handled by this [Element]. - @DomName('Element.onselectstart') - @DocsEditable() - @Experimental() // nonstandard ElementStream get onSelectStart => Element.selectStartEvent._forElementList(this); - @DomName('Element.onstalled') - @DocsEditable() - @Experimental() // untriaged ElementStream get onStalled => Element.stalledEvent._forElementList(this); /// Stream of `submit` events handled by this [Element]. - @DomName('Element.onsubmit') - @DocsEditable() ElementStream get onSubmit => Element.submitEvent._forElementList(this); - @DomName('Element.onsuspend') - @DocsEditable() - @Experimental() // untriaged ElementStream get onSuspend => Element.suspendEvent._forElementList(this); - @DomName('Element.ontimeupdate') - @DocsEditable() - @Experimental() // untriaged ElementStream get onTimeUpdate => Element.timeUpdateEvent._forElementList(this); /// Stream of `touchcancel` events handled by this [Element]. - @DomName('Element.ontouchcancel') - @DocsEditable() - // http://www.w3.org/TR/touch-events/, http://www.chromestatus.com/features - @Experimental() ElementStream get onTouchCancel => Element.touchCancelEvent._forElementList(this); /// Stream of `touchend` events handled by this [Element]. - @DomName('Element.ontouchend') - @DocsEditable() - // http://www.w3.org/TR/touch-events/, http://www.chromestatus.com/features - @Experimental() ElementStream get onTouchEnd => Element.touchEndEvent._forElementList(this); /// Stream of `touchenter` events handled by this [Element]. - @DomName('Element.ontouchenter') - @DocsEditable() - // http://www.w3.org/TR/touch-events/, http://www.chromestatus.com/features - @Experimental() ElementStream get onTouchEnter => Element.touchEnterEvent._forElementList(this); /// Stream of `touchleave` events handled by this [Element]. - @DomName('Element.ontouchleave') - @DocsEditable() - // http://www.w3.org/TR/touch-events/, http://www.chromestatus.com/features - @Experimental() ElementStream get onTouchLeave => Element.touchLeaveEvent._forElementList(this); /// Stream of `touchmove` events handled by this [Element]. - @DomName('Element.ontouchmove') - @DocsEditable() - // http://www.w3.org/TR/touch-events/, http://www.chromestatus.com/features - @Experimental() ElementStream get onTouchMove => Element.touchMoveEvent._forElementList(this); /// Stream of `touchstart` events handled by this [Element]. - @DomName('Element.ontouchstart') - @DocsEditable() - // http://www.w3.org/TR/touch-events/, http://www.chromestatus.com/features - @Experimental() ElementStream get onTouchStart => Element.touchStartEvent._forElementList(this); /// Stream of `transitionend` events handled by this [Element]. - @DomName('Element.ontransitionend') - @DocsEditable() @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.FIREFOX) @SupportedBrowser(SupportedBrowser.IE, '10') @@ -15388,46 +12012,27 @@ class _FrozenElementList extends ListBase ElementStream get onTransitionEnd => Element.transitionEndEvent._forElementList(this); - @DomName('Element.onvolumechange') - @DocsEditable() - @Experimental() // untriaged ElementStream get onVolumeChange => Element.volumeChangeEvent._forElementList(this); - @DomName('Element.onwaiting') - @DocsEditable() - @Experimental() // untriaged ElementStream get onWaiting => Element.waitingEvent._forElementList(this); /// Stream of `fullscreenchange` events handled by this [Element]. - @DomName('Element.onwebkitfullscreenchange') - @DocsEditable() - // https://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html - @Experimental() ElementStream get onFullscreenChange => Element.fullscreenChangeEvent._forElementList(this); /// Stream of `fullscreenerror` events handled by this [Element]. - @DomName('Element.onwebkitfullscreenerror') - @DocsEditable() - // https://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html - @Experimental() ElementStream get onFullscreenError => Element.fullscreenErrorEvent._forElementList(this); - @DomName('Element.onwheel') - @DocsEditable() - @Experimental() // untriaged ElementStream get onWheel => Element.wheelEvent._forElementList(this); } -@DocsEditable() /** * An abstract class, which all HTML elements extend. */ -@DomName('Element') @Native("Element") class Element extends Node implements @@ -15707,7 +12312,6 @@ class Element extends Node * For details about CSS selector syntax, see the * [CSS selector specification](http://www.w3.org/TR/css3-selectors/). */ - @DomName('Element.querySelectorAll') ElementList querySelectorAll(String selectors) => new _FrozenElementList._wrap(_querySelectorAll(selectors)); @@ -15846,7 +12450,6 @@ class Element extends Node * [Custom Elements](http://w3c.github.io/webcomponents/spec/custom/#dfn-attached-callback) * draft specification. */ - @Experimental() void attached() { // For the deprecation period, call the old callback. enteredView(); @@ -15860,19 +12463,15 @@ class Element extends Node * [Custom Elements](http://w3c.github.io/webcomponents/spec/custom/#dfn-detached-callback) * draft specification. */ - @Experimental() void detached() { // For the deprecation period, call the old callback. leftView(); } /** *Deprecated*: override [attached] instead. */ - @Experimental() @deprecated void enteredView() {} - @DomName('Element.getClientRects') - @DocsEditable() List getClientRects() { var value = _getClientRects(); @@ -15888,7 +12487,6 @@ class Element extends Node } /** *Deprecated*: override [detached] instead. */ - @Experimental() @deprecated void leftView() {} @@ -15914,7 +12512,6 @@ class Element extends Node * for the transition, or a Map with fields corresponding to those * of the [Timing] object. **/ - @Experimental() @SupportedBrowser(SupportedBrowser.CHROME, '36') Animation animate(Iterable> frames, [timing]) { if (frames is! Iterable || !(frames.every((x) => x is Map))) { @@ -15934,17 +12531,13 @@ class Element extends Node : _animate(convertedFrames, convertedTiming); } - @DomName('Element.animate') @JSName('animate') - @Experimental() // untriaged Animation _animate(Object effect, [timing]) native; /** * Called by the DOM whenever an attribute on this has been changed. */ void attributeChanged(String name, String oldValue, String newValue) {} - @DomName('Element.localName') - @DocsEditable() @Returns('String') // Non-null for Elements. String get localName => JS('String', '#', _localName); @@ -15959,7 +12552,6 @@ class Element extends Node * * [Node.namespaceURI](http://www.w3.org/TR/DOM-Level-3-Core/core.html#ID-NodeNSname) * from W3C. */ - @DomName('Element.namespaceUri') String get namespaceUri => _namespaceUri; /** @@ -16011,7 +12603,6 @@ class Element extends Node * * See [EventStreamProvider] for usage information. */ - @DomName('Element.mouseWheelEvent') static const EventStreamProvider mouseWheelEvent = const _CustomEventStreamProvider( Element._determineMouseWheelEventType); @@ -16024,7 +12615,6 @@ class Element extends Node * * See [EventStreamProvider] for usage information. */ - @DomName('Element.transitionEndEvent') static const EventStreamProvider transitionEndEvent = const _CustomEventStreamProvider( Element._determineTransitionEventType); @@ -16142,7 +12732,6 @@ class Element extends Node /** * Checks if this element matches the CSS selectors. */ - @Experimental() bool matches(String selectors) { if (JS('bool', '!!#.matches', this)) { return JS('bool', '#.matches(#)', this, selectors); @@ -16160,7 +12749,6 @@ class Element extends Node } /** Checks if this element or any of its parents match the CSS selectors. */ - @Experimental() bool matchesWithAncestors(String selectors) { var elem = this; do { @@ -16179,9 +12767,7 @@ class Element extends Node * from HTML5Rocks. * * [Shadow DOM specification](http://www.w3.org/TR/shadow-dom/) from W3C. */ - @DomName('Element.createShadowRoot') @SupportedBrowser(SupportedBrowser.CHROME, '25') - @Experimental() ShadowRoot createShadowRoot() { return JS( 'ShadowRoot', @@ -16201,9 +12787,7 @@ class Element extends Node * * [Shadow DOM specification](http://www.w3.org/TR/shadow-dom/) * from W3C. */ - @DomName('Element.shadowRoot') @SupportedBrowser(SupportedBrowser.CHROME, '25') - @Experimental() ShadowRoot get shadowRoot => JS('ShadowRoot|Null', '#.shadowRoot || #.webkitShadowRoot', this, this); @@ -16220,7 +12804,6 @@ class Element extends Node * animation frame is discouraged. See also: * [Browser Reflow](https://developers.google.com/speed/articles/reflow) */ - @Experimental() CssRect get contentEdge => new _ContentCssRect(this); /** @@ -16240,7 +12823,6 @@ class Element extends Node * animation frame is discouraged. See also: * [Browser Reflow](https://developers.google.com/speed/articles/reflow) */ - @Experimental() CssRect get paddingEdge => new _PaddingCssRect(this); /** @@ -16259,7 +12841,6 @@ class Element extends Node * animation frame is discouraged. See also: * [Browser Reflow](https://developers.google.com/speed/articles/reflow) */ - @Experimental() CssRect get borderEdge => new _BorderCssRect(this); /** @@ -16278,7 +12859,6 @@ class Element extends Node * animation frame is discouraged. See also: * [Browser Reflow](https://developers.google.com/speed/articles/reflow) */ - @Experimental() CssRect get marginEdge => new _MarginCssRect(this); /** @@ -16288,7 +12868,6 @@ class Element extends Node * This method is the Dart equivalent to jQuery's * [offset](http://api.jquery.com/offset/) method. */ - @Experimental() Point get documentOffset => offsetTo(document.documentElement); /** @@ -16302,7 +12881,6 @@ class Element extends Node * element is _not_ an offset parent or transitive offset parent to this * element, an [ArgumentError] is thrown. */ - @Experimental() Point offsetTo(Element parent) { return Element._offsetToHelper(this, parent); } @@ -16566,52 +13144,29 @@ class Element extends Node return result; } - @DomName('Element.offsetParent') - @DocsEditable() final Element offsetParent; - @DomName('Element.offsetHeight') - @DocsEditable() int get offsetHeight => JS('num', '#.offsetHeight', this).round(); - @DomName('Element.offsetLeft') - @DocsEditable() int get offsetLeft => JS('num', '#.offsetLeft', this).round(); - @DomName('Element.offsetTop') - @DocsEditable() int get offsetTop => JS('num', '#.offsetTop', this).round(); - @DomName('Element.offsetWidth') - @DocsEditable() int get offsetWidth => JS('num', '#.offsetWidth', this).round(); - @DomName('Element.scrollHeight') - @DocsEditable() int get scrollHeight => JS('num', '#.scrollHeight', this).round(); - - @DomName('Element.scrollLeft') - @DocsEditable() int get scrollLeft => JS('num', '#.scrollLeft', this).round(); - @DomName('Element.scrollLeft') - @DocsEditable() set scrollLeft(int value) { JS("void", "#.scrollLeft = #", this, value.round()); } - @DomName('Element.scrollTop') - @DocsEditable() int get scrollTop => JS('num', '#.scrollTop', this).round(); - @DomName('Element.scrollTop') - @DocsEditable() set scrollTop(int value) { JS("void", "#.scrollTop = #", this, value.round()); } - @DomName('Element.scrollWidth') - @DocsEditable() int get scrollWidth => JS('num', '#.scrollWidth', this).round(); // To suppress missing implicit constructor warnings. @@ -16625,8 +13180,6 @@ class Element extends Node * * See [EventStreamProvider] for usage information. */ - @DomName('Element.abortEvent') - @DocsEditable() static const EventStreamProvider abortEvent = const EventStreamProvider('abort'); @@ -16636,8 +13189,6 @@ class Element extends Node * * See [EventStreamProvider] for usage information. */ - @DomName('Element.beforecopyEvent') - @DocsEditable() static const EventStreamProvider beforeCopyEvent = const EventStreamProvider('beforecopy'); @@ -16647,8 +13198,6 @@ class Element extends Node * * See [EventStreamProvider] for usage information. */ - @DomName('Element.beforecutEvent') - @DocsEditable() static const EventStreamProvider beforeCutEvent = const EventStreamProvider('beforecut'); @@ -16658,8 +13207,6 @@ class Element extends Node * * See [EventStreamProvider] for usage information. */ - @DomName('Element.beforepasteEvent') - @DocsEditable() static const EventStreamProvider beforePasteEvent = const EventStreamProvider('beforepaste'); @@ -16669,20 +13216,12 @@ class Element extends Node * * See [EventStreamProvider] for usage information. */ - @DomName('Element.blurEvent') - @DocsEditable() static const EventStreamProvider blurEvent = const EventStreamProvider('blur'); - @DomName('Element.canplayEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider canPlayEvent = const EventStreamProvider('canplay'); - @DomName('Element.canplaythroughEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider canPlayThroughEvent = const EventStreamProvider('canplaythrough'); @@ -16692,8 +13231,6 @@ class Element extends Node * * See [EventStreamProvider] for usage information. */ - @DomName('Element.changeEvent') - @DocsEditable() static const EventStreamProvider changeEvent = const EventStreamProvider('change'); @@ -16703,8 +13240,6 @@ class Element extends Node * * See [EventStreamProvider] for usage information. */ - @DomName('Element.clickEvent') - @DocsEditable() static const EventStreamProvider clickEvent = const EventStreamProvider('click'); @@ -16714,8 +13249,6 @@ class Element extends Node * * See [EventStreamProvider] for usage information. */ - @DomName('Element.contextmenuEvent') - @DocsEditable() static const EventStreamProvider contextMenuEvent = const EventStreamProvider('contextmenu'); @@ -16725,8 +13258,6 @@ class Element extends Node * * See [EventStreamProvider] for usage information. */ - @DomName('Element.copyEvent') - @DocsEditable() static const EventStreamProvider copyEvent = const EventStreamProvider('copy'); @@ -16736,8 +13267,6 @@ class Element extends Node * * See [EventStreamProvider] for usage information. */ - @DomName('Element.cutEvent') - @DocsEditable() static const EventStreamProvider cutEvent = const EventStreamProvider('cut'); @@ -16747,8 +13276,6 @@ class Element extends Node * * See [EventStreamProvider] for usage information. */ - @DomName('Element.dblclickEvent') - @DocsEditable() static const EventStreamProvider doubleClickEvent = const EventStreamProvider('dblclick'); @@ -16769,8 +13296,6 @@ class Element extends Node * specification](https://html.spec.whatwg.org/multipage/interaction.html#dnd) * from WHATWG. */ - @DomName('Element.dragEvent') - @DocsEditable() static const EventStreamProvider dragEvent = const EventStreamProvider('drag'); @@ -16788,8 +13313,6 @@ class Element extends Node * specification](https://html.spec.whatwg.org/multipage/interaction.html#dnd) * from WHATWG. */ - @DomName('Element.dragendEvent') - @DocsEditable() static const EventStreamProvider dragEndEvent = const EventStreamProvider('dragend'); @@ -16807,8 +13330,6 @@ class Element extends Node * specification](https://html.spec.whatwg.org/multipage/interaction.html#dnd) * from WHATWG. */ - @DomName('Element.dragenterEvent') - @DocsEditable() static const EventStreamProvider dragEnterEvent = const EventStreamProvider('dragenter'); @@ -16826,8 +13347,6 @@ class Element extends Node * specification](https://html.spec.whatwg.org/multipage/interaction.html#dnd) * from WHATWG. */ - @DomName('Element.dragleaveEvent') - @DocsEditable() static const EventStreamProvider dragLeaveEvent = const EventStreamProvider('dragleave'); @@ -16845,8 +13364,6 @@ class Element extends Node * specification](https://html.spec.whatwg.org/multipage/interaction.html#dnd) * from WHATWG. */ - @DomName('Element.dragoverEvent') - @DocsEditable() static const EventStreamProvider dragOverEvent = const EventStreamProvider('dragover'); @@ -16863,8 +13380,6 @@ class Element extends Node * specification](https://html.spec.whatwg.org/multipage/interaction.html#dnd) * from WHATWG. */ - @DomName('Element.dragstartEvent') - @DocsEditable() static const EventStreamProvider dragStartEvent = const EventStreamProvider('dragstart'); @@ -16882,26 +13397,15 @@ class Element extends Node * specification](https://html.spec.whatwg.org/multipage/interaction.html#dnd) * from WHATWG. */ - @DomName('Element.dropEvent') - @DocsEditable() static const EventStreamProvider dropEvent = const EventStreamProvider('drop'); - @DomName('Element.durationchangeEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider durationChangeEvent = const EventStreamProvider('durationchange'); - @DomName('Element.emptiedEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider emptiedEvent = const EventStreamProvider('emptied'); - @DomName('Element.endedEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider endedEvent = const EventStreamProvider('ended'); @@ -16911,8 +13415,6 @@ class Element extends Node * * See [EventStreamProvider] for usage information. */ - @DomName('Element.errorEvent') - @DocsEditable() static const EventStreamProvider errorEvent = const EventStreamProvider('error'); @@ -16922,8 +13424,6 @@ class Element extends Node * * See [EventStreamProvider] for usage information. */ - @DomName('Element.focusEvent') - @DocsEditable() static const EventStreamProvider focusEvent = const EventStreamProvider('focus'); @@ -16933,8 +13433,6 @@ class Element extends Node * * See [EventStreamProvider] for usage information. */ - @DomName('Element.inputEvent') - @DocsEditable() static const EventStreamProvider inputEvent = const EventStreamProvider('input'); @@ -16944,8 +13442,6 @@ class Element extends Node * * See [EventStreamProvider] for usage information. */ - @DomName('Element.invalidEvent') - @DocsEditable() static const EventStreamProvider invalidEvent = const EventStreamProvider('invalid'); @@ -16955,8 +13451,6 @@ class Element extends Node * * See [EventStreamProvider] for usage information. */ - @DomName('Element.keydownEvent') - @DocsEditable() static const EventStreamProvider keyDownEvent = const EventStreamProvider('keydown'); @@ -16966,8 +13460,6 @@ class Element extends Node * * See [EventStreamProvider] for usage information. */ - @DomName('Element.keypressEvent') - @DocsEditable() static const EventStreamProvider keyPressEvent = const EventStreamProvider('keypress'); @@ -16977,8 +13469,6 @@ class Element extends Node * * See [EventStreamProvider] for usage information. */ - @DomName('Element.keyupEvent') - @DocsEditable() static const EventStreamProvider keyUpEvent = const EventStreamProvider('keyup'); @@ -16988,20 +13478,12 @@ class Element extends Node * * See [EventStreamProvider] for usage information. */ - @DomName('Element.loadEvent') - @DocsEditable() static const EventStreamProvider loadEvent = const EventStreamProvider('load'); - @DomName('Element.loadeddataEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider loadedDataEvent = const EventStreamProvider('loadeddata'); - @DomName('Element.loadedmetadataEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider loadedMetadataEvent = const EventStreamProvider('loadedmetadata'); @@ -17011,8 +13493,6 @@ class Element extends Node * * See [EventStreamProvider] for usage information. */ - @DomName('Element.mousedownEvent') - @DocsEditable() static const EventStreamProvider mouseDownEvent = const EventStreamProvider('mousedown'); @@ -17022,9 +13502,6 @@ class Element extends Node * * See [EventStreamProvider] for usage information. */ - @DomName('Element.mouseenterEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider mouseEnterEvent = const EventStreamProvider('mouseenter'); @@ -17034,9 +13511,6 @@ class Element extends Node * * See [EventStreamProvider] for usage information. */ - @DomName('Element.mouseleaveEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider mouseLeaveEvent = const EventStreamProvider('mouseleave'); @@ -17046,8 +13520,6 @@ class Element extends Node * * See [EventStreamProvider] for usage information. */ - @DomName('Element.mousemoveEvent') - @DocsEditable() static const EventStreamProvider mouseMoveEvent = const EventStreamProvider('mousemove'); @@ -17057,8 +13529,6 @@ class Element extends Node * * See [EventStreamProvider] for usage information. */ - @DomName('Element.mouseoutEvent') - @DocsEditable() static const EventStreamProvider mouseOutEvent = const EventStreamProvider('mouseout'); @@ -17068,8 +13538,6 @@ class Element extends Node * * See [EventStreamProvider] for usage information. */ - @DomName('Element.mouseoverEvent') - @DocsEditable() static const EventStreamProvider mouseOverEvent = const EventStreamProvider('mouseover'); @@ -17079,8 +13547,6 @@ class Element extends Node * * See [EventStreamProvider] for usage information. */ - @DomName('Element.mouseupEvent') - @DocsEditable() static const EventStreamProvider mouseUpEvent = const EventStreamProvider('mouseup'); @@ -17090,32 +13556,18 @@ class Element extends Node * * See [EventStreamProvider] for usage information. */ - @DomName('Element.pasteEvent') - @DocsEditable() static const EventStreamProvider pasteEvent = const EventStreamProvider('paste'); - @DomName('Element.pauseEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider pauseEvent = const EventStreamProvider('pause'); - @DomName('Element.playEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider playEvent = const EventStreamProvider('play'); - @DomName('Element.playingEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider playingEvent = const EventStreamProvider('playing'); - @DomName('Element.ratechangeEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider rateChangeEvent = const EventStreamProvider('ratechange'); @@ -17125,14 +13577,9 @@ class Element extends Node * * See [EventStreamProvider] for usage information. */ - @DomName('Element.resetEvent') - @DocsEditable() static const EventStreamProvider resetEvent = const EventStreamProvider('reset'); - @DomName('Element.resizeEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider resizeEvent = const EventStreamProvider('resize'); @@ -17142,8 +13589,6 @@ class Element extends Node * * See [EventStreamProvider] for usage information. */ - @DomName('Element.scrollEvent') - @DocsEditable() static const EventStreamProvider scrollEvent = const EventStreamProvider('scroll'); @@ -17153,22 +13598,12 @@ class Element extends Node * * See [EventStreamProvider] for usage information. */ - @DomName('Element.searchEvent') - @DocsEditable() - // http://www.w3.org/TR/html-markup/input.search.html - @Experimental() static const EventStreamProvider searchEvent = const EventStreamProvider('search'); - @DomName('Element.seekedEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider seekedEvent = const EventStreamProvider('seeked'); - @DomName('Element.seekingEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider seekingEvent = const EventStreamProvider('seeking'); @@ -17178,8 +13613,6 @@ class Element extends Node * * See [EventStreamProvider] for usage information. */ - @DomName('Element.selectEvent') - @DocsEditable() static const EventStreamProvider selectEvent = const EventStreamProvider('select'); @@ -17189,15 +13622,9 @@ class Element extends Node * * See [EventStreamProvider] for usage information. */ - @DomName('Element.selectstartEvent') - @DocsEditable() - @Experimental() // nonstandard static const EventStreamProvider selectStartEvent = const EventStreamProvider('selectstart'); - @DomName('Element.stalledEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider stalledEvent = const EventStreamProvider('stalled'); @@ -17207,20 +13634,12 @@ class Element extends Node * * See [EventStreamProvider] for usage information. */ - @DomName('Element.submitEvent') - @DocsEditable() static const EventStreamProvider submitEvent = const EventStreamProvider('submit'); - @DomName('Element.suspendEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider suspendEvent = const EventStreamProvider('suspend'); - @DomName('Element.timeupdateEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider timeUpdateEvent = const EventStreamProvider('timeupdate'); @@ -17230,10 +13649,6 @@ class Element extends Node * * See [EventStreamProvider] for usage information. */ - @DomName('Element.touchcancelEvent') - @DocsEditable() - // http://www.w3.org/TR/touch-events/, http://www.chromestatus.com/features - @Experimental() static const EventStreamProvider touchCancelEvent = const EventStreamProvider('touchcancel'); @@ -17243,10 +13658,6 @@ class Element extends Node * * See [EventStreamProvider] for usage information. */ - @DomName('Element.touchendEvent') - @DocsEditable() - // http://www.w3.org/TR/touch-events/, http://www.chromestatus.com/features - @Experimental() static const EventStreamProvider touchEndEvent = const EventStreamProvider('touchend'); @@ -17256,10 +13667,6 @@ class Element extends Node * * See [EventStreamProvider] for usage information. */ - @DomName('Element.touchenterEvent') - @DocsEditable() - // http://www.w3.org/TR/touch-events/, http://www.chromestatus.com/features - @Experimental() static const EventStreamProvider touchEnterEvent = const EventStreamProvider('touchenter'); @@ -17269,10 +13676,6 @@ class Element extends Node * * See [EventStreamProvider] for usage information. */ - @DomName('Element.touchleaveEvent') - @DocsEditable() - // http://www.w3.org/TR/touch-events/, http://www.chromestatus.com/features - @Experimental() static const EventStreamProvider touchLeaveEvent = const EventStreamProvider('touchleave'); @@ -17282,10 +13685,6 @@ class Element extends Node * * See [EventStreamProvider] for usage information. */ - @DomName('Element.touchmoveEvent') - @DocsEditable() - // http://www.w3.org/TR/touch-events/, http://www.chromestatus.com/features - @Experimental() static const EventStreamProvider touchMoveEvent = const EventStreamProvider('touchmove'); @@ -17295,22 +13694,12 @@ class Element extends Node * * See [EventStreamProvider] for usage information. */ - @DomName('Element.touchstartEvent') - @DocsEditable() - // http://www.w3.org/TR/touch-events/, http://www.chromestatus.com/features - @Experimental() static const EventStreamProvider touchStartEvent = const EventStreamProvider('touchstart'); - @DomName('Element.volumechangeEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider volumeChangeEvent = const EventStreamProvider('volumechange'); - @DomName('Element.waitingEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider waitingEvent = const EventStreamProvider('waiting'); @@ -17320,12 +13709,8 @@ class Element extends Node * * See [EventStreamProvider] for usage information. */ - @DomName('Element.webkitfullscreenchangeEvent') - @DocsEditable() @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.SAFARI) - @Experimental() - // https://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html static const EventStreamProvider fullscreenChangeEvent = const EventStreamProvider('webkitfullscreenchange'); @@ -17335,27 +13720,16 @@ class Element extends Node * * See [EventStreamProvider] for usage information. */ - @DomName('Element.webkitfullscreenerrorEvent') - @DocsEditable() @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.SAFARI) - @Experimental() - // https://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html static const EventStreamProvider fullscreenErrorEvent = const EventStreamProvider('webkitfullscreenerror'); - @DomName('Element.wheelEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider wheelEvent = const EventStreamProvider('wheel'); - @DomName('Element.contentEditable') - @DocsEditable() String contentEditable; - @DomName('Element.dir') - @DocsEditable() String dir; /** @@ -17371,8 +13745,6 @@ class Element extends Node * specification](https://html.spec.whatwg.org/multipage/interaction.html#dnd) * from WHATWG. */ - @DomName('Element.draggable') - @DocsEditable() bool draggable; /** @@ -17384,43 +13756,23 @@ class Element extends Node * specification](https://html.spec.whatwg.org/multipage/interaction.html#the-hidden-attribute) * from WHATWG. */ - @DomName('Element.hidden') - @DocsEditable() bool hidden; - @DomName('Element.inert') - @DocsEditable() - @Experimental() // untriaged bool inert; - @DomName('Element.inputMode') - @DocsEditable() - @Experimental() // untriaged String inputMode; // Using property as subclass shadows. bool get isContentEditable => JS("bool", "#.isContentEditable", this); - @DomName('Element.lang') - @DocsEditable() String lang; - @DomName('Element.spellcheck') - @DocsEditable() - // http://blog.whatwg.org/the-road-to-html-5-spellchecking - @Experimental() // nonstandard bool spellcheck; - @DomName('Element.style') - @DocsEditable() final CssStyleDeclaration style; - @DomName('Element.tabIndex') - @DocsEditable() int tabIndex; - @DomName('Element.title') - @DocsEditable() String title; /** @@ -17433,130 +13785,67 @@ class Element extends Node * attribute](https://html.spec.whatwg.org/multipage/dom.html#the-translate-attribute) * from WHATWG. */ - @DomName('Element.translate') - @DocsEditable() - // http://www.whatwg.org/specs/web-apps/current-work/multipage/elements.html#the-translate-attribute - @Experimental() bool translate; - @DomName('Element.blur') - @DocsEditable() void blur() native; - @DomName('Element.click') - @DocsEditable() void click() native; - @DomName('Element.focus') - @DocsEditable() void focus() native; - @DomName('Element.accessibleNode') - @DocsEditable() - @Experimental() // untriaged final AccessibleNode accessibleNode; - @DomName('Element.assignedSlot') - @DocsEditable() - @Experimental() // untriaged final SlotElement assignedSlot; @JSName('attributes') - @DomName('Element.attributes') - @DocsEditable() final _NamedNodeMap _attributes; - @DomName('Element.className') - @DocsEditable() String className; - @DomName('Element.clientHeight') - @DocsEditable() final int clientHeight; - @DomName('Element.clientLeft') - @DocsEditable() final int clientLeft; - @DomName('Element.clientTop') - @DocsEditable() final int clientTop; - @DomName('Element.clientWidth') - @DocsEditable() final int clientWidth; - @DomName('Element.computedName') - @DocsEditable() - @Experimental() // untriaged final String computedName; - @DomName('Element.computedRole') - @DocsEditable() - @Experimental() // untriaged final String computedRole; - @DomName('Element.id') - @DocsEditable() String id; @JSName('innerHTML') - @DomName('Element.innerHTML') - @DocsEditable() String _innerHtml; @JSName('localName') - @DomName('Element.localName') - @DocsEditable() - @Experimental() // untriaged final String _localName; @JSName('namespaceURI') - @DomName('Element.namespaceURI') - @DocsEditable() - @Experimental() // untriaged final String _namespaceUri; // Using property as subclass shadows. String get outerHtml => JS("String", "#.outerHTML", this); @JSName('scrollHeight') - @DomName('Element.scrollHeight') - @DocsEditable() final int _scrollHeight; @JSName('scrollLeft') - @DomName('Element.scrollLeft') - @DocsEditable() num _scrollLeft; @JSName('scrollTop') - @DomName('Element.scrollTop') - @DocsEditable() num _scrollTop; @JSName('scrollWidth') - @DomName('Element.scrollWidth') - @DocsEditable() final int _scrollWidth; - @DomName('Element.slot') - @DocsEditable() - @Experimental() // untriaged String slot; - @DomName('Element.styleMap') - @DocsEditable() - @Experimental() // untriaged final StylePropertyMap styleMap; - @DomName('Element.tagName') - @DocsEditable() final String tagName; - @DomName('Element.attachShadow') - @DocsEditable() - @Experimental() // untriaged ShadowRoot attachShadow(Map shadowRootInitDict) { var shadowRootInitDict_1 = convertDartToNative_Dictionary(shadowRootInitDict); @@ -17564,34 +13853,16 @@ class Element extends Node } @JSName('attachShadow') - @DomName('Element.attachShadow') - @DocsEditable() - @Experimental() // untriaged ShadowRoot _attachShadow_1(shadowRootInitDict) native; - @DomName('Element.closest') - @DocsEditable() - @Experimental() // untriaged Element closest(String selectors) native; - @DomName('Element.getAnimations') - @DocsEditable() - @Experimental() // untriaged List getAnimations() native; - @DomName('Element.getAttribute') - @DocsEditable() - @Experimental() // untriaged String getAttribute(String name) native; - @DomName('Element.getAttributeNS') - @DocsEditable() - @Experimental() // untriaged String getAttributeNS(String namespaceURI, String localName) native; - @DomName('Element.getAttributeNames') - @DocsEditable() - @Experimental() // untriaged List getAttributeNames() native; /** @@ -17606,8 +13877,6 @@ class Element extends Node * method](http://www.w3.org/TR/cssom-view/#the-getclientrects()-and-getboundingclientrect()-methods) * from W3C. */ - @DomName('Element.getBoundingClientRect') - @DocsEditable() @Creates('_DomRect') @Returns('_DomRect|Null') Rectangle getBoundingClientRect() native; @@ -17625,8 +13894,6 @@ class Element extends Node * method](http://www.w3.org/TR/cssom-view/#the-getclientrects()-and-getboundingclientrect()-methods) * from W3C. */ - @DomName('Element.getClientRects') - @DocsEditable() @Creates('DomRectList') @Returns('DomRectList|Null') List _getClientRects() native; @@ -17641,9 +13908,6 @@ class Element extends Node * specification](https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/shadow/index.html) * from W3C. */ - @DomName('Element.getDestinationInsertionPoints') - @DocsEditable() - @Experimental() // untriaged @Returns('NodeList|Null') @Creates('NodeList') List getDestinationInsertionPoints() native; @@ -17657,62 +13921,35 @@ class Element extends Node * from MDN. * * [DOM specification](http://www.w3.org/TR/domcore/) from W3C. */ - @DomName('Element.getElementsByClassName') - @DocsEditable() @Creates('NodeList|HtmlCollection') @Returns('NodeList|HtmlCollection') List getElementsByClassName(String classNames) native; @JSName('getElementsByTagName') - @DomName('Element.getElementsByTagName') - @DocsEditable() @Creates('NodeList|HtmlCollection') @Returns('NodeList|HtmlCollection') List _getElementsByTagName(String localName) native; @JSName('hasAttribute') - @DomName('Element.hasAttribute') - @DocsEditable() bool _hasAttribute(String name) native; @JSName('hasAttributeNS') - @DomName('Element.hasAttributeNS') - @DocsEditable() bool _hasAttributeNS(String namespaceURI, String localName) native; - @DomName('Element.hasPointerCapture') - @DocsEditable() - @Experimental() // untriaged bool hasPointerCapture(int pointerId) native; - @DomName('Element.releasePointerCapture') - @DocsEditable() - @Experimental() // untriaged void releasePointerCapture(int pointerId) native; @JSName('removeAttribute') - @DomName('Element.removeAttribute') - @DocsEditable() void _removeAttribute(String name) native; @JSName('removeAttributeNS') - @DomName('Element.removeAttributeNS') - @DocsEditable() void _removeAttributeNS(String namespaceURI, String localName) native; - @DomName('Element.requestFullscreen') - @DocsEditable() - @Experimental() // untriaged void requestFullscreen() native; - @DomName('Element.requestPointerLock') - @DocsEditable() - @Experimental() // untriaged void requestPointerLock() native; - @DomName('Element.scroll') - @DocsEditable() - @Experimental() // untriaged void scroll([options_OR_x, num y]) { if (options_OR_x == null && y == null) { _scroll_1(); @@ -17731,24 +13968,12 @@ class Element extends Node } @JSName('scroll') - @DomName('Element.scroll') - @DocsEditable() - @Experimental() // untriaged void _scroll_1() native; @JSName('scroll') - @DomName('Element.scroll') - @DocsEditable() - @Experimental() // untriaged void _scroll_2(options) native; @JSName('scroll') - @DomName('Element.scroll') - @DocsEditable() - @Experimental() // untriaged void _scroll_3(num x, y) native; - @DomName('Element.scrollBy') - @DocsEditable() - @Experimental() // untriaged void scrollBy([options_OR_x, num y]) { if (options_OR_x == null && y == null) { _scrollBy_1(); @@ -17767,36 +13992,18 @@ class Element extends Node } @JSName('scrollBy') - @DomName('Element.scrollBy') - @DocsEditable() - @Experimental() // untriaged void _scrollBy_1() native; @JSName('scrollBy') - @DomName('Element.scrollBy') - @DocsEditable() - @Experimental() // untriaged void _scrollBy_2(options) native; @JSName('scrollBy') - @DomName('Element.scrollBy') - @DocsEditable() - @Experimental() // untriaged void _scrollBy_3(num x, y) native; @JSName('scrollIntoView') - @DomName('Element.scrollIntoView') - @DocsEditable() void _scrollIntoView([Object arg]) native; @JSName('scrollIntoViewIfNeeded') - @DomName('Element.scrollIntoViewIfNeeded') - @DocsEditable() - // http://docs.webplatform.org/wiki/dom/methods/scrollIntoViewIfNeeded - @Experimental() // non-standard void _scrollIntoViewIfNeeded([bool centerIfNeeded]) native; - @DomName('Element.scrollTo') - @DocsEditable() - @Experimental() // untriaged void scrollTo([options_OR_x, num y]) { if (options_OR_x == null && y == null) { _scrollTo_1(); @@ -17815,90 +14022,50 @@ class Element extends Node } @JSName('scrollTo') - @DomName('Element.scrollTo') - @DocsEditable() - @Experimental() // untriaged void _scrollTo_1() native; @JSName('scrollTo') - @DomName('Element.scrollTo') - @DocsEditable() - @Experimental() // untriaged void _scrollTo_2(options) native; @JSName('scrollTo') - @DomName('Element.scrollTo') - @DocsEditable() - @Experimental() // untriaged void _scrollTo_3(num x, y) native; - @DomName('Element.setApplyScroll') - @DocsEditable() - @Experimental() // untriaged void setApplyScroll(ScrollStateCallback scrollStateCallback, String nativeScrollBehavior) native; - @DomName('Element.setAttribute') - @DocsEditable() void setAttribute(String name, String value) native; - @DomName('Element.setAttributeNS') - @DocsEditable() void setAttributeNS(String namespaceURI, String name, String value) native; - @DomName('Element.setDistributeScroll') - @DocsEditable() - @Experimental() // untriaged void setDistributeScroll(ScrollStateCallback scrollStateCallback, String nativeScrollBehavior) native; - @DomName('Element.setPointerCapture') - @DocsEditable() - @Experimental() // untriaged void setPointerCapture(int pointerId) native; // From ChildNode - @DomName('Element.after') - @DocsEditable() - @Experimental() // untriaged void after(Object nodes) native; - @DomName('Element.before') - @DocsEditable() - @Experimental() // untriaged void before(Object nodes) native; // From NonDocumentTypeChildNode - @DomName('Element.nextElementSibling') - @DocsEditable() final Element nextElementSibling; - @DomName('Element.previousElementSibling') - @DocsEditable() final Element previousElementSibling; // From ParentNode @JSName('childElementCount') - @DomName('Element.childElementCount') - @DocsEditable() final int _childElementCount; @JSName('children') - @DomName('Element.children') - @DocsEditable() @Returns('HtmlCollection|Null') @Creates('HtmlCollection') final List _children; @JSName('firstElementChild') - @DomName('Element.firstElementChild') - @DocsEditable() final Element _firstElementChild; @JSName('lastElementChild') - @DomName('Element.lastElementChild') - @DocsEditable() final Element _lastElementChild; /** @@ -17917,82 +14084,50 @@ class Element extends Node * For details about CSS selector syntax, see the * [CSS selector specification](http://www.w3.org/TR/css3-selectors/). */ - @DomName('Element.querySelector') - @DocsEditable() Element querySelector(String selectors) native; @JSName('querySelectorAll') - @DomName('Element.querySelectorAll') - @DocsEditable() @Creates('NodeList') @Returns('NodeList') List _querySelectorAll(String selectors) native; /// Stream of `abort` events handled by this [Element]. - @DomName('Element.onabort') - @DocsEditable() ElementStream get onAbort => abortEvent.forElement(this); /// Stream of `beforecopy` events handled by this [Element]. - @DomName('Element.onbeforecopy') - @DocsEditable() ElementStream get onBeforeCopy => beforeCopyEvent.forElement(this); /// Stream of `beforecut` events handled by this [Element]. - @DomName('Element.onbeforecut') - @DocsEditable() ElementStream get onBeforeCut => beforeCutEvent.forElement(this); /// Stream of `beforepaste` events handled by this [Element]. - @DomName('Element.onbeforepaste') - @DocsEditable() ElementStream get onBeforePaste => beforePasteEvent.forElement(this); /// Stream of `blur` events handled by this [Element]. - @DomName('Element.onblur') - @DocsEditable() ElementStream get onBlur => blurEvent.forElement(this); - @DomName('Element.oncanplay') - @DocsEditable() - @Experimental() // untriaged ElementStream get onCanPlay => canPlayEvent.forElement(this); - @DomName('Element.oncanplaythrough') - @DocsEditable() - @Experimental() // untriaged ElementStream get onCanPlayThrough => canPlayThroughEvent.forElement(this); /// Stream of `change` events handled by this [Element]. - @DomName('Element.onchange') - @DocsEditable() ElementStream get onChange => changeEvent.forElement(this); /// Stream of `click` events handled by this [Element]. - @DomName('Element.onclick') - @DocsEditable() ElementStream get onClick => clickEvent.forElement(this); /// Stream of `contextmenu` events handled by this [Element]. - @DomName('Element.oncontextmenu') - @DocsEditable() ElementStream get onContextMenu => contextMenuEvent.forElement(this); /// Stream of `copy` events handled by this [Element]. - @DomName('Element.oncopy') - @DocsEditable() ElementStream get onCopy => copyEvent.forElement(this); /// Stream of `cut` events handled by this [Element]. - @DomName('Element.oncut') - @DocsEditable() ElementStream get onCut => cutEvent.forElement(this); /// Stream of `doubleclick` events handled by this [Element]. - @DomName('Element.ondblclick') - @DocsEditable() ElementStream get onDoubleClick => doubleClickEvent.forElement(this); /** @@ -18012,8 +14147,6 @@ class Element extends Node * specification](https://html.spec.whatwg.org/multipage/interaction.html#dnd) * from WHATWG. */ - @DomName('Element.ondrag') - @DocsEditable() ElementStream get onDrag => dragEvent.forElement(this); /** @@ -18030,8 +14163,6 @@ class Element extends Node * specification](https://html.spec.whatwg.org/multipage/interaction.html#dnd) * from WHATWG. */ - @DomName('Element.ondragend') - @DocsEditable() ElementStream get onDragEnd => dragEndEvent.forElement(this); /** @@ -18048,8 +14179,6 @@ class Element extends Node * specification](https://html.spec.whatwg.org/multipage/interaction.html#dnd) * from WHATWG. */ - @DomName('Element.ondragenter') - @DocsEditable() ElementStream get onDragEnter => dragEnterEvent.forElement(this); /** @@ -18066,8 +14195,6 @@ class Element extends Node * specification](https://html.spec.whatwg.org/multipage/interaction.html#dnd) * from WHATWG. */ - @DomName('Element.ondragleave') - @DocsEditable() ElementStream get onDragLeave => dragLeaveEvent.forElement(this); /** @@ -18084,8 +14211,6 @@ class Element extends Node * specification](https://html.spec.whatwg.org/multipage/interaction.html#dnd) * from WHATWG. */ - @DomName('Element.ondragover') - @DocsEditable() ElementStream get onDragOver => dragOverEvent.forElement(this); /** @@ -18102,8 +14227,6 @@ class Element extends Node * specification](https://html.spec.whatwg.org/multipage/interaction.html#dnd) * from WHATWG. */ - @DomName('Element.ondragstart') - @DocsEditable() ElementStream get onDragStart => dragStartEvent.forElement(this); /** @@ -18120,261 +14243,135 @@ class Element extends Node * specification](https://html.spec.whatwg.org/multipage/interaction.html#dnd) * from WHATWG. */ - @DomName('Element.ondrop') - @DocsEditable() ElementStream get onDrop => dropEvent.forElement(this); - @DomName('Element.ondurationchange') - @DocsEditable() - @Experimental() // untriaged ElementStream get onDurationChange => durationChangeEvent.forElement(this); - @DomName('Element.onemptied') - @DocsEditable() - @Experimental() // untriaged ElementStream get onEmptied => emptiedEvent.forElement(this); - @DomName('Element.onended') - @DocsEditable() - @Experimental() // untriaged ElementStream get onEnded => endedEvent.forElement(this); /// Stream of `error` events handled by this [Element]. - @DomName('Element.onerror') - @DocsEditable() ElementStream get onError => errorEvent.forElement(this); /// Stream of `focus` events handled by this [Element]. - @DomName('Element.onfocus') - @DocsEditable() ElementStream get onFocus => focusEvent.forElement(this); /// Stream of `input` events handled by this [Element]. - @DomName('Element.oninput') - @DocsEditable() ElementStream get onInput => inputEvent.forElement(this); /// Stream of `invalid` events handled by this [Element]. - @DomName('Element.oninvalid') - @DocsEditable() ElementStream get onInvalid => invalidEvent.forElement(this); /// Stream of `keydown` events handled by this [Element]. - @DomName('Element.onkeydown') - @DocsEditable() ElementStream get onKeyDown => keyDownEvent.forElement(this); /// Stream of `keypress` events handled by this [Element]. - @DomName('Element.onkeypress') - @DocsEditable() ElementStream get onKeyPress => keyPressEvent.forElement(this); /// Stream of `keyup` events handled by this [Element]. - @DomName('Element.onkeyup') - @DocsEditable() ElementStream get onKeyUp => keyUpEvent.forElement(this); /// Stream of `load` events handled by this [Element]. - @DomName('Element.onload') - @DocsEditable() ElementStream get onLoad => loadEvent.forElement(this); - @DomName('Element.onloadeddata') - @DocsEditable() - @Experimental() // untriaged ElementStream get onLoadedData => loadedDataEvent.forElement(this); - @DomName('Element.onloadedmetadata') - @DocsEditable() - @Experimental() // untriaged ElementStream get onLoadedMetadata => loadedMetadataEvent.forElement(this); /// Stream of `mousedown` events handled by this [Element]. - @DomName('Element.onmousedown') - @DocsEditable() ElementStream get onMouseDown => mouseDownEvent.forElement(this); /// Stream of `mouseenter` events handled by this [Element]. - @DomName('Element.onmouseenter') - @DocsEditable() - @Experimental() // untriaged ElementStream get onMouseEnter => mouseEnterEvent.forElement(this); /// Stream of `mouseleave` events handled by this [Element]. - @DomName('Element.onmouseleave') - @DocsEditable() - @Experimental() // untriaged ElementStream get onMouseLeave => mouseLeaveEvent.forElement(this); /// Stream of `mousemove` events handled by this [Element]. - @DomName('Element.onmousemove') - @DocsEditable() ElementStream get onMouseMove => mouseMoveEvent.forElement(this); /// Stream of `mouseout` events handled by this [Element]. - @DomName('Element.onmouseout') - @DocsEditable() ElementStream get onMouseOut => mouseOutEvent.forElement(this); /// Stream of `mouseover` events handled by this [Element]. - @DomName('Element.onmouseover') - @DocsEditable() ElementStream get onMouseOver => mouseOverEvent.forElement(this); /// Stream of `mouseup` events handled by this [Element]. - @DomName('Element.onmouseup') - @DocsEditable() ElementStream get onMouseUp => mouseUpEvent.forElement(this); /// Stream of `mousewheel` events handled by this [Element]. - @DomName('Element.onmousewheel') - @DocsEditable() - // http://www.w3.org/TR/DOM-Level-3-Events/#events-wheelevents - @Experimental() // non-standard ElementStream get onMouseWheel => mouseWheelEvent.forElement(this); /// Stream of `paste` events handled by this [Element]. - @DomName('Element.onpaste') - @DocsEditable() ElementStream get onPaste => pasteEvent.forElement(this); - @DomName('Element.onpause') - @DocsEditable() - @Experimental() // untriaged ElementStream get onPause => pauseEvent.forElement(this); - @DomName('Element.onplay') - @DocsEditable() - @Experimental() // untriaged ElementStream get onPlay => playEvent.forElement(this); - @DomName('Element.onplaying') - @DocsEditable() - @Experimental() // untriaged ElementStream get onPlaying => playingEvent.forElement(this); - @DomName('Element.onratechange') - @DocsEditable() - @Experimental() // untriaged ElementStream get onRateChange => rateChangeEvent.forElement(this); /// Stream of `reset` events handled by this [Element]. - @DomName('Element.onreset') - @DocsEditable() ElementStream get onReset => resetEvent.forElement(this); - @DomName('Element.onresize') - @DocsEditable() - @Experimental() // untriaged ElementStream get onResize => resizeEvent.forElement(this); /// Stream of `scroll` events handled by this [Element]. - @DomName('Element.onscroll') - @DocsEditable() ElementStream get onScroll => scrollEvent.forElement(this); /// Stream of `search` events handled by this [Element]. - @DomName('Element.onsearch') - @DocsEditable() - // http://www.w3.org/TR/html-markup/input.search.html - @Experimental() ElementStream get onSearch => searchEvent.forElement(this); - @DomName('Element.onseeked') - @DocsEditable() - @Experimental() // untriaged ElementStream get onSeeked => seekedEvent.forElement(this); - @DomName('Element.onseeking') - @DocsEditable() - @Experimental() // untriaged ElementStream get onSeeking => seekingEvent.forElement(this); /// Stream of `select` events handled by this [Element]. - @DomName('Element.onselect') - @DocsEditable() ElementStream get onSelect => selectEvent.forElement(this); /// Stream of `selectstart` events handled by this [Element]. - @DomName('Element.onselectstart') - @DocsEditable() - @Experimental() // nonstandard ElementStream get onSelectStart => selectStartEvent.forElement(this); - @DomName('Element.onstalled') - @DocsEditable() - @Experimental() // untriaged ElementStream get onStalled => stalledEvent.forElement(this); /// Stream of `submit` events handled by this [Element]. - @DomName('Element.onsubmit') - @DocsEditable() ElementStream get onSubmit => submitEvent.forElement(this); - @DomName('Element.onsuspend') - @DocsEditable() - @Experimental() // untriaged ElementStream get onSuspend => suspendEvent.forElement(this); - @DomName('Element.ontimeupdate') - @DocsEditable() - @Experimental() // untriaged ElementStream get onTimeUpdate => timeUpdateEvent.forElement(this); /// Stream of `touchcancel` events handled by this [Element]. - @DomName('Element.ontouchcancel') - @DocsEditable() - // http://www.w3.org/TR/touch-events/, http://www.chromestatus.com/features - @Experimental() ElementStream get onTouchCancel => touchCancelEvent.forElement(this); /// Stream of `touchend` events handled by this [Element]. - @DomName('Element.ontouchend') - @DocsEditable() - // http://www.w3.org/TR/touch-events/, http://www.chromestatus.com/features - @Experimental() ElementStream get onTouchEnd => touchEndEvent.forElement(this); /// Stream of `touchenter` events handled by this [Element]. - @DomName('Element.ontouchenter') - @DocsEditable() - // http://www.w3.org/TR/touch-events/, http://www.chromestatus.com/features - @Experimental() ElementStream get onTouchEnter => touchEnterEvent.forElement(this); /// Stream of `touchleave` events handled by this [Element]. - @DomName('Element.ontouchleave') - @DocsEditable() - // http://www.w3.org/TR/touch-events/, http://www.chromestatus.com/features - @Experimental() ElementStream get onTouchLeave => touchLeaveEvent.forElement(this); /// Stream of `touchmove` events handled by this [Element]. - @DomName('Element.ontouchmove') - @DocsEditable() - // http://www.w3.org/TR/touch-events/, http://www.chromestatus.com/features - @Experimental() ElementStream get onTouchMove => touchMoveEvent.forElement(this); /// Stream of `touchstart` events handled by this [Element]. - @DomName('Element.ontouchstart') - @DocsEditable() - // http://www.w3.org/TR/touch-events/, http://www.chromestatus.com/features - @Experimental() ElementStream get onTouchStart => touchStartEvent.forElement(this); /// Stream of `transitionend` events handled by this [Element]. - @DomName('Element.ontransitionend') - @DocsEditable() @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.FIREFOX) @SupportedBrowser(SupportedBrowser.IE, '10') @@ -18382,40 +14379,22 @@ class Element extends Node ElementStream get onTransitionEnd => transitionEndEvent.forElement(this); - @DomName('Element.onvolumechange') - @DocsEditable() - @Experimental() // untriaged ElementStream get onVolumeChange => volumeChangeEvent.forElement(this); - @DomName('Element.onwaiting') - @DocsEditable() - @Experimental() // untriaged ElementStream get onWaiting => waitingEvent.forElement(this); /// Stream of `fullscreenchange` events handled by this [Element]. - @DomName('Element.onwebkitfullscreenchange') - @DocsEditable() - // https://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html - @Experimental() ElementStream get onFullscreenChange => fullscreenChangeEvent.forElement(this); /// Stream of `fullscreenerror` events handled by this [Element]. - @DomName('Element.onwebkitfullscreenerror') - @DocsEditable() - // https://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html - @Experimental() ElementStream get onFullscreenError => fullscreenErrorEvent.forElement(this); - @DomName('Element.onwheel') - @DocsEditable() - @Experimental() // untriaged ElementStream get onWheel => wheelEvent.forElement(this); } class _ElementFactoryProvider { - @DomName('Document.createElement') // Optimization to improve performance until the dart2js compiler inlines this // method. static dynamic createElement_tag(String tag, String typeExtension) { @@ -18453,8 +14432,6 @@ class ScrollAlignment { // 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('HTMLEmbedElement') @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.IE) @SupportedBrowser(SupportedBrowser.SAFARI) @@ -18466,8 +14443,6 @@ class EmbedElement extends HtmlElement { throw new UnsupportedError("Not supported"); } - @DomName('HTMLEmbedElement.HTMLEmbedElement') - @DocsEditable() factory EmbedElement() => document.createElement("embed"); /** * Constructor instantiated by the DOM when a custom element has been created. @@ -18479,32 +14454,18 @@ class EmbedElement extends HtmlElement { /// Checks if this type is supported on the current platform. static bool get supported => Element.isTagSupported('embed'); - @DomName('HTMLEmbedElement.height') - @DocsEditable() String height; - @DomName('HTMLEmbedElement.name') - @DocsEditable() String name; - @DomName('HTMLEmbedElement.src') - @DocsEditable() String src; - @DomName('HTMLEmbedElement.type') - @DocsEditable() String type; - @DomName('HTMLEmbedElement.width') - @DocsEditable() String width; - @DomName('HTMLEmbedElement.__getter__') - @DocsEditable() Node __getter__(String name) native; - @DomName('HTMLEmbedElement.__setter__') - @DocsEditable() void __setter__(String name, Node value) native; } // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file @@ -18513,18 +14474,11 @@ class EmbedElement extends HtmlElement { // WARNING: Do not edit - generated code. -@DomName('EntriesCallback') -// http://www.w3.org/TR/file-system-api/#the-entriescallback-interface -@Experimental() typedef void _EntriesCallback(List entries); // Copyright (c) 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('Entry') -// http://www.w3.org/TR/file-system-api/#the-entry-interface -@Experimental() @Native("Entry") class Entry extends Interceptor { // To suppress missing implicit constructor warnings. @@ -18532,37 +14486,23 @@ class Entry extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('Entry.filesystem') - @DocsEditable() final FileSystem filesystem; - @DomName('Entry.fullPath') - @DocsEditable() final String fullPath; - @DomName('Entry.isDirectory') - @DocsEditable() final bool isDirectory; - @DomName('Entry.isFile') - @DocsEditable() final bool isFile; - @DomName('Entry.name') - @DocsEditable() final String name; @JSName('copyTo') - @DomName('Entry.copyTo') - @DocsEditable() void _copyTo(DirectoryEntry parent, [String name, _EntryCallback successCallback, _ErrorCallback errorCallback]) native; @JSName('copyTo') - @DomName('Entry.copyTo') - @DocsEditable() Future copyTo(DirectoryEntry parent, {String name}) { var completer = new Completer(); _copyTo(parent, name, (value) { @@ -18574,14 +14514,10 @@ class Entry extends Interceptor { } @JSName('getMetadata') - @DomName('Entry.getMetadata') - @DocsEditable() void _getMetadata(MetadataCallback successCallback, [_ErrorCallback errorCallback]) native; @JSName('getMetadata') - @DomName('Entry.getMetadata') - @DocsEditable() Future getMetadata() { var completer = new Completer(); _getMetadata((value) { @@ -18594,14 +14530,10 @@ class Entry extends Interceptor { } @JSName('getParent') - @DomName('Entry.getParent') - @DocsEditable() void _getParent( [_EntryCallback successCallback, _ErrorCallback errorCallback]) native; @JSName('getParent') - @DomName('Entry.getParent') - @DocsEditable() Future getParent() { var completer = new Completer(); _getParent((value) { @@ -18613,16 +14545,12 @@ class Entry extends Interceptor { } @JSName('moveTo') - @DomName('Entry.moveTo') - @DocsEditable() void _moveTo(DirectoryEntry parent, [String name, _EntryCallback successCallback, _ErrorCallback errorCallback]) native; @JSName('moveTo') - @DomName('Entry.moveTo') - @DocsEditable() Future moveTo(DirectoryEntry parent, {String name}) { var completer = new Completer(); _moveTo(parent, name, (value) { @@ -18634,14 +14562,10 @@ class Entry extends Interceptor { } @JSName('remove') - @DomName('Entry.remove') - @DocsEditable() void _remove(VoidCallback successCallback, [_ErrorCallback errorCallback]) native; @JSName('remove') - @DomName('Entry.remove') - @DocsEditable() Future remove() { var completer = new Completer(); _remove(() { @@ -18653,8 +14577,6 @@ class Entry extends Interceptor { } @JSName('toURL') - @DomName('Entry.toURL') - @DocsEditable() String toUrl() native; } // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file @@ -18663,9 +14585,6 @@ class Entry extends Interceptor { // WARNING: Do not edit - generated code. -@DomName('EntryCallback') -// http://www.w3.org/TR/file-system-api/#the-entrycallback-interface -@Experimental() typedef void _EntryCallback(Entry entry); // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a @@ -18673,16 +14592,11 @@ typedef void _EntryCallback(Entry entry); // WARNING: Do not edit - generated code. -@DomName('ErrorCallback') -// http://www.w3.org/TR/file-system-api/#the-errorcallback-interface -@Experimental() typedef void _ErrorCallback(DomException error); // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('ErrorEvent') @Unstable() @Native("ErrorEvent") class ErrorEvent extends Event { @@ -18691,8 +14605,6 @@ class ErrorEvent extends Event { throw new UnsupportedError("Not supported"); } - @DomName('ErrorEvent.ErrorEvent') - @DocsEditable() factory ErrorEvent(String type, [Map eventInitDict]) { if (eventInitDict != null) { var eventInitDict_1 = convertDartToNative_Dictionary(eventInitDict); @@ -18705,27 +14617,15 @@ class ErrorEvent extends Event { static ErrorEvent _create_2(type) => JS('ErrorEvent', 'new ErrorEvent(#)', type); - @DomName('ErrorEvent.colno') - @DocsEditable() - @Experimental() // untriaged final int colno; - @DomName('ErrorEvent.error') - @DocsEditable() - @Experimental() // untriaged @Creates('Null') final Object error; - @DomName('ErrorEvent.filename') - @DocsEditable() final String filename; - @DomName('ErrorEvent.lineno') - @DocsEditable() final int lineno; - @DomName('ErrorEvent.message') - @DocsEditable() final String message; } // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file @@ -18734,7 +14634,6 @@ class ErrorEvent extends Event { // WARNING: Do not edit - generated code. -@DomName('Event') @Native("Event,InputEvent") class Event extends Interceptor { // In JS, canBubble and cancelable are technically required parameters to @@ -18786,14 +14685,9 @@ class Event extends Interceptor { throw new StateError('No selector matched for populating matchedTarget.'); } - @DomName('Event.path') - @DocsEditable() - @Experimental() List get path => JS('bool', '!!#.composedPath', this) ? composedPath() : []; - @DomName('Event.Event') - @DocsEditable() factory Event._(String type, [Map eventInitDict]) { if (eventInitDict != null) { var eventInitDict_1 = convertDartToNative_Dictionary(eventInitDict); @@ -18813,8 +14707,6 @@ class Event extends Interceptor { * * [Target phase](http://www.w3.org/TR/DOM-Level-3-Events/#target-phase) * from W3C. */ - @DomName('Event.AT_TARGET') - @DocsEditable() static const int AT_TARGET = 2; /** @@ -18825,8 +14717,6 @@ class Event extends Interceptor { * * [Bubble phase](http://www.w3.org/TR/DOM-Level-3-Events/#bubble-phase) * from W3C. */ - @DomName('Event.BUBBLING_PHASE') - @DocsEditable() static const int BUBBLING_PHASE = 3; /** @@ -18838,94 +14728,52 @@ class Event extends Interceptor { * * [Bubble phase](http://www.w3.org/TR/DOM-Level-3-Events/#bubble-phase) * from W3C. */ - @DomName('Event.CAPTURING_PHASE') - @DocsEditable() static const int CAPTURING_PHASE = 1; - @DomName('Event.bubbles') - @DocsEditable() final bool bubbles; - @DomName('Event.cancelable') - @DocsEditable() final bool cancelable; - @DomName('Event.composed') - @DocsEditable() - @Experimental() // untriaged final bool composed; - @DomName('Event.currentTarget') - @DocsEditable() EventTarget get currentTarget => _convertNativeToDart_EventTarget(this._get_currentTarget); @JSName('currentTarget') - @DomName('Event.currentTarget') - @DocsEditable() @Creates('Null') @Returns('EventTarget|=Object') final dynamic _get_currentTarget; - @DomName('Event.defaultPrevented') - @DocsEditable() final bool defaultPrevented; - @DomName('Event.eventPhase') - @DocsEditable() final int eventPhase; - @DomName('Event.isTrusted') - @DocsEditable() - @Experimental() // untriaged final bool isTrusted; - @DomName('Event.target') - @DocsEditable() EventTarget get target => _convertNativeToDart_EventTarget(this._get_target); @JSName('target') - @DomName('Event.target') - @DocsEditable() @Creates('Node') @Returns('EventTarget|=Object') final dynamic _get_target; - @DomName('Event.timeStamp') - @DocsEditable() final num timeStamp; - @DomName('Event.type') - @DocsEditable() final String type; - @DomName('Event.composedPath') - @DocsEditable() - @Experimental() // untriaged List composedPath() native; @JSName('initEvent') - @DomName('Event.initEvent') - @DocsEditable() void _initEvent(String type, [bool bubbles, bool cancelable]) native; - @DomName('Event.preventDefault') - @DocsEditable() void preventDefault() native; - @DomName('Event.stopImmediatePropagation') - @DocsEditable() void stopImmediatePropagation() native; - @DomName('Event.stopPropagation') - @DocsEditable() void stopPropagation() native; } // Copyright (c) 2013, 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. -@DomName('EventSource') -// http://www.w3.org/TR/eventsource/#the-eventsource-interface -@Experimental() // stable @Native("EventSource") class EventSource extends EventTarget { factory EventSource(String url, {withCredentials: false}) { @@ -18945,8 +14793,6 @@ class EventSource extends EventTarget { * * See [EventStreamProvider] for usage information. */ - @DomName('EventSource.errorEvent') - @DocsEditable() static const EventStreamProvider errorEvent = const EventStreamProvider('error'); @@ -18956,8 +14802,6 @@ class EventSource extends EventTarget { * * See [EventStreamProvider] for usage information. */ - @DomName('EventSource.messageEvent') - @DocsEditable() static const EventStreamProvider messageEvent = const EventStreamProvider('message'); @@ -18967,13 +14811,9 @@ class EventSource extends EventTarget { * * See [EventStreamProvider] for usage information. */ - @DomName('EventSource.openEvent') - @DocsEditable() static const EventStreamProvider openEvent = const EventStreamProvider('open'); - @DomName('EventSource.EventSource') - @DocsEditable() static EventSource _factoryEventSource(String url, [Map eventSourceInitDict]) { if (eventSourceInitDict != null) { @@ -18989,47 +14829,27 @@ class EventSource extends EventTarget { static EventSource _create_2(url) => JS('EventSource', 'new EventSource(#)', url); - @DomName('EventSource.CLOSED') - @DocsEditable() static const int CLOSED = 2; - @DomName('EventSource.CONNECTING') - @DocsEditable() static const int CONNECTING = 0; - @DomName('EventSource.OPEN') - @DocsEditable() static const int OPEN = 1; - @DomName('EventSource.readyState') - @DocsEditable() final int readyState; - @DomName('EventSource.url') - @DocsEditable() final String url; - @DomName('EventSource.withCredentials') - @DocsEditable() final bool withCredentials; - @DomName('EventSource.close') - @DocsEditable() void close() native; /// Stream of `error` events handled by this [EventSource]. - @DomName('EventSource.onerror') - @DocsEditable() Stream get onError => errorEvent.forTarget(this); /// Stream of `message` events handled by this [EventSource]. - @DomName('EventSource.onmessage') - @DocsEditable() Stream get onMessage => messageEvent.forTarget(this); /// Stream of `open` events handled by this [EventSource]. - @DomName('EventSource.onopen') - @DocsEditable() Stream get onOpen => openEvent.forTarget(this); } // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file @@ -19120,7 +14940,6 @@ class ElementEvents extends Events { * Use the [on] property to add, and remove events * for compile-time type checks and a more concise API. */ -@DomName('EventTarget') @Native("EventTarget") class EventTarget extends Interceptor { // Custom element created callback. @@ -19158,18 +14977,12 @@ class EventTarget extends Interceptor { } @JSName('addEventListener') - @DomName('EventTarget.addEventListener') - @DocsEditable() void _addEventListener(String type, EventListener listener, [bool options]) native; - @DomName('EventTarget.dispatchEvent') - @DocsEditable() bool dispatchEvent(Event event) native; @JSName('removeEventListener') - @DomName('EventTarget.removeEventListener') - @DocsEditable() void _removeEventListener(String type, EventListener listener, [bool options]) native; } @@ -19177,9 +14990,6 @@ class EventTarget 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('ExtendableEvent') -@Experimental() // untriaged @Native("ExtendableEvent") class ExtendableEvent extends Event { // To suppress missing implicit constructor warnings. @@ -19187,8 +14997,6 @@ class ExtendableEvent extends Event { throw new UnsupportedError("Not supported"); } - @DomName('ExtendableEvent.ExtendableEvent') - @DocsEditable() factory ExtendableEvent(String type, [Map eventInitDict]) { if (eventInitDict != null) { var eventInitDict_1 = convertDartToNative_Dictionary(eventInitDict); @@ -19201,18 +15009,12 @@ class ExtendableEvent extends Event { static ExtendableEvent _create_2(type) => JS('ExtendableEvent', 'new ExtendableEvent(#)', type); - @DomName('ExtendableEvent.waitUntil') - @DocsEditable() - @Experimental() // untriaged void waitUntil(Future f) 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('ExtendableMessageEvent') -@Experimental() // untriaged @Native("ExtendableMessageEvent") class ExtendableMessageEvent extends ExtendableEvent { // To suppress missing implicit constructor warnings. @@ -19220,31 +15022,16 @@ class ExtendableMessageEvent extends ExtendableEvent { throw new UnsupportedError("Not supported"); } - @DomName('ExtendableMessageEvent.data') - @DocsEditable() - @Experimental() // untriaged @annotation_Creates_SerializedScriptValue @annotation_Returns_SerializedScriptValue final Object data; - @DomName('ExtendableMessageEvent.lastEventId') - @DocsEditable() - @Experimental() // untriaged final String lastEventId; - @DomName('ExtendableMessageEvent.origin') - @DocsEditable() - @Experimental() // untriaged final String origin; - @DomName('ExtendableMessageEvent.ports') - @DocsEditable() - @Experimental() // untriaged final List ports; - @DomName('ExtendableMessageEvent.source') - @DocsEditable() - @Experimental() // untriaged @Creates('Client|ServiceWorker|MessagePort') @Returns('Client|ServiceWorker|MessagePort|Null') final Object source; @@ -19253,9 +15040,6 @@ class ExtendableMessageEvent extends ExtendableEvent { // 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('External') -@Experimental() // untriaged @Native("External") class External extends Interceptor { // To suppress missing implicit constructor warnings. @@ -19263,23 +15047,14 @@ class External extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('External.AddSearchProvider') - @DocsEditable() - @Experimental() // untriaged void AddSearchProvider() native; - @DomName('External.IsSearchProviderInstalled') - @DocsEditable() - @Experimental() // untriaged void IsSearchProviderInstalled() 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('FaceDetector') -@Experimental() // untriaged @Native("FaceDetector") class FaceDetector extends Interceptor { // To suppress missing implicit constructor warnings. @@ -19287,8 +15062,6 @@ class FaceDetector extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('FaceDetector.FaceDetector') - @DocsEditable() factory FaceDetector([Map faceDetectorOptions]) { if (faceDetectorOptions != null) { var faceDetectorOptions_1 = @@ -19301,9 +15074,6 @@ class FaceDetector extends Interceptor { JS('FaceDetector', 'new FaceDetector(#)', faceDetectorOptions); static FaceDetector _create_2() => JS('FaceDetector', 'new FaceDetector()'); - @DomName('FaceDetector.detect') - @DocsEditable() - @Experimental() // untriaged Future> detect(/*ImageBitmapSource*/ image) => promiseToFuture>(JS("", "#.detect(#)", this, image)); } @@ -19311,9 +15081,6 @@ class FaceDetector 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('FederatedCredential') -@Experimental() // untriaged @Native("FederatedCredential") class FederatedCredential extends Credential implements CredentialUserData { // To suppress missing implicit constructor warnings. @@ -19321,8 +15088,6 @@ class FederatedCredential extends Credential implements CredentialUserData { throw new UnsupportedError("Not supported"); } - @DomName('FederatedCredential.FederatedCredential') - @DocsEditable() factory FederatedCredential(Map data) { var data_1 = convertDartToNative_Dictionary(data); return FederatedCredential._create_1(data_1); @@ -19330,36 +15095,21 @@ class FederatedCredential extends Credential implements CredentialUserData { static FederatedCredential _create_1(data) => JS('FederatedCredential', 'new FederatedCredential(#)', data); - @DomName('FederatedCredential.protocol') - @DocsEditable() - @Experimental() // untriaged final String protocol; - @DomName('FederatedCredential.provider') - @DocsEditable() - @Experimental() // untriaged final String provider; // From CredentialUserData @JSName('iconURL') - @DomName('FederatedCredential.iconURL') - @DocsEditable() - @Experimental() // untriaged final String iconUrl; - @DomName('FederatedCredential.name') - @DocsEditable() - @Experimental() // untriaged final String 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. -@DocsEditable() -@DomName('FetchEvent') -@Experimental() // untriaged @Native("FetchEvent") class FetchEvent extends ExtendableEvent { // To suppress missing implicit constructor warnings. @@ -19367,8 +15117,6 @@ class FetchEvent extends ExtendableEvent { throw new UnsupportedError("Not supported"); } - @DomName('FetchEvent.FetchEvent') - @DocsEditable() factory FetchEvent(String type, Map eventInitDict) { var eventInitDict_1 = convertDartToNative_Dictionary(eventInitDict); return FetchEvent._create_1(type, eventInitDict_1); @@ -19376,38 +15124,21 @@ class FetchEvent extends ExtendableEvent { static FetchEvent _create_1(type, eventInitDict) => JS('FetchEvent', 'new FetchEvent(#,#)', type, eventInitDict); - @DomName('FetchEvent.clientId') - @DocsEditable() - @Experimental() // untriaged final String clientId; - @DomName('FetchEvent.isReload') - @DocsEditable() - @Experimental() // untriaged final bool isReload; - @DomName('FetchEvent.preloadResponse') - @DocsEditable() - @Experimental() // untriaged Future get preloadResponse => promiseToFuture(JS("", "#.preloadResponse", this)); - @DomName('FetchEvent.request') - @DocsEditable() - @Experimental() // untriaged final _Request request; - @DomName('FetchEvent.respondWith') - @DocsEditable() - @Experimental() // untriaged void respondWith(Future r) 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('HTMLFieldSetElement') @Unstable() @Native("HTMLFieldSetElement") class FieldSetElement extends HtmlElement { @@ -19416,8 +15147,6 @@ class FieldSetElement extends HtmlElement { throw new UnsupportedError("Not supported"); } - @DomName('HTMLFieldSetElement.HTMLFieldSetElement') - @DocsEditable() factory FieldSetElement() => JS( 'returns:FieldSetElement;creates:FieldSetElement;new:true', '#.createElement(#)', @@ -19430,59 +15159,34 @@ class FieldSetElement extends HtmlElement { */ FieldSetElement.created() : super.created(); - @DomName('HTMLFieldSetElement.disabled') - @DocsEditable() bool disabled; - @DomName('HTMLFieldSetElement.elements') - @DocsEditable() @Returns('HtmlCollection|Null') @Creates('HtmlCollection') final List elements; - @DomName('HTMLFieldSetElement.form') - @DocsEditable() final FormElement form; - @DomName('HTMLFieldSetElement.name') - @DocsEditable() String name; - @DomName('HTMLFieldSetElement.type') - @DocsEditable() final String type; - @DomName('HTMLFieldSetElement.validationMessage') - @DocsEditable() final String validationMessage; - @DomName('HTMLFieldSetElement.validity') - @DocsEditable() final ValidityState validity; - @DomName('HTMLFieldSetElement.willValidate') - @DocsEditable() final bool willValidate; - @DomName('HTMLFieldSetElement.checkValidity') - @DocsEditable() bool checkValidity() native; - @DomName('HTMLFieldSetElement.reportValidity') - @DocsEditable() - @Experimental() // untriaged bool reportValidity() native; - @DomName('HTMLFieldSetElement.setCustomValidity') - @DocsEditable() void setCustomValidity(String error) 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('File') @Native("File") class File extends Blob { // To suppress missing implicit constructor warnings. @@ -19490,8 +15194,6 @@ class File extends Blob { throw new UnsupportedError("Not supported"); } - @DomName('File.File') - @DocsEditable() factory File(List fileBits, String fileName, [Map options]) { if (options != null) { var options_1 = convertDartToNative_Dictionary(options); @@ -19504,32 +15206,19 @@ class File extends Blob { static File _create_2(fileBits, fileName) => JS('File', 'new File(#,#)', fileBits, fileName); - @DomName('File.lastModified') - @DocsEditable() - @Experimental() // untriaged final int lastModified; - @DomName('File.lastModifiedDate') - @DocsEditable() DateTime get lastModifiedDate => convertNativeToDart_DateTime(this._get_lastModifiedDate); @JSName('lastModifiedDate') - @DomName('File.lastModifiedDate') - @DocsEditable() @Creates('Null') final dynamic _get_lastModifiedDate; - @DomName('File.name') - @DocsEditable() final String name; @JSName('webkitRelativePath') - @DomName('File.webkitRelativePath') - @DocsEditable() @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.SAFARI) - @Experimental() - // https://plus.sandbox.google.com/+AddyOsmani/posts/Dk5UhZ6zfF3 final String relativePath; } // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file @@ -19538,18 +15227,11 @@ class File extends Blob { // WARNING: Do not edit - generated code. -@DomName('FileCallback') -// http://www.w3.org/TR/file-system-api/#the-filecallback-interface -@Experimental() typedef void _FileCallback(File file); // Copyright (c) 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('FileEntry') -// http://www.w3.org/TR/file-system-api/#the-fileentry-interface -@Experimental() @Native("FileEntry") class FileEntry extends Entry { // To suppress missing implicit constructor warnings. @@ -19558,14 +15240,10 @@ class FileEntry extends Entry { } @JSName('createWriter') - @DomName('FileEntry.createWriter') - @DocsEditable() void _createWriter(_FileWriterCallback successCallback, [_ErrorCallback errorCallback]) native; @JSName('createWriter') - @DomName('FileEntry.createWriter') - @DocsEditable() Future createWriter() { var completer = new Completer(); _createWriter((value) { @@ -19578,14 +15256,10 @@ class FileEntry extends Entry { } @JSName('file') - @DomName('FileEntry.file') - @DocsEditable() void _file(_FileCallback successCallback, [_ErrorCallback errorCallback]) native; @JSName('file') - @DomName('FileEntry.file') - @DocsEditable() Future file() { var completer = new Completer(); _file((value) { @@ -19601,8 +15275,6 @@ class FileEntry extends Entry { // 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('FileList') @Native("FileList") class FileList extends Interceptor with ListMixin, ImmutableListMixin @@ -19612,8 +15284,6 @@ class FileList extends Interceptor throw new UnsupportedError("Not supported"); } - @DomName('FileList.length') - @DocsEditable() int get length => JS("int", "#.length", this); File operator [](int index) { @@ -19659,20 +15329,14 @@ class FileList extends Interceptor File elementAt(int index) => this[index]; // -- end List mixins. - @DomName('FileList.item') - @DocsEditable() File item(int index) native; } // Copyright (c) 2014, 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('FileReader') @Native("FileReader") class FileReader extends EventTarget { - @DomName('FileReader.result') - @DocsEditable() Object get result { var res = JS('Null|String|NativeByteBuffer', '#.result', this); if (res is ByteBuffer) { @@ -19692,8 +15356,6 @@ class FileReader extends EventTarget { * * See [EventStreamProvider] for usage information. */ - @DomName('FileReader.abortEvent') - @DocsEditable() static const EventStreamProvider abortEvent = const EventStreamProvider('abort'); @@ -19703,8 +15365,6 @@ class FileReader extends EventTarget { * * See [EventStreamProvider] for usage information. */ - @DomName('FileReader.errorEvent') - @DocsEditable() static const EventStreamProvider errorEvent = const EventStreamProvider('error'); @@ -19714,8 +15374,6 @@ class FileReader extends EventTarget { * * See [EventStreamProvider] for usage information. */ - @DomName('FileReader.loadEvent') - @DocsEditable() static const EventStreamProvider loadEvent = const EventStreamProvider('load'); @@ -19725,8 +15383,6 @@ class FileReader extends EventTarget { * * See [EventStreamProvider] for usage information. */ - @DomName('FileReader.loadendEvent') - @DocsEditable() static const EventStreamProvider loadEndEvent = const EventStreamProvider('loadend'); @@ -19736,8 +15392,6 @@ class FileReader extends EventTarget { * * See [EventStreamProvider] for usage information. */ - @DomName('FileReader.loadstartEvent') - @DocsEditable() static const EventStreamProvider loadStartEvent = const EventStreamProvider('loadstart'); @@ -19747,94 +15401,56 @@ class FileReader extends EventTarget { * * See [EventStreamProvider] for usage information. */ - @DomName('FileReader.progressEvent') - @DocsEditable() static const EventStreamProvider progressEvent = const EventStreamProvider('progress'); - @DomName('FileReader.FileReader') - @DocsEditable() factory FileReader() { return FileReader._create_1(); } static FileReader _create_1() => JS('FileReader', 'new FileReader()'); - @DomName('FileReader.DONE') - @DocsEditable() static const int DONE = 2; - @DomName('FileReader.EMPTY') - @DocsEditable() static const int EMPTY = 0; - @DomName('FileReader.LOADING') - @DocsEditable() static const int LOADING = 1; - @DomName('FileReader.error') - @DocsEditable() final DomException error; - @DomName('FileReader.readyState') - @DocsEditable() final int readyState; - @DomName('FileReader.abort') - @DocsEditable() void abort() native; - @DomName('FileReader.readAsArrayBuffer') - @DocsEditable() void readAsArrayBuffer(Blob blob) native; @JSName('readAsDataURL') - @DomName('FileReader.readAsDataURL') - @DocsEditable() void readAsDataUrl(Blob blob) native; - @DomName('FileReader.readAsText') - @DocsEditable() void readAsText(Blob blob, [String label]) native; /// Stream of `abort` events handled by this [FileReader]. - @DomName('FileReader.onabort') - @DocsEditable() Stream get onAbort => abortEvent.forTarget(this); /// Stream of `error` events handled by this [FileReader]. - @DomName('FileReader.onerror') - @DocsEditable() Stream get onError => errorEvent.forTarget(this); /// Stream of `load` events handled by this [FileReader]. - @DomName('FileReader.onload') - @DocsEditable() Stream get onLoad => loadEvent.forTarget(this); /// Stream of `loadend` events handled by this [FileReader]. - @DomName('FileReader.onloadend') - @DocsEditable() Stream get onLoadEnd => loadEndEvent.forTarget(this); /// Stream of `loadstart` events handled by this [FileReader]. - @DomName('FileReader.onloadstart') - @DocsEditable() Stream get onLoadStart => loadStartEvent.forTarget(this); /// Stream of `progress` events handled by this [FileReader]. - @DomName('FileReader.onprogress') - @DocsEditable() Stream get onProgress => progressEvent.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('DOMFileSystem') @SupportedBrowser(SupportedBrowser.CHROME) -@Experimental() -// http://www.w3.org/TR/file-system-api/ @Native("DOMFileSystem") class FileSystem extends Interceptor { // To suppress missing implicit constructor warnings. @@ -19845,12 +15461,8 @@ class FileSystem extends Interceptor { /// Checks if this type is supported on the current platform. static bool get supported => JS('bool', '!!(window.webkitRequestFileSystem)'); - @DomName('DOMFileSystem.name') - @DocsEditable() final String name; - @DomName('DOMFileSystem.root') - @DocsEditable() final DirectoryEntry root; } // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file @@ -19859,18 +15471,11 @@ class FileSystem extends Interceptor { // WARNING: Do not edit - generated code. -@DomName('FileSystemCallback') -// http://www.w3.org/TR/file-system-api/#the-filesystemcallback-interface -@Experimental() typedef void _FileSystemCallback(FileSystem fileSystem); // Copyright (c) 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('FileWriter') -// http://www.w3.org/TR/file-writer-api/#the-filewriter-interface -@Experimental() @Native("FileWriter") class FileWriter extends EventTarget { // To suppress missing implicit constructor warnings. @@ -19884,8 +15489,6 @@ class FileWriter extends EventTarget { * * See [EventStreamProvider] for usage information. */ - @DomName('FileWriter.abortEvent') - @DocsEditable() static const EventStreamProvider abortEvent = const EventStreamProvider('abort'); @@ -19895,8 +15498,6 @@ class FileWriter extends EventTarget { * * See [EventStreamProvider] for usage information. */ - @DomName('FileWriter.errorEvent') - @DocsEditable() static const EventStreamProvider errorEvent = const EventStreamProvider('error'); @@ -19906,8 +15507,6 @@ class FileWriter extends EventTarget { * * See [EventStreamProvider] for usage information. */ - @DomName('FileWriter.progressEvent') - @DocsEditable() static const EventStreamProvider progressEvent = const EventStreamProvider('progress'); @@ -19917,8 +15516,6 @@ class FileWriter extends EventTarget { * * See [EventStreamProvider] for usage information. */ - @DomName('FileWriter.writeEvent') - @DocsEditable() static const EventStreamProvider writeEvent = const EventStreamProvider('write'); @@ -19928,8 +15525,6 @@ class FileWriter extends EventTarget { * * See [EventStreamProvider] for usage information. */ - @DomName('FileWriter.writeendEvent') - @DocsEditable() static const EventStreamProvider writeEndEvent = const EventStreamProvider('writeend'); @@ -19939,83 +15534,47 @@ class FileWriter extends EventTarget { * * See [EventStreamProvider] for usage information. */ - @DomName('FileWriter.writestartEvent') - @DocsEditable() static const EventStreamProvider writeStartEvent = const EventStreamProvider('writestart'); - @DomName('FileWriter.DONE') - @DocsEditable() static const int DONE = 2; - @DomName('FileWriter.INIT') - @DocsEditable() static const int INIT = 0; - @DomName('FileWriter.WRITING') - @DocsEditable() static const int WRITING = 1; - @DomName('FileWriter.error') - @DocsEditable() final DomException error; - @DomName('FileWriter.length') - @DocsEditable() final int length; - @DomName('FileWriter.position') - @DocsEditable() final int position; - @DomName('FileWriter.readyState') - @DocsEditable() final int readyState; - @DomName('FileWriter.abort') - @DocsEditable() void abort() native; - @DomName('FileWriter.seek') - @DocsEditable() void seek(int position) native; - @DomName('FileWriter.truncate') - @DocsEditable() void truncate(int size) native; - @DomName('FileWriter.write') - @DocsEditable() void write(Blob data) native; /// Stream of `abort` events handled by this [FileWriter]. - @DomName('FileWriter.onabort') - @DocsEditable() Stream get onAbort => abortEvent.forTarget(this); /// Stream of `error` events handled by this [FileWriter]. - @DomName('FileWriter.onerror') - @DocsEditable() Stream get onError => errorEvent.forTarget(this); /// Stream of `progress` events handled by this [FileWriter]. - @DomName('FileWriter.onprogress') - @DocsEditable() Stream get onProgress => progressEvent.forTarget(this); /// Stream of `write` events handled by this [FileWriter]. - @DomName('FileWriter.onwrite') - @DocsEditable() Stream get onWrite => writeEvent.forTarget(this); /// Stream of `writeend` events handled by this [FileWriter]. - @DomName('FileWriter.onwriteend') - @DocsEditable() Stream get onWriteEnd => writeEndEvent.forTarget(this); /// Stream of `writestart` events handled by this [FileWriter]. - @DomName('FileWriter.onwritestart') - @DocsEditable() Stream get onWriteStart => writeStartEvent.forTarget(this); } // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file @@ -20024,16 +15583,11 @@ class FileWriter extends EventTarget { // WARNING: Do not edit - generated code. -@DomName('FileWriterCallback') -// http://www.w3.org/TR/file-writer-api/#idl-def-FileWriter -@Experimental() typedef void _FileWriterCallback(FileWriter fileWriter); // Copyright (c) 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('FocusEvent') @Native("FocusEvent") class FocusEvent extends UIEvent { // To suppress missing implicit constructor warnings. @@ -20041,8 +15595,6 @@ class FocusEvent extends UIEvent { throw new UnsupportedError("Not supported"); } - @DomName('FocusEvent.FocusEvent') - @DocsEditable() factory FocusEvent(String type, [Map eventInitDict]) { if (eventInitDict != null) { var eventInitDict_1 = convertDartToNative_Dictionary(eventInitDict); @@ -20055,13 +15607,9 @@ class FocusEvent extends UIEvent { static FocusEvent _create_2(type) => JS('FocusEvent', 'new FocusEvent(#)', type); - @DomName('FocusEvent.relatedTarget') - @DocsEditable() EventTarget get relatedTarget => _convertNativeToDart_EventTarget(this._get_relatedTarget); @JSName('relatedTarget') - @DomName('FocusEvent.relatedTarget') - @DocsEditable() @Creates('Null') final dynamic _get_relatedTarget; } @@ -20069,9 +15617,6 @@ class FocusEvent extends UIEvent { // 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('FontFace') -@Experimental() // untriaged @Native("FontFace") class FontFace extends Interceptor { // To suppress missing implicit constructor warnings. @@ -20079,8 +15624,6 @@ class FontFace extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('FontFace.FontFace') - @DocsEditable() factory FontFace(String family, Object source, [Map descriptors]) { if (descriptors != null) { var descriptors_1 = convertDartToNative_Dictionary(descriptors); @@ -20093,60 +15636,27 @@ class FontFace extends Interceptor { static FontFace _create_2(family, source) => JS('FontFace', 'new FontFace(#,#)', family, source); - @DomName('FontFace.display') - @DocsEditable() - @Experimental() // untriaged String display; - @DomName('FontFace.family') - @DocsEditable() - @Experimental() // untriaged String family; - @DomName('FontFace.featureSettings') - @DocsEditable() - @Experimental() // untriaged String featureSettings; - @DomName('FontFace.loaded') - @DocsEditable() - @Experimental() // untriaged Future get loaded => promiseToFuture(JS("", "#.loaded", this)); - @DomName('FontFace.status') - @DocsEditable() - @Experimental() // untriaged final String status; - @DomName('FontFace.stretch') - @DocsEditable() - @Experimental() // untriaged String stretch; - @DomName('FontFace.style') - @DocsEditable() - @Experimental() // untriaged String style; - @DomName('FontFace.unicodeRange') - @DocsEditable() - @Experimental() // untriaged String unicodeRange; - @DomName('FontFace.variant') - @DocsEditable() - @Experimental() // untriaged String variant; - @DomName('FontFace.weight') - @DocsEditable() - @Experimental() // untriaged String weight; - @DomName('FontFace.load') - @DocsEditable() - @Experimental() // untriaged Future load() => promiseToFuture(JS("", "#.load()", this)); } @@ -20154,9 +15664,6 @@ class FontFace 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('FontFaceSet') -@Experimental() // untriaged @Native("FontFaceSet") class FontFaceSet extends EventTarget { // To suppress missing implicit constructor warnings. @@ -20164,73 +15671,34 @@ class FontFaceSet extends EventTarget { throw new UnsupportedError("Not supported"); } - @DomName('FontFaceSet.loadingEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider loadingEvent = const EventStreamProvider('loading'); - @DomName('FontFaceSet.loadingdoneEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider loadingDoneEvent = const EventStreamProvider('loadingdone'); - @DomName('FontFaceSet.loadingerrorEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider loadingErrorEvent = const EventStreamProvider('loadingerror'); - @DomName('FontFaceSet.status') - @DocsEditable() - @Experimental() // untriaged final String status; - @DomName('FontFaceSet.add') - @DocsEditable() - @Experimental() // untriaged FontFaceSet add(FontFace arg) native; - @DomName('FontFaceSet.check') - @DocsEditable() - @Experimental() // untriaged bool check(String font, [String text]) native; - @DomName('FontFaceSet.clear') - @DocsEditable() - @Experimental() // untriaged void clear() native; - @DomName('FontFaceSet.delete') - @DocsEditable() - @Experimental() // untriaged bool delete(FontFace arg) native; - @DomName('FontFaceSet.forEach') - @DocsEditable() - @Experimental() // untriaged void forEach(FontFaceSetForEachCallback callback, [Object thisArg]) native; - @DomName('FontFaceSet.has') - @DocsEditable() - @Experimental() // untriaged bool has(FontFace arg) native; - @DomName('FontFaceSet.onloading') - @DocsEditable() - @Experimental() // untriaged Stream get onLoading => loadingEvent.forTarget(this); - @DomName('FontFaceSet.onloadingdone') - @DocsEditable() - @Experimental() // untriaged Stream get onLoadingDone => loadingDoneEvent.forTarget(this); - @DomName('FontFaceSet.onloadingerror') - @DocsEditable() - @Experimental() // untriaged Stream get onLoadingError => loadingErrorEvent.forTarget(this); } @@ -20238,9 +15706,6 @@ class FontFaceSet 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('FontFaceSetLoadEvent') -@Experimental() // untriaged @Native("FontFaceSetLoadEvent") class FontFaceSetLoadEvent extends Event { // To suppress missing implicit constructor warnings. @@ -20248,8 +15713,6 @@ class FontFaceSetLoadEvent extends Event { throw new UnsupportedError("Not supported"); } - @DomName('FontFaceSetLoadEvent.FontFaceSetLoadEvent') - @DocsEditable() factory FontFaceSetLoadEvent(String type, [Map eventInitDict]) { if (eventInitDict != null) { var eventInitDict_1 = convertDartToNative_Dictionary(eventInitDict); @@ -20265,18 +15728,12 @@ class FontFaceSetLoadEvent extends Event { static FontFaceSetLoadEvent _create_2(type) => JS('FontFaceSetLoadEvent', 'new FontFaceSetLoadEvent(#)', type); - @DomName('FontFaceSetLoadEvent.fontfaces') - @DocsEditable() - @Experimental() // untriaged final List fontfaces; } // Copyright (c) 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('FontFaceSource') -@Experimental() // untriaged @Native("FontFaceSource") class FontFaceSource extends Interceptor { // To suppress missing implicit constructor warnings. @@ -20284,18 +15741,12 @@ class FontFaceSource extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('FontFaceSource.fonts') - @DocsEditable() - @Experimental() // untriaged final FontFaceSet fonts; } // Copyright (c) 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('ForeignFetchEvent') -@Experimental() // untriaged @Native("ForeignFetchEvent") class ForeignFetchEvent extends ExtendableEvent { // To suppress missing implicit constructor warnings. @@ -20303,8 +15754,6 @@ class ForeignFetchEvent extends ExtendableEvent { throw new UnsupportedError("Not supported"); } - @DomName('ForeignFetchEvent.ForeignFetchEvent') - @DocsEditable() factory ForeignFetchEvent(String type, Map eventInitDict) { var eventInitDict_1 = convertDartToNative_Dictionary(eventInitDict); return ForeignFetchEvent._create_1(type, eventInitDict_1); @@ -20312,27 +15761,16 @@ class ForeignFetchEvent extends ExtendableEvent { static ForeignFetchEvent _create_1(type, eventInitDict) => JS( 'ForeignFetchEvent', 'new ForeignFetchEvent(#,#)', type, eventInitDict); - @DomName('ForeignFetchEvent.origin') - @DocsEditable() - @Experimental() // untriaged final String origin; - @DomName('ForeignFetchEvent.request') - @DocsEditable() - @Experimental() // untriaged final _Request request; - @DomName('ForeignFetchEvent.respondWith') - @DocsEditable() - @Experimental() // untriaged void respondWith(Future r) 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('FormData') @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.FIREFOX) @SupportedBrowser(SupportedBrowser.IE, '10') @@ -20344,8 +15782,6 @@ class FormData extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('FormData.FormData') - @DocsEditable() factory FormData([FormElement form]) { if (form != null) { return FormData._create_1(form); @@ -20358,46 +15794,25 @@ class FormData extends Interceptor { /// Checks if this type is supported on the current platform. static bool get supported => JS('bool', '!!(window.FormData)'); - @DomName('FormData.append') - @DocsEditable() void append(String name, String value) native; @JSName('append') - @DomName('FormData.append') - @DocsEditable() void appendBlob(String name, Blob value, [String filename]) native; - @DomName('FormData.delete') - @DocsEditable() - @Experimental() // untriaged void delete(String name) native; - @DomName('FormData.get') - @DocsEditable() - @Experimental() // untriaged Object get(String name) native; - @DomName('FormData.getAll') - @DocsEditable() - @Experimental() // untriaged List getAll(String name) native; - @DomName('FormData.has') - @DocsEditable() - @Experimental() // untriaged bool has(String name) native; - @DomName('FormData.set') - @DocsEditable() - @Experimental() // untriaged void set(String name, value, [String filename]) 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('HTMLFormElement') @Native("HTMLFormElement") class FormElement extends HtmlElement { // To suppress missing implicit constructor warnings. @@ -20405,8 +15820,6 @@ class FormElement extends HtmlElement { throw new UnsupportedError("Not supported"); } - @DomName('HTMLFormElement.HTMLFormElement') - @DocsEditable() factory FormElement() => JS( 'returns:FormElement;creates:FormElement;new:true', '#.createElement(#)', @@ -20419,70 +15832,34 @@ class FormElement extends HtmlElement { */ FormElement.created() : super.created(); - @DomName('HTMLFormElement.acceptCharset') - @DocsEditable() String acceptCharset; - @DomName('HTMLFormElement.action') - @DocsEditable() String action; - @DomName('HTMLFormElement.autocomplete') - @DocsEditable() - // http://www.whatwg.org/specs/web-apps/current-work/multipage/association-of-controls-and-forms.html#autofilling-form-controls:-the-autocomplete-attribute - @Experimental() String autocomplete; - @DomName('HTMLFormElement.encoding') - @DocsEditable() String encoding; - @DomName('HTMLFormElement.enctype') - @DocsEditable() String enctype; - @DomName('HTMLFormElement.length') - @DocsEditable() final int length; - @DomName('HTMLFormElement.method') - @DocsEditable() String method; - @DomName('HTMLFormElement.name') - @DocsEditable() String name; - @DomName('HTMLFormElement.noValidate') - @DocsEditable() bool noValidate; - @DomName('HTMLFormElement.target') - @DocsEditable() String target; - @DomName('HTMLFormElement.__getter__') - @DocsEditable() Object __getter__(String name) native; - @DomName('HTMLFormElement.checkValidity') - @DocsEditable() bool checkValidity() native; - @DomName('HTMLFormElement.item') - @DocsEditable() - @Experimental() // untriaged Element item(int index) native; - @DomName('HTMLFormElement.reportValidity') - @DocsEditable() - @Experimental() // untriaged bool reportValidity() native; - @DomName('HTMLFormElement.requestAutocomplete') - @DocsEditable() - // http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2012-October/037711.html - @Experimental() void requestAutocomplete(Map details) { var details_1 = convertDartToNative_Dictionary(details); _requestAutocomplete_1(details_1); @@ -20490,18 +15867,10 @@ class FormElement extends HtmlElement { } @JSName('requestAutocomplete') - @DomName('HTMLFormElement.requestAutocomplete') - @DocsEditable() - // http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2012-October/037711.html - @Experimental() void _requestAutocomplete_1(details) native; - @DomName('HTMLFormElement.reset') - @DocsEditable() void reset() native; - @DomName('HTMLFormElement.submit') - @DocsEditable() void submit() native; } // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file @@ -20510,8 +15879,6 @@ class FormElement extends HtmlElement { // WARNING: Do not edit - generated code. -@DomName('FrameRequestCallback') -@Experimental() // untriaged typedef void FrameRequestCallback(num highResTime); // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a @@ -20519,17 +15886,11 @@ typedef void FrameRequestCallback(num highResTime); // WARNING: Do not edit - generated code. -@DomName('FunctionStringCallback') -@Experimental() // untriaged typedef void FunctionStringCallback(String 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('Gamepad') -// https://dvcs.w3.org/hg/gamepad/raw-file/default/gamepad.html#gamepad-interface -@Experimental() @Native("Gamepad") class Gamepad extends Interceptor { // To suppress missing implicit constructor warnings. @@ -20537,60 +15898,32 @@ class Gamepad extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('Gamepad.axes') - @DocsEditable() final List axes; - @DomName('Gamepad.buttons') - @DocsEditable() @Creates('JSExtendableArray|GamepadButton') @Returns('JSExtendableArray') final List buttons; - @DomName('Gamepad.connected') - @DocsEditable() - @Experimental() // untriaged final bool connected; - @DomName('Gamepad.displayId') - @DocsEditable() - @Experimental() // untriaged final int displayId; - @DomName('Gamepad.hand') - @DocsEditable() - @Experimental() // untriaged final String hand; - @DomName('Gamepad.id') - @DocsEditable() final String id; - @DomName('Gamepad.index') - @DocsEditable() final int index; - @DomName('Gamepad.mapping') - @DocsEditable() - @Experimental() // untriaged final String mapping; - @DomName('Gamepad.pose') - @DocsEditable() - @Experimental() // untriaged final GamepadPose pose; - @DomName('Gamepad.timestamp') - @DocsEditable() final int 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('GamepadButton') -@Experimental() // untriaged @Native("GamepadButton") class GamepadButton extends Interceptor { // To suppress missing implicit constructor warnings. @@ -20598,28 +15931,16 @@ class GamepadButton extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('GamepadButton.pressed') - @DocsEditable() - @Experimental() // untriaged final bool pressed; - @DomName('GamepadButton.touched') - @DocsEditable() - @Experimental() // untriaged final bool touched; - @DomName('GamepadButton.value') - @DocsEditable() - @Experimental() // untriaged final num 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('GamepadEvent') -@Experimental() // untriaged @Native("GamepadEvent") class GamepadEvent extends Event { // To suppress missing implicit constructor warnings. @@ -20627,8 +15948,6 @@ class GamepadEvent extends Event { throw new UnsupportedError("Not supported"); } - @DomName('GamepadEvent.GamepadEvent') - @DocsEditable() factory GamepadEvent(String type, [Map eventInitDict]) { if (eventInitDict != null) { var eventInitDict_1 = convertDartToNative_Dictionary(eventInitDict); @@ -20641,18 +15960,12 @@ class GamepadEvent extends Event { static GamepadEvent _create_2(type) => JS('GamepadEvent', 'new GamepadEvent(#)', type); - @DomName('GamepadEvent.gamepad') - @DocsEditable() - @Experimental() // untriaged final Gamepad gamepad; } // Copyright (c) 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('GamepadPose') -@Experimental() // untriaged @Native("GamepadPose") class GamepadPose extends Interceptor { // To suppress missing implicit constructor warnings. @@ -20660,56 +15973,29 @@ class GamepadPose extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('GamepadPose.angularAcceleration') - @DocsEditable() - @Experimental() // untriaged final Float32List angularAcceleration; - @DomName('GamepadPose.angularVelocity') - @DocsEditable() - @Experimental() // untriaged final Float32List angularVelocity; - @DomName('GamepadPose.hasOrientation') - @DocsEditable() - @Experimental() // untriaged final bool hasOrientation; - @DomName('GamepadPose.hasPosition') - @DocsEditable() - @Experimental() // untriaged final bool hasPosition; - @DomName('GamepadPose.linearAcceleration') - @DocsEditable() - @Experimental() // untriaged final Float32List linearAcceleration; - @DomName('GamepadPose.linearVelocity') - @DocsEditable() - @Experimental() // untriaged final Float32List linearVelocity; - @DomName('GamepadPose.orientation') - @DocsEditable() - @Experimental() // untriaged final Float32List orientation; - @DomName('GamepadPose.position') - @DocsEditable() - @Experimental() // untriaged final Float32List position; } // Copyright (c) 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('Geolocation') @Unstable() @Native("Geolocation") class Geolocation extends Interceptor { - @DomName('Geolocation.getCurrentPosition') Future getCurrentPosition( {bool enableHighAccuracy, Duration timeout, Duration maximumAge}) { var options = {}; @@ -20735,7 +16021,6 @@ class Geolocation extends Interceptor { return completer.future; } - @DomName('Geolocation.watchPosition') Stream watchPosition( {bool enableHighAccuracy, Duration timeout, Duration maximumAge}) { var options = {}; @@ -20788,12 +16073,8 @@ class Geolocation extends Interceptor { } @JSName('clearWatch') - @DomName('Geolocation.clearWatch') - @DocsEditable() void _clearWatch(int watchID) native; - @DomName('Geolocation.getCurrentPosition') - @DocsEditable() void _getCurrentPosition(_PositionCallback successCallback, [_PositionErrorCallback errorCallback, Map options]) { if (options != null) { @@ -20810,22 +16091,14 @@ class Geolocation extends Interceptor { } @JSName('getCurrentPosition') - @DomName('Geolocation.getCurrentPosition') - @DocsEditable() void _getCurrentPosition_1(_PositionCallback successCallback, _PositionErrorCallback errorCallback, options) native; @JSName('getCurrentPosition') - @DomName('Geolocation.getCurrentPosition') - @DocsEditable() void _getCurrentPosition_2(_PositionCallback successCallback, _PositionErrorCallback errorCallback) native; @JSName('getCurrentPosition') - @DomName('Geolocation.getCurrentPosition') - @DocsEditable() void _getCurrentPosition_3(_PositionCallback successCallback) native; - @DomName('Geolocation.watchPosition') - @DocsEditable() int _watchPosition(_PositionCallback successCallback, [_PositionErrorCallback errorCallback, Map options]) { if (options != null) { @@ -20839,18 +16112,12 @@ class Geolocation extends Interceptor { } @JSName('watchPosition') - @DomName('Geolocation.watchPosition') - @DocsEditable() int _watchPosition_1(_PositionCallback successCallback, _PositionErrorCallback errorCallback, options) native; @JSName('watchPosition') - @DomName('Geolocation.watchPosition') - @DocsEditable() int _watchPosition_2(_PositionCallback successCallback, _PositionErrorCallback errorCallback) native; @JSName('watchPosition') - @DomName('Geolocation.watchPosition') - @DocsEditable() int _watchPosition_3(_PositionCallback successCallback) native; } @@ -20870,9 +16137,6 @@ class _GeopositionWrapper implements Geoposition { // 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('Position') -@Experimental() // untriaged @Native("Position") class Geoposition extends Interceptor { // To suppress missing implicit constructor warnings. @@ -20880,14 +16144,8 @@ class Geoposition extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('Position.coords') - @DocsEditable() - @Experimental() // untriaged final Coordinates coords; - @DomName('Position.timestamp') - @DocsEditable() - @Experimental() // untriaged final int timestamp; } // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file @@ -20897,9 +16155,6 @@ class Geoposition extends Interceptor { // We implement EventTarget and have stubs for its methods because it's tricky to // convince the scripts to make our instance methods abstract, and the bodies that // get generated require `this` to be an EventTarget. -@DocsEditable() -@DomName('GlobalEventHandlers') -@Experimental() // untriaged abstract class GlobalEventHandlers implements EventTarget { void addEventListener(String type, dynamic listener(Event event), [bool useCapture]); @@ -20913,640 +16168,295 @@ abstract class GlobalEventHandlers implements EventTarget { throw new UnsupportedError("Not supported"); } - @DomName('GlobalEventHandlers.abortEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider abortEvent = const EventStreamProvider('abort'); - @DomName('GlobalEventHandlers.blurEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider blurEvent = const EventStreamProvider('blur'); - @DomName('GlobalEventHandlers.canplayEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider canPlayEvent = const EventStreamProvider('canplay'); - @DomName('GlobalEventHandlers.canplaythroughEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider canPlayThroughEvent = const EventStreamProvider('canplaythrough'); - @DomName('GlobalEventHandlers.changeEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider changeEvent = const EventStreamProvider('change'); - @DomName('GlobalEventHandlers.clickEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider clickEvent = const EventStreamProvider('click'); - @DomName('GlobalEventHandlers.contextmenuEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider contextMenuEvent = const EventStreamProvider('contextmenu'); - @DomName('GlobalEventHandlers.dblclickEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider doubleClickEvent = const EventStreamProvider('dblclick'); - @DomName('GlobalEventHandlers.dragEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider dragEvent = const EventStreamProvider('drag'); - @DomName('GlobalEventHandlers.dragendEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider dragEndEvent = const EventStreamProvider('dragend'); - @DomName('GlobalEventHandlers.dragenterEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider dragEnterEvent = const EventStreamProvider('dragenter'); - @DomName('GlobalEventHandlers.dragleaveEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider dragLeaveEvent = const EventStreamProvider('dragleave'); - @DomName('GlobalEventHandlers.dragoverEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider dragOverEvent = const EventStreamProvider('dragover'); - @DomName('GlobalEventHandlers.dragstartEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider dragStartEvent = const EventStreamProvider('dragstart'); - @DomName('GlobalEventHandlers.dropEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider dropEvent = const EventStreamProvider('drop'); - @DomName('GlobalEventHandlers.durationchangeEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider durationChangeEvent = const EventStreamProvider('durationchange'); - @DomName('GlobalEventHandlers.emptiedEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider emptiedEvent = const EventStreamProvider('emptied'); - @DomName('GlobalEventHandlers.endedEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider endedEvent = const EventStreamProvider('ended'); - @DomName('GlobalEventHandlers.errorEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider errorEvent = const EventStreamProvider('error'); - @DomName('GlobalEventHandlers.focusEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider focusEvent = const EventStreamProvider('focus'); - @DomName('GlobalEventHandlers.inputEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider inputEvent = const EventStreamProvider('input'); - @DomName('GlobalEventHandlers.invalidEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider invalidEvent = const EventStreamProvider('invalid'); - @DomName('GlobalEventHandlers.keydownEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider keyDownEvent = const EventStreamProvider('keydown'); - @DomName('GlobalEventHandlers.keypressEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider keyPressEvent = const EventStreamProvider('keypress'); - @DomName('GlobalEventHandlers.keyupEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider keyUpEvent = const EventStreamProvider('keyup'); - @DomName('GlobalEventHandlers.loadEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider loadEvent = const EventStreamProvider('load'); - @DomName('GlobalEventHandlers.loadeddataEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider loadedDataEvent = const EventStreamProvider('loadeddata'); - @DomName('GlobalEventHandlers.loadedmetadataEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider loadedMetadataEvent = const EventStreamProvider('loadedmetadata'); - @DomName('GlobalEventHandlers.mousedownEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider mouseDownEvent = const EventStreamProvider('mousedown'); - @DomName('GlobalEventHandlers.mouseenterEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider mouseEnterEvent = const EventStreamProvider('mouseenter'); - @DomName('GlobalEventHandlers.mouseleaveEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider mouseLeaveEvent = const EventStreamProvider('mouseleave'); - @DomName('GlobalEventHandlers.mousemoveEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider mouseMoveEvent = const EventStreamProvider('mousemove'); - @DomName('GlobalEventHandlers.mouseoutEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider mouseOutEvent = const EventStreamProvider('mouseout'); - @DomName('GlobalEventHandlers.mouseoverEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider mouseOverEvent = const EventStreamProvider('mouseover'); - @DomName('GlobalEventHandlers.mouseupEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider mouseUpEvent = const EventStreamProvider('mouseup'); - @DomName('GlobalEventHandlers.mousewheelEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider mouseWheelEvent = const EventStreamProvider('mousewheel'); - @DomName('GlobalEventHandlers.pauseEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider pauseEvent = const EventStreamProvider('pause'); - @DomName('GlobalEventHandlers.playEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider playEvent = const EventStreamProvider('play'); - @DomName('GlobalEventHandlers.playingEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider playingEvent = const EventStreamProvider('playing'); - @DomName('GlobalEventHandlers.ratechangeEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider rateChangeEvent = const EventStreamProvider('ratechange'); - @DomName('GlobalEventHandlers.resetEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider resetEvent = const EventStreamProvider('reset'); - @DomName('GlobalEventHandlers.resizeEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider resizeEvent = const EventStreamProvider('resize'); - @DomName('GlobalEventHandlers.scrollEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider scrollEvent = const EventStreamProvider('scroll'); - @DomName('GlobalEventHandlers.seekedEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider seekedEvent = const EventStreamProvider('seeked'); - @DomName('GlobalEventHandlers.seekingEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider seekingEvent = const EventStreamProvider('seeking'); - @DomName('GlobalEventHandlers.selectEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider selectEvent = const EventStreamProvider('select'); - @DomName('GlobalEventHandlers.stalledEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider stalledEvent = const EventStreamProvider('stalled'); - @DomName('GlobalEventHandlers.submitEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider submitEvent = const EventStreamProvider('submit'); - @DomName('GlobalEventHandlers.suspendEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider suspendEvent = const EventStreamProvider('suspend'); - @DomName('GlobalEventHandlers.timeupdateEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider timeUpdateEvent = const EventStreamProvider('timeupdate'); - @DomName('GlobalEventHandlers.touchcancelEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider touchCancelEvent = const EventStreamProvider('touchcancel'); - @DomName('GlobalEventHandlers.touchendEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider touchEndEvent = const EventStreamProvider('touchend'); - @DomName('GlobalEventHandlers.touchmoveEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider touchMoveEvent = const EventStreamProvider('touchmove'); - @DomName('GlobalEventHandlers.touchstartEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider touchStartEvent = const EventStreamProvider('touchstart'); - @DomName('GlobalEventHandlers.volumechangeEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider volumeChangeEvent = const EventStreamProvider('volumechange'); - @DomName('GlobalEventHandlers.waitingEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider waitingEvent = const EventStreamProvider('waiting'); - @DomName('GlobalEventHandlers.wheelEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider wheelEvent = const EventStreamProvider('wheel'); - @DomName('GlobalEventHandlers.onabort') - @DocsEditable() - @Experimental() // untriaged Stream get onAbort => abortEvent.forTarget(this); - @DomName('GlobalEventHandlers.onblur') - @DocsEditable() - @Experimental() // untriaged Stream get onBlur => blurEvent.forTarget(this); - @DomName('GlobalEventHandlers.oncanplay') - @DocsEditable() - @Experimental() // untriaged Stream get onCanPlay => canPlayEvent.forTarget(this); - @DomName('GlobalEventHandlers.oncanplaythrough') - @DocsEditable() - @Experimental() // untriaged Stream get onCanPlayThrough => canPlayThroughEvent.forTarget(this); - @DomName('GlobalEventHandlers.onchange') - @DocsEditable() - @Experimental() // untriaged Stream get onChange => changeEvent.forTarget(this); - @DomName('GlobalEventHandlers.onclick') - @DocsEditable() - @Experimental() // untriaged Stream get onClick => clickEvent.forTarget(this); - @DomName('GlobalEventHandlers.oncontextmenu') - @DocsEditable() - @Experimental() // untriaged Stream get onContextMenu => contextMenuEvent.forTarget(this); - @DomName('GlobalEventHandlers.ondblclick') - @DocsEditable() - @Experimental() // untriaged Stream get onDoubleClick => doubleClickEvent.forTarget(this); - @DomName('GlobalEventHandlers.ondrag') - @DocsEditable() - @Experimental() // untriaged Stream get onDrag => dragEvent.forTarget(this); - @DomName('GlobalEventHandlers.ondragend') - @DocsEditable() - @Experimental() // untriaged Stream get onDragEnd => dragEndEvent.forTarget(this); - @DomName('GlobalEventHandlers.ondragenter') - @DocsEditable() - @Experimental() // untriaged Stream get onDragEnter => dragEnterEvent.forTarget(this); - @DomName('GlobalEventHandlers.ondragleave') - @DocsEditable() - @Experimental() // untriaged Stream get onDragLeave => dragLeaveEvent.forTarget(this); - @DomName('GlobalEventHandlers.ondragover') - @DocsEditable() - @Experimental() // untriaged Stream get onDragOver => dragOverEvent.forTarget(this); - @DomName('GlobalEventHandlers.ondragstart') - @DocsEditable() - @Experimental() // untriaged Stream get onDragStart => dragStartEvent.forTarget(this); - @DomName('GlobalEventHandlers.ondrop') - @DocsEditable() - @Experimental() // untriaged Stream get onDrop => dropEvent.forTarget(this); - @DomName('GlobalEventHandlers.ondurationchange') - @DocsEditable() - @Experimental() // untriaged Stream get onDurationChange => durationChangeEvent.forTarget(this); - @DomName('GlobalEventHandlers.onemptied') - @DocsEditable() - @Experimental() // untriaged Stream get onEmptied => emptiedEvent.forTarget(this); - @DomName('GlobalEventHandlers.onended') - @DocsEditable() - @Experimental() // untriaged Stream get onEnded => endedEvent.forTarget(this); - @DomName('GlobalEventHandlers.onerror') - @DocsEditable() - @Experimental() // untriaged Stream get onError => errorEvent.forTarget(this); - @DomName('GlobalEventHandlers.onfocus') - @DocsEditable() - @Experimental() // untriaged Stream get onFocus => focusEvent.forTarget(this); - @DomName('GlobalEventHandlers.oninput') - @DocsEditable() - @Experimental() // untriaged Stream get onInput => inputEvent.forTarget(this); - @DomName('GlobalEventHandlers.oninvalid') - @DocsEditable() - @Experimental() // untriaged Stream get onInvalid => invalidEvent.forTarget(this); - @DomName('GlobalEventHandlers.onkeydown') - @DocsEditable() - @Experimental() // untriaged Stream get onKeyDown => keyDownEvent.forTarget(this); - @DomName('GlobalEventHandlers.onkeypress') - @DocsEditable() - @Experimental() // untriaged Stream get onKeyPress => keyPressEvent.forTarget(this); - @DomName('GlobalEventHandlers.onkeyup') - @DocsEditable() - @Experimental() // untriaged Stream get onKeyUp => keyUpEvent.forTarget(this); - @DomName('GlobalEventHandlers.onload') - @DocsEditable() - @Experimental() // untriaged Stream get onLoad => loadEvent.forTarget(this); - @DomName('GlobalEventHandlers.onloadeddata') - @DocsEditable() - @Experimental() // untriaged Stream get onLoadedData => loadedDataEvent.forTarget(this); - @DomName('GlobalEventHandlers.onloadedmetadata') - @DocsEditable() - @Experimental() // untriaged Stream get onLoadedMetadata => loadedMetadataEvent.forTarget(this); - @DomName('GlobalEventHandlers.onmousedown') - @DocsEditable() - @Experimental() // untriaged Stream get onMouseDown => mouseDownEvent.forTarget(this); - @DomName('GlobalEventHandlers.onmouseenter') - @DocsEditable() - @Experimental() // untriaged Stream get onMouseEnter => mouseEnterEvent.forTarget(this); - @DomName('GlobalEventHandlers.onmouseleave') - @DocsEditable() - @Experimental() // untriaged Stream get onMouseLeave => mouseLeaveEvent.forTarget(this); - @DomName('GlobalEventHandlers.onmousemove') - @DocsEditable() - @Experimental() // untriaged Stream get onMouseMove => mouseMoveEvent.forTarget(this); - @DomName('GlobalEventHandlers.onmouseout') - @DocsEditable() - @Experimental() // untriaged Stream get onMouseOut => mouseOutEvent.forTarget(this); - @DomName('GlobalEventHandlers.onmouseover') - @DocsEditable() - @Experimental() // untriaged Stream get onMouseOver => mouseOverEvent.forTarget(this); - @DomName('GlobalEventHandlers.onmouseup') - @DocsEditable() - @Experimental() // untriaged Stream get onMouseUp => mouseUpEvent.forTarget(this); - @DomName('GlobalEventHandlers.onmousewheel') - @DocsEditable() - @Experimental() // untriaged Stream get onMouseWheel => mouseWheelEvent.forTarget(this); - @DomName('GlobalEventHandlers.onpause') - @DocsEditable() - @Experimental() // untriaged Stream get onPause => pauseEvent.forTarget(this); - @DomName('GlobalEventHandlers.onplay') - @DocsEditable() - @Experimental() // untriaged Stream get onPlay => playEvent.forTarget(this); - @DomName('GlobalEventHandlers.onplaying') - @DocsEditable() - @Experimental() // untriaged Stream get onPlaying => playingEvent.forTarget(this); - @DomName('GlobalEventHandlers.onratechange') - @DocsEditable() - @Experimental() // untriaged Stream get onRateChange => rateChangeEvent.forTarget(this); - @DomName('GlobalEventHandlers.onreset') - @DocsEditable() - @Experimental() // untriaged Stream get onReset => resetEvent.forTarget(this); - @DomName('GlobalEventHandlers.onresize') - @DocsEditable() - @Experimental() // untriaged Stream get onResize => resizeEvent.forTarget(this); - @DomName('GlobalEventHandlers.onscroll') - @DocsEditable() - @Experimental() // untriaged Stream get onScroll => scrollEvent.forTarget(this); - @DomName('GlobalEventHandlers.onseeked') - @DocsEditable() - @Experimental() // untriaged Stream get onSeeked => seekedEvent.forTarget(this); - @DomName('GlobalEventHandlers.onseeking') - @DocsEditable() - @Experimental() // untriaged Stream get onSeeking => seekingEvent.forTarget(this); - @DomName('GlobalEventHandlers.onselect') - @DocsEditable() - @Experimental() // untriaged Stream get onSelect => selectEvent.forTarget(this); - @DomName('GlobalEventHandlers.onstalled') - @DocsEditable() - @Experimental() // untriaged Stream get onStalled => stalledEvent.forTarget(this); - @DomName('GlobalEventHandlers.onsubmit') - @DocsEditable() - @Experimental() // untriaged Stream get onSubmit => submitEvent.forTarget(this); - @DomName('GlobalEventHandlers.onsuspend') - @DocsEditable() - @Experimental() // untriaged Stream get onSuspend => suspendEvent.forTarget(this); - @DomName('GlobalEventHandlers.ontimeupdate') - @DocsEditable() - @Experimental() // untriaged Stream get onTimeUpdate => timeUpdateEvent.forTarget(this); - @DomName('GlobalEventHandlers.ontouchcancel') - @DocsEditable() - @Experimental() // untriaged Stream get onTouchCancel => touchCancelEvent.forTarget(this); - @DomName('GlobalEventHandlers.ontouchend') - @DocsEditable() - @Experimental() // untriaged Stream get onTouchEnd => touchEndEvent.forTarget(this); - @DomName('GlobalEventHandlers.ontouchmove') - @DocsEditable() - @Experimental() // untriaged Stream get onTouchMove => touchMoveEvent.forTarget(this); - @DomName('GlobalEventHandlers.ontouchstart') - @DocsEditable() - @Experimental() // untriaged Stream get onTouchStart => touchStartEvent.forTarget(this); - @DomName('GlobalEventHandlers.onvolumechange') - @DocsEditable() - @Experimental() // untriaged Stream get onVolumeChange => volumeChangeEvent.forTarget(this); - @DomName('GlobalEventHandlers.onwaiting') - @DocsEditable() - @Experimental() // untriaged Stream get onWaiting => waitingEvent.forTarget(this); - @DomName('GlobalEventHandlers.onwheel') - @DocsEditable() - @Experimental() // untriaged Stream get onWheel => wheelEvent.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('Gyroscope') -@Experimental() // untriaged @Native("Gyroscope") class Gyroscope extends Sensor { // To suppress missing implicit constructor warnings. @@ -21554,8 +16464,6 @@ class Gyroscope extends Sensor { throw new UnsupportedError("Not supported"); } - @DomName('Gyroscope.Gyroscope') - @DocsEditable() factory Gyroscope([Map sensorOptions]) { if (sensorOptions != null) { var sensorOptions_1 = convertDartToNative_Dictionary(sensorOptions); @@ -21567,30 +16475,19 @@ class Gyroscope extends Sensor { JS('Gyroscope', 'new Gyroscope(#)', sensorOptions); static Gyroscope _create_2() => JS('Gyroscope', 'new Gyroscope()'); - @DomName('Gyroscope.x') - @DocsEditable() - @Experimental() // untriaged final num x; - @DomName('Gyroscope.y') - @DocsEditable() - @Experimental() // untriaged final num y; - @DomName('Gyroscope.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() /** * An `
` tag. */ -@DomName('HTMLHRElement') @Native("HTMLHRElement") class HRElement extends HtmlElement { // To suppress missing implicit constructor warnings. @@ -21598,8 +16495,6 @@ class HRElement extends HtmlElement { throw new UnsupportedError("Not supported"); } - @DomName('HTMLHRElement.HTMLHRElement') - @DocsEditable() factory HRElement() => JS('returns:HRElement;creates:HRElement;new:true', '#.createElement(#)', document, "hr"); /** @@ -21609,9 +16504,6 @@ class HRElement extends HtmlElement { */ HRElement.created() : super.created(); - @DomName('HTMLHRElement.color') - @DocsEditable() - @Experimental() // untriaged String color; } // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file @@ -21620,7 +16512,6 @@ class HRElement extends HtmlElement { // WARNING: Do not edit - generated code. -@DomName('HashChangeEvent') @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.FIREFOX) @SupportedBrowser(SupportedBrowser.SAFARI) @@ -21642,8 +16533,6 @@ class HashChangeEvent extends Event { convertDartToNative_Dictionary(options)); } - @DomName('HashChangeEvent.HashChangeEvent') - @DocsEditable() factory HashChangeEvent._(String type, [Map eventInitDict]) { if (eventInitDict != null) { var eventInitDict_1 = convertDartToNative_Dictionary(eventInitDict); @@ -21660,21 +16549,15 @@ class HashChangeEvent extends Event { static bool get supported => Device.isEventTypeSupported('HashChangeEvent'); @JSName('newURL') - @DomName('HashChangeEvent.newURL') - @DocsEditable() final String newUrl; @JSName('oldURL') - @DomName('HashChangeEvent.oldURL') - @DocsEditable() final String oldUrl; } // Copyright (c) 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('HTMLHeadElement') @Native("HTMLHeadElement") class HeadElement extends HtmlElement { // To suppress missing implicit constructor warnings. @@ -21682,8 +16565,6 @@ class HeadElement extends HtmlElement { throw new UnsupportedError("Not supported"); } - @DomName('HTMLHeadElement.HTMLHeadElement') - @DocsEditable() factory HeadElement() => JS( 'returns:HeadElement;creates:HeadElement;new:true', '#.createElement(#)', @@ -21700,9 +16581,6 @@ class HeadElement 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('Headers') -@Experimental() // untriaged @Native("Headers") class Headers extends Interceptor { // To suppress missing implicit constructor warnings. @@ -21710,8 +16588,6 @@ class Headers extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('Headers.Headers') - @DocsEditable() factory Headers([Object init]) { if (init != null) { return Headers._create_1(init); @@ -21725,8 +16601,6 @@ class Headers 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('HTMLHeadingElement') @Native("HTMLHeadingElement") class HeadingElement extends HtmlElement { // To suppress missing implicit constructor warnings. @@ -21734,48 +16608,36 @@ class HeadingElement extends HtmlElement { throw new UnsupportedError("Not supported"); } - @DomName('HTMLHeadingElement.HTMLHeadingElement') - @DocsEditable() factory HeadingElement.h1() => JS( 'returns:HeadingElement;creates:HeadingElement;new:true', '#.createElement(#)', document, "h1"); - @DomName('HTMLHeadingElement.HTMLHeadingElement') - @DocsEditable() factory HeadingElement.h2() => JS( 'returns:HeadingElement;creates:HeadingElement;new:true', '#.createElement(#)', document, "h2"); - @DomName('HTMLHeadingElement.HTMLHeadingElement') - @DocsEditable() factory HeadingElement.h3() => JS( 'returns:HeadingElement;creates:HeadingElement;new:true', '#.createElement(#)', document, "h3"); - @DomName('HTMLHeadingElement.HTMLHeadingElement') - @DocsEditable() factory HeadingElement.h4() => JS( 'returns:HeadingElement;creates:HeadingElement;new:true', '#.createElement(#)', document, "h4"); - @DomName('HTMLHeadingElement.HTMLHeadingElement') - @DocsEditable() factory HeadingElement.h5() => JS( 'returns:HeadingElement;creates:HeadingElement;new:true', '#.createElement(#)', document, "h5"); - @DomName('HTMLHeadingElement.HTMLHeadingElement') - @DocsEditable() factory HeadingElement.h6() => JS( 'returns:HeadingElement;creates:HeadingElement;new:true', '#.createElement(#)', @@ -21792,7 +16654,6 @@ class HeadingElement 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. -@DomName('History') @Native("History") class History extends Interceptor implements HistoryBase { /** @@ -21810,40 +16671,23 @@ class History extends Interceptor implements HistoryBase { throw new UnsupportedError("Not supported"); } - @DomName('History.length') - @DocsEditable() final int length; - @DomName('History.scrollRestoration') - @DocsEditable() - @Experimental() // untriaged String scrollRestoration; - @DomName('History.state') - @DocsEditable() dynamic get state => convertNativeToDart_SerializedScriptValue(this._get_state); @JSName('state') - @DomName('History.state') - @DocsEditable() @annotation_Creates_SerializedScriptValue @annotation_Returns_SerializedScriptValue final dynamic _get_state; - @DomName('History.back') - @DocsEditable() void back() native; - @DomName('History.forward') - @DocsEditable() void forward() native; - @DomName('History.go') - @DocsEditable() void go([int delta]) native; - @DomName('History.pushState') - @DocsEditable() @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.FIREFOX) @SupportedBrowser(SupportedBrowser.IE, '10') @@ -21855,16 +16699,12 @@ class History extends Interceptor implements HistoryBase { } @JSName('pushState') - @DomName('History.pushState') - @DocsEditable() @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.FIREFOX) @SupportedBrowser(SupportedBrowser.IE, '10') @SupportedBrowser(SupportedBrowser.SAFARI) void _pushState_1(data, title, url) native; - @DomName('History.replaceState') - @DocsEditable() @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.FIREFOX) @SupportedBrowser(SupportedBrowser.IE, '10') @@ -21876,8 +16716,6 @@ class History extends Interceptor implements HistoryBase { } @JSName('replaceState') - @DomName('History.replaceState') - @DocsEditable() @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.FIREFOX) @SupportedBrowser(SupportedBrowser.IE, '10') @@ -21888,8 +16726,6 @@ class History extends Interceptor implements HistoryBase { // 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('HTMLCollection') @Native("HTMLCollection") class HtmlCollection extends Interceptor with ListMixin, ImmutableListMixin @@ -21899,8 +16735,6 @@ class HtmlCollection extends Interceptor throw new UnsupportedError("Not supported"); } - @DomName('HTMLCollection.length') - @DocsEditable() int get length => JS("int", "#.length", this); Node operator [](int index) { @@ -21946,12 +16780,8 @@ class HtmlCollection extends Interceptor Node elementAt(int index) => this[index]; // -- end List mixins. - @DomName('HTMLCollection.item') - @DocsEditable() Node item(int index) native; - @DomName('HTMLCollection.namedItem') - @DocsEditable() Object namedItem(String name) native; } // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file @@ -21960,7 +16790,6 @@ class HtmlCollection extends Interceptor // WARNING: Do not edit - generated code. -@DomName('HTMLDocument') @Native("HTMLDocument") class HtmlDocument extends Document { // To suppress missing implicit constructor warnings. @@ -21968,46 +16797,35 @@ class HtmlDocument extends Document { throw new UnsupportedError("Not supported"); } - @DomName('Document.body') BodyElement body; /// UNSTABLE: Chrome-only - create a Range from the given point. - @DomName('Document.caretRangeFromPoint') @Unstable() Range caretRangeFromPoint(int x, int y) { return _caretRangeFromPoint(x, y); } - @DomName('Document.elementFromPoint') Element elementFromPoint(int x, int y) { return _elementFromPoint(x, y); } - @DomName('Document.head') HeadElement get head => _head; - @DomName('Document.lastModified') String get lastModified => _lastModified; - @DomName('Document.preferredStylesheetSet') String get preferredStylesheetSet => _preferredStylesheetSet; - @DomName('Document.referrer') String get referrer => _referrer; - @DomName('Document.selectedStylesheetSet') String get selectedStylesheetSet => _selectedStylesheetSet; set selectedStylesheetSet(String value) { _selectedStylesheetSet = value; } - @DomName('Document.styleSheets') List get styleSheets => _styleSheets; - @DomName('Document.title') String get title => _title; - @DomName('Document.title') set title(String value) { _title = value; } @@ -22024,15 +16842,12 @@ class HtmlDocument extends Document { * from WebPlatform.org. * * [Fullscreen specification](http://www.w3.org/TR/fullscreen/) from W3C. */ - @DomName('Document.webkitExitFullscreen') @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.SAFARI) - @Experimental() void exitFullscreen() { _webkitExitFullscreen(); } - @Experimental() /** * Register a custom subclass of Element to be instantiatable by the DOM. * @@ -22080,7 +16895,6 @@ class HtmlDocument extends Document { /** *Deprecated*: use [registerElement] instead. */ @deprecated - @Experimental() void register(String tag, Type customElementClass, {String extendsTag}) { return registerElement(tag, customElementClass, extendsTag: extendsTag); } @@ -22091,11 +16905,9 @@ class HtmlDocument extends Document { * * See [EventStreamProvider] for usage information. */ - @DomName('Document.visibilityChange') @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.FIREFOX) @SupportedBrowser(SupportedBrowser.IE, '10') - @Experimental() static const EventStreamProvider visibilityChangeEvent = const _CustomEventStreamProvider( _determineVisibilityChangeEventType); @@ -22117,7 +16929,6 @@ class HtmlDocument extends Document { @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.FIREFOX) @SupportedBrowser(SupportedBrowser.IE, '10') - @Experimental() Stream get onVisibilityChange => visibilityChangeEvent.forTarget(this); /// Creates an element upgrader which can be used to change the Dart wrapper @@ -22128,7 +16939,6 @@ class HtmlDocument extends Document { /// /// If the type is not a direct subclass of HtmlElement then the extendsTag /// parameter must be provided. - @Experimental() ElementUpgrader createElementUpgrader(Type type, {String extendsTag}) { return new _JSElementUpgrader(this, type, extendsTag); } @@ -22137,8 +16947,6 @@ class HtmlDocument extends Document { // 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('HTMLFormControlsCollection') @Native("HTMLFormControlsCollection") class HtmlFormControlsCollection extends HtmlCollection { // To suppress missing implicit constructor warnings. @@ -22146,21 +16954,14 @@ class HtmlFormControlsCollection extends HtmlCollection { throw new UnsupportedError("Not supported"); } - @DomName('HTMLFormControlsCollection.item') - @DocsEditable() - @Experimental() // untriaged Node item(int index) native; - @DomName('HTMLFormControlsCollection.namedItem') - @DocsEditable() Object namedItem(String name) 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('HTMLHtmlElement') @Native("HTMLHtmlElement") class HtmlHtmlElement extends HtmlElement { // To suppress missing implicit constructor warnings. @@ -22168,8 +16969,6 @@ class HtmlHtmlElement extends HtmlElement { throw new UnsupportedError("Not supported"); } - @DomName('HTMLHtmlElement.HTMLHtmlElement') - @DocsEditable() factory HtmlHtmlElement() => JS( 'returns:HtmlHtmlElement;creates:HtmlHtmlElement;new:true', '#.createElement(#)', @@ -22186,9 +16985,6 @@ class HtmlHtmlElement 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('HTMLHyperlinkElementUtils') -@Experimental() // untriaged @Native("HTMLHyperlinkElementUtils") class HtmlHyperlinkElementUtils extends Interceptor { // To suppress missing implicit constructor warnings. @@ -22196,67 +16992,32 @@ class HtmlHyperlinkElementUtils extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('HTMLHyperlinkElementUtils.hash') - @DocsEditable() - @Experimental() // untriaged String hash; - @DomName('HTMLHyperlinkElementUtils.host') - @DocsEditable() - @Experimental() // untriaged String host; - @DomName('HTMLHyperlinkElementUtils.hostname') - @DocsEditable() - @Experimental() // untriaged String hostname; - @DomName('HTMLHyperlinkElementUtils.href') - @DocsEditable() - @Experimental() // untriaged String href; - @DomName('HTMLHyperlinkElementUtils.origin') - @DocsEditable() - @Experimental() // untriaged final String origin; - @DomName('HTMLHyperlinkElementUtils.password') - @DocsEditable() - @Experimental() // untriaged String password; - @DomName('HTMLHyperlinkElementUtils.pathname') - @DocsEditable() - @Experimental() // untriaged String pathname; - @DomName('HTMLHyperlinkElementUtils.port') - @DocsEditable() - @Experimental() // untriaged String port; - @DomName('HTMLHyperlinkElementUtils.protocol') - @DocsEditable() - @Experimental() // untriaged String protocol; - @DomName('HTMLHyperlinkElementUtils.search') - @DocsEditable() - @Experimental() // untriaged String search; - @DomName('HTMLHyperlinkElementUtils.username') - @DocsEditable() - @Experimental() // untriaged String username; } // Copyright (c) 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('HTMLOptionsCollection') @Native("HTMLOptionsCollection") class HtmlOptionsCollection extends HtmlCollection { // To suppress missing implicit constructor warnings. @@ -22265,9 +17026,6 @@ class HtmlOptionsCollection extends HtmlCollection { } @JSName('item') - @DomName('HTMLOptionsCollection.item') - @DocsEditable() - @Experimental() // untriaged Element _item(int index) native; } // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file @@ -22321,7 +17079,6 @@ class HtmlOptionsCollection extends HtmlCollection { * * [JS XMLHttpRequest](https://developer.mozilla.org/en-US/docs/DOM/XMLHttpRequest) * * [Using XMLHttpRequest](https://developer.mozilla.org/en-US/docs/DOM/XMLHttpRequest/Using_XMLHttpRequest) */ -@DomName('XMLHttpRequest') @Native("XMLHttpRequest") class HttpRequest extends HttpRequestEventTarget { /** @@ -22571,7 +17328,6 @@ class HttpRequest extends HttpRequestEventTarget { * This API provides a subset of [request] which works on IE9. If IE9 * cross-origin support is not required then [request] should be used instead. */ - @Experimental() static Future requestCrossOrigin(String url, {String method, String sendData}) { if (supportsCrossOrigin) { @@ -22668,8 +17424,6 @@ class HttpRequest extends HttpRequestEventTarget { * `open` method is intended only for more complex HTTP requests where * finer-grained control is needed. */ - @DomName('XMLHttpRequest.open') - @DocsEditable() void open(String method, String url, {bool async, String user, String password}) native; @@ -22684,8 +17438,6 @@ class HttpRequest extends HttpRequestEventTarget { * * See [EventStreamProvider] for usage information. */ - @DomName('XMLHttpRequest.readystatechangeEvent') - @DocsEditable() static const EventStreamProvider readyStateChangeEvent = const EventStreamProvider('readystatechange'); @@ -22705,31 +17457,19 @@ class HttpRequest extends HttpRequestEventTarget { * HttpRequest.getString('http://dartlang.org').then( * (result) => print('Request complete: $result')); */ - @DomName('XMLHttpRequest.XMLHttpRequest') - @DocsEditable() factory HttpRequest() { return HttpRequest._create_1(); } static HttpRequest _create_1() => JS('HttpRequest', 'new XMLHttpRequest()'); - @DomName('XMLHttpRequest.DONE') - @DocsEditable() static const int DONE = 4; - @DomName('XMLHttpRequest.HEADERS_RECEIVED') - @DocsEditable() static const int HEADERS_RECEIVED = 2; - @DomName('XMLHttpRequest.LOADING') - @DocsEditable() static const int LOADING = 3; - @DomName('XMLHttpRequest.OPENED') - @DocsEditable() static const int OPENED = 1; - @DomName('XMLHttpRequest.UNSENT') - @DocsEditable() static const int UNSENT = 0; /** @@ -22764,8 +17504,6 @@ class HttpRequest extends HttpRequestEventTarget { * * */ - @DomName('XMLHttpRequest.readyState') - @DocsEditable() final int readyState; /** @@ -22775,8 +17513,6 @@ class HttpRequest extends HttpRequestEventTarget { * form of a [String], [ByteBuffer], [Document], [Blob], or json (also a * [String]). `null` indicates request failure. */ - @DomName('XMLHttpRequest.response') - @DocsEditable() @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.FIREFOX) @SupportedBrowser(SupportedBrowser.IE, '10') @@ -22790,8 +17526,6 @@ class HttpRequest extends HttpRequestEventTarget { * form of a [String], [ByteBuffer], [Document], [Blob], or json (also a * [String]). `null` indicates request failure. */ - @DomName('XMLHttpRequest.response') - @DocsEditable() @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.FIREFOX) @SupportedBrowser(SupportedBrowser.IE, '10') @@ -22803,8 +17537,6 @@ class HttpRequest extends HttpRequestEventTarget { /** * The response in String form or empty String on failure. */ - @DomName('XMLHttpRequest.responseText') - @DocsEditable() final String responseText; /** @@ -22818,14 +17550,9 @@ class HttpRequest extends HttpRequestEventTarget { * See also: [MDN * responseType](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest#xmlhttprequest-responsetype) */ - @DomName('XMLHttpRequest.responseType') - @DocsEditable() String responseType; @JSName('responseURL') - @DomName('XMLHttpRequest.responseURL') - @DocsEditable() - @Experimental() // untriaged final String responseUrl; @JSName('responseXML') @@ -22836,24 +17563,18 @@ class HttpRequest extends HttpRequestEventTarget { * `text/xml` stream, unless responseType = 'document' and the request is * synchronous. */ - @DomName('XMLHttpRequest.responseXML') - @DocsEditable() final Document responseXml; /** * The HTTP result code from the request (200, 404, etc). * See also: [HTTP Status Codes](http://en.wikipedia.org/wiki/List_of_HTTP_status_codes) */ - @DomName('XMLHttpRequest.status') - @DocsEditable() final int status; /** * The request response string (such as \"200 OK\"). * See also: [HTTP Status Codes](http://en.wikipedia.org/wiki/List_of_HTTP_status_codes) */ - @DomName('XMLHttpRequest.statusText') - @DocsEditable() final String statusText; /** @@ -22871,17 +17592,12 @@ class HttpRequest extends HttpRequestEventTarget { * * [The timeout attribute](http://www.w3.org/TR/XMLHttpRequest/#the-timeout-attribute) * from W3C. */ - @DomName('XMLHttpRequest.timeout') - @DocsEditable() - @Experimental() // untriaged int timeout; /** * [EventTarget] that can hold listeners to track the progress of the request. * The events fired will be members of [HttpRequestUploadEvents]. */ - @DomName('XMLHttpRequest.upload') - @DocsEditable() @Unstable() final HttpRequestUpload upload; @@ -22891,8 +17607,6 @@ class HttpRequest extends HttpRequestEventTarget { * * This value is ignored for same-site requests. */ - @DomName('XMLHttpRequest.withCredentials') - @DocsEditable() bool withCredentials; /** @@ -22902,8 +17616,6 @@ class HttpRequest extends HttpRequestEventTarget { * `LOADING`. If this method is not in the process of being sent, the method * has no effect. */ - @DomName('XMLHttpRequest.abort') - @DocsEditable() void abort() native; /** @@ -22917,8 +17629,6 @@ class HttpRequest extends HttpRequestEventTarget { * headers](https://en.wikipedia.org/wiki/List_of_HTTP_header_fields#Response_fields) * for a list of common response headers. */ - @DomName('XMLHttpRequest.getAllResponseHeaders') - @DocsEditable() @Unstable() String getAllResponseHeaders() native; @@ -22929,8 +17639,6 @@ class HttpRequest extends HttpRequestEventTarget { * headers](https://en.wikipedia.org/wiki/List_of_HTTP_header_fields#Response_fields) * for a list of common response headers. */ - @DomName('XMLHttpRequest.getResponseHeader') - @DocsEditable() @Unstable() String getResponseHeader(String name) native; @@ -22941,8 +17649,6 @@ class HttpRequest extends HttpRequestEventTarget { * This value must be set before the request has been sent. See also the list * of [IANA Official MIME types](https://www.iana.org/assignments/media-types/media-types.xhtml) */ - @DomName('XMLHttpRequest.overrideMimeType') - @DocsEditable() @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.FIREFOX) @SupportedBrowser(SupportedBrowser.SAFARI) @@ -22961,8 +17667,6 @@ class HttpRequest extends HttpRequestEventTarget { * * [XMLHttpRequest.send](https://developer.mozilla.org/en-US/docs/DOM/XMLHttpRequest#send%28%29) * from MDN. */ - @DomName('XMLHttpRequest.send') - @DocsEditable() void send([body_OR_data]) native; /** @@ -22982,8 +17686,6 @@ class HttpRequest extends HttpRequestEventTarget { * method](http://www.w3.org/TR/XMLHttpRequest/#the-setrequestheader()-method) * from W3C. */ - @DomName('XMLHttpRequest.setRequestHeader') - @DocsEditable() void setRequestHeader(String name, String value) native; /// Stream of `readystatechange` events handled by this [HttpRequest]. @@ -22991,17 +17693,12 @@ class HttpRequest extends HttpRequestEventTarget { * Event listeners to be notified every time the [HttpRequest] * object's `readyState` changes values. */ - @DomName('XMLHttpRequest.onreadystatechange') - @DocsEditable() Stream get onReadyStateChange => readyStateChangeEvent.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('XMLHttpRequestEventTarget') -@Experimental() // untriaged @Native("XMLHttpRequestEventTarget") class HttpRequestEventTarget extends EventTarget { // To suppress missing implicit constructor warnings. @@ -23015,9 +17712,6 @@ class HttpRequestEventTarget extends EventTarget { * * See [EventStreamProvider] for usage information. */ - @DomName('XMLHttpRequestEventTarget.abortEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider abortEvent = const EventStreamProvider('abort'); @@ -23027,9 +17721,6 @@ class HttpRequestEventTarget extends EventTarget { * * See [EventStreamProvider] for usage information. */ - @DomName('XMLHttpRequestEventTarget.errorEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider errorEvent = const EventStreamProvider('error'); @@ -23039,9 +17730,6 @@ class HttpRequestEventTarget extends EventTarget { * * See [EventStreamProvider] for usage information. */ - @DomName('XMLHttpRequestEventTarget.loadEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider loadEvent = const EventStreamProvider('load'); @@ -23051,9 +17739,6 @@ class HttpRequestEventTarget extends EventTarget { * * See [EventStreamProvider] for usage information. */ - @DomName('XMLHttpRequestEventTarget.loadendEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider loadEndEvent = const EventStreamProvider('loadend'); @@ -23063,9 +17748,6 @@ class HttpRequestEventTarget extends EventTarget { * * See [EventStreamProvider] for usage information. */ - @DomName('XMLHttpRequestEventTarget.loadstartEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider loadStartEvent = const EventStreamProvider('loadstart'); @@ -23075,9 +17757,6 @@ class HttpRequestEventTarget extends EventTarget { * * See [EventStreamProvider] for usage information. */ - @DomName('XMLHttpRequestEventTarget.progressEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider progressEvent = const EventStreamProvider('progress'); @@ -23087,70 +17766,42 @@ class HttpRequestEventTarget extends EventTarget { * * See [EventStreamProvider] for usage information. */ - @DomName('XMLHttpRequestEventTarget.timeoutEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider timeoutEvent = const EventStreamProvider('timeout'); /// Stream of `abort` events handled by this [HttpRequestEventTarget]. - @DomName('XMLHttpRequestEventTarget.onabort') - @DocsEditable() - @Experimental() // untriaged Stream get onAbort => abortEvent.forTarget(this); /// Stream of `error` events handled by this [HttpRequestEventTarget]. - @DomName('XMLHttpRequestEventTarget.onerror') - @DocsEditable() - @Experimental() // untriaged Stream get onError => errorEvent.forTarget(this); /// Stream of `load` events handled by this [HttpRequestEventTarget]. - @DomName('XMLHttpRequestEventTarget.onload') - @DocsEditable() - @Experimental() // untriaged Stream get onLoad => loadEvent.forTarget(this); /// Stream of `loadend` events handled by this [HttpRequestEventTarget]. - @DomName('XMLHttpRequestEventTarget.onloadend') - @DocsEditable() @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.FIREFOX) @SupportedBrowser(SupportedBrowser.IE, '10') @SupportedBrowser(SupportedBrowser.SAFARI) - @Experimental() // untriaged Stream get onLoadEnd => loadEndEvent.forTarget(this); /// Stream of `loadstart` events handled by this [HttpRequestEventTarget]. - @DomName('XMLHttpRequestEventTarget.onloadstart') - @DocsEditable() - @Experimental() // untriaged Stream get onLoadStart => loadStartEvent.forTarget(this); /// Stream of `progress` events handled by this [HttpRequestEventTarget]. - @DomName('XMLHttpRequestEventTarget.onprogress') - @DocsEditable() @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.FIREFOX) @SupportedBrowser(SupportedBrowser.IE, '10') @SupportedBrowser(SupportedBrowser.SAFARI) - @Experimental() // untriaged Stream get onProgress => progressEvent.forTarget(this); /// Stream of `timeout` events handled by this [HttpRequestEventTarget]. - @DomName('XMLHttpRequestEventTarget.ontimeout') - @DocsEditable() - @Experimental() // untriaged Stream get onTimeout => timeoutEvent.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('XMLHttpRequestUpload') -// http://xhr.spec.whatwg.org/#xmlhttprequestupload -@Experimental() @Native("XMLHttpRequestUpload") class HttpRequestUpload extends HttpRequestEventTarget { // To suppress missing implicit constructor warnings. @@ -23162,8 +17813,6 @@ class HttpRequestUpload extends HttpRequestEventTarget { // 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('HTMLIFrameElement') @Native("HTMLIFrameElement") class IFrameElement extends HtmlElement { // To suppress missing implicit constructor warnings. @@ -23171,8 +17820,6 @@ class IFrameElement extends HtmlElement { throw new UnsupportedError("Not supported"); } - @DomName('HTMLIFrameElement.HTMLIFrameElement') - @DocsEditable() factory IFrameElement() => JS( 'returns:IFrameElement;creates:IFrameElement;new:true', '#.createElement(#)', @@ -23185,73 +17832,39 @@ class IFrameElement extends HtmlElement { */ IFrameElement.created() : super.created(); - @DomName('HTMLIFrameElement.allow') - @DocsEditable() - @Experimental() // untriaged String allow; - @DomName('HTMLIFrameElement.allowFullscreen') - @DocsEditable() - @Experimental() // untriaged bool allowFullscreen; - @DomName('HTMLIFrameElement.allowPaymentRequest') - @DocsEditable() - @Experimental() // untriaged bool allowPaymentRequest; - @DomName('HTMLIFrameElement.contentWindow') - @DocsEditable() WindowBase get contentWindow => _convertNativeToDart_Window(this._get_contentWindow); @JSName('contentWindow') - @DomName('HTMLIFrameElement.contentWindow') - @DocsEditable() @Creates('Window|=Object') @Returns('Window|=Object') final dynamic _get_contentWindow; - @DomName('HTMLIFrameElement.csp') - @DocsEditable() - @Experimental() // untriaged String csp; - @DomName('HTMLIFrameElement.height') - @DocsEditable() String height; - @DomName('HTMLIFrameElement.name') - @DocsEditable() String name; - @DomName('HTMLIFrameElement.referrerPolicy') - @DocsEditable() - @Experimental() // untriaged String referrerPolicy; - @DomName('HTMLIFrameElement.sandbox') - @DocsEditable() final DomTokenList sandbox; - @DomName('HTMLIFrameElement.src') - @DocsEditable() String src; - @DomName('HTMLIFrameElement.srcdoc') - @DocsEditable() String srcdoc; - @DomName('HTMLIFrameElement.width') - @DocsEditable() String 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('IdleDeadline') -@Experimental() // untriaged @Native("IdleDeadline") class IdleDeadline extends Interceptor { // To suppress missing implicit constructor warnings. @@ -23259,14 +17872,8 @@ class IdleDeadline extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('IdleDeadline.didTimeout') - @DocsEditable() - @Experimental() // untriaged final bool didTimeout; - @DomName('IdleDeadline.timeRemaining') - @DocsEditable() - @Experimental() // untriaged double timeRemaining() native; } // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file @@ -23275,16 +17882,11 @@ class IdleDeadline extends Interceptor { // WARNING: Do not edit - generated code. -@DomName('IdleRequestCallback') -@Experimental() // untriaged typedef void IdleRequestCallback(IdleDeadline deadline); // Copyright (c) 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('ImageBitmap') -@Experimental() // untriaged @Native("ImageBitmap") class ImageBitmap extends Interceptor { // To suppress missing implicit constructor warnings. @@ -23292,28 +17894,16 @@ class ImageBitmap extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('ImageBitmap.height') - @DocsEditable() - @Experimental() // untriaged final int height; - @DomName('ImageBitmap.width') - @DocsEditable() - @Experimental() // untriaged final int width; - @DomName('ImageBitmap.close') - @DocsEditable() - @Experimental() // untriaged void close() 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('ImageBitmapRenderingContext') -@Experimental() // untriaged @Native("ImageBitmapRenderingContext") class ImageBitmapRenderingContext extends Interceptor { // To suppress missing implicit constructor warnings. @@ -23321,23 +17911,14 @@ class ImageBitmapRenderingContext extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('ImageBitmapRenderingContext.canvas') - @DocsEditable() - @Experimental() // untriaged final CanvasElement canvas; - @DomName('ImageBitmapRenderingContext.transferFromImageBitmap') - @DocsEditable() - @Experimental() // untriaged void transferFromImageBitmap(ImageBitmap bitmap) 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('ImageCapture') -@Experimental() // untriaged @Native("ImageCapture") class ImageCapture extends Interceptor { // To suppress missing implicit constructor warnings. @@ -23345,55 +17926,32 @@ class ImageCapture extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('ImageCapture.ImageCapture') - @DocsEditable() factory ImageCapture(MediaStreamTrack track) { return ImageCapture._create_1(track); } static ImageCapture _create_1(track) => JS('ImageCapture', 'new ImageCapture(#)', track); - @DomName('ImageCapture.track') - @DocsEditable() - @Experimental() // untriaged final MediaStreamTrack track; - @DomName('ImageCapture.getPhotoCapabilities') - @DocsEditable() - @Experimental() // untriaged Future getPhotoCapabilities() => promiseToFuture( JS("", "#.getPhotoCapabilities()", this)); - @DomName('ImageCapture.getPhotoSettings') - @DocsEditable() - @Experimental() // untriaged Future> getPhotoSettings() => promiseToFutureAsMap(JS("", "#.getPhotoSettings()", this)); - @DomName('ImageCapture.grabFrame') - @DocsEditable() - @Experimental() // untriaged Future grabFrame() => promiseToFuture(JS("", "#.grabFrame()", this)); - @DomName('ImageCapture.setOptions') - @DocsEditable() - @Experimental() // untriaged Future setOptions(Map photoSettings) { var photoSettings_1 = convertDartToNative_Dictionary(photoSettings); return _setOptions_1(photoSettings_1); } @JSName('setOptions') - @DomName('ImageCapture.setOptions') - @DocsEditable() - @Experimental() // untriaged Future _setOptions_1(photoSettings) native; - @DomName('ImageCapture.takePhoto') - @DocsEditable() - @Experimental() // untriaged Future takePhoto([Map photoSettings]) { if (photoSettings != null) { var photoSettings_1 = convertDartToNative_Dictionary(photoSettings); @@ -23403,21 +17961,14 @@ class ImageCapture extends Interceptor { } @JSName('takePhoto') - @DomName('ImageCapture.takePhoto') - @DocsEditable() - @Experimental() // untriaged Future _takePhoto_1(photoSettings) native; @JSName('takePhoto') - @DomName('ImageCapture.takePhoto') - @DocsEditable() - @Experimental() // untriaged Future _takePhoto_2() native; } // Copyright (c) 2013, 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. -@DomName('ImageData') @Native("ImageData") class ImageData extends Interceptor { // To suppress missing implicit constructor warnings. @@ -23425,8 +17976,6 @@ class ImageData extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('ImageData.ImageData') - @DocsEditable() factory ImageData(data_OR_sw, int sh_OR_sw, [int sh]) { if ((sh_OR_sw is int) && (data_OR_sw is int) && sh == null) { return ImageData._create_1(data_OR_sw, sh_OR_sw); @@ -23446,25 +17995,18 @@ class ImageData extends Interceptor { static ImageData _create_3(data_OR_sw, sh_OR_sw, sh) => JS('ImageData', 'new ImageData(#,#,#)', data_OR_sw, sh_OR_sw, sh); - @DomName('ImageData.data') - @DocsEditable() @Creates('NativeUint8ClampedList') @Returns('NativeUint8ClampedList') final Uint8ClampedList data; - @DomName('ImageData.height') - @DocsEditable() final int height; - @DomName('ImageData.width') - @DocsEditable() final int 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 // BSD-style license that can be found in the LICENSE file. -@DomName('HTMLImageElement') @Native("HTMLImageElement") class ImageElement extends HtmlElement implements CanvasImageSource { // To suppress missing implicit constructor warnings. @@ -23472,8 +18014,6 @@ class ImageElement extends HtmlElement implements CanvasImageSource { throw new UnsupportedError("Not supported"); } - @DomName('HTMLImageElement.HTMLImageElement') - @DocsEditable() factory ImageElement({String src, int width, int height}) { ImageElement e = JS('returns:ImageElement;creates:ImageElement;new:true', '#.createElement(#)', document, "img"); @@ -23489,83 +18029,42 @@ class ImageElement extends HtmlElement implements CanvasImageSource { */ ImageElement.created() : super.created(); - @DomName('HTMLImageElement.alt') - @DocsEditable() String alt; - @DomName('HTMLImageElement.async') - @DocsEditable() - @Experimental() // untriaged String async; - @DomName('HTMLImageElement.complete') - @DocsEditable() final bool complete; - @DomName('HTMLImageElement.crossOrigin') - @DocsEditable() String crossOrigin; - @DomName('HTMLImageElement.currentSrc') - @DocsEditable() - @Experimental() // untriaged final String currentSrc; - @DomName('HTMLImageElement.height') - @DocsEditable() int height; - @DomName('HTMLImageElement.isMap') - @DocsEditable() bool isMap; - @DomName('HTMLImageElement.naturalHeight') - @DocsEditable() final int naturalHeight; - @DomName('HTMLImageElement.naturalWidth') - @DocsEditable() final int naturalWidth; - @DomName('HTMLImageElement.referrerPolicy') - @DocsEditable() - @Experimental() // untriaged String referrerPolicy; - @DomName('HTMLImageElement.sizes') - @DocsEditable() - @Experimental() // untriaged String sizes; - @DomName('HTMLImageElement.src') - @DocsEditable() String src; - @DomName('HTMLImageElement.srcset') - @DocsEditable() - @Experimental() // untriaged String srcset; - @DomName('HTMLImageElement.useMap') - @DocsEditable() String useMap; - @DomName('HTMLImageElement.width') - @DocsEditable() int width; - @DomName('HTMLImageElement.decode') - @DocsEditable() - @Experimental() // untriaged Future decode() => promiseToFuture(JS("", "#.decode()", 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('InputDeviceCapabilities') -@Experimental() // untriaged @Native("InputDeviceCapabilities") class InputDeviceCapabilities extends Interceptor { // To suppress missing implicit constructor warnings. @@ -23573,8 +18072,6 @@ class InputDeviceCapabilities extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('InputDeviceCapabilities.InputDeviceCapabilities') - @DocsEditable() factory InputDeviceCapabilities([Map deviceInitDict]) { if (deviceInitDict != null) { var deviceInitDict_1 = convertDartToNative_Dictionary(deviceInitDict); @@ -23589,16 +18086,12 @@ class InputDeviceCapabilities extends Interceptor { static InputDeviceCapabilities _create_2() => JS('InputDeviceCapabilities', 'new InputDeviceCapabilities()'); - @DomName('InputDeviceCapabilities.firesTouchEvents') - @DocsEditable() - @Experimental() // untriaged final bool firesTouchEvents; } // Copyright (c) 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. -@DomName('HTMLInputElement') @Native("HTMLInputElement") class InputElement extends HtmlElement implements @@ -23645,194 +18138,99 @@ class InputElement extends HtmlElement */ InputElement.created() : super.created(); - @DomName('HTMLInputElement.accept') - @DocsEditable() String accept; - @DomName('HTMLInputElement.alt') - @DocsEditable() String alt; - @DomName('HTMLInputElement.autocapitalize') - @DocsEditable() - @Experimental() // untriaged String autocapitalize; - @DomName('HTMLInputElement.autocomplete') - @DocsEditable() String autocomplete; - @DomName('HTMLInputElement.autofocus') - @DocsEditable() bool autofocus; - @DomName('HTMLInputElement.capture') - @DocsEditable() - @Experimental() // untriaged String capture; - @DomName('HTMLInputElement.checked') - @DocsEditable() bool checked; - @DomName('HTMLInputElement.defaultChecked') - @DocsEditable() bool defaultChecked; - @DomName('HTMLInputElement.defaultValue') - @DocsEditable() String defaultValue; - @DomName('HTMLInputElement.dirName') - @DocsEditable() String dirName; - @DomName('HTMLInputElement.disabled') - @DocsEditable() bool disabled; - @DomName('HTMLInputElement.files') - @DocsEditable() @Returns('FileList|Null') @Creates('FileList') List files; - @DomName('HTMLInputElement.form') - @DocsEditable() final FormElement form; - @DomName('HTMLInputElement.formAction') - @DocsEditable() String formAction; - @DomName('HTMLInputElement.formEnctype') - @DocsEditable() String formEnctype; - @DomName('HTMLInputElement.formMethod') - @DocsEditable() String formMethod; - @DomName('HTMLInputElement.formNoValidate') - @DocsEditable() bool formNoValidate; - @DomName('HTMLInputElement.formTarget') - @DocsEditable() String formTarget; - @DomName('HTMLInputElement.height') - @DocsEditable() int height; - @DomName('HTMLInputElement.incremental') - @DocsEditable() - // http://www.w3.org/TR/html-markup/input.search.html - @Experimental() bool incremental; - @DomName('HTMLInputElement.indeterminate') - @DocsEditable() bool indeterminate; - @DomName('HTMLInputElement.labels') - @DocsEditable() @Returns('NodeList|Null') @Creates('NodeList') final List labels; - @DomName('HTMLInputElement.list') - @DocsEditable() final HtmlElement list; - @DomName('HTMLInputElement.max') - @DocsEditable() String max; - @DomName('HTMLInputElement.maxLength') - @DocsEditable() int maxLength; - @DomName('HTMLInputElement.min') - @DocsEditable() String min; - @DomName('HTMLInputElement.minLength') - @DocsEditable() - @Experimental() // untriaged int minLength; - @DomName('HTMLInputElement.multiple') - @DocsEditable() bool multiple; - @DomName('HTMLInputElement.name') - @DocsEditable() String name; - @DomName('HTMLInputElement.pattern') - @DocsEditable() String pattern; - @DomName('HTMLInputElement.placeholder') - @DocsEditable() String placeholder; - @DomName('HTMLInputElement.readOnly') - @DocsEditable() bool readOnly; - @DomName('HTMLInputElement.required') - @DocsEditable() bool required; - @DomName('HTMLInputElement.selectionDirection') - @DocsEditable() String selectionDirection; - @DomName('HTMLInputElement.selectionEnd') - @DocsEditable() int selectionEnd; - @DomName('HTMLInputElement.selectionStart') - @DocsEditable() int selectionStart; - @DomName('HTMLInputElement.size') - @DocsEditable() int size; - @DomName('HTMLInputElement.src') - @DocsEditable() String src; - @DomName('HTMLInputElement.step') - @DocsEditable() String step; - @DomName('HTMLInputElement.type') - @DocsEditable() String type; - @DomName('HTMLInputElement.validationMessage') - @DocsEditable() final String validationMessage; - @DomName('HTMLInputElement.validity') - @DocsEditable() final ValidityState validity; - @DomName('HTMLInputElement.value') - @DocsEditable() String value; - @DomName('HTMLInputElement.valueAsDate') - @DocsEditable() DateTime get valueAsDate => convertNativeToDart_DateTime(this._get_valueAsDate); @JSName('valueAsDate') - @DomName('HTMLInputElement.valueAsDate') - @DocsEditable() @Creates('Null') final dynamic _get_valueAsDate; @@ -23844,70 +18242,37 @@ class InputElement extends HtmlElement JS("void", "#.valueAsDate = #", this, value); } - @DomName('HTMLInputElement.valueAsNumber') - @DocsEditable() num valueAsNumber; @JSName('webkitEntries') - @DomName('HTMLInputElement.webkitEntries') - @DocsEditable() @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.SAFARI) - @Experimental() - // http://www.whatwg.org/specs/web-apps/current-work/multipage/states-of-the-type-attribute.html#concept-input-type-file-selected final List entries; @JSName('webkitdirectory') - @DomName('HTMLInputElement.webkitdirectory') - @DocsEditable() @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.SAFARI) - @Experimental() - // https://plus.sandbox.google.com/+AddyOsmani/posts/Dk5UhZ6zfF3 bool directory; - @DomName('HTMLInputElement.width') - @DocsEditable() int width; - @DomName('HTMLInputElement.willValidate') - @DocsEditable() final bool willValidate; - @DomName('HTMLInputElement.checkValidity') - @DocsEditable() bool checkValidity() native; - @DomName('HTMLInputElement.reportValidity') - @DocsEditable() - @Experimental() // untriaged bool reportValidity() native; - @DomName('HTMLInputElement.select') - @DocsEditable() void select() native; - @DomName('HTMLInputElement.setCustomValidity') - @DocsEditable() void setCustomValidity(String error) native; - @DomName('HTMLInputElement.setRangeText') - @DocsEditable() - // http://www.whatwg.org/specs/web-apps/current-work/multipage/association-of-controls-and-forms.html#dom-textarea/input-setrangetext - @Experimental() // experimental void setRangeText(String replacement, {int start, int end, String selectionMode}) native; - @DomName('HTMLInputElement.setSelectionRange') - @DocsEditable() void setSelectionRange(int start, int end, [String direction]) native; - @DomName('HTMLInputElement.stepDown') - @DocsEditable() void stepDown([int n]) native; - @DomName('HTMLInputElement.stepUp') - @DocsEditable() void stepUp([int n]) native; } @@ -23919,40 +18284,28 @@ class InputElement extends HtmlElement * Exposes the functionality common between all InputElement types. */ abstract class InputElementBase implements Element { - @DomName('HTMLInputElement.autofocus') bool autofocus; - @DomName('HTMLInputElement.disabled') bool disabled; - @DomName('HTMLInputElement.incremental') bool incremental; - @DomName('HTMLInputElement.indeterminate') bool indeterminate; - @DomName('HTMLInputElement.labels') List get labels; - @DomName('HTMLInputElement.name') String name; - @DomName('HTMLInputElement.validationMessage') String get validationMessage; - @DomName('HTMLInputElement.validity') ValidityState get validity; - @DomName('HTMLInputElement.value') String value; - @DomName('HTMLInputElement.willValidate') bool get willValidate; - @DomName('HTMLInputElement.checkValidity') bool checkValidity(); - @DomName('HTMLInputElement.setCustomValidity') void setCustomValidity(String error); } @@ -23967,40 +18320,28 @@ abstract class HiddenInputElement implements InputElementBase { * Base interface for all inputs which involve text editing. */ abstract class TextInputElementBase implements InputElementBase { - @DomName('HTMLInputElement.autocomplete') String autocomplete; - @DomName('HTMLInputElement.maxLength') int maxLength; - @DomName('HTMLInputElement.pattern') String pattern; - @DomName('HTMLInputElement.placeholder') String placeholder; - @DomName('HTMLInputElement.readOnly') bool readOnly; - @DomName('HTMLInputElement.required') bool required; - @DomName('HTMLInputElement.size') int size; - @DomName('HTMLInputElement.select') void select(); - @DomName('HTMLInputElement.selectionDirection') String selectionDirection; - @DomName('HTMLInputElement.selectionEnd') int selectionEnd; - @DomName('HTMLInputElement.selectionStart') int selectionStart; - @DomName('HTMLInputElement.setSelectionRange') void setSelectionRange(int start, int end, [String direction]); } @@ -24017,10 +18358,8 @@ abstract class TextInputElementBase implements InputElementBase { abstract class SearchInputElement implements TextInputElementBase { factory SearchInputElement() => new InputElement(type: 'search'); - @DomName('HTMLInputElement.dirName') String dirName; - @DomName('HTMLInputElement.list') Element get list; /// Returns true if this input type is supported on the current platform. @@ -24035,10 +18374,8 @@ abstract class SearchInputElement implements TextInputElementBase { abstract class TextInputElement implements TextInputElementBase { factory TextInputElement() => new InputElement(type: 'text'); - @DomName('HTMLInputElement.dirName') String dirName; - @DomName('HTMLInputElement.list') Element get list; } @@ -24054,7 +18391,6 @@ abstract class TextInputElement implements TextInputElementBase { abstract class UrlInputElement implements TextInputElementBase { factory UrlInputElement() => new InputElement(type: 'url'); - @DomName('HTMLInputElement.list') Element get list; /// Returns true if this input type is supported on the current platform. @@ -24078,7 +18414,6 @@ abstract class UrlInputElement implements TextInputElementBase { abstract class TelephoneInputElement implements TextInputElementBase { factory TelephoneInputElement() => new InputElement(type: 'tel'); - @DomName('HTMLInputElement.list') Element get list; /// Returns true if this input type is supported on the current platform. @@ -24099,34 +18434,24 @@ abstract class TelephoneInputElement implements TextInputElementBase { abstract class EmailInputElement implements TextInputElementBase { factory EmailInputElement() => new InputElement(type: 'email'); - @DomName('HTMLInputElement.autocomplete') String autocomplete; - @DomName('HTMLInputElement.autofocus') bool autofocus; - @DomName('HTMLInputElement.list') Element get list; - @DomName('HTMLInputElement.maxLength') int maxLength; - @DomName('HTMLInputElement.multiple') bool multiple; - @DomName('HTMLInputElement.pattern') String pattern; - @DomName('HTMLInputElement.placeholder') String placeholder; - @DomName('HTMLInputElement.readOnly') bool readOnly; - @DomName('HTMLInputElement.required') bool required; - @DomName('HTMLInputElement.size') int size; /// Returns true if this input type is supported on the current platform. @@ -24146,25 +18471,18 @@ abstract class PasswordInputElement implements TextInputElementBase { * Base interface for all input element types which involve ranges. */ abstract class RangeInputElementBase implements InputElementBase { - @DomName('HTMLInputElement.list') Element get list; - @DomName('HTMLInputElement.max') String max; - @DomName('HTMLInputElement.min') String min; - @DomName('HTMLInputElement.step') String step; - @DomName('HTMLInputElement.valueAsNumber') num valueAsNumber; - @DomName('HTMLInputElement.stepDown') void stepDown([int n]); - @DomName('HTMLInputElement.stepUp') void stepUp([int n]); } @@ -24174,17 +18492,13 @@ abstract class RangeInputElementBase implements InputElementBase { * Use [supported] to check if this is supported on the current platform. */ @SupportedBrowser(SupportedBrowser.CHROME, '25') -@Experimental() abstract class DateInputElement implements RangeInputElementBase { factory DateInputElement() => new InputElement(type: 'date'); - @DomName('HTMLInputElement.valueAsDate') DateTime valueAsDate; - @DomName('HTMLInputElement.readOnly') bool readOnly; - @DomName('HTMLInputElement.required') bool required; /// Returns true if this input type is supported on the current platform. @@ -24199,17 +18513,13 @@ abstract class DateInputElement implements RangeInputElementBase { * Use [supported] to check if this is supported on the current platform. */ @SupportedBrowser(SupportedBrowser.CHROME, '25') -@Experimental() abstract class MonthInputElement implements RangeInputElementBase { factory MonthInputElement() => new InputElement(type: 'month'); - @DomName('HTMLInputElement.valueAsDate') DateTime valueAsDate; - @DomName('HTMLInputElement.readOnly') bool readOnly; - @DomName('HTMLInputElement.required') bool required; /// Returns true if this input type is supported on the current platform. @@ -24224,17 +18534,13 @@ abstract class MonthInputElement implements RangeInputElementBase { * Use [supported] to check if this is supported on the current platform. */ @SupportedBrowser(SupportedBrowser.CHROME, '25') -@Experimental() abstract class WeekInputElement implements RangeInputElementBase { factory WeekInputElement() => new InputElement(type: 'week'); - @DomName('HTMLInputElement.valueAsDate') DateTime valueAsDate; - @DomName('HTMLInputElement.readOnly') bool readOnly; - @DomName('HTMLInputElement.required') bool required; /// Returns true if this input type is supported on the current platform. @@ -24249,17 +18555,13 @@ abstract class WeekInputElement implements RangeInputElementBase { * Use [supported] to check if this is supported on the current platform. */ @SupportedBrowser(SupportedBrowser.CHROME) -@Experimental() abstract class TimeInputElement implements RangeInputElementBase { factory TimeInputElement() => new InputElement(type: 'time'); - @DomName('HTMLInputElement.valueAsDate') DateTime valueAsDate; - @DomName('HTMLInputElement.readOnly') bool readOnly; - @DomName('HTMLInputElement.required') bool required; /// Returns true if this input type is supported on the current platform. @@ -24275,15 +18577,12 @@ abstract class TimeInputElement implements RangeInputElementBase { * Use [supported] to check if this is supported on the current platform. */ @SupportedBrowser(SupportedBrowser.CHROME, '25') -@Experimental() abstract class LocalDateTimeInputElement implements RangeInputElementBase { factory LocalDateTimeInputElement() => new InputElement(type: 'datetime-local'); - @DomName('HTMLInputElement.readOnly') bool readOnly; - @DomName('HTMLInputElement.required') bool required; /// Returns true if this input type is supported on the current platform. @@ -24298,17 +18597,13 @@ abstract class LocalDateTimeInputElement implements RangeInputElementBase { @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.IE) @SupportedBrowser(SupportedBrowser.SAFARI) -@Experimental() abstract class NumberInputElement implements RangeInputElementBase { factory NumberInputElement() => new InputElement(type: 'number'); - @DomName('HTMLInputElement.placeholder') String placeholder; - @DomName('HTMLInputElement.readOnly') bool readOnly; - @DomName('HTMLInputElement.required') bool required; /// Returns true if this input type is supported on the current platform. @@ -24325,7 +18620,6 @@ abstract class NumberInputElement implements RangeInputElementBase { */ @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.IE, '10') -@Experimental() abstract class RangeInputElement implements RangeInputElementBase { factory RangeInputElement() => new InputElement(type: 'range'); @@ -24344,10 +18638,8 @@ abstract class RangeInputElement implements RangeInputElementBase { abstract class CheckboxInputElement implements InputElementBase { factory CheckboxInputElement() => new InputElement(type: 'checkbox'); - @DomName('HTMLInputElement.checked') bool checked; - @DomName('HTMLInputElement.required') bool required; } @@ -24365,10 +18657,8 @@ abstract class CheckboxInputElement implements InputElementBase { abstract class RadioButtonInputElement implements InputElementBase { factory RadioButtonInputElement() => new InputElement(type: 'radio'); - @DomName('HTMLInputElement.checked') bool checked; - @DomName('HTMLInputElement.required') bool required; } @@ -24378,16 +18668,12 @@ abstract class RadioButtonInputElement implements InputElementBase { abstract class FileUploadInputElement implements InputElementBase { factory FileUploadInputElement() => new InputElement(type: 'file'); - @DomName('HTMLInputElement.accept') String accept; - @DomName('HTMLInputElement.multiple') bool multiple; - @DomName('HTMLInputElement.required') bool required; - @DomName('HTMLInputElement.files') List files; } @@ -24397,19 +18683,14 @@ abstract class FileUploadInputElement implements InputElementBase { abstract class SubmitButtonInputElement implements InputElementBase { factory SubmitButtonInputElement() => new InputElement(type: 'submit'); - @DomName('HTMLInputElement.formAction') String formAction; - @DomName('HTMLInputElement.formEnctype') String formEnctype; - @DomName('HTMLInputElement.formMethod') String formMethod; - @DomName('HTMLInputElement.formNoValidate') bool formNoValidate; - @DomName('HTMLInputElement.formTarget') String formTarget; } @@ -24420,31 +18701,22 @@ abstract class SubmitButtonInputElement implements InputElementBase { abstract class ImageButtonInputElement implements InputElementBase { factory ImageButtonInputElement() => new InputElement(type: 'image'); - @DomName('HTMLInputElement.alt') String alt; - @DomName('HTMLInputElement.formAction') String formAction; - @DomName('HTMLInputElement.formEnctype') String formEnctype; - @DomName('HTMLInputElement.formMethod') String formMethod; - @DomName('HTMLInputElement.formNoValidate') bool formNoValidate; - @DomName('HTMLInputElement.formTarget') String formTarget; - @DomName('HTMLInputElement.height') int height; - @DomName('HTMLInputElement.src') String src; - @DomName('HTMLInputElement.width') int width; } @@ -24465,9 +18737,6 @@ abstract class ButtonInputElement implements InputElementBase { // 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('InstallEvent') -@Experimental() // untriaged @Native("InstallEvent") class InstallEvent extends ExtendableEvent { // To suppress missing implicit constructor warnings. @@ -24475,8 +18744,6 @@ class InstallEvent extends ExtendableEvent { throw new UnsupportedError("Not supported"); } - @DomName('InstallEvent.InstallEvent') - @DocsEditable() factory InstallEvent(String type, [Map eventInitDict]) { if (eventInitDict != null) { var eventInitDict_1 = convertDartToNative_Dictionary(eventInitDict); @@ -24489,9 +18756,6 @@ class InstallEvent extends ExtendableEvent { static InstallEvent _create_2(type) => JS('InstallEvent', 'new InstallEvent(#)', type); - @DomName('InstallEvent.registerForeignFetch') - @DocsEditable() - @Experimental() // untriaged void registerForeignFetch(Map options) { var options_1 = convertDartToNative_Dictionary(options); _registerForeignFetch_1(options_1); @@ -24499,18 +18763,12 @@ class InstallEvent extends ExtendableEvent { } @JSName('registerForeignFetch') - @DomName('InstallEvent.registerForeignFetch') - @DocsEditable() - @Experimental() // untriaged void _registerForeignFetch_1(options) 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('IntersectionObserver') -@Experimental() // untriaged @Native("IntersectionObserver") class IntersectionObserver extends Interceptor { // To suppress missing implicit constructor warnings. @@ -24518,8 +18776,6 @@ class IntersectionObserver extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('IntersectionObserver.IntersectionObserver') - @DocsEditable() factory IntersectionObserver(IntersectionObserverCallback callback, [Map options]) { if (options != null) { @@ -24536,39 +18792,18 @@ class IntersectionObserver extends Interceptor { static IntersectionObserver _create_2(callback) => JS('IntersectionObserver', 'new IntersectionObserver(#)', callback); - @DomName('IntersectionObserver.root') - @DocsEditable() - @Experimental() // untriaged final Element root; - @DomName('IntersectionObserver.rootMargin') - @DocsEditable() - @Experimental() // untriaged final String rootMargin; - @DomName('IntersectionObserver.thresholds') - @DocsEditable() - @Experimental() // untriaged final List thresholds; - @DomName('IntersectionObserver.disconnect') - @DocsEditable() - @Experimental() // untriaged void disconnect() native; - @DomName('IntersectionObserver.observe') - @DocsEditable() - @Experimental() // untriaged void observe(Element target) native; - @DomName('IntersectionObserver.takeRecords') - @DocsEditable() - @Experimental() // untriaged List takeRecords() native; - @DomName('IntersectionObserver.unobserve') - @DocsEditable() - @Experimental() // untriaged void unobserve(Element target) native; } // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file @@ -24577,17 +18812,12 @@ class IntersectionObserver extends Interceptor { // WARNING: Do not edit - generated code. -@DomName('IntersectionObserverCallback') -@Experimental() // untriaged typedef void IntersectionObserverCallback( List entries, IntersectionObserver observer); // Copyright (c) 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('IntersectionObserverEntry') -@Experimental() // untriaged @Native("IntersectionObserverEntry") class IntersectionObserverEntry extends Interceptor { // To suppress missing implicit constructor warnings. @@ -24595,48 +18825,24 @@ class IntersectionObserverEntry extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('IntersectionObserverEntry.boundingClientRect') - @DocsEditable() - @Experimental() // untriaged final DomRectReadOnly boundingClientRect; - @DomName('IntersectionObserverEntry.intersectionRatio') - @DocsEditable() - @Experimental() // untriaged final num intersectionRatio; - @DomName('IntersectionObserverEntry.intersectionRect') - @DocsEditable() - @Experimental() // untriaged final DomRectReadOnly intersectionRect; - @DomName('IntersectionObserverEntry.isIntersecting') - @DocsEditable() - @Experimental() // untriaged final bool isIntersecting; - @DomName('IntersectionObserverEntry.rootBounds') - @DocsEditable() - @Experimental() // untriaged final DomRectReadOnly rootBounds; - @DomName('IntersectionObserverEntry.target') - @DocsEditable() - @Experimental() // untriaged final Element target; - @DomName('IntersectionObserverEntry.time') - @DocsEditable() - @Experimental() // untriaged final num time; } // Copyright (c) 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('InterventionReport') -@Experimental() // untriaged @Native("InterventionReport") class InterventionReport extends ReportBody { // To suppress missing implicit constructor warnings. @@ -24644,19 +18850,10 @@ class InterventionReport extends ReportBody { throw new UnsupportedError("Not supported"); } - @DomName('InterventionReport.lineNumber') - @DocsEditable() - @Experimental() // untriaged final int lineNumber; - @DomName('InterventionReport.message') - @DocsEditable() - @Experimental() // untriaged final String message; - @DomName('InterventionReport.sourceFile') - @DocsEditable() - @Experimental() // untriaged final String sourceFile; } // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file @@ -24672,7 +18869,6 @@ class InterventionReport extends ReportBody { * * * [KeyboardEvent](https://developer.mozilla.org/en/DOM/KeyboardEvent) at MDN. */ -@DomName('KeyboardEvent') @Native("KeyboardEvent") class KeyboardEvent extends UIEvent { /** @@ -24705,7 +18901,6 @@ class KeyboardEvent extends UIEvent { return e; } - @DomName('KeyboardEvent.initKeyboardEvent') void _initKeyboardEvent( String type, bool canBubble, @@ -24743,17 +18938,12 @@ class KeyboardEvent extends UIEvent { } } - @DomName('KeyboardEvent.keyCode') final int keyCode; - @DomName('KeyboardEvent.charCode') final int charCode; - @DomName('KeyboardEvent.which') int get which => _which; - @DomName('KeyboardEvent.KeyboardEvent') - @DocsEditable() factory KeyboardEvent._(String type, [Map eventInitDict]) { if (eventInitDict != null) { var eventInitDict_1 = convertDartToNative_Dictionary(eventInitDict); @@ -24766,91 +18956,44 @@ class KeyboardEvent extends UIEvent { static KeyboardEvent _create_2(type) => JS('KeyboardEvent', 'new KeyboardEvent(#)', type); - @DomName('KeyboardEvent.DOM_KEY_LOCATION_LEFT') - @DocsEditable() - @Experimental() // untriaged static const int DOM_KEY_LOCATION_LEFT = 0x01; - @DomName('KeyboardEvent.DOM_KEY_LOCATION_NUMPAD') - @DocsEditable() - @Experimental() // untriaged static const int DOM_KEY_LOCATION_NUMPAD = 0x03; - @DomName('KeyboardEvent.DOM_KEY_LOCATION_RIGHT') - @DocsEditable() - @Experimental() // untriaged static const int DOM_KEY_LOCATION_RIGHT = 0x02; - @DomName('KeyboardEvent.DOM_KEY_LOCATION_STANDARD') - @DocsEditable() - @Experimental() // untriaged static const int DOM_KEY_LOCATION_STANDARD = 0x00; - @DomName('KeyboardEvent.altKey') - @DocsEditable() final bool altKey; @JSName('charCode') - @DomName('KeyboardEvent.charCode') - @DocsEditable() - @Experimental() // untriaged final int _charCode; - @DomName('KeyboardEvent.code') - @DocsEditable() - @Experimental() // untriaged final String code; - @DomName('KeyboardEvent.ctrlKey') - @DocsEditable() final bool ctrlKey; - @DomName('KeyboardEvent.isComposing') - @DocsEditable() - @Experimental() // untriaged final bool isComposing; - @DomName('KeyboardEvent.key') - @DocsEditable() - @Experimental() // untriaged final String key; @JSName('keyCode') - @DomName('KeyboardEvent.keyCode') - @DocsEditable() - @Experimental() // untriaged final int _keyCode; - @DomName('KeyboardEvent.location') - @DocsEditable() - @Experimental() // untriaged final int location; - @DomName('KeyboardEvent.metaKey') - @DocsEditable() final bool metaKey; - @DomName('KeyboardEvent.repeat') - @DocsEditable() - @Experimental() // untriaged final bool repeat; - @DomName('KeyboardEvent.shiftKey') - @DocsEditable() final bool shiftKey; - @DomName('KeyboardEvent.getModifierState') - @DocsEditable() - @Experimental() // untriaged bool getModifierState(String keyArg) 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('KeyframeEffect') -@Experimental() // untriaged @Native("KeyframeEffect") class KeyframeEffect extends KeyframeEffectReadOnly { // To suppress missing implicit constructor warnings. @@ -24858,8 +19001,6 @@ class KeyframeEffect extends KeyframeEffectReadOnly { throw new UnsupportedError("Not supported"); } - @DomName('KeyframeEffect.KeyframeEffect') - @DocsEditable() factory KeyframeEffect(Element target, Object effect, [Object options]) { if (options != null) { return KeyframeEffect._create_1(target, effect, options); @@ -24875,9 +19016,6 @@ class KeyframeEffect extends KeyframeEffectReadOnly { // 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('KeyframeEffectReadOnly') -@Experimental() // untriaged @Native("KeyframeEffectReadOnly") class KeyframeEffectReadOnly extends AnimationEffectReadOnly { // To suppress missing implicit constructor warnings. @@ -24885,8 +19023,6 @@ class KeyframeEffectReadOnly extends AnimationEffectReadOnly { throw new UnsupportedError("Not supported"); } - @DomName('KeyframeEffectReadOnly.KeyframeEffectReadOnly') - @DocsEditable() factory KeyframeEffectReadOnly(Element target, Object effect, [Object options]) { if (options != null) { @@ -24910,8 +19046,6 @@ class KeyframeEffectReadOnly extends AnimationEffectReadOnly { // 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('HTMLLIElement') @Native("HTMLLIElement") class LIElement extends HtmlElement { // To suppress missing implicit constructor warnings. @@ -24919,8 +19053,6 @@ class LIElement extends HtmlElement { throw new UnsupportedError("Not supported"); } - @DomName('HTMLLIElement.HTMLLIElement') - @DocsEditable() factory LIElement() => JS('returns:LIElement;creates:LIElement;new:true', '#.createElement(#)', document, "li"); /** @@ -24930,16 +19062,12 @@ class LIElement extends HtmlElement { */ LIElement.created() : super.created(); - @DomName('HTMLLIElement.value') - @DocsEditable() int 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('HTMLLabelElement') @Native("HTMLLabelElement") class LabelElement extends HtmlElement { // To suppress missing implicit constructor warnings. @@ -24947,8 +19075,6 @@ class LabelElement extends HtmlElement { throw new UnsupportedError("Not supported"); } - @DomName('HTMLLabelElement.HTMLLabelElement') - @DocsEditable() factory LabelElement() => JS( 'returns:LabelElement;creates:LabelElement;new:true', '#.createElement(#)', @@ -24961,24 +19087,16 @@ class LabelElement extends HtmlElement { */ LabelElement.created() : super.created(); - @DomName('HTMLLabelElement.control') - @DocsEditable() final HtmlElement control; - @DomName('HTMLLabelElement.form') - @DocsEditable() final FormElement form; - @DomName('HTMLLabelElement.htmlFor') - @DocsEditable() String htmlFor; } // Copyright (c) 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('HTMLLegendElement') @Native("HTMLLegendElement") class LegendElement extends HtmlElement { // To suppress missing implicit constructor warnings. @@ -24986,8 +19104,6 @@ class LegendElement extends HtmlElement { throw new UnsupportedError("Not supported"); } - @DomName('HTMLLegendElement.HTMLLegendElement') - @DocsEditable() factory LegendElement() => JS( 'returns:LegendElement;creates:LegendElement;new:true', '#.createElement(#)', @@ -25000,17 +19116,12 @@ class LegendElement extends HtmlElement { */ LegendElement.created() : super.created(); - @DomName('HTMLLegendElement.form') - @DocsEditable() final FormElement 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('LinearAccelerationSensor') -@Experimental() // untriaged @Native("LinearAccelerationSensor") class LinearAccelerationSensor extends Accelerometer { // To suppress missing implicit constructor warnings. @@ -25018,8 +19129,6 @@ class LinearAccelerationSensor extends Accelerometer { throw new UnsupportedError("Not supported"); } - @DomName('LinearAccelerationSensor.LinearAccelerationSensor') - @DocsEditable() factory LinearAccelerationSensor([Map sensorOptions]) { if (sensorOptions != null) { var sensorOptions_1 = convertDartToNative_Dictionary(sensorOptions); @@ -25038,8 +19147,6 @@ class LinearAccelerationSensor extends Accelerometer { // 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('HTMLLinkElement') @Native("HTMLLinkElement") class LinkElement extends HtmlElement { // To suppress missing implicit constructor warnings. @@ -25047,8 +19154,6 @@ class LinkElement extends HtmlElement { throw new UnsupportedError("Not supported"); } - @DomName('HTMLLinkElement.HTMLLinkElement') - @DocsEditable() factory LinkElement() => JS( 'returns:LinkElement;creates:LinkElement;new:true', '#.createElement(#)', @@ -25061,72 +19166,34 @@ class LinkElement extends HtmlElement { */ LinkElement.created() : super.created(); - @DomName('HTMLLinkElement.as') - @DocsEditable() - @Experimental() // untriaged String as; - @DomName('HTMLLinkElement.crossOrigin') - @DocsEditable() - @Experimental() // untriaged String crossOrigin; - @DomName('HTMLLinkElement.disabled') - @DocsEditable() bool disabled; - @DomName('HTMLLinkElement.href') - @DocsEditable() String href; - @DomName('HTMLLinkElement.hreflang') - @DocsEditable() String hreflang; - @DomName('HTMLLinkElement.import') - @DocsEditable() - // https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/imports/index.html#interface-import - @Experimental() final Document import; - @DomName('HTMLLinkElement.integrity') - @DocsEditable() - @Experimental() // untriaged String integrity; - @DomName('HTMLLinkElement.media') - @DocsEditable() String media; - @DomName('HTMLLinkElement.referrerPolicy') - @DocsEditable() - @Experimental() // untriaged String referrerPolicy; - @DomName('HTMLLinkElement.rel') - @DocsEditable() String rel; - @DomName('HTMLLinkElement.relList') - @DocsEditable() - @Experimental() // untriaged final DomTokenList relList; - @DomName('HTMLLinkElement.scope') - @DocsEditable() - @Experimental() // untriaged String scope; - @DomName('HTMLLinkElement.sheet') - @DocsEditable() final StyleSheet sheet; - @DomName('HTMLLinkElement.sizes') - @DocsEditable() final DomTokenList sizes; - @DomName('HTMLLinkElement.type') - @DocsEditable() String type; /// Checks if HTML imports are supported on the current platform. @@ -25138,8 +19205,6 @@ class LinkElement 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('Location') @Native("Location") class Location extends Interceptor implements LocationBase { // To suppress missing implicit constructor warnings. @@ -25147,63 +19212,34 @@ class Location extends Interceptor implements LocationBase { throw new UnsupportedError("Not supported"); } - @DomName('Location.ancestorOrigins') - @DocsEditable() - @Experimental() // nonstandard @Returns('DomStringList|Null') @Creates('DomStringList') final List ancestorOrigins; - @DomName('Location.hash') - @DocsEditable() String hash; - @DomName('Location.host') - @DocsEditable() String host; - @DomName('Location.hostname') - @DocsEditable() String hostname; - @DomName('Location.href') - @DocsEditable() String href; - @DomName('Location.pathname') - @DocsEditable() String pathname; - @DomName('Location.port') - @DocsEditable() String port; - @DomName('Location.protocol') - @DocsEditable() String protocol; - @DomName('Location.search') - @DocsEditable() String search; - @DomName('Location.trustedHref') - @DocsEditable() - @Experimental() // untriaged TrustedUrl trustedHref; - @DomName('Location.assign') - @DocsEditable() void assign([String url]) native; - @DomName('Location.reload') - @DocsEditable() void reload() native; - @DomName('Location.replace') - @DocsEditable() void replace(String url) native; - @DomName('Location.origin') String get origin { if (JS('bool', '("origin" in #)', this)) { return JS('String', '#.origin', this); @@ -25211,17 +19247,12 @@ class Location extends Interceptor implements LocationBase { return '${this.protocol}//${this.host}'; } - @DomName('Location.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('Magnetometer') -@Experimental() // untriaged @Native("Magnetometer") class Magnetometer extends Sensor { // To suppress missing implicit constructor warnings. @@ -25229,8 +19260,6 @@ class Magnetometer extends Sensor { throw new UnsupportedError("Not supported"); } - @DomName('Magnetometer.Magnetometer') - @DocsEditable() factory Magnetometer([Map sensorOptions]) { if (sensorOptions != null) { var sensorOptions_1 = convertDartToNative_Dictionary(sensorOptions); @@ -25242,27 +19271,16 @@ class Magnetometer extends Sensor { JS('Magnetometer', 'new Magnetometer(#)', sensorOptions); static Magnetometer _create_2() => JS('Magnetometer', 'new Magnetometer()'); - @DomName('Magnetometer.x') - @DocsEditable() - @Experimental() // untriaged final num x; - @DomName('Magnetometer.y') - @DocsEditable() - @Experimental() // untriaged final num y; - @DomName('Magnetometer.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('HTMLMapElement') @Native("HTMLMapElement") class MapElement extends HtmlElement { // To suppress missing implicit constructor warnings. @@ -25270,8 +19288,6 @@ class MapElement extends HtmlElement { throw new UnsupportedError("Not supported"); } - @DomName('HTMLMapElement.HTMLMapElement') - @DocsEditable() factory MapElement() => JS('returns:MapElement;creates:MapElement;new:true', '#.createElement(#)', document, "map"); /** @@ -25281,23 +19297,16 @@ class MapElement extends HtmlElement { */ MapElement.created() : super.created(); - @DomName('HTMLMapElement.areas') - @DocsEditable() @Returns('HtmlCollection|Null') @Creates('HtmlCollection') final List areas; - @DomName('HTMLMapElement.name') - @DocsEditable() String 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. -@DocsEditable() -@DomName('MediaCapabilities') -@Experimental() // untriaged @Native("MediaCapabilities") class MediaCapabilities extends Interceptor { // To suppress missing implicit constructor warnings. @@ -25305,41 +19314,26 @@ class MediaCapabilities extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('MediaCapabilities.decodingInfo') - @DocsEditable() - @Experimental() // untriaged Future decodingInfo(Map configuration) { var configuration_1 = convertDartToNative_Dictionary(configuration); return _decodingInfo_1(configuration_1); } @JSName('decodingInfo') - @DomName('MediaCapabilities.decodingInfo') - @DocsEditable() - @Experimental() // untriaged Future _decodingInfo_1(configuration) native; - @DomName('MediaCapabilities.encodingInfo') - @DocsEditable() - @Experimental() // untriaged Future encodingInfo(Map configuration) { var configuration_1 = convertDartToNative_Dictionary(configuration); return _encodingInfo_1(configuration_1); } @JSName('encodingInfo') - @DomName('MediaCapabilities.encodingInfo') - @DocsEditable() - @Experimental() // untriaged Future _encodingInfo_1(configuration) 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('MediaCapabilitiesInfo') -@Experimental() // untriaged @Native("MediaCapabilitiesInfo") class MediaCapabilitiesInfo extends Interceptor { // To suppress missing implicit constructor warnings. @@ -25347,28 +19341,16 @@ class MediaCapabilitiesInfo extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('MediaCapabilitiesInfo.powerEfficient') - @DocsEditable() - @Experimental() // untriaged final bool powerEfficient; - @DomName('MediaCapabilitiesInfo.smooth') - @DocsEditable() - @Experimental() // untriaged final bool smooth; - @DomName('MediaCapabilitiesInfo.supported') - @DocsEditable() - @Experimental() // untriaged final bool supported; } // Copyright (c) 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('MediaDeviceInfo') -@Experimental() // untriaged @Native("MediaDeviceInfo") class MediaDeviceInfo extends Interceptor { // To suppress missing implicit constructor warnings. @@ -25376,33 +19358,18 @@ class MediaDeviceInfo extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('MediaDeviceInfo.deviceId') - @DocsEditable() - @Experimental() // untriaged final String deviceId; - @DomName('MediaDeviceInfo.groupId') - @DocsEditable() - @Experimental() // untriaged final String groupId; - @DomName('MediaDeviceInfo.kind') - @DocsEditable() - @Experimental() // untriaged final String kind; - @DomName('MediaDeviceInfo.label') - @DocsEditable() - @Experimental() // untriaged final String label; } // Copyright (c) 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('MediaDevices') -@Experimental() // untriaged @Native("MediaDevices") class MediaDevices extends EventTarget { // To suppress missing implicit constructor warnings. @@ -25410,32 +19377,21 @@ class MediaDevices extends EventTarget { throw new UnsupportedError("Not supported"); } - @DomName('MediaDevices.enumerateDevices') - @DocsEditable() - @Experimental() // untriaged Future> enumerateDevices() => promiseToFuture>( JS("", "#.enumerateDevices()", this)); - @DomName('MediaDevices.getSupportedConstraints') - @DocsEditable() - @Experimental() // untriaged Map getSupportedConstraints() { return convertNativeToDart_Dictionary(_getSupportedConstraints_1()); } @JSName('getSupportedConstraints') - @DomName('MediaDevices.getSupportedConstraints') - @DocsEditable() - @Experimental() // untriaged _getSupportedConstraints_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('HTMLMediaElement') @Unstable() @Native("HTMLMediaElement") class MediaElement extends HtmlElement { @@ -25450,237 +19406,114 @@ class MediaElement extends HtmlElement { */ MediaElement.created() : super.created(); - @DomName('HTMLMediaElement.HAVE_CURRENT_DATA') - @DocsEditable() static const int HAVE_CURRENT_DATA = 2; - @DomName('HTMLMediaElement.HAVE_ENOUGH_DATA') - @DocsEditable() static const int HAVE_ENOUGH_DATA = 4; - @DomName('HTMLMediaElement.HAVE_FUTURE_DATA') - @DocsEditable() static const int HAVE_FUTURE_DATA = 3; - @DomName('HTMLMediaElement.HAVE_METADATA') - @DocsEditable() static const int HAVE_METADATA = 1; - @DomName('HTMLMediaElement.HAVE_NOTHING') - @DocsEditable() static const int HAVE_NOTHING = 0; - @DomName('HTMLMediaElement.NETWORK_EMPTY') - @DocsEditable() static const int NETWORK_EMPTY = 0; - @DomName('HTMLMediaElement.NETWORK_IDLE') - @DocsEditable() static const int NETWORK_IDLE = 1; - @DomName('HTMLMediaElement.NETWORK_LOADING') - @DocsEditable() static const int NETWORK_LOADING = 2; - @DomName('HTMLMediaElement.NETWORK_NO_SOURCE') - @DocsEditable() static const int NETWORK_NO_SOURCE = 3; - @DomName('HTMLMediaElement.audioTracks') - @DocsEditable() - @Experimental() // untriaged final AudioTrackList audioTracks; - @DomName('HTMLMediaElement.autoplay') - @DocsEditable() bool autoplay; - @DomName('HTMLMediaElement.buffered') - @DocsEditable() final TimeRanges buffered; - @DomName('HTMLMediaElement.controls') - @DocsEditable() bool controls; - @DomName('HTMLMediaElement.controlsList') - @DocsEditable() - @Experimental() // untriaged final DomTokenList controlsList; - @DomName('HTMLMediaElement.crossOrigin') - @DocsEditable() - @Experimental() // untriaged String crossOrigin; - @DomName('HTMLMediaElement.currentSrc') - @DocsEditable() final String currentSrc; - @DomName('HTMLMediaElement.currentTime') - @DocsEditable() num currentTime; - @DomName('HTMLMediaElement.defaultMuted') - @DocsEditable() bool defaultMuted; - @DomName('HTMLMediaElement.defaultPlaybackRate') - @DocsEditable() num defaultPlaybackRate; - @DomName('HTMLMediaElement.disableRemotePlayback') - @DocsEditable() - @Experimental() // untriaged bool disableRemotePlayback; - @DomName('HTMLMediaElement.duration') - @DocsEditable() final num duration; - @DomName('HTMLMediaElement.ended') - @DocsEditable() final bool ended; - @DomName('HTMLMediaElement.error') - @DocsEditable() final MediaError error; - @DomName('HTMLMediaElement.loop') - @DocsEditable() bool loop; - @DomName('HTMLMediaElement.mediaKeys') - @DocsEditable() - // https://dvcs.w3.org/hg/html-media/raw-file/eme-v0.1/encrypted-media/encrypted-media.html - @Experimental() final MediaKeys mediaKeys; - @DomName('HTMLMediaElement.muted') - @DocsEditable() bool muted; - @DomName('HTMLMediaElement.networkState') - @DocsEditable() final int networkState; - @DomName('HTMLMediaElement.paused') - @DocsEditable() final bool paused; - @DomName('HTMLMediaElement.playbackRate') - @DocsEditable() num playbackRate; - @DomName('HTMLMediaElement.played') - @DocsEditable() final TimeRanges played; - @DomName('HTMLMediaElement.preload') - @DocsEditable() String preload; - @DomName('HTMLMediaElement.readyState') - @DocsEditable() final int readyState; - @DomName('HTMLMediaElement.remote') - @DocsEditable() - @Experimental() // untriaged final RemotePlayback remote; - @DomName('HTMLMediaElement.seekable') - @DocsEditable() final TimeRanges seekable; - @DomName('HTMLMediaElement.seeking') - @DocsEditable() final bool seeking; - @DomName('HTMLMediaElement.sinkId') - @DocsEditable() - @Experimental() // untriaged final String sinkId; - @DomName('HTMLMediaElement.src') - @DocsEditable() String src; - @DomName('HTMLMediaElement.srcObject') - @DocsEditable() - @Experimental() // untriaged MediaStream srcObject; - @DomName('HTMLMediaElement.textTracks') - @DocsEditable() - // http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#dom-media-texttracks - @Experimental() final TextTrackList textTracks; - @DomName('HTMLMediaElement.videoTracks') - @DocsEditable() - @Experimental() // untriaged final VideoTrackList videoTracks; - @DomName('HTMLMediaElement.volume') - @DocsEditable() num volume; @JSName('webkitAudioDecodedByteCount') - @DomName('HTMLMediaElement.webkitAudioDecodedByteCount') - @DocsEditable() @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.SAFARI) - @Experimental() - @Experimental() // nonstandard final int audioDecodedByteCount; @JSName('webkitVideoDecodedByteCount') - @DomName('HTMLMediaElement.webkitVideoDecodedByteCount') - @DocsEditable() @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.SAFARI) - @Experimental() - @Experimental() // nonstandard final int videoDecodedByteCount; - @DomName('HTMLMediaElement.addTextTrack') - @DocsEditable() - // http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#dom-media-addtexttrack - @Experimental() TextTrack addTextTrack(String kind, [String label, String language]) native; - @DomName('HTMLMediaElement.canPlayType') - @DocsEditable() @Unstable() String canPlayType(String type, [String keySystem]) native; - @DomName('HTMLMediaElement.captureStream') - @DocsEditable() - @Experimental() // untriaged MediaStream captureStream() native; - @DomName('HTMLMediaElement.load') - @DocsEditable() void load() native; - @DomName('HTMLMediaElement.pause') - @DocsEditable() void pause() native; - @DomName('HTMLMediaElement.play') - @DocsEditable() Future play() => promiseToFuture(JS("", "#.play()", this)); - @DomName('HTMLMediaElement.setMediaKeys') - @DocsEditable() - @Experimental() // untriaged Future setMediaKeys(MediaKeys mediaKeys) => promiseToFuture(JS("", "#.setMediaKeys(#)", this, mediaKeys)); - @DomName('HTMLMediaElement.setSinkId') - @DocsEditable() - @Experimental() // untriaged Future setSinkId(String sinkId) => promiseToFuture(JS("", "#.setSinkId(#)", this, sinkId)); } @@ -25688,9 +19521,6 @@ class MediaElement 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('MediaEncryptedEvent') -@Experimental() // untriaged @Native("MediaEncryptedEvent") class MediaEncryptedEvent extends Event { // To suppress missing implicit constructor warnings. @@ -25698,8 +19528,6 @@ class MediaEncryptedEvent extends Event { throw new UnsupportedError("Not supported"); } - @DomName('MediaEncryptedEvent.MediaEncryptedEvent') - @DocsEditable() factory MediaEncryptedEvent(String type, [Map eventInitDict]) { if (eventInitDict != null) { var eventInitDict_1 = convertDartToNative_Dictionary(eventInitDict); @@ -25715,22 +19543,14 @@ class MediaEncryptedEvent extends Event { static MediaEncryptedEvent _create_2(type) => JS('MediaEncryptedEvent', 'new MediaEncryptedEvent(#)', type); - @DomName('MediaEncryptedEvent.initData') - @DocsEditable() - @Experimental() // untriaged final ByteBuffer initData; - @DomName('MediaEncryptedEvent.initDataType') - @DocsEditable() - @Experimental() // untriaged final String initDataType; } // Copyright (c) 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('MediaError') @Unstable() @Native("MediaError") class MediaError extends Interceptor { @@ -25739,39 +19559,22 @@ class MediaError extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('MediaError.MEDIA_ERR_ABORTED') - @DocsEditable() static const int MEDIA_ERR_ABORTED = 1; - @DomName('MediaError.MEDIA_ERR_DECODE') - @DocsEditable() static const int MEDIA_ERR_DECODE = 3; - @DomName('MediaError.MEDIA_ERR_NETWORK') - @DocsEditable() static const int MEDIA_ERR_NETWORK = 2; - @DomName('MediaError.MEDIA_ERR_SRC_NOT_SUPPORTED') - @DocsEditable() static const int MEDIA_ERR_SRC_NOT_SUPPORTED = 4; - @DomName('MediaError.code') - @DocsEditable() final int code; - @DomName('MediaError.message') - @DocsEditable() - @Experimental() // untriaged final String 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('MediaKeyMessageEvent') -// https://dvcs.w3.org/hg/html-media/raw-file/eme-v0.1/encrypted-media/encrypted-media.html#dom-mediakeymessageevent -@Experimental() @Native("MediaKeyMessageEvent") class MediaKeyMessageEvent extends Event { // To suppress missing implicit constructor warnings. @@ -25779,8 +19582,6 @@ class MediaKeyMessageEvent extends Event { throw new UnsupportedError("Not supported"); } - @DomName('MediaKeyMessageEvent.MediaKeyMessageEvent') - @DocsEditable() factory MediaKeyMessageEvent(String type, Map eventInitDict) { var eventInitDict_1 = convertDartToNative_Dictionary(eventInitDict); return MediaKeyMessageEvent._create_1(type, eventInitDict_1); @@ -25791,23 +19592,14 @@ class MediaKeyMessageEvent extends Event { type, eventInitDict); - @DomName('MediaKeyMessageEvent.message') - @DocsEditable() final ByteBuffer message; - @DomName('MediaKeyMessageEvent.messageType') - @DocsEditable() - @Experimental() // untriaged final String messageType; } // Copyright (c) 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('MediaKeySession') -// https://dvcs.w3.org/hg/html-media/raw-file/eme-v0.1/encrypted-media/encrypted-media.html#dom-mediakeysession -@Experimental() @Native("MediaKeySession") class MediaKeySession extends EventTarget { // To suppress missing implicit constructor warnings. @@ -25815,70 +19607,37 @@ class MediaKeySession extends EventTarget { throw new UnsupportedError("Not supported"); } - @DomName('MediaKeySession.messageEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider messageEvent = const EventStreamProvider('message'); - @DomName('MediaKeySession.closed') - @DocsEditable() - @Experimental() // untriaged Future get closed => promiseToFuture(JS("", "#.closed", this)); - @DomName('MediaKeySession.expiration') - @DocsEditable() - @Experimental() // untriaged final num expiration; - @DomName('MediaKeySession.keyStatuses') - @DocsEditable() - @Experimental() // untriaged final MediaKeyStatusMap keyStatuses; - @DomName('MediaKeySession.sessionId') - @DocsEditable() final String sessionId; - @DomName('MediaKeySession.close') - @DocsEditable() Future close() => promiseToFuture(JS("", "#.close()", this)); - @DomName('MediaKeySession.generateRequest') - @DocsEditable() - @Experimental() // untriaged Future generateRequest(String initDataType, /*BufferSource*/ initData) => promiseToFuture( JS("", "#.generateRequest(#, #)", this, initDataType, initData)); - @DomName('MediaKeySession.load') - @DocsEditable() - @Experimental() // untriaged Future load(String sessionId) => promiseToFuture(JS("", "#.load(#)", this, sessionId)); - @DomName('MediaKeySession.remove') - @DocsEditable() - @Experimental() // untriaged Future remove() => promiseToFuture(JS("", "#.remove()", this)); @JSName('update') - @DomName('MediaKeySession.update') - @DocsEditable() Future _update(/*BufferSource*/ response) native; - @DomName('MediaKeySession.onmessage') - @DocsEditable() - @Experimental() // untriaged Stream get onMessage => messageEvent.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('MediaKeyStatusMap') -@Experimental() // untriaged @Native("MediaKeyStatusMap") class MediaKeyStatusMap extends Interceptor { // To suppress missing implicit constructor warnings. @@ -25886,28 +19645,16 @@ class MediaKeyStatusMap extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('MediaKeyStatusMap.size') - @DocsEditable() - @Experimental() // untriaged final int size; - @DomName('MediaKeyStatusMap.get') - @DocsEditable() - @Experimental() // untriaged Object get(/*BufferSource*/ keyId) native; - @DomName('MediaKeyStatusMap.has') - @DocsEditable() - @Experimental() // untriaged bool has(/*BufferSource*/ keyId) 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('MediaKeySystemAccess') -@Experimental() // untriaged @Native("MediaKeySystemAccess") class MediaKeySystemAccess extends Interceptor { // To suppress missing implicit constructor warnings. @@ -25915,38 +19662,22 @@ class MediaKeySystemAccess extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('MediaKeySystemAccess.keySystem') - @DocsEditable() - @Experimental() // untriaged final String keySystem; - @DomName('MediaKeySystemAccess.createMediaKeys') - @DocsEditable() - @Experimental() // untriaged Future createMediaKeys() => promiseToFuture(JS("", "#.createMediaKeys()", this)); - @DomName('MediaKeySystemAccess.getConfiguration') - @DocsEditable() - @Experimental() // untriaged Map getConfiguration() { return convertNativeToDart_Dictionary(_getConfiguration_1()); } @JSName('getConfiguration') - @DomName('MediaKeySystemAccess.getConfiguration') - @DocsEditable() - @Experimental() // untriaged _getConfiguration_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('MediaKeys') -// https://dvcs.w3.org/hg/html-media/raw-file/eme-v0.1/encrypted-media/encrypted-media.html -@Experimental() @Native("MediaKeys") class MediaKeys extends Interceptor { // To suppress missing implicit constructor warnings. @@ -25955,19 +19686,11 @@ class MediaKeys extends Interceptor { } @JSName('createSession') - @DomName('MediaKeys.createSession') - @DocsEditable() MediaKeySession _createSession([String sessionType]) native; - @DomName('MediaKeys.getStatusForPolicy') - @DocsEditable() - @Experimental() // untriaged Future getStatusForPolicy(MediaKeysPolicy policy) => promiseToFuture(JS("", "#.getStatusForPolicy(#)", this, policy)); - @DomName('MediaKeys.setServerCertificate') - @DocsEditable() - @Experimental() // untriaged Future setServerCertificate(/*BufferSource*/ serverCertificate) => promiseToFuture( JS("", "#.setServerCertificate(#)", this, serverCertificate)); @@ -25976,9 +19699,6 @@ class MediaKeys 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('MediaKeysPolicy') -@Experimental() // untriaged @Native("MediaKeysPolicy") class MediaKeysPolicy extends Interceptor { // To suppress missing implicit constructor warnings. @@ -25986,8 +19706,6 @@ class MediaKeysPolicy extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('MediaKeysPolicy.MediaKeysPolicy') - @DocsEditable() factory MediaKeysPolicy(Map init) { var init_1 = convertDartToNative_Dictionary(init); return MediaKeysPolicy._create_1(init_1); @@ -25995,17 +19713,12 @@ class MediaKeysPolicy extends Interceptor { static MediaKeysPolicy _create_1(init) => JS('MediaKeysPolicy', 'new MediaKeysPolicy(#)', init); - @DomName('MediaKeysPolicy.minHdcpVersion') - @DocsEditable() - @Experimental() // untriaged final String minHdcpVersion; } // Copyright (c) 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('MediaList') @Unstable() @Native("MediaList") class MediaList extends Interceptor { @@ -26014,33 +19727,20 @@ class MediaList extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('MediaList.length') - @DocsEditable() final int length; - @DomName('MediaList.mediaText') - @DocsEditable() String mediaText; - @DomName('MediaList.appendMedium') - @DocsEditable() void appendMedium(String medium) native; - @DomName('MediaList.deleteMedium') - @DocsEditable() void deleteMedium(String medium) native; - @DomName('MediaList.item') - @DocsEditable() String item(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('MediaMetadata') -@Experimental() // untriaged @Native("MediaMetadata") class MediaMetadata extends Interceptor { // To suppress missing implicit constructor warnings. @@ -26048,8 +19748,6 @@ class MediaMetadata extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('MediaMetadata.MediaMetadata') - @DocsEditable() factory MediaMetadata([Map metadata]) { if (metadata != null) { var metadata_1 = convertDartToNative_Dictionary(metadata); @@ -26062,32 +19760,18 @@ class MediaMetadata extends Interceptor { static MediaMetadata _create_2() => JS('MediaMetadata', 'new MediaMetadata()'); - @DomName('MediaMetadata.album') - @DocsEditable() - @Experimental() // untriaged String album; - @DomName('MediaMetadata.artist') - @DocsEditable() - @Experimental() // untriaged String artist; - @DomName('MediaMetadata.artwork') - @DocsEditable() - @Experimental() // untriaged List artwork; - @DomName('MediaMetadata.title') - @DocsEditable() - @Experimental() // untriaged String title; } // Copyright (c) 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('MediaQueryList') @Unstable() @Native("MediaQueryList") class MediaQueryList extends EventTarget { @@ -26096,40 +19780,23 @@ class MediaQueryList extends EventTarget { throw new UnsupportedError("Not supported"); } - @DomName('MediaQueryList.changeEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider changeEvent = const EventStreamProvider('change'); - @DomName('MediaQueryList.matches') - @DocsEditable() final bool matches; - @DomName('MediaQueryList.media') - @DocsEditable() final String media; - @DomName('MediaQueryList.addListener') - @DocsEditable() void addListener(EventListener listener) native; - @DomName('MediaQueryList.removeListener') - @DocsEditable() void removeListener(EventListener listener) native; - @DomName('MediaQueryList.onchange') - @DocsEditable() - @Experimental() // untriaged Stream get onChange => changeEvent.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('MediaQueryListEvent') -@Experimental() // untriaged @Native("MediaQueryListEvent") class MediaQueryListEvent extends Event { // To suppress missing implicit constructor warnings. @@ -26137,8 +19804,6 @@ class MediaQueryListEvent extends Event { throw new UnsupportedError("Not supported"); } - @DomName('MediaQueryListEvent.MediaQueryListEvent') - @DocsEditable() factory MediaQueryListEvent(String type, [Map eventInitDict]) { if (eventInitDict != null) { var eventInitDict_1 = convertDartToNative_Dictionary(eventInitDict); @@ -26154,23 +19819,14 @@ class MediaQueryListEvent extends Event { static MediaQueryListEvent _create_2(type) => JS('MediaQueryListEvent', 'new MediaQueryListEvent(#)', type); - @DomName('MediaQueryListEvent.matches') - @DocsEditable() - @Experimental() // untriaged final bool matches; - @DomName('MediaQueryListEvent.media') - @DocsEditable() - @Experimental() // untriaged final String media; } // Copyright (c) 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('MediaRecorder') -@Experimental() // untriaged @Native("MediaRecorder") class MediaRecorder extends EventTarget { // To suppress missing implicit constructor warnings. @@ -26178,20 +19834,12 @@ class MediaRecorder extends EventTarget { throw new UnsupportedError("Not supported"); } - @DomName('MediaRecorder.errorEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider errorEvent = const EventStreamProvider('error'); - @DomName('MediaRecorder.pauseEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider pauseEvent = const EventStreamProvider('pause'); - @DomName('MediaRecorder.MediaRecorder') - @DocsEditable() factory MediaRecorder(MediaStream stream, [Map options]) { if (options != null) { var options_1 = convertDartToNative_Dictionary(options); @@ -26204,78 +19852,36 @@ class MediaRecorder extends EventTarget { static MediaRecorder _create_2(stream) => JS('MediaRecorder', 'new MediaRecorder(#)', stream); - @DomName('MediaRecorder.audioBitsPerSecond') - @DocsEditable() - @Experimental() // untriaged final int audioBitsPerSecond; - @DomName('MediaRecorder.mimeType') - @DocsEditable() - @Experimental() // untriaged final String mimeType; - @DomName('MediaRecorder.state') - @DocsEditable() - @Experimental() // untriaged final String state; - @DomName('MediaRecorder.stream') - @DocsEditable() - @Experimental() // untriaged final MediaStream stream; - @DomName('MediaRecorder.videoBitsPerSecond') - @DocsEditable() - @Experimental() // untriaged final int videoBitsPerSecond; - @DomName('MediaRecorder.isTypeSupported') - @DocsEditable() - @Experimental() // untriaged static bool isTypeSupported(String type) native; - @DomName('MediaRecorder.pause') - @DocsEditable() - @Experimental() // untriaged void pause() native; - @DomName('MediaRecorder.requestData') - @DocsEditable() - @Experimental() // untriaged void requestData() native; - @DomName('MediaRecorder.resume') - @DocsEditable() - @Experimental() // untriaged void resume() native; - @DomName('MediaRecorder.start') - @DocsEditable() - @Experimental() // untriaged void start([int timeslice]) native; - @DomName('MediaRecorder.stop') - @DocsEditable() - @Experimental() // untriaged void stop() native; - @DomName('MediaRecorder.onerror') - @DocsEditable() - @Experimental() // untriaged Stream get onError => errorEvent.forTarget(this); - @DomName('MediaRecorder.onpause') - @DocsEditable() - @Experimental() // untriaged Stream get onPause => pauseEvent.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('MediaSession') -@Experimental() // untriaged @Native("MediaSession") class MediaSession extends Interceptor { // To suppress missing implicit constructor warnings. @@ -26283,19 +19889,10 @@ class MediaSession extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('MediaSession.metadata') - @DocsEditable() - @Experimental() // untriaged MediaMetadata metadata; - @DomName('MediaSession.playbackState') - @DocsEditable() - @Experimental() // untriaged String playbackState; - @DomName('MediaSession.setActionHandler') - @DocsEditable() - @Experimental() // untriaged void setActionHandler(String action, MediaSessionActionHandler handler) native; } @@ -26305,16 +19902,11 @@ class MediaSession extends Interceptor { // WARNING: Do not edit - generated code. -@DomName('MediaSessionActionHandler') -@Experimental() // untriaged typedef void MediaSessionActionHandler(); // Copyright (c) 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('MediaSettingsRange') -@Experimental() // untriaged @Native("MediaSettingsRange") class MediaSettingsRange extends Interceptor { // To suppress missing implicit constructor warnings. @@ -26322,31 +19914,18 @@ class MediaSettingsRange extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('MediaSettingsRange.max') - @DocsEditable() - @Experimental() // untriaged final num max; - @DomName('MediaSettingsRange.min') - @DocsEditable() - @Experimental() // untriaged final num min; - @DomName('MediaSettingsRange.step') - @DocsEditable() - @Experimental() // untriaged final num step; } // Copyright (c) 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('MediaSource') @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.IE, '11') -// https://dvcs.w3.org/hg/html-media/raw-file/tip/media-source/media-source.html#mediasource -@Experimental() @Native("MediaSource") class MediaSource extends EventTarget { // To suppress missing implicit constructor warnings. @@ -26354,8 +19933,6 @@ class MediaSource extends EventTarget { throw new UnsupportedError("Not supported"); } - @DomName('MediaSource.MediaSource') - @DocsEditable() factory MediaSource() { return MediaSource._create_1(); } @@ -26364,56 +19941,31 @@ class MediaSource extends EventTarget { /// Checks if this type is supported on the current platform. static bool get supported => JS('bool', '!!(window.MediaSource)'); - @DomName('MediaSource.activeSourceBuffers') - @DocsEditable() final SourceBufferList activeSourceBuffers; - @DomName('MediaSource.duration') - @DocsEditable() num duration; - @DomName('MediaSource.readyState') - @DocsEditable() final String readyState; - @DomName('MediaSource.sourceBuffers') - @DocsEditable() final SourceBufferList sourceBuffers; - @DomName('MediaSource.addSourceBuffer') - @DocsEditable() SourceBuffer addSourceBuffer(String type) native; - @DomName('MediaSource.clearLiveSeekableRange') - @DocsEditable() - @Experimental() // untriaged void clearLiveSeekableRange() native; - @DomName('MediaSource.endOfStream') - @DocsEditable() void endOfStream([String error]) native; - @DomName('MediaSource.isTypeSupported') - @DocsEditable() static bool isTypeSupported(String type) native; - @DomName('MediaSource.removeSourceBuffer') - @DocsEditable() void removeSourceBuffer(SourceBuffer buffer) native; - @DomName('MediaSource.setLiveSeekableRange') - @DocsEditable() - @Experimental() // untriaged void setLiveSeekableRange(num start, num end) native; } // Copyright (c) 2013, 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. -@DomName('MediaStream') @SupportedBrowser(SupportedBrowser.CHROME) -@Experimental() -// http://dev.w3.org/2011/webrtc/editor/getusermedia.html#mediastream @Native("MediaStream") class MediaStream extends EventTarget { // To suppress missing implicit constructor warnings. @@ -26427,8 +19979,6 @@ class MediaStream extends EventTarget { * * See [EventStreamProvider] for usage information. */ - @DomName('MediaStream.addtrackEvent') - @DocsEditable() static const EventStreamProvider addTrackEvent = const EventStreamProvider('addtrack'); @@ -26438,13 +19988,9 @@ class MediaStream extends EventTarget { * * See [EventStreamProvider] for usage information. */ - @DomName('MediaStream.removetrackEvent') - @DocsEditable() static const EventStreamProvider removeTrackEvent = const EventStreamProvider('removetrack'); - @DomName('MediaStream.MediaStream') - @DocsEditable() factory MediaStream([stream_OR_tracks]) { if (stream_OR_tracks == null) { return MediaStream._create_1(); @@ -26463,57 +20009,32 @@ class MediaStream extends EventTarget { static MediaStream _create_3(stream_OR_tracks) => JS('MediaStream', 'new MediaStream(#)', stream_OR_tracks); - @DomName('MediaStream.active') - @DocsEditable() - @Experimental() // untriaged final bool active; - @DomName('MediaStream.id') - @DocsEditable() final String id; - @DomName('MediaStream.addTrack') - @DocsEditable() void addTrack(MediaStreamTrack track) native; - @DomName('MediaStream.clone') - @DocsEditable() - @Experimental() // untriaged MediaStream clone() native; - @DomName('MediaStream.getAudioTracks') - @DocsEditable() @Creates('JSExtendableArray|MediaStreamTrack') @Returns('JSExtendableArray') List getAudioTracks() native; - @DomName('MediaStream.getTrackById') - @DocsEditable() MediaStreamTrack getTrackById(String trackId) native; - @DomName('MediaStream.getTracks') - @DocsEditable() - @Experimental() // untriaged List getTracks() native; - @DomName('MediaStream.getVideoTracks') - @DocsEditable() @Creates('JSExtendableArray|MediaStreamTrack') @Returns('JSExtendableArray') List getVideoTracks() native; - @DomName('MediaStream.removeTrack') - @DocsEditable() void removeTrack(MediaStreamTrack track) native; /// Stream of `addtrack` events handled by this [MediaStream]. - @DomName('MediaStream.onaddtrack') - @DocsEditable() Stream get onAddTrack => addTrackEvent.forTarget(this); /// Stream of `removetrack` events handled by this [MediaStream]. - @DomName('MediaStream.onremovetrack') - @DocsEditable() Stream get onRemoveTrack => removeTrackEvent.forTarget(this); /** @@ -26536,11 +20057,7 @@ class MediaStream 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('MediaStreamEvent') @SupportedBrowser(SupportedBrowser.CHROME) -@Experimental() -// http://dev.w3.org/2011/webrtc/editor/getusermedia.html @Native("MediaStreamEvent") class MediaStreamEvent extends Event { // To suppress missing implicit constructor warnings. @@ -26548,8 +20065,6 @@ class MediaStreamEvent extends Event { throw new UnsupportedError("Not supported"); } - @DomName('MediaStreamEvent.MediaStreamEvent') - @DocsEditable() factory MediaStreamEvent(String type, [Map eventInitDict]) { if (eventInitDict != null) { var eventInitDict_1 = convertDartToNative_Dictionary(eventInitDict); @@ -26565,19 +20080,13 @@ class MediaStreamEvent extends Event { /// Checks if this type is supported on the current platform. static bool get supported => Device.isEventTypeSupported('MediaStreamEvent'); - @DomName('MediaStreamEvent.stream') - @DocsEditable() final MediaStream 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('MediaStreamTrack') @SupportedBrowser(SupportedBrowser.CHROME) -@Experimental() -// http://dev.w3.org/2011/webrtc/editor/getusermedia.html#mediastreamtrack @Native("MediaStreamTrack") class MediaStreamTrack extends EventTarget { // To suppress missing implicit constructor warnings. @@ -26591,8 +20100,6 @@ class MediaStreamTrack extends EventTarget { * * See [EventStreamProvider] for usage information. */ - @DomName('MediaStreamTrack.endedEvent') - @DocsEditable() static const EventStreamProvider endedEvent = const EventStreamProvider('ended'); @@ -26602,8 +20109,6 @@ class MediaStreamTrack extends EventTarget { * * See [EventStreamProvider] for usage information. */ - @DomName('MediaStreamTrack.muteEvent') - @DocsEditable() static const EventStreamProvider muteEvent = const EventStreamProvider('mute'); @@ -26613,44 +20118,23 @@ class MediaStreamTrack extends EventTarget { * * See [EventStreamProvider] for usage information. */ - @DomName('MediaStreamTrack.unmuteEvent') - @DocsEditable() static const EventStreamProvider unmuteEvent = const EventStreamProvider('unmute'); - @DomName('MediaStreamTrack.contentHint') - @DocsEditable() - @Experimental() // untriaged String contentHint; - @DomName('MediaStreamTrack.enabled') - @DocsEditable() bool enabled; - @DomName('MediaStreamTrack.id') - @DocsEditable() final String id; - @DomName('MediaStreamTrack.kind') - @DocsEditable() final String kind; - @DomName('MediaStreamTrack.label') - @DocsEditable() final String label; - @DomName('MediaStreamTrack.muted') - @DocsEditable() - @Experimental() // untriaged final bool muted; - @DomName('MediaStreamTrack.readyState') - @DocsEditable() final String readyState; - @DomName('MediaStreamTrack.applyConstraints') - @DocsEditable() - @Experimental() // untriaged Future applyConstraints([Map constraints]) { if (constraints != null) { var constraints_1 = convertDartToNative_Dictionary(constraints); @@ -26660,89 +20144,49 @@ class MediaStreamTrack extends EventTarget { } @JSName('applyConstraints') - @DomName('MediaStreamTrack.applyConstraints') - @DocsEditable() - @Experimental() // untriaged Future _applyConstraints_1(constraints) native; @JSName('applyConstraints') - @DomName('MediaStreamTrack.applyConstraints') - @DocsEditable() - @Experimental() // untriaged Future _applyConstraints_2() native; - @DomName('MediaStreamTrack.clone') - @DocsEditable() - @Experimental() // untriaged MediaStreamTrack clone() native; - @DomName('MediaStreamTrack.getCapabilities') - @DocsEditable() - @Experimental() // untriaged Map getCapabilities() { return convertNativeToDart_Dictionary(_getCapabilities_1()); } @JSName('getCapabilities') - @DomName('MediaStreamTrack.getCapabilities') - @DocsEditable() - @Experimental() // untriaged _getCapabilities_1() native; - @DomName('MediaStreamTrack.getConstraints') - @DocsEditable() - @Experimental() // untriaged Map getConstraints() { return convertNativeToDart_Dictionary(_getConstraints_1()); } @JSName('getConstraints') - @DomName('MediaStreamTrack.getConstraints') - @DocsEditable() - @Experimental() // untriaged _getConstraints_1() native; - @DomName('MediaStreamTrack.getSettings') - @DocsEditable() - @Experimental() // untriaged Map getSettings() { return convertNativeToDart_Dictionary(_getSettings_1()); } @JSName('getSettings') - @DomName('MediaStreamTrack.getSettings') - @DocsEditable() - @Experimental() // untriaged _getSettings_1() native; - @DomName('MediaStreamTrack.stop') - @DocsEditable() - @Experimental() // untriaged void stop() native; /// Stream of `ended` events handled by this [MediaStreamTrack]. - @DomName('MediaStreamTrack.onended') - @DocsEditable() Stream get onEnded => endedEvent.forTarget(this); /// Stream of `mute` events handled by this [MediaStreamTrack]. - @DomName('MediaStreamTrack.onmute') - @DocsEditable() Stream get onMute => muteEvent.forTarget(this); /// Stream of `unmute` events handled by this [MediaStreamTrack]. - @DomName('MediaStreamTrack.onunmute') - @DocsEditable() Stream get onUnmute => unmuteEvent.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('MediaStreamTrackEvent') @SupportedBrowser(SupportedBrowser.CHROME) -@Experimental() -// http://dev.w3.org/2011/webrtc/editor/getusermedia.html @Native("MediaStreamTrackEvent") class MediaStreamTrackEvent extends Event { // To suppress missing implicit constructor warnings. @@ -26750,8 +20194,6 @@ class MediaStreamTrackEvent extends Event { throw new UnsupportedError("Not supported"); } - @DomName('MediaStreamTrackEvent.MediaStreamTrackEvent') - @DocsEditable() factory MediaStreamTrackEvent(String type, Map eventInitDict) { var eventInitDict_1 = convertDartToNative_Dictionary(eventInitDict); return MediaStreamTrackEvent._create_1(type, eventInitDict_1); @@ -26766,17 +20208,12 @@ class MediaStreamTrackEvent extends Event { static bool get supported => Device.isEventTypeSupported('MediaStreamTrackEvent'); - @DomName('MediaStreamTrackEvent.track') - @DocsEditable() final MediaStreamTrack 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('MemoryInfo') -@Experimental() // nonstandard @Native("MemoryInfo") class MemoryInfo extends Interceptor { // To suppress missing implicit constructor warnings. @@ -26784,23 +20221,16 @@ class MemoryInfo extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('MemoryInfo.jsHeapSizeLimit') - @DocsEditable() final int jsHeapSizeLimit; - @DomName('MemoryInfo.totalJSHeapSize') - @DocsEditable() final int totalJSHeapSize; - @DomName('MemoryInfo.usedJSHeapSize') - @DocsEditable() final int 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() /** * An HTML element. * @@ -26811,7 +20241,6 @@ class MemoryInfo extends Interceptor { * * [Menu Element](https://developer.mozilla.org/en-US/docs/HTML/Element/menu) from MDN. * * [Menu Element](http://www.w3.org/TR/html5/the-menu-element.html#the-menu-element) from the W3C. */ -@DomName('HTMLMenuElement') @Native("HTMLMenuElement") class MenuElement extends HtmlElement { // To suppress missing implicit constructor warnings. @@ -26819,8 +20248,6 @@ class MenuElement extends HtmlElement { throw new UnsupportedError("Not supported"); } - @DomName('HTMLMenuElement.HTMLMenuElement') - @DocsEditable() factory MenuElement() => JS( 'returns:MenuElement;creates:MenuElement;new:true', '#.createElement(#)', @@ -26839,15 +20266,11 @@ class MenuElement extends HtmlElement { // WARNING: Do not edit - generated code. -@DomName('MessageCallback') -@Experimental() // untriaged typedef void MessageCallback(Map 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('MessageChannel') @Unstable() @Native("MessageChannel") class MessageChannel extends Interceptor { @@ -26856,20 +20279,14 @@ class MessageChannel extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('MessageChannel.MessageChannel') - @DocsEditable() factory MessageChannel() { return MessageChannel._create_1(); } static MessageChannel _create_1() => JS('MessageChannel', 'new MessageChannel()'); - @DomName('MessageChannel.port1') - @DocsEditable() final MessagePort port1; - @DomName('MessageChannel.port2') - @DocsEditable() final MessagePort port2; } // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file @@ -26878,7 +20295,6 @@ class MessageChannel extends Interceptor { // WARNING: Do not edit - generated code. -@DomName('MessageEvent') @Native("MessageEvent") class MessageEvent extends Event { factory MessageEvent(String type, @@ -26916,19 +20332,13 @@ class MessageEvent extends Event { // TODO(alanknight): This really should be generated by the // _OutputConversion in the systemnative.py script, but that doesn't // use those conversions right now, so do this as a one-off. - @DomName('MessageEvent.data') - @DocsEditable() dynamic get data => convertNativeToDart_SerializedScriptValue(this._get_data); @JSName('data') - @DomName('MessageEvent.data') - @DocsEditable() @annotation_Creates_SerializedScriptValue @annotation_Returns_SerializedScriptValue final dynamic _get_data; - @DomName('MessageEvent.MessageEvent') - @DocsEditable() factory MessageEvent._(String type, [Map eventInitDict]) { if (eventInitDict != null) { var eventInitDict_1 = convertDartToNative_Dictionary(eventInitDict); @@ -26941,32 +20351,19 @@ class MessageEvent extends Event { static MessageEvent _create_2(type) => JS('MessageEvent', 'new MessageEvent(#)', type); - @DomName('MessageEvent.lastEventId') - @DocsEditable() @Unstable() final String lastEventId; - @DomName('MessageEvent.origin') - @DocsEditable() final String origin; - @DomName('MessageEvent.source') - @DocsEditable() EventTarget get source => _convertNativeToDart_EventTarget(this._get_source); @JSName('source') - @DomName('MessageEvent.source') - @DocsEditable() @Creates('Null') @Returns('EventTarget|=Object') final dynamic _get_source; - @DomName('MessageEvent.suborigin') - @DocsEditable() - @Experimental() // untriaged final String suborigin; - @DomName('MessageEvent.initMessageEvent') - @DocsEditable() void _initMessageEvent( String typeArg, bool canBubbleArg, @@ -26983,8 +20380,6 @@ class MessageEvent extends Event { } @JSName('initMessageEvent') - @DomName('MessageEvent.initMessageEvent') - @DocsEditable() void _initMessageEvent_1(typeArg, canBubbleArg, cancelableArg, dataArg, originArg, lastEventIdArg, sourceArg, List portsArg) native; } @@ -26994,7 +20389,6 @@ class MessageEvent extends Event { // WARNING: Do not edit - generated code. -@DomName('MessagePort') @Unstable() @Native("MessagePort") class MessagePort extends EventTarget { @@ -27020,17 +20414,11 @@ class MessagePort extends EventTarget { * * See [EventStreamProvider] for usage information. */ - @DomName('MessagePort.messageEvent') - @DocsEditable() static const EventStreamProvider messageEvent = const EventStreamProvider('message'); - @DomName('MessagePort.close') - @DocsEditable() void close() native; - @DomName('MessagePort.postMessage') - @DocsEditable() void postMessage(/*any*/ message, [List transfer]) { if (transfer != null) { var message_1 = convertDartToNative_SerializedScriptValue(message); @@ -27043,22 +20431,14 @@ class MessagePort extends EventTarget { } @JSName('postMessage') - @DomName('MessagePort.postMessage') - @DocsEditable() void _postMessage_1(message, List transfer) native; @JSName('postMessage') - @DomName('MessagePort.postMessage') - @DocsEditable() void _postMessage_2(message) native; @JSName('start') - @DomName('MessagePort.start') - @DocsEditable() void _start() native; /// Stream of `message` events handled by this [MessagePort]. - @DomName('MessagePort.onmessage') - @DocsEditable() Stream get onMessage => messageEvent.forTarget(this); } @@ -27066,8 +20446,6 @@ class MessagePort 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('HTMLMetaElement') @Native("HTMLMetaElement") class MetaElement extends HtmlElement { // To suppress missing implicit constructor warnings. @@ -27075,8 +20453,6 @@ class MetaElement extends HtmlElement { throw new UnsupportedError("Not supported"); } - @DomName('HTMLMetaElement.HTMLMetaElement') - @DocsEditable() factory MetaElement() => JS( 'returns:MetaElement;creates:MetaElement;new:true', '#.createElement(#)', @@ -27089,26 +20465,16 @@ class MetaElement extends HtmlElement { */ MetaElement.created() : super.created(); - @DomName('HTMLMetaElement.content') - @DocsEditable() String content; - @DomName('HTMLMetaElement.httpEquiv') - @DocsEditable() String httpEquiv; - @DomName('HTMLMetaElement.name') - @DocsEditable() String 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. -@DocsEditable() -@DomName('Metadata') -// http://www.w3.org/TR/file-system-api/#the-metadata-interface -@Experimental() @Native("Metadata") class Metadata extends Interceptor { // To suppress missing implicit constructor warnings. @@ -27116,18 +20482,12 @@ class Metadata extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('Metadata.modificationTime') - @DocsEditable() DateTime get modificationTime => convertNativeToDart_DateTime(this._get_modificationTime); @JSName('modificationTime') - @DomName('Metadata.modificationTime') - @DocsEditable() @Creates('Null') final dynamic _get_modificationTime; - @DomName('Metadata.size') - @DocsEditable() final int size; } // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file @@ -27136,16 +20496,11 @@ class Metadata extends Interceptor { // WARNING: Do not edit - generated code. -@DomName('MetadataCallback') -// http://www.w3.org/TR/file-system-api/#idl-def-MetadataCallback -@Experimental() typedef void MetadataCallback(Metadata metadata); // Copyright (c) 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('HTMLMeterElement') @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.FIREFOX) @SupportedBrowser(SupportedBrowser.SAFARI) @@ -27157,8 +20512,6 @@ class MeterElement extends HtmlElement { throw new UnsupportedError("Not supported"); } - @DomName('HTMLMeterElement.HTMLMeterElement') - @DocsEditable() factory MeterElement() => document.createElement("meter"); /** * Constructor instantiated by the DOM when a custom element has been created. @@ -27170,45 +20523,27 @@ class MeterElement extends HtmlElement { /// Checks if this type is supported on the current platform. static bool get supported => Element.isTagSupported('meter'); - @DomName('HTMLMeterElement.high') - @DocsEditable() num high; - @DomName('HTMLMeterElement.labels') - @DocsEditable() @Unstable() @Returns('NodeList|Null') @Creates('NodeList') final List labels; - @DomName('HTMLMeterElement.low') - @DocsEditable() num low; - @DomName('HTMLMeterElement.max') - @DocsEditable() num max; - @DomName('HTMLMeterElement.min') - @DocsEditable() num min; - @DomName('HTMLMeterElement.optimum') - @DocsEditable() num optimum; - @DomName('HTMLMeterElement.value') - @DocsEditable() num 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('MIDIAccess') -// http://webaudio.github.io/web-midi-api/#midiaccess-interface -@Experimental() @Native("MIDIAccess") class MidiAccess extends EventTarget { // To suppress missing implicit constructor warnings. @@ -27216,27 +20551,16 @@ class MidiAccess extends EventTarget { throw new UnsupportedError("Not supported"); } - @DomName('MIDIAccess.inputs') - @DocsEditable() final MidiInputMap inputs; - @DomName('MIDIAccess.outputs') - @DocsEditable() final MidiOutputMap outputs; - @DomName('MIDIAccess.sysexEnabled') - @DocsEditable() - @Experimental() // untriaged final bool sysexEnabled; } // Copyright (c) 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('MIDIConnectionEvent') -// http://webaudio.github.io/web-midi-api/#midiconnectionevent-interface -@Experimental() @Native("MIDIConnectionEvent") class MidiConnectionEvent extends Event { // To suppress missing implicit constructor warnings. @@ -27244,8 +20568,6 @@ class MidiConnectionEvent extends Event { throw new UnsupportedError("Not supported"); } - @DomName('MIDIConnectionEvent.MIDIConnectionEvent') - @DocsEditable() factory MidiConnectionEvent(String type, [Map eventInitDict]) { if (eventInitDict != null) { var eventInitDict_1 = convertDartToNative_Dictionary(eventInitDict); @@ -27261,18 +20583,12 @@ class MidiConnectionEvent extends Event { static MidiConnectionEvent _create_2(type) => JS('MidiConnectionEvent', 'new MIDIConnectionEvent(#)', type); - @DomName('MIDIConnectionEvent.port') - @DocsEditable() final MidiPort 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('MIDIInput') -// http://webaudio.github.io/web-midi-api/#idl-def-MIDIInput -@Experimental() @Native("MIDIInput") class MidiInput extends MidiPort { // To suppress missing implicit constructor warnings. @@ -27286,14 +20602,10 @@ class MidiInput extends MidiPort { * * See [EventStreamProvider] for usage information. */ - @DomName('MIDIInput.midimessageEvent') - @DocsEditable() static const EventStreamProvider midiMessageEvent = const EventStreamProvider('midimessage'); /// Stream of `midimessage` events handled by this [MidiInput]. - @DomName('MIDIInput.onmidimessage') - @DocsEditable() Stream get onMidiMessage => midiMessageEvent.forTarget(this); } @@ -27301,9 +20613,6 @@ class MidiInput extends MidiPort { // 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('MIDIInputMap') -@Experimental() // untriaged @Native("MIDIInputMap") class MidiInputMap extends Interceptor with MapMixin { // To suppress missing implicit constructor warnings. @@ -27372,10 +20681,6 @@ class MidiInputMap extends Interceptor with MapMixin { // 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('MIDIMessageEvent') -// http://webaudio.github.io/web-midi-api/#midimessageevent-interface -@Experimental() @Native("MIDIMessageEvent") class MidiMessageEvent extends Event { // To suppress missing implicit constructor warnings. @@ -27383,8 +20688,6 @@ class MidiMessageEvent extends Event { throw new UnsupportedError("Not supported"); } - @DomName('MIDIMessageEvent.MIDIMessageEvent') - @DocsEditable() factory MidiMessageEvent(String type, [Map eventInitDict]) { if (eventInitDict != null) { var eventInitDict_1 = convertDartToNative_Dictionary(eventInitDict); @@ -27397,18 +20700,12 @@ class MidiMessageEvent extends Event { static MidiMessageEvent _create_2(type) => JS('MidiMessageEvent', 'new MIDIMessageEvent(#)', type); - @DomName('MIDIMessageEvent.data') - @DocsEditable() final Uint8List 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('MIDIOutput') -// http://webaudio.github.io/web-midi-api/#midioutput-interface -@Experimental() @Native("MIDIOutput") class MidiOutput extends MidiPort { // To suppress missing implicit constructor warnings. @@ -27416,17 +20713,12 @@ class MidiOutput extends MidiPort { throw new UnsupportedError("Not supported"); } - @DomName('MIDIOutput.send') - @DocsEditable() void send(Uint8List data, [num timestamp]) 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('MIDIOutputMap') -@Experimental() // untriaged @Native("MIDIOutputMap") class MidiOutputMap extends Interceptor with MapMixin { // To suppress missing implicit constructor warnings. @@ -27495,10 +20787,6 @@ class MidiOutputMap extends Interceptor with MapMixin { // 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('MIDIPort') -// http://webaudio.github.io/web-midi-api/#idl-def-MIDIPort -@Experimental() @Native("MIDIPort") class MidiPort extends EventTarget { // To suppress missing implicit constructor warnings. @@ -27506,53 +20794,28 @@ class MidiPort extends EventTarget { throw new UnsupportedError("Not supported"); } - @DomName('MIDIPort.connection') - @DocsEditable() - @Experimental() // untriaged final String connection; - @DomName('MIDIPort.id') - @DocsEditable() final String id; - @DomName('MIDIPort.manufacturer') - @DocsEditable() final String manufacturer; - @DomName('MIDIPort.name') - @DocsEditable() final String name; - @DomName('MIDIPort.state') - @DocsEditable() - @Experimental() // untriaged final String state; - @DomName('MIDIPort.type') - @DocsEditable() final String type; - @DomName('MIDIPort.version') - @DocsEditable() final String version; - @DomName('MIDIPort.close') - @DocsEditable() - @Experimental() // untriaged Future close() => promiseToFuture(JS("", "#.close()", this)); - @DomName('MIDIPort.open') - @DocsEditable() - @Experimental() // untriaged Future open() => promiseToFuture(JS("", "#.open()", 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('MimeType') -@Experimental() // non-standard @Native("MimeType") class MimeType extends Interceptor { // To suppress missing implicit constructor warnings. @@ -27560,29 +20823,18 @@ class MimeType extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('MimeType.description') - @DocsEditable() final String description; - @DomName('MimeType.enabledPlugin') - @DocsEditable() final Plugin enabledPlugin; - @DomName('MimeType.suffixes') - @DocsEditable() final String suffixes; - @DomName('MimeType.type') - @DocsEditable() final String 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('MimeTypeArray') -@Experimental() // non-standard @Native("MimeTypeArray") class MimeTypeArray extends Interceptor with ListMixin, ImmutableListMixin @@ -27592,8 +20844,6 @@ class MimeTypeArray extends Interceptor throw new UnsupportedError("Not supported"); } - @DomName('MimeTypeArray.length') - @DocsEditable() int get length => JS("int", "#.length", this); MimeType operator [](int index) { @@ -27639,20 +20889,14 @@ class MimeTypeArray extends Interceptor MimeType elementAt(int index) => this[index]; // -- end List mixins. - @DomName('MimeTypeArray.item') - @DocsEditable() MimeType item(int index) native; - @DomName('MimeTypeArray.namedItem') - @DocsEditable() MimeType namedItem(String name) 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('HTMLModElement') @Unstable() @Native("HTMLModElement") class ModElement extends HtmlElement { @@ -27667,12 +20911,8 @@ class ModElement extends HtmlElement { */ ModElement.created() : super.created(); - @DomName('HTMLModElement.cite') - @DocsEditable() String cite; - @DomName('HTMLModElement.dateTime') - @DocsEditable() String dateTime; } // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file @@ -27681,14 +20921,11 @@ class ModElement extends HtmlElement { // WARNING: Do not edit - generated code. -@DomName('MojoWatchCallback') -@Experimental() // untriaged typedef void MojoWatchCallback(int result); // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -@DomName('MouseEvent') @Native("MouseEvent,DragEvent") class MouseEvent extends UIEvent { factory MouseEvent(String type, @@ -27729,8 +20966,6 @@ class MouseEvent extends UIEvent { return event; } - @DomName('MouseEvent.MouseEvent') - @DocsEditable() factory MouseEvent._(String type, [Map eventInitDict]) { if (eventInitDict != null) { var eventInitDict_1 = convertDartToNative_Dictionary(eventInitDict); @@ -27743,31 +20978,18 @@ class MouseEvent extends UIEvent { static MouseEvent _create_2(type) => JS('MouseEvent', 'new MouseEvent(#)', type); - @DomName('MouseEvent.altKey') - @DocsEditable() final bool altKey; - @DomName('MouseEvent.button') - @DocsEditable() final int button; - @DomName('MouseEvent.buttons') - @DocsEditable() - @Experimental() // untriaged final int buttons; @JSName('clientX') - @DomName('MouseEvent.clientX') - @DocsEditable() final num _clientX; @JSName('clientY') - @DomName('MouseEvent.clientY') - @DocsEditable() final num _clientY; - @DomName('MouseEvent.ctrlKey') - @DocsEditable() final bool ctrlKey; /** @@ -27777,79 +20999,44 @@ class MouseEvent extends UIEvent { * This member is deprecated and not cross-browser compatible; use * relatedTarget to get the same information in the standard way. */ - @DomName('MouseEvent.fromElement') - @DocsEditable() @deprecated final Node fromElement; @JSName('layerX') - @DomName('MouseEvent.layerX') - @DocsEditable() - @Experimental() // untriaged final int _layerX; @JSName('layerY') - @DomName('MouseEvent.layerY') - @DocsEditable() - @Experimental() // untriaged final int _layerY; - @DomName('MouseEvent.metaKey') - @DocsEditable() final bool metaKey; @JSName('movementX') - @DomName('MouseEvent.movementX') - @DocsEditable() - @Experimental() // untriaged final int _movementX; @JSName('movementY') - @DomName('MouseEvent.movementY') - @DocsEditable() - @Experimental() // untriaged final int _movementY; @JSName('pageX') - @DomName('MouseEvent.pageX') - @DocsEditable() - @Experimental() // untriaged final num _pageX; @JSName('pageY') - @DomName('MouseEvent.pageY') - @DocsEditable() - @Experimental() // untriaged final num _pageY; - @DomName('MouseEvent.region') - @DocsEditable() - @Experimental() // untriaged final String region; - @DomName('MouseEvent.relatedTarget') - @DocsEditable() EventTarget get relatedTarget => _convertNativeToDart_EventTarget(this._get_relatedTarget); @JSName('relatedTarget') - @DomName('MouseEvent.relatedTarget') - @DocsEditable() @Creates('Node') @Returns('EventTarget|=Object') final dynamic _get_relatedTarget; @JSName('screenX') - @DomName('MouseEvent.screenX') - @DocsEditable() final num _screenX; @JSName('screenY') - @DomName('MouseEvent.screenY') - @DocsEditable() final num _screenY; - @DomName('MouseEvent.shiftKey') - @DocsEditable() final bool shiftKey; /** @@ -27859,18 +21046,11 @@ class MouseEvent extends UIEvent { * This member is deprecated and not cross-browser compatible; use * relatedTarget to get the same information in the standard way. */ - @DomName('MouseEvent.toElement') - @DocsEditable() @deprecated final Node toElement; - @DomName('MouseEvent.getModifierState') - @DocsEditable() - @Experimental() // untriaged bool getModifierState(String keyArg) native; - @DomName('MouseEvent.initMouseEvent') - @DocsEditable() void _initMouseEvent( String type, bool bubbles, @@ -27908,8 +21088,6 @@ class MouseEvent extends UIEvent { } @JSName('initMouseEvent') - @DomName('MouseEvent.initMouseEvent') - @DocsEditable() void _initMouseEvent_1( type, bubbles, @@ -27927,15 +21105,10 @@ class MouseEvent extends UIEvent { button, relatedTarget) native; - @DomName('MouseEvent.clientX') - @DomName('MouseEvent.clientY') Point get client => new Point(_clientX, _clientY); - @DomName('MouseEvent.movementX') - @DomName('MouseEvent.movementY') @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.FIREFOX) - @Experimental() Point get movement => new Point(_movementX, _movementY); /** @@ -27961,19 +21134,12 @@ class MouseEvent extends UIEvent { } } - @DomName('MouseEvent.screenX') - @DomName('MouseEvent.screenY') Point get screen => new Point(_screenX, _screenY); - @DomName('MouseEvent.layerX') - @DomName('MouseEvent.layerY') Point get layer => new Point(_layerX, _layerY); - @DomName('MouseEvent.pageX') - @DomName('MouseEvent.pageY') Point get page => new Point(_pageX, _pageY); - @DomName('MouseEvent.dataTransfer') DataTransfer get dataTransfer => JS('DataTransfer', "#['dataTransfer']", this); } @@ -27983,15 +21149,12 @@ class MouseEvent extends UIEvent { // WARNING: Do not edit - generated code. -@DomName('MutationCallback') typedef void MutationCallback( List mutations, MutationObserver observer); // Copyright (c) 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('MutationEvent') // http://www.w3.org/TR/DOM-Level-3-Events/#events-mutationevents @deprecated @Native("MutationEvent") @@ -28001,40 +21164,22 @@ class MutationEvent extends Event { throw new UnsupportedError("Not supported"); } - @DomName('MutationEvent.ADDITION') - @DocsEditable() static const int ADDITION = 2; - @DomName('MutationEvent.MODIFICATION') - @DocsEditable() static const int MODIFICATION = 1; - @DomName('MutationEvent.REMOVAL') - @DocsEditable() static const int REMOVAL = 3; - @DomName('MutationEvent.attrChange') - @DocsEditable() final int attrChange; - @DomName('MutationEvent.attrName') - @DocsEditable() final String attrName; - @DomName('MutationEvent.newValue') - @DocsEditable() final String newValue; - @DomName('MutationEvent.prevValue') - @DocsEditable() final String prevValue; - @DomName('MutationEvent.relatedNode') - @DocsEditable() final Node relatedNode; - @DomName('MutationEvent.initMutationEvent') - @DocsEditable() void initMutationEvent( String type, bool bubbles, @@ -28049,19 +21194,13 @@ class MutationEvent extends Event { // 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. -@DomName('MutationObserver') @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.FIREFOX) @SupportedBrowser(SupportedBrowser.SAFARI) -@Experimental() @Native("MutationObserver,WebKitMutationObserver") class MutationObserver extends Interceptor { - @DomName('MutationObserver.disconnect') - @DocsEditable() void disconnect() native; - @DomName('MutationObserver.observe') - @DocsEditable() void _observe(Node target, [Map options]) { if (options != null) { var options_1 = convertDartToNative_Dictionary(options); @@ -28073,16 +21212,10 @@ class MutationObserver extends Interceptor { } @JSName('observe') - @DomName('MutationObserver.observe') - @DocsEditable() void _observe_1(Node target, options) native; @JSName('observe') - @DomName('MutationObserver.observe') - @DocsEditable() void _observe_2(Node target) native; - @DomName('MutationObserver.takeRecords') - @DocsEditable() List takeRecords() native; /** @@ -28169,8 +21302,6 @@ class MutationObserver 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('MutationRecord') @Native("MutationRecord") class MutationRecord extends Interceptor { // To suppress missing implicit constructor warnings. @@ -28178,53 +21309,32 @@ class MutationRecord extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('MutationRecord.addedNodes') - @DocsEditable() @Returns('NodeList|Null') @Creates('NodeList') final List addedNodes; - @DomName('MutationRecord.attributeName') - @DocsEditable() final String attributeName; - @DomName('MutationRecord.attributeNamespace') - @DocsEditable() final String attributeNamespace; - @DomName('MutationRecord.nextSibling') - @DocsEditable() final Node nextSibling; - @DomName('MutationRecord.oldValue') - @DocsEditable() final String oldValue; - @DomName('MutationRecord.previousSibling') - @DocsEditable() final Node previousSibling; - @DomName('MutationRecord.removedNodes') - @DocsEditable() @Returns('NodeList|Null') @Creates('NodeList') final List removedNodes; - @DomName('MutationRecord.target') - @DocsEditable() final Node target; - @DomName('MutationRecord.type') - @DocsEditable() final String 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('NavigationPreloadManager') -@Experimental() // untriaged @Native("NavigationPreloadManager") class NavigationPreloadManager extends Interceptor { // To suppress missing implicit constructor warnings. @@ -28232,19 +21342,10 @@ class NavigationPreloadManager extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('NavigationPreloadManager.disable') - @DocsEditable() - @Experimental() // untriaged Future disable() => promiseToFuture(JS("", "#.disable()", this)); - @DomName('NavigationPreloadManager.enable') - @DocsEditable() - @Experimental() // untriaged Future enable() => promiseToFuture(JS("", "#.enable()", this)); - @DomName('NavigationPreloadManager.getState') - @DocsEditable() - @Experimental() // untriaged Future> getState() => promiseToFutureAsMap(JS("", "#.getState()", this)); } @@ -28252,7 +21353,6 @@ class NavigationPreloadManager 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. -@DomName('Navigator') @Native("Navigator") class Navigator extends NavigatorConcurrentHardware implements @@ -28261,7 +21361,6 @@ class Navigator extends NavigatorConcurrentHardware NavigatorOnLine, NavigatorAutomationInformation, NavigatorID { - @DomName('Navigator.getGamepads') List getGamepads() { var gamepadList = _getGamepads(); @@ -28275,7 +21374,6 @@ class Navigator extends NavigatorConcurrentHardware return gamepadList; } - @DomName('Navigator.language') String get language => JS('String', '#.language || #.userLanguage', this, this); @@ -28314,9 +21412,7 @@ class Navigator extends NavigatorConcurrentHardware * See also: * * [MediaStream.supported] */ - @DomName('Navigator.webkitGetUserMedia') @SupportedBrowser(SupportedBrowser.CHROME) - @Experimental() Future getUserMedia({audio: false, video: false}) { var completer = new Completer(); var options = {'audio': audio, 'video': video}; @@ -28354,168 +21450,80 @@ class Navigator extends NavigatorConcurrentHardware throw new UnsupportedError("Not supported"); } - @DomName('Navigator.budget') - @DocsEditable() - @Experimental() // untriaged final _BudgetService budget; - @DomName('Navigator.clipboard') - @DocsEditable() - @Experimental() // untriaged final _Clipboard clipboard; - @DomName('Navigator.connection') - @DocsEditable() - @Experimental() // untriaged final NetworkInformation connection; - @DomName('Navigator.credentials') - @DocsEditable() - @Experimental() // untriaged final CredentialsContainer credentials; - @DomName('Navigator.deviceMemory') - @DocsEditable() - @Experimental() // untriaged final num deviceMemory; - @DomName('Navigator.doNotTrack') - @DocsEditable() - // http://www.w3.org/2011/tracking-protection/drafts/tracking-dnt.html#js-dom - @Experimental() // experimental final String doNotTrack; - @DomName('Navigator.geolocation') - @DocsEditable() @Unstable() final Geolocation geolocation; - @DomName('Navigator.maxTouchPoints') - @DocsEditable() - @Experimental() // untriaged final int maxTouchPoints; - @DomName('Navigator.mediaCapabilities') - @DocsEditable() - @Experimental() // untriaged final MediaCapabilities mediaCapabilities; - @DomName('Navigator.mediaDevices') - @DocsEditable() - @Experimental() // untriaged final MediaDevices mediaDevices; - @DomName('Navigator.mediaSession') - @DocsEditable() - @Experimental() // untriaged final MediaSession mediaSession; - @DomName('Navigator.mimeTypes') - @DocsEditable() - @Experimental() // nonstandard final MimeTypeArray mimeTypes; - @DomName('Navigator.nfc') - @DocsEditable() - @Experimental() // untriaged final _NFC nfc; - @DomName('Navigator.permissions') - @DocsEditable() - @Experimental() // untriaged final Permissions permissions; - @DomName('Navigator.presentation') - @DocsEditable() - @Experimental() // untriaged final Presentation presentation; - @DomName('Navigator.productSub') - @DocsEditable() @Unstable() final String productSub; - @DomName('Navigator.serviceWorker') - @DocsEditable() - @Experimental() // untriaged final ServiceWorkerContainer serviceWorker; - @DomName('Navigator.storage') - @DocsEditable() - @Experimental() // untriaged final StorageManager storage; - @DomName('Navigator.vendor') - @DocsEditable() @Unstable() final String vendor; - @DomName('Navigator.vendorSub') - @DocsEditable() @Unstable() final String vendorSub; - @DomName('Navigator.vr') - @DocsEditable() - @Experimental() // untriaged final VR vr; @JSName('webkitPersistentStorage') - @DomName('Navigator.webkitPersistentStorage') - @DocsEditable() @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.SAFARI) - @Experimental() - // http://www.w3.org/TR/quota-api/#accessing-storagequota final DeprecatedStorageQuota persistentStorage; @JSName('webkitTemporaryStorage') - @DomName('Navigator.webkitTemporaryStorage') - @DocsEditable() @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.SAFARI) - @Experimental() - // http://www.w3.org/TR/quota-api/#accessing-storagequota final DeprecatedStorageQuota temporaryStorage; - @DomName('Navigator.cancelKeyboardLock') - @DocsEditable() - @Experimental() // untriaged void cancelKeyboardLock() native; - @DomName('Navigator.getBattery') - @DocsEditable() - @Experimental() // untriaged Future getBattery() => promiseToFuture(JS("", "#.getBattery()", this)); @JSName('getGamepads') - @DomName('Navigator.getGamepads') - @DocsEditable() - @Experimental() // untriaged @Returns('_GamepadList|Null') @Creates('_GamepadList') List _getGamepads() native; - @DomName('Navigator.getInstalledRelatedApps') - @DocsEditable() - @Experimental() // untriaged Future getInstalledRelatedApps() => promiseToFuture( JS("", "#.getInstalledRelatedApps()", this)); - @DomName('Navigator.getVRDisplays') - @DocsEditable() - @Experimental() // untriaged Future getVRDisplays() => promiseToFuture(JS("", "#.getVRDisplays()", this)); - @DomName('Navigator.registerProtocolHandler') - @DocsEditable() @Unstable() void registerProtocolHandler(String scheme, String url, String title) native; - @DomName('Navigator.requestKeyboardLock') - @DocsEditable() - @Experimental() // untriaged Future requestKeyboardLock([List keyCodes]) { if (keyCodes != null) { List keyCodes_1 = convertDartToNative_StringArray(keyCodes); @@ -28525,19 +21533,10 @@ class Navigator extends NavigatorConcurrentHardware } @JSName('requestKeyboardLock') - @DomName('Navigator.requestKeyboardLock') - @DocsEditable() - @Experimental() // untriaged Future _requestKeyboardLock_1(List keyCodes) native; @JSName('requestKeyboardLock') - @DomName('Navigator.requestKeyboardLock') - @DocsEditable() - @Experimental() // untriaged Future _requestKeyboardLock_2() native; - @DomName('Navigator.requestMIDIAccess') - @DocsEditable() - @Experimental() // untriaged Future requestMidiAccess([Map options]) { if (options != null) { var options_1 = convertDartToNative_Dictionary(options); @@ -28547,32 +21546,17 @@ class Navigator extends NavigatorConcurrentHardware } @JSName('requestMIDIAccess') - @DomName('Navigator.requestMIDIAccess') - @DocsEditable() - @Experimental() // untriaged Future _requestMidiAccess_1(options) native; @JSName('requestMIDIAccess') - @DomName('Navigator.requestMIDIAccess') - @DocsEditable() - @Experimental() // untriaged Future _requestMidiAccess_2() native; - @DomName('Navigator.requestMediaKeySystemAccess') - @DocsEditable() - @Experimental() // untriaged Future requestMediaKeySystemAccess( String keySystem, List supportedConfigurations) => promiseToFuture(JS("", "#.requestMediaKeySystemAccess(#, #)", this, keySystem, supportedConfigurations)); - @DomName('Navigator.sendBeacon') - @DocsEditable() - @Experimental() // untriaged bool sendBeacon(String url, Object data) native; - @DomName('Navigator.share') - @DocsEditable() - @Experimental() // untriaged Future share([Map data]) { if (data != null) { var data_1 = convertDartToNative_Dictionary(data); @@ -28582,74 +21566,42 @@ class Navigator extends NavigatorConcurrentHardware } @JSName('share') - @DomName('Navigator.share') - @DocsEditable() - @Experimental() // untriaged Future _share_1(data) native; @JSName('share') - @DomName('Navigator.share') - @DocsEditable() - @Experimental() // untriaged Future _share_2() native; // From NavigatorAutomationInformation - @DomName('Navigator.webdriver') - @DocsEditable() - @Experimental() // untriaged final bool webdriver; // From NavigatorCookies - @DomName('Navigator.cookieEnabled') - @DocsEditable() @Unstable() final bool cookieEnabled; // From NavigatorID - @DomName('Navigator.appCodeName') - @DocsEditable() - @Experimental() // non-standard final String appCodeName; - @DomName('Navigator.appName') - @DocsEditable() final String appName; - @DomName('Navigator.appVersion') - @DocsEditable() final String appVersion; - @DomName('Navigator.dartEnabled') - @DocsEditable() - @Experimental() // untriaged final bool dartEnabled; - @DomName('Navigator.platform') - @DocsEditable() final String platform; - @DomName('Navigator.product') - @DocsEditable() @Unstable() final String product; - @DomName('Navigator.userAgent') - @DocsEditable() final String userAgent; // From NavigatorLanguage - @DomName('Navigator.languages') - @DocsEditable() - @Experimental() // untriaged final List languages; // From NavigatorOnLine - @DomName('Navigator.onLine') - @DocsEditable() @Unstable() final bool onLine; } @@ -28657,9 +21609,6 @@ class Navigator extends NavigatorConcurrentHardware // 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('NavigatorAutomationInformation') -@Experimental() // untriaged @Native("NavigatorAutomationInformation") class NavigatorAutomationInformation extends Interceptor { // To suppress missing implicit constructor warnings. @@ -28667,18 +21616,12 @@ class NavigatorAutomationInformation extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('NavigatorAutomationInformation.webdriver') - @DocsEditable() - @Experimental() // untriaged final bool webdriver; } // Copyright (c) 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('NavigatorConcurrentHardware') -@Experimental() // untriaged @Native("NavigatorConcurrentHardware") class NavigatorConcurrentHardware extends Interceptor { // To suppress missing implicit constructor warnings. @@ -28686,18 +21629,12 @@ class NavigatorConcurrentHardware extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('NavigatorConcurrentHardware.hardwareConcurrency') - @DocsEditable() - @Experimental() // untriaged final int hardwareConcurrency; } // Copyright (c) 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('NavigatorCookies') -@Experimental() // untriaged @Native("NavigatorCookies") class NavigatorCookies extends Interceptor { // To suppress missing implicit constructor warnings. @@ -28705,18 +21642,12 @@ class NavigatorCookies extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('NavigatorCookies.cookieEnabled') - @DocsEditable() - @Experimental() // untriaged final bool cookieEnabled; } // Copyright (c) 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('NavigatorID') -@Experimental() // untriaged abstract class NavigatorID extends Interceptor { // To suppress missing implicit constructor warnings. factory NavigatorID._() { @@ -28741,9 +21672,6 @@ abstract class NavigatorID 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('NavigatorLanguage') -@Experimental() // untriaged abstract class NavigatorLanguage extends Interceptor { // To suppress missing implicit constructor warnings. factory NavigatorLanguage._() { @@ -28758,9 +21686,6 @@ abstract class NavigatorLanguage 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('NavigatorOnLine') -@Experimental() // untriaged abstract class NavigatorOnLine extends Interceptor { // To suppress missing implicit constructor warnings. factory NavigatorOnLine._() { @@ -28773,10 +21698,6 @@ abstract class NavigatorOnLine 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('NavigatorUserMediaError') -// http://dev.w3.org/2011/webrtc/editor/getusermedia.html#idl-def-NavigatorUserMediaError -@Experimental() @Native("NavigatorUserMediaError") class NavigatorUserMediaError extends Interceptor { // To suppress missing implicit constructor warnings. @@ -28784,16 +21705,10 @@ class NavigatorUserMediaError extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('NavigatorUserMediaError.constraintName') - @DocsEditable() final String constraintName; - @DomName('NavigatorUserMediaError.message') - @DocsEditable() final String message; - @DomName('NavigatorUserMediaError.name') - @DocsEditable() final String name; } // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file @@ -28802,9 +21717,6 @@ class NavigatorUserMediaError extends Interceptor { // WARNING: Do not edit - generated code. -@DomName('NavigatorUserMediaErrorCallback') -// http://dev.w3.org/2011/webrtc/editor/getusermedia.html#idl-def-NavigatorUserMediaErrorCallback -@Experimental() typedef void _NavigatorUserMediaErrorCallback(NavigatorUserMediaError error); // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a @@ -28812,17 +21724,11 @@ typedef void _NavigatorUserMediaErrorCallback(NavigatorUserMediaError error); // WARNING: Do not edit - generated code. -@DomName('NavigatorUserMediaSuccessCallback') -// http://dev.w3.org/2011/webrtc/editor/getusermedia.html#idl-def-NavigatorUserMediaSuccessCallback -@Experimental() typedef void _NavigatorUserMediaSuccessCallback(MediaStream 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('NetworkInformation') -@Experimental() // untriaged @Native("NetworkInformation") class NetworkInformation extends EventTarget { // To suppress missing implicit constructor warnings. @@ -28830,40 +21736,19 @@ class NetworkInformation extends EventTarget { throw new UnsupportedError("Not supported"); } - @DomName('NetworkInformation.changeEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider changeEvent = const EventStreamProvider('change'); - @DomName('NetworkInformation.downlink') - @DocsEditable() - @Experimental() // untriaged final num downlink; - @DomName('NetworkInformation.downlinkMax') - @DocsEditable() - @Experimental() // untriaged final num downlinkMax; - @DomName('NetworkInformation.effectiveType') - @DocsEditable() - @Experimental() // untriaged final String effectiveType; - @DomName('NetworkInformation.rtt') - @DocsEditable() - @Experimental() // untriaged final int rtt; - @DomName('NetworkInformation.type') - @DocsEditable() - @Experimental() // untriaged final String type; - @DomName('NetworkInformation.onchange') - @DocsEditable() - @Experimental() // untriaged Stream get onChange => changeEvent.forTarget(this); } // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file @@ -29039,7 +21924,6 @@ class _ChildNodeListLazy extends ListBase implements NodeListWrapper { List get rawList => _this.childNodes; } -@DomName('Node') @Native("Node") class Node extends EventTarget { // Custom element created callback. @@ -29065,7 +21949,6 @@ class Node extends EventTarget { /** * Removes this node from the DOM. */ - @DomName('Node.removeChild') void remove() { // TODO(jacobr): should we throw an exception if parent is already null? // TODO(vsm): Use the native remove when available. @@ -29078,7 +21961,6 @@ class Node extends EventTarget { /** * Replaces this node with another node. */ - @DomName('Node.replaceChild') Node replaceWith(Node otherNode) { try { final Node parent = this.parentNode; @@ -29135,8 +22017,6 @@ class Node extends EventTarget { * * [Node.childNodes](https://developer.mozilla.org/en-US/docs/Web/API/Node.childNodes) * from MDN. */ - @DomName('Node.childNodes') - @DocsEditable() @Returns('NodeList') @Creates('NodeList') final List childNodes; @@ -29146,57 +22026,31 @@ class Node extends EventTarget { throw new UnsupportedError("Not supported"); } - @DomName('Node.ATTRIBUTE_NODE') - @DocsEditable() static const int ATTRIBUTE_NODE = 2; - @DomName('Node.CDATA_SECTION_NODE') - @DocsEditable() static const int CDATA_SECTION_NODE = 4; - @DomName('Node.COMMENT_NODE') - @DocsEditable() static const int COMMENT_NODE = 8; - @DomName('Node.DOCUMENT_FRAGMENT_NODE') - @DocsEditable() static const int DOCUMENT_FRAGMENT_NODE = 11; - @DomName('Node.DOCUMENT_NODE') - @DocsEditable() static const int DOCUMENT_NODE = 9; - @DomName('Node.DOCUMENT_TYPE_NODE') - @DocsEditable() static const int DOCUMENT_TYPE_NODE = 10; - @DomName('Node.ELEMENT_NODE') - @DocsEditable() static const int ELEMENT_NODE = 1; - @DomName('Node.ENTITY_NODE') - @DocsEditable() static const int ENTITY_NODE = 6; - @DomName('Node.ENTITY_REFERENCE_NODE') - @DocsEditable() static const int ENTITY_REFERENCE_NODE = 5; - @DomName('Node.NOTATION_NODE') - @DocsEditable() static const int NOTATION_NODE = 12; - @DomName('Node.PROCESSING_INSTRUCTION_NODE') - @DocsEditable() static const int PROCESSING_INSTRUCTION_NODE = 7; - @DomName('Node.TEXT_NODE') - @DocsEditable() static const int TEXT_NODE = 3; @JSName('baseURI') - @DomName('Node.baseURI') - @DocsEditable() final String baseUri; /** @@ -29207,13 +22061,8 @@ class Node extends EventTarget { * * [Node.firstChild](https://developer.mozilla.org/en-US/docs/Web/API/Node.firstChild) * from MDN. */ - @DomName('Node.firstChild') - @DocsEditable() final Node firstChild; - @DomName('Node.isConnected') - @DocsEditable() - @Experimental() // untriaged final bool isConnected; /** @@ -29224,8 +22073,6 @@ class Node extends EventTarget { * * [Node.lastChild](https://developer.mozilla.org/en-US/docs/Web/API/Node.lastChild) * from MDN. */ - @DomName('Node.lastChild') - @DocsEditable() final Node lastChild; @JSName('nextSibling') @@ -29237,8 +22084,6 @@ class Node extends EventTarget { * * [Node.nextSibling](https://developer.mozilla.org/en-US/docs/Web/API/Node.nextSibling) * from MDN. */ - @DomName('Node.nextSibling') - @DocsEditable() final Node nextNode; /** @@ -29252,8 +22097,6 @@ class Node extends EventTarget { * from MDN. This page contains a table of [nodeName] values for each * [nodeType]. */ - @DomName('Node.nodeName') - @DocsEditable() final String nodeName; /** @@ -29279,8 +22122,6 @@ class Node extends EventTarget { * * [Node.nodeType](https://developer.mozilla.org/en-US/docs/Web/API/Node.nodeType) * from MDN. */ - @DomName('Node.nodeType') - @DocsEditable() final int nodeType; /** @@ -29294,8 +22135,6 @@ class Node extends EventTarget { * from MDN. This page contains a table of [nodeValue] values for each * [nodeType]. */ - @DomName('Node.nodeValue') - @DocsEditable() final String nodeValue; /** @@ -29308,8 +22147,6 @@ class Node extends EventTarget { * * [Node.ownerDocument](https://developer.mozilla.org/en-US/docs/Web/API/Node.ownerDocument) * from MDN. */ - @DomName('Node.ownerDocument') - @DocsEditable() final Document ownerDocument; @JSName('parentElement') @@ -29324,8 +22161,6 @@ class Node extends EventTarget { * * [Node.parentElement](https://developer.mozilla.org/en-US/docs/Web/API/Node.parentElement) * from W3C. */ - @DomName('Node.parentElement') - @DocsEditable() final Element parent; /** @@ -29336,8 +22171,6 @@ class Node extends EventTarget { * * [Node.parentNode](https://developer.mozilla.org/en-US/docs/Web/API/Node.parentNode) * from MDN. */ - @DomName('Node.parentNode') - @DocsEditable() final Node parentNode; @JSName('previousSibling') @@ -29349,8 +22182,6 @@ class Node extends EventTarget { * * [Node.previousSibling](https://developer.mozilla.org/en-US/docs/Web/API/Node.previousSibling) * from MDN. */ - @DomName('Node.previousSibling') - @DocsEditable() final Node previousNode; @JSName('textContent') @@ -29362,8 +22193,6 @@ class Node extends EventTarget { * * [Node.textContent](https://developer.mozilla.org/en-US/docs/Web/API/Node.textContent) * from MDN. */ - @DomName('Node.textContent') - @DocsEditable() String text; @JSName('appendChild') @@ -29376,8 +22205,6 @@ class Node extends EventTarget { * This method is more efficient than `nodes.add`, and is the preferred * way of appending a child node. */ - @DomName('Node.appendChild') - @DocsEditable() Node append(Node node) native; @JSName('cloneNode') @@ -29392,8 +22219,6 @@ class Node extends EventTarget { * * [Node.cloneNode](https://developer.mozilla.org/en-US/docs/Web/API/Node.cloneNode) * from MDN. */ - @DomName('Node.cloneNode') - @DocsEditable() Node clone(bool deep) native; /** @@ -29404,13 +22229,8 @@ class Node extends EventTarget { * * [Node.contains](https://developer.mozilla.org/en-US/docs/Web/API/Node.contains) * from MDN. */ - @DomName('Node.contains') - @DocsEditable() bool contains(Node other) native; - @DomName('Node.getRootNode') - @DocsEditable() - @Experimental() // untriaged Node getRootNode([Map options]) { if (options != null) { var options_1 = convertDartToNative_Dictionary(options); @@ -29420,14 +22240,8 @@ class Node extends EventTarget { } @JSName('getRootNode') - @DomName('Node.getRootNode') - @DocsEditable() - @Experimental() // untriaged Node _getRootNode_1(options) native; @JSName('getRootNode') - @DomName('Node.getRootNode') - @DocsEditable() - @Experimental() // untriaged Node _getRootNode_2() native; /** @@ -29438,8 +22252,6 @@ class Node extends EventTarget { * * [Node.hasChildNodes](https://developer.mozilla.org/en-US/docs/Web/API/Node.hasChildNodes) * from MDN. */ - @DomName('Node.hasChildNodes') - @DocsEditable() bool hasChildNodes() native; /** @@ -29450,26 +22262,18 @@ class Node extends EventTarget { * * [Node.insertBefore](https://developer.mozilla.org/en-US/docs/Web/API/Node.insertBefore) * from MDN. */ - @DomName('Node.insertBefore') - @DocsEditable() Node insertBefore(Node node, Node child) native; @JSName('removeChild') - @DomName('Node.removeChild') - @DocsEditable() Node _removeChild(Node child) native; @JSName('replaceChild') - @DomName('Node.replaceChild') - @DocsEditable() Node _replaceChild(Node node, Node child) 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('NodeFilter') @Unstable() @Native("NodeFilter") class NodeFilter extends Interceptor { @@ -29478,55 +22282,32 @@ class NodeFilter extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('NodeFilter.FILTER_ACCEPT') - @DocsEditable() static const int FILTER_ACCEPT = 1; - @DomName('NodeFilter.FILTER_REJECT') - @DocsEditable() static const int FILTER_REJECT = 2; - @DomName('NodeFilter.FILTER_SKIP') - @DocsEditable() static const int FILTER_SKIP = 3; - @DomName('NodeFilter.SHOW_ALL') - @DocsEditable() static const int SHOW_ALL = 0xFFFFFFFF; - @DomName('NodeFilter.SHOW_COMMENT') - @DocsEditable() static const int SHOW_COMMENT = 0x80; - @DomName('NodeFilter.SHOW_DOCUMENT') - @DocsEditable() static const int SHOW_DOCUMENT = 0x100; - @DomName('NodeFilter.SHOW_DOCUMENT_FRAGMENT') - @DocsEditable() static const int SHOW_DOCUMENT_FRAGMENT = 0x400; - @DomName('NodeFilter.SHOW_DOCUMENT_TYPE') - @DocsEditable() static const int SHOW_DOCUMENT_TYPE = 0x200; - @DomName('NodeFilter.SHOW_ELEMENT') - @DocsEditable() static const int SHOW_ELEMENT = 0x1; - @DomName('NodeFilter.SHOW_PROCESSING_INSTRUCTION') - @DocsEditable() static const int SHOW_PROCESSING_INSTRUCTION = 0x40; - @DomName('NodeFilter.SHOW_TEXT') - @DocsEditable() static const int SHOW_TEXT = 0x4; } // Copyright (c) 2013, 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. -@DomName('NodeIterator') @Unstable() @Native("NodeIterator") class NodeIterator extends Interceptor { @@ -29538,40 +22319,24 @@ class NodeIterator extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('NodeIterator.pointerBeforeReferenceNode') - @DocsEditable() final bool pointerBeforeReferenceNode; - @DomName('NodeIterator.referenceNode') - @DocsEditable() final Node referenceNode; - @DomName('NodeIterator.root') - @DocsEditable() final Node root; - @DomName('NodeIterator.whatToShow') - @DocsEditable() final int whatToShow; - @DomName('NodeIterator.detach') - @DocsEditable() void detach() native; - @DomName('NodeIterator.nextNode') - @DocsEditable() Node nextNode() native; - @DomName('NodeIterator.previousNode') - @DocsEditable() Node previousNode() 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('NodeList') @Native("NodeList,RadioNodeList") class NodeList extends Interceptor with ListMixin, ImmutableListMixin @@ -29581,8 +22346,6 @@ class NodeList extends Interceptor throw new UnsupportedError("Not supported"); } - @DomName('NodeList.length') - @DocsEditable() int get length => JS("int", "#.length", this); Node operator [](int index) { @@ -29629,17 +22392,12 @@ class NodeList extends Interceptor // -- end List mixins. @JSName('item') - @DomName('NodeList.item') - @DocsEditable() Node _item(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('NonDocumentTypeChildNode') -@Experimental() // untriaged @Native("NonDocumentTypeChildNode") class NonDocumentTypeChildNode extends Interceptor { // To suppress missing implicit constructor warnings. @@ -29647,23 +22405,14 @@ class NonDocumentTypeChildNode extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('NonDocumentTypeChildNode.nextElementSibling') - @DocsEditable() - @Experimental() // untriaged final Element nextElementSibling; - @DomName('NonDocumentTypeChildNode.previousElementSibling') - @DocsEditable() - @Experimental() // untriaged final Element 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('NonElementParentNode') -@Experimental() // untriaged @Native("NonElementParentNode") class NonElementParentNode extends Interceptor { // To suppress missing implicit constructor warnings. @@ -29671,18 +22420,12 @@ class NonElementParentNode extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('NonElementParentNode.getElementById') - @DocsEditable() - @Experimental() // untriaged Element getElementById(String elementId) 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('NoncedElement') -@Experimental() // untriaged @Native("NoncedElement") class NoncedElement extends Interceptor { // To suppress missing implicit constructor warnings. @@ -29690,18 +22433,12 @@ class NoncedElement extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('NoncedElement.nonce') - @DocsEditable() - @Experimental() // untriaged String nonce; } // Copyright (c) 2013, 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. -@DomName('Notification') -// http://www.w3.org/TR/notifications/#notification -@Experimental() // experimental @Native("Notification") class Notification extends EventTarget { factory Notification(String title, @@ -29729,8 +22466,6 @@ class Notification extends EventTarget { * * See [EventStreamProvider] for usage information. */ - @DomName('Notification.clickEvent') - @DocsEditable() static const EventStreamProvider clickEvent = const EventStreamProvider('click'); @@ -29740,8 +22475,6 @@ class Notification extends EventTarget { * * See [EventStreamProvider] for usage information. */ - @DomName('Notification.closeEvent') - @DocsEditable() static const EventStreamProvider closeEvent = const EventStreamProvider('close'); @@ -29751,8 +22484,6 @@ class Notification extends EventTarget { * * See [EventStreamProvider] for usage information. */ - @DomName('Notification.errorEvent') - @DocsEditable() static const EventStreamProvider errorEvent = const EventStreamProvider('error'); @@ -29762,13 +22493,9 @@ class Notification extends EventTarget { * * See [EventStreamProvider] for usage information. */ - @DomName('Notification.showEvent') - @DocsEditable() static const EventStreamProvider showEvent = const EventStreamProvider('show'); - @DomName('Notification.Notification') - @DocsEditable() static Notification _factoryNotification(String title, [Map options]) { if (options != null) { var options_1 = convertDartToNative_Dictionary(options); @@ -29785,105 +22512,49 @@ class Notification extends EventTarget { /// Checks if this type is supported on the current platform. static bool get supported => JS('bool', '!!(window.Notification)'); - @DomName('Notification.actions') - @DocsEditable() - @Experimental() // untriaged final List actions; - @DomName('Notification.badge') - @DocsEditable() - @Experimental() // untriaged final String badge; - @DomName('Notification.body') - @DocsEditable() - @Experimental() // untriaged final String body; - @DomName('Notification.data') - @DocsEditable() - @Experimental() // untriaged @annotation_Creates_SerializedScriptValue @annotation_Returns_SerializedScriptValue final Object data; - @DomName('Notification.dir') - @DocsEditable() - @Experimental() // nonstandard final String dir; - @DomName('Notification.icon') - @DocsEditable() - @Experimental() // untriaged final String icon; - @DomName('Notification.image') - @DocsEditable() - @Experimental() // untriaged final String image; - @DomName('Notification.lang') - @DocsEditable() - @Experimental() // untriaged final String lang; - @DomName('Notification.maxActions') - @DocsEditable() - @Experimental() // untriaged static final int maxActions; - @DomName('Notification.permission') - @DocsEditable() static final String permission; - @DomName('Notification.renotify') - @DocsEditable() - @Experimental() // untriaged final bool renotify; - @DomName('Notification.requireInteraction') - @DocsEditable() - @Experimental() // untriaged final bool requireInteraction; - @DomName('Notification.silent') - @DocsEditable() - @Experimental() // untriaged final bool silent; - @DomName('Notification.tag') - @DocsEditable() - @Experimental() // nonstandard final String tag; - @DomName('Notification.timestamp') - @DocsEditable() - @Experimental() // untriaged final int timestamp; - @DomName('Notification.title') - @DocsEditable() - @Experimental() // untriaged final String title; - @DomName('Notification.vibrate') - @DocsEditable() - @Experimental() // untriaged final List vibrate; - @DomName('Notification.close') - @DocsEditable() void close() native; @JSName('requestPermission') - @DomName('Notification.requestPermission') - @DocsEditable() static Future _requestPermission( [_NotificationPermissionCallback deprecatedCallback]) native; @JSName('requestPermission') - @DomName('Notification.requestPermission') - @DocsEditable() static Future requestPermission() { var completer = new Completer(); _requestPermission((value) { @@ -29893,32 +22564,21 @@ class Notification extends EventTarget { } /// Stream of `click` events handled by this [Notification]. - @DomName('Notification.onclick') - @DocsEditable() Stream get onClick => clickEvent.forTarget(this); /// Stream of `close` events handled by this [Notification]. - @DomName('Notification.onclose') - @DocsEditable() Stream get onClose => closeEvent.forTarget(this); /// Stream of `error` events handled by this [Notification]. - @DomName('Notification.onerror') - @DocsEditable() Stream get onError => errorEvent.forTarget(this); /// Stream of `show` events handled by this [Notification]. - @DomName('Notification.onshow') - @DocsEditable() Stream get onShow => showEvent.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('NotificationEvent') -@Experimental() // untriaged @Native("NotificationEvent") class NotificationEvent extends ExtendableEvent { // To suppress missing implicit constructor warnings. @@ -29926,8 +22586,6 @@ class NotificationEvent extends ExtendableEvent { throw new UnsupportedError("Not supported"); } - @DomName('NotificationEvent.NotificationEvent') - @DocsEditable() factory NotificationEvent(String type, Map eventInitDict) { var eventInitDict_1 = convertDartToNative_Dictionary(eventInitDict); return NotificationEvent._create_1(type, eventInitDict_1); @@ -29935,19 +22593,10 @@ class NotificationEvent extends ExtendableEvent { static NotificationEvent _create_1(type, eventInitDict) => JS( 'NotificationEvent', 'new NotificationEvent(#,#)', type, eventInitDict); - @DomName('NotificationEvent.action') - @DocsEditable() - @Experimental() // untriaged final String action; - @DomName('NotificationEvent.notification') - @DocsEditable() - @Experimental() // untriaged final Notification notification; - @DomName('NotificationEvent.reply') - @DocsEditable() - @Experimental() // untriaged final String reply; } // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file @@ -29956,16 +22605,11 @@ class NotificationEvent extends ExtendableEvent { // WARNING: Do not edit - generated code. -@DomName('NotificationPermissionCallback') -// http://www.w3.org/TR/notifications/#notificationpermissioncallback -@Experimental() typedef void _NotificationPermissionCallback(String permission); // Copyright (c) 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('HTMLOListElement') @Native("HTMLOListElement") class OListElement extends HtmlElement { // To suppress missing implicit constructor warnings. @@ -29973,8 +22617,6 @@ class OListElement extends HtmlElement { throw new UnsupportedError("Not supported"); } - @DomName('HTMLOListElement.HTMLOListElement') - @DocsEditable() factory OListElement() => JS( 'returns:OListElement;creates:OListElement;new:true', '#.createElement(#)', @@ -29987,24 +22629,16 @@ class OListElement extends HtmlElement { */ OListElement.created() : super.created(); - @DomName('HTMLOListElement.reversed') - @DocsEditable() bool reversed; - @DomName('HTMLOListElement.start') - @DocsEditable() int start; - @DomName('HTMLOListElement.type') - @DocsEditable() String 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('HTMLObjectElement') @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.IE) @SupportedBrowser(SupportedBrowser.SAFARI) @@ -30016,8 +22650,6 @@ class ObjectElement extends HtmlElement { throw new UnsupportedError("Not supported"); } - @DomName('HTMLObjectElement.HTMLObjectElement') - @DocsEditable() factory ObjectElement() => document.createElement("object"); /** * Constructor instantiated by the DOM when a custom element has been created. @@ -30029,87 +22661,47 @@ class ObjectElement extends HtmlElement { /// Checks if this type is supported on the current platform. static bool get supported => Element.isTagSupported('object'); - @DomName('HTMLObjectElement.contentWindow') - @DocsEditable() - @Experimental() // untriaged WindowBase get contentWindow => _convertNativeToDart_Window(this._get_contentWindow); @JSName('contentWindow') - @DomName('HTMLObjectElement.contentWindow') - @DocsEditable() - @Experimental() // untriaged @Creates('Window|=Object') @Returns('Window|=Object') final dynamic _get_contentWindow; - @DomName('HTMLObjectElement.data') - @DocsEditable() String data; - @DomName('HTMLObjectElement.form') - @DocsEditable() final FormElement form; - @DomName('HTMLObjectElement.height') - @DocsEditable() String height; - @DomName('HTMLObjectElement.name') - @DocsEditable() String name; - @DomName('HTMLObjectElement.type') - @DocsEditable() String type; - @DomName('HTMLObjectElement.useMap') - @DocsEditable() String useMap; - @DomName('HTMLObjectElement.validationMessage') - @DocsEditable() final String validationMessage; - @DomName('HTMLObjectElement.validity') - @DocsEditable() final ValidityState validity; - @DomName('HTMLObjectElement.width') - @DocsEditable() String width; - @DomName('HTMLObjectElement.willValidate') - @DocsEditable() final bool willValidate; - @DomName('HTMLObjectElement.__getter__') - @DocsEditable() Node __getter__(String name) native; - @DomName('HTMLObjectElement.__setter__') - @DocsEditable() void __setter__(String name, Node value) native; - @DomName('HTMLObjectElement.checkValidity') - @DocsEditable() bool checkValidity() native; - @DomName('HTMLObjectElement.reportValidity') - @DocsEditable() - @Experimental() // untriaged bool reportValidity() native; - @DomName('HTMLObjectElement.setCustomValidity') - @DocsEditable() void setCustomValidity(String error) 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('OffscreenCanvas') -@Experimental() // untriaged @Native("OffscreenCanvas") class OffscreenCanvas extends EventTarget { // To suppress missing implicit constructor warnings. @@ -30117,27 +22709,16 @@ class OffscreenCanvas extends EventTarget { throw new UnsupportedError("Not supported"); } - @DomName('OffscreenCanvas.OffscreenCanvas') - @DocsEditable() factory OffscreenCanvas(int width, int height) { return OffscreenCanvas._create_1(width, height); } static OffscreenCanvas _create_1(width, height) => JS('OffscreenCanvas', 'new OffscreenCanvas(#,#)', width, height); - @DomName('OffscreenCanvas.height') - @DocsEditable() - @Experimental() // untriaged int height; - @DomName('OffscreenCanvas.width') - @DocsEditable() - @Experimental() // untriaged int width; - @DomName('OffscreenCanvas.convertToBlob') - @DocsEditable() - @Experimental() // untriaged Future convertToBlob([Map options]) { if (options != null) { var options_1 = convertDartToNative_Dictionary(options); @@ -30147,19 +22728,10 @@ class OffscreenCanvas extends EventTarget { } @JSName('convertToBlob') - @DomName('OffscreenCanvas.convertToBlob') - @DocsEditable() - @Experimental() // untriaged Future _convertToBlob_1(options) native; @JSName('convertToBlob') - @DomName('OffscreenCanvas.convertToBlob') - @DocsEditable() - @Experimental() // untriaged Future _convertToBlob_2() native; - @DomName('OffscreenCanvas.getContext') - @DocsEditable() - @Experimental() // untriaged Object getContext(String contextType, [Map attributes]) { if (attributes != null) { var attributes_1 = convertDartToNative_Dictionary(attributes); @@ -30169,28 +22741,16 @@ class OffscreenCanvas extends EventTarget { } @JSName('getContext') - @DomName('OffscreenCanvas.getContext') - @DocsEditable() - @Experimental() // untriaged Object _getContext_1(contextType, attributes) native; @JSName('getContext') - @DomName('OffscreenCanvas.getContext') - @DocsEditable() - @Experimental() // untriaged Object _getContext_2(contextType) native; - @DomName('OffscreenCanvas.transferToImageBitmap') - @DocsEditable() - @Experimental() // untriaged ImageBitmap transferToImageBitmap() 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('OffscreenCanvasRenderingContext2D') -@Experimental() // untriaged @Native("OffscreenCanvasRenderingContext2D") class OffscreenCanvasRenderingContext2D extends Interceptor implements _CanvasPath { @@ -30199,134 +22759,56 @@ class OffscreenCanvasRenderingContext2D extends Interceptor throw new UnsupportedError("Not supported"); } - @DomName('OffscreenCanvasRenderingContext2D.canvas') - @DocsEditable() - @Experimental() // untriaged final OffscreenCanvas canvas; - @DomName('OffscreenCanvasRenderingContext2D.direction') - @DocsEditable() - @Experimental() // untriaged String direction; - @DomName('OffscreenCanvasRenderingContext2D.fillStyle') - @DocsEditable() - @Experimental() // untriaged Object fillStyle; - @DomName('OffscreenCanvasRenderingContext2D.filter') - @DocsEditable() - @Experimental() // untriaged String filter; - @DomName('OffscreenCanvasRenderingContext2D.font') - @DocsEditable() - @Experimental() // untriaged String font; - @DomName('OffscreenCanvasRenderingContext2D.globalAlpha') - @DocsEditable() - @Experimental() // untriaged num globalAlpha; - @DomName('OffscreenCanvasRenderingContext2D.globalCompositeOperation') - @DocsEditable() - @Experimental() // untriaged String globalCompositeOperation; - @DomName('OffscreenCanvasRenderingContext2D.imageSmoothingEnabled') - @DocsEditable() - @Experimental() // untriaged bool imageSmoothingEnabled; - @DomName('OffscreenCanvasRenderingContext2D.imageSmoothingQuality') - @DocsEditable() - @Experimental() // untriaged String imageSmoothingQuality; - @DomName('OffscreenCanvasRenderingContext2D.lineCap') - @DocsEditable() - @Experimental() // untriaged String lineCap; - @DomName('OffscreenCanvasRenderingContext2D.lineDashOffset') - @DocsEditable() - @Experimental() // untriaged num lineDashOffset; - @DomName('OffscreenCanvasRenderingContext2D.lineJoin') - @DocsEditable() - @Experimental() // untriaged String lineJoin; - @DomName('OffscreenCanvasRenderingContext2D.lineWidth') - @DocsEditable() - @Experimental() // untriaged num lineWidth; - @DomName('OffscreenCanvasRenderingContext2D.miterLimit') - @DocsEditable() - @Experimental() // untriaged num miterLimit; - @DomName('OffscreenCanvasRenderingContext2D.shadowBlur') - @DocsEditable() - @Experimental() // untriaged num shadowBlur; - @DomName('OffscreenCanvasRenderingContext2D.shadowColor') - @DocsEditable() - @Experimental() // untriaged String shadowColor; - @DomName('OffscreenCanvasRenderingContext2D.shadowOffsetX') - @DocsEditable() - @Experimental() // untriaged num shadowOffsetX; - @DomName('OffscreenCanvasRenderingContext2D.shadowOffsetY') - @DocsEditable() - @Experimental() // untriaged num shadowOffsetY; - @DomName('OffscreenCanvasRenderingContext2D.strokeStyle') - @DocsEditable() - @Experimental() // untriaged Object strokeStyle; - @DomName('OffscreenCanvasRenderingContext2D.textAlign') - @DocsEditable() - @Experimental() // untriaged String textAlign; - @DomName('OffscreenCanvasRenderingContext2D.textBaseline') - @DocsEditable() - @Experimental() // untriaged String textBaseline; - @DomName('OffscreenCanvasRenderingContext2D.beginPath') - @DocsEditable() - @Experimental() // untriaged void beginPath() native; - @DomName('OffscreenCanvasRenderingContext2D.clearRect') - @DocsEditable() - @Experimental() // untriaged void clearRect(num x, num y, num width, num height) native; - @DomName('OffscreenCanvasRenderingContext2D.clip') - @DocsEditable() - @Experimental() // untriaged void clip([Path2D path]) native; - @DomName('OffscreenCanvasRenderingContext2D.commit') - @DocsEditable() - @Experimental() // untriaged Future commit() => promiseToFuture(JS("", "#.commit()", this)); - @DomName('OffscreenCanvasRenderingContext2D.createImageData') - @DocsEditable() - @Experimental() // untriaged ImageData createImageData(data_OR_imagedata_OR_sw, [int sh_OR_sw, imageDataColorSettings_OR_sh, @@ -30370,47 +22852,23 @@ class OffscreenCanvasRenderingContext2D extends Interceptor } @JSName('createImageData') - @DomName('OffscreenCanvasRenderingContext2D.createImageData') - @DocsEditable() - @Experimental() // untriaged _createImageData_1(imagedata) native; @JSName('createImageData') - @DomName('OffscreenCanvasRenderingContext2D.createImageData') - @DocsEditable() - @Experimental() // untriaged _createImageData_2(int sw, sh) native; @JSName('createImageData') - @DomName('OffscreenCanvasRenderingContext2D.createImageData') - @DocsEditable() - @Experimental() // untriaged _createImageData_3(int sw, sh, imageDataColorSettings) native; @JSName('createImageData') - @DomName('OffscreenCanvasRenderingContext2D.createImageData') - @DocsEditable() - @Experimental() // untriaged _createImageData_4(data, sw, int sh, imageDataColorSettings) native; - @DomName('OffscreenCanvasRenderingContext2D.createLinearGradient') - @DocsEditable() - @Experimental() // untriaged CanvasGradient createLinearGradient(num x0, num y0, num x1, num y1) native; - @DomName('OffscreenCanvasRenderingContext2D.createPattern') - @DocsEditable() - @Experimental() // untriaged CanvasPattern createPattern( /*CanvasImageSource*/ image, String repetitionType) native; - @DomName('OffscreenCanvasRenderingContext2D.createRadialGradient') - @DocsEditable() - @Experimental() // untriaged CanvasGradient createRadialGradient( num x0, num y0, num r0, num x1, num y1, num r1) native; - @DomName('OffscreenCanvasRenderingContext2D.drawImage') - @DocsEditable() - @Experimental() // untriaged void drawImage(/*CanvasImageSource*/ image, num sx_OR_x, num sy_OR_y, [num sw_OR_width, num height_OR_sh, @@ -30419,58 +22877,28 @@ class OffscreenCanvasRenderingContext2D extends Interceptor num dw, num dh]) native; - @DomName('OffscreenCanvasRenderingContext2D.fill') - @DocsEditable() - @Experimental() // untriaged void fill([path_OR_winding, String winding]) native; - @DomName('OffscreenCanvasRenderingContext2D.fillRect') - @DocsEditable() - @Experimental() // untriaged void fillRect(num x, num y, num width, num height) native; - @DomName('OffscreenCanvasRenderingContext2D.fillText') - @DocsEditable() - @Experimental() // untriaged void fillText(String text, num x, num y, [num maxWidth]) native; - @DomName('OffscreenCanvasRenderingContext2D.getImageData') - @DocsEditable() - @Experimental() // untriaged ImageData getImageData(int sx, int sy, int sw, int sh) { return convertNativeToDart_ImageData(_getImageData_1(sx, sy, sw, sh)); } @JSName('getImageData') - @DomName('OffscreenCanvasRenderingContext2D.getImageData') - @DocsEditable() - @Experimental() // untriaged _getImageData_1(sx, sy, sw, sh) native; - @DomName('OffscreenCanvasRenderingContext2D.getLineDash') - @DocsEditable() - @Experimental() // untriaged List getLineDash() native; - @DomName('OffscreenCanvasRenderingContext2D.isPointInPath') - @DocsEditable() - @Experimental() // untriaged bool isPointInPath(path_OR_x, num x_OR_y, [winding_OR_y, String winding]) native; - @DomName('OffscreenCanvasRenderingContext2D.isPointInStroke') - @DocsEditable() - @Experimental() // untriaged bool isPointInStroke(path_OR_x, num x_OR_y, [num y]) native; - @DomName('OffscreenCanvasRenderingContext2D.measureText') - @DocsEditable() - @Experimental() // untriaged TextMetrics measureText(String text) native; - @DomName('OffscreenCanvasRenderingContext2D.putImageData') - @DocsEditable() - @Experimental() // untriaged void putImageData(ImageData imagedata, int dx, int dy, [int dirtyX, int dirtyY, int dirtyWidth, int dirtyHeight]) { if (dirtyX == null && @@ -30494,133 +22922,62 @@ class OffscreenCanvasRenderingContext2D extends Interceptor } @JSName('putImageData') - @DomName('OffscreenCanvasRenderingContext2D.putImageData') - @DocsEditable() - @Experimental() // untriaged void _putImageData_1(imagedata, dx, dy) native; @JSName('putImageData') - @DomName('OffscreenCanvasRenderingContext2D.putImageData') - @DocsEditable() - @Experimental() // untriaged void _putImageData_2( imagedata, dx, dy, dirtyX, dirtyY, dirtyWidth, dirtyHeight) native; - @DomName('OffscreenCanvasRenderingContext2D.resetTransform') - @DocsEditable() - @Experimental() // untriaged void resetTransform() native; - @DomName('OffscreenCanvasRenderingContext2D.restore') - @DocsEditable() - @Experimental() // untriaged void restore() native; - @DomName('OffscreenCanvasRenderingContext2D.rotate') - @DocsEditable() - @Experimental() // untriaged void rotate(num angle) native; - @DomName('OffscreenCanvasRenderingContext2D.save') - @DocsEditable() - @Experimental() // untriaged void save() native; - @DomName('OffscreenCanvasRenderingContext2D.scale') - @DocsEditable() - @Experimental() // untriaged void scale(num x, num y) native; - @DomName('OffscreenCanvasRenderingContext2D.setLineDash') - @DocsEditable() - @Experimental() // untriaged void setLineDash(List dash) native; - @DomName('OffscreenCanvasRenderingContext2D.setTransform') - @DocsEditable() - @Experimental() // untriaged void setTransform(num a, num b, num c, num d, num e, num f) native; - @DomName('OffscreenCanvasRenderingContext2D.stroke') - @DocsEditable() - @Experimental() // untriaged void stroke([Path2D path]) native; - @DomName('OffscreenCanvasRenderingContext2D.strokeRect') - @DocsEditable() - @Experimental() // untriaged void strokeRect(num x, num y, num width, num height) native; - @DomName('OffscreenCanvasRenderingContext2D.strokeText') - @DocsEditable() - @Experimental() // untriaged void strokeText(String text, num x, num y, [num maxWidth]) native; - @DomName('OffscreenCanvasRenderingContext2D.transform') - @DocsEditable() - @Experimental() // untriaged void transform(num a, num b, num c, num d, num e, num f) native; - @DomName('OffscreenCanvasRenderingContext2D.translate') - @DocsEditable() - @Experimental() // untriaged void translate(num x, num y) native; // From CanvasPath - @DomName('OffscreenCanvasRenderingContext2D.arc') - @DocsEditable() - @Experimental() // untriaged void arc(num x, num y, num radius, num startAngle, num endAngle, bool anticlockwise) native; - @DomName('OffscreenCanvasRenderingContext2D.arcTo') - @DocsEditable() - @Experimental() // untriaged void arcTo(num x1, num y1, num x2, num y2, num radius) native; - @DomName('OffscreenCanvasRenderingContext2D.bezierCurveTo') - @DocsEditable() - @Experimental() // untriaged void bezierCurveTo(num cp1x, num cp1y, num cp2x, num cp2y, num x, num y) native; - @DomName('OffscreenCanvasRenderingContext2D.closePath') - @DocsEditable() - @Experimental() // untriaged void closePath() native; - @DomName('OffscreenCanvasRenderingContext2D.ellipse') - @DocsEditable() - @Experimental() // untriaged void ellipse(num x, num y, num radiusX, num radiusY, num rotation, num startAngle, num endAngle, bool anticlockwise) native; - @DomName('OffscreenCanvasRenderingContext2D.lineTo') - @DocsEditable() - @Experimental() // untriaged void lineTo(num x, num y) native; - @DomName('OffscreenCanvasRenderingContext2D.moveTo') - @DocsEditable() - @Experimental() // untriaged void moveTo(num x, num y) native; - @DomName('OffscreenCanvasRenderingContext2D.quadraticCurveTo') - @DocsEditable() - @Experimental() // untriaged void quadraticCurveTo(num cpx, num cpy, num x, num y) native; - @DomName('OffscreenCanvasRenderingContext2D.rect') - @DocsEditable() - @Experimental() // untriaged void rect(num x, num y, num width, num height) 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('HTMLOptGroupElement') @Native("HTMLOptGroupElement") class OptGroupElement extends HtmlElement { // To suppress missing implicit constructor warnings. @@ -30628,8 +22985,6 @@ class OptGroupElement extends HtmlElement { throw new UnsupportedError("Not supported"); } - @DomName('HTMLOptGroupElement.HTMLOptGroupElement') - @DocsEditable() factory OptGroupElement() => JS( 'returns:OptGroupElement;creates:OptGroupElement;new:true', '#.createElement(#)', @@ -30642,19 +22997,14 @@ class OptGroupElement extends HtmlElement { */ OptGroupElement.created() : super.created(); - @DomName('HTMLOptGroupElement.disabled') - @DocsEditable() bool disabled; - @DomName('HTMLOptGroupElement.label') - @DocsEditable() String label; } // Copyright (c) 2013, 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. -@DomName('HTMLOptionElement') @Native("HTMLOptionElement") class OptionElement extends HtmlElement { factory OptionElement( @@ -30662,8 +23012,6 @@ class OptionElement extends HtmlElement { return new OptionElement._(data, value, null, selected); } - @DomName('HTMLOptionElement.HTMLOptionElement') - @DocsEditable() factory OptionElement._( [String data, String value, bool defaultSelected, bool selected]) { if (selected != null) { @@ -30701,41 +23049,24 @@ class OptionElement extends HtmlElement { */ OptionElement.created() : super.created(); - @DomName('HTMLOptionElement.defaultSelected') - @DocsEditable() bool defaultSelected; - @DomName('HTMLOptionElement.disabled') - @DocsEditable() bool disabled; - @DomName('HTMLOptionElement.form') - @DocsEditable() final FormElement form; - @DomName('HTMLOptionElement.index') - @DocsEditable() final int index; - @DomName('HTMLOptionElement.label') - @DocsEditable() String label; - @DomName('HTMLOptionElement.selected') - @DocsEditable() bool selected; - @DomName('HTMLOptionElement.value') - @DocsEditable() String 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('OrientationSensor') -@Experimental() // untriaged @Native("OrientationSensor") class OrientationSensor extends Sensor { // To suppress missing implicit constructor warnings. @@ -30743,22 +23074,14 @@ class OrientationSensor extends Sensor { throw new UnsupportedError("Not supported"); } - @DomName('OrientationSensor.quaternion') - @DocsEditable() - @Experimental() // untriaged final List quaternion; - @DomName('OrientationSensor.populateMatrix') - @DocsEditable() - @Experimental() // untriaged void populateMatrix(Object targetBuffer) 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('HTMLOutputElement') @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.FIREFOX) @SupportedBrowser(SupportedBrowser.SAFARI) @@ -30769,8 +23092,6 @@ class OutputElement extends HtmlElement { throw new UnsupportedError("Not supported"); } - @DomName('HTMLOutputElement.HTMLOutputElement') - @DocsEditable() factory OutputElement() => document.createElement("output"); /** * Constructor instantiated by the DOM when a custom element has been created. @@ -30782,69 +23103,39 @@ class OutputElement extends HtmlElement { /// Checks if this type is supported on the current platform. static bool get supported => Element.isTagSupported('output'); - @DomName('HTMLOutputElement.defaultValue') - @DocsEditable() String defaultValue; - @DomName('HTMLOutputElement.form') - @DocsEditable() final FormElement form; - @DomName('HTMLOutputElement.htmlFor') - @DocsEditable() final DomTokenList htmlFor; - @DomName('HTMLOutputElement.labels') - @DocsEditable() @Unstable() @Returns('NodeList|Null') @Creates('NodeList') final List labels; - @DomName('HTMLOutputElement.name') - @DocsEditable() String name; - @DomName('HTMLOutputElement.type') - @DocsEditable() final String type; - @DomName('HTMLOutputElement.validationMessage') - @DocsEditable() final String validationMessage; - @DomName('HTMLOutputElement.validity') - @DocsEditable() final ValidityState validity; - @DomName('HTMLOutputElement.value') - @DocsEditable() String value; - @DomName('HTMLOutputElement.willValidate') - @DocsEditable() final bool willValidate; - @DomName('HTMLOutputElement.checkValidity') - @DocsEditable() bool checkValidity() native; - @DomName('HTMLOutputElement.reportValidity') - @DocsEditable() - @Experimental() // untriaged bool reportValidity() native; - @DomName('HTMLOutputElement.setCustomValidity') - @DocsEditable() void setCustomValidity(String error) 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('OverconstrainedError') -@Experimental() // untriaged @Native("OverconstrainedError") class OverconstrainedError extends Interceptor { // To suppress missing implicit constructor warnings. @@ -30852,8 +23143,6 @@ class OverconstrainedError extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('OverconstrainedError.OverconstrainedError') - @DocsEditable() factory OverconstrainedError(String constraint, String message) { return OverconstrainedError._create_1(constraint, message); } @@ -30863,29 +23152,16 @@ class OverconstrainedError extends Interceptor { constraint, message); - @DomName('OverconstrainedError.constraint') - @DocsEditable() - @Experimental() // untriaged final String constraint; - @DomName('OverconstrainedError.message') - @DocsEditable() - @Experimental() // untriaged final String message; - @DomName('OverconstrainedError.name') - @DocsEditable() - @Experimental() // untriaged final String 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. -@DocsEditable() -@DomName('PageTransitionEvent') -// http://www.whatwg.org/specs/web-apps/current-work/multipage/history.html#pagetransitionevent -@Experimental() @Native("PageTransitionEvent") class PageTransitionEvent extends Event { // To suppress missing implicit constructor warnings. @@ -30893,8 +23169,6 @@ class PageTransitionEvent extends Event { throw new UnsupportedError("Not supported"); } - @DomName('PageTransitionEvent.PageTransitionEvent') - @DocsEditable() factory PageTransitionEvent(String type, [Map eventInitDict]) { if (eventInitDict != null) { var eventInitDict_1 = convertDartToNative_Dictionary(eventInitDict); @@ -30910,17 +23184,12 @@ class PageTransitionEvent extends Event { static PageTransitionEvent _create_2(type) => JS('PageTransitionEvent', 'new PageTransitionEvent(#)', type); - @DomName('PageTransitionEvent.persisted') - @DocsEditable() final bool 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('PaintRenderingContext2D') -@Experimental() // untriaged @Native("PaintRenderingContext2D") class PaintRenderingContext2D extends Interceptor implements _CanvasPath { // To suppress missing implicit constructor warnings. @@ -30928,127 +23197,55 @@ class PaintRenderingContext2D extends Interceptor implements _CanvasPath { throw new UnsupportedError("Not supported"); } - @DomName('PaintRenderingContext2D.currentTransform') - @DocsEditable() - @Experimental() // untriaged Matrix currentTransform; - @DomName('PaintRenderingContext2D.fillStyle') - @DocsEditable() - @Experimental() // untriaged Object fillStyle; - @DomName('PaintRenderingContext2D.filter') - @DocsEditable() - @Experimental() // untriaged String filter; - @DomName('PaintRenderingContext2D.globalAlpha') - @DocsEditable() - @Experimental() // untriaged num globalAlpha; - @DomName('PaintRenderingContext2D.globalCompositeOperation') - @DocsEditable() - @Experimental() // untriaged String globalCompositeOperation; - @DomName('PaintRenderingContext2D.imageSmoothingEnabled') - @DocsEditable() - @Experimental() // untriaged bool imageSmoothingEnabled; - @DomName('PaintRenderingContext2D.imageSmoothingQuality') - @DocsEditable() - @Experimental() // untriaged String imageSmoothingQuality; - @DomName('PaintRenderingContext2D.lineCap') - @DocsEditable() - @Experimental() // untriaged String lineCap; - @DomName('PaintRenderingContext2D.lineDashOffset') - @DocsEditable() - @Experimental() // untriaged num lineDashOffset; - @DomName('PaintRenderingContext2D.lineJoin') - @DocsEditable() - @Experimental() // untriaged String lineJoin; - @DomName('PaintRenderingContext2D.lineWidth') - @DocsEditable() - @Experimental() // untriaged num lineWidth; - @DomName('PaintRenderingContext2D.miterLimit') - @DocsEditable() - @Experimental() // untriaged num miterLimit; - @DomName('PaintRenderingContext2D.shadowBlur') - @DocsEditable() - @Experimental() // untriaged num shadowBlur; - @DomName('PaintRenderingContext2D.shadowColor') - @DocsEditable() - @Experimental() // untriaged String shadowColor; - @DomName('PaintRenderingContext2D.shadowOffsetX') - @DocsEditable() - @Experimental() // untriaged num shadowOffsetX; - @DomName('PaintRenderingContext2D.shadowOffsetY') - @DocsEditable() - @Experimental() // untriaged num shadowOffsetY; - @DomName('PaintRenderingContext2D.strokeStyle') - @DocsEditable() - @Experimental() // untriaged Object strokeStyle; - @DomName('PaintRenderingContext2D.beginPath') - @DocsEditable() - @Experimental() // untriaged void beginPath() native; - @DomName('PaintRenderingContext2D.clearRect') - @DocsEditable() - @Experimental() // untriaged void clearRect(num x, num y, num width, num height) native; - @DomName('PaintRenderingContext2D.clip') - @DocsEditable() - @Experimental() // untriaged void clip([path_OR_winding, String winding]) native; - @DomName('PaintRenderingContext2D.createLinearGradient') - @DocsEditable() - @Experimental() // untriaged CanvasGradient createLinearGradient(num x0, num y0, num x1, num y1) native; - @DomName('PaintRenderingContext2D.createPattern') - @DocsEditable() - @Experimental() // untriaged CanvasPattern createPattern( /*CanvasImageSource*/ image, String repetitionType) native; - @DomName('PaintRenderingContext2D.createRadialGradient') - @DocsEditable() - @Experimental() // untriaged CanvasGradient createRadialGradient( num x0, num y0, num r0, num x1, num y1, num r1) native; - @DomName('PaintRenderingContext2D.drawImage') - @DocsEditable() - @Experimental() // untriaged void drawImage(/*CanvasImageSource*/ image, num sx_OR_x, num sy_OR_y, [num sw_OR_width, num height_OR_sh, @@ -31057,144 +23254,66 @@ class PaintRenderingContext2D extends Interceptor implements _CanvasPath { num dw, num dh]) native; - @DomName('PaintRenderingContext2D.fill') - @DocsEditable() - @Experimental() // untriaged void fill([path_OR_winding, String winding]) native; - @DomName('PaintRenderingContext2D.fillRect') - @DocsEditable() - @Experimental() // untriaged void fillRect(num x, num y, num width, num height) native; - @DomName('PaintRenderingContext2D.getLineDash') - @DocsEditable() - @Experimental() // untriaged List getLineDash() native; - @DomName('PaintRenderingContext2D.isPointInPath') - @DocsEditable() - @Experimental() // untriaged bool isPointInPath(path_OR_x, num x_OR_y, [winding_OR_y, String winding]) native; - @DomName('PaintRenderingContext2D.isPointInStroke') - @DocsEditable() - @Experimental() // untriaged bool isPointInStroke(path_OR_x, num x_OR_y, [num y]) native; - @DomName('PaintRenderingContext2D.resetTransform') - @DocsEditable() - @Experimental() // untriaged void resetTransform() native; - @DomName('PaintRenderingContext2D.restore') - @DocsEditable() - @Experimental() // untriaged void restore() native; - @DomName('PaintRenderingContext2D.rotate') - @DocsEditable() - @Experimental() // untriaged void rotate(num angle) native; - @DomName('PaintRenderingContext2D.save') - @DocsEditable() - @Experimental() // untriaged void save() native; - @DomName('PaintRenderingContext2D.scale') - @DocsEditable() - @Experimental() // untriaged void scale(num x, num y) native; - @DomName('PaintRenderingContext2D.setLineDash') - @DocsEditable() - @Experimental() // untriaged void setLineDash(List dash) native; - @DomName('PaintRenderingContext2D.setTransform') - @DocsEditable() - @Experimental() // untriaged void setTransform(num a, num b, num c, num d, num e, num f) native; - @DomName('PaintRenderingContext2D.stroke') - @DocsEditable() - @Experimental() // untriaged void stroke([Path2D path]) native; - @DomName('PaintRenderingContext2D.strokeRect') - @DocsEditable() - @Experimental() // untriaged void strokeRect(num x, num y, num width, num height) native; - @DomName('PaintRenderingContext2D.transform') - @DocsEditable() - @Experimental() // untriaged void transform(num a, num b, num c, num d, num e, num f) native; - @DomName('PaintRenderingContext2D.translate') - @DocsEditable() - @Experimental() // untriaged void translate(num x, num y) native; // From CanvasPath - @DomName('PaintRenderingContext2D.arc') - @DocsEditable() - @Experimental() // untriaged void arc(num x, num y, num radius, num startAngle, num endAngle, bool anticlockwise) native; - @DomName('PaintRenderingContext2D.arcTo') - @DocsEditable() - @Experimental() // untriaged void arcTo(num x1, num y1, num x2, num y2, num radius) native; - @DomName('PaintRenderingContext2D.bezierCurveTo') - @DocsEditable() - @Experimental() // untriaged void bezierCurveTo(num cp1x, num cp1y, num cp2x, num cp2y, num x, num y) native; - @DomName('PaintRenderingContext2D.closePath') - @DocsEditable() - @Experimental() // untriaged void closePath() native; - @DomName('PaintRenderingContext2D.ellipse') - @DocsEditable() - @Experimental() // untriaged void ellipse(num x, num y, num radiusX, num radiusY, num rotation, num startAngle, num endAngle, bool anticlockwise) native; - @DomName('PaintRenderingContext2D.lineTo') - @DocsEditable() - @Experimental() // untriaged void lineTo(num x, num y) native; - @DomName('PaintRenderingContext2D.moveTo') - @DocsEditable() - @Experimental() // untriaged void moveTo(num x, num y) native; - @DomName('PaintRenderingContext2D.quadraticCurveTo') - @DocsEditable() - @Experimental() // untriaged void quadraticCurveTo(num cpx, num cpy, num x, num y) native; - @DomName('PaintRenderingContext2D.rect') - @DocsEditable() - @Experimental() // untriaged void rect(num x, num y, num width, num height) 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('PaintSize') -@Experimental() // untriaged @Native("PaintSize") class PaintSize extends Interceptor { // To suppress missing implicit constructor warnings. @@ -31202,23 +23321,14 @@ class PaintSize extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('PaintSize.height') - @DocsEditable() - @Experimental() // untriaged final num height; - @DomName('PaintSize.width') - @DocsEditable() - @Experimental() // untriaged final num 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('PaintWorkletGlobalScope') -@Experimental() // untriaged @Native("PaintWorkletGlobalScope") class PaintWorkletGlobalScope extends WorkletGlobalScope { // To suppress missing implicit constructor warnings. @@ -31226,22 +23336,14 @@ class PaintWorkletGlobalScope extends WorkletGlobalScope { throw new UnsupportedError("Not supported"); } - @DomName('PaintWorkletGlobalScope.devicePixelRatio') - @DocsEditable() - @Experimental() // untriaged final num devicePixelRatio; - @DomName('PaintWorkletGlobalScope.registerPaint') - @DocsEditable() - @Experimental() // untriaged void registerPaint(String name, Object paintCtor) 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('HTMLParagraphElement') @Native("HTMLParagraphElement") class ParagraphElement extends HtmlElement { // To suppress missing implicit constructor warnings. @@ -31249,8 +23351,6 @@ class ParagraphElement extends HtmlElement { throw new UnsupportedError("Not supported"); } - @DomName('HTMLParagraphElement.HTMLParagraphElement') - @DocsEditable() factory ParagraphElement() => JS( 'returns:ParagraphElement;creates:ParagraphElement;new:true', '#.createElement(#)', @@ -31267,8 +23367,6 @@ class ParagraphElement 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('HTMLParamElement') @Unstable() @Native("HTMLParamElement") class ParamElement extends HtmlElement { @@ -31277,8 +23375,6 @@ class ParamElement extends HtmlElement { throw new UnsupportedError("Not supported"); } - @DomName('HTMLParamElement.HTMLParamElement') - @DocsEditable() factory ParamElement() => JS( 'returns:ParamElement;creates:ParamElement;new:true', '#.createElement(#)', @@ -31291,21 +23387,14 @@ class ParamElement extends HtmlElement { */ ParamElement.created() : super.created(); - @DomName('HTMLParamElement.name') - @DocsEditable() String name; - @DomName('HTMLParamElement.value') - @DocsEditable() String 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('ParentNode') -@Experimental() // untriaged abstract class ParentNode extends Interceptor { // To suppress missing implicit constructor warnings. factory ParentNode._() { @@ -31328,9 +23417,6 @@ abstract class ParentNode 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('PasswordCredential') -@Experimental() // untriaged @Native("PasswordCredential") class PasswordCredential extends Credential implements CredentialUserData { // To suppress missing implicit constructor warnings. @@ -31338,8 +23424,6 @@ class PasswordCredential extends Credential implements CredentialUserData { throw new UnsupportedError("Not supported"); } - @DomName('PasswordCredential.PasswordCredential') - @DocsEditable() factory PasswordCredential(data_OR_form) { if ((data_OR_form is Map)) { var data_1 = convertDartToNative_Dictionary(data_OR_form); @@ -31355,46 +23439,25 @@ class PasswordCredential extends Credential implements CredentialUserData { static PasswordCredential _create_2(data_OR_form) => JS('PasswordCredential', 'new PasswordCredential(#)', data_OR_form); - @DomName('PasswordCredential.additionalData') - @DocsEditable() - @Experimental() // untriaged Object additionalData; - @DomName('PasswordCredential.idName') - @DocsEditable() - @Experimental() // untriaged String idName; - @DomName('PasswordCredential.password') - @DocsEditable() - @Experimental() // untriaged final String password; - @DomName('PasswordCredential.passwordName') - @DocsEditable() - @Experimental() // untriaged String passwordName; // From CredentialUserData @JSName('iconURL') - @DomName('PasswordCredential.iconURL') - @DocsEditable() - @Experimental() // untriaged final String iconUrl; - @DomName('PasswordCredential.name') - @DocsEditable() - @Experimental() // untriaged final String 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. -@DocsEditable() -@DomName('Path2D') -@Experimental() // untriaged @Native("Path2D") class Path2D extends Interceptor implements _CanvasPath { // To suppress missing implicit constructor warnings. @@ -31402,8 +23465,6 @@ class Path2D extends Interceptor implements _CanvasPath { throw new UnsupportedError("Not supported"); } - @DomName('Path2D.Path2D') - @DocsEditable() factory Path2D([path_OR_text]) { if (path_OR_text == null) { return Path2D._create_1(); @@ -31422,68 +23483,35 @@ class Path2D extends Interceptor implements _CanvasPath { static Path2D _create_3(path_OR_text) => JS('Path2D', 'new Path2D(#)', path_OR_text); - @DomName('Path2D.addPath') - @DocsEditable() - @Experimental() // untriaged void addPath(Path2D path, [Matrix transform]) native; // From CanvasPath - @DomName('Path2D.arc') - @DocsEditable() - @Experimental() // untriaged void arc(num x, num y, num radius, num startAngle, num endAngle, bool anticlockwise) native; - @DomName('Path2D.arcTo') - @DocsEditable() - @Experimental() // untriaged void arcTo(num x1, num y1, num x2, num y2, num radius) native; - @DomName('Path2D.bezierCurveTo') - @DocsEditable() - @Experimental() // untriaged void bezierCurveTo(num cp1x, num cp1y, num cp2x, num cp2y, num x, num y) native; - @DomName('Path2D.closePath') - @DocsEditable() - @Experimental() // untriaged void closePath() native; - @DomName('Path2D.ellipse') - @DocsEditable() - @Experimental() // untriaged void ellipse(num x, num y, num radiusX, num radiusY, num rotation, num startAngle, num endAngle, bool anticlockwise) native; - @DomName('Path2D.lineTo') - @DocsEditable() - @Experimental() // untriaged void lineTo(num x, num y) native; - @DomName('Path2D.moveTo') - @DocsEditable() - @Experimental() // untriaged void moveTo(num x, num y) native; - @DomName('Path2D.quadraticCurveTo') - @DocsEditable() - @Experimental() // untriaged void quadraticCurveTo(num cpx, num cpy, num x, num y) native; - @DomName('Path2D.rect') - @DocsEditable() - @Experimental() // untriaged void rect(num x, num y, num width, num height) 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('PaymentAddress') -@Experimental() // untriaged @Native("PaymentAddress") class PaymentAddress extends Interceptor { // To suppress missing implicit constructor warnings. @@ -31491,68 +23519,32 @@ class PaymentAddress extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('PaymentAddress.addressLine') - @DocsEditable() - @Experimental() // untriaged final List addressLine; - @DomName('PaymentAddress.city') - @DocsEditable() - @Experimental() // untriaged final String city; - @DomName('PaymentAddress.country') - @DocsEditable() - @Experimental() // untriaged final String country; - @DomName('PaymentAddress.dependentLocality') - @DocsEditable() - @Experimental() // untriaged final String dependentLocality; - @DomName('PaymentAddress.languageCode') - @DocsEditable() - @Experimental() // untriaged final String languageCode; - @DomName('PaymentAddress.organization') - @DocsEditable() - @Experimental() // untriaged final String organization; - @DomName('PaymentAddress.phone') - @DocsEditable() - @Experimental() // untriaged final String phone; - @DomName('PaymentAddress.postalCode') - @DocsEditable() - @Experimental() // untriaged final String postalCode; - @DomName('PaymentAddress.recipient') - @DocsEditable() - @Experimental() // untriaged final String recipient; - @DomName('PaymentAddress.region') - @DocsEditable() - @Experimental() // untriaged final String region; - @DomName('PaymentAddress.sortingCode') - @DocsEditable() - @Experimental() // untriaged final String sortingCode; } // Copyright (c) 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('PaymentInstruments') -@Experimental() // untriaged @Native("PaymentInstruments") class PaymentInstruments extends Interceptor { // To suppress missing implicit constructor warnings. @@ -31560,56 +23552,32 @@ class PaymentInstruments extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('PaymentInstruments.clear') - @DocsEditable() - @Experimental() // untriaged Future clear() => promiseToFuture(JS("", "#.clear()", this)); - @DomName('PaymentInstruments.delete') - @DocsEditable() - @Experimental() // untriaged Future delete(String instrumentKey) => promiseToFuture(JS("", "#.delete(#)", this, instrumentKey)); - @DomName('PaymentInstruments.get') - @DocsEditable() - @Experimental() // untriaged Future> get(String instrumentKey) => promiseToFutureAsMap(JS("", "#.get(#)", this, instrumentKey)); - @DomName('PaymentInstruments.has') - @DocsEditable() - @Experimental() // untriaged Future has(String instrumentKey) => promiseToFuture(JS("", "#.has(#)", this, instrumentKey)); - @DomName('PaymentInstruments.keys') - @DocsEditable() - @Experimental() // untriaged Future> keys() => promiseToFuture>(JS("", "#.keys()", this)); - @DomName('PaymentInstruments.set') - @DocsEditable() - @Experimental() // untriaged Future set(String instrumentKey, Map details) { var details_1 = convertDartToNative_Dictionary(details); return _set_1(instrumentKey, details_1); } @JSName('set') - @DomName('PaymentInstruments.set') - @DocsEditable() - @Experimental() // untriaged Future _set_1(instrumentKey, details) 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('PaymentManager') -@Experimental() // untriaged @Native("PaymentManager") class PaymentManager extends Interceptor { // To suppress missing implicit constructor warnings. @@ -31617,23 +23585,14 @@ class PaymentManager extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('PaymentManager.instruments') - @DocsEditable() - @Experimental() // untriaged final PaymentInstruments instruments; - @DomName('PaymentManager.userHint') - @DocsEditable() - @Experimental() // untriaged String userHint; } // 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('PaymentRequest') -@Experimental() // untriaged @Native("PaymentRequest") class PaymentRequest extends EventTarget { factory PaymentRequest(List methodData, Map details, [Map options]) { @@ -31664,40 +23623,19 @@ class PaymentRequest extends EventTarget { throw new UnsupportedError("Not supported"); } - @DomName('PaymentRequest.id') - @DocsEditable() - @Experimental() // untriaged final String id; - @DomName('PaymentRequest.shippingAddress') - @DocsEditable() - @Experimental() // untriaged final PaymentAddress shippingAddress; - @DomName('PaymentRequest.shippingOption') - @DocsEditable() - @Experimental() // untriaged final String shippingOption; - @DomName('PaymentRequest.shippingType') - @DocsEditable() - @Experimental() // untriaged final String shippingType; - @DomName('PaymentRequest.abort') - @DocsEditable() - @Experimental() // untriaged Future abort() => promiseToFuture(JS("", "#.abort()", this)); - @DomName('PaymentRequest.canMakePayment') - @DocsEditable() - @Experimental() // untriaged Future canMakePayment() => promiseToFuture(JS("", "#.canMakePayment()", this)); - @DomName('PaymentRequest.show') - @DocsEditable() - @Experimental() // untriaged Future show() => promiseToFuture(JS("", "#.show()", this)); } @@ -31706,9 +23644,6 @@ class PaymentRequest 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('PaymentRequestEvent') -@Experimental() // untriaged @Native("PaymentRequestEvent") class PaymentRequestEvent extends ExtendableEvent { // To suppress missing implicit constructor warnings. @@ -31716,8 +23651,6 @@ class PaymentRequestEvent extends ExtendableEvent { throw new UnsupportedError("Not supported"); } - @DomName('PaymentRequestEvent.PaymentRequestEvent') - @DocsEditable() factory PaymentRequestEvent(String type, Map eventInitDict) { var eventInitDict_1 = convertDartToNative_Dictionary(eventInitDict); return PaymentRequestEvent._create_1(type, eventInitDict_1); @@ -31728,59 +23661,29 @@ class PaymentRequestEvent extends ExtendableEvent { type, eventInitDict); - @DomName('PaymentRequestEvent.instrumentKey') - @DocsEditable() - @Experimental() // untriaged final String instrumentKey; - @DomName('PaymentRequestEvent.methodData') - @DocsEditable() - @Experimental() // untriaged final List methodData; - @DomName('PaymentRequestEvent.modifiers') - @DocsEditable() - @Experimental() // untriaged final List modifiers; - @DomName('PaymentRequestEvent.paymentRequestId') - @DocsEditable() - @Experimental() // untriaged final String paymentRequestId; - @DomName('PaymentRequestEvent.paymentRequestOrigin') - @DocsEditable() - @Experimental() // untriaged final String paymentRequestOrigin; - @DomName('PaymentRequestEvent.topLevelOrigin') - @DocsEditable() - @Experimental() // untriaged final String topLevelOrigin; - @DomName('PaymentRequestEvent.total') - @DocsEditable() - @Experimental() // untriaged final Object total; - @DomName('PaymentRequestEvent.openWindow') - @DocsEditable() - @Experimental() // untriaged Future openWindow(String url) => promiseToFuture(JS("", "#.openWindow(#)", this, url)); - @DomName('PaymentRequestEvent.respondWith') - @DocsEditable() - @Experimental() // untriaged void respondWith(Future response) 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('PaymentRequestUpdateEvent') -@Experimental() // untriaged @Native("PaymentRequestUpdateEvent") class PaymentRequestUpdateEvent extends Event { // To suppress missing implicit constructor warnings. @@ -31788,8 +23691,6 @@ class PaymentRequestUpdateEvent extends Event { throw new UnsupportedError("Not supported"); } - @DomName('PaymentRequestUpdateEvent.PaymentRequestUpdateEvent') - @DocsEditable() factory PaymentRequestUpdateEvent(String type, [Map eventInitDict]) { if (eventInitDict != null) { var eventInitDict_1 = convertDartToNative_Dictionary(eventInitDict); @@ -31805,18 +23706,12 @@ class PaymentRequestUpdateEvent extends Event { static PaymentRequestUpdateEvent _create_2(type) => JS('PaymentRequestUpdateEvent', 'new PaymentRequestUpdateEvent(#)', type); - @DomName('PaymentRequestUpdateEvent.updateWith') - @DocsEditable() - @Experimental() // untriaged void updateWith(Future detailsPromise) 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('PaymentResponse') -@Experimental() // untriaged @Native("PaymentResponse") class PaymentResponse extends Interceptor { // To suppress missing implicit constructor warnings. @@ -31824,49 +23719,22 @@ class PaymentResponse extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('PaymentResponse.details') - @DocsEditable() - @Experimental() // untriaged final Object details; - @DomName('PaymentResponse.methodName') - @DocsEditable() - @Experimental() // untriaged final String methodName; - @DomName('PaymentResponse.payerEmail') - @DocsEditable() - @Experimental() // untriaged final String payerEmail; - @DomName('PaymentResponse.payerName') - @DocsEditable() - @Experimental() // untriaged final String payerName; - @DomName('PaymentResponse.payerPhone') - @DocsEditable() - @Experimental() // untriaged final String payerPhone; - @DomName('PaymentResponse.requestId') - @DocsEditable() - @Experimental() // untriaged final String requestId; - @DomName('PaymentResponse.shippingAddress') - @DocsEditable() - @Experimental() // untriaged final PaymentAddress shippingAddress; - @DomName('PaymentResponse.shippingOption') - @DocsEditable() - @Experimental() // untriaged final String shippingOption; - @DomName('PaymentResponse.complete') - @DocsEditable() - @Experimental() // untriaged Future complete([String paymentResult]) => promiseToFuture(JS("", "#.complete(#)", this, paymentResult)); } @@ -31874,8 +23742,6 @@ class PaymentResponse 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('Performance') @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.FIREFOX) @SupportedBrowser(SupportedBrowser.IE) @@ -31889,88 +23755,38 @@ class Performance extends EventTarget { /// Checks if this type is supported on the current platform. static bool get supported => JS('bool', '!!(window.performance)'); - @DomName('Performance.memory') - @DocsEditable() - @Experimental() // nonstandard final MemoryInfo memory; - @DomName('Performance.navigation') - @DocsEditable() final PerformanceNavigation navigation; - @DomName('Performance.timeOrigin') - @DocsEditable() - @Experimental() // untriaged final num timeOrigin; - @DomName('Performance.timing') - @DocsEditable() final PerformanceTiming timing; - @DomName('Performance.clearMarks') - @DocsEditable() - // https://dvcs.w3.org/hg/webperf/raw-file/tip/specs/UserTiming/Overview.html#extensions-performance-interface - @Experimental() void clearMarks(String markName) native; - @DomName('Performance.clearMeasures') - @DocsEditable() - // https://dvcs.w3.org/hg/webperf/raw-file/tip/specs/UserTiming/Overview.html#extensions-performance-interface - @Experimental() void clearMeasures(String measureName) native; - @DomName('Performance.clearResourceTimings') - @DocsEditable() - @Experimental() // untriaged void clearResourceTimings() native; - @DomName('Performance.getEntries') - @DocsEditable() - // http://www.w3.org/TR/performance-timeline/#sec-window.performance-attribute - @Experimental() List getEntries() native; - @DomName('Performance.getEntriesByName') - @DocsEditable() - // http://www.w3.org/TR/performance-timeline/#sec-window.performance-attribute - @Experimental() List getEntriesByName(String name, String entryType) native; - @DomName('Performance.getEntriesByType') - @DocsEditable() - // http://www.w3.org/TR/performance-timeline/#sec-window.performance-attribute - @Experimental() List getEntriesByType(String entryType) native; - @DomName('Performance.mark') - @DocsEditable() - // https://dvcs.w3.org/hg/webperf/raw-file/tip/specs/UserTiming/Overview.html#extensions-performance-interface - @Experimental() void mark(String markName) native; - @DomName('Performance.measure') - @DocsEditable() - // https://dvcs.w3.org/hg/webperf/raw-file/tip/specs/UserTiming/Overview.html#extensions-performance-interface - @Experimental() void measure(String measureName, String startMark, String endMark) native; - @DomName('Performance.now') - @DocsEditable() double now() native; - @DomName('Performance.setResourceTimingBufferSize') - @DocsEditable() - @Experimental() // untriaged void setResourceTimingBufferSize(int maxSize) 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('PerformanceEntry') -// http://www.w3.org/TR/performance-timeline/#sec-PerformanceEntry-interface -@Experimental() @Native("PerformanceEntry") class PerformanceEntry extends Interceptor { // To suppress missing implicit constructor warnings. @@ -31978,29 +23794,18 @@ class PerformanceEntry extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('PerformanceEntry.duration') - @DocsEditable() final num duration; - @DomName('PerformanceEntry.entryType') - @DocsEditable() final String entryType; - @DomName('PerformanceEntry.name') - @DocsEditable() final String name; - @DomName('PerformanceEntry.startTime') - @DocsEditable() final num startTime; } // Copyright (c) 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('PerformanceLongTaskTiming') -@Experimental() // untriaged @Native("PerformanceLongTaskTiming") class PerformanceLongTaskTiming extends PerformanceEntry { // To suppress missing implicit constructor warnings. @@ -32008,19 +23813,12 @@ class PerformanceLongTaskTiming extends PerformanceEntry { throw new UnsupportedError("Not supported"); } - @DomName('PerformanceLongTaskTiming.attribution') - @DocsEditable() - @Experimental() // untriaged final List attribution; } // Copyright (c) 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('PerformanceMark') -// http://www.w3.org/TR/user-timing/#performancemark -@Experimental() @Native("PerformanceMark") class PerformanceMark extends PerformanceEntry { // To suppress missing implicit constructor warnings. @@ -32032,10 +23830,6 @@ class PerformanceMark extends PerformanceEntry { // 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('PerformanceMeasure') -// http://www.w3.org/TR/user-timing/#performancemeasure -@Experimental() @Native("PerformanceMeasure") class PerformanceMeasure extends PerformanceEntry { // To suppress missing implicit constructor warnings. @@ -32047,8 +23841,6 @@ class PerformanceMeasure extends PerformanceEntry { // 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('PerformanceNavigation') @Unstable() @Native("PerformanceNavigation") class PerformanceNavigation extends Interceptor { @@ -32057,37 +23849,22 @@ class PerformanceNavigation extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('PerformanceNavigation.TYPE_BACK_FORWARD') - @DocsEditable() static const int TYPE_BACK_FORWARD = 2; - @DomName('PerformanceNavigation.TYPE_NAVIGATE') - @DocsEditable() static const int TYPE_NAVIGATE = 0; - @DomName('PerformanceNavigation.TYPE_RELOAD') - @DocsEditable() static const int TYPE_RELOAD = 1; - @DomName('PerformanceNavigation.TYPE_RESERVED') - @DocsEditable() static const int TYPE_RESERVED = 255; - @DomName('PerformanceNavigation.redirectCount') - @DocsEditable() final int redirectCount; - @DomName('PerformanceNavigation.type') - @DocsEditable() final int 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('PerformanceNavigationTiming') -@Experimental() // untriaged @Native("PerformanceNavigationTiming") class PerformanceNavigationTiming extends PerformanceResourceTiming { // To suppress missing implicit constructor warnings. @@ -32095,63 +23872,30 @@ class PerformanceNavigationTiming extends PerformanceResourceTiming { throw new UnsupportedError("Not supported"); } - @DomName('PerformanceNavigationTiming.domComplete') - @DocsEditable() - @Experimental() // untriaged final num domComplete; - @DomName('PerformanceNavigationTiming.domContentLoadedEventEnd') - @DocsEditable() - @Experimental() // untriaged final num domContentLoadedEventEnd; - @DomName('PerformanceNavigationTiming.domContentLoadedEventStart') - @DocsEditable() - @Experimental() // untriaged final num domContentLoadedEventStart; - @DomName('PerformanceNavigationTiming.domInteractive') - @DocsEditable() - @Experimental() // untriaged final num domInteractive; - @DomName('PerformanceNavigationTiming.loadEventEnd') - @DocsEditable() - @Experimental() // untriaged final num loadEventEnd; - @DomName('PerformanceNavigationTiming.loadEventStart') - @DocsEditable() - @Experimental() // untriaged final num loadEventStart; - @DomName('PerformanceNavigationTiming.redirectCount') - @DocsEditable() - @Experimental() // untriaged final int redirectCount; - @DomName('PerformanceNavigationTiming.type') - @DocsEditable() - @Experimental() // untriaged final String type; - @DomName('PerformanceNavigationTiming.unloadEventEnd') - @DocsEditable() - @Experimental() // untriaged final num unloadEventEnd; - @DomName('PerformanceNavigationTiming.unloadEventStart') - @DocsEditable() - @Experimental() // untriaged final num 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('PerformanceObserver') -@Experimental() // untriaged @Native("PerformanceObserver") class PerformanceObserver extends Interceptor { // To suppress missing implicit constructor warnings. @@ -32159,22 +23903,14 @@ class PerformanceObserver extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('PerformanceObserver.PerformanceObserver') - @DocsEditable() factory PerformanceObserver(PerformanceObserverCallback callback) { return PerformanceObserver._create_1(callback); } static PerformanceObserver _create_1(callback) => JS('PerformanceObserver', 'new PerformanceObserver(#)', callback); - @DomName('PerformanceObserver.disconnect') - @DocsEditable() - @Experimental() // untriaged void disconnect() native; - @DomName('PerformanceObserver.observe') - @DocsEditable() - @Experimental() // untriaged void observe(Map options) { var options_1 = convertDartToNative_Dictionary(options); _observe_1(options_1); @@ -32182,9 +23918,6 @@ class PerformanceObserver extends Interceptor { } @JSName('observe') - @DomName('PerformanceObserver.observe') - @DocsEditable() - @Experimental() // untriaged void _observe_1(options) native; } // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file @@ -32193,17 +23926,12 @@ class PerformanceObserver extends Interceptor { // WARNING: Do not edit - generated code. -@DomName('PerformanceObserverCallback') -@Experimental() // untriaged typedef void PerformanceObserverCallback( PerformanceObserverEntryList entries, PerformanceObserver observer); // Copyright (c) 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('PerformanceObserverEntryList') -@Experimental() // untriaged @Native("PerformanceObserverEntryList") class PerformanceObserverEntryList extends Interceptor { // To suppress missing implicit constructor warnings. @@ -32211,28 +23939,16 @@ class PerformanceObserverEntryList extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('PerformanceObserverEntryList.getEntries') - @DocsEditable() - @Experimental() // untriaged List getEntries() native; - @DomName('PerformanceObserverEntryList.getEntriesByName') - @DocsEditable() - @Experimental() // untriaged List getEntriesByName(String name, String entryType) native; - @DomName('PerformanceObserverEntryList.getEntriesByType') - @DocsEditable() - @Experimental() // untriaged List getEntriesByType(String entryType) 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('PerformancePaintTiming') -@Experimental() // untriaged @Native("PerformancePaintTiming") class PerformancePaintTiming extends PerformanceEntry { // To suppress missing implicit constructor warnings. @@ -32244,10 +23960,6 @@ class PerformancePaintTiming extends PerformanceEntry { // 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('PerformanceResourceTiming') -// http://www.w3c-test.org/webperf/specs/ResourceTiming/#performanceresourcetiming -@Experimental() @Native("PerformanceResourceTiming") class PerformanceResourceTiming extends PerformanceEntry { // To suppress missing implicit constructor warnings. @@ -32255,94 +23967,46 @@ class PerformanceResourceTiming extends PerformanceEntry { throw new UnsupportedError("Not supported"); } - @DomName('PerformanceResourceTiming.connectEnd') - @DocsEditable() final num connectEnd; - @DomName('PerformanceResourceTiming.connectStart') - @DocsEditable() final num connectStart; - @DomName('PerformanceResourceTiming.decodedBodySize') - @DocsEditable() - @Experimental() // untriaged final int decodedBodySize; - @DomName('PerformanceResourceTiming.domainLookupEnd') - @DocsEditable() final num domainLookupEnd; - @DomName('PerformanceResourceTiming.domainLookupStart') - @DocsEditable() final num domainLookupStart; - @DomName('PerformanceResourceTiming.encodedBodySize') - @DocsEditable() - @Experimental() // untriaged final int encodedBodySize; - @DomName('PerformanceResourceTiming.fetchStart') - @DocsEditable() final num fetchStart; - @DomName('PerformanceResourceTiming.initiatorType') - @DocsEditable() final String initiatorType; - @DomName('PerformanceResourceTiming.nextHopProtocol') - @DocsEditable() - @Experimental() // untriaged final String nextHopProtocol; - @DomName('PerformanceResourceTiming.redirectEnd') - @DocsEditable() final num redirectEnd; - @DomName('PerformanceResourceTiming.redirectStart') - @DocsEditable() final num redirectStart; - @DomName('PerformanceResourceTiming.requestStart') - @DocsEditable() - @Experimental() // nonstandard final num requestStart; - @DomName('PerformanceResourceTiming.responseEnd') - @DocsEditable() - @Experimental() // nonstandard final num responseEnd; - @DomName('PerformanceResourceTiming.responseStart') - @DocsEditable() - @Experimental() // nonstandard final num responseStart; - @DomName('PerformanceResourceTiming.secureConnectionStart') - @DocsEditable() final num secureConnectionStart; - @DomName('PerformanceResourceTiming.serverTiming') - @DocsEditable() - @Experimental() // untriaged final List serverTiming; - @DomName('PerformanceResourceTiming.transferSize') - @DocsEditable() - @Experimental() // untriaged final int transferSize; - @DomName('PerformanceResourceTiming.workerStart') - @DocsEditable() - @Experimental() // untriaged final num workerStart; } // Copyright (c) 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('PerformanceServerTiming') -@Experimental() // untriaged @Native("PerformanceServerTiming") class PerformanceServerTiming extends Interceptor { // To suppress missing implicit constructor warnings. @@ -32350,27 +24014,16 @@ class PerformanceServerTiming extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('PerformanceServerTiming.description') - @DocsEditable() - @Experimental() // untriaged final String description; - @DomName('PerformanceServerTiming.duration') - @DocsEditable() - @Experimental() // untriaged final num duration; - @DomName('PerformanceServerTiming.name') - @DocsEditable() - @Experimental() // untriaged final String 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. -@DocsEditable() -@DomName('PerformanceTiming') @Unstable() @Native("PerformanceTiming") class PerformanceTiming extends Interceptor { @@ -32379,97 +24032,52 @@ class PerformanceTiming extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('PerformanceTiming.connectEnd') - @DocsEditable() final int connectEnd; - @DomName('PerformanceTiming.connectStart') - @DocsEditable() final int connectStart; - @DomName('PerformanceTiming.domComplete') - @DocsEditable() final int domComplete; - @DomName('PerformanceTiming.domContentLoadedEventEnd') - @DocsEditable() final int domContentLoadedEventEnd; - @DomName('PerformanceTiming.domContentLoadedEventStart') - @DocsEditable() final int domContentLoadedEventStart; - @DomName('PerformanceTiming.domInteractive') - @DocsEditable() final int domInteractive; - @DomName('PerformanceTiming.domLoading') - @DocsEditable() final int domLoading; - @DomName('PerformanceTiming.domainLookupEnd') - @DocsEditable() final int domainLookupEnd; - @DomName('PerformanceTiming.domainLookupStart') - @DocsEditable() final int domainLookupStart; - @DomName('PerformanceTiming.fetchStart') - @DocsEditable() final int fetchStart; - @DomName('PerformanceTiming.loadEventEnd') - @DocsEditable() final int loadEventEnd; - @DomName('PerformanceTiming.loadEventStart') - @DocsEditable() final int loadEventStart; - @DomName('PerformanceTiming.navigationStart') - @DocsEditable() final int navigationStart; - @DomName('PerformanceTiming.redirectEnd') - @DocsEditable() final int redirectEnd; - @DomName('PerformanceTiming.redirectStart') - @DocsEditable() final int redirectStart; - @DomName('PerformanceTiming.requestStart') - @DocsEditable() final int requestStart; - @DomName('PerformanceTiming.responseEnd') - @DocsEditable() final int responseEnd; - @DomName('PerformanceTiming.responseStart') - @DocsEditable() final int responseStart; - @DomName('PerformanceTiming.secureConnectionStart') - @DocsEditable() final int secureConnectionStart; - @DomName('PerformanceTiming.unloadEventEnd') - @DocsEditable() final int unloadEventEnd; - @DomName('PerformanceTiming.unloadEventStart') - @DocsEditable() final int 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('PermissionStatus') -@Experimental() // untriaged @Native("PermissionStatus") class PermissionStatus extends EventTarget { // To suppress missing implicit constructor warnings. @@ -32477,29 +24085,17 @@ class PermissionStatus extends EventTarget { throw new UnsupportedError("Not supported"); } - @DomName('PermissionStatus.changeEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider changeEvent = const EventStreamProvider('change'); - @DomName('PermissionStatus.state') - @DocsEditable() - @Experimental() // untriaged final String state; - @DomName('PermissionStatus.onchange') - @DocsEditable() - @Experimental() // untriaged Stream get onChange => changeEvent.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('Permissions') -@Experimental() // untriaged @Native("Permissions") class Permissions extends Interceptor { // To suppress missing implicit constructor warnings. @@ -32507,62 +24103,38 @@ class Permissions extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('Permissions.query') - @DocsEditable() - @Experimental() // untriaged Future query(Map permission) { var permission_1 = convertDartToNative_Dictionary(permission); return _query_1(permission_1); } @JSName('query') - @DomName('Permissions.query') - @DocsEditable() - @Experimental() // untriaged Future _query_1(permission) native; - @DomName('Permissions.request') - @DocsEditable() - @Experimental() // untriaged Future request(Map permissions) { var permissions_1 = convertDartToNative_Dictionary(permissions); return _request_1(permissions_1); } @JSName('request') - @DomName('Permissions.request') - @DocsEditable() - @Experimental() // untriaged Future _request_1(permissions) native; - @DomName('Permissions.requestAll') - @DocsEditable() - @Experimental() // untriaged Future requestAll(List permissions) => promiseToFuture( JS("", "#.requestAll(#)", this, permissions)); - @DomName('Permissions.revoke') - @DocsEditable() - @Experimental() // untriaged Future revoke(Map permission) { var permission_1 = convertDartToNative_Dictionary(permission); return _revoke_1(permission_1); } @JSName('revoke') - @DomName('Permissions.revoke') - @DocsEditable() - @Experimental() // untriaged Future _revoke_1(permission) 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('PhotoCapabilities') -@Experimental() // untriaged @Native("PhotoCapabilities") class PhotoCapabilities extends Interceptor { // To suppress missing implicit constructor warnings. @@ -32570,33 +24142,18 @@ class PhotoCapabilities extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('PhotoCapabilities.fillLightMode') - @DocsEditable() - @Experimental() // untriaged final List fillLightMode; - @DomName('PhotoCapabilities.imageHeight') - @DocsEditable() - @Experimental() // untriaged final MediaSettingsRange imageHeight; - @DomName('PhotoCapabilities.imageWidth') - @DocsEditable() - @Experimental() // untriaged final MediaSettingsRange imageWidth; - @DomName('PhotoCapabilities.redEyeReduction') - @DocsEditable() - @Experimental() // untriaged final String redEyeReduction; } // Copyright (c) 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('HTMLPictureElement') -@Experimental() // untriaged @Native("HTMLPictureElement") class PictureElement extends HtmlElement { // To suppress missing implicit constructor warnings. @@ -32614,9 +24171,6 @@ class PictureElement 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('Plugin') -@Experimental() // non-standard @Native("Plugin") class Plugin extends Interceptor { // To suppress missing implicit constructor warnings. @@ -32624,37 +24178,22 @@ class Plugin extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('Plugin.description') - @DocsEditable() final String description; - @DomName('Plugin.filename') - @DocsEditable() final String filename; - @DomName('Plugin.length') - @DocsEditable() final int length; - @DomName('Plugin.name') - @DocsEditable() final String name; - @DomName('Plugin.item') - @DocsEditable() MimeType item(int index) native; - @DomName('Plugin.namedItem') - @DocsEditable() MimeType namedItem(String name) 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('PluginArray') -@Experimental() // non-standard @Native("PluginArray") class PluginArray extends Interceptor with ListMixin, ImmutableListMixin @@ -32664,8 +24203,6 @@ class PluginArray extends Interceptor throw new UnsupportedError("Not supported"); } - @DomName('PluginArray.length') - @DocsEditable() int get length => JS("int", "#.length", this); Plugin operator [](int index) { @@ -32711,25 +24248,16 @@ class PluginArray extends Interceptor Plugin elementAt(int index) => this[index]; // -- end List mixins. - @DomName('PluginArray.item') - @DocsEditable() Plugin item(int index) native; - @DomName('PluginArray.namedItem') - @DocsEditable() Plugin namedItem(String name) native; - @DomName('PluginArray.refresh') - @DocsEditable() void refresh(bool reload) 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('PointerEvent') -@Experimental() // untriaged @Native("PointerEvent") class PointerEvent extends MouseEvent { // To suppress missing implicit constructor warnings. @@ -32737,8 +24265,6 @@ class PointerEvent extends MouseEvent { throw new UnsupportedError("Not supported"); } - @DomName('PointerEvent.PointerEvent') - @DocsEditable() factory PointerEvent(String type, [Map eventInitDict]) { if (eventInitDict != null) { var eventInitDict_1 = convertDartToNative_Dictionary(eventInitDict); @@ -32751,67 +24277,32 @@ class PointerEvent extends MouseEvent { static PointerEvent _create_2(type) => JS('PointerEvent', 'new PointerEvent(#)', type); - @DomName('PointerEvent.height') - @DocsEditable() - @Experimental() // untriaged final num height; - @DomName('PointerEvent.isPrimary') - @DocsEditable() - @Experimental() // untriaged final bool isPrimary; - @DomName('PointerEvent.pointerId') - @DocsEditable() - @Experimental() // untriaged final int pointerId; - @DomName('PointerEvent.pointerType') - @DocsEditable() - @Experimental() // untriaged final String pointerType; - @DomName('PointerEvent.pressure') - @DocsEditable() - @Experimental() // untriaged final num pressure; - @DomName('PointerEvent.tangentialPressure') - @DocsEditable() - @Experimental() // untriaged final num tangentialPressure; - @DomName('PointerEvent.tiltX') - @DocsEditable() - @Experimental() // untriaged final int tiltX; - @DomName('PointerEvent.tiltY') - @DocsEditable() - @Experimental() // untriaged final int tiltY; - @DomName('PointerEvent.twist') - @DocsEditable() - @Experimental() // untriaged final int twist; - @DomName('PointerEvent.width') - @DocsEditable() - @Experimental() // untriaged final num width; - @DomName('PointerEvent.getCoalescedEvents') - @DocsEditable() - @Experimental() // untriaged List getCoalescedEvents() 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('PopStateEvent') @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.FIREFOX) @SupportedBrowser(SupportedBrowser.IE, '10') @@ -32823,8 +24314,6 @@ class PopStateEvent extends Event { throw new UnsupportedError("Not supported"); } - @DomName('PopStateEvent.PopStateEvent') - @DocsEditable() factory PopStateEvent(String type, [Map eventInitDict]) { if (eventInitDict != null) { var eventInitDict_1 = convertDartToNative_Dictionary(eventInitDict); @@ -32837,13 +24326,9 @@ class PopStateEvent extends Event { static PopStateEvent _create_2(type) => JS('PopStateEvent', 'new PopStateEvent(#)', type); - @DomName('PopStateEvent.state') - @DocsEditable() dynamic get state => convertNativeToDart_SerializedScriptValue(this._get_state); @JSName('state') - @DomName('PopStateEvent.state') - @DocsEditable() @annotation_Creates_SerializedScriptValue @annotation_Returns_SerializedScriptValue final dynamic _get_state; @@ -32854,15 +24339,12 @@ class PopStateEvent extends Event { // WARNING: Do not edit - generated code. -@DomName('PositionCallback') @Unstable() typedef void _PositionCallback(Geoposition position); // Copyright (c) 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('PositionError') @Unstable() @Native("PositionError") class PositionError extends Interceptor { @@ -32871,24 +24353,14 @@ class PositionError extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('PositionError.PERMISSION_DENIED') - @DocsEditable() static const int PERMISSION_DENIED = 1; - @DomName('PositionError.POSITION_UNAVAILABLE') - @DocsEditable() static const int POSITION_UNAVAILABLE = 2; - @DomName('PositionError.TIMEOUT') - @DocsEditable() static const int TIMEOUT = 3; - @DomName('PositionError.code') - @DocsEditable() final int code; - @DomName('PositionError.message') - @DocsEditable() final String message; } // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file @@ -32897,15 +24369,12 @@ class PositionError extends Interceptor { // WARNING: Do not edit - generated code. -@DomName('PositionErrorCallback') @Unstable() typedef void _PositionErrorCallback(PositionError error); // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('HTMLPreElement') @Native("HTMLPreElement") class PreElement extends HtmlElement { // To suppress missing implicit constructor warnings. @@ -32913,8 +24382,6 @@ class PreElement extends HtmlElement { throw new UnsupportedError("Not supported"); } - @DomName('HTMLPreElement.HTMLPreElement') - @DocsEditable() factory PreElement() => JS('returns:PreElement;creates:PreElement;new:true', '#.createElement(#)', document, "pre"); /** @@ -32928,9 +24395,6 @@ class PreElement 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('Presentation') -@Experimental() // untriaged @Native("Presentation") class Presentation extends Interceptor { // To suppress missing implicit constructor warnings. @@ -32938,23 +24402,14 @@ class Presentation extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('Presentation.defaultRequest') - @DocsEditable() - @Experimental() // untriaged PresentationRequest defaultRequest; - @DomName('Presentation.receiver') - @DocsEditable() - @Experimental() // untriaged final PresentationReceiver receiver; } // Copyright (c) 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('PresentationAvailability') -@Experimental() // untriaged @Native("PresentationAvailability") class PresentationAvailability extends EventTarget { // To suppress missing implicit constructor warnings. @@ -32962,29 +24417,17 @@ class PresentationAvailability extends EventTarget { throw new UnsupportedError("Not supported"); } - @DomName('PresentationAvailability.changeEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider changeEvent = const EventStreamProvider('change'); - @DomName('PresentationAvailability.value') - @DocsEditable() - @Experimental() // untriaged final bool value; - @DomName('PresentationAvailability.onchange') - @DocsEditable() - @Experimental() // untriaged Stream get onChange => changeEvent.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('PresentationConnection') -@Experimental() // untriaged @Native("PresentationConnection") class PresentationConnection extends EventTarget { // To suppress missing implicit constructor warnings. @@ -32992,59 +24435,29 @@ class PresentationConnection extends EventTarget { throw new UnsupportedError("Not supported"); } - @DomName('PresentationConnection.messageEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider messageEvent = const EventStreamProvider('message'); - @DomName('PresentationConnection.binaryType') - @DocsEditable() - @Experimental() // untriaged String binaryType; - @DomName('PresentationConnection.id') - @DocsEditable() - @Experimental() // untriaged final String id; - @DomName('PresentationConnection.state') - @DocsEditable() - @Experimental() // untriaged final String state; - @DomName('PresentationConnection.url') - @DocsEditable() - @Experimental() // untriaged final String url; - @DomName('PresentationConnection.close') - @DocsEditable() - @Experimental() // untriaged void close() native; - @DomName('PresentationConnection.send') - @DocsEditable() - @Experimental() // untriaged void send(data_OR_message) native; - @DomName('PresentationConnection.terminate') - @DocsEditable() - @Experimental() // untriaged void terminate() native; - @DomName('PresentationConnection.onmessage') - @DocsEditable() - @Experimental() // untriaged Stream get onMessage => messageEvent.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('PresentationConnectionAvailableEvent') -@Experimental() // untriaged @Native("PresentationConnectionAvailableEvent") class PresentationConnectionAvailableEvent extends Event { // To suppress missing implicit constructor warnings. @@ -33052,9 +24465,6 @@ class PresentationConnectionAvailableEvent extends Event { throw new UnsupportedError("Not supported"); } - @DomName( - 'PresentationConnectionAvailableEvent.PresentationConnectionAvailableEvent') - @DocsEditable() factory PresentationConnectionAvailableEvent(String type, Map eventInitDict) { var eventInitDict_1 = convertDartToNative_Dictionary(eventInitDict); return PresentationConnectionAvailableEvent._create_1( @@ -33064,18 +24474,12 @@ class PresentationConnectionAvailableEvent extends Event { JS('PresentationConnectionAvailableEvent', 'new PresentationConnectionAvailableEvent(#,#)', type, eventInitDict); - @DomName('PresentationConnectionAvailableEvent.connection') - @DocsEditable() - @Experimental() // untriaged final PresentationConnection connection; } // Copyright (c) 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('PresentationConnectionCloseEvent') -@Experimental() // untriaged @Native("PresentationConnectionCloseEvent") class PresentationConnectionCloseEvent extends Event { // To suppress missing implicit constructor warnings. @@ -33083,8 +24487,6 @@ class PresentationConnectionCloseEvent extends Event { throw new UnsupportedError("Not supported"); } - @DomName('PresentationConnectionCloseEvent.PresentationConnectionCloseEvent') - @DocsEditable() factory PresentationConnectionCloseEvent(String type, Map eventInitDict) { var eventInitDict_1 = convertDartToNative_Dictionary(eventInitDict); return PresentationConnectionCloseEvent._create_1(type, eventInitDict_1); @@ -33095,23 +24497,14 @@ class PresentationConnectionCloseEvent extends Event { type, eventInitDict); - @DomName('PresentationConnectionCloseEvent.message') - @DocsEditable() - @Experimental() // untriaged final String message; - @DomName('PresentationConnectionCloseEvent.reason') - @DocsEditable() - @Experimental() // untriaged final String reason; } // Copyright (c) 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('PresentationConnectionList') -@Experimental() // untriaged @Native("PresentationConnectionList") class PresentationConnectionList extends EventTarget { // To suppress missing implicit constructor warnings. @@ -33119,18 +24512,12 @@ class PresentationConnectionList extends EventTarget { throw new UnsupportedError("Not supported"); } - @DomName('PresentationConnectionList.connections') - @DocsEditable() - @Experimental() // untriaged final List connections; } // Copyright (c) 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('PresentationReceiver') -@Experimental() // untriaged @Native("PresentationReceiver") class PresentationReceiver extends Interceptor { // To suppress missing implicit constructor warnings. @@ -33138,9 +24525,6 @@ class PresentationReceiver extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('PresentationReceiver.connectionList') - @DocsEditable() - @Experimental() // untriaged Future get connectionList => promiseToFuture( JS("", "#.connectionList", this)); @@ -33149,9 +24533,6 @@ class PresentationReceiver 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('PresentationRequest') -@Experimental() // untriaged @Native("PresentationRequest") class PresentationRequest extends EventTarget { // To suppress missing implicit constructor warnings. @@ -33159,8 +24540,6 @@ class PresentationRequest extends EventTarget { throw new UnsupportedError("Not supported"); } - @DomName('PresentationRequest.PresentationRequest') - @DocsEditable() factory PresentationRequest(url_OR_urls) { if ((url_OR_urls is String)) { return PresentationRequest._create_1(url_OR_urls); @@ -33176,23 +24555,14 @@ class PresentationRequest extends EventTarget { static PresentationRequest _create_2(url_OR_urls) => JS('PresentationRequest', 'new PresentationRequest(#)', url_OR_urls); - @DomName('PresentationRequest.getAvailability') - @DocsEditable() - @Experimental() // untriaged Future getAvailability() => promiseToFuture( JS("", "#.getAvailability()", this)); - @DomName('PresentationRequest.reconnect') - @DocsEditable() - @Experimental() // untriaged Future reconnect(String id) => promiseToFuture( JS("", "#.reconnect(#)", this, id)); - @DomName('PresentationRequest.start') - @DocsEditable() - @Experimental() // untriaged Future start() => promiseToFuture(JS("", "#.start()", this)); } @@ -33200,8 +24570,6 @@ class PresentationRequest 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('ProcessingInstruction') @Unstable() @Native("ProcessingInstruction") class ProcessingInstruction extends CharacterData { @@ -33210,21 +24578,14 @@ class ProcessingInstruction extends CharacterData { throw new UnsupportedError("Not supported"); } - @DomName('ProcessingInstruction.sheet') - @DocsEditable() - @Experimental() // non-standard final StyleSheet sheet; - @DomName('ProcessingInstruction.target') - @DocsEditable() final 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('HTMLProgressElement') @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.FIREFOX) @SupportedBrowser(SupportedBrowser.IE, '10') @@ -33236,8 +24597,6 @@ class ProgressElement extends HtmlElement { throw new UnsupportedError("Not supported"); } - @DomName('HTMLProgressElement.HTMLProgressElement') - @DocsEditable() factory ProgressElement() => document.createElement("progress"); /** * Constructor instantiated by the DOM when a custom element has been created. @@ -33249,31 +24608,21 @@ class ProgressElement extends HtmlElement { /// Checks if this type is supported on the current platform. static bool get supported => Element.isTagSupported('progress'); - @DomName('HTMLProgressElement.labels') - @DocsEditable() @Unstable() @Returns('NodeList|Null') @Creates('NodeList') final List labels; - @DomName('HTMLProgressElement.max') - @DocsEditable() num max; - @DomName('HTMLProgressElement.position') - @DocsEditable() final num position; - @DomName('HTMLProgressElement.value') - @DocsEditable() num 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('ProgressEvent') @Native("ProgressEvent") class ProgressEvent extends Event { // To suppress missing implicit constructor warnings. @@ -33281,8 +24630,6 @@ class ProgressEvent extends Event { throw new UnsupportedError("Not supported"); } - @DomName('ProgressEvent.ProgressEvent') - @DocsEditable() factory ProgressEvent(String type, [Map eventInitDict]) { if (eventInitDict != null) { var eventInitDict_1 = convertDartToNative_Dictionary(eventInitDict); @@ -33295,25 +24642,16 @@ class ProgressEvent extends Event { static ProgressEvent _create_2(type) => JS('ProgressEvent', 'new ProgressEvent(#)', type); - @DomName('ProgressEvent.lengthComputable') - @DocsEditable() final bool lengthComputable; - @DomName('ProgressEvent.loaded') - @DocsEditable() final int loaded; - @DomName('ProgressEvent.total') - @DocsEditable() final int 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('PromiseRejectionEvent') -@Experimental() // untriaged @Native("PromiseRejectionEvent") class PromiseRejectionEvent extends Event { // To suppress missing implicit constructor warnings. @@ -33321,8 +24659,6 @@ class PromiseRejectionEvent extends Event { throw new UnsupportedError("Not supported"); } - @DomName('PromiseRejectionEvent.PromiseRejectionEvent') - @DocsEditable() factory PromiseRejectionEvent(String type, Map eventInitDict) { var eventInitDict_1 = convertDartToNative_Dictionary(eventInitDict); return PromiseRejectionEvent._create_1(type, eventInitDict_1); @@ -33333,23 +24669,14 @@ class PromiseRejectionEvent extends Event { type, eventInitDict); - @DomName('PromiseRejectionEvent.promise') - @DocsEditable() - @Experimental() // untriaged Future get promise => promiseToFuture(JS("", "#.promise", this)); - @DomName('PromiseRejectionEvent.reason') - @DocsEditable() - @Experimental() // untriaged final Object reason; } // Copyright (c) 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('PublicKeyCredential') -@Experimental() // untriaged @Native("PublicKeyCredential") class PublicKeyCredential extends Credential { // To suppress missing implicit constructor warnings. @@ -33357,23 +24684,14 @@ class PublicKeyCredential extends Credential { throw new UnsupportedError("Not supported"); } - @DomName('PublicKeyCredential.rawId') - @DocsEditable() - @Experimental() // untriaged final ByteBuffer rawId; - @DomName('PublicKeyCredential.response') - @DocsEditable() - @Experimental() // untriaged final AuthenticatorResponse 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('PushEvent') -@Experimental() // untriaged @Native("PushEvent") class PushEvent extends ExtendableEvent { // To suppress missing implicit constructor warnings. @@ -33381,8 +24699,6 @@ class PushEvent extends ExtendableEvent { throw new UnsupportedError("Not supported"); } - @DomName('PushEvent.PushEvent') - @DocsEditable() factory PushEvent(String type, [Map eventInitDict]) { if (eventInitDict != null) { var eventInitDict_1 = convertDartToNative_Dictionary(eventInitDict); @@ -33394,18 +24710,12 @@ class PushEvent extends ExtendableEvent { JS('PushEvent', 'new PushEvent(#,#)', type, eventInitDict); static PushEvent _create_2(type) => JS('PushEvent', 'new PushEvent(#)', type); - @DomName('PushEvent.data') - @DocsEditable() - @Experimental() // untriaged final PushMessageData 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('PushManager') -@Experimental() // untriaged @Native("PushManager") class PushManager extends Interceptor { // To suppress missing implicit constructor warnings. @@ -33413,20 +24723,11 @@ class PushManager extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('PushManager.supportedContentEncodings') - @DocsEditable() - @Experimental() // untriaged static final List supportedContentEncodings; - @DomName('PushManager.getSubscription') - @DocsEditable() - @Experimental() // untriaged Future getSubscription() => promiseToFuture(JS("", "#.getSubscription()", this)); - @DomName('PushManager.permissionState') - @DocsEditable() - @Experimental() // untriaged Future permissionState([Map options]) { if (options != null) { var options_1 = convertDartToNative_Dictionary(options); @@ -33436,19 +24737,10 @@ class PushManager extends Interceptor { } @JSName('permissionState') - @DomName('PushManager.permissionState') - @DocsEditable() - @Experimental() // untriaged Future _permissionState_1(options) native; @JSName('permissionState') - @DomName('PushManager.permissionState') - @DocsEditable() - @Experimental() // untriaged Future _permissionState_2() native; - @DomName('PushManager.subscribe') - @DocsEditable() - @Experimental() // untriaged Future subscribe([Map options]) { if (options != null) { var options_1 = convertDartToNative_Dictionary(options); @@ -33458,23 +24750,14 @@ class PushManager extends Interceptor { } @JSName('subscribe') - @DomName('PushManager.subscribe') - @DocsEditable() - @Experimental() // untriaged Future _subscribe_1(options) native; @JSName('subscribe') - @DomName('PushManager.subscribe') - @DocsEditable() - @Experimental() // untriaged Future _subscribe_2() 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('PushMessageData') -@Experimental() // untriaged @Native("PushMessageData") class PushMessageData extends Interceptor { // To suppress missing implicit constructor warnings. @@ -33482,33 +24765,18 @@ class PushMessageData extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('PushMessageData.arrayBuffer') - @DocsEditable() - @Experimental() // untriaged ByteBuffer arrayBuffer() native; - @DomName('PushMessageData.blob') - @DocsEditable() - @Experimental() // untriaged Blob blob() native; - @DomName('PushMessageData.json') - @DocsEditable() - @Experimental() // untriaged Object json() native; - @DomName('PushMessageData.text') - @DocsEditable() - @Experimental() // untriaged String text() 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('PushSubscription') -@Experimental() // untriaged @Native("PushSubscription") class PushSubscription extends Interceptor { // To suppress missing implicit constructor warnings. @@ -33516,29 +24784,14 @@ class PushSubscription extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('PushSubscription.endpoint') - @DocsEditable() - @Experimental() // untriaged final String endpoint; - @DomName('PushSubscription.expirationTime') - @DocsEditable() - @Experimental() // untriaged final int expirationTime; - @DomName('PushSubscription.options') - @DocsEditable() - @Experimental() // untriaged final PushSubscriptionOptions options; - @DomName('PushSubscription.getKey') - @DocsEditable() - @Experimental() // untriaged ByteBuffer getKey(String name) native; - @DomName('PushSubscription.unsubscribe') - @DocsEditable() - @Experimental() // untriaged Future unsubscribe() => promiseToFuture(JS("", "#.unsubscribe()", this)); } @@ -33546,9 +24799,6 @@ class PushSubscription 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('PushSubscriptionOptions') -@Experimental() // untriaged @Native("PushSubscriptionOptions") class PushSubscriptionOptions extends Interceptor { // To suppress missing implicit constructor warnings. @@ -33556,22 +24806,14 @@ class PushSubscriptionOptions extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('PushSubscriptionOptions.applicationServerKey') - @DocsEditable() - @Experimental() // untriaged final ByteBuffer applicationServerKey; - @DomName('PushSubscriptionOptions.userVisibleOnly') - @DocsEditable() - @Experimental() // untriaged final bool userVisibleOnly; } // Copyright (c) 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('HTMLQuoteElement') @Native("HTMLQuoteElement") class QuoteElement extends HtmlElement { // To suppress missing implicit constructor warnings. @@ -33579,8 +24821,6 @@ class QuoteElement extends HtmlElement { throw new UnsupportedError("Not supported"); } - @DomName('HTMLQuoteElement.HTMLQuoteElement') - @DocsEditable() factory QuoteElement() => JS( 'returns:QuoteElement;creates:QuoteElement;new:true', '#.createElement(#)', @@ -33593,8 +24833,6 @@ class QuoteElement extends HtmlElement { */ QuoteElement.created() : super.created(); - @DomName('HTMLQuoteElement.cite') - @DocsEditable() String cite; } // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file @@ -33603,8 +24841,6 @@ class QuoteElement extends HtmlElement { // WARNING: Do not edit - generated code. -@DomName('RTCPeerConnectionErrorCallback') -@Experimental() // untriaged typedef void RtcPeerConnectionErrorCallback(DomException exception); // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a @@ -33612,9 +24848,6 @@ typedef void RtcPeerConnectionErrorCallback(DomException exception); // WARNING: Do not edit - generated code. -@DomName('RTCSessionDescriptionCallback') -// http://dev.w3.org/2011/webrtc/editor/webrtc.html#idl-def-RTCSessionDescription -@Experimental() typedef void _RtcSessionDescriptionCallback(RtcSessionDescription sdp); // Copyright (c) 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,9 +24855,6 @@ typedef void _RtcSessionDescriptionCallback(RtcSessionDescription sdp); // WARNING: Do not edit - generated code. -@DomName('RTCStatsCallback') -// http://dev.w3.org/2011/webrtc/editor/webrtc.html#idl-def-RTCStatsCallback -@Experimental() typedef void RtcStatsCallback(RtcStatsResponse 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 @@ -33632,7 +24862,6 @@ typedef void RtcStatsCallback(RtcStatsResponse response); // WARNING: Do not edit - generated code. -@DomName('Range') @Unstable() @Native("Range") class Range extends Interceptor { @@ -33645,145 +24874,75 @@ class Range extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('Range.END_TO_END') - @DocsEditable() static const int END_TO_END = 2; - @DomName('Range.END_TO_START') - @DocsEditable() static const int END_TO_START = 3; - @DomName('Range.START_TO_END') - @DocsEditable() static const int START_TO_END = 1; - @DomName('Range.START_TO_START') - @DocsEditable() static const int START_TO_START = 0; - @DomName('Range.collapsed') - @DocsEditable() final bool collapsed; - @DomName('Range.commonAncestorContainer') - @DocsEditable() final Node commonAncestorContainer; - @DomName('Range.endContainer') - @DocsEditable() final Node endContainer; - @DomName('Range.endOffset') - @DocsEditable() final int endOffset; - @DomName('Range.startContainer') - @DocsEditable() final Node startContainer; - @DomName('Range.startOffset') - @DocsEditable() final int startOffset; - @DomName('Range.cloneContents') - @DocsEditable() DocumentFragment cloneContents() native; - @DomName('Range.cloneRange') - @DocsEditable() Range cloneRange() native; - @DomName('Range.collapse') - @DocsEditable() void collapse([bool toStart]) native; - @DomName('Range.compareBoundaryPoints') - @DocsEditable() - @Experimental() // untriaged int compareBoundaryPoints(int how, Range sourceRange) native; - @DomName('Range.comparePoint') - @DocsEditable() int comparePoint(Node node, int offset) native; - @DomName('Range.createContextualFragment') - @DocsEditable() DocumentFragment createContextualFragment(String fragment) native; - @DomName('Range.deleteContents') - @DocsEditable() void deleteContents() native; - @DomName('Range.detach') - @DocsEditable() void detach() native; - @DomName('Range.expand') - @DocsEditable() - @Experimental() // non-standard void expand(String unit) native; - @DomName('Range.extractContents') - @DocsEditable() DocumentFragment extractContents() native; - @DomName('Range.getBoundingClientRect') - @DocsEditable() Rectangle getBoundingClientRect() native; @JSName('getClientRects') - @DomName('Range.getClientRects') - @DocsEditable() @Returns('DomRectList|Null') @Creates('DomRectList') List _getClientRects() native; - @DomName('Range.insertNode') - @DocsEditable() void insertNode(Node node) native; - @DomName('Range.isPointInRange') - @DocsEditable() bool isPointInRange(Node node, int offset) native; - @DomName('Range.selectNode') - @DocsEditable() void selectNode(Node node) native; - @DomName('Range.selectNodeContents') - @DocsEditable() void selectNodeContents(Node node) native; - @DomName('Range.setEnd') - @DocsEditable() void setEnd(Node node, int offset) native; - @DomName('Range.setEndAfter') - @DocsEditable() void setEndAfter(Node node) native; - @DomName('Range.setEndBefore') - @DocsEditable() void setEndBefore(Node node) native; - @DomName('Range.setStart') - @DocsEditable() void setStart(Node node, int offset) native; - @DomName('Range.setStartAfter') - @DocsEditable() void setStartAfter(Node node) native; - @DomName('Range.setStartBefore') - @DocsEditable() void setStartBefore(Node node) native; - @DomName('Range.surroundContents') - @DocsEditable() void surroundContents(Node newParent) native; - @DomName('Range.getClientRects') - @DocsEditable() List getClientRects() { var value = _getClientRects(); @@ -33812,9 +24971,6 @@ class Range 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('RelatedApplication') -@Experimental() // untriaged @Native("RelatedApplication") class RelatedApplication extends Interceptor { // To suppress missing implicit constructor warnings. @@ -33822,28 +24978,16 @@ class RelatedApplication extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('RelatedApplication.id') - @DocsEditable() - @Experimental() // untriaged final String id; - @DomName('RelatedApplication.platform') - @DocsEditable() - @Experimental() // untriaged final String platform; - @DomName('RelatedApplication.url') - @DocsEditable() - @Experimental() // untriaged final String 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('RelativeOrientationSensor') -@Experimental() // untriaged @Native("RelativeOrientationSensor") class RelativeOrientationSensor extends OrientationSensor { // To suppress missing implicit constructor warnings. @@ -33851,8 +24995,6 @@ class RelativeOrientationSensor extends OrientationSensor { throw new UnsupportedError("Not supported"); } - @DomName('RelativeOrientationSensor.RelativeOrientationSensor') - @DocsEditable() factory RelativeOrientationSensor([Map sensorOptions]) { if (sensorOptions != null) { var sensorOptions_1 = convertDartToNative_Dictionary(sensorOptions); @@ -33871,9 +25013,6 @@ class RelativeOrientationSensor 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('RemotePlayback') -@Experimental() // untriaged @Native("RemotePlayback") class RemotePlayback extends EventTarget { // To suppress missing implicit constructor warnings. @@ -33881,25 +25020,13 @@ class RemotePlayback extends EventTarget { throw new UnsupportedError("Not supported"); } - @DomName('RemotePlayback.state') - @DocsEditable() - @Experimental() // untriaged final String state; - @DomName('RemotePlayback.cancelWatchAvailability') - @DocsEditable() - @Experimental() // untriaged Future cancelWatchAvailability([int id]) => promiseToFuture(JS("", "#.cancelWatchAvailability(#)", this, id)); - @DomName('RemotePlayback.prompt') - @DocsEditable() - @Experimental() // untriaged Future prompt() => promiseToFuture(JS("", "#.prompt()", this)); - @DomName('RemotePlayback.watchAvailability') - @DocsEditable() - @Experimental() // untriaged Future watchAvailability(RemotePlaybackAvailabilityCallback callback) => promiseToFuture(JS("", "#.watchAvailability(#)", this, callback)); } @@ -33909,16 +25036,11 @@ class RemotePlayback extends EventTarget { // WARNING: Do not edit - generated code. -@DomName('RemotePlaybackAvailabilityCallback') -@Experimental() // untriaged typedef void RemotePlaybackAvailabilityCallback(bool available); // Copyright (c) 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('ReportBody') -@Experimental() // untriaged @Native("ReportBody") class ReportBody extends Interceptor { // To suppress missing implicit constructor warnings. @@ -33930,9 +25052,6 @@ class ReportBody 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('ReportingObserver') -@Experimental() // untriaged @Native("ReportingObserver") class ReportingObserver extends Interceptor { // To suppress missing implicit constructor warnings. @@ -33940,22 +25059,14 @@ class ReportingObserver extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('ReportingObserver.ReportingObserver') - @DocsEditable() factory ReportingObserver(ReportingObserverCallback callback) { return ReportingObserver._create_1(callback); } static ReportingObserver _create_1(callback) => JS('ReportingObserver', 'new ReportingObserver(#)', callback); - @DomName('ReportingObserver.disconnect') - @DocsEditable() - @Experimental() // untriaged void disconnect() native; - @DomName('ReportingObserver.observe') - @DocsEditable() - @Experimental() // untriaged void observe() native; } // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file @@ -33964,8 +25075,6 @@ class ReportingObserver extends Interceptor { // WARNING: Do not edit - generated code. -@DomName('ReportingObserverCallback') -@Experimental() // untriaged typedef void ReportingObserverCallback( List<_Report> reports, ReportingObserver observer); // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file @@ -33974,15 +25083,11 @@ typedef void ReportingObserverCallback( // WARNING: Do not edit - generated code. -@DomName('RequestAnimationFrameCallback') typedef void RequestAnimationFrameCallback(num highResTime); // Copyright (c) 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('ResizeObserver') -@Experimental() // untriaged @Native("ResizeObserver") class ResizeObserver extends Interceptor { // To suppress missing implicit constructor warnings. @@ -33990,27 +25095,16 @@ class ResizeObserver extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('ResizeObserver.ResizeObserver') - @DocsEditable() factory ResizeObserver(ResizeObserverCallback callback) { return ResizeObserver._create_1(callback); } static ResizeObserver _create_1(callback) => JS('ResizeObserver', 'new ResizeObserver(#)', callback); - @DomName('ResizeObserver.disconnect') - @DocsEditable() - @Experimental() // untriaged void disconnect() native; - @DomName('ResizeObserver.observe') - @DocsEditable() - @Experimental() // untriaged void observe(Element target) native; - @DomName('ResizeObserver.unobserve') - @DocsEditable() - @Experimental() // untriaged void unobserve(Element target) native; } // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file @@ -34019,17 +25113,12 @@ class ResizeObserver extends Interceptor { // WARNING: Do not edit - generated code. -@DomName('ResizeObserverCallback') -@Experimental() // untriaged typedef void ResizeObserverCallback( List entries, ResizeObserver observer); // Copyright (c) 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('ResizeObserverEntry') -@Experimental() // untriaged @Native("ResizeObserverEntry") class ResizeObserverEntry extends Interceptor { // To suppress missing implicit constructor warnings. @@ -34037,23 +25126,14 @@ class ResizeObserverEntry extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('ResizeObserverEntry.contentRect') - @DocsEditable() - @Experimental() // untriaged final DomRectReadOnly contentRect; - @DomName('ResizeObserverEntry.target') - @DocsEditable() - @Experimental() // untriaged final Element 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('RTCCertificate') -@Experimental() // untriaged @Native("RTCCertificate") class RtcCertificate extends Interceptor { // To suppress missing implicit constructor warnings. @@ -34061,24 +25141,14 @@ class RtcCertificate extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('RTCCertificate.expires') - @DocsEditable() - @Experimental() // untriaged final int expires; - @DomName('RTCCertificate.getFingerprints') - @DocsEditable() - @Experimental() // untriaged List getFingerprints() 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('RTCDataChannel') -// http://dev.w3.org/2011/webrtc/editor/webrtc.html#idl-def-RTCDataChannel -@Experimental() @Native("RTCDataChannel,DataChannel") class RtcDataChannel extends EventTarget { // To suppress missing implicit constructor warnings. @@ -34092,8 +25162,6 @@ class RtcDataChannel extends EventTarget { * * See [EventStreamProvider] for usage information. */ - @DomName('RTCDataChannel.closeEvent') - @DocsEditable() static const EventStreamProvider closeEvent = const EventStreamProvider('close'); @@ -34103,8 +25171,6 @@ class RtcDataChannel extends EventTarget { * * See [EventStreamProvider] for usage information. */ - @DomName('RTCDataChannel.errorEvent') - @DocsEditable() static const EventStreamProvider errorEvent = const EventStreamProvider('error'); @@ -34114,8 +25180,6 @@ class RtcDataChannel extends EventTarget { * * See [EventStreamProvider] for usage information. */ - @DomName('RTCDataChannel.messageEvent') - @DocsEditable() static const EventStreamProvider messageEvent = const EventStreamProvider('message'); @@ -34125,122 +25189,65 @@ class RtcDataChannel extends EventTarget { * * See [EventStreamProvider] for usage information. */ - @DomName('RTCDataChannel.openEvent') - @DocsEditable() static const EventStreamProvider openEvent = const EventStreamProvider('open'); - @DomName('RTCDataChannel.binaryType') - @DocsEditable() String binaryType; - @DomName('RTCDataChannel.bufferedAmount') - @DocsEditable() final int bufferedAmount; - @DomName('RTCDataChannel.bufferedAmountLowThreshold') - @DocsEditable() - @Experimental() // untriaged int bufferedAmountLowThreshold; - @DomName('RTCDataChannel.id') - @DocsEditable() - @Experimental() // untriaged final int id; - @DomName('RTCDataChannel.label') - @DocsEditable() final String label; - @DomName('RTCDataChannel.maxRetransmitTime') - @DocsEditable() - @Experimental() // untriaged final int maxRetransmitTime; - @DomName('RTCDataChannel.maxRetransmits') - @DocsEditable() - @Experimental() // untriaged final int maxRetransmits; - @DomName('RTCDataChannel.negotiated') - @DocsEditable() - @Experimental() // untriaged final bool negotiated; - @DomName('RTCDataChannel.ordered') - @DocsEditable() - @Experimental() // untriaged final bool ordered; - @DomName('RTCDataChannel.protocol') - @DocsEditable() - @Experimental() // untriaged final String protocol; - @DomName('RTCDataChannel.readyState') - @DocsEditable() final String readyState; - @DomName('RTCDataChannel.reliable') - @DocsEditable() final bool reliable; - @DomName('RTCDataChannel.close') - @DocsEditable() void close() native; - @DomName('RTCDataChannel.send') - @DocsEditable() void send(data) native; @JSName('send') - @DomName('RTCDataChannel.send') - @DocsEditable() void sendBlob(Blob data) native; @JSName('send') - @DomName('RTCDataChannel.send') - @DocsEditable() void sendByteBuffer(ByteBuffer data) native; @JSName('send') - @DomName('RTCDataChannel.send') - @DocsEditable() void sendString(String data) native; @JSName('send') - @DomName('RTCDataChannel.send') - @DocsEditable() void sendTypedData(TypedData data) native; /// Stream of `close` events handled by this [RtcDataChannel]. - @DomName('RTCDataChannel.onclose') - @DocsEditable() Stream get onClose => closeEvent.forTarget(this); /// Stream of `error` events handled by this [RtcDataChannel]. - @DomName('RTCDataChannel.onerror') - @DocsEditable() Stream get onError => errorEvent.forTarget(this); /// Stream of `message` events handled by this [RtcDataChannel]. - @DomName('RTCDataChannel.onmessage') - @DocsEditable() Stream get onMessage => messageEvent.forTarget(this); /// Stream of `open` events handled by this [RtcDataChannel]. - @DomName('RTCDataChannel.onopen') - @DocsEditable() Stream get onOpen => openEvent.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('RTCDataChannelEvent') -// http://dev.w3.org/2011/webrtc/editor/webrtc.html#rtcdatachannelevent -@Experimental() @Native("RTCDataChannelEvent") class RtcDataChannelEvent extends Event { // To suppress missing implicit constructor warnings. @@ -34248,8 +25255,6 @@ class RtcDataChannelEvent extends Event { throw new UnsupportedError("Not supported"); } - @DomName('RTCDataChannelEvent.RTCDataChannelEvent') - @DocsEditable() factory RtcDataChannelEvent(String type, Map eventInitDict) { var eventInitDict_1 = convertDartToNative_Dictionary(eventInitDict); return RtcDataChannelEvent._create_1(type, eventInitDict_1); @@ -34260,18 +25265,12 @@ class RtcDataChannelEvent extends Event { type, eventInitDict); - @DomName('RTCDataChannelEvent.channel') - @DocsEditable() final RtcDataChannel channel; } // Copyright (c) 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('RTCDTMFSender') -// http://dev.w3.org/2011/webrtc/editor/webrtc.html#idl-def-RTCDTMFSender -@Experimental() @Native("RTCDTMFSender") class RtcDtmfSender extends EventTarget { // To suppress missing implicit constructor warnings. @@ -34285,40 +25284,24 @@ class RtcDtmfSender extends EventTarget { * * See [EventStreamProvider] for usage information. */ - @DomName('RTCDTMFSender.tonechangeEvent') - @DocsEditable() static const EventStreamProvider toneChangeEvent = const EventStreamProvider('tonechange'); @JSName('canInsertDTMF') - @DomName('RTCDTMFSender.canInsertDTMF') - @DocsEditable() final bool canInsertDtmf; - @DomName('RTCDTMFSender.duration') - @DocsEditable() final int duration; - @DomName('RTCDTMFSender.interToneGap') - @DocsEditable() final int interToneGap; - @DomName('RTCDTMFSender.toneBuffer') - @DocsEditable() final String toneBuffer; - @DomName('RTCDTMFSender.track') - @DocsEditable() final MediaStreamTrack track; @JSName('insertDTMF') - @DomName('RTCDTMFSender.insertDTMF') - @DocsEditable() void insertDtmf(String tones, [int duration, int interToneGap]) native; /// Stream of `tonechange` events handled by this [RtcDtmfSender]. - @DomName('RTCDTMFSender.ontonechange') - @DocsEditable() Stream get onToneChange => toneChangeEvent.forTarget(this); } @@ -34326,10 +25309,6 @@ class RtcDtmfSender 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('RTCDTMFToneChangeEvent') -// http://dev.w3.org/2011/webrtc/editor/webrtc.html#idl-def-RTCDTMFToneChangeEvent -@Experimental() @Native("RTCDTMFToneChangeEvent") class RtcDtmfToneChangeEvent extends Event { // To suppress missing implicit constructor warnings. @@ -34337,8 +25316,6 @@ class RtcDtmfToneChangeEvent extends Event { throw new UnsupportedError("Not supported"); } - @DomName('RTCDTMFToneChangeEvent.RTCDTMFToneChangeEvent') - @DocsEditable() factory RtcDtmfToneChangeEvent(String type, Map eventInitDict) { var eventInitDict_1 = convertDartToNative_Dictionary(eventInitDict); return RtcDtmfToneChangeEvent._create_1(type, eventInitDict_1); @@ -34349,18 +25326,13 @@ class RtcDtmfToneChangeEvent extends Event { type, eventInitDict); - @DomName('RTCDTMFToneChangeEvent.tone') - @DocsEditable() final String tone; } // Copyright (c) 2013, 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. -@DomName('RTCIceCandidate') @SupportedBrowser(SupportedBrowser.CHROME) -@Experimental() -// http://dev.w3.org/2011/webrtc/editor/webrtc.html#idl-def-RTCIceCandidate @Native("RTCIceCandidate,mozRTCIceCandidate") class RtcIceCandidate extends Interceptor { factory RtcIceCandidate(Map dictionary) { @@ -34381,25 +25353,16 @@ class RtcIceCandidate extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('RTCIceCandidate.candidate') - @DocsEditable() String candidate; - @DomName('RTCIceCandidate.sdpMLineIndex') - @DocsEditable() int sdpMLineIndex; - @DomName('RTCIceCandidate.sdpMid') - @DocsEditable() String 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('RTCLegacyStatsReport') -@Experimental() // untriaged @Native("RTCLegacyStatsReport") class RtcLegacyStatsReport extends Interceptor { // To suppress missing implicit constructor warnings. @@ -34407,44 +25370,23 @@ class RtcLegacyStatsReport extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('RTCLegacyStatsReport.id') - @DocsEditable() - @Experimental() // untriaged final String id; - @DomName('RTCLegacyStatsReport.timestamp') - @DocsEditable() - @Experimental() // untriaged DateTime get timestamp => convertNativeToDart_DateTime(this._get_timestamp); @JSName('timestamp') - @DomName('RTCLegacyStatsReport.timestamp') - @DocsEditable() - @Experimental() // untriaged final dynamic _get_timestamp; - @DomName('RTCLegacyStatsReport.type') - @DocsEditable() - @Experimental() // untriaged final String type; - @DomName('RTCLegacyStatsReport.names') - @DocsEditable() - @Experimental() // untriaged List names() native; - @DomName('RTCLegacyStatsReport.stat') - @DocsEditable() - @Experimental() // untriaged String stat(String name) native; } // Copyright (c) 2013, 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. -@DomName('RTCPeerConnection') @SupportedBrowser(SupportedBrowser.CHROME) -@Experimental() -// http://dev.w3.org/2011/webrtc/editor/webrtc.html#idl-def-RTCPeerConnection @Native("RTCPeerConnection,webkitRTCPeerConnection,mozRTCPeerConnection") class RtcPeerConnection extends EventTarget { factory RtcPeerConnection(Map rtcIceServers, [Map mediaConstraints]) { @@ -34505,9 +25447,6 @@ class RtcPeerConnection extends EventTarget { return completer.future; } - @DomName('RTCPeerConnection.generateCertificate') - @DocsEditable() - @Experimental() // untriaged static Future generateCertificate(/*AlgorithmIdentifier*/ keygenAlgorithm) => JS('dynamic', 'generateCertificate(#)', keygenAlgorithm); @@ -34522,8 +25461,6 @@ class RtcPeerConnection extends EventTarget { * * See [EventStreamProvider] for usage information. */ - @DomName('RTCPeerConnection.addstreamEvent') - @DocsEditable() static const EventStreamProvider addStreamEvent = const EventStreamProvider('addstream'); @@ -34533,8 +25470,6 @@ class RtcPeerConnection extends EventTarget { * * See [EventStreamProvider] for usage information. */ - @DomName('RTCPeerConnection.datachannelEvent') - @DocsEditable() static const EventStreamProvider dataChannelEvent = const EventStreamProvider('datachannel'); @@ -34544,8 +25479,6 @@ class RtcPeerConnection extends EventTarget { * * See [EventStreamProvider] for usage information. */ - @DomName('RTCPeerConnection.icecandidateEvent') - @DocsEditable() static const EventStreamProvider iceCandidateEvent = const EventStreamProvider('icecandidate'); @@ -34556,8 +25489,6 @@ class RtcPeerConnection extends EventTarget { * * See [EventStreamProvider] for usage information. */ - @DomName('RTCPeerConnection.iceconnectionstatechangeEvent') - @DocsEditable() static const EventStreamProvider iceConnectionStateChangeEvent = const EventStreamProvider('iceconnectionstatechange'); @@ -34567,8 +25498,6 @@ class RtcPeerConnection extends EventTarget { * * See [EventStreamProvider] for usage information. */ - @DomName('RTCPeerConnection.negotiationneededEvent') - @DocsEditable() static const EventStreamProvider negotiationNeededEvent = const EventStreamProvider('negotiationneeded'); @@ -34578,8 +25507,6 @@ class RtcPeerConnection extends EventTarget { * * See [EventStreamProvider] for usage information. */ - @DomName('RTCPeerConnection.removestreamEvent') - @DocsEditable() static const EventStreamProvider removeStreamEvent = const EventStreamProvider('removestream'); @@ -34589,41 +25516,25 @@ class RtcPeerConnection extends EventTarget { * * See [EventStreamProvider] for usage information. */ - @DomName('RTCPeerConnection.signalingstatechangeEvent') - @DocsEditable() static const EventStreamProvider signalingStateChangeEvent = const EventStreamProvider('signalingstatechange'); - @DomName('RTCPeerConnection.iceConnectionState') - @DocsEditable() final String iceConnectionState; - @DomName('RTCPeerConnection.iceGatheringState') - @DocsEditable() final String iceGatheringState; - @DomName('RTCPeerConnection.localDescription') - @DocsEditable() final RtcSessionDescription localDescription; - @DomName('RTCPeerConnection.remoteDescription') - @DocsEditable() final RtcSessionDescription remoteDescription; - @DomName('RTCPeerConnection.signalingState') - @DocsEditable() final String signalingState; - @DomName('RTCPeerConnection.addIceCandidate') - @DocsEditable() Future addIceCandidate(Object candidate, [VoidCallback successCallback, RtcPeerConnectionErrorCallback failureCallback]) => promiseToFuture(JS("", "#.addIceCandidate(#, #, #)", this, candidate, successCallback, failureCallback)); - @DomName('RTCPeerConnection.addStream') - @DocsEditable() void addStream(MediaStream stream, [Map mediaConstraints]) { if (mediaConstraints != null) { var mediaConstraints_1 = convertDartToNative_Dictionary(mediaConstraints); @@ -34635,25 +25546,14 @@ class RtcPeerConnection extends EventTarget { } @JSName('addStream') - @DomName('RTCPeerConnection.addStream') - @DocsEditable() void _addStream_1(MediaStream stream, mediaConstraints) native; @JSName('addStream') - @DomName('RTCPeerConnection.addStream') - @DocsEditable() void _addStream_2(MediaStream stream) native; - @DomName('RTCPeerConnection.addTrack') - @DocsEditable() - @Experimental() // untriaged RtcRtpSender addTrack(MediaStreamTrack track, MediaStream streams) native; - @DomName('RTCPeerConnection.close') - @DocsEditable() void close() native; - @DomName('RTCPeerConnection.createAnswer') - @DocsEditable() Future _createAnswer( [options_OR_successCallback, RtcPeerConnectionErrorCallback failureCallback, @@ -34686,31 +25586,19 @@ class RtcPeerConnection extends EventTarget { } @JSName('createAnswer') - @DomName('RTCPeerConnection.createAnswer') - @DocsEditable() Future _createAnswer_1() native; @JSName('createAnswer') - @DomName('RTCPeerConnection.createAnswer') - @DocsEditable() Future _createAnswer_2(options) native; @JSName('createAnswer') - @DomName('RTCPeerConnection.createAnswer') - @DocsEditable() Future _createAnswer_3(_RtcSessionDescriptionCallback successCallback, RtcPeerConnectionErrorCallback failureCallback) native; @JSName('createAnswer') - @DomName('RTCPeerConnection.createAnswer') - @DocsEditable() Future _createAnswer_4(_RtcSessionDescriptionCallback successCallback, RtcPeerConnectionErrorCallback failureCallback, mediaConstraints) native; @JSName('createDTMFSender') - @DomName('RTCPeerConnection.createDTMFSender') - @DocsEditable() RtcDtmfSender createDtmfSender(MediaStreamTrack track) native; - @DomName('RTCPeerConnection.createDataChannel') - @DocsEditable() RtcDataChannel createDataChannel(String label, [Map dataChannelDict]) { if (dataChannelDict != null) { var dataChannelDict_1 = convertDartToNative_Dictionary(dataChannelDict); @@ -34720,16 +25608,10 @@ class RtcPeerConnection extends EventTarget { } @JSName('createDataChannel') - @DomName('RTCPeerConnection.createDataChannel') - @DocsEditable() RtcDataChannel _createDataChannel_1(label, dataChannelDict) native; @JSName('createDataChannel') - @DomName('RTCPeerConnection.createDataChannel') - @DocsEditable() RtcDataChannel _createDataChannel_2(label) native; - @DomName('RTCPeerConnection.createOffer') - @DocsEditable() Future _createOffer( [options_OR_successCallback, RtcPeerConnectionErrorCallback failureCallback, @@ -34762,58 +25644,30 @@ class RtcPeerConnection extends EventTarget { } @JSName('createOffer') - @DomName('RTCPeerConnection.createOffer') - @DocsEditable() Future _createOffer_1() native; @JSName('createOffer') - @DomName('RTCPeerConnection.createOffer') - @DocsEditable() Future _createOffer_2(options) native; @JSName('createOffer') - @DomName('RTCPeerConnection.createOffer') - @DocsEditable() Future _createOffer_3(_RtcSessionDescriptionCallback successCallback, RtcPeerConnectionErrorCallback failureCallback) native; @JSName('createOffer') - @DomName('RTCPeerConnection.createOffer') - @DocsEditable() Future _createOffer_4(_RtcSessionDescriptionCallback successCallback, RtcPeerConnectionErrorCallback failureCallback, rtcOfferOptions) native; - @DomName('RTCPeerConnection.getLocalStreams') - @DocsEditable() List getLocalStreams() native; - @DomName('RTCPeerConnection.getReceivers') - @DocsEditable() - @Experimental() // untriaged List getReceivers() native; - @DomName('RTCPeerConnection.getRemoteStreams') - @DocsEditable() List getRemoteStreams() native; - @DomName('RTCPeerConnection.getSenders') - @DocsEditable() - @Experimental() // untriaged List getSenders() native; - @DomName('RTCPeerConnection.getStats') - @DocsEditable() Future getStats() => promiseToFuture(JS("", "#.getStats()", this)); - @DomName('RTCPeerConnection.removeStream') - @DocsEditable() void removeStream(MediaStream stream) native; - @DomName('RTCPeerConnection.removeTrack') - @DocsEditable() - @Experimental() // untriaged void removeTrack(RtcRtpSender sender) native; - @DomName('RTCPeerConnection.setConfiguration') - @DocsEditable() - @Experimental() // untriaged void setConfiguration(Map configuration) { var configuration_1 = convertDartToNative_Dictionary(configuration); _setConfiguration_1(configuration_1); @@ -34821,13 +25675,8 @@ class RtcPeerConnection extends EventTarget { } @JSName('setConfiguration') - @DomName('RTCPeerConnection.setConfiguration') - @DocsEditable() - @Experimental() // untriaged void _setConfiguration_1(configuration) native; - @DomName('RTCPeerConnection.setLocalDescription') - @DocsEditable() Future _setLocalDescription(Map description, VoidCallback successCallback, [RtcPeerConnectionErrorCallback failureCallback]) { var description_1 = convertDartToNative_Dictionary(description); @@ -34836,14 +25685,10 @@ class RtcPeerConnection extends EventTarget { } @JSName('setLocalDescription') - @DomName('RTCPeerConnection.setLocalDescription') - @DocsEditable() Future _setLocalDescription_1(description, VoidCallback successCallback, RtcPeerConnectionErrorCallback failureCallback) native; @JSName('setLocalDescription') - @DomName('RTCPeerConnection.setLocalDescription') - @DocsEditable() Future setLocalDescription(Map description) { var completer = new Completer(); _setLocalDescription(description, () { @@ -34854,8 +25699,6 @@ class RtcPeerConnection extends EventTarget { return completer.future; } - @DomName('RTCPeerConnection.setRemoteDescription') - @DocsEditable() Future _setRemoteDescription(Map description, VoidCallback successCallback, [RtcPeerConnectionErrorCallback failureCallback]) { var description_1 = convertDartToNative_Dictionary(description); @@ -34864,14 +25707,10 @@ class RtcPeerConnection extends EventTarget { } @JSName('setRemoteDescription') - @DomName('RTCPeerConnection.setRemoteDescription') - @DocsEditable() Future _setRemoteDescription_1(description, VoidCallback successCallback, RtcPeerConnectionErrorCallback failureCallback) native; @JSName('setRemoteDescription') - @DomName('RTCPeerConnection.setRemoteDescription') - @DocsEditable() Future setRemoteDescription(Map description) { var completer = new Completer(); _setRemoteDescription(description, () { @@ -34883,43 +25722,29 @@ class RtcPeerConnection extends EventTarget { } /// Stream of `addstream` events handled by this [RtcPeerConnection]. - @DomName('RTCPeerConnection.onaddstream') - @DocsEditable() Stream get onAddStream => addStreamEvent.forTarget(this); /// Stream of `datachannel` events handled by this [RtcPeerConnection]. - @DomName('RTCPeerConnection.ondatachannel') - @DocsEditable() Stream get onDataChannel => dataChannelEvent.forTarget(this); /// Stream of `icecandidate` events handled by this [RtcPeerConnection]. - @DomName('RTCPeerConnection.onicecandidate') - @DocsEditable() Stream get onIceCandidate => iceCandidateEvent.forTarget(this); /// Stream of `iceconnectionstatechange` events handled by this [RtcPeerConnection]. - @DomName('RTCPeerConnection.oniceconnectionstatechange') - @DocsEditable() Stream get onIceConnectionStateChange => iceConnectionStateChangeEvent.forTarget(this); /// Stream of `negotiationneeded` events handled by this [RtcPeerConnection]. - @DomName('RTCPeerConnection.onnegotiationneeded') - @DocsEditable() Stream get onNegotiationNeeded => negotiationNeededEvent.forTarget(this); /// Stream of `removestream` events handled by this [RtcPeerConnection]. - @DomName('RTCPeerConnection.onremovestream') - @DocsEditable() Stream get onRemoveStream => removeStreamEvent.forTarget(this); /// Stream of `signalingstatechange` events handled by this [RtcPeerConnection]. - @DomName('RTCPeerConnection.onsignalingstatechange') - @DocsEditable() Stream get onSignalingStateChange => signalingStateChangeEvent.forTarget(this); } @@ -34927,9 +25752,6 @@ class RtcPeerConnection 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('RTCPeerConnectionIceEvent') -@Experimental() // untriaged @Native("RTCPeerConnectionIceEvent") class RtcPeerConnectionIceEvent extends Event { // To suppress missing implicit constructor warnings. @@ -34937,8 +25759,6 @@ class RtcPeerConnectionIceEvent extends Event { throw new UnsupportedError("Not supported"); } - @DomName('RTCPeerConnectionIceEvent.RTCPeerConnectionIceEvent') - @DocsEditable() factory RtcPeerConnectionIceEvent(String type, [Map eventInitDict]) { if (eventInitDict != null) { var eventInitDict_1 = convertDartToNative_Dictionary(eventInitDict); @@ -34954,18 +25774,12 @@ class RtcPeerConnectionIceEvent extends Event { static RtcPeerConnectionIceEvent _create_2(type) => JS('RtcPeerConnectionIceEvent', 'new RTCPeerConnectionIceEvent(#)', type); - @DomName('RTCPeerConnectionIceEvent.candidate') - @DocsEditable() - @Experimental() // untriaged final RtcIceCandidate 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('RTCRtpContributingSource') -@Experimental() // untriaged @Native("RTCRtpContributingSource") class RtcRtpContributingSource extends Interceptor { // To suppress missing implicit constructor warnings. @@ -34973,23 +25787,14 @@ class RtcRtpContributingSource extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('RTCRtpContributingSource.source') - @DocsEditable() - @Experimental() // untriaged final int source; - @DomName('RTCRtpContributingSource.timestamp') - @DocsEditable() - @Experimental() // untriaged final num 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('RTCRtpReceiver') -@Experimental() // untriaged @Native("RTCRtpReceiver") class RtcRtpReceiver extends Interceptor { // To suppress missing implicit constructor warnings. @@ -34997,23 +25802,14 @@ class RtcRtpReceiver extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('RTCRtpReceiver.track') - @DocsEditable() - @Experimental() // untriaged final MediaStreamTrack track; - @DomName('RTCRtpReceiver.getContributingSources') - @DocsEditable() - @Experimental() // untriaged List getContributingSources() 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('RTCRtpSender') -@Experimental() // untriaged @Native("RTCRtpSender") class RtcRtpSender extends Interceptor { // To suppress missing implicit constructor warnings. @@ -35021,19 +25817,13 @@ class RtcRtpSender extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('RTCRtpSender.track') - @DocsEditable() - @Experimental() // untriaged final MediaStreamTrack track; } // Copyright (c) 2013, 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. -@DomName('RTCSessionDescription') @SupportedBrowser(SupportedBrowser.CHROME) -@Experimental() -// http://dev.w3.org/2011/webrtc/editor/webrtc.html#idl-def-RTCSessionDescription @Native("RTCSessionDescription,mozRTCSessionDescription") class RtcSessionDescription extends Interceptor { factory RtcSessionDescription(Map dictionary) { @@ -35054,22 +25844,14 @@ class RtcSessionDescription extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('RTCSessionDescription.sdp') - @DocsEditable() String sdp; - @DomName('RTCSessionDescription.type') - @DocsEditable() String 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('RTCStatsReport') -// http://dev.w3.org/2011/webrtc/editor/webrtc.html#idl-def-RTCStatsReport -@Experimental() @Native("RTCStatsReport") class RtcStatsReport extends Interceptor with MapMixin { // To suppress missing implicit constructor warnings. @@ -35138,10 +25920,6 @@ class RtcStatsReport extends Interceptor with MapMixin { // 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('RTCStatsResponse') -// http://dev.w3.org/2011/webrtc/editor/webrtc.html#widl-RTCStatsReport-RTCStats-getter-DOMString-id -@Experimental() @Native("RTCStatsResponse") class RtcStatsResponse extends Interceptor { // To suppress missing implicit constructor warnings. @@ -35149,21 +25927,14 @@ class RtcStatsResponse extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('RTCStatsResponse.namedItem') - @DocsEditable() RtcLegacyStatsReport namedItem(String name) native; - @DomName('RTCStatsResponse.result') - @DocsEditable() List result() 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('RTCTrackEvent') -@Experimental() // untriaged @Native("RTCTrackEvent") class RtcTrackEvent extends Event { // To suppress missing implicit constructor warnings. @@ -35171,8 +25942,6 @@ class RtcTrackEvent extends Event { throw new UnsupportedError("Not supported"); } - @DomName('RTCTrackEvent.RTCTrackEvent') - @DocsEditable() factory RtcTrackEvent(String type, Map eventInitDict) { var eventInitDict_1 = convertDartToNative_Dictionary(eventInitDict); return RtcTrackEvent._create_1(type, eventInitDict_1); @@ -35180,33 +25949,18 @@ class RtcTrackEvent extends Event { static RtcTrackEvent _create_1(type, eventInitDict) => JS('RtcTrackEvent', 'new RTCTrackEvent(#,#)', type, eventInitDict); - @DomName('RTCTrackEvent.receiver') - @DocsEditable() - @Experimental() // untriaged final RtcRtpReceiver receiver; - @DomName('RTCTrackEvent.streams') - @DocsEditable() - @Experimental() // untriaged final List streams; - @DomName('RTCTrackEvent.track') - @DocsEditable() - @Experimental() // untriaged final MediaStreamTrack track; } // Copyright (c) 2013, 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('Screen') @Native("Screen") class Screen extends Interceptor { - @DomName('Screen.availHeight') - @DomName('Screen.availLeft') - @DomName('Screen.availTop') - @DomName('Screen.availWidth') Rectangle get available => new Rectangle(_availLeft, _availTop, _availWidth, _availHeight); // To suppress missing implicit constructor warnings. @@ -35215,60 +25969,33 @@ class Screen extends Interceptor { } @JSName('availHeight') - @DomName('Screen.availHeight') - @DocsEditable() final int _availHeight; @JSName('availLeft') - @DomName('Screen.availLeft') - @DocsEditable() - @Experimental() // nonstandard final int _availLeft; @JSName('availTop') - @DomName('Screen.availTop') - @DocsEditable() - @Experimental() // nonstandard final int _availTop; @JSName('availWidth') - @DomName('Screen.availWidth') - @DocsEditable() final int _availWidth; - @DomName('Screen.colorDepth') - @DocsEditable() final int colorDepth; - @DomName('Screen.height') - @DocsEditable() final int height; - @DomName('Screen.keepAwake') - @DocsEditable() - @Experimental() // untriaged bool keepAwake; - @DomName('Screen.orientation') - @DocsEditable() - @Experimental() // untriaged final ScreenOrientation orientation; - @DomName('Screen.pixelDepth') - @DocsEditable() final int pixelDepth; - @DomName('Screen.width') - @DocsEditable() final int 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('ScreenOrientation') -@Experimental() // untriaged @Native("ScreenOrientation") class ScreenOrientation extends EventTarget { // To suppress missing implicit constructor warnings. @@ -35276,44 +26003,24 @@ class ScreenOrientation extends EventTarget { throw new UnsupportedError("Not supported"); } - @DomName('ScreenOrientation.changeEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider changeEvent = const EventStreamProvider('change'); - @DomName('ScreenOrientation.angle') - @DocsEditable() - @Experimental() // untriaged final int angle; - @DomName('ScreenOrientation.type') - @DocsEditable() - @Experimental() // untriaged final String type; - @DomName('ScreenOrientation.lock') - @DocsEditable() - @Experimental() // untriaged Future lock(String orientation) => promiseToFuture(JS("", "#.lock(#)", this, orientation)); - @DomName('ScreenOrientation.unlock') - @DocsEditable() - @Experimental() // untriaged void unlock() native; - @DomName('ScreenOrientation.onchange') - @DocsEditable() - @Experimental() // untriaged Stream get onChange => changeEvent.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('HTMLScriptElement') @Native("HTMLScriptElement") class ScriptElement extends HtmlElement { // To suppress missing implicit constructor warnings. @@ -35321,8 +26028,6 @@ class ScriptElement extends HtmlElement { throw new UnsupportedError("Not supported"); } - @DomName('HTMLScriptElement.HTMLScriptElement') - @DocsEditable() factory ScriptElement() => JS( 'returns:ScriptElement;creates:ScriptElement;new:true', '#.createElement(#)', @@ -35335,49 +26040,26 @@ class ScriptElement extends HtmlElement { */ ScriptElement.created() : super.created(); - @DomName('HTMLScriptElement.async') - @DocsEditable() bool async; - @DomName('HTMLScriptElement.charset') - @DocsEditable() String charset; - @DomName('HTMLScriptElement.crossOrigin') - @DocsEditable() - // http://www.whatwg.org/specs/web-apps/current-work/multipage/scripting-1.html#attr-script-crossorigin - @Experimental() String crossOrigin; - @DomName('HTMLScriptElement.defer') - @DocsEditable() bool defer; - @DomName('HTMLScriptElement.integrity') - @DocsEditable() - @Experimental() // untriaged String integrity; - @DomName('HTMLScriptElement.noModule') - @DocsEditable() - @Experimental() // untriaged bool noModule; - @DomName('HTMLScriptElement.src') - @DocsEditable() String src; - @DomName('HTMLScriptElement.type') - @DocsEditable() String 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('ScrollState') -@Experimental() // untriaged @Native("ScrollState") class ScrollState extends Interceptor { // To suppress missing implicit constructor warnings. @@ -35385,8 +26067,6 @@ class ScrollState extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('ScrollState.ScrollState') - @DocsEditable() factory ScrollState([Map scrollStateInit]) { if (scrollStateInit != null) { var scrollStateInit_1 = convertDartToNative_Dictionary(scrollStateInit); @@ -35398,74 +26078,32 @@ class ScrollState extends Interceptor { JS('ScrollState', 'new ScrollState(#)', scrollStateInit); static ScrollState _create_2() => JS('ScrollState', 'new ScrollState()'); - @DomName('ScrollState.deltaGranularity') - @DocsEditable() - @Experimental() // untriaged final num deltaGranularity; - @DomName('ScrollState.deltaX') - @DocsEditable() - @Experimental() // untriaged final num deltaX; - @DomName('ScrollState.deltaY') - @DocsEditable() - @Experimental() // untriaged final num deltaY; - @DomName('ScrollState.fromUserInput') - @DocsEditable() - @Experimental() // untriaged final bool fromUserInput; - @DomName('ScrollState.inInertialPhase') - @DocsEditable() - @Experimental() // untriaged final bool inInertialPhase; - @DomName('ScrollState.isBeginning') - @DocsEditable() - @Experimental() // untriaged final bool isBeginning; - @DomName('ScrollState.isDirectManipulation') - @DocsEditable() - @Experimental() // untriaged final bool isDirectManipulation; - @DomName('ScrollState.isEnding') - @DocsEditable() - @Experimental() // untriaged final bool isEnding; - @DomName('ScrollState.positionX') - @DocsEditable() - @Experimental() // untriaged final int positionX; - @DomName('ScrollState.positionY') - @DocsEditable() - @Experimental() // untriaged final int positionY; - @DomName('ScrollState.velocityX') - @DocsEditable() - @Experimental() // untriaged final num velocityX; - @DomName('ScrollState.velocityY') - @DocsEditable() - @Experimental() // untriaged final num velocityY; - @DomName('ScrollState.consumeDelta') - @DocsEditable() - @Experimental() // untriaged void consumeDelta(num x, num y) native; - @DomName('ScrollState.distributeToScrollChainDescendant') - @DocsEditable() - @Experimental() // untriaged void distributeToScrollChainDescendant() native; } // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file @@ -35474,16 +26112,11 @@ class ScrollState extends Interceptor { // WARNING: Do not edit - generated code. -@DomName('ScrollStateCallback') -@Experimental() // untriaged typedef void ScrollStateCallback(ScrollState scrollState); // Copyright (c) 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('ScrollTimeline') -@Experimental() // untriaged @Native("ScrollTimeline") class ScrollTimeline extends AnimationTimeline { // To suppress missing implicit constructor warnings. @@ -35491,8 +26124,6 @@ class ScrollTimeline extends AnimationTimeline { throw new UnsupportedError("Not supported"); } - @DomName('ScrollTimeline.ScrollTimeline') - @DocsEditable() factory ScrollTimeline([Map options]) { if (options != null) { var options_1 = convertDartToNative_Dictionary(options); @@ -35505,29 +26136,16 @@ class ScrollTimeline extends AnimationTimeline { static ScrollTimeline _create_2() => JS('ScrollTimeline', 'new ScrollTimeline()'); - @DomName('ScrollTimeline.orientation') - @DocsEditable() - @Experimental() // untriaged final String orientation; - @DomName('ScrollTimeline.scrollSource') - @DocsEditable() - @Experimental() // untriaged final Element scrollSource; - @DomName('ScrollTimeline.timeRange') - @DocsEditable() - @Experimental() // untriaged final Object timeRange; } // Copyright (c) 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('SecurityPolicyViolationEvent') -// https://dvcs.w3.org/hg/content-security-policy/raw-file/tip/csp-specification.dev.html#securitypolicyviolationevent-events -@Experimental() @Native("SecurityPolicyViolationEvent") class SecurityPolicyViolationEvent extends Event { // To suppress missing implicit constructor warnings. @@ -35535,8 +26153,6 @@ class SecurityPolicyViolationEvent extends Event { throw new UnsupportedError("Not supported"); } - @DomName('SecurityPolicyViolationEvent.SecurityPolicyViolationEvent') - @DocsEditable() factory SecurityPolicyViolationEvent(String type, [Map eventInitDict]) { if (eventInitDict != null) { var eventInitDict_1 = convertDartToNative_Dictionary(eventInitDict); @@ -35555,63 +26171,35 @@ class SecurityPolicyViolationEvent extends Event { type); @JSName('blockedURI') - @DomName('SecurityPolicyViolationEvent.blockedURI') - @DocsEditable() final String blockedUri; - @DomName('SecurityPolicyViolationEvent.columnNumber') - @DocsEditable() final int columnNumber; - @DomName('SecurityPolicyViolationEvent.disposition') - @DocsEditable() - @Experimental() // untriaged final String disposition; @JSName('documentURI') - @DomName('SecurityPolicyViolationEvent.documentURI') - @DocsEditable() final String documentUri; - @DomName('SecurityPolicyViolationEvent.effectiveDirective') - @DocsEditable() final String effectiveDirective; - @DomName('SecurityPolicyViolationEvent.lineNumber') - @DocsEditable() final int lineNumber; - @DomName('SecurityPolicyViolationEvent.originalPolicy') - @DocsEditable() final String originalPolicy; - @DomName('SecurityPolicyViolationEvent.referrer') - @DocsEditable() final String referrer; - @DomName('SecurityPolicyViolationEvent.sample') - @DocsEditable() - @Experimental() // untriaged final String sample; - @DomName('SecurityPolicyViolationEvent.sourceFile') - @DocsEditable() final String sourceFile; - @DomName('SecurityPolicyViolationEvent.statusCode') - @DocsEditable() - @Experimental() // untriaged final int statusCode; - @DomName('SecurityPolicyViolationEvent.violatedDirective') - @DocsEditable() final String violatedDirective; } // Copyright (c) 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. -@DomName('HTMLSelectElement') @Native("HTMLSelectElement") class SelectElement extends HtmlElement { // To suppress missing implicit constructor warnings. @@ -35619,8 +26207,6 @@ class SelectElement extends HtmlElement { throw new UnsupportedError("Not supported"); } - @DomName('HTMLSelectElement.HTMLSelectElement') - @DocsEditable() factory SelectElement() => JS( 'returns:SelectElement;creates:SelectElement;new:true', '#.createElement(#)', @@ -35633,97 +26219,51 @@ class SelectElement extends HtmlElement { */ SelectElement.created() : super.created(); - @DomName('HTMLSelectElement.autofocus') - @DocsEditable() bool autofocus; - @DomName('HTMLSelectElement.disabled') - @DocsEditable() bool disabled; - @DomName('HTMLSelectElement.form') - @DocsEditable() final FormElement form; - @DomName('HTMLSelectElement.labels') - @DocsEditable() @Unstable() @Returns('NodeList|Null') @Creates('NodeList') final List labels; - @DomName('HTMLSelectElement.length') - @DocsEditable() int length; - @DomName('HTMLSelectElement.multiple') - @DocsEditable() bool multiple; - @DomName('HTMLSelectElement.name') - @DocsEditable() String name; - @DomName('HTMLSelectElement.required') - @DocsEditable() bool required; - @DomName('HTMLSelectElement.selectedIndex') - @DocsEditable() int selectedIndex; - @DomName('HTMLSelectElement.size') - @DocsEditable() int size; - @DomName('HTMLSelectElement.type') - @DocsEditable() final String type; - @DomName('HTMLSelectElement.validationMessage') - @DocsEditable() final String validationMessage; - @DomName('HTMLSelectElement.validity') - @DocsEditable() final ValidityState validity; - @DomName('HTMLSelectElement.value') - @DocsEditable() String value; - @DomName('HTMLSelectElement.willValidate') - @DocsEditable() final bool willValidate; - @DomName('HTMLSelectElement.__setter__') - @DocsEditable() void __setter__(int index, OptionElement option) native; - @DomName('HTMLSelectElement.add') - @DocsEditable() - @Experimental() // untriaged void add(Object element, Object before) native; - @DomName('HTMLSelectElement.checkValidity') - @DocsEditable() bool checkValidity() native; - @DomName('HTMLSelectElement.item') - @DocsEditable() Element item(int index) native; - @DomName('HTMLSelectElement.namedItem') - @DocsEditable() OptionElement namedItem(String name) native; - @DomName('HTMLSelectElement.reportValidity') - @DocsEditable() - @Experimental() // untriaged bool reportValidity() native; - @DomName('HTMLSelectElement.setCustomValidity') - @DocsEditable() void setCustomValidity(String error) native; // Override default options, since IE returns SelectElement itself and it @@ -35747,8 +26287,6 @@ class SelectElement 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('Selection') @Native("Selection") class Selection extends Interceptor { // To suppress missing implicit constructor warnings. @@ -35756,129 +26294,63 @@ class Selection extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('Selection.anchorNode') - @DocsEditable() final Node anchorNode; - @DomName('Selection.anchorOffset') - @DocsEditable() final int anchorOffset; - @DomName('Selection.baseNode') - @DocsEditable() - @Experimental() // non-standard final Node baseNode; - @DomName('Selection.baseOffset') - @DocsEditable() - @Experimental() // non-standard final int baseOffset; - @DomName('Selection.extentNode') - @DocsEditable() - @Experimental() // non-standard final Node extentNode; - @DomName('Selection.extentOffset') - @DocsEditable() - @Experimental() // non-standard final int extentOffset; - @DomName('Selection.focusNode') - @DocsEditable() final Node focusNode; - @DomName('Selection.focusOffset') - @DocsEditable() final int focusOffset; - @DomName('Selection.isCollapsed') - @DocsEditable() final bool isCollapsed; - @DomName('Selection.rangeCount') - @DocsEditable() final int rangeCount; - @DomName('Selection.type') - @DocsEditable() - @Experimental() // non-standard final String type; - @DomName('Selection.addRange') - @DocsEditable() void addRange(Range range) native; - @DomName('Selection.collapse') - @DocsEditable() void collapse(Node node, [int offset]) native; - @DomName('Selection.collapseToEnd') - @DocsEditable() void collapseToEnd() native; - @DomName('Selection.collapseToStart') - @DocsEditable() void collapseToStart() native; - @DomName('Selection.containsNode') - @DocsEditable() - @Experimental() // non-standard bool containsNode(Node node, [bool allowPartialContainment]) native; - @DomName('Selection.deleteFromDocument') - @DocsEditable() void deleteFromDocument() native; - @DomName('Selection.empty') - @DocsEditable() - @Experimental() // non-standard void empty() native; - @DomName('Selection.extend') - @DocsEditable() void extend(Node node, [int offset]) native; - @DomName('Selection.getRangeAt') - @DocsEditable() Range getRangeAt(int index) native; - @DomName('Selection.modify') - @DocsEditable() - @Experimental() // non-standard void modify(String alter, String direction, String granularity) native; - @DomName('Selection.removeAllRanges') - @DocsEditable() void removeAllRanges() native; - @DomName('Selection.removeRange') - @DocsEditable() - @Experimental() // untriaged void removeRange(Range range) native; - @DomName('Selection.selectAllChildren') - @DocsEditable() void selectAllChildren(Node node) native; - @DomName('Selection.setBaseAndExtent') - @DocsEditable() - @Experimental() // non-standard void setBaseAndExtent( Node baseNode, int baseOffset, Node extentNode, int extentOffset) native; - @DomName('Selection.setPosition') - @DocsEditable() - @Experimental() // non-standard void setPosition(Node node, [int offset]) 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('Sensor') -@Experimental() // untriaged @Native("Sensor") class Sensor extends EventTarget { // To suppress missing implicit constructor warnings. @@ -35886,49 +26358,25 @@ class Sensor extends EventTarget { throw new UnsupportedError("Not supported"); } - @DomName('Sensor.errorEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider errorEvent = const EventStreamProvider('error'); - @DomName('Sensor.activated') - @DocsEditable() - @Experimental() // untriaged final bool activated; - @DomName('Sensor.hasReading') - @DocsEditable() - @Experimental() // untriaged final bool hasReading; - @DomName('Sensor.timestamp') - @DocsEditable() - @Experimental() // untriaged final num timestamp; - @DomName('Sensor.start') - @DocsEditable() - @Experimental() // untriaged void start() native; - @DomName('Sensor.stop') - @DocsEditable() - @Experimental() // untriaged void stop() native; - @DomName('Sensor.onerror') - @DocsEditable() - @Experimental() // untriaged 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('SensorErrorEvent') -@Experimental() // untriaged @Native("SensorErrorEvent") class SensorErrorEvent extends Event { // To suppress missing implicit constructor warnings. @@ -35936,8 +26384,6 @@ class SensorErrorEvent extends Event { throw new UnsupportedError("Not supported"); } - @DomName('SensorErrorEvent.SensorErrorEvent') - @DocsEditable() factory SensorErrorEvent(String type, Map eventInitDict) { var eventInitDict_1 = convertDartToNative_Dictionary(eventInitDict); return SensorErrorEvent._create_1(type, eventInitDict_1); @@ -35945,18 +26391,12 @@ class SensorErrorEvent extends Event { static SensorErrorEvent _create_1(type, eventInitDict) => JS('SensorErrorEvent', 'new SensorErrorEvent(#,#)', type, eventInitDict); - @DomName('SensorErrorEvent.error') - @DocsEditable() - @Experimental() // untriaged final DomException error; } // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('ServiceWorker') -@Experimental() // untriaged @Native("ServiceWorker") class ServiceWorker extends EventTarget implements AbstractWorker { // To suppress missing implicit constructor warnings. @@ -35964,40 +26404,22 @@ class ServiceWorker extends EventTarget implements AbstractWorker { throw new UnsupportedError("Not supported"); } - @DomName('ServiceWorker.errorEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider errorEvent = const EventStreamProvider('error'); @JSName('scriptURL') - @DomName('ServiceWorker.scriptURL') - @DocsEditable() - @Experimental() // untriaged final String scriptUrl; - @DomName('ServiceWorker.state') - @DocsEditable() - @Experimental() // untriaged final String state; - @DomName('ServiceWorker.postMessage') - @DocsEditable() - @Experimental() // untriaged void postMessage(Object message, [List transfer]) native; - @DomName('ServiceWorker.onerror') - @DocsEditable() - @Experimental() // untriaged 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('ServiceWorkerContainer') -@Experimental() // untriaged @Native("ServiceWorkerContainer") class ServiceWorkerContainer extends EventTarget { // To suppress missing implicit constructor warnings. @@ -36005,40 +26427,22 @@ class ServiceWorkerContainer extends EventTarget { throw new UnsupportedError("Not supported"); } - @DomName('ServiceWorkerContainer.messageEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider messageEvent = const EventStreamProvider('message'); - @DomName('ServiceWorkerContainer.controller') - @DocsEditable() - @Experimental() // untriaged final ServiceWorker controller; - @DomName('ServiceWorkerContainer.ready') - @DocsEditable() - @Experimental() // untriaged Future get ready => promiseToFuture(JS("", "#.ready", this)); - @DomName('ServiceWorkerContainer.getRegistration') - @DocsEditable() - @Experimental() // untriaged Future getRegistration([String documentURL]) => promiseToFuture( JS("", "#.getRegistration(#)", this, documentURL)); - @DomName('ServiceWorkerContainer.getRegistrations') - @DocsEditable() - @Experimental() // untriaged Future> getRegistrations() => promiseToFuture>( JS("", "#.getRegistrations()", this)); - @DomName('ServiceWorkerContainer.register') - @DocsEditable() - @Experimental() // untriaged Future register(String url, [Map options]) { if (options != null) { var options_1 = convertDartToNative_Dictionary(options); @@ -36048,28 +26452,16 @@ class ServiceWorkerContainer extends EventTarget { } @JSName('register') - @DomName('ServiceWorkerContainer.register') - @DocsEditable() - @Experimental() // untriaged Future _register_1(url, options) native; @JSName('register') - @DomName('ServiceWorkerContainer.register') - @DocsEditable() - @Experimental() // untriaged Future _register_2(url) native; - @DomName('ServiceWorkerContainer.onmessage') - @DocsEditable() - @Experimental() // untriaged Stream get onMessage => messageEvent.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('ServiceWorkerGlobalScope') -@Experimental() // untriaged @Native("ServiceWorkerGlobalScope") class ServiceWorkerGlobalScope extends WorkerGlobalScope { // To suppress missing implicit constructor warnings. @@ -36077,84 +26469,42 @@ class ServiceWorkerGlobalScope extends WorkerGlobalScope { throw new UnsupportedError("Not supported"); } - @DomName('ServiceWorkerGlobalScope.activateEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider activateEvent = const EventStreamProvider('activate'); - @DomName('ServiceWorkerGlobalScope.fetchEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider fetchEvent = const EventStreamProvider('fetch'); - @DomName('ServiceWorkerGlobalScope.foreignfetchEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider foreignfetchEvent = const EventStreamProvider('foreignfetch'); - @DomName('ServiceWorkerGlobalScope.installEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider installEvent = const EventStreamProvider('install'); - @DomName('ServiceWorkerGlobalScope.messageEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider messageEvent = const EventStreamProvider('message'); - @DomName('ServiceWorkerGlobalScope.clients') - @DocsEditable() - @Experimental() // untriaged final Clients clients; - @DomName('ServiceWorkerGlobalScope.registration') - @DocsEditable() - @Experimental() // untriaged final ServiceWorkerRegistration registration; - @DomName('ServiceWorkerGlobalScope.skipWaiting') - @DocsEditable() - @Experimental() // untriaged Future skipWaiting() => promiseToFuture(JS("", "#.skipWaiting()", this)); - @DomName('ServiceWorkerGlobalScope.onactivate') - @DocsEditable() - @Experimental() // untriaged Stream get onActivate => activateEvent.forTarget(this); - @DomName('ServiceWorkerGlobalScope.onfetch') - @DocsEditable() - @Experimental() // untriaged Stream get onFetch => fetchEvent.forTarget(this); - @DomName('ServiceWorkerGlobalScope.onforeignfetch') - @DocsEditable() - @Experimental() // untriaged Stream get onForeignfetch => foreignfetchEvent.forTarget(this); - @DomName('ServiceWorkerGlobalScope.oninstall') - @DocsEditable() - @Experimental() // untriaged Stream get onInstall => installEvent.forTarget(this); - @DomName('ServiceWorkerGlobalScope.onmessage') - @DocsEditable() - @Experimental() // untriaged Stream get onMessage => messageEvent.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('ServiceWorkerRegistration') -@Experimental() // untriaged @Native("ServiceWorkerRegistration") class ServiceWorkerRegistration extends EventTarget { // To suppress missing implicit constructor warnings. @@ -36162,54 +26512,24 @@ class ServiceWorkerRegistration extends EventTarget { throw new UnsupportedError("Not supported"); } - @DomName('ServiceWorkerRegistration.active') - @DocsEditable() - @Experimental() // untriaged final ServiceWorker active; - @DomName('ServiceWorkerRegistration.backgroundFetch') - @DocsEditable() - @Experimental() // untriaged final BackgroundFetchManager backgroundFetch; - @DomName('ServiceWorkerRegistration.installing') - @DocsEditable() - @Experimental() // untriaged final ServiceWorker installing; - @DomName('ServiceWorkerRegistration.navigationPreload') - @DocsEditable() - @Experimental() // untriaged final NavigationPreloadManager navigationPreload; - @DomName('ServiceWorkerRegistration.paymentManager') - @DocsEditable() - @Experimental() // untriaged final PaymentManager paymentManager; - @DomName('ServiceWorkerRegistration.pushManager') - @DocsEditable() - @Experimental() // untriaged final PushManager pushManager; - @DomName('ServiceWorkerRegistration.scope') - @DocsEditable() - @Experimental() // untriaged final String scope; - @DomName('ServiceWorkerRegistration.sync') - @DocsEditable() - @Experimental() // untriaged final SyncManager sync; - @DomName('ServiceWorkerRegistration.waiting') - @DocsEditable() - @Experimental() // untriaged final ServiceWorker waiting; - @DomName('ServiceWorkerRegistration.getNotifications') - @DocsEditable() - @Experimental() // untriaged Future getNotifications([Map filter]) { if (filter != null) { var filter_1 = convertDartToNative_Dictionary(filter); @@ -36219,19 +26539,10 @@ class ServiceWorkerRegistration extends EventTarget { } @JSName('getNotifications') - @DomName('ServiceWorkerRegistration.getNotifications') - @DocsEditable() - @Experimental() // untriaged Future _getNotifications_1(filter) native; @JSName('getNotifications') - @DomName('ServiceWorkerRegistration.getNotifications') - @DocsEditable() - @Experimental() // untriaged Future _getNotifications_2() native; - @DomName('ServiceWorkerRegistration.showNotification') - @DocsEditable() - @Experimental() // untriaged Future showNotification(String title, [Map options]) { if (options != null) { var options_1 = convertDartToNative_Dictionary(options); @@ -36241,36 +26552,20 @@ class ServiceWorkerRegistration extends EventTarget { } @JSName('showNotification') - @DomName('ServiceWorkerRegistration.showNotification') - @DocsEditable() - @Experimental() // untriaged Future _showNotification_1(title, options) native; @JSName('showNotification') - @DomName('ServiceWorkerRegistration.showNotification') - @DocsEditable() - @Experimental() // untriaged Future _showNotification_2(title) native; - @DomName('ServiceWorkerRegistration.unregister') - @DocsEditable() - @Experimental() // untriaged Future unregister() => promiseToFuture(JS("", "#.unregister()", this)); - @DomName('ServiceWorkerRegistration.update') - @DocsEditable() - @Experimental() // untriaged Future update() => promiseToFuture(JS("", "#.update()", 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('HTMLShadowElement') @SupportedBrowser(SupportedBrowser.CHROME, '26') -@Experimental() -// https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/shadow/index.html#shadow-element @Native("HTMLShadowElement") class ShadowElement extends HtmlElement { // To suppress missing implicit constructor warnings. @@ -36278,8 +26573,6 @@ class ShadowElement extends HtmlElement { throw new UnsupportedError("Not supported"); } - @DomName('HTMLShadowElement.HTMLShadowElement') - @DocsEditable() factory ShadowElement() => document.createElement("shadow"); /** * Constructor instantiated by the DOM when a custom element has been created. @@ -36291,9 +26584,6 @@ class ShadowElement extends HtmlElement { /// Checks if this type is supported on the current platform. static bool get supported => Element.isTagSupported('shadow'); - @DomName('HTMLShadowElement.getDistributedNodes') - @DocsEditable() - @Experimental() // untriaged @Returns('NodeList|Null') @Creates('NodeList') List getDistributedNodes() native; @@ -36304,10 +26594,7 @@ class ShadowElement extends HtmlElement { // WARNING: Do not edit - generated code. -@DomName('ShadowRoot') @SupportedBrowser(SupportedBrowser.CHROME, '26') -@Experimental() -// https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/shadow/index.html#api-shadow-root @Native("ShadowRoot") class ShadowRoot extends DocumentFragment implements DocumentOrShadowRoot { // To suppress missing implicit constructor warnings. @@ -36315,65 +26602,33 @@ class ShadowRoot extends DocumentFragment implements DocumentOrShadowRoot { throw new UnsupportedError("Not supported"); } - @DomName('ShadowRoot.delegatesFocus') - @DocsEditable() - @Experimental() // untriaged final bool delegatesFocus; - @DomName('ShadowRoot.host') - @DocsEditable() - @Experimental() // untriaged final Element host; @JSName('innerHTML') - @DomName('ShadowRoot.innerHTML') - @DocsEditable() String innerHtml; - @DomName('ShadowRoot.mode') - @DocsEditable() - @Experimental() // untriaged final String mode; - @DomName('ShadowRoot.olderShadowRoot') - @DocsEditable() - @Experimental() // untriaged final ShadowRoot olderShadowRoot; // From DocumentOrShadowRoot - @DomName('ShadowRoot.activeElement') - @DocsEditable() final Element activeElement; - @DomName('ShadowRoot.fullscreenElement') - @DocsEditable() - @Experimental() // untriaged final Element fullscreenElement; - @DomName('ShadowRoot.pointerLockElement') - @DocsEditable() - @Experimental() // untriaged final Element pointerLockElement; - @DomName('ShadowRoot.styleSheets') - @DocsEditable() - @Experimental() // untriaged @Returns('_StyleSheetList|Null') @Creates('_StyleSheetList') final List styleSheets; - @DomName('ShadowRoot.elementFromPoint') - @DocsEditable() Element elementFromPoint(int x, int y) native; - @DomName('ShadowRoot.elementsFromPoint') - @DocsEditable() - @Experimental() // untriaged List elementsFromPoint(int x, int y) native; - @DomName('ShadowRoot.getSelection') - @DocsEditable() Selection getSelection() native; static bool get supported => JS( @@ -36420,9 +26675,6 @@ Please remove them from your code. // 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('SharedArrayBuffer') -@Experimental() // untriaged @Native("SharedArrayBuffer") class SharedArrayBuffer extends Interceptor { // To suppress missing implicit constructor warnings. @@ -36430,19 +26682,12 @@ class SharedArrayBuffer extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('SharedArrayBuffer.byteLength') - @DocsEditable() - @Experimental() // untriaged final int byteLength; } // Copyright (c) 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('SharedWorker') -// http://www.whatwg.org/specs/web-apps/current-work/multipage/workers.html#shared-workers-and-the-sharedworker-interface -@Experimental() @Native("SharedWorker") class SharedWorker extends EventTarget implements AbstractWorker { // To suppress missing implicit constructor warnings. @@ -36450,14 +26695,9 @@ class SharedWorker extends EventTarget implements AbstractWorker { throw new UnsupportedError("Not supported"); } - @DomName('SharedWorker.errorEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider errorEvent = const EventStreamProvider('error'); - @DomName('SharedWorker.SharedWorker') - @DocsEditable() factory SharedWorker(String scriptURL, [String name]) { if (name != null) { return SharedWorker._create_1(scriptURL, name); @@ -36469,22 +26709,14 @@ class SharedWorker extends EventTarget implements AbstractWorker { static SharedWorker _create_2(scriptURL) => JS('SharedWorker', 'new SharedWorker(#)', scriptURL); - @DomName('SharedWorker.port') - @DocsEditable() final MessagePort port; - @DomName('SharedWorker.onerror') - @DocsEditable() - @Experimental() // untriaged 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('SharedWorkerGlobalScope') -@Experimental() // untriaged @Native("SharedWorkerGlobalScope") class SharedWorkerGlobalScope extends WorkerGlobalScope { // To suppress missing implicit constructor warnings. @@ -36498,85 +26730,48 @@ class SharedWorkerGlobalScope extends WorkerGlobalScope { * * See [EventStreamProvider] for usage information. */ - @DomName('SharedWorkerGlobalScope.connectEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider connectEvent = const EventStreamProvider('connect'); - @DomName('SharedWorkerGlobalScope.PERSISTENT') - @DocsEditable() - @Experimental() // untriaged static const int PERSISTENT = 1; - @DomName('SharedWorkerGlobalScope.TEMPORARY') - @DocsEditable() - @Experimental() // untriaged static const int TEMPORARY = 0; - @DomName('SharedWorkerGlobalScope.name') - @DocsEditable() - @Experimental() // untriaged final String name; - @DomName('SharedWorkerGlobalScope.close') - @DocsEditable() - @Experimental() // untriaged void close() native; @JSName('webkitRequestFileSystem') - @DomName('SharedWorkerGlobalScope.webkitRequestFileSystem') - @DocsEditable() @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.SAFARI) - @Experimental() - @Experimental() // untriaged void _webkitRequestFileSystem(int type, int size, [_FileSystemCallback successCallback, _ErrorCallback errorCallback]) native; @JSName('webkitRequestFileSystemSync') - @DomName('SharedWorkerGlobalScope.webkitRequestFileSystemSync') - @DocsEditable() @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.SAFARI) - @Experimental() - @Experimental() // untriaged _DOMFileSystemSync requestFileSystemSync(int type, int size) native; @JSName('webkitResolveLocalFileSystemSyncURL') - @DomName('SharedWorkerGlobalScope.webkitResolveLocalFileSystemSyncURL') - @DocsEditable() @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.SAFARI) - @Experimental() - @Experimental() // untriaged _EntrySync resolveLocalFileSystemSyncUrl(String url) native; @JSName('webkitResolveLocalFileSystemURL') - @DomName('SharedWorkerGlobalScope.webkitResolveLocalFileSystemURL') - @DocsEditable() @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.SAFARI) - @Experimental() - @Experimental() // untriaged void _webkitResolveLocalFileSystemUrl( String url, _EntryCallback successCallback, [_ErrorCallback errorCallback]) native; /// Stream of `connect` events handled by this [SharedWorkerGlobalScope]. - @DomName('SharedWorkerGlobalScope.onconnect') - @DocsEditable() - @Experimental() // untriaged Stream get onConnect => connectEvent.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('HTMLSlotElement') -@Experimental() // untriaged @Native("HTMLSlotElement") class SlotElement extends HtmlElement { // To suppress missing implicit constructor warnings. @@ -36590,14 +26785,8 @@ class SlotElement extends HtmlElement { */ SlotElement.created() : super.created(); - @DomName('HTMLSlotElement.name') - @DocsEditable() - @Experimental() // untriaged String name; - @DomName('HTMLSlotElement.assignedNodes') - @DocsEditable() - @Experimental() // untriaged List assignedNodes([Map options]) { if (options != null) { var options_1 = convertDartToNative_Dictionary(options); @@ -36607,24 +26796,14 @@ class SlotElement extends HtmlElement { } @JSName('assignedNodes') - @DomName('HTMLSlotElement.assignedNodes') - @DocsEditable() - @Experimental() // untriaged List _assignedNodes_1(options) native; @JSName('assignedNodes') - @DomName('HTMLSlotElement.assignedNodes') - @DocsEditable() - @Experimental() // untriaged List _assignedNodes_2() 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('SourceBuffer') -// https://dvcs.w3.org/hg/html-media/raw-file/tip/media-source/media-source.html#sourcebuffer -@Experimental() @Native("SourceBuffer") class SourceBuffer extends EventTarget { // To suppress missing implicit constructor warnings. @@ -36632,99 +26811,47 @@ class SourceBuffer extends EventTarget { throw new UnsupportedError("Not supported"); } - @DomName('SourceBuffer.abortEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider abortEvent = const EventStreamProvider('abort'); - @DomName('SourceBuffer.errorEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider errorEvent = const EventStreamProvider('error'); - @DomName('SourceBuffer.appendWindowEnd') - @DocsEditable() - @Experimental() // untriaged num appendWindowEnd; - @DomName('SourceBuffer.appendWindowStart') - @DocsEditable() - @Experimental() // untriaged num appendWindowStart; - @DomName('SourceBuffer.audioTracks') - @DocsEditable() - @Experimental() // untriaged final AudioTrackList audioTracks; - @DomName('SourceBuffer.buffered') - @DocsEditable() final TimeRanges buffered; - @DomName('SourceBuffer.mode') - @DocsEditable() - @Experimental() // untriaged String mode; - @DomName('SourceBuffer.timestampOffset') - @DocsEditable() num timestampOffset; - @DomName('SourceBuffer.trackDefaults') - @DocsEditable() - @Experimental() // untriaged TrackDefaultList trackDefaults; - @DomName('SourceBuffer.updating') - @DocsEditable() - @Experimental() // untriaged final bool updating; - @DomName('SourceBuffer.videoTracks') - @DocsEditable() - @Experimental() // untriaged final VideoTrackList videoTracks; - @DomName('SourceBuffer.abort') - @DocsEditable() void abort() native; - @DomName('SourceBuffer.appendBuffer') - @DocsEditable() - @Experimental() // untriaged void appendBuffer(ByteBuffer data) native; @JSName('appendBuffer') - @DomName('SourceBuffer.appendBuffer') - @DocsEditable() - @Experimental() // untriaged void appendTypedData(TypedData data) native; - @DomName('SourceBuffer.remove') - @DocsEditable() - @Experimental() // untriaged void remove(num start, num end) native; - @DomName('SourceBuffer.onabort') - @DocsEditable() - @Experimental() // untriaged Stream get onAbort => abortEvent.forTarget(this); - @DomName('SourceBuffer.onerror') - @DocsEditable() - @Experimental() // untriaged 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('SourceBufferList') -// https://dvcs.w3.org/hg/html-media/raw-file/tip/media-source/media-source.html#sourcebufferlist -@Experimental() @Native("SourceBufferList") class SourceBufferList extends EventTarget with ListMixin, ImmutableListMixin @@ -36734,8 +26861,6 @@ class SourceBufferList extends EventTarget throw new UnsupportedError("Not supported"); } - @DomName('SourceBufferList.length') - @DocsEditable() int get length => JS("int", "#.length", this); SourceBuffer operator [](int index) { @@ -36781,16 +26906,12 @@ class SourceBufferList extends EventTarget SourceBuffer elementAt(int index) => this[index]; // -- end List mixins. - @DomName('SourceBufferList.item') - @DocsEditable() SourceBuffer item(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('HTMLSourceElement') @Native("HTMLSourceElement") class SourceElement extends HtmlElement { // To suppress missing implicit constructor warnings. @@ -36798,8 +26919,6 @@ class SourceElement extends HtmlElement { throw new UnsupportedError("Not supported"); } - @DomName('HTMLSourceElement.HTMLSourceElement') - @DocsEditable() factory SourceElement() => JS( 'returns:SourceElement;creates:SourceElement;new:true', '#.createElement(#)', @@ -36812,34 +26931,20 @@ class SourceElement extends HtmlElement { */ SourceElement.created() : super.created(); - @DomName('HTMLSourceElement.media') - @DocsEditable() String media; - @DomName('HTMLSourceElement.sizes') - @DocsEditable() - @Experimental() // untriaged String sizes; - @DomName('HTMLSourceElement.src') - @DocsEditable() String src; - @DomName('HTMLSourceElement.srcset') - @DocsEditable() - @Experimental() // untriaged String srcset; - @DomName('HTMLSourceElement.type') - @DocsEditable() String 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('HTMLSpanElement') @Native("HTMLSpanElement") class SpanElement extends HtmlElement { // To suppress missing implicit constructor warnings. @@ -36847,8 +26952,6 @@ class SpanElement extends HtmlElement { throw new UnsupportedError("Not supported"); } - @DomName('HTMLSpanElement.HTMLSpanElement') - @DocsEditable() factory SpanElement() => JS( 'returns:SpanElement;creates:SpanElement;new:true', '#.createElement(#)', @@ -36865,10 +26968,6 @@ class SpanElement 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('SpeechGrammar') -// https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#dfn-speechgrammar -@Experimental() @Native("SpeechGrammar") class SpeechGrammar extends Interceptor { // To suppress missing implicit constructor warnings. @@ -36876,30 +26975,20 @@ class SpeechGrammar extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('SpeechGrammar.SpeechGrammar') - @DocsEditable() factory SpeechGrammar() { return SpeechGrammar._create_1(); } static SpeechGrammar _create_1() => JS('SpeechGrammar', 'new SpeechGrammar()'); - @DomName('SpeechGrammar.src') - @DocsEditable() String src; - @DomName('SpeechGrammar.weight') - @DocsEditable() num weight; } // Copyright (c) 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('SpeechGrammarList') -// https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#dfn-speechgrammarlist -@Experimental() @Native("SpeechGrammarList") class SpeechGrammarList extends Interceptor with ListMixin, ImmutableListMixin @@ -36909,16 +26998,12 @@ class SpeechGrammarList extends Interceptor throw new UnsupportedError("Not supported"); } - @DomName('SpeechGrammarList.SpeechGrammarList') - @DocsEditable() factory SpeechGrammarList() { return SpeechGrammarList._create_1(); } static SpeechGrammarList _create_1() => JS('SpeechGrammarList', 'new SpeechGrammarList()'); - @DomName('SpeechGrammarList.length') - @DocsEditable() int get length => JS("int", "#.length", this); SpeechGrammar operator [](int index) { @@ -36964,26 +27049,17 @@ class SpeechGrammarList extends Interceptor SpeechGrammar elementAt(int index) => this[index]; // -- end List mixins. - @DomName('SpeechGrammarList.addFromString') - @DocsEditable() void addFromString(String string, [num weight]) native; - @DomName('SpeechGrammarList.addFromUri') - @DocsEditable() void addFromUri(String src, [num weight]) native; - @DomName('SpeechGrammarList.item') - @DocsEditable() SpeechGrammar item(int index) native; } // Copyright (c) 2013, 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. -@DomName('SpeechRecognition') @SupportedBrowser(SupportedBrowser.CHROME, '25') -@Experimental() -// https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#speechreco-section @Native("SpeechRecognition") class SpeechRecognition extends EventTarget { // To suppress missing implicit constructor warnings. @@ -36997,8 +27073,6 @@ class SpeechRecognition extends EventTarget { * * See [EventStreamProvider] for usage information. */ - @DomName('SpeechRecognition.audioendEvent') - @DocsEditable() static const EventStreamProvider audioEndEvent = const EventStreamProvider('audioend'); @@ -37008,8 +27082,6 @@ class SpeechRecognition extends EventTarget { * * See [EventStreamProvider] for usage information. */ - @DomName('SpeechRecognition.audiostartEvent') - @DocsEditable() static const EventStreamProvider audioStartEvent = const EventStreamProvider('audiostart'); @@ -37019,8 +27091,6 @@ class SpeechRecognition extends EventTarget { * * See [EventStreamProvider] for usage information. */ - @DomName('SpeechRecognition.endEvent') - @DocsEditable() static const EventStreamProvider endEvent = const EventStreamProvider('end'); @@ -37030,8 +27100,6 @@ class SpeechRecognition extends EventTarget { * * See [EventStreamProvider] for usage information. */ - @DomName('SpeechRecognition.errorEvent') - @DocsEditable() static const EventStreamProvider errorEvent = const EventStreamProvider('error'); @@ -37041,8 +27109,6 @@ class SpeechRecognition extends EventTarget { * * See [EventStreamProvider] for usage information. */ - @DomName('SpeechRecognition.nomatchEvent') - @DocsEditable() static const EventStreamProvider noMatchEvent = const EventStreamProvider('nomatch'); @@ -37052,8 +27118,6 @@ class SpeechRecognition extends EventTarget { * * See [EventStreamProvider] for usage information. */ - @DomName('SpeechRecognition.resultEvent') - @DocsEditable() static const EventStreamProvider resultEvent = const EventStreamProvider('result'); @@ -37063,8 +27127,6 @@ class SpeechRecognition extends EventTarget { * * See [EventStreamProvider] for usage information. */ - @DomName('SpeechRecognition.soundendEvent') - @DocsEditable() static const EventStreamProvider soundEndEvent = const EventStreamProvider('soundend'); @@ -37074,8 +27136,6 @@ class SpeechRecognition extends EventTarget { * * See [EventStreamProvider] for usage information. */ - @DomName('SpeechRecognition.soundstartEvent') - @DocsEditable() static const EventStreamProvider soundStartEvent = const EventStreamProvider('soundstart'); @@ -37085,8 +27145,6 @@ class SpeechRecognition extends EventTarget { * * See [EventStreamProvider] for usage information. */ - @DomName('SpeechRecognition.speechendEvent') - @DocsEditable() static const EventStreamProvider speechEndEvent = const EventStreamProvider('speechend'); @@ -37096,8 +27154,6 @@ class SpeechRecognition extends EventTarget { * * See [EventStreamProvider] for usage information. */ - @DomName('SpeechRecognition.speechstartEvent') - @DocsEditable() static const EventStreamProvider speechStartEvent = const EventStreamProvider('speechstart'); @@ -37107,8 +27163,6 @@ class SpeechRecognition extends EventTarget { * * See [EventStreamProvider] for usage information. */ - @DomName('SpeechRecognition.startEvent') - @DocsEditable() static const EventStreamProvider startEvent = const EventStreamProvider('start'); @@ -37116,96 +27170,55 @@ class SpeechRecognition extends EventTarget { static bool get supported => JS( 'bool', '!!(window.SpeechRecognition || window.webkitSpeechRecognition)'); - @DomName('SpeechRecognition.audioTrack') - @DocsEditable() - @Experimental() // untriaged MediaStreamTrack audioTrack; - @DomName('SpeechRecognition.continuous') - @DocsEditable() bool continuous; - @DomName('SpeechRecognition.grammars') - @DocsEditable() SpeechGrammarList grammars; - @DomName('SpeechRecognition.interimResults') - @DocsEditable() bool interimResults; - @DomName('SpeechRecognition.lang') - @DocsEditable() String lang; - @DomName('SpeechRecognition.maxAlternatives') - @DocsEditable() int maxAlternatives; - @DomName('SpeechRecognition.abort') - @DocsEditable() void abort() native; - @DomName('SpeechRecognition.start') - @DocsEditable() void start() native; - @DomName('SpeechRecognition.stop') - @DocsEditable() void stop() native; /// Stream of `audioend` events handled by this [SpeechRecognition]. - @DomName('SpeechRecognition.onaudioend') - @DocsEditable() Stream get onAudioEnd => audioEndEvent.forTarget(this); /// Stream of `audiostart` events handled by this [SpeechRecognition]. - @DomName('SpeechRecognition.onaudiostart') - @DocsEditable() Stream get onAudioStart => audioStartEvent.forTarget(this); /// Stream of `end` events handled by this [SpeechRecognition]. - @DomName('SpeechRecognition.onend') - @DocsEditable() Stream get onEnd => endEvent.forTarget(this); /// Stream of `error` events handled by this [SpeechRecognition]. - @DomName('SpeechRecognition.onerror') - @DocsEditable() Stream get onError => errorEvent.forTarget(this); /// Stream of `nomatch` events handled by this [SpeechRecognition]. - @DomName('SpeechRecognition.onnomatch') - @DocsEditable() Stream get onNoMatch => noMatchEvent.forTarget(this); /// Stream of `result` events handled by this [SpeechRecognition]. - @DomName('SpeechRecognition.onresult') - @DocsEditable() Stream get onResult => resultEvent.forTarget(this); /// Stream of `soundend` events handled by this [SpeechRecognition]. - @DomName('SpeechRecognition.onsoundend') - @DocsEditable() Stream get onSoundEnd => soundEndEvent.forTarget(this); /// Stream of `soundstart` events handled by this [SpeechRecognition]. - @DomName('SpeechRecognition.onsoundstart') - @DocsEditable() Stream get onSoundStart => soundStartEvent.forTarget(this); /// Stream of `speechend` events handled by this [SpeechRecognition]. - @DomName('SpeechRecognition.onspeechend') - @DocsEditable() Stream get onSpeechEnd => speechEndEvent.forTarget(this); /// Stream of `speechstart` events handled by this [SpeechRecognition]. - @DomName('SpeechRecognition.onspeechstart') - @DocsEditable() Stream get onSpeechStart => speechStartEvent.forTarget(this); /// Stream of `start` events handled by this [SpeechRecognition]. - @DomName('SpeechRecognition.onstart') - @DocsEditable() Stream get onStart => startEvent.forTarget(this); factory SpeechRecognition() { @@ -37217,11 +27230,7 @@ class SpeechRecognition 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('SpeechRecognitionAlternative') @SupportedBrowser(SupportedBrowser.CHROME, '25') -@Experimental() -// https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#speechrecognitionalternative @Native("SpeechRecognitionAlternative") class SpeechRecognitionAlternative extends Interceptor { // To suppress missing implicit constructor warnings. @@ -37229,23 +27238,15 @@ class SpeechRecognitionAlternative extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('SpeechRecognitionAlternative.confidence') - @DocsEditable() final num confidence; - @DomName('SpeechRecognitionAlternative.transcript') - @DocsEditable() final String 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('SpeechRecognitionError') @SupportedBrowser(SupportedBrowser.CHROME, '25') -@Experimental() -// https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#speechreco-error @Native("SpeechRecognitionError") class SpeechRecognitionError extends Event { // To suppress missing implicit constructor warnings. @@ -37253,8 +27254,6 @@ class SpeechRecognitionError extends Event { throw new UnsupportedError("Not supported"); } - @DomName('SpeechRecognitionError.SpeechRecognitionError') - @DocsEditable() factory SpeechRecognitionError(String type, [Map initDict]) { if (initDict != null) { var initDict_1 = convertDartToNative_Dictionary(initDict); @@ -37270,23 +27269,15 @@ class SpeechRecognitionError extends Event { static SpeechRecognitionError _create_2(type) => JS('SpeechRecognitionError', 'new SpeechRecognitionError(#)', type); - @DomName('SpeechRecognitionError.error') - @DocsEditable() final String error; - @DomName('SpeechRecognitionError.message') - @DocsEditable() final String 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('SpeechRecognitionEvent') @SupportedBrowser(SupportedBrowser.CHROME, '25') -@Experimental() -// https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#speechreco-event @Native("SpeechRecognitionEvent") class SpeechRecognitionEvent extends Event { // To suppress missing implicit constructor warnings. @@ -37294,8 +27285,6 @@ class SpeechRecognitionEvent extends Event { throw new UnsupportedError("Not supported"); } - @DomName('SpeechRecognitionEvent.SpeechRecognitionEvent') - @DocsEditable() factory SpeechRecognitionEvent(String type, [Map initDict]) { if (initDict != null) { var initDict_1 = convertDartToNative_Dictionary(initDict); @@ -37311,20 +27300,12 @@ class SpeechRecognitionEvent extends Event { static SpeechRecognitionEvent _create_2(type) => JS('SpeechRecognitionEvent', 'new SpeechRecognitionEvent(#)', type); - @DomName('SpeechRecognitionEvent.emma') - @DocsEditable() final Document emma; - @DomName('SpeechRecognitionEvent.interpretation') - @DocsEditable() final Document interpretation; - @DomName('SpeechRecognitionEvent.resultIndex') - @DocsEditable() final int resultIndex; - @DomName('SpeechRecognitionEvent.results') - @DocsEditable() @Returns('_SpeechRecognitionResultList|Null') @Creates('_SpeechRecognitionResultList') final List results; @@ -37333,11 +27314,7 @@ class SpeechRecognitionEvent extends Event { // 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('SpeechRecognitionResult') @SupportedBrowser(SupportedBrowser.CHROME, '25') -@Experimental() -// https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#speechrecognitionresult @Native("SpeechRecognitionResult") class SpeechRecognitionResult extends Interceptor { // To suppress missing implicit constructor warnings. @@ -37345,25 +27322,16 @@ class SpeechRecognitionResult extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('SpeechRecognitionResult.isFinal') - @DocsEditable() final bool isFinal; - @DomName('SpeechRecognitionResult.length') - @DocsEditable() final int length; - @DomName('SpeechRecognitionResult.item') - @DocsEditable() SpeechRecognitionAlternative item(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. -@DomName('SpeechSynthesis') -// https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#tts-section -@Experimental() @Native("SpeechSynthesis") class SpeechSynthesis extends EventTarget { @DomName('SpeechSynthesis.getVoices') @@ -37379,47 +27347,27 @@ class SpeechSynthesis extends EventTarget { throw new UnsupportedError("Not supported"); } - @DomName('SpeechSynthesis.paused') - @DocsEditable() final bool paused; - @DomName('SpeechSynthesis.pending') - @DocsEditable() final bool pending; - @DomName('SpeechSynthesis.speaking') - @DocsEditable() final bool speaking; - @DomName('SpeechSynthesis.cancel') - @DocsEditable() void cancel() native; @JSName('getVoices') - @DomName('SpeechSynthesis.getVoices') - @DocsEditable() List _getVoices() native; - @DomName('SpeechSynthesis.pause') - @DocsEditable() void pause() native; - @DomName('SpeechSynthesis.resume') - @DocsEditable() void resume() native; - @DomName('SpeechSynthesis.speak') - @DocsEditable() void speak(SpeechSynthesisUtterance utterance) 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('SpeechSynthesisEvent') -// https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#tts-section -@Experimental() @Native("SpeechSynthesisEvent") class SpeechSynthesisEvent extends Event { // To suppress missing implicit constructor warnings. @@ -37427,31 +27375,18 @@ class SpeechSynthesisEvent extends Event { throw new UnsupportedError("Not supported"); } - @DomName('SpeechSynthesisEvent.charIndex') - @DocsEditable() final int charIndex; - @DomName('SpeechSynthesisEvent.elapsedTime') - @DocsEditable() final num elapsedTime; - @DomName('SpeechSynthesisEvent.name') - @DocsEditable() final String name; - @DomName('SpeechSynthesisEvent.utterance') - @DocsEditable() - @Experimental() // untriaged final SpeechSynthesisUtterance 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('SpeechSynthesisUtterance') -// https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#tts-section -@Experimental() @Native("SpeechSynthesisUtterance") class SpeechSynthesisUtterance extends EventTarget { // To suppress missing implicit constructor warnings. @@ -37465,8 +27400,6 @@ class SpeechSynthesisUtterance extends EventTarget { * * See [EventStreamProvider] for usage information. */ - @DomName('SpeechSynthesisUtterance.boundaryEvent') - @DocsEditable() static const EventStreamProvider boundaryEvent = const EventStreamProvider('boundary'); @@ -37476,8 +27409,6 @@ class SpeechSynthesisUtterance extends EventTarget { * * See [EventStreamProvider] for usage information. */ - @DomName('SpeechSynthesisUtterance.endEvent') - @DocsEditable() static const EventStreamProvider endEvent = const EventStreamProvider('end'); @@ -37487,8 +27418,6 @@ class SpeechSynthesisUtterance extends EventTarget { * * See [EventStreamProvider] for usage information. */ - @DomName('SpeechSynthesisUtterance.errorEvent') - @DocsEditable() static const EventStreamProvider errorEvent = const EventStreamProvider('error'); @@ -37498,8 +27427,6 @@ class SpeechSynthesisUtterance extends EventTarget { * * See [EventStreamProvider] for usage information. */ - @DomName('SpeechSynthesisUtterance.markEvent') - @DocsEditable() static const EventStreamProvider markEvent = const EventStreamProvider('mark'); @@ -37509,8 +27436,6 @@ class SpeechSynthesisUtterance extends EventTarget { * * See [EventStreamProvider] for usage information. */ - @DomName('SpeechSynthesisUtterance.pauseEvent') - @DocsEditable() static const EventStreamProvider pauseEvent = const EventStreamProvider('pause'); @@ -37520,8 +27445,6 @@ class SpeechSynthesisUtterance extends EventTarget { * * See [EventStreamProvider] for usage information. */ - @DomName('SpeechSynthesisUtterance.resumeEvent') - @DocsEditable() static const EventStreamProvider resumeEvent = const EventStreamProvider('resume'); @@ -37531,13 +27454,9 @@ class SpeechSynthesisUtterance extends EventTarget { * * See [EventStreamProvider] for usage information. */ - @DomName('SpeechSynthesisUtterance.startEvent') - @DocsEditable() static const EventStreamProvider startEvent = const EventStreamProvider('start'); - @DomName('SpeechSynthesisUtterance.SpeechSynthesisUtterance') - @DocsEditable() factory SpeechSynthesisUtterance([String text]) { if (text != null) { return SpeechSynthesisUtterance._create_1(text); @@ -37549,73 +27468,43 @@ class SpeechSynthesisUtterance extends EventTarget { static SpeechSynthesisUtterance _create_2() => JS('SpeechSynthesisUtterance', 'new SpeechSynthesisUtterance()'); - @DomName('SpeechSynthesisUtterance.lang') - @DocsEditable() String lang; - @DomName('SpeechSynthesisUtterance.pitch') - @DocsEditable() num pitch; - @DomName('SpeechSynthesisUtterance.rate') - @DocsEditable() num rate; - @DomName('SpeechSynthesisUtterance.text') - @DocsEditable() String text; - @DomName('SpeechSynthesisUtterance.voice') - @DocsEditable() SpeechSynthesisVoice voice; - @DomName('SpeechSynthesisUtterance.volume') - @DocsEditable() num volume; /// Stream of `boundary` events handled by this [SpeechSynthesisUtterance]. - @DomName('SpeechSynthesisUtterance.onboundary') - @DocsEditable() Stream get onBoundary => boundaryEvent.forTarget(this); /// Stream of `end` events handled by this [SpeechSynthesisUtterance]. - @DomName('SpeechSynthesisUtterance.onend') - @DocsEditable() Stream get onEnd => endEvent.forTarget(this); /// Stream of `error` events handled by this [SpeechSynthesisUtterance]. - @DomName('SpeechSynthesisUtterance.onerror') - @DocsEditable() Stream get onError => errorEvent.forTarget(this); /// Stream of `mark` events handled by this [SpeechSynthesisUtterance]. - @DomName('SpeechSynthesisUtterance.onmark') - @DocsEditable() Stream get onMark => markEvent.forTarget(this); /// Stream of `pause` events handled by this [SpeechSynthesisUtterance]. - @DomName('SpeechSynthesisUtterance.onpause') - @DocsEditable() Stream get onPause => pauseEvent.forTarget(this); /// Stream of `resume` events handled by this [SpeechSynthesisUtterance]. - @DomName('SpeechSynthesisUtterance.onresume') - @DocsEditable() Stream get onResume => resumeEvent.forTarget(this); /// Stream of `start` events handled by this [SpeechSynthesisUtterance]. - @DomName('SpeechSynthesisUtterance.onstart') - @DocsEditable() Stream get onStart => startEvent.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('SpeechSynthesisVoice') -// https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#tts-section -@Experimental() @Native("SpeechSynthesisVoice") class SpeechSynthesisVoice extends Interceptor { // To suppress missing implicit constructor warnings. @@ -37624,34 +27513,21 @@ class SpeechSynthesisVoice extends Interceptor { } @JSName('default') - @DomName('SpeechSynthesisVoice.default') - @DocsEditable() final bool defaultValue; - @DomName('SpeechSynthesisVoice.lang') - @DocsEditable() final String lang; - @DomName('SpeechSynthesisVoice.localService') - @DocsEditable() final bool localService; - @DomName('SpeechSynthesisVoice.name') - @DocsEditable() final String name; @JSName('voiceURI') - @DomName('SpeechSynthesisVoice.voiceURI') - @DocsEditable() final String voiceUri; } // Copyright (c) 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('StaticRange') -@Experimental() // untriaged @Native("StaticRange") class StaticRange extends Interceptor { // To suppress missing implicit constructor warnings. @@ -37659,29 +27535,14 @@ class StaticRange extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('StaticRange.collapsed') - @DocsEditable() - @Experimental() // untriaged final bool collapsed; - @DomName('StaticRange.endContainer') - @DocsEditable() - @Experimental() // untriaged final Node endContainer; - @DomName('StaticRange.endOffset') - @DocsEditable() - @Experimental() // untriaged final int endOffset; - @DomName('StaticRange.startContainer') - @DocsEditable() - @Experimental() // untriaged final Node startContainer; - @DomName('StaticRange.startOffset') - @DocsEditable() - @Experimental() // untriaged final int startOffset; } // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file @@ -37713,7 +27574,6 @@ class StaticRange extends Interceptor { * [Maps](https://www.dartlang.org/guides/libraries/library-tour#maps) * section of the library tour. */ -@DomName('Storage') @Unstable() @Native("Storage") class Storage extends Interceptor with MapMixin { @@ -37779,33 +27639,21 @@ class Storage extends Interceptor with MapMixin { } @JSName('length') - @DomName('Storage.length') - @DocsEditable() final int _length; @JSName('clear') - @DomName('Storage.clear') - @DocsEditable() void _clear() native; @JSName('getItem') - @DomName('Storage.getItem') - @DocsEditable() String _getItem(String key) native; @JSName('key') - @DomName('Storage.key') - @DocsEditable() String _key(int index) native; @JSName('removeItem') - @DomName('Storage.removeItem') - @DocsEditable() void _removeItem(String key) native; @JSName('setItem') - @DomName('Storage.setItem') - @DocsEditable() void _setItem(String key, String value) native; } // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file @@ -37814,9 +27662,6 @@ class Storage extends Interceptor with MapMixin { // WARNING: Do not edit - generated code. -@DomName('StorageErrorCallback') -// http://www.w3.org/TR/quota-api/#storageerrorcallback-callback -@Experimental() typedef void StorageErrorCallback(DomError error); // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a @@ -37824,7 +27669,6 @@ typedef void StorageErrorCallback(DomError error); // WARNING: Do not edit - generated code. -@DomName('StorageEvent') @Unstable() @Native("StorageEvent") class StorageEvent extends Event { @@ -37842,8 +27686,6 @@ class StorageEvent extends Event { return e; } - @DomName('StorageEvent.StorageEvent') - @DocsEditable() factory StorageEvent._(String type, [Map eventInitDict]) { if (eventInitDict != null) { var eventInitDict_1 = convertDartToNative_Dictionary(eventInitDict); @@ -37856,29 +27698,17 @@ class StorageEvent extends Event { static StorageEvent _create_2(type) => JS('StorageEvent', 'new StorageEvent(#)', type); - @DomName('StorageEvent.key') - @DocsEditable() final String key; - @DomName('StorageEvent.newValue') - @DocsEditable() final String newValue; - @DomName('StorageEvent.oldValue') - @DocsEditable() final String oldValue; - @DomName('StorageEvent.storageArea') - @DocsEditable() final Storage storageArea; - @DomName('StorageEvent.url') - @DocsEditable() final String url; @JSName('initStorageEvent') - @DomName('StorageEvent.initStorageEvent') - @DocsEditable() void _initStorageEvent( String typeArg, bool canBubbleArg, @@ -37893,9 +27723,6 @@ class StorageEvent extends Event { // 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('StorageManager') -@Experimental() // untriaged @Native("StorageManager") class StorageManager extends Interceptor { // To suppress missing implicit constructor warnings. @@ -37903,20 +27730,11 @@ class StorageManager extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('StorageManager.estimate') - @DocsEditable() - @Experimental() // untriaged Future> estimate() => promiseToFutureAsMap(JS("", "#.estimate()", this)); - @DomName('StorageManager.persist') - @DocsEditable() - @Experimental() // untriaged Future persist() => promiseToFuture(JS("", "#.persist()", this)); - @DomName('StorageManager.persisted') - @DocsEditable() - @Experimental() // untriaged Future persisted() => promiseToFuture(JS("", "#.persisted()", this)); } @@ -37926,9 +27744,6 @@ class StorageManager extends Interceptor { // WARNING: Do not edit - generated code. -@DomName('StorageQuotaCallback') -// http://www.w3.org/TR/quota-api/#idl-def-StorageQuotaCallback -@Experimental() typedef void StorageQuotaCallback(int grantedQuotaInBytes); // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a @@ -37936,17 +27751,12 @@ typedef void StorageQuotaCallback(int grantedQuotaInBytes); // WARNING: Do not edit - generated code. -@DomName('StorageUsageCallback') -// http://www.w3.org/TR/quota-api/#idl-def-StorageUsageCallback -@Experimental() typedef void StorageUsageCallback( int currentUsageInBytes, int currentQuotaInBytes); // Copyright (c) 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('HTMLStyleElement') @Native("HTMLStyleElement") class StyleElement extends HtmlElement { // To suppress missing implicit constructor warnings. @@ -37954,8 +27764,6 @@ class StyleElement extends HtmlElement { throw new UnsupportedError("Not supported"); } - @DomName('HTMLStyleElement.HTMLStyleElement') - @DocsEditable() factory StyleElement() => JS( 'returns:StyleElement;creates:StyleElement;new:true', '#.createElement(#)', @@ -37968,30 +27776,18 @@ class StyleElement extends HtmlElement { */ StyleElement.created() : super.created(); - @DomName('HTMLStyleElement.disabled') - @DocsEditable() bool disabled; - @DomName('HTMLStyleElement.media') - @DocsEditable() String media; - @DomName('HTMLStyleElement.sheet') - @DocsEditable() final StyleSheet sheet; - @DomName('HTMLStyleElement.type') - @DocsEditable() String 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('StyleMedia') -// http://developer.apple.com/library/safari/#documentation/SafariDOMAdditions/Reference/StyleMedia/StyleMedia/StyleMedia.html -@Experimental() // nonstandard @Native("StyleMedia") class StyleMedia extends Interceptor { // To suppress missing implicit constructor warnings. @@ -37999,21 +27795,14 @@ class StyleMedia extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('StyleMedia.type') - @DocsEditable() final String type; - @DomName('StyleMedia.matchMedium') - @DocsEditable() bool matchMedium(String mediaquery) 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('StylePropertyMap') -@Experimental() // untriaged @Native("StylePropertyMap") class StylePropertyMap extends StylePropertyMapReadonly { // To suppress missing implicit constructor warnings. @@ -38021,28 +27810,16 @@ class StylePropertyMap extends StylePropertyMapReadonly { throw new UnsupportedError("Not supported"); } - @DomName('StylePropertyMap.append') - @DocsEditable() - @Experimental() // untriaged void append(String property, Object value) native; - @DomName('StylePropertyMap.delete') - @DocsEditable() - @Experimental() // untriaged void delete(String property) native; - @DomName('StylePropertyMap.set') - @DocsEditable() - @Experimental() // untriaged void set(String property, Object value) 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('StylePropertyMapReadonly') -@Experimental() // untriaged @Native("StylePropertyMapReadonly") class StylePropertyMapReadonly extends Interceptor { // To suppress missing implicit constructor warnings. @@ -38050,32 +27827,18 @@ class StylePropertyMapReadonly extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('StylePropertyMapReadonly.get') - @DocsEditable() - @Experimental() // untriaged CssStyleValue get(String property) native; - @DomName('StylePropertyMapReadonly.getAll') - @DocsEditable() - @Experimental() // untriaged List getAll(String property) native; - @DomName('StylePropertyMapReadonly.getProperties') - @DocsEditable() - @Experimental() // untriaged List getProperties() native; - @DomName('StylePropertyMapReadonly.has') - @DocsEditable() - @Experimental() // untriaged bool has(String property) 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('StyleSheet') @Native("StyleSheet") class StyleSheet extends Interceptor { // To suppress missing implicit constructor warnings. @@ -38083,41 +27846,24 @@ class StyleSheet extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('StyleSheet.disabled') - @DocsEditable() bool disabled; - @DomName('StyleSheet.href') - @DocsEditable() final String href; - @DomName('StyleSheet.media') - @DocsEditable() final MediaList media; - @DomName('StyleSheet.ownerNode') - @DocsEditable() final Node ownerNode; - @DomName('StyleSheet.parentStyleSheet') - @DocsEditable() final StyleSheet parentStyleSheet; - @DomName('StyleSheet.title') - @DocsEditable() final String title; - @DomName('StyleSheet.type') - @DocsEditable() final String 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('SyncEvent') -@Experimental() // untriaged @Native("SyncEvent") class SyncEvent extends ExtendableEvent { // To suppress missing implicit constructor warnings. @@ -38125,8 +27871,6 @@ class SyncEvent extends ExtendableEvent { throw new UnsupportedError("Not supported"); } - @DomName('SyncEvent.SyncEvent') - @DocsEditable() factory SyncEvent(String type, Map init) { var init_1 = convertDartToNative_Dictionary(init); return SyncEvent._create_1(type, init_1); @@ -38134,23 +27878,14 @@ class SyncEvent extends ExtendableEvent { static SyncEvent _create_1(type, init) => JS('SyncEvent', 'new SyncEvent(#,#)', type, init); - @DomName('SyncEvent.lastChance') - @DocsEditable() - @Experimental() // untriaged final bool lastChance; - @DomName('SyncEvent.tag') - @DocsEditable() - @Experimental() // untriaged final String tag; } // Copyright (c) 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('SyncManager') -@Experimental() // untriaged @Native("SyncManager") class SyncManager extends Interceptor { // To suppress missing implicit constructor warnings. @@ -38158,15 +27893,9 @@ class SyncManager extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('SyncManager.getTags') - @DocsEditable() - @Experimental() // untriaged Future> getTags() => promiseToFuture>(JS("", "#.getTags()", this)); - @DomName('SyncManager.register') - @DocsEditable() - @Experimental() // untriaged Future register(String tag) => promiseToFuture(JS("", "#.register(#)", this, tag)); } @@ -38174,8 +27903,6 @@ class SyncManager 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('HTMLTableCaptionElement') @Native("HTMLTableCaptionElement") class TableCaptionElement extends HtmlElement { // To suppress missing implicit constructor warnings. @@ -38183,8 +27910,6 @@ class TableCaptionElement extends HtmlElement { throw new UnsupportedError("Not supported"); } - @DomName('HTMLTableCaptionElement.HTMLTableCaptionElement') - @DocsEditable() factory TableCaptionElement() => JS( 'returns:TableCaptionElement;creates:TableCaptionElement;new:true', '#.createElement(#)', @@ -38201,8 +27926,6 @@ class TableCaptionElement 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('HTMLTableCellElement') @Native( "HTMLTableCellElement,HTMLTableDataCellElement,HTMLTableHeaderCellElement") class TableCellElement extends HtmlElement { @@ -38211,8 +27934,6 @@ class TableCellElement extends HtmlElement { throw new UnsupportedError("Not supported"); } - @DomName('HTMLTableCellElement.HTMLTableCellElement') - @DocsEditable() factory TableCellElement() => JS( 'returns:TableCellElement;creates:TableCellElement;new:true', '#.createElement(#)', @@ -38225,28 +27946,18 @@ class TableCellElement extends HtmlElement { */ TableCellElement.created() : super.created(); - @DomName('HTMLTableCellElement.cellIndex') - @DocsEditable() final int cellIndex; - @DomName('HTMLTableCellElement.colSpan') - @DocsEditable() int colSpan; - @DomName('HTMLTableCellElement.headers') - @DocsEditable() String headers; - @DomName('HTMLTableCellElement.rowSpan') - @DocsEditable() int rowSpan; } // Copyright (c) 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('HTMLTableColElement') @Native("HTMLTableColElement") class TableColElement extends HtmlElement { // To suppress missing implicit constructor warnings. @@ -38254,8 +27965,6 @@ class TableColElement extends HtmlElement { throw new UnsupportedError("Not supported"); } - @DomName('HTMLTableColElement.HTMLTableColElement') - @DocsEditable() factory TableColElement() => JS( 'returns:TableColElement;creates:TableColElement;new:true', '#.createElement(#)', @@ -38268,23 +27977,17 @@ class TableColElement extends HtmlElement { */ TableColElement.created() : super.created(); - @DomName('HTMLTableColElement.span') - @DocsEditable() int span; } // Copyright (c) 2013, 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('HTMLTableElement') @Native("HTMLTableElement") class TableElement extends HtmlElement { - @DomName('HTMLTableElement.tBodies') List get tBodies => new _WrappedList(_tBodies); - @DomName('HTMLTableElement.rows') List get rows => new _WrappedList(_rows); TableRowElement addRow() { @@ -38330,8 +28033,6 @@ class TableElement extends HtmlElement { throw new UnsupportedError("Not supported"); } - @DomName('HTMLTableElement.HTMLTableElement') - @DocsEditable() factory TableElement() => JS( 'returns:TableElement;creates:TableElement;new:true', '#.createElement(#)', @@ -38344,77 +28045,48 @@ class TableElement extends HtmlElement { */ TableElement.created() : super.created(); - @DomName('HTMLTableElement.caption') - @DocsEditable() TableCaptionElement caption; @JSName('rows') - @DomName('HTMLTableElement.rows') - @DocsEditable() @Returns('HtmlCollection|Null') @Creates('HtmlCollection') final List _rows; @JSName('tBodies') - @DomName('HTMLTableElement.tBodies') - @DocsEditable() @Returns('HtmlCollection|Null') @Creates('HtmlCollection') final List _tBodies; - @DomName('HTMLTableElement.tFoot') - @DocsEditable() TableSectionElement tFoot; - @DomName('HTMLTableElement.tHead') - @DocsEditable() TableSectionElement tHead; @JSName('createCaption') - @DomName('HTMLTableElement.createCaption') - @DocsEditable() TableCaptionElement _createCaption() native; @JSName('createTFoot') - @DomName('HTMLTableElement.createTFoot') - @DocsEditable() TableSectionElement _createTFoot() native; @JSName('createTHead') - @DomName('HTMLTableElement.createTHead') - @DocsEditable() TableSectionElement _createTHead() native; - @DomName('HTMLTableElement.deleteCaption') - @DocsEditable() void deleteCaption() native; - @DomName('HTMLTableElement.deleteRow') - @DocsEditable() void deleteRow(int index) native; - @DomName('HTMLTableElement.deleteTFoot') - @DocsEditable() void deleteTFoot() native; - @DomName('HTMLTableElement.deleteTHead') - @DocsEditable() void deleteTHead() native; @JSName('insertRow') - @DomName('HTMLTableElement.insertRow') - @DocsEditable() TableRowElement _insertRow([int index]) native; } // Copyright (c) 2013, 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('HTMLTableRowElement') @Native("HTMLTableRowElement") class TableRowElement extends HtmlElement { - @DomName('HTMLTableRowElement.cells') List get cells => new _WrappedList(_cells); @@ -38447,8 +28119,6 @@ class TableRowElement extends HtmlElement { throw new UnsupportedError("Not supported"); } - @DomName('HTMLTableRowElement.HTMLTableRowElement') - @DocsEditable() factory TableRowElement() => JS( 'returns:TableRowElement;creates:TableRowElement;new:true', '#.createElement(#)', @@ -38462,38 +28132,25 @@ class TableRowElement extends HtmlElement { TableRowElement.created() : super.created(); @JSName('cells') - @DomName('HTMLTableRowElement.cells') - @DocsEditable() @Returns('HtmlCollection|Null') @Creates('HtmlCollection') final List _cells; - @DomName('HTMLTableRowElement.rowIndex') - @DocsEditable() final int rowIndex; - @DomName('HTMLTableRowElement.sectionRowIndex') - @DocsEditable() final int sectionRowIndex; - @DomName('HTMLTableRowElement.deleteCell') - @DocsEditable() void deleteCell(int index) native; @JSName('insertCell') - @DomName('HTMLTableRowElement.insertCell') - @DocsEditable() HtmlElement _insertCell([int index]) native; } // Copyright (c) 2013, 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('HTMLTableSectionElement') @Native("HTMLTableSectionElement") class TableSectionElement extends HtmlElement { - @DomName('HTMLTableSectionElement.rows') List get rows => new _WrappedList(_rows); TableRowElement addRow() { @@ -38531,28 +28188,19 @@ class TableSectionElement extends HtmlElement { TableSectionElement.created() : super.created(); @JSName('rows') - @DomName('HTMLTableSectionElement.rows') - @DocsEditable() @Returns('HtmlCollection|Null') @Creates('HtmlCollection') final List _rows; - @DomName('HTMLTableSectionElement.deleteRow') - @DocsEditable() void deleteRow(int index) native; @JSName('insertRow') - @DomName('HTMLTableSectionElement.insertRow') - @DocsEditable() HtmlElement _insertRow([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('TaskAttributionTiming') -@Experimental() // untriaged @Native("TaskAttributionTiming") class TaskAttributionTiming extends PerformanceEntry { // To suppress missing implicit constructor warnings. @@ -38560,30 +28208,15 @@ class TaskAttributionTiming extends PerformanceEntry { throw new UnsupportedError("Not supported"); } - @DomName('TaskAttributionTiming.containerId') - @DocsEditable() - @Experimental() // untriaged final String containerId; - @DomName('TaskAttributionTiming.containerName') - @DocsEditable() - @Experimental() // untriaged final String containerName; - @DomName('TaskAttributionTiming.containerSrc') - @DocsEditable() - @Experimental() // untriaged final String containerSrc; - @DomName('TaskAttributionTiming.containerType') - @DocsEditable() - @Experimental() // untriaged final String containerType; @JSName('scriptURL') - @DomName('TaskAttributionTiming.scriptURL') - @DocsEditable() - @Experimental() // untriaged final String scriptUrl; } // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file @@ -38592,11 +28225,7 @@ class TaskAttributionTiming extends PerformanceEntry { // WARNING: Do not edit - generated code. -@Experimental() -@DomName('HTMLTemplateElement') @SupportedBrowser(SupportedBrowser.CHROME) -@Experimental() -// https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/templates/index.html#template-element @Native("HTMLTemplateElement") class TemplateElement extends HtmlElement { // To suppress missing implicit constructor warnings. @@ -38604,8 +28233,6 @@ class TemplateElement extends HtmlElement { throw new UnsupportedError("Not supported"); } - @DomName('HTMLTemplateElement.HTMLTemplateElement') - @DocsEditable() factory TemplateElement() => document.createElement("template"); /** * Constructor instantiated by the DOM when a custom element has been created. @@ -38617,8 +28244,6 @@ class TemplateElement extends HtmlElement { /// Checks if this type is supported on the current platform. static bool get supported => Element.isTagSupported('template'); - @DomName('HTMLTemplateElement.content') - @DocsEditable() final DocumentFragment content; /** @@ -38643,7 +28268,6 @@ class TemplateElement extends HtmlElement { // WARNING: Do not edit - generated code. -@DomName('Text') @Native("Text") class Text extends CharacterData { factory Text(String data) => JS( @@ -38656,32 +28280,20 @@ class Text extends CharacterData { throw new UnsupportedError("Not supported"); } - @DomName('Text.assignedSlot') - @DocsEditable() - @Experimental() // untriaged final SlotElement assignedSlot; - @DomName('Text.wholeText') - @DocsEditable() final String wholeText; - @DomName('Text.getDestinationInsertionPoints') - @DocsEditable() - @Experimental() // untriaged @Returns('NodeList|Null') @Creates('NodeList') List getDestinationInsertionPoints() native; - @DomName('Text.splitText') - @DocsEditable() Text splitText(int offset) 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('HTMLTextAreaElement') @Native("HTMLTextAreaElement") class TextAreaElement extends HtmlElement { // To suppress missing implicit constructor warnings. @@ -38689,8 +28301,6 @@ class TextAreaElement extends HtmlElement { throw new UnsupportedError("Not supported"); } - @DomName('HTMLTextAreaElement.HTMLTextAreaElement') - @DocsEditable() factory TextAreaElement() => JS( 'returns:TextAreaElement;creates:TextAreaElement;new:true', '#.createElement(#)', @@ -38703,148 +28313,76 @@ class TextAreaElement extends HtmlElement { */ TextAreaElement.created() : super.created(); - @DomName('HTMLTextAreaElement.autocapitalize') - @DocsEditable() - @Experimental() // untriaged String autocapitalize; - @DomName('HTMLTextAreaElement.autofocus') - @DocsEditable() bool autofocus; - @DomName('HTMLTextAreaElement.cols') - @DocsEditable() int cols; - @DomName('HTMLTextAreaElement.defaultValue') - @DocsEditable() String defaultValue; - @DomName('HTMLTextAreaElement.dirName') - @DocsEditable() - // http://www.whatwg.org/specs/web-apps/current-work/multipage/the-button-element.html#dom-textarea-dirname - @Experimental() String dirName; - @DomName('HTMLTextAreaElement.disabled') - @DocsEditable() bool disabled; - @DomName('HTMLTextAreaElement.form') - @DocsEditable() final FormElement form; - @DomName('HTMLTextAreaElement.labels') - @DocsEditable() @Unstable() @Returns('NodeList|Null') @Creates('NodeList') final List labels; - @DomName('HTMLTextAreaElement.maxLength') - @DocsEditable() int maxLength; - @DomName('HTMLTextAreaElement.minLength') - @DocsEditable() - @Experimental() // untriaged int minLength; - @DomName('HTMLTextAreaElement.name') - @DocsEditable() String name; - @DomName('HTMLTextAreaElement.placeholder') - @DocsEditable() String placeholder; - @DomName('HTMLTextAreaElement.readOnly') - @DocsEditable() bool readOnly; - @DomName('HTMLTextAreaElement.required') - @DocsEditable() bool required; - @DomName('HTMLTextAreaElement.rows') - @DocsEditable() int rows; - @DomName('HTMLTextAreaElement.selectionDirection') - @DocsEditable() String selectionDirection; - @DomName('HTMLTextAreaElement.selectionEnd') - @DocsEditable() int selectionEnd; - @DomName('HTMLTextAreaElement.selectionStart') - @DocsEditable() int selectionStart; - @DomName('HTMLTextAreaElement.textLength') - @DocsEditable() final int textLength; - @DomName('HTMLTextAreaElement.type') - @DocsEditable() final String type; - @DomName('HTMLTextAreaElement.validationMessage') - @DocsEditable() final String validationMessage; - @DomName('HTMLTextAreaElement.validity') - @DocsEditable() final ValidityState validity; - @DomName('HTMLTextAreaElement.value') - @DocsEditable() String value; - @DomName('HTMLTextAreaElement.willValidate') - @DocsEditable() final bool willValidate; - @DomName('HTMLTextAreaElement.wrap') - @DocsEditable() String wrap; - @DomName('HTMLTextAreaElement.checkValidity') - @DocsEditable() bool checkValidity() native; - @DomName('HTMLTextAreaElement.reportValidity') - @DocsEditable() - @Experimental() // untriaged bool reportValidity() native; - @DomName('HTMLTextAreaElement.select') - @DocsEditable() void select() native; - @DomName('HTMLTextAreaElement.setCustomValidity') - @DocsEditable() void setCustomValidity(String error) native; - @DomName('HTMLTextAreaElement.setRangeText') - @DocsEditable() - // http://www.whatwg.org/specs/web-apps/current-work/multipage/association-of-controls-and-forms.html#dom-textarea/input-setrangetext - @Experimental() void setRangeText(String replacement, {int start, int end, String selectionMode}) native; - @DomName('HTMLTextAreaElement.setSelectionRange') - @DocsEditable() void setSelectionRange(int start, int end, [String direction]) 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('TextDetector') -@Experimental() // untriaged @Native("TextDetector") class TextDetector extends Interceptor { // To suppress missing implicit constructor warnings. @@ -38852,16 +28390,11 @@ class TextDetector extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('TextDetector.TextDetector') - @DocsEditable() factory TextDetector() { return TextDetector._create_1(); } static TextDetector _create_1() => JS('TextDetector', 'new TextDetector()'); - @DomName('TextDetector.detect') - @DocsEditable() - @Experimental() // untriaged Future> detect(/*ImageBitmapSource*/ image) => promiseToFuture>(JS("", "#.detect(#)", this, image)); } @@ -38871,7 +28404,6 @@ class TextDetector extends Interceptor { // WARNING: Do not edit - generated code. -@DomName('TextEvent') @Unstable() @Native("TextEvent") class TextEvent extends UIEvent { @@ -38892,13 +28424,9 @@ class TextEvent extends UIEvent { throw new UnsupportedError("Not supported"); } - @DomName('TextEvent.data') - @DocsEditable() final String data; @JSName('initTextEvent') - @DomName('TextEvent.initTextEvent') - @DocsEditable() void _initTextEvent(String type, bool bubbles, bool cancelable, Window view, String data) native; } @@ -38906,8 +28434,6 @@ class TextEvent extends UIEvent { // 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('TextMetrics') @Native("TextMetrics") class TextMetrics extends Interceptor { // To suppress missing implicit constructor warnings. @@ -38915,73 +28441,34 @@ class TextMetrics extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('TextMetrics.actualBoundingBoxAscent') - @DocsEditable() - @Experimental() // untriaged final num actualBoundingBoxAscent; - @DomName('TextMetrics.actualBoundingBoxDescent') - @DocsEditable() - @Experimental() // untriaged final num actualBoundingBoxDescent; - @DomName('TextMetrics.actualBoundingBoxLeft') - @DocsEditable() - @Experimental() // untriaged final num actualBoundingBoxLeft; - @DomName('TextMetrics.actualBoundingBoxRight') - @DocsEditable() - @Experimental() // untriaged final num actualBoundingBoxRight; - @DomName('TextMetrics.alphabeticBaseline') - @DocsEditable() - @Experimental() // untriaged final num alphabeticBaseline; - @DomName('TextMetrics.emHeightAscent') - @DocsEditable() - @Experimental() // untriaged final num emHeightAscent; - @DomName('TextMetrics.emHeightDescent') - @DocsEditable() - @Experimental() // untriaged final num emHeightDescent; - @DomName('TextMetrics.fontBoundingBoxAscent') - @DocsEditable() - @Experimental() // untriaged final num fontBoundingBoxAscent; - @DomName('TextMetrics.fontBoundingBoxDescent') - @DocsEditable() - @Experimental() // untriaged final num fontBoundingBoxDescent; - @DomName('TextMetrics.hangingBaseline') - @DocsEditable() - @Experimental() // untriaged final num hangingBaseline; - @DomName('TextMetrics.ideographicBaseline') - @DocsEditable() - @Experimental() // untriaged final num ideographicBaseline; - @DomName('TextMetrics.width') - @DocsEditable() final num 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('TextTrack') -// http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#texttrack -@Experimental() @Native("TextTrack") class TextTrack extends EventTarget { // To suppress missing implicit constructor warnings. @@ -38995,61 +28482,34 @@ class TextTrack extends EventTarget { * * See [EventStreamProvider] for usage information. */ - @DomName('TextTrack.cuechangeEvent') - @DocsEditable() static const EventStreamProvider cueChangeEvent = const EventStreamProvider('cuechange'); - @DomName('TextTrack.activeCues') - @DocsEditable() final TextTrackCueList activeCues; - @DomName('TextTrack.cues') - @DocsEditable() final TextTrackCueList cues; - @DomName('TextTrack.id') - @DocsEditable() - @Experimental() // untriaged final String id; - @DomName('TextTrack.kind') - @DocsEditable() final String kind; - @DomName('TextTrack.label') - @DocsEditable() final String label; - @DomName('TextTrack.language') - @DocsEditable() final String language; - @DomName('TextTrack.mode') - @DocsEditable() String mode; - @DomName('TextTrack.addCue') - @DocsEditable() void addCue(TextTrackCue cue) native; - @DomName('TextTrack.removeCue') - @DocsEditable() void removeCue(TextTrackCue cue) native; /// Stream of `cuechange` events handled by this [TextTrack]. - @DomName('TextTrack.oncuechange') - @DocsEditable() Stream get onCueChange => cueChangeEvent.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('TextTrackCue') -// http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#texttrackcue -@Experimental() @Native("TextTrackCue") class TextTrackCue extends EventTarget { // To suppress missing implicit constructor warnings. @@ -39063,8 +28523,6 @@ class TextTrackCue extends EventTarget { * * See [EventStreamProvider] for usage information. */ - @DomName('TextTrackCue.enterEvent') - @DocsEditable() static const EventStreamProvider enterEvent = const EventStreamProvider('enter'); @@ -39074,49 +28532,29 @@ class TextTrackCue extends EventTarget { * * See [EventStreamProvider] for usage information. */ - @DomName('TextTrackCue.exitEvent') - @DocsEditable() static const EventStreamProvider exitEvent = const EventStreamProvider('exit'); - @DomName('TextTrackCue.endTime') - @DocsEditable() num endTime; - @DomName('TextTrackCue.id') - @DocsEditable() String id; - @DomName('TextTrackCue.pauseOnExit') - @DocsEditable() bool pauseOnExit; - @DomName('TextTrackCue.startTime') - @DocsEditable() num startTime; - @DomName('TextTrackCue.track') - @DocsEditable() final TextTrack track; /// Stream of `enter` events handled by this [TextTrackCue]. - @DomName('TextTrackCue.onenter') - @DocsEditable() Stream get onEnter => enterEvent.forTarget(this); /// Stream of `exit` events handled by this [TextTrackCue]. - @DomName('TextTrackCue.onexit') - @DocsEditable() Stream get onExit => exitEvent.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('TextTrackCueList') -// http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#texttrackcuelist -@Experimental() @Native("TextTrackCueList") class TextTrackCueList extends Interceptor with ListMixin, ImmutableListMixin @@ -39126,8 +28564,6 @@ class TextTrackCueList extends Interceptor throw new UnsupportedError("Not supported"); } - @DomName('TextTrackCueList.length') - @DocsEditable() int get length => JS("int", "#.length", this); TextTrackCue operator [](int index) { @@ -39173,23 +28609,14 @@ class TextTrackCueList extends Interceptor TextTrackCue elementAt(int index) => this[index]; // -- end List mixins. - @DomName('TextTrackCueList.__getter__') - @DocsEditable() - @Experimental() // untriaged TextTrackCue __getter__(int index) native; - @DomName('TextTrackCueList.getCueById') - @DocsEditable() TextTrackCue getCueById(String id) 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('TextTrackList') -// http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#texttracklist -@Experimental() @Native("TextTrackList") class TextTrackList extends EventTarget with ListMixin, ImmutableListMixin @@ -39205,19 +28632,12 @@ class TextTrackList extends EventTarget * * See [EventStreamProvider] for usage information. */ - @DomName('TextTrackList.addtrackEvent') - @DocsEditable() static const EventStreamProvider addTrackEvent = const EventStreamProvider('addtrack'); - @DomName('TextTrackList.changeEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider changeEvent = const EventStreamProvider('change'); - @DomName('TextTrackList.length') - @DocsEditable() int get length => JS("int", "#.length", this); TextTrack operator [](int index) { @@ -39263,33 +28683,19 @@ class TextTrackList extends EventTarget TextTrack elementAt(int index) => this[index]; // -- end List mixins. - @DomName('TextTrackList.__getter__') - @DocsEditable() - @Experimental() // untriaged TextTrack __getter__(int index) native; - @DomName('TextTrackList.getTrackById') - @DocsEditable() - @Experimental() // untriaged TextTrack getTrackById(String id) native; /// Stream of `addtrack` events handled by this [TextTrackList]. - @DomName('TextTrackList.onaddtrack') - @DocsEditable() Stream get onAddTrack => addTrackEvent.forTarget(this); - @DomName('TextTrackList.onchange') - @DocsEditable() - @Experimental() // untriaged Stream get onChange => changeEvent.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('HTMLTimeElement') -@Experimental() // untriaged @Native("HTMLTimeElement") class TimeElement extends HtmlElement { // To suppress missing implicit constructor warnings. @@ -39303,17 +28709,12 @@ class TimeElement extends HtmlElement { */ TimeElement.created() : super.created(); - @DomName('HTMLTimeElement.dateTime') - @DocsEditable() - @Experimental() // untriaged String dateTime; } // Copyright (c) 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('TimeRanges') @Unstable() @Native("TimeRanges") class TimeRanges extends Interceptor { @@ -39322,16 +28723,10 @@ class TimeRanges extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('TimeRanges.length') - @DocsEditable() final int length; - @DomName('TimeRanges.end') - @DocsEditable() double end(int index) native; - @DomName('TimeRanges.start') - @DocsEditable() double start(int index) native; } // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file @@ -39340,14 +28735,11 @@ class TimeRanges extends Interceptor { // WARNING: Do not edit - generated code. -@DomName('TimeoutHandler') typedef void TimeoutHandler(); // Copyright (c) 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('HTMLTitleElement') @Native("HTMLTitleElement") class TitleElement extends HtmlElement { // To suppress missing implicit constructor warnings. @@ -39355,8 +28747,6 @@ class TitleElement extends HtmlElement { throw new UnsupportedError("Not supported"); } - @DomName('HTMLTitleElement.HTMLTitleElement') - @DocsEditable() factory TitleElement() => JS( 'returns:TitleElement;creates:TitleElement;new:true', '#.createElement(#)', @@ -39373,10 +28763,6 @@ class TitleElement 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('Touch') -// http://www.w3.org/TR/touch-events/, http://www.chromestatus.com/features -@Experimental() @Native("Touch") class Touch extends Interceptor { // To suppress missing implicit constructor warnings. @@ -39384,8 +28770,6 @@ class Touch extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('Touch.Touch') - @DocsEditable() factory Touch(Map initDict) { var initDict_1 = convertDartToNative_Dictionary(initDict); return Touch._create_1(initDict_1); @@ -39393,72 +28777,39 @@ class Touch extends Interceptor { static Touch _create_1(initDict) => JS('Touch', 'new Touch(#)', initDict); @JSName('clientX') - @DomName('Touch.clientX') - @DocsEditable() final num _clientX; @JSName('clientY') - @DomName('Touch.clientY') - @DocsEditable() final num _clientY; - @DomName('Touch.force') - @DocsEditable() - @Experimental() // untriaged final num force; - @DomName('Touch.identifier') - @DocsEditable() final int identifier; @JSName('pageX') - @DomName('Touch.pageX') - @DocsEditable() final num _pageX; @JSName('pageY') - @DomName('Touch.pageY') - @DocsEditable() final num _pageY; @JSName('radiusX') - @DomName('Touch.radiusX') - @DocsEditable() - @Experimental() // untriaged final num _radiusX; @JSName('radiusY') - @DomName('Touch.radiusY') - @DocsEditable() - @Experimental() // untriaged final num _radiusY; - @DomName('Touch.region') - @DocsEditable() - @Experimental() // untriaged final String region; - @DomName('Touch.rotationAngle') - @DocsEditable() - @Experimental() // untriaged final num rotationAngle; @JSName('screenX') - @DomName('Touch.screenX') - @DocsEditable() final num _screenX; @JSName('screenY') - @DomName('Touch.screenY') - @DocsEditable() final num _screenY; - @DomName('Touch.target') - @DocsEditable() EventTarget get target => _convertNativeToDart_EventTarget(this._get_target); @JSName('target') - @DomName('Touch.target') - @DocsEditable() @Creates('Element|Document') @Returns('Element|Document') final dynamic _get_target; @@ -39474,30 +28825,18 @@ class Touch extends Interceptor { int get __radiusX => JS('num', '#.radiusX', this).round(); int get __radiusY => JS('num', '#.radiusY', this).round(); - @DomName('Touch.clientX') - @DomName('Touch.clientY') Point get client => new Point(__clientX, __clientY); - @DomName('Touch.pageX') - @DomName('Touch.pageY') Point get page => new Point(__pageX, __pageY); - @DomName('Touch.screenX') - @DomName('Touch.screenY') Point get screen => new Point(__screenX, __screenY); - @DomName('Touch.radiusX') - @DocsEditable() @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.SAFARI) - @Experimental() int get radiusX => __radiusX; - @DomName('Touch.radiusY') - @DocsEditable() @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.SAFARI) - @Experimental() int get radiusY => __radiusY; } // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file @@ -39506,9 +28845,6 @@ class Touch extends Interceptor { // WARNING: Do not edit - generated code. -@DomName('TouchEvent') -// http://www.w3.org/TR/touch-events/, http://www.chromestatus.com/features -@Experimental() @Native("TouchEvent") class TouchEvent extends UIEvent { // To suppress missing implicit constructor warnings. @@ -39516,8 +28852,6 @@ class TouchEvent extends UIEvent { throw new UnsupportedError("Not supported"); } - @DomName('TouchEvent.TouchEvent') - @DocsEditable() factory TouchEvent(String type, [Map eventInitDict]) { if (eventInitDict != null) { var eventInitDict_1 = convertDartToNative_Dictionary(eventInitDict); @@ -39530,32 +28864,18 @@ class TouchEvent extends UIEvent { static TouchEvent _create_2(type) => JS('TouchEvent', 'new TouchEvent(#)', type); - @DomName('TouchEvent.altKey') - @DocsEditable() final bool altKey; - @DomName('TouchEvent.changedTouches') - @DocsEditable() final TouchList changedTouches; - @DomName('TouchEvent.ctrlKey') - @DocsEditable() final bool ctrlKey; - @DomName('TouchEvent.metaKey') - @DocsEditable() final bool metaKey; - @DomName('TouchEvent.shiftKey') - @DocsEditable() final bool shiftKey; - @DomName('TouchEvent.targetTouches') - @DocsEditable() final TouchList targetTouches; - @DomName('TouchEvent.touches') - @DocsEditable() final TouchList touches; /** @@ -39572,9 +28892,6 @@ class TouchEvent extends UIEvent { // WARNING: Do not edit - generated code. -@DomName('TouchList') -// http://www.w3.org/TR/touch-events/, http://www.chromestatus.com/features -@Experimental() @Native("TouchList") class TouchList extends Interceptor with ListMixin, ImmutableListMixin @@ -39592,8 +28909,6 @@ class TouchList extends Interceptor /// Checks if this type is supported on the current platform. static bool get supported => JS('bool', '!!document.createTouchList'); - @DomName('TouchList.length') - @DocsEditable() int get length => JS("int", "#.length", this); Touch operator [](int index) { @@ -39639,17 +28954,12 @@ class TouchList extends Interceptor Touch elementAt(int index) => this[index]; // -- end List mixins. - @DomName('TouchList.item') - @DocsEditable() Touch item(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('TrackDefault') -@Experimental() // untriaged @Native("TrackDefault") class TrackDefault extends Interceptor { // To suppress missing implicit constructor warnings. @@ -39657,8 +28967,6 @@ class TrackDefault extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('TrackDefault.TrackDefault') - @DocsEditable() factory TrackDefault( String type, String language, String label, List kinds, [String byteStreamTrackID]) { @@ -39682,38 +28990,20 @@ class TrackDefault extends Interceptor { label, kinds); - @DomName('TrackDefault.byteStreamTrackID') - @DocsEditable() - @Experimental() // untriaged final String byteStreamTrackID; - @DomName('TrackDefault.kinds') - @DocsEditable() - @Experimental() // untriaged final Object kinds; - @DomName('TrackDefault.label') - @DocsEditable() - @Experimental() // untriaged final String label; - @DomName('TrackDefault.language') - @DocsEditable() - @Experimental() // untriaged final String language; - @DomName('TrackDefault.type') - @DocsEditable() - @Experimental() // untriaged final String 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('TrackDefaultList') -@Experimental() // untriaged @Native("TrackDefaultList") class TrackDefaultList extends Interceptor { // To suppress missing implicit constructor warnings. @@ -39721,8 +29011,6 @@ class TrackDefaultList extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('TrackDefaultList.TrackDefaultList') - @DocsEditable() factory TrackDefaultList([List trackDefaults]) { if (trackDefaults != null) { return TrackDefaultList._create_1(trackDefaults); @@ -39734,27 +29022,17 @@ class TrackDefaultList extends Interceptor { static TrackDefaultList _create_2() => JS('TrackDefaultList', 'new TrackDefaultList()'); - @DomName('TrackDefaultList.length') - @DocsEditable() - @Experimental() // untriaged final int length; - @DomName('TrackDefaultList.item') - @DocsEditable() - @Experimental() // untriaged TrackDefault item(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('HTMLTrackElement') @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.IE, '10') @SupportedBrowser(SupportedBrowser.SAFARI) -// http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#the-track-element -@Experimental() @Native("HTMLTrackElement") class TrackElement extends HtmlElement { // To suppress missing implicit constructor warnings. @@ -39762,8 +29040,6 @@ class TrackElement extends HtmlElement { throw new UnsupportedError("Not supported"); } - @DomName('HTMLTrackElement.HTMLTrackElement') - @DocsEditable() factory TrackElement() => document.createElement("track"); /** * Constructor instantiated by the DOM when a custom element has been created. @@ -39775,57 +29051,33 @@ class TrackElement extends HtmlElement { /// Checks if this type is supported on the current platform. static bool get supported => Element.isTagSupported('track'); - @DomName('HTMLTrackElement.ERROR') - @DocsEditable() static const int ERROR = 3; - @DomName('HTMLTrackElement.LOADED') - @DocsEditable() static const int LOADED = 2; - @DomName('HTMLTrackElement.LOADING') - @DocsEditable() static const int LOADING = 1; - @DomName('HTMLTrackElement.NONE') - @DocsEditable() static const int NONE = 0; @JSName('default') - @DomName('HTMLTrackElement.default') - @DocsEditable() bool defaultValue; - @DomName('HTMLTrackElement.kind') - @DocsEditable() String kind; - @DomName('HTMLTrackElement.label') - @DocsEditable() String label; - @DomName('HTMLTrackElement.readyState') - @DocsEditable() final int readyState; - @DomName('HTMLTrackElement.src') - @DocsEditable() String src; - @DomName('HTMLTrackElement.srclang') - @DocsEditable() String srclang; - @DomName('HTMLTrackElement.track') - @DocsEditable() final TextTrack 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('TrackEvent') @Unstable() @Native("TrackEvent") class TrackEvent extends Event { @@ -39834,8 +29086,6 @@ class TrackEvent extends Event { throw new UnsupportedError("Not supported"); } - @DomName('TrackEvent.TrackEvent') - @DocsEditable() factory TrackEvent(String type, [Map eventInitDict]) { if (eventInitDict != null) { var eventInitDict_1 = convertDartToNative_Dictionary(eventInitDict); @@ -39848,8 +29098,6 @@ class TrackEvent extends Event { static TrackEvent _create_2(type) => JS('TrackEvent', 'new TrackEvent(#)', type); - @DomName('TrackEvent.track') - @DocsEditable() @Creates('Null') final Object track; } @@ -39857,8 +29105,6 @@ class TrackEvent extends Event { // 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('TransitionEvent') @Native("TransitionEvent,WebKitTransitionEvent") class TransitionEvent extends Event { // To suppress missing implicit constructor warnings. @@ -39866,8 +29112,6 @@ class TransitionEvent extends Event { throw new UnsupportedError("Not supported"); } - @DomName('TransitionEvent.TransitionEvent') - @DocsEditable() factory TransitionEvent(String type, [Map eventInitDict]) { if (eventInitDict != null) { var eventInitDict_1 = convertDartToNative_Dictionary(eventInitDict); @@ -39880,23 +29124,16 @@ class TransitionEvent extends Event { static TransitionEvent _create_2(type) => JS('TransitionEvent', 'new TransitionEvent(#)', type); - @DomName('TransitionEvent.elapsedTime') - @DocsEditable() final num elapsedTime; - @DomName('TransitionEvent.propertyName') - @DocsEditable() final String propertyName; - @DomName('TransitionEvent.pseudoElement') - @DocsEditable() final String pseudoElement; } // Copyright (c) 2013, 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. -@DomName('TreeWalker') @Unstable() @Native("TreeWalker") class TreeWalker extends Interceptor { @@ -39908,57 +29145,32 @@ class TreeWalker extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('TreeWalker.currentNode') - @DocsEditable() Node currentNode; - @DomName('TreeWalker.filter') - @DocsEditable() final NodeFilter filter; - @DomName('TreeWalker.root') - @DocsEditable() final Node root; - @DomName('TreeWalker.whatToShow') - @DocsEditable() final int whatToShow; - @DomName('TreeWalker.firstChild') - @DocsEditable() Node firstChild() native; - @DomName('TreeWalker.lastChild') - @DocsEditable() Node lastChild() native; - @DomName('TreeWalker.nextNode') - @DocsEditable() Node nextNode() native; - @DomName('TreeWalker.nextSibling') - @DocsEditable() Node nextSibling() native; - @DomName('TreeWalker.parentNode') - @DocsEditable() Node parentNode() native; - @DomName('TreeWalker.previousNode') - @DocsEditable() Node previousNode() native; - @DomName('TreeWalker.previousSibling') - @DocsEditable() Node previousSibling() 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('TrustedHTML') -@Experimental() // untriaged @Native("TrustedHTML") class TrustedHtml extends Interceptor { // To suppress missing implicit constructor warnings. @@ -39966,23 +29178,14 @@ class TrustedHtml extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('TrustedHTML.escape') - @DocsEditable() - @Experimental() // untriaged static TrustedHtml escape(String html) native; - @DomName('TrustedHTML.unsafelyCreate') - @DocsEditable() - @Experimental() // untriaged static TrustedHtml unsafelyCreate(String html) 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('TrustedScriptURL') -@Experimental() // untriaged @Native("TrustedScriptURL") class TrustedScriptUrl extends Interceptor { // To suppress missing implicit constructor warnings. @@ -39990,18 +29193,12 @@ class TrustedScriptUrl extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('TrustedScriptURL.unsafelyCreate') - @DocsEditable() - @Experimental() // untriaged static TrustedScriptUrl unsafelyCreate(String url) 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('TrustedURL') -@Experimental() // untriaged @Native("TrustedURL") class TrustedUrl extends Interceptor { // To suppress missing implicit constructor warnings. @@ -40009,14 +29206,8 @@ class TrustedUrl extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('TrustedURL.create') - @DocsEditable() - @Experimental() // untriaged static TrustedUrl create(String url) native; - @DomName('TrustedURL.unsafelyCreate') - @DocsEditable() - @Experimental() // untriaged static TrustedUrl unsafelyCreate(String url) native; } // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file @@ -40025,7 +29216,6 @@ class TrustedUrl extends Interceptor { // WARNING: Do not edit - generated code. -@DomName('UIEvent') @Native("UIEvent") class UIEvent extends Event { // In JS, canBubble and cancelable are technically required parameters to @@ -40047,8 +29237,6 @@ class UIEvent extends Event { return e; } - @DomName('UIEvent.UIEvent') - @DocsEditable() factory UIEvent._(String type, [Map eventInitDict]) { if (eventInitDict != null) { var eventInitDict_1 = convertDartToNative_Dictionary(eventInitDict); @@ -40060,34 +29248,21 @@ class UIEvent extends Event { JS('UIEvent', 'new UIEvent(#,#)', type, eventInitDict); static UIEvent _create_2(type) => JS('UIEvent', 'new UIEvent(#)', type); - @DomName('UIEvent.detail') - @DocsEditable() final int detail; - @DomName('UIEvent.sourceCapabilities') - @DocsEditable() - @Experimental() // untriaged final InputDeviceCapabilities sourceCapabilities; - @DomName('UIEvent.view') - @DocsEditable() WindowBase get view => _convertNativeToDart_Window(this._get_view); @JSName('view') - @DomName('UIEvent.view') - @DocsEditable() @Creates('Window|=Object') @Returns('Window|=Object') final dynamic _get_view; @JSName('which') - @DomName('UIEvent.which') - @DocsEditable() @Unstable() final int _which; @JSName('initUIEvent') - @DomName('UIEvent.initUIEvent') - @DocsEditable() void _initUIEvent(String type, bool bubbles, bool cancelable, Window view, int detail) native; } @@ -40095,8 +29270,6 @@ class UIEvent extends Event { // 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('HTMLUListElement') @Native("HTMLUListElement") class UListElement extends HtmlElement { // To suppress missing implicit constructor warnings. @@ -40104,8 +29277,6 @@ class UListElement extends HtmlElement { throw new UnsupportedError("Not supported"); } - @DomName('HTMLUListElement.HTMLUListElement') - @DocsEditable() factory UListElement() => JS( 'returns:UListElement;creates:UListElement;new:true', '#.createElement(#)', @@ -40122,9 +29293,6 @@ class UListElement 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('UnderlyingSourceBase') -@Experimental() // untriaged @Native("UnderlyingSourceBase") class UnderlyingSourceBase extends Interceptor { // To suppress missing implicit constructor warnings. @@ -40132,30 +29300,15 @@ class UnderlyingSourceBase extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('UnderlyingSourceBase.cancel') - @DocsEditable() - @Experimental() // untriaged Future cancel(Object reason) => promiseToFuture(JS("", "#.cancel(#)", this, reason)); - @DomName('UnderlyingSourceBase.notifyLockAcquired') - @DocsEditable() - @Experimental() // untriaged void notifyLockAcquired() native; - @DomName('UnderlyingSourceBase.notifyLockReleased') - @DocsEditable() - @Experimental() // untriaged void notifyLockReleased() native; - @DomName('UnderlyingSourceBase.pull') - @DocsEditable() - @Experimental() // untriaged Future pull() => promiseToFuture(JS("", "#.pull()", this)); - @DomName('UnderlyingSourceBase.start') - @DocsEditable() - @Experimental() // untriaged Future start(Object stream) => promiseToFuture(JS("", "#.start(#)", this, stream)); } @@ -40163,8 +29316,6 @@ class UnderlyingSourceBase 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('HTMLUnknownElement') @Native("HTMLUnknownElement") class UnknownElement extends HtmlElement { // To suppress missing implicit constructor warnings. @@ -40182,7 +29333,6 @@ class UnknownElement 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. -@DomName('URL') @Native("URL") class Url extends Interceptor { static String createObjectUrl(blob_OR_source_OR_stream) => JS( @@ -40202,8 +29352,6 @@ class Url extends Interceptor { static void revokeObjectUrl(String url) => JS('void', '(self.URL || self.webkitURL).revokeObjectURL(#)', url); - @DomName('URL.toString') - @DocsEditable() String toString() => JS('String', 'String(#)', this); // To suppress missing implicit constructor warnings. @@ -40211,73 +29359,34 @@ class Url extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('URL.hash') - @DocsEditable() - @Experimental() // untriaged String hash; - @DomName('URL.host') - @DocsEditable() - @Experimental() // untriaged String host; - @DomName('URL.hostname') - @DocsEditable() - @Experimental() // untriaged String hostname; - @DomName('URL.href') - @DocsEditable() - @Experimental() // untriaged String href; - @DomName('URL.origin') - @DocsEditable() - @Experimental() // untriaged final String origin; - @DomName('URL.password') - @DocsEditable() - @Experimental() // untriaged String password; - @DomName('URL.pathname') - @DocsEditable() - @Experimental() // untriaged String pathname; - @DomName('URL.port') - @DocsEditable() - @Experimental() // untriaged String port; - @DomName('URL.protocol') - @DocsEditable() - @Experimental() // untriaged String protocol; - @DomName('URL.search') - @DocsEditable() - @Experimental() // untriaged String search; - @DomName('URL.searchParams') - @DocsEditable() - @Experimental() // untriaged final UrlSearchParams searchParams; - @DomName('URL.username') - @DocsEditable() - @Experimental() // untriaged String username; } // Copyright (c) 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('URLSearchParams') -@Experimental() // untriaged @Native("URLSearchParams") class UrlSearchParams extends Interceptor { // To suppress missing implicit constructor warnings. @@ -40285,8 +29394,6 @@ class UrlSearchParams extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('URLSearchParams.URLSearchParams') - @DocsEditable() factory UrlSearchParams([Object init]) { if (init != null) { return UrlSearchParams._create_1(init); @@ -40298,48 +29405,24 @@ class UrlSearchParams extends Interceptor { static UrlSearchParams _create_2() => JS('UrlSearchParams', 'new URLSearchParams()'); - @DomName('URLSearchParams.append') - @DocsEditable() - @Experimental() // untriaged void append(String name, String value) native; - @DomName('URLSearchParams.delete') - @DocsEditable() - @Experimental() // untriaged void delete(String name) native; - @DomName('URLSearchParams.get') - @DocsEditable() - @Experimental() // untriaged String get(String name) native; - @DomName('URLSearchParams.getAll') - @DocsEditable() - @Experimental() // untriaged List getAll(String name) native; - @DomName('URLSearchParams.has') - @DocsEditable() - @Experimental() // untriaged bool has(String name) native; - @DomName('URLSearchParams.set') - @DocsEditable() - @Experimental() // untriaged void set(String name, String value) native; - @DomName('URLSearchParams.sort') - @DocsEditable() - @Experimental() // untriaged void sort() 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('URLUtilsReadOnly') -@Experimental() // untriaged abstract class UrlUtilsReadOnly extends Interceptor { // To suppress missing implicit constructor warnings. factory UrlUtilsReadOnly._() { @@ -40368,9 +29451,6 @@ abstract class UrlUtilsReadOnly 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('VR') -@Experimental() // untriaged @Native("VR") class VR extends EventTarget { // To suppress missing implicit constructor warnings. @@ -40378,18 +29458,12 @@ class VR extends EventTarget { throw new UnsupportedError("Not supported"); } - @DomName('VR.getDevices') - @DocsEditable() - @Experimental() // untriaged Future getDevices() => promiseToFuture(JS("", "#.getDevices()", 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('VRCoordinateSystem') -@Experimental() // untriaged @Native("VRCoordinateSystem") class VRCoordinateSystem extends Interceptor { // To suppress missing implicit constructor warnings. @@ -40397,18 +29471,12 @@ class VRCoordinateSystem extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('VRCoordinateSystem.getTransformTo') - @DocsEditable() - @Experimental() // untriaged Float32List getTransformTo(VRCoordinateSystem other) 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('VRDevice') -@Experimental() // untriaged @Native("VRDevice") class VRDevice extends EventTarget { // To suppress missing implicit constructor warnings. @@ -40416,19 +29484,10 @@ class VRDevice extends EventTarget { throw new UnsupportedError("Not supported"); } - @DomName('VRDevice.deviceName') - @DocsEditable() - @Experimental() // untriaged final String deviceName; - @DomName('VRDevice.isExternal') - @DocsEditable() - @Experimental() // untriaged final bool isExternal; - @DomName('VRDevice.requestSession') - @DocsEditable() - @Experimental() // untriaged Future requestSession([Map options]) { if (options != null) { var options_1 = convertDartToNative_Dictionary(options); @@ -40438,19 +29497,10 @@ class VRDevice extends EventTarget { } @JSName('requestSession') - @DomName('VRDevice.requestSession') - @DocsEditable() - @Experimental() // untriaged Future _requestSession_1(options) native; @JSName('requestSession') - @DomName('VRDevice.requestSession') - @DocsEditable() - @Experimental() // untriaged Future _requestSession_2() native; - @DomName('VRDevice.supportsSession') - @DocsEditable() - @Experimental() // untriaged Future supportsSession([Map options]) { if (options != null) { var options_1 = convertDartToNative_Dictionary(options); @@ -40460,23 +29510,14 @@ class VRDevice extends EventTarget { } @JSName('supportsSession') - @DomName('VRDevice.supportsSession') - @DocsEditable() - @Experimental() // untriaged Future _supportsSession_1(options) native; @JSName('supportsSession') - @DomName('VRDevice.supportsSession') - @DocsEditable() - @Experimental() // untriaged Future _supportsSession_2() 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('VRDeviceEvent') -@Experimental() // untriaged @Native("VRDeviceEvent") class VRDeviceEvent extends Event { // To suppress missing implicit constructor warnings. @@ -40484,8 +29525,6 @@ class VRDeviceEvent extends Event { throw new UnsupportedError("Not supported"); } - @DomName('VRDeviceEvent.VRDeviceEvent') - @DocsEditable() factory VRDeviceEvent(String type, Map eventInitDict) { var eventInitDict_1 = convertDartToNative_Dictionary(eventInitDict); return VRDeviceEvent._create_1(type, eventInitDict_1); @@ -40493,18 +29532,12 @@ class VRDeviceEvent extends Event { static VRDeviceEvent _create_1(type, eventInitDict) => JS('VRDeviceEvent', 'new VRDeviceEvent(#,#)', type, eventInitDict); - @DomName('VRDeviceEvent.device') - @DocsEditable() - @Experimental() // untriaged final VRDevice device; } // Copyright (c) 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('VRDisplay') -@Experimental() // untriaged @Native("VRDisplay") class VRDisplay extends EventTarget { // To suppress missing implicit constructor warnings. @@ -40512,89 +29545,41 @@ class VRDisplay extends EventTarget { throw new UnsupportedError("Not supported"); } - @DomName('VRDisplay.capabilities') - @DocsEditable() - @Experimental() // untriaged final VRDisplayCapabilities capabilities; - @DomName('VRDisplay.depthFar') - @DocsEditable() - @Experimental() // untriaged num depthFar; - @DomName('VRDisplay.depthNear') - @DocsEditable() - @Experimental() // untriaged num depthNear; - @DomName('VRDisplay.displayId') - @DocsEditable() - @Experimental() // untriaged final int displayId; - @DomName('VRDisplay.displayName') - @DocsEditable() - @Experimental() // untriaged final String displayName; - @DomName('VRDisplay.isPresenting') - @DocsEditable() - @Experimental() // untriaged final bool isPresenting; - @DomName('VRDisplay.stageParameters') - @DocsEditable() - @Experimental() // untriaged final VRStageParameters stageParameters; - @DomName('VRDisplay.cancelAnimationFrame') - @DocsEditable() - @Experimental() // untriaged void cancelAnimationFrame(int handle) native; - @DomName('VRDisplay.exitPresent') - @DocsEditable() - @Experimental() // untriaged Future exitPresent() => promiseToFuture(JS("", "#.exitPresent()", this)); - @DomName('VRDisplay.getEyeParameters') - @DocsEditable() - @Experimental() // untriaged VREyeParameters getEyeParameters(String whichEye) native; - @DomName('VRDisplay.getFrameData') - @DocsEditable() - @Experimental() // untriaged bool getFrameData(VRFrameData frameData) native; - @DomName('VRDisplay.getLayers') - @DocsEditable() - @Experimental() // untriaged List getLayers() native; - @DomName('VRDisplay.requestAnimationFrame') - @DocsEditable() - @Experimental() // untriaged int requestAnimationFrame(FrameRequestCallback callback) native; - @DomName('VRDisplay.requestPresent') - @DocsEditable() - @Experimental() // untriaged Future requestPresent(List layers) => promiseToFuture(JS("", "#.requestPresent(#)", this, layers)); - @DomName('VRDisplay.submitFrame') - @DocsEditable() - @Experimental() // untriaged void submitFrame() 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('VRDisplayCapabilities') -@Experimental() // untriaged @Native("VRDisplayCapabilities") class VRDisplayCapabilities extends Interceptor { // To suppress missing implicit constructor warnings. @@ -40602,33 +29587,18 @@ class VRDisplayCapabilities extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('VRDisplayCapabilities.canPresent') - @DocsEditable() - @Experimental() // untriaged final bool canPresent; - @DomName('VRDisplayCapabilities.hasExternalDisplay') - @DocsEditable() - @Experimental() // untriaged final bool hasExternalDisplay; - @DomName('VRDisplayCapabilities.hasPosition') - @DocsEditable() - @Experimental() // untriaged final bool hasPosition; - @DomName('VRDisplayCapabilities.maxLayers') - @DocsEditable() - @Experimental() // untriaged final int maxLayers; } // Copyright (c) 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('VRDisplayEvent') -@Experimental() // untriaged @Native("VRDisplayEvent") class VRDisplayEvent extends Event { // To suppress missing implicit constructor warnings. @@ -40636,8 +29606,6 @@ class VRDisplayEvent extends Event { throw new UnsupportedError("Not supported"); } - @DomName('VRDisplayEvent.VRDisplayEvent') - @DocsEditable() factory VRDisplayEvent(String type, [Map eventInitDict]) { if (eventInitDict != null) { var eventInitDict_1 = convertDartToNative_Dictionary(eventInitDict); @@ -40650,23 +29618,14 @@ class VRDisplayEvent extends Event { static VRDisplayEvent _create_2(type) => JS('VRDisplayEvent', 'new VRDisplayEvent(#)', type); - @DomName('VRDisplayEvent.display') - @DocsEditable() - @Experimental() // untriaged final VRDisplay display; - @DomName('VRDisplayEvent.reason') - @DocsEditable() - @Experimental() // untriaged final String reason; } // Copyright (c) 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('VREyeParameters') -@Experimental() // untriaged @Native("VREyeParameters") class VREyeParameters extends Interceptor { // To suppress missing implicit constructor warnings. @@ -40674,28 +29633,16 @@ class VREyeParameters extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('VREyeParameters.offset') - @DocsEditable() - @Experimental() // untriaged final Float32List offset; - @DomName('VREyeParameters.renderHeight') - @DocsEditable() - @Experimental() // untriaged final int renderHeight; - @DomName('VREyeParameters.renderWidth') - @DocsEditable() - @Experimental() // untriaged final int renderWidth; } // Copyright (c) 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('VRFrameData') -@Experimental() // untriaged @Native("VRFrameData") class VRFrameData extends Interceptor { // To suppress missing implicit constructor warnings. @@ -40703,45 +29650,25 @@ class VRFrameData extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('VRFrameData.VRFrameData') - @DocsEditable() factory VRFrameData() { return VRFrameData._create_1(); } static VRFrameData _create_1() => JS('VRFrameData', 'new VRFrameData()'); - @DomName('VRFrameData.leftProjectionMatrix') - @DocsEditable() - @Experimental() // untriaged final Float32List leftProjectionMatrix; - @DomName('VRFrameData.leftViewMatrix') - @DocsEditable() - @Experimental() // untriaged final Float32List leftViewMatrix; - @DomName('VRFrameData.pose') - @DocsEditable() - @Experimental() // untriaged final VRPose pose; - @DomName('VRFrameData.rightProjectionMatrix') - @DocsEditable() - @Experimental() // untriaged final Float32List rightProjectionMatrix; - @DomName('VRFrameData.rightViewMatrix') - @DocsEditable() - @Experimental() // untriaged final Float32List rightViewMatrix; } // Copyright (c) 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('VRFrameOfReference') -@Experimental() // untriaged @Native("VRFrameOfReference") class VRFrameOfReference extends VRCoordinateSystem { // To suppress missing implicit constructor warnings. @@ -40749,23 +29676,14 @@ class VRFrameOfReference extends VRCoordinateSystem { throw new UnsupportedError("Not supported"); } - @DomName('VRFrameOfReference.bounds') - @DocsEditable() - @Experimental() // untriaged final VRStageBounds bounds; - @DomName('VRFrameOfReference.emulatedHeight') - @DocsEditable() - @Experimental() // untriaged final num emulatedHeight; } // Copyright (c) 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('VRPose') -@Experimental() // untriaged @Native("VRPose") class VRPose extends Interceptor { // To suppress missing implicit constructor warnings. @@ -40773,43 +29691,22 @@ class VRPose extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('VRPose.angularAcceleration') - @DocsEditable() - @Experimental() // untriaged final Float32List angularAcceleration; - @DomName('VRPose.angularVelocity') - @DocsEditable() - @Experimental() // untriaged final Float32List angularVelocity; - @DomName('VRPose.linearAcceleration') - @DocsEditable() - @Experimental() // untriaged final Float32List linearAcceleration; - @DomName('VRPose.linearVelocity') - @DocsEditable() - @Experimental() // untriaged final Float32List linearVelocity; - @DomName('VRPose.orientation') - @DocsEditable() - @Experimental() // untriaged final Float32List orientation; - @DomName('VRPose.position') - @DocsEditable() - @Experimental() // untriaged final Float32List position; } // Copyright (c) 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('VRSession') -@Experimental() // untriaged @Native("VRSession") class VRSession extends EventTarget { // To suppress missing implicit constructor warnings. @@ -40817,46 +29714,22 @@ class VRSession extends EventTarget { throw new UnsupportedError("Not supported"); } - @DomName('VRSession.blurEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider blurEvent = const EventStreamProvider('blur'); - @DomName('VRSession.focusEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider focusEvent = const EventStreamProvider('focus'); - @DomName('VRSession.depthFar') - @DocsEditable() - @Experimental() // untriaged num depthFar; - @DomName('VRSession.depthNear') - @DocsEditable() - @Experimental() // untriaged num depthNear; - @DomName('VRSession.device') - @DocsEditable() - @Experimental() // untriaged final VRDevice device; - @DomName('VRSession.exclusive') - @DocsEditable() - @Experimental() // untriaged final bool exclusive; - @DomName('VRSession.end') - @DocsEditable() - @Experimental() // untriaged Future end() => promiseToFuture(JS("", "#.end()", this)); - @DomName('VRSession.requestFrameOfReference') - @DocsEditable() - @Experimental() // untriaged Future requestFrameOfReference(String type, [Map options]) { if (options != null) { var options_1 = convertDartToNative_Dictionary(options); @@ -40866,33 +29739,18 @@ class VRSession extends EventTarget { } @JSName('requestFrameOfReference') - @DomName('VRSession.requestFrameOfReference') - @DocsEditable() - @Experimental() // untriaged Future _requestFrameOfReference_1(type, options) native; @JSName('requestFrameOfReference') - @DomName('VRSession.requestFrameOfReference') - @DocsEditable() - @Experimental() // untriaged Future _requestFrameOfReference_2(type) native; - @DomName('VRSession.onblur') - @DocsEditable() - @Experimental() // untriaged Stream get onBlur => blurEvent.forTarget(this); - @DomName('VRSession.onfocus') - @DocsEditable() - @Experimental() // untriaged Stream get onFocus => focusEvent.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('VRSessionEvent') -@Experimental() // untriaged @Native("VRSessionEvent") class VRSessionEvent extends Event { // To suppress missing implicit constructor warnings. @@ -40900,8 +29758,6 @@ class VRSessionEvent extends Event { throw new UnsupportedError("Not supported"); } - @DomName('VRSessionEvent.VRSessionEvent') - @DocsEditable() factory VRSessionEvent(String type, Map eventInitDict) { var eventInitDict_1 = convertDartToNative_Dictionary(eventInitDict); return VRSessionEvent._create_1(type, eventInitDict_1); @@ -40909,18 +29765,12 @@ class VRSessionEvent extends Event { static VRSessionEvent _create_1(type, eventInitDict) => JS('VRSessionEvent', 'new VRSessionEvent(#,#)', type, eventInitDict); - @DomName('VRSessionEvent.session') - @DocsEditable() - @Experimental() // untriaged final VRSession session; } // Copyright (c) 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('VRStageBounds') -@Experimental() // untriaged @Native("VRStageBounds") class VRStageBounds extends Interceptor { // To suppress missing implicit constructor warnings. @@ -40928,18 +29778,12 @@ class VRStageBounds extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('VRStageBounds.geometry') - @DocsEditable() - @Experimental() // untriaged final List geometry; } // Copyright (c) 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('VRStageBoundsPoint') -@Experimental() // untriaged @Native("VRStageBoundsPoint") class VRStageBoundsPoint extends Interceptor { // To suppress missing implicit constructor warnings. @@ -40947,23 +29791,14 @@ class VRStageBoundsPoint extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('VRStageBoundsPoint.x') - @DocsEditable() - @Experimental() // untriaged final num x; - @DomName('VRStageBoundsPoint.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('VRStageParameters') -@Experimental() // untriaged @Native("VRStageParameters") class VRStageParameters extends Interceptor { // To suppress missing implicit constructor warnings. @@ -40971,27 +29806,16 @@ class VRStageParameters extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('VRStageParameters.sittingToStandingTransform') - @DocsEditable() - @Experimental() // untriaged final Float32List sittingToStandingTransform; - @DomName('VRStageParameters.sizeX') - @DocsEditable() - @Experimental() // untriaged final num sizeX; - @DomName('VRStageParameters.sizeZ') - @DocsEditable() - @Experimental() // untriaged final num sizeZ; } // Copyright (c) 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('ValidityState') @Native("ValidityState") class ValidityState extends Interceptor { // To suppress missing implicit constructor warnings. @@ -40999,56 +29823,32 @@ class ValidityState extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('ValidityState.badInput') - @DocsEditable() final bool badInput; - @DomName('ValidityState.customError') - @DocsEditable() final bool customError; - @DomName('ValidityState.patternMismatch') - @DocsEditable() final bool patternMismatch; - @DomName('ValidityState.rangeOverflow') - @DocsEditable() final bool rangeOverflow; - @DomName('ValidityState.rangeUnderflow') - @DocsEditable() final bool rangeUnderflow; - @DomName('ValidityState.stepMismatch') - @DocsEditable() final bool stepMismatch; - @DomName('ValidityState.tooLong') - @DocsEditable() final bool tooLong; - @DomName('ValidityState.tooShort') - @DocsEditable() - @Experimental() // untriaged final bool tooShort; - @DomName('ValidityState.typeMismatch') - @DocsEditable() final bool typeMismatch; - @DomName('ValidityState.valid') - @DocsEditable() final bool valid; - @DomName('ValidityState.valueMissing') - @DocsEditable() final bool 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 // BSD-style license that can be found in the LICENSE file. -@DomName('HTMLVideoElement') @Native("HTMLVideoElement") class VideoElement extends MediaElement implements CanvasImageSource { // To suppress missing implicit constructor warnings. @@ -41056,8 +29856,6 @@ class VideoElement extends MediaElement implements CanvasImageSource { throw new UnsupportedError("Not supported"); } - @DomName('HTMLVideoElement.HTMLVideoElement') - @DocsEditable() factory VideoElement() => JS( 'returns:VideoElement;creates:VideoElement;new:true', '#.createElement(#)', @@ -41070,72 +29868,42 @@ class VideoElement extends MediaElement implements CanvasImageSource { */ VideoElement.created() : super.created(); - @DomName('HTMLVideoElement.height') - @DocsEditable() int height; - @DomName('HTMLVideoElement.poster') - @DocsEditable() String poster; - @DomName('HTMLVideoElement.videoHeight') - @DocsEditable() final int videoHeight; - @DomName('HTMLVideoElement.videoWidth') - @DocsEditable() final int videoWidth; @JSName('webkitDecodedFrameCount') - @DomName('HTMLVideoElement.webkitDecodedFrameCount') - @DocsEditable() @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.SAFARI) - @Experimental() final int decodedFrameCount; @JSName('webkitDroppedFrameCount') - @DomName('HTMLVideoElement.webkitDroppedFrameCount') - @DocsEditable() @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.SAFARI) - @Experimental() final int droppedFrameCount; - @DomName('HTMLVideoElement.width') - @DocsEditable() int width; - @DomName('HTMLVideoElement.getVideoPlaybackQuality') - @DocsEditable() - @Experimental() // untriaged VideoPlaybackQuality getVideoPlaybackQuality() native; @JSName('webkitEnterFullscreen') - @DomName('HTMLVideoElement.webkitEnterFullscreen') - @DocsEditable() @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.SAFARI) - @Experimental() - // https://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html void enterFullscreen() native; @JSName('webkitExitFullscreen') - @DomName('HTMLVideoElement.webkitExitFullscreen') - @DocsEditable() @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.SAFARI) - @Experimental() - // https://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html#dom-document-exitfullscreen void exitFullscreen() 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('VideoPlaybackQuality') -@Experimental() // untriaged @Native("VideoPlaybackQuality") class VideoPlaybackQuality extends Interceptor { // To suppress missing implicit constructor warnings. @@ -41143,33 +29911,18 @@ class VideoPlaybackQuality extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('VideoPlaybackQuality.corruptedVideoFrames') - @DocsEditable() - @Experimental() // untriaged final int corruptedVideoFrames; - @DomName('VideoPlaybackQuality.creationTime') - @DocsEditable() - @Experimental() // untriaged final num creationTime; - @DomName('VideoPlaybackQuality.droppedVideoFrames') - @DocsEditable() - @Experimental() // untriaged final int droppedVideoFrames; - @DomName('VideoPlaybackQuality.totalVideoFrames') - @DocsEditable() - @Experimental() // untriaged final int totalVideoFrames; } // Copyright (c) 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('VideoTrack') -@Experimental() // untriaged @Native("VideoTrack") class VideoTrack extends Interceptor { // To suppress missing implicit constructor warnings. @@ -41177,43 +29930,22 @@ class VideoTrack extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('VideoTrack.id') - @DocsEditable() - @Experimental() // untriaged final String id; - @DomName('VideoTrack.kind') - @DocsEditable() - @Experimental() // untriaged final String kind; - @DomName('VideoTrack.label') - @DocsEditable() - @Experimental() // untriaged final String label; - @DomName('VideoTrack.language') - @DocsEditable() - @Experimental() // untriaged final String language; - @DomName('VideoTrack.selected') - @DocsEditable() - @Experimental() // untriaged bool selected; - @DomName('VideoTrack.sourceBuffer') - @DocsEditable() - @Experimental() // untriaged final SourceBuffer sourceBuffer; } // Copyright (c) 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('VideoTrackList') -@Experimental() // untriaged @Native("VideoTrackList") class VideoTrackList extends EventTarget { // To suppress missing implicit constructor warnings. @@ -41221,44 +29953,23 @@ class VideoTrackList extends EventTarget { throw new UnsupportedError("Not supported"); } - @DomName('VideoTrackList.changeEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider changeEvent = const EventStreamProvider('change'); - @DomName('VideoTrackList.length') - @DocsEditable() - @Experimental() // untriaged final int length; - @DomName('VideoTrackList.selectedIndex') - @DocsEditable() - @Experimental() // untriaged final int selectedIndex; - @DomName('VideoTrackList.__getter__') - @DocsEditable() - @Experimental() // untriaged VideoTrack __getter__(int index) native; - @DomName('VideoTrackList.getTrackById') - @DocsEditable() - @Experimental() // untriaged VideoTrack getTrackById(String id) native; - @DomName('VideoTrackList.onchange') - @DocsEditable() - @Experimental() // untriaged Stream get onChange => changeEvent.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('VisualViewport') -@Experimental() // untriaged @Native("VisualViewport") class VisualViewport extends EventTarget { // To suppress missing implicit constructor warnings. @@ -41266,61 +29977,28 @@ class VisualViewport extends EventTarget { throw new UnsupportedError("Not supported"); } - @DomName('VisualViewport.resizeEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider resizeEvent = const EventStreamProvider('resize'); - @DomName('VisualViewport.scrollEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider scrollEvent = const EventStreamProvider('scroll'); - @DomName('VisualViewport.height') - @DocsEditable() - @Experimental() // untriaged final num height; - @DomName('VisualViewport.offsetLeft') - @DocsEditable() - @Experimental() // untriaged final num offsetLeft; - @DomName('VisualViewport.offsetTop') - @DocsEditable() - @Experimental() // untriaged final num offsetTop; - @DomName('VisualViewport.pageLeft') - @DocsEditable() - @Experimental() // untriaged final num pageLeft; - @DomName('VisualViewport.pageTop') - @DocsEditable() - @Experimental() // untriaged final num pageTop; - @DomName('VisualViewport.scale') - @DocsEditable() - @Experimental() // untriaged final num scale; - @DomName('VisualViewport.width') - @DocsEditable() - @Experimental() // untriaged final num width; - @DomName('VisualViewport.onresize') - @DocsEditable() - @Experimental() // untriaged Stream get onResize => resizeEvent.forTarget(this); - @DomName('VisualViewport.onscroll') - @DocsEditable() - @Experimental() // untriaged Stream get onScroll => scrollEvent.forTarget(this); } // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file @@ -41329,17 +30007,11 @@ class VisualViewport extends EventTarget { // WARNING: Do not edit - generated code. -@DomName('VoidCallback') -// http://www.w3.org/TR/file-system-api/#the-voidcallback-interface -@Experimental() typedef void VoidCallback(); // Copyright (c) 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('VTTCue') -@Experimental() // untriaged @Native("VTTCue") class VttCue extends TextTrackCue { // To suppress missing implicit constructor warnings. @@ -41347,71 +30019,39 @@ class VttCue extends TextTrackCue { throw new UnsupportedError("Not supported"); } - @DomName('VTTCue.VTTCue') - @DocsEditable() factory VttCue(num startTime, num endTime, String text) { return VttCue._create_1(startTime, endTime, text); } static VttCue _create_1(startTime, endTime, text) => JS('VttCue', 'new VTTCue(#,#,#)', startTime, endTime, text); - @DomName('VTTCue.align') - @DocsEditable() - @Experimental() // untriaged String align; - @DomName('VTTCue.line') - @DocsEditable() - @Experimental() // untriaged @Creates('Null') @Returns('num|String') Object line; - @DomName('VTTCue.position') - @DocsEditable() - @Experimental() // untriaged @Creates('Null') @Returns('num|String') Object position; - @DomName('VTTCue.region') - @DocsEditable() - @Experimental() // untriaged VttRegion region; - @DomName('VTTCue.size') - @DocsEditable() - @Experimental() // untriaged num size; - @DomName('VTTCue.snapToLines') - @DocsEditable() - @Experimental() // untriaged bool snapToLines; - @DomName('VTTCue.text') - @DocsEditable() - @Experimental() // untriaged String text; - @DomName('VTTCue.vertical') - @DocsEditable() - @Experimental() // untriaged String vertical; @JSName('getCueAsHTML') - @DomName('VTTCue.getCueAsHTML') - @DocsEditable() - @Experimental() // untriaged DocumentFragment getCueAsHtml() 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('VTTRegion') -@Experimental() // untriaged @Native("VTTRegion") class VttRegion extends Interceptor { // To suppress missing implicit constructor warnings. @@ -41419,58 +30059,31 @@ class VttRegion extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('VTTRegion.VTTRegion') - @DocsEditable() factory VttRegion() { return VttRegion._create_1(); } static VttRegion _create_1() => JS('VttRegion', 'new VTTRegion()'); - @DomName('VTTRegion.id') - @DocsEditable() - @Experimental() // untriaged String id; - @DomName('VTTRegion.lines') - @DocsEditable() - @Experimental() // untriaged int lines; - @DomName('VTTRegion.regionAnchorX') - @DocsEditable() - @Experimental() // untriaged num regionAnchorX; - @DomName('VTTRegion.regionAnchorY') - @DocsEditable() - @Experimental() // untriaged num regionAnchorY; - @DomName('VTTRegion.scroll') - @DocsEditable() - @Experimental() // untriaged String scroll; - @DomName('VTTRegion.viewportAnchorX') - @DocsEditable() - @Experimental() // untriaged num viewportAnchorX; - @DomName('VTTRegion.viewportAnchorY') - @DocsEditable() - @Experimental() // untriaged num viewportAnchorY; - @DomName('VTTRegion.width') - @DocsEditable() - @Experimental() // untriaged num 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() /** * Use the WebSocket interface to connect to a WebSocket, * and to send and receive data on that WebSocket. @@ -41505,7 +30118,6 @@ class VttRegion extends Interceptor { * [Introducing WebSockets](http://www.html5rocks.com/en/tutorials/websockets/basics/), * an HTML5Rocks.com tutorial. */ -@DomName('WebSocket') @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.FIREFOX) @SupportedBrowser(SupportedBrowser.IE, '10') @@ -41524,8 +30136,6 @@ class WebSocket extends EventTarget { * * See [EventStreamProvider] for usage information. */ - @DomName('WebSocket.closeEvent') - @DocsEditable() static const EventStreamProvider closeEvent = const EventStreamProvider('close'); @@ -41535,8 +30145,6 @@ class WebSocket extends EventTarget { * * See [EventStreamProvider] for usage information. */ - @DomName('WebSocket.errorEvent') - @DocsEditable() static const EventStreamProvider errorEvent = const EventStreamProvider('error'); @@ -41546,8 +30154,6 @@ class WebSocket extends EventTarget { * * See [EventStreamProvider] for usage information. */ - @DomName('WebSocket.messageEvent') - @DocsEditable() static const EventStreamProvider messageEvent = const EventStreamProvider('message'); @@ -41557,13 +30163,9 @@ class WebSocket extends EventTarget { * * See [EventStreamProvider] for usage information. */ - @DomName('WebSocket.openEvent') - @DocsEditable() static const EventStreamProvider openEvent = const EventStreamProvider('open'); - @DomName('WebSocket.WebSocket') - @DocsEditable() factory WebSocket(String url, [Object protocols]) { if (protocols != null) { return WebSocket._create_1(url, protocols); @@ -41578,48 +30180,26 @@ class WebSocket extends EventTarget { static bool get supported => JS('bool', 'typeof window.WebSocket != "undefined"'); - @DomName('WebSocket.CLOSED') - @DocsEditable() static const int CLOSED = 3; - @DomName('WebSocket.CLOSING') - @DocsEditable() static const int CLOSING = 2; - @DomName('WebSocket.CONNECTING') - @DocsEditable() static const int CONNECTING = 0; - @DomName('WebSocket.OPEN') - @DocsEditable() static const int OPEN = 1; - @DomName('WebSocket.binaryType') - @DocsEditable() String binaryType; - @DomName('WebSocket.bufferedAmount') - @DocsEditable() final int bufferedAmount; - @DomName('WebSocket.extensions') - @DocsEditable() final String extensions; - @DomName('WebSocket.protocol') - @DocsEditable() final String protocol; - @DomName('WebSocket.readyState') - @DocsEditable() final int readyState; - @DomName('WebSocket.url') - @DocsEditable() final String url; - @DomName('WebSocket.close') - @DocsEditable() void close([int code, String reason]) native; /** @@ -41629,8 +30209,6 @@ class WebSocket extends EventTarget { * [TypedData]. Named variants [sendBlob], [sendByteBuffer], [sendString], * or [sendTypedData], in contrast, only accept data of the specified type. */ - @DomName('WebSocket.send') - @DocsEditable() void send(data) native; @JSName('send') @@ -41641,8 +30219,6 @@ class WebSocket extends EventTarget { * [TypedData]. Named variants [sendBlob], [sendByteBuffer], [sendString], * or [sendTypedData], in contrast, only accept data of the specified type. */ - @DomName('WebSocket.send') - @DocsEditable() void sendBlob(Blob data) native; @JSName('send') @@ -41653,8 +30229,6 @@ class WebSocket extends EventTarget { * [TypedData]. Named variants [sendBlob], [sendByteBuffer], [sendString], * or [sendTypedData], in contrast, only accept data of the specified type. */ - @DomName('WebSocket.send') - @DocsEditable() void sendByteBuffer(ByteBuffer data) native; @JSName('send') @@ -41665,8 +30239,6 @@ class WebSocket extends EventTarget { * [TypedData]. Named variants [sendBlob], [sendByteBuffer], [sendString], * or [sendTypedData], in contrast, only accept data of the specified type. */ - @DomName('WebSocket.send') - @DocsEditable() void sendString(String data) native; @JSName('send') @@ -41677,35 +30249,24 @@ class WebSocket extends EventTarget { * [TypedData]. Named variants [sendBlob], [sendByteBuffer], [sendString], * or [sendTypedData], in contrast, only accept data of the specified type. */ - @DomName('WebSocket.send') - @DocsEditable() void sendTypedData(TypedData data) native; /// Stream of `close` events handled by this [WebSocket]. - @DomName('WebSocket.onclose') - @DocsEditable() Stream get onClose => closeEvent.forTarget(this); /// Stream of `error` events handled by this [WebSocket]. - @DomName('WebSocket.onerror') - @DocsEditable() Stream get onError => errorEvent.forTarget(this); /// Stream of `message` events handled by this [WebSocket]. - @DomName('WebSocket.onmessage') - @DocsEditable() Stream get onMessage => messageEvent.forTarget(this); /// Stream of `open` events handled by this [WebSocket]. - @DomName('WebSocket.onopen') - @DocsEditable() Stream get onOpen => openEvent.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. -@DomName('WheelEvent') @Native("WheelEvent") class WheelEvent extends MouseEvent { factory WheelEvent(String type, @@ -41756,8 +30317,6 @@ class WheelEvent extends MouseEvent { convertDartToNative_Dictionary(options)); } - @DomName('WheelEvent.WheelEvent') - @DocsEditable() factory WheelEvent._(String type, [Map eventInitDict]) { if (eventInitDict != null) { var eventInitDict_1 = convertDartToNative_Dictionary(eventInitDict); @@ -41770,30 +30329,18 @@ class WheelEvent extends MouseEvent { static WheelEvent _create_2(type) => JS('WheelEvent', 'new WheelEvent(#)', type); - @DomName('WheelEvent.DOM_DELTA_LINE') - @DocsEditable() static const int DOM_DELTA_LINE = 0x01; - @DomName('WheelEvent.DOM_DELTA_PAGE') - @DocsEditable() static const int DOM_DELTA_PAGE = 0x02; - @DomName('WheelEvent.DOM_DELTA_PIXEL') - @DocsEditable() static const int DOM_DELTA_PIXEL = 0x00; @JSName('deltaX') - @DomName('WheelEvent.deltaX') - @DocsEditable() final num _deltaX; @JSName('deltaY') - @DomName('WheelEvent.deltaY') - @DocsEditable() final num _deltaY; - @DomName('WheelEvent.deltaZ') - @DocsEditable() final num deltaZ; /** @@ -41804,7 +30351,6 @@ class WheelEvent extends MouseEvent { * * * [WheelEvent.deltaY](http://dev.w3.org/2006/webapi/DOM-Level-3-Events/html/DOM3-Events.html#events-WheelEvent-deltaY) from the W3C. */ - @DomName('WheelEvent.deltaY') num get deltaY { if (JS('bool', '#.deltaY !== undefined', this)) { // W3C WheelEvent @@ -41821,7 +30367,6 @@ class WheelEvent extends MouseEvent { * * * [WheelEvent.deltaX](http://dev.w3.org/2006/webapi/DOM-Level-3-Events/html/DOM3-Events.html#events-WheelEvent-deltaX) from the W3C. */ - @DomName('WheelEvent.deltaX') num get deltaX { if (JS('bool', '#.deltaX !== undefined', this)) { // W3C WheelEvent @@ -41830,7 +30375,6 @@ class WheelEvent extends MouseEvent { throw new UnsupportedError('deltaX is not supported'); } - @DomName('WheelEvent.deltaMode') int get deltaMode { if (JS('bool', '!!(#.deltaMode)', this)) { return JS('int', '#.deltaMode', this); @@ -41889,7 +30433,6 @@ class WheelEvent extends MouseEvent { // 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() /** * Top-level container for the current browser tab or window. * @@ -41923,7 +30466,6 @@ class WheelEvent extends MouseEvent { * * [DOM Window](https://developer.mozilla.org/en-US/docs/DOM/window) from MDN. * * [Window](http://www.w3.org/TR/Window/) from the W3C. */ -@DomName('Window') @Native("Window,DOMWindow") class Window extends EventTarget implements @@ -42031,7 +30573,6 @@ class Window extends EventTarget * Note: The supplied [callback] needs to call [requestAnimationFrame] again * for the animation to continue. */ - @DomName('Window.requestAnimationFrame') int requestAnimationFrame(FrameRequestCallback callback) { _ensureRequestAnimationFrame(); return _requestAnimationFrame(_wrapZone(callback)); @@ -42091,7 +30632,6 @@ class Window extends EventTarget @SupportedBrowser(SupportedBrowser.CHROME, '23.0') @SupportedBrowser(SupportedBrowser.FIREFOX, '15.0') @SupportedBrowser(SupportedBrowser.IE, '10.0') - @Experimental() IdbFactory get indexedDB => JS( 'IdbFactory|Null', // If not supported, returns null. '#.indexedDB || #.webkitIndexedDB || #.mozIndexedDB', @@ -42100,7 +30640,6 @@ class Window extends EventTarget this); /// The debugging console for this window. - @DomName('Window.console') Console get console => Console._safeConsole; /** @@ -42131,8 +30670,6 @@ class Window extends EventTarget * * See [EventStreamProvider] for usage information. */ - @DomName('Window.DOMContentLoadedEvent') - @DocsEditable() static const EventStreamProvider contentLoadedEvent = const EventStreamProvider('DOMContentLoaded'); @@ -42142,10 +30679,6 @@ class Window extends EventTarget * * See [EventStreamProvider] for usage information. */ - @DomName('Window.devicemotionEvent') - @DocsEditable() - // http://dev.w3.org/geo/api/spec-source-orientation.html#devicemotion - @Experimental() static const EventStreamProvider deviceMotionEvent = const EventStreamProvider('devicemotion'); @@ -42155,10 +30688,6 @@ class Window extends EventTarget * * See [EventStreamProvider] for usage information. */ - @DomName('Window.deviceorientationEvent') - @DocsEditable() - // http://dev.w3.org/geo/api/spec-source-orientation.html#devicemotion - @Experimental() static const EventStreamProvider deviceOrientationEvent = const EventStreamProvider('deviceorientation'); @@ -42169,13 +30698,9 @@ class Window extends EventTarget * * See [EventStreamProvider] for usage information. */ - @DomName('Window.hashchangeEvent') - @DocsEditable() static const EventStreamProvider hashChangeEvent = const EventStreamProvider('hashchange'); - @DomName('Window.loadstartEvent') - @DocsEditable() static const EventStreamProvider loadStartEvent = const EventStreamProvider('loadstart'); @@ -42185,8 +30710,6 @@ class Window extends EventTarget * * See [EventStreamProvider] for usage information. */ - @DomName('Window.messageEvent') - @DocsEditable() static const EventStreamProvider messageEvent = const EventStreamProvider('message'); @@ -42196,8 +30719,6 @@ class Window extends EventTarget * * See [EventStreamProvider] for usage information. */ - @DomName('Window.offlineEvent') - @DocsEditable() static const EventStreamProvider offlineEvent = const EventStreamProvider('offline'); @@ -42207,8 +30728,6 @@ class Window extends EventTarget * * See [EventStreamProvider] for usage information. */ - @DomName('Window.onlineEvent') - @DocsEditable() static const EventStreamProvider onlineEvent = const EventStreamProvider('online'); @@ -42218,8 +30737,6 @@ class Window extends EventTarget * * See [EventStreamProvider] for usage information. */ - @DomName('Window.pagehideEvent') - @DocsEditable() static const EventStreamProvider pageHideEvent = const EventStreamProvider('pagehide'); @@ -42229,8 +30746,6 @@ class Window extends EventTarget * * See [EventStreamProvider] for usage information. */ - @DomName('Window.pageshowEvent') - @DocsEditable() static const EventStreamProvider pageShowEvent = const EventStreamProvider('pageshow'); @@ -42240,13 +30755,9 @@ class Window extends EventTarget * * See [EventStreamProvider] for usage information. */ - @DomName('Window.popstateEvent') - @DocsEditable() static const EventStreamProvider popStateEvent = const EventStreamProvider('popstate'); - @DomName('Window.progressEvent') - @DocsEditable() static const EventStreamProvider progressEvent = const EventStreamProvider('progress'); @@ -42256,8 +30767,6 @@ class Window extends EventTarget * * See [EventStreamProvider] for usage information. */ - @DomName('Window.storageEvent') - @DocsEditable() static const EventStreamProvider storageEvent = const EventStreamProvider('storage'); @@ -42267,8 +30776,6 @@ class Window extends EventTarget * * See [EventStreamProvider] for usage information. */ - @DomName('Window.unloadEvent') - @DocsEditable() static const EventStreamProvider unloadEvent = const EventStreamProvider('unload'); @@ -42278,11 +30785,8 @@ class Window extends EventTarget * * See [EventStreamProvider] for usage information. */ - @DomName('Window.webkitAnimationEndEvent') - @DocsEditable() @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.SAFARI) - @Experimental() static const EventStreamProvider animationEndEvent = const EventStreamProvider('webkitAnimationEnd'); @@ -42292,11 +30796,8 @@ class Window extends EventTarget * * See [EventStreamProvider] for usage information. */ - @DomName('Window.webkitAnimationIterationEvent') - @DocsEditable() @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.SAFARI) - @Experimental() static const EventStreamProvider animationIterationEvent = const EventStreamProvider('webkitAnimationIteration'); @@ -42306,11 +30807,8 @@ class Window extends EventTarget * * See [EventStreamProvider] for usage information. */ - @DomName('Window.webkitAnimationStartEvent') - @DocsEditable() @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.SAFARI) - @Experimental() static const EventStreamProvider animationStartEvent = const EventStreamProvider('webkitAnimationStart'); @@ -42326,10 +30824,6 @@ class Window extends EventTarget * * [File API](http://www.w3.org/TR/file-system-api/#idl-def-LocalFileSystem) * from W3C. */ - @DomName('Window.PERSISTENT') - @DocsEditable() - // http://www.w3.org/TR/file-system-api/#idl-def-LocalFileSystem - @Experimental() static const int PERSISTENT = 1; /** @@ -42342,15 +30836,8 @@ class Window extends EventTarget * * [File API](http://www.w3.org/TR/file-system-api/#idl-def-LocalFileSystem) * from W3C. */ - @DomName('Window.TEMPORARY') - @DocsEditable() - // http://www.w3.org/TR/file-system-api/#idl-def-LocalFileSystem - @Experimental() static const int TEMPORARY = 0; - @DomName('Window.animationWorklet') - @DocsEditable() - @Experimental() // untriaged final _Worklet animationWorklet; /** @@ -42365,27 +30852,14 @@ class Window extends EventTarget * API](https://html.spec.whatwg.org/multipage/browsers.html#application-cache-api) * from WHATWG. */ - @DomName('Window.applicationCache') - @DocsEditable() final ApplicationCache applicationCache; - @DomName('Window.audioWorklet') - @DocsEditable() - @Experimental() // untriaged final _Worklet audioWorklet; - @DomName('Window.caches') - @DocsEditable() - @Experimental() // untriaged final CacheStorage caches; - @DomName('Window.closed') - @DocsEditable() final bool closed; - @DomName('Window.cookieStore') - @DocsEditable() - @Experimental() // untriaged final CookieStore cookieStore; /** @@ -42395,27 +30869,14 @@ class Window extends EventTarget * * * [Web cryptography API](http://www.w3.org/TR/WebCryptoAPI/) from W3C. */ - @DomName('Window.crypto') - @DocsEditable() - // http://www.w3.org/TR/WebCryptoAPI/ - @Experimental() final Crypto crypto; - @DomName('Window.customElements') - @DocsEditable() - @Experimental() // untriaged final CustomElementRegistry customElements; /// *Deprecated*. - @DomName('Window.defaultStatus') - @DocsEditable() - @Experimental() // non-standard String defaultStatus; /// *Deprecated*. - @DomName('Window.defaultstatus') - @DocsEditable() - @Experimental() // non-standard String defaultstatus; /** @@ -42428,15 +30889,8 @@ class Window extends EventTarget * * [More about devicePixelRatio](http://www.quirksmode.org/blog/archives/2012/07/more_about_devi.html) * from quirksmode. */ - @DomName('Window.devicePixelRatio') - @DocsEditable() - // http://www.quirksmode.org/blog/archives/2012/06/devicepixelrati.html - @Experimental() // non-standard final num devicePixelRatio; - @DomName('Window.external') - @DocsEditable() - @Experimental() // untriaged final External external; /** @@ -42447,8 +30901,6 @@ class Window extends EventTarget * * [Loading web pages](https://html.spec.whatwg.org/multipage/browsers.html) * from WHATWG. */ - @DomName('Window.history') - @DocsEditable() final History history; /** @@ -42459,8 +30911,6 @@ class Window extends EventTarget * * [innerHeight](http://docs.webplatform.org/wiki/css/cssom/properties/innerHeight) * from WebPlatform.org. */ - @DomName('Window.innerHeight') - @DocsEditable() final int innerHeight; /** @@ -42471,13 +30921,8 @@ class Window extends EventTarget * * [innerWidth](http://docs.webplatform.org/wiki/css/cssom/properties/innerWidth) * from WebPlatform.org. */ - @DomName('Window.innerWidth') - @DocsEditable() final int innerWidth; - @DomName('Window.isSecureContext') - @DocsEditable() - @Experimental() // untriaged final bool isSecureContext; /** @@ -42492,8 +30937,6 @@ class Window extends EventTarget * * [Local storage specification](http://www.w3.org/TR/webstorage/#the-localstorage-attribute) * from W3C. */ - @DomName('Window.localStorage') - @DocsEditable() final Storage localStorage; /** @@ -42505,8 +30948,6 @@ class Window extends EventTarget * elements](https://html.spec.whatwg.org/multipage/browsers.html#browser-interface-elements) * from WHATWG. */ - @DomName('Window.locationbar') - @DocsEditable() final BarProp locationbar; /** @@ -42518,8 +30959,6 @@ class Window extends EventTarget * elements](https://html.spec.whatwg.org/multipage/browsers.html#browser-interface-elements) * from WHATWG. */ - @DomName('Window.menubar') - @DocsEditable() final BarProp menubar; /** @@ -42530,8 +30969,6 @@ class Window extends EventTarget * * [Window name](http://docs.webplatform.org/wiki/html/attributes/name_(window)) * from WebPlatform.org. */ - @DomName('Window.name') - @DocsEditable() String name; /** @@ -42543,8 +30980,6 @@ class Window extends EventTarget * object](https://html.spec.whatwg.org/multipage/webappapis.html#the-navigator-object) * from WHATWG. */ - @DomName('Window.navigator') - @DocsEditable() final Navigator navigator; /** @@ -42555,17 +30990,10 @@ class Window extends EventTarget * * [offscreenBuffering](http://docs.webplatform.org/wiki/dom/properties/offscreenBuffering) * from WebPlatform.org. */ - @DomName('Window.offscreenBuffering') - @DocsEditable() - @Experimental() // non-standard final bool offscreenBuffering; - @DomName('Window.opener') - @DocsEditable() WindowBase get opener => _convertNativeToDart_Window(this._get_opener); @JSName('opener') - @DomName('Window.opener') - @DocsEditable() @Creates('Window|=Object') @Returns('Window|=Object') final dynamic _get_opener; @@ -42574,14 +31002,8 @@ class Window extends EventTarget JS("void", "#.opener = #", this, value); } - @DomName('Window.orientation') - @DocsEditable() - @Experimental() // untriaged final int orientation; - @DomName('Window.origin') - @DocsEditable() - @Experimental() // untriaged final String origin; /** @@ -42592,8 +31014,6 @@ class Window extends EventTarget * * [outerHeight](http://docs.webplatform.org/wiki/css/cssom/properties/outerHeight) * from WebPlatform.org. */ - @DomName('Window.outerHeight') - @DocsEditable() final int outerHeight; /** @@ -42604,8 +31024,6 @@ class Window extends EventTarget * * [outerWidth](http://docs.webplatform.org/wiki/css/cssom/properties/outerWidth) * from WebPlatform.org. */ - @DomName('Window.outerWidth') - @DocsEditable() final int outerWidth; @JSName('pageXOffset') @@ -42622,8 +31040,6 @@ class Window extends EventTarget * pageXOffset](https://developer.mozilla.org/en-US/docs/Web/API/Window.scrollX) * from MDN. */ - @DomName('Window.pageXOffset') - @DocsEditable() final num _pageXOffset; @JSName('pageYOffset') @@ -42640,16 +31056,10 @@ class Window extends EventTarget * pageYOffset](https://developer.mozilla.org/en-US/docs/Web/API/Window.scrollY) * from MDN. */ - @DomName('Window.pageYOffset') - @DocsEditable() final num _pageYOffset; - @DomName('Window.parent') - @DocsEditable() WindowBase get parent => _convertNativeToDart_Window(this._get_parent); @JSName('parent') - @DomName('Window.parent') - @DocsEditable() @Creates('Window|=Object') @Returns('Window|=Object') final dynamic _get_parent; @@ -42665,8 +31075,6 @@ class Window extends EventTarget * * [Navigation timing * specification](http://www.w3.org/TR/navigation-timing/) from W3C. */ - @DomName('Window.performance') - @DocsEditable() @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.FIREFOX) @SupportedBrowser(SupportedBrowser.IE) @@ -42680,8 +31088,6 @@ class Window extends EventTarget * * [The Screen interface specification](http://www.w3.org/TR/cssom-view/#screen) * from W3C. */ - @DomName('Window.screen') - @DocsEditable() final Screen screen; /** @@ -42693,8 +31099,6 @@ class Window extends EventTarget * * [The Screen interface specification](http://www.w3.org/TR/cssom-view/#screen) * from W3C. */ - @DomName('Window.screenLeft') - @DocsEditable() final int screenLeft; /** @@ -42705,8 +31109,6 @@ class Window extends EventTarget * * [The Screen interface specification](http://www.w3.org/TR/cssom-view/#screen) * from W3C. */ - @DomName('Window.screenTop') - @DocsEditable() final int screenTop; /** @@ -42717,8 +31119,6 @@ class Window extends EventTarget * * [The Screen interface specification](http://www.w3.org/TR/cssom-view/#screen) * from W3C. */ - @DomName('Window.screenX') - @DocsEditable() final int screenX; /** @@ -42729,8 +31129,6 @@ class Window extends EventTarget * * [The Screen interface specification](http://www.w3.org/TR/cssom-view/#screen) * from W3C. */ - @DomName('Window.screenY') - @DocsEditable() final int screenY; /** @@ -42742,8 +31140,6 @@ class Window extends EventTarget * elements](https://html.spec.whatwg.org/multipage/browsers.html#browser-interface-elements) * from WHATWG. */ - @DomName('Window.scrollbars') - @DocsEditable() final BarProp scrollbars; /** @@ -42754,8 +31150,6 @@ class Window extends EventTarget * * [Window.self](https://developer.mozilla.org/en-US/docs/Web/API/Window.self) * from MDN. */ - @DomName('Window.self') - @DocsEditable() WindowBase get self => _convertNativeToDart_Window(this._get_self); @JSName('self') /** @@ -42766,8 +31160,6 @@ class Window extends EventTarget * * [Window.self](https://developer.mozilla.org/en-US/docs/Web/API/Window.self) * from MDN. */ - @DomName('Window.self') - @DocsEditable() @Creates('Window|=Object') @Returns('Window|=Object') final dynamic _get_self; @@ -42785,8 +31177,6 @@ class Window extends EventTarget * * [Local storage * specification](http://www.w3.org/TR/webstorage/#dom-sessionstorage) from W3C. */ - @DomName('Window.sessionStorage') - @DocsEditable() final Storage sessionStorage; /** @@ -42798,15 +31188,9 @@ class Window extends EventTarget * specification](https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#tts-section) * from W3C. */ - @DomName('Window.speechSynthesis') - @DocsEditable() - // https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#tts-section - @Experimental() final SpeechSynthesis speechSynthesis; /// *Deprecated*. - @DomName('Window.status') - @DocsEditable() String status; /** @@ -42818,8 +31202,6 @@ class Window extends EventTarget * elements](https://html.spec.whatwg.org/multipage/browsers.html#browser-interface-elements) * from WHATWG. */ - @DomName('Window.statusbar') - @DocsEditable() final BarProp statusbar; /** @@ -42831,10 +31213,6 @@ class Window extends EventTarget * reference](https://developer.apple.com/library/safari/documentation/SafariDOMAdditions/Reference/StyleMedia/) * from Safari Developer Library. */ - @DomName('Window.styleMedia') - @DocsEditable() - // http://developer.apple.com/library/safari/#documentation/SafariDOMAdditions/Reference/StyleMedia/StyleMedia/StyleMedia.html - @Experimental() // nonstandard final StyleMedia styleMedia; /** @@ -42846,23 +31224,14 @@ class Window extends EventTarget * elements](https://html.spec.whatwg.org/multipage/browsers.html#browser-interface-elements) * from WHATWG. */ - @DomName('Window.toolbar') - @DocsEditable() final BarProp toolbar; - @DomName('Window.top') - @DocsEditable() WindowBase get top => _convertNativeToDart_Window(this._get_top); @JSName('top') - @DomName('Window.top') - @DocsEditable() @Creates('Window|=Object') @Returns('Window|=Object') final dynamic _get_top; - @DomName('Window.visualViewport') - @DocsEditable() - @Experimental() // untriaged final VisualViewport visualViewport; /** @@ -42873,8 +31242,6 @@ class Window extends EventTarget * * [Window.window](https://developer.mozilla.org/en-US/docs/Web/API/Window.window) * from MDN. */ - @DomName('Window.window') - @DocsEditable() WindowBase get window => _convertNativeToDart_Window(this._get_window); @JSName('window') /** @@ -42885,14 +31252,10 @@ class Window extends EventTarget * * [Window.window](https://developer.mozilla.org/en-US/docs/Web/API/Window.window) * from MDN. */ - @DomName('Window.window') - @DocsEditable() @Creates('Window|=Object') @Returns('Window|=Object') final dynamic _get_window; - @DomName('Window.__getter__') - @DocsEditable() @Creates('Window|=Object') @Returns('Window|=Object') WindowBase __getter__(index_OR_name) { @@ -42906,14 +31269,10 @@ class Window extends EventTarget } @JSName('__getter__') - @DomName('Window.__getter__') - @DocsEditable() @Creates('Window|=Object') @Returns('Window|=Object') __getter___1(int index) native; @JSName('__getter__') - @DomName('Window.__getter__') - @DocsEditable() @Creates('Window|=Object') @Returns('Window|=Object') __getter___2(String name) native; @@ -42926,17 +31285,10 @@ class Window extends EventTarget * * [User prompts](https://html.spec.whatwg.org/multipage/webappapis.html#user-prompts) * from WHATWG. */ - @DomName('Window.alert') - @DocsEditable() void alert([String message]) native; - @DomName('Window.cancelIdleCallback') - @DocsEditable() - @Experimental() // untriaged void cancelIdleCallback(int handle) native; - @DomName('Window.close') - @DocsEditable() void close() native; /** @@ -42947,13 +31299,8 @@ class Window extends EventTarget * * [User prompts](https://html.spec.whatwg.org/multipage/webappapis.html#user-prompts) * from WHATWG. */ - @DomName('Window.confirm') - @DocsEditable() bool confirm([String message]) native; - @DomName('Window.fetch') - @DocsEditable() - @Experimental() // untriaged Future fetch(/*RequestInfo*/ input, [Map init]) { if (init != null) { var init_1 = convertDartToNative_Dictionary(init); @@ -42963,14 +31310,8 @@ class Window extends EventTarget } @JSName('fetch') - @DomName('Window.fetch') - @DocsEditable() - @Experimental() // untriaged Future _fetch_1(input, init) native; @JSName('fetch') - @DomName('Window.fetch') - @DocsEditable() - @Experimental() // untriaged Future _fetch_2(input) native; /** @@ -42981,20 +31322,12 @@ class Window extends EventTarget * * [Window.find](https://developer.mozilla.org/en-US/docs/Web/API/Window.find) * from MDN. */ - @DomName('Window.find') - @DocsEditable() - @Experimental() // non-standard bool find(String string, bool caseSensitive, bool backwards, bool wrap, bool wholeWord, bool searchInFrames, bool showDialog) native; @JSName('getComputedStyle') - @DomName('Window.getComputedStyle') - @DocsEditable() CssStyleDeclaration _getComputedStyle(Element elt, [String pseudoElt]) native; - @DomName('Window.getComputedStyleMap') - @DocsEditable() - @Experimental() // untriaged StylePropertyMapReadonly getComputedStyleMap( Element element, String pseudoElement) native; @@ -43002,9 +31335,6 @@ class Window extends EventTarget /** * Returns all CSS rules that apply to the element's pseudo-element. */ - @DomName('Window.getMatchedCSSRules') - @DocsEditable() - @Experimental() // non-standard @Returns('_CssRuleList|Null') @Creates('_CssRuleList') List getMatchedCssRules(Element element, String pseudoElement) @@ -43018,8 +31348,6 @@ class Window extends EventTarget * * [Window.getSelection](https://developer.mozilla.org/en-US/docs/Web/API/Window.getSelection) * from MDN. */ - @DomName('Window.getSelection') - @DocsEditable() Selection getSelection() native; /** @@ -43033,8 +31361,6 @@ class Window extends EventTarget * * [The MediaQueryList * specification](http://www.w3.org/TR/cssom-view/#the-mediaquerylist-interface) from W3C. */ - @DomName('Window.matchMedia') - @DocsEditable() MediaQueryList matchMedia(String query) native; /** @@ -43048,32 +31374,21 @@ class Window extends EventTarget * from MDN. * * [Window.moveBy](http://dev.w3.org/csswg/cssom-view/#dom-window-moveby) from W3C. */ - @DomName('Window.moveBy') - @DocsEditable() void moveBy(int x, int y) native; @JSName('moveTo') - @DomName('Window.moveTo') - @DocsEditable() void _moveTo(int x, int y) native; @JSName('openDatabase') /// *Deprecated.* - @DomName('Window.openDatabase') - @DocsEditable() @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.SAFARI) - @Experimental() - // http://www.w3.org/TR/webdatabase/ - @Experimental() // deprecated @Creates('SqlDatabase') SqlDatabase _openDatabase( String name, String version, String displayName, int estimatedSize, [DatabaseCallback creationCallback]) native; - @DomName('Window.postMessage') - @DocsEditable() void postMessage(/*any*/ message, String targetOrigin, [List transfer]) { if (transfer != null) { @@ -43087,12 +31402,8 @@ class Window extends EventTarget } @JSName('postMessage') - @DomName('Window.postMessage') - @DocsEditable() void _postMessage_1(message, targetOrigin, List transfer) native; @JSName('postMessage') - @DomName('Window.postMessage') - @DocsEditable() void _postMessage_2(message, targetOrigin) native; /** @@ -43103,13 +31414,8 @@ class Window extends EventTarget * * [Window.print](https://developer.mozilla.org/en-US/docs/Web/API/Window.print) * from MDN. */ - @DomName('Window.print') - @DocsEditable() void print() native; - @DomName('Window.requestIdleCallback') - @DocsEditable() - @Experimental() // untriaged int requestIdleCallback(IdleRequestCallback callback, [Map options]) { if (options != null) { var options_1 = convertDartToNative_Dictionary(options); @@ -43119,14 +31425,8 @@ class Window extends EventTarget } @JSName('requestIdleCallback') - @DomName('Window.requestIdleCallback') - @DocsEditable() - @Experimental() // untriaged int _requestIdleCallback_1(IdleRequestCallback callback, options) native; @JSName('requestIdleCallback') - @DomName('Window.requestIdleCallback') - @DocsEditable() - @Experimental() // untriaged int _requestIdleCallback_2(IdleRequestCallback callback) native; /** @@ -43137,8 +31437,6 @@ class Window extends EventTarget * * [Window resizeBy](http://docs.webplatform.org/wiki/dom/methods/resizeBy) * from WebPlatform.org. */ - @DomName('Window.resizeBy') - @DocsEditable() void resizeBy(int x, int y) native; /** @@ -43149,8 +31447,6 @@ class Window extends EventTarget * * [Window resizeTo](http://docs.webplatform.org/wiki/dom/methods/resizeTo) * from WebPlatform.org. */ - @DomName('Window.resizeTo') - @DocsEditable() void resizeTo(int x, int y) native; /** @@ -43163,8 +31459,6 @@ class Window extends EventTarget * * [Window scroll](http://docs.webplatform.org/wiki/dom/methods/scroll) * from WebPlatform.org. */ - @DomName('Window.scroll') - @DocsEditable() void scroll([options_OR_x, y, Map scrollOptions]) { if (options_OR_x == null && y == null && scrollOptions == null) { _scroll_1(); @@ -43202,8 +31496,6 @@ class Window extends EventTarget * * [Window scroll](http://docs.webplatform.org/wiki/dom/methods/scroll) * from WebPlatform.org. */ - @DomName('Window.scroll') - @DocsEditable() void _scroll_1() native; @JSName('scroll') /** @@ -43216,8 +31508,6 @@ class Window extends EventTarget * * [Window scroll](http://docs.webplatform.org/wiki/dom/methods/scroll) * from WebPlatform.org. */ - @DomName('Window.scroll') - @DocsEditable() void _scroll_2(options) native; @JSName('scroll') /** @@ -43230,8 +31520,6 @@ class Window extends EventTarget * * [Window scroll](http://docs.webplatform.org/wiki/dom/methods/scroll) * from WebPlatform.org. */ - @DomName('Window.scroll') - @DocsEditable() void _scroll_3(num x, num y) native; @JSName('scroll') /** @@ -43244,8 +31532,6 @@ class Window extends EventTarget * * [Window scroll](http://docs.webplatform.org/wiki/dom/methods/scroll) * from WebPlatform.org. */ - @DomName('Window.scroll') - @DocsEditable() void _scroll_4(int x, int y) native; @JSName('scroll') /** @@ -43258,8 +31544,6 @@ class Window extends EventTarget * * [Window scroll](http://docs.webplatform.org/wiki/dom/methods/scroll) * from WebPlatform.org. */ - @DomName('Window.scroll') - @DocsEditable() void _scroll_5(int x, int y, scrollOptions) native; /** @@ -43270,8 +31554,6 @@ class Window extends EventTarget * * [Window scrollBy](http://docs.webplatform.org/wiki/dom/methods/scrollBy) * from WebPlatform.org. */ - @DomName('Window.scrollBy') - @DocsEditable() void scrollBy([options_OR_x, y, Map scrollOptions]) { if (options_OR_x == null && y == null && scrollOptions == null) { _scrollBy_1(); @@ -43307,8 +31589,6 @@ class Window extends EventTarget * * [Window scrollBy](http://docs.webplatform.org/wiki/dom/methods/scrollBy) * from WebPlatform.org. */ - @DomName('Window.scrollBy') - @DocsEditable() void _scrollBy_1() native; @JSName('scrollBy') /** @@ -43319,8 +31599,6 @@ class Window extends EventTarget * * [Window scrollBy](http://docs.webplatform.org/wiki/dom/methods/scrollBy) * from WebPlatform.org. */ - @DomName('Window.scrollBy') - @DocsEditable() void _scrollBy_2(options) native; @JSName('scrollBy') /** @@ -43331,8 +31609,6 @@ class Window extends EventTarget * * [Window scrollBy](http://docs.webplatform.org/wiki/dom/methods/scrollBy) * from WebPlatform.org. */ - @DomName('Window.scrollBy') - @DocsEditable() void _scrollBy_3(num x, num y) native; @JSName('scrollBy') /** @@ -43343,8 +31619,6 @@ class Window extends EventTarget * * [Window scrollBy](http://docs.webplatform.org/wiki/dom/methods/scrollBy) * from WebPlatform.org. */ - @DomName('Window.scrollBy') - @DocsEditable() void _scrollBy_4(int x, int y) native; @JSName('scrollBy') /** @@ -43355,8 +31629,6 @@ class Window extends EventTarget * * [Window scrollBy](http://docs.webplatform.org/wiki/dom/methods/scrollBy) * from WebPlatform.org. */ - @DomName('Window.scrollBy') - @DocsEditable() void _scrollBy_5(int x, int y, scrollOptions) native; /** @@ -43369,8 +31641,6 @@ class Window extends EventTarget * * [Window scrollTo](http://docs.webplatform.org/wiki/dom/methods/scrollTo) * from WebPlatform.org. */ - @DomName('Window.scrollTo') - @DocsEditable() void scrollTo([options_OR_x, y, Map scrollOptions]) { if (options_OR_x == null && y == null && scrollOptions == null) { _scrollTo_1(); @@ -43408,8 +31678,6 @@ class Window extends EventTarget * * [Window scrollTo](http://docs.webplatform.org/wiki/dom/methods/scrollTo) * from WebPlatform.org. */ - @DomName('Window.scrollTo') - @DocsEditable() void _scrollTo_1() native; @JSName('scrollTo') /** @@ -43422,8 +31690,6 @@ class Window extends EventTarget * * [Window scrollTo](http://docs.webplatform.org/wiki/dom/methods/scrollTo) * from WebPlatform.org. */ - @DomName('Window.scrollTo') - @DocsEditable() void _scrollTo_2(options) native; @JSName('scrollTo') /** @@ -43436,8 +31702,6 @@ class Window extends EventTarget * * [Window scrollTo](http://docs.webplatform.org/wiki/dom/methods/scrollTo) * from WebPlatform.org. */ - @DomName('Window.scrollTo') - @DocsEditable() void _scrollTo_3(num x, num y) native; @JSName('scrollTo') /** @@ -43450,8 +31714,6 @@ class Window extends EventTarget * * [Window scrollTo](http://docs.webplatform.org/wiki/dom/methods/scrollTo) * from WebPlatform.org. */ - @DomName('Window.scrollTo') - @DocsEditable() void _scrollTo_4(int x, int y) native; @JSName('scrollTo') /** @@ -43464,8 +31726,6 @@ class Window extends EventTarget * * [Window scrollTo](http://docs.webplatform.org/wiki/dom/methods/scrollTo) * from WebPlatform.org. */ - @DomName('Window.scrollTo') - @DocsEditable() void _scrollTo_5(int x, int y, scrollOptions) native; /** @@ -43477,26 +31737,16 @@ class Window extends EventTarget * object](http://www.w3.org/html/wg/drafts/html/master/browsers.html#the-window-object) * from W3C. */ - @DomName('Window.stop') - @DocsEditable() void stop() native; @JSName('webkitRequestFileSystem') - @DomName('Window.webkitRequestFileSystem') - @DocsEditable() @SupportedBrowser(SupportedBrowser.CHROME) - @Experimental() - // http://www.w3.org/TR/file-system-api/#idl-def-LocalFileSystem void __requestFileSystem( int type, int size, _FileSystemCallback successCallback, [_ErrorCallback errorCallback]) native; @JSName('webkitRequestFileSystem') - @DomName('Window.webkitRequestFileSystem') - @DocsEditable() @SupportedBrowser(SupportedBrowser.CHROME) - @Experimental() - // http://www.w3.org/TR/file-system-api/#idl-def-LocalFileSystem Future _requestFileSystem(int type, int size) { var completer = new Completer(); __requestFileSystem(type, size, (value) { @@ -43519,11 +31769,7 @@ class Window extends EventTarget * points](http://www.w3.org/TR/file-system-api/#obtaining-access-to-file-system-entry-points) * from W3C. */ - @DomName('Window.webkitResolveLocalFileSystemURL') - @DocsEditable() @SupportedBrowser(SupportedBrowser.CHROME) - @Experimental() - // http://www.w3.org/TR/file-system-api/#idl-def-LocalFileSystem void _resolveLocalFileSystemUrl(String url, _EntryCallback successCallback, [_ErrorCallback errorCallback]) native; @@ -43537,11 +31783,7 @@ class Window extends EventTarget * points](http://www.w3.org/TR/file-system-api/#obtaining-access-to-file-system-entry-points) * from W3C. */ - @DomName('Window.webkitResolveLocalFileSystemURL') - @DocsEditable() @SupportedBrowser(SupportedBrowser.CHROME) - @Experimental() - // http://www.w3.org/TR/file-system-api/#idl-def-LocalFileSystem Future resolveLocalFileSystemUrl(String url) { var completer = new Completer(); _resolveLocalFileSystemUrl(url, (value) { @@ -43554,434 +31796,249 @@ class Window extends EventTarget // From WindowBase64 - @DomName('Window.atob') - @DocsEditable() String atob(String atob) native; - @DomName('Window.btoa') - @DocsEditable() String btoa(String btoa) native; // From WindowTimers @JSName('setInterval') - @DomName('Window.setInterval') - @DocsEditable() int _setInterval_String(String handler, [int timeout, Object arguments]) native; @JSName('setTimeout') - @DomName('Window.setTimeout') - @DocsEditable() int _setTimeout_String(String handler, [int timeout, Object arguments]) native; @JSName('clearInterval') - @DomName('Window.clearInterval') - @DocsEditable() void _clearInterval([int handle]) native; @JSName('clearTimeout') - @DomName('Window.clearTimeout') - @DocsEditable() void _clearTimeout([int handle]) native; @JSName('setInterval') - @DomName('Window.setInterval') - @DocsEditable() int _setInterval(Object handler, [int timeout]) native; @JSName('setTimeout') - @DomName('Window.setTimeout') - @DocsEditable() int _setTimeout(Object handler, [int timeout]) native; /// Stream of `contentloaded` events handled by this [Window]. - @DomName('Window.onDOMContentLoaded') - @DocsEditable() Stream get onContentLoaded => contentLoadedEvent.forTarget(this); /// Stream of `abort` events handled by this [Window]. - @DomName('Window.onabort') - @DocsEditable() Stream get onAbort => Element.abortEvent.forTarget(this); /// Stream of `blur` events handled by this [Window]. - @DomName('Window.onblur') - @DocsEditable() Stream get onBlur => Element.blurEvent.forTarget(this); - @DomName('Window.oncanplay') - @DocsEditable() Stream get onCanPlay => Element.canPlayEvent.forTarget(this); - @DomName('Window.oncanplaythrough') - @DocsEditable() Stream get onCanPlayThrough => Element.canPlayThroughEvent.forTarget(this); /// Stream of `change` events handled by this [Window]. - @DomName('Window.onchange') - @DocsEditable() Stream get onChange => Element.changeEvent.forTarget(this); /// Stream of `click` events handled by this [Window]. - @DomName('Window.onclick') - @DocsEditable() Stream get onClick => Element.clickEvent.forTarget(this); /// Stream of `contextmenu` events handled by this [Window]. - @DomName('Window.oncontextmenu') - @DocsEditable() Stream get onContextMenu => Element.contextMenuEvent.forTarget(this); /// Stream of `doubleclick` events handled by this [Window]. - @DomName('Window.ondblclick') - @DocsEditable() Stream get onDoubleClick => Element.doubleClickEvent.forTarget(this); /// Stream of `devicemotion` events handled by this [Window]. - @DomName('Window.ondevicemotion') - @DocsEditable() - // http://dev.w3.org/geo/api/spec-source-orientation.html#devicemotion - @Experimental() Stream get onDeviceMotion => deviceMotionEvent.forTarget(this); /// Stream of `deviceorientation` events handled by this [Window]. - @DomName('Window.ondeviceorientation') - @DocsEditable() - // http://dev.w3.org/geo/api/spec-source-orientation.html#devicemotion - @Experimental() Stream get onDeviceOrientation => deviceOrientationEvent.forTarget(this); /// Stream of `drag` events handled by this [Window]. - @DomName('Window.ondrag') - @DocsEditable() Stream get onDrag => Element.dragEvent.forTarget(this); /// Stream of `dragend` events handled by this [Window]. - @DomName('Window.ondragend') - @DocsEditable() Stream get onDragEnd => Element.dragEndEvent.forTarget(this); /// Stream of `dragenter` events handled by this [Window]. - @DomName('Window.ondragenter') - @DocsEditable() Stream get onDragEnter => Element.dragEnterEvent.forTarget(this); /// Stream of `dragleave` events handled by this [Window]. - @DomName('Window.ondragleave') - @DocsEditable() Stream get onDragLeave => Element.dragLeaveEvent.forTarget(this); /// Stream of `dragover` events handled by this [Window]. - @DomName('Window.ondragover') - @DocsEditable() Stream get onDragOver => Element.dragOverEvent.forTarget(this); /// Stream of `dragstart` events handled by this [Window]. - @DomName('Window.ondragstart') - @DocsEditable() Stream get onDragStart => Element.dragStartEvent.forTarget(this); /// Stream of `drop` events handled by this [Window]. - @DomName('Window.ondrop') - @DocsEditable() Stream get onDrop => Element.dropEvent.forTarget(this); - @DomName('Window.ondurationchange') - @DocsEditable() Stream get onDurationChange => Element.durationChangeEvent.forTarget(this); - @DomName('Window.onemptied') - @DocsEditable() Stream get onEmptied => Element.emptiedEvent.forTarget(this); - @DomName('Window.onended') - @DocsEditable() Stream get onEnded => Element.endedEvent.forTarget(this); /// Stream of `error` events handled by this [Window]. - @DomName('Window.onerror') - @DocsEditable() Stream get onError => Element.errorEvent.forTarget(this); /// Stream of `focus` events handled by this [Window]. - @DomName('Window.onfocus') - @DocsEditable() Stream get onFocus => Element.focusEvent.forTarget(this); /// Stream of `hashchange` events handled by this [Window]. - @DomName('Window.onhashchange') - @DocsEditable() Stream get onHashChange => hashChangeEvent.forTarget(this); /// Stream of `input` events handled by this [Window]. - @DomName('Window.oninput') - @DocsEditable() Stream get onInput => Element.inputEvent.forTarget(this); /// Stream of `invalid` events handled by this [Window]. - @DomName('Window.oninvalid') - @DocsEditable() Stream get onInvalid => Element.invalidEvent.forTarget(this); /// Stream of `keydown` events handled by this [Window]. - @DomName('Window.onkeydown') - @DocsEditable() Stream get onKeyDown => Element.keyDownEvent.forTarget(this); /// Stream of `keypress` events handled by this [Window]. - @DomName('Window.onkeypress') - @DocsEditable() Stream get onKeyPress => Element.keyPressEvent.forTarget(this); /// Stream of `keyup` events handled by this [Window]. - @DomName('Window.onkeyup') - @DocsEditable() Stream get onKeyUp => Element.keyUpEvent.forTarget(this); /// Stream of `load` events handled by this [Window]. - @DomName('Window.onload') - @DocsEditable() Stream get onLoad => Element.loadEvent.forTarget(this); - @DomName('Window.onloadeddata') - @DocsEditable() Stream get onLoadedData => Element.loadedDataEvent.forTarget(this); - @DomName('Window.onloadedmetadata') - @DocsEditable() Stream get onLoadedMetadata => Element.loadedMetadataEvent.forTarget(this); - @DomName('Window.onloadstart') - @DocsEditable() Stream get onLoadStart => loadStartEvent.forTarget(this); /// Stream of `message` events handled by this [Window]. - @DomName('Window.onmessage') - @DocsEditable() Stream get onMessage => messageEvent.forTarget(this); /// Stream of `mousedown` events handled by this [Window]. - @DomName('Window.onmousedown') - @DocsEditable() Stream get onMouseDown => Element.mouseDownEvent.forTarget(this); /// Stream of `mouseenter` events handled by this [Window]. - @DomName('Window.onmouseenter') - @DocsEditable() - @Experimental() // untriaged Stream get onMouseEnter => Element.mouseEnterEvent.forTarget(this); /// Stream of `mouseleave` events handled by this [Window]. - @DomName('Window.onmouseleave') - @DocsEditable() - @Experimental() // untriaged Stream get onMouseLeave => Element.mouseLeaveEvent.forTarget(this); /// Stream of `mousemove` events handled by this [Window]. - @DomName('Window.onmousemove') - @DocsEditable() Stream get onMouseMove => Element.mouseMoveEvent.forTarget(this); /// Stream of `mouseout` events handled by this [Window]. - @DomName('Window.onmouseout') - @DocsEditable() Stream get onMouseOut => Element.mouseOutEvent.forTarget(this); /// Stream of `mouseover` events handled by this [Window]. - @DomName('Window.onmouseover') - @DocsEditable() Stream get onMouseOver => Element.mouseOverEvent.forTarget(this); /// Stream of `mouseup` events handled by this [Window]. - @DomName('Window.onmouseup') - @DocsEditable() Stream get onMouseUp => Element.mouseUpEvent.forTarget(this); /// Stream of `mousewheel` events handled by this [Window]. - @DomName('Window.onmousewheel') - @DocsEditable() Stream get onMouseWheel => Element.mouseWheelEvent.forTarget(this); /// Stream of `offline` events handled by this [Window]. - @DomName('Window.onoffline') - @DocsEditable() Stream get onOffline => offlineEvent.forTarget(this); /// Stream of `online` events handled by this [Window]. - @DomName('Window.ononline') - @DocsEditable() Stream get onOnline => onlineEvent.forTarget(this); /// Stream of `pagehide` events handled by this [Window]. - @DomName('Window.onpagehide') - @DocsEditable() Stream get onPageHide => pageHideEvent.forTarget(this); /// Stream of `pageshow` events handled by this [Window]. - @DomName('Window.onpageshow') - @DocsEditable() Stream get onPageShow => pageShowEvent.forTarget(this); - @DomName('Window.onpause') - @DocsEditable() Stream get onPause => Element.pauseEvent.forTarget(this); - @DomName('Window.onplay') - @DocsEditable() Stream get onPlay => Element.playEvent.forTarget(this); - @DomName('Window.onplaying') - @DocsEditable() Stream get onPlaying => Element.playingEvent.forTarget(this); /// Stream of `popstate` events handled by this [Window]. - @DomName('Window.onpopstate') - @DocsEditable() Stream get onPopState => popStateEvent.forTarget(this); - @DomName('Window.onprogress') - @DocsEditable() Stream get onProgress => progressEvent.forTarget(this); - @DomName('Window.onratechange') - @DocsEditable() Stream get onRateChange => Element.rateChangeEvent.forTarget(this); /// Stream of `reset` events handled by this [Window]. - @DomName('Window.onreset') - @DocsEditable() Stream get onReset => Element.resetEvent.forTarget(this); /// Stream of `resize` events handled by this [Window]. - @DomName('Window.onresize') - @DocsEditable() Stream get onResize => Element.resizeEvent.forTarget(this); /// Stream of `scroll` events handled by this [Window]. - @DomName('Window.onscroll') - @DocsEditable() Stream get onScroll => Element.scrollEvent.forTarget(this); /// Stream of `search` events handled by this [Window]. - @DomName('Window.onsearch') - @DocsEditable() - // http://www.w3.org/TR/html-markup/input.search.html - @Experimental() Stream get onSearch => Element.searchEvent.forTarget(this); - @DomName('Window.onseeked') - @DocsEditable() Stream get onSeeked => Element.seekedEvent.forTarget(this); - @DomName('Window.onseeking') - @DocsEditable() Stream get onSeeking => Element.seekingEvent.forTarget(this); /// Stream of `select` events handled by this [Window]. - @DomName('Window.onselect') - @DocsEditable() Stream get onSelect => Element.selectEvent.forTarget(this); - @DomName('Window.onstalled') - @DocsEditable() Stream get onStalled => Element.stalledEvent.forTarget(this); /// Stream of `storage` events handled by this [Window]. - @DomName('Window.onstorage') - @DocsEditable() Stream get onStorage => storageEvent.forTarget(this); /// Stream of `submit` events handled by this [Window]. - @DomName('Window.onsubmit') - @DocsEditable() Stream get onSubmit => Element.submitEvent.forTarget(this); - @DomName('Window.onsuspend') - @DocsEditable() Stream get onSuspend => Element.suspendEvent.forTarget(this); - @DomName('Window.ontimeupdate') - @DocsEditable() Stream get onTimeUpdate => Element.timeUpdateEvent.forTarget(this); /// Stream of `touchcancel` events handled by this [Window]. - @DomName('Window.ontouchcancel') - @DocsEditable() - // http://www.w3.org/TR/touch-events/, http://www.chromestatus.com/features - @Experimental() Stream get onTouchCancel => Element.touchCancelEvent.forTarget(this); /// Stream of `touchend` events handled by this [Window]. - @DomName('Window.ontouchend') - @DocsEditable() - // http://www.w3.org/TR/touch-events/, http://www.chromestatus.com/features - @Experimental() Stream get onTouchEnd => Element.touchEndEvent.forTarget(this); /// Stream of `touchmove` events handled by this [Window]. - @DomName('Window.ontouchmove') - @DocsEditable() - // http://www.w3.org/TR/touch-events/, http://www.chromestatus.com/features - @Experimental() Stream get onTouchMove => Element.touchMoveEvent.forTarget(this); /// Stream of `touchstart` events handled by this [Window]. - @DomName('Window.ontouchstart') - @DocsEditable() - // http://www.w3.org/TR/touch-events/, http://www.chromestatus.com/features - @Experimental() Stream get onTouchStart => Element.touchStartEvent.forTarget(this); /// Stream of `transitionend` events handled by this [Window]. - @DomName('Window.ontransitionend') - @DocsEditable() Stream get onTransitionEnd => Element.transitionEndEvent.forTarget(this); /// Stream of `unload` events handled by this [Window]. - @DomName('Window.onunload') - @DocsEditable() Stream get onUnload => unloadEvent.forTarget(this); - @DomName('Window.onvolumechange') - @DocsEditable() Stream get onVolumeChange => Element.volumeChangeEvent.forTarget(this); - @DomName('Window.onwaiting') - @DocsEditable() Stream get onWaiting => Element.waitingEvent.forTarget(this); /// Stream of `animationend` events handled by this [Window]. - @DomName('Window.onwebkitAnimationEnd') - @DocsEditable() - @Experimental() Stream get onAnimationEnd => animationEndEvent.forTarget(this); /// Stream of `animationiteration` events handled by this [Window]. - @DomName('Window.onwebkitAnimationIteration') - @DocsEditable() - @Experimental() Stream get onAnimationIteration => animationIterationEvent.forTarget(this); /// Stream of `animationstart` events handled by this [Window]. - @DomName('Window.onwebkitAnimationStart') - @DocsEditable() - @Experimental() Stream get onAnimationStart => animationStartEvent.forTarget(this); @@ -43991,16 +32048,13 @@ class Window extends EventTarget * * See [EventStreamProvider] for usage information. */ - @DomName('Window.beforeunloadEvent') static const EventStreamProvider beforeUnloadEvent = const _BeforeUnloadEventStreamProvider('beforeunload'); /// Stream of `beforeunload` events handled by this [Window]. - @DomName('Window.onbeforeunload') Stream get onBeforeUnload => beforeUnloadEvent.forTarget(this); /// Stream of `wheel` events handled by this [Window]. - @DomName('Window.onWheel') Stream get onWheel => Element.wheelEvent.forTarget(this); /** @@ -44020,11 +32074,8 @@ class Window extends EventTarget } @JSName('openDatabase') - @DomName('Window.openDatabase') - @DocsEditable() @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.SAFARI) - @Experimental() @Creates('SqlDatabase') SqlDatabase openDatabase( String name, String version, String displayName, int estimatedSize, @@ -44041,12 +32092,8 @@ class Window extends EventTarget return db; } - @DomName('Window.pageXOffset') - @DocsEditable() int get pageXOffset => JS('num', '#.pageXOffset', this).round(); - @DomName('Window.pageYOffset') - @DocsEditable() int get pageYOffset => JS('num', '#.pageYOffset', this).round(); /** @@ -44059,8 +32106,6 @@ class Window extends EventTarget * * [scrollX](https://developer.mozilla.org/en-US/docs/Web/API/Window.scrollX) * from MDN. */ - @DomName('Window.scrollX') - @DocsEditable() int get scrollX => JS('bool', '("scrollX" in #)', this) ? JS('num', '#.scrollX', this).round() : document.documentElement.scrollLeft; @@ -44075,8 +32120,6 @@ class Window extends EventTarget * * [scrollY](https://developer.mozilla.org/en-US/docs/Web/API/Window.scrollY) * from MDN. */ - @DomName('Window.scrollY') - @DocsEditable() int get scrollY => JS('bool', '("scrollY" in #)', this) ? JS('num', '#.scrollY', this).round() : document.documentElement.scrollTop; @@ -44140,9 +32183,6 @@ class _BeforeUnloadEventStreamProvider // 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('WindowBase64') -@Experimental() // untriaged abstract class WindowBase64 extends Interceptor { // To suppress missing implicit constructor warnings. factory WindowBase64._() { @@ -44157,9 +32197,6 @@ abstract class WindowBase64 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('WindowClient') -@Experimental() // untriaged @Native("WindowClient") class WindowClient extends Client { // To suppress missing implicit constructor warnings. @@ -44167,25 +32204,13 @@ class WindowClient extends Client { throw new UnsupportedError("Not supported"); } - @DomName('WindowClient.focused') - @DocsEditable() - @Experimental() // untriaged final bool focused; - @DomName('WindowClient.visibilityState') - @DocsEditable() - @Experimental() // untriaged final String visibilityState; - @DomName('WindowClient.focus') - @DocsEditable() - @Experimental() // untriaged Future focus() => promiseToFuture(JS("", "#.focus()", this)); - @DomName('WindowClient.navigate') - @DocsEditable() - @Experimental() // untriaged Future navigate(String url) => promiseToFuture(JS("", "#.navigate(#)", this, url)); } @@ -44193,104 +32218,55 @@ class WindowClient extends Client { // 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('WindowEventHandlers') -@Experimental() // untriaged abstract class WindowEventHandlers extends EventTarget { // To suppress missing implicit constructor warnings. factory WindowEventHandlers._() { throw new UnsupportedError("Not supported"); } - @DomName('WindowEventHandlers.hashchangeEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider hashChangeEvent = const EventStreamProvider('hashchange'); - @DomName('WindowEventHandlers.messageEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider messageEvent = const EventStreamProvider('message'); - @DomName('WindowEventHandlers.offlineEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider offlineEvent = const EventStreamProvider('offline'); - @DomName('WindowEventHandlers.onlineEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider onlineEvent = const EventStreamProvider('online'); - @DomName('WindowEventHandlers.popstateEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider popStateEvent = const EventStreamProvider('popstate'); - @DomName('WindowEventHandlers.storageEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider storageEvent = const EventStreamProvider('storage'); - @DomName('WindowEventHandlers.unloadEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider unloadEvent = const EventStreamProvider('unload'); - @DomName('WindowEventHandlers.onhashchange') - @DocsEditable() - @Experimental() // untriaged Stream get onHashChange => hashChangeEvent.forTarget(this); - @DomName('WindowEventHandlers.onmessage') - @DocsEditable() - @Experimental() // untriaged Stream get onMessage => messageEvent.forTarget(this); - @DomName('WindowEventHandlers.onoffline') - @DocsEditable() - @Experimental() // untriaged Stream get onOffline => offlineEvent.forTarget(this); - @DomName('WindowEventHandlers.ononline') - @DocsEditable() - @Experimental() // untriaged Stream get onOnline => onlineEvent.forTarget(this); - @DomName('WindowEventHandlers.onpopstate') - @DocsEditable() - @Experimental() // untriaged Stream get onPopState => popStateEvent.forTarget(this); - @DomName('WindowEventHandlers.onstorage') - @DocsEditable() - @Experimental() // untriaged Stream get onStorage => storageEvent.forTarget(this); - @DomName('WindowEventHandlers.onunload') - @DocsEditable() - @Experimental() // untriaged Stream get onUnload => unloadEvent.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('Worker') @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.FIREFOX) @SupportedBrowser(SupportedBrowser.IE, '10') @SupportedBrowser(SupportedBrowser.SAFARI) -// http://www.whatwg.org/specs/web-apps/current-work/multipage/workers.html#worker -@Experimental() // stable @Native("Worker") class Worker extends EventTarget implements AbstractWorker { // To suppress missing implicit constructor warnings. @@ -44304,9 +32280,6 @@ class Worker extends EventTarget implements AbstractWorker { * * See [EventStreamProvider] for usage information. */ - @DomName('Worker.errorEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider errorEvent = const EventStreamProvider('error'); @@ -44316,13 +32289,9 @@ class Worker extends EventTarget implements AbstractWorker { * * See [EventStreamProvider] for usage information. */ - @DomName('Worker.messageEvent') - @DocsEditable() static const EventStreamProvider messageEvent = const EventStreamProvider('message'); - @DomName('Worker.Worker') - @DocsEditable() factory Worker(String scriptUrl) { return Worker._create_1(scriptUrl); } @@ -44333,32 +32302,20 @@ class Worker extends EventTarget implements AbstractWorker { static bool get supported => JS('bool', '(typeof window.Worker != "undefined")'); - @DomName('Worker.postMessage') - @DocsEditable() void postMessage(Object message, [List transfer]) native; - @DomName('Worker.terminate') - @DocsEditable() void terminate() native; /// Stream of `error` events handled by this [Worker]. - @DomName('Worker.onerror') - @DocsEditable() - @Experimental() // untriaged Stream get onError => errorEvent.forTarget(this); /// Stream of `message` events handled by this [Worker]. - @DomName('Worker.onmessage') - @DocsEditable() Stream get onMessage => messageEvent.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('WorkerGlobalScope') -@Experimental() // untriaged @Native("WorkerGlobalScope") class WorkerGlobalScope extends EventTarget implements _WindowTimers, WindowBase64 { @@ -44373,65 +32330,29 @@ class WorkerGlobalScope extends EventTarget * * See [EventStreamProvider] for usage information. */ - @DomName('WorkerGlobalScope.errorEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider errorEvent = const EventStreamProvider('error'); - @DomName('WorkerGlobalScope.addressSpace') - @DocsEditable() - @Experimental() // untriaged final String addressSpace; - @DomName('WorkerGlobalScope.caches') - @DocsEditable() - @Experimental() // untriaged final CacheStorage caches; - @DomName('WorkerGlobalScope.crypto') - @DocsEditable() - @Experimental() // untriaged final Crypto crypto; - @DomName('WorkerGlobalScope.indexedDB') - @DocsEditable() - @Experimental() // untriaged final IdbFactory indexedDB; - @DomName('WorkerGlobalScope.isSecureContext') - @DocsEditable() - @Experimental() // untriaged final bool isSecureContext; - @DomName('WorkerGlobalScope.location') - @DocsEditable() - @Experimental() // untriaged final _WorkerLocation location; - @DomName('WorkerGlobalScope.navigator') - @DocsEditable() - @Experimental() // untriaged final _WorkerNavigator navigator; - @DomName('WorkerGlobalScope.origin') - @DocsEditable() - @Experimental() // untriaged final String origin; - @DomName('WorkerGlobalScope.performance') - @DocsEditable() - @Experimental() // untriaged final WorkerPerformance performance; - @DomName('WorkerGlobalScope.self') - @DocsEditable() - @Experimental() // untriaged final WorkerGlobalScope self; - @DomName('WorkerGlobalScope.fetch') - @DocsEditable() - @Experimental() // untriaged Future fetch(/*RequestInfo*/ input, [Map init]) { if (init != null) { var init_1 = convertDartToNative_Dictionary(init); @@ -44441,86 +32362,47 @@ class WorkerGlobalScope extends EventTarget } @JSName('fetch') - @DomName('WorkerGlobalScope.fetch') - @DocsEditable() - @Experimental() // untriaged Future _fetch_1(input, init) native; @JSName('fetch') - @DomName('WorkerGlobalScope.fetch') - @DocsEditable() - @Experimental() // untriaged Future _fetch_2(input) native; - @DomName('WorkerGlobalScope.importScripts') - @DocsEditable() - @Experimental() // untriaged void importScripts(String urls) native; // From WindowBase64 - @DomName('WorkerGlobalScope.atob') - @DocsEditable() - @Experimental() // untriaged String atob(String atob) native; - @DomName('WorkerGlobalScope.btoa') - @DocsEditable() - @Experimental() // untriaged String btoa(String btoa) native; // From WindowTimers @JSName('setInterval') - @DomName('WorkerGlobalScope.setInterval') - @DocsEditable() - @Experimental() // untriaged int _setInterval_String(String handler, [int timeout, Object arguments]) native; @JSName('setTimeout') - @DomName('WorkerGlobalScope.setTimeout') - @DocsEditable() - @Experimental() // untriaged int _setTimeout_String(String handler, [int timeout, Object arguments]) native; @JSName('clearInterval') - @DomName('WorkerGlobalScope.clearInterval') - @DocsEditable() - @Experimental() // untriaged void _clearInterval([int handle]) native; @JSName('clearTimeout') - @DomName('WorkerGlobalScope.clearTimeout') - @DocsEditable() - @Experimental() // untriaged void _clearTimeout([int handle]) native; @JSName('setInterval') - @DomName('WorkerGlobalScope.setInterval') - @DocsEditable() - @Experimental() // untriaged int _setInterval(Object handler, [int timeout]) native; @JSName('setTimeout') - @DomName('WorkerGlobalScope.setTimeout') - @DocsEditable() - @Experimental() // untriaged int _setTimeout(Object handler, [int timeout]) native; /// Stream of `error` events handled by this [WorkerGlobalScope]. - @DomName('WorkerGlobalScope.onerror') - @DocsEditable() - @Experimental() // untriaged 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('WorkerPerformance') -@Experimental() // untriaged @Native("WorkerPerformance") class WorkerPerformance extends EventTarget { // To suppress missing implicit constructor warnings. @@ -44528,73 +32410,34 @@ class WorkerPerformance extends EventTarget { throw new UnsupportedError("Not supported"); } - @DomName('WorkerPerformance.memory') - @DocsEditable() - @Experimental() // untriaged final MemoryInfo memory; - @DomName('WorkerPerformance.timeOrigin') - @DocsEditable() - @Experimental() // untriaged final num timeOrigin; - @DomName('WorkerPerformance.clearMarks') - @DocsEditable() - @Experimental() // untriaged void clearMarks(String markName) native; - @DomName('WorkerPerformance.clearMeasures') - @DocsEditable() - @Experimental() // untriaged void clearMeasures(String measureName) native; - @DomName('WorkerPerformance.clearResourceTimings') - @DocsEditable() - @Experimental() // untriaged void clearResourceTimings() native; - @DomName('WorkerPerformance.getEntries') - @DocsEditable() - @Experimental() // untriaged List getEntries() native; - @DomName('WorkerPerformance.getEntriesByName') - @DocsEditable() - @Experimental() // untriaged List getEntriesByName(String name, String entryType) native; - @DomName('WorkerPerformance.getEntriesByType') - @DocsEditable() - @Experimental() // untriaged List getEntriesByType(String entryType) native; - @DomName('WorkerPerformance.mark') - @DocsEditable() - @Experimental() // untriaged void mark(String markName) native; - @DomName('WorkerPerformance.measure') - @DocsEditable() - @Experimental() // untriaged void measure(String measureName, String startMark, String endMark) native; - @DomName('WorkerPerformance.now') - @DocsEditable() - @Experimental() // untriaged double now() native; - @DomName('WorkerPerformance.setResourceTimingBufferSize') - @DocsEditable() - @Experimental() // untriaged void setResourceTimingBufferSize(int maxSize) 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('WorkletAnimation') -@Experimental() // untriaged @Native("WorkletAnimation") class WorkletAnimation extends Interceptor { // To suppress missing implicit constructor warnings. @@ -44602,8 +32445,6 @@ class WorkletAnimation extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('WorkletAnimation.WorkletAnimation') - @DocsEditable() factory WorkletAnimation( String animatorName, List effects, @@ -44618,28 +32459,16 @@ class WorkletAnimation extends Interceptor { JS('WorkletAnimation', 'new WorkletAnimation(#,#,#,#)', animatorName, effects, timelines, options); - @DomName('WorkletAnimation.playState') - @DocsEditable() - @Experimental() // untriaged final String playState; - @DomName('WorkletAnimation.cancel') - @DocsEditable() - @Experimental() // untriaged void cancel() native; - @DomName('WorkletAnimation.play') - @DocsEditable() - @Experimental() // untriaged void play() 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('WorkletGlobalScope') -@Experimental() // untriaged @Native("WorkletGlobalScope") class WorkletGlobalScope extends Interceptor { // To suppress missing implicit constructor warnings. @@ -44651,8 +32480,6 @@ class WorkletGlobalScope 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('XPathEvaluator') // http://www.w3.org/TR/DOM-Level-3-XPath/xpath.html#XPathEvaluator @deprecated // experimental @Native("XPathEvaluator") @@ -44662,25 +32489,17 @@ class XPathEvaluator extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('XPathEvaluator.XPathEvaluator') - @DocsEditable() factory XPathEvaluator() { return XPathEvaluator._create_1(); } static XPathEvaluator _create_1() => JS('XPathEvaluator', 'new XPathEvaluator()'); - @DomName('XPathEvaluator.createExpression') - @DocsEditable() XPathExpression createExpression(String expression, XPathNSResolver resolver) native; - @DomName('XPathEvaluator.createNSResolver') - @DocsEditable() XPathNSResolver createNSResolver(Node nodeResolver) native; - @DomName('XPathEvaluator.evaluate') - @DocsEditable() XPathResult evaluate( String expression, Node contextNode, XPathNSResolver resolver, [int type, Object inResult]) native; @@ -44689,8 +32508,6 @@ class XPathEvaluator 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('XPathExpression') // http://www.w3.org/TR/DOM-Level-3-XPath/xpath.html#XPathExpression @deprecated // experimental @Native("XPathExpression") @@ -44700,16 +32517,12 @@ class XPathExpression extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('XPathExpression.evaluate') - @DocsEditable() XPathResult evaluate(Node contextNode, [int type, Object inResult]) 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('XPathNSResolver') // http://www.w3.org/TR/DOM-Level-3-XPath/xpath.html#XPathNSResolver @deprecated // experimental @Native("XPathNSResolver") @@ -44720,16 +32533,12 @@ class XPathNSResolver extends Interceptor { } @JSName('lookupNamespaceURI') - @DomName('XPathNSResolver.lookupNamespaceURI') - @DocsEditable() String lookupNamespaceUri(String prefix) 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('XPathResult') // http://www.w3.org/TR/DOM-Level-3-XPath/xpath.html#XPathResult @deprecated // experimental @Native("XPathResult") @@ -44739,89 +32548,48 @@ class XPathResult extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('XPathResult.ANY_TYPE') - @DocsEditable() static const int ANY_TYPE = 0; - @DomName('XPathResult.ANY_UNORDERED_NODE_TYPE') - @DocsEditable() static const int ANY_UNORDERED_NODE_TYPE = 8; - @DomName('XPathResult.BOOLEAN_TYPE') - @DocsEditable() static const int BOOLEAN_TYPE = 3; - @DomName('XPathResult.FIRST_ORDERED_NODE_TYPE') - @DocsEditable() static const int FIRST_ORDERED_NODE_TYPE = 9; - @DomName('XPathResult.NUMBER_TYPE') - @DocsEditable() static const int NUMBER_TYPE = 1; - @DomName('XPathResult.ORDERED_NODE_ITERATOR_TYPE') - @DocsEditable() static const int ORDERED_NODE_ITERATOR_TYPE = 5; - @DomName('XPathResult.ORDERED_NODE_SNAPSHOT_TYPE') - @DocsEditable() static const int ORDERED_NODE_SNAPSHOT_TYPE = 7; - @DomName('XPathResult.STRING_TYPE') - @DocsEditable() static const int STRING_TYPE = 2; - @DomName('XPathResult.UNORDERED_NODE_ITERATOR_TYPE') - @DocsEditable() static const int UNORDERED_NODE_ITERATOR_TYPE = 4; - @DomName('XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE') - @DocsEditable() static const int UNORDERED_NODE_SNAPSHOT_TYPE = 6; - @DomName('XPathResult.booleanValue') - @DocsEditable() final bool booleanValue; - @DomName('XPathResult.invalidIteratorState') - @DocsEditable() final bool invalidIteratorState; - @DomName('XPathResult.numberValue') - @DocsEditable() final num numberValue; - @DomName('XPathResult.resultType') - @DocsEditable() final int resultType; - @DomName('XPathResult.singleNodeValue') - @DocsEditable() final Node singleNodeValue; - @DomName('XPathResult.snapshotLength') - @DocsEditable() final int snapshotLength; - @DomName('XPathResult.stringValue') - @DocsEditable() final String stringValue; - @DomName('XPathResult.iterateNext') - @DocsEditable() Node iterateNext() native; - @DomName('XPathResult.snapshotItem') - @DocsEditable() Node snapshotItem(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('XMLDocument') -@Experimental() // untriaged @Native("XMLDocument") class XmlDocument extends Document { // To suppress missing implicit constructor warnings. @@ -44833,8 +32601,6 @@ class XmlDocument extends Document { // 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('XMLSerializer') // http://domparsing.spec.whatwg.org/#the-xmlserializer-interface @deprecated // stable @Native("XMLSerializer") @@ -44844,24 +32610,18 @@ class XmlSerializer extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('XMLSerializer.XMLSerializer') - @DocsEditable() factory XmlSerializer() { return XmlSerializer._create_1(); } static XmlSerializer _create_1() => JS('XmlSerializer', 'new XMLSerializer()'); - @DomName('XMLSerializer.serializeToString') - @DocsEditable() String serializeToString(Node root) 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('XSLTProcessor') @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.FIREFOX) @SupportedBrowser(SupportedBrowser.SAFARI) @@ -44873,8 +32633,6 @@ class XsltProcessor extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('XSLTProcessor.XSLTProcessor') - @DocsEditable() factory XsltProcessor() { return XsltProcessor._create_1(); } @@ -44884,44 +32642,26 @@ class XsltProcessor extends Interceptor { /// Checks if this type is supported on the current platform. static bool get supported => JS('bool', '!!(window.XSLTProcessor)'); - @DomName('XSLTProcessor.clearParameters') - @DocsEditable() void clearParameters() native; - @DomName('XSLTProcessor.getParameter') - @DocsEditable() String getParameter(String namespaceURI, String localName) native; - @DomName('XSLTProcessor.importStylesheet') - @DocsEditable() void importStylesheet(Node style) native; - @DomName('XSLTProcessor.removeParameter') - @DocsEditable() void removeParameter(String namespaceURI, String localName) native; - @DomName('XSLTProcessor.reset') - @DocsEditable() void reset() native; - @DomName('XSLTProcessor.setParameter') - @DocsEditable() void setParameter(String namespaceURI, String localName, String value) native; - @DomName('XSLTProcessor.transformToDocument') - @DocsEditable() Document transformToDocument(Node source) native; - @DomName('XSLTProcessor.transformToFragment') - @DocsEditable() DocumentFragment transformToFragment(Node source, Document output) 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('Attr') @Native("Attr") class _Attr extends Node { // To suppress missing implicit constructor warnings. @@ -44930,32 +32670,19 @@ class _Attr extends Node { } @JSName('localName') - @DomName('Attr.localName') - @DocsEditable() - @Experimental() // untriaged final String _localName; - @DomName('Attr.name') - @DocsEditable() final String name; @JSName('namespaceURI') - @DomName('Attr.namespaceURI') - @DocsEditable() - @Experimental() // untriaged final String _namespaceUri; - @DomName('Attr.value') - @DocsEditable() String 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('Bluetooth') -@Experimental() // untriaged @Native("Bluetooth") abstract class _Bluetooth extends Interceptor { // To suppress missing implicit constructor warnings. @@ -44967,9 +32694,6 @@ abstract class _Bluetooth 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('BluetoothCharacteristicProperties') -@Experimental() // untriaged @Native("BluetoothCharacteristicProperties") abstract class _BluetoothCharacteristicProperties extends Interceptor { // To suppress missing implicit constructor warnings. @@ -44981,9 +32705,6 @@ abstract class _BluetoothCharacteristicProperties 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('BluetoothDevice') -@Experimental() // untriaged @Native("BluetoothDevice") abstract class _BluetoothDevice extends EventTarget { // To suppress missing implicit constructor warnings. @@ -44995,9 +32716,6 @@ abstract class _BluetoothDevice 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('BluetoothRemoteGATTCharacteristic') -@Experimental() // untriaged @Native("BluetoothRemoteGATTCharacteristic") abstract class _BluetoothRemoteGATTCharacteristic extends EventTarget { // To suppress missing implicit constructor warnings. @@ -45009,9 +32727,6 @@ abstract class _BluetoothRemoteGATTCharacteristic 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('BluetoothRemoteGATTServer') -@Experimental() // untriaged @Native("BluetoothRemoteGATTServer") abstract class _BluetoothRemoteGATTServer extends Interceptor { // To suppress missing implicit constructor warnings. @@ -45023,9 +32738,6 @@ abstract class _BluetoothRemoteGATTServer 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('BluetoothRemoteGATTService') -@Experimental() // untriaged @Native("BluetoothRemoteGATTService") abstract class _BluetoothRemoteGATTService extends Interceptor { // To suppress missing implicit constructor warnings. @@ -45037,9 +32749,6 @@ abstract class _BluetoothRemoteGATTService 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('BluetoothUUID') -@Experimental() // untriaged @Native("BluetoothUUID") abstract class _BluetoothUUID extends Interceptor { // To suppress missing implicit constructor warnings. @@ -45051,9 +32760,6 @@ abstract class _BluetoothUUID 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('BudgetService') -@Experimental() // untriaged @Native("BudgetService") class _BudgetService extends Interceptor { // To suppress missing implicit constructor warnings. @@ -45061,21 +32767,12 @@ class _BudgetService extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('BudgetService.getBudget') - @DocsEditable() - @Experimental() // untriaged Future getBudget() => promiseToFuture(JS("", "#.getBudget()", this)); - @DomName('BudgetService.getCost') - @DocsEditable() - @Experimental() // untriaged Future getCost(String operation) => promiseToFuture(JS("", "#.getCost(#)", this, operation)); - @DomName('BudgetService.reserve') - @DocsEditable() - @Experimental() // untriaged Future reserve(String operation) => promiseToFuture(JS("", "#.reserve(#)", this, operation)); } @@ -45083,9 +32780,6 @@ class _BudgetService 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('Cache') -@Experimental() // untriaged @Native("Cache") abstract class _Cache extends Interceptor { // To suppress missing implicit constructor warnings. @@ -45097,9 +32791,6 @@ abstract class _Cache 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('CanvasPath') -@Experimental() // untriaged abstract class _CanvasPath extends Interceptor { // To suppress missing implicit constructor warnings. factory _CanvasPath._() { @@ -45110,8 +32801,6 @@ abstract class _CanvasPath 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('Clipboard') @Native("Clipboard") class _Clipboard extends EventTarget { // To suppress missing implicit constructor warnings. @@ -45119,27 +32808,15 @@ class _Clipboard extends EventTarget { throw new UnsupportedError("Not supported"); } - @DomName('Clipboard.read') - @DocsEditable() - @Experimental() // untriaged Future read() => promiseToFuture(JS("", "#.read()", this)); - @DomName('Clipboard.readText') - @DocsEditable() - @Experimental() // untriaged Future readText() => promiseToFuture(JS("", "#.readText()", this)); - @DomName('Clipboard.write') - @DocsEditable() - @Experimental() // untriaged Future write(DataTransfer data) => promiseToFuture(JS("", "#.write(#)", this, data)); - @DomName('Clipboard.writeText') - @DocsEditable() - @Experimental() // untriaged Future writeText(String data) => promiseToFuture(JS("", "#.writeText(#)", this, data)); } @@ -45147,8 +32824,6 @@ class _Clipboard 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('CSSRuleList') @Native("CSSRuleList") class _CssRuleList extends Interceptor with ListMixin, ImmutableListMixin @@ -45158,8 +32833,6 @@ class _CssRuleList extends Interceptor throw new UnsupportedError("Not supported"); } - @DomName('CSSRuleList.length') - @DocsEditable() int get length => JS("int", "#.length", this); CssRule operator [](int index) { @@ -45205,19 +32878,13 @@ class _CssRuleList extends Interceptor CssRule elementAt(int index) => this[index]; // -- end List mixins. - @DomName('CSSRuleList.item') - @DocsEditable() CssRule item(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('DOMFileSystemSync') @SupportedBrowser(SupportedBrowser.CHROME) -@Experimental() -// http://www.w3.org/TR/file-system-api/#the-filesystemsync-interface @Native("DOMFileSystemSync") abstract class _DOMFileSystemSync extends Interceptor { // To suppress missing implicit constructor warnings. @@ -45229,10 +32896,6 @@ abstract class _DOMFileSystemSync 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('DirectoryEntrySync') -// http://www.w3.org/TR/file-system-api/#the-directoryentrysync-interface -@Experimental() @Native("DirectoryEntrySync") abstract class _DirectoryEntrySync extends _EntrySync { // To suppress missing implicit constructor warnings. @@ -45244,10 +32907,6 @@ abstract class _DirectoryEntrySync extends _EntrySync { // 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('DirectoryReaderSync') -// http://www.w3.org/TR/file-system-api/#idl-def-DirectoryReaderSync -@Experimental() @Native("DirectoryReaderSync") abstract class _DirectoryReaderSync extends Interceptor { // To suppress missing implicit constructor warnings. @@ -45259,8 +32918,6 @@ abstract class _DirectoryReaderSync 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('DocumentType') // http://www.w3.org/TR/DOM-Level-3-Core/core.html#ID-412266927 @deprecated // stable @Native("DocumentType") @@ -45278,9 +32935,6 @@ abstract class _DocumentType extends Node implements ChildNode { // 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('DOMRect') -@Experimental() // untriaged @Native("ClientRect,DOMRect") class _DomRect extends DomRectReadOnly implements Rectangle { // NOTE! All code below should be common with RectangleBase. @@ -45377,8 +33031,6 @@ class _DomRect extends DomRectReadOnly implements Rectangle { throw new UnsupportedError("Not supported"); } - @DomName('DOMRect.DOMRect') - @DocsEditable() factory _DomRect([num x, num y, num width, num height]) { if (height != null) { return _DomRect._create_1(x, y, width, height); @@ -45471,10 +33123,6 @@ class _JenkinsSmiHash { // 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('EntrySync') -// http://www.w3.org/TR/file-system-api/#idl-def-EntrySync -@Experimental() @Native("EntrySync") abstract class _EntrySync extends Interceptor { // To suppress missing implicit constructor warnings. @@ -45486,10 +33134,6 @@ abstract class _EntrySync 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('FileEntrySync') -// http://www.w3.org/TR/file-system-api/#the-fileentrysync-interface -@Experimental() @Native("FileEntrySync") abstract class _FileEntrySync extends _EntrySync { // To suppress missing implicit constructor warnings. @@ -45501,10 +33145,6 @@ abstract class _FileEntrySync extends _EntrySync { // 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('FileReaderSync') -// http://www.w3.org/TR/FileAPI/#FileReaderSync -@Experimental() @Native("FileReaderSync") abstract class _FileReaderSync extends Interceptor { // To suppress missing implicit constructor warnings. @@ -45512,8 +33152,6 @@ abstract class _FileReaderSync extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('FileReaderSync.FileReaderSync') - @DocsEditable() factory _FileReaderSync() { return _FileReaderSync._create_1(); } @@ -45524,10 +33162,6 @@ abstract class _FileReaderSync 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('FileWriterSync') -// http://www.w3.org/TR/file-writer-api/#idl-def-FileWriterSync -@Experimental() @Native("FileWriterSync") abstract class _FileWriterSync extends Interceptor { // To suppress missing implicit constructor warnings. @@ -45539,10 +33173,6 @@ abstract class _FileWriterSync 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('GamepadList') -// https://dvcs.w3.org/hg/gamepad/raw-file/default/gamepad.html -@Experimental() @Native("GamepadList") class _GamepadList extends Interceptor with ListMixin, ImmutableListMixin @@ -45552,8 +33182,6 @@ class _GamepadList extends Interceptor throw new UnsupportedError("Not supported"); } - @DomName('GamepadList.length') - @DocsEditable() int get length => JS("int", "#.length", this); Gamepad operator [](int index) { @@ -45599,16 +33227,12 @@ class _GamepadList extends Interceptor Gamepad elementAt(int index) => this[index]; // -- end List mixins. - @DomName('GamepadList.item') - @DocsEditable() Gamepad item(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('HTMLAllCollection') // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#dom-document-all @deprecated // deprecated @Native("HTMLAllCollection") @@ -45619,16 +33243,12 @@ abstract class _HTMLAllCollection extends Interceptor { } @JSName('item') - @DomName('HTMLAllCollection.item') - @DocsEditable() Element _item(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('HTMLDirectoryElement') // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#dir @deprecated // deprecated @Native("HTMLDirectoryElement") @@ -45648,8 +33268,6 @@ abstract class _HTMLDirectoryElement 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('HTMLFontElement') // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#htmlfontelement @deprecated // deprecated @Native("HTMLFontElement") @@ -45669,8 +33287,6 @@ abstract class _HTMLFontElement 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('HTMLFrameElement') // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#htmlframeelement @deprecated // deprecated @Native("HTMLFrameElement") @@ -45690,8 +33306,6 @@ abstract class _HTMLFrameElement 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('HTMLFrameSetElement') // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#frameset @deprecated // deprecated @Native("HTMLFrameSetElement") @@ -45713,8 +33327,6 @@ abstract class _HTMLFrameSetElement 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('HTMLMarqueeElement') // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#the-marquee-element @deprecated // deprecated @Native("HTMLMarqueeElement") @@ -45734,9 +33346,6 @@ abstract class _HTMLMarqueeElement 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('Mojo') -@Experimental() // untriaged @Native("Mojo") abstract class _Mojo extends Interceptor { // To suppress missing implicit constructor warnings. @@ -45748,9 +33357,6 @@ abstract class _Mojo 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('MojoHandle') -@Experimental() // untriaged @Native("MojoHandle") abstract class _MojoHandle extends Interceptor { // To suppress missing implicit constructor warnings. @@ -45762,9 +33368,6 @@ abstract class _MojoHandle 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('MojoInterfaceInterceptor') -@Experimental() // untriaged @Native("MojoInterfaceInterceptor") abstract class _MojoInterfaceInterceptor extends EventTarget { // To suppress missing implicit constructor warnings. @@ -45772,8 +33375,6 @@ abstract class _MojoInterfaceInterceptor extends EventTarget { throw new UnsupportedError("Not supported"); } - @DomName('MojoInterfaceInterceptor.MojoInterfaceInterceptor') - @DocsEditable() factory _MojoInterfaceInterceptor(String interfaceName, [String scope]) { if (scope != null) { return _MojoInterfaceInterceptor._create_1(interfaceName, scope); @@ -45794,9 +33395,6 @@ abstract class _MojoInterfaceInterceptor 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('MojoInterfaceRequestEvent') -@Experimental() // untriaged @Native("MojoInterfaceRequestEvent") abstract class _MojoInterfaceRequestEvent extends Event { // To suppress missing implicit constructor warnings. @@ -45804,8 +33402,6 @@ abstract class _MojoInterfaceRequestEvent extends Event { throw new UnsupportedError("Not supported"); } - @DomName('MojoInterfaceRequestEvent.MojoInterfaceRequestEvent') - @DocsEditable() factory _MojoInterfaceRequestEvent(String type, [Map eventInitDict]) { if (eventInitDict != null) { var eventInitDict_1 = convertDartToNative_Dictionary(eventInitDict); @@ -45825,9 +33421,6 @@ abstract class _MojoInterfaceRequestEvent extends Event { // 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('MojoWatcher') -@Experimental() // untriaged @Native("MojoWatcher") abstract class _MojoWatcher extends Interceptor { // To suppress missing implicit constructor warnings. @@ -45839,9 +33432,6 @@ abstract class _MojoWatcher 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('NFC') -@Experimental() // untriaged @Native("NFC") abstract class _NFC extends Interceptor { // To suppress missing implicit constructor warnings. @@ -45853,8 +33443,6 @@ abstract class _NFC 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('NamedNodeMap') // http://dom.spec.whatwg.org/#namednodemap @deprecated // deprecated @Native("NamedNodeMap,MozNamedAttrMap") @@ -45866,8 +33454,6 @@ class _NamedNodeMap extends Interceptor throw new UnsupportedError("Not supported"); } - @DomName('NamedNodeMap.length') - @DocsEditable() int get length => JS("int", "#.length", this); Node operator [](int index) { @@ -45913,40 +33499,24 @@ class _NamedNodeMap extends Interceptor Node elementAt(int index) => this[index]; // -- end List mixins. - @DomName('NamedNodeMap.getNamedItem') - @DocsEditable() _Attr getNamedItem(String name) native; - @DomName('NamedNodeMap.getNamedItemNS') - @DocsEditable() _Attr getNamedItemNS(String namespaceURI, String localName) native; - @DomName('NamedNodeMap.item') - @DocsEditable() _Attr item(int index) native; - @DomName('NamedNodeMap.removeNamedItem') - @DocsEditable() _Attr removeNamedItem(String name) native; - @DomName('NamedNodeMap.removeNamedItemNS') - @DocsEditable() _Attr removeNamedItemNS(String namespaceURI, String localName) native; - @DomName('NamedNodeMap.setNamedItem') - @DocsEditable() _Attr setNamedItem(_Attr attr) native; - @DomName('NamedNodeMap.setNamedItemNS') - @DocsEditable() _Attr setNamedItemNS(_Attr attr) 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('PagePopupController') @deprecated // nonstandard @Native("PagePopupController") abstract class _PagePopupController extends Interceptor { @@ -45967,9 +33537,6 @@ abstract class _PagePopupController 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('Report') -@Experimental() // untriaged @Native("Report") class _Report extends Interceptor { // To suppress missing implicit constructor warnings. @@ -45977,28 +33544,16 @@ class _Report extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('Report.body') - @DocsEditable() - @Experimental() // untriaged final ReportBody body; - @DomName('Report.type') - @DocsEditable() - @Experimental() // untriaged final String type; - @DomName('Report.url') - @DocsEditable() - @Experimental() // untriaged final String 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('Request') -@Experimental() // untriaged @Native("Request") class _Request extends Body { // To suppress missing implicit constructor warnings. @@ -46006,8 +33561,6 @@ class _Request extends Body { throw new UnsupportedError("Not supported"); } - @DomName('Request.Request') - @DocsEditable() factory _Request(Object input, [Map requestInitDict]) { if (requestInitDict != null) { var requestInitDict_1 = convertDartToNative_Dictionary(requestInitDict); @@ -46019,62 +33572,30 @@ class _Request extends Body { JS('_Request', 'new Request(#,#)', input, requestInitDict); static _Request _create_2(input) => JS('_Request', 'new Request(#)', input); - @DomName('Request.cache') - @DocsEditable() - @Experimental() // untriaged final String cache; - @DomName('Request.credentials') - @DocsEditable() - @Experimental() // untriaged final String credentials; - @DomName('Request.headers') - @DocsEditable() - @Experimental() // untriaged final Headers headers; - @DomName('Request.integrity') - @DocsEditable() - @Experimental() // untriaged final String integrity; - @DomName('Request.mode') - @DocsEditable() - @Experimental() // untriaged final String mode; - @DomName('Request.redirect') - @DocsEditable() - @Experimental() // untriaged final String redirect; - @DomName('Request.referrer') - @DocsEditable() - @Experimental() // untriaged final String referrer; - @DomName('Request.referrerPolicy') - @DocsEditable() - @Experimental() // untriaged final String referrerPolicy; - @DomName('Request.url') - @DocsEditable() - @Experimental() // untriaged final String url; - @DomName('Request.clone') - @DocsEditable() - @Experimental() // untriaged _Request clone() 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('ResourceProgressEvent') // https://chromiumcodereview.appspot.com/14773025/ @deprecated // experimental @Native("ResourceProgressEvent") @@ -46088,9 +33609,6 @@ abstract class _ResourceProgressEvent extends ProgressEvent { // 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('Response') -@Experimental() // untriaged @Native("Response") abstract class _Response extends Body { // To suppress missing implicit constructor warnings. @@ -46098,8 +33616,6 @@ abstract class _Response extends Body { throw new UnsupportedError("Not supported"); } - @DomName('Response.Response') - @DocsEditable() factory _Response([Object body, Map init]) { if (init != null) { var init_1 = convertDartToNative_Dictionary(init); @@ -46119,10 +33635,6 @@ abstract class _Response extends Body { // 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('SpeechRecognitionResultList') -// https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#speechrecognitionresultlist -@Experimental() @Native("SpeechRecognitionResultList") class _SpeechRecognitionResultList extends Interceptor with @@ -46136,8 +33648,6 @@ class _SpeechRecognitionResultList extends Interceptor throw new UnsupportedError("Not supported"); } - @DomName('SpeechRecognitionResultList.length') - @DocsEditable() int get length => JS("int", "#.length", this); SpeechRecognitionResult operator [](int index) { @@ -46183,16 +33693,12 @@ class _SpeechRecognitionResultList extends Interceptor SpeechRecognitionResult elementAt(int index) => this[index]; // -- end List mixins. - @DomName('SpeechRecognitionResultList.item') - @DocsEditable() SpeechRecognitionResult item(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('StyleSheetList') @Native("StyleSheetList") class _StyleSheetList extends Interceptor with ListMixin, ImmutableListMixin @@ -46202,8 +33708,6 @@ class _StyleSheetList extends Interceptor throw new UnsupportedError("Not supported"); } - @DomName('StyleSheetList.length') - @DocsEditable() int get length => JS("int", "#.length", this); StyleSheet operator [](int index) { @@ -46249,21 +33753,14 @@ class _StyleSheetList extends Interceptor StyleSheet elementAt(int index) => this[index]; // -- end List mixins. - @DomName('StyleSheetList.__getter__') - @DocsEditable() CssStyleSheet __getter__(String name) native; - @DomName('StyleSheetList.item') - @DocsEditable() StyleSheet item(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('SubtleCrypto') -@Experimental() // untriaged @Native("SubtleCrypto") abstract class _SubtleCrypto extends Interceptor { // To suppress missing implicit constructor warnings. @@ -46275,9 +33772,6 @@ abstract class _SubtleCrypto 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('USB') -@Experimental() // untriaged @Native("USB") abstract class _USB extends EventTarget { // To suppress missing implicit constructor warnings. @@ -46289,9 +33783,6 @@ abstract class _USB 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('USBAlternateInterface') -@Experimental() // untriaged @Native("USBAlternateInterface") abstract class _USBAlternateInterface extends Interceptor { // To suppress missing implicit constructor warnings. @@ -46299,8 +33790,6 @@ abstract class _USBAlternateInterface extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('USBAlternateInterface.USBAlternateInterface') - @DocsEditable() factory _USBAlternateInterface( _USBInterface deviceInterface, int alternateSetting) { return _USBAlternateInterface._create_1(deviceInterface, alternateSetting); @@ -46313,9 +33802,6 @@ abstract class _USBAlternateInterface 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('USBConfiguration') -@Experimental() // untriaged @Native("USBConfiguration") abstract class _USBConfiguration extends Interceptor { // To suppress missing implicit constructor warnings. @@ -46323,8 +33809,6 @@ abstract class _USBConfiguration extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('USBConfiguration.USBConfiguration') - @DocsEditable() factory _USBConfiguration(_USBDevice device, int configurationValue) { return _USBConfiguration._create_1(device, configurationValue); } @@ -46338,9 +33822,6 @@ abstract class _USBConfiguration 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('USBConnectionEvent') -@Experimental() // untriaged @Native("USBConnectionEvent") abstract class _USBConnectionEvent extends Event { // To suppress missing implicit constructor warnings. @@ -46348,8 +33829,6 @@ abstract class _USBConnectionEvent extends Event { throw new UnsupportedError("Not supported"); } - @DomName('USBConnectionEvent.USBConnectionEvent') - @DocsEditable() factory _USBConnectionEvent(String type, Map eventInitDict) { var eventInitDict_1 = convertDartToNative_Dictionary(eventInitDict); return _USBConnectionEvent._create_1(type, eventInitDict_1); @@ -46364,9 +33843,6 @@ abstract class _USBConnectionEvent extends Event { // 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('USBDevice') -@Experimental() // untriaged @Native("USBDevice") abstract class _USBDevice extends Interceptor { // To suppress missing implicit constructor warnings. @@ -46378,9 +33854,6 @@ abstract class _USBDevice 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('USBEndpoint') -@Experimental() // untriaged @Native("USBEndpoint") abstract class _USBEndpoint extends Interceptor { // To suppress missing implicit constructor warnings. @@ -46388,8 +33861,6 @@ abstract class _USBEndpoint extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('USBEndpoint.USBEndpoint') - @DocsEditable() factory _USBEndpoint( _USBAlternateInterface alternate, int endpointNumber, String direction) { return _USBEndpoint._create_1(alternate, endpointNumber, direction); @@ -46405,9 +33876,6 @@ abstract class _USBEndpoint 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('USBInTransferResult') -@Experimental() // untriaged @Native("USBInTransferResult") abstract class _USBInTransferResult extends Interceptor { // To suppress missing implicit constructor warnings. @@ -46415,8 +33883,6 @@ abstract class _USBInTransferResult extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('USBInTransferResult.USBInTransferResult') - @DocsEditable() factory _USBInTransferResult(String status, [ByteData data]) { if (data != null) { return _USBInTransferResult._create_1(status, data); @@ -46432,9 +33898,6 @@ abstract class _USBInTransferResult 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('USBInterface') -@Experimental() // untriaged @Native("USBInterface") abstract class _USBInterface extends Interceptor { // To suppress missing implicit constructor warnings. @@ -46442,8 +33905,6 @@ abstract class _USBInterface extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('USBInterface.USBInterface') - @DocsEditable() factory _USBInterface(_USBConfiguration configuration, int interfaceNumber) { return _USBInterface._create_1(configuration, interfaceNumber); } @@ -46454,9 +33915,6 @@ abstract class _USBInterface 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('USBIsochronousInTransferPacket') -@Experimental() // untriaged @Native("USBIsochronousInTransferPacket") abstract class _USBIsochronousInTransferPacket extends Interceptor { // To suppress missing implicit constructor warnings. @@ -46464,8 +33922,6 @@ abstract class _USBIsochronousInTransferPacket extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('USBIsochronousInTransferPacket.USBIsochronousInTransferPacket') - @DocsEditable() factory _USBIsochronousInTransferPacket(String status, [ByteData data]) { if (data != null) { return _USBIsochronousInTransferPacket._create_1(status, data); @@ -46486,9 +33942,6 @@ abstract class _USBIsochronousInTransferPacket 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('USBIsochronousInTransferResult') -@Experimental() // untriaged @Native("USBIsochronousInTransferResult") abstract class _USBIsochronousInTransferResult extends Interceptor { // To suppress missing implicit constructor warnings. @@ -46496,8 +33949,6 @@ abstract class _USBIsochronousInTransferResult extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('USBIsochronousInTransferResult.USBIsochronousInTransferResult') - @DocsEditable() factory _USBIsochronousInTransferResult( List<_USBIsochronousInTransferPacket> packets, [ByteData data]) { @@ -46520,9 +33971,6 @@ abstract class _USBIsochronousInTransferResult 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('USBIsochronousOutTransferPacket') -@Experimental() // untriaged @Native("USBIsochronousOutTransferPacket") abstract class _USBIsochronousOutTransferPacket extends Interceptor { // To suppress missing implicit constructor warnings. @@ -46530,8 +33978,6 @@ abstract class _USBIsochronousOutTransferPacket extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('USBIsochronousOutTransferPacket.USBIsochronousOutTransferPacket') - @DocsEditable() factory _USBIsochronousOutTransferPacket(String status, [int bytesWritten]) { if (bytesWritten != null) { return _USBIsochronousOutTransferPacket._create_1(status, bytesWritten); @@ -46552,9 +33998,6 @@ abstract class _USBIsochronousOutTransferPacket 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('USBIsochronousOutTransferResult') -@Experimental() // untriaged @Native("USBIsochronousOutTransferResult") abstract class _USBIsochronousOutTransferResult extends Interceptor { // To suppress missing implicit constructor warnings. @@ -46562,8 +34005,6 @@ abstract class _USBIsochronousOutTransferResult extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('USBIsochronousOutTransferResult.USBIsochronousOutTransferResult') - @DocsEditable() factory _USBIsochronousOutTransferResult( List<_USBIsochronousOutTransferPacket> packets) { return _USBIsochronousOutTransferResult._create_1(packets); @@ -46577,9 +34018,6 @@ abstract class _USBIsochronousOutTransferResult 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('USBOutTransferResult') -@Experimental() // untriaged @Native("USBOutTransferResult") abstract class _USBOutTransferResult extends Interceptor { // To suppress missing implicit constructor warnings. @@ -46587,8 +34025,6 @@ abstract class _USBOutTransferResult extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('USBOutTransferResult.USBOutTransferResult') - @DocsEditable() factory _USBOutTransferResult(String status, [int bytesWritten]) { if (bytesWritten != null) { return _USBOutTransferResult._create_1(status, bytesWritten); @@ -46607,9 +34043,6 @@ abstract class _USBOutTransferResult 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('WindowTimers') -@Experimental() // untriaged abstract class _WindowTimers extends Interceptor { // To suppress missing implicit constructor warnings. factory _WindowTimers._() { @@ -46632,10 +34065,6 @@ abstract class _WindowTimers 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('WorkerLocation') -// http://www.whatwg.org/specs/web-apps/current-work/multipage/workers.html#workerlocation -@Experimental() @Native("WorkerLocation") abstract class _WorkerLocation extends Interceptor implements UrlUtilsReadOnly { // To suppress missing implicit constructor warnings. @@ -46651,10 +34080,6 @@ abstract class _WorkerLocation extends Interceptor implements UrlUtilsReadOnly { // 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('WorkerNavigator') -// http://www.whatwg.org/specs/web-apps/current-work/multipage/workers.html#workernavigator -@Experimental() @Native("WorkerNavigator") abstract class _WorkerNavigator extends NavigatorConcurrentHardware implements NavigatorOnLine, NavigatorID { @@ -46673,9 +34098,6 @@ abstract class _WorkerNavigator extends NavigatorConcurrentHardware // 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('Worklet') -@Experimental() // untriaged @Native("Worklet") abstract class _Worklet extends Interceptor { // To suppress missing implicit constructor warnings. @@ -47888,7 +35310,6 @@ class _ElementCssClassSet extends CssClassSetImpl { * [length measurement](https://developer.mozilla.org/en-US/docs/Web/CSS/length) * in CSS. */ -@Experimental() class Dimension { num _value; String _unit; @@ -50857,95 +38278,73 @@ class Console { bool get _isConsoleDefined => JS('bool', 'typeof console != "undefined"'); - @DomName('Console.memory') MemoryInfo get memory => _isConsoleDefined ? JS('MemoryInfo', 'window.console.memory') : null; - @DomName('Console.assertCondition') void assertCondition(bool condition, Object arg) => _isConsoleDefined ? JS('void', 'window.console.assertCondition(#, #)', condition, arg) : null; - @DomName('Console.clear') void clear(Object arg) => _isConsoleDefined ? JS('void', 'window.console.clear(#)', arg) : null; - @DomName('Console.count') void count(Object arg) => _isConsoleDefined ? JS('void', 'window.console.count(#)', arg) : null; - @DomName('Console.debug') void debug(Object arg) => _isConsoleDefined ? JS('void', 'window.console.debug(#)', arg) : null; - @DomName('Console.dir') void dir(Object arg) => _isConsoleDefined ? JS('void', 'window.console.dir(#)', arg) : null; - @DomName('Console.dirxml') void dirxml(Object arg) => _isConsoleDefined ? JS('void', 'window.console.dirxml(#)', arg) : null; - @DomName('Console.error') void error(Object arg) => _isConsoleDefined ? JS('void', 'window.console.error(#)', arg) : null; - @DomName('Console.group') void group(Object arg) => _isConsoleDefined ? JS('void', 'window.console.group(#)', arg) : null; - @DomName('Console.groupCollapsed') void groupCollapsed(Object arg) => _isConsoleDefined ? JS('void', 'window.console.groupCollapsed(#)', arg) : null; - @DomName('Console.groupEnd') void groupEnd() => _isConsoleDefined ? JS('void', 'window.console.groupEnd()') : null; - @DomName('Console.info') void info(Object arg) => _isConsoleDefined ? JS('void', 'window.console.info(#)', arg) : null; - @DomName('Console.log') void log(Object arg) => _isConsoleDefined ? JS('void', 'window.console.log(#)', arg) : null; - @DomName('Console.markTimeline') void markTimeline(Object arg) => _isConsoleDefined ? JS('void', 'window.console.markTimeline(#)', arg) : null; - @DomName('Console.profile') void profile(String title) => _isConsoleDefined ? JS('void', 'window.console.profile(#)', title) : null; - @DomName('Console.profileEnd') void profileEnd(String title) => _isConsoleDefined ? JS('void', 'window.console.profileEnd(#)', title) : null; - @DomName('Console.table') void table(Object arg) => _isConsoleDefined ? JS('void', 'window.console.table(#)', arg) : null; - @DomName('Console.time') void time(String title) => _isConsoleDefined ? JS('void', 'window.console.time(#)', title) : null; - @DomName('Console.timeEnd') void timeEnd(String title) => _isConsoleDefined ? JS('void', 'window.console.timeEnd(#)', title) : null; - @DomName('Console.timeStamp') void timeStamp(Object arg) => _isConsoleDefined ? JS('void', 'window.console.timeStamp(#)', arg) : null; - @DomName('Console.trace') void trace(Object arg) => _isConsoleDefined ? JS('void', 'window.console.trace(#)', arg) : null; - @DomName('Console.warn') void warn(Object arg) => _isConsoleDefined ? JS('void', 'window.console.warn(#)', arg) : null; } @@ -51367,7 +38766,6 @@ class _HistoryCrossFrame implements HistoryBase { * on how we can make this class work with as many international keyboards as * possible. Bugs welcome! */ -@Experimental() class KeyEvent extends _WrappedEvent implements KeyboardEvent { /** The parent KeyboardEvent that this KeyEvent is wrapping and "fixing". */ KeyboardEvent _parent; @@ -51572,10 +38970,8 @@ class KeyEvent extends _WrappedEvent implements KeyboardEvent { "Cannot initialize a KeyboardEvent from a KeyEvent."); } - @Experimental() // untriaged bool getModifierState(String keyArgument) => throw new UnimplementedError(); - @Experimental() // untriaged bool get repeat => throw new UnimplementedError(); bool get isComposed => throw new UnimplementedError(); dynamic get _get_view => throw new UnimplementedError(); @@ -51682,7 +39078,6 @@ class _WrappedEvent implements Event { * from W3C. */ // https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/shadow/index.html#extensions-to-event - @Experimental() List get path => wrapped.path; dynamic get _get_currentTarget => wrapped._get_currentTarget; diff --git a/sdk/lib/indexed_db/dart2js/indexed_db_dart2js.dart b/sdk/lib/indexed_db/dart2js/indexed_db_dart2js.dart index e17e1e21136..3429925bc52 100644 --- a/sdk/lib/indexed_db/dart2js/indexed_db_dart2js.dart +++ b/sdk/lib/indexed_db/dart2js/indexed_db_dart2js.dart @@ -210,11 +210,9 @@ const _annotation_Returns_IDBKey = const Returns(_idbKey); // 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. -@DomName('IDBCursor') @Unstable() @Native("IDBCursor") class Cursor extends Interceptor { - @DomName('IDBCursor.delete') Future delete() { try { return _completeRequest(_delete()); @@ -223,7 +221,6 @@ class Cursor extends Interceptor { } } - @DomName('IDBCursor.value') Future update(value) { try { return _completeRequest(_update(value)); @@ -233,7 +230,6 @@ class Cursor extends Interceptor { } @JSName('continue') - @DomName('IDBCursor.continue') void next([Object key]) { if (key == null) { JS('void', '#.continue()', this); @@ -247,60 +243,39 @@ class Cursor extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('IDBCursor.direction') - @DocsEditable() final String direction; - @DomName('IDBCursor.key') - @DocsEditable() @_annotation_Creates_IDBKey @_annotation_Returns_IDBKey final Object key; - @DomName('IDBCursor.primaryKey') - @DocsEditable() @_annotation_Creates_IDBKey @_annotation_Returns_IDBKey final Object primaryKey; - @DomName('IDBCursor.source') - @DocsEditable() @Creates('Null') @Returns('ObjectStore|Index|Null') final Object source; - @DomName('IDBCursor.advance') - @DocsEditable() void advance(int count) native; - @DomName('IDBCursor.continuePrimaryKey') - @DocsEditable() - @Experimental() // untriaged void continuePrimaryKey(Object key, Object primaryKey) native; @JSName('delete') - @DomName('IDBCursor.delete') - @DocsEditable() Request _delete() native; - @DomName('IDBCursor.update') - @DocsEditable() Request _update(/*any*/ value) { var value_1 = convertDartToNative_SerializedScriptValue(value); return _update_1(value_1); } @JSName('update') - @DomName('IDBCursor.update') - @DocsEditable() Request _update_1(value) 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('IDBCursorWithValue') @Unstable() @Native("IDBCursorWithValue") class CursorWithValue extends Cursor { @@ -309,12 +284,8 @@ class CursorWithValue extends Cursor { throw new UnsupportedError("Not supported"); } - @DomName('IDBCursorWithValue.value') - @DocsEditable() dynamic get value => _convertNativeToDart_IDBAny(this._get_value); @JSName('value') - @DomName('IDBCursorWithValue.value') - @DocsEditable() @annotation_Creates_SerializedScriptValue @annotation_Returns_SerializedScriptValue final dynamic _get_value; @@ -323,21 +294,16 @@ class CursorWithValue extends Cursor { // 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() /** * An indexed database object for storing client-side data * in web apps. */ -@DomName('IDBDatabase') @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.FIREFOX, '15') @SupportedBrowser(SupportedBrowser.IE, '10') -@Experimental() @Unstable() @Native("IDBDatabase") class Database extends EventTarget { - @DomName('IDBDatabase.createObjectStore') - @DocsEditable() ObjectStore createObjectStore(String name, {String keyPath, bool autoIncrement}) { var options = {}; @@ -404,8 +370,6 @@ class Database extends EventTarget { * * See [EventStreamProvider] for usage information. */ - @DomName('IDBDatabase.abortEvent') - @DocsEditable() static const EventStreamProvider abortEvent = const EventStreamProvider('abort'); @@ -415,10 +379,6 @@ class Database extends EventTarget { * * See [EventStreamProvider] for usage information. */ - @DomName('IDBDatabase.closeEvent') - @DocsEditable() - // https://www.w3.org/Bugs/Public/show_bug.cgi?id=22540 - @Experimental() static const EventStreamProvider closeEvent = const EventStreamProvider('close'); @@ -428,8 +388,6 @@ class Database extends EventTarget { * * See [EventStreamProvider] for usage information. */ - @DomName('IDBDatabase.errorEvent') - @DocsEditable() static const EventStreamProvider errorEvent = const EventStreamProvider('error'); @@ -439,33 +397,21 @@ class Database extends EventTarget { * * See [EventStreamProvider] for usage information. */ - @DomName('IDBDatabase.versionchangeEvent') - @DocsEditable() static const EventStreamProvider versionChangeEvent = const EventStreamProvider('versionchange'); - @DomName('IDBDatabase.name') - @DocsEditable() final String name; - @DomName('IDBDatabase.objectStoreNames') - @DocsEditable() @Returns('DomStringList|Null') @Creates('DomStringList') final List objectStoreNames; - @DomName('IDBDatabase.version') - @DocsEditable() @Creates('int|String|Null') @Returns('int|String|Null') final int version; - @DomName('IDBDatabase.close') - @DocsEditable() void close() native; - @DomName('IDBDatabase.createObjectStore') - @DocsEditable() ObjectStore _createObjectStore(String name, [Map options]) { if (options != null) { var options_1 = convertDartToNative_Dictionary(options); @@ -475,38 +421,22 @@ class Database extends EventTarget { } @JSName('createObjectStore') - @DomName('IDBDatabase.createObjectStore') - @DocsEditable() ObjectStore _createObjectStore_1(name, options) native; @JSName('createObjectStore') - @DomName('IDBDatabase.createObjectStore') - @DocsEditable() ObjectStore _createObjectStore_2(name) native; - @DomName('IDBDatabase.deleteObjectStore') - @DocsEditable() void deleteObjectStore(String name) native; /// Stream of `abort` events handled by this [Database]. - @DomName('IDBDatabase.onabort') - @DocsEditable() Stream get onAbort => abortEvent.forTarget(this); /// Stream of `close` events handled by this [Database]. - @DomName('IDBDatabase.onclose') - @DocsEditable() - // https://www.w3.org/Bugs/Public/show_bug.cgi?id=22540 - @Experimental() Stream get onClose => closeEvent.forTarget(this); /// Stream of `error` events handled by this [Database]. - @DomName('IDBDatabase.onerror') - @DocsEditable() Stream get onError => errorEvent.forTarget(this); /// Stream of `versionchange` events handled by this [Database]. - @DomName('IDBDatabase.onversionchange') - @DocsEditable() Stream get onVersionChange => versionChangeEvent.forTarget(this); } @@ -516,18 +446,14 @@ class Database extends EventTarget { // WARNING: Do not edit - generated code. -@DomName('IDBObserverCallback') -@Experimental() // untriaged typedef void ObserverCallback(ObserverChanges changes); // Copyright (c) 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. -@DomName('IDBFactory') @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.FIREFOX, '15') @SupportedBrowser(SupportedBrowser.IE, '10') -@Experimental() @Unstable() @Native("IDBFactory") class IdbFactory extends Interceptor { @@ -542,7 +468,6 @@ class IdbFactory extends Interceptor { 'window.mozIndexedDB)'); } - @DomName('IDBFactory.open') Future open(String name, {int version, void onUpgradeNeeded(VersionChangeEvent event), @@ -571,7 +496,6 @@ class IdbFactory extends Interceptor { } } - @DomName('IDBFactory.deleteDatabase') Future deleteDatabase(String name, {void onBlocked(Event e)}) { try { var request = _deleteDatabase(name); @@ -605,18 +529,12 @@ class IdbFactory extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('IDBFactory.cmp') - @DocsEditable() int cmp(Object first, Object second) native; @JSName('deleteDatabase') - @DomName('IDBFactory.deleteDatabase') - @DocsEditable() OpenDBRequest _deleteDatabase(String name) native; @JSName('open') - @DomName('IDBFactory.open') - @DocsEditable() @Returns('Request') @Creates('Request') @Creates('Database') @@ -642,11 +560,9 @@ Future _completeRequest(Request request) { // 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. -@DomName('IDBIndex') @Unstable() @Native("IDBIndex") class Index extends Interceptor { - @DomName('IDBIndex.count') Future count([key_OR_range]) { try { var request = _count(key_OR_range); @@ -656,7 +572,6 @@ class Index extends Interceptor { } } - @DomName('IDBIndex.get') Future get(key) { try { var request = _get(key); @@ -667,7 +582,6 @@ class Index extends Interceptor { } } - @DomName('IDBIndex.getKey') Future getKey(key) { try { var request = _getKey(key); @@ -739,53 +653,31 @@ class Index extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('IDBIndex.keyPath') - @DocsEditable() @annotation_Creates_SerializedScriptValue final Object keyPath; - @DomName('IDBIndex.multiEntry') - @DocsEditable() final bool multiEntry; - @DomName('IDBIndex.name') - @DocsEditable() String name; - @DomName('IDBIndex.objectStore') - @DocsEditable() final ObjectStore objectStore; - @DomName('IDBIndex.unique') - @DocsEditable() final bool unique; @JSName('count') - @DomName('IDBIndex.count') - @DocsEditable() Request _count(Object key) native; @JSName('get') - @DomName('IDBIndex.get') - @DocsEditable() @Returns('Request') @Creates('Request') @annotation_Creates_SerializedScriptValue Request _get(Object key) native; - @DomName('IDBIndex.getAll') - @DocsEditable() - @Experimental() // untriaged Request getAll(Object query, [int count]) native; - @DomName('IDBIndex.getAllKeys') - @DocsEditable() - @Experimental() // untriaged Request getAllKeys(Object query, [int count]) native; @JSName('getKey') - @DomName('IDBIndex.getKey') - @DocsEditable() @Returns('Request') @Creates('Request') @annotation_Creates_SerializedScriptValue @@ -793,16 +685,12 @@ class Index extends Interceptor { Request _getKey(Object key) native; @JSName('openCursor') - @DomName('IDBIndex.openCursor') - @DocsEditable() @Returns('Request') @Creates('Request') @Creates('Cursor') Request _openCursor(Object range, [String direction]) native; @JSName('openKeyCursor') - @DomName('IDBIndex.openKeyCursor') - @DocsEditable() @Returns('Request') @Creates('Request') @Creates('Cursor') @@ -812,23 +700,18 @@ class Index 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. -@DomName('IDBKeyRange') @Unstable() @Native("IDBKeyRange") class KeyRange extends Interceptor { - @DomName('IDBKeyRange.only') factory KeyRange.only(/*Key*/ value) => _KeyRangeFactoryProvider.createKeyRange_only(value); - @DomName('IDBKeyRange.lowerBound') factory KeyRange.lowerBound(/*Key*/ bound, [bool open = false]) => _KeyRangeFactoryProvider.createKeyRange_lowerBound(bound, open); - @DomName('IDBKeyRange.upperBound') factory KeyRange.upperBound(/*Key*/ bound, [bool open = false]) => _KeyRangeFactoryProvider.createKeyRange_upperBound(bound, open); - @DomName('KeyRange.bound') factory KeyRange.bound(/*Key*/ lower, /*Key*/ upper, [bool lowerOpen = false, bool upperOpen = false]) => _KeyRangeFactoryProvider.createKeyRange_bound( @@ -839,59 +722,38 @@ class KeyRange extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('IDBKeyRange.lower') - @DocsEditable() @annotation_Creates_SerializedScriptValue final Object lower; - @DomName('IDBKeyRange.lowerOpen') - @DocsEditable() final bool lowerOpen; - @DomName('IDBKeyRange.upper') - @DocsEditable() @annotation_Creates_SerializedScriptValue final Object upper; - @DomName('IDBKeyRange.upperOpen') - @DocsEditable() final bool upperOpen; @JSName('bound') - @DomName('IDBKeyRange.bound') - @DocsEditable() static KeyRange bound_(Object lower, Object upper, [bool lowerOpen, bool upperOpen]) native; - @DomName('IDBKeyRange.includes') - @DocsEditable() - @Experimental() // untriaged bool includes(Object key) native; @JSName('lowerBound') - @DomName('IDBKeyRange.lowerBound') - @DocsEditable() static KeyRange lowerBound_(Object bound, [bool open]) native; @JSName('only') - @DomName('IDBKeyRange.only') - @DocsEditable() static KeyRange only_(Object value) native; @JSName('upperBound') - @DomName('IDBKeyRange.upperBound') - @DocsEditable() static KeyRange upperBound_(Object bound, [bool open]) 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. -@DomName('IDBObjectStore') @Unstable() @Native("IDBObjectStore") class ObjectStore extends Interceptor { - @DomName('IDBObjectStore.add') Future add(value, [key]) { try { var request; @@ -906,7 +768,6 @@ class ObjectStore extends Interceptor { } } - @DomName('IDBObjectStore.clear') Future clear() { try { return _completeRequest(_clear()); @@ -915,7 +776,6 @@ class ObjectStore extends Interceptor { } } - @DomName('IDBObjectStore.delete') Future delete(key_OR_keyRange) { try { return _completeRequest(_delete(key_OR_keyRange)); @@ -924,7 +784,6 @@ class ObjectStore extends Interceptor { } } - @DomName('IDBObjectStore.count') Future count([key_OR_range]) { try { var request = _count(key_OR_range); @@ -934,7 +793,6 @@ class ObjectStore extends Interceptor { } } - @DomName('IDBObjectStore.put') Future put(value, [key]) { try { var request; @@ -949,7 +807,6 @@ class ObjectStore extends Interceptor { } } - @DomName('IDBObjectStore.get') Future getObject(key) { try { var request = _get(key); @@ -981,7 +838,6 @@ class ObjectStore extends Interceptor { * must be done synchronously unless they are additional async requests to * the current transaction. */ - @DomName('IDBObjectStore.openCursor') Stream openCursor( {key, KeyRange range, String direction, bool autoAdvance}) { var key_OR_range = null; @@ -1004,7 +860,6 @@ class ObjectStore extends Interceptor { return _cursorStreamFromResult(request, autoAdvance); } - @DomName('IDBObjectStore.createIndex') Index createIndex(String name, keyPath, {bool unique, bool multiEntry}) { var options = {}; if (unique != null) { @@ -1022,31 +877,19 @@ class ObjectStore extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('IDBObjectStore.autoIncrement') - @DocsEditable() final bool autoIncrement; - @DomName('IDBObjectStore.indexNames') - @DocsEditable() @Returns('DomStringList|Null') @Creates('DomStringList') final List indexNames; - @DomName('IDBObjectStore.keyPath') - @DocsEditable() @annotation_Creates_SerializedScriptValue final Object keyPath; - @DomName('IDBObjectStore.name') - @DocsEditable() String name; - @DomName('IDBObjectStore.transaction') - @DocsEditable() final Transaction transaction; - @DomName('IDBObjectStore.add') - @DocsEditable() @Returns('Request') @Creates('Request') @_annotation_Creates_IDBKey @@ -1061,32 +904,22 @@ class ObjectStore extends Interceptor { } @JSName('add') - @DomName('IDBObjectStore.add') - @DocsEditable() @Returns('Request') @Creates('Request') @_annotation_Creates_IDBKey Request _add_1(value, key) native; @JSName('add') - @DomName('IDBObjectStore.add') - @DocsEditable() @Returns('Request') @Creates('Request') @_annotation_Creates_IDBKey Request _add_2(value) native; @JSName('clear') - @DomName('IDBObjectStore.clear') - @DocsEditable() Request _clear() native; @JSName('count') - @DomName('IDBObjectStore.count') - @DocsEditable() Request _count(Object key) native; - @DomName('IDBObjectStore.createIndex') - @DocsEditable() Index _createIndex(String name, Object keyPath, [Map options]) { if (options != null) { var options_1 = convertDartToNative_Dictionary(options); @@ -1096,65 +929,37 @@ class ObjectStore extends Interceptor { } @JSName('createIndex') - @DomName('IDBObjectStore.createIndex') - @DocsEditable() Index _createIndex_1(name, keyPath, options) native; @JSName('createIndex') - @DomName('IDBObjectStore.createIndex') - @DocsEditable() Index _createIndex_2(name, keyPath) native; @JSName('delete') - @DomName('IDBObjectStore.delete') - @DocsEditable() Request _delete(Object key) native; - @DomName('IDBObjectStore.deleteIndex') - @DocsEditable() void deleteIndex(String name) native; @JSName('get') - @DomName('IDBObjectStore.get') - @DocsEditable() @Returns('Request') @Creates('Request') @annotation_Creates_SerializedScriptValue Request _get(Object key) native; - @DomName('IDBObjectStore.getAll') - @DocsEditable() - @Experimental() // untriaged Request getAll(Object query, [int count]) native; - @DomName('IDBObjectStore.getAllKeys') - @DocsEditable() - @Experimental() // untriaged Request getAllKeys(Object query, [int count]) native; - @DomName('IDBObjectStore.getKey') - @DocsEditable() - @Experimental() // untriaged Request getKey(Object key) native; - @DomName('IDBObjectStore.index') - @DocsEditable() Index index(String name) native; @JSName('openCursor') - @DomName('IDBObjectStore.openCursor') - @DocsEditable() @Returns('Request') @Creates('Request') @Creates('Cursor') Request _openCursor(Object range, [String direction]) native; - @DomName('IDBObjectStore.openKeyCursor') - @DocsEditable() - @Experimental() // untriaged Request openKeyCursor(Object range, [String direction]) native; - @DomName('IDBObjectStore.put') - @DocsEditable() @Returns('Request') @Creates('Request') @_annotation_Creates_IDBKey @@ -1169,15 +974,11 @@ class ObjectStore extends Interceptor { } @JSName('put') - @DomName('IDBObjectStore.put') - @DocsEditable() @Returns('Request') @Creates('Request') @_annotation_Creates_IDBKey Request _put_1(value, key) native; @JSName('put') - @DomName('IDBObjectStore.put') - @DocsEditable() @Returns('Request') @Creates('Request') @_annotation_Creates_IDBKey @@ -1214,9 +1015,6 @@ class ObjectStore 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('IDBObservation') -@Experimental() // untriaged @Native("IDBObservation") class Observation extends Interceptor { // To suppress missing implicit constructor warnings. @@ -1224,28 +1022,16 @@ class Observation extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('IDBObservation.key') - @DocsEditable() - @Experimental() // untriaged final Object key; - @DomName('IDBObservation.type') - @DocsEditable() - @Experimental() // untriaged final String type; - @DomName('IDBObservation.value') - @DocsEditable() - @Experimental() // untriaged final Object 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('IDBObserver') -@Experimental() // untriaged @Native("IDBObserver") class Observer extends Interceptor { // To suppress missing implicit constructor warnings. @@ -1253,17 +1039,12 @@ class Observer extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('IDBObserver.IDBObserver') - @DocsEditable() factory Observer(ObserverCallback callback) { return Observer._create_1(callback); } static Observer _create_1(callback) => JS('Observer', 'new IDBObserver(#)', callback); - @DomName('IDBObserver.observe') - @DocsEditable() - @Experimental() // untriaged void observe(Database db, Transaction tx, Map options) { var options_1 = convertDartToNative_Dictionary(options); _observe_1(db, tx, options_1); @@ -1271,23 +1052,14 @@ class Observer extends Interceptor { } @JSName('observe') - @DomName('IDBObserver.observe') - @DocsEditable() - @Experimental() // untriaged void _observe_1(Database db, Transaction tx, options) native; - @DomName('IDBObserver.unobserve') - @DocsEditable() - @Experimental() // untriaged void unobserve(Database db) 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('IDBObserverChanges') -@Experimental() // untriaged @Native("IDBObserverChanges") class ObserverChanges extends Interceptor { // To suppress missing implicit constructor warnings. @@ -1295,27 +1067,16 @@ class ObserverChanges extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('IDBObserverChanges.database') - @DocsEditable() - @Experimental() // untriaged final Database database; - @DomName('IDBObserverChanges.records') - @DocsEditable() - @Experimental() // untriaged final Object records; - @DomName('IDBObserverChanges.transaction') - @DocsEditable() - @Experimental() // untriaged final Transaction transaction; } // Copyright (c) 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('IDBOpenDBRequest') @Unstable() @Native("IDBOpenDBRequest,IDBVersionChangeRequest") class OpenDBRequest extends Request { @@ -1330,8 +1091,6 @@ class OpenDBRequest extends Request { * * See [EventStreamProvider] for usage information. */ - @DomName('IDBOpenDBRequest.blockedEvent') - @DocsEditable() static const EventStreamProvider blockedEvent = const EventStreamProvider('blocked'); @@ -1341,19 +1100,13 @@ class OpenDBRequest extends Request { * * See [EventStreamProvider] for usage information. */ - @DomName('IDBOpenDBRequest.upgradeneededEvent') - @DocsEditable() static const EventStreamProvider upgradeNeededEvent = const EventStreamProvider('upgradeneeded'); /// Stream of `blocked` events handled by this [OpenDBRequest]. - @DomName('IDBOpenDBRequest.onblocked') - @DocsEditable() Stream get onBlocked => blockedEvent.forTarget(this); /// Stream of `upgradeneeded` events handled by this [OpenDBRequest]. - @DomName('IDBOpenDBRequest.onupgradeneeded') - @DocsEditable() Stream get onUpgradeNeeded => upgradeNeededEvent.forTarget(this); } @@ -1361,8 +1114,6 @@ class OpenDBRequest extends Request { // 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('IDBRequest') @Unstable() @Native("IDBRequest") class Request extends EventTarget { @@ -1377,8 +1128,6 @@ class Request extends EventTarget { * * See [EventStreamProvider] for usage information. */ - @DomName('IDBRequest.errorEvent') - @DocsEditable() static const EventStreamProvider errorEvent = const EventStreamProvider('error'); @@ -1388,52 +1137,33 @@ class Request extends EventTarget { * * See [EventStreamProvider] for usage information. */ - @DomName('IDBRequest.successEvent') - @DocsEditable() static const EventStreamProvider successEvent = const EventStreamProvider('success'); - @DomName('IDBRequest.error') - @DocsEditable() final DomException error; - @DomName('IDBRequest.readyState') - @DocsEditable() final String readyState; - @DomName('IDBRequest.result') - @DocsEditable() dynamic get result => _convertNativeToDart_IDBAny(this._get_result); @JSName('result') - @DomName('IDBRequest.result') - @DocsEditable() @Creates('Null') final dynamic _get_result; - @DomName('IDBRequest.source') - @DocsEditable() @Creates('Null') final Object source; - @DomName('IDBRequest.transaction') - @DocsEditable() final Transaction transaction; /// Stream of `error` events handled by this [Request]. - @DomName('IDBRequest.onerror') - @DocsEditable() Stream get onError => errorEvent.forTarget(this); /// Stream of `success` events handled by this [Request]. - @DomName('IDBRequest.onsuccess') - @DocsEditable() Stream get onSuccess => successEvent.forTarget(this); } // Copyright (c) 2013, 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. -@DomName('IDBTransaction') @Unstable() @Native("IDBTransaction") class Transaction extends EventTarget { @@ -1476,8 +1206,6 @@ class Transaction extends EventTarget { * * See [EventStreamProvider] for usage information. */ - @DomName('IDBTransaction.abortEvent') - @DocsEditable() static const EventStreamProvider abortEvent = const EventStreamProvider('abort'); @@ -1487,8 +1215,6 @@ class Transaction extends EventTarget { * * See [EventStreamProvider] for usage information. */ - @DomName('IDBTransaction.completeEvent') - @DocsEditable() static const EventStreamProvider completeEvent = const EventStreamProvider('complete'); @@ -1498,58 +1224,36 @@ class Transaction extends EventTarget { * * See [EventStreamProvider] for usage information. */ - @DomName('IDBTransaction.errorEvent') - @DocsEditable() static const EventStreamProvider errorEvent = const EventStreamProvider('error'); - @DomName('IDBTransaction.db') - @DocsEditable() final Database db; - @DomName('IDBTransaction.error') - @DocsEditable() final DomException error; - @DomName('IDBTransaction.mode') - @DocsEditable() final String mode; - @DomName('IDBTransaction.objectStoreNames') - @DocsEditable() - @Experimental() // untriaged @Returns('DomStringList|Null') @Creates('DomStringList') final List objectStoreNames; - @DomName('IDBTransaction.abort') - @DocsEditable() void abort() native; - @DomName('IDBTransaction.objectStore') - @DocsEditable() ObjectStore objectStore(String name) native; /// Stream of `abort` events handled by this [Transaction]. - @DomName('IDBTransaction.onabort') - @DocsEditable() Stream get onAbort => abortEvent.forTarget(this); /// Stream of `complete` events handled by this [Transaction]. - @DomName('IDBTransaction.oncomplete') - @DocsEditable() Stream get onComplete => completeEvent.forTarget(this); /// Stream of `error` events handled by this [Transaction]. - @DomName('IDBTransaction.onerror') - @DocsEditable() Stream get onError => errorEvent.forTarget(this); } // Copyright (c) 2018, 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. -@DomName('IDBVersionChangeEvent') @Unstable() @Native("IDBVersionChangeEvent") class VersionChangeEvent extends Event { @@ -1558,8 +1262,6 @@ class VersionChangeEvent extends Event { throw new UnsupportedError("Not supported"); } - @DomName('IDBVersionChangeEvent.IDBVersionChangeEvent') - @DocsEditable() factory VersionChangeEvent(String type, [Map eventInitDict]) { if (eventInitDict != null) { var eventInitDict_1 = convertDartToNative_Dictionary(eventInitDict); @@ -1575,30 +1277,18 @@ class VersionChangeEvent extends Event { static VersionChangeEvent _create_2(type) => JS('VersionChangeEvent', 'new IDBVersionChangeEvent(#)', type); - @DomName('IDBVersionChangeEvent.dataLoss') - @DocsEditable() - @Experimental() // untriaged final String dataLoss; - @DomName('IDBVersionChangeEvent.dataLossMessage') - @DocsEditable() - @Experimental() // untriaged final String dataLossMessage; - @DomName('IDBVersionChangeEvent.newVersion') - @DocsEditable() @Creates('int|String|Null') @Returns('int|String|Null') final int newVersion; - @DomName('IDBVersionChangeEvent.oldVersion') - @DocsEditable() @Creates('int|String|Null') @Returns('int|String|Null') final int oldVersion; @JSName('target') - @DomName('IDBVersionChangeEvent.target') - @DocsEditable() final OpenDBRequest target; } diff --git a/sdk/lib/svg/dart2js/svg_dart2js.dart b/sdk/lib/svg/dart2js/svg_dart2js.dart index 23c0a701961..fdd5a682e64 100644 --- a/sdk/lib/svg/dart2js/svg_dart2js.dart +++ b/sdk/lib/svg/dart2js/svg_dart2js.dart @@ -37,8 +37,6 @@ class _SvgElementFactoryProvider { // 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('SVGAElement') @Unstable() @Native("SVGAElement") class AElement extends GraphicsElement implements UriReference { @@ -47,8 +45,6 @@ class AElement extends GraphicsElement implements UriReference { throw new UnsupportedError("Not supported"); } - @DomName('SVGAElement.SVGAElement') - @DocsEditable() factory AElement() => _SvgElementFactoryProvider.createSvgElement_tag("a"); /** * Constructor instantiated by the DOM when a custom element has been created. @@ -57,22 +53,16 @@ class AElement extends GraphicsElement implements UriReference { */ AElement.created() : super.created(); - @DomName('SVGAElement.target') - @DocsEditable() final AnimatedString target; // From SVGURIReference - @DomName('SVGAElement.href') - @DocsEditable() final AnimatedString 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('SVGAngle') @Unstable() @Native("SVGAngle") class Angle extends Interceptor { @@ -81,56 +71,32 @@ class Angle extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('SVGAngle.SVG_ANGLETYPE_DEG') - @DocsEditable() static const int SVG_ANGLETYPE_DEG = 2; - @DomName('SVGAngle.SVG_ANGLETYPE_GRAD') - @DocsEditable() static const int SVG_ANGLETYPE_GRAD = 4; - @DomName('SVGAngle.SVG_ANGLETYPE_RAD') - @DocsEditable() static const int SVG_ANGLETYPE_RAD = 3; - @DomName('SVGAngle.SVG_ANGLETYPE_UNKNOWN') - @DocsEditable() static const int SVG_ANGLETYPE_UNKNOWN = 0; - @DomName('SVGAngle.SVG_ANGLETYPE_UNSPECIFIED') - @DocsEditable() static const int SVG_ANGLETYPE_UNSPECIFIED = 1; - @DomName('SVGAngle.unitType') - @DocsEditable() final int unitType; - @DomName('SVGAngle.value') - @DocsEditable() num value; - @DomName('SVGAngle.valueAsString') - @DocsEditable() String valueAsString; - @DomName('SVGAngle.valueInSpecifiedUnits') - @DocsEditable() num valueInSpecifiedUnits; - @DomName('SVGAngle.convertToSpecifiedUnits') - @DocsEditable() void convertToSpecifiedUnits(int unitType) native; - @DomName('SVGAngle.newValueSpecifiedUnits') - @DocsEditable() void newValueSpecifiedUnits(int unitType, num valueInSpecifiedUnits) 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('SVGAnimateElement') @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.FIREFOX) @SupportedBrowser(SupportedBrowser.SAFARI) @@ -142,8 +108,6 @@ class AnimateElement extends AnimationElement { throw new UnsupportedError("Not supported"); } - @DomName('SVGAnimateElement.SVGAnimateElement') - @DocsEditable() factory AnimateElement() => _SvgElementFactoryProvider.createSvgElement_tag("animate"); /** @@ -162,8 +126,6 @@ class AnimateElement extends AnimationElement { // 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('SVGAnimateMotionElement') @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.FIREFOX) @SupportedBrowser(SupportedBrowser.SAFARI) @@ -175,8 +137,6 @@ class AnimateMotionElement extends AnimationElement { throw new UnsupportedError("Not supported"); } - @DomName('SVGAnimateMotionElement.SVGAnimateMotionElement') - @DocsEditable() factory AnimateMotionElement() => _SvgElementFactoryProvider.createSvgElement_tag("animateMotion"); /** @@ -195,8 +155,6 @@ class AnimateMotionElement extends AnimationElement { // 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('SVGAnimateTransformElement') @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.FIREFOX) @SupportedBrowser(SupportedBrowser.SAFARI) @@ -208,8 +166,6 @@ class AnimateTransformElement extends AnimationElement { throw new UnsupportedError("Not supported"); } - @DomName('SVGAnimateTransformElement.SVGAnimateTransformElement') - @DocsEditable() factory AnimateTransformElement() => _SvgElementFactoryProvider.createSvgElement_tag("animateTransform"); /** @@ -228,8 +184,6 @@ class AnimateTransformElement extends AnimationElement { // 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('SVGAnimatedAngle') @Unstable() @Native("SVGAnimatedAngle") class AnimatedAngle extends Interceptor { @@ -238,20 +192,14 @@ class AnimatedAngle extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('SVGAnimatedAngle.animVal') - @DocsEditable() final Angle animVal; - @DomName('SVGAnimatedAngle.baseVal') - @DocsEditable() final Angle 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('SVGAnimatedBoolean') @Unstable() @Native("SVGAnimatedBoolean") class AnimatedBoolean extends Interceptor { @@ -260,20 +208,14 @@ class AnimatedBoolean extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('SVGAnimatedBoolean.animVal') - @DocsEditable() final bool animVal; - @DomName('SVGAnimatedBoolean.baseVal') - @DocsEditable() bool 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('SVGAnimatedEnumeration') @Unstable() @Native("SVGAnimatedEnumeration") class AnimatedEnumeration extends Interceptor { @@ -282,20 +224,14 @@ class AnimatedEnumeration extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('SVGAnimatedEnumeration.animVal') - @DocsEditable() final int animVal; - @DomName('SVGAnimatedEnumeration.baseVal') - @DocsEditable() int 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('SVGAnimatedInteger') @Unstable() @Native("SVGAnimatedInteger") class AnimatedInteger extends Interceptor { @@ -304,20 +240,14 @@ class AnimatedInteger extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('SVGAnimatedInteger.animVal') - @DocsEditable() final int animVal; - @DomName('SVGAnimatedInteger.baseVal') - @DocsEditable() int 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('SVGAnimatedLength') @Unstable() @Native("SVGAnimatedLength") class AnimatedLength extends Interceptor { @@ -326,20 +256,14 @@ class AnimatedLength extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('SVGAnimatedLength.animVal') - @DocsEditable() final Length animVal; - @DomName('SVGAnimatedLength.baseVal') - @DocsEditable() final Length 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('SVGAnimatedLengthList') @Unstable() @Native("SVGAnimatedLengthList") class AnimatedLengthList extends Interceptor { @@ -348,20 +272,14 @@ class AnimatedLengthList extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('SVGAnimatedLengthList.animVal') - @DocsEditable() final LengthList animVal; - @DomName('SVGAnimatedLengthList.baseVal') - @DocsEditable() final LengthList 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('SVGAnimatedNumber') @Unstable() @Native("SVGAnimatedNumber") class AnimatedNumber extends Interceptor { @@ -370,20 +288,14 @@ class AnimatedNumber extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('SVGAnimatedNumber.animVal') - @DocsEditable() final num animVal; - @DomName('SVGAnimatedNumber.baseVal') - @DocsEditable() num 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('SVGAnimatedNumberList') @Unstable() @Native("SVGAnimatedNumberList") class AnimatedNumberList extends Interceptor { @@ -392,20 +304,14 @@ class AnimatedNumberList extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('SVGAnimatedNumberList.animVal') - @DocsEditable() final NumberList animVal; - @DomName('SVGAnimatedNumberList.baseVal') - @DocsEditable() final NumberList 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('SVGAnimatedPreserveAspectRatio') @Unstable() @Native("SVGAnimatedPreserveAspectRatio") class AnimatedPreserveAspectRatio extends Interceptor { @@ -414,20 +320,14 @@ class AnimatedPreserveAspectRatio extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('SVGAnimatedPreserveAspectRatio.animVal') - @DocsEditable() final PreserveAspectRatio animVal; - @DomName('SVGAnimatedPreserveAspectRatio.baseVal') - @DocsEditable() final PreserveAspectRatio 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('SVGAnimatedRect') @Unstable() @Native("SVGAnimatedRect") class AnimatedRect extends Interceptor { @@ -436,20 +336,14 @@ class AnimatedRect extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('SVGAnimatedRect.animVal') - @DocsEditable() final Rect animVal; - @DomName('SVGAnimatedRect.baseVal') - @DocsEditable() final Rect 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('SVGAnimatedString') @Unstable() @Native("SVGAnimatedString") class AnimatedString extends Interceptor { @@ -458,20 +352,14 @@ class AnimatedString extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('SVGAnimatedString.animVal') - @DocsEditable() final String animVal; - @DomName('SVGAnimatedString.baseVal') - @DocsEditable() String 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('SVGAnimatedTransformList') @Unstable() @Native("SVGAnimatedTransformList") class AnimatedTransformList extends Interceptor { @@ -480,20 +368,14 @@ class AnimatedTransformList extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('SVGAnimatedTransformList.animVal') - @DocsEditable() final TransformList animVal; - @DomName('SVGAnimatedTransformList.baseVal') - @DocsEditable() final TransformList 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('SVGAnimationElement') @Unstable() @Native("SVGAnimationElement") class AnimationElement extends SvgElement implements Tests { @@ -502,8 +384,6 @@ class AnimationElement extends SvgElement implements Tests { throw new UnsupportedError("Not supported"); } - @DomName('SVGAnimationElement.SVGAnimationElement') - @DocsEditable() factory AnimationElement() => _SvgElementFactoryProvider.createSvgElement_tag("animation"); /** @@ -513,54 +393,32 @@ class AnimationElement extends SvgElement implements Tests { */ AnimationElement.created() : super.created(); - @DomName('SVGAnimationElement.targetElement') - @DocsEditable() final SvgElement targetElement; - @DomName('SVGAnimationElement.beginElement') - @DocsEditable() void beginElement() native; - @DomName('SVGAnimationElement.beginElementAt') - @DocsEditable() void beginElementAt(num offset) native; - @DomName('SVGAnimationElement.endElement') - @DocsEditable() void endElement() native; - @DomName('SVGAnimationElement.endElementAt') - @DocsEditable() void endElementAt(num offset) native; - @DomName('SVGAnimationElement.getCurrentTime') - @DocsEditable() double getCurrentTime() native; - @DomName('SVGAnimationElement.getSimpleDuration') - @DocsEditable() double getSimpleDuration() native; - @DomName('SVGAnimationElement.getStartTime') - @DocsEditable() double getStartTime() native; // From SVGTests - @DomName('SVGAnimationElement.requiredExtensions') - @DocsEditable() final StringList requiredExtensions; - @DomName('SVGAnimationElement.systemLanguage') - @DocsEditable() final StringList systemLanguage; } // Copyright (c) 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('SVGCircleElement') @Unstable() @Native("SVGCircleElement") class CircleElement extends GeometryElement { @@ -569,8 +427,6 @@ class CircleElement extends GeometryElement { throw new UnsupportedError("Not supported"); } - @DomName('SVGCircleElement.SVGCircleElement') - @DocsEditable() factory CircleElement() => _SvgElementFactoryProvider.createSvgElement_tag("circle"); /** @@ -580,24 +436,16 @@ class CircleElement extends GeometryElement { */ CircleElement.created() : super.created(); - @DomName('SVGCircleElement.cx') - @DocsEditable() final AnimatedLength cx; - @DomName('SVGCircleElement.cy') - @DocsEditable() final AnimatedLength cy; - @DomName('SVGCircleElement.r') - @DocsEditable() final AnimatedLength 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('SVGClipPathElement') @Unstable() @Native("SVGClipPathElement") class ClipPathElement extends GraphicsElement { @@ -606,8 +454,6 @@ class ClipPathElement extends GraphicsElement { throw new UnsupportedError("Not supported"); } - @DomName('SVGClipPathElement.SVGClipPathElement') - @DocsEditable() factory ClipPathElement() => _SvgElementFactoryProvider.createSvgElement_tag("clipPath"); /** @@ -617,16 +463,12 @@ class ClipPathElement extends GraphicsElement { */ ClipPathElement.created() : super.created(); - @DomName('SVGClipPathElement.clipPathUnits') - @DocsEditable() final AnimatedEnumeration 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('SVGDefsElement') @Unstable() @Native("SVGDefsElement") class DefsElement extends GraphicsElement { @@ -635,8 +477,6 @@ class DefsElement extends GraphicsElement { throw new UnsupportedError("Not supported"); } - @DomName('SVGDefsElement.SVGDefsElement') - @DocsEditable() factory DefsElement() => _SvgElementFactoryProvider.createSvgElement_tag("defs"); /** @@ -650,8 +490,6 @@ class DefsElement extends GraphicsElement { // 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('SVGDescElement') @Unstable() @Native("SVGDescElement") class DescElement extends SvgElement { @@ -660,8 +498,6 @@ class DescElement extends SvgElement { throw new UnsupportedError("Not supported"); } - @DomName('SVGDescElement.SVGDescElement') - @DocsEditable() factory DescElement() => _SvgElementFactoryProvider.createSvgElement_tag("desc"); /** @@ -675,9 +511,6 @@ class DescElement extends SvgElement { // 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('SVGDiscardElement') -@Experimental() // untriaged @Native("SVGDiscardElement") class DiscardElement extends SvgElement { // To suppress missing implicit constructor warnings. @@ -695,8 +528,6 @@ class DiscardElement extends SvgElement { // 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('SVGEllipseElement') @Unstable() @Native("SVGEllipseElement") class EllipseElement extends GeometryElement { @@ -705,8 +536,6 @@ class EllipseElement extends GeometryElement { throw new UnsupportedError("Not supported"); } - @DomName('SVGEllipseElement.SVGEllipseElement') - @DocsEditable() factory EllipseElement() => _SvgElementFactoryProvider.createSvgElement_tag("ellipse"); /** @@ -716,28 +545,18 @@ class EllipseElement extends GeometryElement { */ EllipseElement.created() : super.created(); - @DomName('SVGEllipseElement.cx') - @DocsEditable() final AnimatedLength cx; - @DomName('SVGEllipseElement.cy') - @DocsEditable() final AnimatedLength cy; - @DomName('SVGEllipseElement.rx') - @DocsEditable() final AnimatedLength rx; - @DomName('SVGEllipseElement.ry') - @DocsEditable() final AnimatedLength 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('SVGFEBlendElement') @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.FIREFOX) @SupportedBrowser(SupportedBrowser.IE, '10') @@ -751,8 +570,6 @@ class FEBlendElement extends SvgElement throw new UnsupportedError("Not supported"); } - @DomName('SVGFEBlendElement.SVGFEBlendElement') - @DocsEditable() factory FEBlendElement() => _SvgElementFactoryProvider.createSvgElement_tag("feBlend"); /** @@ -767,70 +584,40 @@ class FEBlendElement extends SvgElement SvgElement.isTagSupported('feBlend') && (new SvgElement.tag('feBlend') is FEBlendElement); - @DomName('SVGFEBlendElement.SVG_FEBLEND_MODE_DARKEN') - @DocsEditable() static const int SVG_FEBLEND_MODE_DARKEN = 4; - @DomName('SVGFEBlendElement.SVG_FEBLEND_MODE_LIGHTEN') - @DocsEditable() static const int SVG_FEBLEND_MODE_LIGHTEN = 5; - @DomName('SVGFEBlendElement.SVG_FEBLEND_MODE_MULTIPLY') - @DocsEditable() static const int SVG_FEBLEND_MODE_MULTIPLY = 2; - @DomName('SVGFEBlendElement.SVG_FEBLEND_MODE_NORMAL') - @DocsEditable() static const int SVG_FEBLEND_MODE_NORMAL = 1; - @DomName('SVGFEBlendElement.SVG_FEBLEND_MODE_SCREEN') - @DocsEditable() static const int SVG_FEBLEND_MODE_SCREEN = 3; - @DomName('SVGFEBlendElement.SVG_FEBLEND_MODE_UNKNOWN') - @DocsEditable() static const int SVG_FEBLEND_MODE_UNKNOWN = 0; - @DomName('SVGFEBlendElement.in1') - @DocsEditable() final AnimatedString in1; - @DomName('SVGFEBlendElement.in2') - @DocsEditable() final AnimatedString in2; - @DomName('SVGFEBlendElement.mode') - @DocsEditable() final AnimatedEnumeration mode; // From SVGFilterPrimitiveStandardAttributes - @DomName('SVGFEBlendElement.height') - @DocsEditable() final AnimatedLength height; - @DomName('SVGFEBlendElement.result') - @DocsEditable() final AnimatedString result; - @DomName('SVGFEBlendElement.width') - @DocsEditable() final AnimatedLength width; - @DomName('SVGFEBlendElement.x') - @DocsEditable() final AnimatedLength x; - @DomName('SVGFEBlendElement.y') - @DocsEditable() final AnimatedLength 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('SVGFEColorMatrixElement') @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.FIREFOX) @SupportedBrowser(SupportedBrowser.IE, '10') @@ -844,8 +631,6 @@ class FEColorMatrixElement extends SvgElement throw new UnsupportedError("Not supported"); } - @DomName('SVGFEColorMatrixElement.SVGFEColorMatrixElement') - @DocsEditable() factory FEColorMatrixElement() => _SvgElementFactoryProvider.createSvgElement_tag("feColorMatrix"); /** @@ -860,66 +645,38 @@ class FEColorMatrixElement extends SvgElement SvgElement.isTagSupported('feColorMatrix') && (new SvgElement.tag('feColorMatrix') is FEColorMatrixElement); - @DomName('SVGFEColorMatrixElement.SVG_FECOLORMATRIX_TYPE_HUEROTATE') - @DocsEditable() static const int SVG_FECOLORMATRIX_TYPE_HUEROTATE = 3; - @DomName('SVGFEColorMatrixElement.SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA') - @DocsEditable() static const int SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA = 4; - @DomName('SVGFEColorMatrixElement.SVG_FECOLORMATRIX_TYPE_MATRIX') - @DocsEditable() static const int SVG_FECOLORMATRIX_TYPE_MATRIX = 1; - @DomName('SVGFEColorMatrixElement.SVG_FECOLORMATRIX_TYPE_SATURATE') - @DocsEditable() static const int SVG_FECOLORMATRIX_TYPE_SATURATE = 2; - @DomName('SVGFEColorMatrixElement.SVG_FECOLORMATRIX_TYPE_UNKNOWN') - @DocsEditable() static const int SVG_FECOLORMATRIX_TYPE_UNKNOWN = 0; - @DomName('SVGFEColorMatrixElement.in1') - @DocsEditable() final AnimatedString in1; - @DomName('SVGFEColorMatrixElement.type') - @DocsEditable() final AnimatedEnumeration type; - @DomName('SVGFEColorMatrixElement.values') - @DocsEditable() final AnimatedNumberList values; // From SVGFilterPrimitiveStandardAttributes - @DomName('SVGFEColorMatrixElement.height') - @DocsEditable() final AnimatedLength height; - @DomName('SVGFEColorMatrixElement.result') - @DocsEditable() final AnimatedString result; - @DomName('SVGFEColorMatrixElement.width') - @DocsEditable() final AnimatedLength width; - @DomName('SVGFEColorMatrixElement.x') - @DocsEditable() final AnimatedLength x; - @DomName('SVGFEColorMatrixElement.y') - @DocsEditable() final AnimatedLength 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('SVGFEComponentTransferElement') @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.FIREFOX) @SupportedBrowser(SupportedBrowser.IE, '10') @@ -933,8 +690,6 @@ class FEComponentTransferElement extends SvgElement throw new UnsupportedError("Not supported"); } - @DomName('SVGFEComponentTransferElement.SVGFEComponentTransferElement') - @DocsEditable() factory FEComponentTransferElement() => _SvgElementFactoryProvider.createSvgElement_tag("feComponentTransfer"); /** @@ -949,38 +704,24 @@ class FEComponentTransferElement extends SvgElement SvgElement.isTagSupported('feComponentTransfer') && (new SvgElement.tag('feComponentTransfer') is FEComponentTransferElement); - @DomName('SVGFEComponentTransferElement.in1') - @DocsEditable() final AnimatedString in1; // From SVGFilterPrimitiveStandardAttributes - @DomName('SVGFEComponentTransferElement.height') - @DocsEditable() final AnimatedLength height; - @DomName('SVGFEComponentTransferElement.result') - @DocsEditable() final AnimatedString result; - @DomName('SVGFEComponentTransferElement.width') - @DocsEditable() final AnimatedLength width; - @DomName('SVGFEComponentTransferElement.x') - @DocsEditable() final AnimatedLength x; - @DomName('SVGFEComponentTransferElement.y') - @DocsEditable() final AnimatedLength 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('SVGFECompositeElement') @Unstable() @Native("SVGFECompositeElement") class FECompositeElement extends SvgElement @@ -996,90 +737,50 @@ class FECompositeElement extends SvgElement */ FECompositeElement.created() : super.created(); - @DomName('SVGFECompositeElement.SVG_FECOMPOSITE_OPERATOR_ARITHMETIC') - @DocsEditable() static const int SVG_FECOMPOSITE_OPERATOR_ARITHMETIC = 6; - @DomName('SVGFECompositeElement.SVG_FECOMPOSITE_OPERATOR_ATOP') - @DocsEditable() static const int SVG_FECOMPOSITE_OPERATOR_ATOP = 4; - @DomName('SVGFECompositeElement.SVG_FECOMPOSITE_OPERATOR_IN') - @DocsEditable() static const int SVG_FECOMPOSITE_OPERATOR_IN = 2; - @DomName('SVGFECompositeElement.SVG_FECOMPOSITE_OPERATOR_OUT') - @DocsEditable() static const int SVG_FECOMPOSITE_OPERATOR_OUT = 3; - @DomName('SVGFECompositeElement.SVG_FECOMPOSITE_OPERATOR_OVER') - @DocsEditable() static const int SVG_FECOMPOSITE_OPERATOR_OVER = 1; - @DomName('SVGFECompositeElement.SVG_FECOMPOSITE_OPERATOR_UNKNOWN') - @DocsEditable() static const int SVG_FECOMPOSITE_OPERATOR_UNKNOWN = 0; - @DomName('SVGFECompositeElement.SVG_FECOMPOSITE_OPERATOR_XOR') - @DocsEditable() static const int SVG_FECOMPOSITE_OPERATOR_XOR = 5; - @DomName('SVGFECompositeElement.in1') - @DocsEditable() final AnimatedString in1; - @DomName('SVGFECompositeElement.in2') - @DocsEditable() final AnimatedString in2; - @DomName('SVGFECompositeElement.k1') - @DocsEditable() final AnimatedNumber k1; - @DomName('SVGFECompositeElement.k2') - @DocsEditable() final AnimatedNumber k2; - @DomName('SVGFECompositeElement.k3') - @DocsEditable() final AnimatedNumber k3; - @DomName('SVGFECompositeElement.k4') - @DocsEditable() final AnimatedNumber k4; - @DomName('SVGFECompositeElement.operator') - @DocsEditable() final AnimatedEnumeration operator; // From SVGFilterPrimitiveStandardAttributes - @DomName('SVGFECompositeElement.height') - @DocsEditable() final AnimatedLength height; - @DomName('SVGFECompositeElement.result') - @DocsEditable() final AnimatedString result; - @DomName('SVGFECompositeElement.width') - @DocsEditable() final AnimatedLength width; - @DomName('SVGFECompositeElement.x') - @DocsEditable() final AnimatedLength x; - @DomName('SVGFECompositeElement.y') - @DocsEditable() final AnimatedLength 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('SVGFEConvolveMatrixElement') @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.FIREFOX) @SupportedBrowser(SupportedBrowser.IE, '10') @@ -1093,8 +794,6 @@ class FEConvolveMatrixElement extends SvgElement throw new UnsupportedError("Not supported"); } - @DomName('SVGFEConvolveMatrixElement.SVGFEConvolveMatrixElement') - @DocsEditable() factory FEConvolveMatrixElement() => _SvgElementFactoryProvider.createSvgElement_tag("feConvolveMatrix"); /** @@ -1109,98 +808,54 @@ class FEConvolveMatrixElement extends SvgElement SvgElement.isTagSupported('feConvolveMatrix') && (new SvgElement.tag('feConvolveMatrix') is FEConvolveMatrixElement); - @DomName('SVGFEConvolveMatrixElement.SVG_EDGEMODE_DUPLICATE') - @DocsEditable() static const int SVG_EDGEMODE_DUPLICATE = 1; - @DomName('SVGFEConvolveMatrixElement.SVG_EDGEMODE_NONE') - @DocsEditable() static const int SVG_EDGEMODE_NONE = 3; - @DomName('SVGFEConvolveMatrixElement.SVG_EDGEMODE_UNKNOWN') - @DocsEditable() static const int SVG_EDGEMODE_UNKNOWN = 0; - @DomName('SVGFEConvolveMatrixElement.SVG_EDGEMODE_WRAP') - @DocsEditable() static const int SVG_EDGEMODE_WRAP = 2; - @DomName('SVGFEConvolveMatrixElement.bias') - @DocsEditable() final AnimatedNumber bias; - @DomName('SVGFEConvolveMatrixElement.divisor') - @DocsEditable() final AnimatedNumber divisor; - @DomName('SVGFEConvolveMatrixElement.edgeMode') - @DocsEditable() final AnimatedEnumeration edgeMode; - @DomName('SVGFEConvolveMatrixElement.in1') - @DocsEditable() final AnimatedString in1; - @DomName('SVGFEConvolveMatrixElement.kernelMatrix') - @DocsEditable() final AnimatedNumberList kernelMatrix; - @DomName('SVGFEConvolveMatrixElement.kernelUnitLengthX') - @DocsEditable() final AnimatedNumber kernelUnitLengthX; - @DomName('SVGFEConvolveMatrixElement.kernelUnitLengthY') - @DocsEditable() final AnimatedNumber kernelUnitLengthY; - @DomName('SVGFEConvolveMatrixElement.orderX') - @DocsEditable() final AnimatedInteger orderX; - @DomName('SVGFEConvolveMatrixElement.orderY') - @DocsEditable() final AnimatedInteger orderY; - @DomName('SVGFEConvolveMatrixElement.preserveAlpha') - @DocsEditable() final AnimatedBoolean preserveAlpha; - @DomName('SVGFEConvolveMatrixElement.targetX') - @DocsEditable() final AnimatedInteger targetX; - @DomName('SVGFEConvolveMatrixElement.targetY') - @DocsEditable() final AnimatedInteger targetY; // From SVGFilterPrimitiveStandardAttributes - @DomName('SVGFEConvolveMatrixElement.height') - @DocsEditable() final AnimatedLength height; - @DomName('SVGFEConvolveMatrixElement.result') - @DocsEditable() final AnimatedString result; - @DomName('SVGFEConvolveMatrixElement.width') - @DocsEditable() final AnimatedLength width; - @DomName('SVGFEConvolveMatrixElement.x') - @DocsEditable() final AnimatedLength x; - @DomName('SVGFEConvolveMatrixElement.y') - @DocsEditable() final AnimatedLength 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('SVGFEDiffuseLightingElement') @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.FIREFOX) @SupportedBrowser(SupportedBrowser.IE, '10') @@ -1214,8 +869,6 @@ class FEDiffuseLightingElement extends SvgElement throw new UnsupportedError("Not supported"); } - @DomName('SVGFEDiffuseLightingElement.SVGFEDiffuseLightingElement') - @DocsEditable() factory FEDiffuseLightingElement() => _SvgElementFactoryProvider.createSvgElement_tag("feDiffuseLighting"); /** @@ -1230,54 +883,32 @@ class FEDiffuseLightingElement extends SvgElement SvgElement.isTagSupported('feDiffuseLighting') && (new SvgElement.tag('feDiffuseLighting') is FEDiffuseLightingElement); - @DomName('SVGFEDiffuseLightingElement.diffuseConstant') - @DocsEditable() final AnimatedNumber diffuseConstant; - @DomName('SVGFEDiffuseLightingElement.in1') - @DocsEditable() final AnimatedString in1; - @DomName('SVGFEDiffuseLightingElement.kernelUnitLengthX') - @DocsEditable() final AnimatedNumber kernelUnitLengthX; - @DomName('SVGFEDiffuseLightingElement.kernelUnitLengthY') - @DocsEditable() final AnimatedNumber kernelUnitLengthY; - @DomName('SVGFEDiffuseLightingElement.surfaceScale') - @DocsEditable() final AnimatedNumber surfaceScale; // From SVGFilterPrimitiveStandardAttributes - @DomName('SVGFEDiffuseLightingElement.height') - @DocsEditable() final AnimatedLength height; - @DomName('SVGFEDiffuseLightingElement.result') - @DocsEditable() final AnimatedString result; - @DomName('SVGFEDiffuseLightingElement.width') - @DocsEditable() final AnimatedLength width; - @DomName('SVGFEDiffuseLightingElement.x') - @DocsEditable() final AnimatedLength x; - @DomName('SVGFEDiffuseLightingElement.y') - @DocsEditable() final AnimatedLength 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('SVGFEDisplacementMapElement') @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.FIREFOX) @SupportedBrowser(SupportedBrowser.IE, '10') @@ -1291,8 +922,6 @@ class FEDisplacementMapElement extends SvgElement throw new UnsupportedError("Not supported"); } - @DomName('SVGFEDisplacementMapElement.SVGFEDisplacementMapElement') - @DocsEditable() factory FEDisplacementMapElement() => _SvgElementFactoryProvider.createSvgElement_tag("feDisplacementMap"); /** @@ -1307,74 +936,42 @@ class FEDisplacementMapElement extends SvgElement SvgElement.isTagSupported('feDisplacementMap') && (new SvgElement.tag('feDisplacementMap') is FEDisplacementMapElement); - @DomName('SVGFEDisplacementMapElement.SVG_CHANNEL_A') - @DocsEditable() static const int SVG_CHANNEL_A = 4; - @DomName('SVGFEDisplacementMapElement.SVG_CHANNEL_B') - @DocsEditable() static const int SVG_CHANNEL_B = 3; - @DomName('SVGFEDisplacementMapElement.SVG_CHANNEL_G') - @DocsEditable() static const int SVG_CHANNEL_G = 2; - @DomName('SVGFEDisplacementMapElement.SVG_CHANNEL_R') - @DocsEditable() static const int SVG_CHANNEL_R = 1; - @DomName('SVGFEDisplacementMapElement.SVG_CHANNEL_UNKNOWN') - @DocsEditable() static const int SVG_CHANNEL_UNKNOWN = 0; - @DomName('SVGFEDisplacementMapElement.in1') - @DocsEditable() final AnimatedString in1; - @DomName('SVGFEDisplacementMapElement.in2') - @DocsEditable() final AnimatedString in2; - @DomName('SVGFEDisplacementMapElement.scale') - @DocsEditable() final AnimatedNumber scale; - @DomName('SVGFEDisplacementMapElement.xChannelSelector') - @DocsEditable() final AnimatedEnumeration xChannelSelector; - @DomName('SVGFEDisplacementMapElement.yChannelSelector') - @DocsEditable() final AnimatedEnumeration yChannelSelector; // From SVGFilterPrimitiveStandardAttributes - @DomName('SVGFEDisplacementMapElement.height') - @DocsEditable() final AnimatedLength height; - @DomName('SVGFEDisplacementMapElement.result') - @DocsEditable() final AnimatedString result; - @DomName('SVGFEDisplacementMapElement.width') - @DocsEditable() final AnimatedLength width; - @DomName('SVGFEDisplacementMapElement.x') - @DocsEditable() final AnimatedLength x; - @DomName('SVGFEDisplacementMapElement.y') - @DocsEditable() final AnimatedLength 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('SVGFEDistantLightElement') @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.FIREFOX) @SupportedBrowser(SupportedBrowser.IE, '10') @@ -1387,8 +984,6 @@ class FEDistantLightElement extends SvgElement { throw new UnsupportedError("Not supported"); } - @DomName('SVGFEDistantLightElement.SVGFEDistantLightElement') - @DocsEditable() factory FEDistantLightElement() => _SvgElementFactoryProvider.createSvgElement_tag("feDistantLight"); /** @@ -1403,20 +998,14 @@ class FEDistantLightElement extends SvgElement { SvgElement.isTagSupported('feDistantLight') && (new SvgElement.tag('feDistantLight') is FEDistantLightElement); - @DomName('SVGFEDistantLightElement.azimuth') - @DocsEditable() final AnimatedNumber azimuth; - @DomName('SVGFEDistantLightElement.elevation') - @DocsEditable() final AnimatedNumber 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('SVGFEFloodElement') @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.FIREFOX) @SupportedBrowser(SupportedBrowser.IE, '10') @@ -1430,8 +1019,6 @@ class FEFloodElement extends SvgElement throw new UnsupportedError("Not supported"); } - @DomName('SVGFEFloodElement.SVGFEFloodElement') - @DocsEditable() factory FEFloodElement() => _SvgElementFactoryProvider.createSvgElement_tag("feFlood"); /** @@ -1448,32 +1035,20 @@ class FEFloodElement extends SvgElement // From SVGFilterPrimitiveStandardAttributes - @DomName('SVGFEFloodElement.height') - @DocsEditable() final AnimatedLength height; - @DomName('SVGFEFloodElement.result') - @DocsEditable() final AnimatedString result; - @DomName('SVGFEFloodElement.width') - @DocsEditable() final AnimatedLength width; - @DomName('SVGFEFloodElement.x') - @DocsEditable() final AnimatedLength x; - @DomName('SVGFEFloodElement.y') - @DocsEditable() final AnimatedLength 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('SVGFEFuncAElement') @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.FIREFOX) @SupportedBrowser(SupportedBrowser.IE, '10') @@ -1486,8 +1061,6 @@ class FEFuncAElement extends _SVGComponentTransferFunctionElement { throw new UnsupportedError("Not supported"); } - @DomName('SVGFEFuncAElement.SVGFEFuncAElement') - @DocsEditable() factory FEFuncAElement() => _SvgElementFactoryProvider.createSvgElement_tag("feFuncA"); /** @@ -1506,8 +1079,6 @@ class FEFuncAElement extends _SVGComponentTransferFunctionElement { // 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('SVGFEFuncBElement') @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.FIREFOX) @SupportedBrowser(SupportedBrowser.IE, '10') @@ -1520,8 +1091,6 @@ class FEFuncBElement extends _SVGComponentTransferFunctionElement { throw new UnsupportedError("Not supported"); } - @DomName('SVGFEFuncBElement.SVGFEFuncBElement') - @DocsEditable() factory FEFuncBElement() => _SvgElementFactoryProvider.createSvgElement_tag("feFuncB"); /** @@ -1540,8 +1109,6 @@ class FEFuncBElement extends _SVGComponentTransferFunctionElement { // 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('SVGFEFuncGElement') @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.FIREFOX) @SupportedBrowser(SupportedBrowser.IE, '10') @@ -1554,8 +1121,6 @@ class FEFuncGElement extends _SVGComponentTransferFunctionElement { throw new UnsupportedError("Not supported"); } - @DomName('SVGFEFuncGElement.SVGFEFuncGElement') - @DocsEditable() factory FEFuncGElement() => _SvgElementFactoryProvider.createSvgElement_tag("feFuncG"); /** @@ -1574,8 +1139,6 @@ class FEFuncGElement extends _SVGComponentTransferFunctionElement { // 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('SVGFEFuncRElement') @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.FIREFOX) @SupportedBrowser(SupportedBrowser.IE, '10') @@ -1588,8 +1151,6 @@ class FEFuncRElement extends _SVGComponentTransferFunctionElement { throw new UnsupportedError("Not supported"); } - @DomName('SVGFEFuncRElement.SVGFEFuncRElement') - @DocsEditable() factory FEFuncRElement() => _SvgElementFactoryProvider.createSvgElement_tag("feFuncR"); /** @@ -1608,8 +1169,6 @@ class FEFuncRElement extends _SVGComponentTransferFunctionElement { // 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('SVGFEGaussianBlurElement') @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.FIREFOX) @SupportedBrowser(SupportedBrowser.IE, '10') @@ -1623,8 +1182,6 @@ class FEGaussianBlurElement extends SvgElement throw new UnsupportedError("Not supported"); } - @DomName('SVGFEGaussianBlurElement.SVGFEGaussianBlurElement') - @DocsEditable() factory FEGaussianBlurElement() => _SvgElementFactoryProvider.createSvgElement_tag("feGaussianBlur"); /** @@ -1639,50 +1196,30 @@ class FEGaussianBlurElement extends SvgElement SvgElement.isTagSupported('feGaussianBlur') && (new SvgElement.tag('feGaussianBlur') is FEGaussianBlurElement); - @DomName('SVGFEGaussianBlurElement.in1') - @DocsEditable() final AnimatedString in1; - @DomName('SVGFEGaussianBlurElement.stdDeviationX') - @DocsEditable() final AnimatedNumber stdDeviationX; - @DomName('SVGFEGaussianBlurElement.stdDeviationY') - @DocsEditable() final AnimatedNumber stdDeviationY; - @DomName('SVGFEGaussianBlurElement.setStdDeviation') - @DocsEditable() void setStdDeviation(num stdDeviationX, num stdDeviationY) native; // From SVGFilterPrimitiveStandardAttributes - @DomName('SVGFEGaussianBlurElement.height') - @DocsEditable() final AnimatedLength height; - @DomName('SVGFEGaussianBlurElement.result') - @DocsEditable() final AnimatedString result; - @DomName('SVGFEGaussianBlurElement.width') - @DocsEditable() final AnimatedLength width; - @DomName('SVGFEGaussianBlurElement.x') - @DocsEditable() final AnimatedLength x; - @DomName('SVGFEGaussianBlurElement.y') - @DocsEditable() final AnimatedLength 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('SVGFEImageElement') @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.FIREFOX) @SupportedBrowser(SupportedBrowser.IE, '10') @@ -1696,8 +1233,6 @@ class FEImageElement extends SvgElement throw new UnsupportedError("Not supported"); } - @DomName('SVGFEImageElement.SVGFEImageElement') - @DocsEditable() factory FEImageElement() => _SvgElementFactoryProvider.createSvgElement_tag("feImage"); /** @@ -1712,44 +1247,28 @@ class FEImageElement extends SvgElement SvgElement.isTagSupported('feImage') && (new SvgElement.tag('feImage') is FEImageElement); - @DomName('SVGFEImageElement.preserveAspectRatio') - @DocsEditable() final AnimatedPreserveAspectRatio preserveAspectRatio; // From SVGFilterPrimitiveStandardAttributes - @DomName('SVGFEImageElement.height') - @DocsEditable() final AnimatedLength height; - @DomName('SVGFEImageElement.result') - @DocsEditable() final AnimatedString result; - @DomName('SVGFEImageElement.width') - @DocsEditable() final AnimatedLength width; - @DomName('SVGFEImageElement.x') - @DocsEditable() final AnimatedLength x; - @DomName('SVGFEImageElement.y') - @DocsEditable() final AnimatedLength y; // From SVGURIReference - @DomName('SVGFEImageElement.href') - @DocsEditable() final AnimatedString 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('SVGFEMergeElement') @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.FIREFOX) @SupportedBrowser(SupportedBrowser.IE, '10') @@ -1763,8 +1282,6 @@ class FEMergeElement extends SvgElement throw new UnsupportedError("Not supported"); } - @DomName('SVGFEMergeElement.SVGFEMergeElement') - @DocsEditable() factory FEMergeElement() => _SvgElementFactoryProvider.createSvgElement_tag("feMerge"); /** @@ -1781,32 +1298,20 @@ class FEMergeElement extends SvgElement // From SVGFilterPrimitiveStandardAttributes - @DomName('SVGFEMergeElement.height') - @DocsEditable() final AnimatedLength height; - @DomName('SVGFEMergeElement.result') - @DocsEditable() final AnimatedString result; - @DomName('SVGFEMergeElement.width') - @DocsEditable() final AnimatedLength width; - @DomName('SVGFEMergeElement.x') - @DocsEditable() final AnimatedLength x; - @DomName('SVGFEMergeElement.y') - @DocsEditable() final AnimatedLength 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('SVGFEMergeNodeElement') @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.FIREFOX) @SupportedBrowser(SupportedBrowser.IE, '10') @@ -1819,8 +1324,6 @@ class FEMergeNodeElement extends SvgElement { throw new UnsupportedError("Not supported"); } - @DomName('SVGFEMergeNodeElement.SVGFEMergeNodeElement') - @DocsEditable() factory FEMergeNodeElement() => _SvgElementFactoryProvider.createSvgElement_tag("feMergeNode"); /** @@ -1835,16 +1338,12 @@ class FEMergeNodeElement extends SvgElement { SvgElement.isTagSupported('feMergeNode') && (new SvgElement.tag('feMergeNode') is FEMergeNodeElement); - @DomName('SVGFEMergeNodeElement.in1') - @DocsEditable() final AnimatedString 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('SVGFEMorphologyElement') @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.FIREFOX) @SupportedBrowser(SupportedBrowser.IE, '10') @@ -1864,62 +1363,36 @@ class FEMorphologyElement extends SvgElement */ FEMorphologyElement.created() : super.created(); - @DomName('SVGFEMorphologyElement.SVG_MORPHOLOGY_OPERATOR_DILATE') - @DocsEditable() static const int SVG_MORPHOLOGY_OPERATOR_DILATE = 2; - @DomName('SVGFEMorphologyElement.SVG_MORPHOLOGY_OPERATOR_ERODE') - @DocsEditable() static const int SVG_MORPHOLOGY_OPERATOR_ERODE = 1; - @DomName('SVGFEMorphologyElement.SVG_MORPHOLOGY_OPERATOR_UNKNOWN') - @DocsEditable() static const int SVG_MORPHOLOGY_OPERATOR_UNKNOWN = 0; - @DomName('SVGFEMorphologyElement.in1') - @DocsEditable() final AnimatedString in1; - @DomName('SVGFEMorphologyElement.operator') - @DocsEditable() final AnimatedEnumeration operator; - @DomName('SVGFEMorphologyElement.radiusX') - @DocsEditable() final AnimatedNumber radiusX; - @DomName('SVGFEMorphologyElement.radiusY') - @DocsEditable() final AnimatedNumber radiusY; // From SVGFilterPrimitiveStandardAttributes - @DomName('SVGFEMorphologyElement.height') - @DocsEditable() final AnimatedLength height; - @DomName('SVGFEMorphologyElement.result') - @DocsEditable() final AnimatedString result; - @DomName('SVGFEMorphologyElement.width') - @DocsEditable() final AnimatedLength width; - @DomName('SVGFEMorphologyElement.x') - @DocsEditable() final AnimatedLength x; - @DomName('SVGFEMorphologyElement.y') - @DocsEditable() final AnimatedLength 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('SVGFEOffsetElement') @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.FIREFOX) @SupportedBrowser(SupportedBrowser.IE, '10') @@ -1933,8 +1406,6 @@ class FEOffsetElement extends SvgElement throw new UnsupportedError("Not supported"); } - @DomName('SVGFEOffsetElement.SVGFEOffsetElement') - @DocsEditable() factory FEOffsetElement() => _SvgElementFactoryProvider.createSvgElement_tag("feOffset"); /** @@ -1949,46 +1420,28 @@ class FEOffsetElement extends SvgElement SvgElement.isTagSupported('feOffset') && (new SvgElement.tag('feOffset') is FEOffsetElement); - @DomName('SVGFEOffsetElement.dx') - @DocsEditable() final AnimatedNumber dx; - @DomName('SVGFEOffsetElement.dy') - @DocsEditable() final AnimatedNumber dy; - @DomName('SVGFEOffsetElement.in1') - @DocsEditable() final AnimatedString in1; // From SVGFilterPrimitiveStandardAttributes - @DomName('SVGFEOffsetElement.height') - @DocsEditable() final AnimatedLength height; - @DomName('SVGFEOffsetElement.result') - @DocsEditable() final AnimatedString result; - @DomName('SVGFEOffsetElement.width') - @DocsEditable() final AnimatedLength width; - @DomName('SVGFEOffsetElement.x') - @DocsEditable() final AnimatedLength x; - @DomName('SVGFEOffsetElement.y') - @DocsEditable() final AnimatedLength 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('SVGFEPointLightElement') @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.FIREFOX) @SupportedBrowser(SupportedBrowser.IE, '10') @@ -2001,8 +1454,6 @@ class FEPointLightElement extends SvgElement { throw new UnsupportedError("Not supported"); } - @DomName('SVGFEPointLightElement.SVGFEPointLightElement') - @DocsEditable() factory FEPointLightElement() => _SvgElementFactoryProvider.createSvgElement_tag("fePointLight"); /** @@ -2017,24 +1468,16 @@ class FEPointLightElement extends SvgElement { SvgElement.isTagSupported('fePointLight') && (new SvgElement.tag('fePointLight') is FEPointLightElement); - @DomName('SVGFEPointLightElement.x') - @DocsEditable() final AnimatedNumber x; - @DomName('SVGFEPointLightElement.y') - @DocsEditable() final AnimatedNumber y; - @DomName('SVGFEPointLightElement.z') - @DocsEditable() final AnimatedNumber 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('SVGFESpecularLightingElement') @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.FIREFOX) @SupportedBrowser(SupportedBrowser.IE, '10') @@ -2048,8 +1491,6 @@ class FESpecularLightingElement extends SvgElement throw new UnsupportedError("Not supported"); } - @DomName('SVGFESpecularLightingElement.SVGFESpecularLightingElement') - @DocsEditable() factory FESpecularLightingElement() => _SvgElementFactoryProvider.createSvgElement_tag("feSpecularLighting"); /** @@ -2064,60 +1505,34 @@ class FESpecularLightingElement extends SvgElement SvgElement.isTagSupported('feSpecularLighting') && (new SvgElement.tag('feSpecularLighting') is FESpecularLightingElement); - @DomName('SVGFESpecularLightingElement.in1') - @DocsEditable() final AnimatedString in1; - @DomName('SVGFESpecularLightingElement.kernelUnitLengthX') - @DocsEditable() - @Experimental() // untriaged final AnimatedNumber kernelUnitLengthX; - @DomName('SVGFESpecularLightingElement.kernelUnitLengthY') - @DocsEditable() - @Experimental() // untriaged final AnimatedNumber kernelUnitLengthY; - @DomName('SVGFESpecularLightingElement.specularConstant') - @DocsEditable() final AnimatedNumber specularConstant; - @DomName('SVGFESpecularLightingElement.specularExponent') - @DocsEditable() final AnimatedNumber specularExponent; - @DomName('SVGFESpecularLightingElement.surfaceScale') - @DocsEditable() final AnimatedNumber surfaceScale; // From SVGFilterPrimitiveStandardAttributes - @DomName('SVGFESpecularLightingElement.height') - @DocsEditable() final AnimatedLength height; - @DomName('SVGFESpecularLightingElement.result') - @DocsEditable() final AnimatedString result; - @DomName('SVGFESpecularLightingElement.width') - @DocsEditable() final AnimatedLength width; - @DomName('SVGFESpecularLightingElement.x') - @DocsEditable() final AnimatedLength x; - @DomName('SVGFESpecularLightingElement.y') - @DocsEditable() final AnimatedLength 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('SVGFESpotLightElement') @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.FIREFOX) @SupportedBrowser(SupportedBrowser.IE, '10') @@ -2130,8 +1545,6 @@ class FESpotLightElement extends SvgElement { throw new UnsupportedError("Not supported"); } - @DomName('SVGFESpotLightElement.SVGFESpotLightElement') - @DocsEditable() factory FESpotLightElement() => _SvgElementFactoryProvider.createSvgElement_tag("feSpotLight"); /** @@ -2146,44 +1559,26 @@ class FESpotLightElement extends SvgElement { SvgElement.isTagSupported('feSpotLight') && (new SvgElement.tag('feSpotLight') is FESpotLightElement); - @DomName('SVGFESpotLightElement.limitingConeAngle') - @DocsEditable() final AnimatedNumber limitingConeAngle; - @DomName('SVGFESpotLightElement.pointsAtX') - @DocsEditable() final AnimatedNumber pointsAtX; - @DomName('SVGFESpotLightElement.pointsAtY') - @DocsEditable() final AnimatedNumber pointsAtY; - @DomName('SVGFESpotLightElement.pointsAtZ') - @DocsEditable() final AnimatedNumber pointsAtZ; - @DomName('SVGFESpotLightElement.specularExponent') - @DocsEditable() final AnimatedNumber specularExponent; - @DomName('SVGFESpotLightElement.x') - @DocsEditable() final AnimatedNumber x; - @DomName('SVGFESpotLightElement.y') - @DocsEditable() final AnimatedNumber y; - @DomName('SVGFESpotLightElement.z') - @DocsEditable() final AnimatedNumber 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('SVGFETileElement') @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.FIREFOX) @SupportedBrowser(SupportedBrowser.IE, '10') @@ -2197,8 +1592,6 @@ class FETileElement extends SvgElement throw new UnsupportedError("Not supported"); } - @DomName('SVGFETileElement.SVGFETileElement') - @DocsEditable() factory FETileElement() => _SvgElementFactoryProvider.createSvgElement_tag("feTile"); /** @@ -2213,38 +1606,24 @@ class FETileElement extends SvgElement SvgElement.isTagSupported('feTile') && (new SvgElement.tag('feTile') is FETileElement); - @DomName('SVGFETileElement.in1') - @DocsEditable() final AnimatedString in1; // From SVGFilterPrimitiveStandardAttributes - @DomName('SVGFETileElement.height') - @DocsEditable() final AnimatedLength height; - @DomName('SVGFETileElement.result') - @DocsEditable() final AnimatedString result; - @DomName('SVGFETileElement.width') - @DocsEditable() final AnimatedLength width; - @DomName('SVGFETileElement.x') - @DocsEditable() final AnimatedLength x; - @DomName('SVGFETileElement.y') - @DocsEditable() final AnimatedLength 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('SVGFETurbulenceElement') @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.FIREFOX) @SupportedBrowser(SupportedBrowser.IE, '10') @@ -2258,8 +1637,6 @@ class FETurbulenceElement extends SvgElement throw new UnsupportedError("Not supported"); } - @DomName('SVGFETurbulenceElement.SVGFETurbulenceElement') - @DocsEditable() factory FETurbulenceElement() => _SvgElementFactoryProvider.createSvgElement_tag("feTurbulence"); /** @@ -2274,82 +1651,46 @@ class FETurbulenceElement extends SvgElement SvgElement.isTagSupported('feTurbulence') && (new SvgElement.tag('feTurbulence') is FETurbulenceElement); - @DomName('SVGFETurbulenceElement.SVG_STITCHTYPE_NOSTITCH') - @DocsEditable() static const int SVG_STITCHTYPE_NOSTITCH = 2; - @DomName('SVGFETurbulenceElement.SVG_STITCHTYPE_STITCH') - @DocsEditable() static const int SVG_STITCHTYPE_STITCH = 1; - @DomName('SVGFETurbulenceElement.SVG_STITCHTYPE_UNKNOWN') - @DocsEditable() static const int SVG_STITCHTYPE_UNKNOWN = 0; - @DomName('SVGFETurbulenceElement.SVG_TURBULENCE_TYPE_FRACTALNOISE') - @DocsEditable() static const int SVG_TURBULENCE_TYPE_FRACTALNOISE = 1; - @DomName('SVGFETurbulenceElement.SVG_TURBULENCE_TYPE_TURBULENCE') - @DocsEditable() static const int SVG_TURBULENCE_TYPE_TURBULENCE = 2; - @DomName('SVGFETurbulenceElement.SVG_TURBULENCE_TYPE_UNKNOWN') - @DocsEditable() static const int SVG_TURBULENCE_TYPE_UNKNOWN = 0; - @DomName('SVGFETurbulenceElement.baseFrequencyX') - @DocsEditable() final AnimatedNumber baseFrequencyX; - @DomName('SVGFETurbulenceElement.baseFrequencyY') - @DocsEditable() final AnimatedNumber baseFrequencyY; - @DomName('SVGFETurbulenceElement.numOctaves') - @DocsEditable() final AnimatedInteger numOctaves; - @DomName('SVGFETurbulenceElement.seed') - @DocsEditable() final AnimatedNumber seed; - @DomName('SVGFETurbulenceElement.stitchTiles') - @DocsEditable() final AnimatedEnumeration stitchTiles; - @DomName('SVGFETurbulenceElement.type') - @DocsEditable() final AnimatedEnumeration type; // From SVGFilterPrimitiveStandardAttributes - @DomName('SVGFETurbulenceElement.height') - @DocsEditable() final AnimatedLength height; - @DomName('SVGFETurbulenceElement.result') - @DocsEditable() final AnimatedString result; - @DomName('SVGFETurbulenceElement.width') - @DocsEditable() final AnimatedLength width; - @DomName('SVGFETurbulenceElement.x') - @DocsEditable() final AnimatedLength x; - @DomName('SVGFETurbulenceElement.y') - @DocsEditable() final AnimatedLength 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('SVGFilterElement') @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.FIREFOX) @SupportedBrowser(SupportedBrowser.IE, '10') @@ -2362,8 +1703,6 @@ class FilterElement extends SvgElement implements UriReference { throw new UnsupportedError("Not supported"); } - @DomName('SVGFilterElement.SVGFilterElement') - @DocsEditable() factory FilterElement() => _SvgElementFactoryProvider.createSvgElement_tag("filter"); /** @@ -2378,42 +1717,26 @@ class FilterElement extends SvgElement implements UriReference { SvgElement.isTagSupported('filter') && (new SvgElement.tag('filter') is FilterElement); - @DomName('SVGFilterElement.filterUnits') - @DocsEditable() final AnimatedEnumeration filterUnits; - @DomName('SVGFilterElement.height') - @DocsEditable() final AnimatedLength height; - @DomName('SVGFilterElement.primitiveUnits') - @DocsEditable() final AnimatedEnumeration primitiveUnits; - @DomName('SVGFilterElement.width') - @DocsEditable() final AnimatedLength width; - @DomName('SVGFilterElement.x') - @DocsEditable() final AnimatedLength x; - @DomName('SVGFilterElement.y') - @DocsEditable() final AnimatedLength y; // From SVGURIReference - @DomName('SVGFilterElement.href') - @DocsEditable() final AnimatedString 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('SVGFilterPrimitiveStandardAttributes') @Unstable() abstract class FilterPrimitiveStandardAttributes extends Interceptor { // To suppress missing implicit constructor warnings. @@ -2435,8 +1758,6 @@ abstract class FilterPrimitiveStandardAttributes 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('SVGFitToViewBox') @Unstable() abstract class FitToViewBox extends Interceptor { // To suppress missing implicit constructor warnings. @@ -2452,8 +1773,6 @@ abstract class FitToViewBox 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('SVGForeignObjectElement') @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.FIREFOX) @SupportedBrowser(SupportedBrowser.SAFARI) @@ -2465,8 +1784,6 @@ class ForeignObjectElement extends GraphicsElement { throw new UnsupportedError("Not supported"); } - @DomName('SVGForeignObjectElement.SVGForeignObjectElement') - @DocsEditable() factory ForeignObjectElement() => _SvgElementFactoryProvider.createSvgElement_tag("foreignObject"); /** @@ -2481,28 +1798,18 @@ class ForeignObjectElement extends GraphicsElement { SvgElement.isTagSupported('foreignObject') && (new SvgElement.tag('foreignObject') is ForeignObjectElement); - @DomName('SVGForeignObjectElement.height') - @DocsEditable() final AnimatedLength height; - @DomName('SVGForeignObjectElement.width') - @DocsEditable() final AnimatedLength width; - @DomName('SVGForeignObjectElement.x') - @DocsEditable() final AnimatedLength x; - @DomName('SVGForeignObjectElement.y') - @DocsEditable() final AnimatedLength 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('SVGGElement') @Unstable() @Native("SVGGElement") class GElement extends GraphicsElement { @@ -2511,8 +1818,6 @@ class GElement extends GraphicsElement { throw new UnsupportedError("Not supported"); } - @DomName('SVGGElement.SVGGElement') - @DocsEditable() factory GElement() => _SvgElementFactoryProvider.createSvgElement_tag("g"); /** * Constructor instantiated by the DOM when a custom element has been created. @@ -2525,9 +1830,6 @@ class GElement extends GraphicsElement { // 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('SVGGeometryElement') -@Experimental() // untriaged @Native("SVGGeometryElement") class GeometryElement extends GraphicsElement { // To suppress missing implicit constructor warnings. @@ -2541,38 +1843,20 @@ class GeometryElement extends GraphicsElement { */ GeometryElement.created() : super.created(); - @DomName('SVGGeometryElement.pathLength') - @DocsEditable() - @Experimental() // untriaged final AnimatedNumber pathLength; - @DomName('SVGGeometryElement.getPointAtLength') - @DocsEditable() - @Experimental() // untriaged Point getPointAtLength(num distance) native; - @DomName('SVGGeometryElement.getTotalLength') - @DocsEditable() - @Experimental() // untriaged double getTotalLength() native; - @DomName('SVGGeometryElement.isPointInFill') - @DocsEditable() - @Experimental() // untriaged bool isPointInFill(Point point) native; - @DomName('SVGGeometryElement.isPointInStroke') - @DocsEditable() - @Experimental() // untriaged bool isPointInStroke(Point point) 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('SVGGraphicsElement') -@Experimental() // untriaged @Native("SVGGraphicsElement") class GraphicsElement extends SvgElement implements Tests { // To suppress missing implicit constructor warnings. @@ -2586,56 +1870,30 @@ class GraphicsElement extends SvgElement implements Tests { */ GraphicsElement.created() : super.created(); - @DomName('SVGGraphicsElement.farthestViewportElement') - @DocsEditable() - @Experimental() // untriaged final SvgElement farthestViewportElement; - @DomName('SVGGraphicsElement.nearestViewportElement') - @DocsEditable() - @Experimental() // untriaged final SvgElement nearestViewportElement; - @DomName('SVGGraphicsElement.transform') - @DocsEditable() - @Experimental() // untriaged final AnimatedTransformList transform; - @DomName('SVGGraphicsElement.getBBox') - @DocsEditable() - @Experimental() // untriaged Rect getBBox() native; @JSName('getCTM') - @DomName('SVGGraphicsElement.getCTM') - @DocsEditable() - @Experimental() // untriaged Matrix getCtm() native; @JSName('getScreenCTM') - @DomName('SVGGraphicsElement.getScreenCTM') - @DocsEditable() - @Experimental() // untriaged Matrix getScreenCtm() native; // From SVGTests - @DomName('SVGGraphicsElement.requiredExtensions') - @DocsEditable() - @Experimental() // untriaged final StringList requiredExtensions; - @DomName('SVGGraphicsElement.systemLanguage') - @DocsEditable() - @Experimental() // untriaged final StringList systemLanguage; } // Copyright (c) 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('SVGImageElement') @Unstable() @Native("SVGImageElement") class ImageElement extends GraphicsElement implements UriReference { @@ -2644,8 +1902,6 @@ class ImageElement extends GraphicsElement implements UriReference { throw new UnsupportedError("Not supported"); } - @DomName('SVGImageElement.SVGImageElement') - @DocsEditable() factory ImageElement() => _SvgElementFactoryProvider.createSvgElement_tag("image"); /** @@ -2655,48 +1911,28 @@ class ImageElement extends GraphicsElement implements UriReference { */ ImageElement.created() : super.created(); - @DomName('SVGImageElement.async') - @DocsEditable() - @Experimental() // untriaged String async; - @DomName('SVGImageElement.height') - @DocsEditable() final AnimatedLength height; - @DomName('SVGImageElement.preserveAspectRatio') - @DocsEditable() final AnimatedPreserveAspectRatio preserveAspectRatio; - @DomName('SVGImageElement.width') - @DocsEditable() final AnimatedLength width; - @DomName('SVGImageElement.x') - @DocsEditable() final AnimatedLength x; - @DomName('SVGImageElement.y') - @DocsEditable() final AnimatedLength y; - @DomName('SVGImageElement.decode') - @DocsEditable() - @Experimental() // untriaged Future decode() => promiseToFuture(JS("", "#.decode()", this)); // From SVGURIReference - @DomName('SVGImageElement.href') - @DocsEditable() final AnimatedString 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('SVGLength') @Unstable() @Native("SVGLength") class Length extends Interceptor { @@ -2705,80 +1941,44 @@ class Length extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('SVGLength.SVG_LENGTHTYPE_CM') - @DocsEditable() static const int SVG_LENGTHTYPE_CM = 6; - @DomName('SVGLength.SVG_LENGTHTYPE_EMS') - @DocsEditable() static const int SVG_LENGTHTYPE_EMS = 3; - @DomName('SVGLength.SVG_LENGTHTYPE_EXS') - @DocsEditable() static const int SVG_LENGTHTYPE_EXS = 4; - @DomName('SVGLength.SVG_LENGTHTYPE_IN') - @DocsEditable() static const int SVG_LENGTHTYPE_IN = 8; - @DomName('SVGLength.SVG_LENGTHTYPE_MM') - @DocsEditable() static const int SVG_LENGTHTYPE_MM = 7; - @DomName('SVGLength.SVG_LENGTHTYPE_NUMBER') - @DocsEditable() static const int SVG_LENGTHTYPE_NUMBER = 1; - @DomName('SVGLength.SVG_LENGTHTYPE_PC') - @DocsEditable() static const int SVG_LENGTHTYPE_PC = 10; - @DomName('SVGLength.SVG_LENGTHTYPE_PERCENTAGE') - @DocsEditable() static const int SVG_LENGTHTYPE_PERCENTAGE = 2; - @DomName('SVGLength.SVG_LENGTHTYPE_PT') - @DocsEditable() static const int SVG_LENGTHTYPE_PT = 9; - @DomName('SVGLength.SVG_LENGTHTYPE_PX') - @DocsEditable() static const int SVG_LENGTHTYPE_PX = 5; - @DomName('SVGLength.SVG_LENGTHTYPE_UNKNOWN') - @DocsEditable() static const int SVG_LENGTHTYPE_UNKNOWN = 0; - @DomName('SVGLength.unitType') - @DocsEditable() final int unitType; - @DomName('SVGLength.value') - @DocsEditable() num value; - @DomName('SVGLength.valueAsString') - @DocsEditable() String valueAsString; - @DomName('SVGLength.valueInSpecifiedUnits') - @DocsEditable() num valueInSpecifiedUnits; - @DomName('SVGLength.convertToSpecifiedUnits') - @DocsEditable() void convertToSpecifiedUnits(int unitType) native; - @DomName('SVGLength.newValueSpecifiedUnits') - @DocsEditable() void newValueSpecifiedUnits(int unitType, num valueInSpecifiedUnits) 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('SVGLengthList') @Unstable() @Native("SVGLengthList") class LengthList extends Interceptor @@ -2789,13 +1989,8 @@ class LengthList extends Interceptor throw new UnsupportedError("Not supported"); } - @DomName('SVGLengthList.length') - @DocsEditable() - @Experimental() // untriaged int get length => JS("int", "#.length", this); - @DomName('SVGLengthList.numberOfItems') - @DocsEditable() final int numberOfItems; Length operator [](int index) { @@ -2841,45 +2036,26 @@ class LengthList extends Interceptor Length elementAt(int index) => this[index]; // -- end List mixins. - @DomName('SVGLengthList.__setter__') - @DocsEditable() - @Experimental() // untriaged void __setter__(int index, Length newItem) native; - @DomName('SVGLengthList.appendItem') - @DocsEditable() Length appendItem(Length newItem) native; - @DomName('SVGLengthList.clear') - @DocsEditable() void clear() native; - @DomName('SVGLengthList.getItem') - @DocsEditable() Length getItem(int index) native; - @DomName('SVGLengthList.initialize') - @DocsEditable() Length initialize(Length newItem) native; - @DomName('SVGLengthList.insertItemBefore') - @DocsEditable() Length insertItemBefore(Length newItem, int index) native; - @DomName('SVGLengthList.removeItem') - @DocsEditable() Length removeItem(int index) native; - @DomName('SVGLengthList.replaceItem') - @DocsEditable() Length replaceItem(Length newItem, 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('SVGLineElement') @Unstable() @Native("SVGLineElement") class LineElement extends GeometryElement { @@ -2888,8 +2064,6 @@ class LineElement extends GeometryElement { throw new UnsupportedError("Not supported"); } - @DomName('SVGLineElement.SVGLineElement') - @DocsEditable() factory LineElement() => _SvgElementFactoryProvider.createSvgElement_tag("line"); /** @@ -2899,28 +2073,18 @@ class LineElement extends GeometryElement { */ LineElement.created() : super.created(); - @DomName('SVGLineElement.x1') - @DocsEditable() final AnimatedLength x1; - @DomName('SVGLineElement.x2') - @DocsEditable() final AnimatedLength x2; - @DomName('SVGLineElement.y1') - @DocsEditable() final AnimatedLength y1; - @DomName('SVGLineElement.y2') - @DocsEditable() final AnimatedLength 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('SVGLinearGradientElement') @Unstable() @Native("SVGLinearGradientElement") class LinearGradientElement extends _GradientElement { @@ -2929,8 +2093,6 @@ class LinearGradientElement extends _GradientElement { throw new UnsupportedError("Not supported"); } - @DomName('SVGLinearGradientElement.SVGLinearGradientElement') - @DocsEditable() factory LinearGradientElement() => _SvgElementFactoryProvider.createSvgElement_tag("linearGradient"); /** @@ -2940,28 +2102,18 @@ class LinearGradientElement extends _GradientElement { */ LinearGradientElement.created() : super.created(); - @DomName('SVGLinearGradientElement.x1') - @DocsEditable() final AnimatedLength x1; - @DomName('SVGLinearGradientElement.x2') - @DocsEditable() final AnimatedLength x2; - @DomName('SVGLinearGradientElement.y1') - @DocsEditable() final AnimatedLength y1; - @DomName('SVGLinearGradientElement.y2') - @DocsEditable() final AnimatedLength 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('SVGMarkerElement') @Unstable() @Native("SVGMarkerElement") class MarkerElement extends SvgElement implements FitToViewBox { @@ -2970,8 +2122,6 @@ class MarkerElement extends SvgElement implements FitToViewBox { throw new UnsupportedError("Not supported"); } - @DomName('SVGMarkerElement.SVGMarkerElement') - @DocsEditable() factory MarkerElement() => _SvgElementFactoryProvider.createSvgElement_tag("marker"); /** @@ -2981,82 +2131,46 @@ class MarkerElement extends SvgElement implements FitToViewBox { */ MarkerElement.created() : super.created(); - @DomName('SVGMarkerElement.SVG_MARKERUNITS_STROKEWIDTH') - @DocsEditable() static const int SVG_MARKERUNITS_STROKEWIDTH = 2; - @DomName('SVGMarkerElement.SVG_MARKERUNITS_UNKNOWN') - @DocsEditable() static const int SVG_MARKERUNITS_UNKNOWN = 0; - @DomName('SVGMarkerElement.SVG_MARKERUNITS_USERSPACEONUSE') - @DocsEditable() static const int SVG_MARKERUNITS_USERSPACEONUSE = 1; - @DomName('SVGMarkerElement.SVG_MARKER_ORIENT_ANGLE') - @DocsEditable() static const int SVG_MARKER_ORIENT_ANGLE = 2; - @DomName('SVGMarkerElement.SVG_MARKER_ORIENT_AUTO') - @DocsEditable() static const int SVG_MARKER_ORIENT_AUTO = 1; - @DomName('SVGMarkerElement.SVG_MARKER_ORIENT_UNKNOWN') - @DocsEditable() static const int SVG_MARKER_ORIENT_UNKNOWN = 0; - @DomName('SVGMarkerElement.markerHeight') - @DocsEditable() final AnimatedLength markerHeight; - @DomName('SVGMarkerElement.markerUnits') - @DocsEditable() final AnimatedEnumeration markerUnits; - @DomName('SVGMarkerElement.markerWidth') - @DocsEditable() final AnimatedLength markerWidth; - @DomName('SVGMarkerElement.orientAngle') - @DocsEditable() final AnimatedAngle orientAngle; - @DomName('SVGMarkerElement.orientType') - @DocsEditable() final AnimatedEnumeration orientType; - @DomName('SVGMarkerElement.refX') - @DocsEditable() final AnimatedLength refX; - @DomName('SVGMarkerElement.refY') - @DocsEditable() final AnimatedLength refY; - @DomName('SVGMarkerElement.setOrientToAngle') - @DocsEditable() void setOrientToAngle(Angle angle) native; - @DomName('SVGMarkerElement.setOrientToAuto') - @DocsEditable() void setOrientToAuto() native; // From SVGFitToViewBox - @DomName('SVGMarkerElement.preserveAspectRatio') - @DocsEditable() final AnimatedPreserveAspectRatio preserveAspectRatio; - @DomName('SVGMarkerElement.viewBox') - @DocsEditable() final AnimatedRect 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('SVGMaskElement') @Unstable() @Native("SVGMaskElement") class MaskElement extends SvgElement implements Tests { @@ -3065,8 +2179,6 @@ class MaskElement extends SvgElement implements Tests { throw new UnsupportedError("Not supported"); } - @DomName('SVGMaskElement.SVGMaskElement') - @DocsEditable() factory MaskElement() => _SvgElementFactoryProvider.createSvgElement_tag("mask"); /** @@ -3076,46 +2188,28 @@ class MaskElement extends SvgElement implements Tests { */ MaskElement.created() : super.created(); - @DomName('SVGMaskElement.height') - @DocsEditable() final AnimatedLength height; - @DomName('SVGMaskElement.maskContentUnits') - @DocsEditable() final AnimatedEnumeration maskContentUnits; - @DomName('SVGMaskElement.maskUnits') - @DocsEditable() final AnimatedEnumeration maskUnits; - @DomName('SVGMaskElement.width') - @DocsEditable() final AnimatedLength width; - @DomName('SVGMaskElement.x') - @DocsEditable() final AnimatedLength x; - @DomName('SVGMaskElement.y') - @DocsEditable() final AnimatedLength y; // From SVGTests - @DomName('SVGMaskElement.requiredExtensions') - @DocsEditable() final StringList requiredExtensions; - @DomName('SVGMaskElement.systemLanguage') - @DocsEditable() final StringList systemLanguage; } // Copyright (c) 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('SVGMatrix') @Unstable() @Native("SVGMatrix") class Matrix extends Interceptor { @@ -3124,80 +2218,44 @@ class Matrix extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('SVGMatrix.a') - @DocsEditable() num a; - @DomName('SVGMatrix.b') - @DocsEditable() num b; - @DomName('SVGMatrix.c') - @DocsEditable() num c; - @DomName('SVGMatrix.d') - @DocsEditable() num d; - @DomName('SVGMatrix.e') - @DocsEditable() num e; - @DomName('SVGMatrix.f') - @DocsEditable() num f; - @DomName('SVGMatrix.flipX') - @DocsEditable() Matrix flipX() native; - @DomName('SVGMatrix.flipY') - @DocsEditable() Matrix flipY() native; - @DomName('SVGMatrix.inverse') - @DocsEditable() Matrix inverse() native; - @DomName('SVGMatrix.multiply') - @DocsEditable() Matrix multiply(Matrix secondMatrix) native; - @DomName('SVGMatrix.rotate') - @DocsEditable() Matrix rotate(num angle) native; - @DomName('SVGMatrix.rotateFromVector') - @DocsEditable() Matrix rotateFromVector(num x, num y) native; - @DomName('SVGMatrix.scale') - @DocsEditable() Matrix scale(num scaleFactor) native; - @DomName('SVGMatrix.scaleNonUniform') - @DocsEditable() Matrix scaleNonUniform(num scaleFactorX, num scaleFactorY) native; - @DomName('SVGMatrix.skewX') - @DocsEditable() Matrix skewX(num angle) native; - @DomName('SVGMatrix.skewY') - @DocsEditable() Matrix skewY(num angle) native; - @DomName('SVGMatrix.translate') - @DocsEditable() Matrix translate(num x, num y) 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('SVGMetadataElement') @Unstable() @Native("SVGMetadataElement") class MetadataElement extends SvgElement { @@ -3216,8 +2274,6 @@ class MetadataElement extends SvgElement { // 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('SVGNumber') @Unstable() @Native("SVGNumber") class Number extends Interceptor { @@ -3226,16 +2282,12 @@ class Number extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('SVGNumber.value') - @DocsEditable() num 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('SVGNumberList') @Unstable() @Native("SVGNumberList") class NumberList extends Interceptor @@ -3246,13 +2298,8 @@ class NumberList extends Interceptor throw new UnsupportedError("Not supported"); } - @DomName('SVGNumberList.length') - @DocsEditable() - @Experimental() // untriaged int get length => JS("int", "#.length", this); - @DomName('SVGNumberList.numberOfItems') - @DocsEditable() final int numberOfItems; Number operator [](int index) { @@ -3298,45 +2345,26 @@ class NumberList extends Interceptor Number elementAt(int index) => this[index]; // -- end List mixins. - @DomName('SVGNumberList.__setter__') - @DocsEditable() - @Experimental() // untriaged void __setter__(int index, Number newItem) native; - @DomName('SVGNumberList.appendItem') - @DocsEditable() Number appendItem(Number newItem) native; - @DomName('SVGNumberList.clear') - @DocsEditable() void clear() native; - @DomName('SVGNumberList.getItem') - @DocsEditable() Number getItem(int index) native; - @DomName('SVGNumberList.initialize') - @DocsEditable() Number initialize(Number newItem) native; - @DomName('SVGNumberList.insertItemBefore') - @DocsEditable() Number insertItemBefore(Number newItem, int index) native; - @DomName('SVGNumberList.removeItem') - @DocsEditable() Number removeItem(int index) native; - @DomName('SVGNumberList.replaceItem') - @DocsEditable() Number replaceItem(Number newItem, 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('SVGPathElement') @Unstable() @Native("SVGPathElement") class PathElement extends GeometryElement { @@ -3345,8 +2373,6 @@ class PathElement extends GeometryElement { throw new UnsupportedError("Not supported"); } - @DomName('SVGPathElement.SVGPathElement') - @DocsEditable() factory PathElement() => _SvgElementFactoryProvider.createSvgElement_tag("path"); /** @@ -3360,8 +2386,6 @@ class PathElement extends GeometryElement { // 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('SVGPatternElement') @Unstable() @Native("SVGPatternElement") class PatternElement extends SvgElement @@ -3371,8 +2395,6 @@ class PatternElement extends SvgElement throw new UnsupportedError("Not supported"); } - @DomName('SVGPatternElement.SVGPatternElement') - @DocsEditable() factory PatternElement() => _SvgElementFactoryProvider.createSvgElement_tag("pattern"); /** @@ -3382,66 +2404,40 @@ class PatternElement extends SvgElement */ PatternElement.created() : super.created(); - @DomName('SVGPatternElement.height') - @DocsEditable() final AnimatedLength height; - @DomName('SVGPatternElement.patternContentUnits') - @DocsEditable() final AnimatedEnumeration patternContentUnits; - @DomName('SVGPatternElement.patternTransform') - @DocsEditable() final AnimatedTransformList patternTransform; - @DomName('SVGPatternElement.patternUnits') - @DocsEditable() final AnimatedEnumeration patternUnits; - @DomName('SVGPatternElement.width') - @DocsEditable() final AnimatedLength width; - @DomName('SVGPatternElement.x') - @DocsEditable() final AnimatedLength x; - @DomName('SVGPatternElement.y') - @DocsEditable() final AnimatedLength y; // From SVGFitToViewBox - @DomName('SVGPatternElement.preserveAspectRatio') - @DocsEditable() final AnimatedPreserveAspectRatio preserveAspectRatio; - @DomName('SVGPatternElement.viewBox') - @DocsEditable() final AnimatedRect viewBox; // From SVGTests - @DomName('SVGPatternElement.requiredExtensions') - @DocsEditable() final StringList requiredExtensions; - @DomName('SVGPatternElement.systemLanguage') - @DocsEditable() final StringList systemLanguage; // From SVGURIReference - @DomName('SVGPatternElement.href') - @DocsEditable() final AnimatedString 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('SVGPoint') @Unstable() @Native("SVGPoint") class Point extends Interceptor { @@ -3450,24 +2446,16 @@ class Point extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('SVGPoint.x') - @DocsEditable() num x; - @DomName('SVGPoint.y') - @DocsEditable() num y; - @DomName('SVGPoint.matrixTransform') - @DocsEditable() Point matrixTransform(Matrix matrix) 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('SVGPointList') @Unstable() @Native("SVGPointList") class PointList extends Interceptor { @@ -3476,54 +2464,30 @@ class PointList extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('SVGPointList.length') - @DocsEditable() - @Experimental() // untriaged final int length; - @DomName('SVGPointList.numberOfItems') - @DocsEditable() final int numberOfItems; - @DomName('SVGPointList.__setter__') - @DocsEditable() - @Experimental() // untriaged void __setter__(int index, Point newItem) native; - @DomName('SVGPointList.appendItem') - @DocsEditable() Point appendItem(Point newItem) native; - @DomName('SVGPointList.clear') - @DocsEditable() void clear() native; - @DomName('SVGPointList.getItem') - @DocsEditable() Point getItem(int index) native; - @DomName('SVGPointList.initialize') - @DocsEditable() Point initialize(Point newItem) native; - @DomName('SVGPointList.insertItemBefore') - @DocsEditable() Point insertItemBefore(Point newItem, int index) native; - @DomName('SVGPointList.removeItem') - @DocsEditable() Point removeItem(int index) native; - @DomName('SVGPointList.replaceItem') - @DocsEditable() Point replaceItem(Point newItem, 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('SVGPolygonElement') @Unstable() @Native("SVGPolygonElement") class PolygonElement extends GeometryElement { @@ -3532,8 +2496,6 @@ class PolygonElement extends GeometryElement { throw new UnsupportedError("Not supported"); } - @DomName('SVGPolygonElement.SVGPolygonElement') - @DocsEditable() factory PolygonElement() => _SvgElementFactoryProvider.createSvgElement_tag("polygon"); /** @@ -3543,20 +2505,14 @@ class PolygonElement extends GeometryElement { */ PolygonElement.created() : super.created(); - @DomName('SVGPolygonElement.animatedPoints') - @DocsEditable() final PointList animatedPoints; - @DomName('SVGPolygonElement.points') - @DocsEditable() final PointList 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('SVGPolylineElement') @Unstable() @Native("SVGPolylineElement") class PolylineElement extends GeometryElement { @@ -3565,8 +2521,6 @@ class PolylineElement extends GeometryElement { throw new UnsupportedError("Not supported"); } - @DomName('SVGPolylineElement.SVGPolylineElement') - @DocsEditable() factory PolylineElement() => _SvgElementFactoryProvider.createSvgElement_tag("polyline"); /** @@ -3576,20 +2530,14 @@ class PolylineElement extends GeometryElement { */ PolylineElement.created() : super.created(); - @DomName('SVGPolylineElement.animatedPoints') - @DocsEditable() final PointList animatedPoints; - @DomName('SVGPolylineElement.points') - @DocsEditable() final PointList 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('SVGPreserveAspectRatio') @Unstable() @Native("SVGPreserveAspectRatio") class PreserveAspectRatio extends Interceptor { @@ -3598,76 +2546,42 @@ class PreserveAspectRatio extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('SVGPreserveAspectRatio.SVG_MEETORSLICE_MEET') - @DocsEditable() static const int SVG_MEETORSLICE_MEET = 1; - @DomName('SVGPreserveAspectRatio.SVG_MEETORSLICE_SLICE') - @DocsEditable() static const int SVG_MEETORSLICE_SLICE = 2; - @DomName('SVGPreserveAspectRatio.SVG_MEETORSLICE_UNKNOWN') - @DocsEditable() static const int SVG_MEETORSLICE_UNKNOWN = 0; - @DomName('SVGPreserveAspectRatio.SVG_PRESERVEASPECTRATIO_NONE') - @DocsEditable() static const int SVG_PRESERVEASPECTRATIO_NONE = 1; - @DomName('SVGPreserveAspectRatio.SVG_PRESERVEASPECTRATIO_UNKNOWN') - @DocsEditable() static const int SVG_PRESERVEASPECTRATIO_UNKNOWN = 0; - @DomName('SVGPreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMAXYMAX') - @DocsEditable() static const int SVG_PRESERVEASPECTRATIO_XMAXYMAX = 10; - @DomName('SVGPreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMAXYMID') - @DocsEditable() static const int SVG_PRESERVEASPECTRATIO_XMAXYMID = 7; - @DomName('SVGPreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMAXYMIN') - @DocsEditable() static const int SVG_PRESERVEASPECTRATIO_XMAXYMIN = 4; - @DomName('SVGPreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMIDYMAX') - @DocsEditable() static const int SVG_PRESERVEASPECTRATIO_XMIDYMAX = 9; - @DomName('SVGPreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMIDYMID') - @DocsEditable() static const int SVG_PRESERVEASPECTRATIO_XMIDYMID = 6; - @DomName('SVGPreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMIDYMIN') - @DocsEditable() static const int SVG_PRESERVEASPECTRATIO_XMIDYMIN = 3; - @DomName('SVGPreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMINYMAX') - @DocsEditable() static const int SVG_PRESERVEASPECTRATIO_XMINYMAX = 8; - @DomName('SVGPreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMINYMID') - @DocsEditable() static const int SVG_PRESERVEASPECTRATIO_XMINYMID = 5; - @DomName('SVGPreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMINYMIN') - @DocsEditable() static const int SVG_PRESERVEASPECTRATIO_XMINYMIN = 2; - @DomName('SVGPreserveAspectRatio.align') - @DocsEditable() int align; - @DomName('SVGPreserveAspectRatio.meetOrSlice') - @DocsEditable() int meetOrSlice; } // Copyright (c) 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('SVGRadialGradientElement') @Unstable() @Native("SVGRadialGradientElement") class RadialGradientElement extends _GradientElement { @@ -3676,8 +2590,6 @@ class RadialGradientElement extends _GradientElement { throw new UnsupportedError("Not supported"); } - @DomName('SVGRadialGradientElement.SVGRadialGradientElement') - @DocsEditable() factory RadialGradientElement() => _SvgElementFactoryProvider.createSvgElement_tag("radialGradient"); /** @@ -3687,36 +2599,22 @@ class RadialGradientElement extends _GradientElement { */ RadialGradientElement.created() : super.created(); - @DomName('SVGRadialGradientElement.cx') - @DocsEditable() final AnimatedLength cx; - @DomName('SVGRadialGradientElement.cy') - @DocsEditable() final AnimatedLength cy; - @DomName('SVGRadialGradientElement.fr') - @DocsEditable() final AnimatedLength fr; - @DomName('SVGRadialGradientElement.fx') - @DocsEditable() final AnimatedLength fx; - @DomName('SVGRadialGradientElement.fy') - @DocsEditable() final AnimatedLength fy; - @DomName('SVGRadialGradientElement.r') - @DocsEditable() final AnimatedLength 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('SVGRect') @Unstable() @Native("SVGRect") class Rect extends Interceptor { @@ -3725,28 +2623,18 @@ class Rect extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('SVGRect.height') - @DocsEditable() num height; - @DomName('SVGRect.width') - @DocsEditable() num width; - @DomName('SVGRect.x') - @DocsEditable() num x; - @DomName('SVGRect.y') - @DocsEditable() num 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('SVGRectElement') @Unstable() @Native("SVGRectElement") class RectElement extends GeometryElement { @@ -3755,8 +2643,6 @@ class RectElement extends GeometryElement { throw new UnsupportedError("Not supported"); } - @DomName('SVGRectElement.SVGRectElement') - @DocsEditable() factory RectElement() => _SvgElementFactoryProvider.createSvgElement_tag("rect"); /** @@ -3766,36 +2652,22 @@ class RectElement extends GeometryElement { */ RectElement.created() : super.created(); - @DomName('SVGRectElement.height') - @DocsEditable() final AnimatedLength height; - @DomName('SVGRectElement.rx') - @DocsEditable() final AnimatedLength rx; - @DomName('SVGRectElement.ry') - @DocsEditable() final AnimatedLength ry; - @DomName('SVGRectElement.width') - @DocsEditable() final AnimatedLength width; - @DomName('SVGRectElement.x') - @DocsEditable() final AnimatedLength x; - @DomName('SVGRectElement.y') - @DocsEditable() final AnimatedLength 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('SVGScriptElement') @Unstable() @Native("SVGScriptElement") class ScriptElement extends SvgElement implements UriReference { @@ -3804,8 +2676,6 @@ class ScriptElement extends SvgElement implements UriReference { throw new UnsupportedError("Not supported"); } - @DomName('SVGScriptElement.SVGScriptElement') - @DocsEditable() factory ScriptElement() => _SvgElementFactoryProvider.createSvgElement_tag("script"); /** @@ -3815,22 +2685,16 @@ class ScriptElement extends SvgElement implements UriReference { */ ScriptElement.created() : super.created(); - @DomName('SVGScriptElement.type') - @DocsEditable() String type; // From SVGURIReference - @DomName('SVGScriptElement.href') - @DocsEditable() final AnimatedString 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('SVGSetElement') @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.FIREFOX) @SupportedBrowser(SupportedBrowser.SAFARI) @@ -3842,8 +2706,6 @@ class SetElement extends AnimationElement { throw new UnsupportedError("Not supported"); } - @DomName('SVGSetElement.SVGSetElement') - @DocsEditable() factory SetElement() => _SvgElementFactoryProvider.createSvgElement_tag("set"); /** @@ -3862,8 +2724,6 @@ class SetElement extends AnimationElement { // 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('SVGStopElement') @Unstable() @Native("SVGStopElement") class StopElement extends SvgElement { @@ -3872,8 +2732,6 @@ class StopElement extends SvgElement { throw new UnsupportedError("Not supported"); } - @DomName('SVGStopElement.SVGStopElement') - @DocsEditable() factory StopElement() => _SvgElementFactoryProvider.createSvgElement_tag("stop"); /** @@ -3884,16 +2742,12 @@ class StopElement extends SvgElement { StopElement.created() : super.created(); @JSName('offset') - @DomName('SVGStopElement.offset') - @DocsEditable() final AnimatedNumber gradientOffset; } // Copyright (c) 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('SVGStringList') @Unstable() @Native("SVGStringList") class StringList extends Interceptor @@ -3904,13 +2758,8 @@ class StringList extends Interceptor throw new UnsupportedError("Not supported"); } - @DomName('SVGStringList.length') - @DocsEditable() - @Experimental() // untriaged int get length => JS("int", "#.length", this); - @DomName('SVGStringList.numberOfItems') - @DocsEditable() final int numberOfItems; String operator [](int index) { @@ -3956,47 +2805,26 @@ class StringList extends Interceptor String elementAt(int index) => this[index]; // -- end List mixins. - @DomName('SVGStringList.__setter__') - @DocsEditable() - @Experimental() // untriaged void __setter__(int index, String newItem) native; - @DomName('SVGStringList.appendItem') - @DocsEditable() String appendItem(String newItem) native; - @DomName('SVGStringList.clear') - @DocsEditable() void clear() native; - @DomName('SVGStringList.getItem') - @DocsEditable() String getItem(int index) native; - @DomName('SVGStringList.initialize') - @DocsEditable() String initialize(String newItem) native; - @DomName('SVGStringList.insertItemBefore') - @DocsEditable() String insertItemBefore(String item, int index) native; - @DomName('SVGStringList.removeItem') - @DocsEditable() String removeItem(int index) native; - @DomName('SVGStringList.replaceItem') - @DocsEditable() String replaceItem(String newItem, 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('SVGStyleElement') -// http://www.w3.org/TR/SVG/types.html#InterfaceSVGStylable -@Experimental() // nonstandard @Native("SVGStyleElement") class StyleElement extends SvgElement { // To suppress missing implicit constructor warnings. @@ -4004,8 +2832,6 @@ class StyleElement extends SvgElement { throw new UnsupportedError("Not supported"); } - @DomName('SVGStyleElement.SVGStyleElement') - @DocsEditable() factory StyleElement() => _SvgElementFactoryProvider.createSvgElement_tag("style"); /** @@ -4015,24 +2841,15 @@ class StyleElement extends SvgElement { */ StyleElement.created() : super.created(); - @DomName('SVGStyleElement.disabled') - @DocsEditable() bool disabled; - @DomName('SVGStyleElement.media') - @DocsEditable() String media; - @DomName('SVGStyleElement.sheet') - @DocsEditable() - @Experimental() // untriaged final StyleSheet sheet; // Use implementation from Element. // final String title; - @DomName('SVGStyleElement.type') - @DocsEditable() String type; } // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file @@ -4068,7 +2885,6 @@ class AttributeClassSet extends CssClassSetImpl { } } -@DomName('SVGElement') @Unstable() @Native("SVGElement") class SvgElement extends Element implements GlobalEventHandlers, NoncedElement { @@ -4147,18 +2963,15 @@ class SvgElement extends Element implements GlobalEventHandlers, NoncedElement { // Unsupported methods inherited from Element. - @DomName('Element.insertAdjacentText') void insertAdjacentText(String where, String text) { throw new UnsupportedError("Cannot invoke insertAdjacentText on SVG."); } - @DomName('Element.insertAdjacentHTML') void insertAdjacentHtml(String where, String text, {NodeValidator validator, NodeTreeSanitizer treeSanitizer}) { throw new UnsupportedError("Cannot invoke insertAdjacentHtml on SVG."); } - @DomName('Element.insertAdjacentElement') Element insertAdjacentElement(String where, Element element) { throw new UnsupportedError("Cannot invoke insertAdjacentElement on SVG."); } @@ -4187,345 +3000,174 @@ class SvgElement extends Element implements GlobalEventHandlers, NoncedElement { throw new UnsupportedError("Not supported"); } - @DomName('SVGElement.abortEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider abortEvent = const EventStreamProvider('abort'); - @DomName('SVGElement.blurEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider blurEvent = const EventStreamProvider('blur'); - @DomName('SVGElement.canplayEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider canPlayEvent = const EventStreamProvider('canplay'); - @DomName('SVGElement.canplaythroughEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider canPlayThroughEvent = const EventStreamProvider('canplaythrough'); - @DomName('SVGElement.changeEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider changeEvent = const EventStreamProvider('change'); - @DomName('SVGElement.clickEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider clickEvent = const EventStreamProvider('click'); - @DomName('SVGElement.contextmenuEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider contextMenuEvent = const EventStreamProvider('contextmenu'); - @DomName('SVGElement.dblclickEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider doubleClickEvent = const EventStreamProvider('dblclick'); - @DomName('SVGElement.dragEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider dragEvent = const EventStreamProvider('drag'); - @DomName('SVGElement.dragendEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider dragEndEvent = const EventStreamProvider('dragend'); - @DomName('SVGElement.dragenterEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider dragEnterEvent = const EventStreamProvider('dragenter'); - @DomName('SVGElement.dragleaveEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider dragLeaveEvent = const EventStreamProvider('dragleave'); - @DomName('SVGElement.dragoverEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider dragOverEvent = const EventStreamProvider('dragover'); - @DomName('SVGElement.dragstartEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider dragStartEvent = const EventStreamProvider('dragstart'); - @DomName('SVGElement.dropEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider dropEvent = const EventStreamProvider('drop'); - @DomName('SVGElement.durationchangeEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider durationChangeEvent = const EventStreamProvider('durationchange'); - @DomName('SVGElement.emptiedEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider emptiedEvent = const EventStreamProvider('emptied'); - @DomName('SVGElement.endedEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider endedEvent = const EventStreamProvider('ended'); - @DomName('SVGElement.errorEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider errorEvent = const EventStreamProvider('error'); - @DomName('SVGElement.focusEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider focusEvent = const EventStreamProvider('focus'); - @DomName('SVGElement.inputEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider inputEvent = const EventStreamProvider('input'); - @DomName('SVGElement.invalidEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider invalidEvent = const EventStreamProvider('invalid'); - @DomName('SVGElement.keydownEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider keyDownEvent = const EventStreamProvider('keydown'); - @DomName('SVGElement.keypressEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider keyPressEvent = const EventStreamProvider('keypress'); - @DomName('SVGElement.keyupEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider keyUpEvent = const EventStreamProvider('keyup'); - @DomName('SVGElement.loadEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider loadEvent = const EventStreamProvider('load'); - @DomName('SVGElement.loadeddataEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider loadedDataEvent = const EventStreamProvider('loadeddata'); - @DomName('SVGElement.loadedmetadataEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider loadedMetadataEvent = const EventStreamProvider('loadedmetadata'); - @DomName('SVGElement.mousedownEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider mouseDownEvent = const EventStreamProvider('mousedown'); - @DomName('SVGElement.mouseenterEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider mouseEnterEvent = const EventStreamProvider('mouseenter'); - @DomName('SVGElement.mouseleaveEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider mouseLeaveEvent = const EventStreamProvider('mouseleave'); - @DomName('SVGElement.mousemoveEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider mouseMoveEvent = const EventStreamProvider('mousemove'); - @DomName('SVGElement.mouseoutEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider mouseOutEvent = const EventStreamProvider('mouseout'); - @DomName('SVGElement.mouseoverEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider mouseOverEvent = const EventStreamProvider('mouseover'); - @DomName('SVGElement.mouseupEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider mouseUpEvent = const EventStreamProvider('mouseup'); - @DomName('SVGElement.mousewheelEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider mouseWheelEvent = const EventStreamProvider('mousewheel'); - @DomName('SVGElement.pauseEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider pauseEvent = const EventStreamProvider('pause'); - @DomName('SVGElement.playEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider playEvent = const EventStreamProvider('play'); - @DomName('SVGElement.playingEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider playingEvent = const EventStreamProvider('playing'); - @DomName('SVGElement.ratechangeEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider rateChangeEvent = const EventStreamProvider('ratechange'); - @DomName('SVGElement.resetEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider resetEvent = const EventStreamProvider('reset'); - @DomName('SVGElement.resizeEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider resizeEvent = const EventStreamProvider('resize'); - @DomName('SVGElement.scrollEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider scrollEvent = const EventStreamProvider('scroll'); - @DomName('SVGElement.seekedEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider seekedEvent = const EventStreamProvider('seeked'); - @DomName('SVGElement.seekingEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider seekingEvent = const EventStreamProvider('seeking'); - @DomName('SVGElement.selectEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider selectEvent = const EventStreamProvider('select'); - @DomName('SVGElement.stalledEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider stalledEvent = const EventStreamProvider('stalled'); - @DomName('SVGElement.submitEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider submitEvent = const EventStreamProvider('submit'); - @DomName('SVGElement.suspendEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider suspendEvent = const EventStreamProvider('suspend'); - @DomName('SVGElement.timeupdateEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider timeUpdateEvent = const EventStreamProvider('timeupdate'); - @DomName('SVGElement.touchcancelEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider touchCancelEvent = const EventStreamProvider('touchcancel'); - @DomName('SVGElement.touchendEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider touchEndEvent = const EventStreamProvider('touchend'); - @DomName('SVGElement.touchmoveEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider touchMoveEvent = const EventStreamProvider('touchmove'); - @DomName('SVGElement.touchstartEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider touchStartEvent = const EventStreamProvider('touchstart'); - @DomName('SVGElement.volumechangeEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider volumeChangeEvent = const EventStreamProvider('volumechange'); - @DomName('SVGElement.waitingEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider waitingEvent = const EventStreamProvider('waiting'); - @DomName('SVGElement.wheelEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider wheelEvent = const EventStreamProvider('wheel'); /** @@ -4539,8 +3181,6 @@ class SvgElement extends Element implements GlobalEventHandlers, NoncedElement { AnimatedString get _svgClassName => JS("AnimatedString", "#.className", this); @JSName('ownerSVGElement') - @DomName('SVGElement.ownerSVGElement') - @DocsEditable() final SvgSvgElement ownerSvgElement; // Use implementation from Element. @@ -4549,326 +3189,143 @@ class SvgElement extends Element implements GlobalEventHandlers, NoncedElement { // Use implementation from Element. // final int tabIndex; - @DomName('SVGElement.viewportElement') - @DocsEditable() final SvgElement viewportElement; - @DomName('SVGElement.blur') - @DocsEditable() - @Experimental() // untriaged void blur() native; - @DomName('SVGElement.focus') - @DocsEditable() - @Experimental() // untriaged void focus() native; // From NoncedElement - @DomName('SVGElement.nonce') - @DocsEditable() - @Experimental() // untriaged String nonce; - @DomName('SVGElement.onabort') - @DocsEditable() - @Experimental() // untriaged ElementStream get onAbort => abortEvent.forElement(this); - @DomName('SVGElement.onblur') - @DocsEditable() - @Experimental() // untriaged ElementStream get onBlur => blurEvent.forElement(this); - @DomName('SVGElement.oncanplay') - @DocsEditable() - @Experimental() // untriaged ElementStream get onCanPlay => canPlayEvent.forElement(this); - @DomName('SVGElement.oncanplaythrough') - @DocsEditable() - @Experimental() // untriaged ElementStream get onCanPlayThrough => canPlayThroughEvent.forElement(this); - @DomName('SVGElement.onchange') - @DocsEditable() - @Experimental() // untriaged ElementStream get onChange => changeEvent.forElement(this); - @DomName('SVGElement.onclick') - @DocsEditable() - @Experimental() // untriaged ElementStream get onClick => clickEvent.forElement(this); - @DomName('SVGElement.oncontextmenu') - @DocsEditable() - @Experimental() // untriaged ElementStream get onContextMenu => contextMenuEvent.forElement(this); - @DomName('SVGElement.ondblclick') - @DocsEditable() - @Experimental() // untriaged ElementStream get onDoubleClick => doubleClickEvent.forElement(this); - @DomName('SVGElement.ondrag') - @DocsEditable() - @Experimental() // untriaged ElementStream get onDrag => dragEvent.forElement(this); - @DomName('SVGElement.ondragend') - @DocsEditable() - @Experimental() // untriaged ElementStream get onDragEnd => dragEndEvent.forElement(this); - @DomName('SVGElement.ondragenter') - @DocsEditable() - @Experimental() // untriaged ElementStream get onDragEnter => dragEnterEvent.forElement(this); - @DomName('SVGElement.ondragleave') - @DocsEditable() - @Experimental() // untriaged ElementStream get onDragLeave => dragLeaveEvent.forElement(this); - @DomName('SVGElement.ondragover') - @DocsEditable() - @Experimental() // untriaged ElementStream get onDragOver => dragOverEvent.forElement(this); - @DomName('SVGElement.ondragstart') - @DocsEditable() - @Experimental() // untriaged ElementStream get onDragStart => dragStartEvent.forElement(this); - @DomName('SVGElement.ondrop') - @DocsEditable() - @Experimental() // untriaged ElementStream get onDrop => dropEvent.forElement(this); - @DomName('SVGElement.ondurationchange') - @DocsEditable() - @Experimental() // untriaged ElementStream get onDurationChange => durationChangeEvent.forElement(this); - @DomName('SVGElement.onemptied') - @DocsEditable() - @Experimental() // untriaged ElementStream get onEmptied => emptiedEvent.forElement(this); - @DomName('SVGElement.onended') - @DocsEditable() - @Experimental() // untriaged ElementStream get onEnded => endedEvent.forElement(this); - @DomName('SVGElement.onerror') - @DocsEditable() - @Experimental() // untriaged ElementStream get onError => errorEvent.forElement(this); - @DomName('SVGElement.onfocus') - @DocsEditable() - @Experimental() // untriaged ElementStream get onFocus => focusEvent.forElement(this); - @DomName('SVGElement.oninput') - @DocsEditable() - @Experimental() // untriaged ElementStream get onInput => inputEvent.forElement(this); - @DomName('SVGElement.oninvalid') - @DocsEditable() - @Experimental() // untriaged ElementStream get onInvalid => invalidEvent.forElement(this); - @DomName('SVGElement.onkeydown') - @DocsEditable() - @Experimental() // untriaged ElementStream get onKeyDown => keyDownEvent.forElement(this); - @DomName('SVGElement.onkeypress') - @DocsEditable() - @Experimental() // untriaged ElementStream get onKeyPress => keyPressEvent.forElement(this); - @DomName('SVGElement.onkeyup') - @DocsEditable() - @Experimental() // untriaged ElementStream get onKeyUp => keyUpEvent.forElement(this); - @DomName('SVGElement.onload') - @DocsEditable() - @Experimental() // untriaged ElementStream get onLoad => loadEvent.forElement(this); - @DomName('SVGElement.onloadeddata') - @DocsEditable() - @Experimental() // untriaged ElementStream get onLoadedData => loadedDataEvent.forElement(this); - @DomName('SVGElement.onloadedmetadata') - @DocsEditable() - @Experimental() // untriaged ElementStream get onLoadedMetadata => loadedMetadataEvent.forElement(this); - @DomName('SVGElement.onmousedown') - @DocsEditable() - @Experimental() // untriaged ElementStream get onMouseDown => mouseDownEvent.forElement(this); - @DomName('SVGElement.onmouseenter') - @DocsEditable() - @Experimental() // untriaged ElementStream get onMouseEnter => mouseEnterEvent.forElement(this); - @DomName('SVGElement.onmouseleave') - @DocsEditable() - @Experimental() // untriaged ElementStream get onMouseLeave => mouseLeaveEvent.forElement(this); - @DomName('SVGElement.onmousemove') - @DocsEditable() - @Experimental() // untriaged ElementStream get onMouseMove => mouseMoveEvent.forElement(this); - @DomName('SVGElement.onmouseout') - @DocsEditable() - @Experimental() // untriaged ElementStream get onMouseOut => mouseOutEvent.forElement(this); - @DomName('SVGElement.onmouseover') - @DocsEditable() - @Experimental() // untriaged ElementStream get onMouseOver => mouseOverEvent.forElement(this); - @DomName('SVGElement.onmouseup') - @DocsEditable() - @Experimental() // untriaged ElementStream get onMouseUp => mouseUpEvent.forElement(this); - @DomName('SVGElement.onmousewheel') - @DocsEditable() - @Experimental() // untriaged ElementStream get onMouseWheel => mouseWheelEvent.forElement(this); - @DomName('SVGElement.onpause') - @DocsEditable() - @Experimental() // untriaged ElementStream get onPause => pauseEvent.forElement(this); - @DomName('SVGElement.onplay') - @DocsEditable() - @Experimental() // untriaged ElementStream get onPlay => playEvent.forElement(this); - @DomName('SVGElement.onplaying') - @DocsEditable() - @Experimental() // untriaged ElementStream get onPlaying => playingEvent.forElement(this); - @DomName('SVGElement.onratechange') - @DocsEditable() - @Experimental() // untriaged ElementStream get onRateChange => rateChangeEvent.forElement(this); - @DomName('SVGElement.onreset') - @DocsEditable() - @Experimental() // untriaged ElementStream get onReset => resetEvent.forElement(this); - @DomName('SVGElement.onresize') - @DocsEditable() - @Experimental() // untriaged ElementStream get onResize => resizeEvent.forElement(this); - @DomName('SVGElement.onscroll') - @DocsEditable() - @Experimental() // untriaged ElementStream get onScroll => scrollEvent.forElement(this); - @DomName('SVGElement.onseeked') - @DocsEditable() - @Experimental() // untriaged ElementStream get onSeeked => seekedEvent.forElement(this); - @DomName('SVGElement.onseeking') - @DocsEditable() - @Experimental() // untriaged ElementStream get onSeeking => seekingEvent.forElement(this); - @DomName('SVGElement.onselect') - @DocsEditable() - @Experimental() // untriaged ElementStream get onSelect => selectEvent.forElement(this); - @DomName('SVGElement.onstalled') - @DocsEditable() - @Experimental() // untriaged ElementStream get onStalled => stalledEvent.forElement(this); - @DomName('SVGElement.onsubmit') - @DocsEditable() - @Experimental() // untriaged ElementStream get onSubmit => submitEvent.forElement(this); - @DomName('SVGElement.onsuspend') - @DocsEditable() - @Experimental() // untriaged ElementStream get onSuspend => suspendEvent.forElement(this); - @DomName('SVGElement.ontimeupdate') - @DocsEditable() - @Experimental() // untriaged ElementStream get onTimeUpdate => timeUpdateEvent.forElement(this); - @DomName('SVGElement.ontouchcancel') - @DocsEditable() - @Experimental() // untriaged ElementStream get onTouchCancel => touchCancelEvent.forElement(this); - @DomName('SVGElement.ontouchend') - @DocsEditable() - @Experimental() // untriaged ElementStream get onTouchEnd => touchEndEvent.forElement(this); - @DomName('SVGElement.ontouchmove') - @DocsEditable() - @Experimental() // untriaged ElementStream get onTouchMove => touchMoveEvent.forElement(this); - @DomName('SVGElement.ontouchstart') - @DocsEditable() - @Experimental() // untriaged ElementStream get onTouchStart => touchStartEvent.forElement(this); - @DomName('SVGElement.onvolumechange') - @DocsEditable() - @Experimental() // untriaged ElementStream get onVolumeChange => volumeChangeEvent.forElement(this); - @DomName('SVGElement.onwaiting') - @DocsEditable() - @Experimental() // untriaged ElementStream get onWaiting => waitingEvent.forElement(this); - @DomName('SVGElement.onwheel') - @DocsEditable() - @Experimental() // untriaged ElementStream get onWheel => wheelEvent.forElement(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. -@DomName('SVGSVGElement') @Unstable() @Native("SVGSVGElement") class SvgSvgElement extends GraphicsElement @@ -4891,156 +3348,90 @@ class SvgSvgElement extends GraphicsElement */ SvgSvgElement.created() : super.created(); - @DomName('SVGSVGElement.currentScale') - @DocsEditable() num currentScale; - @DomName('SVGSVGElement.currentTranslate') - @DocsEditable() final Point currentTranslate; - @DomName('SVGSVGElement.height') - @DocsEditable() final AnimatedLength height; - @DomName('SVGSVGElement.width') - @DocsEditable() final AnimatedLength width; - @DomName('SVGSVGElement.x') - @DocsEditable() final AnimatedLength x; - @DomName('SVGSVGElement.y') - @DocsEditable() final AnimatedLength y; - @DomName('SVGSVGElement.animationsPaused') - @DocsEditable() bool animationsPaused() native; - @DomName('SVGSVGElement.checkEnclosure') - @DocsEditable() bool checkEnclosure(SvgElement element, Rect rect) native; - @DomName('SVGSVGElement.checkIntersection') - @DocsEditable() bool checkIntersection(SvgElement element, Rect rect) native; @JSName('createSVGAngle') - @DomName('SVGSVGElement.createSVGAngle') - @DocsEditable() Angle createSvgAngle() native; @JSName('createSVGLength') - @DomName('SVGSVGElement.createSVGLength') - @DocsEditable() Length createSvgLength() native; @JSName('createSVGMatrix') - @DomName('SVGSVGElement.createSVGMatrix') - @DocsEditable() Matrix createSvgMatrix() native; @JSName('createSVGNumber') - @DomName('SVGSVGElement.createSVGNumber') - @DocsEditable() Number createSvgNumber() native; @JSName('createSVGPoint') - @DomName('SVGSVGElement.createSVGPoint') - @DocsEditable() Point createSvgPoint() native; @JSName('createSVGRect') - @DomName('SVGSVGElement.createSVGRect') - @DocsEditable() Rect createSvgRect() native; @JSName('createSVGTransform') - @DomName('SVGSVGElement.createSVGTransform') - @DocsEditable() Transform createSvgTransform() native; @JSName('createSVGTransformFromMatrix') - @DomName('SVGSVGElement.createSVGTransformFromMatrix') - @DocsEditable() Transform createSvgTransformFromMatrix(Matrix matrix) native; - @DomName('SVGSVGElement.deselectAll') - @DocsEditable() void deselectAll() native; - @DomName('SVGSVGElement.forceRedraw') - @DocsEditable() void forceRedraw() native; - @DomName('SVGSVGElement.getCurrentTime') - @DocsEditable() double getCurrentTime() native; - @DomName('SVGSVGElement.getElementById') - @DocsEditable() Element getElementById(String elementId) native; - @DomName('SVGSVGElement.getEnclosureList') - @DocsEditable() @Returns('NodeList|Null') @Creates('NodeList') List getEnclosureList(Rect rect, SvgElement referenceElement) native; - @DomName('SVGSVGElement.getIntersectionList') - @DocsEditable() @Returns('NodeList|Null') @Creates('NodeList') List getIntersectionList(Rect rect, SvgElement referenceElement) native; - @DomName('SVGSVGElement.pauseAnimations') - @DocsEditable() void pauseAnimations() native; - @DomName('SVGSVGElement.setCurrentTime') - @DocsEditable() void setCurrentTime(num seconds) native; - @DomName('SVGSVGElement.suspendRedraw') - @DocsEditable() int suspendRedraw(int maxWaitMilliseconds) native; - @DomName('SVGSVGElement.unpauseAnimations') - @DocsEditable() void unpauseAnimations() native; - @DomName('SVGSVGElement.unsuspendRedraw') - @DocsEditable() void unsuspendRedraw(int suspendHandleId) native; - @DomName('SVGSVGElement.unsuspendRedrawAll') - @DocsEditable() void unsuspendRedrawAll() native; // From SVGFitToViewBox - @DomName('SVGSVGElement.preserveAspectRatio') - @DocsEditable() final AnimatedPreserveAspectRatio preserveAspectRatio; - @DomName('SVGSVGElement.viewBox') - @DocsEditable() final AnimatedRect viewBox; // From SVGZoomAndPan - @DomName('SVGSVGElement.zoomAndPan') - @DocsEditable() int zoomAndPan; } // Copyright (c) 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('SVGSwitchElement') @Unstable() @Native("SVGSwitchElement") class SwitchElement extends GraphicsElement { @@ -5049,8 +3440,6 @@ class SwitchElement extends GraphicsElement { throw new UnsupportedError("Not supported"); } - @DomName('SVGSwitchElement.SVGSwitchElement') - @DocsEditable() factory SwitchElement() => _SvgElementFactoryProvider.createSvgElement_tag("switch"); /** @@ -5064,8 +3453,6 @@ class SwitchElement extends GraphicsElement { // 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('SVGSymbolElement') @Unstable() @Native("SVGSymbolElement") class SymbolElement extends SvgElement implements FitToViewBox { @@ -5074,8 +3461,6 @@ class SymbolElement extends SvgElement implements FitToViewBox { throw new UnsupportedError("Not supported"); } - @DomName('SVGSymbolElement.SVGSymbolElement') - @DocsEditable() factory SymbolElement() => _SvgElementFactoryProvider.createSvgElement_tag("symbol"); /** @@ -5087,20 +3472,14 @@ class SymbolElement extends SvgElement implements FitToViewBox { // From SVGFitToViewBox - @DomName('SVGSymbolElement.preserveAspectRatio') - @DocsEditable() final AnimatedPreserveAspectRatio preserveAspectRatio; - @DomName('SVGSymbolElement.viewBox') - @DocsEditable() final AnimatedRect 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('SVGTSpanElement') @Unstable() @Native("SVGTSpanElement") class TSpanElement extends TextPositioningElement { @@ -5109,8 +3488,6 @@ class TSpanElement extends TextPositioningElement { throw new UnsupportedError("Not supported"); } - @DomName('SVGTSpanElement.SVGTSpanElement') - @DocsEditable() factory TSpanElement() => _SvgElementFactoryProvider.createSvgElement_tag("tspan"); /** @@ -5124,8 +3501,6 @@ class TSpanElement extends TextPositioningElement { // 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('SVGTests') @Unstable() abstract class Tests extends Interceptor { // To suppress missing implicit constructor warnings. @@ -5141,8 +3516,6 @@ abstract class Tests 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('SVGTextContentElement') @Unstable() @Native("SVGTextContentElement") class TextContentElement extends GraphicsElement { @@ -5157,68 +3530,38 @@ class TextContentElement extends GraphicsElement { */ TextContentElement.created() : super.created(); - @DomName('SVGTextContentElement.LENGTHADJUST_SPACING') - @DocsEditable() static const int LENGTHADJUST_SPACING = 1; - @DomName('SVGTextContentElement.LENGTHADJUST_SPACINGANDGLYPHS') - @DocsEditable() static const int LENGTHADJUST_SPACINGANDGLYPHS = 2; - @DomName('SVGTextContentElement.LENGTHADJUST_UNKNOWN') - @DocsEditable() static const int LENGTHADJUST_UNKNOWN = 0; - @DomName('SVGTextContentElement.lengthAdjust') - @DocsEditable() final AnimatedEnumeration lengthAdjust; - @DomName('SVGTextContentElement.textLength') - @DocsEditable() final AnimatedLength textLength; - @DomName('SVGTextContentElement.getCharNumAtPosition') - @DocsEditable() int getCharNumAtPosition(Point point) native; - @DomName('SVGTextContentElement.getComputedTextLength') - @DocsEditable() double getComputedTextLength() native; - @DomName('SVGTextContentElement.getEndPositionOfChar') - @DocsEditable() Point getEndPositionOfChar(int charnum) native; - @DomName('SVGTextContentElement.getExtentOfChar') - @DocsEditable() Rect getExtentOfChar(int charnum) native; - @DomName('SVGTextContentElement.getNumberOfChars') - @DocsEditable() int getNumberOfChars() native; - @DomName('SVGTextContentElement.getRotationOfChar') - @DocsEditable() double getRotationOfChar(int charnum) native; - @DomName('SVGTextContentElement.getStartPositionOfChar') - @DocsEditable() Point getStartPositionOfChar(int charnum) native; - @DomName('SVGTextContentElement.getSubStringLength') - @DocsEditable() double getSubStringLength(int charnum, int nchars) native; - @DomName('SVGTextContentElement.selectSubString') - @DocsEditable() void selectSubString(int charnum, int nchars) 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('SVGTextElement') @Unstable() @Native("SVGTextElement") class TextElement extends TextPositioningElement { @@ -5227,8 +3570,6 @@ class TextElement extends TextPositioningElement { throw new UnsupportedError("Not supported"); } - @DomName('SVGTextElement.SVGTextElement') - @DocsEditable() factory TextElement() => _SvgElementFactoryProvider.createSvgElement_tag("text"); /** @@ -5242,8 +3583,6 @@ class TextElement extends TextPositioningElement { // 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('SVGTextPathElement') @Unstable() @Native("SVGTextPathElement") class TextPathElement extends TextContentElement implements UriReference { @@ -5258,54 +3597,32 @@ class TextPathElement extends TextContentElement implements UriReference { */ TextPathElement.created() : super.created(); - @DomName('SVGTextPathElement.TEXTPATH_METHODTYPE_ALIGN') - @DocsEditable() static const int TEXTPATH_METHODTYPE_ALIGN = 1; - @DomName('SVGTextPathElement.TEXTPATH_METHODTYPE_STRETCH') - @DocsEditable() static const int TEXTPATH_METHODTYPE_STRETCH = 2; - @DomName('SVGTextPathElement.TEXTPATH_METHODTYPE_UNKNOWN') - @DocsEditable() static const int TEXTPATH_METHODTYPE_UNKNOWN = 0; - @DomName('SVGTextPathElement.TEXTPATH_SPACINGTYPE_AUTO') - @DocsEditable() static const int TEXTPATH_SPACINGTYPE_AUTO = 1; - @DomName('SVGTextPathElement.TEXTPATH_SPACINGTYPE_EXACT') - @DocsEditable() static const int TEXTPATH_SPACINGTYPE_EXACT = 2; - @DomName('SVGTextPathElement.TEXTPATH_SPACINGTYPE_UNKNOWN') - @DocsEditable() static const int TEXTPATH_SPACINGTYPE_UNKNOWN = 0; - @DomName('SVGTextPathElement.method') - @DocsEditable() final AnimatedEnumeration method; - @DomName('SVGTextPathElement.spacing') - @DocsEditable() final AnimatedEnumeration spacing; - @DomName('SVGTextPathElement.startOffset') - @DocsEditable() final AnimatedLength startOffset; // From SVGURIReference - @DomName('SVGTextPathElement.href') - @DocsEditable() final AnimatedString 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('SVGTextPositioningElement') @Unstable() @Native("SVGTextPositioningElement") class TextPositioningElement extends TextContentElement { @@ -5320,32 +3637,20 @@ class TextPositioningElement extends TextContentElement { */ TextPositioningElement.created() : super.created(); - @DomName('SVGTextPositioningElement.dx') - @DocsEditable() final AnimatedLengthList dx; - @DomName('SVGTextPositioningElement.dy') - @DocsEditable() final AnimatedLengthList dy; - @DomName('SVGTextPositioningElement.rotate') - @DocsEditable() final AnimatedNumberList rotate; - @DomName('SVGTextPositioningElement.x') - @DocsEditable() final AnimatedLengthList x; - @DomName('SVGTextPositioningElement.y') - @DocsEditable() final AnimatedLengthList 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('SVGTitleElement') @Unstable() @Native("SVGTitleElement") class TitleElement extends SvgElement { @@ -5354,8 +3659,6 @@ class TitleElement extends SvgElement { throw new UnsupportedError("Not supported"); } - @DomName('SVGTitleElement.SVGTitleElement') - @DocsEditable() factory TitleElement() => _SvgElementFactoryProvider.createSvgElement_tag("title"); /** @@ -5369,8 +3672,6 @@ class TitleElement extends SvgElement { // 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('SVGTransform') @Unstable() @Native("SVGTransform") class Transform extends Interceptor { @@ -5379,76 +3680,42 @@ class Transform extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('SVGTransform.SVG_TRANSFORM_MATRIX') - @DocsEditable() static const int SVG_TRANSFORM_MATRIX = 1; - @DomName('SVGTransform.SVG_TRANSFORM_ROTATE') - @DocsEditable() static const int SVG_TRANSFORM_ROTATE = 4; - @DomName('SVGTransform.SVG_TRANSFORM_SCALE') - @DocsEditable() static const int SVG_TRANSFORM_SCALE = 3; - @DomName('SVGTransform.SVG_TRANSFORM_SKEWX') - @DocsEditable() static const int SVG_TRANSFORM_SKEWX = 5; - @DomName('SVGTransform.SVG_TRANSFORM_SKEWY') - @DocsEditable() static const int SVG_TRANSFORM_SKEWY = 6; - @DomName('SVGTransform.SVG_TRANSFORM_TRANSLATE') - @DocsEditable() static const int SVG_TRANSFORM_TRANSLATE = 2; - @DomName('SVGTransform.SVG_TRANSFORM_UNKNOWN') - @DocsEditable() static const int SVG_TRANSFORM_UNKNOWN = 0; - @DomName('SVGTransform.angle') - @DocsEditable() final num angle; - @DomName('SVGTransform.matrix') - @DocsEditable() final Matrix matrix; - @DomName('SVGTransform.type') - @DocsEditable() final int type; - @DomName('SVGTransform.setMatrix') - @DocsEditable() void setMatrix(Matrix matrix) native; - @DomName('SVGTransform.setRotate') - @DocsEditable() void setRotate(num angle, num cx, num cy) native; - @DomName('SVGTransform.setScale') - @DocsEditable() void setScale(num sx, num sy) native; - @DomName('SVGTransform.setSkewX') - @DocsEditable() void setSkewX(num angle) native; - @DomName('SVGTransform.setSkewY') - @DocsEditable() void setSkewY(num angle) native; - @DomName('SVGTransform.setTranslate') - @DocsEditable() void setTranslate(num tx, num ty) 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('SVGTransformList') @Unstable() @Native("SVGTransformList") class TransformList extends Interceptor @@ -5459,13 +3726,8 @@ class TransformList extends Interceptor throw new UnsupportedError("Not supported"); } - @DomName('SVGTransformList.length') - @DocsEditable() - @Experimental() // untriaged int get length => JS("int", "#.length", this); - @DomName('SVGTransformList.numberOfItems') - @DocsEditable() final int numberOfItems; Transform operator [](int index) { @@ -5511,54 +3773,31 @@ class TransformList extends Interceptor Transform elementAt(int index) => this[index]; // -- end List mixins. - @DomName('SVGTransformList.__setter__') - @DocsEditable() - @Experimental() // untriaged void __setter__(int index, Transform newItem) native; - @DomName('SVGTransformList.appendItem') - @DocsEditable() Transform appendItem(Transform newItem) native; - @DomName('SVGTransformList.clear') - @DocsEditable() void clear() native; - @DomName('SVGTransformList.consolidate') - @DocsEditable() Transform consolidate() native; @JSName('createSVGTransformFromMatrix') - @DomName('SVGTransformList.createSVGTransformFromMatrix') - @DocsEditable() Transform createSvgTransformFromMatrix(Matrix matrix) native; - @DomName('SVGTransformList.getItem') - @DocsEditable() Transform getItem(int index) native; - @DomName('SVGTransformList.initialize') - @DocsEditable() Transform initialize(Transform newItem) native; - @DomName('SVGTransformList.insertItemBefore') - @DocsEditable() Transform insertItemBefore(Transform newItem, int index) native; - @DomName('SVGTransformList.removeItem') - @DocsEditable() Transform removeItem(int index) native; - @DomName('SVGTransformList.replaceItem') - @DocsEditable() Transform replaceItem(Transform newItem, 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('SVGUnitTypes') @Unstable() @Native("SVGUnitTypes") class UnitTypes extends Interceptor { @@ -5567,24 +3806,16 @@ class UnitTypes extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('SVGUnitTypes.SVG_UNIT_TYPE_OBJECTBOUNDINGBOX') - @DocsEditable() static const int SVG_UNIT_TYPE_OBJECTBOUNDINGBOX = 2; - @DomName('SVGUnitTypes.SVG_UNIT_TYPE_UNKNOWN') - @DocsEditable() static const int SVG_UNIT_TYPE_UNKNOWN = 0; - @DomName('SVGUnitTypes.SVG_UNIT_TYPE_USERSPACEONUSE') - @DocsEditable() static const int SVG_UNIT_TYPE_USERSPACEONUSE = 1; } // Copyright (c) 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('SVGURIReference') @Unstable() abstract class UriReference extends Interceptor { // To suppress missing implicit constructor warnings. @@ -5598,8 +3829,6 @@ abstract class UriReference 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('SVGUseElement') @Unstable() @Native("SVGUseElement") class UseElement extends GraphicsElement implements UriReference { @@ -5608,8 +3837,6 @@ class UseElement extends GraphicsElement implements UriReference { throw new UnsupportedError("Not supported"); } - @DomName('SVGUseElement.SVGUseElement') - @DocsEditable() factory UseElement() => _SvgElementFactoryProvider.createSvgElement_tag("use"); /** @@ -5619,34 +3846,22 @@ class UseElement extends GraphicsElement implements UriReference { */ UseElement.created() : super.created(); - @DomName('SVGUseElement.height') - @DocsEditable() final AnimatedLength height; - @DomName('SVGUseElement.width') - @DocsEditable() final AnimatedLength width; - @DomName('SVGUseElement.x') - @DocsEditable() final AnimatedLength x; - @DomName('SVGUseElement.y') - @DocsEditable() final AnimatedLength y; // From SVGURIReference - @DomName('SVGUseElement.href') - @DocsEditable() final AnimatedString 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('SVGViewElement') @Unstable() @Native("SVGViewElement") class ViewElement extends SvgElement implements FitToViewBox, ZoomAndPan { @@ -5655,8 +3870,6 @@ class ViewElement extends SvgElement implements FitToViewBox, ZoomAndPan { throw new UnsupportedError("Not supported"); } - @DomName('SVGViewElement.SVGViewElement') - @DocsEditable() factory ViewElement() => _SvgElementFactoryProvider.createSvgElement_tag("view"); /** @@ -5668,26 +3881,18 @@ class ViewElement extends SvgElement implements FitToViewBox, ZoomAndPan { // From SVGFitToViewBox - @DomName('SVGViewElement.preserveAspectRatio') - @DocsEditable() final AnimatedPreserveAspectRatio preserveAspectRatio; - @DomName('SVGViewElement.viewBox') - @DocsEditable() final AnimatedRect viewBox; // From SVGZoomAndPan - @DomName('SVGViewElement.zoomAndPan') - @DocsEditable() int zoomAndPan; } // Copyright (c) 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('SVGZoomAndPan') @Unstable() abstract class ZoomAndPan extends Interceptor { // To suppress missing implicit constructor warnings. @@ -5695,16 +3900,10 @@ abstract class ZoomAndPan extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('SVGZoomAndPan.SVG_ZOOMANDPAN_DISABLE') - @DocsEditable() static const int SVG_ZOOMANDPAN_DISABLE = 1; - @DomName('SVGZoomAndPan.SVG_ZOOMANDPAN_MAGNIFY') - @DocsEditable() static const int SVG_ZOOMANDPAN_MAGNIFY = 2; - @DomName('SVGZoomAndPan.SVG_ZOOMANDPAN_UNKNOWN') - @DocsEditable() static const int SVG_ZOOMANDPAN_UNKNOWN = 0; int zoomAndPan; @@ -5713,8 +3912,6 @@ abstract class ZoomAndPan 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('SVGGradientElement') @Unstable() @Native("SVGGradientElement") class _GradientElement extends SvgElement implements UriReference { @@ -5729,46 +3926,28 @@ class _GradientElement extends SvgElement implements UriReference { */ _GradientElement.created() : super.created(); - @DomName('SVGGradientElement.SVG_SPREADMETHOD_PAD') - @DocsEditable() static const int SVG_SPREADMETHOD_PAD = 1; - @DomName('SVGGradientElement.SVG_SPREADMETHOD_REFLECT') - @DocsEditable() static const int SVG_SPREADMETHOD_REFLECT = 2; - @DomName('SVGGradientElement.SVG_SPREADMETHOD_REPEAT') - @DocsEditable() static const int SVG_SPREADMETHOD_REPEAT = 3; - @DomName('SVGGradientElement.SVG_SPREADMETHOD_UNKNOWN') - @DocsEditable() static const int SVG_SPREADMETHOD_UNKNOWN = 0; - @DomName('SVGGradientElement.gradientTransform') - @DocsEditable() final AnimatedTransformList gradientTransform; - @DomName('SVGGradientElement.gradientUnits') - @DocsEditable() final AnimatedEnumeration gradientUnits; - @DomName('SVGGradientElement.spreadMethod') - @DocsEditable() final AnimatedEnumeration spreadMethod; // From SVGURIReference - @DomName('SVGGradientElement.href') - @DocsEditable() final AnimatedString 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('SVGComponentTransferFunctionElement') @Unstable() @Native("SVGComponentTransferFunctionElement") abstract class _SVGComponentTransferFunctionElement extends SvgElement { @@ -5787,9 +3966,6 @@ abstract class _SVGComponentTransferFunctionElement extends SvgElement { // 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('SVGFEDropShadowElement') -@Experimental() // nonstandard @Native("SVGFEDropShadowElement") abstract class _SVGFEDropShadowElement extends SvgElement implements FilterPrimitiveStandardAttributes { @@ -5812,8 +3988,6 @@ abstract class _SVGFEDropShadowElement extends SvgElement // 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('SVGMPathElement') @Native("SVGMPathElement") abstract class _SVGMPathElement extends SvgElement implements UriReference { // To suppress missing implicit constructor warnings. @@ -5821,8 +3995,6 @@ abstract class _SVGMPathElement extends SvgElement implements UriReference { throw new UnsupportedError("Not supported"); } - @DomName('SVGMPathElement.SVGMPathElement') - @DocsEditable() factory _SVGMPathElement() => _SvgElementFactoryProvider.createSvgElement_tag("mpath"); /** diff --git a/sdk/lib/web_audio/dart2js/web_audio_dart2js.dart b/sdk/lib/web_audio/dart2js/web_audio_dart2js.dart index c12fe76fcf1..4ded0e1599c 100644 --- a/sdk/lib/web_audio/dart2js/web_audio_dart2js.dart +++ b/sdk/lib/web_audio/dart2js/web_audio_dart2js.dart @@ -31,10 +31,6 @@ import 'dart:_js_helper' // 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('AnalyserNode') -// https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AnalyserNode -@Experimental() @Native("AnalyserNode,RealtimeAnalyserNode") class AnalyserNode extends AudioNode { // To suppress missing implicit constructor warnings. @@ -42,8 +38,6 @@ class AnalyserNode extends AudioNode { throw new UnsupportedError("Not supported"); } - @DomName('AnalyserNode.AnalyserNode') - @DocsEditable() factory AnalyserNode(BaseAudioContext context, [Map options]) { if (options != null) { var options_1 = convertDartToNative_Dictionary(options); @@ -56,51 +50,28 @@ class AnalyserNode extends AudioNode { static AnalyserNode _create_2(context) => JS('AnalyserNode', 'new AnalyserNode(#)', context); - @DomName('AnalyserNode.fftSize') - @DocsEditable() int fftSize; - @DomName('AnalyserNode.frequencyBinCount') - @DocsEditable() final int frequencyBinCount; - @DomName('AnalyserNode.maxDecibels') - @DocsEditable() num maxDecibels; - @DomName('AnalyserNode.minDecibels') - @DocsEditable() num minDecibels; - @DomName('AnalyserNode.smoothingTimeConstant') - @DocsEditable() num smoothingTimeConstant; - @DomName('AnalyserNode.getByteFrequencyData') - @DocsEditable() void getByteFrequencyData(Uint8List array) native; - @DomName('AnalyserNode.getByteTimeDomainData') - @DocsEditable() void getByteTimeDomainData(Uint8List array) native; - @DomName('AnalyserNode.getFloatFrequencyData') - @DocsEditable() void getFloatFrequencyData(Float32List array) native; - @DomName('AnalyserNode.getFloatTimeDomainData') - @DocsEditable() - @Experimental() // untriaged void getFloatTimeDomainData(Float32List array) 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('AudioBuffer') -// https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioBuffer-section -@Experimental() @Native("AudioBuffer") class AudioBuffer extends Interceptor { // To suppress missing implicit constructor warnings. @@ -108,8 +79,6 @@ class AudioBuffer extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('AudioBuffer.AudioBuffer') - @DocsEditable() factory AudioBuffer(Map options) { var options_1 = convertDartToNative_Dictionary(options); return AudioBuffer._create_1(options_1); @@ -117,48 +86,28 @@ class AudioBuffer extends Interceptor { static AudioBuffer _create_1(options) => JS('AudioBuffer', 'new AudioBuffer(#)', options); - @DomName('AudioBuffer.duration') - @DocsEditable() final num duration; - @DomName('AudioBuffer.length') - @DocsEditable() final int length; - @DomName('AudioBuffer.numberOfChannels') - @DocsEditable() final int numberOfChannels; - @DomName('AudioBuffer.sampleRate') - @DocsEditable() final num sampleRate; - @DomName('AudioBuffer.copyFromChannel') - @DocsEditable() - @Experimental() // untriaged void copyFromChannel(Float32List destination, int channelNumber, [int startInChannel]) native; - @DomName('AudioBuffer.copyToChannel') - @DocsEditable() - @Experimental() // untriaged void copyToChannel(Float32List source, int channelNumber, [int startInChannel]) native; - @DomName('AudioBuffer.getChannelData') - @DocsEditable() Float32List getChannelData(int channelIndex) 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('AudioBufferSourceNode') @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.FIREFOX) -@Experimental() -// https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioBufferSourceNode-section @Native("AudioBufferSourceNode") class AudioBufferSourceNode extends AudioScheduledSourceNode { // To suppress missing implicit constructor warnings. @@ -166,8 +115,6 @@ class AudioBufferSourceNode extends AudioScheduledSourceNode { throw new UnsupportedError("Not supported"); } - @DomName('AudioBufferSourceNode.AudioBufferSourceNode') - @DocsEditable() factory AudioBufferSourceNode(BaseAudioContext context, [Map options]) { if (options != null) { var options_1 = convertDartToNative_Dictionary(options); @@ -183,44 +130,26 @@ class AudioBufferSourceNode extends AudioScheduledSourceNode { static AudioBufferSourceNode _create_2(context) => JS('AudioBufferSourceNode', 'new AudioBufferSourceNode(#)', context); - @DomName('AudioBufferSourceNode.buffer') - @DocsEditable() AudioBuffer buffer; - @DomName('AudioBufferSourceNode.detune') - @DocsEditable() - @Experimental() // untriaged final AudioParam detune; - @DomName('AudioBufferSourceNode.loop') - @DocsEditable() bool loop; - @DomName('AudioBufferSourceNode.loopEnd') - @DocsEditable() num loopEnd; - @DomName('AudioBufferSourceNode.loopStart') - @DocsEditable() num loopStart; - @DomName('AudioBufferSourceNode.playbackRate') - @DocsEditable() final AudioParam playbackRate; - @DomName('AudioBufferSourceNode.start') - @DocsEditable() void start([num when, num grainOffset, num grainDuration]) 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. -@DomName('AudioContext') @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.FIREFOX) -@Experimental() -// https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioContext-section @Native("AudioContext,webkitAudioContext") class AudioContext extends BaseAudioContext { // To suppress missing implicit constructor warnings. @@ -232,32 +161,17 @@ class AudioContext extends BaseAudioContext { static bool get supported => JS('bool', '!!(window.AudioContext || window.webkitAudioContext)'); - @DomName('AudioContext.baseLatency') - @DocsEditable() - @Experimental() // untriaged final num baseLatency; - @DomName('AudioContext.close') - @DocsEditable() - @Experimental() // untriaged Future close() => promiseToFuture(JS("", "#.close()", this)); - @DomName('AudioContext.getOutputTimestamp') - @DocsEditable() - @Experimental() // untriaged Map getOutputTimestamp() { return convertNativeToDart_Dictionary(_getOutputTimestamp_1()); } @JSName('getOutputTimestamp') - @DomName('AudioContext.getOutputTimestamp') - @DocsEditable() - @Experimental() // untriaged _getOutputTimestamp_1() native; - @DomName('AudioContext.suspend') - @DocsEditable() - @Experimental() // untriaged Future suspend() => promiseToFuture(JS("", "#.suspend()", this)); factory AudioContext() => JS('AudioContext', @@ -294,13 +208,10 @@ class AudioContext extends BaseAudioContext { } @JSName('decodeAudioData') - @DomName('AudioContext.decodeAudioData') - @DocsEditable() Future _decodeAudioData(ByteBuffer audioData, [DecodeSuccessCallback successCallback, DecodeErrorCallback errorCallback]) native; - @DomName('AudioContext.decodeAudioData') Future decodeAudioData(ByteBuffer audioData, [DecodeSuccessCallback successCallback, DecodeErrorCallback errorCallback]) { @@ -325,10 +236,6 @@ class AudioContext extends BaseAudioContext { // 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('AudioDestinationNode') -// https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioDestinationNode-section -@Experimental() @Native("AudioDestinationNode") class AudioDestinationNode extends AudioNode { // To suppress missing implicit constructor warnings. @@ -336,18 +243,12 @@ class AudioDestinationNode extends AudioNode { throw new UnsupportedError("Not supported"); } - @DomName('AudioDestinationNode.maxChannelCount') - @DocsEditable() final int maxChannelCount; } // Copyright (c) 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('AudioListener') -// https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioListener-section -@Experimental() @Native("AudioListener") class AudioListener extends Interceptor { // To suppress missing implicit constructor warnings. @@ -355,66 +256,32 @@ class AudioListener extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('AudioListener.forwardX') - @DocsEditable() - @Experimental() // untriaged final AudioParam forwardX; - @DomName('AudioListener.forwardY') - @DocsEditable() - @Experimental() // untriaged final AudioParam forwardY; - @DomName('AudioListener.forwardZ') - @DocsEditable() - @Experimental() // untriaged final AudioParam forwardZ; - @DomName('AudioListener.positionX') - @DocsEditable() - @Experimental() // untriaged final AudioParam positionX; - @DomName('AudioListener.positionY') - @DocsEditable() - @Experimental() // untriaged final AudioParam positionY; - @DomName('AudioListener.positionZ') - @DocsEditable() - @Experimental() // untriaged final AudioParam positionZ; - @DomName('AudioListener.upX') - @DocsEditable() - @Experimental() // untriaged final AudioParam upX; - @DomName('AudioListener.upY') - @DocsEditable() - @Experimental() // untriaged final AudioParam upY; - @DomName('AudioListener.upZ') - @DocsEditable() - @Experimental() // untriaged final AudioParam upZ; - @DomName('AudioListener.setOrientation') - @DocsEditable() void setOrientation(num x, num y, num z, num xUp, num yUp, num zUp) native; - @DomName('AudioListener.setPosition') - @DocsEditable() void setPosition(num x, num y, num z) 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. -@DomName('AudioNode') -// https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioNode-section -@Experimental() @Native("AudioNode") class AudioNode extends EventTarget { // To suppress missing implicit constructor warnings. @@ -422,45 +289,27 @@ class AudioNode extends EventTarget { throw new UnsupportedError("Not supported"); } - @DomName('AudioNode.channelCount') - @DocsEditable() int channelCount; - @DomName('AudioNode.channelCountMode') - @DocsEditable() String channelCountMode; - @DomName('AudioNode.channelInterpretation') - @DocsEditable() String channelInterpretation; - @DomName('AudioNode.context') - @DocsEditable() final BaseAudioContext context; - @DomName('AudioNode.numberOfInputs') - @DocsEditable() final int numberOfInputs; - @DomName('AudioNode.numberOfOutputs') - @DocsEditable() final int numberOfOutputs; @JSName('connect') - @DomName('AudioNode.connect') - @DocsEditable() AudioNode _connect(destination, [int output, int input]) native; - @DomName('AudioNode.disconnect') - @DocsEditable() void disconnect([destination_OR_output, int output, int input]) native; - @DomName('AudioNode.connect') void connectNode(AudioNode destination, [int output = 0, int input = 0]) { _connect(destination, output, input); } - @DomName('AudioNode.connect') void connectParam(AudioParam destination, [int output = 0]) { _connect(destination, output); } @@ -469,10 +318,6 @@ class AudioNode 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('AudioParam') -// https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioParam -@Experimental() @Native("AudioParam") class AudioParam extends Interceptor { // To suppress missing implicit constructor warnings. @@ -480,49 +325,26 @@ class AudioParam extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('AudioParam.defaultValue') - @DocsEditable() final num defaultValue; - @DomName('AudioParam.maxValue') - @DocsEditable() final num maxValue; - @DomName('AudioParam.minValue') - @DocsEditable() final num minValue; - @DomName('AudioParam.value') - @DocsEditable() num value; - @DomName('AudioParam.cancelAndHoldAtTime') - @DocsEditable() - @Experimental() // untriaged AudioParam cancelAndHoldAtTime(num startTime) native; - @DomName('AudioParam.cancelScheduledValues') - @DocsEditable() AudioParam cancelScheduledValues(num startTime) native; - @DomName('AudioParam.exponentialRampToValueAtTime') - @DocsEditable() AudioParam exponentialRampToValueAtTime(num value, num time) native; - @DomName('AudioParam.linearRampToValueAtTime') - @DocsEditable() AudioParam linearRampToValueAtTime(num value, num time) native; - @DomName('AudioParam.setTargetAtTime') - @DocsEditable() AudioParam setTargetAtTime(num target, num time, num timeConstant) native; - @DomName('AudioParam.setValueAtTime') - @DocsEditable() AudioParam setValueAtTime(num value, num time) native; - @DomName('AudioParam.setValueCurveAtTime') - @DocsEditable() AudioParam setValueCurveAtTime(List values, num time, num duration) native; } @@ -530,9 +352,6 @@ class AudioParam 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('AudioParamMap') -@Experimental() // untriaged @Native("AudioParamMap") class AudioParamMap extends Interceptor with MapMixin { // To suppress missing implicit constructor warnings. @@ -601,10 +420,6 @@ class AudioParamMap extends Interceptor with MapMixin { // 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('AudioProcessingEvent') -// https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioProcessingEvent-section -@Experimental() @Native("AudioProcessingEvent") class AudioProcessingEvent extends Event { // To suppress missing implicit constructor warnings. @@ -612,8 +427,6 @@ class AudioProcessingEvent extends Event { throw new UnsupportedError("Not supported"); } - @DomName('AudioProcessingEvent.AudioProcessingEvent') - @DocsEditable() factory AudioProcessingEvent(String type, Map eventInitDict) { var eventInitDict_1 = convertDartToNative_Dictionary(eventInitDict); return AudioProcessingEvent._create_1(type, eventInitDict_1); @@ -624,26 +437,16 @@ class AudioProcessingEvent extends Event { type, eventInitDict); - @DomName('AudioProcessingEvent.inputBuffer') - @DocsEditable() final AudioBuffer inputBuffer; - @DomName('AudioProcessingEvent.outputBuffer') - @DocsEditable() final AudioBuffer outputBuffer; - @DomName('AudioProcessingEvent.playbackTime') - @DocsEditable() - @Experimental() // untriaged final num playbackTime; } // Copyright (c) 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('AudioScheduledSourceNode') -@Experimental() // untriaged @Native("AudioScheduledSourceNode") class AudioScheduledSourceNode extends AudioNode { // To suppress missing implicit constructor warnings. @@ -651,35 +454,20 @@ class AudioScheduledSourceNode extends AudioNode { throw new UnsupportedError("Not supported"); } - @DomName('AudioScheduledSourceNode.endedEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider endedEvent = const EventStreamProvider('ended'); @JSName('start') - @DomName('AudioScheduledSourceNode.start') - @DocsEditable() - @Experimental() // untriaged void start2([num when]) native; - @DomName('AudioScheduledSourceNode.stop') - @DocsEditable() - @Experimental() // untriaged void stop([num when]) native; - @DomName('AudioScheduledSourceNode.onended') - @DocsEditable() - @Experimental() // untriaged Stream get onEnded => endedEvent.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('AudioTrack') -@Experimental() // untriaged @Native("AudioTrack") class AudioTrack extends Interceptor { // To suppress missing implicit constructor warnings. @@ -687,43 +475,22 @@ class AudioTrack extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('AudioTrack.enabled') - @DocsEditable() - @Experimental() // untriaged bool enabled; - @DomName('AudioTrack.id') - @DocsEditable() - @Experimental() // untriaged final String id; - @DomName('AudioTrack.kind') - @DocsEditable() - @Experimental() // untriaged final String kind; - @DomName('AudioTrack.label') - @DocsEditable() - @Experimental() // untriaged final String label; - @DomName('AudioTrack.language') - @DocsEditable() - @Experimental() // untriaged final String language; - @DomName('AudioTrack.sourceBuffer') - @DocsEditable() - @Experimental() // untriaged final SourceBuffer sourceBuffer; } // Copyright (c) 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('AudioTrackList') -@Experimental() // untriaged @Native("AudioTrackList") class AudioTrackList extends EventTarget { // To suppress missing implicit constructor warnings. @@ -731,39 +498,21 @@ class AudioTrackList extends EventTarget { throw new UnsupportedError("Not supported"); } - @DomName('AudioTrackList.changeEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider changeEvent = const EventStreamProvider('change'); - @DomName('AudioTrackList.length') - @DocsEditable() - @Experimental() // untriaged final int length; - @DomName('AudioTrackList.__getter__') - @DocsEditable() - @Experimental() // untriaged AudioTrack __getter__(int index) native; - @DomName('AudioTrackList.getTrackById') - @DocsEditable() - @Experimental() // untriaged AudioTrack getTrackById(String id) native; - @DomName('AudioTrackList.onchange') - @DocsEditable() - @Experimental() // untriaged Stream get onChange => changeEvent.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('AudioWorkletGlobalScope') -@Experimental() // untriaged @Native("AudioWorkletGlobalScope") class AudioWorkletGlobalScope extends WorkletGlobalScope { // To suppress missing implicit constructor warnings. @@ -771,28 +520,16 @@ class AudioWorkletGlobalScope extends WorkletGlobalScope { throw new UnsupportedError("Not supported"); } - @DomName('AudioWorkletGlobalScope.currentTime') - @DocsEditable() - @Experimental() // untriaged final num currentTime; - @DomName('AudioWorkletGlobalScope.sampleRate') - @DocsEditable() - @Experimental() // untriaged final num sampleRate; - @DomName('AudioWorkletGlobalScope.registerProcessor') - @DocsEditable() - @Experimental() // untriaged void registerProcessor(String name, Object processorConstructor) 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('AudioWorkletNode') -@Experimental() // untriaged @Native("AudioWorkletNode") class AudioWorkletNode extends AudioNode { // To suppress missing implicit constructor warnings. @@ -800,8 +537,6 @@ class AudioWorkletNode extends AudioNode { throw new UnsupportedError("Not supported"); } - @DomName('AudioWorkletNode.AudioWorkletNode') - @DocsEditable() factory AudioWorkletNode(BaseAudioContext context, String name, [Map options]) { if (options != null) { @@ -819,18 +554,12 @@ class AudioWorkletNode extends AudioNode { static AudioWorkletNode _create_2(context, name) => JS('AudioWorkletNode', 'new AudioWorkletNode(#,#)', context, name); - @DomName('AudioWorkletNode.parameters') - @DocsEditable() - @Experimental() // untriaged final AudioParamMap parameters; } // Copyright (c) 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('AudioWorkletProcessor') -@Experimental() // untriaged @Native("AudioWorkletProcessor") class AudioWorkletProcessor extends Interceptor { // To suppress missing implicit constructor warnings. @@ -842,9 +571,6 @@ class AudioWorkletProcessor 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('BaseAudioContext') -@Experimental() // untriaged @Native("BaseAudioContext") class BaseAudioContext extends EventTarget { // To suppress missing implicit constructor warnings. @@ -852,124 +578,55 @@ class BaseAudioContext extends EventTarget { throw new UnsupportedError("Not supported"); } - @DomName('BaseAudioContext.currentTime') - @DocsEditable() - @Experimental() // untriaged final num currentTime; - @DomName('BaseAudioContext.destination') - @DocsEditable() - @Experimental() // untriaged final AudioDestinationNode destination; - @DomName('BaseAudioContext.listener') - @DocsEditable() - @Experimental() // untriaged final AudioListener listener; - @DomName('BaseAudioContext.sampleRate') - @DocsEditable() - @Experimental() // untriaged final num sampleRate; - @DomName('BaseAudioContext.state') - @DocsEditable() - @Experimental() // untriaged final String state; - @DomName('BaseAudioContext.createAnalyser') - @DocsEditable() - @Experimental() // untriaged AnalyserNode createAnalyser() native; - @DomName('BaseAudioContext.createBiquadFilter') - @DocsEditable() - @Experimental() // untriaged BiquadFilterNode createBiquadFilter() native; - @DomName('BaseAudioContext.createBuffer') - @DocsEditable() - @Experimental() // untriaged AudioBuffer createBuffer( int numberOfChannels, int numberOfFrames, num sampleRate) native; - @DomName('BaseAudioContext.createBufferSource') - @DocsEditable() - @Experimental() // untriaged AudioBufferSourceNode createBufferSource() native; - @DomName('BaseAudioContext.createChannelMerger') - @DocsEditable() - @Experimental() // untriaged ChannelMergerNode createChannelMerger([int numberOfInputs]) native; - @DomName('BaseAudioContext.createChannelSplitter') - @DocsEditable() - @Experimental() // untriaged ChannelSplitterNode createChannelSplitter([int numberOfOutputs]) native; - @DomName('BaseAudioContext.createConstantSource') - @DocsEditable() - @Experimental() // untriaged ConstantSourceNode createConstantSource() native; - @DomName('BaseAudioContext.createConvolver') - @DocsEditable() - @Experimental() // untriaged ConvolverNode createConvolver() native; - @DomName('BaseAudioContext.createDelay') - @DocsEditable() - @Experimental() // untriaged DelayNode createDelay([num maxDelayTime]) native; - @DomName('BaseAudioContext.createDynamicsCompressor') - @DocsEditable() - @Experimental() // untriaged DynamicsCompressorNode createDynamicsCompressor() native; - @DomName('BaseAudioContext.createGain') - @DocsEditable() - @Experimental() // untriaged GainNode createGain() native; @JSName('createIIRFilter') - @DomName('BaseAudioContext.createIIRFilter') - @DocsEditable() - @Experimental() // untriaged IirFilterNode createIirFilter(List feedForward, List feedBack) native; - @DomName('BaseAudioContext.createMediaElementSource') - @DocsEditable() - @Experimental() // untriaged MediaElementAudioSourceNode createMediaElementSource( MediaElement mediaElement) native; - @DomName('BaseAudioContext.createMediaStreamDestination') - @DocsEditable() - @Experimental() // untriaged MediaStreamAudioDestinationNode createMediaStreamDestination() native; - @DomName('BaseAudioContext.createMediaStreamSource') - @DocsEditable() - @Experimental() // untriaged MediaStreamAudioSourceNode createMediaStreamSource(MediaStream mediaStream) native; - @DomName('BaseAudioContext.createOscillator') - @DocsEditable() - @Experimental() // untriaged OscillatorNode createOscillator() native; - @DomName('BaseAudioContext.createPanner') - @DocsEditable() - @Experimental() // untriaged PannerNode createPanner() native; - @DomName('BaseAudioContext.createPeriodicWave') - @DocsEditable() - @Experimental() // untriaged PeriodicWave createPeriodicWave(List real, List imag, [Map options]) { if (options != null) { @@ -980,57 +637,32 @@ class BaseAudioContext extends EventTarget { } @JSName('createPeriodicWave') - @DomName('BaseAudioContext.createPeriodicWave') - @DocsEditable() - @Experimental() // untriaged PeriodicWave _createPeriodicWave_1(List real, List imag, options) native; @JSName('createPeriodicWave') - @DomName('BaseAudioContext.createPeriodicWave') - @DocsEditable() - @Experimental() // untriaged PeriodicWave _createPeriodicWave_2(List real, List imag) native; - @DomName('BaseAudioContext.createScriptProcessor') - @DocsEditable() - @Experimental() // untriaged ScriptProcessorNode createScriptProcessor( [int bufferSize, int numberOfInputChannels, int numberOfOutputChannels]) native; - @DomName('BaseAudioContext.createStereoPanner') - @DocsEditable() - @Experimental() // untriaged StereoPannerNode createStereoPanner() native; - @DomName('BaseAudioContext.createWaveShaper') - @DocsEditable() - @Experimental() // untriaged WaveShaperNode createWaveShaper() native; - @DomName('BaseAudioContext.decodeAudioData') - @DocsEditable() - @Experimental() // untriaged Future decodeAudioData(ByteBuffer audioData, [DecodeSuccessCallback successCallback, DecodeErrorCallback errorCallback]) => promiseToFuture(JS("", "#.decodeAudioData(#, #, #)", this, audioData, successCallback, errorCallback)); - @DomName('BaseAudioContext.resume') - @DocsEditable() - @Experimental() // untriaged Future resume() => promiseToFuture(JS("", "#.resume()", 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('BiquadFilterNode') -// https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#BiquadFilterNode-section -@Experimental() @Native("BiquadFilterNode") class BiquadFilterNode extends AudioNode { // To suppress missing implicit constructor warnings. @@ -1038,8 +670,6 @@ class BiquadFilterNode extends AudioNode { throw new UnsupportedError("Not supported"); } - @DomName('BiquadFilterNode.BiquadFilterNode') - @DocsEditable() factory BiquadFilterNode(BaseAudioContext context, [Map options]) { if (options != null) { var options_1 = convertDartToNative_Dictionary(options); @@ -1052,28 +682,16 @@ class BiquadFilterNode extends AudioNode { static BiquadFilterNode _create_2(context) => JS('BiquadFilterNode', 'new BiquadFilterNode(#)', context); - @DomName('BiquadFilterNode.Q') - @DocsEditable() final AudioParam Q; - @DomName('BiquadFilterNode.detune') - @DocsEditable() final AudioParam detune; - @DomName('BiquadFilterNode.frequency') - @DocsEditable() final AudioParam frequency; - @DomName('BiquadFilterNode.gain') - @DocsEditable() final AudioParam gain; - @DomName('BiquadFilterNode.type') - @DocsEditable() String type; - @DomName('BiquadFilterNode.getFrequencyResponse') - @DocsEditable() void getFrequencyResponse(Float32List frequencyHz, Float32List magResponse, Float32List phaseResponse) native; } @@ -1081,10 +699,6 @@ class BiquadFilterNode extends AudioNode { // 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('ChannelMergerNode') -// https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#ChannelMergerNode-section -@Experimental() @Native("ChannelMergerNode,AudioChannelMerger") class ChannelMergerNode extends AudioNode { // To suppress missing implicit constructor warnings. @@ -1092,8 +706,6 @@ class ChannelMergerNode extends AudioNode { throw new UnsupportedError("Not supported"); } - @DomName('ChannelMergerNode.ChannelMergerNode') - @DocsEditable() factory ChannelMergerNode(BaseAudioContext context, [Map options]) { if (options != null) { var options_1 = convertDartToNative_Dictionary(options); @@ -1110,10 +722,6 @@ class ChannelMergerNode extends AudioNode { // 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('ChannelSplitterNode') -// https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#ChannelSplitterNode-section -@Experimental() @Native("ChannelSplitterNode,AudioChannelSplitter") class ChannelSplitterNode extends AudioNode { // To suppress missing implicit constructor warnings. @@ -1121,8 +729,6 @@ class ChannelSplitterNode extends AudioNode { throw new UnsupportedError("Not supported"); } - @DomName('ChannelSplitterNode.ChannelSplitterNode') - @DocsEditable() factory ChannelSplitterNode(BaseAudioContext context, [Map options]) { if (options != null) { var options_1 = convertDartToNative_Dictionary(options); @@ -1139,9 +745,6 @@ class ChannelSplitterNode extends AudioNode { // 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('ConstantSourceNode') -@Experimental() // untriaged @Native("ConstantSourceNode") class ConstantSourceNode extends AudioScheduledSourceNode { // To suppress missing implicit constructor warnings. @@ -1149,8 +752,6 @@ class ConstantSourceNode extends AudioScheduledSourceNode { throw new UnsupportedError("Not supported"); } - @DomName('ConstantSourceNode.ConstantSourceNode') - @DocsEditable() factory ConstantSourceNode(BaseAudioContext context, [Map options]) { if (options != null) { var options_1 = convertDartToNative_Dictionary(options); @@ -1163,19 +764,12 @@ class ConstantSourceNode extends AudioScheduledSourceNode { static ConstantSourceNode _create_2(context) => JS('ConstantSourceNode', 'new ConstantSourceNode(#)', context); - @DomName('ConstantSourceNode.offset') - @DocsEditable() - @Experimental() // untriaged final AudioParam 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('ConvolverNode') -// https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#ConvolverNode -@Experimental() @Native("ConvolverNode") class ConvolverNode extends AudioNode { // To suppress missing implicit constructor warnings. @@ -1183,8 +777,6 @@ class ConvolverNode extends AudioNode { throw new UnsupportedError("Not supported"); } - @DomName('ConvolverNode.ConvolverNode') - @DocsEditable() factory ConvolverNode(BaseAudioContext context, [Map options]) { if (options != null) { var options_1 = convertDartToNative_Dictionary(options); @@ -1197,22 +789,14 @@ class ConvolverNode extends AudioNode { static ConvolverNode _create_2(context) => JS('ConvolverNode', 'new ConvolverNode(#)', context); - @DomName('ConvolverNode.buffer') - @DocsEditable() AudioBuffer buffer; - @DomName('ConvolverNode.normalize') - @DocsEditable() bool normalize; } // Copyright (c) 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('DelayNode') -// https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#DelayNode -@Experimental() @Native("DelayNode") class DelayNode extends AudioNode { // To suppress missing implicit constructor warnings. @@ -1220,8 +804,6 @@ class DelayNode extends AudioNode { throw new UnsupportedError("Not supported"); } - @DomName('DelayNode.DelayNode') - @DocsEditable() factory DelayNode(BaseAudioContext context, [Map options]) { if (options != null) { var options_1 = convertDartToNative_Dictionary(options); @@ -1234,18 +816,12 @@ class DelayNode extends AudioNode { static DelayNode _create_2(context) => JS('DelayNode', 'new DelayNode(#)', context); - @DomName('DelayNode.delayTime') - @DocsEditable() final AudioParam 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('DynamicsCompressorNode') -// https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#DynamicsCompressorNode -@Experimental() @Native("DynamicsCompressorNode") class DynamicsCompressorNode extends AudioNode { // To suppress missing implicit constructor warnings. @@ -1253,8 +829,6 @@ class DynamicsCompressorNode extends AudioNode { throw new UnsupportedError("Not supported"); } - @DomName('DynamicsCompressorNode.DynamicsCompressorNode') - @DocsEditable() factory DynamicsCompressorNode(BaseAudioContext context, [Map options]) { if (options != null) { var options_1 = convertDartToNative_Dictionary(options); @@ -1270,38 +844,22 @@ class DynamicsCompressorNode extends AudioNode { static DynamicsCompressorNode _create_2(context) => JS('DynamicsCompressorNode', 'new DynamicsCompressorNode(#)', context); - @DomName('DynamicsCompressorNode.attack') - @DocsEditable() final AudioParam attack; - @DomName('DynamicsCompressorNode.knee') - @DocsEditable() final AudioParam knee; - @DomName('DynamicsCompressorNode.ratio') - @DocsEditable() final AudioParam ratio; - @DomName('DynamicsCompressorNode.reduction') - @DocsEditable() final num reduction; - @DomName('DynamicsCompressorNode.release') - @DocsEditable() final AudioParam release; - @DomName('DynamicsCompressorNode.threshold') - @DocsEditable() final AudioParam 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('GainNode') -// https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#GainNode -@Experimental() @Native("GainNode,AudioGainNode") class GainNode extends AudioNode { // To suppress missing implicit constructor warnings. @@ -1309,8 +867,6 @@ class GainNode extends AudioNode { throw new UnsupportedError("Not supported"); } - @DomName('GainNode.GainNode') - @DocsEditable() factory GainNode(BaseAudioContext context, [Map options]) { if (options != null) { var options_1 = convertDartToNative_Dictionary(options); @@ -1323,17 +879,12 @@ class GainNode extends AudioNode { static GainNode _create_2(context) => JS('GainNode', 'new GainNode(#)', context); - @DomName('GainNode.gain') - @DocsEditable() final AudioParam 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('IIRFilterNode') -@Experimental() // untriaged @Native("IIRFilterNode") class IirFilterNode extends AudioNode { // To suppress missing implicit constructor warnings. @@ -1341,8 +892,6 @@ class IirFilterNode extends AudioNode { throw new UnsupportedError("Not supported"); } - @DomName('IIRFilterNode.IIRFilterNode') - @DocsEditable() factory IirFilterNode(BaseAudioContext context, Map options) { var options_1 = convertDartToNative_Dictionary(options); return IirFilterNode._create_1(context, options_1); @@ -1350,9 +899,6 @@ class IirFilterNode extends AudioNode { static IirFilterNode _create_1(context, options) => JS('IirFilterNode', 'new IIRFilterNode(#,#)', context, options); - @DomName('IIRFilterNode.getFrequencyResponse') - @DocsEditable() - @Experimental() // untriaged void getFrequencyResponse(Float32List frequencyHz, Float32List magResponse, Float32List phaseResponse) native; } @@ -1360,10 +906,6 @@ class IirFilterNode extends AudioNode { // 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('MediaElementAudioSourceNode') -// https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#MediaElementAudioSourceNode -@Experimental() @Native("MediaElementAudioSourceNode") class MediaElementAudioSourceNode extends AudioNode { // To suppress missing implicit constructor warnings. @@ -1371,8 +913,6 @@ class MediaElementAudioSourceNode extends AudioNode { throw new UnsupportedError("Not supported"); } - @DomName('MediaElementAudioSourceNode.MediaElementAudioSourceNode') - @DocsEditable() factory MediaElementAudioSourceNode(BaseAudioContext context, Map options) { var options_1 = convertDartToNative_Dictionary(options); return MediaElementAudioSourceNode._create_1(context, options_1); @@ -1383,19 +923,12 @@ class MediaElementAudioSourceNode extends AudioNode { context, options); - @DomName('MediaElementAudioSourceNode.mediaElement') - @DocsEditable() - @Experimental() // non-standard final MediaElement 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('MediaStreamAudioDestinationNode') -// https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#MediaStreamAudioDestinationNode -@Experimental() @Native("MediaStreamAudioDestinationNode") class MediaStreamAudioDestinationNode extends AudioNode { // To suppress missing implicit constructor warnings. @@ -1403,8 +936,6 @@ class MediaStreamAudioDestinationNode extends AudioNode { throw new UnsupportedError("Not supported"); } - @DomName('MediaStreamAudioDestinationNode.MediaStreamAudioDestinationNode') - @DocsEditable() factory MediaStreamAudioDestinationNode(BaseAudioContext context, [Map options]) { if (options != null) { @@ -1423,18 +954,12 @@ class MediaStreamAudioDestinationNode extends AudioNode { 'new MediaStreamAudioDestinationNode(#)', context); - @DomName('MediaStreamAudioDestinationNode.stream') - @DocsEditable() final MediaStream 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('MediaStreamAudioSourceNode') -// https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#MediaStreamAudioSourceNode -@Experimental() @Native("MediaStreamAudioSourceNode") class MediaStreamAudioSourceNode extends AudioNode { // To suppress missing implicit constructor warnings. @@ -1442,8 +967,6 @@ class MediaStreamAudioSourceNode extends AudioNode { throw new UnsupportedError("Not supported"); } - @DomName('MediaStreamAudioSourceNode.MediaStreamAudioSourceNode') - @DocsEditable() factory MediaStreamAudioSourceNode(BaseAudioContext context, Map options) { var options_1 = convertDartToNative_Dictionary(options); return MediaStreamAudioSourceNode._create_1(context, options_1); @@ -1454,18 +977,12 @@ class MediaStreamAudioSourceNode extends AudioNode { context, options); - @DomName('MediaStreamAudioSourceNode.mediaStream') - @DocsEditable() final MediaStream 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('OfflineAudioCompletionEvent') -// https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#OfflineAudioCompletionEvent-section -@Experimental() @Native("OfflineAudioCompletionEvent") class OfflineAudioCompletionEvent extends Event { // To suppress missing implicit constructor warnings. @@ -1473,8 +990,6 @@ class OfflineAudioCompletionEvent extends Event { throw new UnsupportedError("Not supported"); } - @DomName('OfflineAudioCompletionEvent.OfflineAudioCompletionEvent') - @DocsEditable() factory OfflineAudioCompletionEvent(String type, Map eventInitDict) { var eventInitDict_1 = convertDartToNative_Dictionary(eventInitDict); return OfflineAudioCompletionEvent._create_1(type, eventInitDict_1); @@ -1485,18 +1000,12 @@ class OfflineAudioCompletionEvent extends Event { type, eventInitDict); - @DomName('OfflineAudioCompletionEvent.renderedBuffer') - @DocsEditable() final AudioBuffer 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('OfflineAudioContext') -// https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#OfflineAudioContext-section -@Experimental() @Native("OfflineAudioContext") class OfflineAudioContext extends BaseAudioContext { // To suppress missing implicit constructor warnings. @@ -1504,8 +1013,6 @@ class OfflineAudioContext extends BaseAudioContext { throw new UnsupportedError("Not supported"); } - @DomName('OfflineAudioContext.OfflineAudioContext') - @DocsEditable() factory OfflineAudioContext(numberOfChannels_OR_options, [int numberOfFrames, num sampleRate]) { if ((sampleRate is num) && @@ -1532,21 +1039,12 @@ class OfflineAudioContext extends BaseAudioContext { 'new OfflineAudioContext(#)', numberOfChannels_OR_options); - @DomName('OfflineAudioContext.length') - @DocsEditable() - @Experimental() // untriaged final int length; - @DomName('OfflineAudioContext.startRendering') - @DocsEditable() - @Experimental() // untriaged Future startRendering() => promiseToFuture(JS("", "#.startRendering()", this)); @JSName('suspend') - @DomName('OfflineAudioContext.suspend') - @DocsEditable() - @Experimental() // untriaged Future suspendFor(num suspendTime) => promiseToFuture(JS("", "#.suspendFor(#)", this, suspendTime)); } @@ -1554,10 +1052,6 @@ class OfflineAudioContext extends BaseAudioContext { // 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('OscillatorNode') -// https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#dfn-OscillatorNode -@Experimental() @Native("OscillatorNode,Oscillator") class OscillatorNode extends AudioScheduledSourceNode { // To suppress missing implicit constructor warnings. @@ -1565,8 +1059,6 @@ class OscillatorNode extends AudioScheduledSourceNode { throw new UnsupportedError("Not supported"); } - @DomName('OscillatorNode.OscillatorNode') - @DocsEditable() factory OscillatorNode(BaseAudioContext context, [Map options]) { if (options != null) { var options_1 = convertDartToNative_Dictionary(options); @@ -1579,31 +1071,18 @@ class OscillatorNode extends AudioScheduledSourceNode { static OscillatorNode _create_2(context) => JS('OscillatorNode', 'new OscillatorNode(#)', context); - @DomName('OscillatorNode.detune') - @DocsEditable() final AudioParam detune; - @DomName('OscillatorNode.frequency') - @DocsEditable() final AudioParam frequency; - @DomName('OscillatorNode.type') - @DocsEditable() String type; - @DomName('OscillatorNode.setPeriodicWave') - @DocsEditable() - @Experimental() // untriaged void setPeriodicWave(PeriodicWave periodicWave) 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('PannerNode') -// https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#PannerNode -@Experimental() @Native("PannerNode,AudioPannerNode,webkitAudioPannerNode") class PannerNode extends AudioNode { // To suppress missing implicit constructor warnings. @@ -1611,8 +1090,6 @@ class PannerNode extends AudioNode { throw new UnsupportedError("Not supported"); } - @DomName('PannerNode.PannerNode') - @DocsEditable() factory PannerNode(BaseAudioContext context, [Map options]) { if (options != null) { var options_1 = convertDartToNative_Dictionary(options); @@ -1625,83 +1102,42 @@ class PannerNode extends AudioNode { static PannerNode _create_2(context) => JS('PannerNode', 'new PannerNode(#)', context); - @DomName('PannerNode.coneInnerAngle') - @DocsEditable() num coneInnerAngle; - @DomName('PannerNode.coneOuterAngle') - @DocsEditable() num coneOuterAngle; - @DomName('PannerNode.coneOuterGain') - @DocsEditable() num coneOuterGain; - @DomName('PannerNode.distanceModel') - @DocsEditable() String distanceModel; - @DomName('PannerNode.maxDistance') - @DocsEditable() num maxDistance; - @DomName('PannerNode.orientationX') - @DocsEditable() - @Experimental() // untriaged final AudioParam orientationX; - @DomName('PannerNode.orientationY') - @DocsEditable() - @Experimental() // untriaged final AudioParam orientationY; - @DomName('PannerNode.orientationZ') - @DocsEditable() - @Experimental() // untriaged final AudioParam orientationZ; - @DomName('PannerNode.panningModel') - @DocsEditable() String panningModel; - @DomName('PannerNode.positionX') - @DocsEditable() - @Experimental() // untriaged final AudioParam positionX; - @DomName('PannerNode.positionY') - @DocsEditable() - @Experimental() // untriaged final AudioParam positionY; - @DomName('PannerNode.positionZ') - @DocsEditable() - @Experimental() // untriaged final AudioParam positionZ; - @DomName('PannerNode.refDistance') - @DocsEditable() num refDistance; - @DomName('PannerNode.rolloffFactor') - @DocsEditable() num rolloffFactor; - @DomName('PannerNode.setOrientation') - @DocsEditable() void setOrientation(num x, num y, num z) native; - @DomName('PannerNode.setPosition') - @DocsEditable() void setPosition(num x, num y, num z) 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('PeriodicWave') -@Experimental() // untriaged @Native("PeriodicWave") class PeriodicWave extends Interceptor { // To suppress missing implicit constructor warnings. @@ -1709,8 +1145,6 @@ class PeriodicWave extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('PeriodicWave.PeriodicWave') - @DocsEditable() factory PeriodicWave(BaseAudioContext context, [Map options]) { if (options != null) { var options_1 = convertDartToNative_Dictionary(options); @@ -1727,10 +1161,6 @@ class PeriodicWave 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('ScriptProcessorNode') -// https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#ScriptProcessorNode -@Experimental() @Native("ScriptProcessorNode,JavaScriptAudioNode") class ScriptProcessorNode extends AudioNode { // To suppress missing implicit constructor warnings. @@ -1744,19 +1174,11 @@ class ScriptProcessorNode extends AudioNode { * * See [EventStreamProvider] for usage information. */ - @DomName('ScriptProcessorNode.audioprocessEvent') - @DocsEditable() - @Experimental() // untriaged static const EventStreamProvider audioProcessEvent = const EventStreamProvider('audioprocess'); - @DomName('ScriptProcessorNode.bufferSize') - @DocsEditable() final int bufferSize; - @DomName('ScriptProcessorNode.setEventListener') - @DocsEditable() - @Experimental() // untriaged void setEventListener(EventListener eventListener) native; /// Stream of `audioprocess` events handled by this [ScriptProcessorNode]. @@ -1767,9 +1189,6 @@ class ScriptProcessorNode extends AudioNode { * the soft-real-time properties which which these events are fired and can * be processed. */ - @DomName('ScriptProcessorNode.onaudioprocess') - @DocsEditable() - @Experimental() // untriaged Stream get onAudioProcess => audioProcessEvent.forTarget(this); } @@ -1777,9 +1196,6 @@ class ScriptProcessorNode extends AudioNode { // 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('StereoPannerNode') -@Experimental() // untriaged @Native("StereoPannerNode") class StereoPannerNode extends AudioNode { // To suppress missing implicit constructor warnings. @@ -1787,8 +1203,6 @@ class StereoPannerNode extends AudioNode { throw new UnsupportedError("Not supported"); } - @DomName('StereoPannerNode.StereoPannerNode') - @DocsEditable() factory StereoPannerNode(BaseAudioContext context, [Map options]) { if (options != null) { var options_1 = convertDartToNative_Dictionary(options); @@ -1801,19 +1215,12 @@ class StereoPannerNode extends AudioNode { static StereoPannerNode _create_2(context) => JS('StereoPannerNode', 'new StereoPannerNode(#)', context); - @DomName('StereoPannerNode.pan') - @DocsEditable() - @Experimental() // untriaged final AudioParam pan; } // Copyright (c) 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('WaveShaperNode') -// https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#dfn-WaveShaperNode -@Experimental() @Native("WaveShaperNode") class WaveShaperNode extends AudioNode { // To suppress missing implicit constructor warnings. @@ -1821,8 +1228,6 @@ class WaveShaperNode extends AudioNode { throw new UnsupportedError("Not supported"); } - @DomName('WaveShaperNode.WaveShaperNode') - @DocsEditable() factory WaveShaperNode(BaseAudioContext context, [Map options]) { if (options != null) { var options_1 = convertDartToNative_Dictionary(options); @@ -1835,11 +1240,7 @@ class WaveShaperNode extends AudioNode { static WaveShaperNode _create_2(context) => JS('WaveShaperNode', 'new WaveShaperNode(#)', context); - @DomName('WaveShaperNode.curve') - @DocsEditable() Float32List curve; - @DomName('WaveShaperNode.oversample') - @DocsEditable() String oversample; } diff --git a/sdk/lib/web_gl/dart2js/web_gl_dart2js.dart b/sdk/lib/web_gl/dart2js/web_gl_dart2js.dart index 532daf5c125..80e36b18642 100644 --- a/sdk/lib/web_gl/dart2js/web_gl_dart2js.dart +++ b/sdk/lib/web_gl/dart2js/web_gl_dart2js.dart @@ -24,8 +24,6 @@ import 'dart:_interceptors' show Interceptor, JSExtendableArray; // 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('WebGLActiveInfo') @Unstable() @Native("WebGLActiveInfo") class ActiveInfo extends Interceptor { @@ -34,25 +32,16 @@ class ActiveInfo extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('WebGLActiveInfo.name') - @DocsEditable() final String name; - @DomName('WebGLActiveInfo.size') - @DocsEditable() final int size; - @DomName('WebGLActiveInfo.type') - @DocsEditable() final int 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('ANGLEInstancedArrays') -@Experimental() // untriaged @Native("ANGLEInstancedArrays,ANGLE_instanced_arrays") class AngleInstancedArrays extends Interceptor { // To suppress missing implicit constructor warnings. @@ -60,37 +49,23 @@ class AngleInstancedArrays extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('ANGLEInstancedArrays.VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE') - @DocsEditable() - @Experimental() // untriaged static const int VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE = 0x88FE; @JSName('drawArraysInstancedANGLE') - @DomName('ANGLEInstancedArrays.drawArraysInstancedANGLE') - @DocsEditable() - @Experimental() // untriaged void drawArraysInstancedAngle(int mode, int first, int count, int primcount) native; @JSName('drawElementsInstancedANGLE') - @DomName('ANGLEInstancedArrays.drawElementsInstancedANGLE') - @DocsEditable() - @Experimental() // untriaged void drawElementsInstancedAngle( int mode, int count, int type, int offset, int primcount) native; @JSName('vertexAttribDivisorANGLE') - @DomName('ANGLEInstancedArrays.vertexAttribDivisorANGLE') - @DocsEditable() - @Experimental() // untriaged void vertexAttribDivisorAngle(int index, int divisor) 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('WebGLBuffer') @Unstable() @Native("WebGLBuffer") class Buffer extends Interceptor { @@ -103,9 +78,6 @@ class Buffer 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('WebGLCanvas') -@Experimental() // untriaged @Native("WebGLCanvas") class Canvas extends Interceptor { // To suppress missing implicit constructor warnings. @@ -114,13 +86,9 @@ class Canvas extends Interceptor { } @JSName('canvas') - @DomName('WebGLCanvas.canvas') - @DocsEditable() final CanvasElement canvas; @JSName('canvas') - @DomName('WebGLCanvas.offscreenCanvas') - @DocsEditable() final OffscreenCanvas offscreenCanvas; } @@ -128,9 +96,6 @@ class Canvas 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('WebGLColorBufferFloat') -@Experimental() // untriaged @Native("WebGLColorBufferFloat") class ColorBufferFloat extends Interceptor { // To suppress missing implicit constructor warnings. @@ -142,9 +107,6 @@ class ColorBufferFloat 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('WebGLCompressedTextureASTC') -@Experimental() // untriaged @Native("WebGLCompressedTextureASTC") class CompressedTextureAstc extends Interceptor { // To suppress missing implicit constructor warnings. @@ -152,154 +114,66 @@ class CompressedTextureAstc extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('WebGLCompressedTextureASTC.COMPRESSED_RGBA_ASTC_10x10_KHR') - @DocsEditable() - @Experimental() // untriaged static const int COMPRESSED_RGBA_ASTC_10x10_KHR = 0x93BB; - @DomName('WebGLCompressedTextureASTC.COMPRESSED_RGBA_ASTC_10x5_KHR') - @DocsEditable() - @Experimental() // untriaged static const int COMPRESSED_RGBA_ASTC_10x5_KHR = 0x93B8; - @DomName('WebGLCompressedTextureASTC.COMPRESSED_RGBA_ASTC_10x6_KHR') - @DocsEditable() - @Experimental() // untriaged static const int COMPRESSED_RGBA_ASTC_10x6_KHR = 0x93B9; - @DomName('WebGLCompressedTextureASTC.COMPRESSED_RGBA_ASTC_10x8_KHR') - @DocsEditable() - @Experimental() // untriaged static const int COMPRESSED_RGBA_ASTC_10x8_KHR = 0x93BA; - @DomName('WebGLCompressedTextureASTC.COMPRESSED_RGBA_ASTC_12x10_KHR') - @DocsEditable() - @Experimental() // untriaged static const int COMPRESSED_RGBA_ASTC_12x10_KHR = 0x93BC; - @DomName('WebGLCompressedTextureASTC.COMPRESSED_RGBA_ASTC_12x12_KHR') - @DocsEditable() - @Experimental() // untriaged static const int COMPRESSED_RGBA_ASTC_12x12_KHR = 0x93BD; - @DomName('WebGLCompressedTextureASTC.COMPRESSED_RGBA_ASTC_4x4_KHR') - @DocsEditable() - @Experimental() // untriaged static const int COMPRESSED_RGBA_ASTC_4x4_KHR = 0x93B0; - @DomName('WebGLCompressedTextureASTC.COMPRESSED_RGBA_ASTC_5x4_KHR') - @DocsEditable() - @Experimental() // untriaged static const int COMPRESSED_RGBA_ASTC_5x4_KHR = 0x93B1; - @DomName('WebGLCompressedTextureASTC.COMPRESSED_RGBA_ASTC_5x5_KHR') - @DocsEditable() - @Experimental() // untriaged static const int COMPRESSED_RGBA_ASTC_5x5_KHR = 0x93B2; - @DomName('WebGLCompressedTextureASTC.COMPRESSED_RGBA_ASTC_6x5_KHR') - @DocsEditable() - @Experimental() // untriaged static const int COMPRESSED_RGBA_ASTC_6x5_KHR = 0x93B3; - @DomName('WebGLCompressedTextureASTC.COMPRESSED_RGBA_ASTC_6x6_KHR') - @DocsEditable() - @Experimental() // untriaged static const int COMPRESSED_RGBA_ASTC_6x6_KHR = 0x93B4; - @DomName('WebGLCompressedTextureASTC.COMPRESSED_RGBA_ASTC_8x5_KHR') - @DocsEditable() - @Experimental() // untriaged static const int COMPRESSED_RGBA_ASTC_8x5_KHR = 0x93B5; - @DomName('WebGLCompressedTextureASTC.COMPRESSED_RGBA_ASTC_8x6_KHR') - @DocsEditable() - @Experimental() // untriaged static const int COMPRESSED_RGBA_ASTC_8x6_KHR = 0x93B6; - @DomName('WebGLCompressedTextureASTC.COMPRESSED_RGBA_ASTC_8x8_KHR') - @DocsEditable() - @Experimental() // untriaged static const int COMPRESSED_RGBA_ASTC_8x8_KHR = 0x93B7; - @DomName('WebGLCompressedTextureASTC.COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR') - @DocsEditable() - @Experimental() // untriaged static const int COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR = 0x93DB; - @DomName('WebGLCompressedTextureASTC.COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR') - @DocsEditable() - @Experimental() // untriaged static const int COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR = 0x93D8; - @DomName('WebGLCompressedTextureASTC.COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR') - @DocsEditable() - @Experimental() // untriaged static const int COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR = 0x93D9; - @DomName('WebGLCompressedTextureASTC.COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR') - @DocsEditable() - @Experimental() // untriaged static const int COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR = 0x93DA; - @DomName('WebGLCompressedTextureASTC.COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR') - @DocsEditable() - @Experimental() // untriaged static const int COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR = 0x93DC; - @DomName('WebGLCompressedTextureASTC.COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR') - @DocsEditable() - @Experimental() // untriaged static const int COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR = 0x93DD; - @DomName('WebGLCompressedTextureASTC.COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR') - @DocsEditable() - @Experimental() // untriaged static const int COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR = 0x93D0; - @DomName('WebGLCompressedTextureASTC.COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR') - @DocsEditable() - @Experimental() // untriaged static const int COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR = 0x93D1; - @DomName('WebGLCompressedTextureASTC.COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR') - @DocsEditable() - @Experimental() // untriaged static const int COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR = 0x93D2; - @DomName('WebGLCompressedTextureASTC.COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR') - @DocsEditable() - @Experimental() // untriaged static const int COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR = 0x93D3; - @DomName('WebGLCompressedTextureASTC.COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR') - @DocsEditable() - @Experimental() // untriaged static const int COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR = 0x93D4; - @DomName('WebGLCompressedTextureASTC.COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR') - @DocsEditable() - @Experimental() // untriaged static const int COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR = 0x93D5; - @DomName('WebGLCompressedTextureASTC.COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR') - @DocsEditable() - @Experimental() // untriaged static const int COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR = 0x93D6; - @DomName('WebGLCompressedTextureASTC.COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR') - @DocsEditable() - @Experimental() // untriaged static const int COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR = 0x93D7; } // Copyright (c) 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('WebGLCompressedTextureATC') -// http://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_atc/ -@Experimental() @Native("WebGLCompressedTextureATC,WEBGL_compressed_texture_atc") class CompressedTextureAtc extends Interceptor { // To suppress missing implicit constructor warnings. @@ -307,26 +181,16 @@ class CompressedTextureAtc extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('WebGLCompressedTextureATC.COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL') - @DocsEditable() static const int COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL = 0x8C93; - @DomName( - 'WebGLCompressedTextureATC.COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEBGL') - @DocsEditable() static const int COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEBGL = 0x87EE; - @DomName('WebGLCompressedTextureATC.COMPRESSED_RGB_ATC_WEBGL') - @DocsEditable() static const int COMPRESSED_RGB_ATC_WEBGL = 0x8C92; } // Copyright (c) 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('WebGLCompressedTextureETC1') -@Experimental() // untriaged @Native("WebGLCompressedTextureETC1,WEBGL_compressed_texture_etc1") class CompressedTextureETC1 extends Interceptor { // To suppress missing implicit constructor warnings. @@ -334,18 +198,12 @@ class CompressedTextureETC1 extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('WebGLCompressedTextureETC1.COMPRESSED_RGB_ETC1_WEBGL') - @DocsEditable() - @Experimental() // untriaged static const int COMPRESSED_RGB_ETC1_WEBGL = 0x8D64; } // Copyright (c) 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('WebGLCompressedTextureETC') -@Experimental() // untriaged @Native("WebGLCompressedTextureETC") class CompressedTextureEtc extends Interceptor { // To suppress missing implicit constructor warnings. @@ -353,65 +211,30 @@ class CompressedTextureEtc extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('WebGLCompressedTextureETC.COMPRESSED_R11_EAC') - @DocsEditable() - @Experimental() // untriaged static const int COMPRESSED_R11_EAC = 0x9270; - @DomName('WebGLCompressedTextureETC.COMPRESSED_RG11_EAC') - @DocsEditable() - @Experimental() // untriaged static const int COMPRESSED_RG11_EAC = 0x9272; - @DomName('WebGLCompressedTextureETC.COMPRESSED_RGB8_ETC2') - @DocsEditable() - @Experimental() // untriaged static const int COMPRESSED_RGB8_ETC2 = 0x9274; - @DomName('WebGLCompressedTextureETC.COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2') - @DocsEditable() - @Experimental() // untriaged static const int COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2 = 0x9276; - @DomName('WebGLCompressedTextureETC.COMPRESSED_RGBA8_ETC2_EAC') - @DocsEditable() - @Experimental() // untriaged static const int COMPRESSED_RGBA8_ETC2_EAC = 0x9278; - @DomName('WebGLCompressedTextureETC.COMPRESSED_SIGNED_R11_EAC') - @DocsEditable() - @Experimental() // untriaged static const int COMPRESSED_SIGNED_R11_EAC = 0x9271; - @DomName('WebGLCompressedTextureETC.COMPRESSED_SIGNED_RG11_EAC') - @DocsEditable() - @Experimental() // untriaged static const int COMPRESSED_SIGNED_RG11_EAC = 0x9273; - @DomName('WebGLCompressedTextureETC.COMPRESSED_SRGB8_ALPHA8_ETC2_EAC') - @DocsEditable() - @Experimental() // untriaged static const int COMPRESSED_SRGB8_ALPHA8_ETC2_EAC = 0x9279; - @DomName('WebGLCompressedTextureETC.COMPRESSED_SRGB8_ETC2') - @DocsEditable() - @Experimental() // untriaged static const int COMPRESSED_SRGB8_ETC2 = 0x9275; - @DomName( - 'WebGLCompressedTextureETC.COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2') - @DocsEditable() - @Experimental() // untriaged static const int COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2 = 0x9277; } // Copyright (c) 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('WebGLCompressedTexturePVRTC') -// http://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_pvrtc/ -@Experimental() // experimental @Native("WebGLCompressedTexturePVRTC,WEBGL_compressed_texture_pvrtc") class CompressedTexturePvrtc extends Interceptor { // To suppress missing implicit constructor warnings. @@ -419,30 +242,18 @@ class CompressedTexturePvrtc extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGBA_PVRTC_2BPPV1_IMG') - @DocsEditable() static const int COMPRESSED_RGBA_PVRTC_2BPPV1_IMG = 0x8C03; - @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGBA_PVRTC_4BPPV1_IMG') - @DocsEditable() static const int COMPRESSED_RGBA_PVRTC_4BPPV1_IMG = 0x8C02; - @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGB_PVRTC_2BPPV1_IMG') - @DocsEditable() static const int COMPRESSED_RGB_PVRTC_2BPPV1_IMG = 0x8C01; - @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGB_PVRTC_4BPPV1_IMG') - @DocsEditable() static const int COMPRESSED_RGB_PVRTC_4BPPV1_IMG = 0x8C00; } // Copyright (c) 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('WebGLCompressedTextureS3TC') -// http://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_s3tc/ -@Experimental() // experimental @Native("WebGLCompressedTextureS3TC,WEBGL_compressed_texture_s3tc") class CompressedTextureS3TC extends Interceptor { // To suppress missing implicit constructor warnings. @@ -450,29 +261,18 @@ class CompressedTextureS3TC extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT1_EXT') - @DocsEditable() static const int COMPRESSED_RGBA_S3TC_DXT1_EXT = 0x83F1; - @DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT3_EXT') - @DocsEditable() static const int COMPRESSED_RGBA_S3TC_DXT3_EXT = 0x83F2; - @DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT5_EXT') - @DocsEditable() static const int COMPRESSED_RGBA_S3TC_DXT5_EXT = 0x83F3; - @DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGB_S3TC_DXT1_EXT') - @DocsEditable() static const int COMPRESSED_RGB_S3TC_DXT1_EXT = 0x83F0; } // Copyright (c) 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('WebGLCompressedTextureS3TCsRGB') -@Experimental() // untriaged @Native("WebGLCompressedTextureS3TCsRGB") class CompressedTextureS3TCsRgb extends Interceptor { // To suppress missing implicit constructor warnings. @@ -480,32 +280,18 @@ class CompressedTextureS3TCsRgb extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('WebGLCompressedTextureS3TCsRGB.COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT') - @DocsEditable() - @Experimental() // untriaged static const int COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT = 0x8C4D; - @DomName('WebGLCompressedTextureS3TCsRGB.COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT') - @DocsEditable() - @Experimental() // untriaged static const int COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT = 0x8C4E; - @DomName('WebGLCompressedTextureS3TCsRGB.COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT') - @DocsEditable() - @Experimental() // untriaged static const int COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT = 0x8C4F; - @DomName('WebGLCompressedTextureS3TCsRGB.COMPRESSED_SRGB_S3TC_DXT1_EXT') - @DocsEditable() - @Experimental() // untriaged static const int COMPRESSED_SRGB_S3TC_DXT1_EXT = 0x8C4C; } // Copyright (c) 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('WebGLContextEvent') @Unstable() @Native("WebGLContextEvent") class ContextEvent extends Event { @@ -514,8 +300,6 @@ class ContextEvent extends Event { throw new UnsupportedError("Not supported"); } - @DomName('WebGLContextEvent.WebGLContextEvent') - @DocsEditable() factory ContextEvent(String type, [Map eventInit]) { if (eventInit != null) { var eventInit_1 = convertDartToNative_Dictionary(eventInit); @@ -528,18 +312,12 @@ class ContextEvent extends Event { static ContextEvent _create_2(type) => JS('ContextEvent', 'new WebGLContextEvent(#)', type); - @DomName('WebGLContextEvent.statusMessage') - @DocsEditable() final String 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('WebGLDebugRendererInfo') -// http://www.khronos.org/registry/webgl/extensions/WEBGL_debug_renderer_info/ -@Experimental() // experimental @Native("WebGLDebugRendererInfo,WEBGL_debug_renderer_info") class DebugRendererInfo extends Interceptor { // To suppress missing implicit constructor warnings. @@ -547,22 +325,14 @@ class DebugRendererInfo extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('WebGLDebugRendererInfo.UNMASKED_RENDERER_WEBGL') - @DocsEditable() static const int UNMASKED_RENDERER_WEBGL = 0x9246; - @DomName('WebGLDebugRendererInfo.UNMASKED_VENDOR_WEBGL') - @DocsEditable() static const int UNMASKED_VENDOR_WEBGL = 0x9245; } // Copyright (c) 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('WebGLDebugShaders') -// http://www.khronos.org/registry/webgl/extensions/WEBGL_debug_shaders/ -@Experimental() // experimental @Native("WebGLDebugShaders,WEBGL_debug_shaders") class DebugShaders extends Interceptor { // To suppress missing implicit constructor warnings. @@ -570,18 +340,12 @@ class DebugShaders extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('WebGLDebugShaders.getTranslatedShaderSource') - @DocsEditable() String getTranslatedShaderSource(Shader shader) 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('WebGLDepthTexture') -// http://www.khronos.org/registry/webgl/extensions/WEBGL_depth_texture/ -@Experimental() // experimental @Native("WebGLDepthTexture,WEBGL_depth_texture") class DepthTexture extends Interceptor { // To suppress missing implicit constructor warnings. @@ -589,18 +353,12 @@ class DepthTexture extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('WebGLDepthTexture.UNSIGNED_INT_24_8_WEBGL') - @DocsEditable() static const int UNSIGNED_INT_24_8_WEBGL = 0x84FA; } // Copyright (c) 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('WebGLDrawBuffers') -// http://www.khronos.org/registry/webgl/specs/latest/ -@Experimental() // stable @Native("WebGLDrawBuffers,WEBGL_draw_buffers") class DrawBuffers extends Interceptor { // To suppress missing implicit constructor warnings. @@ -609,17 +367,12 @@ class DrawBuffers extends Interceptor { } @JSName('drawBuffersWEBGL') - @DomName('WebGLDrawBuffers.drawBuffersWEBGL') - @DocsEditable() void drawBuffersWebgl(List buffers) 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('EXTsRGB') -@Experimental() // untriaged @Native("EXTsRGB,EXT_sRGB") class EXTsRgb extends Interceptor { // To suppress missing implicit constructor warnings. @@ -627,33 +380,18 @@ class EXTsRgb extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('EXTsRGB.FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT') - @DocsEditable() - @Experimental() // untriaged static const int FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT = 0x8210; - @DomName('EXTsRGB.SRGB8_ALPHA8_EXT') - @DocsEditable() - @Experimental() // untriaged static const int SRGB8_ALPHA8_EXT = 0x8C43; - @DomName('EXTsRGB.SRGB_ALPHA_EXT') - @DocsEditable() - @Experimental() // untriaged static const int SRGB_ALPHA_EXT = 0x8C42; - @DomName('EXTsRGB.SRGB_EXT') - @DocsEditable() - @Experimental() // untriaged static const int SRGB_EXT = 0x8C40; } // Copyright (c) 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('EXTBlendMinMax') -@Experimental() // untriaged @Native("EXTBlendMinMax,EXT_blend_minmax") class ExtBlendMinMax extends Interceptor { // To suppress missing implicit constructor warnings. @@ -661,23 +399,14 @@ class ExtBlendMinMax extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('EXTBlendMinMax.MAX_EXT') - @DocsEditable() - @Experimental() // untriaged static const int MAX_EXT = 0x8008; - @DomName('EXTBlendMinMax.MIN_EXT') - @DocsEditable() - @Experimental() // untriaged static const int MIN_EXT = 0x8007; } // Copyright (c) 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('EXTColorBufferFloat') -@Experimental() // untriaged @Native("EXTColorBufferFloat") class ExtColorBufferFloat extends Interceptor { // To suppress missing implicit constructor warnings. @@ -689,9 +418,6 @@ class ExtColorBufferFloat 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('EXTColorBufferHalfFloat') -@Experimental() // untriaged @Native("EXTColorBufferHalfFloat") class ExtColorBufferHalfFloat extends Interceptor { // To suppress missing implicit constructor warnings. @@ -703,9 +429,6 @@ class ExtColorBufferHalfFloat 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('EXTDisjointTimerQuery') -@Experimental() // untriaged @Native("EXTDisjointTimerQuery") class ExtDisjointTimerQuery extends Interceptor { // To suppress missing implicit constructor warnings. @@ -713,96 +436,48 @@ class ExtDisjointTimerQuery extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('EXTDisjointTimerQuery.CURRENT_QUERY_EXT') - @DocsEditable() - @Experimental() // untriaged static const int CURRENT_QUERY_EXT = 0x8865; - @DomName('EXTDisjointTimerQuery.GPU_DISJOINT_EXT') - @DocsEditable() - @Experimental() // untriaged static const int GPU_DISJOINT_EXT = 0x8FBB; - @DomName('EXTDisjointTimerQuery.QUERY_COUNTER_BITS_EXT') - @DocsEditable() - @Experimental() // untriaged static const int QUERY_COUNTER_BITS_EXT = 0x8864; - @DomName('EXTDisjointTimerQuery.QUERY_RESULT_AVAILABLE_EXT') - @DocsEditable() - @Experimental() // untriaged static const int QUERY_RESULT_AVAILABLE_EXT = 0x8867; - @DomName('EXTDisjointTimerQuery.QUERY_RESULT_EXT') - @DocsEditable() - @Experimental() // untriaged static const int QUERY_RESULT_EXT = 0x8866; - @DomName('EXTDisjointTimerQuery.TIMESTAMP_EXT') - @DocsEditable() - @Experimental() // untriaged static const int TIMESTAMP_EXT = 0x8E28; - @DomName('EXTDisjointTimerQuery.TIME_ELAPSED_EXT') - @DocsEditable() - @Experimental() // untriaged static const int TIME_ELAPSED_EXT = 0x88BF; @JSName('beginQueryEXT') - @DomName('EXTDisjointTimerQuery.beginQueryEXT') - @DocsEditable() - @Experimental() // untriaged void beginQueryExt(int target, TimerQueryExt query) native; @JSName('createQueryEXT') - @DomName('EXTDisjointTimerQuery.createQueryEXT') - @DocsEditable() - @Experimental() // untriaged TimerQueryExt createQueryExt() native; @JSName('deleteQueryEXT') - @DomName('EXTDisjointTimerQuery.deleteQueryEXT') - @DocsEditable() - @Experimental() // untriaged void deleteQueryExt(TimerQueryExt query) native; @JSName('endQueryEXT') - @DomName('EXTDisjointTimerQuery.endQueryEXT') - @DocsEditable() - @Experimental() // untriaged void endQueryExt(int target) native; @JSName('getQueryEXT') - @DomName('EXTDisjointTimerQuery.getQueryEXT') - @DocsEditable() - @Experimental() // untriaged Object getQueryExt(int target, int pname) native; @JSName('getQueryObjectEXT') - @DomName('EXTDisjointTimerQuery.getQueryObjectEXT') - @DocsEditable() - @Experimental() // untriaged Object getQueryObjectExt(TimerQueryExt query, int pname) native; @JSName('isQueryEXT') - @DomName('EXTDisjointTimerQuery.isQueryEXT') - @DocsEditable() - @Experimental() // untriaged bool isQueryExt(TimerQueryExt query) native; @JSName('queryCounterEXT') - @DomName('EXTDisjointTimerQuery.queryCounterEXT') - @DocsEditable() - @Experimental() // untriaged void queryCounterExt(TimerQueryExt query, int target) 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('EXTDisjointTimerQueryWebGL2') -@Experimental() // untriaged @Native("EXTDisjointTimerQueryWebGL2") class ExtDisjointTimerQueryWebGL2 extends Interceptor { // To suppress missing implicit constructor warnings. @@ -810,40 +485,21 @@ class ExtDisjointTimerQueryWebGL2 extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('EXTDisjointTimerQueryWebGL2.GPU_DISJOINT_EXT') - @DocsEditable() - @Experimental() // untriaged static const int GPU_DISJOINT_EXT = 0x8FBB; - @DomName('EXTDisjointTimerQueryWebGL2.QUERY_COUNTER_BITS_EXT') - @DocsEditable() - @Experimental() // untriaged static const int QUERY_COUNTER_BITS_EXT = 0x8864; - @DomName('EXTDisjointTimerQueryWebGL2.TIMESTAMP_EXT') - @DocsEditable() - @Experimental() // untriaged static const int TIMESTAMP_EXT = 0x8E28; - @DomName('EXTDisjointTimerQueryWebGL2.TIME_ELAPSED_EXT') - @DocsEditable() - @Experimental() // untriaged static const int TIME_ELAPSED_EXT = 0x88BF; @JSName('queryCounterEXT') - @DomName('EXTDisjointTimerQueryWebGL2.queryCounterEXT') - @DocsEditable() - @Experimental() // untriaged void queryCounterExt(Query query, int target) 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('EXTFragDepth') -// http://www.khronos.org/registry/webgl/extensions/EXT_frag_depth/ -@Experimental() @Native("EXTFragDepth,EXT_frag_depth") class ExtFragDepth extends Interceptor { // To suppress missing implicit constructor warnings. @@ -855,9 +511,6 @@ class ExtFragDepth 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('EXTShaderTextureLOD') -@Experimental() // untriaged @Native("EXTShaderTextureLOD,EXT_shader_texture_lod") class ExtShaderTextureLod extends Interceptor { // To suppress missing implicit constructor warnings. @@ -869,10 +522,6 @@ class ExtShaderTextureLod 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('EXTTextureFilterAnisotropic') -// http://www.khronos.org/registry/webgl/extensions/EXT_texture_filter_anisotropic/ -@Experimental() @Native("EXTTextureFilterAnisotropic,EXT_texture_filter_anisotropic") class ExtTextureFilterAnisotropic extends Interceptor { // To suppress missing implicit constructor warnings. @@ -880,20 +529,14 @@ class ExtTextureFilterAnisotropic extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('EXTTextureFilterAnisotropic.MAX_TEXTURE_MAX_ANISOTROPY_EXT') - @DocsEditable() static const int MAX_TEXTURE_MAX_ANISOTROPY_EXT = 0x84FF; - @DomName('EXTTextureFilterAnisotropic.TEXTURE_MAX_ANISOTROPY_EXT') - @DocsEditable() static const int TEXTURE_MAX_ANISOTROPY_EXT = 0x84FE; } // Copyright (c) 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('WebGLFramebuffer') @Unstable() @Native("WebGLFramebuffer") class Framebuffer extends Interceptor { @@ -906,9 +549,6 @@ class Framebuffer 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('WebGLGetBufferSubDataAsync') -@Experimental() // untriaged @Native("WebGLGetBufferSubDataAsync") class GetBufferSubDataAsync extends Interceptor { // To suppress missing implicit constructor warnings. @@ -916,9 +556,6 @@ class GetBufferSubDataAsync extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('WebGLGetBufferSubDataAsync.getBufferSubDataAsync') - @DocsEditable() - @Experimental() // untriaged Future getBufferSubDataAsync(int target, int srcByteOffset, TypedData dstData, [int dstOffset, int length]) => promiseToFuture(JS("", "#.getBufferSubDataAsync(#, #, #, #, #)", this, @@ -928,10 +565,6 @@ class GetBufferSubDataAsync 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('WebGLLoseContext') -// http://www.khronos.org/registry/webgl/extensions/WEBGL_lose_context/ -@Experimental() @Native("WebGLLoseContext,WebGLExtensionLoseContext,WEBGL_lose_context") class LoseContext extends Interceptor { // To suppress missing implicit constructor warnings. @@ -939,22 +572,14 @@ class LoseContext extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('WebGLLoseContext.loseContext') - @DocsEditable() void loseContext() native; - @DomName('WebGLLoseContext.restoreContext') - @DocsEditable() void restoreContext() 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('OESElementIndexUint') -// http://www.khronos.org/registry/webgl/extensions/OES_element_index_uint/ -@Experimental() // experimental @Native("OESElementIndexUint,OES_element_index_uint") class OesElementIndexUint extends Interceptor { // To suppress missing implicit constructor warnings. @@ -966,10 +591,6 @@ class OesElementIndexUint 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('OESStandardDerivatives') -// http://www.khronos.org/registry/webgl/extensions/OES_standard_derivatives/ -@Experimental() // experimental @Native("OESStandardDerivatives,OES_standard_derivatives") class OesStandardDerivatives extends Interceptor { // To suppress missing implicit constructor warnings. @@ -977,18 +598,12 @@ class OesStandardDerivatives extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('OESStandardDerivatives.FRAGMENT_SHADER_DERIVATIVE_HINT_OES') - @DocsEditable() static const int FRAGMENT_SHADER_DERIVATIVE_HINT_OES = 0x8B8B; } // Copyright (c) 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('OESTextureFloat') -// http://www.khronos.org/registry/webgl/extensions/OES_texture_float/ -@Experimental() // experimental @Native("OESTextureFloat,OES_texture_float") class OesTextureFloat extends Interceptor { // To suppress missing implicit constructor warnings. @@ -1000,10 +615,6 @@ class OesTextureFloat 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('OESTextureFloatLinear') -// http://www.khronos.org/registry/webgl/extensions/OES_texture_float_linear/ -@Experimental() @Native("OESTextureFloatLinear,OES_texture_float_linear") class OesTextureFloatLinear extends Interceptor { // To suppress missing implicit constructor warnings. @@ -1015,10 +626,6 @@ class OesTextureFloatLinear 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('OESTextureHalfFloat') -// http://www.khronos.org/registry/webgl/extensions/OES_texture_half_float/ -@Experimental() // experimental @Native("OESTextureHalfFloat,OES_texture_half_float") class OesTextureHalfFloat extends Interceptor { // To suppress missing implicit constructor warnings. @@ -1026,18 +633,12 @@ class OesTextureHalfFloat extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('OESTextureHalfFloat.HALF_FLOAT_OES') - @DocsEditable() static const int HALF_FLOAT_OES = 0x8D61; } // Copyright (c) 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('OESTextureHalfFloatLinear') -// http://www.khronos.org/registry/webgl/extensions/OES_texture_half_float_linear/ -@Experimental() @Native("OESTextureHalfFloatLinear,OES_texture_half_float_linear") class OesTextureHalfFloatLinear extends Interceptor { // To suppress missing implicit constructor warnings. @@ -1049,10 +650,6 @@ class OesTextureHalfFloatLinear 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('OESVertexArrayObject') -// http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/ -@Experimental() // experimental @Native("OESVertexArrayObject,OES_vertex_array_object") class OesVertexArrayObject extends Interceptor { // To suppress missing implicit constructor warnings. @@ -1060,36 +657,24 @@ class OesVertexArrayObject extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('OESVertexArrayObject.VERTEX_ARRAY_BINDING_OES') - @DocsEditable() static const int VERTEX_ARRAY_BINDING_OES = 0x85B5; @JSName('bindVertexArrayOES') - @DomName('OESVertexArrayObject.bindVertexArrayOES') - @DocsEditable() void bindVertexArray(VertexArrayObjectOes arrayObject) native; @JSName('createVertexArrayOES') - @DomName('OESVertexArrayObject.createVertexArrayOES') - @DocsEditable() VertexArrayObjectOes createVertexArray() native; @JSName('deleteVertexArrayOES') - @DomName('OESVertexArrayObject.deleteVertexArrayOES') - @DocsEditable() void deleteVertexArray(VertexArrayObjectOes arrayObject) native; @JSName('isVertexArrayOES') - @DomName('OESVertexArrayObject.isVertexArrayOES') - @DocsEditable() bool isVertexArray(VertexArrayObjectOes arrayObject) 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('WebGLProgram') @Unstable() @Native("WebGLProgram") class Program extends Interceptor { @@ -1102,9 +687,6 @@ class Program 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('WebGLQuery') -@Experimental() // untriaged @Native("WebGLQuery") class Query extends Interceptor { // To suppress missing implicit constructor warnings. @@ -1116,8 +698,6 @@ class Query 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('WebGLRenderbuffer') @Unstable() @Native("WebGLRenderbuffer") class Renderbuffer extends Interceptor { @@ -1130,10 +710,8 @@ class Renderbuffer 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. -@DomName('WebGLRenderingContext') @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.FIREFOX) -@Experimental() @Unstable() @Native("WebGLRenderingContext") class RenderingContext extends Interceptor implements CanvasRenderingContext { @@ -1145,475 +723,259 @@ class RenderingContext extends Interceptor implements CanvasRenderingContext { /// Checks if this type is supported on the current platform. static bool get supported => JS('bool', '!!(window.WebGLRenderingContext)'); - @DomName('WebGLRenderingContext.canvas') - @DocsEditable() - @Experimental() // untriaged final CanvasElement canvas; // From WebGLRenderingContextBase - @DomName('WebGLRenderingContext.drawingBufferHeight') - @DocsEditable() final int drawingBufferHeight; - @DomName('WebGLRenderingContext.drawingBufferWidth') - @DocsEditable() final int drawingBufferWidth; - @DomName('WebGLRenderingContext.activeTexture') - @DocsEditable() void activeTexture(int texture) native; - @DomName('WebGLRenderingContext.attachShader') - @DocsEditable() void attachShader(Program program, Shader shader) native; - @DomName('WebGLRenderingContext.bindAttribLocation') - @DocsEditable() void bindAttribLocation(Program program, int index, String name) native; - @DomName('WebGLRenderingContext.bindBuffer') - @DocsEditable() void bindBuffer(int target, Buffer buffer) native; - @DomName('WebGLRenderingContext.bindFramebuffer') - @DocsEditable() void bindFramebuffer(int target, Framebuffer framebuffer) native; - @DomName('WebGLRenderingContext.bindRenderbuffer') - @DocsEditable() void bindRenderbuffer(int target, Renderbuffer renderbuffer) native; - @DomName('WebGLRenderingContext.bindTexture') - @DocsEditable() void bindTexture(int target, Texture texture) native; - @DomName('WebGLRenderingContext.blendColor') - @DocsEditable() void blendColor(num red, num green, num blue, num alpha) native; - @DomName('WebGLRenderingContext.blendEquation') - @DocsEditable() void blendEquation(int mode) native; - @DomName('WebGLRenderingContext.blendEquationSeparate') - @DocsEditable() void blendEquationSeparate(int modeRGB, int modeAlpha) native; - @DomName('WebGLRenderingContext.blendFunc') - @DocsEditable() void blendFunc(int sfactor, int dfactor) native; - @DomName('WebGLRenderingContext.blendFuncSeparate') - @DocsEditable() void blendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha) native; - @DomName('WebGLRenderingContext.bufferData') - @DocsEditable() void bufferData(int target, data_OR_size, int usage) native; - @DomName('WebGLRenderingContext.bufferSubData') - @DocsEditable() void bufferSubData(int target, int offset, data) native; - @DomName('WebGLRenderingContext.checkFramebufferStatus') - @DocsEditable() int checkFramebufferStatus(int target) native; - @DomName('WebGLRenderingContext.clear') - @DocsEditable() void clear(int mask) native; - @DomName('WebGLRenderingContext.clearColor') - @DocsEditable() void clearColor(num red, num green, num blue, num alpha) native; - @DomName('WebGLRenderingContext.clearDepth') - @DocsEditable() void clearDepth(num depth) native; - @DomName('WebGLRenderingContext.clearStencil') - @DocsEditable() void clearStencil(int s) native; - @DomName('WebGLRenderingContext.colorMask') - @DocsEditable() void colorMask(bool red, bool green, bool blue, bool alpha) native; - @DomName('WebGLRenderingContext.commit') - @DocsEditable() - @Experimental() // untriaged Future commit() => promiseToFuture(JS("", "#.commit()", this)); - @DomName('WebGLRenderingContext.compileShader') - @DocsEditable() void compileShader(Shader shader) native; - @DomName('WebGLRenderingContext.compressedTexImage2D') - @DocsEditable() void compressedTexImage2D(int target, int level, int internalformat, int width, int height, int border, TypedData data) native; - @DomName('WebGLRenderingContext.compressedTexSubImage2D') - @DocsEditable() void compressedTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, TypedData data) native; - @DomName('WebGLRenderingContext.copyTexImage2D') - @DocsEditable() void copyTexImage2D(int target, int level, int internalformat, int x, int y, int width, int height, int border) native; - @DomName('WebGLRenderingContext.copyTexSubImage2D') - @DocsEditable() void copyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x, int y, int width, int height) native; - @DomName('WebGLRenderingContext.createBuffer') - @DocsEditable() Buffer createBuffer() native; - @DomName('WebGLRenderingContext.createFramebuffer') - @DocsEditable() Framebuffer createFramebuffer() native; - @DomName('WebGLRenderingContext.createProgram') - @DocsEditable() Program createProgram() native; - @DomName('WebGLRenderingContext.createRenderbuffer') - @DocsEditable() Renderbuffer createRenderbuffer() native; - @DomName('WebGLRenderingContext.createShader') - @DocsEditable() Shader createShader(int type) native; - @DomName('WebGLRenderingContext.createTexture') - @DocsEditable() Texture createTexture() native; - @DomName('WebGLRenderingContext.cullFace') - @DocsEditable() void cullFace(int mode) native; - @DomName('WebGLRenderingContext.deleteBuffer') - @DocsEditable() void deleteBuffer(Buffer buffer) native; - @DomName('WebGLRenderingContext.deleteFramebuffer') - @DocsEditable() void deleteFramebuffer(Framebuffer framebuffer) native; - @DomName('WebGLRenderingContext.deleteProgram') - @DocsEditable() void deleteProgram(Program program) native; - @DomName('WebGLRenderingContext.deleteRenderbuffer') - @DocsEditable() void deleteRenderbuffer(Renderbuffer renderbuffer) native; - @DomName('WebGLRenderingContext.deleteShader') - @DocsEditable() void deleteShader(Shader shader) native; - @DomName('WebGLRenderingContext.deleteTexture') - @DocsEditable() void deleteTexture(Texture texture) native; - @DomName('WebGLRenderingContext.depthFunc') - @DocsEditable() void depthFunc(int func) native; - @DomName('WebGLRenderingContext.depthMask') - @DocsEditable() void depthMask(bool flag) native; - @DomName('WebGLRenderingContext.depthRange') - @DocsEditable() void depthRange(num zNear, num zFar) native; - @DomName('WebGLRenderingContext.detachShader') - @DocsEditable() void detachShader(Program program, Shader shader) native; - @DomName('WebGLRenderingContext.disable') - @DocsEditable() void disable(int cap) native; - @DomName('WebGLRenderingContext.disableVertexAttribArray') - @DocsEditable() void disableVertexAttribArray(int index) native; - @DomName('WebGLRenderingContext.drawArrays') - @DocsEditable() void drawArrays(int mode, int first, int count) native; - @DomName('WebGLRenderingContext.drawElements') - @DocsEditable() void drawElements(int mode, int count, int type, int offset) native; - @DomName('WebGLRenderingContext.enable') - @DocsEditable() void enable(int cap) native; - @DomName('WebGLRenderingContext.enableVertexAttribArray') - @DocsEditable() void enableVertexAttribArray(int index) native; - @DomName('WebGLRenderingContext.finish') - @DocsEditable() void finish() native; - @DomName('WebGLRenderingContext.flush') - @DocsEditable() void flush() native; - @DomName('WebGLRenderingContext.framebufferRenderbuffer') - @DocsEditable() void framebufferRenderbuffer(int target, int attachment, int renderbuffertarget, Renderbuffer renderbuffer) native; - @DomName('WebGLRenderingContext.framebufferTexture2D') - @DocsEditable() void framebufferTexture2D(int target, int attachment, int textarget, Texture texture, int level) native; - @DomName('WebGLRenderingContext.frontFace') - @DocsEditable() void frontFace(int mode) native; - @DomName('WebGLRenderingContext.generateMipmap') - @DocsEditable() void generateMipmap(int target) native; - @DomName('WebGLRenderingContext.getActiveAttrib') - @DocsEditable() ActiveInfo getActiveAttrib(Program program, int index) native; - @DomName('WebGLRenderingContext.getActiveUniform') - @DocsEditable() ActiveInfo getActiveUniform(Program program, int index) native; - @DomName('WebGLRenderingContext.getAttachedShaders') - @DocsEditable() List getAttachedShaders(Program program) native; - @DomName('WebGLRenderingContext.getAttribLocation') - @DocsEditable() int getAttribLocation(Program program, String name) native; - @DomName('WebGLRenderingContext.getBufferParameter') - @DocsEditable() @Creates('int|Null') @Returns('int|Null') Object getBufferParameter(int target, int pname) native; - @DomName('WebGLRenderingContext.getContextAttributes') - @DocsEditable() @Creates('ContextAttributes|Null') Map getContextAttributes() { return convertNativeToDart_Dictionary(_getContextAttributes_1()); } @JSName('getContextAttributes') - @DomName('WebGLRenderingContext.getContextAttributes') - @DocsEditable() @Creates('ContextAttributes|Null') _getContextAttributes_1() native; - @DomName('WebGLRenderingContext.getError') - @DocsEditable() int getError() native; - @DomName('WebGLRenderingContext.getExtension') - @DocsEditable() Object getExtension(String name) native; - @DomName('WebGLRenderingContext.getFramebufferAttachmentParameter') - @DocsEditable() @Creates('int|Renderbuffer|Texture|Null') @Returns('int|Renderbuffer|Texture|Null') Object getFramebufferAttachmentParameter( int target, int attachment, int pname) native; - @DomName('WebGLRenderingContext.getParameter') - @DocsEditable() @Creates( 'Null|num|String|bool|JSExtendableArray|NativeFloat32List|NativeInt32List|NativeUint32List|Framebuffer|Renderbuffer|Texture') @Returns( 'Null|num|String|bool|JSExtendableArray|NativeFloat32List|NativeInt32List|NativeUint32List|Framebuffer|Renderbuffer|Texture') Object getParameter(int pname) native; - @DomName('WebGLRenderingContext.getProgramInfoLog') - @DocsEditable() String getProgramInfoLog(Program program) native; - @DomName('WebGLRenderingContext.getProgramParameter') - @DocsEditable() @Creates('int|bool|Null') @Returns('int|bool|Null') Object getProgramParameter(Program program, int pname) native; - @DomName('WebGLRenderingContext.getRenderbufferParameter') - @DocsEditable() @Creates('int|Null') @Returns('int|Null') Object getRenderbufferParameter(int target, int pname) native; - @DomName('WebGLRenderingContext.getShaderInfoLog') - @DocsEditable() String getShaderInfoLog(Shader shader) native; - @DomName('WebGLRenderingContext.getShaderParameter') - @DocsEditable() @Creates('int|bool|Null') @Returns('int|bool|Null') Object getShaderParameter(Shader shader, int pname) native; - @DomName('WebGLRenderingContext.getShaderPrecisionFormat') - @DocsEditable() ShaderPrecisionFormat getShaderPrecisionFormat( int shadertype, int precisiontype) native; - @DomName('WebGLRenderingContext.getShaderSource') - @DocsEditable() String getShaderSource(Shader shader) native; - @DomName('WebGLRenderingContext.getSupportedExtensions') - @DocsEditable() List getSupportedExtensions() native; - @DomName('WebGLRenderingContext.getTexParameter') - @DocsEditable() @Creates('int|Null') @Returns('int|Null') Object getTexParameter(int target, int pname) native; - @DomName('WebGLRenderingContext.getUniform') - @DocsEditable() @Creates( 'Null|num|String|bool|JSExtendableArray|NativeFloat32List|NativeInt32List|NativeUint32List') @Returns( 'Null|num|String|bool|JSExtendableArray|NativeFloat32List|NativeInt32List|NativeUint32List') Object getUniform(Program program, UniformLocation location) native; - @DomName('WebGLRenderingContext.getUniformLocation') - @DocsEditable() UniformLocation getUniformLocation(Program program, String name) native; - @DomName('WebGLRenderingContext.getVertexAttrib') - @DocsEditable() @Creates('Null|num|bool|NativeFloat32List|Buffer') @Returns('Null|num|bool|NativeFloat32List|Buffer') Object getVertexAttrib(int index, int pname) native; - @DomName('WebGLRenderingContext.getVertexAttribOffset') - @DocsEditable() int getVertexAttribOffset(int index, int pname) native; - @DomName('WebGLRenderingContext.hint') - @DocsEditable() void hint(int target, int mode) native; - @DomName('WebGLRenderingContext.isBuffer') - @DocsEditable() bool isBuffer(Buffer buffer) native; - @DomName('WebGLRenderingContext.isContextLost') - @DocsEditable() bool isContextLost() native; - @DomName('WebGLRenderingContext.isEnabled') - @DocsEditable() bool isEnabled(int cap) native; - @DomName('WebGLRenderingContext.isFramebuffer') - @DocsEditable() bool isFramebuffer(Framebuffer framebuffer) native; - @DomName('WebGLRenderingContext.isProgram') - @DocsEditable() bool isProgram(Program program) native; - @DomName('WebGLRenderingContext.isRenderbuffer') - @DocsEditable() bool isRenderbuffer(Renderbuffer renderbuffer) native; - @DomName('WebGLRenderingContext.isShader') - @DocsEditable() bool isShader(Shader shader) native; - @DomName('WebGLRenderingContext.isTexture') - @DocsEditable() bool isTexture(Texture texture) native; - @DomName('WebGLRenderingContext.lineWidth') - @DocsEditable() void lineWidth(num width) native; - @DomName('WebGLRenderingContext.linkProgram') - @DocsEditable() void linkProgram(Program program) native; - @DomName('WebGLRenderingContext.pixelStorei') - @DocsEditable() void pixelStorei(int pname, int param) native; - @DomName('WebGLRenderingContext.polygonOffset') - @DocsEditable() void polygonOffset(num factor, num units) native; @JSName('readPixels') - @DomName('WebGLRenderingContext.readPixels') - @DocsEditable() void _readPixels(int x, int y, int width, int height, int format, int type, TypedData pixels) native; - @DomName('WebGLRenderingContext.renderbufferStorage') - @DocsEditable() void renderbufferStorage( int target, int internalformat, int width, int height) native; - @DomName('WebGLRenderingContext.sampleCoverage') - @DocsEditable() void sampleCoverage(num value, bool invert) native; - @DomName('WebGLRenderingContext.scissor') - @DocsEditable() void scissor(int x, int y, int width, int height) native; - @DomName('WebGLRenderingContext.shaderSource') - @DocsEditable() void shaderSource(Shader shader, String string) native; - @DomName('WebGLRenderingContext.stencilFunc') - @DocsEditable() void stencilFunc(int func, int ref, int mask) native; - @DomName('WebGLRenderingContext.stencilFuncSeparate') - @DocsEditable() void stencilFuncSeparate(int face, int func, int ref, int mask) native; - @DomName('WebGLRenderingContext.stencilMask') - @DocsEditable() void stencilMask(int mask) native; - @DomName('WebGLRenderingContext.stencilMaskSeparate') - @DocsEditable() void stencilMaskSeparate(int face, int mask) native; - @DomName('WebGLRenderingContext.stencilOp') - @DocsEditable() void stencilOp(int fail, int zfail, int zpass) native; - @DomName('WebGLRenderingContext.stencilOpSeparate') - @DocsEditable() void stencilOpSeparate(int face, int fail, int zfail, int zpass) native; - @DomName('WebGLRenderingContext.texImage2D') - @DocsEditable() void texImage2D( int target, int level, @@ -1709,46 +1071,28 @@ class RenderingContext extends Interceptor implements CanvasRenderingContext { } @JSName('texImage2D') - @DomName('WebGLRenderingContext.texImage2D') - @DocsEditable() void _texImage2D_1(target, level, internalformat, width, height, int border, format, type, TypedData pixels) native; @JSName('texImage2D') - @DomName('WebGLRenderingContext.texImage2D') - @DocsEditable() void _texImage2D_2(target, level, internalformat, format, type, pixels) native; @JSName('texImage2D') - @DomName('WebGLRenderingContext.texImage2D') - @DocsEditable() void _texImage2D_3( target, level, internalformat, format, type, ImageElement image) native; @JSName('texImage2D') - @DomName('WebGLRenderingContext.texImage2D') - @DocsEditable() void _texImage2D_4( target, level, internalformat, format, type, CanvasElement canvas) native; @JSName('texImage2D') - @DomName('WebGLRenderingContext.texImage2D') - @DocsEditable() void _texImage2D_5( target, level, internalformat, format, type, VideoElement video) native; @JSName('texImage2D') - @DomName('WebGLRenderingContext.texImage2D') - @DocsEditable() void _texImage2D_6( target, level, internalformat, format, type, ImageBitmap bitmap) native; - @DomName('WebGLRenderingContext.texParameterf') - @DocsEditable() void texParameterf(int target, int pname, num param) native; - @DomName('WebGLRenderingContext.texParameteri') - @DocsEditable() void texParameteri(int target, int pname, int param) native; - @DomName('WebGLRenderingContext.texSubImage2D') - @DocsEditable() void texSubImage2D( int target, int level, @@ -1842,163 +1186,87 @@ class RenderingContext extends Interceptor implements CanvasRenderingContext { } @JSName('texSubImage2D') - @DomName('WebGLRenderingContext.texSubImage2D') - @DocsEditable() void _texSubImage2D_1(target, level, xoffset, yoffset, width, height, int format, type, TypedData pixels) native; @JSName('texSubImage2D') - @DomName('WebGLRenderingContext.texSubImage2D') - @DocsEditable() void _texSubImage2D_2(target, level, xoffset, yoffset, format, type, pixels) native; @JSName('texSubImage2D') - @DomName('WebGLRenderingContext.texSubImage2D') - @DocsEditable() void _texSubImage2D_3( target, level, xoffset, yoffset, format, type, ImageElement image) native; @JSName('texSubImage2D') - @DomName('WebGLRenderingContext.texSubImage2D') - @DocsEditable() void _texSubImage2D_4(target, level, xoffset, yoffset, format, type, CanvasElement canvas) native; @JSName('texSubImage2D') - @DomName('WebGLRenderingContext.texSubImage2D') - @DocsEditable() void _texSubImage2D_5( target, level, xoffset, yoffset, format, type, VideoElement video) native; @JSName('texSubImage2D') - @DomName('WebGLRenderingContext.texSubImage2D') - @DocsEditable() void _texSubImage2D_6( target, level, xoffset, yoffset, format, type, ImageBitmap bitmap) native; - @DomName('WebGLRenderingContext.uniform1f') - @DocsEditable() void uniform1f(UniformLocation location, num x) native; - @DomName('WebGLRenderingContext.uniform1fv') - @DocsEditable() void uniform1fv(UniformLocation location, v) native; - @DomName('WebGLRenderingContext.uniform1i') - @DocsEditable() void uniform1i(UniformLocation location, int x) native; - @DomName('WebGLRenderingContext.uniform1iv') - @DocsEditable() void uniform1iv(UniformLocation location, v) native; - @DomName('WebGLRenderingContext.uniform2f') - @DocsEditable() void uniform2f(UniformLocation location, num x, num y) native; - @DomName('WebGLRenderingContext.uniform2fv') - @DocsEditable() void uniform2fv(UniformLocation location, v) native; - @DomName('WebGLRenderingContext.uniform2i') - @DocsEditable() void uniform2i(UniformLocation location, int x, int y) native; - @DomName('WebGLRenderingContext.uniform2iv') - @DocsEditable() void uniform2iv(UniformLocation location, v) native; - @DomName('WebGLRenderingContext.uniform3f') - @DocsEditable() void uniform3f(UniformLocation location, num x, num y, num z) native; - @DomName('WebGLRenderingContext.uniform3fv') - @DocsEditable() void uniform3fv(UniformLocation location, v) native; - @DomName('WebGLRenderingContext.uniform3i') - @DocsEditable() void uniform3i(UniformLocation location, int x, int y, int z) native; - @DomName('WebGLRenderingContext.uniform3iv') - @DocsEditable() void uniform3iv(UniformLocation location, v) native; - @DomName('WebGLRenderingContext.uniform4f') - @DocsEditable() void uniform4f(UniformLocation location, num x, num y, num z, num w) native; - @DomName('WebGLRenderingContext.uniform4fv') - @DocsEditable() void uniform4fv(UniformLocation location, v) native; - @DomName('WebGLRenderingContext.uniform4i') - @DocsEditable() void uniform4i(UniformLocation location, int x, int y, int z, int w) native; - @DomName('WebGLRenderingContext.uniform4iv') - @DocsEditable() void uniform4iv(UniformLocation location, v) native; - @DomName('WebGLRenderingContext.uniformMatrix2fv') - @DocsEditable() void uniformMatrix2fv(UniformLocation location, bool transpose, array) native; - @DomName('WebGLRenderingContext.uniformMatrix3fv') - @DocsEditable() void uniformMatrix3fv(UniformLocation location, bool transpose, array) native; - @DomName('WebGLRenderingContext.uniformMatrix4fv') - @DocsEditable() void uniformMatrix4fv(UniformLocation location, bool transpose, array) native; - @DomName('WebGLRenderingContext.useProgram') - @DocsEditable() void useProgram(Program program) native; - @DomName('WebGLRenderingContext.validateProgram') - @DocsEditable() void validateProgram(Program program) native; - @DomName('WebGLRenderingContext.vertexAttrib1f') - @DocsEditable() void vertexAttrib1f(int indx, num x) native; - @DomName('WebGLRenderingContext.vertexAttrib1fv') - @DocsEditable() void vertexAttrib1fv(int indx, values) native; - @DomName('WebGLRenderingContext.vertexAttrib2f') - @DocsEditable() void vertexAttrib2f(int indx, num x, num y) native; - @DomName('WebGLRenderingContext.vertexAttrib2fv') - @DocsEditable() void vertexAttrib2fv(int indx, values) native; - @DomName('WebGLRenderingContext.vertexAttrib3f') - @DocsEditable() void vertexAttrib3f(int indx, num x, num y, num z) native; - @DomName('WebGLRenderingContext.vertexAttrib3fv') - @DocsEditable() void vertexAttrib3fv(int indx, values) native; - @DomName('WebGLRenderingContext.vertexAttrib4f') - @DocsEditable() void vertexAttrib4f(int indx, num x, num y, num z, num w) native; - @DomName('WebGLRenderingContext.vertexAttrib4fv') - @DocsEditable() void vertexAttrib4fv(int indx, values) native; - @DomName('WebGLRenderingContext.vertexAttribPointer') - @DocsEditable() void vertexAttribPointer(int indx, int size, int type, bool normalized, int stride, int offset) native; - @DomName('WebGLRenderingContext.viewport') - @DocsEditable() void viewport(int x, int y, int width, int height) native; - @DomName('WebGLRenderingContext.readPixels') - @DocsEditable() void readPixels(int x, int y, int width, int height, int format, int type, TypedData pixels) { _readPixels(x, y, width, height, format, type, pixels); @@ -2084,9 +1352,6 @@ class RenderingContext extends Interceptor implements CanvasRenderingContext { // 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('WebGL2RenderingContext') -@Experimental() // untriaged @Native("WebGL2RenderingContext") class RenderingContext2 extends Interceptor implements _WebGL2RenderingContextBase, _WebGLRenderingContextBase { @@ -2095,122 +1360,62 @@ class RenderingContext2 extends Interceptor throw new UnsupportedError("Not supported"); } - @DomName('WebGL2RenderingContext.canvas') - @DocsEditable() - @Experimental() // untriaged final Canvas canvas; // From WebGL2RenderingContextBase - @DomName('WebGL2RenderingContext.beginQuery') - @DocsEditable() - @Experimental() // untriaged void beginQuery(int target, Query query) native; - @DomName('WebGL2RenderingContext.beginTransformFeedback') - @DocsEditable() - @Experimental() // untriaged void beginTransformFeedback(int primitiveMode) native; - @DomName('WebGL2RenderingContext.bindBufferBase') - @DocsEditable() - @Experimental() // untriaged void bindBufferBase(int target, int index, Buffer buffer) native; - @DomName('WebGL2RenderingContext.bindBufferRange') - @DocsEditable() - @Experimental() // untriaged void bindBufferRange( int target, int index, Buffer buffer, int offset, int size) native; - @DomName('WebGL2RenderingContext.bindSampler') - @DocsEditable() - @Experimental() // untriaged void bindSampler(int unit, Sampler sampler) native; - @DomName('WebGL2RenderingContext.bindTransformFeedback') - @DocsEditable() - @Experimental() // untriaged void bindTransformFeedback(int target, TransformFeedback feedback) native; - @DomName('WebGL2RenderingContext.bindVertexArray') - @DocsEditable() - @Experimental() // untriaged void bindVertexArray(VertexArrayObject vertexArray) native; - @DomName('WebGL2RenderingContext.blitFramebuffer') - @DocsEditable() - @Experimental() // untriaged void blitFramebuffer(int srcX0, int srcY0, int srcX1, int srcY1, int dstX0, int dstY0, int dstX1, int dstY1, int mask, int filter) native; @JSName('bufferData') - @DomName('WebGL2RenderingContext.bufferData') - @DocsEditable() - @Experimental() // untriaged void bufferData2(int target, TypedData srcData, int usage, int srcOffset, [int length]) native; @JSName('bufferSubData') - @DomName('WebGL2RenderingContext.bufferSubData') - @DocsEditable() - @Experimental() // untriaged void bufferSubData2( int target, int dstByteOffset, TypedData srcData, int srcOffset, [int length]) native; - @DomName('WebGL2RenderingContext.clearBufferfi') - @DocsEditable() - @Experimental() // untriaged void clearBufferfi(int buffer, int drawbuffer, num depth, int stencil) native; - @DomName('WebGL2RenderingContext.clearBufferfv') - @DocsEditable() - @Experimental() // untriaged void clearBufferfv(int buffer, int drawbuffer, value, [int srcOffset]) native; - @DomName('WebGL2RenderingContext.clearBufferiv') - @DocsEditable() - @Experimental() // untriaged void clearBufferiv(int buffer, int drawbuffer, value, [int srcOffset]) native; - @DomName('WebGL2RenderingContext.clearBufferuiv') - @DocsEditable() - @Experimental() // untriaged void clearBufferuiv(int buffer, int drawbuffer, value, [int srcOffset]) native; - @DomName('WebGL2RenderingContext.clientWaitSync') - @DocsEditable() - @Experimental() // untriaged int clientWaitSync(Sync sync, int flags, int timeout) native; @JSName('compressedTexImage2D') - @DomName('WebGL2RenderingContext.compressedTexImage2D') - @DocsEditable() - @Experimental() // untriaged void compressedTexImage2D2(int target, int level, int internalformat, int width, int height, int border, TypedData data, int srcOffset, [int srcLengthOverride]) native; @JSName('compressedTexImage2D') - @DomName('WebGL2RenderingContext.compressedTexImage2D') - @DocsEditable() - @Experimental() // untriaged void compressedTexImage2D3(int target, int level, int internalformat, int width, int height, int border, int imageSize, int offset) native; - @DomName('WebGL2RenderingContext.compressedTexImage3D') - @DocsEditable() - @Experimental() // untriaged void compressedTexImage3D(int target, int level, int internalformat, int width, int height, int depth, int border, TypedData data, [int srcOffset, int srcLengthOverride]) native; @JSName('compressedTexImage3D') - @DomName('WebGL2RenderingContext.compressedTexImage3D') - @DocsEditable() - @Experimental() // untriaged void compressedTexImage3D2( int target, int level, @@ -2223,31 +1428,19 @@ class RenderingContext2 extends Interceptor int offset) native; @JSName('compressedTexSubImage2D') - @DomName('WebGL2RenderingContext.compressedTexSubImage2D') - @DocsEditable() - @Experimental() // untriaged void compressedTexSubImage2D2(int target, int level, int xoffset, int yoffset, int width, int height, int format, TypedData data, int srcOffset, [int srcLengthOverride]) native; @JSName('compressedTexSubImage2D') - @DomName('WebGL2RenderingContext.compressedTexSubImage2D') - @DocsEditable() - @Experimental() // untriaged void compressedTexSubImage2D3(int target, int level, int xoffset, int yoffset, int width, int height, int format, int imageSize, int offset) native; - @DomName('WebGL2RenderingContext.compressedTexSubImage3D') - @DocsEditable() - @Experimental() // untriaged void compressedTexSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, TypedData data, [int srcOffset, int srcLengthOverride]) native; @JSName('compressedTexSubImage3D') - @DomName('WebGL2RenderingContext.compressedTexSubImage3D') - @DocsEditable() - @Experimental() // untriaged void compressedTexSubImage3D2( int target, int level, @@ -2261,269 +1454,122 @@ class RenderingContext2 extends Interceptor int imageSize, int offset) native; - @DomName('WebGL2RenderingContext.copyBufferSubData') - @DocsEditable() - @Experimental() // untriaged void copyBufferSubData(int readTarget, int writeTarget, int readOffset, int writeOffset, int size) native; - @DomName('WebGL2RenderingContext.copyTexSubImage3D') - @DocsEditable() - @Experimental() // untriaged void copyTexSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset, int x, int y, int width, int height) native; - @DomName('WebGL2RenderingContext.createQuery') - @DocsEditable() - @Experimental() // untriaged Query createQuery() native; - @DomName('WebGL2RenderingContext.createSampler') - @DocsEditable() - @Experimental() // untriaged Sampler createSampler() native; - @DomName('WebGL2RenderingContext.createTransformFeedback') - @DocsEditable() - @Experimental() // untriaged TransformFeedback createTransformFeedback() native; - @DomName('WebGL2RenderingContext.createVertexArray') - @DocsEditable() - @Experimental() // untriaged VertexArrayObject createVertexArray() native; - @DomName('WebGL2RenderingContext.deleteQuery') - @DocsEditable() - @Experimental() // untriaged void deleteQuery(Query query) native; - @DomName('WebGL2RenderingContext.deleteSampler') - @DocsEditable() - @Experimental() // untriaged void deleteSampler(Sampler sampler) native; - @DomName('WebGL2RenderingContext.deleteSync') - @DocsEditable() - @Experimental() // untriaged void deleteSync(Sync sync) native; - @DomName('WebGL2RenderingContext.deleteTransformFeedback') - @DocsEditable() - @Experimental() // untriaged void deleteTransformFeedback(TransformFeedback feedback) native; - @DomName('WebGL2RenderingContext.deleteVertexArray') - @DocsEditable() - @Experimental() // untriaged void deleteVertexArray(VertexArrayObject vertexArray) native; - @DomName('WebGL2RenderingContext.drawArraysInstanced') - @DocsEditable() - @Experimental() // untriaged void drawArraysInstanced(int mode, int first, int count, int instanceCount) native; - @DomName('WebGL2RenderingContext.drawBuffers') - @DocsEditable() - @Experimental() // untriaged void drawBuffers(List buffers) native; - @DomName('WebGL2RenderingContext.drawElementsInstanced') - @DocsEditable() - @Experimental() // untriaged void drawElementsInstanced( int mode, int count, int type, int offset, int instanceCount) native; - @DomName('WebGL2RenderingContext.drawRangeElements') - @DocsEditable() - @Experimental() // untriaged void drawRangeElements( int mode, int start, int end, int count, int type, int offset) native; - @DomName('WebGL2RenderingContext.endQuery') - @DocsEditable() - @Experimental() // untriaged void endQuery(int target) native; - @DomName('WebGL2RenderingContext.endTransformFeedback') - @DocsEditable() - @Experimental() // untriaged void endTransformFeedback() native; - @DomName('WebGL2RenderingContext.fenceSync') - @DocsEditable() - @Experimental() // untriaged Sync fenceSync(int condition, int flags) native; - @DomName('WebGL2RenderingContext.framebufferTextureLayer') - @DocsEditable() - @Experimental() // untriaged void framebufferTextureLayer( int target, int attachment, Texture texture, int level, int layer) native; - @DomName('WebGL2RenderingContext.getActiveUniformBlockName') - @DocsEditable() - @Experimental() // untriaged String getActiveUniformBlockName(Program program, int uniformBlockIndex) native; - @DomName('WebGL2RenderingContext.getActiveUniformBlockParameter') - @DocsEditable() - @Experimental() // untriaged Object getActiveUniformBlockParameter( Program program, int uniformBlockIndex, int pname) native; - @DomName('WebGL2RenderingContext.getActiveUniforms') - @DocsEditable() - @Experimental() // untriaged Object getActiveUniforms(Program program, List uniformIndices, int pname) native; - @DomName('WebGL2RenderingContext.getBufferSubData') - @DocsEditable() - @Experimental() // untriaged void getBufferSubData(int target, int srcByteOffset, TypedData dstData, [int dstOffset, int length]) native; - @DomName('WebGL2RenderingContext.getFragDataLocation') - @DocsEditable() - @Experimental() // untriaged int getFragDataLocation(Program program, String name) native; - @DomName('WebGL2RenderingContext.getIndexedParameter') - @DocsEditable() - @Experimental() // untriaged Object getIndexedParameter(int target, int index) native; - @DomName('WebGL2RenderingContext.getInternalformatParameter') - @DocsEditable() - @Experimental() // untriaged Object getInternalformatParameter(int target, int internalformat, int pname) native; - @DomName('WebGL2RenderingContext.getQuery') - @DocsEditable() - @Experimental() // untriaged Object getQuery(int target, int pname) native; - @DomName('WebGL2RenderingContext.getQueryParameter') - @DocsEditable() - @Experimental() // untriaged Object getQueryParameter(Query query, int pname) native; - @DomName('WebGL2RenderingContext.getSamplerParameter') - @DocsEditable() - @Experimental() // untriaged Object getSamplerParameter(Sampler sampler, int pname) native; - @DomName('WebGL2RenderingContext.getSyncParameter') - @DocsEditable() - @Experimental() // untriaged Object getSyncParameter(Sync sync, int pname) native; - @DomName('WebGL2RenderingContext.getTransformFeedbackVarying') - @DocsEditable() - @Experimental() // untriaged ActiveInfo getTransformFeedbackVarying(Program program, int index) native; - @DomName('WebGL2RenderingContext.getUniformBlockIndex') - @DocsEditable() - @Experimental() // untriaged int getUniformBlockIndex(Program program, String uniformBlockName) native; - @DomName('WebGL2RenderingContext.getUniformIndices') - @DocsEditable() - @Experimental() // untriaged List getUniformIndices(Program program, List uniformNames) { List uniformNames_1 = convertDartToNative_StringArray(uniformNames); return _getUniformIndices_1(program, uniformNames_1); } @JSName('getUniformIndices') - @DomName('WebGL2RenderingContext.getUniformIndices') - @DocsEditable() - @Experimental() // untriaged List _getUniformIndices_1(Program program, List uniformNames) native; - @DomName('WebGL2RenderingContext.invalidateFramebuffer') - @DocsEditable() - @Experimental() // untriaged void invalidateFramebuffer(int target, List attachments) native; - @DomName('WebGL2RenderingContext.invalidateSubFramebuffer') - @DocsEditable() - @Experimental() // untriaged void invalidateSubFramebuffer(int target, List attachments, int x, int y, int width, int height) native; - @DomName('WebGL2RenderingContext.isQuery') - @DocsEditable() - @Experimental() // untriaged bool isQuery(Query query) native; - @DomName('WebGL2RenderingContext.isSampler') - @DocsEditable() - @Experimental() // untriaged bool isSampler(Sampler sampler) native; - @DomName('WebGL2RenderingContext.isSync') - @DocsEditable() - @Experimental() // untriaged bool isSync(Sync sync) native; - @DomName('WebGL2RenderingContext.isTransformFeedback') - @DocsEditable() - @Experimental() // untriaged bool isTransformFeedback(TransformFeedback feedback) native; - @DomName('WebGL2RenderingContext.isVertexArray') - @DocsEditable() - @Experimental() // untriaged bool isVertexArray(VertexArrayObject vertexArray) native; - @DomName('WebGL2RenderingContext.pauseTransformFeedback') - @DocsEditable() - @Experimental() // untriaged void pauseTransformFeedback() native; - @DomName('WebGL2RenderingContext.readBuffer') - @DocsEditable() - @Experimental() // untriaged void readBuffer(int mode) native; @JSName('readPixels') - @DomName('WebGL2RenderingContext.readPixels') - @DocsEditable() - @Experimental() // untriaged void readPixels2(int x, int y, int width, int height, int format, int type, dstData_OR_offset, [int offset]) native; - @DomName('WebGL2RenderingContext.renderbufferStorageMultisample') - @DocsEditable() - @Experimental() // untriaged void renderbufferStorageMultisample(int target, int samples, int internalformat, int width, int height) native; - @DomName('WebGL2RenderingContext.resumeTransformFeedback') - @DocsEditable() - @Experimental() // untriaged void resumeTransformFeedback() native; - @DomName('WebGL2RenderingContext.samplerParameterf') - @DocsEditable() - @Experimental() // untriaged void samplerParameterf(Sampler sampler, int pname, num param) native; - @DomName('WebGL2RenderingContext.samplerParameteri') - @DocsEditable() - @Experimental() // untriaged void samplerParameteri(Sampler sampler, int pname, int param) native; - @DomName('WebGL2RenderingContext.texImage2D') - @DocsEditable() - @Experimental() // untriaged void texImage2D2( int target, int level, @@ -2639,51 +1685,27 @@ class RenderingContext2 extends Interceptor } @JSName('texImage2D') - @DomName('WebGL2RenderingContext.texImage2D') - @DocsEditable() - @Experimental() // untriaged void _texImage2D2_1(target, level, internalformat, width, height, border, format, type, int offset) native; @JSName('texImage2D') - @DomName('WebGL2RenderingContext.texImage2D') - @DocsEditable() - @Experimental() // untriaged void _texImage2D2_2(target, level, internalformat, width, height, border, format, type, data) native; @JSName('texImage2D') - @DomName('WebGL2RenderingContext.texImage2D') - @DocsEditable() - @Experimental() // untriaged void _texImage2D2_3(target, level, internalformat, width, height, border, format, type, ImageElement image) native; @JSName('texImage2D') - @DomName('WebGL2RenderingContext.texImage2D') - @DocsEditable() - @Experimental() // untriaged void _texImage2D2_4(target, level, internalformat, width, height, border, format, type, CanvasElement canvas) native; @JSName('texImage2D') - @DomName('WebGL2RenderingContext.texImage2D') - @DocsEditable() - @Experimental() // untriaged void _texImage2D2_5(target, level, internalformat, width, height, border, format, type, VideoElement video) native; @JSName('texImage2D') - @DomName('WebGL2RenderingContext.texImage2D') - @DocsEditable() - @Experimental() // untriaged void _texImage2D2_6(target, level, internalformat, width, height, border, format, type, ImageBitmap bitmap) native; @JSName('texImage2D') - @DomName('WebGL2RenderingContext.texImage2D') - @DocsEditable() - @Experimental() // untriaged void _texImage2D2_7(target, level, internalformat, width, height, border, format, type, TypedData srcData, srcOffset) native; - @DomName('WebGL2RenderingContext.texImage3D') - @DocsEditable() - @Experimental() // untriaged void texImage3D( int target, int level, @@ -2824,69 +1846,36 @@ class RenderingContext2 extends Interceptor } @JSName('texImage3D') - @DomName('WebGL2RenderingContext.texImage3D') - @DocsEditable() - @Experimental() // untriaged void _texImage3D_1(target, level, internalformat, width, height, depth, border, format, type, int offset) native; @JSName('texImage3D') - @DomName('WebGL2RenderingContext.texImage3D') - @DocsEditable() - @Experimental() // untriaged void _texImage3D_2(target, level, internalformat, width, height, depth, border, format, type, data) native; @JSName('texImage3D') - @DomName('WebGL2RenderingContext.texImage3D') - @DocsEditable() - @Experimental() // untriaged void _texImage3D_3(target, level, internalformat, width, height, depth, border, format, type, ImageElement image) native; @JSName('texImage3D') - @DomName('WebGL2RenderingContext.texImage3D') - @DocsEditable() - @Experimental() // untriaged void _texImage3D_4(target, level, internalformat, width, height, depth, border, format, type, CanvasElement canvas) native; @JSName('texImage3D') - @DomName('WebGL2RenderingContext.texImage3D') - @DocsEditable() - @Experimental() // untriaged void _texImage3D_5(target, level, internalformat, width, height, depth, border, format, type, VideoElement video) native; @JSName('texImage3D') - @DomName('WebGL2RenderingContext.texImage3D') - @DocsEditable() - @Experimental() // untriaged void _texImage3D_6(target, level, internalformat, width, height, depth, border, format, type, ImageBitmap bitmap) native; @JSName('texImage3D') - @DomName('WebGL2RenderingContext.texImage3D') - @DocsEditable() - @Experimental() // untriaged void _texImage3D_7(target, level, internalformat, width, height, depth, border, format, type, TypedData pixels) native; @JSName('texImage3D') - @DomName('WebGL2RenderingContext.texImage3D') - @DocsEditable() - @Experimental() // untriaged void _texImage3D_8(target, level, internalformat, width, height, depth, border, format, type, TypedData pixels, srcOffset) native; - @DomName('WebGL2RenderingContext.texStorage2D') - @DocsEditable() - @Experimental() // untriaged void texStorage2D( int target, int levels, int internalformat, int width, int height) native; - @DomName('WebGL2RenderingContext.texStorage3D') - @DocsEditable() - @Experimental() // untriaged void texStorage3D(int target, int levels, int internalformat, int width, int height, int depth) native; - @DomName('WebGL2RenderingContext.texSubImage2D') - @DocsEditable() - @Experimental() // untriaged void texSubImage2D2( int target, int level, @@ -3002,51 +1991,27 @@ class RenderingContext2 extends Interceptor } @JSName('texSubImage2D') - @DomName('WebGL2RenderingContext.texSubImage2D') - @DocsEditable() - @Experimental() // untriaged void _texSubImage2D2_1(target, level, xoffset, yoffset, width, height, format, type, int offset) native; @JSName('texSubImage2D') - @DomName('WebGL2RenderingContext.texSubImage2D') - @DocsEditable() - @Experimental() // untriaged void _texSubImage2D2_2(target, level, xoffset, yoffset, width, height, format, type, data) native; @JSName('texSubImage2D') - @DomName('WebGL2RenderingContext.texSubImage2D') - @DocsEditable() - @Experimental() // untriaged void _texSubImage2D2_3(target, level, xoffset, yoffset, width, height, format, type, ImageElement image) native; @JSName('texSubImage2D') - @DomName('WebGL2RenderingContext.texSubImage2D') - @DocsEditable() - @Experimental() // untriaged void _texSubImage2D2_4(target, level, xoffset, yoffset, width, height, format, type, CanvasElement canvas) native; @JSName('texSubImage2D') - @DomName('WebGL2RenderingContext.texSubImage2D') - @DocsEditable() - @Experimental() // untriaged void _texSubImage2D2_5(target, level, xoffset, yoffset, width, height, format, type, VideoElement video) native; @JSName('texSubImage2D') - @DomName('WebGL2RenderingContext.texSubImage2D') - @DocsEditable() - @Experimental() // untriaged void _texSubImage2D2_6(target, level, xoffset, yoffset, width, height, format, type, ImageBitmap bitmap) native; @JSName('texSubImage2D') - @DomName('WebGL2RenderingContext.texSubImage2D') - @DocsEditable() - @Experimental() // untriaged void _texSubImage2D2_7(target, level, xoffset, yoffset, width, height, format, type, TypedData srcData, srcOffset) native; - @DomName('WebGL2RenderingContext.texSubImage3D') - @DocsEditable() - @Experimental() // untriaged void texSubImage3D( int target, int level, @@ -3193,57 +2158,30 @@ class RenderingContext2 extends Interceptor } @JSName('texSubImage3D') - @DomName('WebGL2RenderingContext.texSubImage3D') - @DocsEditable() - @Experimental() // untriaged void _texSubImage3D_1(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, int offset) native; @JSName('texSubImage3D') - @DomName('WebGL2RenderingContext.texSubImage3D') - @DocsEditable() - @Experimental() // untriaged void _texSubImage3D_2(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, data) native; @JSName('texSubImage3D') - @DomName('WebGL2RenderingContext.texSubImage3D') - @DocsEditable() - @Experimental() // untriaged void _texSubImage3D_3(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, ImageElement image) native; @JSName('texSubImage3D') - @DomName('WebGL2RenderingContext.texSubImage3D') - @DocsEditable() - @Experimental() // untriaged void _texSubImage3D_4(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, CanvasElement canvas) native; @JSName('texSubImage3D') - @DomName('WebGL2RenderingContext.texSubImage3D') - @DocsEditable() - @Experimental() // untriaged void _texSubImage3D_5(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, VideoElement video) native; @JSName('texSubImage3D') - @DomName('WebGL2RenderingContext.texSubImage3D') - @DocsEditable() - @Experimental() // untriaged void _texSubImage3D_6(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, ImageBitmap bitmap) native; @JSName('texSubImage3D') - @DomName('WebGL2RenderingContext.texSubImage3D') - @DocsEditable() - @Experimental() // untriaged void _texSubImage3D_7(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, TypedData pixels) native; @JSName('texSubImage3D') - @DomName('WebGL2RenderingContext.texSubImage3D') - @DocsEditable() - @Experimental() // untriaged void _texSubImage3D_8(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, TypedData pixels, srcOffset) native; - @DomName('WebGL2RenderingContext.transformFeedbackVaryings') - @DocsEditable() - @Experimental() // untriaged void transformFeedbackVaryings( Program program, List varyings, int bufferMode) { List varyings_1 = convertDartToNative_StringArray(varyings); @@ -3252,760 +2190,340 @@ class RenderingContext2 extends Interceptor } @JSName('transformFeedbackVaryings') - @DomName('WebGL2RenderingContext.transformFeedbackVaryings') - @DocsEditable() - @Experimental() // untriaged void _transformFeedbackVaryings_1(Program program, List varyings, bufferMode) native; @JSName('uniform1fv') - @DomName('WebGL2RenderingContext.uniform1fv') - @DocsEditable() - @Experimental() // untriaged void uniform1fv2(UniformLocation location, v, int srcOffset, [int srcLength]) native; @JSName('uniform1iv') - @DomName('WebGL2RenderingContext.uniform1iv') - @DocsEditable() - @Experimental() // untriaged void uniform1iv2(UniformLocation location, v, int srcOffset, [int srcLength]) native; - @DomName('WebGL2RenderingContext.uniform1ui') - @DocsEditable() - @Experimental() // untriaged void uniform1ui(UniformLocation location, int v0) native; - @DomName('WebGL2RenderingContext.uniform1uiv') - @DocsEditable() - @Experimental() // untriaged void uniform1uiv(UniformLocation location, v, [int srcOffset, int srcLength]) native; @JSName('uniform2fv') - @DomName('WebGL2RenderingContext.uniform2fv') - @DocsEditable() - @Experimental() // untriaged void uniform2fv2(UniformLocation location, v, int srcOffset, [int srcLength]) native; @JSName('uniform2iv') - @DomName('WebGL2RenderingContext.uniform2iv') - @DocsEditable() - @Experimental() // untriaged void uniform2iv2(UniformLocation location, v, int srcOffset, [int srcLength]) native; - @DomName('WebGL2RenderingContext.uniform2ui') - @DocsEditable() - @Experimental() // untriaged void uniform2ui(UniformLocation location, int v0, int v1) native; - @DomName('WebGL2RenderingContext.uniform2uiv') - @DocsEditable() - @Experimental() // untriaged void uniform2uiv(UniformLocation location, v, [int srcOffset, int srcLength]) native; @JSName('uniform3fv') - @DomName('WebGL2RenderingContext.uniform3fv') - @DocsEditable() - @Experimental() // untriaged void uniform3fv2(UniformLocation location, v, int srcOffset, [int srcLength]) native; @JSName('uniform3iv') - @DomName('WebGL2RenderingContext.uniform3iv') - @DocsEditable() - @Experimental() // untriaged void uniform3iv2(UniformLocation location, v, int srcOffset, [int srcLength]) native; - @DomName('WebGL2RenderingContext.uniform3ui') - @DocsEditable() - @Experimental() // untriaged void uniform3ui(UniformLocation location, int v0, int v1, int v2) native; - @DomName('WebGL2RenderingContext.uniform3uiv') - @DocsEditable() - @Experimental() // untriaged void uniform3uiv(UniformLocation location, v, [int srcOffset, int srcLength]) native; @JSName('uniform4fv') - @DomName('WebGL2RenderingContext.uniform4fv') - @DocsEditable() - @Experimental() // untriaged void uniform4fv2(UniformLocation location, v, int srcOffset, [int srcLength]) native; @JSName('uniform4iv') - @DomName('WebGL2RenderingContext.uniform4iv') - @DocsEditable() - @Experimental() // untriaged void uniform4iv2(UniformLocation location, v, int srcOffset, [int srcLength]) native; - @DomName('WebGL2RenderingContext.uniform4ui') - @DocsEditable() - @Experimental() // untriaged void uniform4ui(UniformLocation location, int v0, int v1, int v2, int v3) native; - @DomName('WebGL2RenderingContext.uniform4uiv') - @DocsEditable() - @Experimental() // untriaged void uniform4uiv(UniformLocation location, v, [int srcOffset, int srcLength]) native; - @DomName('WebGL2RenderingContext.uniformBlockBinding') - @DocsEditable() - @Experimental() // untriaged void uniformBlockBinding( Program program, int uniformBlockIndex, int uniformBlockBinding) native; @JSName('uniformMatrix2fv') - @DomName('WebGL2RenderingContext.uniformMatrix2fv') - @DocsEditable() - @Experimental() // untriaged void uniformMatrix2fv2( UniformLocation location, bool transpose, array, int srcOffset, [int srcLength]) native; - @DomName('WebGL2RenderingContext.uniformMatrix2x3fv') - @DocsEditable() - @Experimental() // untriaged void uniformMatrix2x3fv(UniformLocation location, bool transpose, value, [int srcOffset, int srcLength]) native; - @DomName('WebGL2RenderingContext.uniformMatrix2x4fv') - @DocsEditable() - @Experimental() // untriaged void uniformMatrix2x4fv(UniformLocation location, bool transpose, value, [int srcOffset, int srcLength]) native; @JSName('uniformMatrix3fv') - @DomName('WebGL2RenderingContext.uniformMatrix3fv') - @DocsEditable() - @Experimental() // untriaged void uniformMatrix3fv2( UniformLocation location, bool transpose, array, int srcOffset, [int srcLength]) native; - @DomName('WebGL2RenderingContext.uniformMatrix3x2fv') - @DocsEditable() - @Experimental() // untriaged void uniformMatrix3x2fv(UniformLocation location, bool transpose, value, [int srcOffset, int srcLength]) native; - @DomName('WebGL2RenderingContext.uniformMatrix3x4fv') - @DocsEditable() - @Experimental() // untriaged void uniformMatrix3x4fv(UniformLocation location, bool transpose, value, [int srcOffset, int srcLength]) native; @JSName('uniformMatrix4fv') - @DomName('WebGL2RenderingContext.uniformMatrix4fv') - @DocsEditable() - @Experimental() // untriaged void uniformMatrix4fv2( UniformLocation location, bool transpose, array, int srcOffset, [int srcLength]) native; - @DomName('WebGL2RenderingContext.uniformMatrix4x2fv') - @DocsEditable() - @Experimental() // untriaged void uniformMatrix4x2fv(UniformLocation location, bool transpose, value, [int srcOffset, int srcLength]) native; - @DomName('WebGL2RenderingContext.uniformMatrix4x3fv') - @DocsEditable() - @Experimental() // untriaged void uniformMatrix4x3fv(UniformLocation location, bool transpose, value, [int srcOffset, int srcLength]) native; - @DomName('WebGL2RenderingContext.vertexAttribDivisor') - @DocsEditable() - @Experimental() // untriaged void vertexAttribDivisor(int index, int divisor) native; - @DomName('WebGL2RenderingContext.vertexAttribI4i') - @DocsEditable() - @Experimental() // untriaged void vertexAttribI4i(int index, int x, int y, int z, int w) native; - @DomName('WebGL2RenderingContext.vertexAttribI4iv') - @DocsEditable() - @Experimental() // untriaged void vertexAttribI4iv(int index, v) native; - @DomName('WebGL2RenderingContext.vertexAttribI4ui') - @DocsEditable() - @Experimental() // untriaged void vertexAttribI4ui(int index, int x, int y, int z, int w) native; - @DomName('WebGL2RenderingContext.vertexAttribI4uiv') - @DocsEditable() - @Experimental() // untriaged void vertexAttribI4uiv(int index, v) native; - @DomName('WebGL2RenderingContext.vertexAttribIPointer') - @DocsEditable() - @Experimental() // untriaged void vertexAttribIPointer( int index, int size, int type, int stride, int offset) native; - @DomName('WebGL2RenderingContext.waitSync') - @DocsEditable() - @Experimental() // untriaged void waitSync(Sync sync, int flags, int timeout) native; // From WebGLRenderingContextBase - @DomName('WebGL2RenderingContext.drawingBufferHeight') - @DocsEditable() - @Experimental() // untriaged final int drawingBufferHeight; - @DomName('WebGL2RenderingContext.drawingBufferWidth') - @DocsEditable() - @Experimental() // untriaged final int drawingBufferWidth; - @DomName('WebGL2RenderingContext.activeTexture') - @DocsEditable() - @Experimental() // untriaged void activeTexture(int texture) native; - @DomName('WebGL2RenderingContext.attachShader') - @DocsEditable() - @Experimental() // untriaged void attachShader(Program program, Shader shader) native; - @DomName('WebGL2RenderingContext.bindAttribLocation') - @DocsEditable() - @Experimental() // untriaged void bindAttribLocation(Program program, int index, String name) native; - @DomName('WebGL2RenderingContext.bindBuffer') - @DocsEditable() - @Experimental() // untriaged void bindBuffer(int target, Buffer buffer) native; - @DomName('WebGL2RenderingContext.bindFramebuffer') - @DocsEditable() - @Experimental() // untriaged void bindFramebuffer(int target, Framebuffer framebuffer) native; - @DomName('WebGL2RenderingContext.bindRenderbuffer') - @DocsEditable() - @Experimental() // untriaged void bindRenderbuffer(int target, Renderbuffer renderbuffer) native; - @DomName('WebGL2RenderingContext.bindTexture') - @DocsEditable() - @Experimental() // untriaged void bindTexture(int target, Texture texture) native; - @DomName('WebGL2RenderingContext.blendColor') - @DocsEditable() - @Experimental() // untriaged void blendColor(num red, num green, num blue, num alpha) native; - @DomName('WebGL2RenderingContext.blendEquation') - @DocsEditable() - @Experimental() // untriaged void blendEquation(int mode) native; - @DomName('WebGL2RenderingContext.blendEquationSeparate') - @DocsEditable() - @Experimental() // untriaged void blendEquationSeparate(int modeRGB, int modeAlpha) native; - @DomName('WebGL2RenderingContext.blendFunc') - @DocsEditable() - @Experimental() // untriaged void blendFunc(int sfactor, int dfactor) native; - @DomName('WebGL2RenderingContext.blendFuncSeparate') - @DocsEditable() - @Experimental() // untriaged void blendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha) native; - @DomName('WebGL2RenderingContext.bufferData') - @DocsEditable() - @Experimental() // untriaged void bufferData(int target, data_OR_size, int usage) native; - @DomName('WebGL2RenderingContext.bufferSubData') - @DocsEditable() - @Experimental() // untriaged void bufferSubData(int target, int offset, data) native; - @DomName('WebGL2RenderingContext.checkFramebufferStatus') - @DocsEditable() - @Experimental() // untriaged int checkFramebufferStatus(int target) native; - @DomName('WebGL2RenderingContext.clear') - @DocsEditable() - @Experimental() // untriaged void clear(int mask) native; - @DomName('WebGL2RenderingContext.clearColor') - @DocsEditable() - @Experimental() // untriaged void clearColor(num red, num green, num blue, num alpha) native; - @DomName('WebGL2RenderingContext.clearDepth') - @DocsEditable() - @Experimental() // untriaged void clearDepth(num depth) native; - @DomName('WebGL2RenderingContext.clearStencil') - @DocsEditable() - @Experimental() // untriaged void clearStencil(int s) native; - @DomName('WebGL2RenderingContext.colorMask') - @DocsEditable() - @Experimental() // untriaged void colorMask(bool red, bool green, bool blue, bool alpha) native; - @DomName('WebGL2RenderingContext.commit') - @DocsEditable() - @Experimental() // untriaged Future commit() => promiseToFuture(JS("", "#.commit()", this)); - @DomName('WebGL2RenderingContext.compileShader') - @DocsEditable() - @Experimental() // untriaged void compileShader(Shader shader) native; - @DomName('WebGL2RenderingContext.compressedTexImage2D') - @DocsEditable() - @Experimental() // untriaged void compressedTexImage2D(int target, int level, int internalformat, int width, int height, int border, TypedData data) native; - @DomName('WebGL2RenderingContext.compressedTexSubImage2D') - @DocsEditable() - @Experimental() // untriaged void compressedTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, TypedData data) native; - @DomName('WebGL2RenderingContext.copyTexImage2D') - @DocsEditable() - @Experimental() // untriaged void copyTexImage2D(int target, int level, int internalformat, int x, int y, int width, int height, int border) native; - @DomName('WebGL2RenderingContext.copyTexSubImage2D') - @DocsEditable() - @Experimental() // untriaged void copyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x, int y, int width, int height) native; - @DomName('WebGL2RenderingContext.createBuffer') - @DocsEditable() - @Experimental() // untriaged Buffer createBuffer() native; - @DomName('WebGL2RenderingContext.createFramebuffer') - @DocsEditable() - @Experimental() // untriaged Framebuffer createFramebuffer() native; - @DomName('WebGL2RenderingContext.createProgram') - @DocsEditable() - @Experimental() // untriaged Program createProgram() native; - @DomName('WebGL2RenderingContext.createRenderbuffer') - @DocsEditable() - @Experimental() // untriaged Renderbuffer createRenderbuffer() native; - @DomName('WebGL2RenderingContext.createShader') - @DocsEditable() - @Experimental() // untriaged Shader createShader(int type) native; - @DomName('WebGL2RenderingContext.createTexture') - @DocsEditable() - @Experimental() // untriaged Texture createTexture() native; - @DomName('WebGL2RenderingContext.cullFace') - @DocsEditable() - @Experimental() // untriaged void cullFace(int mode) native; - @DomName('WebGL2RenderingContext.deleteBuffer') - @DocsEditable() - @Experimental() // untriaged void deleteBuffer(Buffer buffer) native; - @DomName('WebGL2RenderingContext.deleteFramebuffer') - @DocsEditable() - @Experimental() // untriaged void deleteFramebuffer(Framebuffer framebuffer) native; - @DomName('WebGL2RenderingContext.deleteProgram') - @DocsEditable() - @Experimental() // untriaged void deleteProgram(Program program) native; - @DomName('WebGL2RenderingContext.deleteRenderbuffer') - @DocsEditable() - @Experimental() // untriaged void deleteRenderbuffer(Renderbuffer renderbuffer) native; - @DomName('WebGL2RenderingContext.deleteShader') - @DocsEditable() - @Experimental() // untriaged void deleteShader(Shader shader) native; - @DomName('WebGL2RenderingContext.deleteTexture') - @DocsEditable() - @Experimental() // untriaged void deleteTexture(Texture texture) native; - @DomName('WebGL2RenderingContext.depthFunc') - @DocsEditable() - @Experimental() // untriaged void depthFunc(int func) native; - @DomName('WebGL2RenderingContext.depthMask') - @DocsEditable() - @Experimental() // untriaged void depthMask(bool flag) native; - @DomName('WebGL2RenderingContext.depthRange') - @DocsEditable() - @Experimental() // untriaged void depthRange(num zNear, num zFar) native; - @DomName('WebGL2RenderingContext.detachShader') - @DocsEditable() - @Experimental() // untriaged void detachShader(Program program, Shader shader) native; - @DomName('WebGL2RenderingContext.disable') - @DocsEditable() - @Experimental() // untriaged void disable(int cap) native; - @DomName('WebGL2RenderingContext.disableVertexAttribArray') - @DocsEditable() - @Experimental() // untriaged void disableVertexAttribArray(int index) native; - @DomName('WebGL2RenderingContext.drawArrays') - @DocsEditable() - @Experimental() // untriaged void drawArrays(int mode, int first, int count) native; - @DomName('WebGL2RenderingContext.drawElements') - @DocsEditable() - @Experimental() // untriaged void drawElements(int mode, int count, int type, int offset) native; - @DomName('WebGL2RenderingContext.enable') - @DocsEditable() - @Experimental() // untriaged void enable(int cap) native; - @DomName('WebGL2RenderingContext.enableVertexAttribArray') - @DocsEditable() - @Experimental() // untriaged void enableVertexAttribArray(int index) native; - @DomName('WebGL2RenderingContext.finish') - @DocsEditable() - @Experimental() // untriaged void finish() native; - @DomName('WebGL2RenderingContext.flush') - @DocsEditable() - @Experimental() // untriaged void flush() native; - @DomName('WebGL2RenderingContext.framebufferRenderbuffer') - @DocsEditable() - @Experimental() // untriaged void framebufferRenderbuffer(int target, int attachment, int renderbuffertarget, Renderbuffer renderbuffer) native; - @DomName('WebGL2RenderingContext.framebufferTexture2D') - @DocsEditable() - @Experimental() // untriaged void framebufferTexture2D(int target, int attachment, int textarget, Texture texture, int level) native; - @DomName('WebGL2RenderingContext.frontFace') - @DocsEditable() - @Experimental() // untriaged void frontFace(int mode) native; - @DomName('WebGL2RenderingContext.generateMipmap') - @DocsEditable() - @Experimental() // untriaged void generateMipmap(int target) native; - @DomName('WebGL2RenderingContext.getActiveAttrib') - @DocsEditable() - @Experimental() // untriaged ActiveInfo getActiveAttrib(Program program, int index) native; - @DomName('WebGL2RenderingContext.getActiveUniform') - @DocsEditable() - @Experimental() // untriaged ActiveInfo getActiveUniform(Program program, int index) native; - @DomName('WebGL2RenderingContext.getAttachedShaders') - @DocsEditable() - @Experimental() // untriaged List getAttachedShaders(Program program) native; - @DomName('WebGL2RenderingContext.getAttribLocation') - @DocsEditable() - @Experimental() // untriaged int getAttribLocation(Program program, String name) native; - @DomName('WebGL2RenderingContext.getBufferParameter') - @DocsEditable() - @Experimental() // untriaged Object getBufferParameter(int target, int pname) native; - @DomName('WebGL2RenderingContext.getContextAttributes') - @DocsEditable() - @Experimental() // untriaged Map getContextAttributes() { return convertNativeToDart_Dictionary(_getContextAttributes_1()); } @JSName('getContextAttributes') - @DomName('WebGL2RenderingContext.getContextAttributes') - @DocsEditable() - @Experimental() // untriaged _getContextAttributes_1() native; - @DomName('WebGL2RenderingContext.getError') - @DocsEditable() - @Experimental() // untriaged int getError() native; - @DomName('WebGL2RenderingContext.getExtension') - @DocsEditable() - @Experimental() // untriaged Object getExtension(String name) native; - @DomName('WebGL2RenderingContext.getFramebufferAttachmentParameter') - @DocsEditable() - @Experimental() // untriaged Object getFramebufferAttachmentParameter( int target, int attachment, int pname) native; - @DomName('WebGL2RenderingContext.getParameter') - @DocsEditable() - @Experimental() // untriaged Object getParameter(int pname) native; - @DomName('WebGL2RenderingContext.getProgramInfoLog') - @DocsEditable() - @Experimental() // untriaged String getProgramInfoLog(Program program) native; - @DomName('WebGL2RenderingContext.getProgramParameter') - @DocsEditable() - @Experimental() // untriaged Object getProgramParameter(Program program, int pname) native; - @DomName('WebGL2RenderingContext.getRenderbufferParameter') - @DocsEditable() - @Experimental() // untriaged Object getRenderbufferParameter(int target, int pname) native; - @DomName('WebGL2RenderingContext.getShaderInfoLog') - @DocsEditable() - @Experimental() // untriaged String getShaderInfoLog(Shader shader) native; - @DomName('WebGL2RenderingContext.getShaderParameter') - @DocsEditable() - @Experimental() // untriaged Object getShaderParameter(Shader shader, int pname) native; - @DomName('WebGL2RenderingContext.getShaderPrecisionFormat') - @DocsEditable() - @Experimental() // untriaged ShaderPrecisionFormat getShaderPrecisionFormat( int shadertype, int precisiontype) native; - @DomName('WebGL2RenderingContext.getShaderSource') - @DocsEditable() - @Experimental() // untriaged String getShaderSource(Shader shader) native; - @DomName('WebGL2RenderingContext.getSupportedExtensions') - @DocsEditable() - @Experimental() // untriaged List getSupportedExtensions() native; - @DomName('WebGL2RenderingContext.getTexParameter') - @DocsEditable() - @Experimental() // untriaged Object getTexParameter(int target, int pname) native; - @DomName('WebGL2RenderingContext.getUniform') - @DocsEditable() - @Experimental() // untriaged Object getUniform(Program program, UniformLocation location) native; - @DomName('WebGL2RenderingContext.getUniformLocation') - @DocsEditable() - @Experimental() // untriaged UniformLocation getUniformLocation(Program program, String name) native; - @DomName('WebGL2RenderingContext.getVertexAttrib') - @DocsEditable() - @Experimental() // untriaged Object getVertexAttrib(int index, int pname) native; - @DomName('WebGL2RenderingContext.getVertexAttribOffset') - @DocsEditable() - @Experimental() // untriaged int getVertexAttribOffset(int index, int pname) native; - @DomName('WebGL2RenderingContext.hint') - @DocsEditable() - @Experimental() // untriaged void hint(int target, int mode) native; - @DomName('WebGL2RenderingContext.isBuffer') - @DocsEditable() - @Experimental() // untriaged bool isBuffer(Buffer buffer) native; - @DomName('WebGL2RenderingContext.isContextLost') - @DocsEditable() - @Experimental() // untriaged bool isContextLost() native; - @DomName('WebGL2RenderingContext.isEnabled') - @DocsEditable() - @Experimental() // untriaged bool isEnabled(int cap) native; - @DomName('WebGL2RenderingContext.isFramebuffer') - @DocsEditable() - @Experimental() // untriaged bool isFramebuffer(Framebuffer framebuffer) native; - @DomName('WebGL2RenderingContext.isProgram') - @DocsEditable() - @Experimental() // untriaged bool isProgram(Program program) native; - @DomName('WebGL2RenderingContext.isRenderbuffer') - @DocsEditable() - @Experimental() // untriaged bool isRenderbuffer(Renderbuffer renderbuffer) native; - @DomName('WebGL2RenderingContext.isShader') - @DocsEditable() - @Experimental() // untriaged bool isShader(Shader shader) native; - @DomName('WebGL2RenderingContext.isTexture') - @DocsEditable() - @Experimental() // untriaged bool isTexture(Texture texture) native; - @DomName('WebGL2RenderingContext.lineWidth') - @DocsEditable() - @Experimental() // untriaged void lineWidth(num width) native; - @DomName('WebGL2RenderingContext.linkProgram') - @DocsEditable() - @Experimental() // untriaged void linkProgram(Program program) native; - @DomName('WebGL2RenderingContext.pixelStorei') - @DocsEditable() - @Experimental() // untriaged void pixelStorei(int pname, int param) native; - @DomName('WebGL2RenderingContext.polygonOffset') - @DocsEditable() - @Experimental() // untriaged void polygonOffset(num factor, num units) native; @JSName('readPixels') - @DomName('WebGL2RenderingContext.readPixels') - @DocsEditable() - @Experimental() // untriaged void _readPixels(int x, int y, int width, int height, int format, int type, TypedData pixels) native; - @DomName('WebGL2RenderingContext.renderbufferStorage') - @DocsEditable() - @Experimental() // untriaged void renderbufferStorage( int target, int internalformat, int width, int height) native; - @DomName('WebGL2RenderingContext.sampleCoverage') - @DocsEditable() - @Experimental() // untriaged void sampleCoverage(num value, bool invert) native; - @DomName('WebGL2RenderingContext.scissor') - @DocsEditable() - @Experimental() // untriaged void scissor(int x, int y, int width, int height) native; - @DomName('WebGL2RenderingContext.shaderSource') - @DocsEditable() - @Experimental() // untriaged void shaderSource(Shader shader, String string) native; - @DomName('WebGL2RenderingContext.stencilFunc') - @DocsEditable() - @Experimental() // untriaged void stencilFunc(int func, int ref, int mask) native; - @DomName('WebGL2RenderingContext.stencilFuncSeparate') - @DocsEditable() - @Experimental() // untriaged void stencilFuncSeparate(int face, int func, int ref, int mask) native; - @DomName('WebGL2RenderingContext.stencilMask') - @DocsEditable() - @Experimental() // untriaged void stencilMask(int mask) native; - @DomName('WebGL2RenderingContext.stencilMaskSeparate') - @DocsEditable() - @Experimental() // untriaged void stencilMaskSeparate(int face, int mask) native; - @DomName('WebGL2RenderingContext.stencilOp') - @DocsEditable() - @Experimental() // untriaged void stencilOp(int fail, int zfail, int zpass) native; - @DomName('WebGL2RenderingContext.stencilOpSeparate') - @DocsEditable() - @Experimental() // untriaged void stencilOpSeparate(int face, int fail, int zfail, int zpass) native; - @DomName('WebGL2RenderingContext.texImage2D') - @DocsEditable() - @Experimental() // untriaged void texImage2D( int target, int level, @@ -4101,55 +2619,28 @@ class RenderingContext2 extends Interceptor } @JSName('texImage2D') - @DomName('WebGL2RenderingContext.texImage2D') - @DocsEditable() - @Experimental() // untriaged void _texImage2D_1(target, level, internalformat, width, height, int border, format, type, TypedData pixels) native; @JSName('texImage2D') - @DomName('WebGL2RenderingContext.texImage2D') - @DocsEditable() - @Experimental() // untriaged void _texImage2D_2(target, level, internalformat, format, type, pixels) native; @JSName('texImage2D') - @DomName('WebGL2RenderingContext.texImage2D') - @DocsEditable() - @Experimental() // untriaged void _texImage2D_3( target, level, internalformat, format, type, ImageElement image) native; @JSName('texImage2D') - @DomName('WebGL2RenderingContext.texImage2D') - @DocsEditable() - @Experimental() // untriaged void _texImage2D_4( target, level, internalformat, format, type, CanvasElement canvas) native; @JSName('texImage2D') - @DomName('WebGL2RenderingContext.texImage2D') - @DocsEditable() - @Experimental() // untriaged void _texImage2D_5( target, level, internalformat, format, type, VideoElement video) native; @JSName('texImage2D') - @DomName('WebGL2RenderingContext.texImage2D') - @DocsEditable() - @Experimental() // untriaged void _texImage2D_6( target, level, internalformat, format, type, ImageBitmap bitmap) native; - @DomName('WebGL2RenderingContext.texParameterf') - @DocsEditable() - @Experimental() // untriaged void texParameterf(int target, int pname, num param) native; - @DomName('WebGL2RenderingContext.texParameteri') - @DocsEditable() - @Experimental() // untriaged void texParameteri(int target, int pname, int param) native; - @DomName('WebGL2RenderingContext.texSubImage2D') - @DocsEditable() - @Experimental() // untriaged void texSubImage2D( int target, int level, @@ -4243,200 +2734,87 @@ class RenderingContext2 extends Interceptor } @JSName('texSubImage2D') - @DomName('WebGL2RenderingContext.texSubImage2D') - @DocsEditable() - @Experimental() // untriaged void _texSubImage2D_1(target, level, xoffset, yoffset, width, height, int format, type, TypedData pixels) native; @JSName('texSubImage2D') - @DomName('WebGL2RenderingContext.texSubImage2D') - @DocsEditable() - @Experimental() // untriaged void _texSubImage2D_2(target, level, xoffset, yoffset, format, type, pixels) native; @JSName('texSubImage2D') - @DomName('WebGL2RenderingContext.texSubImage2D') - @DocsEditable() - @Experimental() // untriaged void _texSubImage2D_3( target, level, xoffset, yoffset, format, type, ImageElement image) native; @JSName('texSubImage2D') - @DomName('WebGL2RenderingContext.texSubImage2D') - @DocsEditable() - @Experimental() // untriaged void _texSubImage2D_4(target, level, xoffset, yoffset, format, type, CanvasElement canvas) native; @JSName('texSubImage2D') - @DomName('WebGL2RenderingContext.texSubImage2D') - @DocsEditable() - @Experimental() // untriaged void _texSubImage2D_5( target, level, xoffset, yoffset, format, type, VideoElement video) native; @JSName('texSubImage2D') - @DomName('WebGL2RenderingContext.texSubImage2D') - @DocsEditable() - @Experimental() // untriaged void _texSubImage2D_6( target, level, xoffset, yoffset, format, type, ImageBitmap bitmap) native; - @DomName('WebGL2RenderingContext.uniform1f') - @DocsEditable() - @Experimental() // untriaged void uniform1f(UniformLocation location, num x) native; - @DomName('WebGL2RenderingContext.uniform1fv') - @DocsEditable() - @Experimental() // untriaged void uniform1fv(UniformLocation location, v) native; - @DomName('WebGL2RenderingContext.uniform1i') - @DocsEditable() - @Experimental() // untriaged void uniform1i(UniformLocation location, int x) native; - @DomName('WebGL2RenderingContext.uniform1iv') - @DocsEditable() - @Experimental() // untriaged void uniform1iv(UniformLocation location, v) native; - @DomName('WebGL2RenderingContext.uniform2f') - @DocsEditable() - @Experimental() // untriaged void uniform2f(UniformLocation location, num x, num y) native; - @DomName('WebGL2RenderingContext.uniform2fv') - @DocsEditable() - @Experimental() // untriaged void uniform2fv(UniformLocation location, v) native; - @DomName('WebGL2RenderingContext.uniform2i') - @DocsEditable() - @Experimental() // untriaged void uniform2i(UniformLocation location, int x, int y) native; - @DomName('WebGL2RenderingContext.uniform2iv') - @DocsEditable() - @Experimental() // untriaged void uniform2iv(UniformLocation location, v) native; - @DomName('WebGL2RenderingContext.uniform3f') - @DocsEditable() - @Experimental() // untriaged void uniform3f(UniformLocation location, num x, num y, num z) native; - @DomName('WebGL2RenderingContext.uniform3fv') - @DocsEditable() - @Experimental() // untriaged void uniform3fv(UniformLocation location, v) native; - @DomName('WebGL2RenderingContext.uniform3i') - @DocsEditable() - @Experimental() // untriaged void uniform3i(UniformLocation location, int x, int y, int z) native; - @DomName('WebGL2RenderingContext.uniform3iv') - @DocsEditable() - @Experimental() // untriaged void uniform3iv(UniformLocation location, v) native; - @DomName('WebGL2RenderingContext.uniform4f') - @DocsEditable() - @Experimental() // untriaged void uniform4f(UniformLocation location, num x, num y, num z, num w) native; - @DomName('WebGL2RenderingContext.uniform4fv') - @DocsEditable() - @Experimental() // untriaged void uniform4fv(UniformLocation location, v) native; - @DomName('WebGL2RenderingContext.uniform4i') - @DocsEditable() - @Experimental() // untriaged void uniform4i(UniformLocation location, int x, int y, int z, int w) native; - @DomName('WebGL2RenderingContext.uniform4iv') - @DocsEditable() - @Experimental() // untriaged void uniform4iv(UniformLocation location, v) native; - @DomName('WebGL2RenderingContext.uniformMatrix2fv') - @DocsEditable() - @Experimental() // untriaged void uniformMatrix2fv(UniformLocation location, bool transpose, array) native; - @DomName('WebGL2RenderingContext.uniformMatrix3fv') - @DocsEditable() - @Experimental() // untriaged void uniformMatrix3fv(UniformLocation location, bool transpose, array) native; - @DomName('WebGL2RenderingContext.uniformMatrix4fv') - @DocsEditable() - @Experimental() // untriaged void uniformMatrix4fv(UniformLocation location, bool transpose, array) native; - @DomName('WebGL2RenderingContext.useProgram') - @DocsEditable() - @Experimental() // untriaged void useProgram(Program program) native; - @DomName('WebGL2RenderingContext.validateProgram') - @DocsEditable() - @Experimental() // untriaged void validateProgram(Program program) native; - @DomName('WebGL2RenderingContext.vertexAttrib1f') - @DocsEditable() - @Experimental() // untriaged void vertexAttrib1f(int indx, num x) native; - @DomName('WebGL2RenderingContext.vertexAttrib1fv') - @DocsEditable() - @Experimental() // untriaged void vertexAttrib1fv(int indx, values) native; - @DomName('WebGL2RenderingContext.vertexAttrib2f') - @DocsEditable() - @Experimental() // untriaged void vertexAttrib2f(int indx, num x, num y) native; - @DomName('WebGL2RenderingContext.vertexAttrib2fv') - @DocsEditable() - @Experimental() // untriaged void vertexAttrib2fv(int indx, values) native; - @DomName('WebGL2RenderingContext.vertexAttrib3f') - @DocsEditable() - @Experimental() // untriaged void vertexAttrib3f(int indx, num x, num y, num z) native; - @DomName('WebGL2RenderingContext.vertexAttrib3fv') - @DocsEditable() - @Experimental() // untriaged void vertexAttrib3fv(int indx, values) native; - @DomName('WebGL2RenderingContext.vertexAttrib4f') - @DocsEditable() - @Experimental() // untriaged void vertexAttrib4f(int indx, num x, num y, num z, num w) native; - @DomName('WebGL2RenderingContext.vertexAttrib4fv') - @DocsEditable() - @Experimental() // untriaged void vertexAttrib4fv(int indx, values) native; - @DomName('WebGL2RenderingContext.vertexAttribPointer') - @DocsEditable() - @Experimental() // untriaged void vertexAttribPointer(int indx, int size, int type, bool normalized, int stride, int offset) native; - @DomName('WebGL2RenderingContext.viewport') - @DocsEditable() - @Experimental() // untriaged void viewport(int x, int y, int width, int height) native; - @DomName('WebGLRenderingContext2.readPixels') - @DocsEditable() void readPixels(int x, int y, int width, int height, int format, int type, TypedData pixels) { _readPixels(x, y, width, height, format, type, pixels); @@ -4447,9 +2825,6 @@ class RenderingContext2 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('WebGLSampler') -@Experimental() // untriaged @Native("WebGLSampler") class Sampler extends Interceptor { // To suppress missing implicit constructor warnings. @@ -4461,8 +2836,6 @@ class Sampler 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('WebGLShader') @Native("WebGLShader") class Shader extends Interceptor { // To suppress missing implicit constructor warnings. @@ -4474,8 +2847,6 @@ class Shader 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('WebGLShaderPrecisionFormat') @Native("WebGLShaderPrecisionFormat") class ShaderPrecisionFormat extends Interceptor { // To suppress missing implicit constructor warnings. @@ -4483,25 +2854,16 @@ class ShaderPrecisionFormat extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('WebGLShaderPrecisionFormat.precision') - @DocsEditable() final int precision; - @DomName('WebGLShaderPrecisionFormat.rangeMax') - @DocsEditable() final int rangeMax; - @DomName('WebGLShaderPrecisionFormat.rangeMin') - @DocsEditable() final int 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('WebGLSync') -@Experimental() // untriaged @Native("WebGLSync") class Sync extends Interceptor { // To suppress missing implicit constructor warnings. @@ -4513,8 +2875,6 @@ class Sync 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('WebGLTexture') @Native("WebGLTexture") class Texture extends Interceptor { // To suppress missing implicit constructor warnings. @@ -4522,33 +2882,18 @@ class Texture extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('WebGLTexture.lastUploadedVideoFrameWasSkipped') - @DocsEditable() - @Experimental() // untriaged final bool lastUploadedVideoFrameWasSkipped; - @DomName('WebGLTexture.lastUploadedVideoHeight') - @DocsEditable() - @Experimental() // untriaged final int lastUploadedVideoHeight; - @DomName('WebGLTexture.lastUploadedVideoTimestamp') - @DocsEditable() - @Experimental() // untriaged final num lastUploadedVideoTimestamp; - @DomName('WebGLTexture.lastUploadedVideoWidth') - @DocsEditable() - @Experimental() // untriaged final int lastUploadedVideoWidth; } // Copyright (c) 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('WebGLTimerQueryEXT') -@Experimental() // untriaged @Native("WebGLTimerQueryEXT") class TimerQueryExt extends Interceptor { // To suppress missing implicit constructor warnings. @@ -4560,9 +2905,6 @@ class TimerQueryExt 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('WebGLTransformFeedback') -@Experimental() // untriaged @Native("WebGLTransformFeedback") class TransformFeedback extends Interceptor { // To suppress missing implicit constructor warnings. @@ -4574,8 +2916,6 @@ class TransformFeedback 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('WebGLUniformLocation') @Native("WebGLUniformLocation") class UniformLocation extends Interceptor { // To suppress missing implicit constructor warnings. @@ -4587,9 +2927,6 @@ class UniformLocation 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('WebGLVertexArrayObject') -@Experimental() // untriaged @Native("WebGLVertexArrayObject") class VertexArrayObject extends Interceptor { // To suppress missing implicit constructor warnings. @@ -4601,10 +2938,6 @@ class VertexArrayObject 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('WebGLVertexArrayObjectOES') -// http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/ -@Experimental() // experimental @Native("WebGLVertexArrayObjectOES") class VertexArrayObjectOes extends Interceptor { // To suppress missing implicit constructor warnings. @@ -4622,8 +2955,6 @@ class VertexArrayObjectOes extends Interceptor { /// replicated in more than one class (e.g., RenderingContext and /// RenderingContext2) to prevent that duplication these 600+ constants are /// defined in one abstract class (WebGL). -@DomName('WebGL') -@Experimental() // untriaged @Native("WebGL") abstract class WebGL { // To suppress missing implicit constructor warnings. @@ -4631,2978 +2962,1196 @@ abstract class WebGL { throw new UnsupportedError("Not supported"); } - @DomName('WebGL.ACTIVE_ATTRIBUTES') - @DocsEditable() - @Experimental() // untriaged static const int ACTIVE_ATTRIBUTES = 0x8B89; - @DomName('WebGL.ACTIVE_TEXTURE') - @DocsEditable() - @Experimental() // untriaged static const int ACTIVE_TEXTURE = 0x84E0; - @DomName('WebGL.ACTIVE_UNIFORMS') - @DocsEditable() - @Experimental() // untriaged static const int ACTIVE_UNIFORMS = 0x8B86; - @DomName('WebGL.ACTIVE_UNIFORM_BLOCKS') - @DocsEditable() - @Experimental() // untriaged static const int ACTIVE_UNIFORM_BLOCKS = 0x8A36; - @DomName('WebGL.ALIASED_LINE_WIDTH_RANGE') - @DocsEditable() - @Experimental() // untriaged static const int ALIASED_LINE_WIDTH_RANGE = 0x846E; - @DomName('WebGL.ALIASED_POINT_SIZE_RANGE') - @DocsEditable() - @Experimental() // untriaged static const int ALIASED_POINT_SIZE_RANGE = 0x846D; - @DomName('WebGL.ALPHA') - @DocsEditable() - @Experimental() // untriaged static const int ALPHA = 0x1906; - @DomName('WebGL.ALPHA_BITS') - @DocsEditable() - @Experimental() // untriaged static const int ALPHA_BITS = 0x0D55; - @DomName('WebGL.ALREADY_SIGNALED') - @DocsEditable() - @Experimental() // untriaged static const int ALREADY_SIGNALED = 0x911A; - @DomName('WebGL.ALWAYS') - @DocsEditable() - @Experimental() // untriaged static const int ALWAYS = 0x0207; - @DomName('WebGL.ANY_SAMPLES_PASSED') - @DocsEditable() - @Experimental() // untriaged static const int ANY_SAMPLES_PASSED = 0x8C2F; - @DomName('WebGL.ANY_SAMPLES_PASSED_CONSERVATIVE') - @DocsEditable() - @Experimental() // untriaged static const int ANY_SAMPLES_PASSED_CONSERVATIVE = 0x8D6A; - @DomName('WebGL.ARRAY_BUFFER') - @DocsEditable() - @Experimental() // untriaged static const int ARRAY_BUFFER = 0x8892; - @DomName('WebGL.ARRAY_BUFFER_BINDING') - @DocsEditable() - @Experimental() // untriaged static const int ARRAY_BUFFER_BINDING = 0x8894; - @DomName('WebGL.ATTACHED_SHADERS') - @DocsEditable() - @Experimental() // untriaged static const int ATTACHED_SHADERS = 0x8B85; - @DomName('WebGL.BACK') - @DocsEditable() - @Experimental() // untriaged static const int BACK = 0x0405; - @DomName('WebGL.BLEND') - @DocsEditable() - @Experimental() // untriaged static const int BLEND = 0x0BE2; - @DomName('WebGL.BLEND_COLOR') - @DocsEditable() - @Experimental() // untriaged static const int BLEND_COLOR = 0x8005; - @DomName('WebGL.BLEND_DST_ALPHA') - @DocsEditable() - @Experimental() // untriaged static const int BLEND_DST_ALPHA = 0x80CA; - @DomName('WebGL.BLEND_DST_RGB') - @DocsEditable() - @Experimental() // untriaged static const int BLEND_DST_RGB = 0x80C8; - @DomName('WebGL.BLEND_EQUATION') - @DocsEditable() - @Experimental() // untriaged static const int BLEND_EQUATION = 0x8009; - @DomName('WebGL.BLEND_EQUATION_ALPHA') - @DocsEditable() - @Experimental() // untriaged static const int BLEND_EQUATION_ALPHA = 0x883D; - @DomName('WebGL.BLEND_EQUATION_RGB') - @DocsEditable() - @Experimental() // untriaged static const int BLEND_EQUATION_RGB = 0x8009; - @DomName('WebGL.BLEND_SRC_ALPHA') - @DocsEditable() - @Experimental() // untriaged static const int BLEND_SRC_ALPHA = 0x80CB; - @DomName('WebGL.BLEND_SRC_RGB') - @DocsEditable() - @Experimental() // untriaged static const int BLEND_SRC_RGB = 0x80C9; - @DomName('WebGL.BLUE_BITS') - @DocsEditable() - @Experimental() // untriaged static const int BLUE_BITS = 0x0D54; - @DomName('WebGL.BOOL') - @DocsEditable() - @Experimental() // untriaged static const int BOOL = 0x8B56; - @DomName('WebGL.BOOL_VEC2') - @DocsEditable() - @Experimental() // untriaged static const int BOOL_VEC2 = 0x8B57; - @DomName('WebGL.BOOL_VEC3') - @DocsEditable() - @Experimental() // untriaged static const int BOOL_VEC3 = 0x8B58; - @DomName('WebGL.BOOL_VEC4') - @DocsEditable() - @Experimental() // untriaged static const int BOOL_VEC4 = 0x8B59; - @DomName('WebGL.BROWSER_DEFAULT_WEBGL') - @DocsEditable() - @Experimental() // untriaged static const int BROWSER_DEFAULT_WEBGL = 0x9244; - @DomName('WebGL.BUFFER_SIZE') - @DocsEditable() - @Experimental() // untriaged static const int BUFFER_SIZE = 0x8764; - @DomName('WebGL.BUFFER_USAGE') - @DocsEditable() - @Experimental() // untriaged static const int BUFFER_USAGE = 0x8765; - @DomName('WebGL.BYTE') - @DocsEditable() - @Experimental() // untriaged static const int BYTE = 0x1400; - @DomName('WebGL.CCW') - @DocsEditable() - @Experimental() // untriaged static const int CCW = 0x0901; - @DomName('WebGL.CLAMP_TO_EDGE') - @DocsEditable() - @Experimental() // untriaged static const int CLAMP_TO_EDGE = 0x812F; - @DomName('WebGL.COLOR') - @DocsEditable() - @Experimental() // untriaged static const int COLOR = 0x1800; - @DomName('WebGL.COLOR_ATTACHMENT0') - @DocsEditable() - @Experimental() // untriaged static const int COLOR_ATTACHMENT0 = 0x8CE0; - @DomName('WebGL.COLOR_ATTACHMENT0_WEBGL') - @DocsEditable() - @Experimental() // untriaged static const int COLOR_ATTACHMENT0_WEBGL = 0x8CE0; - @DomName('WebGL.COLOR_ATTACHMENT1') - @DocsEditable() - @Experimental() // untriaged static const int COLOR_ATTACHMENT1 = 0x8CE1; - @DomName('WebGL.COLOR_ATTACHMENT10') - @DocsEditable() - @Experimental() // untriaged static const int COLOR_ATTACHMENT10 = 0x8CEA; - @DomName('WebGL.COLOR_ATTACHMENT10_WEBGL') - @DocsEditable() - @Experimental() // untriaged static const int COLOR_ATTACHMENT10_WEBGL = 0x8CEA; - @DomName('WebGL.COLOR_ATTACHMENT11') - @DocsEditable() - @Experimental() // untriaged static const int COLOR_ATTACHMENT11 = 0x8CEB; - @DomName('WebGL.COLOR_ATTACHMENT11_WEBGL') - @DocsEditable() - @Experimental() // untriaged static const int COLOR_ATTACHMENT11_WEBGL = 0x8CEB; - @DomName('WebGL.COLOR_ATTACHMENT12') - @DocsEditable() - @Experimental() // untriaged static const int COLOR_ATTACHMENT12 = 0x8CEC; - @DomName('WebGL.COLOR_ATTACHMENT12_WEBGL') - @DocsEditable() - @Experimental() // untriaged static const int COLOR_ATTACHMENT12_WEBGL = 0x8CEC; - @DomName('WebGL.COLOR_ATTACHMENT13') - @DocsEditable() - @Experimental() // untriaged static const int COLOR_ATTACHMENT13 = 0x8CED; - @DomName('WebGL.COLOR_ATTACHMENT13_WEBGL') - @DocsEditable() - @Experimental() // untriaged static const int COLOR_ATTACHMENT13_WEBGL = 0x8CED; - @DomName('WebGL.COLOR_ATTACHMENT14') - @DocsEditable() - @Experimental() // untriaged static const int COLOR_ATTACHMENT14 = 0x8CEE; - @DomName('WebGL.COLOR_ATTACHMENT14_WEBGL') - @DocsEditable() - @Experimental() // untriaged static const int COLOR_ATTACHMENT14_WEBGL = 0x8CEE; - @DomName('WebGL.COLOR_ATTACHMENT15') - @DocsEditable() - @Experimental() // untriaged static const int COLOR_ATTACHMENT15 = 0x8CEF; - @DomName('WebGL.COLOR_ATTACHMENT15_WEBGL') - @DocsEditable() - @Experimental() // untriaged static const int COLOR_ATTACHMENT15_WEBGL = 0x8CEF; - @DomName('WebGL.COLOR_ATTACHMENT1_WEBGL') - @DocsEditable() - @Experimental() // untriaged static const int COLOR_ATTACHMENT1_WEBGL = 0x8CE1; - @DomName('WebGL.COLOR_ATTACHMENT2') - @DocsEditable() - @Experimental() // untriaged static const int COLOR_ATTACHMENT2 = 0x8CE2; - @DomName('WebGL.COLOR_ATTACHMENT2_WEBGL') - @DocsEditable() - @Experimental() // untriaged static const int COLOR_ATTACHMENT2_WEBGL = 0x8CE2; - @DomName('WebGL.COLOR_ATTACHMENT3') - @DocsEditable() - @Experimental() // untriaged static const int COLOR_ATTACHMENT3 = 0x8CE3; - @DomName('WebGL.COLOR_ATTACHMENT3_WEBGL') - @DocsEditable() - @Experimental() // untriaged static const int COLOR_ATTACHMENT3_WEBGL = 0x8CE3; - @DomName('WebGL.COLOR_ATTACHMENT4') - @DocsEditable() - @Experimental() // untriaged static const int COLOR_ATTACHMENT4 = 0x8CE4; - @DomName('WebGL.COLOR_ATTACHMENT4_WEBGL') - @DocsEditable() - @Experimental() // untriaged static const int COLOR_ATTACHMENT4_WEBGL = 0x8CE4; - @DomName('WebGL.COLOR_ATTACHMENT5') - @DocsEditable() - @Experimental() // untriaged static const int COLOR_ATTACHMENT5 = 0x8CE5; - @DomName('WebGL.COLOR_ATTACHMENT5_WEBGL') - @DocsEditable() - @Experimental() // untriaged static const int COLOR_ATTACHMENT5_WEBGL = 0x8CE5; - @DomName('WebGL.COLOR_ATTACHMENT6') - @DocsEditable() - @Experimental() // untriaged static const int COLOR_ATTACHMENT6 = 0x8CE6; - @DomName('WebGL.COLOR_ATTACHMENT6_WEBGL') - @DocsEditable() - @Experimental() // untriaged static const int COLOR_ATTACHMENT6_WEBGL = 0x8CE6; - @DomName('WebGL.COLOR_ATTACHMENT7') - @DocsEditable() - @Experimental() // untriaged static const int COLOR_ATTACHMENT7 = 0x8CE7; - @DomName('WebGL.COLOR_ATTACHMENT7_WEBGL') - @DocsEditable() - @Experimental() // untriaged static const int COLOR_ATTACHMENT7_WEBGL = 0x8CE7; - @DomName('WebGL.COLOR_ATTACHMENT8') - @DocsEditable() - @Experimental() // untriaged static const int COLOR_ATTACHMENT8 = 0x8CE8; - @DomName('WebGL.COLOR_ATTACHMENT8_WEBGL') - @DocsEditable() - @Experimental() // untriaged static const int COLOR_ATTACHMENT8_WEBGL = 0x8CE8; - @DomName('WebGL.COLOR_ATTACHMENT9') - @DocsEditable() - @Experimental() // untriaged static const int COLOR_ATTACHMENT9 = 0x8CE9; - @DomName('WebGL.COLOR_ATTACHMENT9_WEBGL') - @DocsEditable() - @Experimental() // untriaged static const int COLOR_ATTACHMENT9_WEBGL = 0x8CE9; - @DomName('WebGL.COLOR_BUFFER_BIT') - @DocsEditable() - @Experimental() // untriaged static const int COLOR_BUFFER_BIT = 0x00004000; - @DomName('WebGL.COLOR_CLEAR_VALUE') - @DocsEditable() - @Experimental() // untriaged static const int COLOR_CLEAR_VALUE = 0x0C22; - @DomName('WebGL.COLOR_WRITEMASK') - @DocsEditable() - @Experimental() // untriaged static const int COLOR_WRITEMASK = 0x0C23; - @DomName('WebGL.COMPARE_REF_TO_TEXTURE') - @DocsEditable() - @Experimental() // untriaged static const int COMPARE_REF_TO_TEXTURE = 0x884E; - @DomName('WebGL.COMPILE_STATUS') - @DocsEditable() - @Experimental() // untriaged static const int COMPILE_STATUS = 0x8B81; - @DomName('WebGL.COMPRESSED_TEXTURE_FORMATS') - @DocsEditable() - @Experimental() // untriaged static const int COMPRESSED_TEXTURE_FORMATS = 0x86A3; - @DomName('WebGL.CONDITION_SATISFIED') - @DocsEditable() - @Experimental() // untriaged static const int CONDITION_SATISFIED = 0x911C; - @DomName('WebGL.CONSTANT_ALPHA') - @DocsEditable() - @Experimental() // untriaged static const int CONSTANT_ALPHA = 0x8003; - @DomName('WebGL.CONSTANT_COLOR') - @DocsEditable() - @Experimental() // untriaged static const int CONSTANT_COLOR = 0x8001; - @DomName('WebGL.CONTEXT_LOST_WEBGL') - @DocsEditable() - @Experimental() // untriaged static const int CONTEXT_LOST_WEBGL = 0x9242; - @DomName('WebGL.COPY_READ_BUFFER') - @DocsEditable() - @Experimental() // untriaged static const int COPY_READ_BUFFER = 0x8F36; - @DomName('WebGL.COPY_READ_BUFFER_BINDING') - @DocsEditable() - @Experimental() // untriaged static const int COPY_READ_BUFFER_BINDING = 0x8F36; - @DomName('WebGL.COPY_WRITE_BUFFER') - @DocsEditable() - @Experimental() // untriaged static const int COPY_WRITE_BUFFER = 0x8F37; - @DomName('WebGL.COPY_WRITE_BUFFER_BINDING') - @DocsEditable() - @Experimental() // untriaged static const int COPY_WRITE_BUFFER_BINDING = 0x8F37; - @DomName('WebGL.CULL_FACE') - @DocsEditable() - @Experimental() // untriaged static const int CULL_FACE = 0x0B44; - @DomName('WebGL.CULL_FACE_MODE') - @DocsEditable() - @Experimental() // untriaged static const int CULL_FACE_MODE = 0x0B45; - @DomName('WebGL.CURRENT_PROGRAM') - @DocsEditable() - @Experimental() // untriaged static const int CURRENT_PROGRAM = 0x8B8D; - @DomName('WebGL.CURRENT_QUERY') - @DocsEditable() - @Experimental() // untriaged static const int CURRENT_QUERY = 0x8865; - @DomName('WebGL.CURRENT_VERTEX_ATTRIB') - @DocsEditable() - @Experimental() // untriaged static const int CURRENT_VERTEX_ATTRIB = 0x8626; - @DomName('WebGL.CW') - @DocsEditable() - @Experimental() // untriaged static const int CW = 0x0900; - @DomName('WebGL.DECR') - @DocsEditable() - @Experimental() // untriaged static const int DECR = 0x1E03; - @DomName('WebGL.DECR_WRAP') - @DocsEditable() - @Experimental() // untriaged static const int DECR_WRAP = 0x8508; - @DomName('WebGL.DELETE_STATUS') - @DocsEditable() - @Experimental() // untriaged static const int DELETE_STATUS = 0x8B80; - @DomName('WebGL.DEPTH') - @DocsEditable() - @Experimental() // untriaged static const int DEPTH = 0x1801; - @DomName('WebGL.DEPTH24_STENCIL8') - @DocsEditable() - @Experimental() // untriaged static const int DEPTH24_STENCIL8 = 0x88F0; - @DomName('WebGL.DEPTH32F_STENCIL8') - @DocsEditable() - @Experimental() // untriaged static const int DEPTH32F_STENCIL8 = 0x8CAD; - @DomName('WebGL.DEPTH_ATTACHMENT') - @DocsEditable() - @Experimental() // untriaged static const int DEPTH_ATTACHMENT = 0x8D00; - @DomName('WebGL.DEPTH_BITS') - @DocsEditable() - @Experimental() // untriaged static const int DEPTH_BITS = 0x0D56; - @DomName('WebGL.DEPTH_BUFFER_BIT') - @DocsEditable() - @Experimental() // untriaged static const int DEPTH_BUFFER_BIT = 0x00000100; - @DomName('WebGL.DEPTH_CLEAR_VALUE') - @DocsEditable() - @Experimental() // untriaged static const int DEPTH_CLEAR_VALUE = 0x0B73; - @DomName('WebGL.DEPTH_COMPONENT') - @DocsEditable() - @Experimental() // untriaged static const int DEPTH_COMPONENT = 0x1902; - @DomName('WebGL.DEPTH_COMPONENT16') - @DocsEditable() - @Experimental() // untriaged static const int DEPTH_COMPONENT16 = 0x81A5; - @DomName('WebGL.DEPTH_COMPONENT24') - @DocsEditable() - @Experimental() // untriaged static const int DEPTH_COMPONENT24 = 0x81A6; - @DomName('WebGL.DEPTH_COMPONENT32F') - @DocsEditable() - @Experimental() // untriaged static const int DEPTH_COMPONENT32F = 0x8CAC; - @DomName('WebGL.DEPTH_FUNC') - @DocsEditable() - @Experimental() // untriaged static const int DEPTH_FUNC = 0x0B74; - @DomName('WebGL.DEPTH_RANGE') - @DocsEditable() - @Experimental() // untriaged static const int DEPTH_RANGE = 0x0B70; - @DomName('WebGL.DEPTH_STENCIL') - @DocsEditable() - @Experimental() // untriaged static const int DEPTH_STENCIL = 0x84F9; - @DomName('WebGL.DEPTH_STENCIL_ATTACHMENT') - @DocsEditable() - @Experimental() // untriaged static const int DEPTH_STENCIL_ATTACHMENT = 0x821A; - @DomName('WebGL.DEPTH_TEST') - @DocsEditable() - @Experimental() // untriaged static const int DEPTH_TEST = 0x0B71; - @DomName('WebGL.DEPTH_WRITEMASK') - @DocsEditable() - @Experimental() // untriaged static const int DEPTH_WRITEMASK = 0x0B72; - @DomName('WebGL.DITHER') - @DocsEditable() - @Experimental() // untriaged static const int DITHER = 0x0BD0; - @DomName('WebGL.DONT_CARE') - @DocsEditable() - @Experimental() // untriaged static const int DONT_CARE = 0x1100; - @DomName('WebGL.DRAW_BUFFER0') - @DocsEditable() - @Experimental() // untriaged static const int DRAW_BUFFER0 = 0x8825; - @DomName('WebGL.DRAW_BUFFER0_WEBGL') - @DocsEditable() - @Experimental() // untriaged static const int DRAW_BUFFER0_WEBGL = 0x8825; - @DomName('WebGL.DRAW_BUFFER1') - @DocsEditable() - @Experimental() // untriaged static const int DRAW_BUFFER1 = 0x8826; - @DomName('WebGL.DRAW_BUFFER10') - @DocsEditable() - @Experimental() // untriaged static const int DRAW_BUFFER10 = 0x882F; - @DomName('WebGL.DRAW_BUFFER10_WEBGL') - @DocsEditable() - @Experimental() // untriaged static const int DRAW_BUFFER10_WEBGL = 0x882F; - @DomName('WebGL.DRAW_BUFFER11') - @DocsEditable() - @Experimental() // untriaged static const int DRAW_BUFFER11 = 0x8830; - @DomName('WebGL.DRAW_BUFFER11_WEBGL') - @DocsEditable() - @Experimental() // untriaged static const int DRAW_BUFFER11_WEBGL = 0x8830; - @DomName('WebGL.DRAW_BUFFER12') - @DocsEditable() - @Experimental() // untriaged static const int DRAW_BUFFER12 = 0x8831; - @DomName('WebGL.DRAW_BUFFER12_WEBGL') - @DocsEditable() - @Experimental() // untriaged static const int DRAW_BUFFER12_WEBGL = 0x8831; - @DomName('WebGL.DRAW_BUFFER13') - @DocsEditable() - @Experimental() // untriaged static const int DRAW_BUFFER13 = 0x8832; - @DomName('WebGL.DRAW_BUFFER13_WEBGL') - @DocsEditable() - @Experimental() // untriaged static const int DRAW_BUFFER13_WEBGL = 0x8832; - @DomName('WebGL.DRAW_BUFFER14') - @DocsEditable() - @Experimental() // untriaged static const int DRAW_BUFFER14 = 0x8833; - @DomName('WebGL.DRAW_BUFFER14_WEBGL') - @DocsEditable() - @Experimental() // untriaged static const int DRAW_BUFFER14_WEBGL = 0x8833; - @DomName('WebGL.DRAW_BUFFER15') - @DocsEditable() - @Experimental() // untriaged static const int DRAW_BUFFER15 = 0x8834; - @DomName('WebGL.DRAW_BUFFER15_WEBGL') - @DocsEditable() - @Experimental() // untriaged static const int DRAW_BUFFER15_WEBGL = 0x8834; - @DomName('WebGL.DRAW_BUFFER1_WEBGL') - @DocsEditable() - @Experimental() // untriaged static const int DRAW_BUFFER1_WEBGL = 0x8826; - @DomName('WebGL.DRAW_BUFFER2') - @DocsEditable() - @Experimental() // untriaged static const int DRAW_BUFFER2 = 0x8827; - @DomName('WebGL.DRAW_BUFFER2_WEBGL') - @DocsEditable() - @Experimental() // untriaged static const int DRAW_BUFFER2_WEBGL = 0x8827; - @DomName('WebGL.DRAW_BUFFER3') - @DocsEditable() - @Experimental() // untriaged static const int DRAW_BUFFER3 = 0x8828; - @DomName('WebGL.DRAW_BUFFER3_WEBGL') - @DocsEditable() - @Experimental() // untriaged static const int DRAW_BUFFER3_WEBGL = 0x8828; - @DomName('WebGL.DRAW_BUFFER4') - @DocsEditable() - @Experimental() // untriaged static const int DRAW_BUFFER4 = 0x8829; - @DomName('WebGL.DRAW_BUFFER4_WEBGL') - @DocsEditable() - @Experimental() // untriaged static const int DRAW_BUFFER4_WEBGL = 0x8829; - @DomName('WebGL.DRAW_BUFFER5') - @DocsEditable() - @Experimental() // untriaged static const int DRAW_BUFFER5 = 0x882A; - @DomName('WebGL.DRAW_BUFFER5_WEBGL') - @DocsEditable() - @Experimental() // untriaged static const int DRAW_BUFFER5_WEBGL = 0x882A; - @DomName('WebGL.DRAW_BUFFER6') - @DocsEditable() - @Experimental() // untriaged static const int DRAW_BUFFER6 = 0x882B; - @DomName('WebGL.DRAW_BUFFER6_WEBGL') - @DocsEditable() - @Experimental() // untriaged static const int DRAW_BUFFER6_WEBGL = 0x882B; - @DomName('WebGL.DRAW_BUFFER7') - @DocsEditable() - @Experimental() // untriaged static const int DRAW_BUFFER7 = 0x882C; - @DomName('WebGL.DRAW_BUFFER7_WEBGL') - @DocsEditable() - @Experimental() // untriaged static const int DRAW_BUFFER7_WEBGL = 0x882C; - @DomName('WebGL.DRAW_BUFFER8') - @DocsEditable() - @Experimental() // untriaged static const int DRAW_BUFFER8 = 0x882D; - @DomName('WebGL.DRAW_BUFFER8_WEBGL') - @DocsEditable() - @Experimental() // untriaged static const int DRAW_BUFFER8_WEBGL = 0x882D; - @DomName('WebGL.DRAW_BUFFER9') - @DocsEditable() - @Experimental() // untriaged static const int DRAW_BUFFER9 = 0x882E; - @DomName('WebGL.DRAW_BUFFER9_WEBGL') - @DocsEditable() - @Experimental() // untriaged static const int DRAW_BUFFER9_WEBGL = 0x882E; - @DomName('WebGL.DRAW_FRAMEBUFFER') - @DocsEditable() - @Experimental() // untriaged static const int DRAW_FRAMEBUFFER = 0x8CA9; - @DomName('WebGL.DRAW_FRAMEBUFFER_BINDING') - @DocsEditable() - @Experimental() // untriaged static const int DRAW_FRAMEBUFFER_BINDING = 0x8CA6; - @DomName('WebGL.DST_ALPHA') - @DocsEditable() - @Experimental() // untriaged static const int DST_ALPHA = 0x0304; - @DomName('WebGL.DST_COLOR') - @DocsEditable() - @Experimental() // untriaged static const int DST_COLOR = 0x0306; - @DomName('WebGL.DYNAMIC_COPY') - @DocsEditable() - @Experimental() // untriaged static const int DYNAMIC_COPY = 0x88EA; - @DomName('WebGL.DYNAMIC_DRAW') - @DocsEditable() - @Experimental() // untriaged static const int DYNAMIC_DRAW = 0x88E8; - @DomName('WebGL.DYNAMIC_READ') - @DocsEditable() - @Experimental() // untriaged static const int DYNAMIC_READ = 0x88E9; - @DomName('WebGL.ELEMENT_ARRAY_BUFFER') - @DocsEditable() - @Experimental() // untriaged static const int ELEMENT_ARRAY_BUFFER = 0x8893; - @DomName('WebGL.ELEMENT_ARRAY_BUFFER_BINDING') - @DocsEditable() - @Experimental() // untriaged static const int ELEMENT_ARRAY_BUFFER_BINDING = 0x8895; - @DomName('WebGL.EQUAL') - @DocsEditable() - @Experimental() // untriaged static const int EQUAL = 0x0202; - @DomName('WebGL.FASTEST') - @DocsEditable() - @Experimental() // untriaged static const int FASTEST = 0x1101; - @DomName('WebGL.FLOAT') - @DocsEditable() - @Experimental() // untriaged static const int FLOAT = 0x1406; - @DomName('WebGL.FLOAT_32_UNSIGNED_INT_24_8_REV') - @DocsEditable() - @Experimental() // untriaged static const int FLOAT_32_UNSIGNED_INT_24_8_REV = 0x8DAD; - @DomName('WebGL.FLOAT_MAT2') - @DocsEditable() - @Experimental() // untriaged static const int FLOAT_MAT2 = 0x8B5A; - @DomName('WebGL.FLOAT_MAT2x3') - @DocsEditable() - @Experimental() // untriaged static const int FLOAT_MAT2x3 = 0x8B65; - @DomName('WebGL.FLOAT_MAT2x4') - @DocsEditable() - @Experimental() // untriaged static const int FLOAT_MAT2x4 = 0x8B66; - @DomName('WebGL.FLOAT_MAT3') - @DocsEditable() - @Experimental() // untriaged static const int FLOAT_MAT3 = 0x8B5B; - @DomName('WebGL.FLOAT_MAT3x2') - @DocsEditable() - @Experimental() // untriaged static const int FLOAT_MAT3x2 = 0x8B67; - @DomName('WebGL.FLOAT_MAT3x4') - @DocsEditable() - @Experimental() // untriaged static const int FLOAT_MAT3x4 = 0x8B68; - @DomName('WebGL.FLOAT_MAT4') - @DocsEditable() - @Experimental() // untriaged static const int FLOAT_MAT4 = 0x8B5C; - @DomName('WebGL.FLOAT_MAT4x2') - @DocsEditable() - @Experimental() // untriaged static const int FLOAT_MAT4x2 = 0x8B69; - @DomName('WebGL.FLOAT_MAT4x3') - @DocsEditable() - @Experimental() // untriaged static const int FLOAT_MAT4x3 = 0x8B6A; - @DomName('WebGL.FLOAT_VEC2') - @DocsEditable() - @Experimental() // untriaged static const int FLOAT_VEC2 = 0x8B50; - @DomName('WebGL.FLOAT_VEC3') - @DocsEditable() - @Experimental() // untriaged static const int FLOAT_VEC3 = 0x8B51; - @DomName('WebGL.FLOAT_VEC4') - @DocsEditable() - @Experimental() // untriaged static const int FLOAT_VEC4 = 0x8B52; - @DomName('WebGL.FRAGMENT_SHADER') - @DocsEditable() - @Experimental() // untriaged static const int FRAGMENT_SHADER = 0x8B30; - @DomName('WebGL.FRAGMENT_SHADER_DERIVATIVE_HINT') - @DocsEditable() - @Experimental() // untriaged static const int FRAGMENT_SHADER_DERIVATIVE_HINT = 0x8B8B; - @DomName('WebGL.FRAMEBUFFER') - @DocsEditable() - @Experimental() // untriaged static const int FRAMEBUFFER = 0x8D40; - @DomName('WebGL.FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE') - @DocsEditable() - @Experimental() // untriaged static const int FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE = 0x8215; - @DomName('WebGL.FRAMEBUFFER_ATTACHMENT_BLUE_SIZE') - @DocsEditable() - @Experimental() // untriaged static const int FRAMEBUFFER_ATTACHMENT_BLUE_SIZE = 0x8214; - @DomName('WebGL.FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING') - @DocsEditable() - @Experimental() // untriaged static const int FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING = 0x8210; - @DomName('WebGL.FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE') - @DocsEditable() - @Experimental() // untriaged static const int FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE = 0x8211; - @DomName('WebGL.FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE') - @DocsEditable() - @Experimental() // untriaged static const int FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE = 0x8216; - @DomName('WebGL.FRAMEBUFFER_ATTACHMENT_GREEN_SIZE') - @DocsEditable() - @Experimental() // untriaged static const int FRAMEBUFFER_ATTACHMENT_GREEN_SIZE = 0x8213; - @DomName('WebGL.FRAMEBUFFER_ATTACHMENT_OBJECT_NAME') - @DocsEditable() - @Experimental() // untriaged static const int FRAMEBUFFER_ATTACHMENT_OBJECT_NAME = 0x8CD1; - @DomName('WebGL.FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE') - @DocsEditable() - @Experimental() // untriaged static const int FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE = 0x8CD0; - @DomName('WebGL.FRAMEBUFFER_ATTACHMENT_RED_SIZE') - @DocsEditable() - @Experimental() // untriaged static const int FRAMEBUFFER_ATTACHMENT_RED_SIZE = 0x8212; - @DomName('WebGL.FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE') - @DocsEditable() - @Experimental() // untriaged static const int FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE = 0x8217; - @DomName('WebGL.FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE') - @DocsEditable() - @Experimental() // untriaged static const int FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE = 0x8CD3; - @DomName('WebGL.FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER') - @DocsEditable() - @Experimental() // untriaged static const int FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER = 0x8CD4; - @DomName('WebGL.FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL') - @DocsEditable() - @Experimental() // untriaged static const int FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL = 0x8CD2; - @DomName('WebGL.FRAMEBUFFER_BINDING') - @DocsEditable() - @Experimental() // untriaged static const int FRAMEBUFFER_BINDING = 0x8CA6; - @DomName('WebGL.FRAMEBUFFER_COMPLETE') - @DocsEditable() - @Experimental() // untriaged static const int FRAMEBUFFER_COMPLETE = 0x8CD5; - @DomName('WebGL.FRAMEBUFFER_DEFAULT') - @DocsEditable() - @Experimental() // untriaged static const int FRAMEBUFFER_DEFAULT = 0x8218; - @DomName('WebGL.FRAMEBUFFER_INCOMPLETE_ATTACHMENT') - @DocsEditable() - @Experimental() // untriaged static const int FRAMEBUFFER_INCOMPLETE_ATTACHMENT = 0x8CD6; - @DomName('WebGL.FRAMEBUFFER_INCOMPLETE_DIMENSIONS') - @DocsEditable() - @Experimental() // untriaged static const int FRAMEBUFFER_INCOMPLETE_DIMENSIONS = 0x8CD9; - @DomName('WebGL.FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT') - @DocsEditable() - @Experimental() // untriaged static const int FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT = 0x8CD7; - @DomName('WebGL.FRAMEBUFFER_INCOMPLETE_MULTISAMPLE') - @DocsEditable() - @Experimental() // untriaged static const int FRAMEBUFFER_INCOMPLETE_MULTISAMPLE = 0x8D56; - @DomName('WebGL.FRAMEBUFFER_UNSUPPORTED') - @DocsEditable() - @Experimental() // untriaged static const int FRAMEBUFFER_UNSUPPORTED = 0x8CDD; - @DomName('WebGL.FRONT') - @DocsEditable() - @Experimental() // untriaged static const int FRONT = 0x0404; - @DomName('WebGL.FRONT_AND_BACK') - @DocsEditable() - @Experimental() // untriaged static const int FRONT_AND_BACK = 0x0408; - @DomName('WebGL.FRONT_FACE') - @DocsEditable() - @Experimental() // untriaged static const int FRONT_FACE = 0x0B46; - @DomName('WebGL.FUNC_ADD') - @DocsEditable() - @Experimental() // untriaged static const int FUNC_ADD = 0x8006; - @DomName('WebGL.FUNC_REVERSE_SUBTRACT') - @DocsEditable() - @Experimental() // untriaged static const int FUNC_REVERSE_SUBTRACT = 0x800B; - @DomName('WebGL.FUNC_SUBTRACT') - @DocsEditable() - @Experimental() // untriaged static const int FUNC_SUBTRACT = 0x800A; - @DomName('WebGL.GENERATE_MIPMAP_HINT') - @DocsEditable() - @Experimental() // untriaged static const int GENERATE_MIPMAP_HINT = 0x8192; - @DomName('WebGL.GEQUAL') - @DocsEditable() - @Experimental() // untriaged static const int GEQUAL = 0x0206; - @DomName('WebGL.GREATER') - @DocsEditable() - @Experimental() // untriaged static const int GREATER = 0x0204; - @DomName('WebGL.GREEN_BITS') - @DocsEditable() - @Experimental() // untriaged static const int GREEN_BITS = 0x0D53; - @DomName('WebGL.HALF_FLOAT') - @DocsEditable() - @Experimental() // untriaged static const int HALF_FLOAT = 0x140B; - @DomName('WebGL.HIGH_FLOAT') - @DocsEditable() - @Experimental() // untriaged static const int HIGH_FLOAT = 0x8DF2; - @DomName('WebGL.HIGH_INT') - @DocsEditable() - @Experimental() // untriaged static const int HIGH_INT = 0x8DF5; - @DomName('WebGL.IMPLEMENTATION_COLOR_READ_FORMAT') - @DocsEditable() - @Experimental() // untriaged static const int IMPLEMENTATION_COLOR_READ_FORMAT = 0x8B9B; - @DomName('WebGL.IMPLEMENTATION_COLOR_READ_TYPE') - @DocsEditable() - @Experimental() // untriaged static const int IMPLEMENTATION_COLOR_READ_TYPE = 0x8B9A; - @DomName('WebGL.INCR') - @DocsEditable() - @Experimental() // untriaged static const int INCR = 0x1E02; - @DomName('WebGL.INCR_WRAP') - @DocsEditable() - @Experimental() // untriaged static const int INCR_WRAP = 0x8507; - @DomName('WebGL.INT') - @DocsEditable() - @Experimental() // untriaged static const int INT = 0x1404; - @DomName('WebGL.INTERLEAVED_ATTRIBS') - @DocsEditable() - @Experimental() // untriaged static const int INTERLEAVED_ATTRIBS = 0x8C8C; - @DomName('WebGL.INT_2_10_10_10_REV') - @DocsEditable() - @Experimental() // untriaged static const int INT_2_10_10_10_REV = 0x8D9F; - @DomName('WebGL.INT_SAMPLER_2D') - @DocsEditable() - @Experimental() // untriaged static const int INT_SAMPLER_2D = 0x8DCA; - @DomName('WebGL.INT_SAMPLER_2D_ARRAY') - @DocsEditable() - @Experimental() // untriaged static const int INT_SAMPLER_2D_ARRAY = 0x8DCF; - @DomName('WebGL.INT_SAMPLER_3D') - @DocsEditable() - @Experimental() // untriaged static const int INT_SAMPLER_3D = 0x8DCB; - @DomName('WebGL.INT_SAMPLER_CUBE') - @DocsEditable() - @Experimental() // untriaged static const int INT_SAMPLER_CUBE = 0x8DCC; - @DomName('WebGL.INT_VEC2') - @DocsEditable() - @Experimental() // untriaged static const int INT_VEC2 = 0x8B53; - @DomName('WebGL.INT_VEC3') - @DocsEditable() - @Experimental() // untriaged static const int INT_VEC3 = 0x8B54; - @DomName('WebGL.INT_VEC4') - @DocsEditable() - @Experimental() // untriaged static const int INT_VEC4 = 0x8B55; - @DomName('WebGL.INVALID_ENUM') - @DocsEditable() - @Experimental() // untriaged static const int INVALID_ENUM = 0x0500; - @DomName('WebGL.INVALID_FRAMEBUFFER_OPERATION') - @DocsEditable() - @Experimental() // untriaged static const int INVALID_FRAMEBUFFER_OPERATION = 0x0506; - @DomName('WebGL.INVALID_INDEX') - @DocsEditable() - @Experimental() // untriaged static const int INVALID_INDEX = 0xFFFFFFFF; - @DomName('WebGL.INVALID_OPERATION') - @DocsEditable() - @Experimental() // untriaged static const int INVALID_OPERATION = 0x0502; - @DomName('WebGL.INVALID_VALUE') - @DocsEditable() - @Experimental() // untriaged static const int INVALID_VALUE = 0x0501; - @DomName('WebGL.INVERT') - @DocsEditable() - @Experimental() // untriaged static const int INVERT = 0x150A; - @DomName('WebGL.KEEP') - @DocsEditable() - @Experimental() // untriaged static const int KEEP = 0x1E00; - @DomName('WebGL.LEQUAL') - @DocsEditable() - @Experimental() // untriaged static const int LEQUAL = 0x0203; - @DomName('WebGL.LESS') - @DocsEditable() - @Experimental() // untriaged static const int LESS = 0x0201; - @DomName('WebGL.LINEAR') - @DocsEditable() - @Experimental() // untriaged static const int LINEAR = 0x2601; - @DomName('WebGL.LINEAR_MIPMAP_LINEAR') - @DocsEditable() - @Experimental() // untriaged static const int LINEAR_MIPMAP_LINEAR = 0x2703; - @DomName('WebGL.LINEAR_MIPMAP_NEAREST') - @DocsEditable() - @Experimental() // untriaged static const int LINEAR_MIPMAP_NEAREST = 0x2701; - @DomName('WebGL.LINES') - @DocsEditable() - @Experimental() // untriaged static const int LINES = 0x0001; - @DomName('WebGL.LINE_LOOP') - @DocsEditable() - @Experimental() // untriaged static const int LINE_LOOP = 0x0002; - @DomName('WebGL.LINE_STRIP') - @DocsEditable() - @Experimental() // untriaged static const int LINE_STRIP = 0x0003; - @DomName('WebGL.LINE_WIDTH') - @DocsEditable() - @Experimental() // untriaged static const int LINE_WIDTH = 0x0B21; - @DomName('WebGL.LINK_STATUS') - @DocsEditable() - @Experimental() // untriaged static const int LINK_STATUS = 0x8B82; - @DomName('WebGL.LOW_FLOAT') - @DocsEditable() - @Experimental() // untriaged static const int LOW_FLOAT = 0x8DF0; - @DomName('WebGL.LOW_INT') - @DocsEditable() - @Experimental() // untriaged static const int LOW_INT = 0x8DF3; - @DomName('WebGL.LUMINANCE') - @DocsEditable() - @Experimental() // untriaged static const int LUMINANCE = 0x1909; - @DomName('WebGL.LUMINANCE_ALPHA') - @DocsEditable() - @Experimental() // untriaged static const int LUMINANCE_ALPHA = 0x190A; - @DomName('WebGL.MAX') - @DocsEditable() - @Experimental() // untriaged static const int MAX = 0x8008; - @DomName('WebGL.MAX_3D_TEXTURE_SIZE') - @DocsEditable() - @Experimental() // untriaged static const int MAX_3D_TEXTURE_SIZE = 0x8073; - @DomName('WebGL.MAX_ARRAY_TEXTURE_LAYERS') - @DocsEditable() - @Experimental() // untriaged static const int MAX_ARRAY_TEXTURE_LAYERS = 0x88FF; - @DomName('WebGL.MAX_CLIENT_WAIT_TIMEOUT_WEBGL') - @DocsEditable() - @Experimental() // untriaged static const int MAX_CLIENT_WAIT_TIMEOUT_WEBGL = 0x9247; - @DomName('WebGL.MAX_COLOR_ATTACHMENTS') - @DocsEditable() - @Experimental() // untriaged static const int MAX_COLOR_ATTACHMENTS = 0x8CDF; - @DomName('WebGL.MAX_COLOR_ATTACHMENTS_WEBGL') - @DocsEditable() - @Experimental() // untriaged static const int MAX_COLOR_ATTACHMENTS_WEBGL = 0x8CDF; - @DomName('WebGL.MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS') - @DocsEditable() - @Experimental() // untriaged static const int MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS = 0x8A33; - @DomName('WebGL.MAX_COMBINED_TEXTURE_IMAGE_UNITS') - @DocsEditable() - @Experimental() // untriaged static const int MAX_COMBINED_TEXTURE_IMAGE_UNITS = 0x8B4D; - @DomName('WebGL.MAX_COMBINED_UNIFORM_BLOCKS') - @DocsEditable() - @Experimental() // untriaged static const int MAX_COMBINED_UNIFORM_BLOCKS = 0x8A2E; - @DomName('WebGL.MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS') - @DocsEditable() - @Experimental() // untriaged static const int MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS = 0x8A31; - @DomName('WebGL.MAX_CUBE_MAP_TEXTURE_SIZE') - @DocsEditable() - @Experimental() // untriaged static const int MAX_CUBE_MAP_TEXTURE_SIZE = 0x851C; - @DomName('WebGL.MAX_DRAW_BUFFERS') - @DocsEditable() - @Experimental() // untriaged static const int MAX_DRAW_BUFFERS = 0x8824; - @DomName('WebGL.MAX_DRAW_BUFFERS_WEBGL') - @DocsEditable() - @Experimental() // untriaged static const int MAX_DRAW_BUFFERS_WEBGL = 0x8824; - @DomName('WebGL.MAX_ELEMENTS_INDICES') - @DocsEditable() - @Experimental() // untriaged static const int MAX_ELEMENTS_INDICES = 0x80E9; - @DomName('WebGL.MAX_ELEMENTS_VERTICES') - @DocsEditable() - @Experimental() // untriaged static const int MAX_ELEMENTS_VERTICES = 0x80E8; - @DomName('WebGL.MAX_ELEMENT_INDEX') - @DocsEditable() - @Experimental() // untriaged static const int MAX_ELEMENT_INDEX = 0x8D6B; - @DomName('WebGL.MAX_FRAGMENT_INPUT_COMPONENTS') - @DocsEditable() - @Experimental() // untriaged static const int MAX_FRAGMENT_INPUT_COMPONENTS = 0x9125; - @DomName('WebGL.MAX_FRAGMENT_UNIFORM_BLOCKS') - @DocsEditable() - @Experimental() // untriaged static const int MAX_FRAGMENT_UNIFORM_BLOCKS = 0x8A2D; - @DomName('WebGL.MAX_FRAGMENT_UNIFORM_COMPONENTS') - @DocsEditable() - @Experimental() // untriaged static const int MAX_FRAGMENT_UNIFORM_COMPONENTS = 0x8B49; - @DomName('WebGL.MAX_FRAGMENT_UNIFORM_VECTORS') - @DocsEditable() - @Experimental() // untriaged static const int MAX_FRAGMENT_UNIFORM_VECTORS = 0x8DFD; - @DomName('WebGL.MAX_PROGRAM_TEXEL_OFFSET') - @DocsEditable() - @Experimental() // untriaged static const int MAX_PROGRAM_TEXEL_OFFSET = 0x8905; - @DomName('WebGL.MAX_RENDERBUFFER_SIZE') - @DocsEditable() - @Experimental() // untriaged static const int MAX_RENDERBUFFER_SIZE = 0x84E8; - @DomName('WebGL.MAX_SAMPLES') - @DocsEditable() - @Experimental() // untriaged static const int MAX_SAMPLES = 0x8D57; - @DomName('WebGL.MAX_SERVER_WAIT_TIMEOUT') - @DocsEditable() - @Experimental() // untriaged static const int MAX_SERVER_WAIT_TIMEOUT = 0x9111; - @DomName('WebGL.MAX_TEXTURE_IMAGE_UNITS') - @DocsEditable() - @Experimental() // untriaged static const int MAX_TEXTURE_IMAGE_UNITS = 0x8872; - @DomName('WebGL.MAX_TEXTURE_LOD_BIAS') - @DocsEditable() - @Experimental() // untriaged static const int MAX_TEXTURE_LOD_BIAS = 0x84FD; - @DomName('WebGL.MAX_TEXTURE_SIZE') - @DocsEditable() - @Experimental() // untriaged static const int MAX_TEXTURE_SIZE = 0x0D33; - @DomName('WebGL.MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS') - @DocsEditable() - @Experimental() // untriaged static const int MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS = 0x8C8A; - @DomName('WebGL.MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS') - @DocsEditable() - @Experimental() // untriaged static const int MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS = 0x8C8B; - @DomName('WebGL.MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS') - @DocsEditable() - @Experimental() // untriaged static const int MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS = 0x8C80; - @DomName('WebGL.MAX_UNIFORM_BLOCK_SIZE') - @DocsEditable() - @Experimental() // untriaged static const int MAX_UNIFORM_BLOCK_SIZE = 0x8A30; - @DomName('WebGL.MAX_UNIFORM_BUFFER_BINDINGS') - @DocsEditable() - @Experimental() // untriaged static const int MAX_UNIFORM_BUFFER_BINDINGS = 0x8A2F; - @DomName('WebGL.MAX_VARYING_COMPONENTS') - @DocsEditable() - @Experimental() // untriaged static const int MAX_VARYING_COMPONENTS = 0x8B4B; - @DomName('WebGL.MAX_VARYING_VECTORS') - @DocsEditable() - @Experimental() // untriaged static const int MAX_VARYING_VECTORS = 0x8DFC; - @DomName('WebGL.MAX_VERTEX_ATTRIBS') - @DocsEditable() - @Experimental() // untriaged static const int MAX_VERTEX_ATTRIBS = 0x8869; - @DomName('WebGL.MAX_VERTEX_OUTPUT_COMPONENTS') - @DocsEditable() - @Experimental() // untriaged static const int MAX_VERTEX_OUTPUT_COMPONENTS = 0x9122; - @DomName('WebGL.MAX_VERTEX_TEXTURE_IMAGE_UNITS') - @DocsEditable() - @Experimental() // untriaged static const int MAX_VERTEX_TEXTURE_IMAGE_UNITS = 0x8B4C; - @DomName('WebGL.MAX_VERTEX_UNIFORM_BLOCKS') - @DocsEditable() - @Experimental() // untriaged static const int MAX_VERTEX_UNIFORM_BLOCKS = 0x8A2B; - @DomName('WebGL.MAX_VERTEX_UNIFORM_COMPONENTS') - @DocsEditable() - @Experimental() // untriaged static const int MAX_VERTEX_UNIFORM_COMPONENTS = 0x8B4A; - @DomName('WebGL.MAX_VERTEX_UNIFORM_VECTORS') - @DocsEditable() - @Experimental() // untriaged static const int MAX_VERTEX_UNIFORM_VECTORS = 0x8DFB; - @DomName('WebGL.MAX_VIEWPORT_DIMS') - @DocsEditable() - @Experimental() // untriaged static const int MAX_VIEWPORT_DIMS = 0x0D3A; - @DomName('WebGL.MEDIUM_FLOAT') - @DocsEditable() - @Experimental() // untriaged static const int MEDIUM_FLOAT = 0x8DF1; - @DomName('WebGL.MEDIUM_INT') - @DocsEditable() - @Experimental() // untriaged static const int MEDIUM_INT = 0x8DF4; - @DomName('WebGL.MIN') - @DocsEditable() - @Experimental() // untriaged static const int MIN = 0x8007; - @DomName('WebGL.MIN_PROGRAM_TEXEL_OFFSET') - @DocsEditable() - @Experimental() // untriaged static const int MIN_PROGRAM_TEXEL_OFFSET = 0x8904; - @DomName('WebGL.MIRRORED_REPEAT') - @DocsEditable() - @Experimental() // untriaged static const int MIRRORED_REPEAT = 0x8370; - @DomName('WebGL.NEAREST') - @DocsEditable() - @Experimental() // untriaged static const int NEAREST = 0x2600; - @DomName('WebGL.NEAREST_MIPMAP_LINEAR') - @DocsEditable() - @Experimental() // untriaged static const int NEAREST_MIPMAP_LINEAR = 0x2702; - @DomName('WebGL.NEAREST_MIPMAP_NEAREST') - @DocsEditable() - @Experimental() // untriaged static const int NEAREST_MIPMAP_NEAREST = 0x2700; - @DomName('WebGL.NEVER') - @DocsEditable() - @Experimental() // untriaged static const int NEVER = 0x0200; - @DomName('WebGL.NICEST') - @DocsEditable() - @Experimental() // untriaged static const int NICEST = 0x1102; - @DomName('WebGL.NONE') - @DocsEditable() - @Experimental() // untriaged static const int NONE = 0; - @DomName('WebGL.NOTEQUAL') - @DocsEditable() - @Experimental() // untriaged static const int NOTEQUAL = 0x0205; - @DomName('WebGL.NO_ERROR') - @DocsEditable() - @Experimental() // untriaged static const int NO_ERROR = 0; - @DomName('WebGL.OBJECT_TYPE') - @DocsEditable() - @Experimental() // untriaged static const int OBJECT_TYPE = 0x9112; - @DomName('WebGL.ONE') - @DocsEditable() - @Experimental() // untriaged static const int ONE = 1; - @DomName('WebGL.ONE_MINUS_CONSTANT_ALPHA') - @DocsEditable() - @Experimental() // untriaged static const int ONE_MINUS_CONSTANT_ALPHA = 0x8004; - @DomName('WebGL.ONE_MINUS_CONSTANT_COLOR') - @DocsEditable() - @Experimental() // untriaged static const int ONE_MINUS_CONSTANT_COLOR = 0x8002; - @DomName('WebGL.ONE_MINUS_DST_ALPHA') - @DocsEditable() - @Experimental() // untriaged static const int ONE_MINUS_DST_ALPHA = 0x0305; - @DomName('WebGL.ONE_MINUS_DST_COLOR') - @DocsEditable() - @Experimental() // untriaged static const int ONE_MINUS_DST_COLOR = 0x0307; - @DomName('WebGL.ONE_MINUS_SRC_ALPHA') - @DocsEditable() - @Experimental() // untriaged static const int ONE_MINUS_SRC_ALPHA = 0x0303; - @DomName('WebGL.ONE_MINUS_SRC_COLOR') - @DocsEditable() - @Experimental() // untriaged static const int ONE_MINUS_SRC_COLOR = 0x0301; - @DomName('WebGL.OUT_OF_MEMORY') - @DocsEditable() - @Experimental() // untriaged static const int OUT_OF_MEMORY = 0x0505; - @DomName('WebGL.PACK_ALIGNMENT') - @DocsEditable() - @Experimental() // untriaged static const int PACK_ALIGNMENT = 0x0D05; - @DomName('WebGL.PACK_ROW_LENGTH') - @DocsEditable() - @Experimental() // untriaged static const int PACK_ROW_LENGTH = 0x0D02; - @DomName('WebGL.PACK_SKIP_PIXELS') - @DocsEditable() - @Experimental() // untriaged static const int PACK_SKIP_PIXELS = 0x0D04; - @DomName('WebGL.PACK_SKIP_ROWS') - @DocsEditable() - @Experimental() // untriaged static const int PACK_SKIP_ROWS = 0x0D03; - @DomName('WebGL.PIXEL_PACK_BUFFER') - @DocsEditable() - @Experimental() // untriaged static const int PIXEL_PACK_BUFFER = 0x88EB; - @DomName('WebGL.PIXEL_PACK_BUFFER_BINDING') - @DocsEditable() - @Experimental() // untriaged static const int PIXEL_PACK_BUFFER_BINDING = 0x88ED; - @DomName('WebGL.PIXEL_UNPACK_BUFFER') - @DocsEditable() - @Experimental() // untriaged static const int PIXEL_UNPACK_BUFFER = 0x88EC; - @DomName('WebGL.PIXEL_UNPACK_BUFFER_BINDING') - @DocsEditable() - @Experimental() // untriaged static const int PIXEL_UNPACK_BUFFER_BINDING = 0x88EF; - @DomName('WebGL.POINTS') - @DocsEditable() - @Experimental() // untriaged static const int POINTS = 0x0000; - @DomName('WebGL.POLYGON_OFFSET_FACTOR') - @DocsEditable() - @Experimental() // untriaged static const int POLYGON_OFFSET_FACTOR = 0x8038; - @DomName('WebGL.POLYGON_OFFSET_FILL') - @DocsEditable() - @Experimental() // untriaged static const int POLYGON_OFFSET_FILL = 0x8037; - @DomName('WebGL.POLYGON_OFFSET_UNITS') - @DocsEditable() - @Experimental() // untriaged static const int POLYGON_OFFSET_UNITS = 0x2A00; - @DomName('WebGL.QUERY_RESULT') - @DocsEditable() - @Experimental() // untriaged static const int QUERY_RESULT = 0x8866; - @DomName('WebGL.QUERY_RESULT_AVAILABLE') - @DocsEditable() - @Experimental() // untriaged static const int QUERY_RESULT_AVAILABLE = 0x8867; - @DomName('WebGL.R11F_G11F_B10F') - @DocsEditable() - @Experimental() // untriaged static const int R11F_G11F_B10F = 0x8C3A; - @DomName('WebGL.R16F') - @DocsEditable() - @Experimental() // untriaged static const int R16F = 0x822D; - @DomName('WebGL.R16I') - @DocsEditable() - @Experimental() // untriaged static const int R16I = 0x8233; - @DomName('WebGL.R16UI') - @DocsEditable() - @Experimental() // untriaged static const int R16UI = 0x8234; - @DomName('WebGL.R32F') - @DocsEditable() - @Experimental() // untriaged static const int R32F = 0x822E; - @DomName('WebGL.R32I') - @DocsEditable() - @Experimental() // untriaged static const int R32I = 0x8235; - @DomName('WebGL.R32UI') - @DocsEditable() - @Experimental() // untriaged static const int R32UI = 0x8236; - @DomName('WebGL.R8') - @DocsEditable() - @Experimental() // untriaged static const int R8 = 0x8229; - @DomName('WebGL.R8I') - @DocsEditable() - @Experimental() // untriaged static const int R8I = 0x8231; - @DomName('WebGL.R8UI') - @DocsEditable() - @Experimental() // untriaged static const int R8UI = 0x8232; - @DomName('WebGL.R8_SNORM') - @DocsEditable() - @Experimental() // untriaged static const int R8_SNORM = 0x8F94; - @DomName('WebGL.RASTERIZER_DISCARD') - @DocsEditable() - @Experimental() // untriaged static const int RASTERIZER_DISCARD = 0x8C89; - @DomName('WebGL.READ_BUFFER') - @DocsEditable() - @Experimental() // untriaged static const int READ_BUFFER = 0x0C02; - @DomName('WebGL.READ_FRAMEBUFFER') - @DocsEditable() - @Experimental() // untriaged static const int READ_FRAMEBUFFER = 0x8CA8; - @DomName('WebGL.READ_FRAMEBUFFER_BINDING') - @DocsEditable() - @Experimental() // untriaged static const int READ_FRAMEBUFFER_BINDING = 0x8CAA; - @DomName('WebGL.RED') - @DocsEditable() - @Experimental() // untriaged static const int RED = 0x1903; - @DomName('WebGL.RED_BITS') - @DocsEditable() - @Experimental() // untriaged static const int RED_BITS = 0x0D52; - @DomName('WebGL.RED_INTEGER') - @DocsEditable() - @Experimental() // untriaged static const int RED_INTEGER = 0x8D94; - @DomName('WebGL.RENDERBUFFER') - @DocsEditable() - @Experimental() // untriaged static const int RENDERBUFFER = 0x8D41; - @DomName('WebGL.RENDERBUFFER_ALPHA_SIZE') - @DocsEditable() - @Experimental() // untriaged static const int RENDERBUFFER_ALPHA_SIZE = 0x8D53; - @DomName('WebGL.RENDERBUFFER_BINDING') - @DocsEditable() - @Experimental() // untriaged static const int RENDERBUFFER_BINDING = 0x8CA7; - @DomName('WebGL.RENDERBUFFER_BLUE_SIZE') - @DocsEditable() - @Experimental() // untriaged static const int RENDERBUFFER_BLUE_SIZE = 0x8D52; - @DomName('WebGL.RENDERBUFFER_DEPTH_SIZE') - @DocsEditable() - @Experimental() // untriaged static const int RENDERBUFFER_DEPTH_SIZE = 0x8D54; - @DomName('WebGL.RENDERBUFFER_GREEN_SIZE') - @DocsEditable() - @Experimental() // untriaged static const int RENDERBUFFER_GREEN_SIZE = 0x8D51; - @DomName('WebGL.RENDERBUFFER_HEIGHT') - @DocsEditable() - @Experimental() // untriaged static const int RENDERBUFFER_HEIGHT = 0x8D43; - @DomName('WebGL.RENDERBUFFER_INTERNAL_FORMAT') - @DocsEditable() - @Experimental() // untriaged static const int RENDERBUFFER_INTERNAL_FORMAT = 0x8D44; - @DomName('WebGL.RENDERBUFFER_RED_SIZE') - @DocsEditable() - @Experimental() // untriaged static const int RENDERBUFFER_RED_SIZE = 0x8D50; - @DomName('WebGL.RENDERBUFFER_SAMPLES') - @DocsEditable() - @Experimental() // untriaged static const int RENDERBUFFER_SAMPLES = 0x8CAB; - @DomName('WebGL.RENDERBUFFER_STENCIL_SIZE') - @DocsEditable() - @Experimental() // untriaged static const int RENDERBUFFER_STENCIL_SIZE = 0x8D55; - @DomName('WebGL.RENDERBUFFER_WIDTH') - @DocsEditable() - @Experimental() // untriaged static const int RENDERBUFFER_WIDTH = 0x8D42; - @DomName('WebGL.RENDERER') - @DocsEditable() - @Experimental() // untriaged static const int RENDERER = 0x1F01; - @DomName('WebGL.REPEAT') - @DocsEditable() - @Experimental() // untriaged static const int REPEAT = 0x2901; - @DomName('WebGL.REPLACE') - @DocsEditable() - @Experimental() // untriaged static const int REPLACE = 0x1E01; - @DomName('WebGL.RG') - @DocsEditable() - @Experimental() // untriaged static const int RG = 0x8227; - @DomName('WebGL.RG16F') - @DocsEditable() - @Experimental() // untriaged static const int RG16F = 0x822F; - @DomName('WebGL.RG16I') - @DocsEditable() - @Experimental() // untriaged static const int RG16I = 0x8239; - @DomName('WebGL.RG16UI') - @DocsEditable() - @Experimental() // untriaged static const int RG16UI = 0x823A; - @DomName('WebGL.RG32F') - @DocsEditable() - @Experimental() // untriaged static const int RG32F = 0x8230; - @DomName('WebGL.RG32I') - @DocsEditable() - @Experimental() // untriaged static const int RG32I = 0x823B; - @DomName('WebGL.RG32UI') - @DocsEditable() - @Experimental() // untriaged static const int RG32UI = 0x823C; - @DomName('WebGL.RG8') - @DocsEditable() - @Experimental() // untriaged static const int RG8 = 0x822B; - @DomName('WebGL.RG8I') - @DocsEditable() - @Experimental() // untriaged static const int RG8I = 0x8237; - @DomName('WebGL.RG8UI') - @DocsEditable() - @Experimental() // untriaged static const int RG8UI = 0x8238; - @DomName('WebGL.RG8_SNORM') - @DocsEditable() - @Experimental() // untriaged static const int RG8_SNORM = 0x8F95; - @DomName('WebGL.RGB') - @DocsEditable() - @Experimental() // untriaged static const int RGB = 0x1907; - @DomName('WebGL.RGB10_A2') - @DocsEditable() - @Experimental() // untriaged static const int RGB10_A2 = 0x8059; - @DomName('WebGL.RGB10_A2UI') - @DocsEditable() - @Experimental() // untriaged static const int RGB10_A2UI = 0x906F; - @DomName('WebGL.RGB16F') - @DocsEditable() - @Experimental() // untriaged static const int RGB16F = 0x881B; - @DomName('WebGL.RGB16I') - @DocsEditable() - @Experimental() // untriaged static const int RGB16I = 0x8D89; - @DomName('WebGL.RGB16UI') - @DocsEditable() - @Experimental() // untriaged static const int RGB16UI = 0x8D77; - @DomName('WebGL.RGB32F') - @DocsEditable() - @Experimental() // untriaged static const int RGB32F = 0x8815; - @DomName('WebGL.RGB32I') - @DocsEditable() - @Experimental() // untriaged static const int RGB32I = 0x8D83; - @DomName('WebGL.RGB32UI') - @DocsEditable() - @Experimental() // untriaged static const int RGB32UI = 0x8D71; - @DomName('WebGL.RGB565') - @DocsEditable() - @Experimental() // untriaged static const int RGB565 = 0x8D62; - @DomName('WebGL.RGB5_A1') - @DocsEditable() - @Experimental() // untriaged static const int RGB5_A1 = 0x8057; - @DomName('WebGL.RGB8') - @DocsEditable() - @Experimental() // untriaged static const int RGB8 = 0x8051; - @DomName('WebGL.RGB8I') - @DocsEditable() - @Experimental() // untriaged static const int RGB8I = 0x8D8F; - @DomName('WebGL.RGB8UI') - @DocsEditable() - @Experimental() // untriaged static const int RGB8UI = 0x8D7D; - @DomName('WebGL.RGB8_SNORM') - @DocsEditable() - @Experimental() // untriaged static const int RGB8_SNORM = 0x8F96; - @DomName('WebGL.RGB9_E5') - @DocsEditable() - @Experimental() // untriaged static const int RGB9_E5 = 0x8C3D; - @DomName('WebGL.RGBA') - @DocsEditable() - @Experimental() // untriaged static const int RGBA = 0x1908; - @DomName('WebGL.RGBA16F') - @DocsEditable() - @Experimental() // untriaged static const int RGBA16F = 0x881A; - @DomName('WebGL.RGBA16I') - @DocsEditable() - @Experimental() // untriaged static const int RGBA16I = 0x8D88; - @DomName('WebGL.RGBA16UI') - @DocsEditable() - @Experimental() // untriaged static const int RGBA16UI = 0x8D76; - @DomName('WebGL.RGBA32F') - @DocsEditable() - @Experimental() // untriaged static const int RGBA32F = 0x8814; - @DomName('WebGL.RGBA32I') - @DocsEditable() - @Experimental() // untriaged static const int RGBA32I = 0x8D82; - @DomName('WebGL.RGBA32UI') - @DocsEditable() - @Experimental() // untriaged static const int RGBA32UI = 0x8D70; - @DomName('WebGL.RGBA4') - @DocsEditable() - @Experimental() // untriaged static const int RGBA4 = 0x8056; - @DomName('WebGL.RGBA8') - @DocsEditable() - @Experimental() // untriaged static const int RGBA8 = 0x8058; - @DomName('WebGL.RGBA8I') - @DocsEditable() - @Experimental() // untriaged static const int RGBA8I = 0x8D8E; - @DomName('WebGL.RGBA8UI') - @DocsEditable() - @Experimental() // untriaged static const int RGBA8UI = 0x8D7C; - @DomName('WebGL.RGBA8_SNORM') - @DocsEditable() - @Experimental() // untriaged static const int RGBA8_SNORM = 0x8F97; - @DomName('WebGL.RGBA_INTEGER') - @DocsEditable() - @Experimental() // untriaged static const int RGBA_INTEGER = 0x8D99; - @DomName('WebGL.RGB_INTEGER') - @DocsEditable() - @Experimental() // untriaged static const int RGB_INTEGER = 0x8D98; - @DomName('WebGL.RG_INTEGER') - @DocsEditable() - @Experimental() // untriaged static const int RG_INTEGER = 0x8228; - @DomName('WebGL.SAMPLER_2D') - @DocsEditable() - @Experimental() // untriaged static const int SAMPLER_2D = 0x8B5E; - @DomName('WebGL.SAMPLER_2D_ARRAY') - @DocsEditable() - @Experimental() // untriaged static const int SAMPLER_2D_ARRAY = 0x8DC1; - @DomName('WebGL.SAMPLER_2D_ARRAY_SHADOW') - @DocsEditable() - @Experimental() // untriaged static const int SAMPLER_2D_ARRAY_SHADOW = 0x8DC4; - @DomName('WebGL.SAMPLER_2D_SHADOW') - @DocsEditable() - @Experimental() // untriaged static const int SAMPLER_2D_SHADOW = 0x8B62; - @DomName('WebGL.SAMPLER_3D') - @DocsEditable() - @Experimental() // untriaged static const int SAMPLER_3D = 0x8B5F; - @DomName('WebGL.SAMPLER_BINDING') - @DocsEditable() - @Experimental() // untriaged static const int SAMPLER_BINDING = 0x8919; - @DomName('WebGL.SAMPLER_CUBE') - @DocsEditable() - @Experimental() // untriaged static const int SAMPLER_CUBE = 0x8B60; - @DomName('WebGL.SAMPLER_CUBE_SHADOW') - @DocsEditable() - @Experimental() // untriaged static const int SAMPLER_CUBE_SHADOW = 0x8DC5; - @DomName('WebGL.SAMPLES') - @DocsEditable() - @Experimental() // untriaged static const int SAMPLES = 0x80A9; - @DomName('WebGL.SAMPLE_ALPHA_TO_COVERAGE') - @DocsEditable() - @Experimental() // untriaged static const int SAMPLE_ALPHA_TO_COVERAGE = 0x809E; - @DomName('WebGL.SAMPLE_BUFFERS') - @DocsEditable() - @Experimental() // untriaged static const int SAMPLE_BUFFERS = 0x80A8; - @DomName('WebGL.SAMPLE_COVERAGE') - @DocsEditable() - @Experimental() // untriaged static const int SAMPLE_COVERAGE = 0x80A0; - @DomName('WebGL.SAMPLE_COVERAGE_INVERT') - @DocsEditable() - @Experimental() // untriaged static const int SAMPLE_COVERAGE_INVERT = 0x80AB; - @DomName('WebGL.SAMPLE_COVERAGE_VALUE') - @DocsEditable() - @Experimental() // untriaged static const int SAMPLE_COVERAGE_VALUE = 0x80AA; - @DomName('WebGL.SCISSOR_BOX') - @DocsEditable() - @Experimental() // untriaged static const int SCISSOR_BOX = 0x0C10; - @DomName('WebGL.SCISSOR_TEST') - @DocsEditable() - @Experimental() // untriaged static const int SCISSOR_TEST = 0x0C11; - @DomName('WebGL.SEPARATE_ATTRIBS') - @DocsEditable() - @Experimental() // untriaged static const int SEPARATE_ATTRIBS = 0x8C8D; - @DomName('WebGL.SHADER_TYPE') - @DocsEditable() - @Experimental() // untriaged static const int SHADER_TYPE = 0x8B4F; - @DomName('WebGL.SHADING_LANGUAGE_VERSION') - @DocsEditable() - @Experimental() // untriaged static const int SHADING_LANGUAGE_VERSION = 0x8B8C; - @DomName('WebGL.SHORT') - @DocsEditable() - @Experimental() // untriaged static const int SHORT = 0x1402; - @DomName('WebGL.SIGNALED') - @DocsEditable() - @Experimental() // untriaged static const int SIGNALED = 0x9119; - @DomName('WebGL.SIGNED_NORMALIZED') - @DocsEditable() - @Experimental() // untriaged static const int SIGNED_NORMALIZED = 0x8F9C; - @DomName('WebGL.SRC_ALPHA') - @DocsEditable() - @Experimental() // untriaged static const int SRC_ALPHA = 0x0302; - @DomName('WebGL.SRC_ALPHA_SATURATE') - @DocsEditable() - @Experimental() // untriaged static const int SRC_ALPHA_SATURATE = 0x0308; - @DomName('WebGL.SRC_COLOR') - @DocsEditable() - @Experimental() // untriaged static const int SRC_COLOR = 0x0300; - @DomName('WebGL.SRGB') - @DocsEditable() - @Experimental() // untriaged static const int SRGB = 0x8C40; - @DomName('WebGL.SRGB8') - @DocsEditable() - @Experimental() // untriaged static const int SRGB8 = 0x8C41; - @DomName('WebGL.SRGB8_ALPHA8') - @DocsEditable() - @Experimental() // untriaged static const int SRGB8_ALPHA8 = 0x8C43; - @DomName('WebGL.STATIC_COPY') - @DocsEditable() - @Experimental() // untriaged static const int STATIC_COPY = 0x88E6; - @DomName('WebGL.STATIC_DRAW') - @DocsEditable() - @Experimental() // untriaged static const int STATIC_DRAW = 0x88E4; - @DomName('WebGL.STATIC_READ') - @DocsEditable() - @Experimental() // untriaged static const int STATIC_READ = 0x88E5; - @DomName('WebGL.STENCIL') - @DocsEditable() - @Experimental() // untriaged static const int STENCIL = 0x1802; - @DomName('WebGL.STENCIL_ATTACHMENT') - @DocsEditable() - @Experimental() // untriaged static const int STENCIL_ATTACHMENT = 0x8D20; - @DomName('WebGL.STENCIL_BACK_FAIL') - @DocsEditable() - @Experimental() // untriaged static const int STENCIL_BACK_FAIL = 0x8801; - @DomName('WebGL.STENCIL_BACK_FUNC') - @DocsEditable() - @Experimental() // untriaged static const int STENCIL_BACK_FUNC = 0x8800; - @DomName('WebGL.STENCIL_BACK_PASS_DEPTH_FAIL') - @DocsEditable() - @Experimental() // untriaged static const int STENCIL_BACK_PASS_DEPTH_FAIL = 0x8802; - @DomName('WebGL.STENCIL_BACK_PASS_DEPTH_PASS') - @DocsEditable() - @Experimental() // untriaged static const int STENCIL_BACK_PASS_DEPTH_PASS = 0x8803; - @DomName('WebGL.STENCIL_BACK_REF') - @DocsEditable() - @Experimental() // untriaged static const int STENCIL_BACK_REF = 0x8CA3; - @DomName('WebGL.STENCIL_BACK_VALUE_MASK') - @DocsEditable() - @Experimental() // untriaged static const int STENCIL_BACK_VALUE_MASK = 0x8CA4; - @DomName('WebGL.STENCIL_BACK_WRITEMASK') - @DocsEditable() - @Experimental() // untriaged static const int STENCIL_BACK_WRITEMASK = 0x8CA5; - @DomName('WebGL.STENCIL_BITS') - @DocsEditable() - @Experimental() // untriaged static const int STENCIL_BITS = 0x0D57; - @DomName('WebGL.STENCIL_BUFFER_BIT') - @DocsEditable() - @Experimental() // untriaged static const int STENCIL_BUFFER_BIT = 0x00000400; - @DomName('WebGL.STENCIL_CLEAR_VALUE') - @DocsEditable() - @Experimental() // untriaged static const int STENCIL_CLEAR_VALUE = 0x0B91; - @DomName('WebGL.STENCIL_FAIL') - @DocsEditable() - @Experimental() // untriaged static const int STENCIL_FAIL = 0x0B94; - @DomName('WebGL.STENCIL_FUNC') - @DocsEditable() - @Experimental() // untriaged static const int STENCIL_FUNC = 0x0B92; - @DomName('WebGL.STENCIL_INDEX8') - @DocsEditable() - @Experimental() // untriaged static const int STENCIL_INDEX8 = 0x8D48; - @DomName('WebGL.STENCIL_PASS_DEPTH_FAIL') - @DocsEditable() - @Experimental() // untriaged static const int STENCIL_PASS_DEPTH_FAIL = 0x0B95; - @DomName('WebGL.STENCIL_PASS_DEPTH_PASS') - @DocsEditable() - @Experimental() // untriaged static const int STENCIL_PASS_DEPTH_PASS = 0x0B96; - @DomName('WebGL.STENCIL_REF') - @DocsEditable() - @Experimental() // untriaged static const int STENCIL_REF = 0x0B97; - @DomName('WebGL.STENCIL_TEST') - @DocsEditable() - @Experimental() // untriaged static const int STENCIL_TEST = 0x0B90; - @DomName('WebGL.STENCIL_VALUE_MASK') - @DocsEditable() - @Experimental() // untriaged static const int STENCIL_VALUE_MASK = 0x0B93; - @DomName('WebGL.STENCIL_WRITEMASK') - @DocsEditable() - @Experimental() // untriaged static const int STENCIL_WRITEMASK = 0x0B98; - @DomName('WebGL.STREAM_COPY') - @DocsEditable() - @Experimental() // untriaged static const int STREAM_COPY = 0x88E2; - @DomName('WebGL.STREAM_DRAW') - @DocsEditable() - @Experimental() // untriaged static const int STREAM_DRAW = 0x88E0; - @DomName('WebGL.STREAM_READ') - @DocsEditable() - @Experimental() // untriaged static const int STREAM_READ = 0x88E1; - @DomName('WebGL.SUBPIXEL_BITS') - @DocsEditable() - @Experimental() // untriaged static const int SUBPIXEL_BITS = 0x0D50; - @DomName('WebGL.SYNC_CONDITION') - @DocsEditable() - @Experimental() // untriaged static const int SYNC_CONDITION = 0x9113; - @DomName('WebGL.SYNC_FENCE') - @DocsEditable() - @Experimental() // untriaged static const int SYNC_FENCE = 0x9116; - @DomName('WebGL.SYNC_FLAGS') - @DocsEditable() - @Experimental() // untriaged static const int SYNC_FLAGS = 0x9115; - @DomName('WebGL.SYNC_FLUSH_COMMANDS_BIT') - @DocsEditable() - @Experimental() // untriaged static const int SYNC_FLUSH_COMMANDS_BIT = 0x00000001; - @DomName('WebGL.SYNC_GPU_COMMANDS_COMPLETE') - @DocsEditable() - @Experimental() // untriaged static const int SYNC_GPU_COMMANDS_COMPLETE = 0x9117; - @DomName('WebGL.SYNC_STATUS') - @DocsEditable() - @Experimental() // untriaged static const int SYNC_STATUS = 0x9114; - @DomName('WebGL.TEXTURE') - @DocsEditable() - @Experimental() // untriaged static const int TEXTURE = 0x1702; - @DomName('WebGL.TEXTURE0') - @DocsEditable() - @Experimental() // untriaged static const int TEXTURE0 = 0x84C0; - @DomName('WebGL.TEXTURE1') - @DocsEditable() - @Experimental() // untriaged static const int TEXTURE1 = 0x84C1; - @DomName('WebGL.TEXTURE10') - @DocsEditable() - @Experimental() // untriaged static const int TEXTURE10 = 0x84CA; - @DomName('WebGL.TEXTURE11') - @DocsEditable() - @Experimental() // untriaged static const int TEXTURE11 = 0x84CB; - @DomName('WebGL.TEXTURE12') - @DocsEditable() - @Experimental() // untriaged static const int TEXTURE12 = 0x84CC; - @DomName('WebGL.TEXTURE13') - @DocsEditable() - @Experimental() // untriaged static const int TEXTURE13 = 0x84CD; - @DomName('WebGL.TEXTURE14') - @DocsEditable() - @Experimental() // untriaged static const int TEXTURE14 = 0x84CE; - @DomName('WebGL.TEXTURE15') - @DocsEditable() - @Experimental() // untriaged static const int TEXTURE15 = 0x84CF; - @DomName('WebGL.TEXTURE16') - @DocsEditable() - @Experimental() // untriaged static const int TEXTURE16 = 0x84D0; - @DomName('WebGL.TEXTURE17') - @DocsEditable() - @Experimental() // untriaged static const int TEXTURE17 = 0x84D1; - @DomName('WebGL.TEXTURE18') - @DocsEditable() - @Experimental() // untriaged static const int TEXTURE18 = 0x84D2; - @DomName('WebGL.TEXTURE19') - @DocsEditable() - @Experimental() // untriaged static const int TEXTURE19 = 0x84D3; - @DomName('WebGL.TEXTURE2') - @DocsEditable() - @Experimental() // untriaged static const int TEXTURE2 = 0x84C2; - @DomName('WebGL.TEXTURE20') - @DocsEditable() - @Experimental() // untriaged static const int TEXTURE20 = 0x84D4; - @DomName('WebGL.TEXTURE21') - @DocsEditable() - @Experimental() // untriaged static const int TEXTURE21 = 0x84D5; - @DomName('WebGL.TEXTURE22') - @DocsEditable() - @Experimental() // untriaged static const int TEXTURE22 = 0x84D6; - @DomName('WebGL.TEXTURE23') - @DocsEditable() - @Experimental() // untriaged static const int TEXTURE23 = 0x84D7; - @DomName('WebGL.TEXTURE24') - @DocsEditable() - @Experimental() // untriaged static const int TEXTURE24 = 0x84D8; - @DomName('WebGL.TEXTURE25') - @DocsEditable() - @Experimental() // untriaged static const int TEXTURE25 = 0x84D9; - @DomName('WebGL.TEXTURE26') - @DocsEditable() - @Experimental() // untriaged static const int TEXTURE26 = 0x84DA; - @DomName('WebGL.TEXTURE27') - @DocsEditable() - @Experimental() // untriaged static const int TEXTURE27 = 0x84DB; - @DomName('WebGL.TEXTURE28') - @DocsEditable() - @Experimental() // untriaged static const int TEXTURE28 = 0x84DC; - @DomName('WebGL.TEXTURE29') - @DocsEditable() - @Experimental() // untriaged static const int TEXTURE29 = 0x84DD; - @DomName('WebGL.TEXTURE3') - @DocsEditable() - @Experimental() // untriaged static const int TEXTURE3 = 0x84C3; - @DomName('WebGL.TEXTURE30') - @DocsEditable() - @Experimental() // untriaged static const int TEXTURE30 = 0x84DE; - @DomName('WebGL.TEXTURE31') - @DocsEditable() - @Experimental() // untriaged static const int TEXTURE31 = 0x84DF; - @DomName('WebGL.TEXTURE4') - @DocsEditable() - @Experimental() // untriaged static const int TEXTURE4 = 0x84C4; - @DomName('WebGL.TEXTURE5') - @DocsEditable() - @Experimental() // untriaged static const int TEXTURE5 = 0x84C5; - @DomName('WebGL.TEXTURE6') - @DocsEditable() - @Experimental() // untriaged static const int TEXTURE6 = 0x84C6; - @DomName('WebGL.TEXTURE7') - @DocsEditable() - @Experimental() // untriaged static const int TEXTURE7 = 0x84C7; - @DomName('WebGL.TEXTURE8') - @DocsEditable() - @Experimental() // untriaged static const int TEXTURE8 = 0x84C8; - @DomName('WebGL.TEXTURE9') - @DocsEditable() - @Experimental() // untriaged static const int TEXTURE9 = 0x84C9; - @DomName('WebGL.TEXTURE_2D') - @DocsEditable() - @Experimental() // untriaged static const int TEXTURE_2D = 0x0DE1; - @DomName('WebGL.TEXTURE_2D_ARRAY') - @DocsEditable() - @Experimental() // untriaged static const int TEXTURE_2D_ARRAY = 0x8C1A; - @DomName('WebGL.TEXTURE_3D') - @DocsEditable() - @Experimental() // untriaged static const int TEXTURE_3D = 0x806F; - @DomName('WebGL.TEXTURE_BASE_LEVEL') - @DocsEditable() - @Experimental() // untriaged static const int TEXTURE_BASE_LEVEL = 0x813C; - @DomName('WebGL.TEXTURE_BINDING_2D') - @DocsEditable() - @Experimental() // untriaged static const int TEXTURE_BINDING_2D = 0x8069; - @DomName('WebGL.TEXTURE_BINDING_2D_ARRAY') - @DocsEditable() - @Experimental() // untriaged static const int TEXTURE_BINDING_2D_ARRAY = 0x8C1D; - @DomName('WebGL.TEXTURE_BINDING_3D') - @DocsEditable() - @Experimental() // untriaged static const int TEXTURE_BINDING_3D = 0x806A; - @DomName('WebGL.TEXTURE_BINDING_CUBE_MAP') - @DocsEditable() - @Experimental() // untriaged static const int TEXTURE_BINDING_CUBE_MAP = 0x8514; - @DomName('WebGL.TEXTURE_COMPARE_FUNC') - @DocsEditable() - @Experimental() // untriaged static const int TEXTURE_COMPARE_FUNC = 0x884D; - @DomName('WebGL.TEXTURE_COMPARE_MODE') - @DocsEditable() - @Experimental() // untriaged static const int TEXTURE_COMPARE_MODE = 0x884C; - @DomName('WebGL.TEXTURE_CUBE_MAP') - @DocsEditable() - @Experimental() // untriaged static const int TEXTURE_CUBE_MAP = 0x8513; - @DomName('WebGL.TEXTURE_CUBE_MAP_NEGATIVE_X') - @DocsEditable() - @Experimental() // untriaged static const int TEXTURE_CUBE_MAP_NEGATIVE_X = 0x8516; - @DomName('WebGL.TEXTURE_CUBE_MAP_NEGATIVE_Y') - @DocsEditable() - @Experimental() // untriaged static const int TEXTURE_CUBE_MAP_NEGATIVE_Y = 0x8518; - @DomName('WebGL.TEXTURE_CUBE_MAP_NEGATIVE_Z') - @DocsEditable() - @Experimental() // untriaged static const int TEXTURE_CUBE_MAP_NEGATIVE_Z = 0x851A; - @DomName('WebGL.TEXTURE_CUBE_MAP_POSITIVE_X') - @DocsEditable() - @Experimental() // untriaged static const int TEXTURE_CUBE_MAP_POSITIVE_X = 0x8515; - @DomName('WebGL.TEXTURE_CUBE_MAP_POSITIVE_Y') - @DocsEditable() - @Experimental() // untriaged static const int TEXTURE_CUBE_MAP_POSITIVE_Y = 0x8517; - @DomName('WebGL.TEXTURE_CUBE_MAP_POSITIVE_Z') - @DocsEditable() - @Experimental() // untriaged static const int TEXTURE_CUBE_MAP_POSITIVE_Z = 0x8519; - @DomName('WebGL.TEXTURE_IMMUTABLE_FORMAT') - @DocsEditable() - @Experimental() // untriaged static const int TEXTURE_IMMUTABLE_FORMAT = 0x912F; - @DomName('WebGL.TEXTURE_IMMUTABLE_LEVELS') - @DocsEditable() - @Experimental() // untriaged static const int TEXTURE_IMMUTABLE_LEVELS = 0x82DF; - @DomName('WebGL.TEXTURE_MAG_FILTER') - @DocsEditable() - @Experimental() // untriaged static const int TEXTURE_MAG_FILTER = 0x2800; - @DomName('WebGL.TEXTURE_MAX_LEVEL') - @DocsEditable() - @Experimental() // untriaged static const int TEXTURE_MAX_LEVEL = 0x813D; - @DomName('WebGL.TEXTURE_MAX_LOD') - @DocsEditable() - @Experimental() // untriaged static const int TEXTURE_MAX_LOD = 0x813B; - @DomName('WebGL.TEXTURE_MIN_FILTER') - @DocsEditable() - @Experimental() // untriaged static const int TEXTURE_MIN_FILTER = 0x2801; - @DomName('WebGL.TEXTURE_MIN_LOD') - @DocsEditable() - @Experimental() // untriaged static const int TEXTURE_MIN_LOD = 0x813A; - @DomName('WebGL.TEXTURE_WRAP_R') - @DocsEditable() - @Experimental() // untriaged static const int TEXTURE_WRAP_R = 0x8072; - @DomName('WebGL.TEXTURE_WRAP_S') - @DocsEditable() - @Experimental() // untriaged static const int TEXTURE_WRAP_S = 0x2802; - @DomName('WebGL.TEXTURE_WRAP_T') - @DocsEditable() - @Experimental() // untriaged static const int TEXTURE_WRAP_T = 0x2803; - @DomName('WebGL.TIMEOUT_EXPIRED') - @DocsEditable() - @Experimental() // untriaged static const int TIMEOUT_EXPIRED = 0x911B; - @DomName('WebGL.TIMEOUT_IGNORED') - @DocsEditable() - @Experimental() // untriaged static const int TIMEOUT_IGNORED = -1; - @DomName('WebGL.TRANSFORM_FEEDBACK') - @DocsEditable() - @Experimental() // untriaged static const int TRANSFORM_FEEDBACK = 0x8E22; - @DomName('WebGL.TRANSFORM_FEEDBACK_ACTIVE') - @DocsEditable() - @Experimental() // untriaged static const int TRANSFORM_FEEDBACK_ACTIVE = 0x8E24; - @DomName('WebGL.TRANSFORM_FEEDBACK_BINDING') - @DocsEditable() - @Experimental() // untriaged static const int TRANSFORM_FEEDBACK_BINDING = 0x8E25; - @DomName('WebGL.TRANSFORM_FEEDBACK_BUFFER') - @DocsEditable() - @Experimental() // untriaged static const int TRANSFORM_FEEDBACK_BUFFER = 0x8C8E; - @DomName('WebGL.TRANSFORM_FEEDBACK_BUFFER_BINDING') - @DocsEditable() - @Experimental() // untriaged static const int TRANSFORM_FEEDBACK_BUFFER_BINDING = 0x8C8F; - @DomName('WebGL.TRANSFORM_FEEDBACK_BUFFER_MODE') - @DocsEditable() - @Experimental() // untriaged static const int TRANSFORM_FEEDBACK_BUFFER_MODE = 0x8C7F; - @DomName('WebGL.TRANSFORM_FEEDBACK_BUFFER_SIZE') - @DocsEditable() - @Experimental() // untriaged static const int TRANSFORM_FEEDBACK_BUFFER_SIZE = 0x8C85; - @DomName('WebGL.TRANSFORM_FEEDBACK_BUFFER_START') - @DocsEditable() - @Experimental() // untriaged static const int TRANSFORM_FEEDBACK_BUFFER_START = 0x8C84; - @DomName('WebGL.TRANSFORM_FEEDBACK_PAUSED') - @DocsEditable() - @Experimental() // untriaged static const int TRANSFORM_FEEDBACK_PAUSED = 0x8E23; - @DomName('WebGL.TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN') - @DocsEditable() - @Experimental() // untriaged static const int TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN = 0x8C88; - @DomName('WebGL.TRANSFORM_FEEDBACK_VARYINGS') - @DocsEditable() - @Experimental() // untriaged static const int TRANSFORM_FEEDBACK_VARYINGS = 0x8C83; - @DomName('WebGL.TRIANGLES') - @DocsEditable() - @Experimental() // untriaged static const int TRIANGLES = 0x0004; - @DomName('WebGL.TRIANGLE_FAN') - @DocsEditable() - @Experimental() // untriaged static const int TRIANGLE_FAN = 0x0006; - @DomName('WebGL.TRIANGLE_STRIP') - @DocsEditable() - @Experimental() // untriaged static const int TRIANGLE_STRIP = 0x0005; - @DomName('WebGL.UNIFORM_ARRAY_STRIDE') - @DocsEditable() - @Experimental() // untriaged static const int UNIFORM_ARRAY_STRIDE = 0x8A3C; - @DomName('WebGL.UNIFORM_BLOCK_ACTIVE_UNIFORMS') - @DocsEditable() - @Experimental() // untriaged static const int UNIFORM_BLOCK_ACTIVE_UNIFORMS = 0x8A42; - @DomName('WebGL.UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES') - @DocsEditable() - @Experimental() // untriaged static const int UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES = 0x8A43; - @DomName('WebGL.UNIFORM_BLOCK_BINDING') - @DocsEditable() - @Experimental() // untriaged static const int UNIFORM_BLOCK_BINDING = 0x8A3F; - @DomName('WebGL.UNIFORM_BLOCK_DATA_SIZE') - @DocsEditable() - @Experimental() // untriaged static const int UNIFORM_BLOCK_DATA_SIZE = 0x8A40; - @DomName('WebGL.UNIFORM_BLOCK_INDEX') - @DocsEditable() - @Experimental() // untriaged static const int UNIFORM_BLOCK_INDEX = 0x8A3A; - @DomName('WebGL.UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER') - @DocsEditable() - @Experimental() // untriaged static const int UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER = 0x8A46; - @DomName('WebGL.UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER') - @DocsEditable() - @Experimental() // untriaged static const int UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER = 0x8A44; - @DomName('WebGL.UNIFORM_BUFFER') - @DocsEditable() - @Experimental() // untriaged static const int UNIFORM_BUFFER = 0x8A11; - @DomName('WebGL.UNIFORM_BUFFER_BINDING') - @DocsEditable() - @Experimental() // untriaged static const int UNIFORM_BUFFER_BINDING = 0x8A28; - @DomName('WebGL.UNIFORM_BUFFER_OFFSET_ALIGNMENT') - @DocsEditable() - @Experimental() // untriaged static const int UNIFORM_BUFFER_OFFSET_ALIGNMENT = 0x8A34; - @DomName('WebGL.UNIFORM_BUFFER_SIZE') - @DocsEditable() - @Experimental() // untriaged static const int UNIFORM_BUFFER_SIZE = 0x8A2A; - @DomName('WebGL.UNIFORM_BUFFER_START') - @DocsEditable() - @Experimental() // untriaged static const int UNIFORM_BUFFER_START = 0x8A29; - @DomName('WebGL.UNIFORM_IS_ROW_MAJOR') - @DocsEditable() - @Experimental() // untriaged static const int UNIFORM_IS_ROW_MAJOR = 0x8A3E; - @DomName('WebGL.UNIFORM_MATRIX_STRIDE') - @DocsEditable() - @Experimental() // untriaged static const int UNIFORM_MATRIX_STRIDE = 0x8A3D; - @DomName('WebGL.UNIFORM_OFFSET') - @DocsEditable() - @Experimental() // untriaged static const int UNIFORM_OFFSET = 0x8A3B; - @DomName('WebGL.UNIFORM_SIZE') - @DocsEditable() - @Experimental() // untriaged static const int UNIFORM_SIZE = 0x8A38; - @DomName('WebGL.UNIFORM_TYPE') - @DocsEditable() - @Experimental() // untriaged static const int UNIFORM_TYPE = 0x8A37; - @DomName('WebGL.UNPACK_ALIGNMENT') - @DocsEditable() - @Experimental() // untriaged static const int UNPACK_ALIGNMENT = 0x0CF5; - @DomName('WebGL.UNPACK_COLORSPACE_CONVERSION_WEBGL') - @DocsEditable() - @Experimental() // untriaged static const int UNPACK_COLORSPACE_CONVERSION_WEBGL = 0x9243; - @DomName('WebGL.UNPACK_FLIP_Y_WEBGL') - @DocsEditable() - @Experimental() // untriaged static const int UNPACK_FLIP_Y_WEBGL = 0x9240; - @DomName('WebGL.UNPACK_IMAGE_HEIGHT') - @DocsEditable() - @Experimental() // untriaged static const int UNPACK_IMAGE_HEIGHT = 0x806E; - @DomName('WebGL.UNPACK_PREMULTIPLY_ALPHA_WEBGL') - @DocsEditable() - @Experimental() // untriaged static const int UNPACK_PREMULTIPLY_ALPHA_WEBGL = 0x9241; - @DomName('WebGL.UNPACK_ROW_LENGTH') - @DocsEditable() - @Experimental() // untriaged static const int UNPACK_ROW_LENGTH = 0x0CF2; - @DomName('WebGL.UNPACK_SKIP_IMAGES') - @DocsEditable() - @Experimental() // untriaged static const int UNPACK_SKIP_IMAGES = 0x806D; - @DomName('WebGL.UNPACK_SKIP_PIXELS') - @DocsEditable() - @Experimental() // untriaged static const int UNPACK_SKIP_PIXELS = 0x0CF4; - @DomName('WebGL.UNPACK_SKIP_ROWS') - @DocsEditable() - @Experimental() // untriaged static const int UNPACK_SKIP_ROWS = 0x0CF3; - @DomName('WebGL.UNSIGNALED') - @DocsEditable() - @Experimental() // untriaged static const int UNSIGNALED = 0x9118; - @DomName('WebGL.UNSIGNED_BYTE') - @DocsEditable() - @Experimental() // untriaged static const int UNSIGNED_BYTE = 0x1401; - @DomName('WebGL.UNSIGNED_INT') - @DocsEditable() - @Experimental() // untriaged static const int UNSIGNED_INT = 0x1405; - @DomName('WebGL.UNSIGNED_INT_10F_11F_11F_REV') - @DocsEditable() - @Experimental() // untriaged static const int UNSIGNED_INT_10F_11F_11F_REV = 0x8C3B; - @DomName('WebGL.UNSIGNED_INT_24_8') - @DocsEditable() - @Experimental() // untriaged static const int UNSIGNED_INT_24_8 = 0x84FA; - @DomName('WebGL.UNSIGNED_INT_2_10_10_10_REV') - @DocsEditable() - @Experimental() // untriaged static const int UNSIGNED_INT_2_10_10_10_REV = 0x8368; - @DomName('WebGL.UNSIGNED_INT_5_9_9_9_REV') - @DocsEditable() - @Experimental() // untriaged static const int UNSIGNED_INT_5_9_9_9_REV = 0x8C3E; - @DomName('WebGL.UNSIGNED_INT_SAMPLER_2D') - @DocsEditable() - @Experimental() // untriaged static const int UNSIGNED_INT_SAMPLER_2D = 0x8DD2; - @DomName('WebGL.UNSIGNED_INT_SAMPLER_2D_ARRAY') - @DocsEditable() - @Experimental() // untriaged static const int UNSIGNED_INT_SAMPLER_2D_ARRAY = 0x8DD7; - @DomName('WebGL.UNSIGNED_INT_SAMPLER_3D') - @DocsEditable() - @Experimental() // untriaged static const int UNSIGNED_INT_SAMPLER_3D = 0x8DD3; - @DomName('WebGL.UNSIGNED_INT_SAMPLER_CUBE') - @DocsEditable() - @Experimental() // untriaged static const int UNSIGNED_INT_SAMPLER_CUBE = 0x8DD4; - @DomName('WebGL.UNSIGNED_INT_VEC2') - @DocsEditable() - @Experimental() // untriaged static const int UNSIGNED_INT_VEC2 = 0x8DC6; - @DomName('WebGL.UNSIGNED_INT_VEC3') - @DocsEditable() - @Experimental() // untriaged static const int UNSIGNED_INT_VEC3 = 0x8DC7; - @DomName('WebGL.UNSIGNED_INT_VEC4') - @DocsEditable() - @Experimental() // untriaged static const int UNSIGNED_INT_VEC4 = 0x8DC8; - @DomName('WebGL.UNSIGNED_NORMALIZED') - @DocsEditable() - @Experimental() // untriaged static const int UNSIGNED_NORMALIZED = 0x8C17; - @DomName('WebGL.UNSIGNED_SHORT') - @DocsEditable() - @Experimental() // untriaged static const int UNSIGNED_SHORT = 0x1403; - @DomName('WebGL.UNSIGNED_SHORT_4_4_4_4') - @DocsEditable() - @Experimental() // untriaged static const int UNSIGNED_SHORT_4_4_4_4 = 0x8033; - @DomName('WebGL.UNSIGNED_SHORT_5_5_5_1') - @DocsEditable() - @Experimental() // untriaged static const int UNSIGNED_SHORT_5_5_5_1 = 0x8034; - @DomName('WebGL.UNSIGNED_SHORT_5_6_5') - @DocsEditable() - @Experimental() // untriaged static const int UNSIGNED_SHORT_5_6_5 = 0x8363; - @DomName('WebGL.VALIDATE_STATUS') - @DocsEditable() - @Experimental() // untriaged static const int VALIDATE_STATUS = 0x8B83; - @DomName('WebGL.VENDOR') - @DocsEditable() - @Experimental() // untriaged static const int VENDOR = 0x1F00; - @DomName('WebGL.VERSION') - @DocsEditable() - @Experimental() // untriaged static const int VERSION = 0x1F02; - @DomName('WebGL.VERTEX_ARRAY_BINDING') - @DocsEditable() - @Experimental() // untriaged static const int VERTEX_ARRAY_BINDING = 0x85B5; - @DomName('WebGL.VERTEX_ATTRIB_ARRAY_BUFFER_BINDING') - @DocsEditable() - @Experimental() // untriaged static const int VERTEX_ATTRIB_ARRAY_BUFFER_BINDING = 0x889F; - @DomName('WebGL.VERTEX_ATTRIB_ARRAY_DIVISOR') - @DocsEditable() - @Experimental() // untriaged static const int VERTEX_ATTRIB_ARRAY_DIVISOR = 0x88FE; - @DomName('WebGL.VERTEX_ATTRIB_ARRAY_ENABLED') - @DocsEditable() - @Experimental() // untriaged static const int VERTEX_ATTRIB_ARRAY_ENABLED = 0x8622; - @DomName('WebGL.VERTEX_ATTRIB_ARRAY_INTEGER') - @DocsEditable() - @Experimental() // untriaged static const int VERTEX_ATTRIB_ARRAY_INTEGER = 0x88FD; - @DomName('WebGL.VERTEX_ATTRIB_ARRAY_NORMALIZED') - @DocsEditable() - @Experimental() // untriaged static const int VERTEX_ATTRIB_ARRAY_NORMALIZED = 0x886A; - @DomName('WebGL.VERTEX_ATTRIB_ARRAY_POINTER') - @DocsEditable() - @Experimental() // untriaged static const int VERTEX_ATTRIB_ARRAY_POINTER = 0x8645; - @DomName('WebGL.VERTEX_ATTRIB_ARRAY_SIZE') - @DocsEditable() - @Experimental() // untriaged static const int VERTEX_ATTRIB_ARRAY_SIZE = 0x8623; - @DomName('WebGL.VERTEX_ATTRIB_ARRAY_STRIDE') - @DocsEditable() - @Experimental() // untriaged static const int VERTEX_ATTRIB_ARRAY_STRIDE = 0x8624; - @DomName('WebGL.VERTEX_ATTRIB_ARRAY_TYPE') - @DocsEditable() - @Experimental() // untriaged static const int VERTEX_ATTRIB_ARRAY_TYPE = 0x8625; - @DomName('WebGL.VERTEX_SHADER') - @DocsEditable() - @Experimental() // untriaged static const int VERTEX_SHADER = 0x8B31; - @DomName('WebGL.VIEWPORT') - @DocsEditable() - @Experimental() // untriaged static const int VIEWPORT = 0x0BA2; - @DomName('WebGL.WAIT_FAILED') - @DocsEditable() - @Experimental() // untriaged static const int WAIT_FAILED = 0x911D; - @DomName('WebGL.ZERO') - @DocsEditable() - @Experimental() // untriaged static const int ZERO = 0; } // Copyright (c) 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('WebGL2RenderingContextBase') -@Experimental() // untriaged @Native("WebGL2RenderingContextBase") abstract class _WebGL2RenderingContextBase extends Interceptor implements _WebGLRenderingContextBase { @@ -7617,9 +4166,6 @@ abstract class _WebGL2RenderingContextBase 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('WebGLRenderingContextBase') -@Experimental() // untriaged abstract class _WebGLRenderingContextBase extends Interceptor { // To suppress missing implicit constructor warnings. factory _WebGLRenderingContextBase._() { diff --git a/sdk/lib/web_sql/dart2js/web_sql_dart2js.dart b/sdk/lib/web_sql/dart2js/web_sql_dart2js.dart index 633ebe5cb87..cce7a93985f 100644 --- a/sdk/lib/web_sql/dart2js/web_sql_dart2js.dart +++ b/sdk/lib/web_sql/dart2js/web_sql_dart2js.dart @@ -38,9 +38,6 @@ import 'dart:_js_helper' // WARNING: Do not edit - generated code. -@DomName('SQLStatementCallback') -// http://www.w3.org/TR/webdatabase/#sqlstatementcallback -@Experimental() // deprecated typedef void SqlStatementCallback( SqlTransaction transaction, SqlResultSet resultSet); // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file @@ -49,9 +46,6 @@ typedef void SqlStatementCallback( // WARNING: Do not edit - generated code. -@DomName('SQLStatementErrorCallback') -// http://www.w3.org/TR/webdatabase/#sqlstatementerrorcallback -@Experimental() // deprecated typedef void SqlStatementErrorCallback( SqlTransaction transaction, SqlError error); // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file @@ -60,9 +54,6 @@ typedef void SqlStatementErrorCallback( // WARNING: Do not edit - generated code. -@DomName('SQLTransactionCallback') -// http://www.w3.org/TR/webdatabase/#sqltransactioncallback -@Experimental() // deprecated typedef void SqlTransactionCallback(SqlTransaction transaction); // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a @@ -70,21 +61,13 @@ typedef void SqlTransactionCallback(SqlTransaction transaction); // WARNING: Do not edit - generated code. -@DomName('SQLTransactionErrorCallback') -// http://www.w3.org/TR/webdatabase/#sqltransactionerrorcallback -@Experimental() // deprecated typedef void SqlTransactionErrorCallback(SqlError error); // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('Database') @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.SAFARI) -@Experimental() -// http://www.w3.org/TR/webdatabase/#asynchronous-database-api -@Experimental() // deprecated @Native("Database") class SqlDatabase extends Interceptor { // To suppress missing implicit constructor warnings. @@ -95,8 +78,6 @@ class SqlDatabase extends Interceptor { /// Checks if this type is supported on the current platform. static bool get supported => JS('bool', '!!(window.openDatabase)'); - @DomName('Database.version') - @DocsEditable() final String version; /** @@ -113,28 +94,20 @@ class SqlDatabase extends Interceptor { * * * [Database.changeVersion](http://www.w3.org/TR/webdatabase/#dom-database-changeversion) from W3C. */ - @DomName('Database.changeVersion') - @DocsEditable() void changeVersion(String oldVersion, String newVersion, [SqlTransactionCallback callback, SqlTransactionErrorCallback errorCallback, VoidCallback successCallback]) native; - @DomName('Database.readTransaction') - @DocsEditable() void readTransaction(SqlTransactionCallback callback, [SqlTransactionErrorCallback errorCallback, VoidCallback successCallback]) native; - @DomName('Database.transaction') - @DocsEditable() void transaction(SqlTransactionCallback callback, [SqlTransactionErrorCallback errorCallback, VoidCallback successCallback]) native; @JSName('transaction') - @DomName('Database.transaction') - @DocsEditable() Future transaction_future() { var completer = new Completer(); transaction((value) { @@ -150,10 +123,6 @@ class SqlDatabase 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('SQLError') -// http://www.w3.org/TR/webdatabase/#sqlerror -@Experimental() // deprecated @Native("SQLError") class SqlError extends Interceptor { // To suppress missing implicit constructor warnings. @@ -161,54 +130,30 @@ class SqlError extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('SQLError.CONSTRAINT_ERR') - @DocsEditable() static const int CONSTRAINT_ERR = 6; - @DomName('SQLError.DATABASE_ERR') - @DocsEditable() static const int DATABASE_ERR = 1; - @DomName('SQLError.QUOTA_ERR') - @DocsEditable() static const int QUOTA_ERR = 4; - @DomName('SQLError.SYNTAX_ERR') - @DocsEditable() static const int SYNTAX_ERR = 5; - @DomName('SQLError.TIMEOUT_ERR') - @DocsEditable() static const int TIMEOUT_ERR = 7; - @DomName('SQLError.TOO_LARGE_ERR') - @DocsEditable() static const int TOO_LARGE_ERR = 3; - @DomName('SQLError.UNKNOWN_ERR') - @DocsEditable() static const int UNKNOWN_ERR = 0; - @DomName('SQLError.VERSION_ERR') - @DocsEditable() static const int VERSION_ERR = 2; - @DomName('SQLError.code') - @DocsEditable() final int code; - @DomName('SQLError.message') - @DocsEditable() final String 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('SQLResultSet') -// http://www.w3.org/TR/webdatabase/#sqlresultset -@Experimental() // deprecated @Native("SQLResultSet") class SqlResultSet extends Interceptor { // To suppress missing implicit constructor warnings. @@ -216,26 +161,16 @@ class SqlResultSet extends Interceptor { throw new UnsupportedError("Not supported"); } - @DomName('SQLResultSet.insertId') - @DocsEditable() final int insertId; - @DomName('SQLResultSet.rows') - @DocsEditable() final SqlResultSetRowList rows; - @DomName('SQLResultSet.rowsAffected') - @DocsEditable() final int 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 // BSD-style license that can be found in the LICENSE file. -@DocsEditable() -@DomName('SQLResultSetRowList') -// http://www.w3.org/TR/webdatabase/#sqlresultsetrowlist -@Experimental() // deprecated @Native("SQLResultSetRowList") class SqlResultSetRowList extends Interceptor with ListMixin, ImmutableListMixin @@ -245,8 +180,6 @@ class SqlResultSetRowList extends Interceptor throw new UnsupportedError("Not supported"); } - @DomName('SQLResultSetRowList.length') - @DocsEditable() int get length => JS("int", "#.length", this); Map operator [](int index) { @@ -292,26 +225,19 @@ class SqlResultSetRowList extends Interceptor Map elementAt(int index) => this[index]; // -- end List mixins. - @DomName('SQLResultSetRowList.item') - @DocsEditable() Map item(int index) { return convertNativeToDart_Dictionary(_item_1(index)); } @JSName('item') - @DomName('SQLResultSetRowList.item') - @DocsEditable() _item_1(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('SQLTransaction') @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.SAFARI) -@Experimental() // http://www.w3.org/TR/webdatabase/#sqltransaction @deprecated // deprecated @Native("SQLTransaction") @@ -322,16 +248,12 @@ class SqlTransaction extends Interceptor { } @JSName('executeSql') - @DomName('SQLTransaction.executeSql') - @DocsEditable() void _executeSql(String sqlStatement, [List arguments, SqlStatementCallback callback, SqlStatementErrorCallback errorCallback]) native; @JSName('executeSql') - @DomName('SQLTransaction.executeSql') - @DocsEditable() Future executeSql(String sqlStatement, [List arguments]) { var completer = new Completer(); _executeSql(sqlStatement, arguments, (transaction, resultSet) { diff --git a/tools/dom/scripts/css_code_generator.py b/tools/dom/scripts/css_code_generator.py index bbbd9ebf1ee..1d921efb128 100644 --- a/tools/dom/scripts/css_code_generator.py +++ b/tools/dom/scripts/css_code_generator.py @@ -144,7 +144,6 @@ $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME $EXTENDS with } - @DomName('CSSStyleDeclaration.setProperty') void setProperty(String propertyName, String value, [String priority]) { return _setPropertyHelper(_browserPropertyName(propertyName), value, priority); diff --git a/tools/dom/scripts/dartmetadata.py b/tools/dom/scripts/dartmetadata.py index 3b7ac5639df..39736b193f9 100644 --- a/tools/dom/scripts/dartmetadata.py +++ b/tools/dom/scripts/dartmetadata.py @@ -456,19 +456,16 @@ _dart2js_annotations = monitored.Dict('dartmetadata._dart2js_annotations', { _blink_experimental_annotations = [ "@SupportedBrowser(SupportedBrowser.CHROME)", - "@Experimental()", ] _indexed_db_annotations = [ "@SupportedBrowser(SupportedBrowser.CHROME)", "@SupportedBrowser(SupportedBrowser.FIREFOX, '15')", "@SupportedBrowser(SupportedBrowser.IE, '10')", - "@Experimental()", ] _file_system_annotations = [ "@SupportedBrowser(SupportedBrowser.CHROME)", - "@Experimental()", ] _all_but_ie9_annotations = [ @@ -494,17 +491,14 @@ _performance_annotations = [ _rtc_annotations = [ # Note: Firefox nightly builds also support this. "@SupportedBrowser(SupportedBrowser.CHROME)", - "@Experimental()", ] _shadow_dom_annotations = [ "@SupportedBrowser(SupportedBrowser.CHROME, '26')", - "@Experimental()", ] _speech_recognition_annotations = [ "@SupportedBrowser(SupportedBrowser.CHROME, '25')", - "@Experimental()", ] _svg_annotations = _all_but_ie9_annotations; @@ -512,13 +506,11 @@ _svg_annotations = _all_but_ie9_annotations; _web_sql_annotations = [ "@SupportedBrowser(SupportedBrowser.CHROME)", "@SupportedBrowser(SupportedBrowser.SAFARI)", - "@Experimental()", ] _webgl_annotations = [ "@SupportedBrowser(SupportedBrowser.CHROME)", "@SupportedBrowser(SupportedBrowser.FIREFOX)", - "@Experimental()", ] _web_audio_annotations = _webgl_annotations @@ -526,7 +518,6 @@ _web_audio_annotations = _webgl_annotations _webkit_experimental_annotations = [ "@SupportedBrowser(SupportedBrowser.CHROME)", "@SupportedBrowser(SupportedBrowser.SAFARI)", - "@Experimental()", ] # Annotations to be placed on generated members. @@ -558,17 +549,15 @@ _annotations = monitored.Dict('dartmetadata._annotations', { 'Window.webkitResolveLocalFileSystemURL': _file_system_annotations, 'Element.createShadowRoot': [ "@SupportedBrowser(SupportedBrowser.CHROME, '25')", - "@Experimental()", ], 'Element.ontransitionend': _all_but_ie9_annotations, # Placeholder to add experimental flag, implementation for this is # pending in a separate CL. - 'Element.webkitMatchesSelector': ['@Experimental()'], + 'Element.webkitMatchesSelector': [], 'Event.clipboardData': [ "@SupportedBrowser(SupportedBrowser.CHROME)", "@SupportedBrowser(SupportedBrowser.FIREFOX)", "@SupportedBrowser(SupportedBrowser.SAFARI)", - "@Experimental()", ], 'FormData': _all_but_ie9_annotations, 'HashChangeEvent': [ @@ -619,7 +608,6 @@ _annotations = monitored.Dict('dartmetadata._annotations', { "@SupportedBrowser(SupportedBrowser.CHROME)", "@SupportedBrowser(SupportedBrowser.FIREFOX)", "@SupportedBrowser(SupportedBrowser.SAFARI)", - "@Experimental()", ], 'Performance': _performance_annotations, 'PopStateEvent': _history_annotations, @@ -760,12 +748,7 @@ class DartMetadata(object): key = interface.id dom_name = interface.javascript_binding_name - annotations = ["@DomName('" + dom_name + "')"] - - # Only add this for members, so we don't add DocsEditable to templated - # classes (they get it from the default class template) - if member_name: - annotations.append('@DocsEditable()'); + annotations = [] if key in _annotations: annotations.extend(_annotations[key]) @@ -893,10 +876,6 @@ class DartMetadata(object): if dart_action: if dart_action == 'unstable': annotations.append('@Unstable()') - elif dart_action == 'experimental': - if comment: - annotations.append('// %s' % comment) - annotations.append('@Experimental() // %s' % support_level) elif dart_action == 'suppress': if comment: annotations.append('// %s' % comment) @@ -909,16 +888,6 @@ class DartMetadata(object): pass else: _logger.warn('Unknown dart_action - %s:%s' % (interface_id, member_id)) - elif support_level == 'untriaged': - annotations.append('@Experimental() // untriaged') - elif support_level == 'experimental': - if comment: - annotations.append('// %s' % comment) - annotations.append('@Experimental()') - elif support_level == 'nonstandard': - if comment: - annotations.append('// %s' % comment) - annotations.append('@Experimental() // non-standard') elif support_level == 'stable': pass elif support_level == 'deprecated': diff --git a/tools/dom/scripts/htmldartgenerator.py b/tools/dom/scripts/htmldartgenerator.py index 3679cc5ff7e..cbc0417537a 100644 --- a/tools/dom/scripts/htmldartgenerator.py +++ b/tools/dom/scripts/htmldartgenerator.py @@ -64,8 +64,6 @@ class HtmlDartGenerator(object): def EmitEventGetter(self, events_class_name): self._members_emitter.Emit( - "\n @DocsEditable()" - "\n @DomName('EventTarget.addEventListener, " "EventTarget.removeEventListener, EventTarget.dispatchEvent')" "\n @deprecated" "\n $TYPE get on =>\n new $TYPE(this);\n", diff --git a/tools/dom/scripts/systemnative.py b/tools/dom/scripts/systemnative.py index 1df7f8cf952..31276a78d56 100644 --- a/tools/dom/scripts/systemnative.py +++ b/tools/dom/scripts/systemnative.py @@ -260,7 +260,6 @@ class DartiumBackend(HtmlDartGenerator): self.DeriveQualifiedBlinkName(self._interface.id, dart_native_name) self._members_emitter.Emit( - '\n @DocsEditable()\n' ' static $INTERFACE_NAME $FACTORY_METHOD_NAME($PARAMETERS) => ' '$TOPLEVEL_NAME($OUTPARAMETERS);\n', INTERFACE_NAME=self._interface_type_info.interface_name(), diff --git a/tools/dom/src/Dimension.dart b/tools/dom/src/Dimension.dart index d9b34d9e5d7..502b68d221b 100644 --- a/tools/dom/src/Dimension.dart +++ b/tools/dom/src/Dimension.dart @@ -5,7 +5,6 @@ part of html; * [length measurement](https://developer.mozilla.org/en-US/docs/Web/CSS/length) * in CSS. */ -@Experimental() class Dimension { num _value; String _unit; diff --git a/tools/dom/src/dart2js_Console.dart b/tools/dom/src/dart2js_Console.dart index 6166c0abf0a..5ed9206d598 100644 --- a/tools/dom/src/dart2js_Console.dart +++ b/tools/dom/src/dart2js_Console.dart @@ -10,95 +10,73 @@ class Console { bool get _isConsoleDefined => JS('bool', 'typeof console != "undefined"'); - @DomName('Console.memory') MemoryInfo get memory => _isConsoleDefined ? JS('MemoryInfo', 'window.console.memory') : null; - @DomName('Console.assertCondition') void assertCondition(bool condition, Object arg) => _isConsoleDefined ? JS('void', 'window.console.assertCondition(#, #)', condition, arg) : null; - @DomName('Console.clear') void clear(Object arg) => _isConsoleDefined ? JS('void', 'window.console.clear(#)', arg) : null; - @DomName('Console.count') void count(Object arg) => _isConsoleDefined ? JS('void', 'window.console.count(#)', arg) : null; - @DomName('Console.debug') void debug(Object arg) => _isConsoleDefined ? JS('void', 'window.console.debug(#)', arg) : null; - @DomName('Console.dir') void dir(Object arg) => _isConsoleDefined ? JS('void', 'window.console.dir(#)', arg) : null; - @DomName('Console.dirxml') void dirxml(Object arg) => _isConsoleDefined ? JS('void', 'window.console.dirxml(#)', arg) : null; - @DomName('Console.error') void error(Object arg) => _isConsoleDefined ? JS('void', 'window.console.error(#)', arg) : null; - @DomName('Console.group') void group(Object arg) => _isConsoleDefined ? JS('void', 'window.console.group(#)', arg) : null; - @DomName('Console.groupCollapsed') void groupCollapsed(Object arg) => _isConsoleDefined ? JS('void', 'window.console.groupCollapsed(#)', arg) : null; - @DomName('Console.groupEnd') void groupEnd() => _isConsoleDefined ? JS('void', 'window.console.groupEnd()') : null; - @DomName('Console.info') void info(Object arg) => _isConsoleDefined ? JS('void', 'window.console.info(#)', arg) : null; - @DomName('Console.log') void log(Object arg) => _isConsoleDefined ? JS('void', 'window.console.log(#)', arg) : null; - @DomName('Console.markTimeline') void markTimeline(Object arg) => _isConsoleDefined ? JS('void', 'window.console.markTimeline(#)', arg) : null; - @DomName('Console.profile') void profile(String title) => _isConsoleDefined ? JS('void', 'window.console.profile(#)', title) : null; - @DomName('Console.profileEnd') void profileEnd(String title) => _isConsoleDefined ? JS('void', 'window.console.profileEnd(#)', title) : null; - @DomName('Console.table') void table(Object arg) => _isConsoleDefined ? JS('void', 'window.console.table(#)', arg) : null; - @DomName('Console.time') void time(String title) => _isConsoleDefined ? JS('void', 'window.console.time(#)', title) : null; - @DomName('Console.timeEnd') void timeEnd(String title) => _isConsoleDefined ? JS('void', 'window.console.timeEnd(#)', title) : null; - @DomName('Console.timeStamp') void timeStamp(Object arg) => _isConsoleDefined ? JS('void', 'window.console.timeStamp(#)', arg) : null; - @DomName('Console.trace') void trace(Object arg) => _isConsoleDefined ? JS('void', 'window.console.trace(#)', arg) : null; - @DomName('Console.warn') void warn(Object arg) => _isConsoleDefined ? JS('void', 'window.console.warn(#)', arg) : null; } diff --git a/tools/dom/src/dart2js_KeyEvent.dart b/tools/dom/src/dart2js_KeyEvent.dart index e4bc29638cb..ad8c9053cdf 100644 --- a/tools/dom/src/dart2js_KeyEvent.dart +++ b/tools/dom/src/dart2js_KeyEvent.dart @@ -25,7 +25,6 @@ * on how we can make this class work with as many international keyboards as * possible. Bugs welcome! */ -@Experimental() class KeyEvent extends _WrappedEvent implements KeyboardEvent { /** The parent KeyboardEvent that this KeyEvent is wrapping and "fixing". */ KeyboardEvent _parent; @@ -230,10 +229,8 @@ class KeyEvent extends _WrappedEvent implements KeyboardEvent { "Cannot initialize a KeyboardEvent from a KeyEvent."); } - @Experimental() // untriaged bool getModifierState(String keyArgument) => throw new UnimplementedError(); - @Experimental() // untriaged bool get repeat => throw new UnimplementedError(); bool get isComposed => throw new UnimplementedError(); dynamic get _get_view => throw new UnimplementedError(); diff --git a/tools/dom/src/dart2js_WrappedEvent.dart b/tools/dom/src/dart2js_WrappedEvent.dart index 02dab3d1bb9..4d2ac28fbae 100644 --- a/tools/dom/src/dart2js_WrappedEvent.dart +++ b/tools/dom/src/dart2js_WrappedEvent.dart @@ -83,7 +83,6 @@ class _WrappedEvent implements Event { * from W3C. */ // https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/shadow/index.html#extensions-to-event - @Experimental() List get path => wrapped.path; dynamic get _get_currentTarget => wrapped._get_currentTarget; diff --git a/tools/dom/templates/dart2js_impl.darttemplate b/tools/dom/templates/dart2js_impl.darttemplate index fb30e0b3e6c..b88676a9596 100644 --- a/tools/dom/templates/dart2js_impl.darttemplate +++ b/tools/dom/templates/dart2js_impl.darttemplate @@ -4,6 +4,5 @@ part of $LIBRARYNAME; -@DocsEditable() $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$MIXINS$IMPLEMENTS { $!MEMBERS} diff --git a/tools/dom/templates/dart2js_maplike_impl.darttemplate b/tools/dom/templates/dart2js_maplike_impl.darttemplate index c2f8f910437..05af1195e2a 100644 --- a/tools/dom/templates/dart2js_maplike_impl.darttemplate +++ b/tools/dom/templates/dart2js_maplike_impl.darttemplate @@ -4,7 +4,6 @@ part of $LIBRARYNAME; -@DocsEditable() $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$MIXINS$IMPLEMENTS { $!MEMBERS diff --git a/tools/dom/templates/html/dart2js/html_dart2js.darttemplate b/tools/dom/templates/html/dart2js/html_dart2js.darttemplate index d989b1d8066..126cffa7555 100644 --- a/tools/dom/templates/html/dart2js/html_dart2js.darttemplate +++ b/tools/dom/templates/html/dart2js/html_dart2js.darttemplate @@ -6,32 +6,6 @@ // https://code.google.com/p/dart/wiki/ContributingHTMLDocumentation // Auto-generated dart:html library. -/** - * 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'; @@ -163,7 +137,6 @@ class HtmlElement extends Element implements NoncedElement { HtmlElement.created() : super.created(); // From NoncedElement - @DomName('HTMLElement.nonce') String nonce; } @@ -171,7 +144,5 @@ 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); diff --git a/tools/dom/templates/html/dart2js/impl_Console.darttemplate b/tools/dom/templates/html/dart2js/impl_Console.darttemplate index 4372f85e30b..890ad2d6b59 100644 --- a/tools/dom/templates/html/dart2js/impl_Console.darttemplate +++ b/tools/dom/templates/html/dart2js/impl_Console.darttemplate @@ -12,91 +12,69 @@ $(ANNOTATIONS)$(CLASS_MODIFIERS)class Console { bool get _isConsoleDefined => JS('bool', 'typeof console != "undefined"'); - @DomName('Console.memory') MemoryInfo get memory => _isConsoleDefined ? JS('MemoryInfo', 'console.memory') : null; - @DomName('Console.assertCondition') void assertCondition(bool condition, Object arg) => _isConsoleDefined ? JS('void', 'console.assertCondition(#, #)', condition, arg) : null; - @DomName('Console.clear') void clear(Object arg) => _isConsoleDefined ? JS('void', 'console.clear(#)', arg) : null; - @DomName('Console.count') void count(Object arg) => _isConsoleDefined ? JS('void', 'console.count(#)', arg) : null; - @DomName('Console.debug') void debug(Object arg) => _isConsoleDefined ? JS('void', 'console.debug(#)', arg) : null; - @DomName('Console.dir') void dir(Object arg) => _isConsoleDefined ? JS('void', 'console.dir(#)', arg) : null; - @DomName('Console.dirxml') void dirxml(Object arg) => _isConsoleDefined ? JS('void', 'console.dirxml(#)', arg) : null; - @DomName('Console.error') void error(Object arg) => _isConsoleDefined ? JS('void', 'console.error(#)', arg) : null; - @DomName('Console.group') void group(Object arg) => _isConsoleDefined ? JS('void', 'console.group(#)', arg) : null; - @DomName('Console.groupCollapsed') void groupCollapsed(Object arg) => _isConsoleDefined ? JS('void', 'console.groupCollapsed(#)', arg) : null; - @DomName('Console.groupEnd') void groupEnd() => _isConsoleDefined ? JS('void', 'console.groupEnd()') : null; - @DomName('Console.info') void info(Object arg) => _isConsoleDefined ? JS('void', 'console.info(#)', arg) : null; - @DomName('Console.log') void log(Object arg) => _isConsoleDefined ? JS('void', 'console.log(#)', arg) : null; - @DomName('Console.markTimeline') void markTimeline(Object arg) => _isConsoleDefined ? JS('void', 'console.markTimeline(#)', arg) : null; - @DomName('Console.profile') void profile(String title) => _isConsoleDefined ? JS('void', 'console.profile(#)', title) : null; - @DomName('Console.profileEnd') void profileEnd(String title) => _isConsoleDefined ? JS('void', 'console.profileEnd(#)', title) : null; - @DomName('Console.table') void table(Object arg) => _isConsoleDefined ? JS('void', 'console.table(#)', arg) : null; - @DomName('Console.time') void time(String title) => _isConsoleDefined ? JS('void', 'console.time(#)', title) : null; - @DomName('Console.timeEnd') void timeEnd(String title) => _isConsoleDefined ? JS('void', 'console.timeEnd(#)', title) : null; - @DomName('Console.timeStamp') void timeStamp(Object arg) => _isConsoleDefined ? JS('void', 'console.timeStamp(#)', arg) : null; - @DomName('Console.trace') void trace(Object arg) => _isConsoleDefined ? JS('void', 'console.trace(#)', arg) : null; - @DomName('Console.warn') void warn(Object arg) => _isConsoleDefined ? JS('void', 'console.warn(#)', arg) : null; $!MEMBERS diff --git a/tools/dom/templates/html/dart2js/impl_HTMLAnchorElement.darttemplate b/tools/dom/templates/html/dart2js/impl_HTMLAnchorElement.darttemplate index fb6ff5f33bc..ede36147915 100644 --- a/tools/dom/templates/html/dart2js/impl_HTMLAnchorElement.darttemplate +++ b/tools/dom/templates/html/dart2js/impl_HTMLAnchorElement.darttemplate @@ -4,11 +4,8 @@ part of $LIBRARYNAME; -@DocsEditable() $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$MIXINS$IMPLEMENTS { $!MEMBERS - @DomName('HTMLAnchorElement.toString') - @DocsEditable() String toString() => JS('String', 'String(#)', this); } diff --git a/tools/dom/templates/html/dart2js/impl_HTMLAreaElement.darttemplate b/tools/dom/templates/html/dart2js/impl_HTMLAreaElement.darttemplate index df3fdd68cf3..ede36147915 100644 --- a/tools/dom/templates/html/dart2js/impl_HTMLAreaElement.darttemplate +++ b/tools/dom/templates/html/dart2js/impl_HTMLAreaElement.darttemplate @@ -4,11 +4,8 @@ part of $LIBRARYNAME; -@DocsEditable() $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$MIXINS$IMPLEMENTS { $!MEMBERS - @DomName('HTMLAreaElement.toString') - @DocsEditable() String toString() => JS('String', 'String(#)', this); } diff --git a/tools/dom/templates/html/dart2js/impl_KeyboardEvent.darttemplate b/tools/dom/templates/html/dart2js/impl_KeyboardEvent.darttemplate index 28374c1c26f..dbb094f64d9 100644 --- a/tools/dom/templates/html/dart2js/impl_KeyboardEvent.darttemplate +++ b/tools/dom/templates/html/dart2js/impl_KeyboardEvent.darttemplate @@ -44,7 +44,6 @@ $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS return e; } - @DomName('KeyboardEvent.initKeyboardEvent') void _initKeyboardEvent(String type, bool canBubble, bool cancelable, Window view, String keyIdentifier, int location, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey) { @@ -64,13 +63,10 @@ $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS } } - @DomName('KeyboardEvent.keyCode') final int keyCode; - @DomName('KeyboardEvent.charCode') final int charCode; - @DomName('KeyboardEvent.which') int get which => _which; $!MEMBERS } diff --git a/tools/dom/templates/html/dart2js/impl_MouseEvent.darttemplate b/tools/dom/templates/html/dart2js/impl_MouseEvent.darttemplate index 2b582c63182..f6c080a4337 100644 --- a/tools/dom/templates/html/dart2js/impl_MouseEvent.darttemplate +++ b/tools/dom/templates/html/dart2js/impl_MouseEvent.darttemplate @@ -22,14 +22,10 @@ $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS } $!MEMBERS - @DomName('MouseEvent.clientX') @DomName('MouseEvent.clientY') Point get client => new Point(_clientX, _clientY); - @DomName('MouseEvent.movementX') - @DomName('MouseEvent.movementY') @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.FIREFOX) - @Experimental() Point get movement => new Point(_movementX, _movementY); /** @@ -56,19 +52,12 @@ $!MEMBERS } } - @DomName('MouseEvent.screenX') - @DomName('MouseEvent.screenY') Point get screen => new Point(_screenX, _screenY); - @DomName('MouseEvent.layerX') - @DomName('MouseEvent.layerY') Point get layer => new Point(_layerX, _layerY); - @DomName('MouseEvent.pageX') - @DomName('MouseEvent.pageY') Point get page => new Point(_pageX, _pageY); - @DomName('MouseEvent.dataTransfer') DataTransfer get dataTransfer => JS('DataTransfer', "#['dataTransfer']", this); } diff --git a/tools/dom/templates/html/dart2js/impl_PaymentRequest.darttemplate b/tools/dom/templates/html/dart2js/impl_PaymentRequest.darttemplate index 3110cc847e5..96e051340f9 100644 --- a/tools/dom/templates/html/dart2js/impl_PaymentRequest.darttemplate +++ b/tools/dom/templates/html/dart2js/impl_PaymentRequest.darttemplate @@ -4,7 +4,6 @@ part of $LIBRARYNAME; -@DocsEditable() $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$MIXINS$IMPLEMENTS { factory PaymentRequest(List methodData, Map details, [Map options]) { diff --git a/tools/dom/templates/html/dart2js/impl_URL.darttemplate b/tools/dom/templates/html/dart2js/impl_URL.darttemplate index 1e14cca2492..7e7350ee17a 100644 --- a/tools/dom/templates/html/dart2js/impl_URL.darttemplate +++ b/tools/dom/templates/html/dart2js/impl_URL.darttemplate @@ -24,8 +24,6 @@ $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS JS('void', '(self.URL || self.webkitURL).revokeObjectURL(#)', url); - @DomName('URL.toString') - @DocsEditable() String toString() => JS('String', 'String(#)', this); $!MEMBERS diff --git a/tools/dom/templates/html/impl/impl_AbstractWorker.darttemplate b/tools/dom/templates/html/impl/impl_AbstractWorker.darttemplate index 8bb0f4105a5..745d25b1211 100644 --- a/tools/dom/templates/html/impl/impl_AbstractWorker.darttemplate +++ b/tools/dom/templates/html/impl/impl_AbstractWorker.darttemplate @@ -4,6 +4,5 @@ part of $LIBRARYNAME; -@DocsEditable() $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$MIXINS implements EventTarget { $!MEMBERS} diff --git a/tools/dom/templates/html/impl/impl_AudioContext.darttemplate b/tools/dom/templates/html/impl/impl_AudioContext.darttemplate index a90e62ef9d5..d98519bcc00 100644 --- a/tools/dom/templates/html/impl/impl_AudioContext.darttemplate +++ b/tools/dom/templates/html/impl/impl_AudioContext.darttemplate @@ -41,13 +41,10 @@ $!MEMBERS } @JSName('decodeAudioData') - @DomName('AudioContext.decodeAudioData') - @DocsEditable() Future _decodeAudioData(ByteBuffer audioData, [DecodeSuccessCallback successCallback, DecodeErrorCallback errorCallback]) native; - @DomName('AudioContext.decodeAudioData') Future decodeAudioData(ByteBuffer audioData, [DecodeSuccessCallback successCallback, DecodeErrorCallback errorCallback]) { diff --git a/tools/dom/templates/html/impl/impl_AudioNode.darttemplate b/tools/dom/templates/html/impl/impl_AudioNode.darttemplate index e5ba37a0152..1342ec5beae 100644 --- a/tools/dom/templates/html/impl/impl_AudioNode.darttemplate +++ b/tools/dom/templates/html/impl/impl_AudioNode.darttemplate @@ -6,12 +6,10 @@ part of web_audio; $(ANNOTATIONS)$(NATIVESPEC)class $CLASSNAME$EXTENDS$IMPLEMENTS { $!MEMBERS - @DomName('AudioNode.connect') void connectNode(AudioNode destination, [int output = 0, int input = 0]) { _connect(destination, output, input); } - @DomName('AudioNode.connect') void connectParam(AudioParam destination, [int output = 0]) { _connect(destination, output); } diff --git a/tools/dom/templates/html/impl/impl_CSSStyleDeclaration.darttemplate b/tools/dom/templates/html/impl/impl_CSSStyleDeclaration.darttemplate index 03a291474cd..574ef483d48 100644 --- a/tools/dom/templates/html/impl/impl_CSSStyleDeclaration.darttemplate +++ b/tools/dom/templates/html/impl/impl_CSSStyleDeclaration.darttemplate @@ -53,7 +53,6 @@ $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME $EXTENDS with } - @DomName('CSSStyleDeclaration.setProperty') void setProperty(String propertyName, String value, [String priority]) { return _setPropertyHelper(_browserPropertyName(propertyName), value, priority); diff --git a/tools/dom/templates/html/impl/impl_CanvasRenderingContext2D.darttemplate b/tools/dom/templates/html/impl/impl_CanvasRenderingContext2D.darttemplate index 51a6976e004..ac9403d680b 100644 --- a/tools/dom/templates/html/impl/impl_CanvasRenderingContext2D.darttemplate +++ b/tools/dom/templates/html/impl/impl_CanvasRenderingContext2D.darttemplate @@ -11,8 +11,6 @@ abstract class CanvasRenderingContext { $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS implements CanvasRenderingContext { $!MEMBERS - @DomName('CanvasRenderingContext2D.createImageDataFromImageData') - @DocsEditable() ImageData createImageDataFromImageData(ImageData imagedata) => JS('ImageData', '#.createImageData(#)', this, imagedata); @@ -52,7 +50,6 @@ $!MEMBERS this.strokeStyle = 'hsla($h, $s%, $l%, $a)'; } - @DomName('CanvasRenderingContext2D.arc') void arc(num x, num y, num radius, num startAngle, num endAngle, [bool anticlockwise = false]) { // TODO(terry): This should not be needed: dartbug.com/20939. @@ -60,7 +57,6 @@ $!MEMBERS endAngle, anticlockwise); } - @DomName('CanvasRenderingContext2D.createPatternFromImage') CanvasPattern createPatternFromImage(ImageElement image, String repetitionType) => JS('CanvasPattern', '#.createPattern(#, #)', this, image, repetitionType); @@ -104,7 +100,6 @@ $!MEMBERS * * [drawImage](http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#dom-context-2d-drawimage) * from the WHATWG. */ - @DomName('CanvasRenderingContext2D.drawImage') void drawImageToRect(CanvasImageSource source, Rectangle destRect, {Rectangle sourceRect}) { if (sourceRect == null) { @@ -155,7 +150,6 @@ $!MEMBERS * * [drawImage](http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#dom-context-2d-drawimage) * from the WHATWG. */ - @DomName('CanvasRenderingContext2D.drawImage') @JSName('drawImage') void drawImage(CanvasImageSource source, num destX, num destY) native; @@ -185,7 +179,6 @@ $!MEMBERS * * [drawImage](http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#dom-context-2d-drawimage) * from the WHATWG. */ - @DomName('CanvasRenderingContext2D.drawImage') @JSName('drawImage') void drawImageScaled(CanvasImageSource source, num destX, num destY, num destWidth, num destHeight) native; @@ -219,7 +212,6 @@ $!MEMBERS * * [drawImage](http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#dom-context-2d-drawimage) * from the WHATWG. */ - @DomName('CanvasRenderingContext2D.drawImage') @JSName('drawImage') void drawImageScaledFromSource(CanvasImageSource source, num sourceX, num sourceY, num sourceWidth, num sourceHeight, @@ -229,7 +221,6 @@ $!MEMBERS @SupportedBrowser(SupportedBrowser.SAFARI) @SupportedBrowser(SupportedBrowser.IE, '11') @Unstable() - @DomName('CanvasRenderingContext2D.lineDashOffset') // TODO(14316): Firefox has this functionality with mozDashOffset, but it // needs to be polyfilled. num get lineDashOffset => JS('num', @@ -239,7 +230,6 @@ $!MEMBERS @SupportedBrowser(SupportedBrowser.SAFARI) @SupportedBrowser(SupportedBrowser.IE, '11') @Unstable() - @DomName('CanvasRenderingContext2D.lineDashOffset') // TODO(14316): Firefox has this functionality with mozDashOffset, but it // needs to be polyfilled. set lineDashOffset(num value) { @@ -252,7 +242,6 @@ $!MEMBERS @SupportedBrowser(SupportedBrowser.SAFARI) @SupportedBrowser(SupportedBrowser.IE, '11') @Unstable() - @DomName('CanvasRenderingContext2D.getLineDash') List getLineDash() { // TODO(14316): Firefox has this functionality with mozDash, but it's a bit // different. @@ -267,7 +256,6 @@ $!MEMBERS @SupportedBrowser(SupportedBrowser.SAFARI) @SupportedBrowser(SupportedBrowser.IE, '11') @Unstable() - @DomName('CanvasRenderingContext2D.setLineDash') void setLineDash(List dash) { // TODO(14316): Firefox has this functionality with mozDash, but it's a bit // different. @@ -293,7 +281,6 @@ $!MEMBERS * [CanvasRenderingContext2D.textBaseLine] properties are also applied to the * drawn text. */ - @DomName('CanvasRenderingContext2D.fillText') void fillText(String text, num x, num y, [num maxWidth]) { if (maxWidth != null) { JS('void', '#.fillText(#, #, #, #)', this, text, x, y, maxWidth); @@ -303,8 +290,6 @@ $!MEMBERS } /** Deprecated always returns 1.0 */ - @DomName('CanvasRenderingContext2D.webkitBackingStorePixelRation') - @Experimental() @deprecated double get backingStorePixelRatio => 1.0; } diff --git a/tools/dom/templates/html/impl/impl_Comment.darttemplate b/tools/dom/templates/html/impl/impl_Comment.darttemplate index 44b6b5462ba..aebaf0b9f22 100644 --- a/tools/dom/templates/html/impl/impl_Comment.darttemplate +++ b/tools/dom/templates/html/impl/impl_Comment.darttemplate @@ -4,7 +4,6 @@ part of $LIBRARYNAME; -@DocsEditable() $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$MIXINS$IMPLEMENTS { factory Comment([String data]) { return JS('returns:Comment;depends:none;effects:none;new:true', diff --git a/tools/dom/templates/html/impl/impl_CustomEvent.darttemplate b/tools/dom/templates/html/impl/impl_CustomEvent.darttemplate index 317a9cce125..02a4f929dc2 100644 --- a/tools/dom/templates/html/impl/impl_CustomEvent.darttemplate +++ b/tools/dom/templates/html/impl/impl_CustomEvent.darttemplate @@ -33,7 +33,6 @@ $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS return e; } - @DomName('CustomEvent.detail') get detail { if (_dartDetail != null) { return _dartDetail; diff --git a/tools/dom/templates/html/impl/impl_DOMException.darttemplate b/tools/dom/templates/html/impl/impl_DOMException.darttemplate index 963cb3c6c86..4eddc81287d 100644 --- a/tools/dom/templates/html/impl/impl_DOMException.darttemplate +++ b/tools/dom/templates/html/impl/impl_DOMException.darttemplate @@ -41,7 +41,5 @@ $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS return errorName; } $!MEMBERS - @DomName('DOMException.toString') - @DocsEditable() String toString() => JS('String', 'String(#)', this); } diff --git a/tools/dom/templates/html/impl/impl_DOMRect.darttemplate b/tools/dom/templates/html/impl/impl_DOMRect.darttemplate index 22f115e3d1d..f99d980a919 100644 --- a/tools/dom/templates/html/impl/impl_DOMRect.darttemplate +++ b/tools/dom/templates/html/impl/impl_DOMRect.darttemplate @@ -4,7 +4,6 @@ part of $LIBRARYNAME; -@DocsEditable() $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS implements Rectangle$IMPLEMENTS { // NOTE! All code below should be common with RectangleBase. diff --git a/tools/dom/templates/html/impl/impl_DOMRectReadOnly.darttemplate b/tools/dom/templates/html/impl/impl_DOMRectReadOnly.darttemplate index b17b5bc4f95..912f652e30b 100644 --- a/tools/dom/templates/html/impl/impl_DOMRectReadOnly.darttemplate +++ b/tools/dom/templates/html/impl/impl_DOMRectReadOnly.darttemplate @@ -4,7 +4,6 @@ part of $LIBRARYNAME; -@DocsEditable() $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS implements Rectangle$IMPLEMENTS { // NOTE! All code below should be common with RectangleBase. diff --git a/tools/dom/templates/html/impl/impl_DataTransferItemList.darttemplate b/tools/dom/templates/html/impl/impl_DataTransferItemList.darttemplate index 1636c05f087..940eeaca98c 100644 --- a/tools/dom/templates/html/impl/impl_DataTransferItemList.darttemplate +++ b/tools/dom/templates/html/impl/impl_DataTransferItemList.darttemplate @@ -4,7 +4,6 @@ part of $LIBRARYNAME; -@DocsEditable() $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$MIXINS$IMPLEMENTS { $!MEMBERS diff --git a/tools/dom/templates/html/impl/impl_Database.darttemplate b/tools/dom/templates/html/impl/impl_Database.darttemplate index ef5d8bdb0b0..5bc5d1e2086 100644 --- a/tools/dom/templates/html/impl/impl_Database.darttemplate +++ b/tools/dom/templates/html/impl/impl_Database.darttemplate @@ -4,13 +4,10 @@ part of $LIBRARYNAME; -@DocsEditable() $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS { $!MEMBERS @JSName('transaction') - @DomName('Database.transaction') - @DocsEditable() Future transaction_future() { var completer = new Completer(); transaction((value) { diff --git a/tools/dom/templates/html/impl/impl_DirectoryReader.darttemplate b/tools/dom/templates/html/impl/impl_DirectoryReader.darttemplate index 2e28d109169..53bc0efa887 100644 --- a/tools/dom/templates/html/impl/impl_DirectoryReader.darttemplate +++ b/tools/dom/templates/html/impl/impl_DirectoryReader.darttemplate @@ -7,8 +7,6 @@ part of $LIBRARYNAME; $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS { $!MEMBERS - @DomName('DirectoryReader.readEntries') - @DocsEditable() Future> readEntries() { var completer = new Completer>(); _readEntries((value) { diff --git a/tools/dom/templates/html/impl/impl_Document.darttemplate b/tools/dom/templates/html/impl/impl_Document.darttemplate index a7336fb082b..838507e7d24 100644 --- a/tools/dom/templates/html/impl/impl_Document.darttemplate +++ b/tools/dom/templates/html/impl/impl_Document.darttemplate @@ -4,7 +4,6 @@ part of $LIBRARYNAME; -@DocsEditable() $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME extends Node { @@ -42,7 +41,6 @@ $!MEMBERS registerElement2(tag, {'prototype': customElementClass, 'extends': extendsTag}); } - @DomName('Document.createElement') @ForceInline() // Almost all call sites have one argument. Element createElement(String tagName, [String typeExtension]) { return (typeExtension == null) @@ -52,41 +50,33 @@ $!MEMBERS // The two-argument version of this is automatically generated, but we need to // omit the typeExtension if it's null on Firefox or we get an is="null" attribute. - @DomName('Document.createElement') _createElement_2(String tagName) => JS('Element', '#.createElement(#)', this, tagName); // The three-argument version of this is automatically generated, but we need to // omit the typeExtension if it's null on Firefox or we get an is="null" attribute. - @DomName('Document.createElementNS') _createElementNS_2(String namespaceURI, String qualifiedName) => JS('Element', '#.createElementNS(#, #)', this, namespaceURI, qualifiedName); - @DomName('Document.createElementNS') - @DocsEditable() Element createElementNS(String namespaceURI, String qualifiedName, [String typeExtension]) { return (typeExtension == null) ? _createElementNS_2(namespaceURI, qualifiedName) : _createElementNS(namespaceURI, qualifiedName, typeExtension); } - @DomName('Document.createNodeIterator') NodeIterator _createNodeIterator(Node root, [int whatToShow, NodeFilter filter]) => JS('NodeIterator', '#.createNodeIterator(#, #, #, false)', this, root, whatToShow, filter); - @DomName('Document.createTreeWalker') TreeWalker _createTreeWalker(Node root, [int whatToShow, NodeFilter filter]) => JS('TreeWalker', '#.createTreeWalker(#, #, #, false)', this, root, whatToShow, filter); - @DomName('Document.visibilityState') @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.FIREFOX) @SupportedBrowser(SupportedBrowser.IE, '10') - @Experimental() String get visibilityState => JS('String', '(#.visibilityState || #.mozVisibilityState || #.msVisibilityState ||' '#.webkitVisibilityState)', this, this, this, this); diff --git a/tools/dom/templates/html/impl/impl_DocumentType.darttemplate b/tools/dom/templates/html/impl/impl_DocumentType.darttemplate index 05179101a26..cfc1a6ebd13 100644 --- a/tools/dom/templates/html/impl/impl_DocumentType.darttemplate +++ b/tools/dom/templates/html/impl/impl_DocumentType.darttemplate @@ -4,7 +4,6 @@ part of $LIBRARYNAME; -@DocsEditable() $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS { $!MEMBERS } diff --git a/tools/dom/templates/html/impl/impl_Element.darttemplate b/tools/dom/templates/html/impl/impl_Element.darttemplate index c894295573c..f8f956eac99 100644 --- a/tools/dom/templates/html/impl/impl_Element.darttemplate +++ b/tools/dom/templates/html/impl/impl_Element.darttemplate @@ -211,7 +211,6 @@ abstract class ElementList extends ListBase { * Unlike [getBoundingClientRect], the dimensions of this rectangle * will return the same numerical height if the element is hidden or not. */ - @Experimental() CssRect get contentEdge; /** @@ -226,7 +225,6 @@ abstract class ElementList extends ListBase { * is also a rectangle equalling the dimensions of clientHeight and * clientWidth. */ - @Experimental() CssRect get paddingEdge; /** @@ -239,7 +237,6 @@ abstract class ElementList extends ListBase { * will return the same numerical height if the element is hidden or not. This * can be used to retrieve jQuery's `outerHeight` value for an element. */ - @Experimental() CssRect get borderEdge; /** @@ -252,7 +249,6 @@ abstract class ElementList extends ListBase { * will return the same numerical height if the element is hidden or not. This * can be used to retrieve jQuery's `outerHeight` value for an element. */ - @Experimental() CssRect get marginEdge; $!STREAM_GETTER_SIGNATURES } @@ -323,7 +319,6 @@ class _FrozenElementList extends ListBase $!ELEMENT_STREAM_GETTERS } -@DocsEditable() $(ANNOTATIONS)$(NATIVESPEC)class $CLASSNAME$EXTENDS$IMPLEMENTS { /** @@ -598,7 +593,6 @@ $(ANNOTATIONS)$(NATIVESPEC)class $CLASSNAME$EXTENDS$IMPLEMENTS { * For details about CSS selector syntax, see the * [CSS selector specification](http://www.w3.org/TR/css3-selectors/). */ - @DomName('Element.querySelectorAll') ElementList querySelectorAll(String selectors) => new _FrozenElementList._wrap(_querySelectorAll(selectors)); @@ -738,7 +732,6 @@ $(ANNOTATIONS)$(NATIVESPEC)class $CLASSNAME$EXTENDS$IMPLEMENTS { * [Custom Elements](http://w3c.github.io/webcomponents/spec/custom/#dfn-attached-callback) * draft specification. */ - @Experimental() void attached() { // For the deprecation period, call the old callback. enteredView(); @@ -752,19 +745,15 @@ $(ANNOTATIONS)$(NATIVESPEC)class $CLASSNAME$EXTENDS$IMPLEMENTS { * [Custom Elements](http://w3c.github.io/webcomponents/spec/custom/#dfn-detached-callback) * draft specification. */ - @Experimental() void detached() { // For the deprecation period, call the old callback. leftView(); } /** *Deprecated*: override [attached] instead. */ - @Experimental() @deprecated void enteredView() {} - @DomName('Element.getClientRects') - @DocsEditable() List getClientRects() { var value = _getClientRects(); @@ -780,7 +769,6 @@ $(ANNOTATIONS)$(NATIVESPEC)class $CLASSNAME$EXTENDS$IMPLEMENTS { } /** *Deprecated*: override [detached] instead. */ - @Experimental() @deprecated void leftView() {} @@ -806,7 +794,6 @@ $(ANNOTATIONS)$(NATIVESPEC)class $CLASSNAME$EXTENDS$IMPLEMENTS { * for the transition, or a Map with fields corresponding to those * of the [Timing] object. **/ - @Experimental() @SupportedBrowser(SupportedBrowser.CHROME, '36') Animation animate(Iterable> frames, [timing]) { if (frames is! Iterable || !(frames.every((x) => x is Map))) { @@ -825,17 +812,13 @@ $(ANNOTATIONS)$(NATIVESPEC)class $CLASSNAME$EXTENDS$IMPLEMENTS { : _animate(convertedFrames, convertedTiming); } - @DomName('Element.animate') @JSName('animate') - @Experimental() // untriaged Animation _animate(Object effect, [timing]) native; /** * Called by the DOM whenever an attribute on this has been changed. */ void attributeChanged(String name, String oldValue, String newValue) {} - @DomName('Element.localName') - @DocsEditable() @Returns('String') // Non-null for Elements. String get localName => JS('String', '#', _localName); @@ -850,7 +833,6 @@ $(ANNOTATIONS)$(NATIVESPEC)class $CLASSNAME$EXTENDS$IMPLEMENTS { * * [Node.namespaceURI](http://www.w3.org/TR/DOM-Level-3-Core/core.html#ID-NodeNSname) * from W3C. */ - @DomName('Element.namespaceUri') String get namespaceUri => _namespaceUri; /** @@ -902,7 +884,6 @@ $(ANNOTATIONS)$(NATIVESPEC)class $CLASSNAME$EXTENDS$IMPLEMENTS { * * See [EventStreamProvider] for usage information. */ - @DomName('Element.mouseWheelEvent') static const EventStreamProvider mouseWheelEvent = const _CustomEventStreamProvider( Element._determineMouseWheelEventType); @@ -915,7 +896,6 @@ $(ANNOTATIONS)$(NATIVESPEC)class $CLASSNAME$EXTENDS$IMPLEMENTS { * * See [EventStreamProvider] for usage information. */ - @DomName('Element.transitionEndEvent') static const EventStreamProvider transitionEndEvent = const _CustomEventStreamProvider( Element._determineTransitionEventType); @@ -1032,7 +1012,6 @@ $(ANNOTATIONS)$(NATIVESPEC)class $CLASSNAME$EXTENDS$IMPLEMENTS { /** * Checks if this element matches the CSS selectors. */ - @Experimental() bool matches(String selectors) { if (JS('bool', '!!#.matches', this)) { return JS('bool', '#.matches(#)', this, selectors); @@ -1050,7 +1029,6 @@ $(ANNOTATIONS)$(NATIVESPEC)class $CLASSNAME$EXTENDS$IMPLEMENTS { } /** Checks if this element or any of its parents match the CSS selectors. */ - @Experimental() bool matchesWithAncestors(String selectors) { var elem = this; do { @@ -1069,9 +1047,7 @@ $(ANNOTATIONS)$(NATIVESPEC)class $CLASSNAME$EXTENDS$IMPLEMENTS { * from HTML5Rocks. * * [Shadow DOM specification](http://www.w3.org/TR/shadow-dom/) from W3C. */ - @DomName('Element.createShadowRoot') @SupportedBrowser(SupportedBrowser.CHROME, '25') - @Experimental() ShadowRoot createShadowRoot() { return JS('ShadowRoot', '(#.createShadowRoot || #.webkitCreateShadowRoot).call(#)', @@ -1088,9 +1064,7 @@ $(ANNOTATIONS)$(NATIVESPEC)class $CLASSNAME$EXTENDS$IMPLEMENTS { * * [Shadow DOM specification](http://www.w3.org/TR/shadow-dom/) * from W3C. */ - @DomName('Element.shadowRoot') @SupportedBrowser(SupportedBrowser.CHROME, '25') - @Experimental() ShadowRoot get shadowRoot => JS('ShadowRoot|Null', '#.shadowRoot || #.webkitShadowRoot', this, this); @@ -1107,7 +1081,6 @@ $(ANNOTATIONS)$(NATIVESPEC)class $CLASSNAME$EXTENDS$IMPLEMENTS { * animation frame is discouraged. See also: * [Browser Reflow](https://developers.google.com/speed/articles/reflow) */ - @Experimental() CssRect get contentEdge => new _ContentCssRect(this); /** @@ -1127,7 +1100,6 @@ $(ANNOTATIONS)$(NATIVESPEC)class $CLASSNAME$EXTENDS$IMPLEMENTS { * animation frame is discouraged. See also: * [Browser Reflow](https://developers.google.com/speed/articles/reflow) */ - @Experimental() CssRect get paddingEdge => new _PaddingCssRect(this); /** @@ -1146,7 +1118,6 @@ $(ANNOTATIONS)$(NATIVESPEC)class $CLASSNAME$EXTENDS$IMPLEMENTS { * animation frame is discouraged. See also: * [Browser Reflow](https://developers.google.com/speed/articles/reflow) */ - @Experimental() CssRect get borderEdge => new _BorderCssRect(this); /** @@ -1165,7 +1136,6 @@ $(ANNOTATIONS)$(NATIVESPEC)class $CLASSNAME$EXTENDS$IMPLEMENTS { * animation frame is discouraged. See also: * [Browser Reflow](https://developers.google.com/speed/articles/reflow) */ - @Experimental() CssRect get marginEdge => new _MarginCssRect(this); /** @@ -1175,7 +1145,6 @@ $(ANNOTATIONS)$(NATIVESPEC)class $CLASSNAME$EXTENDS$IMPLEMENTS { * This method is the Dart equivalent to jQuery's * [offset](http://api.jquery.com/offset/) method. */ - @Experimental() Point get documentOffset => offsetTo(document.documentElement); /** @@ -1189,7 +1158,6 @@ $(ANNOTATIONS)$(NATIVESPEC)class $CLASSNAME$EXTENDS$IMPLEMENTS { * element is _not_ an offset parent or transitive offset parent to this * element, an [ArgumentError] is thrown. */ - @Experimental() Point offsetTo(Element parent) { return Element._offsetToHelper(this, parent); } @@ -1430,52 +1398,29 @@ $(ANNOTATIONS)$(NATIVESPEC)class $CLASSNAME$EXTENDS$IMPLEMENTS { return result; } - @DomName('Element.offsetParent') - @DocsEditable() final Element offsetParent; - @DomName('Element.offsetHeight') - @DocsEditable() int get offsetHeight => JS('num', '#.offsetHeight', this).round(); - @DomName('Element.offsetLeft') - @DocsEditable() int get offsetLeft => JS('num', '#.offsetLeft', this).round(); - @DomName('Element.offsetTop') - @DocsEditable() int get offsetTop => JS('num', '#.offsetTop', this).round(); - @DomName('Element.offsetWidth') - @DocsEditable() int get offsetWidth => JS('num', '#.offsetWidth', this).round(); - @DomName('Element.scrollHeight') - @DocsEditable() int get scrollHeight => JS('num', '#.scrollHeight', this).round(); - - @DomName('Element.scrollLeft') - @DocsEditable() int get scrollLeft => JS('num', '#.scrollLeft', this).round(); - @DomName('Element.scrollLeft') - @DocsEditable() set scrollLeft(int value) { JS("void", "#.scrollLeft = #", this, value.round()); } - @DomName('Element.scrollTop') - @DocsEditable() int get scrollTop => JS('num', '#.scrollTop', this).round(); - @DomName('Element.scrollTop') - @DocsEditable() set scrollTop(int value) { JS("void", "#.scrollTop = #", this, value.round()); } - @DomName('Element.scrollWidth') - @DocsEditable() int get scrollWidth => JS('num', '#.scrollWidth', this).round(); $!MEMBERS @@ -1484,7 +1429,6 @@ $!MEMBERS class _ElementFactoryProvider { - @DomName('Document.createElement') // Optimization to improve performance until the dart2js compiler inlines this // method. static dynamic createElement_tag(String tag, String typeExtension) { diff --git a/tools/dom/templates/html/impl/impl_Event.darttemplate b/tools/dom/templates/html/impl/impl_Event.darttemplate index 635907896ec..45a00d5aa6f 100644 --- a/tools/dom/templates/html/impl/impl_Event.darttemplate +++ b/tools/dom/templates/html/impl/impl_Event.darttemplate @@ -57,9 +57,6 @@ $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS throw new StateError('No selector matched for populating matchedTarget.'); } - @DomName('Event.path') - @DocsEditable() - @Experimental() List get path => JS('bool', '!!#.composedPath', this) ? composedPath() : []; diff --git a/tools/dom/templates/html/impl/impl_FileReader.darttemplate b/tools/dom/templates/html/impl/impl_FileReader.darttemplate index c2bbff1fa89..366774b09fc 100644 --- a/tools/dom/templates/html/impl/impl_FileReader.darttemplate +++ b/tools/dom/templates/html/impl/impl_FileReader.darttemplate @@ -4,11 +4,8 @@ part of $LIBRARYNAME; -@DocsEditable() $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS { - @DomName('FileReader.result') - @DocsEditable() Object get result { var res = JS('Null|String|NativeByteBuffer', '#.result', this); if (res is ByteBuffer) { diff --git a/tools/dom/templates/html/impl/impl_Geolocation.darttemplate b/tools/dom/templates/html/impl/impl_Geolocation.darttemplate index 1396e4a3f0e..456850e4b4b 100644 --- a/tools/dom/templates/html/impl/impl_Geolocation.darttemplate +++ b/tools/dom/templates/html/impl/impl_Geolocation.darttemplate @@ -4,10 +4,8 @@ part of $LIBRARYNAME; -@DocsEditable() $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS { - @DomName('Geolocation.getCurrentPosition') Future getCurrentPosition({bool enableHighAccuracy, Duration timeout, Duration maximumAge}) { var options = {}; @@ -36,7 +34,6 @@ $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS return completer.future; } - @DomName('Geolocation.watchPosition') Stream watchPosition({bool enableHighAccuracy, Duration timeout, Duration maximumAge}) { diff --git a/tools/dom/templates/html/impl/impl_GlobalEventHandlers.darttemplate b/tools/dom/templates/html/impl/impl_GlobalEventHandlers.darttemplate index af140f7778b..7ce924f78cd 100644 --- a/tools/dom/templates/html/impl/impl_GlobalEventHandlers.darttemplate +++ b/tools/dom/templates/html/impl/impl_GlobalEventHandlers.darttemplate @@ -7,7 +7,6 @@ part of $LIBRARYNAME; // We implement EventTarget and have stubs for its methods because it's tricky to // convince the scripts to make our instance methods abstract, and the bodies that // get generated require `this` to be an EventTarget. -@DocsEditable() $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME implements EventTarget { void addEventListener(String type, dynamic listener(Event event), [bool useCapture]); diff --git a/tools/dom/templates/html/impl/impl_HTMLAudioElement.darttemplate b/tools/dom/templates/html/impl/impl_HTMLAudioElement.darttemplate index f9895fbe0a5..be9517a4146 100644 --- a/tools/dom/templates/html/impl/impl_HTMLAudioElement.darttemplate +++ b/tools/dom/templates/html/impl/impl_HTMLAudioElement.darttemplate @@ -4,7 +4,6 @@ part of $LIBRARYNAME; -@DocsEditable() $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS { $!MEMBERS factory AudioElement([String src]) => new AudioElement._(src); diff --git a/tools/dom/templates/html/impl/impl_HTMLCanvasElement.darttemplate b/tools/dom/templates/html/impl/impl_HTMLCanvasElement.darttemplate index 1e3a14b246a..bfde34a1198 100644 --- a/tools/dom/templates/html/impl/impl_HTMLCanvasElement.darttemplate +++ b/tools/dom/templates/html/impl/impl_HTMLCanvasElement.darttemplate @@ -21,7 +21,6 @@ $!MEMBERS */ @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.FIREFOX) - @Experimental() gl.RenderingContext getContext3d({alpha: true, depth: true, stencil: false, antialias: true, premultipliedAlpha: true, preserveDrawingBuffer: false}) { diff --git a/tools/dom/templates/html/impl/impl_HTMLDocument.darttemplate b/tools/dom/templates/html/impl/impl_HTMLDocument.darttemplate index 6469079d150..6ad09ecea61 100644 --- a/tools/dom/templates/html/impl/impl_HTMLDocument.darttemplate +++ b/tools/dom/templates/html/impl/impl_HTMLDocument.darttemplate @@ -9,46 +9,35 @@ part of $LIBRARYNAME; $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS { $!MEMBERS - @DomName('Document.body') BodyElement body; /// UNSTABLE: Chrome-only - create a Range from the given point. - @DomName('Document.caretRangeFromPoint') @Unstable() Range caretRangeFromPoint(int x, int y) { return _caretRangeFromPoint(x, y); } - @DomName('Document.elementFromPoint') Element elementFromPoint(int x, int y) { return _elementFromPoint(x, y); } - @DomName('Document.head') HeadElement get head => _head; - @DomName('Document.lastModified') String get lastModified => _lastModified; - @DomName('Document.preferredStylesheetSet') String get preferredStylesheetSet => _preferredStylesheetSet; - @DomName('Document.referrer') String get referrer => _referrer; - @DomName('Document.selectedStylesheetSet') String get selectedStylesheetSet => _selectedStylesheetSet; set selectedStylesheetSet(String value) { _selectedStylesheetSet = value; } - @DomName('Document.styleSheets') List get styleSheets => _styleSheets; - @DomName('Document.title') String get title => _title; - @DomName('Document.title') set title(String value) { _title = value; } @@ -65,16 +54,13 @@ $!MEMBERS * from WebPlatform.org. * * [Fullscreen specification](http://www.w3.org/TR/fullscreen/) from W3C. */ - @DomName('Document.webkitExitFullscreen') @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.SAFARI) - @Experimental() void exitFullscreen() { _webkitExitFullscreen(); } - @Experimental() /** * Register a custom subclass of Element to be instantiatable by the DOM. * @@ -122,7 +108,6 @@ $!MEMBERS /** *Deprecated*: use [registerElement] instead. */ @deprecated - @Experimental() void register(String tag, Type customElementClass, {String extendsTag}) { return registerElement(tag, customElementClass, extendsTag: extendsTag); } @@ -133,11 +118,9 @@ $!MEMBERS * * See [EventStreamProvider] for usage information. */ - @DomName('Document.visibilityChange') @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.FIREFOX) @SupportedBrowser(SupportedBrowser.IE, '10') - @Experimental() static const EventStreamProvider visibilityChangeEvent = const _CustomEventStreamProvider( _determineVisibilityChangeEventType); @@ -159,7 +142,6 @@ $!MEMBERS @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.FIREFOX) @SupportedBrowser(SupportedBrowser.IE, '10') - @Experimental() Stream get onVisibilityChange => visibilityChangeEvent.forTarget(this); @@ -171,7 +153,6 @@ $!MEMBERS /// /// If the type is not a direct subclass of HtmlElement then the extendsTag /// parameter must be provided. - @Experimental() ElementUpgrader createElementUpgrader(Type type, {String extendsTag}) { return new _JSElementUpgrader(this, type, extendsTag); } diff --git a/tools/dom/templates/html/impl/impl_HTMLElement.darttemplate b/tools/dom/templates/html/impl/impl_HTMLElement.darttemplate index 2f16d16aafc..36795c922d0 100644 --- a/tools/dom/templates/html/impl/impl_HTMLElement.darttemplate +++ b/tools/dom/templates/html/impl/impl_HTMLElement.darttemplate @@ -4,7 +4,6 @@ part of $LIBRARYNAME; -@DocsEditable() $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS { $!MEMBERS } diff --git a/tools/dom/templates/html/impl/impl_HTMLFrameSetElement.darttemplate b/tools/dom/templates/html/impl/impl_HTMLFrameSetElement.darttemplate index 05179101a26..cfc1a6ebd13 100644 --- a/tools/dom/templates/html/impl/impl_HTMLFrameSetElement.darttemplate +++ b/tools/dom/templates/html/impl/impl_HTMLFrameSetElement.darttemplate @@ -4,7 +4,6 @@ part of $LIBRARYNAME; -@DocsEditable() $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS { $!MEMBERS } diff --git a/tools/dom/templates/html/impl/impl_HTMLInputElement.darttemplate b/tools/dom/templates/html/impl/impl_HTMLInputElement.darttemplate index e6ad32fe3ce..12f29c3c54b 100644 --- a/tools/dom/templates/html/impl/impl_HTMLInputElement.darttemplate +++ b/tools/dom/templates/html/impl/impl_HTMLInputElement.darttemplate @@ -50,40 +50,28 @@ $!MEMBERS * Exposes the functionality common between all InputElement types. */ abstract class InputElementBase implements Element { - @DomName('HTMLInputElement.autofocus') bool autofocus; - @DomName('HTMLInputElement.disabled') bool disabled; - @DomName('HTMLInputElement.incremental') bool incremental; - @DomName('HTMLInputElement.indeterminate') bool indeterminate; - @DomName('HTMLInputElement.labels') List get labels; - @DomName('HTMLInputElement.name') String name; - @DomName('HTMLInputElement.validationMessage') String get validationMessage; - @DomName('HTMLInputElement.validity') ValidityState get validity; - @DomName('HTMLInputElement.value') String value; - @DomName('HTMLInputElement.willValidate') bool get willValidate; - @DomName('HTMLInputElement.checkValidity') bool checkValidity(); - @DomName('HTMLInputElement.setCustomValidity') void setCustomValidity(String error); } @@ -99,40 +87,28 @@ abstract class HiddenInputElement implements InputElementBase { * Base interface for all inputs which involve text editing. */ abstract class TextInputElementBase implements InputElementBase { - @DomName('HTMLInputElement.autocomplete') String autocomplete; - @DomName('HTMLInputElement.maxLength') int maxLength; - @DomName('HTMLInputElement.pattern') String pattern; - @DomName('HTMLInputElement.placeholder') String placeholder; - @DomName('HTMLInputElement.readOnly') bool readOnly; - @DomName('HTMLInputElement.required') bool required; - @DomName('HTMLInputElement.size') int size; - @DomName('HTMLInputElement.select') void select(); - @DomName('HTMLInputElement.selectionDirection') String selectionDirection; - @DomName('HTMLInputElement.selectionEnd') int selectionEnd; - @DomName('HTMLInputElement.selectionStart') int selectionStart; - @DomName('HTMLInputElement.setSelectionRange') void setSelectionRange(int start, int end, [String direction]); } @@ -149,10 +125,8 @@ abstract class TextInputElementBase implements InputElementBase { abstract class SearchInputElement implements TextInputElementBase { factory SearchInputElement() => new InputElement(type: 'search'); - @DomName('HTMLInputElement.dirName') String dirName; - @DomName('HTMLInputElement.list') Element get list; /// Returns true if this input type is supported on the current platform. @@ -167,10 +141,8 @@ abstract class SearchInputElement implements TextInputElementBase { abstract class TextInputElement implements TextInputElementBase { factory TextInputElement() => new InputElement(type: 'text'); - @DomName('HTMLInputElement.dirName') String dirName; - @DomName('HTMLInputElement.list') Element get list; } @@ -186,7 +158,6 @@ abstract class TextInputElement implements TextInputElementBase { abstract class UrlInputElement implements TextInputElementBase { factory UrlInputElement() => new InputElement(type: 'url'); - @DomName('HTMLInputElement.list') Element get list; /// Returns true if this input type is supported on the current platform. @@ -210,7 +181,6 @@ abstract class UrlInputElement implements TextInputElementBase { abstract class TelephoneInputElement implements TextInputElementBase { factory TelephoneInputElement() => new InputElement(type: 'tel'); - @DomName('HTMLInputElement.list') Element get list; /// Returns true if this input type is supported on the current platform. @@ -231,34 +201,24 @@ abstract class TelephoneInputElement implements TextInputElementBase { abstract class EmailInputElement implements TextInputElementBase { factory EmailInputElement() => new InputElement(type: 'email'); - @DomName('HTMLInputElement.autocomplete') String autocomplete; - @DomName('HTMLInputElement.autofocus') bool autofocus; - @DomName('HTMLInputElement.list') Element get list; - @DomName('HTMLInputElement.maxLength') int maxLength; - @DomName('HTMLInputElement.multiple') bool multiple; - @DomName('HTMLInputElement.pattern') String pattern; - @DomName('HTMLInputElement.placeholder') String placeholder; - @DomName('HTMLInputElement.readOnly') bool readOnly; - @DomName('HTMLInputElement.required') bool required; - @DomName('HTMLInputElement.size') int size; /// Returns true if this input type is supported on the current platform. @@ -279,25 +239,18 @@ abstract class PasswordInputElement implements TextInputElementBase { */ abstract class RangeInputElementBase implements InputElementBase { - @DomName('HTMLInputElement.list') Element get list; - @DomName('HTMLInputElement.max') String max; - @DomName('HTMLInputElement.min') String min; - @DomName('HTMLInputElement.step') String step; - @DomName('HTMLInputElement.valueAsNumber') num valueAsNumber; - @DomName('HTMLInputElement.stepDown') void stepDown([int n]); - @DomName('HTMLInputElement.stepUp') void stepUp([int n]); } @@ -307,17 +260,13 @@ abstract class RangeInputElementBase implements InputElementBase { * Use [supported] to check if this is supported on the current platform. */ @SupportedBrowser(SupportedBrowser.CHROME, '25') -@Experimental() abstract class DateInputElement implements RangeInputElementBase { factory DateInputElement() => new InputElement(type: 'date'); - @DomName('HTMLInputElement.valueAsDate') DateTime valueAsDate; - @DomName('HTMLInputElement.readOnly') bool readOnly; - @DomName('HTMLInputElement.required') bool required; /// Returns true if this input type is supported on the current platform. @@ -332,17 +281,13 @@ abstract class DateInputElement implements RangeInputElementBase { * Use [supported] to check if this is supported on the current platform. */ @SupportedBrowser(SupportedBrowser.CHROME, '25') -@Experimental() abstract class MonthInputElement implements RangeInputElementBase { factory MonthInputElement() => new InputElement(type: 'month'); - @DomName('HTMLInputElement.valueAsDate') DateTime valueAsDate; - @DomName('HTMLInputElement.readOnly') bool readOnly; - @DomName('HTMLInputElement.required') bool required; /// Returns true if this input type is supported on the current platform. @@ -357,17 +302,13 @@ abstract class MonthInputElement implements RangeInputElementBase { * Use [supported] to check if this is supported on the current platform. */ @SupportedBrowser(SupportedBrowser.CHROME, '25') -@Experimental() abstract class WeekInputElement implements RangeInputElementBase { factory WeekInputElement() => new InputElement(type: 'week'); - @DomName('HTMLInputElement.valueAsDate') DateTime valueAsDate; - @DomName('HTMLInputElement.readOnly') bool readOnly; - @DomName('HTMLInputElement.required') bool required; /// Returns true if this input type is supported on the current platform. @@ -382,17 +323,13 @@ abstract class WeekInputElement implements RangeInputElementBase { * Use [supported] to check if this is supported on the current platform. */ @SupportedBrowser(SupportedBrowser.CHROME) -@Experimental() abstract class TimeInputElement implements RangeInputElementBase { factory TimeInputElement() => new InputElement(type: 'time'); - @DomName('HTMLInputElement.valueAsDate') DateTime valueAsDate; - @DomName('HTMLInputElement.readOnly') bool readOnly; - @DomName('HTMLInputElement.required') bool required; /// Returns true if this input type is supported on the current platform. @@ -408,15 +345,12 @@ abstract class TimeInputElement implements RangeInputElementBase { * Use [supported] to check if this is supported on the current platform. */ @SupportedBrowser(SupportedBrowser.CHROME, '25') -@Experimental() abstract class LocalDateTimeInputElement implements RangeInputElementBase { factory LocalDateTimeInputElement() => new InputElement(type: 'datetime-local'); - @DomName('HTMLInputElement.readOnly') bool readOnly; - @DomName('HTMLInputElement.required') bool required; /// Returns true if this input type is supported on the current platform. @@ -431,17 +365,13 @@ abstract class LocalDateTimeInputElement implements RangeInputElementBase { @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.IE) @SupportedBrowser(SupportedBrowser.SAFARI) -@Experimental() abstract class NumberInputElement implements RangeInputElementBase { factory NumberInputElement() => new InputElement(type: 'number'); - @DomName('HTMLInputElement.placeholder') String placeholder; - @DomName('HTMLInputElement.readOnly') bool readOnly; - @DomName('HTMLInputElement.required') bool required; /// Returns true if this input type is supported on the current platform. @@ -458,7 +388,6 @@ abstract class NumberInputElement implements RangeInputElementBase { */ @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.IE, '10') -@Experimental() abstract class RangeInputElement implements RangeInputElementBase { factory RangeInputElement() => new InputElement(type: 'range'); @@ -477,10 +406,8 @@ abstract class RangeInputElement implements RangeInputElementBase { abstract class CheckboxInputElement implements InputElementBase { factory CheckboxInputElement() => new InputElement(type: 'checkbox'); - @DomName('HTMLInputElement.checked') bool checked; - @DomName('HTMLInputElement.required') bool required; } @@ -499,10 +426,8 @@ abstract class CheckboxInputElement implements InputElementBase { abstract class RadioButtonInputElement implements InputElementBase { factory RadioButtonInputElement() => new InputElement(type: 'radio'); - @DomName('HTMLInputElement.checked') bool checked; - @DomName('HTMLInputElement.required') bool required; } @@ -512,16 +437,12 @@ abstract class RadioButtonInputElement implements InputElementBase { abstract class FileUploadInputElement implements InputElementBase { factory FileUploadInputElement() => new InputElement(type: 'file'); - @DomName('HTMLInputElement.accept') String accept; - @DomName('HTMLInputElement.multiple') bool multiple; - @DomName('HTMLInputElement.required') bool required; - @DomName('HTMLInputElement.files') List files; } @@ -531,19 +452,14 @@ abstract class FileUploadInputElement implements InputElementBase { abstract class SubmitButtonInputElement implements InputElementBase { factory SubmitButtonInputElement() => new InputElement(type: 'submit'); - @DomName('HTMLInputElement.formAction') String formAction; - @DomName('HTMLInputElement.formEnctype') String formEnctype; - @DomName('HTMLInputElement.formMethod') String formMethod; - @DomName('HTMLInputElement.formNoValidate') bool formNoValidate; - @DomName('HTMLInputElement.formTarget') String formTarget; } @@ -554,31 +470,22 @@ abstract class SubmitButtonInputElement implements InputElementBase { abstract class ImageButtonInputElement implements InputElementBase { factory ImageButtonInputElement() => new InputElement(type: 'image'); - @DomName('HTMLInputElement.alt') String alt; - @DomName('HTMLInputElement.formAction') String formAction; - @DomName('HTMLInputElement.formEnctype') String formEnctype; - @DomName('HTMLInputElement.formMethod') String formMethod; - @DomName('HTMLInputElement.formNoValidate') bool formNoValidate; - @DomName('HTMLInputElement.formTarget') String formTarget; - @DomName('HTMLInputElement.height') int height; - @DomName('HTMLInputElement.src') String src; - @DomName('HTMLInputElement.width') int width; } diff --git a/tools/dom/templates/html/impl/impl_HTMLLinkElement.darttemplate b/tools/dom/templates/html/impl/impl_HTMLLinkElement.darttemplate index 831534ac7ba..92b704b37c2 100644 --- a/tools/dom/templates/html/impl/impl_HTMLLinkElement.darttemplate +++ b/tools/dom/templates/html/impl/impl_HTMLLinkElement.darttemplate @@ -4,7 +4,6 @@ part of $LIBRARYNAME; -@DocsEditable() $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$MIXINS$IMPLEMENTS { $!MEMBERS diff --git a/tools/dom/templates/html/impl/impl_HTMLTableElement.darttemplate b/tools/dom/templates/html/impl/impl_HTMLTableElement.darttemplate index 67738cd8f4d..6f71be61a97 100644 --- a/tools/dom/templates/html/impl/impl_HTMLTableElement.darttemplate +++ b/tools/dom/templates/html/impl/impl_HTMLTableElement.darttemplate @@ -4,14 +4,11 @@ part of $LIBRARYNAME; -@DocsEditable() $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS { - @DomName('HTMLTableElement.tBodies') List get tBodies => new _WrappedList(_tBodies); - @DomName('HTMLTableElement.rows') List get rows => new _WrappedList(_rows); diff --git a/tools/dom/templates/html/impl/impl_HTMLTableRowElement.darttemplate b/tools/dom/templates/html/impl/impl_HTMLTableRowElement.darttemplate index 7bce32d7e33..0b119f4d954 100644 --- a/tools/dom/templates/html/impl/impl_HTMLTableRowElement.darttemplate +++ b/tools/dom/templates/html/impl/impl_HTMLTableRowElement.darttemplate @@ -4,10 +4,8 @@ part of $LIBRARYNAME; -@DocsEditable() $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS { - @DomName('HTMLTableRowElement.cells') List get cells => new _WrappedList(_cells); diff --git a/tools/dom/templates/html/impl/impl_HTMLTableSectionElement.darttemplate b/tools/dom/templates/html/impl/impl_HTMLTableSectionElement.darttemplate index 00a0803c2d2..b7a08a6ad04 100644 --- a/tools/dom/templates/html/impl/impl_HTMLTableSectionElement.darttemplate +++ b/tools/dom/templates/html/impl/impl_HTMLTableSectionElement.darttemplate @@ -4,10 +4,8 @@ part of $LIBRARYNAME; -@DocsEditable() $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS { - @DomName('HTMLTableSectionElement.rows') List get rows => new _WrappedList(_rows); diff --git a/tools/dom/templates/html/impl/impl_HTMLTemplateElement.darttemplate b/tools/dom/templates/html/impl/impl_HTMLTemplateElement.darttemplate index 7d546fe2f26..f37da9680dc 100644 --- a/tools/dom/templates/html/impl/impl_HTMLTemplateElement.darttemplate +++ b/tools/dom/templates/html/impl/impl_HTMLTemplateElement.darttemplate @@ -6,7 +6,6 @@ part of $LIBRARYNAME; -@Experimental() $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS { $!MEMBERS diff --git a/tools/dom/templates/html/impl/impl_IDBCursor.darttemplate b/tools/dom/templates/html/impl/impl_IDBCursor.darttemplate index 0fef1c3371c..41546597659 100644 --- a/tools/dom/templates/html/impl/impl_IDBCursor.darttemplate +++ b/tools/dom/templates/html/impl/impl_IDBCursor.darttemplate @@ -5,7 +5,6 @@ part of $LIBRARYNAME; $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS { - @DomName('IDBCursor.delete') Future delete() { try { return _completeRequest(_delete()); @@ -14,7 +13,6 @@ $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS } } - @DomName('IDBCursor.value') Future update(value) { try { return _completeRequest(_update(value)); @@ -24,7 +22,6 @@ $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS } @JSName('continue') - @DomName('IDBCursor.continue') void next([Object key]) { if (key == null) { JS('void', '#.continue()', this); diff --git a/tools/dom/templates/html/impl/impl_IDBDatabase.darttemplate b/tools/dom/templates/html/impl/impl_IDBDatabase.darttemplate index 0485ff31c91..76adb992996 100644 --- a/tools/dom/templates/html/impl/impl_IDBDatabase.darttemplate +++ b/tools/dom/templates/html/impl/impl_IDBDatabase.darttemplate @@ -4,10 +4,7 @@ part of $LIBRARYNAME; -@DocsEditable() $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS { - @DomName('IDBDatabase.createObjectStore') - @DocsEditable() ObjectStore createObjectStore(String name, {String keyPath, bool autoIncrement}) { var options = {}; diff --git a/tools/dom/templates/html/impl/impl_IDBFactory.darttemplate b/tools/dom/templates/html/impl/impl_IDBFactory.darttemplate index 2fba73d545d..4fd732ea984 100644 --- a/tools/dom/templates/html/impl/impl_IDBFactory.darttemplate +++ b/tools/dom/templates/html/impl/impl_IDBFactory.darttemplate @@ -15,7 +15,6 @@ $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS 'window.mozIndexedDB)'); } - @DomName('IDBFactory.open') Future open(String name, {int version, void onUpgradeNeeded(VersionChangeEvent event), void onBlocked(Event event)}) { @@ -43,7 +42,6 @@ $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS } } - @DomName('IDBFactory.deleteDatabase') Future deleteDatabase(String name, {void onBlocked(Event e)}) { try { diff --git a/tools/dom/templates/html/impl/impl_IDBIndex.darttemplate b/tools/dom/templates/html/impl/impl_IDBIndex.darttemplate index ff033a2ddcd..608f1bc3c29 100644 --- a/tools/dom/templates/html/impl/impl_IDBIndex.darttemplate +++ b/tools/dom/templates/html/impl/impl_IDBIndex.darttemplate @@ -5,7 +5,6 @@ part of $LIBRARYNAME; $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS { - @DomName('IDBIndex.count') Future count([key_OR_range]) { try { var request = _count(key_OR_range); @@ -15,7 +14,6 @@ $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS } } - @DomName('IDBIndex.get') Future get(key) { try { var request = _get(key); @@ -26,7 +24,6 @@ $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS } } - @DomName('IDBIndex.getKey') Future getKey(key) { try { var request = _getKey(key); diff --git a/tools/dom/templates/html/impl/impl_IDBKeyRange.darttemplate b/tools/dom/templates/html/impl/impl_IDBKeyRange.darttemplate index 28439a46b08..1572c8728b2 100644 --- a/tools/dom/templates/html/impl/impl_IDBKeyRange.darttemplate +++ b/tools/dom/templates/html/impl/impl_IDBKeyRange.darttemplate @@ -5,19 +5,15 @@ part of $LIBRARYNAME; $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS { - @DomName('IDBKeyRange.only') factory KeyRange.only(/*Key*/ value) => _KeyRangeFactoryProvider.create$(CLASSNAME)_only(value); - @DomName('IDBKeyRange.lowerBound') factory KeyRange.lowerBound(/*Key*/ bound, [bool open = false]) => _KeyRangeFactoryProvider.create$(CLASSNAME)_lowerBound(bound, open); - @DomName('IDBKeyRange.upperBound') factory KeyRange.upperBound(/*Key*/ bound, [bool open = false]) => _KeyRangeFactoryProvider.create$(CLASSNAME)_upperBound(bound, open); - @DomName('KeyRange.bound') factory KeyRange.bound(/*Key*/ lower, /*Key*/ upper, [bool lowerOpen = false, bool upperOpen = false]) => _KeyRangeFactoryProvider.create$(CLASSNAME)_bound( diff --git a/tools/dom/templates/html/impl/impl_IDBObjectStore.darttemplate b/tools/dom/templates/html/impl/impl_IDBObjectStore.darttemplate index 2dfff9249f0..704d16e4f6b 100644 --- a/tools/dom/templates/html/impl/impl_IDBObjectStore.darttemplate +++ b/tools/dom/templates/html/impl/impl_IDBObjectStore.darttemplate @@ -6,7 +6,6 @@ part of $LIBRARYNAME; $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS { - @DomName('IDBObjectStore.add') Future add(value, [key]) { try { var request; @@ -21,7 +20,6 @@ $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS } } - @DomName('IDBObjectStore.clear') Future clear() { try { return _completeRequest(_clear()); @@ -30,7 +28,6 @@ $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS } } - @DomName('IDBObjectStore.delete') Future delete(key_OR_keyRange){ try { return _completeRequest(_delete(key_OR_keyRange)); @@ -39,7 +36,6 @@ $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS } } - @DomName('IDBObjectStore.count') Future count([key_OR_range]) { try { var request = _count(key_OR_range); @@ -49,7 +45,6 @@ $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS } } - @DomName('IDBObjectStore.put') Future put(value, [key]) { try { var request; @@ -64,7 +59,6 @@ $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS } } - @DomName('IDBObjectStore.get') Future getObject(key) { try { var request = _get(key); @@ -96,7 +90,6 @@ $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS * must be done synchronously unless they are additional async requests to * the current transaction. */ - @DomName('IDBObjectStore.openCursor') Stream openCursor({key, KeyRange range, String direction, bool autoAdvance}) { var key_OR_range = null; @@ -119,7 +112,6 @@ $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS return _cursorStreamFromResult(request, autoAdvance); } - @DomName('IDBObjectStore.createIndex') Index createIndex(String name, keyPath, {bool unique, bool multiEntry}) { var options = {}; if (unique != null) { diff --git a/tools/dom/templates/html/impl/impl_IDBVersionChangeEvent.darttemplate b/tools/dom/templates/html/impl/impl_IDBVersionChangeEvent.darttemplate index 60faa8d8f44..f93d07e74f7 100644 --- a/tools/dom/templates/html/impl/impl_IDBVersionChangeEvent.darttemplate +++ b/tools/dom/templates/html/impl/impl_IDBVersionChangeEvent.darttemplate @@ -7,8 +7,6 @@ part of $LIBRARYNAME; $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS { $!MEMBERS @JSName('target') - @DomName('IDBVersionChangeEvent.target') - @DocsEditable() final OpenDBRequest target; } diff --git a/tools/dom/templates/html/impl/impl_Location.darttemplate b/tools/dom/templates/html/impl/impl_Location.darttemplate index 345bc532bfe..eb9529c36da 100644 --- a/tools/dom/templates/html/impl/impl_Location.darttemplate +++ b/tools/dom/templates/html/impl/impl_Location.darttemplate @@ -4,11 +4,9 @@ part of $LIBRARYNAME; -@DocsEditable() $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS { $!MEMBERS - @DomName('Location.origin') String get origin { if (JS('bool', '("origin" in #)', this)) { return JS('String', '#.origin', this); @@ -16,7 +14,5 @@ $!MEMBERS return '${this.protocol}//${this.host}'; } - @DomName('Location.toString') - @DocsEditable() String toString() => JS('String', 'String(#)', this); } diff --git a/tools/dom/templates/html/impl/impl_MessageEvent.darttemplate b/tools/dom/templates/html/impl/impl_MessageEvent.darttemplate index 826f6070294..571ab6d2d6d 100644 --- a/tools/dom/templates/html/impl/impl_MessageEvent.darttemplate +++ b/tools/dom/templates/html/impl/impl_MessageEvent.darttemplate @@ -29,13 +29,9 @@ $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS // TODO(alanknight): This really should be generated by the // _OutputConversion in the systemnative.py script, but that doesn't // use those conversions right now, so do this as a one-off. - @DomName('MessageEvent.data') - @DocsEditable() dynamic get data => convertNativeToDart_SerializedScriptValue(this._get_data); @JSName('data') - @DomName('MessageEvent.data') - @DocsEditable() @annotation_Creates_SerializedScriptValue @annotation_Returns_SerializedScriptValue final dynamic _get_data; diff --git a/tools/dom/templates/html/impl/impl_Navigator.darttemplate b/tools/dom/templates/html/impl/impl_Navigator.darttemplate index 022e9e353d0..5265a5b959a 100644 --- a/tools/dom/templates/html/impl/impl_Navigator.darttemplate +++ b/tools/dom/templates/html/impl/impl_Navigator.darttemplate @@ -6,7 +6,6 @@ part of $LIBRARYNAME; $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS { - @DomName('Navigator.getGamepads') List getGamepads() { var gamepadList = _getGamepads(); @@ -20,7 +19,6 @@ $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS return gamepadList; } - @DomName('Navigator.language') String get language => JS('String', '#.language || #.userLanguage', this, this); @@ -59,9 +57,7 @@ $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS * See also: * * [MediaStream.supported] */ - @DomName('Navigator.webkitGetUserMedia') @SupportedBrowser(SupportedBrowser.CHROME) - @Experimental() Future getUserMedia({audio: false, video: false}) { var completer = new Completer(); var options = { diff --git a/tools/dom/templates/html/impl/impl_Node.darttemplate b/tools/dom/templates/html/impl/impl_Node.darttemplate index a05ab6eceb1..fef963354ad 100644 --- a/tools/dom/templates/html/impl/impl_Node.darttemplate +++ b/tools/dom/templates/html/impl/impl_Node.darttemplate @@ -199,7 +199,6 @@ $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS /** * Removes this node from the DOM. */ - @DomName('Node.removeChild') void remove() { // TODO(jacobr): should we throw an exception if parent is already null? // TODO(vsm): Use the native remove when available. @@ -212,7 +211,6 @@ $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS /** * Replaces this node with another node. */ - @DomName('Node.replaceChild') Node replaceWith(Node otherNode) { try { final Node parent = this.parentNode; @@ -270,8 +268,6 @@ $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS * * [Node.childNodes](https://developer.mozilla.org/en-US/docs/Web/API/Node.childNodes) * from MDN. */ - @DomName('Node.childNodes') - @DocsEditable() @Returns('NodeList') @Creates('NodeList') final List childNodes; diff --git a/tools/dom/templates/html/impl/impl_RTCPeerConnection.darttemplate b/tools/dom/templates/html/impl/impl_RTCPeerConnection.darttemplate index c1ed25af2a6..508af04155b 100644 --- a/tools/dom/templates/html/impl/impl_RTCPeerConnection.darttemplate +++ b/tools/dom/templates/html/impl/impl_RTCPeerConnection.darttemplate @@ -50,9 +50,6 @@ $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS return completer.future; } - @DomName('RTCPeerConnection.generateCertificate') - @DocsEditable() - @Experimental() // untriaged static Future generateCertificate(/*AlgorithmIdentifier*/ keygenAlgorithm) => JS('dynamic', 'generateCertificate(#)', keygenAlgorithm); diff --git a/tools/dom/templates/html/impl/impl_Range.darttemplate b/tools/dom/templates/html/impl/impl_Range.darttemplate index c6dba152494..f420027ff14 100644 --- a/tools/dom/templates/html/impl/impl_Range.darttemplate +++ b/tools/dom/templates/html/impl/impl_Range.darttemplate @@ -13,8 +13,6 @@ $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS document._caretRangeFromPoint(point.x, point.y); $!MEMBERS - @DomName('Range.getClientRects') - @DocsEditable() List getClientRects() { var value = _getClientRects(); diff --git a/tools/dom/templates/html/impl/impl_SVGColor.darttemplate b/tools/dom/templates/html/impl/impl_SVGColor.darttemplate index 053f2299ea7..0a06097e76d 100644 --- a/tools/dom/templates/html/impl/impl_SVGColor.darttemplate +++ b/tools/dom/templates/html/impl/impl_SVGColor.darttemplate @@ -6,7 +6,6 @@ part of $LIBRARYNAME; // Hack because the baseclass is private in dart:html, and we want to omit this // type entirely but can't. -@DocsEditable() $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$IMPLEMENTS { _SVGColor.internal(); } diff --git a/tools/dom/templates/html/impl/impl_SVGCursorElement.darttemplate b/tools/dom/templates/html/impl/impl_SVGCursorElement.darttemplate index 05179101a26..cfc1a6ebd13 100644 --- a/tools/dom/templates/html/impl/impl_SVGCursorElement.darttemplate +++ b/tools/dom/templates/html/impl/impl_SVGCursorElement.darttemplate @@ -4,7 +4,6 @@ part of $LIBRARYNAME; -@DocsEditable() $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS { $!MEMBERS } diff --git a/tools/dom/templates/html/impl/impl_SVGElement.darttemplate b/tools/dom/templates/html/impl/impl_SVGElement.darttemplate index bcd5eb55efe..2c4cd6acdb6 100644 --- a/tools/dom/templates/html/impl/impl_SVGElement.darttemplate +++ b/tools/dom/templates/html/impl/impl_SVGElement.darttemplate @@ -112,18 +112,15 @@ $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS // Unsupported methods inherited from Element. - @DomName('Element.insertAdjacentText') void insertAdjacentText(String where, String text) { throw new UnsupportedError("Cannot invoke insertAdjacentText on SVG."); } - @DomName('Element.insertAdjacentHTML') void insertAdjacentHtml(String where, String text, {NodeValidator validator, NodeTreeSanitizer treeSanitizer}) { throw new UnsupportedError("Cannot invoke insertAdjacentHtml on SVG."); } - @DomName('Element.insertAdjacentElement') Element insertAdjacentElement(String where, Element element) { throw new UnsupportedError("Cannot invoke insertAdjacentElement on SVG."); } diff --git a/tools/dom/templates/html/impl/impl_SVGFEDropShadowElement.darttemplate b/tools/dom/templates/html/impl/impl_SVGFEDropShadowElement.darttemplate index 05179101a26..cfc1a6ebd13 100644 --- a/tools/dom/templates/html/impl/impl_SVGFEDropShadowElement.darttemplate +++ b/tools/dom/templates/html/impl/impl_SVGFEDropShadowElement.darttemplate @@ -4,7 +4,6 @@ part of $LIBRARYNAME; -@DocsEditable() $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS { $!MEMBERS } diff --git a/tools/dom/templates/html/impl/impl_SVGGlyphRefElement.darttemplate b/tools/dom/templates/html/impl/impl_SVGGlyphRefElement.darttemplate index 05179101a26..cfc1a6ebd13 100644 --- a/tools/dom/templates/html/impl/impl_SVGGlyphRefElement.darttemplate +++ b/tools/dom/templates/html/impl/impl_SVGGlyphRefElement.darttemplate @@ -4,7 +4,6 @@ part of $LIBRARYNAME; -@DocsEditable() $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS { $!MEMBERS } diff --git a/tools/dom/templates/html/impl/impl_SVGMPathElement.darttemplate b/tools/dom/templates/html/impl/impl_SVGMPathElement.darttemplate index 05179101a26..cfc1a6ebd13 100644 --- a/tools/dom/templates/html/impl/impl_SVGMPathElement.darttemplate +++ b/tools/dom/templates/html/impl/impl_SVGMPathElement.darttemplate @@ -4,7 +4,6 @@ part of $LIBRARYNAME; -@DocsEditable() $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS { $!MEMBERS } diff --git a/tools/dom/templates/html/impl/impl_Screen.darttemplate b/tools/dom/templates/html/impl/impl_Screen.darttemplate index efffa287fb9..e31aed5fdd9 100644 --- a/tools/dom/templates/html/impl/impl_Screen.darttemplate +++ b/tools/dom/templates/html/impl/impl_Screen.darttemplate @@ -4,13 +4,8 @@ part of $LIBRARYNAME; -@DocsEditable() $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS { - @DomName('Screen.availHeight') - @DomName('Screen.availLeft') - @DomName('Screen.availTop') - @DomName('Screen.availWidth') Rectangle get available => new Rectangle(_availLeft, _availTop, _availWidth, _availHeight); $!MEMBERS} diff --git a/tools/dom/templates/html/impl/impl_ServiceWorkerMessageEvent.darttemplate b/tools/dom/templates/html/impl/impl_ServiceWorkerMessageEvent.darttemplate index 63ba163ec13..2df0f3bddf9 100644 --- a/tools/dom/templates/html/impl/impl_ServiceWorkerMessageEvent.darttemplate +++ b/tools/dom/templates/html/impl/impl_ServiceWorkerMessageEvent.darttemplate @@ -13,13 +13,9 @@ $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS // TODO(alanknight): This really should be generated by the // _OutputConversion in the systemnative.py script, but that doesn't // use those conversions right now, so do this as a one-off. - @DomName('ServiceWorkerMessageEvent.data') - @DocsEditable() dynamic get data => convertNativeToDart_SerializedScriptValue(this._get_data); @JSName('data') - @DomName('ServiceWorkerMessageEvent.data') - @DocsEditable() @annotation_Creates_SerializedScriptValue @annotation_Returns_SerializedScriptValue final dynamic _get_data; diff --git a/tools/dom/templates/html/impl/impl_Touch.darttemplate b/tools/dom/templates/html/impl/impl_Touch.darttemplate index 7f599fa37fd..ef3b5c29a03 100644 --- a/tools/dom/templates/html/impl/impl_Touch.darttemplate +++ b/tools/dom/templates/html/impl/impl_Touch.darttemplate @@ -4,7 +4,6 @@ part of $LIBRARYNAME; -@DocsEditable() $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS { $!MEMBERS @@ -19,30 +18,18 @@ $!MEMBERS int get __radiusX => JS('num', '#.radiusX', this).round(); int get __radiusY => JS('num', '#.radiusY', this).round(); - @DomName('Touch.clientX') - @DomName('Touch.clientY') Point get client => new Point(__clientX, __clientY); - @DomName('Touch.pageX') - @DomName('Touch.pageY') Point get page => new Point(__pageX, __pageY); - @DomName('Touch.screenX') - @DomName('Touch.screenY') Point get screen => new Point(__screenX, __screenY); - @DomName('Touch.radiusX') - @DocsEditable() @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.SAFARI) - @Experimental() int get radiusX => __radiusX; - @DomName('Touch.radiusY') - @DocsEditable() @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.SAFARI) - @Experimental() int get radiusY => __radiusY; } diff --git a/tools/dom/templates/html/impl/impl_WebGL2RenderingContext.darttemplate b/tools/dom/templates/html/impl/impl_WebGL2RenderingContext.darttemplate index b4a0e4e702b..04b82e8a694 100644 --- a/tools/dom/templates/html/impl/impl_WebGL2RenderingContext.darttemplate +++ b/tools/dom/templates/html/impl/impl_WebGL2RenderingContext.darttemplate @@ -4,12 +4,9 @@ part of $LIBRARYNAME; -@DocsEditable() $(ANNOTATIONS)$(NATIVESPEC)class $CLASSNAME$EXTENDS implements _WebGL2RenderingContextBase, _WebGLRenderingContextBase { $!MEMBERS - @DomName('WebGLRenderingContext2.readPixels') - @DocsEditable() void readPixels(int x, int y, int width, int height, int format, int type, TypedData pixels) { _readPixels(x, y, width, height, format, type, pixels); diff --git a/tools/dom/templates/html/impl/impl_WebGLCanvas.darttemplate b/tools/dom/templates/html/impl/impl_WebGLCanvas.darttemplate index 26e09b66b08..a4730dc98b5 100644 --- a/tools/dom/templates/html/impl/impl_WebGLCanvas.darttemplate +++ b/tools/dom/templates/html/impl/impl_WebGLCanvas.darttemplate @@ -4,18 +4,13 @@ part of $LIBRARYNAME; -@DocsEditable() $(ANNOTATIONS)$(NATIVESPEC)class $CLASSNAME$EXTENDS { $!MEMBERS @JSName('canvas') - @DomName('WebGLCanvas.canvas') - @DocsEditable() final CanvasElement canvas; @JSName('canvas') - @DomName('WebGLCanvas.offscreenCanvas') - @DocsEditable() final OffscreenCanvas offscreenCanvas; } diff --git a/tools/dom/templates/html/impl/impl_WebGLRenderingContext.darttemplate b/tools/dom/templates/html/impl/impl_WebGLRenderingContext.darttemplate index 90cf7f06afa..ac73e217763 100644 --- a/tools/dom/templates/html/impl/impl_WebGLRenderingContext.darttemplate +++ b/tools/dom/templates/html/impl/impl_WebGLRenderingContext.darttemplate @@ -7,8 +7,6 @@ part of $LIBRARYNAME; $(ANNOTATIONS)$(NATIVESPEC)class $CLASSNAME$EXTENDS implements CanvasRenderingContext { $!MEMBERS - @DomName('WebGLRenderingContext.readPixels') - @DocsEditable() void readPixels(int x, int y, int width, int height, int format, int type, TypedData pixels) { _readPixels(x, y, width, height, format, type, pixels); diff --git a/tools/dom/templates/html/impl/impl_WebKitCSSKeyframesRule.darttemplate b/tools/dom/templates/html/impl/impl_WebKitCSSKeyframesRule.darttemplate index 19ee4ccb7e2..00cfadd572b 100644 --- a/tools/dom/templates/html/impl/impl_WebKitCSSKeyframesRule.darttemplate +++ b/tools/dom/templates/html/impl/impl_WebKitCSSKeyframesRule.darttemplate @@ -4,7 +4,6 @@ part of $LIBRARYNAME; -@DocsEditable() $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$MIXINS$IMPLEMENTS { $!MEMBERS diff --git a/tools/dom/templates/html/impl/impl_WheelEvent.darttemplate b/tools/dom/templates/html/impl/impl_WheelEvent.darttemplate index 188c9a2cbfa..0768608f371 100644 --- a/tools/dom/templates/html/impl/impl_WheelEvent.darttemplate +++ b/tools/dom/templates/html/impl/impl_WheelEvent.darttemplate @@ -54,7 +54,6 @@ $!MEMBERS * * * [WheelEvent.deltaY](http://dev.w3.org/2006/webapi/DOM-Level-3-Events/html/DOM3-Events.html#events-WheelEvent-deltaY) from the W3C. */ - @DomName('WheelEvent.deltaY') num get deltaY { if (JS('bool', '#.deltaY !== undefined', this)) { // W3C WheelEvent @@ -72,7 +71,6 @@ $!MEMBERS * * * [WheelEvent.deltaX](http://dev.w3.org/2006/webapi/DOM-Level-3-Events/html/DOM3-Events.html#events-WheelEvent-deltaX) from the W3C. */ - @DomName('WheelEvent.deltaX') num get deltaX { if (JS('bool', '#.deltaX !== undefined', this)) { // W3C WheelEvent @@ -82,7 +80,6 @@ $!MEMBERS 'deltaX is not supported'); } - @DomName('WheelEvent.deltaMode') int get deltaMode { if (JS('bool', '!!(#.deltaMode)', this)) { return JS('int', '#.deltaMode', this); diff --git a/tools/dom/templates/html/impl/impl_Window.darttemplate b/tools/dom/templates/html/impl/impl_Window.darttemplate index cf5ddf9871c..03d768ff85a 100644 --- a/tools/dom/templates/html/impl/impl_Window.darttemplate +++ b/tools/dom/templates/html/impl/impl_Window.darttemplate @@ -4,7 +4,6 @@ part of $LIBRARYNAME; -@DocsEditable() $(ANNOTATIONS)@Native("Window,DOMWindow") $(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS { @@ -107,7 +106,6 @@ $(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS { * Note: The supplied [callback] needs to call [requestAnimationFrame] again * for the animation to continue. */ - @DomName('Window.requestAnimationFrame') int requestAnimationFrame(FrameRequestCallback callback) { _ensureRequestAnimationFrame(); return _requestAnimationFrame(_wrapZone(callback)); @@ -167,14 +165,12 @@ $(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS { @SupportedBrowser(SupportedBrowser.CHROME, '23.0') @SupportedBrowser(SupportedBrowser.FIREFOX, '15.0') @SupportedBrowser(SupportedBrowser.IE, '10.0') - @Experimental() IdbFactory get indexedDB => JS('IdbFactory|Null', // If not supported, returns null. '#.indexedDB || #.webkitIndexedDB || #.mozIndexedDB', this, this, this); /// The debugging console for this window. - @DomName('Window.console') Console get console => Console._safeConsole; /** @@ -202,16 +198,13 @@ $!MEMBERS * * See [EventStreamProvider] for usage information. */ - @DomName('Window.beforeunloadEvent') static const EventStreamProvider beforeUnloadEvent = const _BeforeUnloadEventStreamProvider('beforeunload'); /// Stream of `beforeunload` events handled by this [Window]. - @DomName('Window.onbeforeunload') Stream get onBeforeUnload => beforeUnloadEvent.forTarget(this); /// Stream of `wheel` events handled by this [Window]. - @DomName('Window.onWheel') Stream get onWheel => Element.wheelEvent.forTarget(this); /** @@ -231,11 +224,8 @@ $!MEMBERS } @JSName('openDatabase') - @DomName('Window.openDatabase') - @DocsEditable() @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.SAFARI) - @Experimental() @Creates('SqlDatabase') SqlDatabase openDatabase( String name, String version, String displayName, int estimatedSize, @@ -252,12 +242,8 @@ $!MEMBERS return db; } - @DomName('Window.pageXOffset') - @DocsEditable() int get pageXOffset => JS('num', '#.pageXOffset', this).round(); - @DomName('Window.pageYOffset') - @DocsEditable() int get pageYOffset => JS('num', '#.pageYOffset', this).round(); /** @@ -270,8 +256,6 @@ $!MEMBERS * * [scrollX](https://developer.mozilla.org/en-US/docs/Web/API/Window.scrollX) * from MDN. */ - @DomName('Window.scrollX') - @DocsEditable() int get scrollX => JS('bool', '("scrollX" in #)', this) ? JS('num', '#.scrollX', this).round() : document.documentElement.scrollLeft; @@ -286,8 +270,6 @@ $!MEMBERS * * [scrollY](https://developer.mozilla.org/en-US/docs/Web/API/Window.scrollY) * from MDN. */ - @DomName('Window.scrollY') - @DocsEditable() int get scrollY => JS('bool', '("scrollY" in #)', this) ? JS('num', '#.scrollY', this).round() : document.documentElement.scrollTop; diff --git a/tools/dom/templates/html/impl/impl_WindowEventHandlers.darttemplate b/tools/dom/templates/html/impl/impl_WindowEventHandlers.darttemplate index d1b4f836fcd..a5065edfce7 100644 --- a/tools/dom/templates/html/impl/impl_WindowEventHandlers.darttemplate +++ b/tools/dom/templates/html/impl/impl_WindowEventHandlers.darttemplate @@ -4,6 +4,5 @@ part of $LIBRARYNAME; -@DocsEditable() $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME extends EventTarget { $!MEMBERS} diff --git a/tools/dom/templates/html/impl/impl_WorkerLocation.darttemplate b/tools/dom/templates/html/impl/impl_WorkerLocation.darttemplate index 05179101a26..cfc1a6ebd13 100644 --- a/tools/dom/templates/html/impl/impl_WorkerLocation.darttemplate +++ b/tools/dom/templates/html/impl/impl_WorkerLocation.darttemplate @@ -4,7 +4,6 @@ part of $LIBRARYNAME; -@DocsEditable() $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS { $!MEMBERS } diff --git a/tools/dom/templates/html/impl/impl_WorkerNavigator.darttemplate b/tools/dom/templates/html/impl/impl_WorkerNavigator.darttemplate index 05179101a26..cfc1a6ebd13 100644 --- a/tools/dom/templates/html/impl/impl_WorkerNavigator.darttemplate +++ b/tools/dom/templates/html/impl/impl_WorkerNavigator.darttemplate @@ -4,7 +4,6 @@ part of $LIBRARYNAME; -@DocsEditable() $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS { $!MEMBERS } diff --git a/tools/dom/templates/html/impl/impl_XMLHttpRequest.darttemplate b/tools/dom/templates/html/impl/impl_XMLHttpRequest.darttemplate index 51c129f5e35..97b141a0929 100644 --- a/tools/dom/templates/html/impl/impl_XMLHttpRequest.darttemplate +++ b/tools/dom/templates/html/impl/impl_XMLHttpRequest.darttemplate @@ -292,7 +292,6 @@ $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS * This API provides a subset of [request] which works on IE9. If IE9 * cross-origin support is not required then [request] should be used instead. */ - @Experimental() static Future requestCrossOrigin(String url, {String method, String sendData}) { if (supportsCrossOrigin) { @@ -381,8 +380,6 @@ $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS * `open` method is intended only for more complex HTTP requests where * finer-grained control is needed. */ - @DomName('XMLHttpRequest.open') - @DocsEditable() void open(String method, String url, {bool async, String user, String password}) native; $!MEMBERS