Index: sdk/lib/html/dartium/html_dartium.dart |
diff --git a/sdk/lib/html/dartium/html_dartium.dart b/sdk/lib/html/dartium/html_dartium.dart |
index 480efb09d5ff79e86164d8480933d2105319c909..09eac05683206cd72322c478fb7b2f3c7ba9d975 100644 |
--- a/sdk/lib/html/dartium/html_dartium.dart |
+++ b/sdk/lib/html/dartium/html_dartium.dart |
@@ -140,6 +140,7 @@ final htmlBlinkMap = { |
'BatteryManager': () => BatteryManager, |
'BeforeUnloadEvent': () => BeforeUnloadEvent, |
'Blob': () => Blob, |
+ 'Body': () => Body, |
'CDATASection': () => CDataSection, |
'CSS': () => Css, |
'CSSCharsetRule': () => CssCharsetRule, |
@@ -169,7 +170,7 @@ final htmlBlinkMap = { |
'CanvasRenderingContext2D': () => CanvasRenderingContext2D, |
'CharacterData': () => CharacterData, |
'ChildNode': () => ChildNode, |
- 'CircularRegion': () => CircularRegion, |
+ 'CircularGeofencingRegion': () => CircularGeofencingRegion, |
'ClientRect': () => _ClientRect, |
'ClientRectList': () => _ClientRectList, |
'CloseEvent': () => CloseEvent, |
@@ -203,7 +204,6 @@ final htmlBlinkMap = { |
'DataTransfer': () => DataTransfer, |
'DataTransferItem': () => DataTransferItem, |
'DataTransferItemList': () => DataTransferItemList, |
- 'DatabaseSync': () => _DatabaseSync, |
'DedicatedWorkerGlobalScope': () => DedicatedWorkerGlobalScope, |
'DeprecatedStorageInfo': () => DeprecatedStorageInfo, |
'DeprecatedStorageQuota': () => DeprecatedStorageQuota, |
@@ -226,8 +226,8 @@ final htmlBlinkMap = { |
'Event': () => Event, |
'EventSource': () => EventSource, |
'EventTarget': () => EventTarget, |
+ 'ExtendableEvent': () => ExtendableEvent, |
'FederatedCredential': () => FederatedCredential, |
- 'FetchBodyStream': () => FetchBodyStream, |
'FetchEvent': () => FetchEvent, |
'File': () => File, |
'FileEntry': () => FileEntry, |
@@ -338,15 +338,17 @@ final htmlBlinkMap = { |
'InjectedScriptHost': () => InjectedScriptHost, |
'InputMethodContext': () => InputMethodContext, |
'InstallEvent': () => InstallEvent, |
- 'InstallPhaseEvent': () => InstallPhaseEvent, |
+ 'Iterator': () => DomIterator, |
'KeyboardEvent': () => KeyboardEvent, |
'LocalCredential': () => LocalCredential, |
'Location': () => Location, |
'MIDIAccess': () => MidiAccess, |
'MIDIConnectionEvent': () => MidiConnectionEvent, |
'MIDIInput': () => MidiInput, |
+ 'MIDIInputMap': () => MidiInputMap, |
'MIDIMessageEvent': () => MidiMessageEvent, |
'MIDIOutput': () => MidiOutput, |
+ 'MIDIOutputMap': () => MidiOutputMap, |
'MIDIPort': () => MidiPort, |
'MediaController': () => MediaController, |
'MediaDeviceInfo': () => MediaDeviceInfo, |
@@ -359,6 +361,7 @@ final htmlBlinkMap = { |
'MediaKeys': () => MediaKeys, |
'MediaList': () => MediaList, |
'MediaQueryList': () => MediaQueryList, |
+ 'MediaQueryListEvent': () => MediaQueryListEvent, |
'MediaSource': () => MediaSource, |
'MediaStream': () => MediaStream, |
'MediaStreamEvent': () => MediaStreamEvent, |
@@ -387,7 +390,6 @@ final htmlBlinkMap = { |
'NodeFilter': () => NodeFilter, |
'NodeIterator': () => NodeIterator, |
'NodeList': () => NodeList, |
- 'Notation': () => _Notation, |
'Notification': () => Notification, |
'OverflowEvent': () => OverflowEvent, |
'PagePopupController': () => _PagePopupController, |
@@ -403,8 +405,10 @@ final htmlBlinkMap = { |
'PerformanceTiming': () => PerformanceTiming, |
'Plugin': () => Plugin, |
'PluginArray': () => PluginArray, |
+ 'PluginPlaceholderElement': () => PluginPlaceholderElement, |
'PopStateEvent': () => PopStateEvent, |
'PositionError': () => PositionError, |
+ 'Presentation': () => Presentation, |
'ProcessingInstruction': () => ProcessingInstruction, |
'ProgressEvent': () => ProgressEvent, |
'PushEvent': () => PushEvent, |
@@ -497,7 +501,6 @@ final htmlBlinkMap = { |
'WebKitCSSFilterValue': () => _WebKitCSSFilterValue, |
'WebKitCSSMatrix': () => _WebKitCSSMatrix, |
'WebKitCSSTransformValue': () => _WebKitCSSTransformValue, |
- 'WebKitPoint': () => _DomPoint, |
'WebSocket': () => WebSocket, |
'WheelEvent': () => WheelEvent, |
'Window': () => Window, |
@@ -958,15 +961,10 @@ class AnimationPlayer extends EventTarget { |
@Experimental() // untriaged |
void set currentTime(num value) => _blink.BlinkAnimationPlayer.instance.currentTime_Setter_(this, value); |
- @DomName('AnimationPlayer.finished') |
+ @DomName('AnimationPlayer.playState') |
@DocsEditable() |
@Experimental() // untriaged |
- bool get finished => _blink.BlinkAnimationPlayer.instance.finished_Getter_(this); |
- |
- @DomName('AnimationPlayer.paused') |
- @DocsEditable() |
- @Experimental() // untriaged |
- bool get paused => _blink.BlinkAnimationPlayer.instance.paused_Getter_(this); |
+ String get playState => _blink.BlinkAnimationPlayer.instance.playState_Getter_(this); |
@DomName('AnimationPlayer.playbackRate') |
@DocsEditable() |
@@ -1781,6 +1779,46 @@ class Blob extends NativeFieldWrapperClass2 { |
@DocsEditable() |
+@DomName('Body') |
+@Experimental() // untriaged |
+class Body extends NativeFieldWrapperClass2 { |
+ // To suppress missing implicit constructor warnings. |
+ factory Body._() { throw new UnsupportedError("Not supported"); } |
+ |
+ @DomName('Body.bodyUsed') |
+ @DocsEditable() |
+ @Experimental() // untriaged |
+ bool get bodyUsed => _blink.BlinkBody.instance.bodyUsed_Getter_(this); |
+ |
+ @DomName('Body.arrayBuffer') |
+ @DocsEditable() |
+ @Experimental() // untriaged |
+ Future arrayBuffer() => _blink.BlinkBody.instance.arrayBuffer_Callback_0_(this); |
+ |
+ @DomName('Body.blob') |
+ @DocsEditable() |
+ @Experimental() // untriaged |
+ Future blob() => _blink.BlinkBody.instance.blob_Callback_0_(this); |
+ |
+ @DomName('Body.json') |
+ @DocsEditable() |
+ @Experimental() // untriaged |
+ Future json() => _blink.BlinkBody.instance.json_Callback_0_(this); |
+ |
+ @DomName('Body.text') |
+ @DocsEditable() |
+ @Experimental() // untriaged |
+ Future text() => _blink.BlinkBody.instance.text_Callback_0_(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. |
+ |
+// WARNING: Do not edit - generated code. |
+ |
+ |
+@DocsEditable() |
@DomName('HTMLBodyElement') |
class BodyElement extends HtmlElement implements WindowEventHandlers { |
// To suppress missing implicit constructor warnings. |
@@ -2467,6 +2505,11 @@ class CanvasPattern extends NativeFieldWrapperClass2 { |
// To suppress missing implicit constructor warnings. |
factory CanvasPattern._() { throw new UnsupportedError("Not supported"); } |
+ @DomName('CanvasPattern.setTransform') |
+ @DocsEditable() |
+ @Experimental() // untriaged |
+ void setTransform(Matrix transform) => _blink.BlinkCanvasPattern.instance.setTransform_Callback_1_(this, transform); |
+ |
} |
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
// for details. All rights reserved. Use of this source code is governed by a |
@@ -2497,6 +2540,16 @@ class CanvasRenderingContext2D extends NativeFieldWrapperClass2 implements Canva |
@Experimental() // untriaged |
void set currentTransform(Matrix value) => _blink.BlinkCanvasRenderingContext2D.instance.currentTransform_Setter_(this, value); |
+ @DomName('CanvasRenderingContext2D.direction') |
+ @DocsEditable() |
+ @Experimental() // untriaged |
+ String get direction => _blink.BlinkCanvasRenderingContext2D.instance.direction_Getter_(this); |
+ |
+ @DomName('CanvasRenderingContext2D.direction') |
+ @DocsEditable() |
+ @Experimental() // untriaged |
+ void set direction(String value) => _blink.BlinkCanvasRenderingContext2D.instance.direction_Setter_(this, value); |
+ |
@DomName('CanvasRenderingContext2D.fillStyle') |
@DocsEditable() |
Object get fillStyle => _blink.BlinkCanvasRenderingContext2D.instance.fillStyle_Getter_(this); |
@@ -3325,42 +3378,42 @@ abstract class ChildNode extends NativeFieldWrapperClass2 { |
@DocsEditable() |
-@DomName('CircularRegion') |
+@DomName('CircularGeofencingRegion') |
@Experimental() // untriaged |
-class CircularRegion extends GeofencingRegion { |
+class CircularGeofencingRegion extends GeofencingRegion { |
// To suppress missing implicit constructor warnings. |
- factory CircularRegion._() { throw new UnsupportedError("Not supported"); } |
+ factory CircularGeofencingRegion._() { throw new UnsupportedError("Not supported"); } |
- @DomName('CircularRegion.CircularRegion') |
+ @DomName('CircularGeofencingRegion.CircularGeofencingRegion') |
@DocsEditable() |
- factory CircularRegion(Map init) { |
- return _blink.BlinkCircularRegion.instance.constructorCallback_1_(init); |
+ factory CircularGeofencingRegion(Map init) { |
+ return _blink.BlinkCircularGeofencingRegion.instance.constructorCallback_1_(init); |
} |
- @DomName('CircularRegion.MAX_RADIUS') |
+ @DomName('CircularGeofencingRegion.MAX_RADIUS') |
@DocsEditable() |
@Experimental() // untriaged |
static const num MAX_RADIUS = 100.0; |
- @DomName('CircularRegion.MIN_RADIUS') |
+ @DomName('CircularGeofencingRegion.MIN_RADIUS') |
@DocsEditable() |
@Experimental() // untriaged |
static const num MIN_RADIUS = 1.0; |
- @DomName('CircularRegion.latitude') |
+ @DomName('CircularGeofencingRegion.latitude') |
@DocsEditable() |
@Experimental() // untriaged |
- double get latitude => _blink.BlinkCircularRegion.instance.latitude_Getter_(this); |
+ double get latitude => _blink.BlinkCircularGeofencingRegion.instance.latitude_Getter_(this); |
- @DomName('CircularRegion.longitude') |
+ @DomName('CircularGeofencingRegion.longitude') |
@DocsEditable() |
@Experimental() // untriaged |
- double get longitude => _blink.BlinkCircularRegion.instance.longitude_Getter_(this); |
+ double get longitude => _blink.BlinkCircularGeofencingRegion.instance.longitude_Getter_(this); |
- @DomName('CircularRegion.radius') |
+ @DomName('CircularGeofencingRegion.radius') |
@DocsEditable() |
@Experimental() // untriaged |
- double get radius => _blink.BlinkCircularRegion.instance.radius_Getter_(this); |
+ double get radius => _blink.BlinkCircularGeofencingRegion.instance.radius_Getter_(this); |
} |
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
@@ -3732,19 +3785,15 @@ class CredentialsContainer extends NativeFieldWrapperClass2 { |
// To suppress missing implicit constructor warnings. |
factory CredentialsContainer._() { throw new UnsupportedError("Not supported"); } |
- Future notifyFailedSignIn([Credential credential]) { |
- if (credential != null) { |
- return _blink.BlinkCredentialsContainer.instance.notifyFailedSignIn_Callback_1_(this, credential); |
- } |
- return _blink.BlinkCredentialsContainer.instance.notifyFailedSignIn_Callback_0_(this); |
- } |
+ @DomName('CredentialsContainer.notifyFailedSignIn') |
+ @DocsEditable() |
+ @Experimental() // untriaged |
+ Future notifyFailedSignIn(Credential credential) => _blink.BlinkCredentialsContainer.instance.notifyFailedSignIn_Callback_1_(this, credential); |
- Future notifySignedIn([Credential credential]) { |
- if (credential != null) { |
- return _blink.BlinkCredentialsContainer.instance.notifySignedIn_Callback_1_(this, credential); |
- } |
- return _blink.BlinkCredentialsContainer.instance.notifySignedIn_Callback_0_(this); |
- } |
+ @DomName('CredentialsContainer.notifySignedIn') |
+ @DocsEditable() |
+ @Experimental() // untriaged |
+ Future notifySignedIn(Credential credential) => _blink.BlinkCredentialsContainer.instance.notifySignedIn_Callback_1_(this, credential); |
@DomName('CredentialsContainer.notifySignedOut') |
@DocsEditable() |
@@ -7847,7 +7896,7 @@ class DataTransferItemList extends NativeFieldWrapperClass2 { |
@DomName('DatabaseCallback') |
// http://www.w3.org/TR/webdatabase/#databasecallback |
@Experimental() // deprecated |
-typedef void DatabaseCallback(database); |
+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 |
// BSD-style license that can be found in the LICENSE file. |
@@ -8767,6 +8816,11 @@ class Document extends Node |
@DocsEditable() |
String queryCommandValue(String command) => _blink.BlinkDocument.instance.queryCommandValue_Callback_1_(this, command); |
+ @DomName('Document.transformDocumentToTreeView') |
+ @DocsEditable() |
+ @Experimental() // untriaged |
+ void transformDocumentToTreeView(String noStyleMessage) => _blink.BlinkDocument.instance.transformDocumentToTreeView_Callback_1_(this, noStyleMessage); |
+ |
@DomName('Document.webkitExitFullscreen') |
@DocsEditable() |
@SupportedBrowser(SupportedBrowser.CHROME) |
@@ -9518,6 +9572,28 @@ class DomImplementation extends NativeFieldWrapperClass2 { |
@DocsEditable() |
+@DomName('Iterator') |
+@Experimental() // untriaged |
+class DomIterator extends NativeFieldWrapperClass2 { |
+ // To suppress missing implicit constructor warnings. |
+ factory DomIterator._() { throw new UnsupportedError("Not supported"); } |
+ |
+ Object next([Object value]) { |
+ if (value != null) { |
+ return _blink.BlinkIterator.instance.next_Callback_1_(this, value); |
+ } |
+ return _blink.BlinkIterator.instance.next_Callback_0_(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. |
+ |
+// WARNING: Do not edit - generated code. |
+ |
+ |
+@DocsEditable() |
@DomName('DOMMatrix') |
@Experimental() // untriaged |
class DomMatrix extends DomMatrixReadOnly { |
@@ -9756,6 +9832,65 @@ class DomMatrix extends DomMatrixReadOnly { |
@Experimental() // untriaged |
void set m44(num value) => _blink.BlinkDOMMatrix.instance.m44_Setter_(this, value); |
+ @DomName('DOMMatrix.multiplySelf') |
+ @DocsEditable() |
+ @Experimental() // untriaged |
+ DomMatrix multiplySelf(DomMatrix other) => _blink.BlinkDOMMatrix.instance.multiplySelf_Callback_1_(this, other); |
+ |
+ @DomName('DOMMatrix.preMultiplySelf') |
+ @DocsEditable() |
+ @Experimental() // untriaged |
+ DomMatrix preMultiplySelf(DomMatrix other) => _blink.BlinkDOMMatrix.instance.preMultiplySelf_Callback_1_(this, other); |
+ |
+ DomMatrix scale3dSelf(num scale, [num ox, num oy, num oz]) { |
+ if (oz != null) { |
+ return _blink.BlinkDOMMatrix.instance.scale3dSelf_Callback_4_(this, scale, ox, oy, oz); |
+ } |
+ if (oy != null) { |
+ return _blink.BlinkDOMMatrix.instance.scale3dSelf_Callback_3_(this, scale, ox, oy); |
+ } |
+ if (ox != null) { |
+ return _blink.BlinkDOMMatrix.instance.scale3dSelf_Callback_2_(this, scale, ox); |
+ } |
+ return _blink.BlinkDOMMatrix.instance.scale3dSelf_Callback_1_(this, scale); |
+ } |
+ |
+ DomMatrix scaleNonUniformSelf(num sx, [num sy, num sz, num ox, num oy, num oz]) { |
+ if (oz != null) { |
+ return _blink.BlinkDOMMatrix.instance.scaleNonUniformSelf_Callback_6_(this, sx, sy, sz, ox, oy, oz); |
+ } |
+ if (oy != null) { |
+ return _blink.BlinkDOMMatrix.instance.scaleNonUniformSelf_Callback_5_(this, sx, sy, sz, ox, oy); |
+ } |
+ if (ox != null) { |
+ return _blink.BlinkDOMMatrix.instance.scaleNonUniformSelf_Callback_4_(this, sx, sy, sz, ox); |
+ } |
+ if (sz != null) { |
+ return _blink.BlinkDOMMatrix.instance.scaleNonUniformSelf_Callback_3_(this, sx, sy, sz); |
+ } |
+ if (sy != null) { |
+ return _blink.BlinkDOMMatrix.instance.scaleNonUniformSelf_Callback_2_(this, sx, sy); |
+ } |
+ return _blink.BlinkDOMMatrix.instance.scaleNonUniformSelf_Callback_1_(this, sx); |
+ } |
+ |
+ DomMatrix scaleSelf(num scale, [num ox, num oy]) { |
+ if (oy != null) { |
+ return _blink.BlinkDOMMatrix.instance.scaleSelf_Callback_3_(this, scale, ox, oy); |
+ } |
+ if (ox != null) { |
+ return _blink.BlinkDOMMatrix.instance.scaleSelf_Callback_2_(this, scale, ox); |
+ } |
+ return _blink.BlinkDOMMatrix.instance.scaleSelf_Callback_1_(this, scale); |
+ } |
+ |
+ DomMatrix translateSelf(num tx, num ty, [num tz]) { |
+ if (tz != null) { |
+ return _blink.BlinkDOMMatrix.instance.translateSelf_Callback_3_(this, tx, ty, tz); |
+ } |
+ return _blink.BlinkDOMMatrix.instance.translateSelf_Callback_2_(this, tx, ty); |
+ } |
+ |
} |
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
// for details. All rights reserved. Use of this source code is governed by a |
@@ -9891,6 +10026,70 @@ class DomMatrixReadOnly extends NativeFieldWrapperClass2 { |
@Experimental() // untriaged |
double get m44 => _blink.BlinkDOMMatrixReadOnly.instance.m44_Getter_(this); |
+ @DomName('DOMMatrixReadOnly.multiply') |
+ @DocsEditable() |
+ @Experimental() // untriaged |
+ DomMatrix multiply(DomMatrix other) => _blink.BlinkDOMMatrixReadOnly.instance.multiply_Callback_1_(this, other); |
+ |
+ DomMatrix scale(num scale, [num ox, num oy]) { |
+ if (oy != null) { |
+ return _blink.BlinkDOMMatrixReadOnly.instance.scale_Callback_3_(this, scale, ox, oy); |
+ } |
+ if (ox != null) { |
+ return _blink.BlinkDOMMatrixReadOnly.instance.scale_Callback_2_(this, scale, ox); |
+ } |
+ return _blink.BlinkDOMMatrixReadOnly.instance.scale_Callback_1_(this, scale); |
+ } |
+ |
+ DomMatrix scale3d(num scale, [num ox, num oy, num oz]) { |
+ if (oz != null) { |
+ return _blink.BlinkDOMMatrixReadOnly.instance.scale3d_Callback_4_(this, scale, ox, oy, oz); |
+ } |
+ if (oy != null) { |
+ return _blink.BlinkDOMMatrixReadOnly.instance.scale3d_Callback_3_(this, scale, ox, oy); |
+ } |
+ if (ox != null) { |
+ return _blink.BlinkDOMMatrixReadOnly.instance.scale3d_Callback_2_(this, scale, ox); |
+ } |
+ return _blink.BlinkDOMMatrixReadOnly.instance.scale3d_Callback_1_(this, scale); |
+ } |
+ |
+ DomMatrix scaleNonUniform(num sx, [num sy, num sz, num ox, num oy, num oz]) { |
+ if (oz != null) { |
+ return _blink.BlinkDOMMatrixReadOnly.instance.scaleNonUniform_Callback_6_(this, sx, sy, sz, ox, oy, oz); |
+ } |
+ if (oy != null) { |
+ return _blink.BlinkDOMMatrixReadOnly.instance.scaleNonUniform_Callback_5_(this, sx, sy, sz, ox, oy); |
+ } |
+ if (ox != null) { |
+ return _blink.BlinkDOMMatrixReadOnly.instance.scaleNonUniform_Callback_4_(this, sx, sy, sz, ox); |
+ } |
+ if (sz != null) { |
+ return _blink.BlinkDOMMatrixReadOnly.instance.scaleNonUniform_Callback_3_(this, sx, sy, sz); |
+ } |
+ if (sy != null) { |
+ return _blink.BlinkDOMMatrixReadOnly.instance.scaleNonUniform_Callback_2_(this, sx, sy); |
+ } |
+ return _blink.BlinkDOMMatrixReadOnly.instance.scaleNonUniform_Callback_1_(this, sx); |
+ } |
+ |
+ @DomName('DOMMatrixReadOnly.toFloat32Array') |
+ @DocsEditable() |
+ @Experimental() // untriaged |
+ Float32List toFloat32Array() => _blink.BlinkDOMMatrixReadOnly.instance.toFloat32Array_Callback_0_(this); |
+ |
+ @DomName('DOMMatrixReadOnly.toFloat64Array') |
+ @DocsEditable() |
+ @Experimental() // untriaged |
+ Float64List toFloat64Array() => _blink.BlinkDOMMatrixReadOnly.instance.toFloat64Array_Callback_0_(this); |
+ |
+ DomMatrix translate(num tx, num ty, [num tz]) { |
+ if (tz != null) { |
+ return _blink.BlinkDOMMatrixReadOnly.instance.translate_Callback_3_(this, tx, ty, tz); |
+ } |
+ return _blink.BlinkDOMMatrixReadOnly.instance.translate_Callback_2_(this, tx, ty); |
+ } |
+ |
} |
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
// for details. All rights reserved. Use of this source code is governed by a |
@@ -13159,6 +13358,8 @@ abstract class Element extends Node implements GlobalEventHandlers, ParentNode, |
String contentEditable; |
+ MenuElement contextMenu; |
+ |
String dir; |
bool draggable; |
@@ -13265,19 +13466,19 @@ abstract class Element extends Node implements GlobalEventHandlers, ParentNode, |
@DomName('Element.scrollLeft') |
@DocsEditable() |
- int get _scrollLeft => _blink.BlinkElement.instance.scrollLeft_Getter_(this); |
+ num get _scrollLeft => _blink.BlinkElement.instance.scrollLeft_Getter_(this); |
@DomName('Element.scrollLeft') |
@DocsEditable() |
- void set _scrollLeft(int value) => _blink.BlinkElement.instance.scrollLeft_Setter_(this, value); |
+ void set _scrollLeft(num value) => _blink.BlinkElement.instance.scrollLeft_Setter_(this, value); |
@DomName('Element.scrollTop') |
@DocsEditable() |
- int get _scrollTop => _blink.BlinkElement.instance.scrollTop_Getter_(this); |
+ num get _scrollTop => _blink.BlinkElement.instance.scrollTop_Getter_(this); |
@DomName('Element.scrollTop') |
@DocsEditable() |
- void set _scrollTop(int value) => _blink.BlinkElement.instance.scrollTop_Setter_(this, value); |
+ void set _scrollTop(num value) => _blink.BlinkElement.instance.scrollTop_Setter_(this, value); |
@DomName('Element.scrollWidth') |
@DocsEditable() |
@@ -14772,22 +14973,16 @@ class EventTarget extends NativeFieldWrapperClass2 { |
@DocsEditable() |
-@DomName('FederatedCredential') |
+@DomName('ExtendableEvent') |
@Experimental() // untriaged |
-class FederatedCredential extends Credential { |
+class ExtendableEvent extends Event { |
// To suppress missing implicit constructor warnings. |
- factory FederatedCredential._() { throw new UnsupportedError("Not supported"); } |
+ factory ExtendableEvent._() { throw new UnsupportedError("Not supported"); } |
- @DomName('FederatedCredential.FederatedCredential') |
- @DocsEditable() |
- factory FederatedCredential(String id, String name, String avatarURL, String federation) { |
- return _blink.BlinkFederatedCredential.instance.constructorCallback_4_(id, name, avatarURL, federation); |
- } |
- |
- @DomName('FederatedCredential.federation') |
+ @DomName('ExtendableEvent.waitUntil') |
@DocsEditable() |
@Experimental() // untriaged |
- String get federation => _blink.BlinkFederatedCredential.instance.federation_Getter_(this); |
+ void waitUntil(Object value) => _blink.BlinkExtendableEvent.instance.waitUntil_Callback_1_(this, value); |
} |
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
@@ -14798,31 +14993,22 @@ class FederatedCredential extends Credential { |
@DocsEditable() |
-@DomName('FetchBodyStream') |
+@DomName('FederatedCredential') |
@Experimental() // untriaged |
-class FetchBodyStream extends NativeFieldWrapperClass2 { |
+class FederatedCredential extends Credential { |
// To suppress missing implicit constructor warnings. |
- factory FetchBodyStream._() { throw new UnsupportedError("Not supported"); } |
- |
- @DomName('FetchBodyStream.asArrayBuffer') |
- @DocsEditable() |
- @Experimental() // untriaged |
- Future asArrayBuffer() => _blink.BlinkFetchBodyStream.instance.asArrayBuffer_Callback_0_(this); |
- |
- @DomName('FetchBodyStream.asBlob') |
- @DocsEditable() |
- @Experimental() // untriaged |
- Future asBlob() => _blink.BlinkFetchBodyStream.instance.asBlob_Callback_0_(this); |
+ factory FederatedCredential._() { throw new UnsupportedError("Not supported"); } |
- @DomName('FetchBodyStream.asJSON') |
+ @DomName('FederatedCredential.FederatedCredential') |
@DocsEditable() |
- @Experimental() // untriaged |
- Future asJson() => _blink.BlinkFetchBodyStream.instance.asJSON_Callback_0_(this); |
+ factory FederatedCredential(String id, String name, String avatarURL, String federation) { |
+ return _blink.BlinkFederatedCredential.instance.constructorCallback_4_(id, name, avatarURL, federation); |
+ } |
- @DomName('FetchBodyStream.asText') |
+ @DomName('FederatedCredential.federation') |
@DocsEditable() |
@Experimental() // untriaged |
- Future asText() => _blink.BlinkFetchBodyStream.instance.asText_Callback_0_(this); |
+ String get federation => _blink.BlinkFederatedCredential.instance.federation_Getter_(this); |
} |
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
@@ -15715,10 +15901,12 @@ class FontFaceSet extends EventTarget { |
@Experimental() // untriaged |
void add(FontFace fontFace) => _blink.BlinkFontFaceSet.instance.add_Callback_1_(this, fontFace); |
- @DomName('FontFaceSet.check') |
- @DocsEditable() |
- @Experimental() // untriaged |
- bool check(String font, String text) => _blink.BlinkFontFaceSet.instance.check_Callback_2_(this, font, text); |
+ bool check(String font, [String text]) { |
+ if (text != null) { |
+ return _blink.BlinkFontFaceSet.instance.check_Callback_2_(this, font, text); |
+ } |
+ return _blink.BlinkFontFaceSet.instance.check_Callback_1_(this, font); |
+ } |
@DomName('FontFaceSet.clear') |
@DocsEditable() |
@@ -17628,6 +17816,16 @@ class HtmlElement extends Element implements GlobalEventHandlers { |
@DocsEditable() |
void set contentEditable(String value) => _blink.BlinkHTMLElement.instance.contentEditable_Setter_(this, value); |
+ @DomName('HTMLElement.contextMenu') |
+ @DocsEditable() |
+ @Experimental() // untriaged |
+ MenuElement get contextMenu => _blink.BlinkHTMLElement.instance.contextMenu_Getter_(this); |
+ |
+ @DomName('HTMLElement.contextMenu') |
+ @DocsEditable() |
+ @Experimental() // untriaged |
+ void set contextMenu(MenuElement value) => _blink.BlinkHTMLElement.instance.contextMenu_Setter_(this, value); |
+ |
@DomName('HTMLElement.dir') |
@DocsEditable() |
String get dir => _blink.BlinkHTMLElement.instance.dir_Getter_(this); |
@@ -19649,6 +19847,10 @@ class InputElement extends HtmlElement implements |
_blink.BlinkHTMLInputElement.instance.setRangeText_Callback_1_(this, replacement); |
return; |
} |
+ if ((end is int || end == null) && (start is int || start == null) && (replacement is String || replacement == null) && selectionMode == null) { |
+ _blink.BlinkHTMLInputElement.instance.setRangeText_Callback_3_(this, replacement, start, end); |
+ return; |
+ } |
if ((selectionMode is String || selectionMode == null) && (end is int || end == null) && (start is int || start == null) && (replacement is String || replacement == null)) { |
_blink.BlinkHTMLInputElement.instance.setRangeText_Callback_4_(this, replacement, start, end, selectionMode); |
return; |
@@ -20288,7 +20490,7 @@ class InputMethodContext extends EventTarget { |
@DocsEditable() |
@DomName('InstallEvent') |
@Experimental() // untriaged |
-class InstallEvent extends InstallPhaseEvent { |
+class InstallEvent extends ExtendableEvent { |
// To suppress missing implicit constructor warnings. |
factory InstallEvent._() { throw new UnsupportedError("Not supported"); } |
@@ -20307,26 +20509,6 @@ class InstallEvent extends InstallPhaseEvent { |
// for details. All rights reserved. Use of this source code is governed by a |
// BSD-style license that can be found in the LICENSE file. |
-// WARNING: Do not edit - generated code. |
- |
- |
-@DocsEditable() |
-@DomName('InstallPhaseEvent') |
-@Experimental() // untriaged |
-class InstallPhaseEvent extends Event { |
- // To suppress missing implicit constructor warnings. |
- factory InstallPhaseEvent._() { throw new UnsupportedError("Not supported"); } |
- |
- @DomName('InstallPhaseEvent.waitUntil') |
- @DocsEditable() |
- @Experimental() // untriaged |
- void waitUntil(Object value) => _blink.BlinkInstallPhaseEvent.instance.waitUntil_Callback_1_(this, 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. |
- |
@DomName('KeyboardEvent') |
class KeyboardEvent extends UIEvent { |
@@ -21412,7 +21594,7 @@ class MediaElement extends HtmlElement { |
@DomName('HTMLMediaElement.setMediaKeys') |
@DocsEditable() |
@Experimental() // untriaged |
- void setMediaKeys(MediaKeys mediaKeys) => _blink.BlinkHTMLMediaElement.instance.setMediaKeys_Callback_1_(this, mediaKeys); |
+ Future setMediaKeys(MediaKeys mediaKeys) => _blink.BlinkHTMLMediaElement.instance.setMediaKeys_Callback_1_(this, mediaKeys); |
void addKey(String keySystem, Uint8List key, [Uint8List initData, String sessionId]) { |
if (initData != null) { |
@@ -21684,6 +21866,16 @@ class MediaKeySession extends EventTarget { |
@DocsEditable() |
String get sessionId => _blink.BlinkMediaKeySession.instance.sessionId_Getter_(this); |
+ Future generateRequest(String initDataType, initData) { |
+ if ((initData is TypedData) && (initDataType is String)) { |
+ return _blink.BlinkMediaKeySession.instance.generateRequest_Callback_2_(this, initDataType, initData); |
+ } |
+ if ((initData is ByteBuffer) && (initDataType is String)) { |
+ return _blink.BlinkMediaKeySession.instance.generateRequest_Callback_2_(this, initDataType, initData); |
+ } |
+ throw new ArgumentError("Incorrect number or type of arguments"); |
+ } |
+ |
@DomName('MediaKeySession.release') |
@DocsEditable() |
@Experimental() // untriaged |
@@ -21724,20 +21916,11 @@ class MediaKeys extends NativeFieldWrapperClass2 { |
@Experimental() // untriaged |
static Future create(String keySystem) => _blink.BlinkMediaKeys.instance.create_Callback_1_(keySystem); |
- Future _createSession(String initDataType, initData, [String sessionType]) { |
- if ((initData is TypedData) && (initDataType is String) && sessionType == null) { |
- return _blink.BlinkMediaKeys.instance.createSession_Callback_2_(this, initDataType, initData); |
- } |
- if ((sessionType is String || sessionType == null) && (initData is TypedData) && (initDataType is String)) { |
- return _blink.BlinkMediaKeys.instance.createSession_Callback_3_(this, initDataType, initData, sessionType); |
- } |
- if ((initData is ByteBuffer) && (initDataType is String) && sessionType == null) { |
- return _blink.BlinkMediaKeys.instance.createSession_Callback_2_(this, initDataType, initData); |
- } |
- if ((sessionType is String || sessionType == null) && (initData is ByteBuffer) && (initDataType is String)) { |
- return _blink.BlinkMediaKeys.instance.createSession_Callback_3_(this, initDataType, initData, sessionType); |
+ MediaKeySession _createSession([String sessionType]) { |
+ if (sessionType != null) { |
+ return _blink.BlinkMediaKeys.instance.createSession_Callback_1_(this, sessionType); |
} |
- throw new ArgumentError("Incorrect number or type of arguments"); |
+ return _blink.BlinkMediaKeys.instance.createSession_Callback_0_(this); |
} |
@DomName('MediaKeys.isTypeSupported') |
@@ -21795,10 +21978,15 @@ class MediaList extends NativeFieldWrapperClass2 { |
@DocsEditable() |
@DomName('MediaQueryList') |
@Unstable() |
-class MediaQueryList extends NativeFieldWrapperClass2 { |
+class MediaQueryList extends EventTarget { |
// To suppress missing implicit constructor warnings. |
factory MediaQueryList._() { throw new UnsupportedError("Not supported"); } |
+ @DomName('MediaQueryList.changeEvent') |
+ @DocsEditable() |
+ @Experimental() // untriaged |
+ static const EventStreamProvider<Event> changeEvent = const EventStreamProvider<Event>('change'); |
+ |
@DomName('MediaQueryList.matches') |
@DocsEditable() |
bool get matches => _blink.BlinkMediaQueryList.instance.matches_Getter_(this); |
@@ -21807,6 +21995,44 @@ class MediaQueryList extends NativeFieldWrapperClass2 { |
@DocsEditable() |
String get media => _blink.BlinkMediaQueryList.instance.media_Getter_(this); |
+ @DomName('MediaQueryList.addListener') |
+ @DocsEditable() |
+ void addListener(EventListener listener) => _blink.BlinkMediaQueryList.instance.addListener_Callback_1_(this, listener); |
+ |
+ @DomName('MediaQueryList.removeListener') |
+ @DocsEditable() |
+ void removeListener(EventListener listener) => _blink.BlinkMediaQueryList.instance.removeListener_Callback_1_(this, listener); |
+ |
+ @DomName('MediaQueryList.onchange') |
+ @DocsEditable() |
+ @Experimental() // untriaged |
+ Stream<Event> 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. |
+ |
+// WARNING: Do not edit - generated code. |
+ |
+ |
+@DocsEditable() |
+@DomName('MediaQueryListEvent') |
+@Experimental() // untriaged |
+class MediaQueryListEvent extends Event { |
+ // To suppress missing implicit constructor warnings. |
+ factory MediaQueryListEvent._() { throw new UnsupportedError("Not supported"); } |
+ |
+ @DomName('MediaQueryListEvent.matches') |
+ @DocsEditable() |
+ @Experimental() // untriaged |
+ bool get matches => _blink.BlinkMediaQueryListEvent.instance.matches_Getter_(this); |
+ |
+ @DomName('MediaQueryListEvent.media') |
+ @DocsEditable() |
+ @Experimental() // untriaged |
+ String get media => _blink.BlinkMediaQueryListEvent.instance.media_Getter_(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 |
@@ -22637,18 +22863,18 @@ class MidiAccess extends EventTarget { |
@DocsEditable() |
static const EventStreamProvider<MidiConnectionEvent> disconnectEvent = const EventStreamProvider<MidiConnectionEvent>('disconnect'); |
- @DomName('MIDIAccess.sysexEnabled') |
- @DocsEditable() |
- @Experimental() // untriaged |
- bool get sysexEnabled => _blink.BlinkMIDIAccess.instance.sysexEnabled_Getter_(this); |
- |
@DomName('MIDIAccess.inputs') |
@DocsEditable() |
- List<MidiInput> inputs() => _blink.BlinkMIDIAccess.instance.inputs_Callback_0_(this); |
+ MidiInputMap get inputs => _blink.BlinkMIDIAccess.instance.inputs_Getter_(this); |
@DomName('MIDIAccess.outputs') |
@DocsEditable() |
- List<MidiOutput> outputs() => _blink.BlinkMIDIAccess.instance.outputs_Callback_0_(this); |
+ MidiOutputMap get outputs => _blink.BlinkMIDIAccess.instance.outputs_Getter_(this); |
+ |
+ @DomName('MIDIAccess.sysexEnabled') |
+ @DocsEditable() |
+ @Experimental() // untriaged |
+ bool get sysexEnabled => _blink.BlinkMIDIAccess.instance.sysexEnabled_Getter_(this); |
/// Stream of `connect` events handled by this [MidiAccess]. |
@DomName('MIDIAccess.onconnect') |
@@ -22720,6 +22946,51 @@ class MidiInput extends MidiPort { |
@DocsEditable() |
+@DomName('MIDIInputMap') |
+@Experimental() // untriaged |
+class MidiInputMap extends NativeFieldWrapperClass2 { |
+ // To suppress missing implicit constructor warnings. |
+ factory MidiInputMap._() { throw new UnsupportedError("Not supported"); } |
+ |
+ @DomName('MIDIInputMap.size') |
+ @DocsEditable() |
+ @Experimental() // untriaged |
+ int get size => _blink.BlinkMIDIInputMap.instance.size_Getter_(this); |
+ |
+ @DomName('MIDIInputMap.entries') |
+ @DocsEditable() |
+ @Experimental() // untriaged |
+ DomIterator entries() => _blink.BlinkMIDIInputMap.instance.entries_Callback_0_(this); |
+ |
+ @DomName('MIDIInputMap.get') |
+ @DocsEditable() |
+ @Experimental() // untriaged |
+ Object get(String id) => _blink.BlinkMIDIInputMap.instance.get_Callback_1_(this, id); |
+ |
+ @DomName('MIDIInputMap.has') |
+ @DocsEditable() |
+ @Experimental() // untriaged |
+ bool has(String key) => _blink.BlinkMIDIInputMap.instance.has_Callback_1_(this, key); |
+ |
+ @DomName('MIDIInputMap.keys') |
+ @DocsEditable() |
+ @Experimental() // untriaged |
+ DomIterator keys() => _blink.BlinkMIDIInputMap.instance.keys_Callback_0_(this); |
+ |
+ @DomName('MIDIInputMap.values') |
+ @DocsEditable() |
+ @Experimental() // untriaged |
+ DomIterator values() => _blink.BlinkMIDIInputMap.instance.values_Callback_0_(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. |
+ |
+// WARNING: Do not edit - generated code. |
+ |
+ |
+@DocsEditable() |
@DomName('MIDIMessageEvent') |
// http://webaudio.github.io/web-midi-api/#midimessageevent-interface |
@Experimental() |
@@ -22769,6 +23040,51 @@ class MidiOutput extends MidiPort { |
@DocsEditable() |
+@DomName('MIDIOutputMap') |
+@Experimental() // untriaged |
+class MidiOutputMap extends NativeFieldWrapperClass2 { |
+ // To suppress missing implicit constructor warnings. |
+ factory MidiOutputMap._() { throw new UnsupportedError("Not supported"); } |
+ |
+ @DomName('MIDIOutputMap.size') |
+ @DocsEditable() |
+ @Experimental() // untriaged |
+ int get size => _blink.BlinkMIDIOutputMap.instance.size_Getter_(this); |
+ |
+ @DomName('MIDIOutputMap.entries') |
+ @DocsEditable() |
+ @Experimental() // untriaged |
+ DomIterator entries() => _blink.BlinkMIDIOutputMap.instance.entries_Callback_0_(this); |
+ |
+ @DomName('MIDIOutputMap.get') |
+ @DocsEditable() |
+ @Experimental() // untriaged |
+ Object get(String id) => _blink.BlinkMIDIOutputMap.instance.get_Callback_1_(this, id); |
+ |
+ @DomName('MIDIOutputMap.has') |
+ @DocsEditable() |
+ @Experimental() // untriaged |
+ bool has(String key) => _blink.BlinkMIDIOutputMap.instance.has_Callback_1_(this, key); |
+ |
+ @DomName('MIDIOutputMap.keys') |
+ @DocsEditable() |
+ @Experimental() // untriaged |
+ DomIterator keys() => _blink.BlinkMIDIOutputMap.instance.keys_Callback_0_(this); |
+ |
+ @DomName('MIDIOutputMap.values') |
+ @DocsEditable() |
+ @Experimental() // untriaged |
+ DomIterator values() => _blink.BlinkMIDIOutputMap.instance.values_Callback_0_(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. |
+ |
+// WARNING: Do not edit - generated code. |
+ |
+ |
+@DocsEditable() |
@DomName('MIDIPort') |
// http://webaudio.github.io/web-midi-api/#idl-def-MIDIPort |
@Experimental() |
@@ -23404,6 +23720,11 @@ class Navigator extends NativeFieldWrapperClass2 implements NavigatorCpu, Naviga |
@Experimental() // nonstandard |
MimeTypeArray get mimeTypes => _blink.BlinkNavigator.instance.mimeTypes_Getter_(this); |
+ @DomName('Navigator.presentation') |
+ @DocsEditable() |
+ @Experimental() // untriaged |
+ Presentation get presentation => _blink.BlinkNavigator.instance.presentation_Getter_(this); |
+ |
@DomName('Navigator.productSub') |
@DocsEditable() |
@Unstable() |
@@ -24569,7 +24890,10 @@ class Notification extends EventTarget { |
@DomName('Notification.Notification') |
@DocsEditable() |
static Notification _factoryNotification(String title, [Map options]) { |
- return _blink.BlinkNotification.instance.constructorCallback_2_(title, options); |
+ if (options != null) { |
+ return _blink.BlinkNotification.instance.constructorCallback_2_(title, options); |
+ } |
+ return _blink.BlinkNotification.instance.constructorCallback_1_(title); |
} |
@DomName('Notification.body') |
@@ -25821,6 +26145,42 @@ class PluginArray extends NativeFieldWrapperClass2 with ListMixin<Plugin>, Immut |
@DocsEditable() |
+@DomName('PluginPlaceholderElement') |
+@Experimental() // untriaged |
+class PluginPlaceholderElement extends DivElement { |
+ // To suppress missing implicit constructor warnings. |
+ factory PluginPlaceholderElement._() { throw new UnsupportedError("Not supported"); } |
+ /** |
+ * Constructor instantiated by the DOM when a custom element has been created. |
+ * |
+ * This can only be called by subclasses from their created constructor. |
+ */ |
+ PluginPlaceholderElement.created() : super.created(); |
+ |
+ @DomName('PluginPlaceholderElement.message') |
+ @DocsEditable() |
+ @Experimental() // untriaged |
+ String get message => _blink.BlinkPluginPlaceholderElement.instance.message_Getter_(this); |
+ |
+ @DomName('PluginPlaceholderElement.message') |
+ @DocsEditable() |
+ @Experimental() // untriaged |
+ void set message(String value) => _blink.BlinkPluginPlaceholderElement.instance.message_Setter_(this, value); |
+ |
+ @DomName('PluginPlaceholderElement.createdCallback') |
+ @DocsEditable() |
+ @Experimental() // untriaged |
+ void createdCallback() => _blink.BlinkPluginPlaceholderElement.instance.createdCallback_Callback_0_(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. |
+ |
+// WARNING: Do not edit - generated code. |
+ |
+ |
+@DocsEditable() |
@DomName('PopStateEvent') |
@SupportedBrowser(SupportedBrowser.CHROME) |
@SupportedBrowser(SupportedBrowser.FIREFOX) |
@@ -25922,6 +26282,21 @@ class PreElement extends HtmlElement { |
@DocsEditable() |
+@DomName('Presentation') |
+@Experimental() // untriaged |
+class Presentation extends EventTarget { |
+ // To suppress missing implicit constructor warnings. |
+ factory Presentation._() { throw new UnsupportedError("Not 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. |
+ |
+// WARNING: Do not edit - generated code. |
+ |
+ |
+@DocsEditable() |
@DomName('ProcessingInstruction') |
@Unstable() |
class ProcessingInstruction extends CharacterData { |
@@ -26244,6 +26619,11 @@ class Range extends NativeFieldWrapperClass2 { |
return; |
} |
+ @DomName('Range.compareBoundaryPoints') |
+ @DocsEditable() |
+ @Experimental() // untriaged |
+ int compareBoundaryPoints(int how, Range sourceRange) => _blink.BlinkRange.instance.compareBoundaryPoints_Callback_2_(this, how, sourceRange); |
+ |
@DomName('Range.comparePoint') |
@DocsEditable() |
int comparePoint(Node refNode, int offset) => _blink.BlinkRange.instance.comparePoint_Callback_2_(this, refNode, offset); |
@@ -26345,6 +26725,31 @@ class ReadableStream extends NativeFieldWrapperClass2 { |
// To suppress missing implicit constructor warnings. |
factory ReadableStream._() { throw new UnsupportedError("Not supported"); } |
+ @DomName('ReadableStream.closed') |
+ @DocsEditable() |
+ @Experimental() // untriaged |
+ Future get closed => _blink.BlinkReadableStream.instance.closed_Getter_(this); |
+ |
+ @DomName('ReadableStream.state') |
+ @DocsEditable() |
+ @Experimental() // untriaged |
+ String get state => _blink.BlinkReadableStream.instance.state_Getter_(this); |
+ |
+ @DomName('ReadableStream.cancel') |
+ @DocsEditable() |
+ @Experimental() // untriaged |
+ Future cancel(Object reason) => _blink.BlinkReadableStream.instance.cancel_Callback_1_(this, reason); |
+ |
+ @DomName('ReadableStream.read') |
+ @DocsEditable() |
+ @Experimental() // untriaged |
+ Object read() => _blink.BlinkReadableStream.instance.read_Callback_0_(this); |
+ |
+ @DomName('ReadableStream.wait') |
+ @DocsEditable() |
+ @Experimental() // untriaged |
+ Future wait() => _blink.BlinkReadableStream.instance.wait_Callback_0_(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 |
@@ -27724,10 +28129,12 @@ class ServiceWorkerClients extends NativeFieldWrapperClass2 { |
// To suppress missing implicit constructor warnings. |
factory ServiceWorkerClients._() { throw new UnsupportedError("Not supported"); } |
- @DomName('ServiceWorkerClients.getServiced') |
- @DocsEditable() |
- @Experimental() // untriaged |
- Future getServiced() => _blink.BlinkServiceWorkerClients.instance.getServiced_Callback_0_(this); |
+ Future getAll([Map options]) { |
+ if (options != null) { |
+ return _blink.BlinkServiceWorkerClients.instance.getAll_Callback_1_(this, options); |
+ } |
+ return _blink.BlinkServiceWorkerClients.instance.getAll_Callback_0_(this); |
+ } |
} |
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
@@ -27744,30 +28151,22 @@ class ServiceWorkerContainer extends NativeFieldWrapperClass2 { |
// To suppress missing implicit constructor warnings. |
factory ServiceWorkerContainer._() { throw new UnsupportedError("Not supported"); } |
- @DomName('ServiceWorkerContainer.active') |
- @DocsEditable() |
- @Experimental() // untriaged |
- _ServiceWorker get active => _blink.BlinkServiceWorkerContainer.instance.active_Getter_(this); |
- |
@DomName('ServiceWorkerContainer.controller') |
@DocsEditable() |
@Experimental() // untriaged |
_ServiceWorker get controller => _blink.BlinkServiceWorkerContainer.instance.controller_Getter_(this); |
- @DomName('ServiceWorkerContainer.installing') |
- @DocsEditable() |
- @Experimental() // untriaged |
- _ServiceWorker get installing => _blink.BlinkServiceWorkerContainer.instance.installing_Getter_(this); |
- |
@DomName('ServiceWorkerContainer.ready') |
@DocsEditable() |
@Experimental() // untriaged |
Future get ready => _blink.BlinkServiceWorkerContainer.instance.ready_Getter_(this); |
- @DomName('ServiceWorkerContainer.waiting') |
- @DocsEditable() |
- @Experimental() // untriaged |
- _ServiceWorker get waiting => _blink.BlinkServiceWorkerContainer.instance.waiting_Getter_(this); |
+ Future getRegistration([String documentURL]) { |
+ if (documentURL != null) { |
+ return _blink.BlinkServiceWorkerContainer.instance.getRegistration_Callback_1_(this, documentURL); |
+ } |
+ return _blink.BlinkServiceWorkerContainer.instance.getRegistration_Callback_0_(this); |
+ } |
Future register(String url, [Map options]) { |
if (options != null) { |
@@ -27776,13 +28175,6 @@ class ServiceWorkerContainer extends NativeFieldWrapperClass2 { |
return _blink.BlinkServiceWorkerContainer.instance.register_Callback_1_(this, url); |
} |
- Future unregister([String scope]) { |
- if (scope != null) { |
- return _blink.BlinkServiceWorkerContainer.instance.unregister_Callback_1_(this, scope); |
- } |
- return _blink.BlinkServiceWorkerContainer.instance.unregister_Callback_0_(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 |
@@ -27803,21 +28195,26 @@ class ServiceWorkerGlobalScope extends WorkerGlobalScope { |
@Experimental() // untriaged |
static const EventStreamProvider<MessageEvent> messageEvent = const EventStreamProvider<MessageEvent>('message'); |
- @DomName('ServiceWorkerGlobalScope.clients') |
+ @DomName('ServiceWorkerGlobalScope.caches') |
@DocsEditable() |
@Experimental() // untriaged |
- ServiceWorkerClients get clients => _blink.BlinkServiceWorkerGlobalScope.instance.clients_Getter_(this); |
+ CacheStorage get caches => _blink.BlinkServiceWorkerGlobalScope.instance.caches_Getter_(this); |
- @DomName('ServiceWorkerGlobalScope.nativeCaches') |
+ @DomName('ServiceWorkerGlobalScope.clients') |
@DocsEditable() |
@Experimental() // untriaged |
- CacheStorage get nativeCaches => _blink.BlinkServiceWorkerGlobalScope.instance.nativeCaches_Getter_(this); |
+ ServiceWorkerClients get clients => _blink.BlinkServiceWorkerGlobalScope.instance.clients_Getter_(this); |
@DomName('ServiceWorkerGlobalScope.scope') |
@DocsEditable() |
@Experimental() // untriaged |
String get scope => _blink.BlinkServiceWorkerGlobalScope.instance.scope_Getter_(this); |
+ @DomName('ServiceWorkerGlobalScope.close') |
+ @DocsEditable() |
+ @Experimental() // untriaged |
+ void close() => _blink.BlinkServiceWorkerGlobalScope.instance.close_Callback_0_(this); |
+ |
Future _fetch(request, [Map requestInitDict]) { |
if ((request is String || request == null) && requestInitDict == null) { |
return _blink.BlinkServiceWorkerGlobalScope.instance.fetch_Callback_1_(this, request); |
@@ -31436,10 +31833,10 @@ class Url extends NativeFieldWrapperClass2 implements UrlUtils { |
if ((blob_OR_source_OR_stream is Blob || blob_OR_source_OR_stream == null)) { |
return _blink.BlinkURL.instance.createObjectURL_Callback_1_(blob_OR_source_OR_stream); |
} |
- if ((blob_OR_source_OR_stream is MediaSource)) { |
+ if ((blob_OR_source_OR_stream is MediaStream)) { |
return _blink.BlinkURL.instance.createObjectURL_Callback_1_(blob_OR_source_OR_stream); |
} |
- if ((blob_OR_source_OR_stream is MediaStream)) { |
+ if ((blob_OR_source_OR_stream is MediaSource)) { |
return _blink.BlinkURL.instance.createObjectURL_Callback_1_(blob_OR_source_OR_stream); |
} |
throw new ArgumentError("Incorrect number or type of arguments"); |
@@ -32710,7 +33107,7 @@ class Window extends EventTarget implements WindowEventHandlers, WindowBase, Glo |
* convertPointFromNodeToPage and convertPointFromPageToNode are removed. |
* see http://dev.w3.org/csswg/cssom-view/#geometry |
*/ |
- static bool get supportsPointConversions => _DomPoint.supported; |
+ static bool get supportsPointConversions => true; |
// To suppress missing implicit constructor warnings. |
factory Window._() { throw new UnsupportedError("Not supported"); } |
@@ -33606,31 +34003,64 @@ class Window extends EventTarget implements WindowEventHandlers, WindowBase, Glo |
@DocsEditable() |
void resizeTo(num width, num height) => _blink.BlinkWindow.instance.resizeTo_Callback_2_(this, width, height); |
- void scroll(int x, int y, [Map scrollOptions]) { |
- if (scrollOptions != null) { |
+ void scroll(x, y, [Map scrollOptions]) { |
+ if ((y is num) && (x is num) && scrollOptions == null) { |
+ _blink.BlinkWindow.instance.scroll_Callback_2_(this, x, y); |
+ return; |
+ } |
+ if ((scrollOptions is Map) && (y is num) && (x is num)) { |
_blink.BlinkWindow.instance.scroll_Callback_3_(this, x, y, scrollOptions); |
return; |
} |
- _blink.BlinkWindow.instance.scroll_Callback_2_(this, x, y); |
- return; |
+ if ((y is int) && (x is int) && scrollOptions == null) { |
+ _blink.BlinkWindow.instance.scroll_Callback_2_(this, x, y); |
+ return; |
+ } |
+ if ((scrollOptions is Map) && (y is int) && (x is int)) { |
+ _blink.BlinkWindow.instance.scroll_Callback_3_(this, x, y, scrollOptions); |
+ return; |
+ } |
+ throw new ArgumentError("Incorrect number or type of arguments"); |
} |
- void scrollBy(int x, int y, [Map scrollOptions]) { |
- if (scrollOptions != null) { |
+ void scrollBy(x, y, [Map scrollOptions]) { |
+ if ((y is num) && (x is num) && scrollOptions == null) { |
+ _blink.BlinkWindow.instance.scrollBy_Callback_2_(this, x, y); |
+ return; |
+ } |
+ if ((scrollOptions is Map) && (y is num) && (x is num)) { |
_blink.BlinkWindow.instance.scrollBy_Callback_3_(this, x, y, scrollOptions); |
return; |
} |
- _blink.BlinkWindow.instance.scrollBy_Callback_2_(this, x, y); |
- return; |
+ if ((y is int) && (x is int) && scrollOptions == null) { |
+ _blink.BlinkWindow.instance.scrollBy_Callback_2_(this, x, y); |
+ return; |
+ } |
+ if ((scrollOptions is Map) && (y is int) && (x is int)) { |
+ _blink.BlinkWindow.instance.scrollBy_Callback_3_(this, x, y, scrollOptions); |
+ return; |
+ } |
+ throw new ArgumentError("Incorrect number or type of arguments"); |
} |
- void scrollTo(int x, int y, [Map scrollOptions]) { |
- if (scrollOptions != null) { |
+ void scrollTo(x, y, [Map scrollOptions]) { |
+ if ((y is num) && (x is num) && scrollOptions == null) { |
+ _blink.BlinkWindow.instance.scrollTo_Callback_2_(this, x, y); |
+ return; |
+ } |
+ if ((scrollOptions is Map) && (y is num) && (x is num)) { |
_blink.BlinkWindow.instance.scrollTo_Callback_3_(this, x, y, scrollOptions); |
return; |
} |
- _blink.BlinkWindow.instance.scrollTo_Callback_2_(this, x, y); |
- return; |
+ if ((y is int) && (x is int) && scrollOptions == null) { |
+ _blink.BlinkWindow.instance.scrollTo_Callback_2_(this, x, y); |
+ return; |
+ } |
+ if ((scrollOptions is Map) && (y is int) && (x is int)) { |
+ _blink.BlinkWindow.instance.scrollTo_Callback_3_(this, x, y, scrollOptions); |
+ return; |
+ } |
+ throw new ArgumentError("Incorrect number or type of arguments"); |
} |
/** |
@@ -34435,20 +34865,6 @@ class WorkerGlobalScope extends EventTarget implements _WindowTimers, WindowBase |
@Experimental() // untriaged |
void importScripts(String urls) => _blink.BlinkWorkerGlobalScope.instance.importScripts_Callback_1_(this, urls); |
- SqlDatabase openDatabase(String name, String version, String displayName, int estimatedSize, [DatabaseCallback creationCallback]) { |
- if (creationCallback != null) { |
- return _blink.BlinkWorkerGlobalScope.instance.openDatabase_Callback_5_(this, name, version, displayName, estimatedSize, creationCallback); |
- } |
- return _blink.BlinkWorkerGlobalScope.instance.openDatabase_Callback_4_(this, name, version, displayName, estimatedSize); |
- } |
- |
- _DatabaseSync openDatabaseSync(String name, String version, String displayName, int estimatedSize, [DatabaseCallback creationCallback]) { |
- if (creationCallback != null) { |
- return _blink.BlinkWorkerGlobalScope.instance.openDatabaseSync_Callback_5_(this, name, version, displayName, estimatedSize, creationCallback); |
- } |
- return _blink.BlinkWorkerGlobalScope.instance.openDatabaseSync_Callback_4_(this, name, version, displayName, estimatedSize); |
- } |
- |
void _webkitRequestFileSystem(int type, int size, [_FileSystemCallback successCallback, _ErrorCallback errorCallback]) { |
if (errorCallback != null) { |
_blink.BlinkWorkerGlobalScope.instance.webkitRequestFileSystem_Callback_4_(this, type, size, successCallback, errorCallback); |
@@ -35369,25 +35785,6 @@ abstract class _DOMFileSystemSync extends NativeFieldWrapperClass2 { |
@DocsEditable() |
-@DomName('DatabaseSync') |
-@SupportedBrowser(SupportedBrowser.CHROME) |
-@SupportedBrowser(SupportedBrowser.SAFARI) |
-@Experimental() |
-// http://www.w3.org/TR/webdatabase/#databasesync |
-@deprecated // deprecated |
-abstract class _DatabaseSync extends NativeFieldWrapperClass2 { |
- // To suppress missing implicit constructor warnings. |
- factory _DatabaseSync._() { throw new UnsupportedError("Not 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. |
- |
-// WARNING: Do not edit - generated code. |
- |
- |
-@DocsEditable() |
@DomName('DirectoryEntrySync') |
// http://www.w3.org/TR/file-system-api/#the-directoryentrysync-interface |
@Experimental() |
@@ -35436,51 +35833,6 @@ abstract class _DocumentType extends Node implements ChildNode { |
@DocsEditable() |
-@DomName('WebKitPoint') |
-@SupportedBrowser(SupportedBrowser.CHROME) |
-@SupportedBrowser(SupportedBrowser.SAFARI) |
-@Experimental() |
-// http://developer.apple.com/library/safari/#documentation/DataManagement/Reference/DOMWindowAdditionsReference/DOMWindowAdditions/DOMWindowAdditions.html |
-@Experimental() // non-standard |
-class _DomPoint extends NativeFieldWrapperClass2 { |
- // To suppress missing implicit constructor warnings. |
- factory _DomPoint._() { throw new UnsupportedError("Not supported"); } |
- |
- @DomName('WebKitPoint.WebKitPoint') |
- @DocsEditable() |
- factory _DomPoint(num x, num y) => _create(x, y); |
- |
- @DocsEditable() |
- static _DomPoint _create(x, y) => _blink.BlinkWebKitPoint.instance.constructorCallback_2_(x, y); |
- |
- /// Checks if this type is supported on the current platform. |
- static bool get supported => true; |
- |
- @DomName('WebKitPoint.x') |
- @DocsEditable() |
- num get x => _blink.BlinkWebKitPoint.instance.x_Getter_(this); |
- |
- @DomName('WebKitPoint.x') |
- @DocsEditable() |
- void set x(num value) => _blink.BlinkWebKitPoint.instance.x_Setter_(this, value); |
- |
- @DomName('WebKitPoint.y') |
- @DocsEditable() |
- num get y => _blink.BlinkWebKitPoint.instance.y_Getter_(this); |
- |
- @DomName('WebKitPoint.y') |
- @DocsEditable() |
- void set y(num value) => _blink.BlinkWebKitPoint.instance.y_Setter_(this, 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. |
- |
-// WARNING: Do not edit - generated code. |
- |
- |
-@DocsEditable() |
@DomName('DOMRect') |
@Experimental() // untriaged |
class _DomRect extends DomRectReadOnly { |
@@ -35966,22 +36318,6 @@ class _NamedNodeMap extends NativeFieldWrapperClass2 with ListMixin<Node>, Immut |
@DocsEditable() |
-@DomName('Notation') |
-// http://dom.spec.whatwg.org/#notation |
-@deprecated // deprecated |
-abstract class _Notation extends Node { |
- // To suppress missing implicit constructor warnings. |
- factory _Notation._() { throw new UnsupportedError("Not 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. |
- |
-// WARNING: Do not edit - generated code. |
- |
- |
-@DocsEditable() |
@DomName('PagePopupController') |
@deprecated // nonstandard |
abstract class _PagePopupController extends NativeFieldWrapperClass2 { |
@@ -36042,7 +36378,7 @@ abstract class _Rect extends NativeFieldWrapperClass2 { |
@DocsEditable() |
@DomName('Request') |
@Experimental() // untriaged |
-class _Request extends NativeFieldWrapperClass2 { |
+class _Request extends Body { |
// To suppress missing implicit constructor warnings. |
factory _Request._() { throw new UnsupportedError("Not supported"); } |
@@ -36089,6 +36425,11 @@ class _Request extends NativeFieldWrapperClass2 { |
@Experimental() // untriaged |
String get url => _blink.BlinkRequest.instance.url_Getter_(this); |
+ @DomName('Request.clone') |
+ @DocsEditable() |
+ @Experimental() // untriaged |
+ _Request clone() => _blink.BlinkRequest.instance.clone_Callback_0_(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 |
@@ -36100,24 +36441,36 @@ class _Request extends NativeFieldWrapperClass2 { |
@DocsEditable() |
@DomName('Response') |
@Experimental() // untriaged |
-abstract class _Response extends NativeFieldWrapperClass2 { |
+abstract class _Response extends Body { |
// To suppress missing implicit constructor warnings. |
factory _Response._() { throw new UnsupportedError("Not supported"); } |
@DomName('Response.Response') |
@DocsEditable() |
- factory _Response(body, [Map responseInitDict]) { |
- if ((body is String || body == null) && responseInitDict == null) { |
- return _blink.BlinkResponse.instance.constructorCallback_1_(body); |
+ factory _Response(body_OR_input, [Map requestInitDict_OR_responseInitDict]) { |
+ if ((body_OR_input is String || body_OR_input == null) && requestInitDict_OR_responseInitDict == null) { |
+ return _blink.BlinkResponse.instance.constructorCallback_1_(body_OR_input); |
+ } |
+ if ((requestInitDict_OR_responseInitDict is Map || requestInitDict_OR_responseInitDict == null) && (body_OR_input is String || body_OR_input == null)) { |
+ return _blink.BlinkResponse.instance.constructorCallback_2_(body_OR_input, requestInitDict_OR_responseInitDict); |
+ } |
+ if ((body_OR_input is Blob || body_OR_input == null) && requestInitDict_OR_responseInitDict == null) { |
+ return _blink.BlinkResponse.instance.constructorCallback_1_(body_OR_input); |
+ } |
+ if ((requestInitDict_OR_responseInitDict is Map || requestInitDict_OR_responseInitDict == null) && (body_OR_input is Blob || body_OR_input == null)) { |
+ return _blink.BlinkResponse.instance.constructorCallback_2_(body_OR_input, requestInitDict_OR_responseInitDict); |
+ } |
+ if ((body_OR_input is TypedData || body_OR_input == null) && requestInitDict_OR_responseInitDict == null) { |
+ return _blink.BlinkResponse.instance.constructorCallback_1_(body_OR_input); |
} |
- if ((responseInitDict is Map || responseInitDict == null) && (body is String || body == null)) { |
- return _blink.BlinkResponse.instance.constructorCallback_2_(body, responseInitDict); |
+ if ((requestInitDict_OR_responseInitDict is Map || requestInitDict_OR_responseInitDict == null) && (body_OR_input is TypedData || body_OR_input == null)) { |
+ return _blink.BlinkResponse.instance.constructorCallback_2_(body_OR_input, requestInitDict_OR_responseInitDict); |
} |
- if ((body is Blob || body == null) && responseInitDict == null) { |
- return _blink.BlinkResponse.instance.constructorCallback_1_(body); |
+ if ((body_OR_input is ByteBuffer || body_OR_input == null) && requestInitDict_OR_responseInitDict == null) { |
+ return _blink.BlinkResponse.instance.constructorCallback_1_(body_OR_input); |
} |
- if ((responseInitDict is Map || responseInitDict == null) && (body is Blob || body == null)) { |
- return _blink.BlinkResponse.instance.constructorCallback_2_(body, responseInitDict); |
+ if ((requestInitDict_OR_responseInitDict is Map || requestInitDict_OR_responseInitDict == null) && (body_OR_input is ByteBuffer || body_OR_input == null)) { |
+ return _blink.BlinkResponse.instance.constructorCallback_2_(body_OR_input, requestInitDict_OR_responseInitDict); |
} |
throw new ArgumentError("Incorrect number or type of arguments"); |
} |