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 bf1f7e7daaba4d7a2e2d1ccb385f00d4d8f4316f..ec2657aa32ebbf37bbb3fd47be954523de7f5c94 100644 |
--- a/sdk/lib/html/dartium/html_dartium.dart |
+++ b/sdk/lib/html/dartium/html_dartium.dart |
@@ -124,6 +124,7 @@ final htmlBlinkMap = { |
'JsFunction': () => js.JsFunction, |
'JsArray': () => js.JsArray, |
'AbstractWorker': () => AbstractWorker, |
+ 'AesKeyAlgorithm': () => AesKeyAlgorithm, |
'Animation': () => Animation, |
'AnimationEffect': () => AnimationEffect, |
'AnimationNode': () => AnimationNode, |
@@ -143,6 +144,7 @@ final htmlBlinkMap = { |
'CDATASection': () => CDataSection, |
'CSS': () => Css, |
'CSSCharsetRule': () => CssCharsetRule, |
+ 'CSSFontFaceLoadEvent': () => CssFontFaceLoadEvent, |
'CSSFontFaceRule': () => CssFontFaceRule, |
'CSSImportRule': () => CssImportRule, |
'CSSKeyframeRule': () => CssKeyframeRule, |
@@ -160,8 +162,6 @@ final htmlBlinkMap = { |
'CSSValue': () => _CSSValue, |
'CSSValueList': () => _CssValueList, |
'CSSViewportRule': () => CssViewportRule, |
- 'Cache': () => _Cache, |
- 'CacheStorage': () => CacheStorage, |
'Canvas2DContextAttributes': () => Canvas2DContextAttributes, |
'CanvasGradient': () => CanvasGradient, |
'CanvasPathMethods': () => _CanvasPathMethods, |
@@ -169,7 +169,7 @@ final htmlBlinkMap = { |
'CanvasRenderingContext2D': () => CanvasRenderingContext2D, |
'CharacterData': () => CharacterData, |
'ChildNode': () => ChildNode, |
- 'CircularRegion': () => CircularRegion, |
+ 'Client': () => Client, |
'ClientRect': () => _ClientRect, |
'ClientRectList': () => _ClientRectList, |
'CloseEvent': () => CloseEvent, |
@@ -179,23 +179,14 @@ final htmlBlinkMap = { |
'ConsoleBase': () => ConsoleBase, |
'Coordinates': () => Coordinates, |
'Counter': () => _Counter, |
- 'Credential': () => Credential, |
- 'CredentialsContainer': () => CredentialsContainer, |
'Crypto': () => Crypto, |
- 'CryptoKey': () => CryptoKey, |
'CustomEvent': () => CustomEvent, |
'DOMError': () => DomError, |
'DOMException': () => DomException, |
'DOMFileSystem': () => FileSystem, |
'DOMFileSystemSync': () => _DOMFileSystemSync, |
'DOMImplementation': () => DomImplementation, |
- 'DOMMatrix': () => DomMatrix, |
- 'DOMMatrixReadOnly': () => DomMatrixReadOnly, |
'DOMParser': () => DomParser, |
- 'DOMPoint': () => DomPoint, |
- 'DOMPointReadOnly': () => DomPointReadOnly, |
- 'DOMRect': () => _DomRect, |
- 'DOMRectReadOnly': () => DomRectReadOnly, |
'DOMSettableTokenList': () => DomSettableTokenList, |
'DOMStringList': () => DomStringList, |
'DOMStringMap': () => DomStringMap, |
@@ -226,8 +217,6 @@ final htmlBlinkMap = { |
'Event': () => Event, |
'EventSource': () => EventSource, |
'EventTarget': () => EventTarget, |
- 'FederatedCredential': () => FederatedCredential, |
- 'FetchBodyStream': () => FetchBodyStream, |
'FetchEvent': () => FetchEvent, |
'File': () => File, |
'FileEntry': () => FileEntry, |
@@ -241,14 +230,11 @@ final htmlBlinkMap = { |
'FocusEvent': () => FocusEvent, |
'FontFace': () => FontFace, |
'FontFaceSet': () => FontFaceSet, |
- 'FontFaceSetLoadEvent': () => FontFaceSetLoadEvent, |
'FormData': () => FormData, |
'Gamepad': () => Gamepad, |
'GamepadButton': () => GamepadButton, |
'GamepadEvent': () => GamepadEvent, |
'GamepadList': () => _GamepadList, |
- 'Geofencing': () => Geofencing, |
- 'GeofencingRegion': () => GeofencingRegion, |
'Geolocation': () => Geolocation, |
'Geoposition': () => Geoposition, |
'GlobalEventHandlers': () => GlobalEventHandlers, |
@@ -295,7 +281,6 @@ final htmlBlinkMap = { |
'HTMLMarqueeElement': () => _HTMLMarqueeElement, |
'HTMLMediaElement': () => MediaElement, |
'HTMLMenuElement': () => MenuElement, |
- 'HTMLMenuItemElement': () => MenuItemElement, |
'HTMLMetaElement': () => MetaElement, |
'HTMLMeterElement': () => MeterElement, |
'HTMLModElement': () => ModElement, |
@@ -331,16 +316,18 @@ final htmlBlinkMap = { |
'HTMLUnknownElement': () => UnknownElement, |
'HTMLVideoElement': () => VideoElement, |
'HashChangeEvent': () => HashChangeEvent, |
- 'Headers': () => Headers, |
+ 'HeaderMap': () => HeaderMap, |
'History': () => History, |
+ 'HmacKeyAlgorithm': () => HmacKeyAlgorithm, |
'ImageBitmap': () => ImageBitmap, |
'ImageData': () => ImageData, |
'InjectedScriptHost': () => InjectedScriptHost, |
'InputMethodContext': () => InputMethodContext, |
'InstallEvent': () => InstallEvent, |
'InstallPhaseEvent': () => InstallPhaseEvent, |
+ 'Key': () => CryptoKey, |
+ 'KeyAlgorithm': () => KeyAlgorithm, |
'KeyboardEvent': () => KeyboardEvent, |
- 'LocalCredential': () => LocalCredential, |
'Location': () => Location, |
'MIDIAccess': () => MidiAccess, |
'MIDIConnectionEvent': () => MidiConnectionEvent, |
@@ -423,22 +410,19 @@ final htmlBlinkMap = { |
'RTCStatsResponse': () => RtcStatsResponse, |
'RadioNodeList': () => _RadioNodeList, |
'Range': () => Range, |
- 'ReadableStream': () => ReadableStream, |
'Rect': () => _Rect, |
- 'RelatedEvent': () => RelatedEvent, |
'Request': () => Request, |
'ResourceProgressEvent': () => ResourceProgressEvent, |
'Response': () => _Response, |
+ 'RsaHashedKeyAlgorithm': () => RsaHashedKeyAlgorithm, |
+ 'RsaKeyAlgorithm': () => RsaKeyAlgorithm, |
'Screen': () => Screen, |
- 'ScreenOrientation': () => ScreenOrientation, |
'SecurityPolicyViolationEvent': () => SecurityPolicyViolationEvent, |
'Selection': () => Selection, |
'ServiceWorker': () => _ServiceWorker, |
- 'ServiceWorkerClient': () => ServiceWorkerClient, |
'ServiceWorkerClients': () => ServiceWorkerClients, |
'ServiceWorkerContainer': () => ServiceWorkerContainer, |
'ServiceWorkerGlobalScope': () => ServiceWorkerGlobalScope, |
- 'ServiceWorkerRegistration': () => ServiceWorkerRegistration, |
'ShadowRoot': () => ShadowRoot, |
'SharedWorker': () => SharedWorker, |
'SharedWorkerGlobalScope': () => SharedWorkerGlobalScope, |
@@ -645,6 +629,26 @@ abstract class AbstractWorker extends NativeFieldWrapperClass2 implements EventT |
@DocsEditable() |
+@DomName('AesKeyAlgorithm') |
+@Experimental() // untriaged |
+class AesKeyAlgorithm extends KeyAlgorithm { |
+ // To suppress missing implicit constructor warnings. |
+ factory AesKeyAlgorithm._() { throw new UnsupportedError("Not supported"); } |
+ |
+ @DomName('AesKeyAlgorithm.length') |
+ @DocsEditable() |
+ @Experimental() // untriaged |
+ int get length => _blink.BlinkAesKeyAlgorithm.length_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 |
+// BSD-style license that can be found in the LICENSE file. |
+ |
+// WARNING: Do not edit - generated code. |
+ |
+ |
+@DocsEditable() |
@DomName('HTMLAnchorElement') |
class AnchorElement extends HtmlElement implements UrlUtils { |
// To suppress missing implicit constructor warnings. |
@@ -998,6 +1002,11 @@ class AnimationPlayer extends EventTarget { |
@Experimental() // untriaged |
void set startTime(num value) => _blink.BlinkAnimationPlayer.startTime_Setter_double(this, value); |
+ @DomName('AnimationPlayer.timeLag') |
+ @DocsEditable() |
+ @Experimental() // untriaged |
+ double get timeLag => _blink.BlinkAnimationPlayer.timeLag_Getter(this); |
+ |
@DomName('AnimationPlayer.cancel') |
@DocsEditable() |
@Experimental() // untriaged |
@@ -1068,11 +1077,6 @@ class AnimationTimeline extends NativeFieldWrapperClass2 { |
@Experimental() // untriaged |
double get currentTime => _blink.BlinkAnimationTimeline.currentTime_Getter(this); |
- @DomName('AnimationTimeline.getAnimationPlayers') |
- @DocsEditable() |
- @Experimental() // untriaged |
- List<AnimationPlayer> getAnimationPlayers() => _blink.BlinkAnimationTimeline.getAnimationPlayers_Callback(this); |
- |
@DomName('AnimationTimeline.play') |
@DocsEditable() |
@Experimental() // untriaged |
@@ -2144,21 +2148,6 @@ class CDataSection extends Text { |
@DocsEditable() |
-@DomName('CacheStorage') |
-@Experimental() // untriaged |
-class CacheStorage extends NativeFieldWrapperClass2 { |
- // To suppress missing implicit constructor warnings. |
- factory CacheStorage._() { 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('Canvas2DContextAttributes') |
// http://wiki.whatwg.org/wiki/CanvasOpaque#Suggested_IDL |
@Experimental() |
@@ -2630,20 +2619,10 @@ class CanvasRenderingContext2D extends NativeFieldWrapperClass2 implements Canva |
@DocsEditable() |
void set textBaseline(String value) => _blink.BlinkCanvasRenderingContext2D.textBaseline_Setter_DOMString(this, value); |
- @DomName('CanvasRenderingContext2D.addHitRegion') |
- @DocsEditable() |
- @Experimental() // untriaged |
- void addHitRegion([Map options]) => _blink.BlinkCanvasRenderingContext2D.addHitRegion_Callback_Dictionary(this, options); |
- |
@DomName('CanvasRenderingContext2D.beginPath') |
@DocsEditable() |
void beginPath() => _blink.BlinkCanvasRenderingContext2D.beginPath_Callback(this); |
- @DomName('CanvasRenderingContext2D.clearHitRegions') |
- @DocsEditable() |
- @Experimental() // untriaged |
- void clearHitRegions() => _blink.BlinkCanvasRenderingContext2D.clearHitRegions_Callback(this); |
- |
@DomName('CanvasRenderingContext2D.clearRect') |
@DocsEditable() |
void clearRect(num x, num y, num width, num height) => _blink.BlinkCanvasRenderingContext2D.clearRect_Callback_float_float_float_float(this, x, y, width, height); |
@@ -2856,11 +2835,6 @@ class CanvasRenderingContext2D extends NativeFieldWrapperClass2 implements Canva |
throw new ArgumentError("Incorrect number or type of arguments"); |
} |
- @DomName('CanvasRenderingContext2D.removeHitRegion') |
- @DocsEditable() |
- @Experimental() // untriaged |
- void removeHitRegion(String id) => _blink.BlinkCanvasRenderingContext2D.removeHitRegion_Callback_DOMString(this, id); |
- |
@DomName('CanvasRenderingContext2D.resetTransform') |
@DocsEditable() |
@Experimental() // untriaged |
@@ -3296,42 +3270,21 @@ abstract class ChildNode extends NativeFieldWrapperClass2 { |
@DocsEditable() |
-@DomName('CircularRegion') |
+@DomName('Client') |
@Experimental() // untriaged |
-class CircularRegion extends GeofencingRegion { |
+class Client extends NativeFieldWrapperClass2 { |
// To suppress missing implicit constructor warnings. |
- factory CircularRegion._() { throw new UnsupportedError("Not supported"); } |
- |
- @DomName('CircularRegion.CircularRegion') |
- @DocsEditable() |
- factory CircularRegion(Map init) { |
- return _blink.BlinkCircularRegion.constructorCallback_Dictionary(init); |
- } |
- |
- @DomName('CircularRegion.MAX_RADIUS') |
- @DocsEditable() |
- @Experimental() // untriaged |
- static const num MAX_RADIUS = 100.0; |
- |
- @DomName('CircularRegion.MIN_RADIUS') |
- @DocsEditable() |
- @Experimental() // untriaged |
- static const num MIN_RADIUS = 1.0; |
+ factory Client._() { throw new UnsupportedError("Not supported"); } |
- @DomName('CircularRegion.latitude') |
+ @DomName('Client.id') |
@DocsEditable() |
@Experimental() // untriaged |
- double get latitude => _blink.BlinkCircularRegion.latitude_Getter(this); |
+ int get id => _blink.BlinkClient.id_Getter(this); |
- @DomName('CircularRegion.longitude') |
+ @DomName('Client.postMessage') |
@DocsEditable() |
@Experimental() // untriaged |
- double get longitude => _blink.BlinkCircularRegion.longitude_Getter(this); |
- |
- @DomName('CircularRegion.radius') |
- @DocsEditable() |
- @Experimental() // untriaged |
- double get radius => _blink.BlinkCircularRegion.radius_Getter(this); |
+ void postMessage(/*SerializedScriptValue*/ message, [List<MessagePort> messagePorts]) => _blink.BlinkClient.postMessage_Callback_SerializedScriptValue_A_MessagePort_A(this, message, messagePorts); |
} |
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
@@ -3659,51 +3612,6 @@ class Coordinates extends NativeFieldWrapperClass2 { |
@DocsEditable() |
-@DomName('Credential') |
-@Experimental() // untriaged |
-class Credential extends NativeFieldWrapperClass2 { |
- // To suppress missing implicit constructor warnings. |
- factory Credential._() { throw new UnsupportedError("Not supported"); } |
- |
- @DomName('Credential.avatarURL') |
- @DocsEditable() |
- @Experimental() // untriaged |
- String get avatarUrl => _blink.BlinkCredential.avatarURL_Getter(this); |
- |
- @DomName('Credential.id') |
- @DocsEditable() |
- @Experimental() // untriaged |
- String get id => _blink.BlinkCredential.id_Getter(this); |
- |
- @DomName('Credential.name') |
- @DocsEditable() |
- @Experimental() // untriaged |
- String get name => _blink.BlinkCredential.name_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 |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
- |
-@DocsEditable() |
-@DomName('CredentialsContainer') |
-@Experimental() // untriaged |
-class CredentialsContainer extends NativeFieldWrapperClass2 { |
- // To suppress missing implicit constructor warnings. |
- factory CredentialsContainer._() { 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('Crypto') |
@SupportedBrowser(SupportedBrowser.CHROME) |
@SupportedBrowser(SupportedBrowser.SAFARI) |
@@ -3734,31 +3642,31 @@ class Crypto extends NativeFieldWrapperClass2 { |
@DocsEditable() |
-@DomName('CryptoKey') |
+@DomName('Key') |
@Experimental() // untriaged |
class CryptoKey extends NativeFieldWrapperClass2 { |
// To suppress missing implicit constructor warnings. |
factory CryptoKey._() { throw new UnsupportedError("Not supported"); } |
- @DomName('CryptoKey.algorithm') |
+ @DomName('Key.algorithm') |
@DocsEditable() |
@Experimental() // untriaged |
- Object get algorithm => _blink.BlinkCryptoKey.algorithm_Getter(this); |
+ KeyAlgorithm get algorithm => _blink.BlinkKey.algorithm_Getter(this); |
- @DomName('CryptoKey.extractable') |
+ @DomName('Key.extractable') |
@DocsEditable() |
@Experimental() // untriaged |
- bool get extractable => _blink.BlinkCryptoKey.extractable_Getter(this); |
+ bool get extractable => _blink.BlinkKey.extractable_Getter(this); |
- @DomName('CryptoKey.type') |
+ @DomName('Key.type') |
@DocsEditable() |
@Experimental() // untriaged |
- String get type => _blink.BlinkCryptoKey.type_Getter(this); |
+ String get type => _blink.BlinkKey.type_Getter(this); |
- @DomName('CryptoKey.usages') |
+ @DomName('Key.usages') |
@DocsEditable() |
@Experimental() // untriaged |
- List<String> get usages => _blink.BlinkCryptoKey.usages_Getter(this); |
+ List<String> get usages => _blink.BlinkKey.usages_Getter(this); |
} |
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
@@ -3839,6 +3747,27 @@ class CssFilterRule extends CssRule { |
@DocsEditable() |
+@DomName('CSSFontFaceLoadEvent') |
+// http://www.w3.org/TR/css3-fonts/ |
+@Experimental() |
+class CssFontFaceLoadEvent extends Event { |
+ // To suppress missing implicit constructor warnings. |
+ factory CssFontFaceLoadEvent._() { throw new UnsupportedError("Not supported"); } |
+ |
+ @DomName('CSSFontFaceLoadEvent.fontfaces') |
+ @DocsEditable() |
+ @Experimental() // untriaged |
+ List<FontFace> get fontfaces => _blink.BlinkCSSFontFaceLoadEvent.fontfaces_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 |
+// BSD-style license that can be found in the LICENSE file. |
+ |
+// WARNING: Do not edit - generated code. |
+ |
+ |
+@DocsEditable() |
@DomName('CSSFontFaceRule') |
class CssFontFaceRule extends CssRule { |
// To suppress missing implicit constructor warnings. |
@@ -7665,7 +7594,7 @@ class DataTransfer extends NativeFieldWrapperClass2 { |
@DomName('DataTransfer.setData') |
@DocsEditable() |
@Experimental() // untriaged |
- void setData(String type, String data) => _blink.BlinkDataTransfer.setData_Callback_DOMString_DOMString(this, type, data); |
+ bool setData(String type, String data) => _blink.BlinkDataTransfer.setData_Callback_DOMString_DOMString(this, type, data); |
@DomName('DataTransfer.setDragImage') |
@DocsEditable() |
@@ -7813,7 +7742,7 @@ class DedicatedWorkerGlobalScope extends WorkerGlobalScope { |
@DomName('DedicatedWorkerGlobalScope.postMessage') |
@DocsEditable() |
@Experimental() // untriaged |
- void postMessage(Object message, [List<MessagePort> transfer]) => _blink.BlinkDedicatedWorkerGlobalScope.postMessage_Callback_ScriptValue_SEQ_MessagePort_SEQ(this, message, transfer); |
+ void postMessage(Object message, [List<MessagePort> messagePorts]) => _blink.BlinkDedicatedWorkerGlobalScope.postMessage_Callback_ScriptValue_A_MessagePort_A(this, message, messagePorts); |
/// Stream of `message` events handled by this [DedicatedWorkerGlobalScope]. |
@DomName('DedicatedWorkerGlobalScope.onmessage') |
@@ -8344,6 +8273,34 @@ class Document extends Node |
@DocsEditable() |
static const EventStreamProvider<Event> selectionChangeEvent = const EventStreamProvider<Event>('selectionchange'); |
+ /** |
+ * Static factory designed to expose `pointerlockchange` events to event |
+ * handlers that are not necessarily instances of [Document]. |
+ * |
+ * See [EventStreamProvider] for usage information. |
+ */ |
+ @DomName('Document.webkitpointerlockchangeEvent') |
+ @DocsEditable() |
+ @SupportedBrowser(SupportedBrowser.CHROME) |
+ @SupportedBrowser(SupportedBrowser.SAFARI) |
+ @Experimental() |
+ // https://dvcs.w3.org/hg/pointerlock/raw-file/default/index.html#widl-Document-onpointerlockchange |
+ static const EventStreamProvider<Event> pointerLockChangeEvent = const EventStreamProvider<Event>('webkitpointerlockchange'); |
+ |
+ /** |
+ * Static factory designed to expose `pointerlockerror` events to event |
+ * handlers that are not necessarily instances of [Document]. |
+ * |
+ * See [EventStreamProvider] for usage information. |
+ */ |
+ @DomName('Document.webkitpointerlockerrorEvent') |
+ @DocsEditable() |
+ @SupportedBrowser(SupportedBrowser.CHROME) |
+ @SupportedBrowser(SupportedBrowser.SAFARI) |
+ @Experimental() |
+ // https://dvcs.w3.org/hg/pointerlock/raw-file/default/index.html#widl-Document-onpointerlockerror |
+ static const EventStreamProvider<Event> pointerLockErrorEvent = const EventStreamProvider<Event>('webkitpointerlockerror'); |
+ |
@DomName('Document.activeElement') |
@DocsEditable() |
@Experimental() // untriaged |
@@ -8392,16 +8349,6 @@ class Document extends Node |
@Experimental() // untriaged |
FontFaceSet get fonts => _blink.BlinkDocument.fonts_Getter(this); |
- @DomName('Document.fullscreenElement') |
- @DocsEditable() |
- @Experimental() // untriaged |
- Element get fullscreenElement => _blink.BlinkDocument.fullscreenElement_Getter(this); |
- |
- @DomName('Document.fullscreenEnabled') |
- @DocsEditable() |
- @Experimental() // untriaged |
- bool get fullscreenEnabled => _blink.BlinkDocument.fullscreenEnabled_Getter(this); |
- |
@DomName('Document.head') |
@DocsEditable() |
HeadElement get _head => _blink.BlinkDocument.head_Getter(this); |
@@ -8495,6 +8442,14 @@ class Document extends Node |
// https://dvcs.w3.org/hg/webperf/raw-file/tip/specs/PageVisibility/Overview.html#document |
bool get _webkitHidden => _blink.BlinkDocument.webkitHidden_Getter(this); |
+ @DomName('Document.webkitPointerLockElement') |
+ @DocsEditable() |
+ @SupportedBrowser(SupportedBrowser.CHROME) |
+ @SupportedBrowser(SupportedBrowser.SAFARI) |
+ @Experimental() |
+ // https://dvcs.w3.org/hg/pointerlock/raw-file/default/index.html#widl-Document-pointerLockElement |
+ Element get _webkitPointerLockElement => _blink.BlinkDocument.webkitPointerLockElement_Getter(this); |
+ |
@DomName('Document.webkitVisibilityState') |
@DocsEditable() |
@SupportedBrowser(SupportedBrowser.CHROME) |
@@ -8529,10 +8484,15 @@ class Document extends Node |
@DocsEditable() |
Event _createEvent(String eventType) => _blink.BlinkDocument.createEvent_Callback_DOMString(this, eventType); |
- @DomName('Document.createNodeIterator') |
- @DocsEditable() |
- @Unstable() |
- NodeIterator _createNodeIterator(Node root, int whatToShow, NodeFilter filter) => _blink.BlinkDocument.createNodeIterator_Callback_Node_ul_NodeFilter(this, root, whatToShow, filter); |
+ NodeIterator _createNodeIterator(Node root, [int whatToShow, NodeFilter filter]) { |
+ if (filter != null) { |
+ return _blink.BlinkDocument.createNodeIterator_Callback_Node_ul_NodeFilter(this, root, whatToShow, filter); |
+ } |
+ if (whatToShow != null) { |
+ return _blink.BlinkDocument.createNodeIterator_Callback_Node_ul(this, root, whatToShow); |
+ } |
+ return _blink.BlinkDocument.createNodeIterator_Callback_Node(this, root); |
+ } |
@DomName('Document.createRange') |
@DocsEditable() |
@@ -8554,9 +8514,15 @@ class Document extends Node |
@Experimental() |
TouchList _createTouchList(Touch touches) => _blink.BlinkDocument.createTouchList_Callback_Touch(this, touches); |
- @DomName('Document.createTreeWalker') |
- @DocsEditable() |
- TreeWalker _createTreeWalker(Node root, int whatToShow, NodeFilter filter) => _blink.BlinkDocument.createTreeWalker_Callback_Node_ul_NodeFilter(this, root, whatToShow, filter); |
+ TreeWalker _createTreeWalker(Node root, [int whatToShow, NodeFilter filter]) { |
+ if (filter != null) { |
+ return _blink.BlinkDocument.createTreeWalker_Callback_Node_ul_NodeFilter(this, root, whatToShow, filter); |
+ } |
+ if (whatToShow != null) { |
+ return _blink.BlinkDocument.createTreeWalker_Callback_Node_ul(this, root, whatToShow); |
+ } |
+ return _blink.BlinkDocument.createTreeWalker_Callback_Node(this, root); |
+ } |
@DomName('Document.elementFromPoint') |
@DocsEditable() |
@@ -8566,11 +8532,6 @@ class Document extends Node |
@DocsEditable() |
bool execCommand(String command, bool userInterface, String value) => _blink.BlinkDocument.execCommand_Callback_DOMString_boolean_DOMString(this, command, userInterface, value); |
- @DomName('Document.exitFullscreen') |
- @DocsEditable() |
- @Experimental() // untriaged |
- void exitFullscreen() => _blink.BlinkDocument.exitFullscreen_Callback(this); |
- |
@DomName('Document.exitPointerLock') |
@DocsEditable() |
@Experimental() // untriaged |
@@ -8598,9 +8559,12 @@ class Document extends Node |
@DocsEditable() |
List<Node> getElementsByTagName(String localName) => _blink.BlinkDocument.getElementsByTagName_Callback_DOMString(this, localName); |
- @DomName('Document.importNode') |
- @DocsEditable() |
- Node importNode(Node node, bool deep) => _blink.BlinkDocument.importNode_Callback_Node_boolean(this, node, deep); |
+ Node importNode(Node node, [bool deep]) { |
+ if (deep != null) { |
+ return _blink.BlinkDocument.importNode_Callback_Node_boolean(this, node, deep); |
+ } |
+ return _blink.BlinkDocument.importNode_Callback_Node(this, node); |
+ } |
@DomName('Document.queryCommandEnabled') |
@DocsEditable() |
@@ -8630,6 +8594,14 @@ class Document extends Node |
// https://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html#dom-document-exitfullscreen |
void _webkitExitFullscreen() => _blink.BlinkDocument.webkitExitFullscreen_Callback(this); |
+ @DomName('Document.webkitExitPointerLock') |
+ @DocsEditable() |
+ @SupportedBrowser(SupportedBrowser.CHROME) |
+ @SupportedBrowser(SupportedBrowser.SAFARI) |
+ @Experimental() |
+ // https://dvcs.w3.org/hg/pointerlock/raw-file/default/index.html#widl-Document-exitPointerLock-void |
+ void _webkitExitPointerLock() => _blink.BlinkDocument.webkitExitPointerLock_Callback(this); |
+ |
@DomName('Document.childElementCount') |
@DocsEditable() |
int get _childElementCount => _blink.BlinkDocument.childElementCount_Getter(this); |
@@ -9034,6 +9006,20 @@ class Document extends Node |
@Experimental() |
Stream<Event> get onFullscreenError => Element.fullscreenErrorEvent.forTarget(this); |
+ /// Stream of `pointerlockchange` events handled by this [Document]. |
+ @DomName('Document.onwebkitpointerlockchange') |
+ @DocsEditable() |
+ // https://dvcs.w3.org/hg/pointerlock/raw-file/default/index.html#widl-Document-onpointerlockchange |
+ @Experimental() |
+ Stream<Event> get onPointerLockChange => pointerLockChangeEvent.forTarget(this); |
+ |
+ /// Stream of `pointerlockerror` events handled by this [Document]. |
+ @DomName('Document.onwebkitpointerlockerror') |
+ @DocsEditable() |
+ // https://dvcs.w3.org/hg/pointerlock/raw-file/default/index.html#widl-Document-onpointerlockerror |
+ @Experimental() |
+ Stream<Event> get onPointerLockError => pointerLockErrorEvent.forTarget(this); |
+ |
/** |
* Finds all descendant elements of this document that match the specified |
* group of selectors. |
@@ -9363,388 +9349,6 @@ class DomImplementation extends NativeFieldWrapperClass2 { |
@DocsEditable() |
-@DomName('DOMMatrix') |
-@Experimental() // untriaged |
-class DomMatrix extends DomMatrixReadOnly { |
- // To suppress missing implicit constructor warnings. |
- factory DomMatrix._() { throw new UnsupportedError("Not supported"); } |
- |
- @DomName('DOMMatrix.DOMMatrix') |
- @DocsEditable() |
- factory DomMatrix([DomMatrixReadOnly other]) { |
- if (other == null) { |
- return _blink.BlinkDOMMatrix.constructorCallback(); |
- } |
- if ((other is DomMatrixReadOnly || other == null)) { |
- return _blink.BlinkDOMMatrix.constructorCallback_DOMMatrixReadOnly(other); |
- } |
- throw new ArgumentError("Incorrect number or type of arguments"); |
- } |
- |
- @DomName('DOMMatrix.a') |
- @DocsEditable() |
- @Experimental() // untriaged |
- num get a => _blink.BlinkDOMMatrix.a_Getter(this); |
- |
- @DomName('DOMMatrix.a') |
- @DocsEditable() |
- @Experimental() // untriaged |
- void set a(num value) => _blink.BlinkDOMMatrix.a_Setter_double(this, value); |
- |
- @DomName('DOMMatrix.b') |
- @DocsEditable() |
- @Experimental() // untriaged |
- num get b => _blink.BlinkDOMMatrix.b_Getter(this); |
- |
- @DomName('DOMMatrix.b') |
- @DocsEditable() |
- @Experimental() // untriaged |
- void set b(num value) => _blink.BlinkDOMMatrix.b_Setter_double(this, value); |
- |
- @DomName('DOMMatrix.c') |
- @DocsEditable() |
- @Experimental() // untriaged |
- num get c => _blink.BlinkDOMMatrix.c_Getter(this); |
- |
- @DomName('DOMMatrix.c') |
- @DocsEditable() |
- @Experimental() // untriaged |
- void set c(num value) => _blink.BlinkDOMMatrix.c_Setter_double(this, value); |
- |
- @DomName('DOMMatrix.d') |
- @DocsEditable() |
- @Experimental() // untriaged |
- num get d => _blink.BlinkDOMMatrix.d_Getter(this); |
- |
- @DomName('DOMMatrix.d') |
- @DocsEditable() |
- @Experimental() // untriaged |
- void set d(num value) => _blink.BlinkDOMMatrix.d_Setter_double(this, value); |
- |
- @DomName('DOMMatrix.e') |
- @DocsEditable() |
- @Experimental() // untriaged |
- num get e => _blink.BlinkDOMMatrix.e_Getter(this); |
- |
- @DomName('DOMMatrix.e') |
- @DocsEditable() |
- @Experimental() // untriaged |
- void set e(num value) => _blink.BlinkDOMMatrix.e_Setter_double(this, value); |
- |
- @DomName('DOMMatrix.f') |
- @DocsEditable() |
- @Experimental() // untriaged |
- num get f => _blink.BlinkDOMMatrix.f_Getter(this); |
- |
- @DomName('DOMMatrix.f') |
- @DocsEditable() |
- @Experimental() // untriaged |
- void set f(num value) => _blink.BlinkDOMMatrix.f_Setter_double(this, value); |
- |
- @DomName('DOMMatrix.m11') |
- @DocsEditable() |
- @Experimental() // untriaged |
- num get m11 => _blink.BlinkDOMMatrix.m11_Getter(this); |
- |
- @DomName('DOMMatrix.m11') |
- @DocsEditable() |
- @Experimental() // untriaged |
- void set m11(num value) => _blink.BlinkDOMMatrix.m11_Setter_double(this, value); |
- |
- @DomName('DOMMatrix.m12') |
- @DocsEditable() |
- @Experimental() // untriaged |
- num get m12 => _blink.BlinkDOMMatrix.m12_Getter(this); |
- |
- @DomName('DOMMatrix.m12') |
- @DocsEditable() |
- @Experimental() // untriaged |
- void set m12(num value) => _blink.BlinkDOMMatrix.m12_Setter_double(this, value); |
- |
- @DomName('DOMMatrix.m13') |
- @DocsEditable() |
- @Experimental() // untriaged |
- num get m13 => _blink.BlinkDOMMatrix.m13_Getter(this); |
- |
- @DomName('DOMMatrix.m13') |
- @DocsEditable() |
- @Experimental() // untriaged |
- void set m13(num value) => _blink.BlinkDOMMatrix.m13_Setter_double(this, value); |
- |
- @DomName('DOMMatrix.m14') |
- @DocsEditable() |
- @Experimental() // untriaged |
- num get m14 => _blink.BlinkDOMMatrix.m14_Getter(this); |
- |
- @DomName('DOMMatrix.m14') |
- @DocsEditable() |
- @Experimental() // untriaged |
- void set m14(num value) => _blink.BlinkDOMMatrix.m14_Setter_double(this, value); |
- |
- @DomName('DOMMatrix.m21') |
- @DocsEditable() |
- @Experimental() // untriaged |
- num get m21 => _blink.BlinkDOMMatrix.m21_Getter(this); |
- |
- @DomName('DOMMatrix.m21') |
- @DocsEditable() |
- @Experimental() // untriaged |
- void set m21(num value) => _blink.BlinkDOMMatrix.m21_Setter_double(this, value); |
- |
- @DomName('DOMMatrix.m22') |
- @DocsEditable() |
- @Experimental() // untriaged |
- num get m22 => _blink.BlinkDOMMatrix.m22_Getter(this); |
- |
- @DomName('DOMMatrix.m22') |
- @DocsEditable() |
- @Experimental() // untriaged |
- void set m22(num value) => _blink.BlinkDOMMatrix.m22_Setter_double(this, value); |
- |
- @DomName('DOMMatrix.m23') |
- @DocsEditable() |
- @Experimental() // untriaged |
- num get m23 => _blink.BlinkDOMMatrix.m23_Getter(this); |
- |
- @DomName('DOMMatrix.m23') |
- @DocsEditable() |
- @Experimental() // untriaged |
- void set m23(num value) => _blink.BlinkDOMMatrix.m23_Setter_double(this, value); |
- |
- @DomName('DOMMatrix.m24') |
- @DocsEditable() |
- @Experimental() // untriaged |
- num get m24 => _blink.BlinkDOMMatrix.m24_Getter(this); |
- |
- @DomName('DOMMatrix.m24') |
- @DocsEditable() |
- @Experimental() // untriaged |
- void set m24(num value) => _blink.BlinkDOMMatrix.m24_Setter_double(this, value); |
- |
- @DomName('DOMMatrix.m31') |
- @DocsEditable() |
- @Experimental() // untriaged |
- num get m31 => _blink.BlinkDOMMatrix.m31_Getter(this); |
- |
- @DomName('DOMMatrix.m31') |
- @DocsEditable() |
- @Experimental() // untriaged |
- void set m31(num value) => _blink.BlinkDOMMatrix.m31_Setter_double(this, value); |
- |
- @DomName('DOMMatrix.m32') |
- @DocsEditable() |
- @Experimental() // untriaged |
- num get m32 => _blink.BlinkDOMMatrix.m32_Getter(this); |
- |
- @DomName('DOMMatrix.m32') |
- @DocsEditable() |
- @Experimental() // untriaged |
- void set m32(num value) => _blink.BlinkDOMMatrix.m32_Setter_double(this, value); |
- |
- @DomName('DOMMatrix.m33') |
- @DocsEditable() |
- @Experimental() // untriaged |
- num get m33 => _blink.BlinkDOMMatrix.m33_Getter(this); |
- |
- @DomName('DOMMatrix.m33') |
- @DocsEditable() |
- @Experimental() // untriaged |
- void set m33(num value) => _blink.BlinkDOMMatrix.m33_Setter_double(this, value); |
- |
- @DomName('DOMMatrix.m34') |
- @DocsEditable() |
- @Experimental() // untriaged |
- num get m34 => _blink.BlinkDOMMatrix.m34_Getter(this); |
- |
- @DomName('DOMMatrix.m34') |
- @DocsEditable() |
- @Experimental() // untriaged |
- void set m34(num value) => _blink.BlinkDOMMatrix.m34_Setter_double(this, value); |
- |
- @DomName('DOMMatrix.m41') |
- @DocsEditable() |
- @Experimental() // untriaged |
- num get m41 => _blink.BlinkDOMMatrix.m41_Getter(this); |
- |
- @DomName('DOMMatrix.m41') |
- @DocsEditable() |
- @Experimental() // untriaged |
- void set m41(num value) => _blink.BlinkDOMMatrix.m41_Setter_double(this, value); |
- |
- @DomName('DOMMatrix.m42') |
- @DocsEditable() |
- @Experimental() // untriaged |
- num get m42 => _blink.BlinkDOMMatrix.m42_Getter(this); |
- |
- @DomName('DOMMatrix.m42') |
- @DocsEditable() |
- @Experimental() // untriaged |
- void set m42(num value) => _blink.BlinkDOMMatrix.m42_Setter_double(this, value); |
- |
- @DomName('DOMMatrix.m43') |
- @DocsEditable() |
- @Experimental() // untriaged |
- num get m43 => _blink.BlinkDOMMatrix.m43_Getter(this); |
- |
- @DomName('DOMMatrix.m43') |
- @DocsEditable() |
- @Experimental() // untriaged |
- void set m43(num value) => _blink.BlinkDOMMatrix.m43_Setter_double(this, value); |
- |
- @DomName('DOMMatrix.m44') |
- @DocsEditable() |
- @Experimental() // untriaged |
- num get m44 => _blink.BlinkDOMMatrix.m44_Getter(this); |
- |
- @DomName('DOMMatrix.m44') |
- @DocsEditable() |
- @Experimental() // untriaged |
- void set m44(num value) => _blink.BlinkDOMMatrix.m44_Setter_double(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('DOMMatrixReadOnly') |
-@Experimental() // untriaged |
-class DomMatrixReadOnly extends NativeFieldWrapperClass2 { |
- // To suppress missing implicit constructor warnings. |
- factory DomMatrixReadOnly._() { throw new UnsupportedError("Not supported"); } |
- |
- @DomName('DOMMatrixReadOnly.a') |
- @DocsEditable() |
- @Experimental() // untriaged |
- double get a => _blink.BlinkDOMMatrixReadOnly.a_Getter(this); |
- |
- @DomName('DOMMatrixReadOnly.b') |
- @DocsEditable() |
- @Experimental() // untriaged |
- double get b => _blink.BlinkDOMMatrixReadOnly.b_Getter(this); |
- |
- @DomName('DOMMatrixReadOnly.c') |
- @DocsEditable() |
- @Experimental() // untriaged |
- double get c => _blink.BlinkDOMMatrixReadOnly.c_Getter(this); |
- |
- @DomName('DOMMatrixReadOnly.d') |
- @DocsEditable() |
- @Experimental() // untriaged |
- double get d => _blink.BlinkDOMMatrixReadOnly.d_Getter(this); |
- |
- @DomName('DOMMatrixReadOnly.e') |
- @DocsEditable() |
- @Experimental() // untriaged |
- double get e => _blink.BlinkDOMMatrixReadOnly.e_Getter(this); |
- |
- @DomName('DOMMatrixReadOnly.f') |
- @DocsEditable() |
- @Experimental() // untriaged |
- double get f => _blink.BlinkDOMMatrixReadOnly.f_Getter(this); |
- |
- @DomName('DOMMatrixReadOnly.is2D') |
- @DocsEditable() |
- @Experimental() // untriaged |
- bool get is2D => _blink.BlinkDOMMatrixReadOnly.is2D_Getter(this); |
- |
- @DomName('DOMMatrixReadOnly.isIdentity') |
- @DocsEditable() |
- @Experimental() // untriaged |
- bool get isIdentity => _blink.BlinkDOMMatrixReadOnly.isIdentity_Getter(this); |
- |
- @DomName('DOMMatrixReadOnly.m11') |
- @DocsEditable() |
- @Experimental() // untriaged |
- double get m11 => _blink.BlinkDOMMatrixReadOnly.m11_Getter(this); |
- |
- @DomName('DOMMatrixReadOnly.m12') |
- @DocsEditable() |
- @Experimental() // untriaged |
- double get m12 => _blink.BlinkDOMMatrixReadOnly.m12_Getter(this); |
- |
- @DomName('DOMMatrixReadOnly.m13') |
- @DocsEditable() |
- @Experimental() // untriaged |
- double get m13 => _blink.BlinkDOMMatrixReadOnly.m13_Getter(this); |
- |
- @DomName('DOMMatrixReadOnly.m14') |
- @DocsEditable() |
- @Experimental() // untriaged |
- double get m14 => _blink.BlinkDOMMatrixReadOnly.m14_Getter(this); |
- |
- @DomName('DOMMatrixReadOnly.m21') |
- @DocsEditable() |
- @Experimental() // untriaged |
- double get m21 => _blink.BlinkDOMMatrixReadOnly.m21_Getter(this); |
- |
- @DomName('DOMMatrixReadOnly.m22') |
- @DocsEditable() |
- @Experimental() // untriaged |
- double get m22 => _blink.BlinkDOMMatrixReadOnly.m22_Getter(this); |
- |
- @DomName('DOMMatrixReadOnly.m23') |
- @DocsEditable() |
- @Experimental() // untriaged |
- double get m23 => _blink.BlinkDOMMatrixReadOnly.m23_Getter(this); |
- |
- @DomName('DOMMatrixReadOnly.m24') |
- @DocsEditable() |
- @Experimental() // untriaged |
- double get m24 => _blink.BlinkDOMMatrixReadOnly.m24_Getter(this); |
- |
- @DomName('DOMMatrixReadOnly.m31') |
- @DocsEditable() |
- @Experimental() // untriaged |
- double get m31 => _blink.BlinkDOMMatrixReadOnly.m31_Getter(this); |
- |
- @DomName('DOMMatrixReadOnly.m32') |
- @DocsEditable() |
- @Experimental() // untriaged |
- double get m32 => _blink.BlinkDOMMatrixReadOnly.m32_Getter(this); |
- |
- @DomName('DOMMatrixReadOnly.m33') |
- @DocsEditable() |
- @Experimental() // untriaged |
- double get m33 => _blink.BlinkDOMMatrixReadOnly.m33_Getter(this); |
- |
- @DomName('DOMMatrixReadOnly.m34') |
- @DocsEditable() |
- @Experimental() // untriaged |
- double get m34 => _blink.BlinkDOMMatrixReadOnly.m34_Getter(this); |
- |
- @DomName('DOMMatrixReadOnly.m41') |
- @DocsEditable() |
- @Experimental() // untriaged |
- double get m41 => _blink.BlinkDOMMatrixReadOnly.m41_Getter(this); |
- |
- @DomName('DOMMatrixReadOnly.m42') |
- @DocsEditable() |
- @Experimental() // untriaged |
- double get m42 => _blink.BlinkDOMMatrixReadOnly.m42_Getter(this); |
- |
- @DomName('DOMMatrixReadOnly.m43') |
- @DocsEditable() |
- @Experimental() // untriaged |
- double get m43 => _blink.BlinkDOMMatrixReadOnly.m43_Getter(this); |
- |
- @DomName('DOMMatrixReadOnly.m44') |
- @DocsEditable() |
- @Experimental() // untriaged |
- double get m44 => _blink.BlinkDOMMatrixReadOnly.m44_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 |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
- |
-@DocsEditable() |
@DomName('DOMParser') |
class DomParser extends NativeFieldWrapperClass2 { |
// To suppress missing implicit constructor warnings. |
@@ -9769,175 +9373,6 @@ class DomParser extends NativeFieldWrapperClass2 { |
@DocsEditable() |
-@DomName('DOMPoint') |
-@Experimental() // untriaged |
-class DomPoint extends DomPointReadOnly { |
- // To suppress missing implicit constructor warnings. |
- factory DomPoint._() { throw new UnsupportedError("Not supported"); } |
- |
- @DomName('DOMPoint.DOMPoint') |
- @DocsEditable() |
- factory DomPoint([point_OR_x, num y, num z, num w]) { |
- if ((point_OR_x is Map || point_OR_x == null) && y == null && z == null && w == null) { |
- return _blink.BlinkDOMPoint.constructorCallback_Dictionary(point_OR_x); |
- } |
- if ((w is num || w == null) && (z is num || z == null) && (y is num || y == null) && (point_OR_x is num || point_OR_x == null)) { |
- return _blink.BlinkDOMPoint.constructorCallback_double_double_double_double(point_OR_x, y, z, w); |
- } |
- throw new ArgumentError("Incorrect number or type of arguments"); |
- } |
- |
- @DomName('DOMPoint.w') |
- @DocsEditable() |
- @Experimental() // untriaged |
- num get w => _blink.BlinkDOMPoint.w_Getter(this); |
- |
- @DomName('DOMPoint.w') |
- @DocsEditable() |
- @Experimental() // untriaged |
- void set w(num value) => _blink.BlinkDOMPoint.w_Setter_double(this, value); |
- |
- @DomName('DOMPoint.x') |
- @DocsEditable() |
- @Experimental() // untriaged |
- num get x => _blink.BlinkDOMPoint.x_Getter(this); |
- |
- @DomName('DOMPoint.x') |
- @DocsEditable() |
- @Experimental() // untriaged |
- void set x(num value) => _blink.BlinkDOMPoint.x_Setter_double(this, value); |
- |
- @DomName('DOMPoint.y') |
- @DocsEditable() |
- @Experimental() // untriaged |
- num get y => _blink.BlinkDOMPoint.y_Getter(this); |
- |
- @DomName('DOMPoint.y') |
- @DocsEditable() |
- @Experimental() // untriaged |
- void set y(num value) => _blink.BlinkDOMPoint.y_Setter_double(this, value); |
- |
- @DomName('DOMPoint.z') |
- @DocsEditable() |
- @Experimental() // untriaged |
- num get z => _blink.BlinkDOMPoint.z_Getter(this); |
- |
- @DomName('DOMPoint.z') |
- @DocsEditable() |
- @Experimental() // untriaged |
- void set z(num value) => _blink.BlinkDOMPoint.z_Setter_double(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('DOMPointReadOnly') |
-@Experimental() // untriaged |
-class DomPointReadOnly extends NativeFieldWrapperClass2 { |
- // To suppress missing implicit constructor warnings. |
- factory DomPointReadOnly._() { throw new UnsupportedError("Not supported"); } |
- |
- @DomName('DOMPointReadOnly.DOMPointReadOnly') |
- @DocsEditable() |
- factory DomPointReadOnly(num x, num y, num z, num w) { |
- return _blink.BlinkDOMPointReadOnly.constructorCallback_double_double_double_double(x, y, z, w); |
- } |
- |
- @DomName('DOMPointReadOnly.w') |
- @DocsEditable() |
- @Experimental() // untriaged |
- double get w => _blink.BlinkDOMPointReadOnly.w_Getter(this); |
- |
- @DomName('DOMPointReadOnly.x') |
- @DocsEditable() |
- @Experimental() // untriaged |
- double get x => _blink.BlinkDOMPointReadOnly.x_Getter(this); |
- |
- @DomName('DOMPointReadOnly.y') |
- @DocsEditable() |
- @Experimental() // untriaged |
- double get y => _blink.BlinkDOMPointReadOnly.y_Getter(this); |
- |
- @DomName('DOMPointReadOnly.z') |
- @DocsEditable() |
- @Experimental() // untriaged |
- double get z => _blink.BlinkDOMPointReadOnly.z_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 |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
- |
-@DocsEditable() |
-@DomName('DOMRectReadOnly') |
-@Experimental() // untriaged |
-class DomRectReadOnly extends NativeFieldWrapperClass2 { |
- // To suppress missing implicit constructor warnings. |
- factory DomRectReadOnly._() { throw new UnsupportedError("Not supported"); } |
- |
- @DomName('DOMRectReadOnly.DOMRectReadOnly') |
- @DocsEditable() |
- factory DomRectReadOnly(num x, num y, num width, num height) { |
- return _blink.BlinkDOMRectReadOnly.constructorCallback_double_double_double_double(x, y, width, height); |
- } |
- |
- @DomName('DOMRectReadOnly.bottom') |
- @DocsEditable() |
- @Experimental() // untriaged |
- double get bottom => _blink.BlinkDOMRectReadOnly.bottom_Getter(this); |
- |
- @DomName('DOMRectReadOnly.height') |
- @DocsEditable() |
- @Experimental() // untriaged |
- double get height => _blink.BlinkDOMRectReadOnly.height_Getter(this); |
- |
- @DomName('DOMRectReadOnly.left') |
- @DocsEditable() |
- @Experimental() // untriaged |
- double get left => _blink.BlinkDOMRectReadOnly.left_Getter(this); |
- |
- @DomName('DOMRectReadOnly.right') |
- @DocsEditable() |
- @Experimental() // untriaged |
- double get right => _blink.BlinkDOMRectReadOnly.right_Getter(this); |
- |
- @DomName('DOMRectReadOnly.top') |
- @DocsEditable() |
- @Experimental() // untriaged |
- double get top => _blink.BlinkDOMRectReadOnly.top_Getter(this); |
- |
- @DomName('DOMRectReadOnly.width') |
- @DocsEditable() |
- @Experimental() // untriaged |
- double get width => _blink.BlinkDOMRectReadOnly.width_Getter(this); |
- |
- @DomName('DOMRectReadOnly.x') |
- @DocsEditable() |
- @Experimental() // untriaged |
- double get x => _blink.BlinkDOMRectReadOnly.x_Getter(this); |
- |
- @DomName('DOMRectReadOnly.y') |
- @DocsEditable() |
- @Experimental() // untriaged |
- double get y => _blink.BlinkDOMRectReadOnly.y_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 |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
- |
-@DocsEditable() |
@DomName('DOMSettableTokenList') |
class DomSettableTokenList extends DomTokenList { |
// To suppress missing implicit constructor warnings. |
@@ -10109,6 +9544,10 @@ class DomTokenList extends NativeFieldWrapperClass2 { |
@Experimental() // untriaged |
void remove(String tokens) => _blink.BlinkDOMTokenList.remove_Callback_DOMString(this, tokens); |
+ @DomName('DOMTokenList.toString') |
+ @DocsEditable() |
+ String toString() => _blink.BlinkDOMTokenList.toString_Callback(this); |
+ |
bool toggle(String token, [bool force]) { |
if (force != null) { |
return _blink.BlinkDOMTokenList.toggle_Callback_DOMString_boolean(this, token, force); |
@@ -13059,11 +12498,6 @@ abstract class Element extends Node implements GlobalEventHandlers, ParentNode, |
@DocsEditable() |
void focus() => _blink.BlinkElement.focus_Callback(this); |
- @DomName('Element.getAnimationPlayers') |
- @DocsEditable() |
- @Experimental() // untriaged |
- List<AnimationPlayer> getAnimationPlayers() => _blink.BlinkElement.getAnimationPlayers_Callback(this); |
- |
@DomName('Element.getAttribute') |
@DocsEditable() |
@Experimental() // untriaged |
@@ -13178,16 +12612,35 @@ abstract class Element extends Node implements GlobalEventHandlers, ParentNode, |
@DocsEditable() |
void _removeAttributeNS(String namespaceURI, String localName) => _blink.BlinkElement.removeAttributeNS_Callback_DOMString_DOMString(this, namespaceURI, localName); |
- @DomName('Element.requestFullscreen') |
- @DocsEditable() |
- @Experimental() // untriaged |
- void requestFullscreen() => _blink.BlinkElement.requestFullscreen_Callback(this); |
- |
@DomName('Element.requestPointerLock') |
@DocsEditable() |
@Experimental() // untriaged |
void requestPointerLock() => _blink.BlinkElement.requestPointerLock_Callback(this); |
+ /** |
+ * Scrolls the element by a number of lines. |
+ * |
+ * ## Other resources |
+ * |
+ * * [scrollByLines] |
+ * (http://docs.webplatform.org/wiki/dom/methods/scrollByLines) from WebPlatform.org. |
+ */ |
+ @DomName('Element.scrollByLines') |
+ @DocsEditable() |
+ void scrollByLines(int lines) => _blink.BlinkElement.scrollByLines_Callback_long(this, lines); |
+ |
+ /** |
+ * Scrolls the element by a number of pages. |
+ * |
+ * ## Other resources |
+ * |
+ * * [scrollByPages] |
+ * (http://docs.webplatform.org/wiki/dom/methods/scrollByPages) from WebPlatform.org. |
+ */ |
+ @DomName('Element.scrollByPages') |
+ @DocsEditable() |
+ void scrollByPages(int pages) => _blink.BlinkElement.scrollByPages_Callback_long(this, pages); |
+ |
void _scrollIntoView([bool alignWithTop]) { |
if (alignWithTop != null) { |
_blink.BlinkElement.scrollIntoView_Callback_boolean(this, alignWithTop); |
@@ -13214,6 +12667,25 @@ abstract class Element extends Node implements GlobalEventHandlers, ParentNode, |
@DocsEditable() |
void setAttributeNS(String namespaceURI, String qualifiedName, String value) => _blink.BlinkElement.setAttributeNS_Callback_DOMString_DOMString_DOMString(this, namespaceURI, qualifiedName, value); |
+ /** |
+ * Displays this element fullscreen. |
+ * |
+ * ## Other resources |
+ * |
+ * * [Using the fullscreen API] |
+ * (http://docs.webplatform.org/wiki/tutorials/using_the_full-screen_api) |
+ * tutorial from WebPlatform.org. |
+ * * [Fullscreen specification] |
+ * (http://www.w3.org/TR/fullscreen/) from W3C. |
+ */ |
+ @DomName('Element.webkitRequestFullscreen') |
+ @DocsEditable() |
+ @SupportedBrowser(SupportedBrowser.CHROME) |
+ @SupportedBrowser(SupportedBrowser.SAFARI) |
+ @Experimental() |
+ // https://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html#dom-element-requestfullscreen |
+ void requestFullscreen() => _blink.BlinkElement.webkitRequestFullscreen_Callback(this); |
+ |
@DomName('Element.nextElementSibling') |
@DocsEditable() |
Element get nextElementSibling => _blink.BlinkElement.nextElementSibling_Getter(this); |
@@ -14468,58 +13940,12 @@ class EventTarget extends NativeFieldWrapperClass2 { |
@DocsEditable() |
-@DomName('FederatedCredential') |
-@Experimental() // untriaged |
-class FederatedCredential extends Credential { |
- // To suppress missing implicit constructor warnings. |
- factory FederatedCredential._() { throw new UnsupportedError("Not supported"); } |
- |
- @DomName('FederatedCredential.FederatedCredential') |
- @DocsEditable() |
- factory FederatedCredential(String id, String name, String avatarURL, String federation) { |
- return _blink.BlinkFederatedCredential.constructorCallback_DOMString_DOMString_DOMString_DOMString(id, name, avatarURL, federation); |
- } |
- |
- @DomName('FederatedCredential.federation') |
- @DocsEditable() |
- @Experimental() // untriaged |
- String get federation => _blink.BlinkFederatedCredential.federation_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 |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
- |
-@DocsEditable() |
-@DomName('FetchBodyStream') |
-@Experimental() // untriaged |
-class FetchBodyStream extends NativeFieldWrapperClass2 { |
- // To suppress missing implicit constructor warnings. |
- factory FetchBodyStream._() { 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('FetchEvent') |
@Experimental() // untriaged |
class FetchEvent extends Event { |
// To suppress missing implicit constructor warnings. |
factory FetchEvent._() { throw new UnsupportedError("Not supported"); } |
- @DomName('FetchEvent.isReload') |
- @DocsEditable() |
- @Experimental() // untriaged |
- bool get isReload => _blink.BlinkFetchEvent.isReload_Getter(this); |
- |
@DomName('FetchEvent.request') |
@DocsEditable() |
@Experimental() // untriaged |
@@ -15410,26 +14836,6 @@ typedef void FontFaceSetForEachCallback(FontFace fontFace, FontFace fontFaceAgai |
@DocsEditable() |
-@DomName('FontFaceSetLoadEvent') |
-@Experimental() // untriaged |
-class FontFaceSetLoadEvent extends Event { |
- // To suppress missing implicit constructor warnings. |
- factory FontFaceSetLoadEvent._() { throw new UnsupportedError("Not supported"); } |
- |
- @DomName('FontFaceSetLoadEvent.fontfaces') |
- @DocsEditable() |
- @Experimental() // untriaged |
- List<FontFace> get fontfaces => _blink.BlinkFontFaceSetLoadEvent.fontfaces_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 |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
- |
-@DocsEditable() |
@DomName('FormData') |
@SupportedBrowser(SupportedBrowser.CHROME) |
@SupportedBrowser(SupportedBrowser.FIREFOX) |
@@ -15681,41 +15087,6 @@ class GamepadEvent extends Event { |
// for details. All rights reserved. Use of this source code is governed by a |
// BSD-style license that can be found in the LICENSE file. |
-// WARNING: Do not edit - generated code. |
- |
- |
-@DocsEditable() |
-@DomName('Geofencing') |
-@Experimental() // untriaged |
-class Geofencing extends NativeFieldWrapperClass2 { |
- // To suppress missing implicit constructor warnings. |
- factory Geofencing._() { 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('GeofencingRegion') |
-@Experimental() // untriaged |
-class GeofencingRegion extends NativeFieldWrapperClass2 { |
- // To suppress missing implicit constructor warnings. |
- factory GeofencingRegion._() { throw new UnsupportedError("Not supported"); } |
- |
- @DomName('GeofencingRegion.id') |
- @DocsEditable() |
- @Experimental() // untriaged |
- String get id => _blink.BlinkGeofencingRegion.id_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 |
-// BSD-style license that can be found in the LICENSE file. |
- |
@DocsEditable() |
@DomName('Geolocation') |
@@ -15801,11 +15172,11 @@ class Geolocation extends NativeFieldWrapperClass2 { |
@DomName('Geolocation.getCurrentPosition') |
@DocsEditable() |
- void _getCurrentPosition(_PositionCallback successCallback, [_PositionErrorCallback errorCallback, Map options]) => _blink.BlinkGeolocation.getCurrentPosition_Callback_PositionCallback_PositionErrorCallback_Dictionary(this, successCallback, errorCallback, options); |
+ void _getCurrentPosition(_PositionCallback successCallback, [_PositionErrorCallback errorCallback, Object options]) => _blink.BlinkGeolocation.getCurrentPosition_Callback_PositionCallback_PositionErrorCallback_object(this, successCallback, errorCallback, options); |
@DomName('Geolocation.watchPosition') |
@DocsEditable() |
- int _watchPosition(_PositionCallback successCallback, [_PositionErrorCallback errorCallback, Map options]) => _blink.BlinkGeolocation.watchPosition_Callback_PositionCallback_PositionErrorCallback_Dictionary(this, successCallback, errorCallback, options); |
+ int _watchPosition(_PositionCallback successCallback, [_PositionErrorCallback errorCallback, Object options]) => _blink.BlinkGeolocation.watchPosition_Callback_PositionCallback_PositionErrorCallback_object(this, successCallback, errorCallback, options); |
} |
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
@@ -16470,41 +15841,57 @@ class HeadElement extends HtmlElement { |
@DocsEditable() |
-@DomName('Headers') |
+@DomName('HeaderMap') |
@Experimental() // untriaged |
-class Headers extends NativeFieldWrapperClass2 { |
+class HeaderMap extends NativeFieldWrapperClass2 { |
// To suppress missing implicit constructor warnings. |
- factory Headers._() { throw new UnsupportedError("Not supported"); } |
+ factory HeaderMap._() { throw new UnsupportedError("Not supported"); } |
- @DomName('Headers.Headers') |
+ @DomName('HeaderMap.HeaderMap') |
@DocsEditable() |
- factory Headers([input]) { |
- if (input == null) { |
- return _blink.BlinkHeaders.constructorCallback(); |
- } |
- if ((input is Headers || input == null)) { |
- return _blink.BlinkHeaders.constructorCallback_Headers(input); |
- } |
- if ((input is Map || input == null)) { |
- return _blink.BlinkHeaders.constructorCallback_Dictionary(input); |
- } |
- throw new ArgumentError("Incorrect number or type of arguments"); |
+ factory HeaderMap() { |
+ return _blink.BlinkHeaderMap.constructorCallback(); |
} |
- @DomName('Headers.size') |
+ @DomName('HeaderMap.size') |
+ @DocsEditable() |
+ @Experimental() // untriaged |
+ int get size => _blink.BlinkHeaderMap.size_Getter(this); |
+ |
+ @DomName('HeaderMap.clear') |
+ @DocsEditable() |
+ @Experimental() // untriaged |
+ void clear() => _blink.BlinkHeaderMap.clear_Callback(this); |
+ |
+ @DomName('HeaderMap.delete') |
@DocsEditable() |
@Experimental() // untriaged |
- int get size => _blink.BlinkHeaders.size_Getter(this); |
+ bool delete(String key) => _blink.BlinkHeaderMap.delete_Callback_DOMString(this, key); |
- void forEach(HeadersForEachCallback callback, [Object thisArg]) { |
+ void forEach(HeaderMapForEachCallback callback, [Object thisArg]) { |
if (thisArg != null) { |
- _blink.BlinkHeaders.forEach_Callback_HeadersForEachCallback_ScriptValue(this, callback, thisArg); |
+ _blink.BlinkHeaderMap.forEach_Callback_HeaderMapForEachCallback_ScriptValue(this, callback, thisArg); |
return; |
} |
- _blink.BlinkHeaders.forEach_Callback_HeadersForEachCallback(this, callback); |
+ _blink.BlinkHeaderMap.forEach_Callback_HeaderMapForEachCallback(this, callback); |
return; |
} |
+ @DomName('HeaderMap.get') |
+ @DocsEditable() |
+ @Experimental() // untriaged |
+ String get(String key) => _blink.BlinkHeaderMap.get_Callback_DOMString(this, key); |
+ |
+ @DomName('HeaderMap.has') |
+ @DocsEditable() |
+ @Experimental() // untriaged |
+ bool has(String key) => _blink.BlinkHeaderMap.has_Callback_DOMString(this, key); |
+ |
+ @DomName('HeaderMap.set') |
+ @DocsEditable() |
+ @Experimental() // untriaged |
+ void set(String key, String value) => _blink.BlinkHeaderMap.set_Callback_DOMString_DOMString(this, key, 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 |
@@ -16513,9 +15900,9 @@ class Headers extends NativeFieldWrapperClass2 { |
// WARNING: Do not edit - generated code. |
-@DomName('HeadersForEachCallback') |
+@DomName('HeaderMapForEachCallback') |
@Experimental() // untriaged |
-typedef void HeadersForEachCallback(String value, String key, Headers map); |
+typedef void HeaderMapForEachCallback(String value, String key, HeaderMap map); |
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
// for details. All rights reserved. Use of this source code is governed by a |
// BSD-style license that can be found in the LICENSE file. |
@@ -16625,6 +16012,31 @@ class History extends NativeFieldWrapperClass2 implements HistoryBase { |
@DocsEditable() |
+@DomName('HmacKeyAlgorithm') |
+@Experimental() // untriaged |
+class HmacKeyAlgorithm extends KeyAlgorithm { |
+ // To suppress missing implicit constructor warnings. |
+ factory HmacKeyAlgorithm._() { throw new UnsupportedError("Not supported"); } |
+ |
+ @DomName('HmacKeyAlgorithm.hash') |
+ @DocsEditable() |
+ @Experimental() // untriaged |
+ KeyAlgorithm get hash => _blink.BlinkHmacKeyAlgorithm.hash_Getter(this); |
+ |
+ @DomName('HmacKeyAlgorithm.length') |
+ @DocsEditable() |
+ @Experimental() // untriaged |
+ int get length => _blink.BlinkHmacKeyAlgorithm.length_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 |
+// BSD-style license that can be found in the LICENSE file. |
+ |
+// WARNING: Do not edit - generated code. |
+ |
+ |
+@DocsEditable() |
@DomName('HTMLCollection') |
class HtmlCollection extends NativeFieldWrapperClass2 with ListMixin<Node>, ImmutableListMixin<Node> implements List<Node> { |
// To suppress missing implicit constructor warnings. |
@@ -16809,6 +16221,14 @@ class HtmlDocument extends Document { |
_webkitExitFullscreen(); |
} |
+ @DomName('Document.webkitExitPointerLock') |
+ @SupportedBrowser(SupportedBrowser.CHROME) |
+ @SupportedBrowser(SupportedBrowser.SAFARI) |
+ @Experimental() |
+ void exitPointerLock() { |
+ _webkitExitPointerLock(); |
+ } |
+ |
/** |
* Returns the element, if any, that is currently displayed in fullscreen. |
* |
@@ -16858,6 +16278,13 @@ class HtmlDocument extends Document { |
@Experimental() |
bool get hidden => _webkitHidden; |
+ @DomName('Document.webkitPointerLockElement') |
+ @SupportedBrowser(SupportedBrowser.CHROME) |
+ @SupportedBrowser(SupportedBrowser.SAFARI) |
+ @Experimental() |
+ Element get pointerLockElement => |
+ _webkitPointerLockElement; |
+ |
@DomName('Document.visibilityState') |
@SupportedBrowser(SupportedBrowser.CHROME) |
@SupportedBrowser(SupportedBrowser.FIREFOX) |
@@ -18533,16 +17960,6 @@ class IFrameElement extends HtmlElement { |
*/ |
IFrameElement.created() : super.created(); |
- @DomName('HTMLIFrameElement.allowFullscreen') |
- @DocsEditable() |
- @Experimental() // untriaged |
- bool get allowFullscreen => _blink.BlinkHTMLIFrameElement.allowFullscreen_Getter(this); |
- |
- @DomName('HTMLIFrameElement.allowFullscreen') |
- @DocsEditable() |
- @Experimental() // untriaged |
- void set allowFullscreen(bool value) => _blink.BlinkHTMLIFrameElement.allowFullscreen_Setter_boolean(this, value); |
- |
@DomName('HTMLIFrameElement.contentWindow') |
@DocsEditable() |
WindowBase get contentWindow => _blink.BlinkHTMLIFrameElement.contentWindow_Getter(this); |
@@ -18905,16 +18322,6 @@ class InputElement extends HtmlElement implements |
@DocsEditable() |
void set autofocus(bool value) => _blink.BlinkHTMLInputElement.autofocus_Setter_boolean(this, value); |
- @DomName('HTMLInputElement.capture') |
- @DocsEditable() |
- @Experimental() // untriaged |
- bool get capture => _blink.BlinkHTMLInputElement.capture_Getter(this); |
- |
- @DomName('HTMLInputElement.capture') |
- @DocsEditable() |
- @Experimental() // untriaged |
- void set capture(bool value) => _blink.BlinkHTMLInputElement.capture_Setter_boolean(this, value); |
- |
@DomName('HTMLInputElement.checked') |
@DocsEditable() |
bool get checked => _blink.BlinkHTMLInputElement.checked_Getter(this); |
@@ -19939,6 +19346,26 @@ class InstallPhaseEvent extends Event { |
// for details. All rights reserved. Use of this source code is governed by a |
// BSD-style license that can be found in the LICENSE file. |
+// WARNING: Do not edit - generated code. |
+ |
+ |
+@DocsEditable() |
+@DomName('KeyAlgorithm') |
+@Experimental() // untriaged |
+class KeyAlgorithm extends NativeFieldWrapperClass2 { |
+ // To suppress missing implicit constructor warnings. |
+ factory KeyAlgorithm._() { throw new UnsupportedError("Not supported"); } |
+ |
+ @DomName('KeyAlgorithm.name') |
+ @DocsEditable() |
+ @Experimental() // untriaged |
+ String get name => _blink.BlinkKeyAlgorithm.name_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 |
+// BSD-style license that can be found in the LICENSE file. |
+ |
@DomName('KeyboardEvent') |
class KeyboardEvent extends UIEvent { |
@@ -19946,13 +19373,14 @@ class KeyboardEvent extends UIEvent { |
factory KeyboardEvent(String type, |
{Window view, bool canBubble: true, bool cancelable: true, |
int keyLocation: 1, bool ctrlKey: false, |
- bool altKey: false, bool shiftKey: false, bool metaKey: false}) { |
+ bool altKey: false, bool shiftKey: false, bool metaKey: false, |
+ bool altGraphKey: false}) { |
if (view == null) { |
view = window; |
} |
final e = document._createEvent("KeyboardEvent"); |
e._initKeyboardEvent(type, canBubble, cancelable, view, "", |
- keyLocation, ctrlKey, altKey, shiftKey, metaKey); |
+ keyLocation, ctrlKey, altKey, shiftKey, metaKey, altGraphKey); |
return e; |
} |
@@ -19984,6 +19412,11 @@ class KeyboardEvent extends UIEvent { |
@Experimental() // untriaged |
static const int DOM_KEY_LOCATION_STANDARD = 0x00; |
+ @DomName('KeyboardEvent.altGraphKey') |
+ @DocsEditable() |
+ @Experimental() // nonstandard |
+ bool get altGraphKey => _blink.BlinkKeyboardEvent.altGraphKey_Getter(this); |
+ |
@DomName('KeyboardEvent.altKey') |
@DocsEditable() |
bool get altKey => _blink.BlinkKeyboardEvent.altKey_Getter(this); |
@@ -20027,7 +19460,7 @@ class KeyboardEvent extends UIEvent { |
@DomName('KeyboardEvent.initKeyboardEvent') |
@DocsEditable() |
- void _initKeyboardEvent(String type, bool canBubble, bool cancelable, Window view, String keyIdentifier, int location, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey) => _blink.BlinkKeyboardEvent.initKeyboardEvent_Callback_DOMString_boolean_boolean_Window_DOMString_ul_boolean_boolean_boolean_boolean(this, type, canBubble, cancelable, view, keyIdentifier, location, ctrlKey, altKey, shiftKey, metaKey); |
+ void _initKeyboardEvent(String type, bool canBubble, bool cancelable, Window view, String keyIdentifier, int location, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, bool altGraphKey) => _blink.BlinkKeyboardEvent.initKeyboardEvent_Callback_DOMString_boolean_boolean_Window_DOMString_ul_boolean_boolean_boolean_boolean_boolean(this, type, canBubble, cancelable, view, keyIdentifier, location, ctrlKey, altKey, shiftKey, metaKey, altGraphKey); |
} |
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
@@ -20343,32 +19776,6 @@ class LinkElement extends HtmlElement { |
return true; |
} |
} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for 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('LocalCredential') |
-@Experimental() // untriaged |
-class LocalCredential extends Credential { |
- // To suppress missing implicit constructor warnings. |
- factory LocalCredential._() { throw new UnsupportedError("Not supported"); } |
- |
- @DomName('LocalCredential.LocalCredential') |
- @DocsEditable() |
- factory LocalCredential(String id, String name, String avatarURL, String password) { |
- return _blink.BlinkLocalCredential.constructorCallback_DOMString_DOMString_DOMString_DOMString(id, name, avatarURL, password); |
- } |
- |
- @DomName('LocalCredential.password') |
- @DocsEditable() |
- @Experimental() // untriaged |
- String get password => _blink.BlinkLocalCredential.password_Getter(this); |
- |
-} |
// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
// for details. All rights reserved. Use of this source code is governed by a |
// BSD-style license that can be found in the LICENSE file. |
@@ -21233,7 +20640,7 @@ class MediaKeyMessageEvent extends Event { |
@DomName('MediaKeyMessageEvent.message') |
@DocsEditable() |
- ByteBuffer get message => _blink.BlinkMediaKeyMessageEvent.message_Getter(this); |
+ Uint8List get message => _blink.BlinkMediaKeyMessageEvent.message_Getter(this); |
} |
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
@@ -21288,6 +20695,15 @@ class MediaKeySession extends EventTarget { |
@DocsEditable() |
String get sessionId => _blink.BlinkMediaKeySession.sessionId_Getter(this); |
+ @DomName('MediaKeySession.release') |
+ @DocsEditable() |
+ @Experimental() // untriaged |
+ void release() => _blink.BlinkMediaKeySession.release_Callback(this); |
+ |
+ @DomName('MediaKeySession.update') |
+ @DocsEditable() |
+ void update(Uint8List response) => _blink.BlinkMediaKeySession.update_Callback_Uint8Array(this, response); |
+ |
} |
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
// for details. All rights reserved. Use of this source code is governed by a |
@@ -21304,10 +20720,20 @@ class MediaKeys extends NativeFieldWrapperClass2 { |
// To suppress missing implicit constructor warnings. |
factory MediaKeys._() { throw new UnsupportedError("Not supported"); } |
+ @DomName('MediaKeys.MediaKeys') |
+ @DocsEditable() |
+ factory MediaKeys(String keySystem) { |
+ return _blink.BlinkMediaKeys.constructorCallback_DOMString(keySystem); |
+ } |
+ |
@DomName('MediaKeys.keySystem') |
@DocsEditable() |
String get keySystem => _blink.BlinkMediaKeys.keySystem_Getter(this); |
+ @DomName('MediaKeys.createSession') |
+ @DocsEditable() |
+ MediaKeySession createSession(String type, Uint8List initData) => _blink.BlinkMediaKeys.createSession_Callback_DOMString_Uint8Array(this, type, initData); |
+ |
@DomName('MediaKeys.isTypeSupported') |
@DocsEditable() |
@Experimental() // untriaged |
@@ -21527,11 +20953,6 @@ class MediaStream extends EventTarget { |
@DocsEditable() |
MediaStreamTrack getTrackById(String trackId) => _blink.BlinkMediaStream.getTrackById_Callback_DOMString(this, trackId); |
- @DomName('MediaStream.getTracks') |
- @DocsEditable() |
- @Experimental() // untriaged |
- List<MediaStreamTrack> getTracks() => _blink.BlinkMediaStream.getTracks_Callback(this); |
- |
@DomName('MediaStream.getVideoTracks') |
@DocsEditable() |
List<MediaStreamTrack> getVideoTracks() => _blink.BlinkMediaStream.getVideoTracks_Callback(this); |
@@ -21659,11 +21080,6 @@ class MediaStreamTrack extends EventTarget { |
@DocsEditable() |
String get label => _blink.BlinkMediaStreamTrack.label_Getter(this); |
- @DomName('MediaStreamTrack.muted') |
- @DocsEditable() |
- @Experimental() // untriaged |
- bool get muted => _blink.BlinkMediaStreamTrack.muted_Getter(this); |
- |
@DomName('MediaStreamTrack.readyState') |
@DocsEditable() |
String get readyState => _blink.BlinkMediaStreamTrack.readyState_Getter(this); |
@@ -21800,97 +21216,6 @@ class MenuElement extends HtmlElement { |
*/ |
MenuElement.created() : super.created(); |
- @DomName('HTMLMenuElement.label') |
- @DocsEditable() |
- @Experimental() // untriaged |
- String get label => _blink.BlinkHTMLMenuElement.label_Getter(this); |
- |
- @DomName('HTMLMenuElement.label') |
- @DocsEditable() |
- @Experimental() // untriaged |
- void set label(String value) => _blink.BlinkHTMLMenuElement.label_Setter_DOMString(this, value); |
- |
- @DomName('HTMLMenuElement.type') |
- @DocsEditable() |
- @Experimental() // untriaged |
- String get type => _blink.BlinkHTMLMenuElement.type_Getter(this); |
- |
- @DomName('HTMLMenuElement.type') |
- @DocsEditable() |
- @Experimental() // untriaged |
- void set type(String value) => _blink.BlinkHTMLMenuElement.type_Setter_DOMString(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('HTMLMenuItemElement') |
-@Experimental() // untriaged |
-class MenuItemElement extends HtmlElement { |
- // To suppress missing implicit constructor warnings. |
- factory MenuItemElement._() { 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. |
- */ |
- MenuItemElement.created() : super.created(); |
- |
- @DomName('HTMLMenuItemElement.checked') |
- @DocsEditable() |
- @Experimental() // untriaged |
- bool get checked => _blink.BlinkHTMLMenuItemElement.checked_Getter(this); |
- |
- @DomName('HTMLMenuItemElement.checked') |
- @DocsEditable() |
- @Experimental() // untriaged |
- void set checked(bool value) => _blink.BlinkHTMLMenuItemElement.checked_Setter_boolean(this, value); |
- |
- @DomName('HTMLMenuItemElement.default') |
- @DocsEditable() |
- @Experimental() // untriaged |
- bool get defaultValue => _blink.BlinkHTMLMenuItemElement.default_Getter(this); |
- |
- @DomName('HTMLMenuItemElement.default') |
- @DocsEditable() |
- @Experimental() // untriaged |
- void set defaultValue(bool value) => _blink.BlinkHTMLMenuItemElement.default_Setter_boolean(this, value); |
- |
- @DomName('HTMLMenuItemElement.disabled') |
- @DocsEditable() |
- @Experimental() // untriaged |
- bool get disabled => _blink.BlinkHTMLMenuItemElement.disabled_Getter(this); |
- |
- @DomName('HTMLMenuItemElement.disabled') |
- @DocsEditable() |
- @Experimental() // untriaged |
- void set disabled(bool value) => _blink.BlinkHTMLMenuItemElement.disabled_Setter_boolean(this, value); |
- |
- @DomName('HTMLMenuItemElement.label') |
- @DocsEditable() |
- @Experimental() // untriaged |
- String get label => _blink.BlinkHTMLMenuItemElement.label_Getter(this); |
- |
- @DomName('HTMLMenuItemElement.label') |
- @DocsEditable() |
- @Experimental() // untriaged |
- void set label(String value) => _blink.BlinkHTMLMenuItemElement.label_Setter_DOMString(this, value); |
- |
- @DomName('HTMLMenuItemElement.type') |
- @DocsEditable() |
- @Experimental() // untriaged |
- String get type => _blink.BlinkHTMLMenuItemElement.type_Getter(this); |
- |
- @DomName('HTMLMenuItemElement.type') |
- @DocsEditable() |
- @Experimental() // untriaged |
- void set type(String value) => _blink.BlinkHTMLMenuItemElement.type_Setter_DOMString(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 |
@@ -21991,7 +21316,7 @@ class MessagePort extends EventTarget { |
@DomName('MessagePort.postMessage') |
@DocsEditable() |
- void postMessage(Object message, [List<MessagePort> transfer]) => _blink.BlinkMessagePort.postMessage_Callback_ScriptValue_SEQ_MessagePort_SEQ(this, message, transfer); |
+ void postMessage(Object message, [List<MessagePort> messagePorts]) => _blink.BlinkMessagePort.postMessage_Callback_ScriptValue_A_MessagePort_A(this, message, messagePorts); |
@DomName('MessagePort.start') |
@DocsEditable() |
@@ -22613,11 +21938,6 @@ class MouseEvent extends UIEvent { |
@Unstable() |
int get _offsetY => _blink.BlinkMouseEvent.offsetY_Getter(this); |
- @DomName('MouseEvent.region') |
- @DocsEditable() |
- @Experimental() // untriaged |
- String get region => _blink.BlinkMouseEvent.region_Getter(this); |
- |
@DomName('MouseEvent.relatedTarget') |
@DocsEditable() |
EventTarget get relatedTarget => _blink.BlinkMouseEvent.relatedTarget_Getter(this); |
@@ -22941,22 +22261,12 @@ class Navigator extends NavigatorCpu implements NavigatorLanguage, NavigatorOnLi |
@Unstable() |
bool get cookieEnabled => _blink.BlinkNavigator.cookieEnabled_Getter(this); |
- @DomName('Navigator.credentials') |
- @DocsEditable() |
- @Experimental() // untriaged |
- CredentialsContainer get credentials => _blink.BlinkNavigator.credentials_Getter(this); |
- |
@DomName('Navigator.doNotTrack') |
@DocsEditable() |
// http://www.w3.org/2011/tracking-protection/drafts/tracking-dnt.html#js-dom |
@Experimental() // experimental |
String get doNotTrack => _blink.BlinkNavigator.doNotTrack_Getter(this); |
- @DomName('Navigator.geofencing') |
- @DocsEditable() |
- @Experimental() // untriaged |
- Geofencing get geofencing => _blink.BlinkNavigator.geofencing_Getter(this); |
- |
@DomName('Navigator.geolocation') |
@DocsEditable() |
@Unstable() |
@@ -23023,6 +22333,11 @@ class Navigator extends NavigatorCpu implements NavigatorLanguage, NavigatorOnLi |
@Experimental() // untriaged |
List<Gamepad> getGamepads() => _blink.BlinkNavigator.getGamepads_Callback(this); |
+ @DomName('Navigator.getMediaDevices') |
+ @DocsEditable() |
+ @Experimental() // untriaged |
+ void getMediaDevices(MediaDeviceInfoCallback resultCallback) => _blink.BlinkNavigator.getMediaDevices_Callback_MediaDeviceInfoCallback(this, resultCallback); |
+ |
@DomName('Navigator.getStorageUpdates') |
@DocsEditable() |
// http://www.whatwg.org/specs/web-apps/current-work/multipage/timers.html#navigatorstorageutils |
@@ -25857,6 +25172,10 @@ class Range extends NativeFieldWrapperClass2 { |
@DocsEditable() |
void surroundContents(Node newParent) => _blink.BlinkRange.surroundContents_Callback_Node(this, newParent); |
+ @DomName('Range.toString') |
+ @DocsEditable() |
+ String toString() => _blink.BlinkRange.toString_Callback(this); |
+ |
/** |
* Checks if createContextualFragment is supported. |
@@ -25875,41 +25194,6 @@ class Range extends NativeFieldWrapperClass2 { |
@DocsEditable() |
-@DomName('ReadableStream') |
-@Experimental() // untriaged |
-class ReadableStream extends NativeFieldWrapperClass2 { |
- // To suppress missing implicit constructor warnings. |
- factory ReadableStream._() { 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('RelatedEvent') |
-@Experimental() // untriaged |
-class RelatedEvent extends Event { |
- // To suppress missing implicit constructor warnings. |
- factory RelatedEvent._() { throw new UnsupportedError("Not supported"); } |
- |
- @DomName('RelatedEvent.relatedTarget') |
- @DocsEditable() |
- @Experimental() // untriaged |
- EventTarget get relatedTarget => _blink.BlinkRelatedEvent.relatedTarget_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 |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
- |
-@DocsEditable() |
@DomName('Request') |
@Experimental() // untriaged |
class Request extends NativeFieldWrapperClass2 { |
@@ -25918,40 +25202,29 @@ class Request extends NativeFieldWrapperClass2 { |
@DomName('Request.Request') |
@DocsEditable() |
- factory Request(input, [Map requestInitDict]) { |
- if ((requestInitDict is Map || requestInitDict == null) && (input is String || input == null)) { |
- return _blink.BlinkRequest.constructorCallback_DOMString_Dictionary(input, requestInitDict); |
- } |
- if ((requestInitDict is Map || requestInitDict == null) && (input is Request || input == null)) { |
- return _blink.BlinkRequest.constructorCallback_Request_Dictionary(input, requestInitDict); |
- } |
- throw new ArgumentError("Incorrect number or type of arguments"); |
+ factory Request([Map requestInitDict]) { |
+ return _blink.BlinkRequest.constructorCallback_Dictionary(requestInitDict); |
} |
- @DomName('Request.credentials') |
- @DocsEditable() |
- @Experimental() // untriaged |
- String get credentials => _blink.BlinkRequest.credentials_Getter(this); |
- |
@DomName('Request.headers') |
@DocsEditable() |
@Experimental() // untriaged |
- Headers get headers => _blink.BlinkRequest.headers_Getter(this); |
+ HeaderMap get headers => _blink.BlinkRequest.headers_Getter(this); |
- @DomName('Request.mode') |
+ @DomName('Request.origin') |
@DocsEditable() |
@Experimental() // untriaged |
- String get mode => _blink.BlinkRequest.mode_Getter(this); |
+ String get origin => _blink.BlinkRequest.origin_Getter(this); |
- @DomName('Request.referrer') |
+ @DomName('Request.url') |
@DocsEditable() |
@Experimental() // untriaged |
- String get referrer => _blink.BlinkRequest.referrer_Getter(this); |
+ String get url => _blink.BlinkRequest.url_Getter(this); |
@DomName('Request.url') |
@DocsEditable() |
@Experimental() // untriaged |
- String get url => _blink.BlinkRequest.url_Getter(this); |
+ void set url(String value) => _blink.BlinkRequest.url_Setter_DOMString(this, value); |
} |
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
@@ -25991,6 +25264,51 @@ class ResourceProgressEvent extends ProgressEvent { |
@DocsEditable() |
+@DomName('RsaHashedKeyAlgorithm') |
+@Experimental() // untriaged |
+class RsaHashedKeyAlgorithm extends RsaKeyAlgorithm { |
+ // To suppress missing implicit constructor warnings. |
+ factory RsaHashedKeyAlgorithm._() { throw new UnsupportedError("Not supported"); } |
+ |
+ @DomName('RsaHashedKeyAlgorithm.hash') |
+ @DocsEditable() |
+ @Experimental() // untriaged |
+ KeyAlgorithm get hash => _blink.BlinkRsaHashedKeyAlgorithm.hash_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 |
+// BSD-style license that can be found in the LICENSE file. |
+ |
+// WARNING: Do not edit - generated code. |
+ |
+ |
+@DocsEditable() |
+@DomName('RsaKeyAlgorithm') |
+@Experimental() // untriaged |
+class RsaKeyAlgorithm extends KeyAlgorithm { |
+ // To suppress missing implicit constructor warnings. |
+ factory RsaKeyAlgorithm._() { throw new UnsupportedError("Not supported"); } |
+ |
+ @DomName('RsaKeyAlgorithm.modulusLength') |
+ @DocsEditable() |
+ @Experimental() // untriaged |
+ int get modulusLength => _blink.BlinkRsaKeyAlgorithm.modulusLength_Getter(this); |
+ |
+ @DomName('RsaKeyAlgorithm.publicExponent') |
+ @DocsEditable() |
+ @Experimental() // untriaged |
+ Uint8List get publicExponent => _blink.BlinkRsaKeyAlgorithm.publicExponent_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 |
+// BSD-style license that can be found in the LICENSE file. |
+ |
+// WARNING: Do not edit - generated code. |
+ |
+ |
+@DocsEditable() |
@DomName('RTCDataChannel') |
// http://dev.w3.org/2011/webrtc/editor/webrtc.html#idl-def-RTCDataChannel |
@Experimental() |
@@ -26437,8 +25755,8 @@ class RtcPeerConnection extends EventTarget { |
@DomName('RTCPeerConnection.RTCPeerConnection') |
@DocsEditable() |
- factory RtcPeerConnection(Map rtcConfiguration, [Map mediaConstraints]) { |
- return _blink.BlinkRTCPeerConnection.constructorCallback_Dictionary_Dictionary(rtcConfiguration, mediaConstraints); |
+ factory RtcPeerConnection(Map rtcIceServers, [Map mediaConstraints]) { |
+ return _blink.BlinkRTCPeerConnection.constructorCallback_Dictionary_Dictionary(rtcIceServers, mediaConstraints); |
} |
@DomName('RTCPeerConnection.iceConnectionState') |
@@ -26487,7 +25805,7 @@ class RtcPeerConnection extends EventTarget { |
@DomName('RTCPeerConnection.createOffer') |
@DocsEditable() |
- void _createOffer(_RtcSessionDescriptionCallback successCallback, [_RtcErrorCallback failureCallback, Map rtcOfferOptions]) => _blink.BlinkRTCPeerConnection.createOffer_Callback_RTCSessionDescriptionCallback_RTCErrorCallback_Dictionary(this, successCallback, failureCallback, rtcOfferOptions); |
+ void _createOffer(_RtcSessionDescriptionCallback successCallback, [_RtcErrorCallback failureCallback, Map mediaConstraints]) => _blink.BlinkRTCPeerConnection.createOffer_Callback_RTCSessionDescriptionCallback_RTCErrorCallback_Dictionary(this, successCallback, failureCallback, mediaConstraints); |
@DomName('RTCPeerConnection.getLocalStreams') |
@DocsEditable() |
@@ -26731,7 +26049,7 @@ class Screen extends NativeFieldWrapperClass2 { |
@DomName('Screen.orientation') |
@DocsEditable() |
@Experimental() // untriaged |
- ScreenOrientation get orientation => _blink.BlinkScreen.orientation_Getter(this); |
+ String get orientation => _blink.BlinkScreen.orientation_Getter(this); |
@DomName('Screen.pixelDepth') |
@DocsEditable() |
@@ -26740,46 +26058,11 @@ class Screen extends NativeFieldWrapperClass2 { |
@DomName('Screen.width') |
@DocsEditable() |
int get width => _blink.BlinkScreen.width_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 |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
- |
-@DocsEditable() |
-@DomName('ScreenOrientation') |
-@Experimental() // untriaged |
-class ScreenOrientation extends EventTarget { |
- // To suppress missing implicit constructor warnings. |
- factory ScreenOrientation._() { throw new UnsupportedError("Not supported"); } |
- |
- @DomName('ScreenOrientation.changeEvent') |
- @DocsEditable() |
- @Experimental() // untriaged |
- static const EventStreamProvider<Event> changeEvent = const EventStreamProvider<Event>('change'); |
- @DomName('ScreenOrientation.angle') |
+ @DomName('Screen.unlockOrientation') |
@DocsEditable() |
@Experimental() // untriaged |
- int get angle => _blink.BlinkScreenOrientation.angle_Getter(this); |
- |
- @DomName('ScreenOrientation.type') |
- @DocsEditable() |
- @Experimental() // untriaged |
- String get type => _blink.BlinkScreenOrientation.type_Getter(this); |
- |
- @DomName('ScreenOrientation.unlock') |
- @DocsEditable() |
- @Experimental() // untriaged |
- void unlock() => _blink.BlinkScreenOrientation.unlock_Callback(this); |
- |
- @DomName('ScreenOrientation.onchange') |
- @DocsEditable() |
- @Experimental() // untriaged |
- Stream<Event> get onChange => changeEvent.forTarget(this); |
- |
+ void unlockOrientation() => _blink.BlinkScreen.unlockOrientation_Callback(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 |
@@ -27194,14 +26477,9 @@ class Selection extends NativeFieldWrapperClass2 { |
@Experimental() // non-standard |
void empty() => _blink.BlinkSelection.empty_Callback(this); |
- void extend(Node node, [int offset]) { |
- if (offset != null) { |
- _blink.BlinkSelection.extend_Callback_Node_long(this, node, offset); |
- return; |
- } |
- _blink.BlinkSelection.extend_Callback_Node(this, node); |
- return; |
- } |
+ @DomName('Selection.extend') |
+ @DocsEditable() |
+ void extend(Node node, int offset) => _blink.BlinkSelection.extend_Callback_Node_long(this, node, offset); |
@DomName('Selection.getRangeAt') |
@DocsEditable() |
@@ -27234,30 +26512,9 @@ class Selection extends NativeFieldWrapperClass2 { |
return; |
} |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for 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('ServiceWorkerClient') |
-@Experimental() // untriaged |
-class ServiceWorkerClient extends NativeFieldWrapperClass2 { |
- // To suppress missing implicit constructor warnings. |
- factory ServiceWorkerClient._() { throw new UnsupportedError("Not supported"); } |
- |
- @DomName('ServiceWorkerClient.id') |
- @DocsEditable() |
- @Experimental() // untriaged |
- int get id => _blink.BlinkServiceWorkerClient.id_Getter(this); |
- |
- @DomName('ServiceWorkerClient.postMessage') |
+ @DomName('Selection.toString') |
@DocsEditable() |
- @Experimental() // untriaged |
- void postMessage(/*SerializedScriptValue*/ message, [List<MessagePort> transfer]) => _blink.BlinkServiceWorkerClient.postMessage_Callback_SerializedScriptValue_SEQ_MessagePort_SEQ(this, message, transfer); |
+ String toString() => _blink.BlinkSelection.toString_Callback(this); |
} |
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
@@ -27334,11 +26591,6 @@ class ServiceWorkerGlobalScope extends WorkerGlobalScope { |
@Experimental() // untriaged |
ServiceWorkerClients get clients => _blink.BlinkServiceWorkerGlobalScope.clients_Getter(this); |
- @DomName('ServiceWorkerGlobalScope.nativeCaches') |
- @DocsEditable() |
- @Experimental() // untriaged |
- CacheStorage get nativeCaches => _blink.BlinkServiceWorkerGlobalScope.nativeCaches_Getter(this); |
- |
@DomName('ServiceWorkerGlobalScope.scope') |
@DocsEditable() |
@Experimental() // untriaged |
@@ -27358,41 +26610,6 @@ class ServiceWorkerGlobalScope extends WorkerGlobalScope { |
@DocsEditable() |
-@DomName('ServiceWorkerRegistration') |
-@Experimental() // untriaged |
-class ServiceWorkerRegistration extends EventTarget { |
- // To suppress missing implicit constructor warnings. |
- factory ServiceWorkerRegistration._() { throw new UnsupportedError("Not supported"); } |
- |
- @DomName('ServiceWorkerRegistration.active') |
- @DocsEditable() |
- @Experimental() // untriaged |
- _ServiceWorker get active => _blink.BlinkServiceWorkerRegistration.active_Getter(this); |
- |
- @DomName('ServiceWorkerRegistration.installing') |
- @DocsEditable() |
- @Experimental() // untriaged |
- _ServiceWorker get installing => _blink.BlinkServiceWorkerRegistration.installing_Getter(this); |
- |
- @DomName('ServiceWorkerRegistration.scope') |
- @DocsEditable() |
- @Experimental() // untriaged |
- String get scope => _blink.BlinkServiceWorkerRegistration.scope_Getter(this); |
- |
- @DomName('ServiceWorkerRegistration.waiting') |
- @DocsEditable() |
- @Experimental() // untriaged |
- _ServiceWorker get waiting => _blink.BlinkServiceWorkerRegistration.waiting_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 |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// WARNING: Do not edit - generated code. |
- |
- |
-@DocsEditable() |
@DomName('HTMLShadowElement') |
@SupportedBrowser(SupportedBrowser.CHROME, '26') |
@Experimental() |
@@ -30338,11 +29555,6 @@ class Touch extends NativeFieldWrapperClass2 { |
@DocsEditable() |
double get _clientY => _blink.BlinkTouch.clientY_Getter(this); |
- @DomName('Touch.force') |
- @DocsEditable() |
- @Experimental() // untriaged |
- double get force => _blink.BlinkTouch.force_Getter(this); |
- |
@DomName('Touch.identifier') |
@DocsEditable() |
int get identifier => _blink.BlinkTouch.identifier_Getter(this); |
@@ -30355,16 +29567,6 @@ class Touch extends NativeFieldWrapperClass2 { |
@DocsEditable() |
double get _pageY => _blink.BlinkTouch.pageY_Getter(this); |
- @DomName('Touch.radiusX') |
- @DocsEditable() |
- @Experimental() // untriaged |
- double get _radiusX => _blink.BlinkTouch.radiusX_Getter(this); |
- |
- @DomName('Touch.radiusY') |
- @DocsEditable() |
- @Experimental() // untriaged |
- double get _radiusY => _blink.BlinkTouch.radiusY_Getter(this); |
- |
@DomName('Touch.screenX') |
@DocsEditable() |
double get _screenX => _blink.BlinkTouch.screenX_Getter(this); |
@@ -30377,6 +29579,27 @@ class Touch extends NativeFieldWrapperClass2 { |
@DocsEditable() |
EventTarget get target => _blink.BlinkTouch.target_Getter(this); |
+ @DomName('Touch.webkitForce') |
+ @DocsEditable() |
+ @SupportedBrowser(SupportedBrowser.CHROME) |
+ @SupportedBrowser(SupportedBrowser.SAFARI) |
+ @Experimental() |
+ double get force => _blink.BlinkTouch.webkitForce_Getter(this); |
+ |
+ @DomName('Touch.webkitRadiusX') |
+ @DocsEditable() |
+ @SupportedBrowser(SupportedBrowser.CHROME) |
+ @SupportedBrowser(SupportedBrowser.SAFARI) |
+ @Experimental() |
+ double get _webkitRadiusX => _blink.BlinkTouch.webkitRadiusX_Getter(this); |
+ |
+ @DomName('Touch.webkitRadiusY') |
+ @DocsEditable() |
+ @SupportedBrowser(SupportedBrowser.CHROME) |
+ @SupportedBrowser(SupportedBrowser.SAFARI) |
+ @Experimental() |
+ double get _webkitRadiusY => _blink.BlinkTouch.webkitRadiusY_Getter(this); |
+ |
@DomName('Touch.webkitRotationAngle') |
@DocsEditable() |
@SupportedBrowser(SupportedBrowser.CHROME) |
@@ -30393,8 +29616,8 @@ class Touch extends NativeFieldWrapperClass2 { |
int get __screenY => _blink.BlinkTouch.screenY_Getter(this).round(); |
int get __pageX => _blink.BlinkTouch.pageX_Getter(this).round(); |
int get __pageY => _blink.BlinkTouch.pageY_Getter(this).round(); |
- int get __radiusX => _blink.BlinkTouch.radiusX_Getter(this).round(); |
- int get __radiusY => _blink.BlinkTouch.radiusY_Getter(this).round(); |
+ int get __webkitRadiusX => _blink.BlinkTouch.webkitRadiusX_Getter(this).round(); |
+ int get __webkitRadiusY => _blink.BlinkTouch.webkitRadiusY_Getter(this).round(); |
@DomName('Touch.clientX') |
@DomName('Touch.clientY') |
@@ -30408,19 +29631,19 @@ class Touch extends NativeFieldWrapperClass2 { |
@DomName('Touch.screenY') |
Point get screen => new Point(__screenX, __screenY); |
- @DomName('Touch.radiusX') |
+ @DomName('Touch.webkitRadiusX') |
@DocsEditable() |
@SupportedBrowser(SupportedBrowser.CHROME) |
@SupportedBrowser(SupportedBrowser.SAFARI) |
@Experimental() |
- int get radiusX => __radiusX; |
+ int get radiusX => __webkitRadiusX; |
- @DomName('Touch.radiusY') |
+ @DomName('Touch.webkitRadiusY') |
@DocsEditable() |
@SupportedBrowser(SupportedBrowser.CHROME) |
@SupportedBrowser(SupportedBrowser.SAFARI) |
@Experimental() |
- int get radiusY => __radiusY; |
+ int get radiusY => __webkitRadiusY; |
} |
// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
@@ -30931,12 +30154,12 @@ class Url extends NativeFieldWrapperClass2 implements UrlUtils { |
if ((blob_OR_source_OR_stream is Blob || blob_OR_source_OR_stream == null)) { |
return _blink.BlinkURL.createObjectURL_Callback_Blob(blob_OR_source_OR_stream); |
} |
- if ((blob_OR_source_OR_stream is MediaSource)) { |
- return _blink.BlinkURL.createObjectURL_Callback_MediaSource(blob_OR_source_OR_stream); |
- } |
if ((blob_OR_source_OR_stream is MediaStream)) { |
return _blink.BlinkURL.createObjectURL_Callback_MediaStream(blob_OR_source_OR_stream); |
} |
+ if ((blob_OR_source_OR_stream is MediaSource)) { |
+ return _blink.BlinkURL.createObjectURL_Callback_MediaSource(blob_OR_source_OR_stream); |
+ } |
throw new ArgumentError("Incorrect number or type of arguments"); |
} |
@@ -31226,11 +30449,6 @@ abstract class UrlUtilsReadOnly extends NativeFieldWrapperClass2 { |
@Experimental() // untriaged |
String get href => _blink.BlinkURLUtilsReadOnly.href_Getter(this); |
- @DomName('URLUtilsReadOnly.origin') |
- @DocsEditable() |
- @Experimental() // untriaged |
- String get origin => _blink.BlinkURLUtilsReadOnly.origin_Getter(this); |
- |
@DomName('URLUtilsReadOnly.pathname') |
@DocsEditable() |
@Experimental() // untriaged |
@@ -31872,6 +31090,9 @@ class WebSocket extends EventTarget { |
@DomName('WebSocket.WebSocket') |
@DocsEditable() |
factory WebSocket(String url, [protocol_OR_protocols]) { |
+ if ((url is String || url == null) && protocol_OR_protocols == null) { |
+ return _blink.BlinkWebSocket.constructorCallback_DOMString(url); |
+ } |
if ((protocol_OR_protocols is String || protocol_OR_protocols == null) && (url is String || url == null)) { |
return _blink.BlinkWebSocket.constructorCallback_DOMString_DOMString(url, protocol_OR_protocols); |
} |
@@ -32030,6 +31251,9 @@ class WheelEvent extends MouseEvent { |
event._initMouseEvent(type, canBubble, cancelable, view, detail, |
screenX, screenY, clientX, clientY, ctrlKey, altKey, shiftKey, |
metaKey, button, relatedTarget); |
+ event._initWebKitWheelEvent(deltaX, deltaY, |
+ view, screenX, screenY, clientX, clientY, ctrlKey, altKey, shiftKey, |
+ metaKey); |
return event; |
} |
@@ -32068,6 +31292,13 @@ class WheelEvent extends MouseEvent { |
@Experimental() // untriaged |
double get deltaZ => _blink.BlinkWheelEvent.deltaZ_Getter(this); |
+ @DomName('WheelEvent.webkitDirectionInvertedFromDevice') |
+ @DocsEditable() |
+ @SupportedBrowser(SupportedBrowser.CHROME) |
+ @SupportedBrowser(SupportedBrowser.SAFARI) |
+ @Experimental() |
+ bool get directionInvertedFromDevice => _blink.BlinkWheelEvent.webkitDirectionInvertedFromDevice_Getter(this); |
+ |
@DomName('WheelEvent.wheelDeltaX') |
@DocsEditable() |
@Experimental() // non-standard |
@@ -32078,6 +31309,11 @@ class WheelEvent extends MouseEvent { |
@Experimental() // non-standard |
int get wheelDeltaY => _blink.BlinkWheelEvent.wheelDeltaY_Getter(this); |
+ @DomName('WheelEvent.initWebKitWheelEvent') |
+ @DocsEditable() |
+ @Experimental() |
+ void _initWebKitWheelEvent(int wheelDeltaX, int wheelDeltaY, Window view, int screenX, int screenY, int clientX, int clientY, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey) => _blink.BlinkWheelEvent.initWebKitWheelEvent_Callback_long_long_Window_long_long_long_long_boolean_boolean_boolean_boolean(this, wheelDeltaX, wheelDeltaY, view, screenX, screenY, clientX, clientY, ctrlKey, altKey, shiftKey, metaKey); |
+ |
/** |
* The amount that is expected to scroll horizontally, in units determined by |
@@ -32200,8 +31436,46 @@ class Window extends EventTarget implements WindowEventHandlers, WindowBase, Glo |
} |
/** |
- * convertPointFromNodeToPage and convertPointFromPageToNode are removed. |
- * see http://dev.w3.org/csswg/cssom-view/#geometry |
+ * Converts a point from node coordinates to this window's coordinates. |
+ * |
+ * ## Other resources |
+ * |
+ * * [webkitConvertPointFromPageToNode] |
+ * (https://developer.apple.com/library/safari/documentation/DataManagement/Reference/DOMWindowAdditionsReference/DOMWindowAdditions/DOMWindowAdditions.html#//apple_ref/javascript/instm/DOMWindow/webkitConvertPointFromNodeToPage) |
+ * from Safari Development Library. |
+ */ |
+ @DomName('Window.convertPointFromNodeToPage') |
+ @SupportedBrowser(SupportedBrowser.CHROME) |
+ @SupportedBrowser(SupportedBrowser.SAFARI) |
+ @Experimental() |
+ Point convertPointFromNodeToPage(Node node, Point point) { |
+ var result = _convertPointFromNodeToPage(node, |
+ new _DomPoint(point.x, point.y)); |
+ return new Point(result.x, result.y); |
+ } |
+ |
+ /** |
+ * Converts a point from this window's coordinates to node coordinates. |
+ * |
+ * ## Other resources |
+ * |
+ * * [webkitConvertPointFromPageToNode] |
+ * (https://developer.apple.com/library/safari/documentation/DataManagement/Reference/DOMWindowAdditionsReference/DOMWindowAdditions/DOMWindowAdditions.html#//apple_ref/javascript/instm/DOMWindow/webkitConvertPointFromPageToNode) |
+ * from Safari Development Library. |
+ */ |
+ @DomName('Window.convertPointFromPageToNode') |
+ @SupportedBrowser(SupportedBrowser.CHROME) |
+ @SupportedBrowser(SupportedBrowser.SAFARI) |
+ @Experimental() |
+ Point convertPointFromPageToNode(Node node, Point point) { |
+ var result = _convertPointFromPageToNode(node, |
+ new _DomPoint(point.x, point.y)); |
+ return new Point(result.x, result.y); |
+ } |
+ |
+ /** |
+ * Checks whether [convertPointFromNodeToPage] and |
+ * [convertPointFromPageToNode] are supported on the current platform. |
*/ |
static bool get supportsPointConversions => _DomPoint.supported; |
// To suppress missing implicit constructor warnings. |
@@ -33066,7 +32340,7 @@ class Window extends EventTarget implements WindowEventHandlers, WindowBase, Glo |
@DomName('Window.postMessage') |
@DocsEditable() |
- void postMessage(/*SerializedScriptValue*/ message, String targetOrigin, [List<MessagePort> transfer]) => _blink.BlinkWindow.postMessage_Callback_SerializedScriptValue_DOMString_SEQ_MessagePort_SEQ(this, message, targetOrigin, transfer); |
+ void postMessage(/*SerializedScriptValue*/ message, String targetOrigin, [List<MessagePort> messagePorts]) => _blink.BlinkWindow.postMessage_Callback_SerializedScriptValue_DOMString_A_MessagePort_A(this, message, targetOrigin, messagePorts); |
/** |
* Opens the print dialog for this window. |
@@ -33174,6 +32448,26 @@ class Window extends EventTarget implements WindowEventHandlers, WindowBase, Glo |
@DocsEditable() |
void stop() => _blink.BlinkWindow.stop_Callback(this); |
+ @DomName('Window.toString') |
+ @DocsEditable() |
+ String toString() => _blink.BlinkWindow.toString_Callback(this); |
+ |
+ @DomName('Window.webkitConvertPointFromNodeToPage') |
+ @DocsEditable() |
+ @SupportedBrowser(SupportedBrowser.CHROME) |
+ @SupportedBrowser(SupportedBrowser.SAFARI) |
+ @Experimental() |
+ // http://developer.apple.com/library/safari/#documentation/DataManagement/Reference/DOMWindowAdditionsReference/DOMWindowAdditions/DOMWindowAdditions.html |
+ _DomPoint _convertPointFromNodeToPage(Node node, _DomPoint p) => _blink.BlinkWindow.webkitConvertPointFromNodeToPage_Callback_Node_WebKitPoint(this, node, p); |
+ |
+ @DomName('Window.webkitConvertPointFromPageToNode') |
+ @DocsEditable() |
+ @SupportedBrowser(SupportedBrowser.CHROME) |
+ @SupportedBrowser(SupportedBrowser.SAFARI) |
+ @Experimental() |
+ // http://developer.apple.com/library/safari/#documentation/DataManagement/Reference/DOMWindowAdditionsReference/DOMWindowAdditions/DOMWindowAdditions.html |
+ _DomPoint _convertPointFromPageToNode(Node node, _DomPoint p) => _blink.BlinkWindow.webkitConvertPointFromPageToNode_Callback_Node_WebKitPoint(this, node, p); |
+ |
@DomName('Window.webkitRequestFileSystem') |
@DocsEditable() |
@SupportedBrowser(SupportedBrowser.CHROME) |
@@ -33827,7 +33121,7 @@ class Worker extends EventTarget implements AbstractWorker { |
@DomName('Worker.postMessage') |
@DocsEditable() |
- void postMessage(/*SerializedScriptValue*/ message, [List<MessagePort> transfer]) => _blink.BlinkWorker.postMessage_Callback_SerializedScriptValue_SEQ_MessagePort_SEQ(this, message, transfer); |
+ void postMessage(/*SerializedScriptValue*/ message, [List<MessagePort> messagePorts]) => _blink.BlinkWorker.postMessage_Callback_SerializedScriptValue_A_MessagePort_A(this, message, messagePorts); |
@DomName('Worker.terminate') |
@DocsEditable() |
@@ -34427,21 +33721,6 @@ abstract class _CSSValue extends NativeFieldWrapperClass2 { |
@DocsEditable() |
-@DomName('Cache') |
-@Experimental() // untriaged |
-abstract class _Cache extends NativeFieldWrapperClass2 { |
- // To suppress missing implicit constructor warnings. |
- factory _Cache._() { 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('CanvasPathMethods') |
@Experimental() // untriaged |
abstract class _CanvasPathMethods extends NativeFieldWrapperClass2 { |
@@ -34970,67 +34249,6 @@ class _DomPoint extends NativeFieldWrapperClass2 { |
@DocsEditable() |
-@DomName('DOMRect') |
-@Experimental() // untriaged |
-class _DomRect extends DomRectReadOnly { |
- // To suppress missing implicit constructor warnings. |
- factory _DomRect._() { throw new UnsupportedError("Not supported"); } |
- |
- @DomName('DOMRect.DOMRect') |
- @DocsEditable() |
- factory _DomRect([num x, num y, num width, num height]) { |
- return _blink.BlinkDOMRect.constructorCallback_double_double_double_double(x, y, width, height); |
- } |
- |
- @DomName('DOMRect.height') |
- @DocsEditable() |
- @Experimental() // untriaged |
- num get height => _blink.BlinkDOMRect.height_Getter(this); |
- |
- @DomName('DOMRect.height') |
- @DocsEditable() |
- @Experimental() // untriaged |
- void set height(num value) => _blink.BlinkDOMRect.height_Setter_double(this, value); |
- |
- @DomName('DOMRect.width') |
- @DocsEditable() |
- @Experimental() // untriaged |
- num get width => _blink.BlinkDOMRect.width_Getter(this); |
- |
- @DomName('DOMRect.width') |
- @DocsEditable() |
- @Experimental() // untriaged |
- void set width(num value) => _blink.BlinkDOMRect.width_Setter_double(this, value); |
- |
- @DomName('DOMRect.x') |
- @DocsEditable() |
- @Experimental() // untriaged |
- num get x => _blink.BlinkDOMRect.x_Getter(this); |
- |
- @DomName('DOMRect.x') |
- @DocsEditable() |
- @Experimental() // untriaged |
- void set x(num value) => _blink.BlinkDOMRect.x_Setter_double(this, value); |
- |
- @DomName('DOMRect.y') |
- @DocsEditable() |
- @Experimental() // untriaged |
- num get y => _blink.BlinkDOMRect.y_Getter(this); |
- |
- @DomName('DOMRect.y') |
- @DocsEditable() |
- @Experimental() // untriaged |
- void set y(num value) => _blink.BlinkDOMRect.y_Setter_double(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('EntrySync') |
// http://www.w3.org/TR/file-system-api/#idl-def-EntrySync |
@Experimental() |
@@ -35525,14 +34743,8 @@ abstract class _Response extends NativeFieldWrapperClass2 { |
@DomName('Response.Response') |
@DocsEditable() |
- factory _Response(body, [Map responseInitDict]) { |
- if ((responseInitDict is Map || responseInitDict == null) && (body is String || body == null)) { |
- return _blink.BlinkResponse.constructorCallback_DOMString_Dictionary(body, responseInitDict); |
- } |
- if ((responseInitDict is Map || responseInitDict == null) && (body is Blob || body == null)) { |
- return _blink.BlinkResponse.constructorCallback_Blob_Dictionary(body, responseInitDict); |
- } |
- throw new ArgumentError("Incorrect number or type of arguments"); |
+ factory _Response(Blob body, [Map responseInitDict]) { |
+ return _blink.BlinkResponse.constructorCallback_Blob_Dictionary(body, responseInitDict); |
} |
} |
@@ -40018,10 +39230,11 @@ class KeyEvent extends _WrappedEvent implements KeyboardEvent { |
{Window view, bool canBubble: true, bool cancelable: true, int keyCode: 0, |
int charCode: 0, int keyLocation: 1, bool ctrlKey: false, |
bool altKey: false, bool shiftKey: false, bool metaKey: false, |
- EventTarget currentTarget}) { |
+ bool altGraphKey: false, EventTarget currentTarget}) { |
var parent = new KeyboardEvent(type, view: view, canBubble: canBubble, |
cancelable: cancelable, keyLocation: keyLocation, ctrlKey: ctrlKey, |
- altKey: altKey, shiftKey: shiftKey, metaKey: metaKey); |
+ altKey: altKey, shiftKey: shiftKey, metaKey: metaKey, altGraphKey: |
+ altGraphKey); |
var keyEvent = new KeyEvent.wrap(parent); |
keyEvent._shadowAltKey = altKey; |
keyEvent._shadowCharCode = charCode; |
@@ -40043,6 +39256,8 @@ class KeyEvent extends _WrappedEvent implements KeyboardEvent { |
/** The currently registered target for this event. */ |
EventTarget get currentTarget => _currentTarget; |
+ /** True if the altGraphKey is pressed during this event. */ |
+ bool get altGraphKey => _parent.altGraphKey; |
/** Accessor to the clipboardData available for this event. */ |
DataTransfer get clipboardData => _parent.clipboardData; |
/** True if the ctrl key is pressed during this event. */ |
@@ -40074,7 +39289,8 @@ class KeyEvent extends _WrappedEvent implements KeyboardEvent { |
} |
void _initKeyboardEvent(String type, bool canBubble, bool cancelable, |
Window view, String keyIdentifier, int keyLocation, bool ctrlKey, |
- bool altKey, bool shiftKey, bool metaKey) { |
+ bool altKey, bool shiftKey, bool metaKey, |
+ bool altGraphKey) { |
throw new UnsupportedError( |
"Cannot initialize a KeyboardEvent from a KeyEvent."); |
} |