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

Unified Diff: sdk/lib/html/dartium/html_dartium.dart

Issue 1234273003: - Update _blink library using dart:js instead of native keyword (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Enable --gen-interop Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
Download patch
« no previous file with comments | « no previous file | sdk/lib/indexed_db/dartium/indexed_db_dartium.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 e612c4518e75ea8b33c3e73cde6a2f7a16a8b147..ec6bfc47345af699d0e88bc7469a5cfacccec243 100644
--- a/sdk/lib/html/dartium/html_dartium.dart
+++ b/sdk/lib/html/dartium/html_dartium.dart
@@ -89,7 +89,7 @@ Window get window {
if (_window != null) {
return _window;
}
- _window = _Utils.window();
+ _window = wrap_jso(js.context['window']);
return _window;
}
@@ -620,10 +620,583 @@ Type _getSvgType(String key) {
}
-unwrap_jso(dartClass_instance) => dartClass_instance;
-wrap_jso(jsObject) => jsObject;
-wrap_jso_list(jso_nodes) => jso_nodes;
-make_dart_rectangle(r) => r;
+// FIXME: Can we make this private?
+final htmlBlinkFunctionMap = {
+ 'AbstractWorker': () => AbstractWorker.internalCreateAbstractWorker,
+ 'Animation': () => Animation.internalCreateAnimation,
+ 'AnimationEffect': () => AnimationEffect.internalCreateAnimationEffect,
+ 'AnimationNode': () => AnimationNode.internalCreateAnimationNode,
+ 'AnimationPlayer': () => AnimationPlayer.internalCreateAnimationPlayer,
+ 'AnimationPlayerEvent': () => AnimationPlayerEvent.internalCreateAnimationPlayerEvent,
+ 'AnimationTimeline': () => AnimationTimeline.internalCreateAnimationTimeline,
+ 'ApplicationCache': () => ApplicationCache.internalCreateApplicationCache,
+ 'ApplicationCacheErrorEvent': () => ApplicationCacheErrorEvent.internalCreateApplicationCacheErrorEvent,
+ 'Attr': () => _Attr.internalCreate_Attr,
+ 'AudioTrack': () => AudioTrack.internalCreateAudioTrack,
+ 'AudioTrackList': () => AudioTrackList.internalCreateAudioTrackList,
+ 'AutocompleteErrorEvent': () => AutocompleteErrorEvent.internalCreateAutocompleteErrorEvent,
+ 'BarProp': () => BarProp.internalCreateBarProp,
+ 'BatteryManager': () => BatteryManager.internalCreateBatteryManager,
+ 'BeforeUnloadEvent': () => BeforeUnloadEvent.internalCreateBeforeUnloadEvent,
+ 'Blob': () => Blob.internalCreateBlob,
+ 'Body': () => Body.internalCreateBody,
+ 'CDATASection': () => CDataSection.internalCreateCDataSection,
+ 'CSS': () => Css.internalCreateCss,
+ 'CSSCharsetRule': () => CssCharsetRule.internalCreateCssCharsetRule,
+ 'CSSFontFaceRule': () => CssFontFaceRule.internalCreateCssFontFaceRule,
+ 'CSSImportRule': () => CssImportRule.internalCreateCssImportRule,
+ 'CSSKeyframeRule': () => CssKeyframeRule.internalCreateCssKeyframeRule,
+ 'CSSKeyframesRule': () => CssKeyframesRule.internalCreateCssKeyframesRule,
+ 'CSSMediaRule': () => CssMediaRule.internalCreateCssMediaRule,
+ 'CSSPageRule': () => CssPageRule.internalCreateCssPageRule,
+ 'CSSPrimitiveValue': () => _CSSPrimitiveValue.internalCreate_CSSPrimitiveValue,
+ 'CSSRule': () => CssRule.internalCreateCssRule,
+ 'CSSRuleList': () => _CssRuleList.internalCreate_CssRuleList,
+ 'CSSStyleDeclaration': () => CssStyleDeclaration.internalCreateCssStyleDeclaration,
+ 'CSSStyleRule': () => CssStyleRule.internalCreateCssStyleRule,
+ 'CSSStyleSheet': () => CssStyleSheet.internalCreateCssStyleSheet,
+ 'CSSSupportsRule': () => CssSupportsRule.internalCreateCssSupportsRule,
+ 'CSSUnknownRule': () => _CSSUnknownRule.internalCreate_CSSUnknownRule,
+ 'CSSValue': () => _CSSValue.internalCreate_CSSValue,
+ 'CSSValueList': () => _CssValueList.internalCreate_CssValueList,
+ 'CSSViewportRule': () => CssViewportRule.internalCreateCssViewportRule,
+ 'Cache': () => _Cache.internalCreate_Cache,
+ 'CacheStorage': () => CacheStorage.internalCreateCacheStorage,
+ 'Canvas2DContextAttributes': () => Canvas2DContextAttributes.internalCreateCanvas2DContextAttributes,
+ 'CanvasGradient': () => CanvasGradient.internalCreateCanvasGradient,
+ 'CanvasPathMethods': () => _CanvasPathMethods.internalCreate_CanvasPathMethods,
+ 'CanvasPattern': () => CanvasPattern.internalCreateCanvasPattern,
+ 'CanvasRenderingContext2D': () => CanvasRenderingContext2D.internalCreateCanvasRenderingContext2D,
+ 'CharacterData': () => CharacterData.internalCreateCharacterData,
+ 'ChildNode': () => ChildNode.internalCreateChildNode,
+ 'CircularGeofencingRegion': () => CircularGeofencingRegion.internalCreateCircularGeofencingRegion,
+ 'ClientRect': () => _ClientRect.internalCreate_ClientRect,
+ 'ClientRectList': () => _ClientRectList.internalCreate_ClientRectList,
+ 'CloseEvent': () => CloseEvent.internalCreateCloseEvent,
+ 'Comment': () => Comment.internalCreateComment,
+ 'CompositionEvent': () => CompositionEvent.internalCreateCompositionEvent,
+ 'Console': () => Console.internalCreateConsole,
+ 'ConsoleBase': () => ConsoleBase.internalCreateConsoleBase,
+ 'Coordinates': () => Coordinates.internalCreateCoordinates,
+ 'Counter': () => _Counter.internalCreate_Counter,
+ 'Credential': () => Credential.internalCreateCredential,
+ 'CredentialsContainer': () => CredentialsContainer.internalCreateCredentialsContainer,
+ 'Crypto': () => Crypto.internalCreateCrypto,
+ 'CryptoKey': () => CryptoKey.internalCreateCryptoKey,
+ 'CustomEvent': () => CustomEvent.internalCreateCustomEvent,
+ 'DOMError': () => DomError.internalCreateDomError,
+ 'DOMException': () => DomException.internalCreateDomException,
+ 'DOMFileSystem': () => FileSystem.internalCreateFileSystem,
+ 'DOMFileSystemSync': () => _DOMFileSystemSync.internalCreate_DOMFileSystemSync,
+ 'DOMImplementation': () => DomImplementation.internalCreateDomImplementation,
+ 'DOMMatrix': () => DomMatrix.internalCreateDomMatrix,
+ 'DOMMatrixReadOnly': () => DomMatrixReadOnly.internalCreateDomMatrixReadOnly,
+ 'DOMParser': () => DomParser.internalCreateDomParser,
+ 'DOMPoint': () => DomPoint.internalCreateDomPoint,
+ 'DOMPointReadOnly': () => DomPointReadOnly.internalCreateDomPointReadOnly,
+ 'DOMRect': () => _DomRect.internalCreate_DomRect,
+ 'DOMRectReadOnly': () => DomRectReadOnly.internalCreateDomRectReadOnly,
+ 'DOMSettableTokenList': () => DomSettableTokenList.internalCreateDomSettableTokenList,
+ 'DOMStringList': () => DomStringList.internalCreateDomStringList,
+ 'DOMStringMap': () => DomStringMap.internalCreateDomStringMap,
+ 'DOMTokenList': () => DomTokenList.internalCreateDomTokenList,
+ 'DataTransfer': () => DataTransfer.internalCreateDataTransfer,
+ 'DataTransferItem': () => DataTransferItem.internalCreateDataTransferItem,
+ 'DataTransferItemList': () => DataTransferItemList.internalCreateDataTransferItemList,
+ 'DedicatedWorkerGlobalScope': () => DedicatedWorkerGlobalScope.internalCreateDedicatedWorkerGlobalScope,
+ 'DeprecatedStorageInfo': () => DeprecatedStorageInfo.internalCreateDeprecatedStorageInfo,
+ 'DeprecatedStorageQuota': () => DeprecatedStorageQuota.internalCreateDeprecatedStorageQuota,
+ 'DeviceAcceleration': () => DeviceAcceleration.internalCreateDeviceAcceleration,
+ 'DeviceLightEvent': () => DeviceLightEvent.internalCreateDeviceLightEvent,
+ 'DeviceMotionEvent': () => DeviceMotionEvent.internalCreateDeviceMotionEvent,
+ 'DeviceOrientationEvent': () => DeviceOrientationEvent.internalCreateDeviceOrientationEvent,
+ 'DeviceRotationRate': () => DeviceRotationRate.internalCreateDeviceRotationRate,
+ 'DirectoryEntry': () => DirectoryEntry.internalCreateDirectoryEntry,
+ 'DirectoryEntrySync': () => _DirectoryEntrySync.internalCreate_DirectoryEntrySync,
+ 'DirectoryReader': () => DirectoryReader.internalCreateDirectoryReader,
+ 'DirectoryReaderSync': () => _DirectoryReaderSync.internalCreate_DirectoryReaderSync,
+ 'Document': () => Document.internalCreateDocument,
+ 'DocumentFragment': () => DocumentFragment.internalCreateDocumentFragment,
+ 'DocumentType': () => _DocumentType.internalCreate_DocumentType,
+ 'Element': () => Element.internalCreateElement,
+ 'Entry': () => Entry.internalCreateEntry,
+ 'EntrySync': () => _EntrySync.internalCreate_EntrySync,
+ 'ErrorEvent': () => ErrorEvent.internalCreateErrorEvent,
+ 'Event': () => Event.internalCreateEvent,
+ 'EventSource': () => EventSource.internalCreateEventSource,
+ 'EventTarget': () => EventTarget.internalCreateEventTarget,
+ 'ExtendableEvent': () => ExtendableEvent.internalCreateExtendableEvent,
+ 'FederatedCredential': () => FederatedCredential.internalCreateFederatedCredential,
+ 'FetchEvent': () => FetchEvent.internalCreateFetchEvent,
+ 'File': () => File.internalCreateFile,
+ 'FileEntry': () => FileEntry.internalCreateFileEntry,
+ 'FileEntrySync': () => _FileEntrySync.internalCreate_FileEntrySync,
+ 'FileError': () => FileError.internalCreateFileError,
+ 'FileList': () => FileList.internalCreateFileList,
+ 'FileReader': () => FileReader.internalCreateFileReader,
+ 'FileReaderSync': () => _FileReaderSync.internalCreate_FileReaderSync,
+ 'FileWriter': () => FileWriter.internalCreateFileWriter,
+ 'FileWriterSync': () => _FileWriterSync.internalCreate_FileWriterSync,
+ 'FocusEvent': () => FocusEvent.internalCreateFocusEvent,
+ 'FontFace': () => FontFace.internalCreateFontFace,
+ 'FontFaceSet': () => FontFaceSet.internalCreateFontFaceSet,
+ 'FontFaceSetLoadEvent': () => FontFaceSetLoadEvent.internalCreateFontFaceSetLoadEvent,
+ 'FormData': () => FormData.internalCreateFormData,
+ 'Gamepad': () => Gamepad.internalCreateGamepad,
+ 'GamepadButton': () => GamepadButton.internalCreateGamepadButton,
+ 'GamepadEvent': () => GamepadEvent.internalCreateGamepadEvent,
+ 'GamepadList': () => _GamepadList.internalCreate_GamepadList,
+ 'Geofencing': () => Geofencing.internalCreateGeofencing,
+ 'GeofencingRegion': () => GeofencingRegion.internalCreateGeofencingRegion,
+ 'Geolocation': () => Geolocation.internalCreateGeolocation,
+ 'Geoposition': () => Geoposition.internalCreateGeoposition,
+ 'GlobalEventHandlers': () => GlobalEventHandlers.internalCreateGlobalEventHandlers,
+ 'HTMLAllCollection': () => _HTMLAllCollection.internalCreate_HTMLAllCollection,
+ 'HTMLAnchorElement': () => AnchorElement.internalCreateAnchorElement,
+ 'HTMLAppletElement': () => _HTMLAppletElement.internalCreate_HTMLAppletElement,
+ 'HTMLAreaElement': () => AreaElement.internalCreateAreaElement,
+ 'HTMLAudioElement': () => AudioElement.internalCreateAudioElement,
+ 'HTMLBRElement': () => BRElement.internalCreateBRElement,
+ 'HTMLBaseElement': () => BaseElement.internalCreateBaseElement,
+ 'HTMLBodyElement': () => BodyElement.internalCreateBodyElement,
+ 'HTMLButtonElement': () => ButtonElement.internalCreateButtonElement,
+ 'HTMLCanvasElement': () => CanvasElement.internalCreateCanvasElement,
+ 'HTMLCollection': () => HtmlCollection.internalCreateHtmlCollection,
+ 'HTMLContentElement': () => ContentElement.internalCreateContentElement,
+ 'HTMLDListElement': () => DListElement.internalCreateDListElement,
+ 'HTMLDataListElement': () => DataListElement.internalCreateDataListElement,
+ 'HTMLDetailsElement': () => DetailsElement.internalCreateDetailsElement,
+ 'HTMLDialogElement': () => DialogElement.internalCreateDialogElement,
+ 'HTMLDirectoryElement': () => _HTMLDirectoryElement.internalCreate_HTMLDirectoryElement,
+ 'HTMLDivElement': () => DivElement.internalCreateDivElement,
+ 'HTMLDocument': () => HtmlDocument.internalCreateHtmlDocument,
+ 'HTMLElement': () => HtmlElement.internalCreateHtmlElement,
+ 'HTMLEmbedElement': () => EmbedElement.internalCreateEmbedElement,
+ 'HTMLFieldSetElement': () => FieldSetElement.internalCreateFieldSetElement,
+ 'HTMLFontElement': () => _HTMLFontElement.internalCreate_HTMLFontElement,
+ 'HTMLFormControlsCollection': () => HtmlFormControlsCollection.internalCreateHtmlFormControlsCollection,
+ 'HTMLFormElement': () => FormElement.internalCreateFormElement,
+ 'HTMLFrameElement': () => _HTMLFrameElement.internalCreate_HTMLFrameElement,
+ 'HTMLFrameSetElement': () => _HTMLFrameSetElement.internalCreate_HTMLFrameSetElement,
+ 'HTMLHRElement': () => HRElement.internalCreateHRElement,
+ 'HTMLHeadElement': () => HeadElement.internalCreateHeadElement,
+ 'HTMLHeadingElement': () => HeadingElement.internalCreateHeadingElement,
+ 'HTMLHtmlElement': () => HtmlHtmlElement.internalCreateHtmlHtmlElement,
+ 'HTMLIFrameElement': () => IFrameElement.internalCreateIFrameElement,
+ 'HTMLImageElement': () => ImageElement.internalCreateImageElement,
+ 'HTMLInputElement': () => InputElement.internalCreateInputElement,
+ 'HTMLKeygenElement': () => KeygenElement.internalCreateKeygenElement,
+ 'HTMLLIElement': () => LIElement.internalCreateLIElement,
+ 'HTMLLabelElement': () => LabelElement.internalCreateLabelElement,
+ 'HTMLLegendElement': () => LegendElement.internalCreateLegendElement,
+ 'HTMLLinkElement': () => LinkElement.internalCreateLinkElement,
+ 'HTMLMapElement': () => MapElement.internalCreateMapElement,
+ 'HTMLMarqueeElement': () => _HTMLMarqueeElement.internalCreate_HTMLMarqueeElement,
+ 'HTMLMediaElement': () => MediaElement.internalCreateMediaElement,
+ 'HTMLMenuElement': () => MenuElement.internalCreateMenuElement,
+ 'HTMLMenuItemElement': () => MenuItemElement.internalCreateMenuItemElement,
+ 'HTMLMetaElement': () => MetaElement.internalCreateMetaElement,
+ 'HTMLMeterElement': () => MeterElement.internalCreateMeterElement,
+ 'HTMLModElement': () => ModElement.internalCreateModElement,
+ 'HTMLOListElement': () => OListElement.internalCreateOListElement,
+ 'HTMLObjectElement': () => ObjectElement.internalCreateObjectElement,
+ 'HTMLOptGroupElement': () => OptGroupElement.internalCreateOptGroupElement,
+ 'HTMLOptionElement': () => OptionElement.internalCreateOptionElement,
+ 'HTMLOptionsCollection': () => HtmlOptionsCollection.internalCreateHtmlOptionsCollection,
+ 'HTMLOutputElement': () => OutputElement.internalCreateOutputElement,
+ 'HTMLParagraphElement': () => ParagraphElement.internalCreateParagraphElement,
+ 'HTMLParamElement': () => ParamElement.internalCreateParamElement,
+ 'HTMLPictureElement': () => PictureElement.internalCreatePictureElement,
+ 'HTMLPreElement': () => PreElement.internalCreatePreElement,
+ 'HTMLProgressElement': () => ProgressElement.internalCreateProgressElement,
+ 'HTMLQuoteElement': () => QuoteElement.internalCreateQuoteElement,
+ 'HTMLScriptElement': () => ScriptElement.internalCreateScriptElement,
+ 'HTMLSelectElement': () => SelectElement.internalCreateSelectElement,
+ 'HTMLShadowElement': () => ShadowElement.internalCreateShadowElement,
+ 'HTMLSourceElement': () => SourceElement.internalCreateSourceElement,
+ 'HTMLSpanElement': () => SpanElement.internalCreateSpanElement,
+ 'HTMLStyleElement': () => StyleElement.internalCreateStyleElement,
+ 'HTMLTableCaptionElement': () => TableCaptionElement.internalCreateTableCaptionElement,
+ 'HTMLTableCellElement': () => TableCellElement.internalCreateTableCellElement,
+ 'HTMLTableColElement': () => TableColElement.internalCreateTableColElement,
+ 'HTMLTableElement': () => TableElement.internalCreateTableElement,
+ 'HTMLTableRowElement': () => TableRowElement.internalCreateTableRowElement,
+ 'HTMLTableSectionElement': () => TableSectionElement.internalCreateTableSectionElement,
+ 'HTMLTemplateElement': () => TemplateElement.internalCreateTemplateElement,
+ 'HTMLTextAreaElement': () => TextAreaElement.internalCreateTextAreaElement,
+ 'HTMLTitleElement': () => TitleElement.internalCreateTitleElement,
+ 'HTMLTrackElement': () => TrackElement.internalCreateTrackElement,
+ 'HTMLUListElement': () => UListElement.internalCreateUListElement,
+ 'HTMLUnknownElement': () => UnknownElement.internalCreateUnknownElement,
+ 'HTMLVideoElement': () => VideoElement.internalCreateVideoElement,
+ 'HashChangeEvent': () => HashChangeEvent.internalCreateHashChangeEvent,
+ 'Headers': () => Headers.internalCreateHeaders,
+ 'History': () => History.internalCreateHistory,
+ 'ImageBitmap': () => ImageBitmap.internalCreateImageBitmap,
+ 'ImageData': () => ImageData.internalCreateImageData,
+ 'InjectedScriptHost': () => InjectedScriptHost.internalCreateInjectedScriptHost,
+ 'InputMethodContext': () => InputMethodContext.internalCreateInputMethodContext,
+ 'InstallEvent': () => InstallEvent.internalCreateInstallEvent,
+ 'Iterator': () => DomIterator.internalCreateDomIterator,
+ 'KeyboardEvent': () => KeyboardEvent.internalCreateKeyboardEvent,
+ 'LocalCredential': () => LocalCredential.internalCreateLocalCredential,
+ 'Location': () => Location.internalCreateLocation,
+ 'MIDIAccess': () => MidiAccess.internalCreateMidiAccess,
+ 'MIDIConnectionEvent': () => MidiConnectionEvent.internalCreateMidiConnectionEvent,
+ 'MIDIInput': () => MidiInput.internalCreateMidiInput,
+ 'MIDIInputMap': () => MidiInputMap.internalCreateMidiInputMap,
+ 'MIDIMessageEvent': () => MidiMessageEvent.internalCreateMidiMessageEvent,
+ 'MIDIOutput': () => MidiOutput.internalCreateMidiOutput,
+ 'MIDIOutputMap': () => MidiOutputMap.internalCreateMidiOutputMap,
+ 'MIDIPort': () => MidiPort.internalCreateMidiPort,
+ 'MediaController': () => MediaController.internalCreateMediaController,
+ 'MediaDeviceInfo': () => MediaDeviceInfo.internalCreateMediaDeviceInfo,
+ 'MediaError': () => MediaError.internalCreateMediaError,
+ 'MediaKeyError': () => MediaKeyError.internalCreateMediaKeyError,
+ 'MediaKeyEvent': () => MediaKeyEvent.internalCreateMediaKeyEvent,
+ 'MediaKeyMessageEvent': () => MediaKeyMessageEvent.internalCreateMediaKeyMessageEvent,
+ 'MediaKeyNeededEvent': () => MediaKeyNeededEvent.internalCreateMediaKeyNeededEvent,
+ 'MediaKeySession': () => MediaKeySession.internalCreateMediaKeySession,
+ 'MediaKeys': () => MediaKeys.internalCreateMediaKeys,
+ 'MediaList': () => MediaList.internalCreateMediaList,
+ 'MediaQueryList': () => MediaQueryList.internalCreateMediaQueryList,
+ 'MediaQueryListEvent': () => MediaQueryListEvent.internalCreateMediaQueryListEvent,
+ 'MediaSource': () => MediaSource.internalCreateMediaSource,
+ 'MediaStream': () => MediaStream.internalCreateMediaStream,
+ 'MediaStreamEvent': () => MediaStreamEvent.internalCreateMediaStreamEvent,
+ 'MediaStreamTrack': () => MediaStreamTrack.internalCreateMediaStreamTrack,
+ 'MediaStreamTrackEvent': () => MediaStreamTrackEvent.internalCreateMediaStreamTrackEvent,
+ 'MemoryInfo': () => MemoryInfo.internalCreateMemoryInfo,
+ 'MessageChannel': () => MessageChannel.internalCreateMessageChannel,
+ 'MessageEvent': () => MessageEvent.internalCreateMessageEvent,
+ 'MessagePort': () => MessagePort.internalCreateMessagePort,
+ 'Metadata': () => Metadata.internalCreateMetadata,
+ 'MimeType': () => MimeType.internalCreateMimeType,
+ 'MimeTypeArray': () => MimeTypeArray.internalCreateMimeTypeArray,
+ 'MouseEvent': () => MouseEvent.internalCreateMouseEvent,
+ 'MutationEvent': () => _MutationEvent.internalCreate_MutationEvent,
+ 'MutationObserver': () => MutationObserver.internalCreateMutationObserver,
+ 'MutationRecord': () => MutationRecord.internalCreateMutationRecord,
+ 'NamedNodeMap': () => _NamedNodeMap.internalCreate_NamedNodeMap,
+ 'Navigator': () => Navigator.internalCreateNavigator,
+ 'NavigatorCPU': () => NavigatorCpu.internalCreateNavigatorCpu,
+ 'NavigatorID': () => NavigatorID.internalCreateNavigatorID,
+ 'NavigatorLanguage': () => NavigatorLanguage.internalCreateNavigatorLanguage,
+ 'NavigatorOnLine': () => NavigatorOnLine.internalCreateNavigatorOnLine,
+ 'NavigatorUserMediaError': () => NavigatorUserMediaError.internalCreateNavigatorUserMediaError,
+ 'NetworkInformation': () => NetworkInformation.internalCreateNetworkInformation,
+ 'Node': () => Node.internalCreateNode,
+ 'NodeFilter': () => NodeFilter.internalCreateNodeFilter,
+ 'NodeIterator': () => NodeIterator.internalCreateNodeIterator,
+ 'NodeList': () => NodeList.internalCreateNodeList,
+ 'Notification': () => Notification.internalCreateNotification,
+ 'OverflowEvent': () => OverflowEvent.internalCreateOverflowEvent,
+ 'PagePopupController': () => _PagePopupController.internalCreate_PagePopupController,
+ 'PageTransitionEvent': () => PageTransitionEvent.internalCreatePageTransitionEvent,
+ 'ParentNode': () => ParentNode.internalCreateParentNode,
+ 'Path2D': () => Path2D.internalCreatePath2D,
+ 'Performance': () => Performance.internalCreatePerformance,
+ 'PerformanceEntry': () => PerformanceEntry.internalCreatePerformanceEntry,
+ 'PerformanceMark': () => PerformanceMark.internalCreatePerformanceMark,
+ 'PerformanceMeasure': () => PerformanceMeasure.internalCreatePerformanceMeasure,
+ 'PerformanceNavigation': () => PerformanceNavigation.internalCreatePerformanceNavigation,
+ 'PerformanceResourceTiming': () => PerformanceResourceTiming.internalCreatePerformanceResourceTiming,
+ 'PerformanceTiming': () => PerformanceTiming.internalCreatePerformanceTiming,
+ 'Plugin': () => Plugin.internalCreatePlugin,
+ 'PluginArray': () => PluginArray.internalCreatePluginArray,
+ 'PluginPlaceholderElement': () => PluginPlaceholderElement.internalCreatePluginPlaceholderElement,
+ 'PopStateEvent': () => PopStateEvent.internalCreatePopStateEvent,
+ 'PositionError': () => PositionError.internalCreatePositionError,
+ 'Presentation': () => Presentation.internalCreatePresentation,
+ 'ProcessingInstruction': () => ProcessingInstruction.internalCreateProcessingInstruction,
+ 'ProgressEvent': () => ProgressEvent.internalCreateProgressEvent,
+ 'PushEvent': () => PushEvent.internalCreatePushEvent,
+ 'PushManager': () => PushManager.internalCreatePushManager,
+ 'PushRegistration': () => PushRegistration.internalCreatePushRegistration,
+ 'RGBColor': () => _RGBColor.internalCreate_RGBColor,
+ 'RTCDTMFSender': () => RtcDtmfSender.internalCreateRtcDtmfSender,
+ 'RTCDTMFToneChangeEvent': () => RtcDtmfToneChangeEvent.internalCreateRtcDtmfToneChangeEvent,
+ 'RTCDataChannel': () => RtcDataChannel.internalCreateRtcDataChannel,
+ 'RTCDataChannelEvent': () => RtcDataChannelEvent.internalCreateRtcDataChannelEvent,
+ 'RTCIceCandidate': () => RtcIceCandidate.internalCreateRtcIceCandidate,
+ 'RTCIceCandidateEvent': () => RtcIceCandidateEvent.internalCreateRtcIceCandidateEvent,
+ 'RTCPeerConnection': () => RtcPeerConnection.internalCreateRtcPeerConnection,
+ 'RTCSessionDescription': () => RtcSessionDescription.internalCreateRtcSessionDescription,
+ 'RTCStatsReport': () => RtcStatsReport.internalCreateRtcStatsReport,
+ 'RTCStatsResponse': () => RtcStatsResponse.internalCreateRtcStatsResponse,
+ 'RadioNodeList': () => _RadioNodeList.internalCreate_RadioNodeList,
+ 'Range': () => Range.internalCreateRange,
+ 'ReadableStream': () => ReadableStream.internalCreateReadableStream,
+ 'Rect': () => _Rect.internalCreate_Rect,
+ 'RelatedEvent': () => RelatedEvent.internalCreateRelatedEvent,
+ 'Request': () => _Request.internalCreate_Request,
+ 'ResourceProgressEvent': () => ResourceProgressEvent.internalCreateResourceProgressEvent,
+ 'Response': () => _Response.internalCreate_Response,
+ 'Screen': () => Screen.internalCreateScreen,
+ 'ScreenOrientation': () => ScreenOrientation.internalCreateScreenOrientation,
+ 'SecurityPolicyViolationEvent': () => SecurityPolicyViolationEvent.internalCreateSecurityPolicyViolationEvent,
+ 'Selection': () => Selection.internalCreateSelection,
+ 'ServiceWorker': () => _ServiceWorker.internalCreate_ServiceWorker,
+ 'ServiceWorkerClient': () => ServiceWorkerClient.internalCreateServiceWorkerClient,
+ 'ServiceWorkerClients': () => ServiceWorkerClients.internalCreateServiceWorkerClients,
+ 'ServiceWorkerContainer': () => ServiceWorkerContainer.internalCreateServiceWorkerContainer,
+ 'ServiceWorkerGlobalScope': () => ServiceWorkerGlobalScope.internalCreateServiceWorkerGlobalScope,
+ 'ServiceWorkerRegistration': () => ServiceWorkerRegistration.internalCreateServiceWorkerRegistration,
+ 'ShadowRoot': () => ShadowRoot.internalCreateShadowRoot,
+ 'SharedWorker': () => SharedWorker.internalCreateSharedWorker,
+ 'SharedWorkerGlobalScope': () => SharedWorkerGlobalScope.internalCreateSharedWorkerGlobalScope,
+ 'SourceBuffer': () => SourceBuffer.internalCreateSourceBuffer,
+ 'SourceBufferList': () => SourceBufferList.internalCreateSourceBufferList,
+ 'SourceInfo': () => SourceInfo.internalCreateSourceInfo,
+ 'SpeechGrammar': () => SpeechGrammar.internalCreateSpeechGrammar,
+ 'SpeechGrammarList': () => SpeechGrammarList.internalCreateSpeechGrammarList,
+ 'SpeechRecognition': () => SpeechRecognition.internalCreateSpeechRecognition,
+ 'SpeechRecognitionAlternative': () => SpeechRecognitionAlternative.internalCreateSpeechRecognitionAlternative,
+ 'SpeechRecognitionError': () => SpeechRecognitionError.internalCreateSpeechRecognitionError,
+ 'SpeechRecognitionEvent': () => SpeechRecognitionEvent.internalCreateSpeechRecognitionEvent,
+ 'SpeechRecognitionResult': () => SpeechRecognitionResult.internalCreateSpeechRecognitionResult,
+ 'SpeechRecognitionResultList': () => _SpeechRecognitionResultList.internalCreate_SpeechRecognitionResultList,
+ 'SpeechSynthesis': () => SpeechSynthesis.internalCreateSpeechSynthesis,
+ 'SpeechSynthesisEvent': () => SpeechSynthesisEvent.internalCreateSpeechSynthesisEvent,
+ 'SpeechSynthesisUtterance': () => SpeechSynthesisUtterance.internalCreateSpeechSynthesisUtterance,
+ 'SpeechSynthesisVoice': () => SpeechSynthesisVoice.internalCreateSpeechSynthesisVoice,
+ 'Storage': () => Storage.internalCreateStorage,
+ 'StorageEvent': () => StorageEvent.internalCreateStorageEvent,
+ 'StorageInfo': () => StorageInfo.internalCreateStorageInfo,
+ 'StorageQuota': () => StorageQuota.internalCreateStorageQuota,
+ 'Stream': () => FileStream.internalCreateFileStream,
+ 'StyleMedia': () => StyleMedia.internalCreateStyleMedia,
+ 'StyleSheet': () => StyleSheet.internalCreateStyleSheet,
+ 'StyleSheetList': () => _StyleSheetList.internalCreate_StyleSheetList,
+ 'SubtleCrypto': () => _SubtleCrypto.internalCreate_SubtleCrypto,
+ 'Text': () => Text.internalCreateText,
+ 'TextEvent': () => TextEvent.internalCreateTextEvent,
+ 'TextMetrics': () => TextMetrics.internalCreateTextMetrics,
+ 'TextTrack': () => TextTrack.internalCreateTextTrack,
+ 'TextTrackCue': () => TextTrackCue.internalCreateTextTrackCue,
+ 'TextTrackCueList': () => TextTrackCueList.internalCreateTextTrackCueList,
+ 'TextTrackList': () => TextTrackList.internalCreateTextTrackList,
+ 'TimeRanges': () => TimeRanges.internalCreateTimeRanges,
+ 'Timing': () => Timing.internalCreateTiming,
+ 'Touch': () => Touch.internalCreateTouch,
+ 'TouchEvent': () => TouchEvent.internalCreateTouchEvent,
+ 'TouchList': () => TouchList.internalCreateTouchList,
+ 'TrackEvent': () => TrackEvent.internalCreateTrackEvent,
+ 'TransitionEvent': () => TransitionEvent.internalCreateTransitionEvent,
+ 'TreeWalker': () => TreeWalker.internalCreateTreeWalker,
+ 'UIEvent': () => UIEvent.internalCreateUIEvent,
+ 'URL': () => Url.internalCreateUrl,
+ 'URLUtils': () => UrlUtils.internalCreateUrlUtils,
+ 'URLUtilsReadOnly': () => UrlUtilsReadOnly.internalCreateUrlUtilsReadOnly,
+ 'VTTCue': () => VttCue.internalCreateVttCue,
+ 'VTTRegion': () => VttRegion.internalCreateVttRegion,
+ 'VTTRegionList': () => VttRegionList.internalCreateVttRegionList,
+ 'ValidityState': () => ValidityState.internalCreateValidityState,
+ 'VideoPlaybackQuality': () => VideoPlaybackQuality.internalCreateVideoPlaybackQuality,
+ 'VideoTrack': () => VideoTrack.internalCreateVideoTrack,
+ 'VideoTrackList': () => VideoTrackList.internalCreateVideoTrackList,
+ 'WebKitAnimationEvent': () => AnimationEvent.internalCreateAnimationEvent,
+ 'WebKitCSSFilterRule': () => CssFilterRule.internalCreateCssFilterRule,
+ 'WebKitCSSFilterValue': () => _WebKitCSSFilterValue.internalCreate_WebKitCSSFilterValue,
+ 'WebKitCSSMatrix': () => _WebKitCSSMatrix.internalCreate_WebKitCSSMatrix,
+ 'WebKitCSSTransformValue': () => _WebKitCSSTransformValue.internalCreate_WebKitCSSTransformValue,
+ 'WebSocket': () => WebSocket.internalCreateWebSocket,
+ 'WheelEvent': () => WheelEvent.internalCreateWheelEvent,
+ 'Window': () => Window.internalCreateWindow,
+ 'WindowBase64': () => WindowBase64.internalCreateWindowBase64,
+ 'WindowEventHandlers': () => WindowEventHandlers.internalCreateWindowEventHandlers,
+ 'WindowTimers': () => _WindowTimers.internalCreate_WindowTimers,
+ 'Worker': () => Worker.internalCreateWorker,
+ 'WorkerConsole': () => WorkerConsole.internalCreateWorkerConsole,
+ 'WorkerGlobalScope': () => WorkerGlobalScope.internalCreateWorkerGlobalScope,
+ 'WorkerLocation': () => _WorkerLocation.internalCreate_WorkerLocation,
+ 'WorkerNavigator': () => _WorkerNavigator.internalCreate_WorkerNavigator,
+ 'WorkerPerformance': () => WorkerPerformance.internalCreateWorkerPerformance,
+ 'XMLDocument': () => XmlDocument.internalCreateXmlDocument,
+ 'XMLHttpRequest': () => HttpRequest.internalCreateHttpRequest,
+ 'XMLHttpRequestEventTarget': () => HttpRequestEventTarget.internalCreateHttpRequestEventTarget,
+ 'XMLHttpRequestProgressEvent': () => _XMLHttpRequestProgressEvent.internalCreate_XMLHttpRequestProgressEvent,
+ 'XMLHttpRequestUpload': () => HttpRequestUpload.internalCreateHttpRequestUpload,
+ 'XMLSerializer': () => XmlSerializer.internalCreateXmlSerializer,
+ 'XPathEvaluator': () => XPathEvaluator.internalCreateXPathEvaluator,
+ 'XPathExpression': () => XPathExpression.internalCreateXPathExpression,
+ 'XPathNSResolver': () => XPathNSResolver.internalCreateXPathNSResolver,
+ 'XPathResult': () => XPathResult.internalCreateXPathResult,
+ 'XSLTProcessor': () => XsltProcessor.internalCreateXsltProcessor,
+ 'polymer-element': () => HtmlElement.internalCreateHtmlElement,
+
+};
+
+// TODO(terry): We may want to move this elsewhere if html becomes
+// a package to avoid dartium depending on pkg:html.
+getHtmlCreateFunction(String key) {
+ var result;
+
+ // TODO(vsm): Add Cross Frame and JS types here as well.
+
+ // Check the html library.
+ result = _getHtmlFunction(key);
+ if (result != null) {
+ return result;
+ }
+
+ // Check the web gl library.
+ result = _getWebGlFunction(key);
+ if (result != null) {
+ return result;
+ }
+
+ // Check the indexed db library.
+ result = _getIndexDbFunction(key);
+ if (result != null) {
+ return result;
+ }
+
+ // Check the web audio library.
+ result = _getWebAudioFunction(key);
+ if (result != null) {
+ return result;
+ }
+
+ // Check the web sql library.
+ result = _getWebSqlFunction(key);
+ if (result != null) {
+ return result;
+ }
+
+ // Check the svg library.
+ result = _getSvgFunction(key);
+ if (result != null) {
+ return result;
+ }
+
+ return null;
+}
+
+Type _getHtmlFunction(String key) {
+ if (htmlBlinkFunctionMap.containsKey(key)) {
+ return htmlBlinkFunctionMap[key]();
+ }
+ return null;
+}
+
+Type _getWebGlFunction(String key) {
+ if (web_glBlinkFunctionMap.containsKey(key)) {
+ return web_glBlinkFunctionMap[key]();
+ }
+ return null;
+}
+
+Type _getIndexDbFunction(String key) {
+ if (indexed_dbBlinkFunctionMap.containsKey(key)) {
+ return indexed_dbBlinkFunctionMap[key]();
+ }
+ return null;
+}
+
+Type _getWebAudioFunction(String key) {
+ if (web_audioBlinkFunctionMap.containsKey(key)) {
+ return web_audioBlinkFunctionMap[key]();
+ }
+ return null;
+}
+
+Type _getWebSqlFunction(String key) {
+ if (web_sqlBlinkFunctionMap.containsKey(key)) {
+ return web_sqlBlinkFunctionMap[key]();
+ }
+ return null;
+}
+
+Type _getSvgFunction(String key) {
+ if (svgBlinkFunctionMap.containsKey(key)) {
+ return svgBlinkFunctionMap[key]();
+ }
+ return null;
+}
+
+
+/******************************************************************************
+ ********** **********
+ ********** JS Interop Support **********
+ ********** **********
+ ******************************************************************************/
+
+Rectangle make_dart_rectangle(r) => new Rectangle(r['top'], r['left'], r['width'], r['height']);
+
+
+/** Expando for JsObject, used by every Dart class associated with a Javascript
+ * class (e.g., DOM, WebAudio, etc.).
+ */
+
+/**
+ * Return the JsObject associated with a Dart class [dartClass_instance].
+ */
+js.JsObject unwrap_jso(dartClass_instance) {
+ try {
+ if (dartClass_instance != null)
+ return dartClass_instance is! Function ? dartClass_instance.blink_jsObject : dartClass_instance;
+ else
+ return null;
+// return dartClass_instance.dartium_expando[dartClass_instance.expandoJsObject];
+ } catch(NoSuchMethodException) {
+ // No blink_jsObject then return the dartClass_instance is probably an
+ // array that was already converted to a Dart class e.g., Uint8ClampedList.
+ return dartClass_instance;
+ }
+}
+
+/**
+ * Create Dart class that maps to the JS Type, add the JsObject as an expando
+ * on the Dart class and return the created Dart class.
+ */
+wrap_jso(jsObject) {
+try {
+// debug_or_assert("jsObject != null", jsObject != null);
+ if (jsObject is! js.JsObject) {
+ // JS Interop converted the object to a Dart class e.g., Uint8ClampedList.
+ return jsObject;
+ }
+ var constructor = jsObject['constructor'];
+ debug_or_assert("constructor != null", constructor != null);
+ var jsTypeName = constructor['name'];
+ debug_or_assert("constructor != null && jsTypeName.length > 0", constructor != null && jsTypeName.length > 0);
+ var func = getHtmlCreateFunction(jsTypeName);
+ debug_or_assert("func != null name = ${jsTypeName}", func != null);
+ var dartClass_instance = func();
+ dartClass_instance.blink_jsObject = jsObject;
+// dartClass_instance.dartium_expando[dartClass_instance.expandoJsObject] = jsObject;
+ return dartClass_instance;
+} catch(e, stacktrace){
+ if (e is DebugAssertException)
+ window.console.log("${e.message}\n ${stacktrace}");
+ else
+ window.console.log("${stacktrace}");
+}
+}
+
+class DebugAssertException implements Exception {
+ String message;
+ DebugAssertException(this.message);
+}
+
+debug_or_assert(message, expression) {
+ if (!expression) {
+ throw new DebugAssertException("$message");
+ }
+}
+
+// Wrap JsObject node list to return a List<node>.
+List<Node> wrap_jso_list(jso_nodes) {
+ List<Node> nodes = new List<Node>();
+ var collectionLen = jso_nodes['length'];
+ for (var i = 0; i < collectionLen; i++) {
+ nodes.add(wrap_jso(jso_nodes.callMethod('item', [i])));
+ }
+ var frozen_nodes = new _FrozenElementList._wrap(nodes);
+ frozen_nodes.dartClass_instance = jso_nodes;
+ return frozen_nodes;
+}
// 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.
@@ -645,6 +1218,20 @@ abstract class AbstractWorker extends NativeFieldWrapperClass2 implements EventT
@DocsEditable()
static const EventStreamProvider<ErrorEvent> errorEvent = const EventStreamProvider<ErrorEvent>('error');
+ static AbstractWorker internalCreateAbstractWorker() {
+ return new AbstractWorker._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory AbstractWorker._internalWrap() {
+ return new AbstractWorker._internal();
+ }
+
+ AbstractWorker._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
/// Stream of `error` events handled by this [AbstractWorker].
@DomName('AbstractWorker.onerror')
@DocsEditable()
@@ -670,6 +1257,18 @@ class AnchorElement extends HtmlElement implements UrlUtils {
if (href != null) e.href = href;
return e;
}
+
+
+ static AnchorElement internalCreateAnchorElement() {
+ return new AnchorElement._internalWrap();
+ }
+
+ factory AnchorElement._internalWrap() {
+ return new AnchorElement._internal();
+ }
+
+ AnchorElement._internal() : super._internal();
+
/**
* Constructor instantiated by the DOM when a custom element has been created.
*
@@ -851,6 +1450,18 @@ class Animation extends AnimationNode {
throw new ArgumentError("Incorrect number or type of arguments");
}
+
+ static Animation internalCreateAnimation() {
+ return new Animation._internalWrap();
+ }
+
+ factory Animation._internalWrap() {
+ return new Animation._internal();
+ }
+
+ Animation._internal() : super._internal();
+
+
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -866,6 +1477,20 @@ class AnimationEffect extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory AnimationEffect._() { throw new UnsupportedError("Not supported"); }
+ static AnimationEffect internalCreateAnimationEffect() {
+ return new AnimationEffect._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory AnimationEffect._internalWrap() {
+ return new AnimationEffect._internal();
+ }
+
+ AnimationEffect._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -883,6 +1508,18 @@ class AnimationEvent extends Event {
// To suppress missing implicit constructor warnings.
factory AnimationEvent._() { throw new UnsupportedError("Not supported"); }
+
+ static AnimationEvent internalCreateAnimationEvent() {
+ return new AnimationEvent._internalWrap();
+ }
+
+ factory AnimationEvent._internalWrap() {
+ return new AnimationEvent._internal();
+ }
+
+ AnimationEvent._internal() : super._internal();
+
+
@DomName('WebKitAnimationEvent.animationName')
@DocsEditable()
String get animationName => _blink.BlinkWebKitAnimationEvent.instance.animationName_Getter_(unwrap_jso(this));
@@ -906,6 +1543,20 @@ class AnimationNode extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory AnimationNode._() { throw new UnsupportedError("Not supported"); }
+ static AnimationNode internalCreateAnimationNode() {
+ return new AnimationNode._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory AnimationNode._internalWrap() {
+ return new AnimationNode._internal();
+ }
+
+ AnimationNode._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('AnimationNode.activeDuration')
@DocsEditable()
@Experimental() // untriaged
@@ -961,6 +1612,18 @@ class AnimationPlayer extends EventTarget {
// To suppress missing implicit constructor warnings.
factory AnimationPlayer._() { throw new UnsupportedError("Not supported"); }
+
+ static AnimationPlayer internalCreateAnimationPlayer() {
+ return new AnimationPlayer._internalWrap();
+ }
+
+ factory AnimationPlayer._internalWrap() {
+ return new AnimationPlayer._internal();
+ }
+
+ AnimationPlayer._internal() : super._internal();
+
+
/// Checks if this type is supported on the current platform.
static bool get supported => true;
@@ -1049,6 +1712,18 @@ class AnimationPlayerEvent extends Event {
// To suppress missing implicit constructor warnings.
factory AnimationPlayerEvent._() { throw new UnsupportedError("Not supported"); }
+
+ static AnimationPlayerEvent internalCreateAnimationPlayerEvent() {
+ return new AnimationPlayerEvent._internalWrap();
+ }
+
+ factory AnimationPlayerEvent._internalWrap() {
+ return new AnimationPlayerEvent._internal();
+ }
+
+ AnimationPlayerEvent._internal() : super._internal();
+
+
@DomName('AnimationPlayerEvent.currentTime')
@DocsEditable()
@Experimental() // untriaged
@@ -1074,6 +1749,20 @@ class AnimationTimeline extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory AnimationTimeline._() { throw new UnsupportedError("Not supported"); }
+ static AnimationTimeline internalCreateAnimationTimeline() {
+ return new AnimationTimeline._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory AnimationTimeline._internalWrap() {
+ return new AnimationTimeline._internal();
+ }
+
+ AnimationTimeline._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('AnimationTimeline.currentTime')
@DocsEditable()
@Experimental() // untriaged
@@ -1192,6 +1881,18 @@ class ApplicationCache extends EventTarget {
@DocsEditable()
static const EventStreamProvider<Event> updateReadyEvent = const EventStreamProvider<Event>('updateready');
+
+ static ApplicationCache internalCreateApplicationCache() {
+ return new ApplicationCache._internalWrap();
+ }
+
+ factory ApplicationCache._internalWrap() {
+ return new ApplicationCache._internal();
+ }
+
+ ApplicationCache._internal() : super._internal();
+
+
/// Checks if this type is supported on the current platform.
static bool get supported => true;
@@ -1290,6 +1991,18 @@ class ApplicationCacheErrorEvent extends Event {
// To suppress missing implicit constructor warnings.
factory ApplicationCacheErrorEvent._() { throw new UnsupportedError("Not supported"); }
+
+ static ApplicationCacheErrorEvent internalCreateApplicationCacheErrorEvent() {
+ return new ApplicationCacheErrorEvent._internalWrap();
+ }
+
+ factory ApplicationCacheErrorEvent._internalWrap() {
+ return new ApplicationCacheErrorEvent._internal();
+ }
+
+ ApplicationCacheErrorEvent._internal() : super._internal();
+
+
@DomName('ApplicationCacheErrorEvent.message')
@DocsEditable()
@Experimental() // untriaged
@@ -1337,6 +2050,18 @@ class AreaElement extends HtmlElement implements UrlUtils {
@DomName('HTMLAreaElement.HTMLAreaElement')
@DocsEditable()
factory AreaElement() => document.createElement("area");
+
+
+ static AreaElement internalCreateAreaElement() {
+ return new AreaElement._internalWrap();
+ }
+
+ factory AreaElement._internalWrap() {
+ return new AreaElement._internal();
+ }
+
+ AreaElement._internal() : super._internal();
+
/**
* Constructor instantiated by the DOM when a custom element has been created.
*
@@ -1489,6 +2214,18 @@ class AudioElement extends MediaElement {
factory AudioElement([String src]) {
return _blink.BlinkHTMLAudioElement.instance.constructorCallback_1_(src);
}
+
+
+ static AudioElement internalCreateAudioElement() {
+ return new AudioElement._internalWrap();
+ }
+
+ factory AudioElement._internalWrap() {
+ return new AudioElement._internal();
+ }
+
+ AudioElement._internal() : super._internal();
+
/**
* Constructor instantiated by the DOM when a custom element has been created.
*
@@ -1511,6 +2248,20 @@ class AudioTrack extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory AudioTrack._() { throw new UnsupportedError("Not supported"); }
+ static AudioTrack internalCreateAudioTrack() {
+ return new AudioTrack._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory AudioTrack._internalWrap() {
+ return new AudioTrack._internal();
+ }
+
+ AudioTrack._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('AudioTrack.enabled')
@DocsEditable()
@Experimental() // untriaged
@@ -1561,6 +2312,18 @@ class AudioTrackList extends EventTarget {
@Experimental() // untriaged
static const EventStreamProvider<Event> changeEvent = const EventStreamProvider<Event>('change');
+
+ static AudioTrackList internalCreateAudioTrackList() {
+ return new AudioTrackList._internalWrap();
+ }
+
+ factory AudioTrackList._internalWrap() {
+ return new AudioTrackList._internal();
+ }
+
+ AudioTrackList._internal() : super._internal();
+
+
@DomName('AudioTrackList.length')
@DocsEditable()
@Experimental() // untriaged
@@ -1597,6 +2360,18 @@ class AutocompleteErrorEvent extends Event {
// To suppress missing implicit constructor warnings.
factory AutocompleteErrorEvent._() { throw new UnsupportedError("Not supported"); }
+
+ static AutocompleteErrorEvent internalCreateAutocompleteErrorEvent() {
+ return new AutocompleteErrorEvent._internalWrap();
+ }
+
+ factory AutocompleteErrorEvent._internalWrap() {
+ return new AutocompleteErrorEvent._internal();
+ }
+
+ AutocompleteErrorEvent._internal() : super._internal();
+
+
@DomName('AutocompleteErrorEvent.reason')
@DocsEditable()
String get reason => _blink.BlinkAutocompleteErrorEvent.instance.reason_Getter_(unwrap_jso(this));
@@ -1618,6 +2393,18 @@ class BRElement extends HtmlElement {
@DomName('HTMLBRElement.HTMLBRElement')
@DocsEditable()
factory BRElement() => document.createElement("br");
+
+
+ static BRElement internalCreateBRElement() {
+ return new BRElement._internalWrap();
+ }
+
+ factory BRElement._internalWrap() {
+ return new BRElement._internal();
+ }
+
+ BRElement._internal() : super._internal();
+
/**
* Constructor instantiated by the DOM when a custom element has been created.
*
@@ -1641,6 +2428,20 @@ class BarProp extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory BarProp._() { throw new UnsupportedError("Not supported"); }
+ static BarProp internalCreateBarProp() {
+ return new BarProp._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory BarProp._internalWrap() {
+ return new BarProp._internal();
+ }
+
+ BarProp._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('BarProp.visible')
@DocsEditable()
bool get visible => _blink.BlinkBarProp.instance.visible_Getter_(unwrap_jso(this));
@@ -1662,6 +2463,18 @@ class BaseElement extends HtmlElement {
@DomName('HTMLBaseElement.HTMLBaseElement')
@DocsEditable()
factory BaseElement() => document.createElement("base");
+
+
+ static BaseElement internalCreateBaseElement() {
+ return new BaseElement._internalWrap();
+ }
+
+ factory BaseElement._internalWrap() {
+ return new BaseElement._internal();
+ }
+
+ BaseElement._internal() : super._internal();
+
/**
* Constructor instantiated by the DOM when a custom element has been created.
*
@@ -1701,6 +2514,18 @@ class BatteryManager extends EventTarget {
// To suppress missing implicit constructor warnings.
factory BatteryManager._() { throw new UnsupportedError("Not supported"); }
+
+ static BatteryManager internalCreateBatteryManager() {
+ return new BatteryManager._internalWrap();
+ }
+
+ factory BatteryManager._internalWrap() {
+ return new BatteryManager._internal();
+ }
+
+ BatteryManager._internal() : super._internal();
+
+
@DomName('BatteryManager.charging')
@DocsEditable()
bool get charging => _blink.BlinkBatteryManager.instance.charging_Getter_(unwrap_jso(this));
@@ -1731,6 +2556,18 @@ class BeforeUnloadEvent extends Event {
// To suppress missing implicit constructor warnings.
factory BeforeUnloadEvent._() { throw new UnsupportedError("Not supported"); }
+
+ static BeforeUnloadEvent internalCreateBeforeUnloadEvent() {
+ return new BeforeUnloadEvent._internalWrap();
+ }
+
+ factory BeforeUnloadEvent._internalWrap() {
+ return new BeforeUnloadEvent._internal();
+ }
+
+ BeforeUnloadEvent._internal() : super._internal();
+
+
@DomName('BeforeUnloadEvent.returnValue')
@DocsEditable()
String get returnValue => _blink.BlinkBeforeUnloadEvent.instance.returnValue_Getter_(unwrap_jso(this));
@@ -1757,6 +2594,20 @@ class Blob extends NativeFieldWrapperClass2 {
@DocsEditable()
static Blob _create(blobParts, type, endings) => _blink.BlinkBlob.instance.constructorCallback_3_(blobParts, type, endings);
+ static Blob internalCreateBlob() {
+ return new Blob._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory Blob._internalWrap() {
+ return new Blob._internal();
+ }
+
+ Blob._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('Blob.size')
@DocsEditable()
int get size => _blink.BlinkBlob.instance.size_Getter_(unwrap_jso(this));
@@ -1798,6 +2649,20 @@ class Body extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory Body._() { throw new UnsupportedError("Not supported"); }
+ static Body internalCreateBody() {
+ return new Body._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory Body._internalWrap() {
+ return new Body._internal();
+ }
+
+ Body._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('Body.bodyUsed')
@DocsEditable()
@Experimental() // untriaged
@@ -1965,6 +2830,18 @@ class BodyElement extends HtmlElement implements WindowEventHandlers {
@DomName('HTMLBodyElement.HTMLBodyElement')
@DocsEditable()
factory BodyElement() => document.createElement("body");
+
+
+ static BodyElement internalCreateBodyElement() {
+ return new BodyElement._internalWrap();
+ }
+
+ factory BodyElement._internalWrap() {
+ return new BodyElement._internal();
+ }
+
+ BodyElement._internal() : super._internal();
+
/**
* Constructor instantiated by the DOM when a custom element has been created.
*
@@ -2054,6 +2931,18 @@ class ButtonElement extends HtmlElement {
@DomName('HTMLButtonElement.HTMLButtonElement')
@DocsEditable()
factory ButtonElement() => document.createElement("button");
+
+
+ static ButtonElement internalCreateButtonElement() {
+ return new ButtonElement._internalWrap();
+ }
+
+ factory ButtonElement._internalWrap() {
+ return new ButtonElement._internal();
+ }
+
+ ButtonElement._internal() : super._internal();
+
/**
* Constructor instantiated by the DOM when a custom element has been created.
*
@@ -2186,6 +3075,18 @@ class CDataSection extends Text {
// To suppress missing implicit constructor warnings.
factory CDataSection._() { throw new UnsupportedError("Not supported"); }
+
+ static CDataSection internalCreateCDataSection() {
+ return new CDataSection._internalWrap();
+ }
+
+ factory CDataSection._internalWrap() {
+ return new CDataSection._internal();
+ }
+
+ CDataSection._internal() : super._internal();
+
+
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -2201,6 +3102,20 @@ class CacheStorage extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory CacheStorage._() { throw new UnsupportedError("Not supported"); }
+ static CacheStorage internalCreateCacheStorage() {
+ return new CacheStorage._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory CacheStorage._internalWrap() {
+ return new CacheStorage._internal();
+ }
+
+ CacheStorage._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('CacheStorage.create')
@DocsEditable()
@Experimental() // untriaged
@@ -2242,6 +3157,20 @@ class Canvas2DContextAttributes extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory Canvas2DContextAttributes._() { throw new UnsupportedError("Not supported"); }
+ static Canvas2DContextAttributes internalCreateCanvas2DContextAttributes() {
+ return new Canvas2DContextAttributes._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory Canvas2DContextAttributes._internalWrap() {
+ return new Canvas2DContextAttributes._internal();
+ }
+
+ Canvas2DContextAttributes._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('Canvas2DContextAttributes.alpha')
@DocsEditable()
bool get alpha => _blink.BlinkCanvas2DContextAttributes.instance.alpha_Getter_(unwrap_jso(this));
@@ -2299,6 +3228,18 @@ class CanvasElement extends HtmlElement implements CanvasImageSource {
if (height != null) e.height = height;
return e;
}
+
+
+ static CanvasElement internalCreateCanvasElement() {
+ return new CanvasElement._internalWrap();
+ }
+
+ factory CanvasElement._internalWrap() {
+ return new CanvasElement._internal();
+ }
+
+ CanvasElement._internal() : super._internal();
+
/**
* Constructor instantiated by the DOM when a custom element has been created.
*
@@ -2328,7 +3269,7 @@ class CanvasElement extends HtmlElement implements CanvasImageSource {
@DomName('HTMLCanvasElement.getContext')
@DocsEditable()
- Object getContext(String contextId, [Map attrs]) => wrap_jso(_blink.BlinkHTMLCanvasElement.instance.getContext_Callback_2_(unwrap_jso(this), contextId, attrs));
+ Object getContext(String contextId, [Map attrs]) => wrap_jso(_blink.BlinkHTMLCanvasElement.instance.getContext_Callback_2_(unwrap_jso(this), contextId, attrs != null ? new js.JsObject.jsify(attrs) : attrs));
@DomName('HTMLCanvasElement.toDataURL')
@DocsEditable()
@@ -2464,6 +3405,20 @@ class CanvasGradient extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory CanvasGradient._() { throw new UnsupportedError("Not supported"); }
+ static CanvasGradient internalCreateCanvasGradient() {
+ return new CanvasGradient._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory CanvasGradient._internalWrap() {
+ return new CanvasGradient._internal();
+ }
+
+ CanvasGradient._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
/**
* Adds a color stop to this gradient at the offset.
*
@@ -2518,6 +3473,20 @@ class CanvasPattern extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory CanvasPattern._() { throw new UnsupportedError("Not supported"); }
+ static CanvasPattern internalCreateCanvasPattern() {
+ return new CanvasPattern._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory CanvasPattern._internalWrap() {
+ return new CanvasPattern._internal();
+ }
+
+ CanvasPattern._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('CanvasPattern.setTransform')
@DocsEditable()
@Experimental() // untriaged
@@ -2538,6 +3507,20 @@ class CanvasRenderingContext2D extends NativeFieldWrapperClass2 implements Canva
// To suppress missing implicit constructor warnings.
factory CanvasRenderingContext2D._() { throw new UnsupportedError("Not supported"); }
+ static CanvasRenderingContext2D internalCreateCanvasRenderingContext2D() {
+ return new CanvasRenderingContext2D._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory CanvasRenderingContext2D._internalWrap() {
+ return new CanvasRenderingContext2D._internal();
+ }
+
+ CanvasRenderingContext2D._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('CanvasRenderingContext2D.canvas')
@DocsEditable()
@Experimental() // untriaged
@@ -2723,7 +3706,7 @@ class CanvasRenderingContext2D extends NativeFieldWrapperClass2 implements Canva
void addHitRegion([Map options]) {
if (options != null) {
- _blink.BlinkCanvasRenderingContext2D.instance.addHitRegion_Callback_1_(unwrap_jso(this), options);
+ _blink.BlinkCanvasRenderingContext2D.instance.addHitRegion_Callback_1_(unwrap_jso(this), options != null ? new js.JsObject.jsify(options) : options);
return;
}
_blink.BlinkCanvasRenderingContext2D.instance.addHitRegion_Callback_0_(unwrap_jso(this));
@@ -3312,6 +4295,18 @@ class CharacterData extends Node implements ChildNode {
// To suppress missing implicit constructor warnings.
factory CharacterData._() { throw new UnsupportedError("Not supported"); }
+
+ static CharacterData internalCreateCharacterData() {
+ return new CharacterData._internalWrap();
+ }
+
+ factory CharacterData._internalWrap() {
+ return new CharacterData._internal();
+ }
+
+ CharacterData._internal() : super._internal();
+
+
@DomName('CharacterData.data')
@DocsEditable()
String get data => _blink.BlinkCharacterData.instance.data_Getter_(unwrap_jso(this));
@@ -3367,6 +4362,20 @@ abstract class ChildNode extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory ChildNode._() { throw new UnsupportedError("Not supported"); }
+ static ChildNode internalCreateChildNode() {
+ return new ChildNode._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory ChildNode._internalWrap() {
+ return new ChildNode._internal();
+ }
+
+ ChildNode._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('ChildNode.nextElementSibling')
@DocsEditable()
@Experimental() // untriaged
@@ -3403,6 +4412,18 @@ class CircularGeofencingRegion extends GeofencingRegion {
return _blink.BlinkCircularGeofencingRegion.instance.constructorCallback_1_(init);
}
+
+ static CircularGeofencingRegion internalCreateCircularGeofencingRegion() {
+ return new CircularGeofencingRegion._internalWrap();
+ }
+
+ factory CircularGeofencingRegion._internalWrap() {
+ return new CircularGeofencingRegion._internal();
+ }
+
+ CircularGeofencingRegion._internal() : super._internal();
+
+
@DomName('CircularGeofencingRegion.MAX_RADIUS')
@DocsEditable()
@Experimental() // untriaged
@@ -3442,6 +4463,18 @@ class CloseEvent extends Event {
// To suppress missing implicit constructor warnings.
factory CloseEvent._() { throw new UnsupportedError("Not supported"); }
+
+ static CloseEvent internalCreateCloseEvent() {
+ return new CloseEvent._internalWrap();
+ }
+
+ factory CloseEvent._internalWrap() {
+ return new CloseEvent._internal();
+ }
+
+ CloseEvent._internal() : super._internal();
+
+
@DomName('CloseEvent.code')
@DocsEditable()
int get code => _blink.BlinkCloseEvent.instance.code_Getter_(unwrap_jso(this));
@@ -3474,6 +4507,18 @@ class Comment extends CharacterData {
}
return _blink.BlinkComment.instance.constructorCallback_0_();
}
+
+
+ static Comment internalCreateComment() {
+ return new Comment._internalWrap();
+ }
+
+ factory Comment._internalWrap() {
+ return new Comment._internal();
+ }
+
+ Comment._internal() : super._internal();
+
}
// 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
@@ -3500,6 +4545,18 @@ class CompositionEvent extends UIEvent {
// To suppress missing implicit constructor warnings.
factory CompositionEvent._() { throw new UnsupportedError("Not supported"); }
+
+ static CompositionEvent internalCreateCompositionEvent() {
+ return new CompositionEvent._internalWrap();
+ }
+
+ factory CompositionEvent._internalWrap() {
+ return new CompositionEvent._internal();
+ }
+
+ CompositionEvent._internal() : super._internal();
+
+
@DomName('CompositionEvent.activeSegmentEnd')
@DocsEditable()
@Experimental() // untriaged
@@ -3537,6 +4594,18 @@ class Console extends ConsoleBase {
// To suppress missing implicit constructor warnings.
factory Console._() { throw new UnsupportedError("Not supported"); }
+
+ static Console internalCreateConsole() {
+ return new Console._internalWrap();
+ }
+
+ factory Console._internalWrap() {
+ return new Console._internal();
+ }
+
+ Console._internal() : super._internal();
+
+
@DomName('Console.memory')
@DocsEditable()
@Experimental()
@@ -3557,6 +4626,20 @@ class ConsoleBase extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory ConsoleBase._() { throw new UnsupportedError("Not supported"); }
+ static ConsoleBase internalCreateConsoleBase() {
+ return new ConsoleBase._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory ConsoleBase._internalWrap() {
+ return new ConsoleBase._internal();
+ }
+
+ ConsoleBase._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('ConsoleBase.assertCondition')
@DocsEditable()
@Experimental() // untriaged
@@ -3692,6 +4775,18 @@ class ContentElement extends HtmlElement {
@DomName('HTMLContentElement.HTMLContentElement')
@DocsEditable()
factory ContentElement() => document.createElement("content");
+
+
+ static ContentElement internalCreateContentElement() {
+ return new ContentElement._internalWrap();
+ }
+
+ factory ContentElement._internalWrap() {
+ return new ContentElement._internal();
+ }
+
+ ContentElement._internal() : super._internal();
+
/**
* Constructor instantiated by the DOM when a custom element has been created.
*
@@ -3728,6 +4823,20 @@ class Coordinates extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory Coordinates._() { throw new UnsupportedError("Not supported"); }
+ static Coordinates internalCreateCoordinates() {
+ return new Coordinates._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory Coordinates._internalWrap() {
+ return new Coordinates._internal();
+ }
+
+ Coordinates._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('Coordinates.accuracy')
@DocsEditable()
double get accuracy => _blink.BlinkCoordinates.instance.accuracy_Getter_(unwrap_jso(this));
@@ -3771,6 +4880,20 @@ class Credential extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory Credential._() { throw new UnsupportedError("Not supported"); }
+ static Credential internalCreateCredential() {
+ return new Credential._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory Credential._internalWrap() {
+ return new Credential._internal();
+ }
+
+ Credential._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('Credential.avatarURL')
@DocsEditable()
@Experimental() // untriaged
@@ -3801,6 +4924,20 @@ class CredentialsContainer extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory CredentialsContainer._() { throw new UnsupportedError("Not supported"); }
+ static CredentialsContainer internalCreateCredentialsContainer() {
+ return new CredentialsContainer._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory CredentialsContainer._internalWrap() {
+ return new CredentialsContainer._internal();
+ }
+
+ CredentialsContainer._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('CredentialsContainer.notifyFailedSignIn')
@DocsEditable()
@Experimental() // untriaged
@@ -3818,7 +4955,7 @@ class CredentialsContainer extends NativeFieldWrapperClass2 {
Future request([Map options]) {
if (options != null) {
- return _blink.BlinkCredentialsContainer.instance.request_Callback_1_(unwrap_jso(this), options);
+ return _blink.BlinkCredentialsContainer.instance.request_Callback_1_(unwrap_jso(this), options != null ? new js.JsObject.jsify(options) : options);
}
return _blink.BlinkCredentialsContainer.instance.request_Callback_0_(unwrap_jso(this));
}
@@ -3841,6 +4978,20 @@ class Crypto extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory Crypto._() { throw new UnsupportedError("Not supported"); }
+ static Crypto internalCreateCrypto() {
+ return new Crypto._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory Crypto._internalWrap() {
+ return new Crypto._internal();
+ }
+
+ Crypto._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
/// Checks if this type is supported on the current platform.
static bool get supported => true;
@@ -3868,6 +5019,20 @@ class CryptoKey extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory CryptoKey._() { throw new UnsupportedError("Not supported"); }
+ static CryptoKey internalCreateCryptoKey() {
+ return new CryptoKey._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory CryptoKey._internalWrap() {
+ return new CryptoKey._internal();
+ }
+
+ CryptoKey._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('CryptoKey.algorithm')
@DocsEditable()
@Experimental() // untriaged
@@ -3904,6 +5069,20 @@ class Css extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory Css._() { throw new UnsupportedError("Not supported"); }
+ static Css internalCreateCss() {
+ return new Css._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory Css._internalWrap() {
+ return new Css._internal();
+ }
+
+ Css._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('CSS.supports')
@DocsEditable()
bool supports(String property, String value) => _blink.BlinkCSS.instance.supports_Callback_2_(unwrap_jso(this), property, value);
@@ -3928,6 +5107,18 @@ class CssCharsetRule extends CssRule {
// To suppress missing implicit constructor warnings.
factory CssCharsetRule._() { throw new UnsupportedError("Not supported"); }
+
+ static CssCharsetRule internalCreateCssCharsetRule() {
+ return new CssCharsetRule._internalWrap();
+ }
+
+ factory CssCharsetRule._internalWrap() {
+ return new CssCharsetRule._internal();
+ }
+
+ CssCharsetRule._internal() : super._internal();
+
+
@DomName('CSSCharsetRule.encoding')
@DocsEditable()
String get encoding => _blink.BlinkCSSCharsetRule.instance.encoding_Getter_(unwrap_jso(this));
@@ -3954,6 +5145,18 @@ class CssFilterRule extends CssRule {
// To suppress missing implicit constructor warnings.
factory CssFilterRule._() { throw new UnsupportedError("Not supported"); }
+
+ static CssFilterRule internalCreateCssFilterRule() {
+ return new CssFilterRule._internalWrap();
+ }
+
+ factory CssFilterRule._internalWrap() {
+ return new CssFilterRule._internal();
+ }
+
+ CssFilterRule._internal() : super._internal();
+
+
@DomName('WebKitCSSFilterRule.style')
@DocsEditable()
CssStyleDeclaration get style => wrap_jso(_blink.BlinkWebKitCSSFilterRule.instance.style_Getter_(unwrap_jso(this)));
@@ -3972,6 +5175,18 @@ class CssFontFaceRule extends CssRule {
// To suppress missing implicit constructor warnings.
factory CssFontFaceRule._() { throw new UnsupportedError("Not supported"); }
+
+ static CssFontFaceRule internalCreateCssFontFaceRule() {
+ return new CssFontFaceRule._internalWrap();
+ }
+
+ factory CssFontFaceRule._internalWrap() {
+ return new CssFontFaceRule._internal();
+ }
+
+ CssFontFaceRule._internal() : super._internal();
+
+
@DomName('CSSFontFaceRule.style')
@DocsEditable()
CssStyleDeclaration get style => wrap_jso(_blink.BlinkCSSFontFaceRule.instance.style_Getter_(unwrap_jso(this)));
@@ -3990,6 +5205,18 @@ class CssImportRule extends CssRule {
// To suppress missing implicit constructor warnings.
factory CssImportRule._() { throw new UnsupportedError("Not supported"); }
+
+ static CssImportRule internalCreateCssImportRule() {
+ return new CssImportRule._internalWrap();
+ }
+
+ factory CssImportRule._internalWrap() {
+ return new CssImportRule._internal();
+ }
+
+ CssImportRule._internal() : super._internal();
+
+
@DomName('CSSImportRule.href')
@DocsEditable()
String get href => _blink.BlinkCSSImportRule.instance.href_Getter_(unwrap_jso(this));
@@ -4017,6 +5244,18 @@ class CssKeyframeRule extends CssRule {
// To suppress missing implicit constructor warnings.
factory CssKeyframeRule._() { throw new UnsupportedError("Not supported"); }
+
+ static CssKeyframeRule internalCreateCssKeyframeRule() {
+ return new CssKeyframeRule._internalWrap();
+ }
+
+ factory CssKeyframeRule._internalWrap() {
+ return new CssKeyframeRule._internal();
+ }
+
+ CssKeyframeRule._internal() : super._internal();
+
+
@DomName('CSSKeyframeRule.keyText')
@DocsEditable()
@Experimental() // untriaged
@@ -4047,6 +5286,18 @@ class CssKeyframesRule extends CssRule {
// To suppress missing implicit constructor warnings.
factory CssKeyframesRule._() { throw new UnsupportedError("Not supported"); }
+
+ static CssKeyframesRule internalCreateCssKeyframesRule() {
+ return new CssKeyframesRule._internalWrap();
+ }
+
+ factory CssKeyframesRule._internalWrap() {
+ return new CssKeyframesRule._internal();
+ }
+
+ CssKeyframesRule._internal() : super._internal();
+
+
@DomName('CSSKeyframesRule.cssRules')
@DocsEditable()
@Experimental() // untriaged
@@ -4096,6 +5347,18 @@ class CssMediaRule extends CssRule {
// To suppress missing implicit constructor warnings.
factory CssMediaRule._() { throw new UnsupportedError("Not supported"); }
+
+ static CssMediaRule internalCreateCssMediaRule() {
+ return new CssMediaRule._internalWrap();
+ }
+
+ factory CssMediaRule._internalWrap() {
+ return new CssMediaRule._internal();
+ }
+
+ CssMediaRule._internal() : super._internal();
+
+
@DomName('CSSMediaRule.cssRules')
@DocsEditable()
List<CssRule> get cssRules => wrap_jso_list(_blink.BlinkCSSMediaRule.instance.cssRules_Getter_(unwrap_jso(this)));
@@ -4126,6 +5389,18 @@ class CssPageRule extends CssRule {
// To suppress missing implicit constructor warnings.
factory CssPageRule._() { throw new UnsupportedError("Not supported"); }
+
+ static CssPageRule internalCreateCssPageRule() {
+ return new CssPageRule._internalWrap();
+ }
+
+ factory CssPageRule._internalWrap() {
+ return new CssPageRule._internal();
+ }
+
+ CssPageRule._internal() : super._internal();
+
+
@DomName('CSSPageRule.selectorText')
@DocsEditable()
String get selectorText => _blink.BlinkCSSPageRule.instance.selectorText_Getter_(unwrap_jso(this));
@@ -4152,6 +5427,20 @@ class CssRule extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory CssRule._() { throw new UnsupportedError("Not supported"); }
+ static CssRule internalCreateCssRule() {
+ return new CssRule._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory CssRule._internalWrap() {
+ return new CssRule._internal();
+ }
+
+ CssRule._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('CSSRule.CHARSET_RULE')
@DocsEditable()
static const int CHARSET_RULE = 2;
@@ -4247,7 +5536,7 @@ class CssRule extends NativeFieldWrapperClass2 {
@DomName('CSSStyleDeclaration')
-class CssStyleDeclaration extends NativeFieldWrapperClass2 with
+ class CssStyleDeclaration extends
CssStyleDeclarationBase {
factory CssStyleDeclaration() => new CssStyleDeclaration.css('');
@@ -4293,7 +5582,7 @@ class CssStyleDeclaration extends NativeFieldWrapperClass2 with
}
bool _hasProperty(String propertyName) =>
- _blink.BlinkCSSStyleDeclaration.$__propertyQuery___Callback_1(this, propertyName);
+ _blink.BlinkCSSStyleDeclaration.instance.$__propertyQuery___Callback_1_(unwrap_jso(this), propertyName) != null;
@DomName('CSSStyleDeclaration.setProperty')
void setProperty(String propertyName, String value, [String priority]) {
@@ -4337,6 +5626,20 @@ class CssStyleDeclaration extends NativeFieldWrapperClass2 with
// To suppress missing implicit constructor warnings.
factory CssStyleDeclaration._() { throw new UnsupportedError("Not supported"); }
+ static CssStyleDeclaration internalCreateCssStyleDeclaration() {
+ return new CssStyleDeclaration._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory CssStyleDeclaration._internalWrap() {
+ return new CssStyleDeclaration._internal();
+ }
+
+ CssStyleDeclaration._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('CSSStyleDeclaration.cssText')
@DocsEditable()
String get cssText => _blink.BlinkCSSStyleDeclaration.instance.cssText_Getter_(unwrap_jso(this));
@@ -4389,7 +5692,7 @@ class CssStyleDeclaration extends NativeFieldWrapperClass2 with
}
-class _CssStyleDeclarationSet extends Object with CssStyleDeclarationBase {
+class _CssStyleDeclarationSet extends CssStyleDeclarationBase {
final Iterable<Element> _elementIterable;
Iterable<CssStyleDeclaration> _elementCssStyleDeclarationSetIterable;
@@ -4416,9 +5719,11 @@ class _CssStyleDeclarationSet extends Object with CssStyleDeclarationBase {
// items in the MEMBERS set if you want that functionality.
}
-abstract class CssStyleDeclarationBase {
- String getPropertyValue(String propertyName);
- void setProperty(String propertyName, String value, [String priority]);
+class CssStyleDeclarationBase {
+ String getPropertyValue(String propertyName) =>
+ throw new StateError('getProperty not overridden in dart:html');
+ void setProperty(String propertyName, String value, [String priority]) =>
+ throw new StateError('setProperty not overridden in dart:html');
/** Gets the value of "align-content" */
String get alignContent =>
@@ -7517,6 +8822,18 @@ class CssStyleRule extends CssRule {
// To suppress missing implicit constructor warnings.
factory CssStyleRule._() { throw new UnsupportedError("Not supported"); }
+
+ static CssStyleRule internalCreateCssStyleRule() {
+ return new CssStyleRule._internalWrap();
+ }
+
+ factory CssStyleRule._internalWrap() {
+ return new CssStyleRule._internal();
+ }
+
+ CssStyleRule._internal() : super._internal();
+
+
@DomName('CSSStyleRule.selectorText')
@DocsEditable()
String get selectorText => _blink.BlinkCSSStyleRule.instance.selectorText_Getter_(unwrap_jso(this));
@@ -7543,6 +8860,18 @@ class CssStyleSheet extends StyleSheet {
// To suppress missing implicit constructor warnings.
factory CssStyleSheet._() { throw new UnsupportedError("Not supported"); }
+
+ static CssStyleSheet internalCreateCssStyleSheet() {
+ return new CssStyleSheet._internalWrap();
+ }
+
+ factory CssStyleSheet._internalWrap() {
+ return new CssStyleSheet._internal();
+ }
+
+ CssStyleSheet._internal() : super._internal();
+
+
@DomName('CSSStyleSheet.cssRules')
@DocsEditable()
List<CssRule> get cssRules => wrap_jso_list(_blink.BlinkCSSStyleSheet.instance.cssRules_Getter_(unwrap_jso(this)));
@@ -7593,6 +8922,18 @@ class CssSupportsRule extends CssRule {
// To suppress missing implicit constructor warnings.
factory CssSupportsRule._() { throw new UnsupportedError("Not supported"); }
+
+ static CssSupportsRule internalCreateCssSupportsRule() {
+ return new CssSupportsRule._internalWrap();
+ }
+
+ factory CssSupportsRule._internalWrap() {
+ return new CssSupportsRule._internal();
+ }
+
+ CssSupportsRule._internal() : super._internal();
+
+
@DomName('CSSSupportsRule.conditionText')
@DocsEditable()
String get conditionText => _blink.BlinkCSSSupportsRule.instance.conditionText_Getter_(unwrap_jso(this));
@@ -7624,6 +8965,18 @@ class CssViewportRule extends CssRule {
// To suppress missing implicit constructor warnings.
factory CssViewportRule._() { throw new UnsupportedError("Not supported"); }
+
+ static CssViewportRule internalCreateCssViewportRule() {
+ return new CssViewportRule._internalWrap();
+ }
+
+ factory CssViewportRule._internalWrap() {
+ return new CssViewportRule._internal();
+ }
+
+ CssViewportRule._internal() : super._internal();
+
+
@DomName('CSSViewportRule.style')
@DocsEditable()
@Experimental() // untriaged
@@ -7673,6 +9026,18 @@ class CustomEvent extends Event {
// To suppress missing implicit constructor warnings.
factory CustomEvent._() { throw new UnsupportedError("Not supported"); }
+
+ static CustomEvent internalCreateCustomEvent() {
+ return new CustomEvent._internalWrap();
+ }
+
+ factory CustomEvent._internalWrap() {
+ return new CustomEvent._internal();
+ }
+
+ CustomEvent._internal() : super._internal();
+
+
@DomName('CustomEvent.detail')
@DocsEditable()
Object get _detail => _blink.BlinkCustomEvent.instance.detail_Getter_(unwrap_jso(this));
@@ -7698,6 +9063,18 @@ class DListElement extends HtmlElement {
@DomName('HTMLDListElement.HTMLDListElement')
@DocsEditable()
factory DListElement() => document.createElement("dl");
+
+
+ static DListElement internalCreateDListElement() {
+ return new DListElement._internalWrap();
+ }
+
+ factory DListElement._internalWrap() {
+ return new DListElement._internal();
+ }
+
+ DListElement._internal() : super._internal();
+
/**
* Constructor instantiated by the DOM when a custom element has been created.
*
@@ -7726,6 +9103,18 @@ class DataListElement extends HtmlElement {
@DomName('HTMLDataListElement.HTMLDataListElement')
@DocsEditable()
factory DataListElement() => document.createElement("datalist");
+
+
+ static DataListElement internalCreateDataListElement() {
+ return new DataListElement._internalWrap();
+ }
+
+ factory DataListElement._internalWrap() {
+ return new DataListElement._internal();
+ }
+
+ DataListElement._internal() : super._internal();
+
/**
* Constructor instantiated by the DOM when a custom element has been created.
*
@@ -7755,6 +9144,20 @@ class DataTransfer extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory DataTransfer._() { throw new UnsupportedError("Not supported"); }
+ static DataTransfer internalCreateDataTransfer() {
+ return new DataTransfer._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory DataTransfer._internalWrap() {
+ return new DataTransfer._internal();
+ }
+
+ DataTransfer._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('DataTransfer.dropEffect')
@DocsEditable()
@Experimental() // untriaged
@@ -7830,6 +9233,20 @@ class DataTransferItem extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory DataTransferItem._() { throw new UnsupportedError("Not supported"); }
+ static DataTransferItem internalCreateDataTransferItem() {
+ return new DataTransferItem._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory DataTransferItem._internalWrap() {
+ return new DataTransferItem._internal();
+ }
+
+ DataTransferItem._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('DataTransferItem.kind')
@DocsEditable()
String get kind => _blink.BlinkDataTransferItem.instance.kind_Getter_(unwrap_jso(this));
@@ -7874,6 +9291,20 @@ class DataTransferItemList extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory DataTransferItemList._() { throw new UnsupportedError("Not supported"); }
+ static DataTransferItemList internalCreateDataTransferItemList() {
+ return new DataTransferItemList._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory DataTransferItemList._internalWrap() {
+ return new DataTransferItemList._internal();
+ }
+
+ DataTransferItemList._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('DataTransferItemList.length')
@DocsEditable()
int get length => _blink.BlinkDataTransferItemList.instance.length_Getter_(unwrap_jso(this));
@@ -7952,6 +9383,18 @@ class DedicatedWorkerGlobalScope extends WorkerGlobalScope {
@Experimental() // untriaged
static const EventStreamProvider<MessageEvent> messageEvent = const EventStreamProvider<MessageEvent>('message');
+
+ static DedicatedWorkerGlobalScope internalCreateDedicatedWorkerGlobalScope() {
+ return new DedicatedWorkerGlobalScope._internalWrap();
+ }
+
+ factory DedicatedWorkerGlobalScope._internalWrap() {
+ return new DedicatedWorkerGlobalScope._internal();
+ }
+
+ DedicatedWorkerGlobalScope._internal() : super._internal();
+
+
@DomName('DedicatedWorkerGlobalScope.postMessage')
@DocsEditable()
@Experimental() // untriaged
@@ -7978,6 +9421,20 @@ class DeprecatedStorageInfo extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory DeprecatedStorageInfo._() { throw new UnsupportedError("Not supported"); }
+ static DeprecatedStorageInfo internalCreateDeprecatedStorageInfo() {
+ return new DeprecatedStorageInfo._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory DeprecatedStorageInfo._internalWrap() {
+ return new DeprecatedStorageInfo._internal();
+ }
+
+ DeprecatedStorageInfo._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('DeprecatedStorageInfo.PERSISTENT')
@DocsEditable()
@Experimental() // untriaged
@@ -8029,6 +9486,20 @@ class DeprecatedStorageQuota extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory DeprecatedStorageQuota._() { throw new UnsupportedError("Not supported"); }
+ static DeprecatedStorageQuota internalCreateDeprecatedStorageQuota() {
+ return new DeprecatedStorageQuota._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory DeprecatedStorageQuota._internalWrap() {
+ return new DeprecatedStorageQuota._internal();
+ }
+
+ DeprecatedStorageQuota._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
void queryUsageAndQuota(StorageUsageCallback usageCallback, [StorageErrorCallback errorCallback]) {
if (errorCallback != null) {
_blink.BlinkDeprecatedStorageQuota.instance.queryUsageAndQuota_Callback_2_(unwrap_jso(this), unwrap_jso(usageCallback), unwrap_jso(errorCallback));
@@ -8071,6 +9542,18 @@ class DetailsElement extends HtmlElement {
@DomName('HTMLDetailsElement.HTMLDetailsElement')
@DocsEditable()
factory DetailsElement() => document.createElement("details");
+
+
+ static DetailsElement internalCreateDetailsElement() {
+ return new DetailsElement._internalWrap();
+ }
+
+ factory DetailsElement._internalWrap() {
+ return new DetailsElement._internal();
+ }
+
+ DetailsElement._internal() : super._internal();
+
/**
* Constructor instantiated by the DOM when a custom element has been created.
*
@@ -8105,6 +9588,20 @@ class DeviceAcceleration extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory DeviceAcceleration._() { throw new UnsupportedError("Not supported"); }
+ static DeviceAcceleration internalCreateDeviceAcceleration() {
+ return new DeviceAcceleration._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory DeviceAcceleration._internalWrap() {
+ return new DeviceAcceleration._internal();
+ }
+
+ DeviceAcceleration._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('DeviceAcceleration.x')
@DocsEditable()
double get x => _blink.BlinkDeviceAcceleration.instance.x_Getter_(unwrap_jso(this));
@@ -8132,6 +9629,18 @@ class DeviceLightEvent extends Event {
// To suppress missing implicit constructor warnings.
factory DeviceLightEvent._() { throw new UnsupportedError("Not supported"); }
+
+ static DeviceLightEvent internalCreateDeviceLightEvent() {
+ return new DeviceLightEvent._internalWrap();
+ }
+
+ factory DeviceLightEvent._internalWrap() {
+ return new DeviceLightEvent._internal();
+ }
+
+ DeviceLightEvent._internal() : super._internal();
+
+
@DomName('DeviceLightEvent.value')
@DocsEditable()
@Experimental() // untriaged
@@ -8153,6 +9662,18 @@ class DeviceMotionEvent extends Event {
// To suppress missing implicit constructor warnings.
factory DeviceMotionEvent._() { throw new UnsupportedError("Not supported"); }
+
+ static DeviceMotionEvent internalCreateDeviceMotionEvent() {
+ return new DeviceMotionEvent._internalWrap();
+ }
+
+ factory DeviceMotionEvent._internalWrap() {
+ return new DeviceMotionEvent._internal();
+ }
+
+ DeviceMotionEvent._internal() : super._internal();
+
+
@DomName('DeviceMotionEvent.acceleration')
@DocsEditable()
DeviceAcceleration get acceleration => wrap_jso(_blink.BlinkDeviceMotionEvent.instance.acceleration_Getter_(unwrap_jso(this)));
@@ -8196,6 +9717,18 @@ class DeviceOrientationEvent extends Event {
// To suppress missing implicit constructor warnings.
factory DeviceOrientationEvent._() { throw new UnsupportedError("Not supported"); }
+
+ static DeviceOrientationEvent internalCreateDeviceOrientationEvent() {
+ return new DeviceOrientationEvent._internalWrap();
+ }
+
+ factory DeviceOrientationEvent._internalWrap() {
+ return new DeviceOrientationEvent._internal();
+ }
+
+ DeviceOrientationEvent._internal() : super._internal();
+
+
@DomName('DeviceOrientationEvent.absolute')
@DocsEditable()
bool get absolute => _blink.BlinkDeviceOrientationEvent.instance.absolute_Getter_(unwrap_jso(this));
@@ -8232,6 +9765,20 @@ class DeviceRotationRate extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory DeviceRotationRate._() { throw new UnsupportedError("Not supported"); }
+ static DeviceRotationRate internalCreateDeviceRotationRate() {
+ return new DeviceRotationRate._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory DeviceRotationRate._internalWrap() {
+ return new DeviceRotationRate._internal();
+ }
+
+ DeviceRotationRate._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('DeviceRotationRate.alpha')
@DocsEditable()
double get alpha => _blink.BlinkDeviceRotationRate.instance.alpha_Getter_(unwrap_jso(this));
@@ -8258,6 +9805,18 @@ class DeviceRotationRate extends NativeFieldWrapperClass2 {
class DialogElement extends HtmlElement {
// To suppress missing implicit constructor warnings.
factory DialogElement._() { throw new UnsupportedError("Not supported"); }
+
+
+ static DialogElement internalCreateDialogElement() {
+ return new DialogElement._internalWrap();
+ }
+
+ factory DialogElement._internalWrap() {
+ return new DialogElement._internal();
+ }
+
+ DialogElement._internal() : super._internal();
+
/**
* Constructor instantiated by the DOM when a custom element has been created.
*
@@ -8345,21 +9904,33 @@ class DirectoryEntry extends Entry {
// To suppress missing implicit constructor warnings.
factory DirectoryEntry._() { throw new UnsupportedError("Not supported"); }
+
+ static DirectoryEntry internalCreateDirectoryEntry() {
+ return new DirectoryEntry._internalWrap();
+ }
+
+ factory DirectoryEntry._internalWrap() {
+ return new DirectoryEntry._internal();
+ }
+
+ DirectoryEntry._internal() : super._internal();
+
+
@DomName('DirectoryEntry.createReader')
@DocsEditable()
DirectoryReader createReader() => wrap_jso(_blink.BlinkDirectoryEntry.instance.createReader_Callback_0_(unwrap_jso(this)));
void __getDirectory(String path, {Map options, _EntryCallback successCallback, _ErrorCallback errorCallback}) {
if (errorCallback != null) {
- _blink.BlinkDirectoryEntry.instance.getDirectory_Callback_4_(unwrap_jso(this), path, options, unwrap_jso(successCallback), unwrap_jso(errorCallback));
+ _blink.BlinkDirectoryEntry.instance.getDirectory_Callback_4_(unwrap_jso(this), path, options != null ? new js.JsObject.jsify(options) : options, unwrap_jso(successCallback), unwrap_jso(errorCallback));
return;
}
if (successCallback != null) {
- _blink.BlinkDirectoryEntry.instance.getDirectory_Callback_3_(unwrap_jso(this), path, options, unwrap_jso(successCallback));
+ _blink.BlinkDirectoryEntry.instance.getDirectory_Callback_3_(unwrap_jso(this), path, options != null ? new js.JsObject.jsify(options) : options, unwrap_jso(successCallback));
return;
}
if (options != null) {
- _blink.BlinkDirectoryEntry.instance.getDirectory_Callback_2_(unwrap_jso(this), path, options);
+ _blink.BlinkDirectoryEntry.instance.getDirectory_Callback_2_(unwrap_jso(this), path, options != null ? new js.JsObject.jsify(options) : options);
return;
}
_blink.BlinkDirectoryEntry.instance.getDirectory_Callback_1_(unwrap_jso(this), path);
@@ -8376,15 +9947,15 @@ class DirectoryEntry extends Entry {
void __getFile(String path, {Map options, _EntryCallback successCallback, _ErrorCallback errorCallback}) {
if (errorCallback != null) {
- _blink.BlinkDirectoryEntry.instance.getFile_Callback_4_(unwrap_jso(this), path, options, unwrap_jso(successCallback), unwrap_jso(errorCallback));
+ _blink.BlinkDirectoryEntry.instance.getFile_Callback_4_(unwrap_jso(this), path, options != null ? new js.JsObject.jsify(options) : options, unwrap_jso(successCallback), unwrap_jso(errorCallback));
return;
}
if (successCallback != null) {
- _blink.BlinkDirectoryEntry.instance.getFile_Callback_3_(unwrap_jso(this), path, options, unwrap_jso(successCallback));
+ _blink.BlinkDirectoryEntry.instance.getFile_Callback_3_(unwrap_jso(this), path, options != null ? new js.JsObject.jsify(options) : options, unwrap_jso(successCallback));
return;
}
if (options != null) {
- _blink.BlinkDirectoryEntry.instance.getFile_Callback_2_(unwrap_jso(this), path, options);
+ _blink.BlinkDirectoryEntry.instance.getFile_Callback_2_(unwrap_jso(this), path, options != null ? new js.JsObject.jsify(options) : options);
return;
}
_blink.BlinkDirectoryEntry.instance.getFile_Callback_1_(unwrap_jso(this), path);
@@ -8432,6 +10003,20 @@ class DirectoryReader extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory DirectoryReader._() { throw new UnsupportedError("Not supported"); }
+ static DirectoryReader internalCreateDirectoryReader() {
+ return new DirectoryReader._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory DirectoryReader._internalWrap() {
+ return new DirectoryReader._internal();
+ }
+
+ DirectoryReader._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
void _readEntries(_EntriesCallback successCallback, [_ErrorCallback errorCallback]) {
if (errorCallback != null) {
_blink.BlinkDirectoryReader.instance.readEntries_Callback_2_(unwrap_jso(this), unwrap_jso(successCallback), unwrap_jso(errorCallback));
@@ -8488,6 +10073,18 @@ class DivElement extends HtmlElement {
@DomName('HTMLDivElement.HTMLDivElement')
@DocsEditable()
factory DivElement() => document.createElement("div");
+
+
+ static DivElement internalCreateDivElement() {
+ return new DivElement._internalWrap();
+ }
+
+ factory DivElement._internalWrap() {
+ return new DivElement._internal();
+ }
+
+ DivElement._internal() : super._internal();
+
/**
* Constructor instantiated by the DOM when a custom element has been created.
*
@@ -8560,6 +10157,18 @@ class Document extends Node
@DocsEditable()
static const EventStreamProvider<Event> selectionChangeEvent = const EventStreamProvider<Event>('selectionchange');
+
+ static Document internalCreateDocument() {
+ return new Document._internalWrap();
+ }
+
+ factory Document._internalWrap() {
+ return new Document._internal();
+ }
+
+ Document._internal() : super._internal();
+
+
@DomName('Document.activeElement')
@DocsEditable()
@Experimental() // untriaged
@@ -9290,7 +10899,7 @@ class Document extends Node
* [CSS selector specification](http://www.w3.org/TR/css3-selectors/).
*/
ElementList<Element> querySelectorAll(String selectors) {
- return new _FrozenElementList._wrap(_querySelectorAll(selectors));
+ return _querySelectorAll(selectors);
}
/**
@@ -9323,12 +10932,7 @@ class Document extends Node
@DomName('Document.createElement')
Element createElement(String tagName, [String typeExtension]) {
- if (typeExtension != null) {
- return _createElement(tagName, typeExtension);
- } else {
- // Fast-path for Dartium when typeExtension is not needed.
- return _Utils.createElement(this, tagName);
- }
+ return _createElement(tagName, typeExtension);
}
}
@@ -9387,7 +10991,7 @@ class DocumentFragment extends Node implements ParentNode {
* [CSS selector specification](http://www.w3.org/TR/css3-selectors/).
*/
ElementList<Element> querySelectorAll(String selectors) =>
- new _FrozenElementList._wrap(_querySelectorAll(selectors));
+ _querySelectorAll(selectors);
String get innerHtml {
@@ -9451,6 +11055,18 @@ class DocumentFragment extends Node implements ParentNode {
// To suppress missing implicit constructor warnings.
factory DocumentFragment._() { throw new UnsupportedError("Not supported"); }
+
+ static DocumentFragment internalCreateDocumentFragment() {
+ return new DocumentFragment._internalWrap();
+ }
+
+ factory DocumentFragment._internalWrap() {
+ return new DocumentFragment._internal();
+ }
+
+ DocumentFragment._internal() : super._internal();
+
+
@DomName('DocumentFragment.getElementById')
@DocsEditable()
@Experimental() // untriaged
@@ -9508,6 +11124,20 @@ class DomError extends NativeFieldWrapperClass2 {
return _blink.BlinkDOMError.instance.constructorCallback_2_(name, message);
}
+ static DomError internalCreateDomError() {
+ return new DomError._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory DomError._internalWrap() {
+ return new DomError._internal();
+ }
+
+ DomError._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('DOMError.message')
@DocsEditable()
@Experimental() // untriaged
@@ -9552,6 +11182,20 @@ class DomException extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory DomException._() { throw new UnsupportedError("Not supported"); }
+ static DomException internalCreateDomException() {
+ return new DomException._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory DomException._internalWrap() {
+ return new DomException._internal();
+ }
+
+ DomException._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('DOMException.message')
@DocsEditable()
String get message => _blink.BlinkDOMException.instance.message_Getter_(unwrap_jso(this));
@@ -9578,6 +11222,20 @@ class DomImplementation extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory DomImplementation._() { throw new UnsupportedError("Not supported"); }
+ static DomImplementation internalCreateDomImplementation() {
+ return new DomImplementation._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory DomImplementation._internalWrap() {
+ return new DomImplementation._internal();
+ }
+
+ DomImplementation._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('DOMImplementation.createDocument')
@DocsEditable()
XmlDocument createDocument(String namespaceURI, String qualifiedName, _DocumentType doctype) => _blink.BlinkDOMImplementation.instance.createDocument_Callback_3_(unwrap_jso(this), namespaceURI, qualifiedName, unwrap_jso(doctype));
@@ -9609,6 +11267,20 @@ class DomIterator extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory DomIterator._() { throw new UnsupportedError("Not supported"); }
+ static DomIterator internalCreateDomIterator() {
+ return new DomIterator._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory DomIterator._internalWrap() {
+ return new DomIterator._internal();
+ }
+
+ DomIterator._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
Object next([Object value]) {
if (value != null) {
return _blink.BlinkIterator.instance.next_Callback_1_(unwrap_jso(this), value);
@@ -9643,6 +11315,18 @@ class DomMatrix extends DomMatrixReadOnly {
throw new ArgumentError("Incorrect number or type of arguments");
}
+
+ static DomMatrix internalCreateDomMatrix() {
+ return new DomMatrix._internalWrap();
+ }
+
+ factory DomMatrix._internalWrap() {
+ return new DomMatrix._internal();
+ }
+
+ DomMatrix._internal() : super._internal();
+
+
@DomName('DOMMatrix.a')
@DocsEditable()
@Experimental() // untriaged
@@ -9937,6 +11621,20 @@ class DomMatrixReadOnly extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory DomMatrixReadOnly._() { throw new UnsupportedError("Not supported"); }
+ static DomMatrixReadOnly internalCreateDomMatrixReadOnly() {
+ return new DomMatrixReadOnly._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory DomMatrixReadOnly._internalWrap() {
+ return new DomMatrixReadOnly._internal();
+ }
+
+ DomMatrixReadOnly._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('DOMMatrixReadOnly.a')
@DocsEditable()
@Experimental() // untriaged
@@ -10141,6 +11839,20 @@ class DomParser extends NativeFieldWrapperClass2 {
return _blink.BlinkDOMParser.instance.constructorCallback_0_();
}
+ static DomParser internalCreateDomParser() {
+ return new DomParser._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory DomParser._internalWrap() {
+ return new DomParser._internal();
+ }
+
+ DomParser._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('DOMParser.parseFromString')
@DocsEditable()
Document parseFromString(String str, String contentType) => wrap_jso(_blink.BlinkDOMParser.instance.parseFromString_Callback_2_(unwrap_jso(this), str, contentType));
@@ -10181,6 +11893,18 @@ class DomPoint extends DomPointReadOnly {
throw new ArgumentError("Incorrect number or type of arguments");
}
+
+ static DomPoint internalCreateDomPoint() {
+ return new DomPoint._internalWrap();
+ }
+
+ factory DomPoint._internalWrap() {
+ return new DomPoint._internal();
+ }
+
+ DomPoint._internal() : super._internal();
+
+
/// Checks if this type is supported on the current platform.
static bool get supported => true;
@@ -10245,6 +11969,20 @@ class DomPointReadOnly extends NativeFieldWrapperClass2 {
return _blink.BlinkDOMPointReadOnly.instance.constructorCallback_4_(x, y, z, w);
}
+ static DomPointReadOnly internalCreateDomPointReadOnly() {
+ return new DomPointReadOnly._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory DomPointReadOnly._internalWrap() {
+ return new DomPointReadOnly._internal();
+ }
+
+ DomPointReadOnly._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('DOMPointReadOnly.w')
@DocsEditable()
@Experimental() // untriaged
@@ -10374,6 +12112,19 @@ class DomRectReadOnly extends NativeFieldWrapperClass2 implements Rectangle {
return _blink.BlinkDOMRectReadOnly.instance.constructorCallback_4_(x, y, width, height);
}
+ static DomRectReadOnly internalCreateDomRectReadOnly() {
+ return new DomRectReadOnly._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory DomRectReadOnly._internalWrap() {
+ return new DomRectReadOnly._internal();
+ }
+
+ DomRectReadOnly._internal() { }
+
+
@DomName('DOMRectReadOnly.bottom')
@DocsEditable()
@Experimental() // untriaged
@@ -10428,6 +12179,18 @@ class DomSettableTokenList extends DomTokenList {
// To suppress missing implicit constructor warnings.
factory DomSettableTokenList._() { throw new UnsupportedError("Not supported"); }
+
+ static DomSettableTokenList internalCreateDomSettableTokenList() {
+ return new DomSettableTokenList._internalWrap();
+ }
+
+ factory DomSettableTokenList._internalWrap() {
+ return new DomSettableTokenList._internal();
+ }
+
+ DomSettableTokenList._internal() : super._internal();
+
+
@DomName('DOMSettableTokenList.value')
@DocsEditable()
String get value => _blink.BlinkDOMSettableTokenList.instance.value_Getter_(unwrap_jso(this));
@@ -10454,6 +12217,20 @@ class DomStringList extends NativeFieldWrapperClass2 with ListMixin<String>, Imm
// To suppress missing implicit constructor warnings.
factory DomStringList._() { throw new UnsupportedError("Not supported"); }
+ static DomStringList internalCreateDomStringList() {
+ return new DomStringList._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory DomStringList._internalWrap() {
+ return new DomStringList._internal();
+ }
+
+ DomStringList._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('DOMStringList.length')
@DocsEditable()
int get length => _blink.BlinkDOMStringList.instance.length_Getter_(unwrap_jso(this));
@@ -10526,6 +12303,20 @@ abstract class DomStringMap extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory DomStringMap._() { throw new UnsupportedError("Not supported"); }
+ static DomStringMap internalCreateDomStringMap() {
+ return new DomStringMap._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory DomStringMap._internalWrap() {
+ return new DomStringMap._internal();
+ }
+
+ DomStringMap._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
bool __delete__(index_OR_name) {
if ((index_OR_name is int || index_OR_name == null)) {
return _blink.BlinkDOMStringMap.instance.$__delete___Callback_1_(unwrap_jso(this), unwrap_jso(index_OR_name));
@@ -10572,6 +12363,20 @@ class DomTokenList extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory DomTokenList._() { throw new UnsupportedError("Not supported"); }
+ static DomTokenList internalCreateDomTokenList() {
+ return new DomTokenList._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory DomTokenList._internalWrap() {
+ return new DomTokenList._internal();
+ }
+
+ DomTokenList._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('DOMTokenList.length')
@DocsEditable()
int get length => _blink.BlinkDOMTokenList.instance.length_Getter_(unwrap_jso(this));
@@ -11332,7 +13137,11 @@ class _FrozenElementList extends ListBase
implements ElementList, NodeListWrapper {
final List<Node> _nodeList;
- _FrozenElementList._wrap(this._nodeList);
+ var dartClass_instance;
+
+ _FrozenElementList._wrap(this._nodeList) {
+ this.dartClass_instance = this._nodeList;
+ }
int get length => _nodeList.length;
@@ -12111,7 +13920,7 @@ abstract class Element extends Node implements GlobalEventHandlers, ParentNode,
* element.style.background = 'red'; // Turns every child of body red.
* }
*/
- List<Element> get children => new _ChildrenElementList._wrap(this);
+ List<Element> get children => new FilteredElementList(this);
void set children(List<Element> value) {
// Copy list first since we don't want liveness during iteration.
@@ -12134,7 +13943,7 @@ abstract class Element extends Node implements GlobalEventHandlers, ParentNode,
*/
@DomName('Element.querySelectorAll')
ElementList<Element> querySelectorAll(String selectors) =>
- new _FrozenElementList._wrap(_querySelectorAll(selectors));
+ _querySelectorAll(selectors);
/**
* Alias for [querySelector]. Note this function is deprecated because its
@@ -12754,59 +14563,59 @@ abstract class Element extends Node implements GlobalEventHandlers, ParentNode,
@DomName('Element.offsetHeight')
@DocsEditable()
- int get offsetHeight => _blink.BlinkElement.offsetHeight_Getter(this).round();
+ int get offsetHeight => _blink.BlinkElement.instance.offsetHeight_Getter_(unwrap_jso(this)).round();
@DomName('Element.offsetLeft')
@DocsEditable()
- int get offsetLeft => _blink.BlinkElement.offsetLeft_Getter(this).round();
+ int get offsetLeft => _blink.BlinkElement.instance.offsetLeft_Getter_(unwrap_jso(this)).round();
@DomName('Element.offsetTop')
@DocsEditable()
- int get offsetTop => _blink.BlinkElement.offsetTop_Getter(this).round();
+ int get offsetTop => _blink.BlinkElement.instance.offsetTop_Getter_(unwrap_jso(this)).round();
@DomName('Element.offsetWidth')
@DocsEditable()
- int get offsetWidth => _blink.BlinkElement.offsetWidth_Getter(this).round();
+ int get offsetWidth => _blink.BlinkElement.instance.offsetWidth_Getter_(unwrap_jso(this)).round();
@DomName('Element.clientHeight')
@DocsEditable()
- int get clientHeight => _blink.BlinkElement.clientHeight_Getter(this).round();
+ int get clientHeight => _blink.BlinkElement.instance.clientHeight_Getter_(unwrap_jso(this)).round();
@DomName('Element.clientLeft')
@DocsEditable()
- int get clientLeft => _blink.BlinkElement.clientLeft_Getter(this).round();
+ int get clientLeft => _blink.BlinkElement.instance.clientLeft_Getter_(unwrap_jso(this)).round();
@DomName('Element.clientTop')
@DocsEditable()
- int get clientTop => _blink.BlinkElement.clientTop_Getter(this).round();
+ int get clientTop => _blink.BlinkElement.instance.clientTop_Getter_(unwrap_jso(this)).round();
@DomName('Element.clientWidth')
@DocsEditable()
- int get clientWidth => _blink.BlinkElement.clientWidth_Getter(this).round();
+ int get clientWidth => _blink.BlinkElement.instance.clientWidth_Getter_(unwrap_jso(this)).round();
@DomName('Element.scrollHeight')
@DocsEditable()
- int get scrollHeight => _blink.BlinkElement.scrollHeight_Getter(this).round();
+ int get scrollHeight => _blink.BlinkElement.instance.scrollHeight_Getter_(unwrap_jso(this)).round();
@DomName('Element.scrollLeft')
@DocsEditable()
- int get scrollLeft => _blink.BlinkElement.scrollLeft_Getter(this).round();
+ int get scrollLeft => _blink.BlinkElement.instance.scrollLeft_Getter_(unwrap_jso(this)).round();
@DomName('Element.scrollLeft')
@DocsEditable()
- void set scrollLeft(int value) => _blink.BlinkElement.scrollLeft_Setter(this, value.round());
+ void set scrollLeft(int value) => _blink.BlinkElement.instance.scrollLeft_Setter_(unwrap_jso(this), value.round());
@DomName('Element.scrollTop')
@DocsEditable()
- int get scrollTop => _blink.BlinkElement.scrollTop_Getter(this).round();
+ int get scrollTop => _blink.BlinkElement.instance.scrollTop_Getter_(unwrap_jso(this)).round();
@DomName('Element.scrollTop')
@DocsEditable()
- void set scrollTop(int value) => _blink.BlinkElement.scrollTop_Setter(this, value.round());
+ void set scrollTop(int value) => _blink.BlinkElement.instance.scrollTop_Setter_(unwrap_jso(this), value.round());
@DomName('Element.scrollWidth')
@DocsEditable()
- int get scrollWidth => _blink.BlinkElement.scrollWidth_Getter(this).round();
+ int get scrollWidth => _blink.BlinkElement.instance.scrollWidth_Getter_(unwrap_jso(this)).round();
// To suppress missing implicit constructor warnings.
factory Element._() { throw new UnsupportedError("Not supported"); }
@@ -13479,6 +15288,18 @@ abstract class Element extends Node implements GlobalEventHandlers, ParentNode,
// https://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html
static const EventStreamProvider<Event> fullscreenErrorEvent = const EventStreamProvider<Event>('webkitfullscreenerror');
+
+ static Element internalCreateElement() {
+ return new Element._internalWrap();
+ }
+
+ factory Element._internalWrap() {
+ return new Element._internal();
+ }
+
+ Element._internal() : super._internal();
+
+
String contentEditable;
MenuElement contextMenu;
@@ -14360,6 +16181,18 @@ class EmbedElement extends HtmlElement {
@DomName('HTMLEmbedElement.HTMLEmbedElement')
@DocsEditable()
factory EmbedElement() => document.createElement("embed");
+
+
+ static EmbedElement internalCreateEmbedElement() {
+ return new EmbedElement._internalWrap();
+ }
+
+ factory EmbedElement._internalWrap() {
+ return new EmbedElement._internal();
+ }
+
+ EmbedElement._internal() : super._internal();
+
/**
* Constructor instantiated by the DOM when a custom element has been created.
*
@@ -14455,6 +16288,20 @@ class Entry extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory Entry._() { throw new UnsupportedError("Not supported"); }
+ static Entry internalCreateEntry() {
+ return new Entry._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory Entry._internalWrap() {
+ return new Entry._internal();
+ }
+
+ Entry._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('Entry.filesystem')
@DocsEditable()
FileSystem get filesystem => wrap_jso(_blink.BlinkEntry.instance.filesystem_Getter_(unwrap_jso(this)));
@@ -14621,6 +16468,18 @@ class ErrorEvent extends Event {
// To suppress missing implicit constructor warnings.
factory ErrorEvent._() { throw new UnsupportedError("Not supported"); }
+
+ static ErrorEvent internalCreateErrorEvent() {
+ return new ErrorEvent._internalWrap();
+ }
+
+ factory ErrorEvent._internalWrap() {
+ return new ErrorEvent._internal();
+ }
+
+ ErrorEvent._internal() : super._internal();
+
+
@DomName('ErrorEvent.colno')
@DocsEditable()
@Experimental() // untriaged
@@ -14705,6 +16564,20 @@ class Event extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory Event._() { throw new UnsupportedError("Not supported"); }
+ static Event internalCreateEvent() {
+ return new Event._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory Event._internalWrap() {
+ return new Event._internal();
+ }
+
+ Event._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
/**
* This event is being handled by the event target.
*
@@ -14881,6 +16754,18 @@ class EventSource extends EventTarget {
return _blink.BlinkEventSource.instance.constructorCallback_1_(url);
}
+
+ static EventSource internalCreateEventSource() {
+ return new EventSource._internalWrap();
+ }
+
+ factory EventSource._internalWrap() {
+ return new EventSource._internal();
+ }
+
+ EventSource._internal() : super._internal();
+
+
@DomName('EventSource.CLOSED')
@DocsEditable()
static const int CLOSED = 2;
@@ -15049,13 +16934,27 @@ class EventTarget extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory EventTarget._() { throw new UnsupportedError("Not supported"); }
+ static EventTarget internalCreateEventTarget() {
+ return new EventTarget._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory EventTarget._internalWrap() {
+ return new EventTarget._internal();
+ }
+
+ EventTarget._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
void _addEventListener([String type, EventListener listener, bool useCapture]) {
if (useCapture != null) {
- _blink.BlinkEventTarget.instance.addEventListener_Callback_3_(unwrap_jso(this), type, unwrap_jso(listener), useCapture);
+ _blink.BlinkEventTarget.instance.addEventListener_Callback_3_(unwrap_jso(this), type, unwrap_jso((Event event) => listener(wrap_jso(event))), useCapture);
return;
}
if (listener != null) {
- _blink.BlinkEventTarget.instance.addEventListener_Callback_2_(unwrap_jso(this), type, unwrap_jso(listener));
+ _blink.BlinkEventTarget.instance.addEventListener_Callback_2_(unwrap_jso(this), type, unwrap_jso((Event event) => listener(wrap_jso(event))));
return;
}
if (type != null) {
@@ -15102,6 +17001,18 @@ class ExtendableEvent extends Event {
// To suppress missing implicit constructor warnings.
factory ExtendableEvent._() { throw new UnsupportedError("Not supported"); }
+
+ static ExtendableEvent internalCreateExtendableEvent() {
+ return new ExtendableEvent._internalWrap();
+ }
+
+ factory ExtendableEvent._internalWrap() {
+ return new ExtendableEvent._internal();
+ }
+
+ ExtendableEvent._internal() : super._internal();
+
+
@DomName('ExtendableEvent.waitUntil')
@DocsEditable()
@Experimental() // untriaged
@@ -15128,6 +17039,18 @@ class FederatedCredential extends Credential {
return _blink.BlinkFederatedCredential.instance.constructorCallback_4_(id, name, avatarURL, federation);
}
+
+ static FederatedCredential internalCreateFederatedCredential() {
+ return new FederatedCredential._internalWrap();
+ }
+
+ factory FederatedCredential._internalWrap() {
+ return new FederatedCredential._internal();
+ }
+
+ FederatedCredential._internal() : super._internal();
+
+
@DomName('FederatedCredential.federation')
@DocsEditable()
@Experimental() // untriaged
@@ -15148,6 +17071,18 @@ class FetchEvent extends Event {
// To suppress missing implicit constructor warnings.
factory FetchEvent._() { throw new UnsupportedError("Not supported"); }
+
+ static FetchEvent internalCreateFetchEvent() {
+ return new FetchEvent._internalWrap();
+ }
+
+ factory FetchEvent._internalWrap() {
+ return new FetchEvent._internal();
+ }
+
+ FetchEvent._internal() : super._internal();
+
+
@DomName('FetchEvent.isReload')
@DocsEditable()
@Experimental() // untriaged
@@ -15181,6 +17116,18 @@ class FieldSetElement extends HtmlElement {
@DomName('HTMLFieldSetElement.HTMLFieldSetElement')
@DocsEditable()
factory FieldSetElement() => document.createElement("fieldset");
+
+
+ static FieldSetElement internalCreateFieldSetElement() {
+ return new FieldSetElement._internalWrap();
+ }
+
+ factory FieldSetElement._internalWrap() {
+ return new FieldSetElement._internal();
+ }
+
+ FieldSetElement._internal() : super._internal();
+
/**
* Constructor instantiated by the DOM when a custom element has been created.
*
@@ -15250,6 +17197,18 @@ class File extends Blob {
// To suppress missing implicit constructor warnings.
factory File._() { throw new UnsupportedError("Not supported"); }
+
+ static File internalCreateFile() {
+ return new File._internalWrap();
+ }
+
+ factory File._internalWrap() {
+ return new File._internal();
+ }
+
+ File._internal() : super._internal();
+
+
@DomName('File.lastModified')
@DocsEditable()
@Experimental() // untriaged
@@ -15298,6 +17257,18 @@ class FileEntry extends Entry {
// To suppress missing implicit constructor warnings.
factory FileEntry._() { throw new UnsupportedError("Not supported"); }
+
+ static FileEntry internalCreateFileEntry() {
+ return new FileEntry._internalWrap();
+ }
+
+ factory FileEntry._internalWrap() {
+ return new FileEntry._internal();
+ }
+
+ FileEntry._internal() : super._internal();
+
+
void _createWriter(_FileWriterCallback successCallback, [_ErrorCallback errorCallback]) {
if (errorCallback != null) {
_blink.BlinkFileEntry.instance.createWriter_Callback_2_(unwrap_jso(this), unwrap_jso(successCallback), unwrap_jso(errorCallback));
@@ -15348,6 +17319,18 @@ class FileError extends DomError {
// To suppress missing implicit constructor warnings.
factory FileError._() { throw new UnsupportedError("Not supported"); }
+
+ static FileError internalCreateFileError() {
+ return new FileError._internalWrap();
+ }
+
+ factory FileError._internalWrap() {
+ return new FileError._internal();
+ }
+
+ FileError._internal() : super._internal();
+
+
@DomName('FileError.ABORT_ERR')
@DocsEditable()
static const int ABORT_ERR = 3;
@@ -15414,6 +17397,20 @@ class FileList extends NativeFieldWrapperClass2 with ListMixin<File>, ImmutableL
// To suppress missing implicit constructor warnings.
factory FileList._() { throw new UnsupportedError("Not supported"); }
+ static FileList internalCreateFileList() {
+ return new FileList._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory FileList._internalWrap() {
+ return new FileList._internal();
+ }
+
+ FileList._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('FileList.length')
@DocsEditable()
int get length => _blink.BlinkFileList.instance.length_Getter_(unwrap_jso(this));
@@ -15557,6 +17554,18 @@ class FileReader extends EventTarget {
return _blink.BlinkFileReader.instance.constructorCallback_0_();
}
+
+ static FileReader internalCreateFileReader() {
+ return new FileReader._internalWrap();
+ }
+
+ factory FileReader._internalWrap() {
+ return new FileReader._internal();
+ }
+
+ FileReader._internal() : super._internal();
+
+
@DomName('FileReader.DONE')
@DocsEditable()
static const int DONE = 2;
@@ -15647,6 +17656,20 @@ class FileStream extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory FileStream._() { throw new UnsupportedError("Not supported"); }
+ static FileStream internalCreateFileStream() {
+ return new FileStream._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory FileStream._internalWrap() {
+ return new FileStream._internal();
+ }
+
+ FileStream._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('Stream.type')
@DocsEditable()
@Experimental() // untriaged
@@ -15669,6 +17692,20 @@ class FileSystem extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory FileSystem._() { throw new UnsupportedError("Not supported"); }
+ static FileSystem internalCreateFileSystem() {
+ return new FileSystem._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory FileSystem._internalWrap() {
+ return new FileSystem._internal();
+ }
+
+ FileSystem._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
/// Checks if this type is supported on the current platform.
static bool get supported => true;
@@ -15767,6 +17804,18 @@ class FileWriter extends EventTarget {
@DocsEditable()
static const EventStreamProvider<ProgressEvent> writeStartEvent = const EventStreamProvider<ProgressEvent>('writestart');
+
+ static FileWriter internalCreateFileWriter() {
+ return new FileWriter._internalWrap();
+ }
+
+ factory FileWriter._internalWrap() {
+ return new FileWriter._internal();
+ }
+
+ FileWriter._internal() : super._internal();
+
+
@DomName('FileWriter.DONE')
@DocsEditable()
static const int DONE = 2;
@@ -15866,6 +17915,18 @@ class FocusEvent extends UIEvent {
// To suppress missing implicit constructor warnings.
factory FocusEvent._() { throw new UnsupportedError("Not supported"); }
+
+ static FocusEvent internalCreateFocusEvent() {
+ return new FocusEvent._internalWrap();
+ }
+
+ factory FocusEvent._internalWrap() {
+ return new FocusEvent._internal();
+ }
+
+ FocusEvent._internal() : super._internal();
+
+
@DomName('FocusEvent.relatedTarget')
@DocsEditable()
EventTarget get relatedTarget => wrap_jso(_blink.BlinkFocusEvent.instance.relatedTarget_Getter_(unwrap_jso(this)));
@@ -15909,6 +17970,20 @@ class FontFace extends NativeFieldWrapperClass2 {
throw new ArgumentError("Incorrect number or type of arguments");
}
+ static FontFace internalCreateFontFace() {
+ return new FontFace._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory FontFace._internalWrap() {
+ return new FontFace._internal();
+ }
+
+ FontFace._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('FontFace.family')
@DocsEditable()
@Experimental() // untriaged
@@ -16009,6 +18084,18 @@ class FontFaceSet extends EventTarget {
// To suppress missing implicit constructor warnings.
factory FontFaceSet._() { throw new UnsupportedError("Not supported"); }
+
+ static FontFaceSet internalCreateFontFaceSet() {
+ return new FontFaceSet._internalWrap();
+ }
+
+ factory FontFaceSet._internalWrap() {
+ return new FontFaceSet._internal();
+ }
+
+ FontFaceSet._internal() : super._internal();
+
+
@DomName('FontFaceSet.size')
@DocsEditable()
@Experimental() // untriaged
@@ -16080,6 +18167,18 @@ class FontFaceSetLoadEvent extends Event {
// To suppress missing implicit constructor warnings.
factory FontFaceSetLoadEvent._() { throw new UnsupportedError("Not supported"); }
+
+ static FontFaceSetLoadEvent internalCreateFontFaceSetLoadEvent() {
+ return new FontFaceSetLoadEvent._internalWrap();
+ }
+
+ factory FontFaceSetLoadEvent._internalWrap() {
+ return new FontFaceSetLoadEvent._internal();
+ }
+
+ FontFaceSetLoadEvent._internal() : super._internal();
+
+
@DomName('FontFaceSetLoadEvent.fontfaces')
@DocsEditable()
@Experimental() // untriaged
@@ -16110,6 +18209,20 @@ class FormData extends NativeFieldWrapperClass2 {
@DocsEditable()
static FormData _create(form) => _blink.BlinkFormData.instance.constructorCallback_1_(form);
+ static FormData internalCreateFormData() {
+ return new FormData._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory FormData._internalWrap() {
+ return new FormData._internal();
+ }
+
+ FormData._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
/// Checks if this type is supported on the current platform.
static bool get supported => true;
@@ -16138,6 +18251,18 @@ class FormElement extends HtmlElement {
@DomName('HTMLFormElement.HTMLFormElement')
@DocsEditable()
factory FormElement() => document.createElement("form");
+
+
+ static FormElement internalCreateFormElement() {
+ return new FormElement._internalWrap();
+ }
+
+ factory FormElement._internalWrap() {
+ return new FormElement._internal();
+ }
+
+ FormElement._internal() : super._internal();
+
/**
* Constructor instantiated by the DOM when a custom element has been created.
*
@@ -16243,7 +18368,7 @@ class FormElement extends HtmlElement {
@DocsEditable()
// http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2012-October/037711.html
@Experimental()
- void requestAutocomplete(Map details) => _blink.BlinkHTMLFormElement.instance.requestAutocomplete_Callback_1_(unwrap_jso(this), details);
+ void requestAutocomplete(Map details) => _blink.BlinkHTMLFormElement.instance.requestAutocomplete_Callback_1_(unwrap_jso(this), details != null ? new js.JsObject.jsify(details) : details);
@DomName('HTMLFormElement.reset')
@DocsEditable()
@@ -16269,6 +18394,20 @@ class Gamepad extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory Gamepad._() { throw new UnsupportedError("Not supported"); }
+ static Gamepad internalCreateGamepad() {
+ return new Gamepad._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory Gamepad._internalWrap() {
+ return new Gamepad._internal();
+ }
+
+ Gamepad._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('Gamepad.axes')
@DocsEditable()
List<num> get axes => _blink.BlinkGamepad.instance.axes_Getter_(unwrap_jso(this));
@@ -16310,6 +18449,20 @@ class GamepadButton extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory GamepadButton._() { throw new UnsupportedError("Not supported"); }
+ static GamepadButton internalCreateGamepadButton() {
+ return new GamepadButton._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory GamepadButton._internalWrap() {
+ return new GamepadButton._internal();
+ }
+
+ GamepadButton._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('GamepadButton.pressed')
@DocsEditable()
@Experimental() // untriaged
@@ -16335,6 +18488,18 @@ class GamepadEvent extends Event {
// To suppress missing implicit constructor warnings.
factory GamepadEvent._() { throw new UnsupportedError("Not supported"); }
+
+ static GamepadEvent internalCreateGamepadEvent() {
+ return new GamepadEvent._internalWrap();
+ }
+
+ factory GamepadEvent._internalWrap() {
+ return new GamepadEvent._internal();
+ }
+
+ GamepadEvent._internal() : super._internal();
+
+
@DomName('GamepadEvent.gamepad')
@DocsEditable()
@Experimental() // untriaged
@@ -16355,6 +18520,20 @@ class Geofencing extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory Geofencing._() { throw new UnsupportedError("Not supported"); }
+ static Geofencing internalCreateGeofencing() {
+ return new Geofencing._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory Geofencing._internalWrap() {
+ return new Geofencing._internal();
+ }
+
+ Geofencing._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('Geofencing.getRegisteredRegions')
@DocsEditable()
@Experimental() // untriaged
@@ -16385,6 +18564,20 @@ class GeofencingRegion extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory GeofencingRegion._() { throw new UnsupportedError("Not supported"); }
+ static GeofencingRegion internalCreateGeofencingRegion() {
+ return new GeofencingRegion._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory GeofencingRegion._internalWrap() {
+ return new GeofencingRegion._internal();
+ }
+
+ GeofencingRegion._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('GeofencingRegion.id')
@DocsEditable()
@Experimental() // untriaged
@@ -16474,13 +18667,27 @@ class Geolocation extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory Geolocation._() { throw new UnsupportedError("Not supported"); }
+ static Geolocation internalCreateGeolocation() {
+ return new Geolocation._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory Geolocation._internalWrap() {
+ return new Geolocation._internal();
+ }
+
+ Geolocation._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('Geolocation.clearWatch')
@DocsEditable()
void _clearWatch(int watchID) => _blink.BlinkGeolocation.instance.clearWatch_Callback_1_(unwrap_jso(this), watchID);
void _getCurrentPosition(_PositionCallback successCallback, [_PositionErrorCallback errorCallback, Map options]) {
if (options != null) {
- _blink.BlinkGeolocation.instance.getCurrentPosition_Callback_3_(unwrap_jso(this), unwrap_jso(successCallback), unwrap_jso(errorCallback), options);
+ _blink.BlinkGeolocation.instance.getCurrentPosition_Callback_3_(unwrap_jso(this), unwrap_jso(successCallback), unwrap_jso(errorCallback), options != null ? new js.JsObject.jsify(options) : options);
return;
}
if (errorCallback != null) {
@@ -16493,7 +18700,7 @@ class Geolocation extends NativeFieldWrapperClass2 {
int _watchPosition(_PositionCallback successCallback, [_PositionErrorCallback errorCallback, Map options]) {
if (options != null) {
- return _blink.BlinkGeolocation.instance.watchPosition_Callback_3_(unwrap_jso(this), unwrap_jso(successCallback), unwrap_jso(errorCallback), options);
+ return _blink.BlinkGeolocation.instance.watchPosition_Callback_3_(unwrap_jso(this), unwrap_jso(successCallback), unwrap_jso(errorCallback), options != null ? new js.JsObject.jsify(options) : options);
}
if (errorCallback != null) {
return _blink.BlinkGeolocation.instance.watchPosition_Callback_2_(unwrap_jso(this), unwrap_jso(successCallback), unwrap_jso(errorCallback));
@@ -16516,6 +18723,20 @@ class Geoposition extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory Geoposition._() { throw new UnsupportedError("Not supported"); }
+ static Geoposition internalCreateGeoposition() {
+ return new Geoposition._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory Geoposition._internalWrap() {
+ return new Geoposition._internal();
+ }
+
+ Geoposition._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('Geoposition.coords')
@DocsEditable()
Coordinates get coords => wrap_jso(_blink.BlinkGeoposition.instance.coords_Getter_(unwrap_jso(this)));
@@ -16797,6 +19018,20 @@ abstract class GlobalEventHandlers extends EventTarget {
@Experimental() // untriaged
static const EventStreamProvider<Event> waitingEvent = const EventStreamProvider<Event>('waiting');
+ static GlobalEventHandlers internalCreateGlobalEventHandlers() {
+ return new GlobalEventHandlers._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory GlobalEventHandlers._internalWrap() {
+ return new GlobalEventHandlers._internal();
+ }
+
+ GlobalEventHandlers._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('GlobalEventHandlers.onabort')
@DocsEditable()
@Experimental() // untriaged
@@ -17076,6 +19311,18 @@ class HRElement extends HtmlElement {
@DomName('HTMLHRElement.HTMLHRElement')
@DocsEditable()
factory HRElement() => document.createElement("hr");
+
+
+ static HRElement internalCreateHRElement() {
+ return new HRElement._internalWrap();
+ }
+
+ factory HRElement._internalWrap() {
+ return new HRElement._internal();
+ }
+
+ HRElement._internal() : super._internal();
+
/**
* Constructor instantiated by the DOM when a custom element has been created.
*
@@ -17116,6 +19363,18 @@ class HashChangeEvent extends Event {
// To suppress missing implicit constructor warnings.
factory HashChangeEvent._() { throw new UnsupportedError("Not supported"); }
+
+ static HashChangeEvent internalCreateHashChangeEvent() {
+ return new HashChangeEvent._internalWrap();
+ }
+
+ factory HashChangeEvent._internalWrap() {
+ return new HashChangeEvent._internal();
+ }
+
+ HashChangeEvent._internal() : super._internal();
+
+
/// Checks if this type is supported on the current platform.
static bool get supported => true;
@@ -17148,6 +19407,18 @@ class HeadElement extends HtmlElement {
@DomName('HTMLHeadElement.HTMLHeadElement')
@DocsEditable()
factory HeadElement() => document.createElement("head");
+
+
+ static HeadElement internalCreateHeadElement() {
+ return new HeadElement._internalWrap();
+ }
+
+ factory HeadElement._internalWrap() {
+ return new HeadElement._internal();
+ }
+
+ HeadElement._internal() : super._internal();
+
/**
* Constructor instantiated by the DOM when a custom element has been created.
*
@@ -17185,6 +19456,20 @@ class Headers extends NativeFieldWrapperClass2 {
throw new ArgumentError("Incorrect number or type of arguments");
}
+ static Headers internalCreateHeaders() {
+ return new Headers._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory Headers._internalWrap() {
+ return new Headers._internal();
+ }
+
+ Headers._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('Headers.size')
@DocsEditable()
@Experimental() // untriaged
@@ -17246,6 +19531,18 @@ class HeadingElement extends HtmlElement {
@DomName('HTMLHeadingElement.HTMLHeadingElement')
@DocsEditable()
factory HeadingElement.h6() => document.createElement("h6");
+
+
+ static HeadingElement internalCreateHeadingElement() {
+ return new HeadingElement._internalWrap();
+ }
+
+ factory HeadingElement._internalWrap() {
+ return new HeadingElement._internal();
+ }
+
+ HeadingElement._internal() : super._internal();
+
/**
* Constructor instantiated by the DOM when a custom element has been created.
*
@@ -17275,6 +19572,20 @@ class History extends NativeFieldWrapperClass2 implements HistoryBase {
// To suppress missing implicit constructor warnings.
factory History._() { throw new UnsupportedError("Not supported"); }
+ static History internalCreateHistory() {
+ return new History._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory History._internalWrap() {
+ return new History._internal();
+ }
+
+ History._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('History.length')
@DocsEditable()
int get length => _blink.BlinkHistory.instance.length_Getter_(unwrap_jso(this));
@@ -17324,6 +19635,20 @@ class HtmlCollection extends NativeFieldWrapperClass2 with ListMixin<Node>, Immu
// To suppress missing implicit constructor warnings.
factory HtmlCollection._() { throw new UnsupportedError("Not supported"); }
+ static HtmlCollection internalCreateHtmlCollection() {
+ return new HtmlCollection._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory HtmlCollection._internalWrap() {
+ return new HtmlCollection._internal();
+ }
+
+ HtmlCollection._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('HTMLCollection.length')
@DocsEditable()
int get length => _blink.BlinkHTMLCollection.instance.length_Getter_(unwrap_jso(this));
@@ -17396,6 +19721,18 @@ class HtmlDocument extends Document {
factory HtmlDocument._() { throw new UnsupportedError("Not supported"); }
+ static HtmlDocument internalCreateHtmlDocument() {
+ return new HtmlDocument._internalWrap();
+ }
+
+ factory HtmlDocument._internalWrap() {
+ return new HtmlDocument._internal();
+ }
+
+ HtmlDocument._internal() : super._internal();
+
+
+
@DomName('Document.body')
BodyElement get body => _body;
@@ -17924,6 +20261,18 @@ class HtmlElement extends Element implements GlobalEventHandlers {
@DocsEditable()
@Experimental() // untriaged
static const EventStreamProvider<Event> waitingEvent = const EventStreamProvider<Event>('waiting');
+
+
+ static HtmlElement internalCreateHtmlElement() {
+ return new HtmlElement._internalWrap();
+ }
+
+ factory HtmlElement._internalWrap() {
+ return new HtmlElement._internal();
+ }
+
+ HtmlElement._internal() : super._internal();
+
/**
* Constructor instantiated by the DOM when a custom element has been created.
*
@@ -18320,6 +20669,18 @@ class HtmlFormControlsCollection extends HtmlCollection {
// To suppress missing implicit constructor warnings.
factory HtmlFormControlsCollection._() { throw new UnsupportedError("Not supported"); }
+
+ static HtmlFormControlsCollection internalCreateHtmlFormControlsCollection() {
+ return new HtmlFormControlsCollection._internalWrap();
+ }
+
+ factory HtmlFormControlsCollection._internalWrap() {
+ return new HtmlFormControlsCollection._internal();
+ }
+
+ HtmlFormControlsCollection._internal() : super._internal();
+
+
@DomName('HTMLFormControlsCollection.namedItem')
@DocsEditable()
Object namedItem(String name) => wrap_jso(_blink.BlinkHTMLFormControlsCollection.instance.namedItem_Callback_1_(unwrap_jso(this), name));
@@ -18341,6 +20702,18 @@ class HtmlHtmlElement extends HtmlElement {
@DomName('HTMLHtmlElement.HTMLHtmlElement')
@DocsEditable()
factory HtmlHtmlElement() => document.createElement("html");
+
+
+ static HtmlHtmlElement internalCreateHtmlHtmlElement() {
+ return new HtmlHtmlElement._internalWrap();
+ }
+
+ factory HtmlHtmlElement._internalWrap() {
+ return new HtmlHtmlElement._internal();
+ }
+
+ HtmlHtmlElement._internal() : super._internal();
+
/**
* Constructor instantiated by the DOM when a custom element has been created.
*
@@ -18362,6 +20735,18 @@ class HtmlOptionsCollection extends HtmlCollection {
// To suppress missing implicit constructor warnings.
factory HtmlOptionsCollection._() { throw new UnsupportedError("Not supported"); }
+
+ static HtmlOptionsCollection internalCreateHtmlOptionsCollection() {
+ return new HtmlOptionsCollection._internalWrap();
+ }
+
+ factory HtmlOptionsCollection._internalWrap() {
+ return new HtmlOptionsCollection._internal();
+ }
+
+ HtmlOptionsCollection._internal() : super._internal();
+
+
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -18735,6 +21120,18 @@ class HttpRequest extends HttpRequestEventTarget {
@DocsEditable()
static HttpRequest _create() => _blink.BlinkXMLHttpRequest.instance.constructorCallback_0_();
+
+ static HttpRequest internalCreateHttpRequest() {
+ return new HttpRequest._internalWrap();
+ }
+
+ factory HttpRequest._internalWrap() {
+ return new HttpRequest._internal();
+ }
+
+ HttpRequest._internal() : super._internal();
+
+
@DomName('XMLHttpRequest.DONE')
@DocsEditable()
static const int DONE = 4;
@@ -19155,6 +21552,18 @@ class HttpRequestEventTarget extends EventTarget {
@Experimental() // untriaged
static const EventStreamProvider<ProgressEvent> timeoutEvent = const EventStreamProvider<ProgressEvent>('timeout');
+
+ static HttpRequestEventTarget internalCreateHttpRequestEventTarget() {
+ return new HttpRequestEventTarget._internalWrap();
+ }
+
+ factory HttpRequestEventTarget._internalWrap() {
+ return new HttpRequestEventTarget._internal();
+ }
+
+ HttpRequestEventTarget._internal() : super._internal();
+
+
/// Stream of `abort` events handled by this [HttpRequestEventTarget].
@DomName('XMLHttpRequestEventTarget.onabort')
@DocsEditable()
@@ -19221,6 +21630,18 @@ class HttpRequestUpload extends HttpRequestEventTarget {
// To suppress missing implicit constructor warnings.
factory HttpRequestUpload._() { throw new UnsupportedError("Not supported"); }
+
+ static HttpRequestUpload internalCreateHttpRequestUpload() {
+ return new HttpRequestUpload._internalWrap();
+ }
+
+ factory HttpRequestUpload._internalWrap() {
+ return new HttpRequestUpload._internal();
+ }
+
+ HttpRequestUpload._internal() : super._internal();
+
+
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -19238,6 +21659,18 @@ class IFrameElement extends HtmlElement {
@DomName('HTMLIFrameElement.HTMLIFrameElement')
@DocsEditable()
factory IFrameElement() => document.createElement("iframe");
+
+
+ static IFrameElement internalCreateIFrameElement() {
+ return new IFrameElement._internalWrap();
+ }
+
+ factory IFrameElement._internalWrap() {
+ return new IFrameElement._internal();
+ }
+
+ IFrameElement._internal() : super._internal();
+
/**
* Constructor instantiated by the DOM when a custom element has been created.
*
@@ -19332,6 +21765,20 @@ class ImageBitmap extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory ImageBitmap._() { throw new UnsupportedError("Not supported"); }
+ static ImageBitmap internalCreateImageBitmap() {
+ return new ImageBitmap._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory ImageBitmap._internalWrap() {
+ return new ImageBitmap._internal();
+ }
+
+ ImageBitmap._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('ImageBitmap.height')
@DocsEditable()
@Experimental() // untriaged
@@ -19373,6 +21820,20 @@ class ImageData extends NativeFieldWrapperClass2 {
throw new ArgumentError("Incorrect number or type of arguments");
}
+ static ImageData internalCreateImageData() {
+ return new ImageData._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory ImageData._internalWrap() {
+ return new ImageData._internal();
+ }
+
+ ImageData._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('ImageData.data')
@DocsEditable()
Uint8ClampedList get _data => wrap_jso(_blink.BlinkImageData.instance.data_Getter_(unwrap_jso(this)));
@@ -19405,6 +21866,18 @@ class ImageElement extends HtmlElement implements CanvasImageSource {
if (height != null) e.height = height;
return e;
}
+
+
+ static ImageElement internalCreateImageElement() {
+ return new ImageElement._internalWrap();
+ }
+
+ factory ImageElement._internalWrap() {
+ return new ImageElement._internal();
+ }
+
+ ImageElement._internal() : super._internal();
+
/**
* Constructor instantiated by the DOM when a custom element has been created.
*
@@ -19530,6 +22003,20 @@ class InjectedScriptHost extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory InjectedScriptHost._() { throw new UnsupportedError("Not supported"); }
+ static InjectedScriptHost internalCreateInjectedScriptHost() {
+ return new InjectedScriptHost._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory InjectedScriptHost._internalWrap() {
+ return new InjectedScriptHost._internal();
+ }
+
+ InjectedScriptHost._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('InjectedScriptHost.inspect')
@DocsEditable()
@Experimental() // untriaged
@@ -19578,6 +22065,18 @@ class InputElement extends HtmlElement implements
// To suppress missing implicit constructor warnings.
factory InputElement._() { throw new UnsupportedError("Not supported"); }
+
+
+ static InputElement internalCreateInputElement() {
+ return new InputElement._internalWrap();
+ }
+
+ factory InputElement._internalWrap() {
+ return new InputElement._internal();
+ }
+
+ InputElement._internal() : super._internal();
+
/**
* Constructor instantiated by the DOM when a custom element has been created.
*
@@ -20587,6 +23086,18 @@ class InputMethodContext extends EventTarget {
// To suppress missing implicit constructor warnings.
factory InputMethodContext._() { throw new UnsupportedError("Not supported"); }
+
+ static InputMethodContext internalCreateInputMethodContext() {
+ return new InputMethodContext._internalWrap();
+ }
+
+ factory InputMethodContext._internalWrap() {
+ return new InputMethodContext._internal();
+ }
+
+ InputMethodContext._internal() : super._internal();
+
+
@DomName('InputMethodContext.compositionEndOffset')
@DocsEditable()
@Experimental() // untriaged
@@ -20625,6 +23136,18 @@ class InstallEvent extends ExtendableEvent {
// To suppress missing implicit constructor warnings.
factory InstallEvent._() { throw new UnsupportedError("Not supported"); }
+
+ static InstallEvent internalCreateInstallEvent() {
+ return new InstallEvent._internalWrap();
+ }
+
+ factory InstallEvent._internalWrap() {
+ return new InstallEvent._internal();
+ }
+
+ InstallEvent._internal() : super._internal();
+
+
@DomName('InstallEvent.reloadAll')
@DocsEditable()
@Experimental() // untriaged
@@ -20665,6 +23188,18 @@ class KeyboardEvent extends UIEvent {
// To suppress missing implicit constructor warnings.
factory KeyboardEvent._() { throw new UnsupportedError("Not supported"); }
+
+ static KeyboardEvent internalCreateKeyboardEvent() {
+ return new KeyboardEvent._internalWrap();
+ }
+
+ factory KeyboardEvent._internalWrap() {
+ return new KeyboardEvent._internal();
+ }
+
+ KeyboardEvent._internal() : super._internal();
+
+
@DomName('KeyboardEvent.DOM_KEY_LOCATION_LEFT')
@DocsEditable()
@Experimental() // untriaged
@@ -20751,6 +23286,18 @@ class KeygenElement extends HtmlElement {
@DomName('HTMLKeygenElement.HTMLKeygenElement')
@DocsEditable()
factory KeygenElement() => document.createElement("keygen");
+
+
+ static KeygenElement internalCreateKeygenElement() {
+ return new KeygenElement._internalWrap();
+ }
+
+ factory KeygenElement._internalWrap() {
+ return new KeygenElement._internal();
+ }
+
+ KeygenElement._internal() : super._internal();
+
/**
* Constructor instantiated by the DOM when a custom element has been created.
*
@@ -20851,6 +23398,18 @@ class LIElement extends HtmlElement {
@DomName('HTMLLIElement.HTMLLIElement')
@DocsEditable()
factory LIElement() => document.createElement("li");
+
+
+ static LIElement internalCreateLIElement() {
+ return new LIElement._internalWrap();
+ }
+
+ factory LIElement._internalWrap() {
+ return new LIElement._internal();
+ }
+
+ LIElement._internal() : super._internal();
+
/**
* Constructor instantiated by the DOM when a custom element has been created.
*
@@ -20883,6 +23442,18 @@ class LabelElement extends HtmlElement {
@DomName('HTMLLabelElement.HTMLLabelElement')
@DocsEditable()
factory LabelElement() => document.createElement("label");
+
+
+ static LabelElement internalCreateLabelElement() {
+ return new LabelElement._internalWrap();
+ }
+
+ factory LabelElement._internalWrap() {
+ return new LabelElement._internal();
+ }
+
+ LabelElement._internal() : super._internal();
+
/**
* Constructor instantiated by the DOM when a custom element has been created.
*
@@ -20923,6 +23494,18 @@ class LegendElement extends HtmlElement {
@DomName('HTMLLegendElement.HTMLLegendElement')
@DocsEditable()
factory LegendElement() => document.createElement("legend");
+
+
+ static LegendElement internalCreateLegendElement() {
+ return new LegendElement._internalWrap();
+ }
+
+ factory LegendElement._internalWrap() {
+ return new LegendElement._internal();
+ }
+
+ LegendElement._internal() : super._internal();
+
/**
* Constructor instantiated by the DOM when a custom element has been created.
*
@@ -20949,6 +23532,18 @@ class LinkElement extends HtmlElement {
@DomName('HTMLLinkElement.HTMLLinkElement')
@DocsEditable()
factory LinkElement() => document.createElement("link");
+
+
+ static LinkElement internalCreateLinkElement() {
+ return new LinkElement._internalWrap();
+ }
+
+ factory LinkElement._internalWrap() {
+ return new LinkElement._internal();
+ }
+
+ LinkElement._internal() : super._internal();
+
/**
* Constructor instantiated by the DOM when a custom element has been created.
*
@@ -21064,6 +23659,18 @@ class LocalCredential extends Credential {
return _blink.BlinkLocalCredential.instance.constructorCallback_4_(id, name, avatarURL, password);
}
+
+ static LocalCredential internalCreateLocalCredential() {
+ return new LocalCredential._internalWrap();
+ }
+
+ factory LocalCredential._internalWrap() {
+ return new LocalCredential._internal();
+ }
+
+ LocalCredential._internal() : super._internal();
+
+
@DomName('LocalCredential.password')
@DocsEditable()
@Experimental() // untriaged
@@ -21081,6 +23688,20 @@ class Location extends NativeFieldWrapperClass2 implements LocationBase {
// To suppress missing implicit constructor warnings.
factory Location._() { throw new UnsupportedError("Not supported"); }
+ static Location internalCreateLocation() {
+ return new Location._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory Location._internalWrap() {
+ return new Location._internal();
+ }
+
+ Location._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('Location.ancestorOrigins')
@DocsEditable()
@Experimental() // nonstandard
@@ -21212,6 +23833,18 @@ class MapElement extends HtmlElement {
@DomName('HTMLMapElement.HTMLMapElement')
@DocsEditable()
factory MapElement() => document.createElement("map");
+
+
+ static MapElement internalCreateMapElement() {
+ return new MapElement._internalWrap();
+ }
+
+ factory MapElement._internalWrap() {
+ return new MapElement._internal();
+ }
+
+ MapElement._internal() : super._internal();
+
/**
* Constructor instantiated by the DOM when a custom element has been created.
*
@@ -21253,6 +23886,18 @@ class MediaController extends EventTarget {
return _blink.BlinkMediaController.instance.constructorCallback_0_();
}
+
+ static MediaController internalCreateMediaController() {
+ return new MediaController._internalWrap();
+ }
+
+ factory MediaController._internalWrap() {
+ return new MediaController._internal();
+ }
+
+ MediaController._internal() : super._internal();
+
+
@DomName('MediaController.buffered')
@DocsEditable()
TimeRanges get buffered => wrap_jso(_blink.BlinkMediaController.instance.buffered_Getter_(unwrap_jso(this)));
@@ -21344,6 +23989,20 @@ class MediaDeviceInfo extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory MediaDeviceInfo._() { throw new UnsupportedError("Not supported"); }
+ static MediaDeviceInfo internalCreateMediaDeviceInfo() {
+ return new MediaDeviceInfo._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory MediaDeviceInfo._internalWrap() {
+ return new MediaDeviceInfo._internal();
+ }
+
+ MediaDeviceInfo._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('MediaDeviceInfo.deviceId')
@DocsEditable()
@Experimental() // untriaged
@@ -21444,6 +24103,18 @@ class MediaElement extends HtmlElement {
@Experimental()
// https://dvcs.w3.org/hg/html-media/raw-file/eme-v0.1/encrypted-media/encrypted-media.html#dom-keyadded
static const EventStreamProvider<MediaKeyEvent> needKeyEvent = const EventStreamProvider<MediaKeyEvent>('webkitneedkey');
+
+
+ static MediaElement internalCreateMediaElement() {
+ return new MediaElement._internalWrap();
+ }
+
+ factory MediaElement._internalWrap() {
+ return new MediaElement._internal();
+ }
+
+ MediaElement._internal() : super._internal();
+
/**
* Constructor instantiated by the DOM when a custom element has been created.
*
@@ -21796,6 +24467,20 @@ class MediaError extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory MediaError._() { throw new UnsupportedError("Not supported"); }
+ static MediaError internalCreateMediaError() {
+ return new MediaError._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory MediaError._internalWrap() {
+ return new MediaError._internal();
+ }
+
+ MediaError._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('MediaError.MEDIA_ERR_ABORTED')
@DocsEditable()
static const int MEDIA_ERR_ABORTED = 1;
@@ -21838,6 +24523,20 @@ class MediaKeyError extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory MediaKeyError._() { throw new UnsupportedError("Not supported"); }
+ static MediaKeyError internalCreateMediaKeyError() {
+ return new MediaKeyError._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory MediaKeyError._internalWrap() {
+ return new MediaKeyError._internal();
+ }
+
+ MediaKeyError._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('MediaKeyError.MEDIA_KEYERR_CLIENT')
@DocsEditable()
static const int MEDIA_KEYERR_CLIENT = 2;
@@ -21887,6 +24586,18 @@ class MediaKeyEvent extends Event {
// To suppress missing implicit constructor warnings.
factory MediaKeyEvent._() { throw new UnsupportedError("Not supported"); }
+
+ static MediaKeyEvent internalCreateMediaKeyEvent() {
+ return new MediaKeyEvent._internalWrap();
+ }
+
+ factory MediaKeyEvent._internalWrap() {
+ return new MediaKeyEvent._internal();
+ }
+
+ MediaKeyEvent._internal() : super._internal();
+
+
@DomName('MediaKeyEvent.defaultURL')
@DocsEditable()
String get defaultUrl => _blink.BlinkMediaKeyEvent.instance.defaultURL_Getter_(unwrap_jso(this));
@@ -21931,6 +24642,18 @@ class MediaKeyMessageEvent extends Event {
// To suppress missing implicit constructor warnings.
factory MediaKeyMessageEvent._() { throw new UnsupportedError("Not supported"); }
+
+ static MediaKeyMessageEvent internalCreateMediaKeyMessageEvent() {
+ return new MediaKeyMessageEvent._internalWrap();
+ }
+
+ factory MediaKeyMessageEvent._internalWrap() {
+ return new MediaKeyMessageEvent._internal();
+ }
+
+ MediaKeyMessageEvent._internal() : super._internal();
+
+
@DomName('MediaKeyMessageEvent.destinationURL')
@DocsEditable()
String get destinationUrl => _blink.BlinkMediaKeyMessageEvent.instance.destinationURL_Getter_(unwrap_jso(this));
@@ -21955,6 +24678,18 @@ class MediaKeyNeededEvent extends Event {
// To suppress missing implicit constructor warnings.
factory MediaKeyNeededEvent._() { throw new UnsupportedError("Not supported"); }
+
+ static MediaKeyNeededEvent internalCreateMediaKeyNeededEvent() {
+ return new MediaKeyNeededEvent._internalWrap();
+ }
+
+ factory MediaKeyNeededEvent._internalWrap() {
+ return new MediaKeyNeededEvent._internal();
+ }
+
+ MediaKeyNeededEvent._internal() : super._internal();
+
+
@DomName('MediaKeyNeededEvent.contentType')
@DocsEditable()
@Experimental() // untriaged
@@ -21980,6 +24715,18 @@ class MediaKeySession extends EventTarget {
// To suppress missing implicit constructor warnings.
factory MediaKeySession._() { throw new UnsupportedError("Not supported"); }
+
+ static MediaKeySession internalCreateMediaKeySession() {
+ return new MediaKeySession._internalWrap();
+ }
+
+ factory MediaKeySession._internalWrap() {
+ return new MediaKeySession._internal();
+ }
+
+ MediaKeySession._internal() : super._internal();
+
+
@DomName('MediaKeySession.closed')
@DocsEditable()
@Experimental() // untriaged
@@ -22038,6 +24785,20 @@ class MediaKeys extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory MediaKeys._() { throw new UnsupportedError("Not supported"); }
+ static MediaKeys internalCreateMediaKeys() {
+ return new MediaKeys._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory MediaKeys._internalWrap() {
+ return new MediaKeys._internal();
+ }
+
+ MediaKeys._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('MediaKeys.keySystem')
@DocsEditable()
String get keySystem => _blink.BlinkMediaKeys.instance.keySystem_Getter_(unwrap_jso(this));
@@ -22074,6 +24835,20 @@ class MediaList extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory MediaList._() { throw new UnsupportedError("Not supported"); }
+ static MediaList internalCreateMediaList() {
+ return new MediaList._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory MediaList._internalWrap() {
+ return new MediaList._internal();
+ }
+
+ MediaList._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('MediaList.length')
@DocsEditable()
int get length => _blink.BlinkMediaList.instance.length_Getter_(unwrap_jso(this));
@@ -22118,6 +24893,18 @@ class MediaQueryList extends EventTarget {
@Experimental() // untriaged
static const EventStreamProvider<Event> changeEvent = const EventStreamProvider<Event>('change');
+
+ static MediaQueryList internalCreateMediaQueryList() {
+ return new MediaQueryList._internalWrap();
+ }
+
+ factory MediaQueryList._internalWrap() {
+ return new MediaQueryList._internal();
+ }
+
+ MediaQueryList._internal() : super._internal();
+
+
@DomName('MediaQueryList.matches')
@DocsEditable()
bool get matches => _blink.BlinkMediaQueryList.instance.matches_Getter_(unwrap_jso(this));
@@ -22128,7 +24915,7 @@ class MediaQueryList extends EventTarget {
@DomName('MediaQueryList.addListener')
@DocsEditable()
- void addListener(EventListener listener) => _blink.BlinkMediaQueryList.instance.addListener_Callback_1_(unwrap_jso(this), unwrap_jso(listener));
+ void addListener(EventListener listener) => _blink.BlinkMediaQueryList.instance.addListener_Callback_1_(unwrap_jso(this), unwrap_jso((Event event) => listener(wrap_jso(event))));
@DomName('MediaQueryList.removeListener')
@DocsEditable()
@@ -22154,6 +24941,18 @@ class MediaQueryListEvent extends Event {
// To suppress missing implicit constructor warnings.
factory MediaQueryListEvent._() { throw new UnsupportedError("Not supported"); }
+
+ static MediaQueryListEvent internalCreateMediaQueryListEvent() {
+ return new MediaQueryListEvent._internalWrap();
+ }
+
+ factory MediaQueryListEvent._internalWrap() {
+ return new MediaQueryListEvent._internal();
+ }
+
+ MediaQueryListEvent._internal() : super._internal();
+
+
@DomName('MediaQueryListEvent.matches')
@DocsEditable()
@Experimental() // untriaged
@@ -22188,6 +24987,18 @@ class MediaSource extends EventTarget {
return _blink.BlinkMediaSource.instance.constructorCallback_0_();
}
+
+ static MediaSource internalCreateMediaSource() {
+ return new MediaSource._internalWrap();
+ }
+
+ factory MediaSource._internalWrap() {
+ return new MediaSource._internal();
+ }
+
+ MediaSource._internal() : super._internal();
+
+
/// Checks if this type is supported on the current platform.
static bool get supported => true;
@@ -22291,6 +25102,18 @@ class MediaStream extends EventTarget {
throw new ArgumentError("Incorrect number or type of arguments");
}
+
+ static MediaStream internalCreateMediaStream() {
+ return new MediaStream._internalWrap();
+ }
+
+ factory MediaStream._internalWrap() {
+ return new MediaStream._internal();
+ }
+
+ MediaStream._internal() : super._internal();
+
+
@DomName('MediaStream.ended')
@DocsEditable()
bool get ended => _blink.BlinkMediaStream.instance.ended_Getter_(unwrap_jso(this));
@@ -22379,6 +25202,18 @@ class MediaStreamEvent extends Event {
// To suppress missing implicit constructor warnings.
factory MediaStreamEvent._() { throw new UnsupportedError("Not supported"); }
+
+ static MediaStreamEvent internalCreateMediaStreamEvent() {
+ return new MediaStreamEvent._internalWrap();
+ }
+
+ factory MediaStreamEvent._internalWrap() {
+ return new MediaStreamEvent._internal();
+ }
+
+ MediaStreamEvent._internal() : super._internal();
+
+
/// Checks if this type is supported on the current platform.
static bool get supported => true;
@@ -22433,6 +25268,18 @@ class MediaStreamTrack extends EventTarget {
@DocsEditable()
static const EventStreamProvider<Event> unmuteEvent = const EventStreamProvider<Event>('unmute');
+
+ static MediaStreamTrack internalCreateMediaStreamTrack() {
+ return new MediaStreamTrack._internalWrap();
+ }
+
+ factory MediaStreamTrack._internalWrap() {
+ return new MediaStreamTrack._internal();
+ }
+
+ MediaStreamTrack._internal() : super._internal();
+
+
@DomName('MediaStreamTrack.enabled')
@DocsEditable()
bool get enabled => _blink.BlinkMediaStreamTrack.instance.enabled_Getter_(unwrap_jso(this));
@@ -22516,6 +25363,18 @@ class MediaStreamTrackEvent extends Event {
// To suppress missing implicit constructor warnings.
factory MediaStreamTrackEvent._() { throw new UnsupportedError("Not supported"); }
+
+ static MediaStreamTrackEvent internalCreateMediaStreamTrackEvent() {
+ return new MediaStreamTrackEvent._internalWrap();
+ }
+
+ factory MediaStreamTrackEvent._internalWrap() {
+ return new MediaStreamTrackEvent._internal();
+ }
+
+ MediaStreamTrackEvent._internal() : super._internal();
+
+
/// Checks if this type is supported on the current platform.
static bool get supported => true;
@@ -22548,6 +25407,20 @@ class MemoryInfo extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory MemoryInfo._() { throw new UnsupportedError("Not supported"); }
+ static MemoryInfo internalCreateMemoryInfo() {
+ return new MemoryInfo._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory MemoryInfo._internalWrap() {
+ return new MemoryInfo._internal();
+ }
+
+ MemoryInfo._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('MemoryInfo.jsHeapSizeLimit')
@DocsEditable()
int get jsHeapSizeLimit => _blink.BlinkMemoryInfo.instance.jsHeapSizeLimit_Getter_(unwrap_jso(this));
@@ -22587,6 +25460,18 @@ class MenuElement extends HtmlElement {
@DomName('HTMLMenuElement.HTMLMenuElement')
@DocsEditable()
factory MenuElement() => document.createElement("menu");
+
+
+ static MenuElement internalCreateMenuElement() {
+ return new MenuElement._internalWrap();
+ }
+
+ factory MenuElement._internalWrap() {
+ return new MenuElement._internal();
+ }
+
+ MenuElement._internal() : super._internal();
+
/**
* Constructor instantiated by the DOM when a custom element has been created.
*
@@ -22628,6 +25513,18 @@ class MenuElement extends HtmlElement {
class MenuItemElement extends HtmlElement {
// To suppress missing implicit constructor warnings.
factory MenuItemElement._() { throw new UnsupportedError("Not supported"); }
+
+
+ static MenuItemElement internalCreateMenuItemElement() {
+ return new MenuItemElement._internalWrap();
+ }
+
+ factory MenuItemElement._internalWrap() {
+ return new MenuItemElement._internal();
+ }
+
+ MenuItemElement._internal() : super._internal();
+
/**
* Constructor instantiated by the DOM when a custom element has been created.
*
@@ -22700,6 +25597,20 @@ class MessageChannel extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory MessageChannel._() { throw new UnsupportedError("Not supported"); }
+ static MessageChannel internalCreateMessageChannel() {
+ return new MessageChannel._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory MessageChannel._internalWrap() {
+ return new MessageChannel._internal();
+ }
+
+ MessageChannel._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('MessageChannel.port1')
@DocsEditable()
MessagePort get port1 => wrap_jso(_blink.BlinkMessageChannel.instance.port1_Getter_(unwrap_jso(this)));
@@ -22733,6 +25644,18 @@ class MessageEvent extends Event {
// To suppress missing implicit constructor warnings.
factory MessageEvent._() { throw new UnsupportedError("Not supported"); }
+
+ static MessageEvent internalCreateMessageEvent() {
+ return new MessageEvent._internalWrap();
+ }
+
+ factory MessageEvent._internalWrap() {
+ return new MessageEvent._internal();
+ }
+
+ MessageEvent._internal() : super._internal();
+
+
@DomName('MessageEvent.data')
@DocsEditable()
Object get data => _blink.BlinkMessageEvent.instance.data_Getter_(unwrap_jso(this));
@@ -22779,6 +25702,18 @@ class MessagePort extends EventTarget {
@DocsEditable()
static const EventStreamProvider<MessageEvent> messageEvent = const EventStreamProvider<MessageEvent>('message');
+
+ static MessagePort internalCreateMessagePort() {
+ return new MessagePort._internalWrap();
+ }
+
+ factory MessagePort._internalWrap() {
+ return new MessagePort._internal();
+ }
+
+ MessagePort._internal() : super._internal();
+
+
@DomName('MessagePort.close')
@DocsEditable()
void close() => _blink.BlinkMessagePort.instance.close_Callback_0_(unwrap_jso(this));
@@ -22813,6 +25748,18 @@ class MetaElement extends HtmlElement {
@DomName('HTMLMetaElement.HTMLMetaElement')
@DocsEditable()
factory MetaElement() => document.createElement("meta");
+
+
+ static MetaElement internalCreateMetaElement() {
+ return new MetaElement._internalWrap();
+ }
+
+ factory MetaElement._internalWrap() {
+ return new MetaElement._internal();
+ }
+
+ MetaElement._internal() : super._internal();
+
/**
* Constructor instantiated by the DOM when a custom element has been created.
*
@@ -22860,6 +25807,20 @@ class Metadata extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory Metadata._() { throw new UnsupportedError("Not supported"); }
+ static Metadata internalCreateMetadata() {
+ return new Metadata._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory Metadata._internalWrap() {
+ return new Metadata._internal();
+ }
+
+ Metadata._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('Metadata.modificationTime')
@DocsEditable()
DateTime get modificationTime => _blink.BlinkMetadata.instance.modificationTime_Getter_(unwrap_jso(this));
@@ -22900,6 +25861,18 @@ class MeterElement extends HtmlElement {
@DomName('HTMLMeterElement.HTMLMeterElement')
@DocsEditable()
factory MeterElement() => document.createElement("meter");
+
+
+ static MeterElement internalCreateMeterElement() {
+ return new MeterElement._internalWrap();
+ }
+
+ factory MeterElement._internalWrap() {
+ return new MeterElement._internal();
+ }
+
+ MeterElement._internal() : super._internal();
+
/**
* Constructor instantiated by the DOM when a custom element has been created.
*
@@ -22999,6 +25972,18 @@ class MidiAccess extends EventTarget {
@DocsEditable()
static const EventStreamProvider<MidiConnectionEvent> disconnectEvent = const EventStreamProvider<MidiConnectionEvent>('disconnect');
+
+ static MidiAccess internalCreateMidiAccess() {
+ return new MidiAccess._internalWrap();
+ }
+
+ factory MidiAccess._internalWrap() {
+ return new MidiAccess._internal();
+ }
+
+ MidiAccess._internal() : super._internal();
+
+
@DomName('MIDIAccess.inputs')
@DocsEditable()
MidiInputMap get inputs => wrap_jso(_blink.BlinkMIDIAccess.instance.inputs_Getter_(unwrap_jso(this)));
@@ -23038,6 +26023,18 @@ class MidiConnectionEvent extends Event {
// To suppress missing implicit constructor warnings.
factory MidiConnectionEvent._() { throw new UnsupportedError("Not supported"); }
+
+ static MidiConnectionEvent internalCreateMidiConnectionEvent() {
+ return new MidiConnectionEvent._internalWrap();
+ }
+
+ factory MidiConnectionEvent._internalWrap() {
+ return new MidiConnectionEvent._internal();
+ }
+
+ MidiConnectionEvent._internal() : super._internal();
+
+
@DomName('MIDIConnectionEvent.port')
@DocsEditable()
MidiPort get port => wrap_jso(_blink.BlinkMIDIConnectionEvent.instance.port_Getter_(unwrap_jso(this)));
@@ -23068,6 +26065,18 @@ class MidiInput extends MidiPort {
@DocsEditable()
static const EventStreamProvider<MidiMessageEvent> midiMessageEvent = const EventStreamProvider<MidiMessageEvent>('midimessage');
+
+ static MidiInput internalCreateMidiInput() {
+ return new MidiInput._internalWrap();
+ }
+
+ factory MidiInput._internalWrap() {
+ return new MidiInput._internal();
+ }
+
+ MidiInput._internal() : super._internal();
+
+
/// Stream of `midimessage` events handled by this [MidiInput].
@DomName('MIDIInput.onmidimessage')
@DocsEditable()
@@ -23088,6 +26097,20 @@ class MidiInputMap extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory MidiInputMap._() { throw new UnsupportedError("Not supported"); }
+ static MidiInputMap internalCreateMidiInputMap() {
+ return new MidiInputMap._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory MidiInputMap._internalWrap() {
+ return new MidiInputMap._internal();
+ }
+
+ MidiInputMap._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('MIDIInputMap.size')
@DocsEditable()
@Experimental() // untriaged
@@ -23134,6 +26157,18 @@ class MidiMessageEvent extends Event {
// To suppress missing implicit constructor warnings.
factory MidiMessageEvent._() { throw new UnsupportedError("Not supported"); }
+
+ static MidiMessageEvent internalCreateMidiMessageEvent() {
+ return new MidiMessageEvent._internalWrap();
+ }
+
+ factory MidiMessageEvent._internalWrap() {
+ return new MidiMessageEvent._internal();
+ }
+
+ MidiMessageEvent._internal() : super._internal();
+
+
@DomName('MIDIMessageEvent.data')
@DocsEditable()
Uint8List get data => wrap_jso(_blink.BlinkMIDIMessageEvent.instance.data_Getter_(unwrap_jso(this)));
@@ -23158,6 +26193,18 @@ class MidiOutput extends MidiPort {
// To suppress missing implicit constructor warnings.
factory MidiOutput._() { throw new UnsupportedError("Not supported"); }
+
+ static MidiOutput internalCreateMidiOutput() {
+ return new MidiOutput._internalWrap();
+ }
+
+ factory MidiOutput._internalWrap() {
+ return new MidiOutput._internal();
+ }
+
+ MidiOutput._internal() : super._internal();
+
+
void send(Uint8List data, [num timestamp]) {
if (timestamp != null) {
_blink.BlinkMIDIOutput.instance.send_Callback_2_(unwrap_jso(this), data, timestamp);
@@ -23182,6 +26229,20 @@ class MidiOutputMap extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory MidiOutputMap._() { throw new UnsupportedError("Not supported"); }
+ static MidiOutputMap internalCreateMidiOutputMap() {
+ return new MidiOutputMap._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory MidiOutputMap._internalWrap() {
+ return new MidiOutputMap._internal();
+ }
+
+ MidiOutputMap._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('MIDIOutputMap.size')
@DocsEditable()
@Experimental() // untriaged
@@ -23238,6 +26299,18 @@ class MidiPort extends EventTarget {
@DocsEditable()
static const EventStreamProvider<MidiConnectionEvent> disconnectEvent = const EventStreamProvider<MidiConnectionEvent>('disconnect');
+
+ static MidiPort internalCreateMidiPort() {
+ return new MidiPort._internalWrap();
+ }
+
+ factory MidiPort._internalWrap() {
+ return new MidiPort._internal();
+ }
+
+ MidiPort._internal() : super._internal();
+
+
@DomName('MIDIPort.id')
@DocsEditable()
String get id => _blink.BlinkMIDIPort.instance.id_Getter_(unwrap_jso(this));
@@ -23278,6 +26351,20 @@ class MimeType extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory MimeType._() { throw new UnsupportedError("Not supported"); }
+ static MimeType internalCreateMimeType() {
+ return new MimeType._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory MimeType._internalWrap() {
+ return new MimeType._internal();
+ }
+
+ MimeType._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('MimeType.description')
@DocsEditable()
String get description => _blink.BlinkMimeType.instance.description_Getter_(unwrap_jso(this));
@@ -23309,6 +26396,20 @@ class MimeTypeArray extends NativeFieldWrapperClass2 with ListMixin<MimeType>, I
// To suppress missing implicit constructor warnings.
factory MimeTypeArray._() { throw new UnsupportedError("Not supported"); }
+ static MimeTypeArray internalCreateMimeTypeArray() {
+ return new MimeTypeArray._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory MimeTypeArray._internalWrap() {
+ return new MimeTypeArray._internal();
+ }
+
+ MimeTypeArray._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('MimeTypeArray.length')
@DocsEditable()
int get length => _blink.BlinkMimeTypeArray.instance.length_Getter_(unwrap_jso(this));
@@ -23385,6 +26486,18 @@ class MimeTypeArray extends NativeFieldWrapperClass2 with ListMixin<MimeType>, I
class ModElement extends HtmlElement {
// To suppress missing implicit constructor warnings.
factory ModElement._() { throw new UnsupportedError("Not supported"); }
+
+
+ static ModElement internalCreateModElement() {
+ return new ModElement._internalWrap();
+ }
+
+ factory ModElement._internalWrap() {
+ return new ModElement._internal();
+ }
+
+ ModElement._internal() : super._internal();
+
/**
* Constructor instantiated by the DOM when a custom element has been created.
*
@@ -23436,6 +26549,18 @@ class MouseEvent extends UIEvent {
// To suppress missing implicit constructor warnings.
factory MouseEvent._() { throw new UnsupportedError("Not supported"); }
+
+ static MouseEvent internalCreateMouseEvent() {
+ return new MouseEvent._internalWrap();
+ }
+
+ factory MouseEvent._internalWrap() {
+ return new MouseEvent._internal();
+ }
+
+ MouseEvent._internal() : super._internal();
+
+
@DomName('MouseEvent.altKey')
@DocsEditable()
bool get altKey => _blink.BlinkMouseEvent.instance.altKey_Getter_(unwrap_jso(this));
@@ -23615,13 +26740,27 @@ class MutationObserver extends NativeFieldWrapperClass2 {
@DocsEditable()
factory MutationObserver._(MutationCallback callback) => wrap_jso(_create(callback));
+ static MutationObserver internalCreateMutationObserver() {
+ return new MutationObserver._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory MutationObserver._internalWrap() {
+ return new MutationObserver._internal();
+ }
+
+ MutationObserver._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('MutationObserver.disconnect')
@DocsEditable()
void disconnect() => _blink.BlinkMutationObserver.instance.disconnect_Callback_0_(unwrap_jso(this));
@DomName('MutationObserver.observe')
@DocsEditable()
- void _observe(Node target, Map options) => _blink.BlinkMutationObserver.instance.observe_Callback_2_(unwrap_jso(this), unwrap_jso(target), options);
+ void _observe(Node target, Map options) => _blink.BlinkMutationObserver.instance.observe_Callback_2_(unwrap_jso(this), unwrap_jso(target), options != null ? new js.JsObject.jsify(options) : options);
@DomName('MutationObserver.takeRecords')
@DocsEditable()
@@ -23635,7 +26774,15 @@ class MutationObserver extends NativeFieldWrapperClass2 {
return true;
}
@DocsEditable()
- static MutationObserver _create(callback) => _blink.BlinkMutationObserver.instance.constructorCallback_1_(callback);
+ static MutationObserver _create(callback) => wrap_jso(_blink.BlinkMutationObserver.instance.constructorCallback_1_((List<MutationRecord> mutations, MutationObserver observer) {
+ var wrapped_mutations = [];
+ for (var mutation in mutations) {
+ // Wrap the Javascript object for each MutationRecord.
+ wrapped_mutations.add(wrap_jso(mutation));
+ }
+ // Wrap the MutationObserver too.
+ callback(wrapped_mutations, wrap_jso(observer));
+ }));
/**
* Observes the target for the specified changes.
@@ -23710,6 +26857,20 @@ class MutationRecord extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory MutationRecord._() { throw new UnsupportedError("Not supported"); }
+ static MutationRecord internalCreateMutationRecord() {
+ return new MutationRecord._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory MutationRecord._internalWrap() {
+ return new MutationRecord._internal();
+ }
+
+ MutationRecord._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('MutationRecord.addedNodes')
@DocsEditable()
List<Node> get addedNodes => wrap_jso_list(_blink.BlinkMutationRecord.instance.addedNodes_Getter_(unwrap_jso(this)));
@@ -23814,6 +26975,20 @@ class Navigator extends NativeFieldWrapperClass2 implements NavigatorCpu, Naviga
// To suppress missing implicit constructor warnings.
factory Navigator._() { throw new UnsupportedError("Not supported"); }
+ static Navigator internalCreateNavigator() {
+ return new Navigator._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory Navigator._internalWrap() {
+ return new Navigator._internal();
+ }
+
+ Navigator._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('Navigator.connection')
@DocsEditable()
@Experimental() // untriaged
@@ -23957,7 +27132,7 @@ class Navigator extends NativeFieldWrapperClass2 implements NavigatorCpu, Naviga
@DocsEditable()
// http://dev.w3.org/2011/webrtc/editor/getusermedia.html#navigatorusermedia
@Experimental()
- void _getUserMedia(Map options, _NavigatorUserMediaSuccessCallback successCallback, _NavigatorUserMediaErrorCallback errorCallback) => _blink.BlinkNavigator.instance.webkitGetUserMedia_Callback_3_(unwrap_jso(this), options, unwrap_jso(successCallback), unwrap_jso(errorCallback));
+ void _getUserMedia(Map options, _NavigatorUserMediaSuccessCallback successCallback, _NavigatorUserMediaErrorCallback errorCallback) => _blink.BlinkNavigator.instance.webkitGetUserMedia_Callback_3_(unwrap_jso(this), options != null ? new js.JsObject.jsify(options) : options, unwrap_jso(successCallback), unwrap_jso(errorCallback));
@DomName('Navigator.hardwareConcurrency')
@DocsEditable()
@@ -24024,6 +27199,20 @@ abstract class NavigatorCpu extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory NavigatorCpu._() { throw new UnsupportedError("Not supported"); }
+ static NavigatorCpu internalCreateNavigatorCpu() {
+ return new NavigatorCpu._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory NavigatorCpu._internalWrap() {
+ return new NavigatorCpu._internal();
+ }
+
+ NavigatorCpu._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('NavigatorCPU.hardwareConcurrency')
@DocsEditable()
@Experimental() // untriaged
@@ -24044,6 +27233,20 @@ abstract class NavigatorID extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory NavigatorID._() { throw new UnsupportedError("Not supported"); }
+ static NavigatorID internalCreateNavigatorID() {
+ return new NavigatorID._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory NavigatorID._internalWrap() {
+ return new NavigatorID._internal();
+ }
+
+ NavigatorID._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('NavigatorID.appCodeName')
@DocsEditable()
@Experimental() // untriaged
@@ -24094,6 +27297,20 @@ abstract class NavigatorLanguage extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory NavigatorLanguage._() { throw new UnsupportedError("Not supported"); }
+ static NavigatorLanguage internalCreateNavigatorLanguage() {
+ return new NavigatorLanguage._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory NavigatorLanguage._internalWrap() {
+ return new NavigatorLanguage._internal();
+ }
+
+ NavigatorLanguage._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('NavigatorLanguage.language')
@DocsEditable()
@Experimental() // untriaged
@@ -24119,6 +27336,20 @@ abstract class NavigatorOnLine extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory NavigatorOnLine._() { throw new UnsupportedError("Not supported"); }
+ static NavigatorOnLine internalCreateNavigatorOnLine() {
+ return new NavigatorOnLine._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory NavigatorOnLine._internalWrap() {
+ return new NavigatorOnLine._internal();
+ }
+
+ NavigatorOnLine._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('NavigatorOnLine.onLine')
@DocsEditable()
@Experimental() // untriaged
@@ -24140,6 +27371,20 @@ class NavigatorUserMediaError extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory NavigatorUserMediaError._() { throw new UnsupportedError("Not supported"); }
+ static NavigatorUserMediaError internalCreateNavigatorUserMediaError() {
+ return new NavigatorUserMediaError._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory NavigatorUserMediaError._internalWrap() {
+ return new NavigatorUserMediaError._internal();
+ }
+
+ NavigatorUserMediaError._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('NavigatorUserMediaError.constraintName')
@DocsEditable()
String get constraintName => _blink.BlinkNavigatorUserMediaError.instance.constraintName_Getter_(unwrap_jso(this));
@@ -24189,6 +27434,18 @@ class NetworkInformation extends EventTarget {
// To suppress missing implicit constructor warnings.
factory NetworkInformation._() { throw new UnsupportedError("Not supported"); }
+
+ static NetworkInformation internalCreateNetworkInformation() {
+ return new NetworkInformation._internalWrap();
+ }
+
+ factory NetworkInformation._internalWrap() {
+ return new NetworkInformation._internal();
+ }
+
+ NetworkInformation._internal() : super._internal();
+
+
@DomName('NetworkInformation.type')
@DocsEditable()
@Experimental() // untriaged
@@ -24455,6 +27712,8 @@ class Node extends EventTarget {
return value == null ? super.toString() : value;
}
+ List<Node> _childNodes;
+
/**
* A list of this node's children.
*
@@ -24468,10 +27727,33 @@ class Node extends EventTarget {
@DocsEditable()
@Returns('NodeList')
@Creates('NodeList')
- List<Node> get childNodes => _blink.BlinkNode.instance.childNodes_Getter_(this);
+ List<Node> get childNodes {
+ if (_childNodes == null) {
+ List<Node> nodes = new List<Node>();
+ var jsCollection = _blink.BlinkNode.instance.childNodes_Getter_(unwrap_jso(this));
+ var collectionLen = jsCollection['length'];
+ for (var i = 0; i < collectionLen; i++) {
+ nodes.add(wrap_jso(jsCollection.callMethod('item', [i])));
+ }
+ _childNodes = nodes;
+ }
+ return _childNodes;
+ }
// To suppress missing implicit constructor warnings.
factory Node._() { throw new UnsupportedError("Not supported"); }
+
+ static Node internalCreateNode() {
+ return new Node._internalWrap();
+ }
+
+ factory Node._internalWrap() {
+ return new Node._internal();
+ }
+
+ Node._internal() : super._internal();
+
+
@DomName('Node.ATTRIBUTE_NODE')
@DocsEditable()
static const int ATTRIBUTE_NODE = 2;
@@ -24803,6 +28085,20 @@ class NodeFilter extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory NodeFilter._() { throw new UnsupportedError("Not supported"); }
+ static NodeFilter internalCreateNodeFilter() {
+ return new NodeFilter._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory NodeFilter._internalWrap() {
+ return new NodeFilter._internal();
+ }
+
+ NodeFilter._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('NodeFilter.FILTER_ACCEPT')
@DocsEditable()
static const int FILTER_ACCEPT = 1;
@@ -24862,6 +28158,20 @@ class NodeIterator extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory NodeIterator._() { throw new UnsupportedError("Not supported"); }
+ static NodeIterator internalCreateNodeIterator() {
+ return new NodeIterator._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory NodeIterator._internalWrap() {
+ return new NodeIterator._internal();
+ }
+
+ NodeIterator._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('NodeIterator.pointerBeforeReferenceNode')
@DocsEditable()
bool get pointerBeforeReferenceNode => _blink.BlinkNodeIterator.instance.pointerBeforeReferenceNode_Getter_(unwrap_jso(this));
@@ -24904,6 +28214,20 @@ class NodeList extends NativeFieldWrapperClass2 with ListMixin<Node>, ImmutableL
// To suppress missing implicit constructor warnings.
factory NodeList._() { throw new UnsupportedError("Not supported"); }
+ static NodeList internalCreateNodeList() {
+ return new NodeList._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory NodeList._internalWrap() {
+ return new NodeList._internal();
+ }
+
+ NodeList._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('NodeList.length')
@DocsEditable()
int get length => _blink.BlinkNodeList.instance.length_Getter_(unwrap_jso(this));
@@ -25032,6 +28356,18 @@ class Notification extends EventTarget {
return _blink.BlinkNotification.instance.constructorCallback_1_(title);
}
+
+ static Notification internalCreateNotification() {
+ return new Notification._internalWrap();
+ }
+
+ factory Notification._internalWrap() {
+ return new Notification._internal();
+ }
+
+ Notification._internal() : super._internal();
+
+
/// Checks if this type is supported on the current platform.
static bool get supported => true;
@@ -25137,6 +28473,18 @@ class OListElement extends HtmlElement {
@DomName('HTMLOListElement.HTMLOListElement')
@DocsEditable()
factory OListElement() => document.createElement("ol");
+
+
+ static OListElement internalCreateOListElement() {
+ return new OListElement._internalWrap();
+ }
+
+ factory OListElement._internalWrap() {
+ return new OListElement._internal();
+ }
+
+ OListElement._internal() : super._internal();
+
/**
* Constructor instantiated by the DOM when a custom element has been created.
*
@@ -25189,6 +28537,18 @@ class ObjectElement extends HtmlElement {
@DomName('HTMLObjectElement.HTMLObjectElement')
@DocsEditable()
factory ObjectElement() => document.createElement("object");
+
+
+ static ObjectElement internalCreateObjectElement() {
+ return new ObjectElement._internalWrap();
+ }
+
+ factory ObjectElement._internalWrap() {
+ return new ObjectElement._internal();
+ }
+
+ ObjectElement._internal() : super._internal();
+
/**
* Constructor instantiated by the DOM when a custom element has been created.
*
@@ -25306,6 +28666,18 @@ class OptGroupElement extends HtmlElement {
@DomName('HTMLOptGroupElement.HTMLOptGroupElement')
@DocsEditable()
factory OptGroupElement() => document.createElement("optgroup");
+
+
+ static OptGroupElement internalCreateOptGroupElement() {
+ return new OptGroupElement._internalWrap();
+ }
+
+ factory OptGroupElement._internalWrap() {
+ return new OptGroupElement._internal();
+ }
+
+ OptGroupElement._internal() : super._internal();
+
/**
* Constructor instantiated by the DOM when a custom element has been created.
*
@@ -25346,6 +28718,18 @@ class OptionElement extends HtmlElement {
factory OptionElement._([String data, String value, bool defaultSelected, bool selected]) {
return _blink.BlinkHTMLOptionElement.instance.constructorCallback_4_(data, value, defaultSelected, selected);
}
+
+
+ static OptionElement internalCreateOptionElement() {
+ return new OptionElement._internalWrap();
+ }
+
+ factory OptionElement._internalWrap() {
+ return new OptionElement._internal();
+ }
+
+ OptionElement._internal() : super._internal();
+
/**
* Constructor instantiated by the DOM when a custom element has been created.
*
@@ -25421,6 +28805,18 @@ class OutputElement extends HtmlElement {
@DomName('HTMLOutputElement.HTMLOutputElement')
@DocsEditable()
factory OutputElement() => document.createElement("output");
+
+
+ static OutputElement internalCreateOutputElement() {
+ return new OutputElement._internalWrap();
+ }
+
+ factory OutputElement._internalWrap() {
+ return new OutputElement._internal();
+ }
+
+ OutputElement._internal() : super._internal();
+
/**
* Constructor instantiated by the DOM when a custom element has been created.
*
@@ -25507,6 +28903,18 @@ class OverflowEvent extends Event {
// To suppress missing implicit constructor warnings.
factory OverflowEvent._() { throw new UnsupportedError("Not supported"); }
+
+ static OverflowEvent internalCreateOverflowEvent() {
+ return new OverflowEvent._internalWrap();
+ }
+
+ factory OverflowEvent._internalWrap() {
+ return new OverflowEvent._internal();
+ }
+
+ OverflowEvent._internal() : super._internal();
+
+
@DomName('OverflowEvent.BOTH')
@DocsEditable()
static const int BOTH = 2;
@@ -25547,6 +28955,18 @@ class PageTransitionEvent extends Event {
// To suppress missing implicit constructor warnings.
factory PageTransitionEvent._() { throw new UnsupportedError("Not supported"); }
+
+ static PageTransitionEvent internalCreatePageTransitionEvent() {
+ return new PageTransitionEvent._internalWrap();
+ }
+
+ factory PageTransitionEvent._internalWrap() {
+ return new PageTransitionEvent._internal();
+ }
+
+ PageTransitionEvent._internal() : super._internal();
+
+
@DomName('PageTransitionEvent.persisted')
@DocsEditable()
bool get persisted => _blink.BlinkPageTransitionEvent.instance.persisted_Getter_(unwrap_jso(this));
@@ -25568,6 +28988,18 @@ class ParagraphElement extends HtmlElement {
@DomName('HTMLParagraphElement.HTMLParagraphElement')
@DocsEditable()
factory ParagraphElement() => document.createElement("p");
+
+
+ static ParagraphElement internalCreateParagraphElement() {
+ return new ParagraphElement._internalWrap();
+ }
+
+ factory ParagraphElement._internalWrap() {
+ return new ParagraphElement._internal();
+ }
+
+ ParagraphElement._internal() : super._internal();
+
/**
* Constructor instantiated by the DOM when a custom element has been created.
*
@@ -25593,6 +29025,18 @@ class ParamElement extends HtmlElement {
@DomName('HTMLParamElement.HTMLParamElement')
@DocsEditable()
factory ParamElement() => document.createElement("param");
+
+
+ static ParamElement internalCreateParamElement() {
+ return new ParamElement._internalWrap();
+ }
+
+ factory ParamElement._internalWrap() {
+ return new ParamElement._internal();
+ }
+
+ ParamElement._internal() : super._internal();
+
/**
* Constructor instantiated by the DOM when a custom element has been created.
*
@@ -25631,6 +29075,20 @@ abstract class ParentNode extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory ParentNode._() { throw new UnsupportedError("Not supported"); }
+ static ParentNode internalCreateParentNode() {
+ return new ParentNode._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory ParentNode._internalWrap() {
+ return new ParentNode._internal();
+ }
+
+ ParentNode._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('ParentNode.childElementCount')
@DocsEditable()
@Experimental() // untriaged
@@ -25691,6 +29149,20 @@ class Path2D extends NativeFieldWrapperClass2 implements _CanvasPathMethods {
throw new ArgumentError("Incorrect number or type of arguments");
}
+ static Path2D internalCreatePath2D() {
+ return new Path2D._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory Path2D._internalWrap() {
+ return new Path2D._internal();
+ }
+
+ Path2D._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
void addPath(Path2D path, [Matrix transform]) {
if (transform != null) {
_blink.BlinkPath2D.instance.addPath_Callback_2_(unwrap_jso(this), unwrap_jso(path), unwrap_jso(transform));
@@ -25776,6 +29248,18 @@ class Performance extends EventTarget {
// http://www.w3c-test.org/webperf/specs/ResourceTiming/#performanceresourcetiming-methods
static const EventStreamProvider<Event> resourceTimingBufferFullEvent = const EventStreamProvider<Event>('webkitresourcetimingbufferfull');
+
+ static Performance internalCreatePerformance() {
+ return new Performance._internalWrap();
+ }
+
+ factory Performance._internalWrap() {
+ return new Performance._internal();
+ }
+
+ Performance._internal() : super._internal();
+
+
/// Checks if this type is supported on the current platform.
static bool get supported => true;
@@ -25877,6 +29361,20 @@ class PerformanceEntry extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory PerformanceEntry._() { throw new UnsupportedError("Not supported"); }
+ static PerformanceEntry internalCreatePerformanceEntry() {
+ return new PerformanceEntry._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory PerformanceEntry._internalWrap() {
+ return new PerformanceEntry._internal();
+ }
+
+ PerformanceEntry._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('PerformanceEntry.duration')
@DocsEditable()
double get duration => _blink.BlinkPerformanceEntry.instance.duration_Getter_(unwrap_jso(this));
@@ -25909,6 +29407,18 @@ class PerformanceMark extends PerformanceEntry {
// To suppress missing implicit constructor warnings.
factory PerformanceMark._() { throw new UnsupportedError("Not supported"); }
+
+ static PerformanceMark internalCreatePerformanceMark() {
+ return new PerformanceMark._internalWrap();
+ }
+
+ factory PerformanceMark._internalWrap() {
+ return new PerformanceMark._internal();
+ }
+
+ PerformanceMark._internal() : super._internal();
+
+
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -25925,6 +29435,18 @@ class PerformanceMeasure extends PerformanceEntry {
// To suppress missing implicit constructor warnings.
factory PerformanceMeasure._() { throw new UnsupportedError("Not supported"); }
+
+ static PerformanceMeasure internalCreatePerformanceMeasure() {
+ return new PerformanceMeasure._internalWrap();
+ }
+
+ factory PerformanceMeasure._internalWrap() {
+ return new PerformanceMeasure._internal();
+ }
+
+ PerformanceMeasure._internal() : super._internal();
+
+
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -25940,6 +29462,20 @@ class PerformanceNavigation extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory PerformanceNavigation._() { throw new UnsupportedError("Not supported"); }
+ static PerformanceNavigation internalCreatePerformanceNavigation() {
+ return new PerformanceNavigation._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory PerformanceNavigation._internalWrap() {
+ return new PerformanceNavigation._internal();
+ }
+
+ PerformanceNavigation._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('PerformanceNavigation.TYPE_BACK_FORWARD')
@DocsEditable()
static const int TYPE_BACK_FORWARD = 2;
@@ -25980,6 +29516,18 @@ class PerformanceResourceTiming extends PerformanceEntry {
// To suppress missing implicit constructor warnings.
factory PerformanceResourceTiming._() { throw new UnsupportedError("Not supported"); }
+
+ static PerformanceResourceTiming internalCreatePerformanceResourceTiming() {
+ return new PerformanceResourceTiming._internalWrap();
+ }
+
+ factory PerformanceResourceTiming._internalWrap() {
+ return new PerformanceResourceTiming._internal();
+ }
+
+ PerformanceResourceTiming._internal() : super._internal();
+
+
@DomName('PerformanceResourceTiming.connectEnd')
@DocsEditable()
double get connectEnd => _blink.BlinkPerformanceResourceTiming.instance.connectEnd_Getter_(unwrap_jso(this));
@@ -26046,6 +29594,20 @@ class PerformanceTiming extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory PerformanceTiming._() { throw new UnsupportedError("Not supported"); }
+ static PerformanceTiming internalCreatePerformanceTiming() {
+ return new PerformanceTiming._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory PerformanceTiming._internalWrap() {
+ return new PerformanceTiming._internal();
+ }
+
+ PerformanceTiming._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('PerformanceTiming.connectEnd')
@DocsEditable()
int get connectEnd => _blink.BlinkPerformanceTiming.instance.connectEnd_Getter_(unwrap_jso(this));
@@ -26144,6 +29706,18 @@ class PerformanceTiming extends NativeFieldWrapperClass2 {
class PictureElement extends HtmlElement {
// To suppress missing implicit constructor warnings.
factory PictureElement._() { throw new UnsupportedError("Not supported"); }
+
+
+ static PictureElement internalCreatePictureElement() {
+ return new PictureElement._internalWrap();
+ }
+
+ factory PictureElement._internalWrap() {
+ return new PictureElement._internal();
+ }
+
+ PictureElement._internal() : super._internal();
+
/**
* Constructor instantiated by the DOM when a custom element has been created.
*
@@ -26166,6 +29740,20 @@ class Plugin extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory Plugin._() { throw new UnsupportedError("Not supported"); }
+ static Plugin internalCreatePlugin() {
+ return new Plugin._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory Plugin._internalWrap() {
+ return new Plugin._internal();
+ }
+
+ Plugin._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('Plugin.description')
@DocsEditable()
String get description => _blink.BlinkPlugin.instance.description_Getter_(unwrap_jso(this));
@@ -26209,6 +29797,20 @@ class PluginArray extends NativeFieldWrapperClass2 with ListMixin<Plugin>, Immut
// To suppress missing implicit constructor warnings.
factory PluginArray._() { throw new UnsupportedError("Not supported"); }
+ static PluginArray internalCreatePluginArray() {
+ return new PluginArray._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory PluginArray._internalWrap() {
+ return new PluginArray._internal();
+ }
+
+ PluginArray._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('PluginArray.length')
@DocsEditable()
int get length => _blink.BlinkPluginArray.instance.length_Getter_(unwrap_jso(this));
@@ -26289,6 +29891,18 @@ class PluginArray extends NativeFieldWrapperClass2 with ListMixin<Plugin>, Immut
class PluginPlaceholderElement extends DivElement {
// To suppress missing implicit constructor warnings.
factory PluginPlaceholderElement._() { throw new UnsupportedError("Not supported"); }
+
+
+ static PluginPlaceholderElement internalCreatePluginPlaceholderElement() {
+ return new PluginPlaceholderElement._internalWrap();
+ }
+
+ factory PluginPlaceholderElement._internalWrap() {
+ return new PluginPlaceholderElement._internal();
+ }
+
+ PluginPlaceholderElement._internal() : super._internal();
+
/**
* Constructor instantiated by the DOM when a custom element has been created.
*
@@ -26329,6 +29943,18 @@ class PopStateEvent extends Event {
// To suppress missing implicit constructor warnings.
factory PopStateEvent._() { throw new UnsupportedError("Not supported"); }
+
+ static PopStateEvent internalCreatePopStateEvent() {
+ return new PopStateEvent._internalWrap();
+ }
+
+ factory PopStateEvent._internalWrap() {
+ return new PopStateEvent._internal();
+ }
+
+ PopStateEvent._internal() : super._internal();
+
+
@DomName('PopStateEvent.state')
@DocsEditable()
Object get state => _blink.BlinkPopStateEvent.instance.state_Getter_(unwrap_jso(this));
@@ -26358,6 +29984,20 @@ class PositionError extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory PositionError._() { throw new UnsupportedError("Not supported"); }
+ static PositionError internalCreatePositionError() {
+ return new PositionError._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory PositionError._internalWrap() {
+ return new PositionError._internal();
+ }
+
+ PositionError._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('PositionError.PERMISSION_DENIED')
@DocsEditable()
static const int PERMISSION_DENIED = 1;
@@ -26405,6 +30045,18 @@ class PreElement extends HtmlElement {
@DomName('HTMLPreElement.HTMLPreElement')
@DocsEditable()
factory PreElement() => document.createElement("pre");
+
+
+ static PreElement internalCreatePreElement() {
+ return new PreElement._internalWrap();
+ }
+
+ factory PreElement._internalWrap() {
+ return new PreElement._internal();
+ }
+
+ PreElement._internal() : super._internal();
+
/**
* Constructor instantiated by the DOM when a custom element has been created.
*
@@ -26427,6 +30079,18 @@ class Presentation extends EventTarget {
// To suppress missing implicit constructor warnings.
factory Presentation._() { throw new UnsupportedError("Not supported"); }
+
+ static Presentation internalCreatePresentation() {
+ return new Presentation._internalWrap();
+ }
+
+ factory Presentation._internalWrap() {
+ return new Presentation._internal();
+ }
+
+ Presentation._internal() : super._internal();
+
+
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -26442,6 +30106,18 @@ class ProcessingInstruction extends CharacterData {
// To suppress missing implicit constructor warnings.
factory ProcessingInstruction._() { throw new UnsupportedError("Not supported"); }
+
+ static ProcessingInstruction internalCreateProcessingInstruction() {
+ return new ProcessingInstruction._internalWrap();
+ }
+
+ factory ProcessingInstruction._internalWrap() {
+ return new ProcessingInstruction._internal();
+ }
+
+ ProcessingInstruction._internal() : super._internal();
+
+
@DomName('ProcessingInstruction.sheet')
@DocsEditable()
@Experimental() // non-standard
@@ -26472,6 +30148,18 @@ class ProgressElement extends HtmlElement {
@DomName('HTMLProgressElement.HTMLProgressElement')
@DocsEditable()
factory ProgressElement() => document.createElement("progress");
+
+
+ static ProgressElement internalCreateProgressElement() {
+ return new ProgressElement._internalWrap();
+ }
+
+ factory ProgressElement._internalWrap() {
+ return new ProgressElement._internal();
+ }
+
+ ProgressElement._internal() : super._internal();
+
/**
* Constructor instantiated by the DOM when a custom element has been created.
*
@@ -26521,6 +30209,18 @@ class ProgressEvent extends Event {
// To suppress missing implicit constructor warnings.
factory ProgressEvent._() { throw new UnsupportedError("Not supported"); }
+
+ static ProgressEvent internalCreateProgressEvent() {
+ return new ProgressEvent._internalWrap();
+ }
+
+ factory ProgressEvent._internalWrap() {
+ return new ProgressEvent._internal();
+ }
+
+ ProgressEvent._internal() : super._internal();
+
+
@DomName('ProgressEvent.lengthComputable')
@DocsEditable()
bool get lengthComputable => _blink.BlinkProgressEvent.instance.lengthComputable_Getter_(unwrap_jso(this));
@@ -26548,6 +30248,18 @@ class PushEvent extends Event {
// To suppress missing implicit constructor warnings.
factory PushEvent._() { throw new UnsupportedError("Not supported"); }
+
+ static PushEvent internalCreatePushEvent() {
+ return new PushEvent._internalWrap();
+ }
+
+ factory PushEvent._internalWrap() {
+ return new PushEvent._internal();
+ }
+
+ PushEvent._internal() : super._internal();
+
+
@DomName('PushEvent.data')
@DocsEditable()
@Experimental() // untriaged
@@ -26568,6 +30280,20 @@ class PushManager extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory PushManager._() { throw new UnsupportedError("Not supported"); }
+ static PushManager internalCreatePushManager() {
+ return new PushManager._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory PushManager._internalWrap() {
+ return new PushManager._internal();
+ }
+
+ PushManager._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('PushManager.register')
@DocsEditable()
@Experimental() // untriaged
@@ -26588,6 +30314,20 @@ class PushRegistration extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory PushRegistration._() { throw new UnsupportedError("Not supported"); }
+ static PushRegistration internalCreatePushRegistration() {
+ return new PushRegistration._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory PushRegistration._internalWrap() {
+ return new PushRegistration._internal();
+ }
+
+ PushRegistration._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('PushRegistration.pushEndpoint')
@DocsEditable()
@Experimental() // untriaged
@@ -26615,6 +30355,18 @@ class QuoteElement extends HtmlElement {
@DomName('HTMLQuoteElement.HTMLQuoteElement')
@DocsEditable()
factory QuoteElement() => document.createElement("q");
+
+
+ static QuoteElement internalCreateQuoteElement() {
+ return new QuoteElement._internalWrap();
+ }
+
+ factory QuoteElement._internalWrap() {
+ return new QuoteElement._internal();
+ }
+
+ QuoteElement._internal() : super._internal();
+
/**
* Constructor instantiated by the DOM when a custom element has been created.
*
@@ -26681,6 +30433,20 @@ class Range extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory Range._() { throw new UnsupportedError("Not supported"); }
+ static Range internalCreateRange() {
+ return new Range._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory Range._internalWrap() {
+ return new Range._internal();
+ }
+
+ Range._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('Range.END_TO_END')
@DocsEditable()
static const int END_TO_END = 2;
@@ -26864,6 +30630,20 @@ class ReadableStream extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory ReadableStream._() { throw new UnsupportedError("Not supported"); }
+ static ReadableStream internalCreateReadableStream() {
+ return new ReadableStream._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory ReadableStream._internalWrap() {
+ return new ReadableStream._internal();
+ }
+
+ ReadableStream._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('ReadableStream.closed')
@DocsEditable()
@Experimental() // untriaged
@@ -26904,6 +30684,18 @@ class RelatedEvent extends Event {
// To suppress missing implicit constructor warnings.
factory RelatedEvent._() { throw new UnsupportedError("Not supported"); }
+
+ static RelatedEvent internalCreateRelatedEvent() {
+ return new RelatedEvent._internalWrap();
+ }
+
+ factory RelatedEvent._internalWrap() {
+ return new RelatedEvent._internal();
+ }
+
+ RelatedEvent._internal() : super._internal();
+
+
@DomName('RelatedEvent.relatedTarget')
@DocsEditable()
@Experimental() // untriaged
@@ -26934,6 +30726,18 @@ class ResourceProgressEvent extends ProgressEvent {
// To suppress missing implicit constructor warnings.
factory ResourceProgressEvent._() { throw new UnsupportedError("Not supported"); }
+
+ static ResourceProgressEvent internalCreateResourceProgressEvent() {
+ return new ResourceProgressEvent._internalWrap();
+ }
+
+ factory ResourceProgressEvent._internalWrap() {
+ return new ResourceProgressEvent._internal();
+ }
+
+ ResourceProgressEvent._internal() : super._internal();
+
+
@DomName('ResourceProgressEvent.url')
@DocsEditable()
String get url => _blink.BlinkResourceProgressEvent.instance.url_Getter_(unwrap_jso(this));
@@ -26994,6 +30798,18 @@ class RtcDataChannel extends EventTarget {
@DocsEditable()
static const EventStreamProvider<Event> openEvent = const EventStreamProvider<Event>('open');
+
+ static RtcDataChannel internalCreateRtcDataChannel() {
+ return new RtcDataChannel._internalWrap();
+ }
+
+ factory RtcDataChannel._internalWrap() {
+ return new RtcDataChannel._internal();
+ }
+
+ RtcDataChannel._internal() : super._internal();
+
+
@DomName('RTCDataChannel.binaryType')
@DocsEditable()
String get binaryType => _blink.BlinkRTCDataChannel.instance.binaryType_Getter_(unwrap_jso(this));
@@ -27124,6 +30940,18 @@ class RtcDataChannelEvent extends Event {
// To suppress missing implicit constructor warnings.
factory RtcDataChannelEvent._() { throw new UnsupportedError("Not supported"); }
+
+ static RtcDataChannelEvent internalCreateRtcDataChannelEvent() {
+ return new RtcDataChannelEvent._internalWrap();
+ }
+
+ factory RtcDataChannelEvent._internalWrap() {
+ return new RtcDataChannelEvent._internal();
+ }
+
+ RtcDataChannelEvent._internal() : super._internal();
+
+
@DomName('RTCDataChannelEvent.channel')
@DocsEditable()
RtcDataChannel get channel => wrap_jso(_blink.BlinkRTCDataChannelEvent.instance.channel_Getter_(unwrap_jso(this)));
@@ -27154,6 +30982,18 @@ class RtcDtmfSender extends EventTarget {
@DocsEditable()
static const EventStreamProvider<RtcDtmfToneChangeEvent> toneChangeEvent = const EventStreamProvider<RtcDtmfToneChangeEvent>('tonechange');
+
+ static RtcDtmfSender internalCreateRtcDtmfSender() {
+ return new RtcDtmfSender._internalWrap();
+ }
+
+ factory RtcDtmfSender._internalWrap() {
+ return new RtcDtmfSender._internal();
+ }
+
+ RtcDtmfSender._internal() : super._internal();
+
+
@DomName('RTCDTMFSender.canInsertDTMF')
@DocsEditable()
bool get canInsertDtmf => _blink.BlinkRTCDTMFSender.instance.canInsertDTMF_Getter_(unwrap_jso(this));
@@ -27208,6 +31048,18 @@ class RtcDtmfToneChangeEvent extends Event {
// To suppress missing implicit constructor warnings.
factory RtcDtmfToneChangeEvent._() { throw new UnsupportedError("Not supported"); }
+
+ static RtcDtmfToneChangeEvent internalCreateRtcDtmfToneChangeEvent() {
+ return new RtcDtmfToneChangeEvent._internalWrap();
+ }
+
+ factory RtcDtmfToneChangeEvent._internalWrap() {
+ return new RtcDtmfToneChangeEvent._internal();
+ }
+
+ RtcDtmfToneChangeEvent._internal() : super._internal();
+
+
@DomName('RTCDTMFToneChangeEvent.tone')
@DocsEditable()
String get tone => _blink.BlinkRTCDTMFToneChangeEvent.instance.tone_Getter_(unwrap_jso(this));
@@ -27235,6 +31087,20 @@ class RtcIceCandidate extends NativeFieldWrapperClass2 {
return _blink.BlinkRTCIceCandidate.instance.constructorCallback_1_(dictionary);
}
+ static RtcIceCandidate internalCreateRtcIceCandidate() {
+ return new RtcIceCandidate._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory RtcIceCandidate._internalWrap() {
+ return new RtcIceCandidate._internal();
+ }
+
+ RtcIceCandidate._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('RTCIceCandidate.candidate')
@DocsEditable()
String get candidate => _blink.BlinkRTCIceCandidate.instance.candidate_Getter_(unwrap_jso(this));
@@ -27275,6 +31141,18 @@ class RtcIceCandidateEvent extends Event {
// To suppress missing implicit constructor warnings.
factory RtcIceCandidateEvent._() { throw new UnsupportedError("Not supported"); }
+
+ static RtcIceCandidateEvent internalCreateRtcIceCandidateEvent() {
+ return new RtcIceCandidateEvent._internalWrap();
+ }
+
+ factory RtcIceCandidateEvent._internalWrap() {
+ return new RtcIceCandidateEvent._internal();
+ }
+
+ RtcIceCandidateEvent._internal() : super._internal();
+
+
@DomName('RTCIceCandidateEvent.candidate')
@DocsEditable()
RtcIceCandidate get candidate => wrap_jso(_blink.BlinkRTCIceCandidateEvent.instance.candidate_Getter_(unwrap_jso(this)));
@@ -27400,6 +31278,18 @@ class RtcPeerConnection extends EventTarget {
return _blink.BlinkRTCPeerConnection.instance.constructorCallback_1_(rtcConfiguration);
}
+
+ static RtcPeerConnection internalCreateRtcPeerConnection() {
+ return new RtcPeerConnection._internalWrap();
+ }
+
+ factory RtcPeerConnection._internalWrap() {
+ return new RtcPeerConnection._internal();
+ }
+
+ RtcPeerConnection._internal() : super._internal();
+
+
@DomName('RTCPeerConnection.iceConnectionState')
@DocsEditable()
String get iceConnectionState => _blink.BlinkRTCPeerConnection.instance.iceConnectionState_Getter_(unwrap_jso(this));
@@ -27426,7 +31316,7 @@ class RtcPeerConnection extends EventTarget {
void addStream(MediaStream stream, [Map mediaConstraints]) {
if (mediaConstraints != null) {
- _blink.BlinkRTCPeerConnection.instance.addStream_Callback_2_(unwrap_jso(this), unwrap_jso(stream), mediaConstraints);
+ _blink.BlinkRTCPeerConnection.instance.addStream_Callback_2_(unwrap_jso(this), unwrap_jso(stream), mediaConstraints != null ? new js.JsObject.jsify(mediaConstraints) : mediaConstraints);
return;
}
_blink.BlinkRTCPeerConnection.instance.addStream_Callback_1_(unwrap_jso(this), unwrap_jso(stream));
@@ -27439,7 +31329,7 @@ class RtcPeerConnection extends EventTarget {
void _createAnswer(_RtcSessionDescriptionCallback successCallback, [_RtcErrorCallback failureCallback, Map mediaConstraints]) {
if (mediaConstraints != null) {
- _blink.BlinkRTCPeerConnection.instance.createAnswer_Callback_3_(unwrap_jso(this), unwrap_jso(successCallback), unwrap_jso(failureCallback), mediaConstraints);
+ _blink.BlinkRTCPeerConnection.instance.createAnswer_Callback_3_(unwrap_jso(this), unwrap_jso(successCallback), unwrap_jso(failureCallback), mediaConstraints != null ? new js.JsObject.jsify(mediaConstraints) : mediaConstraints);
return;
}
_blink.BlinkRTCPeerConnection.instance.createAnswer_Callback_2_(unwrap_jso(this), unwrap_jso(successCallback), unwrap_jso(failureCallback));
@@ -27452,14 +31342,14 @@ class RtcPeerConnection extends EventTarget {
RtcDataChannel createDataChannel(String label, [Map options]) {
if (options != null) {
- return _blink.BlinkRTCPeerConnection.instance.createDataChannel_Callback_2_(unwrap_jso(this), label, options);
+ return _blink.BlinkRTCPeerConnection.instance.createDataChannel_Callback_2_(unwrap_jso(this), label, options != null ? new js.JsObject.jsify(options) : options);
}
return _blink.BlinkRTCPeerConnection.instance.createDataChannel_Callback_1_(unwrap_jso(this), label);
}
void _createOffer(_RtcSessionDescriptionCallback successCallback, [_RtcErrorCallback failureCallback, Map rtcOfferOptions]) {
if (rtcOfferOptions != null) {
- _blink.BlinkRTCPeerConnection.instance.createOffer_Callback_3_(unwrap_jso(this), unwrap_jso(successCallback), unwrap_jso(failureCallback), rtcOfferOptions);
+ _blink.BlinkRTCPeerConnection.instance.createOffer_Callback_3_(unwrap_jso(this), unwrap_jso(successCallback), unwrap_jso(failureCallback), rtcOfferOptions != null ? new js.JsObject.jsify(rtcOfferOptions) : rtcOfferOptions);
return;
}
_blink.BlinkRTCPeerConnection.instance.createOffer_Callback_2_(unwrap_jso(this), unwrap_jso(successCallback), unwrap_jso(failureCallback));
@@ -27512,11 +31402,11 @@ class RtcPeerConnection extends EventTarget {
void updateIce([Map configuration, Map mediaConstraints]) {
if (mediaConstraints != null) {
- _blink.BlinkRTCPeerConnection.instance.updateIce_Callback_2_(unwrap_jso(this), configuration, mediaConstraints);
+ _blink.BlinkRTCPeerConnection.instance.updateIce_Callback_2_(unwrap_jso(this), configuration != null ? new js.JsObject.jsify(configuration) : configuration, mediaConstraints != null ? new js.JsObject.jsify(mediaConstraints) : mediaConstraints);
return;
}
if (configuration != null) {
- _blink.BlinkRTCPeerConnection.instance.updateIce_Callback_1_(unwrap_jso(this), configuration);
+ _blink.BlinkRTCPeerConnection.instance.updateIce_Callback_1_(unwrap_jso(this), configuration != null ? new js.JsObject.jsify(configuration) : configuration);
return;
}
_blink.BlinkRTCPeerConnection.instance.updateIce_Callback_0_(unwrap_jso(this));
@@ -27584,6 +31474,20 @@ class RtcSessionDescription extends NativeFieldWrapperClass2 {
return _blink.BlinkRTCSessionDescription.instance.constructorCallback_0_();
}
+ static RtcSessionDescription internalCreateRtcSessionDescription() {
+ return new RtcSessionDescription._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory RtcSessionDescription._internalWrap() {
+ return new RtcSessionDescription._internal();
+ }
+
+ RtcSessionDescription._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('RTCSessionDescription.sdp')
@DocsEditable()
String get sdp => _blink.BlinkRTCSessionDescription.instance.sdp_Getter_(unwrap_jso(this));
@@ -27616,6 +31520,20 @@ class RtcStatsReport extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory RtcStatsReport._() { throw new UnsupportedError("Not supported"); }
+ static RtcStatsReport internalCreateRtcStatsReport() {
+ return new RtcStatsReport._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory RtcStatsReport._internalWrap() {
+ return new RtcStatsReport._internal();
+ }
+
+ RtcStatsReport._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('RTCStatsReport.id')
@DocsEditable()
String get id => _blink.BlinkRTCStatsReport.instance.id_Getter_(unwrap_jso(this));
@@ -27660,6 +31578,20 @@ class RtcStatsResponse extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory RtcStatsResponse._() { throw new UnsupportedError("Not supported"); }
+ static RtcStatsResponse internalCreateRtcStatsResponse() {
+ return new RtcStatsResponse._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory RtcStatsResponse._internalWrap() {
+ return new RtcStatsResponse._internal();
+ }
+
+ RtcStatsResponse._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('RTCStatsResponse.__getter__')
@DocsEditable()
RtcStatsReport __getter__(String name) => _blink.BlinkRTCStatsResponse.instance.$__getter___Callback_1_(unwrap_jso(this), name);
@@ -27691,6 +31623,20 @@ class Screen extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory Screen._() { throw new UnsupportedError("Not supported"); }
+ static Screen internalCreateScreen() {
+ return new Screen._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory Screen._internalWrap() {
+ return new Screen._internal();
+ }
+
+ Screen._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('Screen.availHeight')
@DocsEditable()
int get _availHeight => _blink.BlinkScreen.instance.availHeight_Getter_(unwrap_jso(this));
@@ -27749,6 +31695,18 @@ class ScreenOrientation extends EventTarget {
@Experimental() // untriaged
static const EventStreamProvider<Event> changeEvent = const EventStreamProvider<Event>('change');
+
+ static ScreenOrientation internalCreateScreenOrientation() {
+ return new ScreenOrientation._internalWrap();
+ }
+
+ factory ScreenOrientation._internalWrap() {
+ return new ScreenOrientation._internal();
+ }
+
+ ScreenOrientation._internal() : super._internal();
+
+
@DomName('ScreenOrientation.angle')
@DocsEditable()
@Experimental() // untriaged
@@ -27791,6 +31749,18 @@ class ScriptElement extends HtmlElement {
@DomName('HTMLScriptElement.HTMLScriptElement')
@DocsEditable()
factory ScriptElement() => document.createElement("script");
+
+
+ static ScriptElement internalCreateScriptElement() {
+ return new ScriptElement._internalWrap();
+ }
+
+ factory ScriptElement._internalWrap() {
+ return new ScriptElement._internal();
+ }
+
+ ScriptElement._internal() : super._internal();
+
/**
* Constructor instantiated by the DOM when a custom element has been created.
*
@@ -27888,6 +31858,18 @@ class SecurityPolicyViolationEvent extends Event {
// To suppress missing implicit constructor warnings.
factory SecurityPolicyViolationEvent._() { throw new UnsupportedError("Not supported"); }
+
+ static SecurityPolicyViolationEvent internalCreateSecurityPolicyViolationEvent() {
+ return new SecurityPolicyViolationEvent._internalWrap();
+ }
+
+ factory SecurityPolicyViolationEvent._internalWrap() {
+ return new SecurityPolicyViolationEvent._internal();
+ }
+
+ SecurityPolicyViolationEvent._internal() : super._internal();
+
+
@DomName('SecurityPolicyViolationEvent.blockedURI')
@DocsEditable()
String get blockedUri => _blink.BlinkSecurityPolicyViolationEvent.instance.blockedURI_Getter_(unwrap_jso(this));
@@ -27943,6 +31925,18 @@ class SelectElement extends HtmlElement {
@DomName('HTMLSelectElement.HTMLSelectElement')
@DocsEditable()
factory SelectElement() => document.createElement("select");
+
+
+ static SelectElement internalCreateSelectElement() {
+ return new SelectElement._internalWrap();
+ }
+
+ factory SelectElement._internalWrap() {
+ return new SelectElement._internal();
+ }
+
+ SelectElement._internal() : super._internal();
+
/**
* Constructor instantiated by the DOM when a custom element has been created.
*
@@ -28104,6 +32098,20 @@ class Selection extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory Selection._() { throw new UnsupportedError("Not supported"); }
+ static Selection internalCreateSelection() {
+ return new Selection._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory Selection._internalWrap() {
+ return new Selection._internal();
+ }
+
+ Selection._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('Selection.anchorNode')
@DocsEditable()
Node get anchorNode => wrap_jso(_blink.BlinkSelection.instance.anchorNode_Getter_(unwrap_jso(this)));
@@ -28243,6 +32251,20 @@ class ServiceWorkerClient extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory ServiceWorkerClient._() { throw new UnsupportedError("Not supported"); }
+ static ServiceWorkerClient internalCreateServiceWorkerClient() {
+ return new ServiceWorkerClient._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory ServiceWorkerClient._internalWrap() {
+ return new ServiceWorkerClient._internal();
+ }
+
+ ServiceWorkerClient._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('ServiceWorkerClient.id')
@DocsEditable()
@Experimental() // untriaged
@@ -28268,9 +32290,23 @@ class ServiceWorkerClients extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory ServiceWorkerClients._() { throw new UnsupportedError("Not supported"); }
+ static ServiceWorkerClients internalCreateServiceWorkerClients() {
+ return new ServiceWorkerClients._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory ServiceWorkerClients._internalWrap() {
+ return new ServiceWorkerClients._internal();
+ }
+
+ ServiceWorkerClients._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
Future getAll([Map options]) {
if (options != null) {
- return _blink.BlinkServiceWorkerClients.instance.getAll_Callback_1_(unwrap_jso(this), options);
+ return _blink.BlinkServiceWorkerClients.instance.getAll_Callback_1_(unwrap_jso(this), options != null ? new js.JsObject.jsify(options) : options);
}
return _blink.BlinkServiceWorkerClients.instance.getAll_Callback_0_(unwrap_jso(this));
}
@@ -28290,6 +32326,20 @@ class ServiceWorkerContainer extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory ServiceWorkerContainer._() { throw new UnsupportedError("Not supported"); }
+ static ServiceWorkerContainer internalCreateServiceWorkerContainer() {
+ return new ServiceWorkerContainer._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory ServiceWorkerContainer._internalWrap() {
+ return new ServiceWorkerContainer._internal();
+ }
+
+ ServiceWorkerContainer._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('ServiceWorkerContainer.controller')
@DocsEditable()
@Experimental() // untriaged
@@ -28309,7 +32359,7 @@ class ServiceWorkerContainer extends NativeFieldWrapperClass2 {
Future register(String url, [Map options]) {
if (options != null) {
- return _blink.BlinkServiceWorkerContainer.instance.register_Callback_2_(unwrap_jso(this), url, options);
+ return _blink.BlinkServiceWorkerContainer.instance.register_Callback_2_(unwrap_jso(this), url, options != null ? new js.JsObject.jsify(options) : options);
}
return _blink.BlinkServiceWorkerContainer.instance.register_Callback_1_(unwrap_jso(this), url);
}
@@ -28334,6 +32384,18 @@ class ServiceWorkerGlobalScope extends WorkerGlobalScope {
@Experimental() // untriaged
static const EventStreamProvider<MessageEvent> messageEvent = const EventStreamProvider<MessageEvent>('message');
+
+ static ServiceWorkerGlobalScope internalCreateServiceWorkerGlobalScope() {
+ return new ServiceWorkerGlobalScope._internalWrap();
+ }
+
+ factory ServiceWorkerGlobalScope._internalWrap() {
+ return new ServiceWorkerGlobalScope._internal();
+ }
+
+ ServiceWorkerGlobalScope._internal() : super._internal();
+
+
@DomName('ServiceWorkerGlobalScope.caches')
@DocsEditable()
@Experimental() // untriaged
@@ -28359,13 +32421,13 @@ class ServiceWorkerGlobalScope extends WorkerGlobalScope {
return _blink.BlinkServiceWorkerGlobalScope.instance.fetch_Callback_1_(unwrap_jso(this), unwrap_jso(request));
}
if ((requestInitDict is Map || requestInitDict == null) && (request is String || request == null)) {
- return _blink.BlinkServiceWorkerGlobalScope.instance.fetch_Callback_2_(unwrap_jso(this), unwrap_jso(request), requestInitDict);
+ return _blink.BlinkServiceWorkerGlobalScope.instance.fetch_Callback_2_(unwrap_jso(this), unwrap_jso(request), requestInitDict != null ? new js.JsObject.jsify(requestInitDict) : requestInitDict);
}
if ((request is _Request || request == null) && requestInitDict == null) {
return _blink.BlinkServiceWorkerGlobalScope.instance.fetch_Callback_1_(unwrap_jso(this), unwrap_jso(request));
}
if ((requestInitDict is Map || requestInitDict == null) && (request is _Request || request == null)) {
- return _blink.BlinkServiceWorkerGlobalScope.instance.fetch_Callback_2_(unwrap_jso(this), unwrap_jso(request), requestInitDict);
+ return _blink.BlinkServiceWorkerGlobalScope.instance.fetch_Callback_2_(unwrap_jso(this), unwrap_jso(request), requestInitDict != null ? new js.JsObject.jsify(requestInitDict) : requestInitDict);
}
throw new ArgumentError("Incorrect number or type of arguments");
}
@@ -28390,6 +32452,18 @@ class ServiceWorkerRegistration extends EventTarget {
// To suppress missing implicit constructor warnings.
factory ServiceWorkerRegistration._() { throw new UnsupportedError("Not supported"); }
+
+ static ServiceWorkerRegistration internalCreateServiceWorkerRegistration() {
+ return new ServiceWorkerRegistration._internalWrap();
+ }
+
+ factory ServiceWorkerRegistration._internalWrap() {
+ return new ServiceWorkerRegistration._internal();
+ }
+
+ ServiceWorkerRegistration._internal() : super._internal();
+
+
@DomName('ServiceWorkerRegistration.active')
@DocsEditable()
@Experimental() // untriaged
@@ -28435,6 +32509,18 @@ class ShadowElement extends HtmlElement {
@DomName('HTMLShadowElement.HTMLShadowElement')
@DocsEditable()
factory ShadowElement() => document.createElement("shadow");
+
+
+ static ShadowElement internalCreateShadowElement() {
+ return new ShadowElement._internalWrap();
+ }
+
+ factory ShadowElement._internalWrap() {
+ return new ShadowElement._internal();
+ }
+
+ ShadowElement._internal() : super._internal();
+
/**
* Constructor instantiated by the DOM when a custom element has been created.
*
@@ -28466,6 +32552,18 @@ class ShadowRoot extends DocumentFragment {
// To suppress missing implicit constructor warnings.
factory ShadowRoot._() { throw new UnsupportedError("Not supported"); }
+
+ static ShadowRoot internalCreateShadowRoot() {
+ return new ShadowRoot._internalWrap();
+ }
+
+ factory ShadowRoot._internalWrap() {
+ return new ShadowRoot._internal();
+ }
+
+ ShadowRoot._internal() : super._internal();
+
+
@DomName('ShadowRoot.activeElement')
@DocsEditable()
Element get activeElement => wrap_jso(_blink.BlinkShadowRoot.instance.activeElement_Getter_(unwrap_jso(this)));
@@ -28580,6 +32678,18 @@ class SharedWorker extends EventTarget implements AbstractWorker {
return _blink.BlinkSharedWorker.instance.constructorCallback_2_(scriptURL, name);
}
+
+ static SharedWorker internalCreateSharedWorker() {
+ return new SharedWorker._internalWrap();
+ }
+
+ factory SharedWorker._internalWrap() {
+ return new SharedWorker._internal();
+ }
+
+ SharedWorker._internal() : super._internal();
+
+
@DomName('SharedWorker.port')
@DocsEditable()
MessagePort get port => wrap_jso(_blink.BlinkSharedWorker.instance.port_Getter_(unwrap_jso(this)));
@@ -28620,6 +32730,18 @@ class SharedWorkerGlobalScope extends WorkerGlobalScope {
@Experimental() // untriaged
static const EventStreamProvider<Event> connectEvent = const EventStreamProvider<Event>('connect');
+
+ static SharedWorkerGlobalScope internalCreateSharedWorkerGlobalScope() {
+ return new SharedWorkerGlobalScope._internalWrap();
+ }
+
+ factory SharedWorkerGlobalScope._internalWrap() {
+ return new SharedWorkerGlobalScope._internal();
+ }
+
+ SharedWorkerGlobalScope._internal() : super._internal();
+
+
@DomName('SharedWorkerGlobalScope.name')
@DocsEditable()
@Experimental() // untriaged
@@ -28647,6 +32769,18 @@ class SourceBuffer extends EventTarget {
// To suppress missing implicit constructor warnings.
factory SourceBuffer._() { throw new UnsupportedError("Not supported"); }
+
+ static SourceBuffer internalCreateSourceBuffer() {
+ return new SourceBuffer._internalWrap();
+ }
+
+ factory SourceBuffer._internalWrap() {
+ return new SourceBuffer._internal();
+ }
+
+ SourceBuffer._internal() : super._internal();
+
+
@DomName('SourceBuffer.appendWindowEnd')
@DocsEditable()
@Experimental() // untriaged
@@ -28738,6 +32872,18 @@ class SourceBufferList extends EventTarget with ListMixin<SourceBuffer>, Immutab
// To suppress missing implicit constructor warnings.
factory SourceBufferList._() { throw new UnsupportedError("Not supported"); }
+
+ static SourceBufferList internalCreateSourceBufferList() {
+ return new SourceBufferList._internalWrap();
+ }
+
+ factory SourceBufferList._internalWrap() {
+ return new SourceBufferList._internal();
+ }
+
+ SourceBufferList._internal() : super._internal();
+
+
@DomName('SourceBufferList.length')
@DocsEditable()
int get length => _blink.BlinkSourceBufferList.instance.length_Getter_(unwrap_jso(this));
@@ -28809,6 +32955,18 @@ class SourceElement extends HtmlElement {
@DomName('HTMLSourceElement.HTMLSourceElement')
@DocsEditable()
factory SourceElement() => document.createElement("source");
+
+
+ static SourceElement internalCreateSourceElement() {
+ return new SourceElement._internalWrap();
+ }
+
+ factory SourceElement._internalWrap() {
+ return new SourceElement._internal();
+ }
+
+ SourceElement._internal() : super._internal();
+
/**
* Constructor instantiated by the DOM when a custom element has been created.
*
@@ -28885,6 +33043,20 @@ class SourceInfo extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory SourceInfo._() { throw new UnsupportedError("Not supported"); }
+ static SourceInfo internalCreateSourceInfo() {
+ return new SourceInfo._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory SourceInfo._internalWrap() {
+ return new SourceInfo._internal();
+ }
+
+ SourceInfo._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('SourceInfo.facing')
@DocsEditable()
@Experimental() // untriaged
@@ -28922,6 +33094,18 @@ class SpanElement extends HtmlElement {
@DomName('HTMLSpanElement.HTMLSpanElement')
@DocsEditable()
factory SpanElement() => document.createElement("span");
+
+
+ static SpanElement internalCreateSpanElement() {
+ return new SpanElement._internalWrap();
+ }
+
+ factory SpanElement._internalWrap() {
+ return new SpanElement._internal();
+ }
+
+ SpanElement._internal() : super._internal();
+
/**
* Constructor instantiated by the DOM when a custom element has been created.
*
@@ -28951,6 +33135,20 @@ class SpeechGrammar extends NativeFieldWrapperClass2 {
return _blink.BlinkSpeechGrammar.instance.constructorCallback_0_();
}
+ static SpeechGrammar internalCreateSpeechGrammar() {
+ return new SpeechGrammar._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory SpeechGrammar._internalWrap() {
+ return new SpeechGrammar._internal();
+ }
+
+ SpeechGrammar._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('SpeechGrammar.src')
@DocsEditable()
String get src => _blink.BlinkSpeechGrammar.instance.src_Getter_(unwrap_jso(this));
@@ -28989,6 +33187,20 @@ class SpeechGrammarList extends NativeFieldWrapperClass2 with ListMixin<SpeechGr
return _blink.BlinkSpeechGrammarList.instance.constructorCallback_0_();
}
+ static SpeechGrammarList internalCreateSpeechGrammarList() {
+ return new SpeechGrammarList._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory SpeechGrammarList._internalWrap() {
+ return new SpeechGrammarList._internal();
+ }
+
+ SpeechGrammarList._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('SpeechGrammarList.length')
@DocsEditable()
int get length => _blink.BlinkSpeechGrammarList.instance.length_Getter_(unwrap_jso(this));
@@ -29194,6 +33406,18 @@ class SpeechRecognition extends EventTarget {
return _blink.BlinkSpeechRecognition.instance.constructorCallback_0_();
}
+
+ static SpeechRecognition internalCreateSpeechRecognition() {
+ return new SpeechRecognition._internalWrap();
+ }
+
+ factory SpeechRecognition._internalWrap() {
+ return new SpeechRecognition._internal();
+ }
+
+ SpeechRecognition._internal() : super._internal();
+
+
/// Checks if this type is supported on the current platform.
static bool get supported => true;
@@ -29321,6 +33545,20 @@ class SpeechRecognitionAlternative extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory SpeechRecognitionAlternative._() { throw new UnsupportedError("Not supported"); }
+ static SpeechRecognitionAlternative internalCreateSpeechRecognitionAlternative() {
+ return new SpeechRecognitionAlternative._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory SpeechRecognitionAlternative._internalWrap() {
+ return new SpeechRecognitionAlternative._internal();
+ }
+
+ SpeechRecognitionAlternative._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('SpeechRecognitionAlternative.confidence')
@DocsEditable()
double get confidence => _blink.BlinkSpeechRecognitionAlternative.instance.confidence_Getter_(unwrap_jso(this));
@@ -29346,6 +33584,18 @@ class SpeechRecognitionError extends Event {
// To suppress missing implicit constructor warnings.
factory SpeechRecognitionError._() { throw new UnsupportedError("Not supported"); }
+
+ static SpeechRecognitionError internalCreateSpeechRecognitionError() {
+ return new SpeechRecognitionError._internalWrap();
+ }
+
+ factory SpeechRecognitionError._internalWrap() {
+ return new SpeechRecognitionError._internal();
+ }
+
+ SpeechRecognitionError._internal() : super._internal();
+
+
@DomName('SpeechRecognitionError.error')
@DocsEditable()
String get error => _blink.BlinkSpeechRecognitionError.instance.error_Getter_(unwrap_jso(this));
@@ -29371,6 +33621,18 @@ class SpeechRecognitionEvent extends Event {
// To suppress missing implicit constructor warnings.
factory SpeechRecognitionEvent._() { throw new UnsupportedError("Not supported"); }
+
+ static SpeechRecognitionEvent internalCreateSpeechRecognitionEvent() {
+ return new SpeechRecognitionEvent._internalWrap();
+ }
+
+ factory SpeechRecognitionEvent._internalWrap() {
+ return new SpeechRecognitionEvent._internal();
+ }
+
+ SpeechRecognitionEvent._internal() : super._internal();
+
+
@DomName('SpeechRecognitionEvent.emma')
@DocsEditable()
Document get emma => wrap_jso(_blink.BlinkSpeechRecognitionEvent.instance.emma_Getter_(unwrap_jso(this)));
@@ -29404,6 +33666,20 @@ class SpeechRecognitionResult extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory SpeechRecognitionResult._() { throw new UnsupportedError("Not supported"); }
+ static SpeechRecognitionResult internalCreateSpeechRecognitionResult() {
+ return new SpeechRecognitionResult._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory SpeechRecognitionResult._internalWrap() {
+ return new SpeechRecognitionResult._internal();
+ }
+
+ SpeechRecognitionResult._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('SpeechRecognitionResult.isFinal')
@DocsEditable()
bool get isFinal => _blink.BlinkSpeechRecognitionResult.instance.isFinal_Getter_(unwrap_jso(this));
@@ -29432,6 +33708,18 @@ class SpeechSynthesis extends EventTarget {
// To suppress missing implicit constructor warnings.
factory SpeechSynthesis._() { throw new UnsupportedError("Not supported"); }
+
+ static SpeechSynthesis internalCreateSpeechSynthesis() {
+ return new SpeechSynthesis._internalWrap();
+ }
+
+ factory SpeechSynthesis._internalWrap() {
+ return new SpeechSynthesis._internal();
+ }
+
+ SpeechSynthesis._internal() : super._internal();
+
+
@DomName('SpeechSynthesis.paused')
@DocsEditable()
bool get paused => _blink.BlinkSpeechSynthesis.instance.paused_Getter_(unwrap_jso(this));
@@ -29480,6 +33768,18 @@ class SpeechSynthesisEvent extends Event {
// To suppress missing implicit constructor warnings.
factory SpeechSynthesisEvent._() { throw new UnsupportedError("Not supported"); }
+
+ static SpeechSynthesisEvent internalCreateSpeechSynthesisEvent() {
+ return new SpeechSynthesisEvent._internalWrap();
+ }
+
+ factory SpeechSynthesisEvent._internalWrap() {
+ return new SpeechSynthesisEvent._internal();
+ }
+
+ SpeechSynthesisEvent._internal() : super._internal();
+
+
@DomName('SpeechSynthesisEvent.charIndex')
@DocsEditable()
int get charIndex => _blink.BlinkSpeechSynthesisEvent.instance.charIndex_Getter_(unwrap_jso(this));
@@ -29584,6 +33884,18 @@ class SpeechSynthesisUtterance extends EventTarget {
return _blink.BlinkSpeechSynthesisUtterance.instance.constructorCallback_1_(text);
}
+
+ static SpeechSynthesisUtterance internalCreateSpeechSynthesisUtterance() {
+ return new SpeechSynthesisUtterance._internalWrap();
+ }
+
+ factory SpeechSynthesisUtterance._internalWrap() {
+ return new SpeechSynthesisUtterance._internal();
+ }
+
+ SpeechSynthesisUtterance._internal() : super._internal();
+
+
@DomName('SpeechSynthesisUtterance.lang')
@DocsEditable()
String get lang => _blink.BlinkSpeechSynthesisUtterance.instance.lang_Getter_(unwrap_jso(this));
@@ -29683,6 +33995,20 @@ class SpeechSynthesisVoice extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory SpeechSynthesisVoice._() { throw new UnsupportedError("Not supported"); }
+ static SpeechSynthesisVoice internalCreateSpeechSynthesisVoice() {
+ return new SpeechSynthesisVoice._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory SpeechSynthesisVoice._internalWrap() {
+ return new SpeechSynthesisVoice._internal();
+ }
+
+ SpeechSynthesisVoice._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('SpeechSynthesisVoice.default')
@DocsEditable()
bool get defaultValue => _blink.BlinkSpeechSynthesisVoice.instance.default_Getter_(unwrap_jso(this));
@@ -29794,6 +34120,20 @@ class Storage extends NativeFieldWrapperClass2
// To suppress missing implicit constructor warnings.
factory Storage._() { throw new UnsupportedError("Not supported"); }
+ static Storage internalCreateStorage() {
+ return new Storage._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory Storage._internalWrap() {
+ return new Storage._internal();
+ }
+
+ Storage._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('Storage.length')
@DocsEditable()
int get _length => _blink.BlinkStorage.instance.length_Getter_(unwrap_jso(this));
@@ -29884,6 +34224,18 @@ class StorageEvent extends Event {
// To suppress missing implicit constructor warnings.
factory StorageEvent._() { throw new UnsupportedError("Not supported"); }
+
+ static StorageEvent internalCreateStorageEvent() {
+ return new StorageEvent._internalWrap();
+ }
+
+ factory StorageEvent._internalWrap() {
+ return new StorageEvent._internal();
+ }
+
+ StorageEvent._internal() : super._internal();
+
+
@DomName('StorageEvent.key')
@DocsEditable()
String get key => _blink.BlinkStorageEvent.instance.key_Getter_(unwrap_jso(this));
@@ -29924,6 +34276,20 @@ class StorageInfo extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory StorageInfo._() { throw new UnsupportedError("Not supported"); }
+ static StorageInfo internalCreateStorageInfo() {
+ return new StorageInfo._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory StorageInfo._internalWrap() {
+ return new StorageInfo._internal();
+ }
+
+ StorageInfo._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('StorageInfo.quota')
@DocsEditable()
@Experimental() // untriaged
@@ -29950,6 +34316,20 @@ class StorageQuota extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory StorageQuota._() { throw new UnsupportedError("Not supported"); }
+ static StorageQuota internalCreateStorageQuota() {
+ return new StorageQuota._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory StorageQuota._internalWrap() {
+ return new StorageQuota._internal();
+ }
+
+ StorageQuota._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('StorageQuota.supportedTypes')
@DocsEditable()
@Experimental() // untriaged
@@ -30015,6 +34395,18 @@ class StyleElement extends HtmlElement {
@DomName('HTMLStyleElement.HTMLStyleElement')
@DocsEditable()
factory StyleElement() => document.createElement("style");
+
+
+ static StyleElement internalCreateStyleElement() {
+ return new StyleElement._internalWrap();
+ }
+
+ factory StyleElement._internalWrap() {
+ return new StyleElement._internal();
+ }
+
+ StyleElement._internal() : super._internal();
+
/**
* Constructor instantiated by the DOM when a custom element has been created.
*
@@ -30066,6 +34458,20 @@ class StyleMedia extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory StyleMedia._() { throw new UnsupportedError("Not supported"); }
+ static StyleMedia internalCreateStyleMedia() {
+ return new StyleMedia._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory StyleMedia._internalWrap() {
+ return new StyleMedia._internal();
+ }
+
+ StyleMedia._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('StyleMedia.type')
@DocsEditable()
String get type => _blink.BlinkStyleMedia.instance.type_Getter_(unwrap_jso(this));
@@ -30088,6 +34494,20 @@ class StyleSheet extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory StyleSheet._() { throw new UnsupportedError("Not supported"); }
+ static StyleSheet internalCreateStyleSheet() {
+ return new StyleSheet._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory StyleSheet._internalWrap() {
+ return new StyleSheet._internal();
+ }
+
+ StyleSheet._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('StyleSheet.disabled')
@DocsEditable()
bool get disabled => _blink.BlinkStyleSheet.instance.disabled_Getter_(unwrap_jso(this));
@@ -30137,6 +34557,18 @@ class TableCaptionElement extends HtmlElement {
@DomName('HTMLTableCaptionElement.HTMLTableCaptionElement')
@DocsEditable()
factory TableCaptionElement() => document.createElement("caption");
+
+
+ static TableCaptionElement internalCreateTableCaptionElement() {
+ return new TableCaptionElement._internalWrap();
+ }
+
+ factory TableCaptionElement._internalWrap() {
+ return new TableCaptionElement._internal();
+ }
+
+ TableCaptionElement._internal() : super._internal();
+
/**
* Constructor instantiated by the DOM when a custom element has been created.
*
@@ -30161,6 +34593,18 @@ class TableCellElement extends HtmlElement {
@DomName('HTMLTableCellElement.HTMLTableCellElement')
@DocsEditable()
factory TableCellElement() => document.createElement("td");
+
+
+ static TableCellElement internalCreateTableCellElement() {
+ return new TableCellElement._internalWrap();
+ }
+
+ factory TableCellElement._internalWrap() {
+ return new TableCellElement._internal();
+ }
+
+ TableCellElement._internal() : super._internal();
+
/**
* Constructor instantiated by the DOM when a custom element has been created.
*
@@ -30213,6 +34657,18 @@ class TableColElement extends HtmlElement {
@DomName('HTMLTableColElement.HTMLTableColElement')
@DocsEditable()
factory TableColElement() => document.createElement("col");
+
+
+ static TableColElement internalCreateTableColElement() {
+ return new TableColElement._internalWrap();
+ }
+
+ factory TableColElement._internalWrap() {
+ return new TableColElement._internal();
+ }
+
+ TableColElement._internal() : super._internal();
+
/**
* Constructor instantiated by the DOM when a custom element has been created.
*
@@ -30263,6 +34719,18 @@ class TableElement extends HtmlElement {
@DomName('HTMLTableElement.HTMLTableElement')
@DocsEditable()
factory TableElement() => document.createElement("table");
+
+
+ static TableElement internalCreateTableElement() {
+ return new TableElement._internalWrap();
+ }
+
+ factory TableElement._internalWrap() {
+ return new TableElement._internal();
+ }
+
+ TableElement._internal() : super._internal();
+
/**
* Constructor instantiated by the DOM when a custom element has been created.
*
@@ -30367,6 +34835,18 @@ class TableRowElement extends HtmlElement {
@DomName('HTMLTableRowElement.HTMLTableRowElement')
@DocsEditable()
factory TableRowElement() => document.createElement("tr");
+
+
+ static TableRowElement internalCreateTableRowElement() {
+ return new TableRowElement._internalWrap();
+ }
+
+ factory TableRowElement._internalWrap() {
+ return new TableRowElement._internal();
+ }
+
+ TableRowElement._internal() : super._internal();
+
/**
* Constructor instantiated by the DOM when a custom element has been created.
*
@@ -30419,6 +34899,18 @@ class TableSectionElement extends HtmlElement {
// To suppress missing implicit constructor warnings.
factory TableSectionElement._() { throw new UnsupportedError("Not supported"); }
+
+
+ static TableSectionElement internalCreateTableSectionElement() {
+ return new TableSectionElement._internalWrap();
+ }
+
+ factory TableSectionElement._internalWrap() {
+ return new TableSectionElement._internal();
+ }
+
+ TableSectionElement._internal() : super._internal();
+
/**
* Constructor instantiated by the DOM when a custom element has been created.
*
@@ -30460,6 +34952,18 @@ class TemplateElement extends HtmlElement {
@DomName('HTMLTemplateElement.HTMLTemplateElement')
@DocsEditable()
factory TemplateElement() => document.createElement("template");
+
+
+ static TemplateElement internalCreateTemplateElement() {
+ return new TemplateElement._internalWrap();
+ }
+
+ factory TemplateElement._internalWrap() {
+ return new TemplateElement._internal();
+ }
+
+ TemplateElement._internal() : super._internal();
+
/**
* Constructor instantiated by the DOM when a custom element has been created.
*
@@ -30504,6 +35008,18 @@ class Text extends CharacterData {
// To suppress missing implicit constructor warnings.
factory Text._() { throw new UnsupportedError("Not supported"); }
+
+ static Text internalCreateText() {
+ return new Text._internalWrap();
+ }
+
+ factory Text._internalWrap() {
+ return new Text._internal();
+ }
+
+ Text._internal() : super._internal();
+
+
@DomName('Text.wholeText')
@DocsEditable()
String get wholeText => _blink.BlinkText.instance.wholeText_Getter_(unwrap_jso(this));
@@ -30534,6 +35050,18 @@ class TextAreaElement extends HtmlElement {
@DomName('HTMLTextAreaElement.HTMLTextAreaElement')
@DocsEditable()
factory TextAreaElement() => document.createElement("textarea");
+
+
+ static TextAreaElement internalCreateTextAreaElement() {
+ return new TextAreaElement._internalWrap();
+ }
+
+ factory TextAreaElement._internalWrap() {
+ return new TextAreaElement._internal();
+ }
+
+ TextAreaElement._internal() : super._internal();
+
/**
* Constructor instantiated by the DOM when a custom element has been created.
*
@@ -30768,6 +35296,18 @@ class TextEvent extends UIEvent {
// To suppress missing implicit constructor warnings.
factory TextEvent._() { throw new UnsupportedError("Not supported"); }
+
+ static TextEvent internalCreateTextEvent() {
+ return new TextEvent._internalWrap();
+ }
+
+ factory TextEvent._internalWrap() {
+ return new TextEvent._internal();
+ }
+
+ TextEvent._internal() : super._internal();
+
+
@DomName('TextEvent.data')
@DocsEditable()
String get data => _blink.BlinkTextEvent.instance.data_Getter_(unwrap_jso(this));
@@ -30790,6 +35330,20 @@ class TextMetrics extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory TextMetrics._() { throw new UnsupportedError("Not supported"); }
+ static TextMetrics internalCreateTextMetrics() {
+ return new TextMetrics._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory TextMetrics._internalWrap() {
+ return new TextMetrics._internal();
+ }
+
+ TextMetrics._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('TextMetrics.actualBoundingBoxAscent')
@DocsEditable()
@Experimental() // untriaged
@@ -30875,6 +35429,18 @@ class TextTrack extends EventTarget {
@DocsEditable()
static const EventStreamProvider<Event> cueChangeEvent = const EventStreamProvider<Event>('cuechange');
+
+ static TextTrack internalCreateTextTrack() {
+ return new TextTrack._internalWrap();
+ }
+
+ factory TextTrack._internalWrap() {
+ return new TextTrack._internal();
+ }
+
+ TextTrack._internal() : super._internal();
+
+
@DomName('TextTrack.activeCues')
@DocsEditable()
TextTrackCueList get activeCues => wrap_jso(_blink.BlinkTextTrack.instance.activeCues_Getter_(unwrap_jso(this)));
@@ -30972,6 +35538,18 @@ class TextTrackCue extends EventTarget {
@DocsEditable()
static const EventStreamProvider<Event> exitEvent = const EventStreamProvider<Event>('exit');
+
+ static TextTrackCue internalCreateTextTrackCue() {
+ return new TextTrackCue._internalWrap();
+ }
+
+ factory TextTrackCue._internalWrap() {
+ return new TextTrackCue._internal();
+ }
+
+ TextTrackCue._internal() : super._internal();
+
+
@DomName('TextTrackCue.endTime')
@DocsEditable()
num get endTime => _blink.BlinkTextTrackCue.instance.endTime_Getter_(unwrap_jso(this));
@@ -31034,6 +35612,20 @@ class TextTrackCueList extends NativeFieldWrapperClass2 with ListMixin<TextTrack
// To suppress missing implicit constructor warnings.
factory TextTrackCueList._() { throw new UnsupportedError("Not supported"); }
+ static TextTrackCueList internalCreateTextTrackCueList() {
+ return new TextTrackCueList._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory TextTrackCueList._internalWrap() {
+ return new TextTrackCueList._internal();
+ }
+
+ TextTrackCueList._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('TextTrackCueList.length')
@DocsEditable()
int get length => _blink.BlinkTextTrackCueList.instance.length_Getter_(unwrap_jso(this));
@@ -31123,6 +35715,18 @@ class TextTrackList extends EventTarget with ListMixin<TextTrack>, ImmutableList
@Experimental() // untriaged
static const EventStreamProvider<Event> changeEvent = const EventStreamProvider<Event>('change');
+
+ static TextTrackList internalCreateTextTrackList() {
+ return new TextTrackList._internalWrap();
+ }
+
+ factory TextTrackList._internalWrap() {
+ return new TextTrackList._internal();
+ }
+
+ TextTrackList._internal() : super._internal();
+
+
@DomName('TextTrackList.length')
@DocsEditable()
int get length => _blink.BlinkTextTrackList.instance.length_Getter_(unwrap_jso(this));
@@ -31207,6 +35811,20 @@ class TimeRanges extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory TimeRanges._() { throw new UnsupportedError("Not supported"); }
+ static TimeRanges internalCreateTimeRanges() {
+ return new TimeRanges._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory TimeRanges._internalWrap() {
+ return new TimeRanges._internal();
+ }
+
+ TimeRanges._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('TimeRanges.length')
@DocsEditable()
int get length => _blink.BlinkTimeRanges.instance.length_Getter_(unwrap_jso(this));
@@ -31243,6 +35861,20 @@ class Timing extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory Timing._() { throw new UnsupportedError("Not supported"); }
+ static Timing internalCreateTiming() {
+ return new Timing._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory Timing._internalWrap() {
+ return new Timing._internal();
+ }
+
+ Timing._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('Timing.delay')
@DocsEditable()
@Experimental() // untriaged
@@ -31350,6 +35982,18 @@ class TitleElement extends HtmlElement {
@DomName('HTMLTitleElement.HTMLTitleElement')
@DocsEditable()
factory TitleElement() => document.createElement("title");
+
+
+ static TitleElement internalCreateTitleElement() {
+ return new TitleElement._internalWrap();
+ }
+
+ factory TitleElement._internalWrap() {
+ return new TitleElement._internal();
+ }
+
+ TitleElement._internal() : super._internal();
+
/**
* Constructor instantiated by the DOM when a custom element has been created.
*
@@ -31371,6 +36015,20 @@ class Touch extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory Touch._() { throw new UnsupportedError("Not supported"); }
+ static Touch internalCreateTouch() {
+ return new Touch._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory Touch._internalWrap() {
+ return new Touch._internal();
+ }
+
+ Touch._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('Touch.clientX')
@DocsEditable()
double get _clientX => _blink.BlinkTouch.instance.clientX_Getter_(unwrap_jso(this));
@@ -31491,6 +36149,18 @@ class TouchEvent extends UIEvent {
// To suppress missing implicit constructor warnings.
factory TouchEvent._() { throw new UnsupportedError("Not supported"); }
+
+ static TouchEvent internalCreateTouchEvent() {
+ return new TouchEvent._internalWrap();
+ }
+
+ factory TouchEvent._internalWrap() {
+ return new TouchEvent._internal();
+ }
+
+ TouchEvent._internal() : super._internal();
+
+
@DomName('TouchEvent.altKey')
@DocsEditable()
bool get altKey => _blink.BlinkTouchEvent.instance.altKey_Getter_(unwrap_jso(this));
@@ -31551,6 +36221,20 @@ class TouchList extends NativeFieldWrapperClass2 with ListMixin<Touch>, Immutabl
// To suppress missing implicit constructor warnings.
factory TouchList._() { throw new UnsupportedError("Not supported"); }
+ static TouchList internalCreateTouchList() {
+ return new TouchList._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory TouchList._internalWrap() {
+ return new TouchList._internal();
+ }
+
+ TouchList._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
/// Checks if this type is supported on the current platform.
static bool get supported => true;
@@ -31630,6 +36314,18 @@ class TrackElement extends HtmlElement {
@DomName('HTMLTrackElement.HTMLTrackElement')
@DocsEditable()
factory TrackElement() => document.createElement("track");
+
+
+ static TrackElement internalCreateTrackElement() {
+ return new TrackElement._internalWrap();
+ }
+
+ factory TrackElement._internalWrap() {
+ return new TrackElement._internal();
+ }
+
+ TrackElement._internal() : super._internal();
+
/**
* Constructor instantiated by the DOM when a custom element has been created.
*
@@ -31729,6 +36425,18 @@ class TrackEvent extends Event {
// To suppress missing implicit constructor warnings.
factory TrackEvent._() { throw new UnsupportedError("Not supported"); }
+
+ static TrackEvent internalCreateTrackEvent() {
+ return new TrackEvent._internalWrap();
+ }
+
+ factory TrackEvent._internalWrap() {
+ return new TrackEvent._internal();
+ }
+
+ TrackEvent._internal() : super._internal();
+
+
@DomName('TrackEvent.track')
@DocsEditable()
Object get track => _blink.BlinkTrackEvent.instance.track_Getter_(unwrap_jso(this));
@@ -31747,6 +36455,18 @@ class TransitionEvent extends Event {
// To suppress missing implicit constructor warnings.
factory TransitionEvent._() { throw new UnsupportedError("Not supported"); }
+
+ static TransitionEvent internalCreateTransitionEvent() {
+ return new TransitionEvent._internalWrap();
+ }
+
+ factory TransitionEvent._internalWrap() {
+ return new TransitionEvent._internal();
+ }
+
+ TransitionEvent._internal() : super._internal();
+
+
@DomName('TransitionEvent.elapsedTime')
@DocsEditable()
double get elapsedTime => _blink.BlinkTransitionEvent.instance.elapsedTime_Getter_(unwrap_jso(this));
@@ -31774,6 +36494,20 @@ class TreeWalker extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory TreeWalker._() { throw new UnsupportedError("Not supported"); }
+ static TreeWalker internalCreateTreeWalker() {
+ return new TreeWalker._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory TreeWalker._internalWrap() {
+ return new TreeWalker._internal();
+ }
+
+ TreeWalker._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('TreeWalker.currentNode')
@DocsEditable()
Node get currentNode => wrap_jso(_blink.BlinkTreeWalker.instance.currentNode_Getter_(unwrap_jso(this)));
@@ -31851,6 +36585,18 @@ class UIEvent extends Event {
// To suppress missing implicit constructor warnings.
factory UIEvent._() { throw new UnsupportedError("Not supported"); }
+
+ static UIEvent internalCreateUIEvent() {
+ return new UIEvent._internalWrap();
+ }
+
+ factory UIEvent._internalWrap() {
+ return new UIEvent._internal();
+ }
+
+ UIEvent._internal() : super._internal();
+
+
@DomName('UIEvent.charCode')
@DocsEditable()
@Unstable()
@@ -31927,6 +36673,18 @@ class UListElement extends HtmlElement {
@DomName('HTMLUListElement.HTMLUListElement')
@DocsEditable()
factory UListElement() => document.createElement("ul");
+
+
+ static UListElement internalCreateUListElement() {
+ return new UListElement._internalWrap();
+ }
+
+ factory UListElement._internalWrap() {
+ return new UListElement._internal();
+ }
+
+ UListElement._internal() : super._internal();
+
/**
* Constructor instantiated by the DOM when a custom element has been created.
*
@@ -31947,6 +36705,18 @@ class UListElement extends HtmlElement {
class UnknownElement extends HtmlElement {
// To suppress missing implicit constructor warnings.
factory UnknownElement._() { throw new UnsupportedError("Not supported"); }
+
+
+ static UnknownElement internalCreateUnknownElement() {
+ return new UnknownElement._internalWrap();
+ }
+
+ factory UnknownElement._internalWrap() {
+ return new UnknownElement._internal();
+ }
+
+ UnknownElement._internal() : super._internal();
+
/**
* Constructor instantiated by the DOM when a custom element has been created.
*
@@ -31968,6 +36738,20 @@ class Url extends NativeFieldWrapperClass2 implements UrlUtils {
// To suppress missing implicit constructor warnings.
factory Url._() { throw new UnsupportedError("Not supported"); }
+ static Url internalCreateUrl() {
+ return new Url._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory Url._internalWrap() {
+ return new Url._internal();
+ }
+
+ Url._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
static String createObjectUrl(blob_OR_source_OR_stream) {
if ((blob_OR_source_OR_stream is Blob || blob_OR_source_OR_stream == null)) {
return _blink.BlinkURL.instance.createObjectURL_Callback_1_(unwrap_jso(blob_OR_source_OR_stream));
@@ -32122,6 +36906,20 @@ abstract class UrlUtils extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory UrlUtils._() { throw new UnsupportedError("Not supported"); }
+ static UrlUtils internalCreateUrlUtils() {
+ return new UrlUtils._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory UrlUtils._internalWrap() {
+ return new UrlUtils._internal();
+ }
+
+ UrlUtils._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('URLUtils.hash')
@DocsEditable()
@Experimental() // untriaged
@@ -32247,6 +37045,20 @@ abstract class UrlUtilsReadOnly extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory UrlUtilsReadOnly._() { throw new UnsupportedError("Not supported"); }
+ static UrlUtilsReadOnly internalCreateUrlUtilsReadOnly() {
+ return new UrlUtilsReadOnly._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory UrlUtilsReadOnly._internalWrap() {
+ return new UrlUtilsReadOnly._internal();
+ }
+
+ UrlUtilsReadOnly._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('URLUtilsReadOnly.hash')
@DocsEditable()
@Experimental() // untriaged
@@ -32311,6 +37123,20 @@ class ValidityState extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory ValidityState._() { throw new UnsupportedError("Not supported"); }
+ static ValidityState internalCreateValidityState() {
+ return new ValidityState._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory ValidityState._internalWrap() {
+ return new ValidityState._internal();
+ }
+
+ ValidityState._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('ValidityState.badInput')
@DocsEditable()
bool get badInput => _blink.BlinkValidityState.instance.badInput_Getter_(unwrap_jso(this));
@@ -32365,6 +37191,18 @@ class VideoElement extends MediaElement implements CanvasImageSource {
@DomName('HTMLVideoElement.HTMLVideoElement')
@DocsEditable()
factory VideoElement() => document.createElement("video");
+
+
+ static VideoElement internalCreateVideoElement() {
+ return new VideoElement._internalWrap();
+ }
+
+ factory VideoElement._internalWrap() {
+ return new VideoElement._internal();
+ }
+
+ VideoElement._internal() : super._internal();
+
/**
* Constructor instantiated by the DOM when a custom element has been created.
*
@@ -32454,6 +37292,20 @@ class VideoPlaybackQuality extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory VideoPlaybackQuality._() { throw new UnsupportedError("Not supported"); }
+ static VideoPlaybackQuality internalCreateVideoPlaybackQuality() {
+ return new VideoPlaybackQuality._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory VideoPlaybackQuality._internalWrap() {
+ return new VideoPlaybackQuality._internal();
+ }
+
+ VideoPlaybackQuality._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('VideoPlaybackQuality.corruptedVideoFrames')
@DocsEditable()
@Experimental() // untriaged
@@ -32489,6 +37341,20 @@ class VideoTrack extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory VideoTrack._() { throw new UnsupportedError("Not supported"); }
+ static VideoTrack internalCreateVideoTrack() {
+ return new VideoTrack._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory VideoTrack._internalWrap() {
+ return new VideoTrack._internal();
+ }
+
+ VideoTrack._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('VideoTrack.id')
@DocsEditable()
@Experimental() // untriaged
@@ -32539,6 +37405,18 @@ class VideoTrackList extends EventTarget {
@Experimental() // untriaged
static const EventStreamProvider<Event> changeEvent = const EventStreamProvider<Event>('change');
+
+ static VideoTrackList internalCreateVideoTrackList() {
+ return new VideoTrackList._internalWrap();
+ }
+
+ factory VideoTrackList._internalWrap() {
+ return new VideoTrackList._internal();
+ }
+
+ VideoTrackList._internal() : super._internal();
+
+
@DomName('VideoTrackList.length')
@DocsEditable()
@Experimental() // untriaged
@@ -32596,6 +37474,18 @@ class VttCue extends TextTrackCue {
return _blink.BlinkVTTCue.instance.constructorCallback_3_(startTime, endTime, text);
}
+
+ static VttCue internalCreateVttCue() {
+ return new VttCue._internalWrap();
+ }
+
+ factory VttCue._internalWrap() {
+ return new VttCue._internal();
+ }
+
+ VttCue._internal() : super._internal();
+
+
@DomName('VTTCue.align')
@DocsEditable()
@Experimental() // untriaged
@@ -32702,6 +37592,20 @@ class VttRegion extends NativeFieldWrapperClass2 {
return _blink.BlinkVTTRegion.instance.constructorCallback_0_();
}
+ static VttRegion internalCreateVttRegion() {
+ return new VttRegion._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory VttRegion._internalWrap() {
+ return new VttRegion._internal();
+ }
+
+ VttRegion._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('VTTRegion.height')
@DocsEditable()
@Experimental() // untriaged
@@ -32802,6 +37706,20 @@ class VttRegionList extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory VttRegionList._() { throw new UnsupportedError("Not supported"); }
+ static VttRegionList internalCreateVttRegionList() {
+ return new VttRegionList._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory VttRegionList._internalWrap() {
+ return new VttRegionList._internal();
+ }
+
+ VttRegionList._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('VTTRegionList.length')
@DocsEditable()
@Experimental() // untriaged
@@ -32925,6 +37843,18 @@ class WebSocket extends EventTarget {
throw new ArgumentError("Incorrect number or type of arguments");
}
+
+ static WebSocket internalCreateWebSocket() {
+ return new WebSocket._internalWrap();
+ }
+
+ factory WebSocket._internalWrap() {
+ return new WebSocket._internal();
+ }
+
+ WebSocket._internal() : super._internal();
+
+
/// Checks if this type is supported on the current platform.
static bool get supported => true;
@@ -33085,6 +38015,18 @@ class WheelEvent extends MouseEvent {
// To suppress missing implicit constructor warnings.
factory WheelEvent._() { throw new UnsupportedError("Not supported"); }
+
+ static WheelEvent internalCreateWheelEvent() {
+ return new WheelEvent._internalWrap();
+ }
+
+ factory WheelEvent._internalWrap() {
+ return new WheelEvent._internal();
+ }
+
+ WheelEvent._internal() : super._internal();
+
+
@DomName('WheelEvent.DOM_DELTA_LINE')
@DocsEditable()
static const int DOM_DELTA_LINE = 0x01;
@@ -33413,6 +38355,18 @@ class Window extends EventTarget implements WindowEventHandlers, WindowBase, Glo
@Experimental()
static const EventStreamProvider<AnimationEvent> animationStartEvent = const EventStreamProvider<AnimationEvent>('webkitAnimationStart');
+
+ static Window internalCreateWindow() {
+ return new Window._internalWrap();
+ }
+
+ factory Window._internalWrap() {
+ return new Window._internal();
+ }
+
+ Window._internal() : super._internal();
+
+
/**
* Indicates that file system data cannot be cleared unless given user
* permission.
@@ -34140,7 +39094,7 @@ class Window extends EventTarget implements WindowEventHandlers, WindowBase, Glo
return;
}
if ((scrollOptions is Map) && (y is num) && (x is num)) {
- _blink.BlinkWindow.instance.scroll_Callback_3_(unwrap_jso(this), unwrap_jso(x), unwrap_jso(y), scrollOptions);
+ _blink.BlinkWindow.instance.scroll_Callback_3_(unwrap_jso(this), unwrap_jso(x), unwrap_jso(y), scrollOptions != null ? new js.JsObject.jsify(scrollOptions) : scrollOptions);
return;
}
if ((y is int) && (x is int) && scrollOptions == null) {
@@ -34148,7 +39102,7 @@ class Window extends EventTarget implements WindowEventHandlers, WindowBase, Glo
return;
}
if ((scrollOptions is Map) && (y is int) && (x is int)) {
- _blink.BlinkWindow.instance.scroll_Callback_3_(unwrap_jso(this), unwrap_jso(x), unwrap_jso(y), scrollOptions);
+ _blink.BlinkWindow.instance.scroll_Callback_3_(unwrap_jso(this), unwrap_jso(x), unwrap_jso(y), scrollOptions != null ? new js.JsObject.jsify(scrollOptions) : scrollOptions);
return;
}
throw new ArgumentError("Incorrect number or type of arguments");
@@ -34160,7 +39114,7 @@ class Window extends EventTarget implements WindowEventHandlers, WindowBase, Glo
return;
}
if ((scrollOptions is Map) && (y is num) && (x is num)) {
- _blink.BlinkWindow.instance.scrollBy_Callback_3_(unwrap_jso(this), unwrap_jso(x), unwrap_jso(y), scrollOptions);
+ _blink.BlinkWindow.instance.scrollBy_Callback_3_(unwrap_jso(this), unwrap_jso(x), unwrap_jso(y), scrollOptions != null ? new js.JsObject.jsify(scrollOptions) : scrollOptions);
return;
}
if ((y is int) && (x is int) && scrollOptions == null) {
@@ -34168,7 +39122,7 @@ class Window extends EventTarget implements WindowEventHandlers, WindowBase, Glo
return;
}
if ((scrollOptions is Map) && (y is int) && (x is int)) {
- _blink.BlinkWindow.instance.scrollBy_Callback_3_(unwrap_jso(this), unwrap_jso(x), unwrap_jso(y), scrollOptions);
+ _blink.BlinkWindow.instance.scrollBy_Callback_3_(unwrap_jso(this), unwrap_jso(x), unwrap_jso(y), scrollOptions != null ? new js.JsObject.jsify(scrollOptions) : scrollOptions);
return;
}
throw new ArgumentError("Incorrect number or type of arguments");
@@ -34180,7 +39134,7 @@ class Window extends EventTarget implements WindowEventHandlers, WindowBase, Glo
return;
}
if ((scrollOptions is Map) && (y is num) && (x is num)) {
- _blink.BlinkWindow.instance.scrollTo_Callback_3_(unwrap_jso(this), unwrap_jso(x), unwrap_jso(y), scrollOptions);
+ _blink.BlinkWindow.instance.scrollTo_Callback_3_(unwrap_jso(this), unwrap_jso(x), unwrap_jso(y), scrollOptions != null ? new js.JsObject.jsify(scrollOptions) : scrollOptions);
return;
}
if ((y is int) && (x is int) && scrollOptions == null) {
@@ -34188,7 +39142,7 @@ class Window extends EventTarget implements WindowEventHandlers, WindowBase, Glo
return;
}
if ((scrollOptions is Map) && (y is int) && (x is int)) {
- _blink.BlinkWindow.instance.scrollTo_Callback_3_(unwrap_jso(this), unwrap_jso(x), unwrap_jso(y), scrollOptions);
+ _blink.BlinkWindow.instance.scrollTo_Callback_3_(unwrap_jso(this), unwrap_jso(x), unwrap_jso(y), scrollOptions != null ? new js.JsObject.jsify(scrollOptions) : scrollOptions);
return;
}
throw new ArgumentError("Incorrect number or type of arguments");
@@ -34739,6 +39693,20 @@ abstract class WindowBase64 extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory WindowBase64._() { throw new UnsupportedError("Not supported"); }
+ static WindowBase64 internalCreateWindowBase64() {
+ return new WindowBase64._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory WindowBase64._internalWrap() {
+ return new WindowBase64._internal();
+ }
+
+ WindowBase64._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('WindowBase64.atob')
@DocsEditable()
@Experimental() // untriaged
@@ -34797,6 +39765,20 @@ abstract class WindowEventHandlers extends EventTarget {
@Experimental() // untriaged
static const EventStreamProvider<Event> unloadEvent = const EventStreamProvider<Event>('unload');
+ static WindowEventHandlers internalCreateWindowEventHandlers() {
+ return new WindowEventHandlers._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory WindowEventHandlers._internalWrap() {
+ return new WindowEventHandlers._internal();
+ }
+
+ WindowEventHandlers._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('WindowEventHandlers.onhashchange')
@DocsEditable()
@Experimental() // untriaged
@@ -34878,6 +39860,18 @@ class Worker extends EventTarget implements AbstractWorker {
return _blink.BlinkWorker.instance.constructorCallback_1_(scriptUrl);
}
+
+ static Worker internalCreateWorker() {
+ return new Worker._internalWrap();
+ }
+
+ factory Worker._internalWrap() {
+ return new Worker._internal();
+ }
+
+ Worker._internal() : super._internal();
+
+
/// Checks if this type is supported on the current platform.
static bool get supported => true;
@@ -34915,6 +39909,18 @@ class WorkerConsole extends ConsoleBase {
// To suppress missing implicit constructor warnings.
factory WorkerConsole._() { throw new UnsupportedError("Not supported"); }
+
+ static WorkerConsole internalCreateWorkerConsole() {
+ return new WorkerConsole._internalWrap();
+ }
+
+ factory WorkerConsole._internalWrap() {
+ return new WorkerConsole._internal();
+ }
+
+ WorkerConsole._internal() : super._internal();
+
+
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -34941,6 +39947,18 @@ class WorkerGlobalScope extends EventTarget implements _WindowTimers, WindowBase
@Experimental() // untriaged
static const EventStreamProvider<Event> errorEvent = const EventStreamProvider<Event>('error');
+
+ static WorkerGlobalScope internalCreateWorkerGlobalScope() {
+ return new WorkerGlobalScope._internalWrap();
+ }
+
+ factory WorkerGlobalScope._internalWrap() {
+ return new WorkerGlobalScope._internal();
+ }
+
+ WorkerGlobalScope._internal() : super._internal();
+
+
@DomName('WorkerGlobalScope.PERSISTENT')
@DocsEditable()
@Experimental() // untriaged
@@ -35101,6 +40119,20 @@ class WorkerPerformance extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory WorkerPerformance._() { throw new UnsupportedError("Not supported"); }
+ static WorkerPerformance internalCreateWorkerPerformance() {
+ return new WorkerPerformance._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory WorkerPerformance._internalWrap() {
+ return new WorkerPerformance._internal();
+ }
+
+ WorkerPerformance._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('WorkerPerformance.memory')
@DocsEditable()
@Experimental() // untriaged
@@ -35133,6 +40165,20 @@ class XPathEvaluator extends NativeFieldWrapperClass2 {
return _blink.BlinkXPathEvaluator.instance.constructorCallback_0_();
}
+ static XPathEvaluator internalCreateXPathEvaluator() {
+ return new XPathEvaluator._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory XPathEvaluator._internalWrap() {
+ return new XPathEvaluator._internal();
+ }
+
+ XPathEvaluator._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('XPathEvaluator.createExpression')
@DocsEditable()
XPathExpression createExpression(String expression, XPathNSResolver resolver) => wrap_jso(_blink.BlinkXPathEvaluator.instance.createExpression_Callback_2_(unwrap_jso(this), expression, unwrap_jso(resolver)));
@@ -35161,6 +40207,20 @@ class XPathExpression extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory XPathExpression._() { throw new UnsupportedError("Not supported"); }
+ static XPathExpression internalCreateXPathExpression() {
+ return new XPathExpression._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory XPathExpression._internalWrap() {
+ return new XPathExpression._internal();
+ }
+
+ XPathExpression._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('XPathExpression.evaluate')
@DocsEditable()
XPathResult evaluate(Node contextNode, int type, XPathResult inResult) => wrap_jso(_blink.BlinkXPathExpression.instance.evaluate_Callback_3_(unwrap_jso(this), unwrap_jso(contextNode), type, unwrap_jso(inResult)));
@@ -35181,6 +40241,20 @@ class XPathNSResolver extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory XPathNSResolver._() { throw new UnsupportedError("Not supported"); }
+ static XPathNSResolver internalCreateXPathNSResolver() {
+ return new XPathNSResolver._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory XPathNSResolver._internalWrap() {
+ return new XPathNSResolver._internal();
+ }
+
+ XPathNSResolver._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('XPathNSResolver.lookupNamespaceURI')
@DocsEditable()
String lookupNamespaceUri(String prefix) => _blink.BlinkXPathNSResolver.instance.lookupNamespaceURI_Callback_1_(unwrap_jso(this), prefix);
@@ -35201,6 +40275,20 @@ class XPathResult extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory XPathResult._() { throw new UnsupportedError("Not supported"); }
+ static XPathResult internalCreateXPathResult() {
+ return new XPathResult._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory XPathResult._internalWrap() {
+ return new XPathResult._internal();
+ }
+
+ XPathResult._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('XPathResult.ANY_TYPE')
@DocsEditable()
static const int ANY_TYPE = 0;
@@ -35292,6 +40380,18 @@ class XmlDocument extends Document {
// To suppress missing implicit constructor warnings.
factory XmlDocument._() { throw new UnsupportedError("Not supported"); }
+
+ static XmlDocument internalCreateXmlDocument() {
+ return new XmlDocument._internalWrap();
+ }
+
+ factory XmlDocument._internalWrap() {
+ return new XmlDocument._internal();
+ }
+
+ XmlDocument._internal() : super._internal();
+
+
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -35314,6 +40414,20 @@ class XmlSerializer extends NativeFieldWrapperClass2 {
return _blink.BlinkXMLSerializer.instance.constructorCallback_0_();
}
+ static XmlSerializer internalCreateXmlSerializer() {
+ return new XmlSerializer._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory XmlSerializer._internalWrap() {
+ return new XmlSerializer._internal();
+ }
+
+ XmlSerializer._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('XMLSerializer.serializeToString')
@DocsEditable()
String serializeToString(Node node) => _blink.BlinkXMLSerializer.instance.serializeToString_Callback_1_(unwrap_jso(this), unwrap_jso(node));
@@ -35342,6 +40456,20 @@ class XsltProcessor extends NativeFieldWrapperClass2 {
return _blink.BlinkXSLTProcessor.instance.constructorCallback_0_();
}
+ static XsltProcessor internalCreateXsltProcessor() {
+ return new XsltProcessor._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory XsltProcessor._internalWrap() {
+ return new XsltProcessor._internal();
+ }
+
+ XsltProcessor._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
/// Checks if this type is supported on the current platform.
static bool get supported => true;
@@ -35391,6 +40519,18 @@ class _Attr extends Node {
// To suppress missing implicit constructor warnings.
factory _Attr._() { throw new UnsupportedError("Not supported"); }
+
+ static _Attr internalCreate_Attr() {
+ return new _Attr._internalWrap();
+ }
+
+ factory _Attr._internalWrap() {
+ return new _Attr._internal();
+ }
+
+ _Attr._internal() : super._internal();
+
+
@DomName('Attr.localName')
@DocsEditable()
@Experimental() // untriaged
@@ -35444,6 +40584,18 @@ abstract class _CSSPrimitiveValue extends _CSSValue {
// To suppress missing implicit constructor warnings.
factory _CSSPrimitiveValue._() { throw new UnsupportedError("Not supported"); }
+
+ static _CSSPrimitiveValue internalCreate_CSSPrimitiveValue() {
+ return new _CSSPrimitiveValue._internalWrap();
+ }
+
+ factory _CSSPrimitiveValue._internalWrap() {
+ return new _CSSPrimitiveValue._internal();
+ }
+
+ _CSSPrimitiveValue._internal() : super._internal();
+
+
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -35460,6 +40612,18 @@ abstract class _CSSUnknownRule extends CssRule {
// To suppress missing implicit constructor warnings.
factory _CSSUnknownRule._() { throw new UnsupportedError("Not supported"); }
+
+ static _CSSUnknownRule internalCreate_CSSUnknownRule() {
+ return new _CSSUnknownRule._internalWrap();
+ }
+
+ factory _CSSUnknownRule._internalWrap() {
+ return new _CSSUnknownRule._internal();
+ }
+
+ _CSSUnknownRule._internal() : super._internal();
+
+
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -35476,6 +40640,20 @@ abstract class _CSSValue extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory _CSSValue._() { throw new UnsupportedError("Not supported"); }
+ static _CSSValue internalCreate_CSSValue() {
+ return new _CSSValue._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory _CSSValue._internalWrap() {
+ return new _CSSValue._internal();
+ }
+
+ _CSSValue._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -35491,6 +40669,20 @@ abstract class _Cache extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory _Cache._() { throw new UnsupportedError("Not supported"); }
+ static _Cache internalCreate_Cache() {
+ return new _Cache._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory _Cache._internalWrap() {
+ return new _Cache._internal();
+ }
+
+ _Cache._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -35506,6 +40698,20 @@ abstract class _CanvasPathMethods extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory _CanvasPathMethods._() { throw new UnsupportedError("Not supported"); }
+ static _CanvasPathMethods internalCreate_CanvasPathMethods() {
+ return new _CanvasPathMethods._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory _CanvasPathMethods._internalWrap() {
+ return new _CanvasPathMethods._internal();
+ }
+
+ _CanvasPathMethods._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
}
// 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
@@ -35608,6 +40814,19 @@ class _ClientRect extends NativeFieldWrapperClass2 implements Rectangle {
// To suppress missing implicit constructor warnings.
factory _ClientRect._() { throw new UnsupportedError("Not supported"); }
+ static _ClientRect internalCreate_ClientRect() {
+ return new _ClientRect._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory _ClientRect._internalWrap() {
+ return new _ClientRect._internal();
+ }
+
+ _ClientRect._internal() { }
+
+
@DomName('ClientRect.bottom')
@DocsEditable()
double get bottom => _blink.BlinkClientRect.instance.bottom_Getter_(unwrap_jso(this));
@@ -35682,6 +40901,20 @@ class _ClientRectList extends NativeFieldWrapperClass2 with ListMixin<Rectangle>
// To suppress missing implicit constructor warnings.
factory _ClientRectList._() { throw new UnsupportedError("Not supported"); }
+ static _ClientRectList internalCreate_ClientRectList() {
+ return new _ClientRectList._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory _ClientRectList._internalWrap() {
+ return new _ClientRectList._internal();
+ }
+
+ _ClientRectList._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('ClientRectList.length')
@DocsEditable()
int get length => _blink.BlinkClientRectList.instance.length_Getter_(unwrap_jso(this));
@@ -35752,6 +40985,20 @@ abstract class _Counter extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory _Counter._() { throw new UnsupportedError("Not supported"); }
+ static _Counter internalCreate_Counter() {
+ return new _Counter._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory _Counter._internalWrap() {
+ return new _Counter._internal();
+ }
+
+ _Counter._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -35766,6 +41013,20 @@ class _CssRuleList extends NativeFieldWrapperClass2 with ListMixin<CssRule>, Imm
// To suppress missing implicit constructor warnings.
factory _CssRuleList._() { throw new UnsupportedError("Not supported"); }
+ static _CssRuleList internalCreate_CssRuleList() {
+ return new _CssRuleList._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory _CssRuleList._internalWrap() {
+ return new _CssRuleList._internal();
+ }
+
+ _CssRuleList._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('CSSRuleList.length')
@DocsEditable()
int get length => _blink.BlinkCSSRuleList.instance.length_Getter_(unwrap_jso(this));
@@ -35836,6 +41097,18 @@ class _CssValueList extends _CSSValue with ListMixin<_CSSValue>, ImmutableListMi
// To suppress missing implicit constructor warnings.
factory _CssValueList._() { throw new UnsupportedError("Not supported"); }
+
+ static _CssValueList internalCreate_CssValueList() {
+ return new _CssValueList._internalWrap();
+ }
+
+ factory _CssValueList._internalWrap() {
+ return new _CssValueList._internal();
+ }
+
+ _CssValueList._internal() : super._internal();
+
+
@DomName('CSSValueList.length')
@DocsEditable()
int get length => _blink.BlinkCSSValueList.instance.length_Getter_(unwrap_jso(this));
@@ -35907,6 +41180,20 @@ abstract class _DOMFileSystemSync extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory _DOMFileSystemSync._() { throw new UnsupportedError("Not supported"); }
+ static _DOMFileSystemSync internalCreate_DOMFileSystemSync() {
+ return new _DOMFileSystemSync._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory _DOMFileSystemSync._internalWrap() {
+ return new _DOMFileSystemSync._internal();
+ }
+
+ _DOMFileSystemSync._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -35923,6 +41210,18 @@ abstract class _DirectoryEntrySync extends _EntrySync {
// To suppress missing implicit constructor warnings.
factory _DirectoryEntrySync._() { throw new UnsupportedError("Not supported"); }
+
+ static _DirectoryEntrySync internalCreate_DirectoryEntrySync() {
+ return new _DirectoryEntrySync._internalWrap();
+ }
+
+ factory _DirectoryEntrySync._internalWrap() {
+ return new _DirectoryEntrySync._internal();
+ }
+
+ _DirectoryEntrySync._internal() : super._internal();
+
+
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -35939,6 +41238,20 @@ abstract class _DirectoryReaderSync extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory _DirectoryReaderSync._() { throw new UnsupportedError("Not supported"); }
+ static _DirectoryReaderSync internalCreate_DirectoryReaderSync() {
+ return new _DirectoryReaderSync._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory _DirectoryReaderSync._internalWrap() {
+ return new _DirectoryReaderSync._internal();
+ }
+
+ _DirectoryReaderSync._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -35955,6 +41268,18 @@ abstract class _DocumentType extends Node implements ChildNode {
// To suppress missing implicit constructor warnings.
factory _DocumentType._() { throw new UnsupportedError("Not supported"); }
+
+ static _DocumentType internalCreate_DocumentType() {
+ return new _DocumentType._internalWrap();
+ }
+
+ factory _DocumentType._internalWrap() {
+ return new _DocumentType._internal();
+ }
+
+ _DocumentType._internal() : super._internal();
+
+
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -35988,6 +41313,18 @@ class _DomRect extends DomRectReadOnly {
return _blink.BlinkDOMRect.instance.constructorCallback_0_();
}
+
+ static _DomRect internalCreate_DomRect() {
+ return new _DomRect._internalWrap();
+ }
+
+ factory _DomRect._internalWrap() {
+ return new _DomRect._internal();
+ }
+
+ _DomRect._internal() : super._internal();
+
+
@DomName('DOMRect.height')
@DocsEditable()
@Experimental() // untriaged
@@ -36044,6 +41381,20 @@ abstract class _EntrySync extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory _EntrySync._() { throw new UnsupportedError("Not supported"); }
+ static _EntrySync internalCreate_EntrySync() {
+ return new _EntrySync._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory _EntrySync._internalWrap() {
+ return new _EntrySync._internal();
+ }
+
+ _EntrySync._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -36060,6 +41411,18 @@ abstract class _FileEntrySync extends _EntrySync {
// To suppress missing implicit constructor warnings.
factory _FileEntrySync._() { throw new UnsupportedError("Not supported"); }
+
+ static _FileEntrySync internalCreate_FileEntrySync() {
+ return new _FileEntrySync._internalWrap();
+ }
+
+ factory _FileEntrySync._internalWrap() {
+ return new _FileEntrySync._internal();
+ }
+
+ _FileEntrySync._internal() : super._internal();
+
+
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -36082,6 +41445,20 @@ abstract class _FileReaderSync extends NativeFieldWrapperClass2 {
return _blink.BlinkFileReaderSync.instance.constructorCallback_0_();
}
+ static _FileReaderSync internalCreate_FileReaderSync() {
+ return new _FileReaderSync._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory _FileReaderSync._internalWrap() {
+ return new _FileReaderSync._internal();
+ }
+
+ _FileReaderSync._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -36098,6 +41475,20 @@ abstract class _FileWriterSync extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory _FileWriterSync._() { throw new UnsupportedError("Not supported"); }
+ static _FileWriterSync internalCreate_FileWriterSync() {
+ return new _FileWriterSync._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory _FileWriterSync._internalWrap() {
+ return new _FileWriterSync._internal();
+ }
+
+ _FileWriterSync._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -36114,6 +41505,20 @@ class _GamepadList extends NativeFieldWrapperClass2 with ListMixin<Gamepad>, Imm
// To suppress missing implicit constructor warnings.
factory _GamepadList._() { throw new UnsupportedError("Not supported"); }
+ static _GamepadList internalCreate_GamepadList() {
+ return new _GamepadList._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory _GamepadList._internalWrap() {
+ return new _GamepadList._internal();
+ }
+
+ _GamepadList._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('GamepadList.length')
@DocsEditable()
int get length => _blink.BlinkGamepadList.instance.length_Getter_(unwrap_jso(this));
@@ -36184,6 +41589,20 @@ abstract class _HTMLAllCollection extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory _HTMLAllCollection._() { throw new UnsupportedError("Not supported"); }
+ static _HTMLAllCollection internalCreate_HTMLAllCollection() {
+ return new _HTMLAllCollection._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory _HTMLAllCollection._internalWrap() {
+ return new _HTMLAllCollection._internal();
+ }
+
+ _HTMLAllCollection._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('HTMLAllCollection.item')
@DocsEditable()
Element _item(int index) => wrap_jso(_blink.BlinkHTMLAllCollection.instance.item_Callback_1_(unwrap_jso(this), index));
@@ -36203,6 +41622,18 @@ abstract class _HTMLAllCollection extends NativeFieldWrapperClass2 {
abstract class _HTMLAppletElement extends HtmlElement {
// To suppress missing implicit constructor warnings.
factory _HTMLAppletElement._() { throw new UnsupportedError("Not supported"); }
+
+
+ static _HTMLAppletElement internalCreate_HTMLAppletElement() {
+ return new _HTMLAppletElement._internalWrap();
+ }
+
+ factory _HTMLAppletElement._internalWrap() {
+ return new _HTMLAppletElement._internal();
+ }
+
+ _HTMLAppletElement._internal() : super._internal();
+
/**
* Constructor instantiated by the DOM when a custom element has been created.
*
@@ -36225,6 +41656,18 @@ abstract class _HTMLAppletElement extends HtmlElement {
abstract class _HTMLDirectoryElement extends HtmlElement {
// To suppress missing implicit constructor warnings.
factory _HTMLDirectoryElement._() { throw new UnsupportedError("Not supported"); }
+
+
+ static _HTMLDirectoryElement internalCreate_HTMLDirectoryElement() {
+ return new _HTMLDirectoryElement._internalWrap();
+ }
+
+ factory _HTMLDirectoryElement._internalWrap() {
+ return new _HTMLDirectoryElement._internal();
+ }
+
+ _HTMLDirectoryElement._internal() : super._internal();
+
/**
* Constructor instantiated by the DOM when a custom element has been created.
*
@@ -36247,6 +41690,18 @@ abstract class _HTMLDirectoryElement extends HtmlElement {
abstract class _HTMLFontElement extends HtmlElement {
// To suppress missing implicit constructor warnings.
factory _HTMLFontElement._() { throw new UnsupportedError("Not supported"); }
+
+
+ static _HTMLFontElement internalCreate_HTMLFontElement() {
+ return new _HTMLFontElement._internalWrap();
+ }
+
+ factory _HTMLFontElement._internalWrap() {
+ return new _HTMLFontElement._internal();
+ }
+
+ _HTMLFontElement._internal() : super._internal();
+
/**
* Constructor instantiated by the DOM when a custom element has been created.
*
@@ -36269,6 +41724,18 @@ abstract class _HTMLFontElement extends HtmlElement {
abstract class _HTMLFrameElement extends HtmlElement {
// To suppress missing implicit constructor warnings.
factory _HTMLFrameElement._() { throw new UnsupportedError("Not supported"); }
+
+
+ static _HTMLFrameElement internalCreate_HTMLFrameElement() {
+ return new _HTMLFrameElement._internalWrap();
+ }
+
+ factory _HTMLFrameElement._internalWrap() {
+ return new _HTMLFrameElement._internal();
+ }
+
+ _HTMLFrameElement._internal() : super._internal();
+
/**
* Constructor instantiated by the DOM when a custom element has been created.
*
@@ -36291,6 +41758,18 @@ abstract class _HTMLFrameElement extends HtmlElement {
abstract class _HTMLFrameSetElement extends HtmlElement implements WindowEventHandlers {
// To suppress missing implicit constructor warnings.
factory _HTMLFrameSetElement._() { throw new UnsupportedError("Not supported"); }
+
+
+ static _HTMLFrameSetElement internalCreate_HTMLFrameSetElement() {
+ return new _HTMLFrameSetElement._internalWrap();
+ }
+
+ factory _HTMLFrameSetElement._internalWrap() {
+ return new _HTMLFrameSetElement._internal();
+ }
+
+ _HTMLFrameSetElement._internal() : super._internal();
+
/**
* Constructor instantiated by the DOM when a custom element has been created.
*
@@ -36313,6 +41792,18 @@ abstract class _HTMLFrameSetElement extends HtmlElement implements WindowEventHa
abstract class _HTMLMarqueeElement extends HtmlElement {
// To suppress missing implicit constructor warnings.
factory _HTMLMarqueeElement._() { throw new UnsupportedError("Not supported"); }
+
+
+ static _HTMLMarqueeElement internalCreate_HTMLMarqueeElement() {
+ return new _HTMLMarqueeElement._internalWrap();
+ }
+
+ factory _HTMLMarqueeElement._internalWrap() {
+ return new _HTMLMarqueeElement._internal();
+ }
+
+ _HTMLMarqueeElement._internal() : super._internal();
+
/**
* Constructor instantiated by the DOM when a custom element has been created.
*
@@ -36342,6 +41833,18 @@ abstract class _MutationEvent extends Event {
// To suppress missing implicit constructor warnings.
factory _MutationEvent._() { throw new UnsupportedError("Not supported"); }
+
+ static _MutationEvent internalCreate_MutationEvent() {
+ return new _MutationEvent._internalWrap();
+ }
+
+ factory _MutationEvent._internalWrap() {
+ return new _MutationEvent._internal();
+ }
+
+ _MutationEvent._internal() : super._internal();
+
+
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -36354,10 +41857,24 @@ abstract class _MutationEvent extends Event {
@DomName('NamedNodeMap')
// http://dom.spec.whatwg.org/#namednodemap
@deprecated // deprecated
-class _NamedNodeMap extends NativeFieldWrapperClass2 with ListMixin<Node>, ImmutableListMixin<Node> implements List<Node> {
+class _NamedNodeMap extends NativeFieldWrapperClass2 implements List<Node> {
// To suppress missing implicit constructor warnings.
factory _NamedNodeMap._() { throw new UnsupportedError("Not supported"); }
+ static _NamedNodeMap internalCreate_NamedNodeMap() {
+ return new _NamedNodeMap._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory _NamedNodeMap._internalWrap() {
+ return new _NamedNodeMap._internal();
+ }
+
+ _NamedNodeMap._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('NamedNodeMap.length')
@DocsEditable()
int get length => _blink.BlinkNamedNodeMap.instance.length_Getter_(unwrap_jso(this));
@@ -36455,6 +41972,20 @@ abstract class _PagePopupController extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory _PagePopupController._() { throw new UnsupportedError("Not supported"); }
+ static _PagePopupController internalCreate_PagePopupController() {
+ return new _PagePopupController._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory _PagePopupController._internalWrap() {
+ return new _PagePopupController._internal();
+ }
+
+ _PagePopupController._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -36471,6 +42002,20 @@ abstract class _RGBColor extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory _RGBColor._() { throw new UnsupportedError("Not supported"); }
+ static _RGBColor internalCreate_RGBColor() {
+ return new _RGBColor._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory _RGBColor._internalWrap() {
+ return new _RGBColor._internal();
+ }
+
+ _RGBColor._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
}
// 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
@@ -36482,6 +42027,18 @@ abstract class _RadioNodeList extends NodeList {
// To suppress missing implicit constructor warnings.
factory _RadioNodeList._() { throw new UnsupportedError("Not supported"); }
+
+ static _RadioNodeList internalCreate_RadioNodeList() {
+ return new _RadioNodeList._internalWrap();
+ }
+
+ factory _RadioNodeList._internalWrap() {
+ return new _RadioNodeList._internal();
+ }
+
+ _RadioNodeList._internal() : super._internal();
+
+
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -36498,6 +42055,20 @@ abstract class _Rect extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory _Rect._() { throw new UnsupportedError("Not supported"); }
+ static _Rect internalCreate_Rect() {
+ return new _Rect._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory _Rect._internalWrap() {
+ return new _Rect._internal();
+ }
+
+ _Rect._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -36531,6 +42102,18 @@ class _Request extends Body {
throw new ArgumentError("Incorrect number or type of arguments");
}
+
+ static _Request internalCreate_Request() {
+ return new _Request._internalWrap();
+ }
+
+ factory _Request._internalWrap() {
+ return new _Request._internal();
+ }
+
+ _Request._internal() : super._internal();
+
+
@DomName('Request.credentials')
@DocsEditable()
@Experimental() // untriaged
@@ -36606,6 +42189,18 @@ abstract class _Response extends Body {
throw new ArgumentError("Incorrect number or type of arguments");
}
+
+ static _Response internalCreate_Response() {
+ return new _Response._internalWrap();
+ }
+
+ factory _Response._internalWrap() {
+ return new _Response._internal();
+ }
+
+ _Response._internal() : super._internal();
+
+
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -36621,6 +42216,18 @@ abstract class _ServiceWorker extends EventTarget implements AbstractWorker {
// To suppress missing implicit constructor warnings.
factory _ServiceWorker._() { throw new UnsupportedError("Not supported"); }
+
+ static _ServiceWorker internalCreate_ServiceWorker() {
+ return new _ServiceWorker._internalWrap();
+ }
+
+ factory _ServiceWorker._internalWrap() {
+ return new _ServiceWorker._internal();
+ }
+
+ _ServiceWorker._internal() : super._internal();
+
+
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -36637,6 +42244,20 @@ class _SpeechRecognitionResultList extends NativeFieldWrapperClass2 with ListMix
// To suppress missing implicit constructor warnings.
factory _SpeechRecognitionResultList._() { throw new UnsupportedError("Not supported"); }
+ static _SpeechRecognitionResultList internalCreate_SpeechRecognitionResultList() {
+ return new _SpeechRecognitionResultList._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory _SpeechRecognitionResultList._internalWrap() {
+ return new _SpeechRecognitionResultList._internal();
+ }
+
+ _SpeechRecognitionResultList._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('SpeechRecognitionResultList.length')
@DocsEditable()
int get length => _blink.BlinkSpeechRecognitionResultList.instance.length_Getter_(unwrap_jso(this));
@@ -36705,6 +42326,20 @@ class _StyleSheetList extends NativeFieldWrapperClass2 with ListMixin<StyleSheet
// To suppress missing implicit constructor warnings.
factory _StyleSheetList._() { throw new UnsupportedError("Not supported"); }
+ static _StyleSheetList internalCreate_StyleSheetList() {
+ return new _StyleSheetList._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory _StyleSheetList._internalWrap() {
+ return new _StyleSheetList._internal();
+ }
+
+ _StyleSheetList._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('StyleSheetList.length')
@DocsEditable()
int get length => _blink.BlinkStyleSheetList.instance.length_Getter_(unwrap_jso(this));
@@ -36778,6 +42413,20 @@ abstract class _SubtleCrypto extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory _SubtleCrypto._() { throw new UnsupportedError("Not supported"); }
+ static _SubtleCrypto internalCreate_SubtleCrypto() {
+ return new _SubtleCrypto._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory _SubtleCrypto._internalWrap() {
+ return new _SubtleCrypto._internal();
+ }
+
+ _SubtleCrypto._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -36794,6 +42443,18 @@ abstract class _WebKitCSSFilterValue extends _CssValueList {
// To suppress missing implicit constructor warnings.
factory _WebKitCSSFilterValue._() { throw new UnsupportedError("Not supported"); }
+
+ static _WebKitCSSFilterValue internalCreate_WebKitCSSFilterValue() {
+ return new _WebKitCSSFilterValue._internalWrap();
+ }
+
+ factory _WebKitCSSFilterValue._internalWrap() {
+ return new _WebKitCSSFilterValue._internal();
+ }
+
+ _WebKitCSSFilterValue._internal() : super._internal();
+
+
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -36819,6 +42480,20 @@ abstract class _WebKitCSSMatrix extends NativeFieldWrapperClass2 {
return _blink.BlinkWebKitCSSMatrix.instance.constructorCallback_1_(cssValue);
}
+ static _WebKitCSSMatrix internalCreate_WebKitCSSMatrix() {
+ return new _WebKitCSSMatrix._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory _WebKitCSSMatrix._internalWrap() {
+ return new _WebKitCSSMatrix._internal();
+ }
+
+ _WebKitCSSMatrix._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -36835,6 +42510,18 @@ abstract class _WebKitCSSTransformValue extends _CssValueList {
// To suppress missing implicit constructor warnings.
factory _WebKitCSSTransformValue._() { throw new UnsupportedError("Not supported"); }
+
+ static _WebKitCSSTransformValue internalCreate_WebKitCSSTransformValue() {
+ return new _WebKitCSSTransformValue._internalWrap();
+ }
+
+ factory _WebKitCSSTransformValue._internalWrap() {
+ return new _WebKitCSSTransformValue._internal();
+ }
+
+ _WebKitCSSTransformValue._internal() : super._internal();
+
+
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -36850,6 +42537,20 @@ abstract class _WindowTimers extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory _WindowTimers._() { throw new UnsupportedError("Not supported"); }
+ static _WindowTimers internalCreate_WindowTimers() {
+ return new _WindowTimers._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory _WindowTimers._internalWrap() {
+ return new _WindowTimers._internal();
+ }
+
+ _WindowTimers._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
@DomName('WindowTimers.clearInterval')
@DocsEditable()
@Experimental() // untriaged
@@ -36886,6 +42587,20 @@ abstract class _WorkerLocation extends NativeFieldWrapperClass2 implements UrlUt
// To suppress missing implicit constructor warnings.
factory _WorkerLocation._() { throw new UnsupportedError("Not supported"); }
+ static _WorkerLocation internalCreate_WorkerLocation() {
+ return new _WorkerLocation._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory _WorkerLocation._internalWrap() {
+ return new _WorkerLocation._internal();
+ }
+
+ _WorkerLocation._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -36902,6 +42617,20 @@ abstract class _WorkerNavigator extends NativeFieldWrapperClass2 implements Navi
// To suppress missing implicit constructor warnings.
factory _WorkerNavigator._() { throw new UnsupportedError("Not supported"); }
+ static _WorkerNavigator internalCreate_WorkerNavigator() {
+ return new _WorkerNavigator._internalWrap();
+ }
+
+ JsObject blink_jsObject = null;
+
+ factory _WorkerNavigator._internalWrap() {
+ return new _WorkerNavigator._internal();
+ }
+
+ _WorkerNavigator._internal() { }
+
+ bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
+
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -36917,6 +42646,18 @@ class _XMLHttpRequestProgressEvent extends ProgressEvent {
// To suppress missing implicit constructor warnings.
factory _XMLHttpRequestProgressEvent._() { throw new UnsupportedError("Not supported"); }
+
+ static _XMLHttpRequestProgressEvent internalCreate_XMLHttpRequestProgressEvent() {
+ return new _XMLHttpRequestProgressEvent._internalWrap();
+ }
+
+ factory _XMLHttpRequestProgressEvent._internalWrap() {
+ return new _XMLHttpRequestProgressEvent._internal();
+ }
+
+ _XMLHttpRequestProgressEvent._internal() : super._internal();
+
+
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -41652,9 +47393,9 @@ class _Utils {
return element;
}
- // TODO(terry): Enable below for Dartium w/ interop and remove other static window().
- // static window() => wrap_jso(_blink.Blink_Utils.window()['window']);
- static window() => _blink.Blink_Utils.window();
+ static window() => wrap_jso(_blink.Blink_Utils.window()['window']);
+ // TODO(terry): Above enabled for Dartium w/ interop and remove below static window() for C++.
+ // static window() => _blink.Blink_Utils.window();
static forwardingPrint(String message) => _blink.Blink_Utils.forwardingPrint(message);
static void spawnDomHelper(Function f, int replyTo) =>
« no previous file with comments | « no previous file | sdk/lib/indexed_db/dartium/indexed_db_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698