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

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

Issue 952133004: Changes to support roll 39 IDLs (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Cleanup Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
Download patch
« no previous file with comments | « no previous file | sdk/lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/html/dart2js/html_dart2js.dart
diff --git a/sdk/lib/html/dart2js/html_dart2js.dart b/sdk/lib/html/dart2js/html_dart2js.dart
index 2e8b1198ea21247bec6003f9c9fb9e03808ba845..1179538bda1ee48c2eca27867a7330cae67d9150 100644
--- a/sdk/lib/html/dart2js/html_dart2js.dart
+++ b/sdk/lib/html/dart2js/html_dart2js.dart
@@ -390,15 +390,10 @@ class AnimationPlayer extends EventTarget {
@Experimental() // untriaged
num currentTime;
- @DomName('AnimationPlayer.finished')
+ @DomName('AnimationPlayer.playState')
@DocsEditable()
@Experimental() // untriaged
- final bool finished;
-
- @DomName('AnimationPlayer.paused')
- @DocsEditable()
- @Experimental() // untriaged
- final bool paused;
+ final String playState;
@DomName('AnimationPlayer.playbackRate')
@DocsEditable()
@@ -1105,6 +1100,44 @@ class Blob extends Interceptor {
@DocsEditable()
+@DomName('Body')
+@Experimental() // untriaged
+@Native("Body")
+class Body extends Interceptor {
+ // To suppress missing implicit constructor warnings.
+ factory Body._() { throw new UnsupportedError("Not supported"); }
+
+ @DomName('Body.bodyUsed')
+ @DocsEditable()
+ @Experimental() // untriaged
+ final bool bodyUsed;
+
+ @DomName('Body.arrayBuffer')
+ @DocsEditable()
+ @Experimental() // untriaged
+ Future arrayBuffer() native;
+
+ @DomName('Body.blob')
+ @DocsEditable()
+ @Experimental() // untriaged
+ Future blob() native;
+
+ @DomName('Body.json')
+ @DocsEditable()
+ @Experimental() // untriaged
+ Future json() native;
+
+ @DomName('Body.text')
+ @DocsEditable()
+ @Experimental() // untriaged
+ Future 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('HTMLBodyElement')
@Native("HTMLBodyElement")
class BodyElement extends HtmlElement implements WindowEventHandlers {
@@ -1745,6 +1778,11 @@ class CanvasGradient extends Interceptor {
class CanvasPattern extends Interceptor {
// To suppress missing implicit constructor warnings.
factory CanvasPattern._() { 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
// for details. All rights reserved. Use of this source code is governed by a
@@ -1771,6 +1809,11 @@ class CanvasRenderingContext2D extends Interceptor implements CanvasRenderingCon
@Experimental() // untriaged
Matrix currentTransform;
+ @DomName('CanvasRenderingContext2D.direction')
+ @DocsEditable()
+ @Experimental() // untriaged
+ String direction;
+
@DomName('CanvasRenderingContext2D.fillStyle')
@DocsEditable()
@Creates('String|CanvasGradient|CanvasPattern')
@@ -2468,41 +2511,41 @@ abstract class ChildNode extends Interceptor {
@DocsEditable()
-@DomName('CircularRegion')
+@DomName('CircularGeofencingRegion')
@Experimental() // untriaged
-@Native("CircularRegion")
-class CircularRegion extends GeofencingRegion {
+@Native("CircularGeofencingRegion")
+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 CircularRegion._create_1(init);
+ factory CircularGeofencingRegion(Map init) {
+ return CircularGeofencingRegion._create_1(init);
}
- static CircularRegion _create_1(init) => JS('CircularRegion', 'new CircularRegion(#)', init);
+ static CircularGeofencingRegion _create_1(init) => JS('CircularGeofencingRegion', 'new CircularGeofencingRegion(#)', 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
final double latitude;
- @DomName('CircularRegion.longitude')
+ @DomName('CircularGeofencingRegion.longitude')
@DocsEditable()
@Experimental() // untriaged
final double longitude;
- @DomName('CircularRegion.radius')
+ @DomName('CircularGeofencingRegion.radius')
@DocsEditable()
@Experimental() // untriaged
final double radius;
@@ -2848,12 +2891,12 @@ class CredentialsContainer extends Interceptor {
@DomName('CredentialsContainer.notifyFailedSignIn')
@DocsEditable()
@Experimental() // untriaged
- Future notifyFailedSignIn([Credential credential]) native;
+ Future notifyFailedSignIn(Credential credential) native;
@DomName('CredentialsContainer.notifySignedIn')
@DocsEditable()
@Experimental() // untriaged
- Future notifySignedIn([Credential credential]) native;
+ Future notifySignedIn(Credential credential) native;
@DomName('CredentialsContainer.notifySignedOut')
@DocsEditable()
@@ -6907,7 +6950,7 @@ class DataTransferItemList extends Interceptor {
@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.
@@ -7827,6 +7870,11 @@ class Document extends Node
@DocsEditable()
String queryCommandValue(String command) native;
+ @DomName('Document.transformDocumentToTreeView')
+ @DocsEditable()
+ @Experimental() // untriaged
+ void transformDocumentToTreeView(String noStyleMessage) native;
+
@JSName('webkitExitFullscreen')
@DomName('Document.webkitExitFullscreen')
@DocsEditable()
@@ -8614,6 +8662,24 @@ class DomImplementation extends Interceptor {
@DocsEditable()
+@DomName('Iterator')
+@Experimental() // untriaged
+@Native("Iterator")
+class DomIterator extends Interceptor {
+ // To suppress missing implicit constructor warnings.
+ factory DomIterator._() { 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")
@@ -8788,6 +8854,36 @@ class DomMatrix extends DomMatrixReadOnly {
void set m44(num value) {
JS("void", "#.m44 = #", this, value);
}
+
+ @DomName('DOMMatrix.multiplySelf')
+ @DocsEditable()
+ @Experimental() // untriaged
+ DomMatrix multiplySelf(DomMatrix other) native;
+
+ @DomName('DOMMatrix.preMultiplySelf')
+ @DocsEditable()
+ @Experimental() // untriaged
+ DomMatrix preMultiplySelf(DomMatrix other) native;
+
+ @DomName('DOMMatrix.scale3dSelf')
+ @DocsEditable()
+ @Experimental() // untriaged
+ DomMatrix scale3dSelf(num scale, [num ox, num oy, num oz]) native;
+
+ @DomName('DOMMatrix.scaleNonUniformSelf')
+ @DocsEditable()
+ @Experimental() // untriaged
+ DomMatrix scaleNonUniformSelf(num sx, [num sy, num sz, num ox, num oy, num oz]) native;
+
+ @DomName('DOMMatrix.scaleSelf')
+ @DocsEditable()
+ @Experimental() // untriaged
+ DomMatrix scaleSelf(num scale, [num ox, num oy]) 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
@@ -8921,6 +9017,41 @@ class DomMatrixReadOnly extends Interceptor {
@DocsEditable()
@Experimental() // untriaged
final double m44;
+
+ @DomName('DOMMatrixReadOnly.multiply')
+ @DocsEditable()
+ @Experimental() // untriaged
+ DomMatrix multiply(DomMatrix other) native;
+
+ @DomName('DOMMatrixReadOnly.scale')
+ @DocsEditable()
+ @Experimental() // untriaged
+ DomMatrix scale(num scale, [num ox, num oy]) native;
+
+ @DomName('DOMMatrixReadOnly.scale3d')
+ @DocsEditable()
+ @Experimental() // untriaged
+ DomMatrix scale3d(num scale, [num ox, num oy, num oz]) native;
+
+ @DomName('DOMMatrixReadOnly.scaleNonUniform')
+ @DocsEditable()
+ @Experimental() // untriaged
+ DomMatrix scaleNonUniform(num sx, [num sy, num sz, num ox, num oy, num oz]) native;
+
+ @DomName('DOMMatrixReadOnly.toFloat32Array')
+ @DocsEditable()
+ @Experimental() // untriaged
+ Float32List toFloat32Array() native;
+
+ @DomName('DOMMatrixReadOnly.toFloat64Array')
+ @DocsEditable()
+ @Experimental() // untriaged
+ Float64List toFloat64Array() 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
@@ -12334,6 +12465,11 @@ abstract class Element extends Node implements GlobalEventHandlers, ParentNode,
@DocsEditable()
String contentEditable;
+ @DomName('Element.contextMenu')
+ @DocsEditable()
+ @Experimental() // untriaged
+ MenuElement contextMenu;
+
@DomName('Element.dir')
@DocsEditable()
String dir;
@@ -12514,12 +12650,12 @@ abstract class Element extends Node implements GlobalEventHandlers, ParentNode,
@JSName('scrollLeft')
@DomName('Element.scrollLeft')
@DocsEditable()
- int _scrollLeft;
+ num _scrollLeft;
@JSName('scrollTop')
@DomName('Element.scrollTop')
@DocsEditable()
- int _scrollTop;
+ num _scrollTop;
@JSName('scrollWidth')
@DomName('Element.scrollWidth')
@@ -13951,24 +14087,17 @@ class EventTarget extends Interceptor {
@DocsEditable()
-@DomName('FederatedCredential')
+@DomName('ExtendableEvent')
@Experimental() // untriaged
-@Native("FederatedCredential")
-class FederatedCredential extends Credential {
+@Native("ExtendableEvent")
+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 FederatedCredential._create_1(id, name, avatarURL, federation);
- }
- static FederatedCredential _create_1(id, name, avatarURL, federation) => JS('FederatedCredential', 'new FederatedCredential(#,#,#,#)', id, name, avatarURL, federation);
-
- @DomName('FederatedCredential.federation')
+ @DomName('ExtendableEvent.waitUntil')
@DocsEditable()
@Experimental() // untriaged
- final String federation;
+ void waitUntil(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
@@ -13976,33 +14105,24 @@ class FederatedCredential extends Credential {
@DocsEditable()
-@DomName('FetchBodyStream')
+@DomName('FederatedCredential')
@Experimental() // untriaged
-@Native("FetchBodyStream")
-class FetchBodyStream extends Interceptor {
+@Native("FederatedCredential")
+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() native;
-
- @DomName('FetchBodyStream.asBlob')
- @DocsEditable()
- @Experimental() // untriaged
- Future asBlob() native;
+ factory FederatedCredential._() { throw new UnsupportedError("Not supported"); }
- @JSName('asJSON')
- @DomName('FetchBodyStream.asJSON')
+ @DomName('FederatedCredential.FederatedCredential')
@DocsEditable()
- @Experimental() // untriaged
- Future asJson() native;
+ factory FederatedCredential(String id, String name, String avatarURL, String federation) {
+ return FederatedCredential._create_1(id, name, avatarURL, federation);
+ }
+ static FederatedCredential _create_1(id, name, avatarURL, federation) => JS('FederatedCredential', 'new FederatedCredential(#,#,#,#)', id, name, avatarURL, federation);
- @DomName('FetchBodyStream.asText')
+ @DomName('FederatedCredential.federation')
@DocsEditable()
@Experimental() // untriaged
- Future asText() native;
+ final String federation;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -14840,7 +14960,7 @@ class FontFaceSet extends EventTarget {
@DomName('FontFaceSet.check')
@DocsEditable()
@Experimental() // untriaged
- bool check(String font, String text) native;
+ bool check(String font, [String text]) native;
@DomName('FontFaceSet.clear')
@DocsEditable()
@@ -18510,7 +18630,7 @@ class InputMethodContext extends EventTarget {
@DomName('InstallEvent')
@Experimental() // untriaged
@Native("InstallEvent")
-class InstallEvent extends InstallPhaseEvent {
+class InstallEvent extends ExtendableEvent {
// To suppress missing implicit constructor warnings.
factory InstallEvent._() { throw new UnsupportedError("Not supported"); }
@@ -18529,24 +18649,6 @@ class InstallEvent extends InstallPhaseEvent {
// BSD-style license that can be found in the LICENSE file.
-@DocsEditable()
-@DomName('InstallPhaseEvent')
-@Experimental() // untriaged
-@Native("InstallPhaseEvent")
-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) 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.
-
-
/**
* An event that describes user interaction with the keyboard.
*
@@ -19477,7 +19579,7 @@ class MediaElement extends HtmlElement {
@DomName('HTMLMediaElement.setMediaKeys')
@DocsEditable()
@Experimental() // untriaged
- void setMediaKeys(MediaKeys mediaKeys) native;
+ Future setMediaKeys(MediaKeys mediaKeys) native;
@JSName('webkitAddKey')
@DomName('HTMLMediaElement.webkitAddKey')
@@ -19740,6 +19842,11 @@ class MediaKeySession extends EventTarget {
@DocsEditable()
final String sessionId;
+ @DomName('MediaKeySession.generateRequest')
+ @DocsEditable()
+ @Experimental() // untriaged
+ Future generateRequest(String initDataType, initData) native;
+
@DomName('MediaKeySession.release')
@DocsEditable()
@Experimental() // untriaged
@@ -19776,7 +19883,7 @@ class MediaKeys extends Interceptor {
@JSName('createSession')
@DomName('MediaKeys.createSession')
@DocsEditable()
- Future _createSession(String initDataType, initData, [String sessionType]) native;
+ MediaKeySession _createSession([String sessionType]) native;
@DomName('MediaKeys.isTypeSupported')
@DocsEditable()
@@ -19825,10 +19932,15 @@ class MediaList extends Interceptor {
@DomName('MediaQueryList')
@Unstable()
@Native("MediaQueryList")
-class MediaQueryList extends Interceptor {
+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()
final bool matches;
@@ -19836,6 +19948,42 @@ class MediaQueryList extends Interceptor {
@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<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.
+
+
+@DocsEditable()
+@DomName('MediaQueryListEvent')
+@Experimental() // untriaged
+@Native("MediaQueryListEvent")
+class MediaQueryListEvent extends Event {
+ // To suppress missing implicit constructor warnings.
+ factory MediaQueryListEvent._() { throw new UnsupportedError("Not supported"); }
+
+ @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
@@ -20622,18 +20770,18 @@ class MidiAccess extends EventTarget {
@DocsEditable()
static const EventStreamProvider<MidiConnectionEvent> disconnectEvent = const EventStreamProvider<MidiConnectionEvent>('disconnect');
- @DomName('MIDIAccess.sysexEnabled')
- @DocsEditable()
- @Experimental() // untriaged
- final bool sysexEnabled;
-
@DomName('MIDIAccess.inputs')
@DocsEditable()
- List<MidiInput> inputs() native;
+ final MidiInputMap inputs;
@DomName('MIDIAccess.outputs')
@DocsEditable()
- List<MidiOutput> outputs() native;
+ final MidiOutputMap outputs;
+
+ @DomName('MIDIAccess.sysexEnabled')
+ @DocsEditable()
+ @Experimental() // untriaged
+ final bool sysexEnabled;
/// Stream of `connect` events handled by this [MidiAccess].
@DomName('MIDIAccess.onconnect')
@@ -20698,6 +20846,49 @@ class MidiInput extends MidiPort {
@DocsEditable()
+@DomName('MIDIInputMap')
+@Experimental() // untriaged
+@Native("MIDIInputMap")
+class MidiInputMap extends Interceptor {
+ // To suppress missing implicit constructor warnings.
+ factory MidiInputMap._() { throw new UnsupportedError("Not supported"); }
+
+ @DomName('MIDIInputMap.size')
+ @DocsEditable()
+ @Experimental() // untriaged
+ final int size;
+
+ @DomName('MIDIInputMap.entries')
+ @DocsEditable()
+ @Experimental() // untriaged
+ DomIterator entries() native;
+
+ @DomName('MIDIInputMap.get')
+ @DocsEditable()
+ @Experimental() // untriaged
+ Object get(String id) native;
+
+ @DomName('MIDIInputMap.has')
+ @DocsEditable()
+ @Experimental() // untriaged
+ bool has(String key) native;
+
+ @DomName('MIDIInputMap.keys')
+ @DocsEditable()
+ @Experimental() // untriaged
+ DomIterator keys() native;
+
+ @DomName('MIDIInputMap.values')
+ @DocsEditable()
+ @Experimental() // untriaged
+ DomIterator values() 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('MIDIMessageEvent')
// http://webaudio.github.io/web-midi-api/#midimessageevent-interface
@Experimental()
@@ -20738,6 +20929,49 @@ class MidiOutput extends MidiPort {
@DocsEditable()
+@DomName('MIDIOutputMap')
+@Experimental() // untriaged
+@Native("MIDIOutputMap")
+class MidiOutputMap extends Interceptor {
+ // To suppress missing implicit constructor warnings.
+ factory MidiOutputMap._() { throw new UnsupportedError("Not supported"); }
+
+ @DomName('MIDIOutputMap.size')
+ @DocsEditable()
+ @Experimental() // untriaged
+ final int size;
+
+ @DomName('MIDIOutputMap.entries')
+ @DocsEditable()
+ @Experimental() // untriaged
+ DomIterator entries() native;
+
+ @DomName('MIDIOutputMap.get')
+ @DocsEditable()
+ @Experimental() // untriaged
+ Object get(String id) native;
+
+ @DomName('MIDIOutputMap.has')
+ @DocsEditable()
+ @Experimental() // untriaged
+ bool has(String key) native;
+
+ @DomName('MIDIOutputMap.keys')
+ @DocsEditable()
+ @Experimental() // untriaged
+ DomIterator keys() native;
+
+ @DomName('MIDIOutputMap.values')
+ @DocsEditable()
+ @Experimental() // untriaged
+ DomIterator values() 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('MIDIPort')
// http://webaudio.github.io/web-midi-api/#idl-def-MIDIPort
@Experimental()
@@ -21395,6 +21629,11 @@ class Navigator extends Interceptor implements NavigatorCpu, NavigatorLanguage,
@Experimental() // nonstandard
final MimeTypeArray mimeTypes;
+ @DomName('Navigator.presentation')
+ @DocsEditable()
+ @Experimental() // untriaged
+ final Presentation presentation;
+
@DomName('Navigator.productSub')
@DocsEditable()
@Unstable()
@@ -23627,6 +23866,35 @@ class PluginArray extends Interceptor with ListMixin<Plugin>, ImmutableListMixin
@DocsEditable()
+@DomName('PluginPlaceholderElement')
+@Experimental() // untriaged
+@Native("PluginPlaceholderElement")
+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 message;
+
+ @DomName('PluginPlaceholderElement.createdCallback')
+ @DocsEditable()
+ @Experimental() // untriaged
+ void createdCallback() 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)
@@ -23728,6 +23996,19 @@ class PreElement extends HtmlElement {
@DocsEditable()
+@DomName('Presentation')
+@Experimental() // untriaged
+@Native("Presentation")
+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.
+
+
+@DocsEditable()
@DomName('ProcessingInstruction')
@Unstable()
@Native("ProcessingInstruction")
@@ -24024,6 +24305,11 @@ class Range extends Interceptor {
@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 refNode, int offset) native;
@@ -24126,6 +24412,31 @@ class Range extends Interceptor {
class ReadableStream extends Interceptor {
// To suppress missing implicit constructor warnings.
factory ReadableStream._() { throw new UnsupportedError("Not supported"); }
+
+ @DomName('ReadableStream.closed')
+ @DocsEditable()
+ @Experimental() // untriaged
+ final Future closed;
+
+ @DomName('ReadableStream.state')
+ @DocsEditable()
+ @Experimental() // untriaged
+ final String state;
+
+ @DomName('ReadableStream.cancel')
+ @DocsEditable()
+ @Experimental() // untriaged
+ Future cancel(Object reason) native;
+
+ @DomName('ReadableStream.read')
+ @DocsEditable()
+ @Experimental() // untriaged
+ Object read() native;
+
+ @DomName('ReadableStream.wait')
+ @DocsEditable()
+ @Experimental() // untriaged
+ Future wait() 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
@@ -25454,10 +25765,26 @@ class ServiceWorkerClients extends Interceptor {
// To suppress missing implicit constructor warnings.
factory ServiceWorkerClients._() { throw new UnsupportedError("Not supported"); }
- @DomName('ServiceWorkerClients.getServiced')
+ @DomName('ServiceWorkerClients.getAll')
+ @DocsEditable()
+ @Experimental() // untriaged
+ Future getAll([Map options]) {
+ if (options != null) {
+ var options_1 = convertDartToNative_Dictionary(options);
+ return _getAll_1(options_1);
+ }
+ return _getAll_2();
+ }
+ @JSName('getAll')
+ @DomName('ServiceWorkerClients.getAll')
+ @DocsEditable()
+ @Experimental() // untriaged
+ Future _getAll_1(options) native;
+ @JSName('getAll')
+ @DomName('ServiceWorkerClients.getAll')
@DocsEditable()
@Experimental() // untriaged
- Future getServiced() native;
+ Future _getAll_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
@@ -25472,30 +25799,20 @@ class ServiceWorkerContainer extends Interceptor {
// To suppress missing implicit constructor warnings.
factory ServiceWorkerContainer._() { throw new UnsupportedError("Not supported"); }
- @DomName('ServiceWorkerContainer.active')
- @DocsEditable()
- @Experimental() // untriaged
- final _ServiceWorker active;
-
@DomName('ServiceWorkerContainer.controller')
@DocsEditable()
@Experimental() // untriaged
final _ServiceWorker controller;
- @DomName('ServiceWorkerContainer.installing')
- @DocsEditable()
- @Experimental() // untriaged
- final _ServiceWorker installing;
-
@DomName('ServiceWorkerContainer.ready')
@DocsEditable()
@Experimental() // untriaged
final Future ready;
- @DomName('ServiceWorkerContainer.waiting')
+ @DomName('ServiceWorkerContainer.getRegistration')
@DocsEditable()
@Experimental() // untriaged
- final _ServiceWorker waiting;
+ Future getRegistration([String documentURL]) native;
@DomName('ServiceWorkerContainer.register')
@DocsEditable()
@@ -25517,11 +25834,6 @@ class ServiceWorkerContainer extends Interceptor {
@DocsEditable()
@Experimental() // untriaged
Future _register_2(url) native;
-
- @DomName('ServiceWorkerContainer.unregister')
- @DocsEditable()
- @Experimental() // untriaged
- Future unregister([String scope]) 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
@@ -25541,15 +25853,15 @@ class ServiceWorkerGlobalScope extends WorkerGlobalScope {
@Experimental() // untriaged
static const EventStreamProvider<MessageEvent> messageEvent = const EventStreamProvider<MessageEvent>('message');
- @DomName('ServiceWorkerGlobalScope.clients')
+ @DomName('ServiceWorkerGlobalScope.caches')
@DocsEditable()
@Experimental() // untriaged
- final ServiceWorkerClients clients;
+ final CacheStorage caches;
- @DomName('ServiceWorkerGlobalScope.nativeCaches')
+ @DomName('ServiceWorkerGlobalScope.clients')
@DocsEditable()
@Experimental() // untriaged
- final CacheStorage nativeCaches;
+ final ServiceWorkerClients clients;
@DomName('ServiceWorkerGlobalScope.scope')
@DocsEditable()
@@ -30159,7 +30471,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"); }
@@ -31098,14 +31410,26 @@ class Window extends EventTarget implements WindowEventHandlers, WindowBase, Glo
*/
@DomName('Window.scroll')
@DocsEditable()
- 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) {
+ _scroll_1(x, y);
+ return;
+ }
+ if (scrollOptions != null && (y is num) && (x is num)) {
var scrollOptions_1 = convertDartToNative_Dictionary(scrollOptions);
- _scroll_1(x, y, scrollOptions_1);
+ _scroll_2(x, y, scrollOptions_1);
return;
}
- _scroll_2(x, y);
- return;
+ if ((y is int) && (x is int) && scrollOptions == null) {
+ _scroll_3(x, y);
+ return;
+ }
+ if (scrollOptions != null && (y is int) && (x is int)) {
+ var scrollOptions_2 = convertDartToNative_Dictionary(scrollOptions);
+ _scroll_4(x, y, scrollOptions_2);
+ return;
+ }
+ throw new ArgumentError("Incorrect number or type of arguments");
}
@JSName('scroll')
/**
@@ -31120,7 +31444,21 @@ class Window extends EventTarget implements WindowEventHandlers, WindowBase, Glo
*/
@DomName('Window.scroll')
@DocsEditable()
- void _scroll_1(x, y, scrollOptions) native;
+ void _scroll_1(num x, num y) native;
+ @JSName('scroll')
+ /**
+ * Scrolls the page horizontally and vertically to a specific point.
+ *
+ * This method is identical to [scrollTo].
+ *
+ * ## Other resources
+ *
+ * * [Window scroll] (http://docs.webplatform.org/wiki/dom/methods/scroll)
+ * from WebPlatform.org.
+ */
+ @DomName('Window.scroll')
+ @DocsEditable()
+ void _scroll_2(num x, num y, scrollOptions) native;
@JSName('scroll')
/**
* Scrolls the page horizontally and vertically to a specific point.
@@ -31134,7 +31472,21 @@ class Window extends EventTarget implements WindowEventHandlers, WindowBase, Glo
*/
@DomName('Window.scroll')
@DocsEditable()
- void _scroll_2(x, y) native;
+ void _scroll_3(int x, int y) native;
+ @JSName('scroll')
+ /**
+ * Scrolls the page horizontally and vertically to a specific point.
+ *
+ * This method is identical to [scrollTo].
+ *
+ * ## Other resources
+ *
+ * * [Window scroll] (http://docs.webplatform.org/wiki/dom/methods/scroll)
+ * from WebPlatform.org.
+ */
+ @DomName('Window.scroll')
+ @DocsEditable()
+ void _scroll_4(int x, int y, scrollOptions) native;
/**
* Scrolls the page horizontally and vertically by an offset.
@@ -31146,14 +31498,26 @@ class Window extends EventTarget implements WindowEventHandlers, WindowBase, Glo
*/
@DomName('Window.scrollBy')
@DocsEditable()
- 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) {
+ _scrollBy_1(x, y);
+ return;
+ }
+ if (scrollOptions != null && (y is num) && (x is num)) {
var scrollOptions_1 = convertDartToNative_Dictionary(scrollOptions);
- _scrollBy_1(x, y, scrollOptions_1);
+ _scrollBy_2(x, y, scrollOptions_1);
return;
}
- _scrollBy_2(x, y);
- return;
+ if ((y is int) && (x is int) && scrollOptions == null) {
+ _scrollBy_3(x, y);
+ return;
+ }
+ if (scrollOptions != null && (y is int) && (x is int)) {
+ var scrollOptions_2 = convertDartToNative_Dictionary(scrollOptions);
+ _scrollBy_4(x, y, scrollOptions_2);
+ return;
+ }
+ throw new ArgumentError("Incorrect number or type of arguments");
}
@JSName('scrollBy')
/**
@@ -31166,7 +31530,19 @@ class Window extends EventTarget implements WindowEventHandlers, WindowBase, Glo
*/
@DomName('Window.scrollBy')
@DocsEditable()
- void _scrollBy_1(x, y, scrollOptions) native;
+ void _scrollBy_1(num x, num y) native;
+ @JSName('scrollBy')
+ /**
+ * Scrolls the page horizontally and vertically by an offset.
+ *
+ * ## Other resources
+ *
+ * * [Window scrollBy] (http://docs.webplatform.org/wiki/dom/methods/scrollBy)
+ * from WebPlatform.org.
+ */
+ @DomName('Window.scrollBy')
+ @DocsEditable()
+ void _scrollBy_2(num x, num y, scrollOptions) native;
@JSName('scrollBy')
/**
* Scrolls the page horizontally and vertically by an offset.
@@ -31178,7 +31554,19 @@ class Window extends EventTarget implements WindowEventHandlers, WindowBase, Glo
*/
@DomName('Window.scrollBy')
@DocsEditable()
- void _scrollBy_2(x, y) native;
+ void _scrollBy_3(int x, int y) native;
+ @JSName('scrollBy')
+ /**
+ * Scrolls the page horizontally and vertically by an offset.
+ *
+ * ## Other resources
+ *
+ * * [Window scrollBy] (http://docs.webplatform.org/wiki/dom/methods/scrollBy)
+ * from WebPlatform.org.
+ */
+ @DomName('Window.scrollBy')
+ @DocsEditable()
+ void _scrollBy_4(int x, int y, scrollOptions) native;
/**
* Scrolls the page horizontally and vertically to a specific point.
@@ -31192,14 +31580,26 @@ class Window extends EventTarget implements WindowEventHandlers, WindowBase, Glo
*/
@DomName('Window.scrollTo')
@DocsEditable()
- 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) {
+ _scrollTo_1(x, y);
+ return;
+ }
+ if (scrollOptions != null && (y is num) && (x is num)) {
var scrollOptions_1 = convertDartToNative_Dictionary(scrollOptions);
- _scrollTo_1(x, y, scrollOptions_1);
+ _scrollTo_2(x, y, scrollOptions_1);
return;
}
- _scrollTo_2(x, y);
- return;
+ if ((y is int) && (x is int) && scrollOptions == null) {
+ _scrollTo_3(x, y);
+ return;
+ }
+ if (scrollOptions != null && (y is int) && (x is int)) {
+ var scrollOptions_2 = convertDartToNative_Dictionary(scrollOptions);
+ _scrollTo_4(x, y, scrollOptions_2);
+ return;
+ }
+ throw new ArgumentError("Incorrect number or type of arguments");
}
@JSName('scrollTo')
/**
@@ -31214,7 +31614,35 @@ class Window extends EventTarget implements WindowEventHandlers, WindowBase, Glo
*/
@DomName('Window.scrollTo')
@DocsEditable()
- void _scrollTo_1(x, y, scrollOptions) native;
+ void _scrollTo_1(num x, num y) native;
+ @JSName('scrollTo')
+ /**
+ * Scrolls the page horizontally and vertically to a specific point.
+ *
+ * This method is identical to [scroll].
+ *
+ * ## Other resources
+ *
+ * * [Window scrollTo] (http://docs.webplatform.org/wiki/dom/methods/scrollTo)
+ * from WebPlatform.org.
+ */
+ @DomName('Window.scrollTo')
+ @DocsEditable()
+ void _scrollTo_2(num x, num y, scrollOptions) native;
+ @JSName('scrollTo')
+ /**
+ * Scrolls the page horizontally and vertically to a specific point.
+ *
+ * This method is identical to [scroll].
+ *
+ * ## Other resources
+ *
+ * * [Window scrollTo] (http://docs.webplatform.org/wiki/dom/methods/scrollTo)
+ * from WebPlatform.org.
+ */
+ @DomName('Window.scrollTo')
+ @DocsEditable()
+ void _scrollTo_3(int x, int y) native;
@JSName('scrollTo')
/**
* Scrolls the page horizontally and vertically to a specific point.
@@ -31228,7 +31656,7 @@ class Window extends EventTarget implements WindowEventHandlers, WindowBase, Glo
*/
@DomName('Window.scrollTo')
@DocsEditable()
- void _scrollTo_2(x, y) native;
+ void _scrollTo_4(int x, int y, scrollOptions) native;
/**
* Opens a new page as a modal dialog.
@@ -32104,16 +32532,6 @@ class WorkerGlobalScope extends EventTarget implements _WindowTimers, WindowBase
@Experimental() // untriaged
void importScripts(String urls) native;
- @DomName('WorkerGlobalScope.openDatabase')
- @DocsEditable()
- @Experimental() // untriaged
- SqlDatabase openDatabase(String name, String version, String displayName, int estimatedSize, [DatabaseCallback creationCallback]) native;
-
- @DomName('WorkerGlobalScope.openDatabaseSync')
- @DocsEditable()
- @Experimental() // untriaged
- _DatabaseSync openDatabaseSync(String name, String version, String displayName, int estimatedSize, [DatabaseCallback creationCallback]) native;
-
@JSName('webkitRequestFileSystem')
@DomName('WorkerGlobalScope.webkitRequestFileSystem')
@DocsEditable()
@@ -32986,23 +33404,6 @@ abstract class _DOMFileSystemSync extends Interceptor {
@DocsEditable()
-@DomName('DatabaseSync')
-@SupportedBrowser(SupportedBrowser.CHROME)
-@SupportedBrowser(SupportedBrowser.SAFARI)
-@Experimental()
-// http://www.w3.org/TR/webdatabase/#databasesync
-@deprecated // deprecated
-@Native("DatabaseSync")
-abstract class _DatabaseSync extends Interceptor {
- // 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.
-
-
-@DocsEditable()
@DomName('DirectoryEntrySync')
// http://www.w3.org/TR/file-system-api/#the-directoryentrysync-interface
@Experimental()
@@ -33047,41 +33448,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
-@Native("WebKitPoint")
-class _DomPoint extends Interceptor {
- // To suppress missing implicit constructor warnings.
- factory _DomPoint._() { throw new UnsupportedError("Not supported"); }
-
- @DomName('WebKitPoint.WebKitPoint')
- @DocsEditable()
- factory _DomPoint(num x, num y) {
- return _DomPoint._create_1(x, y);
- }
- static _DomPoint _create_1(x, y) => JS('_DomPoint', 'new WebKitPoint(#,#)', x, y);
-
- /// Checks if this type is supported on the current platform.
- static bool get supported => JS('bool', '!!(window.WebKitPoint)');
-
- @DomName('WebKitPoint.x')
- @DocsEditable()
- num x;
-
- @DomName('WebKitPoint.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('DOMRect')
@Experimental() // untriaged
@Native("DOMRect")
@@ -33531,20 +33897,6 @@ class _NamedNodeMap extends Interceptor with ListMixin<Node>, ImmutableListMixin
@DocsEditable()
-@DomName('Notation')
-// http://dom.spec.whatwg.org/#notation
-@deprecated // deprecated
-@Native("Notation")
-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.
-
-
-@DocsEditable()
@DomName('PagePopupController')
@deprecated // nonstandard
@Native("PagePopupController")
@@ -33598,7 +33950,7 @@ abstract class _Rect extends Interceptor {
@DomName('Request')
@Experimental() // untriaged
@Native("Request")
-class _Request extends Interceptor {
+class _Request extends Body {
// To suppress missing implicit constructor warnings.
factory _Request._() { throw new UnsupportedError("Not supported"); }
@@ -33648,6 +34000,11 @@ class _Request extends Interceptor {
@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
@@ -33658,31 +34015,47 @@ class _Request extends Interceptor {
@DomName('Response')
@Experimental() // untriaged
@Native("Response")
-abstract class _Response extends Interceptor {
+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 _Response._create_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 _Response._create_1(body_OR_input);
+ }
+ if ((requestInitDict_OR_responseInitDict is Map || requestInitDict_OR_responseInitDict == null) && (body_OR_input is String || body_OR_input == null)) {
+ return _Response._create_2(body_OR_input, requestInitDict_OR_responseInitDict);
+ }
+ if ((body_OR_input is Blob || body_OR_input == null) && requestInitDict_OR_responseInitDict == null) {
+ return _Response._create_3(body_OR_input);
+ }
+ if ((requestInitDict_OR_responseInitDict is Map || requestInitDict_OR_responseInitDict == null) && (body_OR_input is Blob || body_OR_input == null)) {
+ return _Response._create_4(body_OR_input, requestInitDict_OR_responseInitDict);
+ }
+ if ((body_OR_input is TypedData || body_OR_input == null) && requestInitDict_OR_responseInitDict == null) {
+ return _Response._create_5(body_OR_input);
}
- if ((responseInitDict is Map || responseInitDict == null) && (body is String || body == null)) {
- return _Response._create_2(body, responseInitDict);
+ if ((requestInitDict_OR_responseInitDict is Map || requestInitDict_OR_responseInitDict == null) && (body_OR_input is TypedData || body_OR_input == null)) {
+ return _Response._create_6(body_OR_input, requestInitDict_OR_responseInitDict);
}
- if ((body is Blob || body == null) && responseInitDict == null) {
- return _Response._create_3(body);
+ if ((body_OR_input is ByteBuffer || body_OR_input == null) && requestInitDict_OR_responseInitDict == null) {
+ return _Response._create_7(body_OR_input);
}
- if ((responseInitDict is Map || responseInitDict == null) && (body is Blob || body == null)) {
- return _Response._create_4(body, responseInitDict);
+ if ((requestInitDict_OR_responseInitDict is Map || requestInitDict_OR_responseInitDict == null) && (body_OR_input is ByteBuffer || body_OR_input == null)) {
+ return _Response._create_8(body_OR_input, requestInitDict_OR_responseInitDict);
}
throw new ArgumentError("Incorrect number or type of arguments");
}
- static _Response _create_1(body) => JS('_Response', 'new Response(#)', body);
- static _Response _create_2(body, responseInitDict) => JS('_Response', 'new Response(#,#)', body, responseInitDict);
- static _Response _create_3(body) => JS('_Response', 'new Response(#)', body);
- static _Response _create_4(body, responseInitDict) => JS('_Response', 'new Response(#,#)', body, responseInitDict);
+ static _Response _create_1(body_OR_input) => JS('_Response', 'new Response(#)', body_OR_input);
+ static _Response _create_2(body_OR_input, requestInitDict_OR_responseInitDict) => JS('_Response', 'new Response(#,#)', body_OR_input, requestInitDict_OR_responseInitDict);
+ static _Response _create_3(body_OR_input) => JS('_Response', 'new Response(#)', body_OR_input);
+ static _Response _create_4(body_OR_input, requestInitDict_OR_responseInitDict) => JS('_Response', 'new Response(#,#)', body_OR_input, requestInitDict_OR_responseInitDict);
+ static _Response _create_5(body_OR_input) => JS('_Response', 'new Response(#)', body_OR_input);
+ static _Response _create_6(body_OR_input, requestInitDict_OR_responseInitDict) => JS('_Response', 'new Response(#,#)', body_OR_input, requestInitDict_OR_responseInitDict);
+ static _Response _create_7(body_OR_input) => JS('_Response', 'new Response(#)', body_OR_input);
+ static _Response _create_8(body_OR_input, requestInitDict_OR_responseInitDict) => JS('_Response', 'new Response(#,#)', body_OR_input, requestInitDict_OR_responseInitDict);
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
« no previous file with comments | « no previous file | sdk/lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698