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

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

Issue 1330163010: Revert "Dartium w/ JsInterop enabled" (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 3 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 | « sdk/lib/html/dart2js/html_dart2js.dart ('k') | sdk/lib/html/html_common/filtered_element_list.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 377520cad09215dcfd65a1d1237bf25573049aca..06cecb0aefbb89cc3fbe27ddda54aab7f973c05a 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 = wrap_jso(js.context['window']);
+ _window = _Utils.window();
return _window;
}
@@ -619,694 +619,11 @@ Type _getSvgType(String key) {
return null;
}
-// FIXME: Can we make this private?
-final htmlBlinkFunctionMap = {
- '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,
- '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,
- '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,
- '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,
- '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,
- '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;
-}
-
-Function _getHtmlFunction(String key) {
- if (htmlBlinkFunctionMap.containsKey(key)) {
- return htmlBlinkFunctionMap[key]();
- }
- return null;
-}
-
-Function _getWebGlFunction(String key) {
- if (web_glBlinkFunctionMap.containsKey(key)) {
- return web_glBlinkFunctionMap[key]();
- }
- return null;
-}
-
-Function _getIndexDbFunction(String key) {
- if (indexed_dbBlinkFunctionMap.containsKey(key)) {
- return indexed_dbBlinkFunctionMap[key]();
- }
- return null;
-}
-
-Function _getWebAudioFunction(String key) {
- if (web_audioBlinkFunctionMap.containsKey(key)) {
- return web_audioBlinkFunctionMap[key]();
- }
- return null;
-}
-
-Function _getWebSqlFunction(String key) {
- if (web_sqlBlinkFunctionMap.containsKey(key)) {
- return web_sqlBlinkFunctionMap[key]();
- }
- return null;
-}
-
-Function _getSvgFunction(String key) {
- if (svgBlinkFunctionMap.containsKey(key)) {
- return svgBlinkFunctionMap[key]();
- }
- return null;
-}
-
-
-/******************************************************************************
- ********** **********
- ********** JS Interop Support **********
- ********** **********
- ******************************************************************************/
-
-Rectangle make_dart_rectangle(r) =>
- r == null ? null : new Rectangle(r['left'], r['top'], r['width'], r['height']);
-
-// Need a default constructor for constructing classes with mixins that are
-// also extending NativeFieldWrapperClass2. Defining JsoNativeFieldWrapper
-// extending NativeFieldWrapperClass2 creates a default constructor.
-class JsoNativeFieldWrapper extends NativeFieldWrapperClass2 {}
-
-// Flag to disable JS interop asserts. Setting to false will speed up the
-// wrap_jso calls.
-bool __interop_checks = true;
-
-/** 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].
- */
-unwrap_jso(dartClass_instance) {
- try {
- if (dartClass_instance != null)
- return dartClass_instance is NativeFieldWrapperClass2 ?
- dartClass_instance.blink_jsObject : dartClass_instance;
- else
- return null;
- } 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 {
- if (jsObject is! js.JsObject) {
- // JS Interop converted the object to a Dart class e.g., Uint8ClampedList.
- return jsObject;
- }
- var constructor = jsObject['constructor'];
- if (__interop_checks) {
- if (jsObject is js.JsArray) {
- return jsObject;
- }
-
- debug_or_assert("constructor != null", constructor != null);
- }
- if (constructor == js.context['Object']) {
- return convertNativeObjectToDartMap(jsObject);
- }
- if (constructor == js.context['Promise']) {
- return convertNativePromiseToDartFuture(jsObject);
- }
- var jsTypeName = constructor['name'];
- if (__interop_checks) {
- debug_or_assert("constructor != null && jsTypeName.length > 0", constructor != null && jsTypeName.length > 0);
- }
-
- var dartClass_instance;
- if (jsObject.hasProperty('dart_class')) {
- // Got a dart_class (it's a custom element) use it it's already set up.
- dartClass_instance = jsObject['dart_class'];
- } else {
- var func = getHtmlCreateFunction(jsTypeName);
- if (func != null) {
- dartClass_instance = func();
- dartClass_instance.blink_jsObject = jsObject;
- }
- }
- return dartClass_instance;
- } catch(e, stacktrace){
- if (__interop_checks) {
- if (e is DebugAssertException)
- window.console.log("${e.message}\n ${stacktrace}");
- else
- window.console.log("${stacktrace}");
- }
- }
-
- return null;
-}
-
-/**
- * Create Dart class that maps to the JS Type that is the JS type being
- * extended using JS interop createCallback (we need the base type of the
- * custom element) not the Dart created constructor.
- */
-wrap_jso_custom_element(jsObject) {
- try {
- if (jsObject is! js.JsObject) {
- // JS Interop converted the object to a Dart class e.g., Uint8ClampedList.
- return jsObject;
- }
-
- // Find out what object we're extending.
- var objectName = jsObject.toString();
- // Expect to see something like '[object HTMLElement]'.
- if (!objectName.startsWith('[object ')) {
- return jsObject;
- }
-
- var extendsClass = objectName.substring(8, objectName.length - 1);
- var func = getHtmlCreateFunction(extendsClass);
- if (__interop_checks)
- debug_or_assert("func != null name = ${extendsClass}", func != null);
- var dartClass_instance = func();
- dartClass_instance.blink_jsObject = jsObject;
- return dartClass_instance;
- } catch(e, stacktrace){
- if (__interop_checks) {
- if (e is DebugAssertException)
- window.console.log("${e.message}\n ${stacktrace}");
- else
- window.console.log("${stacktrace}");
- }
-
- // Problem?
- return null;
- }
-}
-
-class DebugAssertException implements Exception {
- String message;
- DebugAssertException(this.message);
-}
-
-debug_or_assert(message, expression) {
- if (!expression) {
- throw new DebugAssertException("$message");
- }
-}
-
-// TODO(terry): Manage JS interop JsFunctions for each listener used for add/
-// removeEventListener. These JsFunctions will leak look at
-// fixing with weak-refs in C++. The key are the hashcodes of the
-// user's this (this is needed for futures) and listener function.
-Map<int, Map<int, js.JsFunction>> _knownListeners = {};
-
-js.JsFunction wrap_event_listener(theObject, Function listener) {
- var thisHashCode = theObject.hashCode;
- var listenerHashCode = identityHashCode(listener);
-
- _knownListeners.putIfAbsent(thisHashCode, () => new Map<int, js.JsFunction>());
- _knownListeners[thisHashCode].putIfAbsent(listenerHashCode, () =>
- new js.JsFunction.withThis((theObject, event) => listener(wrap_jso(event))));
-
- return _knownListeners[thisHashCode][listenerHashCode];
-}
-
-Map<String, dynamic> convertNativeObjectToDartMap(js.JsObject jsObject) {
- var result = new Map();
- var keys = js.context['Object'].callMethod('keys', [jsObject]);
- for (var key in keys) {
- result[key] = wrap_jso(jsObject[key]);
- }
- return result;
-}
-
-// Converts a flat Dart map into a JavaScript object with properties this is
-// is the Dartium only version it uses dart:js.
-convertDartToNative_Dictionary(Map dict) {
- if (dict == null) return null;
- var jsObject = new js.JsObject(js.context['Object']);
- dict.forEach((String key, value) {
- if (value is List) {
- var jsArray = new js.JsArray();
- value.forEach((elem) {
- jsArray.add(elem is Map ? convertDartToNative_Dictionary(elem): elem);
- });
- jsObject[key] = jsArray;
- } else {
- jsObject[key] = value;
- }
- });
- return jsObject;
-}
-
-// Converts a Dart list into a JsArray. For the Dartium version only.
-convertDartToNative_List(List input) => new js.JsArray()..addAll(input);
-
-// Conversion function place holder (currently not used in dart2js or dartium).
-List convertDartToNative_StringArray(List<String> input) => input;
-
-Future convertNativePromiseToDartFuture(js.JsObject promise) {
- var completer = new Completer();
- var newPromise = promise
- .callMethod("then", [(result) => completer.complete(result)])
- .callMethod("catch", [(result) => completer.completeError(result)]);
- return completer.future;
-}
+unwrap_jso(dartClass_instance) => dartClass_instance;
+wrap_jso(jsObject) => jsObject;
+wrap_jso_list(jso_nodes) => jso_nodes;
+make_dart_rectangle(r) => r;
// 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.
@@ -1353,18 +670,6 @@ 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.
*
@@ -1378,7 +683,7 @@ class AnchorElement extends HtmlElement implements UrlUtils {
@DomName('HTMLAnchorElement.download')
@DocsEditable()
- set download(String value) => _blink.BlinkHTMLAnchorElement.instance.download_Setter_(unwrap_jso(this), value);
+ void set download(String value) => _blink.BlinkHTMLAnchorElement.instance.download_Setter_(unwrap_jso(this), value);
@DomName('HTMLAnchorElement.hreflang')
@DocsEditable()
@@ -1386,7 +691,7 @@ class AnchorElement extends HtmlElement implements UrlUtils {
@DomName('HTMLAnchorElement.hreflang')
@DocsEditable()
- set hreflang(String value) => _blink.BlinkHTMLAnchorElement.instance.hreflang_Setter_(unwrap_jso(this), value);
+ void set hreflang(String value) => _blink.BlinkHTMLAnchorElement.instance.hreflang_Setter_(unwrap_jso(this), value);
@DomName('HTMLAnchorElement.integrity')
@DocsEditable()
@@ -1396,7 +701,7 @@ class AnchorElement extends HtmlElement implements UrlUtils {
@DomName('HTMLAnchorElement.integrity')
@DocsEditable()
@Experimental() // untriaged
- set integrity(String value) => _blink.BlinkHTMLAnchorElement.instance.integrity_Setter_(unwrap_jso(this), value);
+ void set integrity(String value) => _blink.BlinkHTMLAnchorElement.instance.integrity_Setter_(unwrap_jso(this), value);
@DomName('HTMLAnchorElement.rel')
@DocsEditable()
@@ -1404,7 +709,7 @@ class AnchorElement extends HtmlElement implements UrlUtils {
@DomName('HTMLAnchorElement.rel')
@DocsEditable()
- set rel(String value) => _blink.BlinkHTMLAnchorElement.instance.rel_Setter_(unwrap_jso(this), value);
+ void set rel(String value) => _blink.BlinkHTMLAnchorElement.instance.rel_Setter_(unwrap_jso(this), value);
@DomName('HTMLAnchorElement.target')
@DocsEditable()
@@ -1412,7 +717,7 @@ class AnchorElement extends HtmlElement implements UrlUtils {
@DomName('HTMLAnchorElement.target')
@DocsEditable()
- set target(String value) => _blink.BlinkHTMLAnchorElement.instance.target_Setter_(unwrap_jso(this), value);
+ void set target(String value) => _blink.BlinkHTMLAnchorElement.instance.target_Setter_(unwrap_jso(this), value);
@DomName('HTMLAnchorElement.type')
@DocsEditable()
@@ -1420,7 +725,7 @@ class AnchorElement extends HtmlElement implements UrlUtils {
@DomName('HTMLAnchorElement.type')
@DocsEditable()
- set type(String value) => _blink.BlinkHTMLAnchorElement.instance.type_Setter_(unwrap_jso(this), value);
+ void set type(String value) => _blink.BlinkHTMLAnchorElement.instance.type_Setter_(unwrap_jso(this), value);
@DomName('HTMLAnchorElement.hash')
@DocsEditable()
@@ -1428,7 +733,7 @@ class AnchorElement extends HtmlElement implements UrlUtils {
@DomName('HTMLAnchorElement.hash')
@DocsEditable()
- set hash(String value) => _blink.BlinkHTMLAnchorElement.instance.hash_Setter_(unwrap_jso(this), value);
+ void set hash(String value) => _blink.BlinkHTMLAnchorElement.instance.hash_Setter_(unwrap_jso(this), value);
@DomName('HTMLAnchorElement.host')
@DocsEditable()
@@ -1436,7 +741,7 @@ class AnchorElement extends HtmlElement implements UrlUtils {
@DomName('HTMLAnchorElement.host')
@DocsEditable()
- set host(String value) => _blink.BlinkHTMLAnchorElement.instance.host_Setter_(unwrap_jso(this), value);
+ void set host(String value) => _blink.BlinkHTMLAnchorElement.instance.host_Setter_(unwrap_jso(this), value);
@DomName('HTMLAnchorElement.hostname')
@DocsEditable()
@@ -1444,7 +749,7 @@ class AnchorElement extends HtmlElement implements UrlUtils {
@DomName('HTMLAnchorElement.hostname')
@DocsEditable()
- set hostname(String value) => _blink.BlinkHTMLAnchorElement.instance.hostname_Setter_(unwrap_jso(this), value);
+ void set hostname(String value) => _blink.BlinkHTMLAnchorElement.instance.hostname_Setter_(unwrap_jso(this), value);
@DomName('HTMLAnchorElement.href')
@DocsEditable()
@@ -1452,7 +757,7 @@ class AnchorElement extends HtmlElement implements UrlUtils {
@DomName('HTMLAnchorElement.href')
@DocsEditable()
- set href(String value) => _blink.BlinkHTMLAnchorElement.instance.href_Setter_(unwrap_jso(this), value);
+ void set href(String value) => _blink.BlinkHTMLAnchorElement.instance.href_Setter_(unwrap_jso(this), value);
@DomName('HTMLAnchorElement.origin')
@DocsEditable()
@@ -1468,7 +773,7 @@ class AnchorElement extends HtmlElement implements UrlUtils {
@DomName('HTMLAnchorElement.password')
@DocsEditable()
@Experimental() // untriaged
- set password(String value) => _blink.BlinkHTMLAnchorElement.instance.password_Setter_(unwrap_jso(this), value);
+ void set password(String value) => _blink.BlinkHTMLAnchorElement.instance.password_Setter_(unwrap_jso(this), value);
@DomName('HTMLAnchorElement.pathname')
@DocsEditable()
@@ -1476,7 +781,7 @@ class AnchorElement extends HtmlElement implements UrlUtils {
@DomName('HTMLAnchorElement.pathname')
@DocsEditable()
- set pathname(String value) => _blink.BlinkHTMLAnchorElement.instance.pathname_Setter_(unwrap_jso(this), value);
+ void set pathname(String value) => _blink.BlinkHTMLAnchorElement.instance.pathname_Setter_(unwrap_jso(this), value);
@DomName('HTMLAnchorElement.port')
@DocsEditable()
@@ -1484,7 +789,7 @@ class AnchorElement extends HtmlElement implements UrlUtils {
@DomName('HTMLAnchorElement.port')
@DocsEditable()
- set port(String value) => _blink.BlinkHTMLAnchorElement.instance.port_Setter_(unwrap_jso(this), value);
+ void set port(String value) => _blink.BlinkHTMLAnchorElement.instance.port_Setter_(unwrap_jso(this), value);
@DomName('HTMLAnchorElement.protocol')
@DocsEditable()
@@ -1492,7 +797,7 @@ class AnchorElement extends HtmlElement implements UrlUtils {
@DomName('HTMLAnchorElement.protocol')
@DocsEditable()
- set protocol(String value) => _blink.BlinkHTMLAnchorElement.instance.protocol_Setter_(unwrap_jso(this), value);
+ void set protocol(String value) => _blink.BlinkHTMLAnchorElement.instance.protocol_Setter_(unwrap_jso(this), value);
@DomName('HTMLAnchorElement.search')
@DocsEditable()
@@ -1500,7 +805,7 @@ class AnchorElement extends HtmlElement implements UrlUtils {
@DomName('HTMLAnchorElement.search')
@DocsEditable()
- set search(String value) => _blink.BlinkHTMLAnchorElement.instance.search_Setter_(unwrap_jso(this), value);
+ void set search(String value) => _blink.BlinkHTMLAnchorElement.instance.search_Setter_(unwrap_jso(this), value);
@DomName('HTMLAnchorElement.username')
@DocsEditable()
@@ -1510,7 +815,7 @@ class AnchorElement extends HtmlElement implements UrlUtils {
@DomName('HTMLAnchorElement.username')
@DocsEditable()
@Experimental() // untriaged
- set username(String value) => _blink.BlinkHTMLAnchorElement.instance.username_Setter_(unwrap_jso(this), value);
+ void set username(String value) => _blink.BlinkHTMLAnchorElement.instance.username_Setter_(unwrap_jso(this), value);
@DomName('HTMLAnchorElement.toString')
@DocsEditable()
@@ -1535,30 +840,17 @@ class Animation extends AnimationNode {
@DocsEditable()
factory Animation(Element target, List<Map> keyframes, [timingInput]) {
if ((keyframes is List<Map> || keyframes == null) && (target is Element || target == null) && timingInput == null) {
- return wrap_jso(_blink.BlinkAnimation.instance.constructorCallback_2_(target, keyframes));
+ return _blink.BlinkAnimation.instance.constructorCallback_2_(target, keyframes);
}
if ((timingInput is num || timingInput == null) && (keyframes is List<Map> || keyframes == null) && (target is Element || target == null)) {
- return wrap_jso(_blink.BlinkAnimation.instance.constructorCallback_3_(target, keyframes, timingInput));
+ return _blink.BlinkAnimation.instance.constructorCallback_3_(target, keyframes, timingInput);
}
if ((timingInput is Map || timingInput == null) && (keyframes is List<Map> || keyframes == null) && (target is Element || target == null)) {
- var timingInput_1 = convertDartToNative_Dictionary(timingInput);
- return wrap_jso(_blink.BlinkAnimation.instance.constructorCallback_3_(target, keyframes, timingInput_1));
+ return _blink.BlinkAnimation.instance.constructorCallback_3_(target, keyframes, timingInput);
}
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
@@ -1574,21 +866,6 @@ class AnimationEffect extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory AnimationEffect._() { throw new UnsupportedError("Not supported"); }
- static AnimationEffect internalCreateAnimationEffect() {
- return new AnimationEffect._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory AnimationEffect._internalWrap() {
- return new AnimationEffect.internal_();
- }
-
- AnimationEffect.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -1606,25 +883,13 @@ 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));
@DomName('WebKitAnimationEvent.elapsedTime')
@DocsEditable()
- num get elapsedTime => _blink.BlinkWebKitAnimationEvent.instance.elapsedTime_Getter_(unwrap_jso(this));
+ double get elapsedTime => _blink.BlinkWebKitAnimationEvent.instance.elapsedTime_Getter_(unwrap_jso(this));
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -1641,25 +906,10 @@ class AnimationNode extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory AnimationNode._() { throw new UnsupportedError("Not supported"); }
- static AnimationNode internalCreateAnimationNode() {
- return new AnimationNode._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory AnimationNode._internalWrap() {
- return new AnimationNode.internal_();
- }
-
- AnimationNode.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('AnimationNode.activeDuration')
@DocsEditable()
@Experimental() // untriaged
- num get activeDuration => _blink.BlinkAnimationNode.instance.activeDuration_Getter_(unwrap_jso(this));
+ double get activeDuration => _blink.BlinkAnimationNode.instance.activeDuration_Getter_(unwrap_jso(this));
@DomName('AnimationNode.currentIteration')
@DocsEditable()
@@ -1669,17 +919,17 @@ class AnimationNode extends NativeFieldWrapperClass2 {
@DomName('AnimationNode.duration')
@DocsEditable()
@Experimental() // untriaged
- num get duration => _blink.BlinkAnimationNode.instance.duration_Getter_(unwrap_jso(this));
+ double get duration => _blink.BlinkAnimationNode.instance.duration_Getter_(unwrap_jso(this));
@DomName('AnimationNode.endTime')
@DocsEditable()
@Experimental() // untriaged
- num get endTime => _blink.BlinkAnimationNode.instance.endTime_Getter_(unwrap_jso(this));
+ double get endTime => _blink.BlinkAnimationNode.instance.endTime_Getter_(unwrap_jso(this));
@DomName('AnimationNode.localTime')
@DocsEditable()
@Experimental() // untriaged
- num get localTime => _blink.BlinkAnimationNode.instance.localTime_Getter_(unwrap_jso(this));
+ double get localTime => _blink.BlinkAnimationNode.instance.localTime_Getter_(unwrap_jso(this));
@DomName('AnimationNode.player')
@DocsEditable()
@@ -1689,7 +939,7 @@ class AnimationNode extends NativeFieldWrapperClass2 {
@DomName('AnimationNode.startTime')
@DocsEditable()
@Experimental() // untriaged
- num get startTime => _blink.BlinkAnimationNode.instance.startTime_Getter_(unwrap_jso(this));
+ double get startTime => _blink.BlinkAnimationNode.instance.startTime_Getter_(unwrap_jso(this));
@DomName('AnimationNode.timing')
@DocsEditable()
@@ -1711,18 +961,6 @@ 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;
@@ -1734,7 +972,7 @@ class AnimationPlayer extends EventTarget {
@DomName('AnimationPlayer.currentTime')
@DocsEditable()
@Experimental() // untriaged
- set currentTime(num value) => _blink.BlinkAnimationPlayer.instance.currentTime_Setter_(unwrap_jso(this), value);
+ void set currentTime(num value) => _blink.BlinkAnimationPlayer.instance.currentTime_Setter_(unwrap_jso(this), value);
@DomName('AnimationPlayer.playState')
@DocsEditable()
@@ -1749,7 +987,7 @@ class AnimationPlayer extends EventTarget {
@DomName('AnimationPlayer.playbackRate')
@DocsEditable()
@Experimental() // untriaged
- set playbackRate(num value) => _blink.BlinkAnimationPlayer.instance.playbackRate_Setter_(unwrap_jso(this), value);
+ void set playbackRate(num value) => _blink.BlinkAnimationPlayer.instance.playbackRate_Setter_(unwrap_jso(this), value);
@DomName('AnimationPlayer.source')
@DocsEditable()
@@ -1759,7 +997,7 @@ class AnimationPlayer extends EventTarget {
@DomName('AnimationPlayer.source')
@DocsEditable()
@Experimental() // untriaged
- set source(AnimationNode value) => _blink.BlinkAnimationPlayer.instance.source_Setter_(unwrap_jso(this), unwrap_jso(value));
+ void set source(AnimationNode value) => _blink.BlinkAnimationPlayer.instance.source_Setter_(unwrap_jso(this), unwrap_jso(value));
@DomName('AnimationPlayer.startTime')
@DocsEditable()
@@ -1769,7 +1007,7 @@ class AnimationPlayer extends EventTarget {
@DomName('AnimationPlayer.startTime')
@DocsEditable()
@Experimental() // untriaged
- set startTime(num value) => _blink.BlinkAnimationPlayer.instance.startTime_Setter_(unwrap_jso(this), value);
+ void set startTime(num value) => _blink.BlinkAnimationPlayer.instance.startTime_Setter_(unwrap_jso(this), value);
@DomName('AnimationPlayer.cancel')
@DocsEditable()
@@ -1811,27 +1049,15 @@ 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
- num get currentTime => _blink.BlinkAnimationPlayerEvent.instance.currentTime_Getter_(unwrap_jso(this));
+ double get currentTime => _blink.BlinkAnimationPlayerEvent.instance.currentTime_Getter_(unwrap_jso(this));
@DomName('AnimationPlayerEvent.timelineTime')
@DocsEditable()
@Experimental() // untriaged
- num get timelineTime => _blink.BlinkAnimationPlayerEvent.instance.timelineTime_Getter_(unwrap_jso(this));
+ double get timelineTime => _blink.BlinkAnimationPlayerEvent.instance.timelineTime_Getter_(unwrap_jso(this));
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -1848,30 +1074,15 @@ class AnimationTimeline extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory AnimationTimeline._() { throw new UnsupportedError("Not supported"); }
- static AnimationTimeline internalCreateAnimationTimeline() {
- return new AnimationTimeline._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory AnimationTimeline._internalWrap() {
- return new AnimationTimeline.internal_();
- }
-
- AnimationTimeline.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('AnimationTimeline.currentTime')
@DocsEditable()
@Experimental() // untriaged
- num get currentTime => _blink.BlinkAnimationTimeline.instance.currentTime_Getter_(unwrap_jso(this));
+ double get currentTime => _blink.BlinkAnimationTimeline.instance.currentTime_Getter_(unwrap_jso(this));
@DomName('AnimationTimeline.getAnimationPlayers')
@DocsEditable()
@Experimental() // untriaged
- List<AnimationPlayer> getAnimationPlayers() => wrap_jso(_blink.BlinkAnimationTimeline.instance.getAnimationPlayers_Callback_0_(unwrap_jso(this)));
+ List<AnimationPlayer> getAnimationPlayers() => _blink.BlinkAnimationTimeline.instance.getAnimationPlayers_Callback_0_(unwrap_jso(this));
@DomName('AnimationTimeline.play')
@DocsEditable()
@@ -1981,18 +1192,6 @@ 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;
@@ -2091,18 +1290,6 @@ 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
@@ -2150,18 +1337,6 @@ 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.
*
@@ -2175,7 +1350,7 @@ class AreaElement extends HtmlElement implements UrlUtils {
@DomName('HTMLAreaElement.alt')
@DocsEditable()
- set alt(String value) => _blink.BlinkHTMLAreaElement.instance.alt_Setter_(unwrap_jso(this), value);
+ void set alt(String value) => _blink.BlinkHTMLAreaElement.instance.alt_Setter_(unwrap_jso(this), value);
@DomName('HTMLAreaElement.coords')
@DocsEditable()
@@ -2183,7 +1358,7 @@ class AreaElement extends HtmlElement implements UrlUtils {
@DomName('HTMLAreaElement.coords')
@DocsEditable()
- set coords(String value) => _blink.BlinkHTMLAreaElement.instance.coords_Setter_(unwrap_jso(this), value);
+ void set coords(String value) => _blink.BlinkHTMLAreaElement.instance.coords_Setter_(unwrap_jso(this), value);
@DomName('HTMLAreaElement.shape')
@DocsEditable()
@@ -2191,7 +1366,7 @@ class AreaElement extends HtmlElement implements UrlUtils {
@DomName('HTMLAreaElement.shape')
@DocsEditable()
- set shape(String value) => _blink.BlinkHTMLAreaElement.instance.shape_Setter_(unwrap_jso(this), value);
+ void set shape(String value) => _blink.BlinkHTMLAreaElement.instance.shape_Setter_(unwrap_jso(this), value);
@DomName('HTMLAreaElement.target')
@DocsEditable()
@@ -2199,7 +1374,7 @@ class AreaElement extends HtmlElement implements UrlUtils {
@DomName('HTMLAreaElement.target')
@DocsEditable()
- set target(String value) => _blink.BlinkHTMLAreaElement.instance.target_Setter_(unwrap_jso(this), value);
+ void set target(String value) => _blink.BlinkHTMLAreaElement.instance.target_Setter_(unwrap_jso(this), value);
@DomName('HTMLAreaElement.hash')
@DocsEditable()
@@ -2207,7 +1382,7 @@ class AreaElement extends HtmlElement implements UrlUtils {
@DomName('HTMLAreaElement.hash')
@DocsEditable()
- set hash(String value) => _blink.BlinkHTMLAreaElement.instance.hash_Setter_(unwrap_jso(this), value);
+ void set hash(String value) => _blink.BlinkHTMLAreaElement.instance.hash_Setter_(unwrap_jso(this), value);
@DomName('HTMLAreaElement.host')
@DocsEditable()
@@ -2215,7 +1390,7 @@ class AreaElement extends HtmlElement implements UrlUtils {
@DomName('HTMLAreaElement.host')
@DocsEditable()
- set host(String value) => _blink.BlinkHTMLAreaElement.instance.host_Setter_(unwrap_jso(this), value);
+ void set host(String value) => _blink.BlinkHTMLAreaElement.instance.host_Setter_(unwrap_jso(this), value);
@DomName('HTMLAreaElement.hostname')
@DocsEditable()
@@ -2223,7 +1398,7 @@ class AreaElement extends HtmlElement implements UrlUtils {
@DomName('HTMLAreaElement.hostname')
@DocsEditable()
- set hostname(String value) => _blink.BlinkHTMLAreaElement.instance.hostname_Setter_(unwrap_jso(this), value);
+ void set hostname(String value) => _blink.BlinkHTMLAreaElement.instance.hostname_Setter_(unwrap_jso(this), value);
@DomName('HTMLAreaElement.href')
@DocsEditable()
@@ -2231,7 +1406,7 @@ class AreaElement extends HtmlElement implements UrlUtils {
@DomName('HTMLAreaElement.href')
@DocsEditable()
- set href(String value) => _blink.BlinkHTMLAreaElement.instance.href_Setter_(unwrap_jso(this), value);
+ void set href(String value) => _blink.BlinkHTMLAreaElement.instance.href_Setter_(unwrap_jso(this), value);
@DomName('HTMLAreaElement.origin')
@DocsEditable()
@@ -2246,7 +1421,7 @@ class AreaElement extends HtmlElement implements UrlUtils {
@DomName('HTMLAreaElement.password')
@DocsEditable()
@Experimental() // untriaged
- set password(String value) => _blink.BlinkHTMLAreaElement.instance.password_Setter_(unwrap_jso(this), value);
+ void set password(String value) => _blink.BlinkHTMLAreaElement.instance.password_Setter_(unwrap_jso(this), value);
@DomName('HTMLAreaElement.pathname')
@DocsEditable()
@@ -2254,7 +1429,7 @@ class AreaElement extends HtmlElement implements UrlUtils {
@DomName('HTMLAreaElement.pathname')
@DocsEditable()
- set pathname(String value) => _blink.BlinkHTMLAreaElement.instance.pathname_Setter_(unwrap_jso(this), value);
+ void set pathname(String value) => _blink.BlinkHTMLAreaElement.instance.pathname_Setter_(unwrap_jso(this), value);
@DomName('HTMLAreaElement.port')
@DocsEditable()
@@ -2262,7 +1437,7 @@ class AreaElement extends HtmlElement implements UrlUtils {
@DomName('HTMLAreaElement.port')
@DocsEditable()
- set port(String value) => _blink.BlinkHTMLAreaElement.instance.port_Setter_(unwrap_jso(this), value);
+ void set port(String value) => _blink.BlinkHTMLAreaElement.instance.port_Setter_(unwrap_jso(this), value);
@DomName('HTMLAreaElement.protocol')
@DocsEditable()
@@ -2270,7 +1445,7 @@ class AreaElement extends HtmlElement implements UrlUtils {
@DomName('HTMLAreaElement.protocol')
@DocsEditable()
- set protocol(String value) => _blink.BlinkHTMLAreaElement.instance.protocol_Setter_(unwrap_jso(this), value);
+ void set protocol(String value) => _blink.BlinkHTMLAreaElement.instance.protocol_Setter_(unwrap_jso(this), value);
@DomName('HTMLAreaElement.search')
@DocsEditable()
@@ -2278,7 +1453,7 @@ class AreaElement extends HtmlElement implements UrlUtils {
@DomName('HTMLAreaElement.search')
@DocsEditable()
- set search(String value) => _blink.BlinkHTMLAreaElement.instance.search_Setter_(unwrap_jso(this), value);
+ void set search(String value) => _blink.BlinkHTMLAreaElement.instance.search_Setter_(unwrap_jso(this), value);
@DomName('HTMLAreaElement.username')
@DocsEditable()
@@ -2288,7 +1463,7 @@ class AreaElement extends HtmlElement implements UrlUtils {
@DomName('HTMLAreaElement.username')
@DocsEditable()
@Experimental() // untriaged
- set username(String value) => _blink.BlinkHTMLAreaElement.instance.username_Setter_(unwrap_jso(this), value);
+ void set username(String value) => _blink.BlinkHTMLAreaElement.instance.username_Setter_(unwrap_jso(this), value);
@DomName('HTMLAreaElement.toString')
@DocsEditable()
@@ -2300,28 +1475,20 @@ class AreaElement extends HtmlElement implements UrlUtils {
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
+// WARNING: Do not edit - generated code.
+
@DocsEditable()
@DomName('HTMLAudioElement')
class AudioElement extends MediaElement {
+ // To suppress missing implicit constructor warnings.
+ factory AudioElement._() { throw new UnsupportedError("Not supported"); }
@DomName('HTMLAudioElement.HTMLAudioElement')
@DocsEditable()
- factory AudioElement._([String src]) {
- return wrap_jso(_blink.BlinkHTMLAudioElement.instance.constructorCallback_1_(src));
- }
-
-
- static AudioElement internalCreateAudioElement() {
- return new AudioElement._internalWrap();
- }
-
- factory AudioElement._internalWrap() {
- return new AudioElement.internal_();
+ factory AudioElement([String src]) {
+ return _blink.BlinkHTMLAudioElement.instance.constructorCallback_1_(src);
}
-
- AudioElement.internal_() : super.internal_();
-
/**
* Constructor instantiated by the DOM when a custom element has been created.
*
@@ -2329,12 +1496,6 @@ class AudioElement extends MediaElement {
*/
AudioElement.created() : super.created();
- factory AudioElement([String src]) {
- if (src == null)
- return wrap_jso(_blink.BlinkHTMLAudioElement.instance.constructorCallback_0_());
- else
- return wrap_jso(_blink.BlinkHTMLAudioElement.instance.constructorCallback_1_(src));
- }
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -2350,21 +1511,6 @@ class AudioTrack extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory AudioTrack._() { throw new UnsupportedError("Not supported"); }
- static AudioTrack internalCreateAudioTrack() {
- return new AudioTrack._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory AudioTrack._internalWrap() {
- return new AudioTrack.internal_();
- }
-
- AudioTrack.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('AudioTrack.enabled')
@DocsEditable()
@Experimental() // untriaged
@@ -2373,7 +1519,7 @@ class AudioTrack extends NativeFieldWrapperClass2 {
@DomName('AudioTrack.enabled')
@DocsEditable()
@Experimental() // untriaged
- set enabled(bool value) => _blink.BlinkAudioTrack.instance.enabled_Setter_(unwrap_jso(this), value);
+ void set enabled(bool value) => _blink.BlinkAudioTrack.instance.enabled_Setter_(unwrap_jso(this), value);
@DomName('AudioTrack.id')
@DocsEditable()
@@ -2415,18 +1561,6 @@ 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
@@ -2463,18 +1597,6 @@ 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));
@@ -2496,18 +1618,6 @@ 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.
*
@@ -2531,21 +1641,6 @@ class BarProp extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory BarProp._() { throw new UnsupportedError("Not supported"); }
- static BarProp internalCreateBarProp() {
- return new BarProp._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory BarProp._internalWrap() {
- return new BarProp.internal_();
- }
-
- BarProp.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('BarProp.visible')
@DocsEditable()
bool get visible => _blink.BlinkBarProp.instance.visible_Getter_(unwrap_jso(this));
@@ -2567,18 +1662,6 @@ 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.
*
@@ -2592,7 +1675,7 @@ class BaseElement extends HtmlElement {
@DomName('HTMLBaseElement.href')
@DocsEditable()
- set href(String value) => _blink.BlinkHTMLBaseElement.instance.href_Setter_(unwrap_jso(this), value);
+ void set href(String value) => _blink.BlinkHTMLBaseElement.instance.href_Setter_(unwrap_jso(this), value);
@DomName('HTMLBaseElement.target')
@DocsEditable()
@@ -2600,7 +1683,7 @@ class BaseElement extends HtmlElement {
@DomName('HTMLBaseElement.target')
@DocsEditable()
- set target(String value) => _blink.BlinkHTMLBaseElement.instance.target_Setter_(unwrap_jso(this), value);
+ void set target(String value) => _blink.BlinkHTMLBaseElement.instance.target_Setter_(unwrap_jso(this), value);
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -2618,33 +1701,21 @@ 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));
@DomName('BatteryManager.chargingTime')
@DocsEditable()
- num get chargingTime => _blink.BlinkBatteryManager.instance.chargingTime_Getter_(unwrap_jso(this));
+ double get chargingTime => _blink.BlinkBatteryManager.instance.chargingTime_Getter_(unwrap_jso(this));
@DomName('BatteryManager.dischargingTime')
@DocsEditable()
- num get dischargingTime => _blink.BlinkBatteryManager.instance.dischargingTime_Getter_(unwrap_jso(this));
+ double get dischargingTime => _blink.BlinkBatteryManager.instance.dischargingTime_Getter_(unwrap_jso(this));
@DomName('BatteryManager.level')
@DocsEditable()
- num get level => _blink.BlinkBatteryManager.instance.level_Getter_(unwrap_jso(this));
+ double get level => _blink.BlinkBatteryManager.instance.level_Getter_(unwrap_jso(this));
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -2660,25 +1731,13 @@ 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));
@DomName('BeforeUnloadEvent.returnValue')
@DocsEditable()
- set returnValue(String value) => _blink.BlinkBeforeUnloadEvent.instance.returnValue_Setter_(unwrap_jso(this), value);
+ void set returnValue(String value) => _blink.BlinkBeforeUnloadEvent.instance.returnValue_Setter_(unwrap_jso(this), value);
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -2691,20 +1750,12 @@ class Blob extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory Blob._() { throw new UnsupportedError("Not supported"); }
- static Blob internalCreateBlob() {
- return new Blob._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory Blob._internalWrap() {
- return new Blob.internal_();
- }
-
- Blob.internal_() { }
+ @DomName('Blob.Blob')
+ @DocsEditable()
+ factory Blob(List blobParts, [String type, String endings]) => wrap_jso(_create(blobParts, type, endings));
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
+ @DocsEditable()
+ static Blob _create(blobParts, type, endings) => _blink.BlinkBlob.instance.constructorCallback_3_(blobParts, type, endings);
@DomName('Blob.size')
@DocsEditable()
@@ -2732,20 +1783,6 @@ class Blob extends NativeFieldWrapperClass2 {
return wrap_jso(_blink.BlinkBlob.instance.slice_Callback_0_(unwrap_jso(this)));
}
- factory Blob(List blobParts, [String type, String endings]) {
- // TODO: any coercions on the elements of blobParts, e.g. coerce a typed
- // array to ArrayBuffer if it is a total view.
-
- var parts = convertDartToNative_List(blobParts.map(unwrap_jso).toList());
- if (type == null && endings == null) {
- return wrap_jso(_blink.BlinkBlob.instance.constructorCallback_1_(parts));
- }
- var bag = {};
- if (type != null) bag['type'] = type;
- if (endings != null) bag['endings'] = endings;
- return wrap_jso(_blink.BlinkBlob.instance.constructorCallback_2_(parts,
- convertDartToNative_Dictionary(bag)));
- }
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -2761,21 +1798,6 @@ class Body extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory Body._() { throw new UnsupportedError("Not supported"); }
- static Body internalCreateBody() {
- return new Body._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory Body._internalWrap() {
- return new Body.internal_();
- }
-
- Body.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('Body.bodyUsed')
@DocsEditable()
@Experimental() // untriaged
@@ -2784,22 +1806,22 @@ class Body extends NativeFieldWrapperClass2 {
@DomName('Body.arrayBuffer')
@DocsEditable()
@Experimental() // untriaged
- Future arrayBuffer() => wrap_jso(_blink.BlinkBody.instance.arrayBuffer_Callback_0_(unwrap_jso(this)));
+ Future arrayBuffer() => _blink.BlinkBody.instance.arrayBuffer_Callback_0_(unwrap_jso(this));
@DomName('Body.blob')
@DocsEditable()
@Experimental() // untriaged
- Future blob() => wrap_jso(_blink.BlinkBody.instance.blob_Callback_0_(unwrap_jso(this)));
+ Future blob() => _blink.BlinkBody.instance.blob_Callback_0_(unwrap_jso(this));
@DomName('Body.json')
@DocsEditable()
@Experimental() // untriaged
- Future json() => wrap_jso(_blink.BlinkBody.instance.json_Callback_0_(unwrap_jso(this)));
+ Future json() => _blink.BlinkBody.instance.json_Callback_0_(unwrap_jso(this));
@DomName('Body.text')
@DocsEditable()
@Experimental() // untriaged
- Future text() => wrap_jso(_blink.BlinkBody.instance.text_Callback_0_(unwrap_jso(this)));
+ Future text() => _blink.BlinkBody.instance.text_Callback_0_(unwrap_jso(this));
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -2943,18 +1965,6 @@ 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.
*
@@ -3044,18 +2054,6 @@ 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.
*
@@ -3069,7 +2067,7 @@ class ButtonElement extends HtmlElement {
@DomName('HTMLButtonElement.autofocus')
@DocsEditable()
- set autofocus(bool value) => _blink.BlinkHTMLButtonElement.instance.autofocus_Setter_(unwrap_jso(this), value);
+ void set autofocus(bool value) => _blink.BlinkHTMLButtonElement.instance.autofocus_Setter_(unwrap_jso(this), value);
@DomName('HTMLButtonElement.disabled')
@DocsEditable()
@@ -3077,7 +2075,7 @@ class ButtonElement extends HtmlElement {
@DomName('HTMLButtonElement.disabled')
@DocsEditable()
- set disabled(bool value) => _blink.BlinkHTMLButtonElement.instance.disabled_Setter_(unwrap_jso(this), value);
+ void set disabled(bool value) => _blink.BlinkHTMLButtonElement.instance.disabled_Setter_(unwrap_jso(this), value);
@DomName('HTMLButtonElement.form')
@DocsEditable()
@@ -3089,7 +2087,7 @@ class ButtonElement extends HtmlElement {
@DomName('HTMLButtonElement.formAction')
@DocsEditable()
- set formAction(String value) => _blink.BlinkHTMLButtonElement.instance.formAction_Setter_(unwrap_jso(this), value);
+ void set formAction(String value) => _blink.BlinkHTMLButtonElement.instance.formAction_Setter_(unwrap_jso(this), value);
@DomName('HTMLButtonElement.formEnctype')
@DocsEditable()
@@ -3097,7 +2095,7 @@ class ButtonElement extends HtmlElement {
@DomName('HTMLButtonElement.formEnctype')
@DocsEditable()
- set formEnctype(String value) => _blink.BlinkHTMLButtonElement.instance.formEnctype_Setter_(unwrap_jso(this), value);
+ void set formEnctype(String value) => _blink.BlinkHTMLButtonElement.instance.formEnctype_Setter_(unwrap_jso(this), value);
@DomName('HTMLButtonElement.formMethod')
@DocsEditable()
@@ -3105,7 +2103,7 @@ class ButtonElement extends HtmlElement {
@DomName('HTMLButtonElement.formMethod')
@DocsEditable()
- set formMethod(String value) => _blink.BlinkHTMLButtonElement.instance.formMethod_Setter_(unwrap_jso(this), value);
+ void set formMethod(String value) => _blink.BlinkHTMLButtonElement.instance.formMethod_Setter_(unwrap_jso(this), value);
@DomName('HTMLButtonElement.formNoValidate')
@DocsEditable()
@@ -3113,7 +2111,7 @@ class ButtonElement extends HtmlElement {
@DomName('HTMLButtonElement.formNoValidate')
@DocsEditable()
- set formNoValidate(bool value) => _blink.BlinkHTMLButtonElement.instance.formNoValidate_Setter_(unwrap_jso(this), value);
+ void set formNoValidate(bool value) => _blink.BlinkHTMLButtonElement.instance.formNoValidate_Setter_(unwrap_jso(this), value);
@DomName('HTMLButtonElement.formTarget')
@DocsEditable()
@@ -3121,12 +2119,12 @@ class ButtonElement extends HtmlElement {
@DomName('HTMLButtonElement.formTarget')
@DocsEditable()
- set formTarget(String value) => _blink.BlinkHTMLButtonElement.instance.formTarget_Setter_(unwrap_jso(this), value);
+ void set formTarget(String value) => _blink.BlinkHTMLButtonElement.instance.formTarget_Setter_(unwrap_jso(this), value);
@DomName('HTMLButtonElement.labels')
@DocsEditable()
@Unstable()
- List<Node> get labels => wrap_jso(_blink.BlinkHTMLButtonElement.instance.labels_Getter_(unwrap_jso(this)));
+ List<Node> get labels => wrap_jso_list(_blink.BlinkHTMLButtonElement.instance.labels_Getter_(unwrap_jso(this)));
@DomName('HTMLButtonElement.name')
@DocsEditable()
@@ -3134,7 +2132,7 @@ class ButtonElement extends HtmlElement {
@DomName('HTMLButtonElement.name')
@DocsEditable()
- set name(String value) => _blink.BlinkHTMLButtonElement.instance.name_Setter_(unwrap_jso(this), value);
+ void set name(String value) => _blink.BlinkHTMLButtonElement.instance.name_Setter_(unwrap_jso(this), value);
@DomName('HTMLButtonElement.type')
@DocsEditable()
@@ -3142,7 +2140,7 @@ class ButtonElement extends HtmlElement {
@DomName('HTMLButtonElement.type')
@DocsEditable()
- set type(String value) => _blink.BlinkHTMLButtonElement.instance.type_Setter_(unwrap_jso(this), value);
+ void set type(String value) => _blink.BlinkHTMLButtonElement.instance.type_Setter_(unwrap_jso(this), value);
@DomName('HTMLButtonElement.validationMessage')
@DocsEditable()
@@ -3158,7 +2156,7 @@ class ButtonElement extends HtmlElement {
@DomName('HTMLButtonElement.value')
@DocsEditable()
- set value(String value) => _blink.BlinkHTMLButtonElement.instance.value_Setter_(unwrap_jso(this), value);
+ void set value(String value) => _blink.BlinkHTMLButtonElement.instance.value_Setter_(unwrap_jso(this), value);
@DomName('HTMLButtonElement.willValidate')
@DocsEditable()
@@ -3188,18 +2186,6 @@ 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
@@ -3215,45 +2201,30 @@ class CacheStorage extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory CacheStorage._() { throw new UnsupportedError("Not supported"); }
- static CacheStorage internalCreateCacheStorage() {
- return new CacheStorage._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory CacheStorage._internalWrap() {
- return new CacheStorage.internal_();
- }
-
- CacheStorage.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('CacheStorage.create')
@DocsEditable()
@Experimental() // untriaged
- Future create(String cacheName) => wrap_jso(_blink.BlinkCacheStorage.instance.create_Callback_1_(unwrap_jso(this), cacheName));
+ Future create(String cacheName) => _blink.BlinkCacheStorage.instance.create_Callback_1_(unwrap_jso(this), cacheName);
@DomName('CacheStorage.delete')
@DocsEditable()
@Experimental() // untriaged
- Future delete(String cacheName) => wrap_jso(_blink.BlinkCacheStorage.instance.delete_Callback_1_(unwrap_jso(this), cacheName));
+ Future delete(String cacheName) => _blink.BlinkCacheStorage.instance.delete_Callback_1_(unwrap_jso(this), cacheName);
@DomName('CacheStorage.get')
@DocsEditable()
@Experimental() // untriaged
- Future get(String cacheName) => wrap_jso(_blink.BlinkCacheStorage.instance.get_Callback_1_(unwrap_jso(this), cacheName));
+ Future get(String cacheName) => _blink.BlinkCacheStorage.instance.get_Callback_1_(unwrap_jso(this), cacheName);
@DomName('CacheStorage.has')
@DocsEditable()
@Experimental() // untriaged
- Future has(String cacheName) => wrap_jso(_blink.BlinkCacheStorage.instance.has_Callback_1_(unwrap_jso(this), cacheName));
+ Future has(String cacheName) => _blink.BlinkCacheStorage.instance.has_Callback_1_(unwrap_jso(this), cacheName);
@DomName('CacheStorage.keys')
@DocsEditable()
@Experimental() // untriaged
- Future keys() => wrap_jso(_blink.BlinkCacheStorage.instance.keys_Callback_0_(unwrap_jso(this)));
+ Future keys() => _blink.BlinkCacheStorage.instance.keys_Callback_0_(unwrap_jso(this));
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -3271,28 +2242,13 @@ class Canvas2DContextAttributes extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory Canvas2DContextAttributes._() { throw new UnsupportedError("Not supported"); }
- static Canvas2DContextAttributes internalCreateCanvas2DContextAttributes() {
- return new Canvas2DContextAttributes._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory Canvas2DContextAttributes._internalWrap() {
- return new Canvas2DContextAttributes.internal_();
- }
-
- Canvas2DContextAttributes.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('Canvas2DContextAttributes.alpha')
@DocsEditable()
bool get alpha => _blink.BlinkCanvas2DContextAttributes.instance.alpha_Getter_(unwrap_jso(this));
@DomName('Canvas2DContextAttributes.alpha')
@DocsEditable()
- set alpha(bool value) => _blink.BlinkCanvas2DContextAttributes.instance.alpha_Setter_(unwrap_jso(this), value);
+ void set alpha(bool value) => _blink.BlinkCanvas2DContextAttributes.instance.alpha_Setter_(unwrap_jso(this), value);
@DomName('Canvas2DContextAttributes.storage')
@DocsEditable()
@@ -3302,7 +2258,7 @@ class Canvas2DContextAttributes extends NativeFieldWrapperClass2 {
@DomName('Canvas2DContextAttributes.storage')
@DocsEditable()
@Experimental() // untriaged
- set storage(String value) => _blink.BlinkCanvas2DContextAttributes.instance.storage_Setter_(unwrap_jso(this), value);
+ void set storage(String value) => _blink.BlinkCanvas2DContextAttributes.instance.storage_Setter_(unwrap_jso(this), value);
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -3343,18 +2299,6 @@ 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.
*
@@ -3370,7 +2314,7 @@ class CanvasElement extends HtmlElement implements CanvasImageSource {
/// The height of this canvas element in CSS pixels.
@DomName('HTMLCanvasElement.height')
@DocsEditable()
- set height(int value) => _blink.BlinkHTMLCanvasElement.instance.height_Setter_(unwrap_jso(this), value);
+ void set height(int value) => _blink.BlinkHTMLCanvasElement.instance.height_Setter_(unwrap_jso(this), value);
/// The width of this canvas element in CSS pixels.
@DomName('HTMLCanvasElement.width')
@@ -3380,11 +2324,11 @@ class CanvasElement extends HtmlElement implements CanvasImageSource {
/// The width of this canvas element in CSS pixels.
@DomName('HTMLCanvasElement.width')
@DocsEditable()
- set width(int value) => _blink.BlinkHTMLCanvasElement.instance.width_Setter_(unwrap_jso(this), value);
+ void set width(int value) => _blink.BlinkHTMLCanvasElement.instance.width_Setter_(unwrap_jso(this), value);
@DomName('HTMLCanvasElement.getContext')
@DocsEditable()
- 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));
+ Object getContext(String contextId, [Map attrs]) => wrap_jso(_blink.BlinkHTMLCanvasElement.instance.getContext_Callback_2_(unwrap_jso(this), contextId, attrs));
@DomName('HTMLCanvasElement.toDataURL')
@DocsEditable()
@@ -3520,21 +2464,6 @@ class CanvasGradient extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory CanvasGradient._() { throw new UnsupportedError("Not supported"); }
- static CanvasGradient internalCreateCanvasGradient() {
- return new CanvasGradient._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory CanvasGradient._internalWrap() {
- return new CanvasGradient.internal_();
- }
-
- CanvasGradient.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
/**
* Adds a color stop to this gradient at the offset.
*
@@ -3589,21 +2518,6 @@ class CanvasPattern extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory CanvasPattern._() { throw new UnsupportedError("Not supported"); }
- static CanvasPattern internalCreateCanvasPattern() {
- return new CanvasPattern._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory CanvasPattern._internalWrap() {
- return new CanvasPattern.internal_();
- }
-
- CanvasPattern.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('CanvasPattern.setTransform')
@DocsEditable()
@Experimental() // untriaged
@@ -3624,21 +2538,6 @@ 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();
- }
-
- js.JsObject blink_jsObject;
-
- factory CanvasRenderingContext2D._internalWrap() {
- return new CanvasRenderingContext2D.internal_();
- }
-
- CanvasRenderingContext2D.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('CanvasRenderingContext2D.canvas')
@DocsEditable()
@Experimental() // untriaged
@@ -3652,7 +2551,7 @@ class CanvasRenderingContext2D extends NativeFieldWrapperClass2 implements Canva
@DomName('CanvasRenderingContext2D.currentTransform')
@DocsEditable()
@Experimental() // untriaged
- set currentTransform(Matrix value) => _blink.BlinkCanvasRenderingContext2D.instance.currentTransform_Setter_(unwrap_jso(this), unwrap_jso(value));
+ void set currentTransform(Matrix value) => _blink.BlinkCanvasRenderingContext2D.instance.currentTransform_Setter_(unwrap_jso(this), unwrap_jso(value));
@DomName('CanvasRenderingContext2D.direction')
@DocsEditable()
@@ -3662,15 +2561,15 @@ class CanvasRenderingContext2D extends NativeFieldWrapperClass2 implements Canva
@DomName('CanvasRenderingContext2D.direction')
@DocsEditable()
@Experimental() // untriaged
- set direction(String value) => _blink.BlinkCanvasRenderingContext2D.instance.direction_Setter_(unwrap_jso(this), value);
+ void set direction(String value) => _blink.BlinkCanvasRenderingContext2D.instance.direction_Setter_(unwrap_jso(this), value);
@DomName('CanvasRenderingContext2D.fillStyle')
@DocsEditable()
- Object get fillStyle => wrap_jso(_blink.BlinkCanvasRenderingContext2D.instance.fillStyle_Getter_(unwrap_jso(this)));
+ Object get fillStyle => _blink.BlinkCanvasRenderingContext2D.instance.fillStyle_Getter_(unwrap_jso(this));
@DomName('CanvasRenderingContext2D.fillStyle')
@DocsEditable()
- set fillStyle(Object value) => _blink.BlinkCanvasRenderingContext2D.instance.fillStyle_Setter_(unwrap_jso(this), unwrap_jso(value));
+ void set fillStyle(Object value) => _blink.BlinkCanvasRenderingContext2D.instance.fillStyle_Setter_(unwrap_jso(this), unwrap_jso(value));
@DomName('CanvasRenderingContext2D.font')
@DocsEditable()
@@ -3678,7 +2577,7 @@ class CanvasRenderingContext2D extends NativeFieldWrapperClass2 implements Canva
@DomName('CanvasRenderingContext2D.font')
@DocsEditable()
- set font(String value) => _blink.BlinkCanvasRenderingContext2D.instance.font_Setter_(unwrap_jso(this), value);
+ void set font(String value) => _blink.BlinkCanvasRenderingContext2D.instance.font_Setter_(unwrap_jso(this), value);
@DomName('CanvasRenderingContext2D.globalAlpha')
@DocsEditable()
@@ -3686,7 +2585,7 @@ class CanvasRenderingContext2D extends NativeFieldWrapperClass2 implements Canva
@DomName('CanvasRenderingContext2D.globalAlpha')
@DocsEditable()
- set globalAlpha(num value) => _blink.BlinkCanvasRenderingContext2D.instance.globalAlpha_Setter_(unwrap_jso(this), value);
+ void set globalAlpha(num value) => _blink.BlinkCanvasRenderingContext2D.instance.globalAlpha_Setter_(unwrap_jso(this), value);
@DomName('CanvasRenderingContext2D.globalCompositeOperation')
@DocsEditable()
@@ -3694,7 +2593,7 @@ class CanvasRenderingContext2D extends NativeFieldWrapperClass2 implements Canva
@DomName('CanvasRenderingContext2D.globalCompositeOperation')
@DocsEditable()
- set globalCompositeOperation(String value) => _blink.BlinkCanvasRenderingContext2D.instance.globalCompositeOperation_Setter_(unwrap_jso(this), value);
+ void set globalCompositeOperation(String value) => _blink.BlinkCanvasRenderingContext2D.instance.globalCompositeOperation_Setter_(unwrap_jso(this), value);
/**
* Whether images and patterns on this canvas will be smoothed when this
@@ -3724,7 +2623,7 @@ class CanvasRenderingContext2D extends NativeFieldWrapperClass2 implements Canva
@DomName('CanvasRenderingContext2D.imageSmoothingEnabled')
@DocsEditable()
@Experimental() // untriaged
- set imageSmoothingEnabled(bool value) => _blink.BlinkCanvasRenderingContext2D.instance.imageSmoothingEnabled_Setter_(unwrap_jso(this), value);
+ void set imageSmoothingEnabled(bool value) => _blink.BlinkCanvasRenderingContext2D.instance.imageSmoothingEnabled_Setter_(unwrap_jso(this), value);
@DomName('CanvasRenderingContext2D.lineCap')
@DocsEditable()
@@ -3732,7 +2631,7 @@ class CanvasRenderingContext2D extends NativeFieldWrapperClass2 implements Canva
@DomName('CanvasRenderingContext2D.lineCap')
@DocsEditable()
- set lineCap(String value) => _blink.BlinkCanvasRenderingContext2D.instance.lineCap_Setter_(unwrap_jso(this), value);
+ void set lineCap(String value) => _blink.BlinkCanvasRenderingContext2D.instance.lineCap_Setter_(unwrap_jso(this), value);
@DomName('CanvasRenderingContext2D.lineDashOffset')
@DocsEditable()
@@ -3740,7 +2639,7 @@ class CanvasRenderingContext2D extends NativeFieldWrapperClass2 implements Canva
@DomName('CanvasRenderingContext2D.lineDashOffset')
@DocsEditable()
- set lineDashOffset(num value) => _blink.BlinkCanvasRenderingContext2D.instance.lineDashOffset_Setter_(unwrap_jso(this), value);
+ void set lineDashOffset(num value) => _blink.BlinkCanvasRenderingContext2D.instance.lineDashOffset_Setter_(unwrap_jso(this), value);
@DomName('CanvasRenderingContext2D.lineJoin')
@DocsEditable()
@@ -3748,7 +2647,7 @@ class CanvasRenderingContext2D extends NativeFieldWrapperClass2 implements Canva
@DomName('CanvasRenderingContext2D.lineJoin')
@DocsEditable()
- set lineJoin(String value) => _blink.BlinkCanvasRenderingContext2D.instance.lineJoin_Setter_(unwrap_jso(this), value);
+ void set lineJoin(String value) => _blink.BlinkCanvasRenderingContext2D.instance.lineJoin_Setter_(unwrap_jso(this), value);
@DomName('CanvasRenderingContext2D.lineWidth')
@DocsEditable()
@@ -3756,7 +2655,7 @@ class CanvasRenderingContext2D extends NativeFieldWrapperClass2 implements Canva
@DomName('CanvasRenderingContext2D.lineWidth')
@DocsEditable()
- set lineWidth(num value) => _blink.BlinkCanvasRenderingContext2D.instance.lineWidth_Setter_(unwrap_jso(this), value);
+ void set lineWidth(num value) => _blink.BlinkCanvasRenderingContext2D.instance.lineWidth_Setter_(unwrap_jso(this), value);
@DomName('CanvasRenderingContext2D.miterLimit')
@DocsEditable()
@@ -3764,7 +2663,7 @@ class CanvasRenderingContext2D extends NativeFieldWrapperClass2 implements Canva
@DomName('CanvasRenderingContext2D.miterLimit')
@DocsEditable()
- set miterLimit(num value) => _blink.BlinkCanvasRenderingContext2D.instance.miterLimit_Setter_(unwrap_jso(this), value);
+ void set miterLimit(num value) => _blink.BlinkCanvasRenderingContext2D.instance.miterLimit_Setter_(unwrap_jso(this), value);
@DomName('CanvasRenderingContext2D.shadowBlur')
@DocsEditable()
@@ -3772,7 +2671,7 @@ class CanvasRenderingContext2D extends NativeFieldWrapperClass2 implements Canva
@DomName('CanvasRenderingContext2D.shadowBlur')
@DocsEditable()
- set shadowBlur(num value) => _blink.BlinkCanvasRenderingContext2D.instance.shadowBlur_Setter_(unwrap_jso(this), value);
+ void set shadowBlur(num value) => _blink.BlinkCanvasRenderingContext2D.instance.shadowBlur_Setter_(unwrap_jso(this), value);
@DomName('CanvasRenderingContext2D.shadowColor')
@DocsEditable()
@@ -3780,7 +2679,7 @@ class CanvasRenderingContext2D extends NativeFieldWrapperClass2 implements Canva
@DomName('CanvasRenderingContext2D.shadowColor')
@DocsEditable()
- set shadowColor(String value) => _blink.BlinkCanvasRenderingContext2D.instance.shadowColor_Setter_(unwrap_jso(this), value);
+ void set shadowColor(String value) => _blink.BlinkCanvasRenderingContext2D.instance.shadowColor_Setter_(unwrap_jso(this), value);
@DomName('CanvasRenderingContext2D.shadowOffsetX')
@DocsEditable()
@@ -3788,7 +2687,7 @@ class CanvasRenderingContext2D extends NativeFieldWrapperClass2 implements Canva
@DomName('CanvasRenderingContext2D.shadowOffsetX')
@DocsEditable()
- set shadowOffsetX(num value) => _blink.BlinkCanvasRenderingContext2D.instance.shadowOffsetX_Setter_(unwrap_jso(this), value);
+ void set shadowOffsetX(num value) => _blink.BlinkCanvasRenderingContext2D.instance.shadowOffsetX_Setter_(unwrap_jso(this), value);
@DomName('CanvasRenderingContext2D.shadowOffsetY')
@DocsEditable()
@@ -3796,15 +2695,15 @@ class CanvasRenderingContext2D extends NativeFieldWrapperClass2 implements Canva
@DomName('CanvasRenderingContext2D.shadowOffsetY')
@DocsEditable()
- set shadowOffsetY(num value) => _blink.BlinkCanvasRenderingContext2D.instance.shadowOffsetY_Setter_(unwrap_jso(this), value);
+ void set shadowOffsetY(num value) => _blink.BlinkCanvasRenderingContext2D.instance.shadowOffsetY_Setter_(unwrap_jso(this), value);
@DomName('CanvasRenderingContext2D.strokeStyle')
@DocsEditable()
- Object get strokeStyle => wrap_jso(_blink.BlinkCanvasRenderingContext2D.instance.strokeStyle_Getter_(unwrap_jso(this)));
+ Object get strokeStyle => _blink.BlinkCanvasRenderingContext2D.instance.strokeStyle_Getter_(unwrap_jso(this));
@DomName('CanvasRenderingContext2D.strokeStyle')
@DocsEditable()
- set strokeStyle(Object value) => _blink.BlinkCanvasRenderingContext2D.instance.strokeStyle_Setter_(unwrap_jso(this), unwrap_jso(value));
+ void set strokeStyle(Object value) => _blink.BlinkCanvasRenderingContext2D.instance.strokeStyle_Setter_(unwrap_jso(this), unwrap_jso(value));
@DomName('CanvasRenderingContext2D.textAlign')
@DocsEditable()
@@ -3812,7 +2711,7 @@ class CanvasRenderingContext2D extends NativeFieldWrapperClass2 implements Canva
@DomName('CanvasRenderingContext2D.textAlign')
@DocsEditable()
- set textAlign(String value) => _blink.BlinkCanvasRenderingContext2D.instance.textAlign_Setter_(unwrap_jso(this), value);
+ void set textAlign(String value) => _blink.BlinkCanvasRenderingContext2D.instance.textAlign_Setter_(unwrap_jso(this), value);
@DomName('CanvasRenderingContext2D.textBaseline')
@DocsEditable()
@@ -3820,11 +2719,11 @@ class CanvasRenderingContext2D extends NativeFieldWrapperClass2 implements Canva
@DomName('CanvasRenderingContext2D.textBaseline')
@DocsEditable()
- set textBaseline(String value) => _blink.BlinkCanvasRenderingContext2D.instance.textBaseline_Setter_(unwrap_jso(this), value);
+ void set textBaseline(String value) => _blink.BlinkCanvasRenderingContext2D.instance.textBaseline_Setter_(unwrap_jso(this), value);
void addHitRegion([Map options]) {
if (options != null) {
- _blink.BlinkCanvasRenderingContext2D.instance.addHitRegion_Callback_1_(unwrap_jso(this), options != null ? new js.JsObject.jsify(options) : options);
+ _blink.BlinkCanvasRenderingContext2D.instance.addHitRegion_Callback_1_(unwrap_jso(this), options);
return;
}
_blink.BlinkCanvasRenderingContext2D.instance.addHitRegion_Callback_0_(unwrap_jso(this));
@@ -4413,25 +3312,13 @@ 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));
@DomName('CharacterData.data')
@DocsEditable()
- set data(String value) => _blink.BlinkCharacterData.instance.data_Setter_(unwrap_jso(this), value);
+ void set data(String value) => _blink.BlinkCharacterData.instance.data_Setter_(unwrap_jso(this), value);
@DomName('CharacterData.length')
@DocsEditable()
@@ -4513,22 +3400,9 @@ class CircularGeofencingRegion extends GeofencingRegion {
@DomName('CircularGeofencingRegion.CircularGeofencingRegion')
@DocsEditable()
factory CircularGeofencingRegion(Map init) {
- var init_1 = convertDartToNative_Dictionary(init);
- return wrap_jso(_blink.BlinkCircularGeofencingRegion.instance.constructorCallback_1_(init_1));
- }
-
-
- static CircularGeofencingRegion internalCreateCircularGeofencingRegion() {
- return new CircularGeofencingRegion._internalWrap();
- }
-
- factory CircularGeofencingRegion._internalWrap() {
- return new CircularGeofencingRegion.internal_();
+ return _blink.BlinkCircularGeofencingRegion.instance.constructorCallback_1_(init);
}
- CircularGeofencingRegion.internal_() : super.internal_();
-
-
@DomName('CircularGeofencingRegion.MAX_RADIUS')
@DocsEditable()
@Experimental() // untriaged
@@ -4542,17 +3416,17 @@ class CircularGeofencingRegion extends GeofencingRegion {
@DomName('CircularGeofencingRegion.latitude')
@DocsEditable()
@Experimental() // untriaged
- num get latitude => _blink.BlinkCircularGeofencingRegion.instance.latitude_Getter_(unwrap_jso(this));
+ double get latitude => _blink.BlinkCircularGeofencingRegion.instance.latitude_Getter_(unwrap_jso(this));
@DomName('CircularGeofencingRegion.longitude')
@DocsEditable()
@Experimental() // untriaged
- num get longitude => _blink.BlinkCircularGeofencingRegion.instance.longitude_Getter_(unwrap_jso(this));
+ double get longitude => _blink.BlinkCircularGeofencingRegion.instance.longitude_Getter_(unwrap_jso(this));
@DomName('CircularGeofencingRegion.radius')
@DocsEditable()
@Experimental() // untriaged
- num get radius => _blink.BlinkCircularGeofencingRegion.instance.radius_Getter_(unwrap_jso(this));
+ double get radius => _blink.BlinkCircularGeofencingRegion.instance.radius_Getter_(unwrap_jso(this));
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -4568,18 +3442,6 @@ 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));
@@ -4608,22 +3470,10 @@ class Comment extends CharacterData {
@DocsEditable()
factory Comment([String data]) {
if (data != null) {
- return wrap_jso(_blink.BlinkComment.instance.constructorCallback_1_(data));
+ return _blink.BlinkComment.instance.constructorCallback_1_(data);
}
- return wrap_jso(_blink.BlinkComment.instance.constructorCallback_0_());
+ 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
@@ -4650,18 +3500,6 @@ 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
@@ -4699,18 +3537,6 @@ 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()
@@ -4731,21 +3557,6 @@ class ConsoleBase extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory ConsoleBase._() { throw new UnsupportedError("Not supported"); }
- static ConsoleBase internalCreateConsoleBase() {
- return new ConsoleBase._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory ConsoleBase._internalWrap() {
- return new ConsoleBase.internal_();
- }
-
- ConsoleBase.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('ConsoleBase.assertCondition')
@DocsEditable()
@Experimental() // untriaged
@@ -4881,18 +3692,6 @@ 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.
*
@@ -4909,11 +3708,11 @@ class ContentElement extends HtmlElement {
@DomName('HTMLContentElement.select')
@DocsEditable()
- set select(String value) => _blink.BlinkHTMLContentElement.instance.select_Setter_(unwrap_jso(this), value);
+ void set select(String value) => _blink.BlinkHTMLContentElement.instance.select_Setter_(unwrap_jso(this), value);
@DomName('HTMLContentElement.getDistributedNodes')
@DocsEditable()
- List<Node> getDistributedNodes() => wrap_jso(_blink.BlinkHTMLContentElement.instance.getDistributedNodes_Callback_0_(unwrap_jso(this)));
+ List<Node> getDistributedNodes() => wrap_jso_list(_blink.BlinkHTMLContentElement.instance.getDistributedNodes_Callback_0_(unwrap_jso(this)));
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -4929,48 +3728,33 @@ class Coordinates extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory Coordinates._() { throw new UnsupportedError("Not supported"); }
- static Coordinates internalCreateCoordinates() {
- return new Coordinates._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory Coordinates._internalWrap() {
- return new Coordinates.internal_();
- }
-
- Coordinates.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('Coordinates.accuracy')
@DocsEditable()
- num get accuracy => _blink.BlinkCoordinates.instance.accuracy_Getter_(unwrap_jso(this));
+ double get accuracy => _blink.BlinkCoordinates.instance.accuracy_Getter_(unwrap_jso(this));
@DomName('Coordinates.altitude')
@DocsEditable()
- num get altitude => _blink.BlinkCoordinates.instance.altitude_Getter_(unwrap_jso(this));
+ double get altitude => _blink.BlinkCoordinates.instance.altitude_Getter_(unwrap_jso(this));
@DomName('Coordinates.altitudeAccuracy')
@DocsEditable()
- num get altitudeAccuracy => _blink.BlinkCoordinates.instance.altitudeAccuracy_Getter_(unwrap_jso(this));
+ double get altitudeAccuracy => _blink.BlinkCoordinates.instance.altitudeAccuracy_Getter_(unwrap_jso(this));
@DomName('Coordinates.heading')
@DocsEditable()
- num get heading => _blink.BlinkCoordinates.instance.heading_Getter_(unwrap_jso(this));
+ double get heading => _blink.BlinkCoordinates.instance.heading_Getter_(unwrap_jso(this));
@DomName('Coordinates.latitude')
@DocsEditable()
- num get latitude => _blink.BlinkCoordinates.instance.latitude_Getter_(unwrap_jso(this));
+ double get latitude => _blink.BlinkCoordinates.instance.latitude_Getter_(unwrap_jso(this));
@DomName('Coordinates.longitude')
@DocsEditable()
- num get longitude => _blink.BlinkCoordinates.instance.longitude_Getter_(unwrap_jso(this));
+ double get longitude => _blink.BlinkCoordinates.instance.longitude_Getter_(unwrap_jso(this));
@DomName('Coordinates.speed')
@DocsEditable()
- num get speed => _blink.BlinkCoordinates.instance.speed_Getter_(unwrap_jso(this));
+ double get speed => _blink.BlinkCoordinates.instance.speed_Getter_(unwrap_jso(this));
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -4987,21 +3771,6 @@ class Credential extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory Credential._() { throw new UnsupportedError("Not supported"); }
- static Credential internalCreateCredential() {
- return new Credential._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory Credential._internalWrap() {
- return new Credential.internal_();
- }
-
- Credential.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('Credential.avatarURL')
@DocsEditable()
@Experimental() // untriaged
@@ -5032,41 +3801,26 @@ class CredentialsContainer extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory CredentialsContainer._() { throw new UnsupportedError("Not supported"); }
- static CredentialsContainer internalCreateCredentialsContainer() {
- return new CredentialsContainer._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory CredentialsContainer._internalWrap() {
- return new CredentialsContainer.internal_();
- }
-
- CredentialsContainer.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('CredentialsContainer.notifyFailedSignIn')
@DocsEditable()
@Experimental() // untriaged
- Future notifyFailedSignIn(Credential credential) => wrap_jso(_blink.BlinkCredentialsContainer.instance.notifyFailedSignIn_Callback_1_(unwrap_jso(this), unwrap_jso(credential)));
+ Future notifyFailedSignIn(Credential credential) => _blink.BlinkCredentialsContainer.instance.notifyFailedSignIn_Callback_1_(unwrap_jso(this), unwrap_jso(credential));
@DomName('CredentialsContainer.notifySignedIn')
@DocsEditable()
@Experimental() // untriaged
- Future notifySignedIn(Credential credential) => wrap_jso(_blink.BlinkCredentialsContainer.instance.notifySignedIn_Callback_1_(unwrap_jso(this), unwrap_jso(credential)));
+ Future notifySignedIn(Credential credential) => _blink.BlinkCredentialsContainer.instance.notifySignedIn_Callback_1_(unwrap_jso(this), unwrap_jso(credential));
@DomName('CredentialsContainer.notifySignedOut')
@DocsEditable()
@Experimental() // untriaged
- Future notifySignedOut() => wrap_jso(_blink.BlinkCredentialsContainer.instance.notifySignedOut_Callback_0_(unwrap_jso(this)));
+ Future notifySignedOut() => _blink.BlinkCredentialsContainer.instance.notifySignedOut_Callback_0_(unwrap_jso(this));
Future request([Map options]) {
if (options != null) {
- return wrap_jso(_blink.BlinkCredentialsContainer.instance.request_Callback_1_(unwrap_jso(this), options != null ? new js.JsObject.jsify(options) : options));
+ return _blink.BlinkCredentialsContainer.instance.request_Callback_1_(unwrap_jso(this), options);
}
- return wrap_jso(_blink.BlinkCredentialsContainer.instance.request_Callback_0_(unwrap_jso(this)));
+ return _blink.BlinkCredentialsContainer.instance.request_Callback_0_(unwrap_jso(this));
}
}
@@ -5087,21 +3841,6 @@ class Crypto extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory Crypto._() { throw new UnsupportedError("Not supported"); }
- static Crypto internalCreateCrypto() {
- return new Crypto._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory Crypto._internalWrap() {
- return new Crypto.internal_();
- }
-
- Crypto.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
/// Checks if this type is supported on the current platform.
static bool get supported => true;
@@ -5112,7 +3851,7 @@ class Crypto extends NativeFieldWrapperClass2 {
@DomName('Crypto.getRandomValues')
@DocsEditable()
- TypedData getRandomValues(TypedData array) => wrap_jso(_blink.BlinkCrypto.instance.getRandomValues_Callback_1_(unwrap_jso(this), unwrap_jso(array)));
+ TypedData getRandomValues(TypedData array) => _blink.BlinkCrypto.instance.getRandomValues_Callback_1_(unwrap_jso(this), unwrap_jso(array));
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -5129,25 +3868,10 @@ class CryptoKey extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory CryptoKey._() { throw new UnsupportedError("Not supported"); }
- static CryptoKey internalCreateCryptoKey() {
- return new CryptoKey._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory CryptoKey._internalWrap() {
- return new CryptoKey.internal_();
- }
-
- CryptoKey.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('CryptoKey.algorithm')
@DocsEditable()
@Experimental() // untriaged
- Object get algorithm => wrap_jso(_blink.BlinkCryptoKey.instance.algorithm_Getter_(unwrap_jso(this)));
+ Object get algorithm => _blink.BlinkCryptoKey.instance.algorithm_Getter_(unwrap_jso(this));
@DomName('CryptoKey.extractable')
@DocsEditable()
@@ -5180,21 +3904,6 @@ class Css extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory Css._() { throw new UnsupportedError("Not supported"); }
- static Css internalCreateCss() {
- return new Css._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory Css._internalWrap() {
- return new Css.internal_();
- }
-
- Css.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('CSS.supports')
@DocsEditable()
bool supports(String property, String value) => _blink.BlinkCSS.instance.supports_Callback_2_(unwrap_jso(this), property, value);
@@ -5219,25 +3928,13 @@ 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));
@DomName('CSSCharsetRule.encoding')
@DocsEditable()
- set encoding(String value) => _blink.BlinkCSSCharsetRule.instance.encoding_Setter_(unwrap_jso(this), value);
+ void set encoding(String value) => _blink.BlinkCSSCharsetRule.instance.encoding_Setter_(unwrap_jso(this), value);
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -5257,18 +3954,6 @@ 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)));
@@ -5287,18 +3972,6 @@ 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)));
@@ -5317,18 +3990,6 @@ 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));
@@ -5356,18 +4017,6 @@ 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
@@ -5376,7 +4025,7 @@ class CssKeyframeRule extends CssRule {
@DomName('CSSKeyframeRule.keyText')
@DocsEditable()
@Experimental() // untriaged
- set keyText(String value) => _blink.BlinkCSSKeyframeRule.instance.keyText_Setter_(unwrap_jso(this), value);
+ void set keyText(String value) => _blink.BlinkCSSKeyframeRule.instance.keyText_Setter_(unwrap_jso(this), value);
@DomName('CSSKeyframeRule.style')
@DocsEditable()
@@ -5398,22 +4047,10 @@ 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
- List<CssRule> get cssRules => wrap_jso(_blink.BlinkCSSKeyframesRule.instance.cssRules_Getter_(unwrap_jso(this)));
+ List<CssRule> get cssRules => wrap_jso_list(_blink.BlinkCSSKeyframesRule.instance.cssRules_Getter_(unwrap_jso(this)));
@DomName('CSSKeyframesRule.name')
@DocsEditable()
@@ -5423,12 +4060,12 @@ class CssKeyframesRule extends CssRule {
@DomName('CSSKeyframesRule.name')
@DocsEditable()
@Experimental() // untriaged
- set name(String value) => _blink.BlinkCSSKeyframesRule.instance.name_Setter_(unwrap_jso(this), value);
+ void set name(String value) => _blink.BlinkCSSKeyframesRule.instance.name_Setter_(unwrap_jso(this), value);
@DomName('CSSKeyframesRule.__getter__')
@DocsEditable()
@Experimental() // untriaged
- CssKeyframeRule __getter__(int index) => wrap_jso(_blink.BlinkCSSKeyframesRule.instance.$__getter___Callback_1_(unwrap_jso(this), index));
+ CssKeyframeRule __getter__(int index) => _blink.BlinkCSSKeyframesRule.instance.$__getter___Callback_1_(unwrap_jso(this), index);
@DomName('CSSKeyframesRule.deleteRule')
@DocsEditable()
@@ -5438,7 +4075,7 @@ class CssKeyframesRule extends CssRule {
@DomName('CSSKeyframesRule.findRule')
@DocsEditable()
@Experimental() // untriaged
- CssKeyframeRule findRule(String key) => wrap_jso(_blink.BlinkCSSKeyframesRule.instance.findRule_Callback_1_(unwrap_jso(this), key));
+ CssKeyframeRule findRule(String key) => _blink.BlinkCSSKeyframesRule.instance.findRule_Callback_1_(unwrap_jso(this), key);
@DomName('CSSKeyframesRule.insertRule')
@DocsEditable()
@@ -5459,21 +4096,9 @@ 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(_blink.BlinkCSSMediaRule.instance.cssRules_Getter_(unwrap_jso(this)));
+ List<CssRule> get cssRules => wrap_jso_list(_blink.BlinkCSSMediaRule.instance.cssRules_Getter_(unwrap_jso(this)));
@DomName('CSSMediaRule.media')
@DocsEditable()
@@ -5501,25 +4126,13 @@ 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));
@DomName('CSSPageRule.selectorText')
@DocsEditable()
- set selectorText(String value) => _blink.BlinkCSSPageRule.instance.selectorText_Setter_(unwrap_jso(this), value);
+ void set selectorText(String value) => _blink.BlinkCSSPageRule.instance.selectorText_Setter_(unwrap_jso(this), value);
@DomName('CSSPageRule.style')
@DocsEditable()
@@ -5539,21 +4152,6 @@ class CssRule extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory CssRule._() { throw new UnsupportedError("Not supported"); }
- static CssRule internalCreateCssRule() {
- return new CssRule._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory CssRule._internalWrap() {
- return new CssRule.internal_();
- }
-
- CssRule.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('CSSRule.CHARSET_RULE')
@DocsEditable()
static const int CHARSET_RULE = 2;
@@ -5621,7 +4219,7 @@ class CssRule extends NativeFieldWrapperClass2 {
@DomName('CSSRule.cssText')
@DocsEditable()
- set cssText(String value) => _blink.BlinkCSSRule.instance.cssText_Setter_(unwrap_jso(this), value);
+ void set cssText(String value) => _blink.BlinkCSSRule.instance.cssText_Setter_(unwrap_jso(this), value);
@DomName('CSSRule.parentRule')
@DocsEditable()
@@ -5649,7 +4247,7 @@ class CssRule extends NativeFieldWrapperClass2 {
@DomName('CSSStyleDeclaration')
-class CssStyleDeclaration extends JsoNativeFieldWrapper with
+class CssStyleDeclaration extends NativeFieldWrapperClass2 with
CssStyleDeclarationBase {
factory CssStyleDeclaration() => new CssStyleDeclaration.css('');
@@ -5695,7 +4293,7 @@ class CssStyleDeclaration extends JsoNativeFieldWrapper with
}
bool _hasProperty(String propertyName) =>
- _blink.BlinkCSSStyleDeclaration.instance.$__propertyQuery___Callback_1_(unwrap_jso(this), propertyName) != null;
+ _blink.BlinkCSSStyleDeclaration.$__propertyQuery___Callback_1(this, propertyName);
@DomName('CSSStyleDeclaration.setProperty')
void setProperty(String propertyName, String value, [String priority]) {
@@ -5739,28 +4337,13 @@ class CssStyleDeclaration extends JsoNativeFieldWrapper with
// To suppress missing implicit constructor warnings.
factory CssStyleDeclaration._() { throw new UnsupportedError("Not supported"); }
- static CssStyleDeclaration internalCreateCssStyleDeclaration() {
- return new CssStyleDeclaration._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory CssStyleDeclaration._internalWrap() {
- return new CssStyleDeclaration.internal_();
- }
-
- CssStyleDeclaration.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('CSSStyleDeclaration.cssText')
@DocsEditable()
String get cssText => _blink.BlinkCSSStyleDeclaration.instance.cssText_Getter_(unwrap_jso(this));
@DomName('CSSStyleDeclaration.cssText')
@DocsEditable()
- set cssText(String value) => _blink.BlinkCSSStyleDeclaration.instance.cssText_Setter_(unwrap_jso(this), value);
+ void set cssText(String value) => _blink.BlinkCSSStyleDeclaration.instance.cssText_Setter_(unwrap_jso(this), value);
@DomName('CSSStyleDeclaration.length')
@DocsEditable()
@@ -5833,18 +4416,16 @@ class _CssStyleDeclarationSet extends Object with CssStyleDeclarationBase {
// items in the MEMBERS set if you want that functionality.
}
-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');
+abstract class CssStyleDeclarationBase {
+ String getPropertyValue(String propertyName);
+ void setProperty(String propertyName, String value, [String priority]);
/** Gets the value of "align-content" */
String get alignContent =>
getPropertyValue('align-content');
/** Sets the value of "align-content" */
- set alignContent(String value) {
+ void set alignContent(String value) {
setProperty('align-content', value, '');
}
@@ -5853,7 +4434,7 @@ class CssStyleDeclarationBase {
getPropertyValue('align-items');
/** Sets the value of "align-items" */
- set alignItems(String value) {
+ void set alignItems(String value) {
setProperty('align-items', value, '');
}
@@ -5862,7 +4443,7 @@ class CssStyleDeclarationBase {
getPropertyValue('align-self');
/** Sets the value of "align-self" */
- set alignSelf(String value) {
+ void set alignSelf(String value) {
setProperty('align-self', value, '');
}
@@ -5871,7 +4452,7 @@ class CssStyleDeclarationBase {
getPropertyValue('animation');
/** Sets the value of "animation" */
- set animation(String value) {
+ void set animation(String value) {
setProperty('animation', value, '');
}
@@ -5880,7 +4461,7 @@ class CssStyleDeclarationBase {
getPropertyValue('animation-delay');
/** Sets the value of "animation-delay" */
- set animationDelay(String value) {
+ void set animationDelay(String value) {
setProperty('animation-delay', value, '');
}
@@ -5889,7 +4470,7 @@ class CssStyleDeclarationBase {
getPropertyValue('animation-direction');
/** Sets the value of "animation-direction" */
- set animationDirection(String value) {
+ void set animationDirection(String value) {
setProperty('animation-direction', value, '');
}
@@ -5898,7 +4479,7 @@ class CssStyleDeclarationBase {
getPropertyValue('animation-duration');
/** Sets the value of "animation-duration" */
- set animationDuration(String value) {
+ void set animationDuration(String value) {
setProperty('animation-duration', value, '');
}
@@ -5907,7 +4488,7 @@ class CssStyleDeclarationBase {
getPropertyValue('animation-fill-mode');
/** Sets the value of "animation-fill-mode" */
- set animationFillMode(String value) {
+ void set animationFillMode(String value) {
setProperty('animation-fill-mode', value, '');
}
@@ -5916,7 +4497,7 @@ class CssStyleDeclarationBase {
getPropertyValue('animation-iteration-count');
/** Sets the value of "animation-iteration-count" */
- set animationIterationCount(String value) {
+ void set animationIterationCount(String value) {
setProperty('animation-iteration-count', value, '');
}
@@ -5925,7 +4506,7 @@ class CssStyleDeclarationBase {
getPropertyValue('animation-name');
/** Sets the value of "animation-name" */
- set animationName(String value) {
+ void set animationName(String value) {
setProperty('animation-name', value, '');
}
@@ -5934,7 +4515,7 @@ class CssStyleDeclarationBase {
getPropertyValue('animation-play-state');
/** Sets the value of "animation-play-state" */
- set animationPlayState(String value) {
+ void set animationPlayState(String value) {
setProperty('animation-play-state', value, '');
}
@@ -5943,7 +4524,7 @@ class CssStyleDeclarationBase {
getPropertyValue('animation-timing-function');
/** Sets the value of "animation-timing-function" */
- set animationTimingFunction(String value) {
+ void set animationTimingFunction(String value) {
setProperty('animation-timing-function', value, '');
}
@@ -5952,7 +4533,7 @@ class CssStyleDeclarationBase {
getPropertyValue('app-region');
/** Sets the value of "app-region" */
- set appRegion(String value) {
+ void set appRegion(String value) {
setProperty('app-region', value, '');
}
@@ -5961,7 +4542,7 @@ class CssStyleDeclarationBase {
getPropertyValue('appearance');
/** Sets the value of "appearance" */
- set appearance(String value) {
+ void set appearance(String value) {
setProperty('appearance', value, '');
}
@@ -5970,7 +4551,7 @@ class CssStyleDeclarationBase {
getPropertyValue('aspect-ratio');
/** Sets the value of "aspect-ratio" */
- set aspectRatio(String value) {
+ void set aspectRatio(String value) {
setProperty('aspect-ratio', value, '');
}
@@ -5979,7 +4560,7 @@ class CssStyleDeclarationBase {
getPropertyValue('backface-visibility');
/** Sets the value of "backface-visibility" */
- set backfaceVisibility(String value) {
+ void set backfaceVisibility(String value) {
setProperty('backface-visibility', value, '');
}
@@ -5988,7 +4569,7 @@ class CssStyleDeclarationBase {
getPropertyValue('background');
/** Sets the value of "background" */
- set background(String value) {
+ void set background(String value) {
setProperty('background', value, '');
}
@@ -5997,7 +4578,7 @@ class CssStyleDeclarationBase {
getPropertyValue('background-attachment');
/** Sets the value of "background-attachment" */
- set backgroundAttachment(String value) {
+ void set backgroundAttachment(String value) {
setProperty('background-attachment', value, '');
}
@@ -6006,7 +4587,7 @@ class CssStyleDeclarationBase {
getPropertyValue('background-blend-mode');
/** Sets the value of "background-blend-mode" */
- set backgroundBlendMode(String value) {
+ void set backgroundBlendMode(String value) {
setProperty('background-blend-mode', value, '');
}
@@ -6015,7 +4596,7 @@ class CssStyleDeclarationBase {
getPropertyValue('background-clip');
/** Sets the value of "background-clip" */
- set backgroundClip(String value) {
+ void set backgroundClip(String value) {
setProperty('background-clip', value, '');
}
@@ -6024,7 +4605,7 @@ class CssStyleDeclarationBase {
getPropertyValue('background-color');
/** Sets the value of "background-color" */
- set backgroundColor(String value) {
+ void set backgroundColor(String value) {
setProperty('background-color', value, '');
}
@@ -6033,7 +4614,7 @@ class CssStyleDeclarationBase {
getPropertyValue('background-composite');
/** Sets the value of "background-composite" */
- set backgroundComposite(String value) {
+ void set backgroundComposite(String value) {
setProperty('background-composite', value, '');
}
@@ -6042,7 +4623,7 @@ class CssStyleDeclarationBase {
getPropertyValue('background-image');
/** Sets the value of "background-image" */
- set backgroundImage(String value) {
+ void set backgroundImage(String value) {
setProperty('background-image', value, '');
}
@@ -6051,7 +4632,7 @@ class CssStyleDeclarationBase {
getPropertyValue('background-origin');
/** Sets the value of "background-origin" */
- set backgroundOrigin(String value) {
+ void set backgroundOrigin(String value) {
setProperty('background-origin', value, '');
}
@@ -6060,7 +4641,7 @@ class CssStyleDeclarationBase {
getPropertyValue('background-position');
/** Sets the value of "background-position" */
- set backgroundPosition(String value) {
+ void set backgroundPosition(String value) {
setProperty('background-position', value, '');
}
@@ -6069,7 +4650,7 @@ class CssStyleDeclarationBase {
getPropertyValue('background-position-x');
/** Sets the value of "background-position-x" */
- set backgroundPositionX(String value) {
+ void set backgroundPositionX(String value) {
setProperty('background-position-x', value, '');
}
@@ -6078,7 +4659,7 @@ class CssStyleDeclarationBase {
getPropertyValue('background-position-y');
/** Sets the value of "background-position-y" */
- set backgroundPositionY(String value) {
+ void set backgroundPositionY(String value) {
setProperty('background-position-y', value, '');
}
@@ -6087,7 +4668,7 @@ class CssStyleDeclarationBase {
getPropertyValue('background-repeat');
/** Sets the value of "background-repeat" */
- set backgroundRepeat(String value) {
+ void set backgroundRepeat(String value) {
setProperty('background-repeat', value, '');
}
@@ -6096,7 +4677,7 @@ class CssStyleDeclarationBase {
getPropertyValue('background-repeat-x');
/** Sets the value of "background-repeat-x" */
- set backgroundRepeatX(String value) {
+ void set backgroundRepeatX(String value) {
setProperty('background-repeat-x', value, '');
}
@@ -6105,7 +4686,7 @@ class CssStyleDeclarationBase {
getPropertyValue('background-repeat-y');
/** Sets the value of "background-repeat-y" */
- set backgroundRepeatY(String value) {
+ void set backgroundRepeatY(String value) {
setProperty('background-repeat-y', value, '');
}
@@ -6114,7 +4695,7 @@ class CssStyleDeclarationBase {
getPropertyValue('background-size');
/** Sets the value of "background-size" */
- set backgroundSize(String value) {
+ void set backgroundSize(String value) {
setProperty('background-size', value, '');
}
@@ -6123,7 +4704,7 @@ class CssStyleDeclarationBase {
getPropertyValue('border');
/** Sets the value of "border" */
- set border(String value) {
+ void set border(String value) {
setProperty('border', value, '');
}
@@ -6132,7 +4713,7 @@ class CssStyleDeclarationBase {
getPropertyValue('border-after');
/** Sets the value of "border-after" */
- set borderAfter(String value) {
+ void set borderAfter(String value) {
setProperty('border-after', value, '');
}
@@ -6141,7 +4722,7 @@ class CssStyleDeclarationBase {
getPropertyValue('border-after-color');
/** Sets the value of "border-after-color" */
- set borderAfterColor(String value) {
+ void set borderAfterColor(String value) {
setProperty('border-after-color', value, '');
}
@@ -6150,7 +4731,7 @@ class CssStyleDeclarationBase {
getPropertyValue('border-after-style');
/** Sets the value of "border-after-style" */
- set borderAfterStyle(String value) {
+ void set borderAfterStyle(String value) {
setProperty('border-after-style', value, '');
}
@@ -6159,7 +4740,7 @@ class CssStyleDeclarationBase {
getPropertyValue('border-after-width');
/** Sets the value of "border-after-width" */
- set borderAfterWidth(String value) {
+ void set borderAfterWidth(String value) {
setProperty('border-after-width', value, '');
}
@@ -6168,7 +4749,7 @@ class CssStyleDeclarationBase {
getPropertyValue('border-before');
/** Sets the value of "border-before" */
- set borderBefore(String value) {
+ void set borderBefore(String value) {
setProperty('border-before', value, '');
}
@@ -6177,7 +4758,7 @@ class CssStyleDeclarationBase {
getPropertyValue('border-before-color');
/** Sets the value of "border-before-color" */
- set borderBeforeColor(String value) {
+ void set borderBeforeColor(String value) {
setProperty('border-before-color', value, '');
}
@@ -6186,7 +4767,7 @@ class CssStyleDeclarationBase {
getPropertyValue('border-before-style');
/** Sets the value of "border-before-style" */
- set borderBeforeStyle(String value) {
+ void set borderBeforeStyle(String value) {
setProperty('border-before-style', value, '');
}
@@ -6195,7 +4776,7 @@ class CssStyleDeclarationBase {
getPropertyValue('border-before-width');
/** Sets the value of "border-before-width" */
- set borderBeforeWidth(String value) {
+ void set borderBeforeWidth(String value) {
setProperty('border-before-width', value, '');
}
@@ -6204,7 +4785,7 @@ class CssStyleDeclarationBase {
getPropertyValue('border-bottom');
/** Sets the value of "border-bottom" */
- set borderBottom(String value) {
+ void set borderBottom(String value) {
setProperty('border-bottom', value, '');
}
@@ -6213,7 +4794,7 @@ class CssStyleDeclarationBase {
getPropertyValue('border-bottom-color');
/** Sets the value of "border-bottom-color" */
- set borderBottomColor(String value) {
+ void set borderBottomColor(String value) {
setProperty('border-bottom-color', value, '');
}
@@ -6222,7 +4803,7 @@ class CssStyleDeclarationBase {
getPropertyValue('border-bottom-left-radius');
/** Sets the value of "border-bottom-left-radius" */
- set borderBottomLeftRadius(String value) {
+ void set borderBottomLeftRadius(String value) {
setProperty('border-bottom-left-radius', value, '');
}
@@ -6231,7 +4812,7 @@ class CssStyleDeclarationBase {
getPropertyValue('border-bottom-right-radius');
/** Sets the value of "border-bottom-right-radius" */
- set borderBottomRightRadius(String value) {
+ void set borderBottomRightRadius(String value) {
setProperty('border-bottom-right-radius', value, '');
}
@@ -6240,7 +4821,7 @@ class CssStyleDeclarationBase {
getPropertyValue('border-bottom-style');
/** Sets the value of "border-bottom-style" */
- set borderBottomStyle(String value) {
+ void set borderBottomStyle(String value) {
setProperty('border-bottom-style', value, '');
}
@@ -6249,7 +4830,7 @@ class CssStyleDeclarationBase {
getPropertyValue('border-bottom-width');
/** Sets the value of "border-bottom-width" */
- set borderBottomWidth(String value) {
+ void set borderBottomWidth(String value) {
setProperty('border-bottom-width', value, '');
}
@@ -6258,7 +4839,7 @@ class CssStyleDeclarationBase {
getPropertyValue('border-collapse');
/** Sets the value of "border-collapse" */
- set borderCollapse(String value) {
+ void set borderCollapse(String value) {
setProperty('border-collapse', value, '');
}
@@ -6267,7 +4848,7 @@ class CssStyleDeclarationBase {
getPropertyValue('border-color');
/** Sets the value of "border-color" */
- set borderColor(String value) {
+ void set borderColor(String value) {
setProperty('border-color', value, '');
}
@@ -6276,7 +4857,7 @@ class CssStyleDeclarationBase {
getPropertyValue('border-end');
/** Sets the value of "border-end" */
- set borderEnd(String value) {
+ void set borderEnd(String value) {
setProperty('border-end', value, '');
}
@@ -6285,7 +4866,7 @@ class CssStyleDeclarationBase {
getPropertyValue('border-end-color');
/** Sets the value of "border-end-color" */
- set borderEndColor(String value) {
+ void set borderEndColor(String value) {
setProperty('border-end-color', value, '');
}
@@ -6294,7 +4875,7 @@ class CssStyleDeclarationBase {
getPropertyValue('border-end-style');
/** Sets the value of "border-end-style" */
- set borderEndStyle(String value) {
+ void set borderEndStyle(String value) {
setProperty('border-end-style', value, '');
}
@@ -6303,7 +4884,7 @@ class CssStyleDeclarationBase {
getPropertyValue('border-end-width');
/** Sets the value of "border-end-width" */
- set borderEndWidth(String value) {
+ void set borderEndWidth(String value) {
setProperty('border-end-width', value, '');
}
@@ -6312,7 +4893,7 @@ class CssStyleDeclarationBase {
getPropertyValue('border-fit');
/** Sets the value of "border-fit" */
- set borderFit(String value) {
+ void set borderFit(String value) {
setProperty('border-fit', value, '');
}
@@ -6321,7 +4902,7 @@ class CssStyleDeclarationBase {
getPropertyValue('border-horizontal-spacing');
/** Sets the value of "border-horizontal-spacing" */
- set borderHorizontalSpacing(String value) {
+ void set borderHorizontalSpacing(String value) {
setProperty('border-horizontal-spacing', value, '');
}
@@ -6330,7 +4911,7 @@ class CssStyleDeclarationBase {
getPropertyValue('border-image');
/** Sets the value of "border-image" */
- set borderImage(String value) {
+ void set borderImage(String value) {
setProperty('border-image', value, '');
}
@@ -6339,7 +4920,7 @@ class CssStyleDeclarationBase {
getPropertyValue('border-image-outset');
/** Sets the value of "border-image-outset" */
- set borderImageOutset(String value) {
+ void set borderImageOutset(String value) {
setProperty('border-image-outset', value, '');
}
@@ -6348,7 +4929,7 @@ class CssStyleDeclarationBase {
getPropertyValue('border-image-repeat');
/** Sets the value of "border-image-repeat" */
- set borderImageRepeat(String value) {
+ void set borderImageRepeat(String value) {
setProperty('border-image-repeat', value, '');
}
@@ -6357,7 +4938,7 @@ class CssStyleDeclarationBase {
getPropertyValue('border-image-slice');
/** Sets the value of "border-image-slice" */
- set borderImageSlice(String value) {
+ void set borderImageSlice(String value) {
setProperty('border-image-slice', value, '');
}
@@ -6366,7 +4947,7 @@ class CssStyleDeclarationBase {
getPropertyValue('border-image-source');
/** Sets the value of "border-image-source" */
- set borderImageSource(String value) {
+ void set borderImageSource(String value) {
setProperty('border-image-source', value, '');
}
@@ -6375,7 +4956,7 @@ class CssStyleDeclarationBase {
getPropertyValue('border-image-width');
/** Sets the value of "border-image-width" */
- set borderImageWidth(String value) {
+ void set borderImageWidth(String value) {
setProperty('border-image-width', value, '');
}
@@ -6384,7 +4965,7 @@ class CssStyleDeclarationBase {
getPropertyValue('border-left');
/** Sets the value of "border-left" */
- set borderLeft(String value) {
+ void set borderLeft(String value) {
setProperty('border-left', value, '');
}
@@ -6393,7 +4974,7 @@ class CssStyleDeclarationBase {
getPropertyValue('border-left-color');
/** Sets the value of "border-left-color" */
- set borderLeftColor(String value) {
+ void set borderLeftColor(String value) {
setProperty('border-left-color', value, '');
}
@@ -6402,7 +4983,7 @@ class CssStyleDeclarationBase {
getPropertyValue('border-left-style');
/** Sets the value of "border-left-style" */
- set borderLeftStyle(String value) {
+ void set borderLeftStyle(String value) {
setProperty('border-left-style', value, '');
}
@@ -6411,7 +4992,7 @@ class CssStyleDeclarationBase {
getPropertyValue('border-left-width');
/** Sets the value of "border-left-width" */
- set borderLeftWidth(String value) {
+ void set borderLeftWidth(String value) {
setProperty('border-left-width', value, '');
}
@@ -6420,7 +5001,7 @@ class CssStyleDeclarationBase {
getPropertyValue('border-radius');
/** Sets the value of "border-radius" */
- set borderRadius(String value) {
+ void set borderRadius(String value) {
setProperty('border-radius', value, '');
}
@@ -6429,7 +5010,7 @@ class CssStyleDeclarationBase {
getPropertyValue('border-right');
/** Sets the value of "border-right" */
- set borderRight(String value) {
+ void set borderRight(String value) {
setProperty('border-right', value, '');
}
@@ -6438,7 +5019,7 @@ class CssStyleDeclarationBase {
getPropertyValue('border-right-color');
/** Sets the value of "border-right-color" */
- set borderRightColor(String value) {
+ void set borderRightColor(String value) {
setProperty('border-right-color', value, '');
}
@@ -6447,7 +5028,7 @@ class CssStyleDeclarationBase {
getPropertyValue('border-right-style');
/** Sets the value of "border-right-style" */
- set borderRightStyle(String value) {
+ void set borderRightStyle(String value) {
setProperty('border-right-style', value, '');
}
@@ -6456,7 +5037,7 @@ class CssStyleDeclarationBase {
getPropertyValue('border-right-width');
/** Sets the value of "border-right-width" */
- set borderRightWidth(String value) {
+ void set borderRightWidth(String value) {
setProperty('border-right-width', value, '');
}
@@ -6465,7 +5046,7 @@ class CssStyleDeclarationBase {
getPropertyValue('border-spacing');
/** Sets the value of "border-spacing" */
- set borderSpacing(String value) {
+ void set borderSpacing(String value) {
setProperty('border-spacing', value, '');
}
@@ -6474,7 +5055,7 @@ class CssStyleDeclarationBase {
getPropertyValue('border-start');
/** Sets the value of "border-start" */
- set borderStart(String value) {
+ void set borderStart(String value) {
setProperty('border-start', value, '');
}
@@ -6483,7 +5064,7 @@ class CssStyleDeclarationBase {
getPropertyValue('border-start-color');
/** Sets the value of "border-start-color" */
- set borderStartColor(String value) {
+ void set borderStartColor(String value) {
setProperty('border-start-color', value, '');
}
@@ -6492,7 +5073,7 @@ class CssStyleDeclarationBase {
getPropertyValue('border-start-style');
/** Sets the value of "border-start-style" */
- set borderStartStyle(String value) {
+ void set borderStartStyle(String value) {
setProperty('border-start-style', value, '');
}
@@ -6501,7 +5082,7 @@ class CssStyleDeclarationBase {
getPropertyValue('border-start-width');
/** Sets the value of "border-start-width" */
- set borderStartWidth(String value) {
+ void set borderStartWidth(String value) {
setProperty('border-start-width', value, '');
}
@@ -6510,7 +5091,7 @@ class CssStyleDeclarationBase {
getPropertyValue('border-style');
/** Sets the value of "border-style" */
- set borderStyle(String value) {
+ void set borderStyle(String value) {
setProperty('border-style', value, '');
}
@@ -6519,7 +5100,7 @@ class CssStyleDeclarationBase {
getPropertyValue('border-top');
/** Sets the value of "border-top" */
- set borderTop(String value) {
+ void set borderTop(String value) {
setProperty('border-top', value, '');
}
@@ -6528,7 +5109,7 @@ class CssStyleDeclarationBase {
getPropertyValue('border-top-color');
/** Sets the value of "border-top-color" */
- set borderTopColor(String value) {
+ void set borderTopColor(String value) {
setProperty('border-top-color', value, '');
}
@@ -6537,7 +5118,7 @@ class CssStyleDeclarationBase {
getPropertyValue('border-top-left-radius');
/** Sets the value of "border-top-left-radius" */
- set borderTopLeftRadius(String value) {
+ void set borderTopLeftRadius(String value) {
setProperty('border-top-left-radius', value, '');
}
@@ -6546,7 +5127,7 @@ class CssStyleDeclarationBase {
getPropertyValue('border-top-right-radius');
/** Sets the value of "border-top-right-radius" */
- set borderTopRightRadius(String value) {
+ void set borderTopRightRadius(String value) {
setProperty('border-top-right-radius', value, '');
}
@@ -6555,7 +5136,7 @@ class CssStyleDeclarationBase {
getPropertyValue('border-top-style');
/** Sets the value of "border-top-style" */
- set borderTopStyle(String value) {
+ void set borderTopStyle(String value) {
setProperty('border-top-style', value, '');
}
@@ -6564,7 +5145,7 @@ class CssStyleDeclarationBase {
getPropertyValue('border-top-width');
/** Sets the value of "border-top-width" */
- set borderTopWidth(String value) {
+ void set borderTopWidth(String value) {
setProperty('border-top-width', value, '');
}
@@ -6573,7 +5154,7 @@ class CssStyleDeclarationBase {
getPropertyValue('border-vertical-spacing');
/** Sets the value of "border-vertical-spacing" */
- set borderVerticalSpacing(String value) {
+ void set borderVerticalSpacing(String value) {
setProperty('border-vertical-spacing', value, '');
}
@@ -6582,7 +5163,7 @@ class CssStyleDeclarationBase {
getPropertyValue('border-width');
/** Sets the value of "border-width" */
- set borderWidth(String value) {
+ void set borderWidth(String value) {
setProperty('border-width', value, '');
}
@@ -6591,7 +5172,7 @@ class CssStyleDeclarationBase {
getPropertyValue('bottom');
/** Sets the value of "bottom" */
- set bottom(String value) {
+ void set bottom(String value) {
setProperty('bottom', value, '');
}
@@ -6600,7 +5181,7 @@ class CssStyleDeclarationBase {
getPropertyValue('box-align');
/** Sets the value of "box-align" */
- set boxAlign(String value) {
+ void set boxAlign(String value) {
setProperty('box-align', value, '');
}
@@ -6609,7 +5190,7 @@ class CssStyleDeclarationBase {
getPropertyValue('box-decoration-break');
/** Sets the value of "box-decoration-break" */
- set boxDecorationBreak(String value) {
+ void set boxDecorationBreak(String value) {
setProperty('box-decoration-break', value, '');
}
@@ -6618,7 +5199,7 @@ class CssStyleDeclarationBase {
getPropertyValue('box-direction');
/** Sets the value of "box-direction" */
- set boxDirection(String value) {
+ void set boxDirection(String value) {
setProperty('box-direction', value, '');
}
@@ -6627,7 +5208,7 @@ class CssStyleDeclarationBase {
getPropertyValue('box-flex');
/** Sets the value of "box-flex" */
- set boxFlex(String value) {
+ void set boxFlex(String value) {
setProperty('box-flex', value, '');
}
@@ -6636,7 +5217,7 @@ class CssStyleDeclarationBase {
getPropertyValue('box-flex-group');
/** Sets the value of "box-flex-group" */
- set boxFlexGroup(String value) {
+ void set boxFlexGroup(String value) {
setProperty('box-flex-group', value, '');
}
@@ -6645,7 +5226,7 @@ class CssStyleDeclarationBase {
getPropertyValue('box-lines');
/** Sets the value of "box-lines" */
- set boxLines(String value) {
+ void set boxLines(String value) {
setProperty('box-lines', value, '');
}
@@ -6654,7 +5235,7 @@ class CssStyleDeclarationBase {
getPropertyValue('box-ordinal-group');
/** Sets the value of "box-ordinal-group" */
- set boxOrdinalGroup(String value) {
+ void set boxOrdinalGroup(String value) {
setProperty('box-ordinal-group', value, '');
}
@@ -6663,7 +5244,7 @@ class CssStyleDeclarationBase {
getPropertyValue('box-orient');
/** Sets the value of "box-orient" */
- set boxOrient(String value) {
+ void set boxOrient(String value) {
setProperty('box-orient', value, '');
}
@@ -6672,7 +5253,7 @@ class CssStyleDeclarationBase {
getPropertyValue('box-pack');
/** Sets the value of "box-pack" */
- set boxPack(String value) {
+ void set boxPack(String value) {
setProperty('box-pack', value, '');
}
@@ -6681,7 +5262,7 @@ class CssStyleDeclarationBase {
getPropertyValue('box-reflect');
/** Sets the value of "box-reflect" */
- set boxReflect(String value) {
+ void set boxReflect(String value) {
setProperty('box-reflect', value, '');
}
@@ -6690,7 +5271,7 @@ class CssStyleDeclarationBase {
getPropertyValue('box-shadow');
/** Sets the value of "box-shadow" */
- set boxShadow(String value) {
+ void set boxShadow(String value) {
setProperty('box-shadow', value, '');
}
@@ -6699,7 +5280,7 @@ class CssStyleDeclarationBase {
getPropertyValue('box-sizing');
/** Sets the value of "box-sizing" */
- set boxSizing(String value) {
+ void set boxSizing(String value) {
setProperty('box-sizing', value, '');
}
@@ -6708,7 +5289,7 @@ class CssStyleDeclarationBase {
getPropertyValue('caption-side');
/** Sets the value of "caption-side" */
- set captionSide(String value) {
+ void set captionSide(String value) {
setProperty('caption-side', value, '');
}
@@ -6717,7 +5298,7 @@ class CssStyleDeclarationBase {
getPropertyValue('clear');
/** Sets the value of "clear" */
- set clear(String value) {
+ void set clear(String value) {
setProperty('clear', value, '');
}
@@ -6726,7 +5307,7 @@ class CssStyleDeclarationBase {
getPropertyValue('clip');
/** Sets the value of "clip" */
- set clip(String value) {
+ void set clip(String value) {
setProperty('clip', value, '');
}
@@ -6735,7 +5316,7 @@ class CssStyleDeclarationBase {
getPropertyValue('clip-path');
/** Sets the value of "clip-path" */
- set clipPath(String value) {
+ void set clipPath(String value) {
setProperty('clip-path', value, '');
}
@@ -6744,7 +5325,7 @@ class CssStyleDeclarationBase {
getPropertyValue('color');
/** Sets the value of "color" */
- set color(String value) {
+ void set color(String value) {
setProperty('color', value, '');
}
@@ -6753,7 +5334,7 @@ class CssStyleDeclarationBase {
getPropertyValue('column-break-after');
/** Sets the value of "column-break-after" */
- set columnBreakAfter(String value) {
+ void set columnBreakAfter(String value) {
setProperty('column-break-after', value, '');
}
@@ -6762,7 +5343,7 @@ class CssStyleDeclarationBase {
getPropertyValue('column-break-before');
/** Sets the value of "column-break-before" */
- set columnBreakBefore(String value) {
+ void set columnBreakBefore(String value) {
setProperty('column-break-before', value, '');
}
@@ -6771,7 +5352,7 @@ class CssStyleDeclarationBase {
getPropertyValue('column-break-inside');
/** Sets the value of "column-break-inside" */
- set columnBreakInside(String value) {
+ void set columnBreakInside(String value) {
setProperty('column-break-inside', value, '');
}
@@ -6780,7 +5361,7 @@ class CssStyleDeclarationBase {
getPropertyValue('column-count');
/** Sets the value of "column-count" */
- set columnCount(String value) {
+ void set columnCount(String value) {
setProperty('column-count', value, '');
}
@@ -6789,7 +5370,7 @@ class CssStyleDeclarationBase {
getPropertyValue('column-fill');
/** Sets the value of "column-fill" */
- set columnFill(String value) {
+ void set columnFill(String value) {
setProperty('column-fill', value, '');
}
@@ -6798,7 +5379,7 @@ class CssStyleDeclarationBase {
getPropertyValue('column-gap');
/** Sets the value of "column-gap" */
- set columnGap(String value) {
+ void set columnGap(String value) {
setProperty('column-gap', value, '');
}
@@ -6807,7 +5388,7 @@ class CssStyleDeclarationBase {
getPropertyValue('column-rule');
/** Sets the value of "column-rule" */
- set columnRule(String value) {
+ void set columnRule(String value) {
setProperty('column-rule', value, '');
}
@@ -6816,7 +5397,7 @@ class CssStyleDeclarationBase {
getPropertyValue('column-rule-color');
/** Sets the value of "column-rule-color" */
- set columnRuleColor(String value) {
+ void set columnRuleColor(String value) {
setProperty('column-rule-color', value, '');
}
@@ -6825,7 +5406,7 @@ class CssStyleDeclarationBase {
getPropertyValue('column-rule-style');
/** Sets the value of "column-rule-style" */
- set columnRuleStyle(String value) {
+ void set columnRuleStyle(String value) {
setProperty('column-rule-style', value, '');
}
@@ -6834,7 +5415,7 @@ class CssStyleDeclarationBase {
getPropertyValue('column-rule-width');
/** Sets the value of "column-rule-width" */
- set columnRuleWidth(String value) {
+ void set columnRuleWidth(String value) {
setProperty('column-rule-width', value, '');
}
@@ -6843,7 +5424,7 @@ class CssStyleDeclarationBase {
getPropertyValue('column-span');
/** Sets the value of "column-span" */
- set columnSpan(String value) {
+ void set columnSpan(String value) {
setProperty('column-span', value, '');
}
@@ -6852,7 +5433,7 @@ class CssStyleDeclarationBase {
getPropertyValue('column-width');
/** Sets the value of "column-width" */
- set columnWidth(String value) {
+ void set columnWidth(String value) {
setProperty('column-width', value, '');
}
@@ -6861,7 +5442,7 @@ class CssStyleDeclarationBase {
getPropertyValue('columns');
/** Sets the value of "columns" */
- set columns(String value) {
+ void set columns(String value) {
setProperty('columns', value, '');
}
@@ -6870,7 +5451,7 @@ class CssStyleDeclarationBase {
getPropertyValue('content');
/** Sets the value of "content" */
- set content(String value) {
+ void set content(String value) {
setProperty('content', value, '');
}
@@ -6879,7 +5460,7 @@ class CssStyleDeclarationBase {
getPropertyValue('counter-increment');
/** Sets the value of "counter-increment" */
- set counterIncrement(String value) {
+ void set counterIncrement(String value) {
setProperty('counter-increment', value, '');
}
@@ -6888,7 +5469,7 @@ class CssStyleDeclarationBase {
getPropertyValue('counter-reset');
/** Sets the value of "counter-reset" */
- set counterReset(String value) {
+ void set counterReset(String value) {
setProperty('counter-reset', value, '');
}
@@ -6897,7 +5478,7 @@ class CssStyleDeclarationBase {
getPropertyValue('cursor');
/** Sets the value of "cursor" */
- set cursor(String value) {
+ void set cursor(String value) {
setProperty('cursor', value, '');
}
@@ -6906,7 +5487,7 @@ class CssStyleDeclarationBase {
getPropertyValue('direction');
/** Sets the value of "direction" */
- set direction(String value) {
+ void set direction(String value) {
setProperty('direction', value, '');
}
@@ -6915,7 +5496,7 @@ class CssStyleDeclarationBase {
getPropertyValue('display');
/** Sets the value of "display" */
- set display(String value) {
+ void set display(String value) {
setProperty('display', value, '');
}
@@ -6924,7 +5505,7 @@ class CssStyleDeclarationBase {
getPropertyValue('empty-cells');
/** Sets the value of "empty-cells" */
- set emptyCells(String value) {
+ void set emptyCells(String value) {
setProperty('empty-cells', value, '');
}
@@ -6933,7 +5514,7 @@ class CssStyleDeclarationBase {
getPropertyValue('filter');
/** Sets the value of "filter" */
- set filter(String value) {
+ void set filter(String value) {
setProperty('filter', value, '');
}
@@ -6942,7 +5523,7 @@ class CssStyleDeclarationBase {
getPropertyValue('flex');
/** Sets the value of "flex" */
- set flex(String value) {
+ void set flex(String value) {
setProperty('flex', value, '');
}
@@ -6951,7 +5532,7 @@ class CssStyleDeclarationBase {
getPropertyValue('flex-basis');
/** Sets the value of "flex-basis" */
- set flexBasis(String value) {
+ void set flexBasis(String value) {
setProperty('flex-basis', value, '');
}
@@ -6960,7 +5541,7 @@ class CssStyleDeclarationBase {
getPropertyValue('flex-direction');
/** Sets the value of "flex-direction" */
- set flexDirection(String value) {
+ void set flexDirection(String value) {
setProperty('flex-direction', value, '');
}
@@ -6969,7 +5550,7 @@ class CssStyleDeclarationBase {
getPropertyValue('flex-flow');
/** Sets the value of "flex-flow" */
- set flexFlow(String value) {
+ void set flexFlow(String value) {
setProperty('flex-flow', value, '');
}
@@ -6978,7 +5559,7 @@ class CssStyleDeclarationBase {
getPropertyValue('flex-grow');
/** Sets the value of "flex-grow" */
- set flexGrow(String value) {
+ void set flexGrow(String value) {
setProperty('flex-grow', value, '');
}
@@ -6987,7 +5568,7 @@ class CssStyleDeclarationBase {
getPropertyValue('flex-shrink');
/** Sets the value of "flex-shrink" */
- set flexShrink(String value) {
+ void set flexShrink(String value) {
setProperty('flex-shrink', value, '');
}
@@ -6996,7 +5577,7 @@ class CssStyleDeclarationBase {
getPropertyValue('flex-wrap');
/** Sets the value of "flex-wrap" */
- set flexWrap(String value) {
+ void set flexWrap(String value) {
setProperty('flex-wrap', value, '');
}
@@ -7005,7 +5586,7 @@ class CssStyleDeclarationBase {
getPropertyValue('float');
/** Sets the value of "float" */
- set float(String value) {
+ void set float(String value) {
setProperty('float', value, '');
}
@@ -7014,7 +5595,7 @@ class CssStyleDeclarationBase {
getPropertyValue('font');
/** Sets the value of "font" */
- set font(String value) {
+ void set font(String value) {
setProperty('font', value, '');
}
@@ -7023,7 +5604,7 @@ class CssStyleDeclarationBase {
getPropertyValue('font-family');
/** Sets the value of "font-family" */
- set fontFamily(String value) {
+ void set fontFamily(String value) {
setProperty('font-family', value, '');
}
@@ -7032,7 +5613,7 @@ class CssStyleDeclarationBase {
getPropertyValue('font-feature-settings');
/** Sets the value of "font-feature-settings" */
- set fontFeatureSettings(String value) {
+ void set fontFeatureSettings(String value) {
setProperty('font-feature-settings', value, '');
}
@@ -7041,7 +5622,7 @@ class CssStyleDeclarationBase {
getPropertyValue('font-kerning');
/** Sets the value of "font-kerning" */
- set fontKerning(String value) {
+ void set fontKerning(String value) {
setProperty('font-kerning', value, '');
}
@@ -7050,7 +5631,7 @@ class CssStyleDeclarationBase {
getPropertyValue('font-size');
/** Sets the value of "font-size" */
- set fontSize(String value) {
+ void set fontSize(String value) {
setProperty('font-size', value, '');
}
@@ -7059,7 +5640,7 @@ class CssStyleDeclarationBase {
getPropertyValue('font-size-delta');
/** Sets the value of "font-size-delta" */
- set fontSizeDelta(String value) {
+ void set fontSizeDelta(String value) {
setProperty('font-size-delta', value, '');
}
@@ -7068,7 +5649,7 @@ class CssStyleDeclarationBase {
getPropertyValue('font-smoothing');
/** Sets the value of "font-smoothing" */
- set fontSmoothing(String value) {
+ void set fontSmoothing(String value) {
setProperty('font-smoothing', value, '');
}
@@ -7077,7 +5658,7 @@ class CssStyleDeclarationBase {
getPropertyValue('font-stretch');
/** Sets the value of "font-stretch" */
- set fontStretch(String value) {
+ void set fontStretch(String value) {
setProperty('font-stretch', value, '');
}
@@ -7086,7 +5667,7 @@ class CssStyleDeclarationBase {
getPropertyValue('font-style');
/** Sets the value of "font-style" */
- set fontStyle(String value) {
+ void set fontStyle(String value) {
setProperty('font-style', value, '');
}
@@ -7095,7 +5676,7 @@ class CssStyleDeclarationBase {
getPropertyValue('font-variant');
/** Sets the value of "font-variant" */
- set fontVariant(String value) {
+ void set fontVariant(String value) {
setProperty('font-variant', value, '');
}
@@ -7104,7 +5685,7 @@ class CssStyleDeclarationBase {
getPropertyValue('font-variant-ligatures');
/** Sets the value of "font-variant-ligatures" */
- set fontVariantLigatures(String value) {
+ void set fontVariantLigatures(String value) {
setProperty('font-variant-ligatures', value, '');
}
@@ -7113,7 +5694,7 @@ class CssStyleDeclarationBase {
getPropertyValue('font-weight');
/** Sets the value of "font-weight" */
- set fontWeight(String value) {
+ void set fontWeight(String value) {
setProperty('font-weight', value, '');
}
@@ -7122,7 +5703,7 @@ class CssStyleDeclarationBase {
getPropertyValue('grid');
/** Sets the value of "grid" */
- set grid(String value) {
+ void set grid(String value) {
setProperty('grid', value, '');
}
@@ -7131,7 +5712,7 @@ class CssStyleDeclarationBase {
getPropertyValue('grid-area');
/** Sets the value of "grid-area" */
- set gridArea(String value) {
+ void set gridArea(String value) {
setProperty('grid-area', value, '');
}
@@ -7140,7 +5721,7 @@ class CssStyleDeclarationBase {
getPropertyValue('grid-auto-columns');
/** Sets the value of "grid-auto-columns" */
- set gridAutoColumns(String value) {
+ void set gridAutoColumns(String value) {
setProperty('grid-auto-columns', value, '');
}
@@ -7149,7 +5730,7 @@ class CssStyleDeclarationBase {
getPropertyValue('grid-auto-flow');
/** Sets the value of "grid-auto-flow" */
- set gridAutoFlow(String value) {
+ void set gridAutoFlow(String value) {
setProperty('grid-auto-flow', value, '');
}
@@ -7158,7 +5739,7 @@ class CssStyleDeclarationBase {
getPropertyValue('grid-auto-rows');
/** Sets the value of "grid-auto-rows" */
- set gridAutoRows(String value) {
+ void set gridAutoRows(String value) {
setProperty('grid-auto-rows', value, '');
}
@@ -7167,7 +5748,7 @@ class CssStyleDeclarationBase {
getPropertyValue('grid-column');
/** Sets the value of "grid-column" */
- set gridColumn(String value) {
+ void set gridColumn(String value) {
setProperty('grid-column', value, '');
}
@@ -7176,7 +5757,7 @@ class CssStyleDeclarationBase {
getPropertyValue('grid-column-end');
/** Sets the value of "grid-column-end" */
- set gridColumnEnd(String value) {
+ void set gridColumnEnd(String value) {
setProperty('grid-column-end', value, '');
}
@@ -7185,7 +5766,7 @@ class CssStyleDeclarationBase {
getPropertyValue('grid-column-start');
/** Sets the value of "grid-column-start" */
- set gridColumnStart(String value) {
+ void set gridColumnStart(String value) {
setProperty('grid-column-start', value, '');
}
@@ -7194,7 +5775,7 @@ class CssStyleDeclarationBase {
getPropertyValue('grid-row');
/** Sets the value of "grid-row" */
- set gridRow(String value) {
+ void set gridRow(String value) {
setProperty('grid-row', value, '');
}
@@ -7203,7 +5784,7 @@ class CssStyleDeclarationBase {
getPropertyValue('grid-row-end');
/** Sets the value of "grid-row-end" */
- set gridRowEnd(String value) {
+ void set gridRowEnd(String value) {
setProperty('grid-row-end', value, '');
}
@@ -7212,7 +5793,7 @@ class CssStyleDeclarationBase {
getPropertyValue('grid-row-start');
/** Sets the value of "grid-row-start" */
- set gridRowStart(String value) {
+ void set gridRowStart(String value) {
setProperty('grid-row-start', value, '');
}
@@ -7221,7 +5802,7 @@ class CssStyleDeclarationBase {
getPropertyValue('grid-template');
/** Sets the value of "grid-template" */
- set gridTemplate(String value) {
+ void set gridTemplate(String value) {
setProperty('grid-template', value, '');
}
@@ -7230,7 +5811,7 @@ class CssStyleDeclarationBase {
getPropertyValue('grid-template-areas');
/** Sets the value of "grid-template-areas" */
- set gridTemplateAreas(String value) {
+ void set gridTemplateAreas(String value) {
setProperty('grid-template-areas', value, '');
}
@@ -7239,7 +5820,7 @@ class CssStyleDeclarationBase {
getPropertyValue('grid-template-columns');
/** Sets the value of "grid-template-columns" */
- set gridTemplateColumns(String value) {
+ void set gridTemplateColumns(String value) {
setProperty('grid-template-columns', value, '');
}
@@ -7248,7 +5829,7 @@ class CssStyleDeclarationBase {
getPropertyValue('grid-template-rows');
/** Sets the value of "grid-template-rows" */
- set gridTemplateRows(String value) {
+ void set gridTemplateRows(String value) {
setProperty('grid-template-rows', value, '');
}
@@ -7257,7 +5838,7 @@ class CssStyleDeclarationBase {
getPropertyValue('height');
/** Sets the value of "height" */
- set height(String value) {
+ void set height(String value) {
setProperty('height', value, '');
}
@@ -7266,7 +5847,7 @@ class CssStyleDeclarationBase {
getPropertyValue('highlight');
/** Sets the value of "highlight" */
- set highlight(String value) {
+ void set highlight(String value) {
setProperty('highlight', value, '');
}
@@ -7275,7 +5856,7 @@ class CssStyleDeclarationBase {
getPropertyValue('hyphenate-character');
/** Sets the value of "hyphenate-character" */
- set hyphenateCharacter(String value) {
+ void set hyphenateCharacter(String value) {
setProperty('hyphenate-character', value, '');
}
@@ -7284,7 +5865,7 @@ class CssStyleDeclarationBase {
getPropertyValue('image-rendering');
/** Sets the value of "image-rendering" */
- set imageRendering(String value) {
+ void set imageRendering(String value) {
setProperty('image-rendering', value, '');
}
@@ -7293,7 +5874,7 @@ class CssStyleDeclarationBase {
getPropertyValue('isolation');
/** Sets the value of "isolation" */
- set isolation(String value) {
+ void set isolation(String value) {
setProperty('isolation', value, '');
}
@@ -7302,7 +5883,7 @@ class CssStyleDeclarationBase {
getPropertyValue('justify-content');
/** Sets the value of "justify-content" */
- set justifyContent(String value) {
+ void set justifyContent(String value) {
setProperty('justify-content', value, '');
}
@@ -7311,7 +5892,7 @@ class CssStyleDeclarationBase {
getPropertyValue('justify-self');
/** Sets the value of "justify-self" */
- set justifySelf(String value) {
+ void set justifySelf(String value) {
setProperty('justify-self', value, '');
}
@@ -7320,7 +5901,7 @@ class CssStyleDeclarationBase {
getPropertyValue('left');
/** Sets the value of "left" */
- set left(String value) {
+ void set left(String value) {
setProperty('left', value, '');
}
@@ -7329,7 +5910,7 @@ class CssStyleDeclarationBase {
getPropertyValue('letter-spacing');
/** Sets the value of "letter-spacing" */
- set letterSpacing(String value) {
+ void set letterSpacing(String value) {
setProperty('letter-spacing', value, '');
}
@@ -7338,7 +5919,7 @@ class CssStyleDeclarationBase {
getPropertyValue('line-box-contain');
/** Sets the value of "line-box-contain" */
- set lineBoxContain(String value) {
+ void set lineBoxContain(String value) {
setProperty('line-box-contain', value, '');
}
@@ -7347,7 +5928,7 @@ class CssStyleDeclarationBase {
getPropertyValue('line-break');
/** Sets the value of "line-break" */
- set lineBreak(String value) {
+ void set lineBreak(String value) {
setProperty('line-break', value, '');
}
@@ -7356,7 +5937,7 @@ class CssStyleDeclarationBase {
getPropertyValue('line-clamp');
/** Sets the value of "line-clamp" */
- set lineClamp(String value) {
+ void set lineClamp(String value) {
setProperty('line-clamp', value, '');
}
@@ -7365,7 +5946,7 @@ class CssStyleDeclarationBase {
getPropertyValue('line-height');
/** Sets the value of "line-height" */
- set lineHeight(String value) {
+ void set lineHeight(String value) {
setProperty('line-height', value, '');
}
@@ -7374,7 +5955,7 @@ class CssStyleDeclarationBase {
getPropertyValue('list-style');
/** Sets the value of "list-style" */
- set listStyle(String value) {
+ void set listStyle(String value) {
setProperty('list-style', value, '');
}
@@ -7383,7 +5964,7 @@ class CssStyleDeclarationBase {
getPropertyValue('list-style-image');
/** Sets the value of "list-style-image" */
- set listStyleImage(String value) {
+ void set listStyleImage(String value) {
setProperty('list-style-image', value, '');
}
@@ -7392,7 +5973,7 @@ class CssStyleDeclarationBase {
getPropertyValue('list-style-position');
/** Sets the value of "list-style-position" */
- set listStylePosition(String value) {
+ void set listStylePosition(String value) {
setProperty('list-style-position', value, '');
}
@@ -7401,7 +5982,7 @@ class CssStyleDeclarationBase {
getPropertyValue('list-style-type');
/** Sets the value of "list-style-type" */
- set listStyleType(String value) {
+ void set listStyleType(String value) {
setProperty('list-style-type', value, '');
}
@@ -7410,7 +5991,7 @@ class CssStyleDeclarationBase {
getPropertyValue('locale');
/** Sets the value of "locale" */
- set locale(String value) {
+ void set locale(String value) {
setProperty('locale', value, '');
}
@@ -7419,7 +6000,7 @@ class CssStyleDeclarationBase {
getPropertyValue('logical-height');
/** Sets the value of "logical-height" */
- set logicalHeight(String value) {
+ void set logicalHeight(String value) {
setProperty('logical-height', value, '');
}
@@ -7428,7 +6009,7 @@ class CssStyleDeclarationBase {
getPropertyValue('logical-width');
/** Sets the value of "logical-width" */
- set logicalWidth(String value) {
+ void set logicalWidth(String value) {
setProperty('logical-width', value, '');
}
@@ -7437,7 +6018,7 @@ class CssStyleDeclarationBase {
getPropertyValue('margin');
/** Sets the value of "margin" */
- set margin(String value) {
+ void set margin(String value) {
setProperty('margin', value, '');
}
@@ -7446,7 +6027,7 @@ class CssStyleDeclarationBase {
getPropertyValue('margin-after');
/** Sets the value of "margin-after" */
- set marginAfter(String value) {
+ void set marginAfter(String value) {
setProperty('margin-after', value, '');
}
@@ -7455,7 +6036,7 @@ class CssStyleDeclarationBase {
getPropertyValue('margin-after-collapse');
/** Sets the value of "margin-after-collapse" */
- set marginAfterCollapse(String value) {
+ void set marginAfterCollapse(String value) {
setProperty('margin-after-collapse', value, '');
}
@@ -7464,7 +6045,7 @@ class CssStyleDeclarationBase {
getPropertyValue('margin-before');
/** Sets the value of "margin-before" */
- set marginBefore(String value) {
+ void set marginBefore(String value) {
setProperty('margin-before', value, '');
}
@@ -7473,7 +6054,7 @@ class CssStyleDeclarationBase {
getPropertyValue('margin-before-collapse');
/** Sets the value of "margin-before-collapse" */
- set marginBeforeCollapse(String value) {
+ void set marginBeforeCollapse(String value) {
setProperty('margin-before-collapse', value, '');
}
@@ -7482,7 +6063,7 @@ class CssStyleDeclarationBase {
getPropertyValue('margin-bottom');
/** Sets the value of "margin-bottom" */
- set marginBottom(String value) {
+ void set marginBottom(String value) {
setProperty('margin-bottom', value, '');
}
@@ -7491,7 +6072,7 @@ class CssStyleDeclarationBase {
getPropertyValue('margin-bottom-collapse');
/** Sets the value of "margin-bottom-collapse" */
- set marginBottomCollapse(String value) {
+ void set marginBottomCollapse(String value) {
setProperty('margin-bottom-collapse', value, '');
}
@@ -7500,7 +6081,7 @@ class CssStyleDeclarationBase {
getPropertyValue('margin-collapse');
/** Sets the value of "margin-collapse" */
- set marginCollapse(String value) {
+ void set marginCollapse(String value) {
setProperty('margin-collapse', value, '');
}
@@ -7509,7 +6090,7 @@ class CssStyleDeclarationBase {
getPropertyValue('margin-end');
/** Sets the value of "margin-end" */
- set marginEnd(String value) {
+ void set marginEnd(String value) {
setProperty('margin-end', value, '');
}
@@ -7518,7 +6099,7 @@ class CssStyleDeclarationBase {
getPropertyValue('margin-left');
/** Sets the value of "margin-left" */
- set marginLeft(String value) {
+ void set marginLeft(String value) {
setProperty('margin-left', value, '');
}
@@ -7527,7 +6108,7 @@ class CssStyleDeclarationBase {
getPropertyValue('margin-right');
/** Sets the value of "margin-right" */
- set marginRight(String value) {
+ void set marginRight(String value) {
setProperty('margin-right', value, '');
}
@@ -7536,7 +6117,7 @@ class CssStyleDeclarationBase {
getPropertyValue('margin-start');
/** Sets the value of "margin-start" */
- set marginStart(String value) {
+ void set marginStart(String value) {
setProperty('margin-start', value, '');
}
@@ -7545,7 +6126,7 @@ class CssStyleDeclarationBase {
getPropertyValue('margin-top');
/** Sets the value of "margin-top" */
- set marginTop(String value) {
+ void set marginTop(String value) {
setProperty('margin-top', value, '');
}
@@ -7554,7 +6135,7 @@ class CssStyleDeclarationBase {
getPropertyValue('margin-top-collapse');
/** Sets the value of "margin-top-collapse" */
- set marginTopCollapse(String value) {
+ void set marginTopCollapse(String value) {
setProperty('margin-top-collapse', value, '');
}
@@ -7563,7 +6144,7 @@ class CssStyleDeclarationBase {
getPropertyValue('mask');
/** Sets the value of "mask" */
- set mask(String value) {
+ void set mask(String value) {
setProperty('mask', value, '');
}
@@ -7572,7 +6153,7 @@ class CssStyleDeclarationBase {
getPropertyValue('mask-box-image');
/** Sets the value of "mask-box-image" */
- set maskBoxImage(String value) {
+ void set maskBoxImage(String value) {
setProperty('mask-box-image', value, '');
}
@@ -7581,7 +6162,7 @@ class CssStyleDeclarationBase {
getPropertyValue('mask-box-image-outset');
/** Sets the value of "mask-box-image-outset" */
- set maskBoxImageOutset(String value) {
+ void set maskBoxImageOutset(String value) {
setProperty('mask-box-image-outset', value, '');
}
@@ -7590,7 +6171,7 @@ class CssStyleDeclarationBase {
getPropertyValue('mask-box-image-repeat');
/** Sets the value of "mask-box-image-repeat" */
- set maskBoxImageRepeat(String value) {
+ void set maskBoxImageRepeat(String value) {
setProperty('mask-box-image-repeat', value, '');
}
@@ -7599,7 +6180,7 @@ class CssStyleDeclarationBase {
getPropertyValue('mask-box-image-slice');
/** Sets the value of "mask-box-image-slice" */
- set maskBoxImageSlice(String value) {
+ void set maskBoxImageSlice(String value) {
setProperty('mask-box-image-slice', value, '');
}
@@ -7608,7 +6189,7 @@ class CssStyleDeclarationBase {
getPropertyValue('mask-box-image-source');
/** Sets the value of "mask-box-image-source" */
- set maskBoxImageSource(String value) {
+ void set maskBoxImageSource(String value) {
setProperty('mask-box-image-source', value, '');
}
@@ -7617,7 +6198,7 @@ class CssStyleDeclarationBase {
getPropertyValue('mask-box-image-width');
/** Sets the value of "mask-box-image-width" */
- set maskBoxImageWidth(String value) {
+ void set maskBoxImageWidth(String value) {
setProperty('mask-box-image-width', value, '');
}
@@ -7626,7 +6207,7 @@ class CssStyleDeclarationBase {
getPropertyValue('mask-clip');
/** Sets the value of "mask-clip" */
- set maskClip(String value) {
+ void set maskClip(String value) {
setProperty('mask-clip', value, '');
}
@@ -7635,7 +6216,7 @@ class CssStyleDeclarationBase {
getPropertyValue('mask-composite');
/** Sets the value of "mask-composite" */
- set maskComposite(String value) {
+ void set maskComposite(String value) {
setProperty('mask-composite', value, '');
}
@@ -7644,7 +6225,7 @@ class CssStyleDeclarationBase {
getPropertyValue('mask-image');
/** Sets the value of "mask-image" */
- set maskImage(String value) {
+ void set maskImage(String value) {
setProperty('mask-image', value, '');
}
@@ -7653,7 +6234,7 @@ class CssStyleDeclarationBase {
getPropertyValue('mask-origin');
/** Sets the value of "mask-origin" */
- set maskOrigin(String value) {
+ void set maskOrigin(String value) {
setProperty('mask-origin', value, '');
}
@@ -7662,7 +6243,7 @@ class CssStyleDeclarationBase {
getPropertyValue('mask-position');
/** Sets the value of "mask-position" */
- set maskPosition(String value) {
+ void set maskPosition(String value) {
setProperty('mask-position', value, '');
}
@@ -7671,7 +6252,7 @@ class CssStyleDeclarationBase {
getPropertyValue('mask-position-x');
/** Sets the value of "mask-position-x" */
- set maskPositionX(String value) {
+ void set maskPositionX(String value) {
setProperty('mask-position-x', value, '');
}
@@ -7680,7 +6261,7 @@ class CssStyleDeclarationBase {
getPropertyValue('mask-position-y');
/** Sets the value of "mask-position-y" */
- set maskPositionY(String value) {
+ void set maskPositionY(String value) {
setProperty('mask-position-y', value, '');
}
@@ -7689,7 +6270,7 @@ class CssStyleDeclarationBase {
getPropertyValue('mask-repeat');
/** Sets the value of "mask-repeat" */
- set maskRepeat(String value) {
+ void set maskRepeat(String value) {
setProperty('mask-repeat', value, '');
}
@@ -7698,7 +6279,7 @@ class CssStyleDeclarationBase {
getPropertyValue('mask-repeat-x');
/** Sets the value of "mask-repeat-x" */
- set maskRepeatX(String value) {
+ void set maskRepeatX(String value) {
setProperty('mask-repeat-x', value, '');
}
@@ -7707,7 +6288,7 @@ class CssStyleDeclarationBase {
getPropertyValue('mask-repeat-y');
/** Sets the value of "mask-repeat-y" */
- set maskRepeatY(String value) {
+ void set maskRepeatY(String value) {
setProperty('mask-repeat-y', value, '');
}
@@ -7716,7 +6297,7 @@ class CssStyleDeclarationBase {
getPropertyValue('mask-size');
/** Sets the value of "mask-size" */
- set maskSize(String value) {
+ void set maskSize(String value) {
setProperty('mask-size', value, '');
}
@@ -7725,7 +6306,7 @@ class CssStyleDeclarationBase {
getPropertyValue('mask-source-type');
/** Sets the value of "mask-source-type" */
- set maskSourceType(String value) {
+ void set maskSourceType(String value) {
setProperty('mask-source-type', value, '');
}
@@ -7734,7 +6315,7 @@ class CssStyleDeclarationBase {
getPropertyValue('max-height');
/** Sets the value of "max-height" */
- set maxHeight(String value) {
+ void set maxHeight(String value) {
setProperty('max-height', value, '');
}
@@ -7743,7 +6324,7 @@ class CssStyleDeclarationBase {
getPropertyValue('max-logical-height');
/** Sets the value of "max-logical-height" */
- set maxLogicalHeight(String value) {
+ void set maxLogicalHeight(String value) {
setProperty('max-logical-height', value, '');
}
@@ -7752,7 +6333,7 @@ class CssStyleDeclarationBase {
getPropertyValue('max-logical-width');
/** Sets the value of "max-logical-width" */
- set maxLogicalWidth(String value) {
+ void set maxLogicalWidth(String value) {
setProperty('max-logical-width', value, '');
}
@@ -7761,7 +6342,7 @@ class CssStyleDeclarationBase {
getPropertyValue('max-width');
/** Sets the value of "max-width" */
- set maxWidth(String value) {
+ void set maxWidth(String value) {
setProperty('max-width', value, '');
}
@@ -7770,7 +6351,7 @@ class CssStyleDeclarationBase {
getPropertyValue('max-zoom');
/** Sets the value of "max-zoom" */
- set maxZoom(String value) {
+ void set maxZoom(String value) {
setProperty('max-zoom', value, '');
}
@@ -7779,7 +6360,7 @@ class CssStyleDeclarationBase {
getPropertyValue('min-height');
/** Sets the value of "min-height" */
- set minHeight(String value) {
+ void set minHeight(String value) {
setProperty('min-height', value, '');
}
@@ -7788,7 +6369,7 @@ class CssStyleDeclarationBase {
getPropertyValue('min-logical-height');
/** Sets the value of "min-logical-height" */
- set minLogicalHeight(String value) {
+ void set minLogicalHeight(String value) {
setProperty('min-logical-height', value, '');
}
@@ -7797,7 +6378,7 @@ class CssStyleDeclarationBase {
getPropertyValue('min-logical-width');
/** Sets the value of "min-logical-width" */
- set minLogicalWidth(String value) {
+ void set minLogicalWidth(String value) {
setProperty('min-logical-width', value, '');
}
@@ -7806,7 +6387,7 @@ class CssStyleDeclarationBase {
getPropertyValue('min-width');
/** Sets the value of "min-width" */
- set minWidth(String value) {
+ void set minWidth(String value) {
setProperty('min-width', value, '');
}
@@ -7815,7 +6396,7 @@ class CssStyleDeclarationBase {
getPropertyValue('min-zoom');
/** Sets the value of "min-zoom" */
- set minZoom(String value) {
+ void set minZoom(String value) {
setProperty('min-zoom', value, '');
}
@@ -7824,7 +6405,7 @@ class CssStyleDeclarationBase {
getPropertyValue('mix-blend-mode');
/** Sets the value of "mix-blend-mode" */
- set mixBlendMode(String value) {
+ void set mixBlendMode(String value) {
setProperty('mix-blend-mode', value, '');
}
@@ -7833,7 +6414,7 @@ class CssStyleDeclarationBase {
getPropertyValue('object-fit');
/** Sets the value of "object-fit" */
- set objectFit(String value) {
+ void set objectFit(String value) {
setProperty('object-fit', value, '');
}
@@ -7842,7 +6423,7 @@ class CssStyleDeclarationBase {
getPropertyValue('object-position');
/** Sets the value of "object-position" */
- set objectPosition(String value) {
+ void set objectPosition(String value) {
setProperty('object-position', value, '');
}
@@ -7851,7 +6432,7 @@ class CssStyleDeclarationBase {
getPropertyValue('opacity');
/** Sets the value of "opacity" */
- set opacity(String value) {
+ void set opacity(String value) {
setProperty('opacity', value, '');
}
@@ -7860,7 +6441,7 @@ class CssStyleDeclarationBase {
getPropertyValue('order');
/** Sets the value of "order" */
- set order(String value) {
+ void set order(String value) {
setProperty('order', value, '');
}
@@ -7869,7 +6450,7 @@ class CssStyleDeclarationBase {
getPropertyValue('orientation');
/** Sets the value of "orientation" */
- set orientation(String value) {
+ void set orientation(String value) {
setProperty('orientation', value, '');
}
@@ -7878,7 +6459,7 @@ class CssStyleDeclarationBase {
getPropertyValue('orphans');
/** Sets the value of "orphans" */
- set orphans(String value) {
+ void set orphans(String value) {
setProperty('orphans', value, '');
}
@@ -7887,7 +6468,7 @@ class CssStyleDeclarationBase {
getPropertyValue('outline');
/** Sets the value of "outline" */
- set outline(String value) {
+ void set outline(String value) {
setProperty('outline', value, '');
}
@@ -7896,7 +6477,7 @@ class CssStyleDeclarationBase {
getPropertyValue('outline-color');
/** Sets the value of "outline-color" */
- set outlineColor(String value) {
+ void set outlineColor(String value) {
setProperty('outline-color', value, '');
}
@@ -7905,7 +6486,7 @@ class CssStyleDeclarationBase {
getPropertyValue('outline-offset');
/** Sets the value of "outline-offset" */
- set outlineOffset(String value) {
+ void set outlineOffset(String value) {
setProperty('outline-offset', value, '');
}
@@ -7914,7 +6495,7 @@ class CssStyleDeclarationBase {
getPropertyValue('outline-style');
/** Sets the value of "outline-style" */
- set outlineStyle(String value) {
+ void set outlineStyle(String value) {
setProperty('outline-style', value, '');
}
@@ -7923,7 +6504,7 @@ class CssStyleDeclarationBase {
getPropertyValue('outline-width');
/** Sets the value of "outline-width" */
- set outlineWidth(String value) {
+ void set outlineWidth(String value) {
setProperty('outline-width', value, '');
}
@@ -7932,7 +6513,7 @@ class CssStyleDeclarationBase {
getPropertyValue('overflow');
/** Sets the value of "overflow" */
- set overflow(String value) {
+ void set overflow(String value) {
setProperty('overflow', value, '');
}
@@ -7941,7 +6522,7 @@ class CssStyleDeclarationBase {
getPropertyValue('overflow-wrap');
/** Sets the value of "overflow-wrap" */
- set overflowWrap(String value) {
+ void set overflowWrap(String value) {
setProperty('overflow-wrap', value, '');
}
@@ -7950,7 +6531,7 @@ class CssStyleDeclarationBase {
getPropertyValue('overflow-x');
/** Sets the value of "overflow-x" */
- set overflowX(String value) {
+ void set overflowX(String value) {
setProperty('overflow-x', value, '');
}
@@ -7959,7 +6540,7 @@ class CssStyleDeclarationBase {
getPropertyValue('overflow-y');
/** Sets the value of "overflow-y" */
- set overflowY(String value) {
+ void set overflowY(String value) {
setProperty('overflow-y', value, '');
}
@@ -7968,7 +6549,7 @@ class CssStyleDeclarationBase {
getPropertyValue('padding');
/** Sets the value of "padding" */
- set padding(String value) {
+ void set padding(String value) {
setProperty('padding', value, '');
}
@@ -7977,7 +6558,7 @@ class CssStyleDeclarationBase {
getPropertyValue('padding-after');
/** Sets the value of "padding-after" */
- set paddingAfter(String value) {
+ void set paddingAfter(String value) {
setProperty('padding-after', value, '');
}
@@ -7986,7 +6567,7 @@ class CssStyleDeclarationBase {
getPropertyValue('padding-before');
/** Sets the value of "padding-before" */
- set paddingBefore(String value) {
+ void set paddingBefore(String value) {
setProperty('padding-before', value, '');
}
@@ -7995,7 +6576,7 @@ class CssStyleDeclarationBase {
getPropertyValue('padding-bottom');
/** Sets the value of "padding-bottom" */
- set paddingBottom(String value) {
+ void set paddingBottom(String value) {
setProperty('padding-bottom', value, '');
}
@@ -8004,7 +6585,7 @@ class CssStyleDeclarationBase {
getPropertyValue('padding-end');
/** Sets the value of "padding-end" */
- set paddingEnd(String value) {
+ void set paddingEnd(String value) {
setProperty('padding-end', value, '');
}
@@ -8013,7 +6594,7 @@ class CssStyleDeclarationBase {
getPropertyValue('padding-left');
/** Sets the value of "padding-left" */
- set paddingLeft(String value) {
+ void set paddingLeft(String value) {
setProperty('padding-left', value, '');
}
@@ -8022,7 +6603,7 @@ class CssStyleDeclarationBase {
getPropertyValue('padding-right');
/** Sets the value of "padding-right" */
- set paddingRight(String value) {
+ void set paddingRight(String value) {
setProperty('padding-right', value, '');
}
@@ -8031,7 +6612,7 @@ class CssStyleDeclarationBase {
getPropertyValue('padding-start');
/** Sets the value of "padding-start" */
- set paddingStart(String value) {
+ void set paddingStart(String value) {
setProperty('padding-start', value, '');
}
@@ -8040,7 +6621,7 @@ class CssStyleDeclarationBase {
getPropertyValue('padding-top');
/** Sets the value of "padding-top" */
- set paddingTop(String value) {
+ void set paddingTop(String value) {
setProperty('padding-top', value, '');
}
@@ -8049,7 +6630,7 @@ class CssStyleDeclarationBase {
getPropertyValue('page');
/** Sets the value of "page" */
- set page(String value) {
+ void set page(String value) {
setProperty('page', value, '');
}
@@ -8058,7 +6639,7 @@ class CssStyleDeclarationBase {
getPropertyValue('page-break-after');
/** Sets the value of "page-break-after" */
- set pageBreakAfter(String value) {
+ void set pageBreakAfter(String value) {
setProperty('page-break-after', value, '');
}
@@ -8067,7 +6648,7 @@ class CssStyleDeclarationBase {
getPropertyValue('page-break-before');
/** Sets the value of "page-break-before" */
- set pageBreakBefore(String value) {
+ void set pageBreakBefore(String value) {
setProperty('page-break-before', value, '');
}
@@ -8076,7 +6657,7 @@ class CssStyleDeclarationBase {
getPropertyValue('page-break-inside');
/** Sets the value of "page-break-inside" */
- set pageBreakInside(String value) {
+ void set pageBreakInside(String value) {
setProperty('page-break-inside', value, '');
}
@@ -8085,7 +6666,7 @@ class CssStyleDeclarationBase {
getPropertyValue('perspective');
/** Sets the value of "perspective" */
- set perspective(String value) {
+ void set perspective(String value) {
setProperty('perspective', value, '');
}
@@ -8094,7 +6675,7 @@ class CssStyleDeclarationBase {
getPropertyValue('perspective-origin');
/** Sets the value of "perspective-origin" */
- set perspectiveOrigin(String value) {
+ void set perspectiveOrigin(String value) {
setProperty('perspective-origin', value, '');
}
@@ -8103,7 +6684,7 @@ class CssStyleDeclarationBase {
getPropertyValue('perspective-origin-x');
/** Sets the value of "perspective-origin-x" */
- set perspectiveOriginX(String value) {
+ void set perspectiveOriginX(String value) {
setProperty('perspective-origin-x', value, '');
}
@@ -8112,7 +6693,7 @@ class CssStyleDeclarationBase {
getPropertyValue('perspective-origin-y');
/** Sets the value of "perspective-origin-y" */
- set perspectiveOriginY(String value) {
+ void set perspectiveOriginY(String value) {
setProperty('perspective-origin-y', value, '');
}
@@ -8121,7 +6702,7 @@ class CssStyleDeclarationBase {
getPropertyValue('pointer-events');
/** Sets the value of "pointer-events" */
- set pointerEvents(String value) {
+ void set pointerEvents(String value) {
setProperty('pointer-events', value, '');
}
@@ -8130,7 +6711,7 @@ class CssStyleDeclarationBase {
getPropertyValue('position');
/** Sets the value of "position" */
- set position(String value) {
+ void set position(String value) {
setProperty('position', value, '');
}
@@ -8139,7 +6720,7 @@ class CssStyleDeclarationBase {
getPropertyValue('print-color-adjust');
/** Sets the value of "print-color-adjust" */
- set printColorAdjust(String value) {
+ void set printColorAdjust(String value) {
setProperty('print-color-adjust', value, '');
}
@@ -8148,7 +6729,7 @@ class CssStyleDeclarationBase {
getPropertyValue('quotes');
/** Sets the value of "quotes" */
- set quotes(String value) {
+ void set quotes(String value) {
setProperty('quotes', value, '');
}
@@ -8157,7 +6738,7 @@ class CssStyleDeclarationBase {
getPropertyValue('resize');
/** Sets the value of "resize" */
- set resize(String value) {
+ void set resize(String value) {
setProperty('resize', value, '');
}
@@ -8166,7 +6747,7 @@ class CssStyleDeclarationBase {
getPropertyValue('right');
/** Sets the value of "right" */
- set right(String value) {
+ void set right(String value) {
setProperty('right', value, '');
}
@@ -8175,7 +6756,7 @@ class CssStyleDeclarationBase {
getPropertyValue('rtl-ordering');
/** Sets the value of "rtl-ordering" */
- set rtlOrdering(String value) {
+ void set rtlOrdering(String value) {
setProperty('rtl-ordering', value, '');
}
@@ -8184,7 +6765,7 @@ class CssStyleDeclarationBase {
getPropertyValue('ruby-position');
/** Sets the value of "ruby-position" */
- set rubyPosition(String value) {
+ void set rubyPosition(String value) {
setProperty('ruby-position', value, '');
}
@@ -8193,7 +6774,7 @@ class CssStyleDeclarationBase {
getPropertyValue('scroll-behavior');
/** Sets the value of "scroll-behavior" */
- set scrollBehavior(String value) {
+ void set scrollBehavior(String value) {
setProperty('scroll-behavior', value, '');
}
@@ -8202,7 +6783,7 @@ class CssStyleDeclarationBase {
getPropertyValue('shape-image-threshold');
/** Sets the value of "shape-image-threshold" */
- set shapeImageThreshold(String value) {
+ void set shapeImageThreshold(String value) {
setProperty('shape-image-threshold', value, '');
}
@@ -8211,7 +6792,7 @@ class CssStyleDeclarationBase {
getPropertyValue('shape-margin');
/** Sets the value of "shape-margin" */
- set shapeMargin(String value) {
+ void set shapeMargin(String value) {
setProperty('shape-margin', value, '');
}
@@ -8220,7 +6801,7 @@ class CssStyleDeclarationBase {
getPropertyValue('shape-outside');
/** Sets the value of "shape-outside" */
- set shapeOutside(String value) {
+ void set shapeOutside(String value) {
setProperty('shape-outside', value, '');
}
@@ -8229,7 +6810,7 @@ class CssStyleDeclarationBase {
getPropertyValue('size');
/** Sets the value of "size" */
- set size(String value) {
+ void set size(String value) {
setProperty('size', value, '');
}
@@ -8238,7 +6819,7 @@ class CssStyleDeclarationBase {
getPropertyValue('speak');
/** Sets the value of "speak" */
- set speak(String value) {
+ void set speak(String value) {
setProperty('speak', value, '');
}
@@ -8247,7 +6828,7 @@ class CssStyleDeclarationBase {
getPropertyValue('src');
/** Sets the value of "src" */
- set src(String value) {
+ void set src(String value) {
setProperty('src', value, '');
}
@@ -8256,7 +6837,7 @@ class CssStyleDeclarationBase {
getPropertyValue('tab-size');
/** Sets the value of "tab-size" */
- set tabSize(String value) {
+ void set tabSize(String value) {
setProperty('tab-size', value, '');
}
@@ -8265,7 +6846,7 @@ class CssStyleDeclarationBase {
getPropertyValue('table-layout');
/** Sets the value of "table-layout" */
- set tableLayout(String value) {
+ void set tableLayout(String value) {
setProperty('table-layout', value, '');
}
@@ -8274,7 +6855,7 @@ class CssStyleDeclarationBase {
getPropertyValue('tap-highlight-color');
/** Sets the value of "tap-highlight-color" */
- set tapHighlightColor(String value) {
+ void set tapHighlightColor(String value) {
setProperty('tap-highlight-color', value, '');
}
@@ -8283,7 +6864,7 @@ class CssStyleDeclarationBase {
getPropertyValue('text-align');
/** Sets the value of "text-align" */
- set textAlign(String value) {
+ void set textAlign(String value) {
setProperty('text-align', value, '');
}
@@ -8292,7 +6873,7 @@ class CssStyleDeclarationBase {
getPropertyValue('text-align-last');
/** Sets the value of "text-align-last" */
- set textAlignLast(String value) {
+ void set textAlignLast(String value) {
setProperty('text-align-last', value, '');
}
@@ -8301,7 +6882,7 @@ class CssStyleDeclarationBase {
getPropertyValue('text-combine');
/** Sets the value of "text-combine" */
- set textCombine(String value) {
+ void set textCombine(String value) {
setProperty('text-combine', value, '');
}
@@ -8310,7 +6891,7 @@ class CssStyleDeclarationBase {
getPropertyValue('text-decoration');
/** Sets the value of "text-decoration" */
- set textDecoration(String value) {
+ void set textDecoration(String value) {
setProperty('text-decoration', value, '');
}
@@ -8319,7 +6900,7 @@ class CssStyleDeclarationBase {
getPropertyValue('text-decoration-color');
/** Sets the value of "text-decoration-color" */
- set textDecorationColor(String value) {
+ void set textDecorationColor(String value) {
setProperty('text-decoration-color', value, '');
}
@@ -8328,7 +6909,7 @@ class CssStyleDeclarationBase {
getPropertyValue('text-decoration-line');
/** Sets the value of "text-decoration-line" */
- set textDecorationLine(String value) {
+ void set textDecorationLine(String value) {
setProperty('text-decoration-line', value, '');
}
@@ -8337,7 +6918,7 @@ class CssStyleDeclarationBase {
getPropertyValue('text-decoration-style');
/** Sets the value of "text-decoration-style" */
- set textDecorationStyle(String value) {
+ void set textDecorationStyle(String value) {
setProperty('text-decoration-style', value, '');
}
@@ -8346,7 +6927,7 @@ class CssStyleDeclarationBase {
getPropertyValue('text-decorations-in-effect');
/** Sets the value of "text-decorations-in-effect" */
- set textDecorationsInEffect(String value) {
+ void set textDecorationsInEffect(String value) {
setProperty('text-decorations-in-effect', value, '');
}
@@ -8355,7 +6936,7 @@ class CssStyleDeclarationBase {
getPropertyValue('text-emphasis');
/** Sets the value of "text-emphasis" */
- set textEmphasis(String value) {
+ void set textEmphasis(String value) {
setProperty('text-emphasis', value, '');
}
@@ -8364,7 +6945,7 @@ class CssStyleDeclarationBase {
getPropertyValue('text-emphasis-color');
/** Sets the value of "text-emphasis-color" */
- set textEmphasisColor(String value) {
+ void set textEmphasisColor(String value) {
setProperty('text-emphasis-color', value, '');
}
@@ -8373,7 +6954,7 @@ class CssStyleDeclarationBase {
getPropertyValue('text-emphasis-position');
/** Sets the value of "text-emphasis-position" */
- set textEmphasisPosition(String value) {
+ void set textEmphasisPosition(String value) {
setProperty('text-emphasis-position', value, '');
}
@@ -8382,7 +6963,7 @@ class CssStyleDeclarationBase {
getPropertyValue('text-emphasis-style');
/** Sets the value of "text-emphasis-style" */
- set textEmphasisStyle(String value) {
+ void set textEmphasisStyle(String value) {
setProperty('text-emphasis-style', value, '');
}
@@ -8391,7 +6972,7 @@ class CssStyleDeclarationBase {
getPropertyValue('text-fill-color');
/** Sets the value of "text-fill-color" */
- set textFillColor(String value) {
+ void set textFillColor(String value) {
setProperty('text-fill-color', value, '');
}
@@ -8400,7 +6981,7 @@ class CssStyleDeclarationBase {
getPropertyValue('text-indent');
/** Sets the value of "text-indent" */
- set textIndent(String value) {
+ void set textIndent(String value) {
setProperty('text-indent', value, '');
}
@@ -8409,7 +6990,7 @@ class CssStyleDeclarationBase {
getPropertyValue('text-justify');
/** Sets the value of "text-justify" */
- set textJustify(String value) {
+ void set textJustify(String value) {
setProperty('text-justify', value, '');
}
@@ -8418,7 +6999,7 @@ class CssStyleDeclarationBase {
getPropertyValue('text-line-through-color');
/** Sets the value of "text-line-through-color" */
- set textLineThroughColor(String value) {
+ void set textLineThroughColor(String value) {
setProperty('text-line-through-color', value, '');
}
@@ -8427,7 +7008,7 @@ class CssStyleDeclarationBase {
getPropertyValue('text-line-through-mode');
/** Sets the value of "text-line-through-mode" */
- set textLineThroughMode(String value) {
+ void set textLineThroughMode(String value) {
setProperty('text-line-through-mode', value, '');
}
@@ -8436,7 +7017,7 @@ class CssStyleDeclarationBase {
getPropertyValue('text-line-through-style');
/** Sets the value of "text-line-through-style" */
- set textLineThroughStyle(String value) {
+ void set textLineThroughStyle(String value) {
setProperty('text-line-through-style', value, '');
}
@@ -8445,7 +7026,7 @@ class CssStyleDeclarationBase {
getPropertyValue('text-line-through-width');
/** Sets the value of "text-line-through-width" */
- set textLineThroughWidth(String value) {
+ void set textLineThroughWidth(String value) {
setProperty('text-line-through-width', value, '');
}
@@ -8454,7 +7035,7 @@ class CssStyleDeclarationBase {
getPropertyValue('text-orientation');
/** Sets the value of "text-orientation" */
- set textOrientation(String value) {
+ void set textOrientation(String value) {
setProperty('text-orientation', value, '');
}
@@ -8463,7 +7044,7 @@ class CssStyleDeclarationBase {
getPropertyValue('text-overflow');
/** Sets the value of "text-overflow" */
- set textOverflow(String value) {
+ void set textOverflow(String value) {
setProperty('text-overflow', value, '');
}
@@ -8472,7 +7053,7 @@ class CssStyleDeclarationBase {
getPropertyValue('text-overline-color');
/** Sets the value of "text-overline-color" */
- set textOverlineColor(String value) {
+ void set textOverlineColor(String value) {
setProperty('text-overline-color', value, '');
}
@@ -8481,7 +7062,7 @@ class CssStyleDeclarationBase {
getPropertyValue('text-overline-mode');
/** Sets the value of "text-overline-mode" */
- set textOverlineMode(String value) {
+ void set textOverlineMode(String value) {
setProperty('text-overline-mode', value, '');
}
@@ -8490,7 +7071,7 @@ class CssStyleDeclarationBase {
getPropertyValue('text-overline-style');
/** Sets the value of "text-overline-style" */
- set textOverlineStyle(String value) {
+ void set textOverlineStyle(String value) {
setProperty('text-overline-style', value, '');
}
@@ -8499,7 +7080,7 @@ class CssStyleDeclarationBase {
getPropertyValue('text-overline-width');
/** Sets the value of "text-overline-width" */
- set textOverlineWidth(String value) {
+ void set textOverlineWidth(String value) {
setProperty('text-overline-width', value, '');
}
@@ -8508,7 +7089,7 @@ class CssStyleDeclarationBase {
getPropertyValue('text-rendering');
/** Sets the value of "text-rendering" */
- set textRendering(String value) {
+ void set textRendering(String value) {
setProperty('text-rendering', value, '');
}
@@ -8517,7 +7098,7 @@ class CssStyleDeclarationBase {
getPropertyValue('text-security');
/** Sets the value of "text-security" */
- set textSecurity(String value) {
+ void set textSecurity(String value) {
setProperty('text-security', value, '');
}
@@ -8526,7 +7107,7 @@ class CssStyleDeclarationBase {
getPropertyValue('text-shadow');
/** Sets the value of "text-shadow" */
- set textShadow(String value) {
+ void set textShadow(String value) {
setProperty('text-shadow', value, '');
}
@@ -8535,7 +7116,7 @@ class CssStyleDeclarationBase {
getPropertyValue('text-stroke');
/** Sets the value of "text-stroke" */
- set textStroke(String value) {
+ void set textStroke(String value) {
setProperty('text-stroke', value, '');
}
@@ -8544,7 +7125,7 @@ class CssStyleDeclarationBase {
getPropertyValue('text-stroke-color');
/** Sets the value of "text-stroke-color" */
- set textStrokeColor(String value) {
+ void set textStrokeColor(String value) {
setProperty('text-stroke-color', value, '');
}
@@ -8553,7 +7134,7 @@ class CssStyleDeclarationBase {
getPropertyValue('text-stroke-width');
/** Sets the value of "text-stroke-width" */
- set textStrokeWidth(String value) {
+ void set textStrokeWidth(String value) {
setProperty('text-stroke-width', value, '');
}
@@ -8562,7 +7143,7 @@ class CssStyleDeclarationBase {
getPropertyValue('text-transform');
/** Sets the value of "text-transform" */
- set textTransform(String value) {
+ void set textTransform(String value) {
setProperty('text-transform', value, '');
}
@@ -8571,7 +7152,7 @@ class CssStyleDeclarationBase {
getPropertyValue('text-underline-color');
/** Sets the value of "text-underline-color" */
- set textUnderlineColor(String value) {
+ void set textUnderlineColor(String value) {
setProperty('text-underline-color', value, '');
}
@@ -8580,7 +7161,7 @@ class CssStyleDeclarationBase {
getPropertyValue('text-underline-mode');
/** Sets the value of "text-underline-mode" */
- set textUnderlineMode(String value) {
+ void set textUnderlineMode(String value) {
setProperty('text-underline-mode', value, '');
}
@@ -8589,7 +7170,7 @@ class CssStyleDeclarationBase {
getPropertyValue('text-underline-position');
/** Sets the value of "text-underline-position" */
- set textUnderlinePosition(String value) {
+ void set textUnderlinePosition(String value) {
setProperty('text-underline-position', value, '');
}
@@ -8598,7 +7179,7 @@ class CssStyleDeclarationBase {
getPropertyValue('text-underline-style');
/** Sets the value of "text-underline-style" */
- set textUnderlineStyle(String value) {
+ void set textUnderlineStyle(String value) {
setProperty('text-underline-style', value, '');
}
@@ -8607,7 +7188,7 @@ class CssStyleDeclarationBase {
getPropertyValue('text-underline-width');
/** Sets the value of "text-underline-width" */
- set textUnderlineWidth(String value) {
+ void set textUnderlineWidth(String value) {
setProperty('text-underline-width', value, '');
}
@@ -8616,7 +7197,7 @@ class CssStyleDeclarationBase {
getPropertyValue('top');
/** Sets the value of "top" */
- set top(String value) {
+ void set top(String value) {
setProperty('top', value, '');
}
@@ -8625,7 +7206,7 @@ class CssStyleDeclarationBase {
getPropertyValue('touch-action');
/** Sets the value of "touch-action" */
- set touchAction(String value) {
+ void set touchAction(String value) {
setProperty('touch-action', value, '');
}
@@ -8634,7 +7215,7 @@ class CssStyleDeclarationBase {
getPropertyValue('touch-action-delay');
/** Sets the value of "touch-action-delay" */
- set touchActionDelay(String value) {
+ void set touchActionDelay(String value) {
setProperty('touch-action-delay', value, '');
}
@@ -8643,7 +7224,7 @@ class CssStyleDeclarationBase {
getPropertyValue('transform');
/** Sets the value of "transform" */
- set transform(String value) {
+ void set transform(String value) {
setProperty('transform', value, '');
}
@@ -8652,7 +7233,7 @@ class CssStyleDeclarationBase {
getPropertyValue('transform-origin');
/** Sets the value of "transform-origin" */
- set transformOrigin(String value) {
+ void set transformOrigin(String value) {
setProperty('transform-origin', value, '');
}
@@ -8661,7 +7242,7 @@ class CssStyleDeclarationBase {
getPropertyValue('transform-origin-x');
/** Sets the value of "transform-origin-x" */
- set transformOriginX(String value) {
+ void set transformOriginX(String value) {
setProperty('transform-origin-x', value, '');
}
@@ -8670,7 +7251,7 @@ class CssStyleDeclarationBase {
getPropertyValue('transform-origin-y');
/** Sets the value of "transform-origin-y" */
- set transformOriginY(String value) {
+ void set transformOriginY(String value) {
setProperty('transform-origin-y', value, '');
}
@@ -8679,7 +7260,7 @@ class CssStyleDeclarationBase {
getPropertyValue('transform-origin-z');
/** Sets the value of "transform-origin-z" */
- set transformOriginZ(String value) {
+ void set transformOriginZ(String value) {
setProperty('transform-origin-z', value, '');
}
@@ -8688,7 +7269,7 @@ class CssStyleDeclarationBase {
getPropertyValue('transform-style');
/** Sets the value of "transform-style" */
- set transformStyle(String value) {
+ void set transformStyle(String value) {
setProperty('transform-style', value, '');
}
@@ -8703,7 +7284,7 @@ class CssStyleDeclarationBase {
@SupportedBrowser(SupportedBrowser.FIREFOX)
@SupportedBrowser(SupportedBrowser.IE, '10')
@SupportedBrowser(SupportedBrowser.SAFARI)
- set transition(String value) {
+ void set transition(String value) {
setProperty('transition', value, '');
}
@@ -8712,7 +7293,7 @@ class CssStyleDeclarationBase {
getPropertyValue('transition-delay');
/** Sets the value of "transition-delay" */
- set transitionDelay(String value) {
+ void set transitionDelay(String value) {
setProperty('transition-delay', value, '');
}
@@ -8721,7 +7302,7 @@ class CssStyleDeclarationBase {
getPropertyValue('transition-duration');
/** Sets the value of "transition-duration" */
- set transitionDuration(String value) {
+ void set transitionDuration(String value) {
setProperty('transition-duration', value, '');
}
@@ -8730,7 +7311,7 @@ class CssStyleDeclarationBase {
getPropertyValue('transition-property');
/** Sets the value of "transition-property" */
- set transitionProperty(String value) {
+ void set transitionProperty(String value) {
setProperty('transition-property', value, '');
}
@@ -8739,7 +7320,7 @@ class CssStyleDeclarationBase {
getPropertyValue('transition-timing-function');
/** Sets the value of "transition-timing-function" */
- set transitionTimingFunction(String value) {
+ void set transitionTimingFunction(String value) {
setProperty('transition-timing-function', value, '');
}
@@ -8748,7 +7329,7 @@ class CssStyleDeclarationBase {
getPropertyValue('unicode-bidi');
/** Sets the value of "unicode-bidi" */
- set unicodeBidi(String value) {
+ void set unicodeBidi(String value) {
setProperty('unicode-bidi', value, '');
}
@@ -8757,7 +7338,7 @@ class CssStyleDeclarationBase {
getPropertyValue('unicode-range');
/** Sets the value of "unicode-range" */
- set unicodeRange(String value) {
+ void set unicodeRange(String value) {
setProperty('unicode-range', value, '');
}
@@ -8766,7 +7347,7 @@ class CssStyleDeclarationBase {
getPropertyValue('user-drag');
/** Sets the value of "user-drag" */
- set userDrag(String value) {
+ void set userDrag(String value) {
setProperty('user-drag', value, '');
}
@@ -8775,7 +7356,7 @@ class CssStyleDeclarationBase {
getPropertyValue('user-modify');
/** Sets the value of "user-modify" */
- set userModify(String value) {
+ void set userModify(String value) {
setProperty('user-modify', value, '');
}
@@ -8784,7 +7365,7 @@ class CssStyleDeclarationBase {
getPropertyValue('user-select');
/** Sets the value of "user-select" */
- set userSelect(String value) {
+ void set userSelect(String value) {
setProperty('user-select', value, '');
}
@@ -8793,7 +7374,7 @@ class CssStyleDeclarationBase {
getPropertyValue('user-zoom');
/** Sets the value of "user-zoom" */
- set userZoom(String value) {
+ void set userZoom(String value) {
setProperty('user-zoom', value, '');
}
@@ -8802,7 +7383,7 @@ class CssStyleDeclarationBase {
getPropertyValue('vertical-align');
/** Sets the value of "vertical-align" */
- set verticalAlign(String value) {
+ void set verticalAlign(String value) {
setProperty('vertical-align', value, '');
}
@@ -8811,7 +7392,7 @@ class CssStyleDeclarationBase {
getPropertyValue('visibility');
/** Sets the value of "visibility" */
- set visibility(String value) {
+ void set visibility(String value) {
setProperty('visibility', value, '');
}
@@ -8820,7 +7401,7 @@ class CssStyleDeclarationBase {
getPropertyValue('white-space');
/** Sets the value of "white-space" */
- set whiteSpace(String value) {
+ void set whiteSpace(String value) {
setProperty('white-space', value, '');
}
@@ -8829,7 +7410,7 @@ class CssStyleDeclarationBase {
getPropertyValue('widows');
/** Sets the value of "widows" */
- set widows(String value) {
+ void set widows(String value) {
setProperty('widows', value, '');
}
@@ -8838,7 +7419,7 @@ class CssStyleDeclarationBase {
getPropertyValue('width');
/** Sets the value of "width" */
- set width(String value) {
+ void set width(String value) {
setProperty('width', value, '');
}
@@ -8847,7 +7428,7 @@ class CssStyleDeclarationBase {
getPropertyValue('will-change');
/** Sets the value of "will-change" */
- set willChange(String value) {
+ void set willChange(String value) {
setProperty('will-change', value, '');
}
@@ -8856,7 +7437,7 @@ class CssStyleDeclarationBase {
getPropertyValue('word-break');
/** Sets the value of "word-break" */
- set wordBreak(String value) {
+ void set wordBreak(String value) {
setProperty('word-break', value, '');
}
@@ -8865,7 +7446,7 @@ class CssStyleDeclarationBase {
getPropertyValue('word-spacing');
/** Sets the value of "word-spacing" */
- set wordSpacing(String value) {
+ void set wordSpacing(String value) {
setProperty('word-spacing', value, '');
}
@@ -8874,7 +7455,7 @@ class CssStyleDeclarationBase {
getPropertyValue('word-wrap');
/** Sets the value of "word-wrap" */
- set wordWrap(String value) {
+ void set wordWrap(String value) {
setProperty('word-wrap', value, '');
}
@@ -8883,7 +7464,7 @@ class CssStyleDeclarationBase {
getPropertyValue('wrap-flow');
/** Sets the value of "wrap-flow" */
- set wrapFlow(String value) {
+ void set wrapFlow(String value) {
setProperty('wrap-flow', value, '');
}
@@ -8892,7 +7473,7 @@ class CssStyleDeclarationBase {
getPropertyValue('wrap-through');
/** Sets the value of "wrap-through" */
- set wrapThrough(String value) {
+ void set wrapThrough(String value) {
setProperty('wrap-through', value, '');
}
@@ -8901,7 +7482,7 @@ class CssStyleDeclarationBase {
getPropertyValue('writing-mode');
/** Sets the value of "writing-mode" */
- set writingMode(String value) {
+ void set writingMode(String value) {
setProperty('writing-mode', value, '');
}
@@ -8910,7 +7491,7 @@ class CssStyleDeclarationBase {
getPropertyValue('z-index');
/** Sets the value of "z-index" */
- set zIndex(String value) {
+ void set zIndex(String value) {
setProperty('z-index', value, '');
}
@@ -8919,7 +7500,7 @@ class CssStyleDeclarationBase {
getPropertyValue('zoom');
/** Sets the value of "zoom" */
- set zoom(String value) {
+ void set zoom(String value) {
setProperty('zoom', value, '');
}
}
@@ -8936,25 +7517,13 @@ 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));
@DomName('CSSStyleRule.selectorText')
@DocsEditable()
- set selectorText(String value) => _blink.BlinkCSSStyleRule.instance.selectorText_Setter_(unwrap_jso(this), value);
+ void set selectorText(String value) => _blink.BlinkCSSStyleRule.instance.selectorText_Setter_(unwrap_jso(this), value);
@DomName('CSSStyleRule.style')
@DocsEditable()
@@ -8974,21 +7543,9 @@ 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(_blink.BlinkCSSStyleSheet.instance.cssRules_Getter_(unwrap_jso(this)));
+ List<CssRule> get cssRules => wrap_jso_list(_blink.BlinkCSSStyleSheet.instance.cssRules_Getter_(unwrap_jso(this)));
@DomName('CSSStyleSheet.ownerRule')
@DocsEditable()
@@ -8997,7 +7554,7 @@ class CssStyleSheet extends StyleSheet {
@DomName('CSSStyleSheet.rules')
@DocsEditable()
@Experimental() // non-standard
- List<CssRule> get rules => wrap_jso(_blink.BlinkCSSStyleSheet.instance.rules_Getter_(unwrap_jso(this)));
+ List<CssRule> get rules => wrap_jso_list(_blink.BlinkCSSStyleSheet.instance.rules_Getter_(unwrap_jso(this)));
int addRule(String selector, String style, [int index]) {
if (index != null) {
@@ -9036,25 +7593,13 @@ 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));
@DomName('CSSSupportsRule.cssRules')
@DocsEditable()
- List<CssRule> get cssRules => wrap_jso(_blink.BlinkCSSSupportsRule.instance.cssRules_Getter_(unwrap_jso(this)));
+ List<CssRule> get cssRules => wrap_jso_list(_blink.BlinkCSSSupportsRule.instance.cssRules_Getter_(unwrap_jso(this)));
@DomName('CSSSupportsRule.deleteRule')
@DocsEditable()
@@ -9079,18 +7624,6 @@ 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
@@ -9140,21 +7673,9 @@ 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 => wrap_jso(_blink.BlinkCustomEvent.instance.detail_Getter_(unwrap_jso(this)));
+ Object get _detail => _blink.BlinkCustomEvent.instance.detail_Getter_(unwrap_jso(this));
@DomName('CustomEvent.initCustomEvent')
@DocsEditable()
@@ -9177,18 +7698,6 @@ 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.
*
@@ -9217,18 +7726,6 @@ 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.
*
@@ -9241,7 +7738,7 @@ class DataListElement extends HtmlElement {
@DomName('HTMLDataListElement.options')
@DocsEditable()
- List<Node> get options => wrap_jso(_blink.BlinkHTMLDataListElement.instance.options_Getter_(unwrap_jso(this)));
+ List<Node> get options => wrap_jso_list(_blink.BlinkHTMLDataListElement.instance.options_Getter_(unwrap_jso(this)));
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -9258,21 +7755,6 @@ class DataTransfer extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory DataTransfer._() { throw new UnsupportedError("Not supported"); }
- static DataTransfer internalCreateDataTransfer() {
- return new DataTransfer._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory DataTransfer._internalWrap() {
- return new DataTransfer.internal_();
- }
-
- DataTransfer.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('DataTransfer.dropEffect')
@DocsEditable()
@Experimental() // untriaged
@@ -9281,7 +7763,7 @@ class DataTransfer extends NativeFieldWrapperClass2 {
@DomName('DataTransfer.dropEffect')
@DocsEditable()
@Experimental() // untriaged
- set dropEffect(String value) => _blink.BlinkDataTransfer.instance.dropEffect_Setter_(unwrap_jso(this), value);
+ void set dropEffect(String value) => _blink.BlinkDataTransfer.instance.dropEffect_Setter_(unwrap_jso(this), value);
@DomName('DataTransfer.effectAllowed')
@DocsEditable()
@@ -9291,12 +7773,12 @@ class DataTransfer extends NativeFieldWrapperClass2 {
@DomName('DataTransfer.effectAllowed')
@DocsEditable()
@Experimental() // untriaged
- set effectAllowed(String value) => _blink.BlinkDataTransfer.instance.effectAllowed_Setter_(unwrap_jso(this), value);
+ void set effectAllowed(String value) => _blink.BlinkDataTransfer.instance.effectAllowed_Setter_(unwrap_jso(this), value);
@DomName('DataTransfer.files')
@DocsEditable()
@Experimental() // untriaged
- List<File> get files => wrap_jso(_blink.BlinkDataTransfer.instance.files_Getter_(unwrap_jso(this)));
+ List<File> get files => wrap_jso_list(_blink.BlinkDataTransfer.instance.files_Getter_(unwrap_jso(this)));
@DomName('DataTransfer.items')
@DocsEditable()
@@ -9348,21 +7830,6 @@ class DataTransferItem extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory DataTransferItem._() { throw new UnsupportedError("Not supported"); }
- static DataTransferItem internalCreateDataTransferItem() {
- return new DataTransferItem._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory DataTransferItem._internalWrap() {
- return new DataTransferItem.internal_();
- }
-
- DataTransferItem.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('DataTransferItem.kind')
@DocsEditable()
String get kind => _blink.BlinkDataTransferItem.instance.kind_Getter_(unwrap_jso(this));
@@ -9377,7 +7844,7 @@ class DataTransferItem extends NativeFieldWrapperClass2 {
@DomName('DataTransferItem.getAsString')
@DocsEditable()
- void _getAsString(_StringCallback callback) => _blink.BlinkDataTransferItem.instance.getAsString_Callback_1_(unwrap_jso(this), unwrap_jso((data) => callback(data)));
+ void _getAsString(_StringCallback callback) => _blink.BlinkDataTransferItem.instance.getAsString_Callback_1_(unwrap_jso(this), unwrap_jso(callback));
Future<String> getAsString() {
var completer = new Completer<String>();
@@ -9407,21 +7874,6 @@ class DataTransferItemList extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory DataTransferItemList._() { throw new UnsupportedError("Not supported"); }
- static DataTransferItemList internalCreateDataTransferItemList() {
- return new DataTransferItemList._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory DataTransferItemList._internalWrap() {
- return new DataTransferItemList.internal_();
- }
-
- DataTransferItemList.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('DataTransferItemList.length')
@DocsEditable()
int get length => _blink.BlinkDataTransferItemList.instance.length_Getter_(unwrap_jso(this));
@@ -9500,18 +7952,6 @@ 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
@@ -9538,21 +7978,6 @@ class DeprecatedStorageInfo extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory DeprecatedStorageInfo._() { throw new UnsupportedError("Not supported"); }
- static DeprecatedStorageInfo internalCreateDeprecatedStorageInfo() {
- return new DeprecatedStorageInfo._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory DeprecatedStorageInfo._internalWrap() {
- return new DeprecatedStorageInfo.internal_();
- }
-
- DeprecatedStorageInfo.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('DeprecatedStorageInfo.PERSISTENT')
@DocsEditable()
@Experimental() // untriaged
@@ -9565,11 +7990,11 @@ class DeprecatedStorageInfo extends NativeFieldWrapperClass2 {
void queryUsageAndQuota(int storageType, [StorageUsageCallback usageCallback, StorageErrorCallback errorCallback]) {
if (errorCallback != null) {
- _blink.BlinkDeprecatedStorageInfo.instance.queryUsageAndQuota_Callback_3_(unwrap_jso(this), storageType, unwrap_jso((currentUsageInBytes, currentQuotaInBytes) => usageCallback(currentUsageInBytes, currentQuotaInBytes)), unwrap_jso((error) => errorCallback(wrap_jso(error))));
+ _blink.BlinkDeprecatedStorageInfo.instance.queryUsageAndQuota_Callback_3_(unwrap_jso(this), storageType, unwrap_jso(usageCallback), unwrap_jso(errorCallback));
return;
}
if (usageCallback != null) {
- _blink.BlinkDeprecatedStorageInfo.instance.queryUsageAndQuota_Callback_2_(unwrap_jso(this), storageType, unwrap_jso((currentUsageInBytes, currentQuotaInBytes) => usageCallback(currentUsageInBytes, currentQuotaInBytes)));
+ _blink.BlinkDeprecatedStorageInfo.instance.queryUsageAndQuota_Callback_2_(unwrap_jso(this), storageType, unwrap_jso(usageCallback));
return;
}
_blink.BlinkDeprecatedStorageInfo.instance.queryUsageAndQuota_Callback_1_(unwrap_jso(this), storageType);
@@ -9578,11 +8003,11 @@ class DeprecatedStorageInfo extends NativeFieldWrapperClass2 {
void requestQuota(int storageType, int newQuotaInBytes, [StorageQuotaCallback quotaCallback, StorageErrorCallback errorCallback]) {
if (errorCallback != null) {
- _blink.BlinkDeprecatedStorageInfo.instance.requestQuota_Callback_4_(unwrap_jso(this), storageType, newQuotaInBytes, unwrap_jso((grantedQuotaInBytes) => quotaCallback(grantedQuotaInBytes)), unwrap_jso((error) => errorCallback(wrap_jso(error))));
+ _blink.BlinkDeprecatedStorageInfo.instance.requestQuota_Callback_4_(unwrap_jso(this), storageType, newQuotaInBytes, unwrap_jso(quotaCallback), unwrap_jso(errorCallback));
return;
}
if (quotaCallback != null) {
- _blink.BlinkDeprecatedStorageInfo.instance.requestQuota_Callback_3_(unwrap_jso(this), storageType, newQuotaInBytes, unwrap_jso((grantedQuotaInBytes) => quotaCallback(grantedQuotaInBytes)));
+ _blink.BlinkDeprecatedStorageInfo.instance.requestQuota_Callback_3_(unwrap_jso(this), storageType, newQuotaInBytes, unwrap_jso(quotaCallback));
return;
}
_blink.BlinkDeprecatedStorageInfo.instance.requestQuota_Callback_2_(unwrap_jso(this), storageType, newQuotaInBytes);
@@ -9604,37 +8029,22 @@ class DeprecatedStorageQuota extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory DeprecatedStorageQuota._() { throw new UnsupportedError("Not supported"); }
- static DeprecatedStorageQuota internalCreateDeprecatedStorageQuota() {
- return new DeprecatedStorageQuota._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory DeprecatedStorageQuota._internalWrap() {
- return new DeprecatedStorageQuota.internal_();
- }
-
- DeprecatedStorageQuota.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
void queryUsageAndQuota(StorageUsageCallback usageCallback, [StorageErrorCallback errorCallback]) {
if (errorCallback != null) {
- _blink.BlinkDeprecatedStorageQuota.instance.queryUsageAndQuota_Callback_2_(unwrap_jso(this), unwrap_jso((currentUsageInBytes, currentQuotaInBytes) => usageCallback(currentUsageInBytes, currentQuotaInBytes)), unwrap_jso((error) => errorCallback(wrap_jso(error))));
+ _blink.BlinkDeprecatedStorageQuota.instance.queryUsageAndQuota_Callback_2_(unwrap_jso(this), unwrap_jso(usageCallback), unwrap_jso(errorCallback));
return;
}
- _blink.BlinkDeprecatedStorageQuota.instance.queryUsageAndQuota_Callback_1_(unwrap_jso(this), unwrap_jso((currentUsageInBytes, currentQuotaInBytes) => usageCallback(currentUsageInBytes, currentQuotaInBytes)));
+ _blink.BlinkDeprecatedStorageQuota.instance.queryUsageAndQuota_Callback_1_(unwrap_jso(this), unwrap_jso(usageCallback));
return;
}
void requestQuota(int newQuotaInBytes, [StorageQuotaCallback quotaCallback, StorageErrorCallback errorCallback]) {
if (errorCallback != null) {
- _blink.BlinkDeprecatedStorageQuota.instance.requestQuota_Callback_3_(unwrap_jso(this), newQuotaInBytes, unwrap_jso((grantedQuotaInBytes) => quotaCallback(grantedQuotaInBytes)), unwrap_jso((error) => errorCallback(wrap_jso(error))));
+ _blink.BlinkDeprecatedStorageQuota.instance.requestQuota_Callback_3_(unwrap_jso(this), newQuotaInBytes, unwrap_jso(quotaCallback), unwrap_jso(errorCallback));
return;
}
if (quotaCallback != null) {
- _blink.BlinkDeprecatedStorageQuota.instance.requestQuota_Callback_2_(unwrap_jso(this), newQuotaInBytes, unwrap_jso((grantedQuotaInBytes) => quotaCallback(grantedQuotaInBytes)));
+ _blink.BlinkDeprecatedStorageQuota.instance.requestQuota_Callback_2_(unwrap_jso(this), newQuotaInBytes, unwrap_jso(quotaCallback));
return;
}
_blink.BlinkDeprecatedStorageQuota.instance.requestQuota_Callback_1_(unwrap_jso(this), newQuotaInBytes);
@@ -9661,18 +8071,6 @@ 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.
*
@@ -9689,7 +8087,7 @@ class DetailsElement extends HtmlElement {
@DomName('HTMLDetailsElement.open')
@DocsEditable()
- set open(bool value) => _blink.BlinkHTMLDetailsElement.instance.open_Setter_(unwrap_jso(this), value);
+ void set open(bool value) => _blink.BlinkHTMLDetailsElement.instance.open_Setter_(unwrap_jso(this), value);
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -9707,32 +8105,17 @@ class DeviceAcceleration extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory DeviceAcceleration._() { throw new UnsupportedError("Not supported"); }
- static DeviceAcceleration internalCreateDeviceAcceleration() {
- return new DeviceAcceleration._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory DeviceAcceleration._internalWrap() {
- return new DeviceAcceleration.internal_();
- }
-
- DeviceAcceleration.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('DeviceAcceleration.x')
@DocsEditable()
- num get x => _blink.BlinkDeviceAcceleration.instance.x_Getter_(unwrap_jso(this));
+ double get x => _blink.BlinkDeviceAcceleration.instance.x_Getter_(unwrap_jso(this));
@DomName('DeviceAcceleration.y')
@DocsEditable()
- num get y => _blink.BlinkDeviceAcceleration.instance.y_Getter_(unwrap_jso(this));
+ double get y => _blink.BlinkDeviceAcceleration.instance.y_Getter_(unwrap_jso(this));
@DomName('DeviceAcceleration.z')
@DocsEditable()
- num get z => _blink.BlinkDeviceAcceleration.instance.z_Getter_(unwrap_jso(this));
+ double get z => _blink.BlinkDeviceAcceleration.instance.z_Getter_(unwrap_jso(this));
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -9749,22 +8132,10 @@ 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
- num get value => _blink.BlinkDeviceLightEvent.instance.value_Getter_(unwrap_jso(this));
+ double get value => _blink.BlinkDeviceLightEvent.instance.value_Getter_(unwrap_jso(this));
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -9782,18 +8153,6 @@ 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)));
@@ -9804,7 +8163,7 @@ class DeviceMotionEvent extends Event {
@DomName('DeviceMotionEvent.interval')
@DocsEditable()
- num get interval => _blink.BlinkDeviceMotionEvent.instance.interval_Getter_(unwrap_jso(this));
+ double get interval => _blink.BlinkDeviceMotionEvent.instance.interval_Getter_(unwrap_jso(this));
@DomName('DeviceMotionEvent.rotationRate')
@DocsEditable()
@@ -9837,33 +8196,21 @@ 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));
@DomName('DeviceOrientationEvent.alpha')
@DocsEditable()
- num get alpha => _blink.BlinkDeviceOrientationEvent.instance.alpha_Getter_(unwrap_jso(this));
+ double get alpha => _blink.BlinkDeviceOrientationEvent.instance.alpha_Getter_(unwrap_jso(this));
@DomName('DeviceOrientationEvent.beta')
@DocsEditable()
- num get beta => _blink.BlinkDeviceOrientationEvent.instance.beta_Getter_(unwrap_jso(this));
+ double get beta => _blink.BlinkDeviceOrientationEvent.instance.beta_Getter_(unwrap_jso(this));
@DomName('DeviceOrientationEvent.gamma')
@DocsEditable()
- num get gamma => _blink.BlinkDeviceOrientationEvent.instance.gamma_Getter_(unwrap_jso(this));
+ double get gamma => _blink.BlinkDeviceOrientationEvent.instance.gamma_Getter_(unwrap_jso(this));
@DomName('DeviceOrientationEvent.initDeviceOrientationEvent')
@DocsEditable()
@@ -9885,32 +8232,17 @@ class DeviceRotationRate extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory DeviceRotationRate._() { throw new UnsupportedError("Not supported"); }
- static DeviceRotationRate internalCreateDeviceRotationRate() {
- return new DeviceRotationRate._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory DeviceRotationRate._internalWrap() {
- return new DeviceRotationRate.internal_();
- }
-
- DeviceRotationRate.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('DeviceRotationRate.alpha')
@DocsEditable()
- num get alpha => _blink.BlinkDeviceRotationRate.instance.alpha_Getter_(unwrap_jso(this));
+ double get alpha => _blink.BlinkDeviceRotationRate.instance.alpha_Getter_(unwrap_jso(this));
@DomName('DeviceRotationRate.beta')
@DocsEditable()
- num get beta => _blink.BlinkDeviceRotationRate.instance.beta_Getter_(unwrap_jso(this));
+ double get beta => _blink.BlinkDeviceRotationRate.instance.beta_Getter_(unwrap_jso(this));
@DomName('DeviceRotationRate.gamma')
@DocsEditable()
- num get gamma => _blink.BlinkDeviceRotationRate.instance.gamma_Getter_(unwrap_jso(this));
+ double get gamma => _blink.BlinkDeviceRotationRate.instance.gamma_Getter_(unwrap_jso(this));
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -9926,18 +8258,6 @@ 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.
*
@@ -9951,7 +8271,7 @@ class DialogElement extends HtmlElement {
@DomName('HTMLDialogElement.open')
@DocsEditable()
- set open(bool value) => _blink.BlinkHTMLDialogElement.instance.open_Setter_(unwrap_jso(this), value);
+ void set open(bool value) => _blink.BlinkHTMLDialogElement.instance.open_Setter_(unwrap_jso(this), value);
@DomName('HTMLDialogElement.returnValue')
@DocsEditable()
@@ -9961,7 +8281,7 @@ class DialogElement extends HtmlElement {
@DomName('HTMLDialogElement.returnValue')
@DocsEditable()
@Experimental() // untriaged
- set returnValue(String value) => _blink.BlinkHTMLDialogElement.instance.returnValue_Setter_(unwrap_jso(this), value);
+ void set returnValue(String value) => _blink.BlinkHTMLDialogElement.instance.returnValue_Setter_(unwrap_jso(this), value);
@DomName('HTMLDialogElement.close')
@DocsEditable()
@@ -10025,33 +8345,21 @@ 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 != null ? new js.JsObject.jsify(options) : options, unwrap_jso((entry) => successCallback(wrap_jso(entry))), unwrap_jso((error) => errorCallback(wrap_jso(error))));
+ _blink.BlinkDirectoryEntry.instance.getDirectory_Callback_4_(unwrap_jso(this), path, options, unwrap_jso(successCallback), unwrap_jso(errorCallback));
return;
}
if (successCallback != null) {
- _blink.BlinkDirectoryEntry.instance.getDirectory_Callback_3_(unwrap_jso(this), path, options != null ? new js.JsObject.jsify(options) : options, unwrap_jso((entry) => successCallback(wrap_jso(entry))));
+ _blink.BlinkDirectoryEntry.instance.getDirectory_Callback_3_(unwrap_jso(this), path, options, unwrap_jso(successCallback));
return;
}
if (options != null) {
- _blink.BlinkDirectoryEntry.instance.getDirectory_Callback_2_(unwrap_jso(this), path, options != null ? new js.JsObject.jsify(options) : options);
+ _blink.BlinkDirectoryEntry.instance.getDirectory_Callback_2_(unwrap_jso(this), path, options);
return;
}
_blink.BlinkDirectoryEntry.instance.getDirectory_Callback_1_(unwrap_jso(this), path);
@@ -10068,15 +8376,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 != null ? new js.JsObject.jsify(options) : options, unwrap_jso((entry) => successCallback(wrap_jso(entry))), unwrap_jso((error) => errorCallback(wrap_jso(error))));
+ _blink.BlinkDirectoryEntry.instance.getFile_Callback_4_(unwrap_jso(this), path, options, unwrap_jso(successCallback), unwrap_jso(errorCallback));
return;
}
if (successCallback != null) {
- _blink.BlinkDirectoryEntry.instance.getFile_Callback_3_(unwrap_jso(this), path, options != null ? new js.JsObject.jsify(options) : options, unwrap_jso((entry) => successCallback(wrap_jso(entry))));
+ _blink.BlinkDirectoryEntry.instance.getFile_Callback_3_(unwrap_jso(this), path, options, unwrap_jso(successCallback));
return;
}
if (options != null) {
- _blink.BlinkDirectoryEntry.instance.getFile_Callback_2_(unwrap_jso(this), path, options != null ? new js.JsObject.jsify(options) : options);
+ _blink.BlinkDirectoryEntry.instance.getFile_Callback_2_(unwrap_jso(this), path, options);
return;
}
_blink.BlinkDirectoryEntry.instance.getFile_Callback_1_(unwrap_jso(this), path);
@@ -10093,10 +8401,10 @@ class DirectoryEntry extends Entry {
void _removeRecursively(VoidCallback successCallback, [_ErrorCallback errorCallback]) {
if (errorCallback != null) {
- _blink.BlinkDirectoryEntry.instance.removeRecursively_Callback_2_(unwrap_jso(this), unwrap_jso(() => successCallback()), unwrap_jso((error) => errorCallback(wrap_jso(error))));
+ _blink.BlinkDirectoryEntry.instance.removeRecursively_Callback_2_(unwrap_jso(this), unwrap_jso(successCallback), unwrap_jso(errorCallback));
return;
}
- _blink.BlinkDirectoryEntry.instance.removeRecursively_Callback_1_(unwrap_jso(this), unwrap_jso(() => successCallback()));
+ _blink.BlinkDirectoryEntry.instance.removeRecursively_Callback_1_(unwrap_jso(this), unwrap_jso(successCallback));
return;
}
@@ -10124,27 +8432,12 @@ class DirectoryReader extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory DirectoryReader._() { throw new UnsupportedError("Not supported"); }
- static DirectoryReader internalCreateDirectoryReader() {
- return new DirectoryReader._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory DirectoryReader._internalWrap() {
- return new DirectoryReader.internal_();
- }
-
- DirectoryReader.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
void _readEntries(_EntriesCallback successCallback, [_ErrorCallback errorCallback]) {
if (errorCallback != null) {
- _blink.BlinkDirectoryReader.instance.readEntries_Callback_2_(unwrap_jso(this), unwrap_jso((entries) => successCallback(entries)), unwrap_jso((error) => errorCallback(wrap_jso(error))));
+ _blink.BlinkDirectoryReader.instance.readEntries_Callback_2_(unwrap_jso(this), unwrap_jso(successCallback), unwrap_jso(errorCallback));
return;
}
- _blink.BlinkDirectoryReader.instance.readEntries_Callback_1_(unwrap_jso(this), unwrap_jso((entries) => successCallback(entries)));
+ _blink.BlinkDirectoryReader.instance.readEntries_Callback_1_(unwrap_jso(this), unwrap_jso(successCallback));
return;
}
@@ -10195,18 +8488,6 @@ 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.
*
@@ -10279,18 +8560,6 @@ 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
@@ -10302,7 +8571,7 @@ class Document extends Node
@DomName('Document.body')
@DocsEditable()
- set _body(HtmlElement value) => _blink.BlinkDocument.instance.body_Setter_(unwrap_jso(this), unwrap_jso(value));
+ void set _body(HtmlElement value) => _blink.BlinkDocument.instance.body_Setter_(unwrap_jso(this), unwrap_jso(value));
@DomName('Document.contentType')
@DocsEditable()
@@ -10315,7 +8584,7 @@ class Document extends Node
@DomName('Document.cookie')
@DocsEditable()
- set cookie(String value) => _blink.BlinkDocument.instance.cookie_Setter_(unwrap_jso(this), value);
+ void set cookie(String value) => _blink.BlinkDocument.instance.cookie_Setter_(unwrap_jso(this), value);
@DomName('Document.currentScript')
@DocsEditable()
@@ -10394,11 +8663,11 @@ class Document extends Node
@DomName('Document.selectedStylesheetSet')
@DocsEditable()
- set _selectedStylesheetSet(String value) => _blink.BlinkDocument.instance.selectedStylesheetSet_Setter_(unwrap_jso(this), value);
+ void set _selectedStylesheetSet(String value) => _blink.BlinkDocument.instance.selectedStylesheetSet_Setter_(unwrap_jso(this), value);
@DomName('Document.styleSheets')
@DocsEditable()
- List<StyleSheet> get _styleSheets => wrap_jso(_blink.BlinkDocument.instance.styleSheets_Getter_(unwrap_jso(this)));
+ List<StyleSheet> get _styleSheets => wrap_jso_list(_blink.BlinkDocument.instance.styleSheets_Getter_(unwrap_jso(this)));
@DomName('Document.timeline')
@DocsEditable()
@@ -10411,7 +8680,7 @@ class Document extends Node
@DomName('Document.title')
@DocsEditable()
- set _title(String value) => _blink.BlinkDocument.instance.title_Setter_(unwrap_jso(this), value);
+ void set _title(String value) => _blink.BlinkDocument.instance.title_Setter_(unwrap_jso(this), value);
@DomName('Document.visibilityState')
@DocsEditable()
@@ -10470,7 +8739,7 @@ class Document extends Node
@DomName('Document.createElementNS')
@DocsEditable()
- Element _createElementNS(String namespaceURI, String qualifiedName, [String typeExtension]) => wrap_jso(_blink.BlinkDocument.instance.createElementNS_Callback_3_(unwrap_jso(this), namespaceURI, qualifiedName, typeExtension));
+ Element createElementNS(String namespaceURI, String qualifiedName, [String typeExtension]) => wrap_jso(_blink.BlinkDocument.instance.createElementNS_Callback_3_(unwrap_jso(this), namespaceURI, qualifiedName, typeExtension));
@DomName('Document.createEvent')
@DocsEditable()
@@ -10540,15 +8809,15 @@ class Document extends Node
@DomName('Document.getElementsByClassName')
@DocsEditable()
- List<Node> getElementsByClassName(String classNames) => wrap_jso(_blink.BlinkDocument.instance.getElementsByClassName_Callback_1_(unwrap_jso(this), classNames));
+ List<Node> getElementsByClassName(String classNames) => wrap_jso_list(_blink.BlinkDocument.instance.getElementsByClassName_Callback_1_(unwrap_jso(this), classNames));
@DomName('Document.getElementsByName')
@DocsEditable()
- List<Node> getElementsByName(String elementName) => wrap_jso(_blink.BlinkDocument.instance.getElementsByName_Callback_1_(unwrap_jso(this), elementName));
+ List<Node> getElementsByName(String elementName) => wrap_jso_list(_blink.BlinkDocument.instance.getElementsByName_Callback_1_(unwrap_jso(this), elementName));
@DomName('Document.getElementsByTagName')
@DocsEditable()
- List<Node> getElementsByTagName(String localName) => wrap_jso(_blink.BlinkDocument.instance.getElementsByTagName_Callback_1_(unwrap_jso(this), localName));
+ List<Node> getElementsByTagName(String localName) => wrap_jso_list(_blink.BlinkDocument.instance.getElementsByTagName_Callback_1_(unwrap_jso(this), localName));
Node importNode(Node node, [bool deep]) {
if (deep != null) {
@@ -10596,7 +8865,7 @@ class Document extends Node
@DomName('Document.children')
@DocsEditable()
- List<Node> get _children => wrap_jso(_blink.BlinkDocument.instance.children_Getter_(unwrap_jso(this)));
+ List<Node> get _children => wrap_jso_list(_blink.BlinkDocument.instance.children_Getter_(unwrap_jso(this)));
@DomName('Document.firstElementChild')
@DocsEditable()
@@ -10629,7 +8898,7 @@ class Document extends Node
@DomName('Document.querySelectorAll')
@DocsEditable()
- List<Node> _querySelectorAll(String selectors) => wrap_jso(_blink.BlinkDocument.instance.querySelectorAll_Callback_1_(unwrap_jso(this), selectors));
+ List<Node> _querySelectorAll(String selectors) => wrap_jso_list(_blink.BlinkDocument.instance.querySelectorAll_Callback_1_(unwrap_jso(this), selectors));
/// Stream of `abort` events handled by this [Document].
@DomName('Document.onabort')
@@ -11054,45 +9323,12 @@ class Document extends Node
@DomName('Document.createElement')
Element createElement(String tagName, [String typeExtension]) {
- var newElement = (typeExtension == null) ?
- _blink.BlinkDocument.instance.createElement_Callback_1_(unwrap_jso(this), tagName) :
- _blink.BlinkDocument.instance.createElement_Callback_2_(unwrap_jso(this), tagName, typeExtension);
-
- var wrapped;
-
- if (newElement['dart_class'] != null) {
- wrapped = newElement['dart_class']; // Here's our Dart class.
- wrapped.blink_jsObject = newElement;
- } else {
- wrapped = wrap_jso(newElement);
- if (wrapped == null) {
- wrapped = wrap_jso_custom_element(newElement);
- }
- }
-
- return wrapped;
- }
-
- @DomName('Document.createElementNS')
- @DocsEditable()
- Element createElementNS(String namespaceURI, String qualifiedName, [String typeExtension]) {
- var newElement = (typeExtension == null) ?
- _blink.BlinkDocument.instance.createElementNS_Callback_2_(unwrap_jso(this), namespaceURI, qualifiedName) :
- _blink.BlinkDocument.instance.createElementNS_Callback_3_(unwrap_jso(this), namespaceURI, qualifiedName, typeExtension);
-
- var wrapped;
-
- if (newElement['dart_class'] != null) {
- wrapped = newElement['dart_class']; // Here's our Dart class.
- wrapped.blink_jsObject = newElement;
- } else {
- wrapped = wrap_jso(newElement);
- if (wrapped == null) {
- wrapped = wrap_jso_custom_element(newElement);
- }
- }
-
- return wrapped;
+ if (typeExtension != null) {
+ return _createElement(tagName, typeExtension);
+ } else {
+ // Fast-path for Dartium when typeExtension is not needed.
+ return _Utils.createElement(this, tagName);
+ }
}
}
@@ -11131,7 +9367,7 @@ class DocumentFragment extends Node implements ParentNode {
return _docChildren;
}
- set children(List<Element> value) {
+ void set children(List<Element> value) {
// Copy list first since we don't want liveness during iteration.
List copy = new List.from(value);
var children = this.children;
@@ -11153,13 +9389,14 @@ class DocumentFragment extends Node implements ParentNode {
ElementList<Element> querySelectorAll(String selectors) =>
new _FrozenElementList._wrap(_querySelectorAll(selectors));
+
String get innerHtml {
final e = new Element.tag("div");
e.append(this.clone(true));
return e.innerHtml;
}
- set innerHtml(String value) {
+ void set innerHtml(String value) {
this.setInnerHtml(value);
}
@@ -11214,18 +9451,6 @@ 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
@@ -11261,7 +9486,7 @@ class DocumentFragment extends Node implements ParentNode {
@DomName('DocumentFragment.querySelectorAll')
@DocsEditable()
- List<Node> _querySelectorAll(String selectors) => wrap_jso(_blink.BlinkDocumentFragment.instance.querySelectorAll_Callback_1_(unwrap_jso(this), selectors));
+ List<Node> _querySelectorAll(String selectors) => wrap_jso_list(_blink.BlinkDocumentFragment.instance.querySelectorAll_Callback_1_(unwrap_jso(this), selectors));
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -11280,24 +9505,9 @@ class DomError extends NativeFieldWrapperClass2 {
@DomName('DOMError.DOMError')
@DocsEditable()
factory DomError(String name, [String message]) {
- return wrap_jso(_blink.BlinkDOMError.instance.constructorCallback_2_(name, message));
- }
-
- static DomError internalCreateDomError() {
- return new DomError._internalWrap();
+ return _blink.BlinkDOMError.instance.constructorCallback_2_(name, message);
}
- js.JsObject blink_jsObject;
-
- factory DomError._internalWrap() {
- return new DomError.internal_();
- }
-
- DomError.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('DOMError.message')
@DocsEditable()
@Experimental() // untriaged
@@ -11339,47 +9549,21 @@ class DomException extends NativeFieldWrapperClass2 {
static const String INVALID_NODE_TYPE = 'InvalidNodeTypeError';
static const String DATA_CLONE = 'DataCloneError';
- String _name;
- String _message;
-
// To suppress missing implicit constructor warnings.
factory DomException._() { throw new UnsupportedError("Not supported"); }
- static DomException internalCreateDomException() {
- return new DomException._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory DomException._internalWrap() {
- return new class DomException.internal_();
- }
-
- DomException.internal_() { }
-
- DomException.jsInterop(String m) {
- var name_index = m.indexOf(': ');
- if (name_index < 0) {
- _name = "";
- _message = m;
- } else {
- _name = m.substring(0, name_index);
- _message = m.substring(name_index + 1).trim();
- }
- }
-
@DomName('DOMException.message')
@DocsEditable()
- String get message => _message;
-
+ String get message => _blink.BlinkDOMException.instance.message_Getter_(unwrap_jso(this));
+
@DomName('DOMException.name')
@DocsEditable()
- String get name => _name;
-
+ String get name => _blink.BlinkDOMException.instance.name_Getter_(unwrap_jso(this));
+
@DomName('DOMException.toString')
@DocsEditable()
- String toString() => "${_name}: $_message";
-
+ String toString() => _blink.BlinkDOMException.instance.toString_Callback_0_(unwrap_jso(this));
+
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -11394,28 +9578,13 @@ class DomImplementation extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory DomImplementation._() { throw new UnsupportedError("Not supported"); }
- static DomImplementation internalCreateDomImplementation() {
- return new DomImplementation._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory DomImplementation._internalWrap() {
- return new DomImplementation.internal_();
- }
-
- DomImplementation.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('DOMImplementation.createDocument')
@DocsEditable()
- XmlDocument createDocument(String namespaceURI, String qualifiedName, _DocumentType doctype) => wrap_jso(_blink.BlinkDOMImplementation.instance.createDocument_Callback_3_(unwrap_jso(this), namespaceURI, qualifiedName, unwrap_jso(doctype)));
+ XmlDocument createDocument(String namespaceURI, String qualifiedName, _DocumentType doctype) => _blink.BlinkDOMImplementation.instance.createDocument_Callback_3_(unwrap_jso(this), namespaceURI, qualifiedName, unwrap_jso(doctype));
@DomName('DOMImplementation.createDocumentType')
@DocsEditable()
- _DocumentType createDocumentType(String qualifiedName, String publicId, String systemId) => wrap_jso(_blink.BlinkDOMImplementation.instance.createDocumentType_Callback_3_(unwrap_jso(this), qualifiedName, publicId, systemId));
+ _DocumentType createDocumentType(String qualifiedName, String publicId, String systemId) => _blink.BlinkDOMImplementation.instance.createDocumentType_Callback_3_(unwrap_jso(this), qualifiedName, publicId, systemId);
@DomName('DOMImplementation.createHTMLDocument')
@DocsEditable()
@@ -11440,26 +9609,11 @@ class DomIterator extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory DomIterator._() { throw new UnsupportedError("Not supported"); }
- static DomIterator internalCreateDomIterator() {
- return new DomIterator._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory DomIterator._internalWrap() {
- return new DomIterator.internal_();
- }
-
- DomIterator.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
Object next([Object value]) {
if (value != null) {
- return wrap_jso(_blink.BlinkIterator.instance.next_Callback_1_(unwrap_jso(this), value));
+ return _blink.BlinkIterator.instance.next_Callback_1_(unwrap_jso(this), value);
}
- return wrap_jso(_blink.BlinkIterator.instance.next_Callback_0_(unwrap_jso(this)));
+ return _blink.BlinkIterator.instance.next_Callback_0_(unwrap_jso(this));
}
}
@@ -11481,26 +9635,14 @@ class DomMatrix extends DomMatrixReadOnly {
@DocsEditable()
factory DomMatrix([DomMatrixReadOnly other]) {
if (other == null) {
- return wrap_jso(_blink.BlinkDOMMatrix.instance.constructorCallback_0_());
+ return _blink.BlinkDOMMatrix.instance.constructorCallback_0_();
}
if ((other is DomMatrixReadOnly || other == null)) {
- return wrap_jso(_blink.BlinkDOMMatrix.instance.constructorCallback_1_(other));
+ return _blink.BlinkDOMMatrix.instance.constructorCallback_1_(other);
}
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
@@ -11509,7 +9651,7 @@ class DomMatrix extends DomMatrixReadOnly {
@DomName('DOMMatrix.a')
@DocsEditable()
@Experimental() // untriaged
- set a(num value) => _blink.BlinkDOMMatrix.instance.a_Setter_(unwrap_jso(this), value);
+ void set a(num value) => _blink.BlinkDOMMatrix.instance.a_Setter_(unwrap_jso(this), value);
@DomName('DOMMatrix.b')
@DocsEditable()
@@ -11519,7 +9661,7 @@ class DomMatrix extends DomMatrixReadOnly {
@DomName('DOMMatrix.b')
@DocsEditable()
@Experimental() // untriaged
- set b(num value) => _blink.BlinkDOMMatrix.instance.b_Setter_(unwrap_jso(this), value);
+ void set b(num value) => _blink.BlinkDOMMatrix.instance.b_Setter_(unwrap_jso(this), value);
@DomName('DOMMatrix.c')
@DocsEditable()
@@ -11529,7 +9671,7 @@ class DomMatrix extends DomMatrixReadOnly {
@DomName('DOMMatrix.c')
@DocsEditable()
@Experimental() // untriaged
- set c(num value) => _blink.BlinkDOMMatrix.instance.c_Setter_(unwrap_jso(this), value);
+ void set c(num value) => _blink.BlinkDOMMatrix.instance.c_Setter_(unwrap_jso(this), value);
@DomName('DOMMatrix.d')
@DocsEditable()
@@ -11539,7 +9681,7 @@ class DomMatrix extends DomMatrixReadOnly {
@DomName('DOMMatrix.d')
@DocsEditable()
@Experimental() // untriaged
- set d(num value) => _blink.BlinkDOMMatrix.instance.d_Setter_(unwrap_jso(this), value);
+ void set d(num value) => _blink.BlinkDOMMatrix.instance.d_Setter_(unwrap_jso(this), value);
@DomName('DOMMatrix.e')
@DocsEditable()
@@ -11549,7 +9691,7 @@ class DomMatrix extends DomMatrixReadOnly {
@DomName('DOMMatrix.e')
@DocsEditable()
@Experimental() // untriaged
- set e(num value) => _blink.BlinkDOMMatrix.instance.e_Setter_(unwrap_jso(this), value);
+ void set e(num value) => _blink.BlinkDOMMatrix.instance.e_Setter_(unwrap_jso(this), value);
@DomName('DOMMatrix.f')
@DocsEditable()
@@ -11559,7 +9701,7 @@ class DomMatrix extends DomMatrixReadOnly {
@DomName('DOMMatrix.f')
@DocsEditable()
@Experimental() // untriaged
- set f(num value) => _blink.BlinkDOMMatrix.instance.f_Setter_(unwrap_jso(this), value);
+ void set f(num value) => _blink.BlinkDOMMatrix.instance.f_Setter_(unwrap_jso(this), value);
@DomName('DOMMatrix.m11')
@DocsEditable()
@@ -11569,7 +9711,7 @@ class DomMatrix extends DomMatrixReadOnly {
@DomName('DOMMatrix.m11')
@DocsEditable()
@Experimental() // untriaged
- set m11(num value) => _blink.BlinkDOMMatrix.instance.m11_Setter_(unwrap_jso(this), value);
+ void set m11(num value) => _blink.BlinkDOMMatrix.instance.m11_Setter_(unwrap_jso(this), value);
@DomName('DOMMatrix.m12')
@DocsEditable()
@@ -11579,7 +9721,7 @@ class DomMatrix extends DomMatrixReadOnly {
@DomName('DOMMatrix.m12')
@DocsEditable()
@Experimental() // untriaged
- set m12(num value) => _blink.BlinkDOMMatrix.instance.m12_Setter_(unwrap_jso(this), value);
+ void set m12(num value) => _blink.BlinkDOMMatrix.instance.m12_Setter_(unwrap_jso(this), value);
@DomName('DOMMatrix.m13')
@DocsEditable()
@@ -11589,7 +9731,7 @@ class DomMatrix extends DomMatrixReadOnly {
@DomName('DOMMatrix.m13')
@DocsEditable()
@Experimental() // untriaged
- set m13(num value) => _blink.BlinkDOMMatrix.instance.m13_Setter_(unwrap_jso(this), value);
+ void set m13(num value) => _blink.BlinkDOMMatrix.instance.m13_Setter_(unwrap_jso(this), value);
@DomName('DOMMatrix.m14')
@DocsEditable()
@@ -11599,7 +9741,7 @@ class DomMatrix extends DomMatrixReadOnly {
@DomName('DOMMatrix.m14')
@DocsEditable()
@Experimental() // untriaged
- set m14(num value) => _blink.BlinkDOMMatrix.instance.m14_Setter_(unwrap_jso(this), value);
+ void set m14(num value) => _blink.BlinkDOMMatrix.instance.m14_Setter_(unwrap_jso(this), value);
@DomName('DOMMatrix.m21')
@DocsEditable()
@@ -11609,7 +9751,7 @@ class DomMatrix extends DomMatrixReadOnly {
@DomName('DOMMatrix.m21')
@DocsEditable()
@Experimental() // untriaged
- set m21(num value) => _blink.BlinkDOMMatrix.instance.m21_Setter_(unwrap_jso(this), value);
+ void set m21(num value) => _blink.BlinkDOMMatrix.instance.m21_Setter_(unwrap_jso(this), value);
@DomName('DOMMatrix.m22')
@DocsEditable()
@@ -11619,7 +9761,7 @@ class DomMatrix extends DomMatrixReadOnly {
@DomName('DOMMatrix.m22')
@DocsEditable()
@Experimental() // untriaged
- set m22(num value) => _blink.BlinkDOMMatrix.instance.m22_Setter_(unwrap_jso(this), value);
+ void set m22(num value) => _blink.BlinkDOMMatrix.instance.m22_Setter_(unwrap_jso(this), value);
@DomName('DOMMatrix.m23')
@DocsEditable()
@@ -11629,7 +9771,7 @@ class DomMatrix extends DomMatrixReadOnly {
@DomName('DOMMatrix.m23')
@DocsEditable()
@Experimental() // untriaged
- set m23(num value) => _blink.BlinkDOMMatrix.instance.m23_Setter_(unwrap_jso(this), value);
+ void set m23(num value) => _blink.BlinkDOMMatrix.instance.m23_Setter_(unwrap_jso(this), value);
@DomName('DOMMatrix.m24')
@DocsEditable()
@@ -11639,7 +9781,7 @@ class DomMatrix extends DomMatrixReadOnly {
@DomName('DOMMatrix.m24')
@DocsEditable()
@Experimental() // untriaged
- set m24(num value) => _blink.BlinkDOMMatrix.instance.m24_Setter_(unwrap_jso(this), value);
+ void set m24(num value) => _blink.BlinkDOMMatrix.instance.m24_Setter_(unwrap_jso(this), value);
@DomName('DOMMatrix.m31')
@DocsEditable()
@@ -11649,7 +9791,7 @@ class DomMatrix extends DomMatrixReadOnly {
@DomName('DOMMatrix.m31')
@DocsEditable()
@Experimental() // untriaged
- set m31(num value) => _blink.BlinkDOMMatrix.instance.m31_Setter_(unwrap_jso(this), value);
+ void set m31(num value) => _blink.BlinkDOMMatrix.instance.m31_Setter_(unwrap_jso(this), value);
@DomName('DOMMatrix.m32')
@DocsEditable()
@@ -11659,7 +9801,7 @@ class DomMatrix extends DomMatrixReadOnly {
@DomName('DOMMatrix.m32')
@DocsEditable()
@Experimental() // untriaged
- set m32(num value) => _blink.BlinkDOMMatrix.instance.m32_Setter_(unwrap_jso(this), value);
+ void set m32(num value) => _blink.BlinkDOMMatrix.instance.m32_Setter_(unwrap_jso(this), value);
@DomName('DOMMatrix.m33')
@DocsEditable()
@@ -11669,7 +9811,7 @@ class DomMatrix extends DomMatrixReadOnly {
@DomName('DOMMatrix.m33')
@DocsEditable()
@Experimental() // untriaged
- set m33(num value) => _blink.BlinkDOMMatrix.instance.m33_Setter_(unwrap_jso(this), value);
+ void set m33(num value) => _blink.BlinkDOMMatrix.instance.m33_Setter_(unwrap_jso(this), value);
@DomName('DOMMatrix.m34')
@DocsEditable()
@@ -11679,7 +9821,7 @@ class DomMatrix extends DomMatrixReadOnly {
@DomName('DOMMatrix.m34')
@DocsEditable()
@Experimental() // untriaged
- set m34(num value) => _blink.BlinkDOMMatrix.instance.m34_Setter_(unwrap_jso(this), value);
+ void set m34(num value) => _blink.BlinkDOMMatrix.instance.m34_Setter_(unwrap_jso(this), value);
@DomName('DOMMatrix.m41')
@DocsEditable()
@@ -11689,7 +9831,7 @@ class DomMatrix extends DomMatrixReadOnly {
@DomName('DOMMatrix.m41')
@DocsEditable()
@Experimental() // untriaged
- set m41(num value) => _blink.BlinkDOMMatrix.instance.m41_Setter_(unwrap_jso(this), value);
+ void set m41(num value) => _blink.BlinkDOMMatrix.instance.m41_Setter_(unwrap_jso(this), value);
@DomName('DOMMatrix.m42')
@DocsEditable()
@@ -11699,7 +9841,7 @@ class DomMatrix extends DomMatrixReadOnly {
@DomName('DOMMatrix.m42')
@DocsEditable()
@Experimental() // untriaged
- set m42(num value) => _blink.BlinkDOMMatrix.instance.m42_Setter_(unwrap_jso(this), value);
+ void set m42(num value) => _blink.BlinkDOMMatrix.instance.m42_Setter_(unwrap_jso(this), value);
@DomName('DOMMatrix.m43')
@DocsEditable()
@@ -11709,7 +9851,7 @@ class DomMatrix extends DomMatrixReadOnly {
@DomName('DOMMatrix.m43')
@DocsEditable()
@Experimental() // untriaged
- set m43(num value) => _blink.BlinkDOMMatrix.instance.m43_Setter_(unwrap_jso(this), value);
+ void set m43(num value) => _blink.BlinkDOMMatrix.instance.m43_Setter_(unwrap_jso(this), value);
@DomName('DOMMatrix.m44')
@DocsEditable()
@@ -11719,65 +9861,65 @@ class DomMatrix extends DomMatrixReadOnly {
@DomName('DOMMatrix.m44')
@DocsEditable()
@Experimental() // untriaged
- set m44(num value) => _blink.BlinkDOMMatrix.instance.m44_Setter_(unwrap_jso(this), value);
+ void set m44(num value) => _blink.BlinkDOMMatrix.instance.m44_Setter_(unwrap_jso(this), value);
@DomName('DOMMatrix.multiplySelf')
@DocsEditable()
@Experimental() // untriaged
- DomMatrix multiplySelf(DomMatrix other) => wrap_jso(_blink.BlinkDOMMatrix.instance.multiplySelf_Callback_1_(unwrap_jso(this), unwrap_jso(other)));
+ DomMatrix multiplySelf(DomMatrix other) => _blink.BlinkDOMMatrix.instance.multiplySelf_Callback_1_(unwrap_jso(this), unwrap_jso(other));
@DomName('DOMMatrix.preMultiplySelf')
@DocsEditable()
@Experimental() // untriaged
- DomMatrix preMultiplySelf(DomMatrix other) => wrap_jso(_blink.BlinkDOMMatrix.instance.preMultiplySelf_Callback_1_(unwrap_jso(this), unwrap_jso(other)));
+ DomMatrix preMultiplySelf(DomMatrix other) => _blink.BlinkDOMMatrix.instance.preMultiplySelf_Callback_1_(unwrap_jso(this), unwrap_jso(other));
DomMatrix scale3dSelf(num scale, [num ox, num oy, num oz]) {
if (oz != null) {
- return wrap_jso(_blink.BlinkDOMMatrix.instance.scale3dSelf_Callback_4_(unwrap_jso(this), scale, ox, oy, oz));
+ return _blink.BlinkDOMMatrix.instance.scale3dSelf_Callback_4_(unwrap_jso(this), scale, ox, oy, oz);
}
if (oy != null) {
- return wrap_jso(_blink.BlinkDOMMatrix.instance.scale3dSelf_Callback_3_(unwrap_jso(this), scale, ox, oy));
+ return _blink.BlinkDOMMatrix.instance.scale3dSelf_Callback_3_(unwrap_jso(this), scale, ox, oy);
}
if (ox != null) {
- return wrap_jso(_blink.BlinkDOMMatrix.instance.scale3dSelf_Callback_2_(unwrap_jso(this), scale, ox));
+ return _blink.BlinkDOMMatrix.instance.scale3dSelf_Callback_2_(unwrap_jso(this), scale, ox);
}
- return wrap_jso(_blink.BlinkDOMMatrix.instance.scale3dSelf_Callback_1_(unwrap_jso(this), scale));
+ return _blink.BlinkDOMMatrix.instance.scale3dSelf_Callback_1_(unwrap_jso(this), scale);
}
DomMatrix scaleNonUniformSelf(num sx, [num sy, num sz, num ox, num oy, num oz]) {
if (oz != null) {
- return wrap_jso(_blink.BlinkDOMMatrix.instance.scaleNonUniformSelf_Callback_6_(unwrap_jso(this), sx, sy, sz, ox, oy, oz));
+ return _blink.BlinkDOMMatrix.instance.scaleNonUniformSelf_Callback_6_(unwrap_jso(this), sx, sy, sz, ox, oy, oz);
}
if (oy != null) {
- return wrap_jso(_blink.BlinkDOMMatrix.instance.scaleNonUniformSelf_Callback_5_(unwrap_jso(this), sx, sy, sz, ox, oy));
+ return _blink.BlinkDOMMatrix.instance.scaleNonUniformSelf_Callback_5_(unwrap_jso(this), sx, sy, sz, ox, oy);
}
if (ox != null) {
- return wrap_jso(_blink.BlinkDOMMatrix.instance.scaleNonUniformSelf_Callback_4_(unwrap_jso(this), sx, sy, sz, ox));
+ return _blink.BlinkDOMMatrix.instance.scaleNonUniformSelf_Callback_4_(unwrap_jso(this), sx, sy, sz, ox);
}
if (sz != null) {
- return wrap_jso(_blink.BlinkDOMMatrix.instance.scaleNonUniformSelf_Callback_3_(unwrap_jso(this), sx, sy, sz));
+ return _blink.BlinkDOMMatrix.instance.scaleNonUniformSelf_Callback_3_(unwrap_jso(this), sx, sy, sz);
}
if (sy != null) {
- return wrap_jso(_blink.BlinkDOMMatrix.instance.scaleNonUniformSelf_Callback_2_(unwrap_jso(this), sx, sy));
+ return _blink.BlinkDOMMatrix.instance.scaleNonUniformSelf_Callback_2_(unwrap_jso(this), sx, sy);
}
- return wrap_jso(_blink.BlinkDOMMatrix.instance.scaleNonUniformSelf_Callback_1_(unwrap_jso(this), sx));
+ return _blink.BlinkDOMMatrix.instance.scaleNonUniformSelf_Callback_1_(unwrap_jso(this), sx);
}
DomMatrix scaleSelf(num scale, [num ox, num oy]) {
if (oy != null) {
- return wrap_jso(_blink.BlinkDOMMatrix.instance.scaleSelf_Callback_3_(unwrap_jso(this), scale, ox, oy));
+ return _blink.BlinkDOMMatrix.instance.scaleSelf_Callback_3_(unwrap_jso(this), scale, ox, oy);
}
if (ox != null) {
- return wrap_jso(_blink.BlinkDOMMatrix.instance.scaleSelf_Callback_2_(unwrap_jso(this), scale, ox));
+ return _blink.BlinkDOMMatrix.instance.scaleSelf_Callback_2_(unwrap_jso(this), scale, ox);
}
- return wrap_jso(_blink.BlinkDOMMatrix.instance.scaleSelf_Callback_1_(unwrap_jso(this), scale));
+ return _blink.BlinkDOMMatrix.instance.scaleSelf_Callback_1_(unwrap_jso(this), scale);
}
DomMatrix translateSelf(num tx, num ty, [num tz]) {
if (tz != null) {
- return wrap_jso(_blink.BlinkDOMMatrix.instance.translateSelf_Callback_3_(unwrap_jso(this), tx, ty, tz));
+ return _blink.BlinkDOMMatrix.instance.translateSelf_Callback_3_(unwrap_jso(this), tx, ty, tz);
}
- return wrap_jso(_blink.BlinkDOMMatrix.instance.translateSelf_Callback_2_(unwrap_jso(this), tx, ty));
+ return _blink.BlinkDOMMatrix.instance.translateSelf_Callback_2_(unwrap_jso(this), tx, ty);
}
}
@@ -11795,50 +9937,35 @@ class DomMatrixReadOnly extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory DomMatrixReadOnly._() { throw new UnsupportedError("Not supported"); }
- static DomMatrixReadOnly internalCreateDomMatrixReadOnly() {
- return new DomMatrixReadOnly._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory DomMatrixReadOnly._internalWrap() {
- return new DomMatrixReadOnly.internal_();
- }
-
- DomMatrixReadOnly.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('DOMMatrixReadOnly.a')
@DocsEditable()
@Experimental() // untriaged
- num get a => _blink.BlinkDOMMatrixReadOnly.instance.a_Getter_(unwrap_jso(this));
+ double get a => _blink.BlinkDOMMatrixReadOnly.instance.a_Getter_(unwrap_jso(this));
@DomName('DOMMatrixReadOnly.b')
@DocsEditable()
@Experimental() // untriaged
- num get b => _blink.BlinkDOMMatrixReadOnly.instance.b_Getter_(unwrap_jso(this));
+ double get b => _blink.BlinkDOMMatrixReadOnly.instance.b_Getter_(unwrap_jso(this));
@DomName('DOMMatrixReadOnly.c')
@DocsEditable()
@Experimental() // untriaged
- num get c => _blink.BlinkDOMMatrixReadOnly.instance.c_Getter_(unwrap_jso(this));
+ double get c => _blink.BlinkDOMMatrixReadOnly.instance.c_Getter_(unwrap_jso(this));
@DomName('DOMMatrixReadOnly.d')
@DocsEditable()
@Experimental() // untriaged
- num get d => _blink.BlinkDOMMatrixReadOnly.instance.d_Getter_(unwrap_jso(this));
+ double get d => _blink.BlinkDOMMatrixReadOnly.instance.d_Getter_(unwrap_jso(this));
@DomName('DOMMatrixReadOnly.e')
@DocsEditable()
@Experimental() // untriaged
- num get e => _blink.BlinkDOMMatrixReadOnly.instance.e_Getter_(unwrap_jso(this));
+ double get e => _blink.BlinkDOMMatrixReadOnly.instance.e_Getter_(unwrap_jso(this));
@DomName('DOMMatrixReadOnly.f')
@DocsEditable()
@Experimental() // untriaged
- num get f => _blink.BlinkDOMMatrixReadOnly.instance.f_Getter_(unwrap_jso(this));
+ double get f => _blink.BlinkDOMMatrixReadOnly.instance.f_Getter_(unwrap_jso(this));
@DomName('DOMMatrixReadOnly.is2D')
@DocsEditable()
@@ -11853,128 +9980,128 @@ class DomMatrixReadOnly extends NativeFieldWrapperClass2 {
@DomName('DOMMatrixReadOnly.m11')
@DocsEditable()
@Experimental() // untriaged
- num get m11 => _blink.BlinkDOMMatrixReadOnly.instance.m11_Getter_(unwrap_jso(this));
+ double get m11 => _blink.BlinkDOMMatrixReadOnly.instance.m11_Getter_(unwrap_jso(this));
@DomName('DOMMatrixReadOnly.m12')
@DocsEditable()
@Experimental() // untriaged
- num get m12 => _blink.BlinkDOMMatrixReadOnly.instance.m12_Getter_(unwrap_jso(this));
+ double get m12 => _blink.BlinkDOMMatrixReadOnly.instance.m12_Getter_(unwrap_jso(this));
@DomName('DOMMatrixReadOnly.m13')
@DocsEditable()
@Experimental() // untriaged
- num get m13 => _blink.BlinkDOMMatrixReadOnly.instance.m13_Getter_(unwrap_jso(this));
+ double get m13 => _blink.BlinkDOMMatrixReadOnly.instance.m13_Getter_(unwrap_jso(this));
@DomName('DOMMatrixReadOnly.m14')
@DocsEditable()
@Experimental() // untriaged
- num get m14 => _blink.BlinkDOMMatrixReadOnly.instance.m14_Getter_(unwrap_jso(this));
+ double get m14 => _blink.BlinkDOMMatrixReadOnly.instance.m14_Getter_(unwrap_jso(this));
@DomName('DOMMatrixReadOnly.m21')
@DocsEditable()
@Experimental() // untriaged
- num get m21 => _blink.BlinkDOMMatrixReadOnly.instance.m21_Getter_(unwrap_jso(this));
+ double get m21 => _blink.BlinkDOMMatrixReadOnly.instance.m21_Getter_(unwrap_jso(this));
@DomName('DOMMatrixReadOnly.m22')
@DocsEditable()
@Experimental() // untriaged
- num get m22 => _blink.BlinkDOMMatrixReadOnly.instance.m22_Getter_(unwrap_jso(this));
+ double get m22 => _blink.BlinkDOMMatrixReadOnly.instance.m22_Getter_(unwrap_jso(this));
@DomName('DOMMatrixReadOnly.m23')
@DocsEditable()
@Experimental() // untriaged
- num get m23 => _blink.BlinkDOMMatrixReadOnly.instance.m23_Getter_(unwrap_jso(this));
+ double get m23 => _blink.BlinkDOMMatrixReadOnly.instance.m23_Getter_(unwrap_jso(this));
@DomName('DOMMatrixReadOnly.m24')
@DocsEditable()
@Experimental() // untriaged
- num get m24 => _blink.BlinkDOMMatrixReadOnly.instance.m24_Getter_(unwrap_jso(this));
+ double get m24 => _blink.BlinkDOMMatrixReadOnly.instance.m24_Getter_(unwrap_jso(this));
@DomName('DOMMatrixReadOnly.m31')
@DocsEditable()
@Experimental() // untriaged
- num get m31 => _blink.BlinkDOMMatrixReadOnly.instance.m31_Getter_(unwrap_jso(this));
+ double get m31 => _blink.BlinkDOMMatrixReadOnly.instance.m31_Getter_(unwrap_jso(this));
@DomName('DOMMatrixReadOnly.m32')
@DocsEditable()
@Experimental() // untriaged
- num get m32 => _blink.BlinkDOMMatrixReadOnly.instance.m32_Getter_(unwrap_jso(this));
+ double get m32 => _blink.BlinkDOMMatrixReadOnly.instance.m32_Getter_(unwrap_jso(this));
@DomName('DOMMatrixReadOnly.m33')
@DocsEditable()
@Experimental() // untriaged
- num get m33 => _blink.BlinkDOMMatrixReadOnly.instance.m33_Getter_(unwrap_jso(this));
+ double get m33 => _blink.BlinkDOMMatrixReadOnly.instance.m33_Getter_(unwrap_jso(this));
@DomName('DOMMatrixReadOnly.m34')
@DocsEditable()
@Experimental() // untriaged
- num get m34 => _blink.BlinkDOMMatrixReadOnly.instance.m34_Getter_(unwrap_jso(this));
+ double get m34 => _blink.BlinkDOMMatrixReadOnly.instance.m34_Getter_(unwrap_jso(this));
@DomName('DOMMatrixReadOnly.m41')
@DocsEditable()
@Experimental() // untriaged
- num get m41 => _blink.BlinkDOMMatrixReadOnly.instance.m41_Getter_(unwrap_jso(this));
+ double get m41 => _blink.BlinkDOMMatrixReadOnly.instance.m41_Getter_(unwrap_jso(this));
@DomName('DOMMatrixReadOnly.m42')
@DocsEditable()
@Experimental() // untriaged
- num get m42 => _blink.BlinkDOMMatrixReadOnly.instance.m42_Getter_(unwrap_jso(this));
+ double get m42 => _blink.BlinkDOMMatrixReadOnly.instance.m42_Getter_(unwrap_jso(this));
@DomName('DOMMatrixReadOnly.m43')
@DocsEditable()
@Experimental() // untriaged
- num get m43 => _blink.BlinkDOMMatrixReadOnly.instance.m43_Getter_(unwrap_jso(this));
+ double get m43 => _blink.BlinkDOMMatrixReadOnly.instance.m43_Getter_(unwrap_jso(this));
@DomName('DOMMatrixReadOnly.m44')
@DocsEditable()
@Experimental() // untriaged
- num get m44 => _blink.BlinkDOMMatrixReadOnly.instance.m44_Getter_(unwrap_jso(this));
+ double get m44 => _blink.BlinkDOMMatrixReadOnly.instance.m44_Getter_(unwrap_jso(this));
@DomName('DOMMatrixReadOnly.multiply')
@DocsEditable()
@Experimental() // untriaged
- DomMatrix multiply(DomMatrix other) => wrap_jso(_blink.BlinkDOMMatrixReadOnly.instance.multiply_Callback_1_(unwrap_jso(this), unwrap_jso(other)));
+ DomMatrix multiply(DomMatrix other) => _blink.BlinkDOMMatrixReadOnly.instance.multiply_Callback_1_(unwrap_jso(this), unwrap_jso(other));
DomMatrix scale(num scale, [num ox, num oy]) {
if (oy != null) {
- return wrap_jso(_blink.BlinkDOMMatrixReadOnly.instance.scale_Callback_3_(unwrap_jso(this), scale, ox, oy));
+ return _blink.BlinkDOMMatrixReadOnly.instance.scale_Callback_3_(unwrap_jso(this), scale, ox, oy);
}
if (ox != null) {
- return wrap_jso(_blink.BlinkDOMMatrixReadOnly.instance.scale_Callback_2_(unwrap_jso(this), scale, ox));
+ return _blink.BlinkDOMMatrixReadOnly.instance.scale_Callback_2_(unwrap_jso(this), scale, ox);
}
- return wrap_jso(_blink.BlinkDOMMatrixReadOnly.instance.scale_Callback_1_(unwrap_jso(this), scale));
+ return _blink.BlinkDOMMatrixReadOnly.instance.scale_Callback_1_(unwrap_jso(this), scale);
}
DomMatrix scale3d(num scale, [num ox, num oy, num oz]) {
if (oz != null) {
- return wrap_jso(_blink.BlinkDOMMatrixReadOnly.instance.scale3d_Callback_4_(unwrap_jso(this), scale, ox, oy, oz));
+ return _blink.BlinkDOMMatrixReadOnly.instance.scale3d_Callback_4_(unwrap_jso(this), scale, ox, oy, oz);
}
if (oy != null) {
- return wrap_jso(_blink.BlinkDOMMatrixReadOnly.instance.scale3d_Callback_3_(unwrap_jso(this), scale, ox, oy));
+ return _blink.BlinkDOMMatrixReadOnly.instance.scale3d_Callback_3_(unwrap_jso(this), scale, ox, oy);
}
if (ox != null) {
- return wrap_jso(_blink.BlinkDOMMatrixReadOnly.instance.scale3d_Callback_2_(unwrap_jso(this), scale, ox));
+ return _blink.BlinkDOMMatrixReadOnly.instance.scale3d_Callback_2_(unwrap_jso(this), scale, ox);
}
- return wrap_jso(_blink.BlinkDOMMatrixReadOnly.instance.scale3d_Callback_1_(unwrap_jso(this), scale));
+ return _blink.BlinkDOMMatrixReadOnly.instance.scale3d_Callback_1_(unwrap_jso(this), scale);
}
DomMatrix scaleNonUniform(num sx, [num sy, num sz, num ox, num oy, num oz]) {
if (oz != null) {
- return wrap_jso(_blink.BlinkDOMMatrixReadOnly.instance.scaleNonUniform_Callback_6_(unwrap_jso(this), sx, sy, sz, ox, oy, oz));
+ return _blink.BlinkDOMMatrixReadOnly.instance.scaleNonUniform_Callback_6_(unwrap_jso(this), sx, sy, sz, ox, oy, oz);
}
if (oy != null) {
- return wrap_jso(_blink.BlinkDOMMatrixReadOnly.instance.scaleNonUniform_Callback_5_(unwrap_jso(this), sx, sy, sz, ox, oy));
+ return _blink.BlinkDOMMatrixReadOnly.instance.scaleNonUniform_Callback_5_(unwrap_jso(this), sx, sy, sz, ox, oy);
}
if (ox != null) {
- return wrap_jso(_blink.BlinkDOMMatrixReadOnly.instance.scaleNonUniform_Callback_4_(unwrap_jso(this), sx, sy, sz, ox));
+ return _blink.BlinkDOMMatrixReadOnly.instance.scaleNonUniform_Callback_4_(unwrap_jso(this), sx, sy, sz, ox);
}
if (sz != null) {
- return wrap_jso(_blink.BlinkDOMMatrixReadOnly.instance.scaleNonUniform_Callback_3_(unwrap_jso(this), sx, sy, sz));
+ return _blink.BlinkDOMMatrixReadOnly.instance.scaleNonUniform_Callback_3_(unwrap_jso(this), sx, sy, sz);
}
if (sy != null) {
- return wrap_jso(_blink.BlinkDOMMatrixReadOnly.instance.scaleNonUniform_Callback_2_(unwrap_jso(this), sx, sy));
+ return _blink.BlinkDOMMatrixReadOnly.instance.scaleNonUniform_Callback_2_(unwrap_jso(this), sx, sy);
}
- return wrap_jso(_blink.BlinkDOMMatrixReadOnly.instance.scaleNonUniform_Callback_1_(unwrap_jso(this), sx));
+ return _blink.BlinkDOMMatrixReadOnly.instance.scaleNonUniform_Callback_1_(unwrap_jso(this), sx);
}
@DomName('DOMMatrixReadOnly.toFloat32Array')
@@ -11989,9 +10116,9 @@ class DomMatrixReadOnly extends NativeFieldWrapperClass2 {
DomMatrix translate(num tx, num ty, [num tz]) {
if (tz != null) {
- return wrap_jso(_blink.BlinkDOMMatrixReadOnly.instance.translate_Callback_3_(unwrap_jso(this), tx, ty, tz));
+ return _blink.BlinkDOMMatrixReadOnly.instance.translate_Callback_3_(unwrap_jso(this), tx, ty, tz);
}
- return wrap_jso(_blink.BlinkDOMMatrixReadOnly.instance.translate_Callback_2_(unwrap_jso(this), tx, ty));
+ return _blink.BlinkDOMMatrixReadOnly.instance.translate_Callback_2_(unwrap_jso(this), tx, ty);
}
}
@@ -12011,24 +10138,9 @@ class DomParser extends NativeFieldWrapperClass2 {
@DomName('DOMParser.DOMParser')
@DocsEditable()
factory DomParser() {
- return wrap_jso(_blink.BlinkDOMParser.instance.constructorCallback_0_());
- }
-
- static DomParser internalCreateDomParser() {
- return new DomParser._internalWrap();
+ return _blink.BlinkDOMParser.instance.constructorCallback_0_();
}
- js.JsObject blink_jsObject;
-
- factory DomParser._internalWrap() {
- return new DomParser.internal_();
- }
-
- DomParser.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('DOMParser.parseFromString')
@DocsEditable()
Document parseFromString(String str, String contentType) => wrap_jso(_blink.BlinkDOMParser.instance.parseFromString_Callback_2_(unwrap_jso(this), str, contentType));
@@ -12052,36 +10164,23 @@ class DomPoint extends DomPointReadOnly {
@DocsEditable()
factory DomPoint([point_OR_x, num y, num z, num w]) {
if (point_OR_x == null && y == null && z == null && w == null) {
- return wrap_jso(_blink.BlinkDOMPoint.instance.constructorCallback_0_());
+ return _blink.BlinkDOMPoint.instance.constructorCallback_0_();
}
if ((point_OR_x is Map || point_OR_x == null) && y == null && z == null && w == null) {
- var point_1 = convertDartToNative_Dictionary(point_OR_x);
- return wrap_jso(_blink.BlinkDOMPoint.instance.constructorCallback_1_(point_1));
+ return _blink.BlinkDOMPoint.instance.constructorCallback_1_(point_OR_x);
}
if ((y is num || y == null) && (point_OR_x is num || point_OR_x == null) && z == null && w == null) {
- return wrap_jso(_blink.BlinkDOMPoint.instance.constructorCallback_2_(point_OR_x, y));
+ return _blink.BlinkDOMPoint.instance.constructorCallback_2_(point_OR_x, y);
}
if ((z is num || z == null) && (y is num || y == null) && (point_OR_x is num || point_OR_x == null) && w == null) {
- return wrap_jso(_blink.BlinkDOMPoint.instance.constructorCallback_3_(point_OR_x, y, z));
+ return _blink.BlinkDOMPoint.instance.constructorCallback_3_(point_OR_x, y, z);
}
if ((w is num || w == null) && (z is num || z == null) && (y is num || y == null) && (point_OR_x is num || point_OR_x == null)) {
- return wrap_jso(_blink.BlinkDOMPoint.instance.constructorCallback_4_(point_OR_x, y, z, w));
+ return _blink.BlinkDOMPoint.instance.constructorCallback_4_(point_OR_x, y, z, w);
}
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;
@@ -12093,7 +10192,7 @@ class DomPoint extends DomPointReadOnly {
@DomName('DOMPoint.w')
@DocsEditable()
@Experimental() // untriaged
- set w(num value) => _blink.BlinkDOMPoint.instance.w_Setter_(unwrap_jso(this), value);
+ void set w(num value) => _blink.BlinkDOMPoint.instance.w_Setter_(unwrap_jso(this), value);
@DomName('DOMPoint.x')
@DocsEditable()
@@ -12103,7 +10202,7 @@ class DomPoint extends DomPointReadOnly {
@DomName('DOMPoint.x')
@DocsEditable()
@Experimental() // untriaged
- set x(num value) => _blink.BlinkDOMPoint.instance.x_Setter_(unwrap_jso(this), value);
+ void set x(num value) => _blink.BlinkDOMPoint.instance.x_Setter_(unwrap_jso(this), value);
@DomName('DOMPoint.y')
@DocsEditable()
@@ -12113,7 +10212,7 @@ class DomPoint extends DomPointReadOnly {
@DomName('DOMPoint.y')
@DocsEditable()
@Experimental() // untriaged
- set y(num value) => _blink.BlinkDOMPoint.instance.y_Setter_(unwrap_jso(this), value);
+ void set y(num value) => _blink.BlinkDOMPoint.instance.y_Setter_(unwrap_jso(this), value);
@DomName('DOMPoint.z')
@DocsEditable()
@@ -12123,7 +10222,7 @@ class DomPoint extends DomPointReadOnly {
@DomName('DOMPoint.z')
@DocsEditable()
@Experimental() // untriaged
- set z(num value) => _blink.BlinkDOMPoint.instance.z_Setter_(unwrap_jso(this), value);
+ void set z(num value) => _blink.BlinkDOMPoint.instance.z_Setter_(unwrap_jso(this), value);
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -12143,43 +10242,28 @@ class DomPointReadOnly extends NativeFieldWrapperClass2 {
@DomName('DOMPointReadOnly.DOMPointReadOnly')
@DocsEditable()
factory DomPointReadOnly(num x, num y, num z, num w) {
- return wrap_jso(_blink.BlinkDOMPointReadOnly.instance.constructorCallback_4_(x, y, z, w));
+ return _blink.BlinkDOMPointReadOnly.instance.constructorCallback_4_(x, y, z, w);
}
- static DomPointReadOnly internalCreateDomPointReadOnly() {
- return new DomPointReadOnly._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory DomPointReadOnly._internalWrap() {
- return new DomPointReadOnly.internal_();
- }
-
- DomPointReadOnly.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('DOMPointReadOnly.w')
@DocsEditable()
@Experimental() // untriaged
- num get w => _blink.BlinkDOMPointReadOnly.instance.w_Getter_(unwrap_jso(this));
+ double get w => _blink.BlinkDOMPointReadOnly.instance.w_Getter_(unwrap_jso(this));
@DomName('DOMPointReadOnly.x')
@DocsEditable()
@Experimental() // untriaged
- num get x => _blink.BlinkDOMPointReadOnly.instance.x_Getter_(unwrap_jso(this));
+ double get x => _blink.BlinkDOMPointReadOnly.instance.x_Getter_(unwrap_jso(this));
@DomName('DOMPointReadOnly.y')
@DocsEditable()
@Experimental() // untriaged
- num get y => _blink.BlinkDOMPointReadOnly.instance.y_Getter_(unwrap_jso(this));
+ double get y => _blink.BlinkDOMPointReadOnly.instance.y_Getter_(unwrap_jso(this));
@DomName('DOMPointReadOnly.z')
@DocsEditable()
@Experimental() // untriaged
- num get z => _blink.BlinkDOMPointReadOnly.instance.z_Getter_(unwrap_jso(this));
+ double get z => _blink.BlinkDOMPointReadOnly.instance.z_Getter_(unwrap_jso(this));
}
// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
@@ -12287,61 +10371,48 @@ class DomRectReadOnly extends NativeFieldWrapperClass2 implements Rectangle {
@DomName('DOMRectReadOnly.DOMRectReadOnly')
@DocsEditable()
factory DomRectReadOnly(num x, num y, num width, num height) {
- return wrap_jso(_blink.BlinkDOMRectReadOnly.instance.constructorCallback_4_(x, y, width, height));
- }
-
- static DomRectReadOnly internalCreateDomRectReadOnly() {
- return new DomRectReadOnly._internalWrap();
+ return _blink.BlinkDOMRectReadOnly.instance.constructorCallback_4_(x, y, width, height);
}
- js.JsObject blink_jsObject;
-
- factory DomRectReadOnly._internalWrap() {
- return new DomRectReadOnly.internal_();
- }
-
- DomRectReadOnly.internal_() { }
-
-
@DomName('DOMRectReadOnly.bottom')
@DocsEditable()
@Experimental() // untriaged
- num get bottom => _blink.BlinkDOMRectReadOnly.instance.bottom_Getter_(unwrap_jso(this));
+ double get bottom => _blink.BlinkDOMRectReadOnly.instance.bottom_Getter_(unwrap_jso(this));
@DomName('DOMRectReadOnly.height')
@DocsEditable()
@Experimental() // untriaged
- num get height => _blink.BlinkDOMRectReadOnly.instance.height_Getter_(unwrap_jso(this));
+ double get height => _blink.BlinkDOMRectReadOnly.instance.height_Getter_(unwrap_jso(this));
@DomName('DOMRectReadOnly.left')
@DocsEditable()
@Experimental() // untriaged
- num get left => _blink.BlinkDOMRectReadOnly.instance.left_Getter_(unwrap_jso(this));
+ double get left => _blink.BlinkDOMRectReadOnly.instance.left_Getter_(unwrap_jso(this));
@DomName('DOMRectReadOnly.right')
@DocsEditable()
@Experimental() // untriaged
- num get right => _blink.BlinkDOMRectReadOnly.instance.right_Getter_(unwrap_jso(this));
+ double get right => _blink.BlinkDOMRectReadOnly.instance.right_Getter_(unwrap_jso(this));
@DomName('DOMRectReadOnly.top')
@DocsEditable()
@Experimental() // untriaged
- num get top => _blink.BlinkDOMRectReadOnly.instance.top_Getter_(unwrap_jso(this));
+ double get top => _blink.BlinkDOMRectReadOnly.instance.top_Getter_(unwrap_jso(this));
@DomName('DOMRectReadOnly.width')
@DocsEditable()
@Experimental() // untriaged
- num get width => _blink.BlinkDOMRectReadOnly.instance.width_Getter_(unwrap_jso(this));
+ double get width => _blink.BlinkDOMRectReadOnly.instance.width_Getter_(unwrap_jso(this));
@DomName('DOMRectReadOnly.x')
@DocsEditable()
@Experimental() // untriaged
- num get x => _blink.BlinkDOMRectReadOnly.instance.x_Getter_(unwrap_jso(this));
+ double get x => _blink.BlinkDOMRectReadOnly.instance.x_Getter_(unwrap_jso(this));
@DomName('DOMRectReadOnly.y')
@DocsEditable()
@Experimental() // untriaged
- num get y => _blink.BlinkDOMRectReadOnly.instance.y_Getter_(unwrap_jso(this));
+ double get y => _blink.BlinkDOMRectReadOnly.instance.y_Getter_(unwrap_jso(this));
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -12357,25 +10428,13 @@ 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));
@DomName('DOMSettableTokenList.value')
@DocsEditable()
- set value(String value) => _blink.BlinkDOMSettableTokenList.instance.value_Setter_(unwrap_jso(this), value);
+ void set value(String value) => _blink.BlinkDOMSettableTokenList.instance.value_Setter_(unwrap_jso(this), value);
@DomName('DOMSettableTokenList.__getter__')
@DocsEditable()
@@ -12391,25 +10450,10 @@ class DomSettableTokenList extends DomTokenList {
@DocsEditable()
@DomName('DOMStringList')
-class DomStringList extends JsoNativeFieldWrapper with ListMixin<String>, ImmutableListMixin<String> implements List<String> {
+class DomStringList extends NativeFieldWrapperClass2 with ListMixin<String>, ImmutableListMixin<String> implements List<String> {
// To suppress missing implicit constructor warnings.
factory DomStringList._() { throw new UnsupportedError("Not supported"); }
- static DomStringList internalCreateDomStringList() {
- return new DomStringList._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory DomStringList._internalWrap() {
- return new DomStringList.internal_();
- }
-
- DomStringList.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('DOMStringList.length')
@DocsEditable()
int get length => _blink.BlinkDOMStringList.instance.length_Getter_(unwrap_jso(this));
@@ -12421,7 +10465,7 @@ class DomStringList extends JsoNativeFieldWrapper with ListMixin<String>, Immuta
}
String _nativeIndexedGetter(int index) => _blink.BlinkDOMStringList.instance.item_Callback_1_(unwrap_jso(this), index);
-
+
void operator[]=(int index, String value) {
throw new UnsupportedError("Cannot assign element of immutable List.");
}
@@ -12429,7 +10473,7 @@ class DomStringList extends JsoNativeFieldWrapper with ListMixin<String>, Immuta
// String is the element type.
- set length(int value) {
+ void set length(int value) {
throw new UnsupportedError("Cannot resize immutable List.");
}
@@ -12482,21 +10526,6 @@ 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();
- }
-
- js.JsObject blink_jsObject;
-
- factory DomStringMap._internalWrap() {
- return new DomStringMap.internal_();
- }
-
- DomStringMap.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
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));
@@ -12543,21 +10572,6 @@ class DomTokenList extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory DomTokenList._() { throw new UnsupportedError("Not supported"); }
- static DomTokenList internalCreateDomTokenList() {
- return new DomTokenList._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory DomTokenList._internalWrap() {
- return new DomTokenList.internal_();
- }
-
- DomTokenList.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('DOMTokenList.length')
@DocsEditable()
int get length => _blink.BlinkDOMTokenList.instance.length_Getter_(unwrap_jso(this));
@@ -12622,7 +10636,7 @@ class _ChildrenElementList extends ListBase<Element>
_element._replaceChild(value, _childElements[index]);
}
- set length(int newLength) {
+ void set length(int newLength) {
// TODO(jacobr): remove children when length is reduced.
throw new UnsupportedError('Cannot resize element lists');
}
@@ -12686,8 +10700,7 @@ class _ChildrenElementList extends ListBase<Element>
bool remove(Object object) {
if (object is Element) {
Element element = object;
- // We aren't preserving identity of nodes in JSINTEROP mode
- if (element.parentNode == _element) {
+ if (identical(element.parentNode, _element)) {
_element._removeChild(element);
return true;
}
@@ -13319,11 +11332,7 @@ class _FrozenElementList extends ListBase
implements ElementList, NodeListWrapper {
final List<Node> _nodeList;
- var dartClass_instance;
-
- _FrozenElementList._wrap(this._nodeList) {
- this.dartClass_instance = this._nodeList;
- }
+ _FrozenElementList._wrap(this._nodeList);
int get length => _nodeList.length;
@@ -13333,7 +11342,7 @@ class _FrozenElementList extends ListBase
throw new UnsupportedError('Cannot modify list');
}
- set length(int newLength) {
+ void set length(int newLength) {
throw new UnsupportedError('Cannot modify list');
}
@@ -13356,7 +11365,7 @@ class _FrozenElementList extends ListBase
CssStyleDeclarationBase get style =>
new _CssStyleDeclarationSet(this);
- set classes(Iterable<String> value) {
+ void set classes(Iterable<String> value) {
// TODO(sra): This might be faster for Sets:
//
// new _MultiElementCssClassSet(this).writeClasses(value)
@@ -13850,7 +11859,7 @@ class _FrozenElementList extends ListBase
* An abstract class, which all HTML elements extend.
*/
@DomName('Element')
-class Element extends Node implements GlobalEventHandlers, ParentNode, ChildNode {
+abstract class Element extends Node implements GlobalEventHandlers, ParentNode, ChildNode {
/**
* Creates an HTML element from a valid fragment of HTML.
@@ -13897,7 +11906,11 @@ class Element extends Node implements GlobalEventHandlers, ParentNode, ChildNode
* }
* document.registerElement('x-custom', CustomElement);
*/
- Element.created() : super._created();
+ Element.created() : super._created() {
+ // Validate that this is a custom element & perform any additional
+ // initialization.
+ _initializeCustomElement(this);
+ }
/**
* Creates the HTML element specified by the tag name.
@@ -14078,7 +12091,7 @@ class Element extends Node implements GlobalEventHandlers, ParentNode, ChildNode
*/
Map<String, String> get attributes => new _ElementAttributeMap(this);
- set attributes(Map<String, String> value) {
+ void set attributes(Map<String, String> value) {
Map<String, String> attributes = this.attributes;
attributes.clear();
for (String key in value.keys) {
@@ -14100,7 +12113,7 @@ class Element extends Node implements GlobalEventHandlers, ParentNode, ChildNode
*/
List<Element> get children => new _ChildrenElementList._wrap(this);
- set children(List<Element> value) {
+ void set children(List<Element> value) {
// Copy list first since we don't want liveness during iteration.
List copy = new List.from(value);
var children = this.children;
@@ -14154,7 +12167,7 @@ class Element extends Node implements GlobalEventHandlers, ParentNode, ChildNode
*/
CssClassSet get classes => new _ElementCssClassSet(this);
- set classes(Iterable<String> value) {
+ void set classes(Iterable<String> value) {
// TODO(sra): Do this without reading the classes in clear() and addAll(),
// or writing the classes in clear().
CssClassSet classSet = classes;
@@ -14188,7 +12201,7 @@ class Element extends Node implements GlobalEventHandlers, ParentNode, ChildNode
Map<String, String> get dataset =>
new _DataAttributeMap(attributes);
- set dataset(Map<String, String> value) {
+ void set dataset(Map<String, String> value) {
final data = this.dataset;
data.clear();
for (String key in value.keys) {
@@ -14308,49 +12321,6 @@ class Element extends Node implements GlobalEventHandlers, ParentNode, ChildNode
void leftView() {}
/**
- * Creates a new AnimationEffect object whose target element is the object
- * on which the method is called, and calls the play() method of the
- * AnimationTimeline object of the document timeline of the node document
- * of the element, passing the newly created AnimationEffect as the argument
- * to the method. Returns an AnimationPlayer for the effect.
- *
- * Examples
- *
- * var animation = elem.animate([{"opacity": 75}, {"opacity": 0}], 200);
- *
- * var animation = elem.animate([
- * {"transform": "translate(100px, -100%)"},
- * {"transform" : "translate(400px, 500px)"}
- * ], 1500);
- *
- * The [frames] parameter is an Iterable<Map>, where the
- * map entries specify CSS animation effects. The
- * [timing] paramter can be a double, representing the number of milliseconds
- * for the transition, or a Map with fields corresponding to those
- * of the [Timing] object.
- **/
- @Experimental()
- @SupportedBrowser(SupportedBrowser.CHROME, '36')
- AnimationPlayer animate(Iterable<Map<String, dynamic>> frames, [timing]) {
- if (frames is! Iterable || !(frames.every((x) => x is Map))) {
- throw new ArgumentError("The frames parameter should be a List of Maps "
- "with frame information");
- }
- var convertedFrames = frames;
- if (convertedFrames is Iterable) {
- convertedFrames = convertDartToNative_List(
- frames.map(convertDartToNative_Dictionary).toList());
- }
- var convertedTiming = timing;
- if (convertedTiming is Map) {
- convertedTiming = convertDartToNative_Dictionary(convertedTiming);
- }
- return convertedTiming == null
- ? _animate(convertedFrames)
- : _animate(convertedFrames, convertedTiming);
- }
-
- /**
* Called by the DOM whenever an attribute on this has been changed.
*/
void attributeChanged(String name, String oldValue, String newValue) {}
@@ -14375,7 +12345,7 @@ class Element extends Node implements GlobalEventHandlers, ParentNode, ChildNode
// members of the component are used. The actual type is a subtype of Element.
get xtag => _xtag != null ? _xtag : this;
- set xtag(Element value) {
+ void set xtag(Element value) {
_xtag = value;
}
@@ -14609,9 +12579,8 @@ class Element extends Node implements GlobalEventHandlers, ParentNode, ChildNode
// offsetParent, "tops out" at BODY. But people could conceivably pass in
// the document.documentElement and I want it to return an absolute offset,
// so we have the special case checking for HTML.
- bool sameAsParent = current == parent;
- bool foundAsParent = sameAsParent || parent.tagName == 'HTML';
- if (current == null || sameAsParent) {
+ bool foundAsParent = identical(current, parent) || parent.tagName == 'HTML';
+ if (current == null || identical(current, parent)) {
if (foundAsParent) return new Point(0, 0);
throw new ArgumentError("Specified element is not a transitive offset "
"parent of this element.");
@@ -14669,11 +12638,11 @@ class Element extends Node implements GlobalEventHandlers, ParentNode, ChildNode
if (_parseDocument == null) {
_parseDocument = document.implementation.createHtmlDocument('');
_parseRange = _parseDocument.createRange();
-
+
// Workaround for Safari bug. Was also previously Chrome bug 229142
- // - URIs are not resolved in new doc.
- var base = _parseDocument.createElement('base');
- base.href = document.baseUri;
+ // - URIs are not resolved in new doc.
+ var base = _parseDocument.createElement('base');
+ base.href = document.baseUri;
_parseDocument.head.append(base);
}
var contextElement;
@@ -14731,7 +12700,7 @@ class Element extends Node implements GlobalEventHandlers, ParentNode, ChildNode
* This uses the default sanitization behavior to sanitize the HTML fragment,
* use [setInnerHtml] to override the default behavior.
*/
- set innerHtml(String html) {
+ void set innerHtml(String html) {
this.setInnerHtml(html);
}
@@ -14773,109 +12742,71 @@ class Element extends Node implements GlobalEventHandlers, ParentNode, ChildNode
* used when an explicit accessor is not available.
*/
ElementEvents get on => new ElementEvents(this);
-
+
/**
* Verify if any of the attributes that we use in the sanitizer look unexpected,
* possibly indicating DOM clobbering attacks.
*
* Those attributes are: attributes, lastChild, children, previousNode and tagName.
*/
-
- static var _namedNodeMap = js.context["NamedNodeMap"];
- static var _htmlCollection = js.context["HTMLCollection"];
- static var _nodeList = js.context["NodeList"];
-
- static bool _hasCorruptedAttributes(Element element) {
- var attributes = unwrap_jso(element)["attributes"];
- if (!attributes.instanceof(_namedNodeMap)) {
- return true;
- }
- var childNodes = unwrap_jso(element.childNodes);
- var length = childNodes["length"];
- var lastChild = unwrap_jso(element.lastChild);
- if (null != lastChild &&
- lastChild != childNodes[length - 1]) {
- return true;
- }
- var children = unwrap_jso(element._children);
- if (null != children) { // On Safari, children can apparently be null.
- if (!children.instanceof(_htmlCollection) ||
- children.instanceof(_nodeList)) {
- return true;
- }
- }
- return false;
- }
-
- String get _safeTagName {
- String result = 'element tag unavailable';
- try {
- if (tagName is String) {
- result = tagName;
- }
- } catch (e) {}
- return result;
- }
-
- // Need to explicitly delegate because Element is no longer abstract for Dartium.
- bool get isContentEditable => _blink.BlinkHTMLElement.instance.isContentEditable_Getter_(unwrap_jso(this));
- void click() => _blink.BlinkHTMLElement.instance.click_Callback_0_(unwrap_jso(this));
+ // Dartium isn't affected by these attacks, because it goes directly to the C++ API.
+ static bool _hasCorruptedAttributes(Element element) => false;
@DomName('Element.offsetHeight')
@DocsEditable()
- int get offsetHeight => _blink.BlinkElement.instance.offsetHeight_Getter_(unwrap_jso(this)).round();
+ int get offsetHeight => _blink.BlinkElement.offsetHeight_Getter(this).round();
@DomName('Element.offsetLeft')
@DocsEditable()
- int get offsetLeft => _blink.BlinkElement.instance.offsetLeft_Getter_(unwrap_jso(this)).round();
+ int get offsetLeft => _blink.BlinkElement.offsetLeft_Getter(this).round();
@DomName('Element.offsetTop')
@DocsEditable()
- int get offsetTop => _blink.BlinkElement.instance.offsetTop_Getter_(unwrap_jso(this)).round();
+ int get offsetTop => _blink.BlinkElement.offsetTop_Getter(this).round();
@DomName('Element.offsetWidth')
@DocsEditable()
- int get offsetWidth => _blink.BlinkElement.instance.offsetWidth_Getter_(unwrap_jso(this)).round();
+ int get offsetWidth => _blink.BlinkElement.offsetWidth_Getter(this).round();
@DomName('Element.clientHeight')
@DocsEditable()
- int get clientHeight => _blink.BlinkElement.instance.clientHeight_Getter_(unwrap_jso(this)).round();
+ int get clientHeight => _blink.BlinkElement.clientHeight_Getter(this).round();
@DomName('Element.clientLeft')
@DocsEditable()
- int get clientLeft => _blink.BlinkElement.instance.clientLeft_Getter_(unwrap_jso(this)).round();
+ int get clientLeft => _blink.BlinkElement.clientLeft_Getter(this).round();
@DomName('Element.clientTop')
@DocsEditable()
- int get clientTop => _blink.BlinkElement.instance.clientTop_Getter_(unwrap_jso(this)).round();
+ int get clientTop => _blink.BlinkElement.clientTop_Getter(this).round();
@DomName('Element.clientWidth')
@DocsEditable()
- int get clientWidth => _blink.BlinkElement.instance.clientWidth_Getter_(unwrap_jso(this)).round();
+ int get clientWidth => _blink.BlinkElement.clientWidth_Getter(this).round();
@DomName('Element.scrollHeight')
@DocsEditable()
- int get scrollHeight => _blink.BlinkElement.instance.scrollHeight_Getter_(unwrap_jso(this)).round();
+ int get scrollHeight => _blink.BlinkElement.scrollHeight_Getter(this).round();
@DomName('Element.scrollLeft')
@DocsEditable()
- int get scrollLeft => _blink.BlinkElement.instance.scrollLeft_Getter_(unwrap_jso(this)).round();
+ int get scrollLeft => _blink.BlinkElement.scrollLeft_Getter(this).round();
@DomName('Element.scrollLeft')
@DocsEditable()
- set scrollLeft(int value) => _blink.BlinkElement.instance.scrollLeft_Setter_(unwrap_jso(this), value.round());
+ void set scrollLeft(int value) => _blink.BlinkElement.scrollLeft_Setter(this, value.round());
@DomName('Element.scrollTop')
@DocsEditable()
- int get scrollTop => _blink.BlinkElement.instance.scrollTop_Getter_(unwrap_jso(this)).round();
+ int get scrollTop => _blink.BlinkElement.scrollTop_Getter(this).round();
@DomName('Element.scrollTop')
@DocsEditable()
- set scrollTop(int value) => _blink.BlinkElement.instance.scrollTop_Setter_(unwrap_jso(this), value.round());
+ void set scrollTop(int value) => _blink.BlinkElement.scrollTop_Setter(this, value.round());
@DomName('Element.scrollWidth')
@DocsEditable()
- int get scrollWidth => _blink.BlinkElement.instance.scrollWidth_Getter_(unwrap_jso(this)).round();
+ int get scrollWidth => _blink.BlinkElement.scrollWidth_Getter(this).round();
// To suppress missing implicit constructor warnings.
factory Element._() { throw new UnsupportedError("Not supported"); }
@@ -15548,18 +13479,6 @@ class Element extends Node implements GlobalEventHandlers, ParentNode, ChildNode
// 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;
@@ -15570,6 +13489,8 @@ class Element extends Node implements GlobalEventHandlers, ParentNode, ChildNode
bool hidden;
+ bool get isContentEditable;
+
String lang;
bool spellcheck;
@@ -15582,6 +13503,8 @@ class Element extends Node implements GlobalEventHandlers, ParentNode, ChildNode
String dropzone;
+ void click();
+
@DomName('Element.attributes')
@DocsEditable()
_NamedNodeMap get _attributes => wrap_jso(_blink.BlinkElement.instance.attributes_Getter_(unwrap_jso(this)));
@@ -15592,7 +13515,7 @@ class Element extends Node implements GlobalEventHandlers, ParentNode, ChildNode
@DomName('Element.className')
@DocsEditable()
- set className(String value) => _blink.BlinkElement.instance.className_Setter_(unwrap_jso(this), value);
+ void set className(String value) => _blink.BlinkElement.instance.className_Setter_(unwrap_jso(this), value);
@DomName('Element.clientHeight')
@DocsEditable()
@@ -15616,7 +13539,7 @@ class Element extends Node implements GlobalEventHandlers, ParentNode, ChildNode
@DomName('Element.id')
@DocsEditable()
- set id(String value) => _blink.BlinkElement.instance.id_Setter_(unwrap_jso(this), value);
+ void set id(String value) => _blink.BlinkElement.instance.id_Setter_(unwrap_jso(this), value);
@DomName('Element.innerHTML')
@DocsEditable()
@@ -15624,7 +13547,7 @@ class Element extends Node implements GlobalEventHandlers, ParentNode, ChildNode
@DomName('Element.innerHTML')
@DocsEditable()
- set _innerHtml(String value) => _blink.BlinkElement.instance.innerHTML_Setter_(unwrap_jso(this), value);
+ void set _innerHtml(String value) => _blink.BlinkElement.instance.innerHTML_Setter_(unwrap_jso(this), value);
@DomName('Element.localName')
@DocsEditable()
@@ -15670,7 +13593,7 @@ class Element extends Node implements GlobalEventHandlers, ParentNode, ChildNode
@DomName('Element.scrollLeft')
@DocsEditable()
- set _scrollLeft(num value) => _blink.BlinkElement.instance.scrollLeft_Setter_(unwrap_jso(this), value);
+ void set _scrollLeft(num value) => _blink.BlinkElement.instance.scrollLeft_Setter_(unwrap_jso(this), value);
@DomName('Element.scrollTop')
@DocsEditable()
@@ -15678,7 +13601,7 @@ class Element extends Node implements GlobalEventHandlers, ParentNode, ChildNode
@DomName('Element.scrollTop')
@DocsEditable()
- set _scrollTop(num value) => _blink.BlinkElement.instance.scrollTop_Setter_(unwrap_jso(this), value);
+ void set _scrollTop(num value) => _blink.BlinkElement.instance.scrollTop_Setter_(unwrap_jso(this), value);
@DomName('Element.scrollWidth')
@DocsEditable()
@@ -15701,7 +13624,7 @@ class Element extends Node implements GlobalEventHandlers, ParentNode, ChildNode
@DomName('Element.animate')
@DocsEditable()
@Experimental() // untriaged
- AnimationPlayer _animate(Object effect, [Object timing]) => wrap_jso(_blink.BlinkElement.instance.animate_Callback_2_(unwrap_jso(this), effect, timing));
+ AnimationPlayer animate(Object effect, [Object timing]) => wrap_jso(_blink.BlinkElement.instance.animate_Callback_2_(unwrap_jso(this), effect, timing));
@DomName('Element.blur')
@DocsEditable()
@@ -15721,7 +13644,7 @@ class Element extends Node implements GlobalEventHandlers, ParentNode, ChildNode
@DomName('Element.getAnimationPlayers')
@DocsEditable()
@Experimental() // untriaged
- List<AnimationPlayer> getAnimationPlayers() => wrap_jso(_blink.BlinkElement.instance.getAnimationPlayers_Callback_0_(unwrap_jso(this)));
+ List<AnimationPlayer> getAnimationPlayers() => _blink.BlinkElement.instance.getAnimationPlayers_Callback_0_(unwrap_jso(this));
@DomName('Element.getAttribute')
@DocsEditable()
@@ -15765,7 +13688,7 @@ class Element extends Node implements GlobalEventHandlers, ParentNode, ChildNode
*/
@DomName('Element.getClientRects')
@DocsEditable()
- List<Rectangle> getClientRects() => wrap_jso(_blink.BlinkElement.instance.getClientRects_Callback_0_(unwrap_jso(this)));
+ List<Rectangle> getClientRects() => _blink.BlinkElement.instance.getClientRects_Callback_0_(unwrap_jso(this));
/**
* Returns a list of shadow DOM insertion points to which this element is
@@ -15780,7 +13703,7 @@ class Element extends Node implements GlobalEventHandlers, ParentNode, ChildNode
@DomName('Element.getDestinationInsertionPoints')
@DocsEditable()
@Experimental() // untriaged
- List<Node> getDestinationInsertionPoints() => wrap_jso(_blink.BlinkElement.instance.getDestinationInsertionPoints_Callback_0_(unwrap_jso(this)));
+ List<Node> getDestinationInsertionPoints() => wrap_jso_list(_blink.BlinkElement.instance.getDestinationInsertionPoints_Callback_0_(unwrap_jso(this)));
/**
* Returns a list of nodes with the given class name inside this element.
@@ -15795,11 +13718,11 @@ class Element extends Node implements GlobalEventHandlers, ParentNode, ChildNode
*/
@DomName('Element.getElementsByClassName')
@DocsEditable()
- List<Node> getElementsByClassName(String classNames) => wrap_jso(_blink.BlinkElement.instance.getElementsByClassName_Callback_1_(unwrap_jso(this), classNames));
+ List<Node> getElementsByClassName(String classNames) => wrap_jso_list(_blink.BlinkElement.instance.getElementsByClassName_Callback_1_(unwrap_jso(this), classNames));
@DomName('Element.getElementsByTagName')
@DocsEditable()
- List<Node> _getElementsByTagName(String name) => wrap_jso(_blink.BlinkElement.instance.getElementsByTagName_Callback_1_(unwrap_jso(this), name));
+ List<Node> _getElementsByTagName(String name) => wrap_jso_list(_blink.BlinkElement.instance.getElementsByTagName_Callback_1_(unwrap_jso(this), name));
@DomName('Element.hasAttribute')
@DocsEditable()
@@ -15891,7 +13814,7 @@ class Element extends Node implements GlobalEventHandlers, ParentNode, ChildNode
@DomName('Element.children')
@DocsEditable()
- List<Node> get _children => wrap_jso(_blink.BlinkElement.instance.children_Getter_(unwrap_jso(this)));
+ List<Node> get _children => wrap_jso_list(_blink.BlinkElement.instance.children_Getter_(unwrap_jso(this)));
@DomName('Element.firstElementChild')
@DocsEditable()
@@ -15923,7 +13846,7 @@ class Element extends Node implements GlobalEventHandlers, ParentNode, ChildNode
@DomName('Element.querySelectorAll')
@DocsEditable()
- List<Node> _querySelectorAll(String selectors) => wrap_jso(_blink.BlinkElement.instance.querySelectorAll_Callback_1_(unwrap_jso(this), selectors));
+ List<Node> _querySelectorAll(String selectors) => wrap_jso_list(_blink.BlinkElement.instance.querySelectorAll_Callback_1_(unwrap_jso(this), selectors));
/// Stream of `abort` events handled by this [Element].
@DomName('Element.onabort')
@@ -16437,18 +14360,6 @@ 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.
*
@@ -16465,7 +14376,7 @@ class EmbedElement extends HtmlElement {
@DomName('HTMLEmbedElement.height')
@DocsEditable()
- set height(String value) => _blink.BlinkHTMLEmbedElement.instance.height_Setter_(unwrap_jso(this), value);
+ void set height(String value) => _blink.BlinkHTMLEmbedElement.instance.height_Setter_(unwrap_jso(this), value);
@DomName('HTMLEmbedElement.integrity')
@DocsEditable()
@@ -16475,7 +14386,7 @@ class EmbedElement extends HtmlElement {
@DomName('HTMLEmbedElement.integrity')
@DocsEditable()
@Experimental() // untriaged
- set integrity(String value) => _blink.BlinkHTMLEmbedElement.instance.integrity_Setter_(unwrap_jso(this), value);
+ void set integrity(String value) => _blink.BlinkHTMLEmbedElement.instance.integrity_Setter_(unwrap_jso(this), value);
@DomName('HTMLEmbedElement.name')
@DocsEditable()
@@ -16483,7 +14394,7 @@ class EmbedElement extends HtmlElement {
@DomName('HTMLEmbedElement.name')
@DocsEditable()
- set name(String value) => _blink.BlinkHTMLEmbedElement.instance.name_Setter_(unwrap_jso(this), value);
+ void set name(String value) => _blink.BlinkHTMLEmbedElement.instance.name_Setter_(unwrap_jso(this), value);
@DomName('HTMLEmbedElement.src')
@DocsEditable()
@@ -16491,7 +14402,7 @@ class EmbedElement extends HtmlElement {
@DomName('HTMLEmbedElement.src')
@DocsEditable()
- set src(String value) => _blink.BlinkHTMLEmbedElement.instance.src_Setter_(unwrap_jso(this), value);
+ void set src(String value) => _blink.BlinkHTMLEmbedElement.instance.src_Setter_(unwrap_jso(this), value);
@DomName('HTMLEmbedElement.type')
@DocsEditable()
@@ -16499,7 +14410,7 @@ class EmbedElement extends HtmlElement {
@DomName('HTMLEmbedElement.type')
@DocsEditable()
- set type(String value) => _blink.BlinkHTMLEmbedElement.instance.type_Setter_(unwrap_jso(this), value);
+ void set type(String value) => _blink.BlinkHTMLEmbedElement.instance.type_Setter_(unwrap_jso(this), value);
@DomName('HTMLEmbedElement.width')
@DocsEditable()
@@ -16507,7 +14418,7 @@ class EmbedElement extends HtmlElement {
@DomName('HTMLEmbedElement.width')
@DocsEditable()
- set width(String value) => _blink.BlinkHTMLEmbedElement.instance.width_Setter_(unwrap_jso(this), value);
+ void set width(String value) => _blink.BlinkHTMLEmbedElement.instance.width_Setter_(unwrap_jso(this), value);
@DomName('HTMLEmbedElement.__getter__')
@DocsEditable()
@@ -16544,21 +14455,6 @@ class Entry extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory Entry._() { throw new UnsupportedError("Not supported"); }
- static Entry internalCreateEntry() {
- return new Entry._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory Entry._internalWrap() {
- return new Entry.internal_();
- }
-
- Entry.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('Entry.filesystem')
@DocsEditable()
FileSystem get filesystem => wrap_jso(_blink.BlinkEntry.instance.filesystem_Getter_(unwrap_jso(this)));
@@ -16581,11 +14477,11 @@ class Entry extends NativeFieldWrapperClass2 {
void _copyTo(DirectoryEntry parent, {String name, _EntryCallback successCallback, _ErrorCallback errorCallback}) {
if (errorCallback != null) {
- _blink.BlinkEntry.instance.copyTo_Callback_4_(unwrap_jso(this), unwrap_jso(parent), name, unwrap_jso((entry) => successCallback(wrap_jso(entry))), unwrap_jso((error) => errorCallback(wrap_jso(error))));
+ _blink.BlinkEntry.instance.copyTo_Callback_4_(unwrap_jso(this), unwrap_jso(parent), name, unwrap_jso(successCallback), unwrap_jso(errorCallback));
return;
}
if (successCallback != null) {
- _blink.BlinkEntry.instance.copyTo_Callback_3_(unwrap_jso(this), unwrap_jso(parent), name, unwrap_jso((entry) => successCallback(wrap_jso(entry))));
+ _blink.BlinkEntry.instance.copyTo_Callback_3_(unwrap_jso(this), unwrap_jso(parent), name, unwrap_jso(successCallback));
return;
}
if (name != null) {
@@ -16606,10 +14502,10 @@ class Entry extends NativeFieldWrapperClass2 {
void _getMetadata(MetadataCallback successCallback, [_ErrorCallback errorCallback]) {
if (errorCallback != null) {
- _blink.BlinkEntry.instance.getMetadata_Callback_2_(unwrap_jso(this), unwrap_jso((metadata) => successCallback(wrap_jso(metadata))), unwrap_jso((error) => errorCallback(wrap_jso(error))));
+ _blink.BlinkEntry.instance.getMetadata_Callback_2_(unwrap_jso(this), unwrap_jso(successCallback), unwrap_jso(errorCallback));
return;
}
- _blink.BlinkEntry.instance.getMetadata_Callback_1_(unwrap_jso(this), unwrap_jso((metadata) => successCallback(wrap_jso(metadata))));
+ _blink.BlinkEntry.instance.getMetadata_Callback_1_(unwrap_jso(this), unwrap_jso(successCallback));
return;
}
@@ -16623,11 +14519,11 @@ class Entry extends NativeFieldWrapperClass2 {
void _getParent([_EntryCallback successCallback, _ErrorCallback errorCallback]) {
if (errorCallback != null) {
- _blink.BlinkEntry.instance.getParent_Callback_2_(unwrap_jso(this), unwrap_jso((entry) => successCallback(wrap_jso(entry))), unwrap_jso((error) => errorCallback(wrap_jso(error))));
+ _blink.BlinkEntry.instance.getParent_Callback_2_(unwrap_jso(this), unwrap_jso(successCallback), unwrap_jso(errorCallback));
return;
}
if (successCallback != null) {
- _blink.BlinkEntry.instance.getParent_Callback_1_(unwrap_jso(this), unwrap_jso((entry) => successCallback(wrap_jso(entry))));
+ _blink.BlinkEntry.instance.getParent_Callback_1_(unwrap_jso(this), unwrap_jso(successCallback));
return;
}
_blink.BlinkEntry.instance.getParent_Callback_0_(unwrap_jso(this));
@@ -16644,11 +14540,11 @@ class Entry extends NativeFieldWrapperClass2 {
void _moveTo(DirectoryEntry parent, {String name, _EntryCallback successCallback, _ErrorCallback errorCallback}) {
if (errorCallback != null) {
- _blink.BlinkEntry.instance.moveTo_Callback_4_(unwrap_jso(this), unwrap_jso(parent), name, unwrap_jso((entry) => successCallback(wrap_jso(entry))), unwrap_jso((error) => errorCallback(wrap_jso(error))));
+ _blink.BlinkEntry.instance.moveTo_Callback_4_(unwrap_jso(this), unwrap_jso(parent), name, unwrap_jso(successCallback), unwrap_jso(errorCallback));
return;
}
if (successCallback != null) {
- _blink.BlinkEntry.instance.moveTo_Callback_3_(unwrap_jso(this), unwrap_jso(parent), name, unwrap_jso((entry) => successCallback(wrap_jso(entry))));
+ _blink.BlinkEntry.instance.moveTo_Callback_3_(unwrap_jso(this), unwrap_jso(parent), name, unwrap_jso(successCallback));
return;
}
if (name != null) {
@@ -16669,10 +14565,10 @@ class Entry extends NativeFieldWrapperClass2 {
void _remove(VoidCallback successCallback, [_ErrorCallback errorCallback]) {
if (errorCallback != null) {
- _blink.BlinkEntry.instance.remove_Callback_2_(unwrap_jso(this), unwrap_jso(() => successCallback()), unwrap_jso((error) => errorCallback(wrap_jso(error))));
+ _blink.BlinkEntry.instance.remove_Callback_2_(unwrap_jso(this), unwrap_jso(successCallback), unwrap_jso(errorCallback));
return;
}
- _blink.BlinkEntry.instance.remove_Callback_1_(unwrap_jso(this), unwrap_jso(() => successCallback()));
+ _blink.BlinkEntry.instance.remove_Callback_1_(unwrap_jso(this), unwrap_jso(successCallback));
return;
}
@@ -16725,18 +14621,6 @@ 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
@@ -16745,7 +14629,7 @@ class ErrorEvent extends Event {
@DomName('ErrorEvent.error')
@DocsEditable()
@Experimental() // untriaged
- Object get error => wrap_jso(_blink.BlinkErrorEvent.instance.error_Getter_(unwrap_jso(this)));
+ Object get error => _blink.BlinkErrorEvent.instance.error_Getter_(unwrap_jso(this));
@DomName('ErrorEvent.filename')
@DocsEditable()
@@ -16821,21 +14705,6 @@ class Event extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory Event._() { throw new UnsupportedError("Not supported"); }
- static Event internalCreateEvent() {
- return new Event._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory Event._internalWrap() {
- return new Event.internal_();
- }
-
- Event.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
/**
* This event is being handled by the event target.
*
@@ -16924,7 +14793,7 @@ class Event extends NativeFieldWrapperClass2 {
@DocsEditable()
// https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/shadow/index.html#extensions-to-event
@Experimental()
- List<Node> get path => wrap_jso(_blink.BlinkEvent.instance.path_Getter_(unwrap_jso(this)));
+ List<Node> get path => wrap_jso_list(_blink.BlinkEvent.instance.path_Getter_(unwrap_jso(this)));
@DomName('Event.target')
@DocsEditable()
@@ -17007,24 +14876,11 @@ class EventSource extends EventTarget {
@DocsEditable()
static EventSource _factoryEventSource(String url, [Map eventSourceInit]) {
if (eventSourceInit != null) {
- var eventSourceInit_1 = convertDartToNative_Dictionary(eventSourceInit);
- return wrap_jso(_blink.BlinkEventSource.instance.constructorCallback_2_(url, eventSourceInit_1));
+ return _blink.BlinkEventSource.instance.constructorCallback_2_(url, eventSourceInit);
}
- return wrap_jso(_blink.BlinkEventSource.instance.constructorCallback_1_(url));
- }
-
-
- static EventSource internalCreateEventSource() {
- return new EventSource._internalWrap();
- }
-
- factory EventSource._internalWrap() {
- return new EventSource.internal_();
+ return _blink.BlinkEventSource.instance.constructorCallback_1_(url);
}
- EventSource.internal_() : super.internal_();
-
-
@DomName('EventSource.CLOSED')
@DocsEditable()
static const int CLOSED = 2;
@@ -17163,10 +15019,6 @@ class ElementEvents extends Events {
@DomName('EventTarget')
class EventTarget extends NativeFieldWrapperClass2 {
- // Default constructor to allow other classes e.g. GlobalEventHandlers to be
- // constructed using _internalWrap when mapping Blink object to Dart class.
- EventTarget();
-
// Custom element created callback.
EventTarget._created();
@@ -17197,28 +15049,13 @@ class EventTarget extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory EventTarget._() { throw new UnsupportedError("Not supported"); }
- static EventTarget internalCreateEventTarget() {
- return new EventTarget._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory EventTarget._internalWrap() {
- return new EventTarget.internal_();
- }
-
- EventTarget.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
void _addEventListener([String type, EventListener listener, bool useCapture]) {
if (useCapture != null) {
- _blink.BlinkEventTarget.instance.addEventListener_Callback_3_(unwrap_jso(this), type, wrap_event_listener(this, listener), useCapture);
+ _blink.BlinkEventTarget.instance.addEventListener_Callback_3_(unwrap_jso(this), type, unwrap_jso(listener), useCapture);
return;
}
if (listener != null) {
- _blink.BlinkEventTarget.instance.addEventListener_Callback_2_(unwrap_jso(this), type, wrap_event_listener(this, listener));
+ _blink.BlinkEventTarget.instance.addEventListener_Callback_2_(unwrap_jso(this), type, unwrap_jso(listener));
return;
}
if (type != null) {
@@ -17235,11 +15072,11 @@ class EventTarget extends NativeFieldWrapperClass2 {
void _removeEventListener([String type, EventListener listener, bool useCapture]) {
if (useCapture != null) {
- _blink.BlinkEventTarget.instance.removeEventListener_Callback_3_(unwrap_jso(this), type, _knownListeners[this.hashCode][identityHashCode(listener)], useCapture);
+ _blink.BlinkEventTarget.instance.removeEventListener_Callback_3_(unwrap_jso(this), type, unwrap_jso(listener), useCapture);
return;
}
if (listener != null) {
- _blink.BlinkEventTarget.instance.removeEventListener_Callback_2_(unwrap_jso(this), type, _knownListeners[this.hashCode][identityHashCode(listener)]);
+ _blink.BlinkEventTarget.instance.removeEventListener_Callback_2_(unwrap_jso(this), type, unwrap_jso(listener));
return;
}
if (type != null) {
@@ -17265,18 +15102,6 @@ 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
@@ -17300,21 +15125,9 @@ class FederatedCredential extends Credential {
@DomName('FederatedCredential.FederatedCredential')
@DocsEditable()
factory FederatedCredential(String id, String name, String avatarURL, String federation) {
- return wrap_jso(_blink.BlinkFederatedCredential.instance.constructorCallback_4_(id, name, avatarURL, federation));
+ 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
@@ -17335,18 +15148,6 @@ 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
@@ -17380,18 +15181,6 @@ 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.
*
@@ -17405,11 +15194,11 @@ class FieldSetElement extends HtmlElement {
@DomName('HTMLFieldSetElement.disabled')
@DocsEditable()
- set disabled(bool value) => _blink.BlinkHTMLFieldSetElement.instance.disabled_Setter_(unwrap_jso(this), value);
+ void set disabled(bool value) => _blink.BlinkHTMLFieldSetElement.instance.disabled_Setter_(unwrap_jso(this), value);
@DomName('HTMLFieldSetElement.elements')
@DocsEditable()
- List<Node> get elements => wrap_jso(_blink.BlinkHTMLFieldSetElement.instance.elements_Getter_(unwrap_jso(this)));
+ List<Node> get elements => wrap_jso_list(_blink.BlinkHTMLFieldSetElement.instance.elements_Getter_(unwrap_jso(this)));
@DomName('HTMLFieldSetElement.form')
@DocsEditable()
@@ -17421,7 +15210,7 @@ class FieldSetElement extends HtmlElement {
@DomName('HTMLFieldSetElement.name')
@DocsEditable()
- set name(String value) => _blink.BlinkHTMLFieldSetElement.instance.name_Setter_(unwrap_jso(this), value);
+ void set name(String value) => _blink.BlinkHTMLFieldSetElement.instance.name_Setter_(unwrap_jso(this), value);
@DomName('HTMLFieldSetElement.type')
@DocsEditable()
@@ -17461,18 +15250,6 @@ 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
@@ -17521,24 +15298,12 @@ 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((fileWriter) => successCallback(wrap_jso(fileWriter))), unwrap_jso((error) => errorCallback(wrap_jso(error))));
+ _blink.BlinkFileEntry.instance.createWriter_Callback_2_(unwrap_jso(this), unwrap_jso(successCallback), unwrap_jso(errorCallback));
return;
}
- _blink.BlinkFileEntry.instance.createWriter_Callback_1_(unwrap_jso(this), unwrap_jso((fileWriter) => successCallback(wrap_jso(fileWriter))));
+ _blink.BlinkFileEntry.instance.createWriter_Callback_1_(unwrap_jso(this), unwrap_jso(successCallback));
return;
}
@@ -17552,10 +15317,10 @@ class FileEntry extends Entry {
void _file(_FileCallback successCallback, [_ErrorCallback errorCallback]) {
if (errorCallback != null) {
- _blink.BlinkFileEntry.instance.file_Callback_2_(unwrap_jso(this), unwrap_jso((file) => successCallback(wrap_jso(file))), unwrap_jso((error) => errorCallback(wrap_jso(error))));
+ _blink.BlinkFileEntry.instance.file_Callback_2_(unwrap_jso(this), unwrap_jso(successCallback), unwrap_jso(errorCallback));
return;
}
- _blink.BlinkFileEntry.instance.file_Callback_1_(unwrap_jso(this), unwrap_jso((file) => successCallback(wrap_jso(file))));
+ _blink.BlinkFileEntry.instance.file_Callback_1_(unwrap_jso(this), unwrap_jso(successCallback));
return;
}
@@ -17583,18 +15348,6 @@ 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;
@@ -17657,25 +15410,10 @@ class FileError extends DomError {
@DocsEditable()
@DomName('FileList')
-class FileList extends JsoNativeFieldWrapper with ListMixin<File>, ImmutableListMixin<File> implements List<File> {
+class FileList extends NativeFieldWrapperClass2 with ListMixin<File>, ImmutableListMixin<File> implements List<File> {
// To suppress missing implicit constructor warnings.
factory FileList._() { throw new UnsupportedError("Not supported"); }
- static FileList internalCreateFileList() {
- return new FileList._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory FileList._internalWrap() {
- return new FileList.internal_();
- }
-
- FileList.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('FileList.length')
@DocsEditable()
int get length => _blink.BlinkFileList.instance.length_Getter_(unwrap_jso(this));
@@ -17687,7 +15425,7 @@ class FileList extends JsoNativeFieldWrapper with ListMixin<File>, ImmutableList
}
File _nativeIndexedGetter(int index) => wrap_jso(_blink.BlinkFileList.instance.item_Callback_1_(unwrap_jso(this), index));
-
+
void operator[]=(int index, File value) {
throw new UnsupportedError("Cannot assign element of immutable List.");
}
@@ -17695,7 +15433,7 @@ class FileList extends JsoNativeFieldWrapper with ListMixin<File>, ImmutableList
// File is the element type.
- set length(int value) {
+ void set length(int value) {
throw new UnsupportedError("Cannot resize immutable List.");
}
@@ -17743,7 +15481,7 @@ class FileReader extends EventTarget {
@DomName('FileReader.result')
@DocsEditable()
Object get result {
- var res = _blink.BlinkFileReader.instance.result_Getter_(unwrap_jso(this));
+ var res = _blink.BlinkFileReader.result_Getter(unwrap_jso(this));
if (res is ByteBuffer) {
return new Uint8List.view(res);
}
@@ -17816,21 +15554,9 @@ class FileReader extends EventTarget {
@DomName('FileReader.FileReader')
@DocsEditable()
factory FileReader() {
- return wrap_jso(_blink.BlinkFileReader.instance.constructorCallback_0_());
- }
-
-
- static FileReader internalCreateFileReader() {
- return new FileReader._internalWrap();
- }
-
- factory FileReader._internalWrap() {
- return new FileReader.internal_();
+ return _blink.BlinkFileReader.instance.constructorCallback_0_();
}
- FileReader.internal_() : super.internal_();
-
-
@DomName('FileReader.DONE')
@DocsEditable()
static const int DONE = 2;
@@ -17853,7 +15579,7 @@ class FileReader extends EventTarget {
@DomName('FileReader.result')
@DocsEditable()
- Object get _result => wrap_jso(_blink.BlinkFileReader.instance.result_Getter_(unwrap_jso(this)));
+ Object get _result => _blink.BlinkFileReader.instance.result_Getter_(unwrap_jso(this));
@DomName('FileReader.abort')
@DocsEditable()
@@ -17921,21 +15647,6 @@ class FileStream extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory FileStream._() { throw new UnsupportedError("Not supported"); }
- static FileStream internalCreateFileStream() {
- return new FileStream._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory FileStream._internalWrap() {
- return new FileStream.internal_();
- }
-
- FileStream.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('Stream.type')
@DocsEditable()
@Experimental() // untriaged
@@ -17958,21 +15669,6 @@ class FileSystem extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory FileSystem._() { throw new UnsupportedError("Not supported"); }
- static FileSystem internalCreateFileSystem() {
- return new FileSystem._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory FileSystem._internalWrap() {
- return new FileSystem.internal_();
- }
-
- FileSystem.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
/// Checks if this type is supported on the current platform.
static bool get supported => true;
@@ -18071,18 +15767,6 @@ 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;
@@ -18182,18 +15866,6 @@ 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)));
@@ -18217,44 +15889,26 @@ class FontFace extends NativeFieldWrapperClass2 {
@DocsEditable()
factory FontFace(String family, source, [Map descriptors]) {
if ((source is String || source == null) && (family is String || family == null) && descriptors == null) {
- return wrap_jso(_blink.BlinkFontFace.instance.constructorCallback_2_(family, source));
+ return _blink.BlinkFontFace.instance.constructorCallback_2_(family, source);
}
if ((descriptors is Map || descriptors == null) && (source is String || source == null) && (family is String || family == null)) {
- var descriptors_1 = convertDartToNative_Dictionary(descriptors);
- return wrap_jso(_blink.BlinkFontFace.instance.constructorCallback_3_(family, source, descriptors_1));
+ return _blink.BlinkFontFace.instance.constructorCallback_3_(family, source, descriptors);
}
if ((source is TypedData || source == null) && (family is String || family == null) && descriptors == null) {
- return wrap_jso(_blink.BlinkFontFace.instance.constructorCallback_2_(family, source));
+ return _blink.BlinkFontFace.instance.constructorCallback_2_(family, source);
}
if ((descriptors is Map || descriptors == null) && (source is TypedData || source == null) && (family is String || family == null)) {
- var descriptors_1 = convertDartToNative_Dictionary(descriptors);
- return wrap_jso(_blink.BlinkFontFace.instance.constructorCallback_3_(family, source, descriptors_1));
+ return _blink.BlinkFontFace.instance.constructorCallback_3_(family, source, descriptors);
}
if ((source is ByteBuffer || source == null) && (family is String || family == null) && descriptors == null) {
- return wrap_jso(_blink.BlinkFontFace.instance.constructorCallback_2_(family, source));
+ return _blink.BlinkFontFace.instance.constructorCallback_2_(family, source);
}
if ((descriptors is Map || descriptors == null) && (source is ByteBuffer || source == null) && (family is String || family == null)) {
- var descriptors_1 = convertDartToNative_Dictionary(descriptors);
- return wrap_jso(_blink.BlinkFontFace.instance.constructorCallback_3_(family, source, descriptors_1));
+ return _blink.BlinkFontFace.instance.constructorCallback_3_(family, source, descriptors);
}
throw new ArgumentError("Incorrect number or type of arguments");
}
- static FontFace internalCreateFontFace() {
- return new FontFace._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory FontFace._internalWrap() {
- return new FontFace.internal_();
- }
-
- FontFace.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('FontFace.family')
@DocsEditable()
@Experimental() // untriaged
@@ -18263,7 +15917,7 @@ class FontFace extends NativeFieldWrapperClass2 {
@DomName('FontFace.family')
@DocsEditable()
@Experimental() // untriaged
- set family(String value) => _blink.BlinkFontFace.instance.family_Setter_(unwrap_jso(this), value);
+ void set family(String value) => _blink.BlinkFontFace.instance.family_Setter_(unwrap_jso(this), value);
@DomName('FontFace.featureSettings')
@DocsEditable()
@@ -18273,12 +15927,12 @@ class FontFace extends NativeFieldWrapperClass2 {
@DomName('FontFace.featureSettings')
@DocsEditable()
@Experimental() // untriaged
- set featureSettings(String value) => _blink.BlinkFontFace.instance.featureSettings_Setter_(unwrap_jso(this), value);
+ void set featureSettings(String value) => _blink.BlinkFontFace.instance.featureSettings_Setter_(unwrap_jso(this), value);
@DomName('FontFace.loaded')
@DocsEditable()
@Experimental() // untriaged
- Future get loaded => wrap_jso(_blink.BlinkFontFace.instance.loaded_Getter_(unwrap_jso(this)));
+ Future get loaded => _blink.BlinkFontFace.instance.loaded_Getter_(unwrap_jso(this));
@DomName('FontFace.status')
@DocsEditable()
@@ -18293,7 +15947,7 @@ class FontFace extends NativeFieldWrapperClass2 {
@DomName('FontFace.stretch')
@DocsEditable()
@Experimental() // untriaged
- set stretch(String value) => _blink.BlinkFontFace.instance.stretch_Setter_(unwrap_jso(this), value);
+ void set stretch(String value) => _blink.BlinkFontFace.instance.stretch_Setter_(unwrap_jso(this), value);
@DomName('FontFace.style')
@DocsEditable()
@@ -18303,7 +15957,7 @@ class FontFace extends NativeFieldWrapperClass2 {
@DomName('FontFace.style')
@DocsEditable()
@Experimental() // untriaged
- set style(String value) => _blink.BlinkFontFace.instance.style_Setter_(unwrap_jso(this), value);
+ void set style(String value) => _blink.BlinkFontFace.instance.style_Setter_(unwrap_jso(this), value);
@DomName('FontFace.unicodeRange')
@DocsEditable()
@@ -18313,7 +15967,7 @@ class FontFace extends NativeFieldWrapperClass2 {
@DomName('FontFace.unicodeRange')
@DocsEditable()
@Experimental() // untriaged
- set unicodeRange(String value) => _blink.BlinkFontFace.instance.unicodeRange_Setter_(unwrap_jso(this), value);
+ void set unicodeRange(String value) => _blink.BlinkFontFace.instance.unicodeRange_Setter_(unwrap_jso(this), value);
@DomName('FontFace.variant')
@DocsEditable()
@@ -18323,7 +15977,7 @@ class FontFace extends NativeFieldWrapperClass2 {
@DomName('FontFace.variant')
@DocsEditable()
@Experimental() // untriaged
- set variant(String value) => _blink.BlinkFontFace.instance.variant_Setter_(unwrap_jso(this), value);
+ void set variant(String value) => _blink.BlinkFontFace.instance.variant_Setter_(unwrap_jso(this), value);
@DomName('FontFace.weight')
@DocsEditable()
@@ -18333,12 +15987,12 @@ class FontFace extends NativeFieldWrapperClass2 {
@DomName('FontFace.weight')
@DocsEditable()
@Experimental() // untriaged
- set weight(String value) => _blink.BlinkFontFace.instance.weight_Setter_(unwrap_jso(this), value);
+ void set weight(String value) => _blink.BlinkFontFace.instance.weight_Setter_(unwrap_jso(this), value);
@DomName('FontFace.load')
@DocsEditable()
@Experimental() // untriaged
- Future load() => wrap_jso(_blink.BlinkFontFace.instance.load_Callback_0_(unwrap_jso(this)));
+ Future load() => _blink.BlinkFontFace.instance.load_Callback_0_(unwrap_jso(this));
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -18355,18 +16009,6 @@ 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
@@ -18401,10 +16043,10 @@ class FontFaceSet extends EventTarget {
void forEach(FontFaceSetForEachCallback callback, [Object thisArg]) {
if (thisArg != null) {
- _blink.BlinkFontFaceSet.instance.forEach_Callback_2_(unwrap_jso(this), unwrap_jso((fontFace, fontFaceAgain, set) => callback(wrap_jso(fontFace), wrap_jso(fontFaceAgain), wrap_jso(set))), thisArg);
+ _blink.BlinkFontFaceSet.instance.forEach_Callback_2_(unwrap_jso(this), unwrap_jso(callback), thisArg);
return;
}
- _blink.BlinkFontFaceSet.instance.forEach_Callback_1_(unwrap_jso(this), unwrap_jso((fontFace, fontFaceAgain, set) => callback(wrap_jso(fontFace), wrap_jso(fontFaceAgain), wrap_jso(set))));
+ _blink.BlinkFontFaceSet.instance.forEach_Callback_1_(unwrap_jso(this), unwrap_jso(callback));
return;
}
@@ -18438,18 +16080,6 @@ 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
@@ -18478,22 +16108,7 @@ class FormData extends NativeFieldWrapperClass2 {
factory FormData([FormElement form]) => wrap_jso(_create(form));
@DocsEditable()
- static FormData _create(form) => wrap_jso(_blink.BlinkFormData.instance.constructorCallback_1_(form));
-
- static FormData internalCreateFormData() {
- return new FormData._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory FormData._internalWrap() {
- return new FormData.internal_();
- }
-
- FormData.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
+ static FormData _create(form) => _blink.BlinkFormData.instance.constructorCallback_1_(form);
/// Checks if this type is supported on the current platform.
static bool get supported => true;
@@ -18523,18 +16138,6 @@ 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.
*
@@ -18548,7 +16151,7 @@ class FormElement extends HtmlElement {
@DomName('HTMLFormElement.acceptCharset')
@DocsEditable()
- set acceptCharset(String value) => _blink.BlinkHTMLFormElement.instance.acceptCharset_Setter_(unwrap_jso(this), value);
+ void set acceptCharset(String value) => _blink.BlinkHTMLFormElement.instance.acceptCharset_Setter_(unwrap_jso(this), value);
@DomName('HTMLFormElement.action')
@DocsEditable()
@@ -18556,7 +16159,7 @@ class FormElement extends HtmlElement {
@DomName('HTMLFormElement.action')
@DocsEditable()
- set action(String value) => _blink.BlinkHTMLFormElement.instance.action_Setter_(unwrap_jso(this), value);
+ void set action(String value) => _blink.BlinkHTMLFormElement.instance.action_Setter_(unwrap_jso(this), value);
@DomName('HTMLFormElement.autocomplete')
@DocsEditable()
@@ -18568,7 +16171,7 @@ class FormElement extends HtmlElement {
@DocsEditable()
// http://www.whatwg.org/specs/web-apps/current-work/multipage/association-of-controls-and-forms.html#autofilling-form-controls:-the-autocomplete-attribute
@Experimental()
- set autocomplete(String value) => _blink.BlinkHTMLFormElement.instance.autocomplete_Setter_(unwrap_jso(this), value);
+ void set autocomplete(String value) => _blink.BlinkHTMLFormElement.instance.autocomplete_Setter_(unwrap_jso(this), value);
@DomName('HTMLFormElement.encoding')
@DocsEditable()
@@ -18576,7 +16179,7 @@ class FormElement extends HtmlElement {
@DomName('HTMLFormElement.encoding')
@DocsEditable()
- set encoding(String value) => _blink.BlinkHTMLFormElement.instance.encoding_Setter_(unwrap_jso(this), value);
+ void set encoding(String value) => _blink.BlinkHTMLFormElement.instance.encoding_Setter_(unwrap_jso(this), value);
@DomName('HTMLFormElement.enctype')
@DocsEditable()
@@ -18584,7 +16187,7 @@ class FormElement extends HtmlElement {
@DomName('HTMLFormElement.enctype')
@DocsEditable()
- set enctype(String value) => _blink.BlinkHTMLFormElement.instance.enctype_Setter_(unwrap_jso(this), value);
+ void set enctype(String value) => _blink.BlinkHTMLFormElement.instance.enctype_Setter_(unwrap_jso(this), value);
@DomName('HTMLFormElement.length')
@DocsEditable()
@@ -18596,7 +16199,7 @@ class FormElement extends HtmlElement {
@DomName('HTMLFormElement.method')
@DocsEditable()
- set method(String value) => _blink.BlinkHTMLFormElement.instance.method_Setter_(unwrap_jso(this), value);
+ void set method(String value) => _blink.BlinkHTMLFormElement.instance.method_Setter_(unwrap_jso(this), value);
@DomName('HTMLFormElement.name')
@DocsEditable()
@@ -18604,7 +16207,7 @@ class FormElement extends HtmlElement {
@DomName('HTMLFormElement.name')
@DocsEditable()
- set name(String value) => _blink.BlinkHTMLFormElement.instance.name_Setter_(unwrap_jso(this), value);
+ void set name(String value) => _blink.BlinkHTMLFormElement.instance.name_Setter_(unwrap_jso(this), value);
@DomName('HTMLFormElement.noValidate')
@DocsEditable()
@@ -18612,7 +16215,7 @@ class FormElement extends HtmlElement {
@DomName('HTMLFormElement.noValidate')
@DocsEditable()
- set noValidate(bool value) => _blink.BlinkHTMLFormElement.instance.noValidate_Setter_(unwrap_jso(this), value);
+ void set noValidate(bool value) => _blink.BlinkHTMLFormElement.instance.noValidate_Setter_(unwrap_jso(this), value);
@DomName('HTMLFormElement.target')
@DocsEditable()
@@ -18620,14 +16223,14 @@ class FormElement extends HtmlElement {
@DomName('HTMLFormElement.target')
@DocsEditable()
- set target(String value) => _blink.BlinkHTMLFormElement.instance.target_Setter_(unwrap_jso(this), value);
+ void set target(String value) => _blink.BlinkHTMLFormElement.instance.target_Setter_(unwrap_jso(this), value);
Element __getter__(index_OR_name) {
if ((index_OR_name is int || index_OR_name == null)) {
return wrap_jso(_blink.BlinkHTMLFormElement.instance.$__getter___Callback_1_(unwrap_jso(this), unwrap_jso(index_OR_name)));
}
if ((index_OR_name is String || index_OR_name == null)) {
- return wrap_jso(_blink.BlinkHTMLFormElement.instance.$__getter___Callback_1_(unwrap_jso(this), unwrap_jso(index_OR_name)));
+ return _blink.BlinkHTMLFormElement.instance.$__getter___Callback_1_(unwrap_jso(this), unwrap_jso(index_OR_name));
}
throw new ArgumentError("Incorrect number or type of arguments");
}
@@ -18640,7 +16243,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 != null ? new js.JsObject.jsify(details) : details);
+ void requestAutocomplete(Map details) => _blink.BlinkHTMLFormElement.instance.requestAutocomplete_Callback_1_(unwrap_jso(this), details);
@DomName('HTMLFormElement.reset')
@DocsEditable()
@@ -18666,21 +16269,6 @@ class Gamepad extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory Gamepad._() { throw new UnsupportedError("Not supported"); }
- static Gamepad internalCreateGamepad() {
- return new Gamepad._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory Gamepad._internalWrap() {
- return new Gamepad.internal_();
- }
-
- Gamepad.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('Gamepad.axes')
@DocsEditable()
List<num> get axes => _blink.BlinkGamepad.instance.axes_Getter_(unwrap_jso(this));
@@ -18722,21 +16310,6 @@ class GamepadButton extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory GamepadButton._() { throw new UnsupportedError("Not supported"); }
- static GamepadButton internalCreateGamepadButton() {
- return new GamepadButton._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory GamepadButton._internalWrap() {
- return new GamepadButton.internal_();
- }
-
- GamepadButton.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('GamepadButton.pressed')
@DocsEditable()
@Experimental() // untriaged
@@ -18745,7 +16318,7 @@ class GamepadButton extends NativeFieldWrapperClass2 {
@DomName('GamepadButton.value')
@DocsEditable()
@Experimental() // untriaged
- num get value => _blink.BlinkGamepadButton.instance.value_Getter_(unwrap_jso(this));
+ double get value => _blink.BlinkGamepadButton.instance.value_Getter_(unwrap_jso(this));
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -18762,18 +16335,6 @@ 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
@@ -18794,35 +16355,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();
- }
-
- js.JsObject blink_jsObject;
-
- factory Geofencing._internalWrap() {
- return new Geofencing.internal_();
- }
-
- Geofencing.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('Geofencing.getRegisteredRegions')
@DocsEditable()
@Experimental() // untriaged
- Future getRegisteredRegions() => wrap_jso(_blink.BlinkGeofencing.instance.getRegisteredRegions_Callback_0_(unwrap_jso(this)));
+ Future getRegisteredRegions() => _blink.BlinkGeofencing.instance.getRegisteredRegions_Callback_0_(unwrap_jso(this));
@DomName('Geofencing.registerRegion')
@DocsEditable()
@Experimental() // untriaged
- Future registerRegion(GeofencingRegion region) => wrap_jso(_blink.BlinkGeofencing.instance.registerRegion_Callback_1_(unwrap_jso(this), unwrap_jso(region)));
+ Future registerRegion(GeofencingRegion region) => _blink.BlinkGeofencing.instance.registerRegion_Callback_1_(unwrap_jso(this), unwrap_jso(region));
@DomName('Geofencing.unregisterRegion')
@DocsEditable()
@Experimental() // untriaged
- Future unregisterRegion(String regionId) => wrap_jso(_blink.BlinkGeofencing.instance.unregisterRegion_Callback_1_(unwrap_jso(this), regionId));
+ Future unregisterRegion(String regionId) => _blink.BlinkGeofencing.instance.unregisterRegion_Callback_1_(unwrap_jso(this), regionId);
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -18839,21 +16385,6 @@ class GeofencingRegion extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory GeofencingRegion._() { throw new UnsupportedError("Not supported"); }
- static GeofencingRegion internalCreateGeofencingRegion() {
- return new GeofencingRegion._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory GeofencingRegion._internalWrap() {
- return new GeofencingRegion.internal_();
- }
-
- GeofencingRegion.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('GeofencingRegion.id')
@DocsEditable()
@Experimental() // untriaged
@@ -18943,46 +16474,31 @@ class Geolocation extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory Geolocation._() { throw new UnsupportedError("Not supported"); }
- static Geolocation internalCreateGeolocation() {
- return new Geolocation._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory Geolocation._internalWrap() {
- return new Geolocation.internal_();
- }
-
- Geolocation.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@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((position) => successCallback(wrap_jso(position))), unwrap_jso((error) => errorCallback(wrap_jso(error))), options != null ? new js.JsObject.jsify(options) : options);
+ _blink.BlinkGeolocation.instance.getCurrentPosition_Callback_3_(unwrap_jso(this), unwrap_jso(successCallback), unwrap_jso(errorCallback), options);
return;
}
if (errorCallback != null) {
- _blink.BlinkGeolocation.instance.getCurrentPosition_Callback_2_(unwrap_jso(this), unwrap_jso((position) => successCallback(wrap_jso(position))), unwrap_jso((error) => errorCallback(wrap_jso(error))));
+ _blink.BlinkGeolocation.instance.getCurrentPosition_Callback_2_(unwrap_jso(this), unwrap_jso(successCallback), unwrap_jso(errorCallback));
return;
}
- _blink.BlinkGeolocation.instance.getCurrentPosition_Callback_1_(unwrap_jso(this), unwrap_jso((position) => successCallback(wrap_jso(position))));
+ _blink.BlinkGeolocation.instance.getCurrentPosition_Callback_1_(unwrap_jso(this), unwrap_jso(successCallback));
return;
}
int _watchPosition(_PositionCallback successCallback, [_PositionErrorCallback errorCallback, Map options]) {
if (options != null) {
- return _blink.BlinkGeolocation.instance.watchPosition_Callback_3_(unwrap_jso(this), unwrap_jso((position) => successCallback(wrap_jso(position))), unwrap_jso((error) => errorCallback(wrap_jso(error))), options != null ? new js.JsObject.jsify(options) : options);
+ return _blink.BlinkGeolocation.instance.watchPosition_Callback_3_(unwrap_jso(this), unwrap_jso(successCallback), unwrap_jso(errorCallback), options);
}
if (errorCallback != null) {
- return _blink.BlinkGeolocation.instance.watchPosition_Callback_2_(unwrap_jso(this), unwrap_jso((position) => successCallback(wrap_jso(position))), unwrap_jso((error) => errorCallback(wrap_jso(error))));
+ return _blink.BlinkGeolocation.instance.watchPosition_Callback_2_(unwrap_jso(this), unwrap_jso(successCallback), unwrap_jso(errorCallback));
}
- return _blink.BlinkGeolocation.instance.watchPosition_Callback_1_(unwrap_jso(this), unwrap_jso((position) => successCallback(wrap_jso(position))));
+ return _blink.BlinkGeolocation.instance.watchPosition_Callback_1_(unwrap_jso(this), unwrap_jso(successCallback));
}
}
@@ -19000,21 +16516,6 @@ class Geoposition extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory Geoposition._() { throw new UnsupportedError("Not supported"); }
- static Geoposition internalCreateGeoposition() {
- return new Geoposition._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory Geoposition._internalWrap() {
- return new Geoposition.internal_();
- }
-
- Geoposition.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('Geoposition.coords')
@DocsEditable()
Coordinates get coords => wrap_jso(_blink.BlinkGeoposition.instance.coords_Getter_(unwrap_jso(this)));
@@ -19575,18 +17076,6 @@ 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.
*
@@ -19602,7 +17091,7 @@ class HRElement extends HtmlElement {
@DomName('HTMLHRElement.color')
@DocsEditable()
@Experimental() // untriaged
- set color(String value) => _blink.BlinkHTMLHRElement.instance.color_Setter_(unwrap_jso(this), value);
+ void set color(String value) => _blink.BlinkHTMLHRElement.instance.color_Setter_(unwrap_jso(this), value);
}
// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
@@ -19627,18 +17116,6 @@ 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;
@@ -19671,18 +17148,6 @@ 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.
*
@@ -19709,33 +17174,17 @@ class Headers extends NativeFieldWrapperClass2 {
@DocsEditable()
factory Headers([input]) {
if (input == null) {
- return wrap_jso(_blink.BlinkHeaders.instance.constructorCallback_0_());
+ return _blink.BlinkHeaders.instance.constructorCallback_0_();
}
if ((input is Headers || input == null)) {
- return wrap_jso(_blink.BlinkHeaders.instance.constructorCallback_1_(input));
+ return _blink.BlinkHeaders.instance.constructorCallback_1_(input);
}
if ((input is Map || input == null)) {
- var input_1 = convertDartToNative_Dictionary(input);
- return wrap_jso(_blink.BlinkHeaders.instance.constructorCallback_1_(input_1));
+ return _blink.BlinkHeaders.instance.constructorCallback_1_(input);
}
throw new ArgumentError("Incorrect number or type of arguments");
}
- static Headers internalCreateHeaders() {
- return new Headers._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory Headers._internalWrap() {
- return new Headers.internal_();
- }
-
- Headers.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('Headers.size')
@DocsEditable()
@Experimental() // untriaged
@@ -19743,10 +17192,10 @@ class Headers extends NativeFieldWrapperClass2 {
void forEach(HeadersForEachCallback callback, [Object thisArg]) {
if (thisArg != null) {
- _blink.BlinkHeaders.instance.forEach_Callback_2_(unwrap_jso(this), unwrap_jso((String value, String key, map) => callback(value, key, wrap_jso(map))), thisArg);
+ _blink.BlinkHeaders.instance.forEach_Callback_2_(unwrap_jso(this), unwrap_jso(callback), thisArg);
return;
}
- _blink.BlinkHeaders.instance.forEach_Callback_1_(unwrap_jso(this), unwrap_jso((String value, String key, map) => callback(value, key, wrap_jso(map))));
+ _blink.BlinkHeaders.instance.forEach_Callback_1_(unwrap_jso(this), unwrap_jso(callback));
return;
}
@@ -19797,18 +17246,6 @@ 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.
*
@@ -19838,21 +17275,6 @@ 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();
- }
-
- js.JsObject blink_jsObject;
-
- factory History._internalWrap() {
- return new History.internal_();
- }
-
- History.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('History.length')
@DocsEditable()
int get length => _blink.BlinkHistory.instance.length_Getter_(unwrap_jso(this));
@@ -19898,25 +17320,10 @@ class History extends NativeFieldWrapperClass2 implements HistoryBase {
@DocsEditable()
@DomName('HTMLCollection')
-class HtmlCollection extends JsoNativeFieldWrapper with ListMixin<Node>, ImmutableListMixin<Node> implements List<Node> {
+class HtmlCollection extends NativeFieldWrapperClass2 with ListMixin<Node>, ImmutableListMixin<Node> implements List<Node> {
// To suppress missing implicit constructor warnings.
factory HtmlCollection._() { throw new UnsupportedError("Not supported"); }
- static HtmlCollection internalCreateHtmlCollection() {
- return new HtmlCollection._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory HtmlCollection._internalWrap() {
- return new HtmlCollection.internal_();
- }
-
- HtmlCollection.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('HTMLCollection.length')
@DocsEditable()
int get length => _blink.BlinkHTMLCollection.instance.length_Getter_(unwrap_jso(this));
@@ -19928,7 +17335,7 @@ class HtmlCollection extends JsoNativeFieldWrapper with ListMixin<Node>, Immutab
}
Node _nativeIndexedGetter(int index) => wrap_jso(_blink.BlinkHTMLCollection.instance.item_Callback_1_(unwrap_jso(this), index));
-
+
void operator[]=(int index, Node value) {
throw new UnsupportedError("Cannot assign element of immutable List.");
}
@@ -19936,7 +17343,7 @@ class HtmlCollection extends JsoNativeFieldWrapper with ListMixin<Node>, Immutab
// Node is the element type.
- set length(int value) {
+ void set length(int value) {
throw new UnsupportedError("Cannot resize immutable List.");
}
@@ -19989,23 +17396,11 @@ 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;
@DomName('Document.body')
- set body(BodyElement value) {
+ void set body(BodyElement value) {
_body = value;
}
@@ -20072,7 +17467,7 @@ class HtmlDocument extends Document {
@DomName('Document.selectedStylesheetSet')
String get selectedStylesheetSet => _selectedStylesheetSet;
- set selectedStylesheetSet(String value) {
+ void set selectedStylesheetSet(String value) {
_selectedStylesheetSet = value;
}
@@ -20083,7 +17478,7 @@ class HtmlDocument extends Document {
String get title => _title;
@DomName('Document.title')
- set title(String value) {
+ void set title(String value) {
_title = value;
}
@@ -20164,39 +17559,6 @@ class HtmlDocument extends Document {
@Experimental()
String get visibilityState => _webkitVisibilityState;
- /**
- * Internal routine to find the DOM JS class name being extended for custom
- * elements.
- */
- String _getJSClassName(ClassMirror classMirror) {
- var jsClassName = null;
- var isElement = false;
-
- while (classMirror.superclass != null) {
- var fullName = classMirror.superclass.qualifiedName;
- isElement = isElement || (fullName == #dart.dom.html.Element);
-
- var domLibrary = MirrorSystem.getName(fullName).startsWith('dart.dom.');
- if (jsClassName == null && domLibrary) {
- // Lookup JS class name (if not found).
- var metadatas = classMirror.metadata;
- for (var metadata in metadatas) {
- var metaDataMirror = metadata.reflectee;
- var metaType = reflectClass(metaDataMirror.runtimeType);
- if (MirrorSystem.getName(metaType.simpleName) == 'DomName' &&
- metaDataMirror.name.startsWith('HTML')) {
- jsClassName = metadata.reflectee.name;
- }
- }
- }
-
- classMirror = classMirror.superclass;
- }
-
- // If we're an element then everything is okay.
- return isElement ? jsClassName : null;
- }
-
@Experimental()
/**
* Register a custom subclass of Element to be instantiatable by the DOM.
@@ -20241,73 +17603,7 @@ class HtmlDocument extends Document {
*/
void registerElement(String tag, Type customElementClass,
{String extendsTag}) {
- // TODO(terry): Need to handle the extendsTag.
-
- // Figure out which DOM class is being extended from the user's Dart class.
- var classMirror = reflectClass(customElementClass);
- var jsClassName = _getJSClassName(classMirror);
- if (jsClassName == null) {
- // Only components derived from HTML* can be extended.
- throw new DomException.jsInterop("HierarchyRequestError: Only HTML elements can be customized.");
- }
-
- // Start the hookup the JS way create an <x-foo> element that extends the
- // <x-base> custom element. Inherit its prototype and signal what tag is
- // inherited:
- //
- // var myProto = Object.create(HTMLElement.prototype);
- // var myElement = document.registerElement('x-foo', {prototype: myProto});
- var baseElement = js.context[jsClassName];
- if (baseElement == null) {
- // Couldn't find the HTML element so use a generic one.
- baseElement = js.context['HTMLElement'];
- }
- var elemProto = js.context['Object'].callMethod("create", [baseElement['prototype']]);
-
- // TODO(terry): Hack to stop recursion re-creating custom element when the
- // created() constructor of the custom element does e.g.,
- //
- // MyElement.created() : super.created() {
- // this.innerHtml = "<b>I'm an x-foo-with-markup!</b>";
- // }
- //
- // sanitizing causes custom element to created recursively
- // until stack overflow.
- //
- // See https://github.com/dart-lang/sdk/issues/23666
- int creating = 0;
- elemProto['createdCallback'] = new js.JsFunction.withThis(($this) {
- if (_getJSClassName(reflectClass(customElementClass).superclass) != null && creating < 2) {
- creating++;
-
- var dartClass = _blink.Blink_Utils.constructElement(customElementClass, $this);
-
- // Need to remember the Dart class that was created for this custom so
- // return it and setup the blink_jsObject to the $this that we'll be working
- // with as we talk to blink.
- $this['dart_class'] = dartClass;
-
- creating--;
- }
- });
- elemProto['attributeChangedCallback'] = new js.JsFunction.withThis(($this, attrName, oldVal, newVal) {
- if ($this["dart_class"] != null && $this['dart_class'].attributeChanged != null) {
- $this['dart_class'].attributeChanged(attrName, oldVal, newVal);
- }
- });
- elemProto['attachedCallback'] = new js.JsFunction.withThis(($this) {
- if ($this["dart_class"] != null && $this['dart_class'].attached != null) {
- $this['dart_class'].attached();
- }
- });
- elemProto['detachedCallback'] = new js.JsFunction.withThis(($this) {
- if ($this["dart_class"] != null && $this['dart_class'].detached != null) {
- $this['dart_class'].detached();
- }
- });
- // document.registerElement('x-foo', {prototype: elemProto, extends: extendsTag});
- var jsMap = new js.JsObject.jsify({'prototype': elemProto, 'extends': extendsTag});
- js.context['document'].callMethod('registerElement', [tag, jsMap]);
+ _Utils.register(this, tag, customElementClass, extendsTag);
}
/** *Deprecated*: use [registerElement] instead. */
@@ -20628,18 +17924,6 @@ 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.
*
@@ -20653,7 +17937,7 @@ class HtmlElement extends Element implements GlobalEventHandlers {
@DomName('HTMLElement.contentEditable')
@DocsEditable()
- set contentEditable(String value) => _blink.BlinkHTMLElement.instance.contentEditable_Setter_(unwrap_jso(this), value);
+ void set contentEditable(String value) => _blink.BlinkHTMLElement.instance.contentEditable_Setter_(unwrap_jso(this), value);
@DomName('HTMLElement.contextMenu')
@DocsEditable()
@@ -20663,7 +17947,7 @@ class HtmlElement extends Element implements GlobalEventHandlers {
@DomName('HTMLElement.contextMenu')
@DocsEditable()
@Experimental() // untriaged
- set contextMenu(MenuElement value) => _blink.BlinkHTMLElement.instance.contextMenu_Setter_(unwrap_jso(this), unwrap_jso(value));
+ void set contextMenu(MenuElement value) => _blink.BlinkHTMLElement.instance.contextMenu_Setter_(unwrap_jso(this), unwrap_jso(value));
@DomName('HTMLElement.dir')
@DocsEditable()
@@ -20671,7 +17955,7 @@ class HtmlElement extends Element implements GlobalEventHandlers {
@DomName('HTMLElement.dir')
@DocsEditable()
- set dir(String value) => _blink.BlinkHTMLElement.instance.dir_Setter_(unwrap_jso(this), value);
+ void set dir(String value) => _blink.BlinkHTMLElement.instance.dir_Setter_(unwrap_jso(this), value);
@DomName('HTMLElement.draggable')
@DocsEditable()
@@ -20679,7 +17963,7 @@ class HtmlElement extends Element implements GlobalEventHandlers {
@DomName('HTMLElement.draggable')
@DocsEditable()
- set draggable(bool value) => _blink.BlinkHTMLElement.instance.draggable_Setter_(unwrap_jso(this), value);
+ void set draggable(bool value) => _blink.BlinkHTMLElement.instance.draggable_Setter_(unwrap_jso(this), value);
@DomName('HTMLElement.hidden')
@DocsEditable()
@@ -20687,7 +17971,7 @@ class HtmlElement extends Element implements GlobalEventHandlers {
@DomName('HTMLElement.hidden')
@DocsEditable()
- set hidden(bool value) => _blink.BlinkHTMLElement.instance.hidden_Setter_(unwrap_jso(this), value);
+ void set hidden(bool value) => _blink.BlinkHTMLElement.instance.hidden_Setter_(unwrap_jso(this), value);
@DomName('HTMLElement.inputMethodContext')
@DocsEditable()
@@ -20704,7 +17988,7 @@ class HtmlElement extends Element implements GlobalEventHandlers {
@DomName('HTMLElement.lang')
@DocsEditable()
- set lang(String value) => _blink.BlinkHTMLElement.instance.lang_Setter_(unwrap_jso(this), value);
+ void set lang(String value) => _blink.BlinkHTMLElement.instance.lang_Setter_(unwrap_jso(this), value);
@DomName('HTMLElement.spellcheck')
@DocsEditable()
@@ -20716,7 +18000,7 @@ class HtmlElement extends Element implements GlobalEventHandlers {
@DocsEditable()
// http://blog.whatwg.org/the-road-to-html-5-spellchecking
@Experimental() // nonstandard
- set spellcheck(bool value) => _blink.BlinkHTMLElement.instance.spellcheck_Setter_(unwrap_jso(this), value);
+ void set spellcheck(bool value) => _blink.BlinkHTMLElement.instance.spellcheck_Setter_(unwrap_jso(this), value);
@DomName('HTMLElement.tabIndex')
@DocsEditable()
@@ -20724,7 +18008,7 @@ class HtmlElement extends Element implements GlobalEventHandlers {
@DomName('HTMLElement.tabIndex')
@DocsEditable()
- set tabIndex(int value) => _blink.BlinkHTMLElement.instance.tabIndex_Setter_(unwrap_jso(this), value);
+ void set tabIndex(int value) => _blink.BlinkHTMLElement.instance.tabIndex_Setter_(unwrap_jso(this), value);
@DomName('HTMLElement.title')
@DocsEditable()
@@ -20732,7 +18016,7 @@ class HtmlElement extends Element implements GlobalEventHandlers {
@DomName('HTMLElement.title')
@DocsEditable()
- set title(String value) => _blink.BlinkHTMLElement.instance.title_Setter_(unwrap_jso(this), value);
+ void set title(String value) => _blink.BlinkHTMLElement.instance.title_Setter_(unwrap_jso(this), value);
@DomName('HTMLElement.translate')
@DocsEditable()
@@ -20740,7 +18024,7 @@ class HtmlElement extends Element implements GlobalEventHandlers {
@DomName('HTMLElement.translate')
@DocsEditable()
- set translate(bool value) => _blink.BlinkHTMLElement.instance.translate_Setter_(unwrap_jso(this), value);
+ void set translate(bool value) => _blink.BlinkHTMLElement.instance.translate_Setter_(unwrap_jso(this), value);
@DomName('HTMLElement.webkitdropzone')
@DocsEditable()
@@ -20756,7 +18040,7 @@ class HtmlElement extends Element implements GlobalEventHandlers {
@SupportedBrowser(SupportedBrowser.SAFARI)
@Experimental()
// http://www.whatwg.org/specs/web-apps/current-work/multipage/dnd.html#the-dropzone-attribute
- set dropzone(String value) => _blink.BlinkHTMLElement.instance.webkitdropzone_Setter_(unwrap_jso(this), value);
+ void set dropzone(String value) => _blink.BlinkHTMLElement.instance.webkitdropzone_Setter_(unwrap_jso(this), value);
@DomName('HTMLElement.click')
@DocsEditable()
@@ -21036,18 +18320,6 @@ 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));
@@ -21069,18 +18341,6 @@ 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.
*
@@ -21102,18 +18362,6 @@ 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
@@ -21451,31 +18699,6 @@ class HttpRequest extends HttpRequestEventTarget {
return headers;
}
- /**
- * Specify the desired `url`, and `method` to use in making the request.
- *
- * By default the request is done asyncronously, with no user or password
- * authentication information. If `async` is false, the request will be send
- * synchronously.
- *
- * Calling `open` again on a currently active request is equivalent to
- * calling `abort`.
- *
- * Note: Most simple HTTP requests can be accomplished using the [getString],
- * [request], [requestCrossOrigin], or [postFormData] methods. Use of this
- * `open` method is intended only for more complext HTTP requests where
- * finer-grained control is needed.
- */
- @DomName('XMLHttpRequest.open')
- @DocsEditable()
- void open(String method, String url, {bool async, String user, String password}) {
- if (async == null && user == null && password == null) {
- _blink.BlinkXMLHttpRequest.instance.open_Callback_2_(unwrap_jso(this), method, url);
- } else {
- _blink.BlinkXMLHttpRequest.instance.open_Callback_5_(unwrap_jso(this), method, url, async, user, password);
- }
- }
-
// To suppress missing implicit constructor warnings.
factory HttpRequest._() { throw new UnsupportedError("Not supported"); }
@@ -21510,19 +18733,7 @@ class HttpRequest extends HttpRequestEventTarget {
factory HttpRequest() => wrap_jso(_create());
@DocsEditable()
- static HttpRequest _create() => wrap_jso(_blink.BlinkXMLHttpRequest.instance.constructorCallback_0_());
-
-
- static HttpRequest internalCreateHttpRequest() {
- return new HttpRequest._internalWrap();
- }
-
- factory HttpRequest._internalWrap() {
- return new HttpRequest.internal_();
- }
-
- HttpRequest.internal_() : super.internal_();
-
+ static HttpRequest _create() => _blink.BlinkXMLHttpRequest.instance.constructorCallback_0_();
@DomName('XMLHttpRequest.DONE')
@DocsEditable()
@@ -21593,7 +18804,7 @@ class HttpRequest extends HttpRequestEventTarget {
@SupportedBrowser(SupportedBrowser.FIREFOX)
@SupportedBrowser(SupportedBrowser.IE, '10')
@SupportedBrowser(SupportedBrowser.SAFARI)
- Object get response => wrap_jso(_blink.BlinkXMLHttpRequest.instance.response_Getter_(unwrap_jso(this)));
+ Object get response => _blink.BlinkXMLHttpRequest.instance.response_Getter_(unwrap_jso(this));
/**
* The response in String form or empty String on failure.
@@ -21628,7 +18839,7 @@ class HttpRequest extends HttpRequestEventTarget {
*/
@DomName('XMLHttpRequest.responseType')
@DocsEditable()
- set responseType(String value) => _blink.BlinkXMLHttpRequest.instance.responseType_Setter_(unwrap_jso(this), value);
+ void set responseType(String value) => _blink.BlinkXMLHttpRequest.instance.responseType_Setter_(unwrap_jso(this), value);
@DomName('XMLHttpRequest.responseURL')
@DocsEditable()
@@ -21702,7 +18913,7 @@ class HttpRequest extends HttpRequestEventTarget {
@DomName('XMLHttpRequest.timeout')
@DocsEditable()
@Experimental() // untriaged
- set timeout(int value) => _blink.BlinkXMLHttpRequest.instance.timeout_Setter_(unwrap_jso(this), value);
+ void set timeout(int value) => _blink.BlinkXMLHttpRequest.instance.timeout_Setter_(unwrap_jso(this), value);
/**
* [EventTarget] that can hold listeners to track the progress of the request.
@@ -21731,7 +18942,7 @@ class HttpRequest extends HttpRequestEventTarget {
*/
@DomName('XMLHttpRequest.withCredentials')
@DocsEditable()
- set withCredentials(bool value) => _blink.BlinkXMLHttpRequest.instance.withCredentials_Setter_(unwrap_jso(this), value);
+ void set withCredentials(bool value) => _blink.BlinkXMLHttpRequest.instance.withCredentials_Setter_(unwrap_jso(this), value);
/**
* Stop the current request.
@@ -21771,6 +18982,25 @@ class HttpRequest extends HttpRequestEventTarget {
String getResponseHeader(String header) => _blink.BlinkXMLHttpRequest.instance.getResponseHeader_Callback_1_(unwrap_jso(this), header);
/**
+ * Specify the desired `url`, and `method` to use in making the request.
+ *
+ * By default the request is done asyncronously, with no user or password
+ * authentication information. If `async` is false, the request will be send
+ * synchronously.
+ *
+ * Calling `open` again on a currently active request is equivalent to
+ * calling `abort`.
+ *
+ * Note: Most simple HTTP requests can be accomplished using the [getString],
+ * [request], [requestCrossOrigin], or [postFormData] methods. Use of this
+ * `open` method is intended only for more complext HTTP requests where
+ * finer-grained control is needed.
+ */
+ @DomName('XMLHttpRequest.open')
+ @DocsEditable()
+ void open(String method, String url, {bool async, String user, String password}) => _blink.BlinkXMLHttpRequest.instance.open_Callback_5_(unwrap_jso(this), method, url, async, user, password);
+
+ /**
* Specify a particular MIME type (such as `text/xml`) desired for the
* response.
*
@@ -21925,18 +19155,6 @@ 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()
@@ -22003,18 +19221,6 @@ 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
@@ -22032,18 +19238,6 @@ 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.
*
@@ -22059,7 +19253,7 @@ class IFrameElement extends HtmlElement {
@DomName('HTMLIFrameElement.allowFullscreen')
@DocsEditable()
@Experimental() // untriaged
- set allowFullscreen(bool value) => _blink.BlinkHTMLIFrameElement.instance.allowFullscreen_Setter_(unwrap_jso(this), value);
+ void set allowFullscreen(bool value) => _blink.BlinkHTMLIFrameElement.instance.allowFullscreen_Setter_(unwrap_jso(this), value);
@DomName('HTMLIFrameElement.contentWindow')
@DocsEditable()
@@ -22071,7 +19265,7 @@ class IFrameElement extends HtmlElement {
@DomName('HTMLIFrameElement.height')
@DocsEditable()
- set height(String value) => _blink.BlinkHTMLIFrameElement.instance.height_Setter_(unwrap_jso(this), value);
+ void set height(String value) => _blink.BlinkHTMLIFrameElement.instance.height_Setter_(unwrap_jso(this), value);
@DomName('HTMLIFrameElement.integrity')
@DocsEditable()
@@ -22081,7 +19275,7 @@ class IFrameElement extends HtmlElement {
@DomName('HTMLIFrameElement.integrity')
@DocsEditable()
@Experimental() // untriaged
- set integrity(String value) => _blink.BlinkHTMLIFrameElement.instance.integrity_Setter_(unwrap_jso(this), value);
+ void set integrity(String value) => _blink.BlinkHTMLIFrameElement.instance.integrity_Setter_(unwrap_jso(this), value);
@DomName('HTMLIFrameElement.name')
@DocsEditable()
@@ -22089,7 +19283,7 @@ class IFrameElement extends HtmlElement {
@DomName('HTMLIFrameElement.name')
@DocsEditable()
- set name(String value) => _blink.BlinkHTMLIFrameElement.instance.name_Setter_(unwrap_jso(this), value);
+ void set name(String value) => _blink.BlinkHTMLIFrameElement.instance.name_Setter_(unwrap_jso(this), value);
@DomName('HTMLIFrameElement.sandbox')
@DocsEditable()
@@ -22097,7 +19291,7 @@ class IFrameElement extends HtmlElement {
@DomName('HTMLIFrameElement.sandbox')
@DocsEditable()
- set sandbox(String value) => _blink.BlinkHTMLIFrameElement.instance.sandbox_Setter_(unwrap_jso(this), value);
+ void set sandbox(String value) => _blink.BlinkHTMLIFrameElement.instance.sandbox_Setter_(unwrap_jso(this), value);
@DomName('HTMLIFrameElement.src')
@DocsEditable()
@@ -22105,7 +19299,7 @@ class IFrameElement extends HtmlElement {
@DomName('HTMLIFrameElement.src')
@DocsEditable()
- set src(String value) => _blink.BlinkHTMLIFrameElement.instance.src_Setter_(unwrap_jso(this), value);
+ void set src(String value) => _blink.BlinkHTMLIFrameElement.instance.src_Setter_(unwrap_jso(this), value);
@DomName('HTMLIFrameElement.srcdoc')
@DocsEditable()
@@ -22113,7 +19307,7 @@ class IFrameElement extends HtmlElement {
@DomName('HTMLIFrameElement.srcdoc')
@DocsEditable()
- set srcdoc(String value) => _blink.BlinkHTMLIFrameElement.instance.srcdoc_Setter_(unwrap_jso(this), value);
+ void set srcdoc(String value) => _blink.BlinkHTMLIFrameElement.instance.srcdoc_Setter_(unwrap_jso(this), value);
@DomName('HTMLIFrameElement.width')
@DocsEditable()
@@ -22121,7 +19315,7 @@ class IFrameElement extends HtmlElement {
@DomName('HTMLIFrameElement.width')
@DocsEditable()
- set width(String value) => _blink.BlinkHTMLIFrameElement.instance.width_Setter_(unwrap_jso(this), value);
+ void set width(String value) => _blink.BlinkHTMLIFrameElement.instance.width_Setter_(unwrap_jso(this), value);
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -22138,21 +19332,6 @@ class ImageBitmap extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory ImageBitmap._() { throw new UnsupportedError("Not supported"); }
- static ImageBitmap internalCreateImageBitmap() {
- return new ImageBitmap._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory ImageBitmap._internalWrap() {
- return new ImageBitmap.internal_();
- }
-
- ImageBitmap.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('ImageBitmap.height')
@DocsEditable()
@Experimental() // untriaged
@@ -22186,32 +19365,17 @@ class ImageData extends NativeFieldWrapperClass2 {
@DocsEditable()
factory ImageData(data_OR_width, int height_OR_width, [int height]) {
if ((height_OR_width is int || height_OR_width == null) && (data_OR_width is int || data_OR_width == null) && height == null) {
- return wrap_jso(_blink.BlinkImageData.instance.constructorCallback_2_(data_OR_width, height_OR_width));
+ return _blink.BlinkImageData.instance.constructorCallback_2_(data_OR_width, height_OR_width);
}
if ((height is int || height == null) && (height_OR_width is int || height_OR_width == null) && (data_OR_width is Uint8ClampedList || data_OR_width == null)) {
- return wrap_jso(_blink.BlinkImageData.instance.constructorCallback_3_(data_OR_width, height_OR_width, height));
+ return _blink.BlinkImageData.instance.constructorCallback_3_(data_OR_width, height_OR_width, height);
}
throw new ArgumentError("Incorrect number or type of arguments");
}
- static ImageData internalCreateImageData() {
- return new ImageData._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory ImageData._internalWrap() {
- return new ImageData.internal_();
- }
-
- ImageData.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('ImageData.data')
@DocsEditable()
- Uint8ClampedList get _data => _blink.BlinkImageData.instance.data_Getter_(unwrap_jso(this));
+ Uint8ClampedList get _data => wrap_jso(_blink.BlinkImageData.instance.data_Getter_(unwrap_jso(this)));
@DomName('ImageData.height')
@DocsEditable()
@@ -22241,18 +19405,6 @@ 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.
*
@@ -22266,7 +19418,7 @@ class ImageElement extends HtmlElement implements CanvasImageSource {
@DomName('HTMLImageElement.alt')
@DocsEditable()
- set alt(String value) => _blink.BlinkHTMLImageElement.instance.alt_Setter_(unwrap_jso(this), value);
+ void set alt(String value) => _blink.BlinkHTMLImageElement.instance.alt_Setter_(unwrap_jso(this), value);
@DomName('HTMLImageElement.complete')
@DocsEditable()
@@ -22278,7 +19430,7 @@ class ImageElement extends HtmlElement implements CanvasImageSource {
@DomName('HTMLImageElement.crossOrigin')
@DocsEditable()
- set crossOrigin(String value) => _blink.BlinkHTMLImageElement.instance.crossOrigin_Setter_(unwrap_jso(this), value);
+ void set crossOrigin(String value) => _blink.BlinkHTMLImageElement.instance.crossOrigin_Setter_(unwrap_jso(this), value);
@DomName('HTMLImageElement.currentSrc')
@DocsEditable()
@@ -22291,7 +19443,7 @@ class ImageElement extends HtmlElement implements CanvasImageSource {
@DomName('HTMLImageElement.height')
@DocsEditable()
- set height(int value) => _blink.BlinkHTMLImageElement.instance.height_Setter_(unwrap_jso(this), value);
+ void set height(int value) => _blink.BlinkHTMLImageElement.instance.height_Setter_(unwrap_jso(this), value);
@DomName('HTMLImageElement.integrity')
@DocsEditable()
@@ -22301,7 +19453,7 @@ class ImageElement extends HtmlElement implements CanvasImageSource {
@DomName('HTMLImageElement.integrity')
@DocsEditable()
@Experimental() // untriaged
- set integrity(String value) => _blink.BlinkHTMLImageElement.instance.integrity_Setter_(unwrap_jso(this), value);
+ void set integrity(String value) => _blink.BlinkHTMLImageElement.instance.integrity_Setter_(unwrap_jso(this), value);
@DomName('HTMLImageElement.isMap')
@DocsEditable()
@@ -22309,7 +19461,7 @@ class ImageElement extends HtmlElement implements CanvasImageSource {
@DomName('HTMLImageElement.isMap')
@DocsEditable()
- set isMap(bool value) => _blink.BlinkHTMLImageElement.instance.isMap_Setter_(unwrap_jso(this), value);
+ void set isMap(bool value) => _blink.BlinkHTMLImageElement.instance.isMap_Setter_(unwrap_jso(this), value);
@DomName('HTMLImageElement.naturalHeight')
@DocsEditable()
@@ -22327,7 +19479,7 @@ class ImageElement extends HtmlElement implements CanvasImageSource {
@DomName('HTMLImageElement.sizes')
@DocsEditable()
@Experimental() // untriaged
- set sizes(String value) => _blink.BlinkHTMLImageElement.instance.sizes_Setter_(unwrap_jso(this), value);
+ void set sizes(String value) => _blink.BlinkHTMLImageElement.instance.sizes_Setter_(unwrap_jso(this), value);
@DomName('HTMLImageElement.src')
@DocsEditable()
@@ -22335,7 +19487,7 @@ class ImageElement extends HtmlElement implements CanvasImageSource {
@DomName('HTMLImageElement.src')
@DocsEditable()
- set src(String value) => _blink.BlinkHTMLImageElement.instance.src_Setter_(unwrap_jso(this), value);
+ void set src(String value) => _blink.BlinkHTMLImageElement.instance.src_Setter_(unwrap_jso(this), value);
@DomName('HTMLImageElement.srcset')
@DocsEditable()
@@ -22345,7 +19497,7 @@ class ImageElement extends HtmlElement implements CanvasImageSource {
@DomName('HTMLImageElement.srcset')
@DocsEditable()
@Experimental() // untriaged
- set srcset(String value) => _blink.BlinkHTMLImageElement.instance.srcset_Setter_(unwrap_jso(this), value);
+ void set srcset(String value) => _blink.BlinkHTMLImageElement.instance.srcset_Setter_(unwrap_jso(this), value);
@DomName('HTMLImageElement.useMap')
@DocsEditable()
@@ -22353,7 +19505,7 @@ class ImageElement extends HtmlElement implements CanvasImageSource {
@DomName('HTMLImageElement.useMap')
@DocsEditable()
- set useMap(String value) => _blink.BlinkHTMLImageElement.instance.useMap_Setter_(unwrap_jso(this), value);
+ void set useMap(String value) => _blink.BlinkHTMLImageElement.instance.useMap_Setter_(unwrap_jso(this), value);
@DomName('HTMLImageElement.width')
@DocsEditable()
@@ -22361,7 +19513,7 @@ class ImageElement extends HtmlElement implements CanvasImageSource {
@DomName('HTMLImageElement.width')
@DocsEditable()
- set width(int value) => _blink.BlinkHTMLImageElement.instance.width_Setter_(unwrap_jso(this), value);
+ void set width(int value) => _blink.BlinkHTMLImageElement.instance.width_Setter_(unwrap_jso(this), value);
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -22378,21 +19530,6 @@ class InjectedScriptHost extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory InjectedScriptHost._() { throw new UnsupportedError("Not supported"); }
- static InjectedScriptHost internalCreateInjectedScriptHost() {
- return new InjectedScriptHost._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory InjectedScriptHost._internalWrap() {
- return new InjectedScriptHost.internal_();
- }
-
- InjectedScriptHost.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('InjectedScriptHost.inspect')
@DocsEditable()
@Experimental() // untriaged
@@ -22441,18 +19578,6 @@ 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.
*
@@ -22466,7 +19591,7 @@ class InputElement extends HtmlElement implements
@DomName('HTMLInputElement.accept')
@DocsEditable()
- set accept(String value) => _blink.BlinkHTMLInputElement.instance.accept_Setter_(unwrap_jso(this), value);
+ void set accept(String value) => _blink.BlinkHTMLInputElement.instance.accept_Setter_(unwrap_jso(this), value);
@DomName('HTMLInputElement.alt')
@DocsEditable()
@@ -22474,7 +19599,7 @@ class InputElement extends HtmlElement implements
@DomName('HTMLInputElement.alt')
@DocsEditable()
- set alt(String value) => _blink.BlinkHTMLInputElement.instance.alt_Setter_(unwrap_jso(this), value);
+ void set alt(String value) => _blink.BlinkHTMLInputElement.instance.alt_Setter_(unwrap_jso(this), value);
@DomName('HTMLInputElement.autocomplete')
@DocsEditable()
@@ -22482,7 +19607,7 @@ class InputElement extends HtmlElement implements
@DomName('HTMLInputElement.autocomplete')
@DocsEditable()
- set autocomplete(String value) => _blink.BlinkHTMLInputElement.instance.autocomplete_Setter_(unwrap_jso(this), value);
+ void set autocomplete(String value) => _blink.BlinkHTMLInputElement.instance.autocomplete_Setter_(unwrap_jso(this), value);
@DomName('HTMLInputElement.autofocus')
@DocsEditable()
@@ -22490,7 +19615,7 @@ class InputElement extends HtmlElement implements
@DomName('HTMLInputElement.autofocus')
@DocsEditable()
- set autofocus(bool value) => _blink.BlinkHTMLInputElement.instance.autofocus_Setter_(unwrap_jso(this), value);
+ void set autofocus(bool value) => _blink.BlinkHTMLInputElement.instance.autofocus_Setter_(unwrap_jso(this), value);
@DomName('HTMLInputElement.capture')
@DocsEditable()
@@ -22500,7 +19625,7 @@ class InputElement extends HtmlElement implements
@DomName('HTMLInputElement.capture')
@DocsEditable()
@Experimental() // untriaged
- set capture(bool value) => _blink.BlinkHTMLInputElement.instance.capture_Setter_(unwrap_jso(this), value);
+ void set capture(bool value) => _blink.BlinkHTMLInputElement.instance.capture_Setter_(unwrap_jso(this), value);
@DomName('HTMLInputElement.checked')
@DocsEditable()
@@ -22508,7 +19633,7 @@ class InputElement extends HtmlElement implements
@DomName('HTMLInputElement.checked')
@DocsEditable()
- set checked(bool value) => _blink.BlinkHTMLInputElement.instance.checked_Setter_(unwrap_jso(this), value);
+ void set checked(bool value) => _blink.BlinkHTMLInputElement.instance.checked_Setter_(unwrap_jso(this), value);
@DomName('HTMLInputElement.defaultChecked')
@DocsEditable()
@@ -22516,7 +19641,7 @@ class InputElement extends HtmlElement implements
@DomName('HTMLInputElement.defaultChecked')
@DocsEditable()
- set defaultChecked(bool value) => _blink.BlinkHTMLInputElement.instance.defaultChecked_Setter_(unwrap_jso(this), value);
+ void set defaultChecked(bool value) => _blink.BlinkHTMLInputElement.instance.defaultChecked_Setter_(unwrap_jso(this), value);
@DomName('HTMLInputElement.defaultValue')
@DocsEditable()
@@ -22524,7 +19649,7 @@ class InputElement extends HtmlElement implements
@DomName('HTMLInputElement.defaultValue')
@DocsEditable()
- set defaultValue(String value) => _blink.BlinkHTMLInputElement.instance.defaultValue_Setter_(unwrap_jso(this), value);
+ void set defaultValue(String value) => _blink.BlinkHTMLInputElement.instance.defaultValue_Setter_(unwrap_jso(this), value);
@DomName('HTMLInputElement.dirName')
@DocsEditable()
@@ -22532,7 +19657,7 @@ class InputElement extends HtmlElement implements
@DomName('HTMLInputElement.dirName')
@DocsEditable()
- set dirName(String value) => _blink.BlinkHTMLInputElement.instance.dirName_Setter_(unwrap_jso(this), value);
+ void set dirName(String value) => _blink.BlinkHTMLInputElement.instance.dirName_Setter_(unwrap_jso(this), value);
@DomName('HTMLInputElement.disabled')
@DocsEditable()
@@ -22540,15 +19665,15 @@ class InputElement extends HtmlElement implements
@DomName('HTMLInputElement.disabled')
@DocsEditable()
- set disabled(bool value) => _blink.BlinkHTMLInputElement.instance.disabled_Setter_(unwrap_jso(this), value);
+ void set disabled(bool value) => _blink.BlinkHTMLInputElement.instance.disabled_Setter_(unwrap_jso(this), value);
@DomName('HTMLInputElement.files')
@DocsEditable()
- List<File> get files => wrap_jso(_blink.BlinkHTMLInputElement.instance.files_Getter_(unwrap_jso(this)));
+ List<File> get files => wrap_jso_list(_blink.BlinkHTMLInputElement.instance.files_Getter_(unwrap_jso(this)));
@DomName('HTMLInputElement.files')
@DocsEditable()
- set files(List<File> value) => _blink.BlinkHTMLInputElement.instance.files_Setter_(unwrap_jso(this), unwrap_jso(value));
+ void set files(List<File> value) => _blink.BlinkHTMLInputElement.instance.files_Setter_(unwrap_jso(this), unwrap_jso(value));
@DomName('HTMLInputElement.form')
@DocsEditable()
@@ -22560,7 +19685,7 @@ class InputElement extends HtmlElement implements
@DomName('HTMLInputElement.formAction')
@DocsEditable()
- set formAction(String value) => _blink.BlinkHTMLInputElement.instance.formAction_Setter_(unwrap_jso(this), value);
+ void set formAction(String value) => _blink.BlinkHTMLInputElement.instance.formAction_Setter_(unwrap_jso(this), value);
@DomName('HTMLInputElement.formEnctype')
@DocsEditable()
@@ -22568,7 +19693,7 @@ class InputElement extends HtmlElement implements
@DomName('HTMLInputElement.formEnctype')
@DocsEditable()
- set formEnctype(String value) => _blink.BlinkHTMLInputElement.instance.formEnctype_Setter_(unwrap_jso(this), value);
+ void set formEnctype(String value) => _blink.BlinkHTMLInputElement.instance.formEnctype_Setter_(unwrap_jso(this), value);
@DomName('HTMLInputElement.formMethod')
@DocsEditable()
@@ -22576,7 +19701,7 @@ class InputElement extends HtmlElement implements
@DomName('HTMLInputElement.formMethod')
@DocsEditable()
- set formMethod(String value) => _blink.BlinkHTMLInputElement.instance.formMethod_Setter_(unwrap_jso(this), value);
+ void set formMethod(String value) => _blink.BlinkHTMLInputElement.instance.formMethod_Setter_(unwrap_jso(this), value);
@DomName('HTMLInputElement.formNoValidate')
@DocsEditable()
@@ -22584,7 +19709,7 @@ class InputElement extends HtmlElement implements
@DomName('HTMLInputElement.formNoValidate')
@DocsEditable()
- set formNoValidate(bool value) => _blink.BlinkHTMLInputElement.instance.formNoValidate_Setter_(unwrap_jso(this), value);
+ void set formNoValidate(bool value) => _blink.BlinkHTMLInputElement.instance.formNoValidate_Setter_(unwrap_jso(this), value);
@DomName('HTMLInputElement.formTarget')
@DocsEditable()
@@ -22592,7 +19717,7 @@ class InputElement extends HtmlElement implements
@DomName('HTMLInputElement.formTarget')
@DocsEditable()
- set formTarget(String value) => _blink.BlinkHTMLInputElement.instance.formTarget_Setter_(unwrap_jso(this), value);
+ void set formTarget(String value) => _blink.BlinkHTMLInputElement.instance.formTarget_Setter_(unwrap_jso(this), value);
@DomName('HTMLInputElement.height')
@DocsEditable()
@@ -22600,7 +19725,7 @@ class InputElement extends HtmlElement implements
@DomName('HTMLInputElement.height')
@DocsEditable()
- set height(int value) => _blink.BlinkHTMLInputElement.instance.height_Setter_(unwrap_jso(this), value);
+ void set height(int value) => _blink.BlinkHTMLInputElement.instance.height_Setter_(unwrap_jso(this), value);
@DomName('HTMLInputElement.incremental')
@DocsEditable()
@@ -22612,7 +19737,7 @@ class InputElement extends HtmlElement implements
@DocsEditable()
// http://www.w3.org/TR/html-markup/input.search.html
@Experimental()
- set incremental(bool value) => _blink.BlinkHTMLInputElement.instance.incremental_Setter_(unwrap_jso(this), value);
+ void set incremental(bool value) => _blink.BlinkHTMLInputElement.instance.incremental_Setter_(unwrap_jso(this), value);
@DomName('HTMLInputElement.indeterminate')
@DocsEditable()
@@ -22620,7 +19745,7 @@ class InputElement extends HtmlElement implements
@DomName('HTMLInputElement.indeterminate')
@DocsEditable()
- set indeterminate(bool value) => _blink.BlinkHTMLInputElement.instance.indeterminate_Setter_(unwrap_jso(this), value);
+ void set indeterminate(bool value) => _blink.BlinkHTMLInputElement.instance.indeterminate_Setter_(unwrap_jso(this), value);
@DomName('HTMLInputElement.inputMode')
@DocsEditable()
@@ -22630,11 +19755,11 @@ class InputElement extends HtmlElement implements
@DomName('HTMLInputElement.inputMode')
@DocsEditable()
@Experimental() // untriaged
- set inputMode(String value) => _blink.BlinkHTMLInputElement.instance.inputMode_Setter_(unwrap_jso(this), value);
+ void set inputMode(String value) => _blink.BlinkHTMLInputElement.instance.inputMode_Setter_(unwrap_jso(this), value);
@DomName('HTMLInputElement.labels')
@DocsEditable()
- List<Node> get labels => wrap_jso(_blink.BlinkHTMLInputElement.instance.labels_Getter_(unwrap_jso(this)));
+ List<Node> get labels => wrap_jso_list(_blink.BlinkHTMLInputElement.instance.labels_Getter_(unwrap_jso(this)));
@DomName('HTMLInputElement.list')
@DocsEditable()
@@ -22646,7 +19771,7 @@ class InputElement extends HtmlElement implements
@DomName('HTMLInputElement.max')
@DocsEditable()
- set max(String value) => _blink.BlinkHTMLInputElement.instance.max_Setter_(unwrap_jso(this), value);
+ void set max(String value) => _blink.BlinkHTMLInputElement.instance.max_Setter_(unwrap_jso(this), value);
@DomName('HTMLInputElement.maxLength')
@DocsEditable()
@@ -22654,7 +19779,7 @@ class InputElement extends HtmlElement implements
@DomName('HTMLInputElement.maxLength')
@DocsEditable()
- set maxLength(int value) => _blink.BlinkHTMLInputElement.instance.maxLength_Setter_(unwrap_jso(this), value);
+ void set maxLength(int value) => _blink.BlinkHTMLInputElement.instance.maxLength_Setter_(unwrap_jso(this), value);
@DomName('HTMLInputElement.min')
@DocsEditable()
@@ -22662,7 +19787,7 @@ class InputElement extends HtmlElement implements
@DomName('HTMLInputElement.min')
@DocsEditable()
- set min(String value) => _blink.BlinkHTMLInputElement.instance.min_Setter_(unwrap_jso(this), value);
+ void set min(String value) => _blink.BlinkHTMLInputElement.instance.min_Setter_(unwrap_jso(this), value);
@DomName('HTMLInputElement.multiple')
@DocsEditable()
@@ -22670,7 +19795,7 @@ class InputElement extends HtmlElement implements
@DomName('HTMLInputElement.multiple')
@DocsEditable()
- set multiple(bool value) => _blink.BlinkHTMLInputElement.instance.multiple_Setter_(unwrap_jso(this), value);
+ void set multiple(bool value) => _blink.BlinkHTMLInputElement.instance.multiple_Setter_(unwrap_jso(this), value);
@DomName('HTMLInputElement.name')
@DocsEditable()
@@ -22678,7 +19803,7 @@ class InputElement extends HtmlElement implements
@DomName('HTMLInputElement.name')
@DocsEditable()
- set name(String value) => _blink.BlinkHTMLInputElement.instance.name_Setter_(unwrap_jso(this), value);
+ void set name(String value) => _blink.BlinkHTMLInputElement.instance.name_Setter_(unwrap_jso(this), value);
@DomName('HTMLInputElement.pattern')
@DocsEditable()
@@ -22686,7 +19811,7 @@ class InputElement extends HtmlElement implements
@DomName('HTMLInputElement.pattern')
@DocsEditable()
- set pattern(String value) => _blink.BlinkHTMLInputElement.instance.pattern_Setter_(unwrap_jso(this), value);
+ void set pattern(String value) => _blink.BlinkHTMLInputElement.instance.pattern_Setter_(unwrap_jso(this), value);
@DomName('HTMLInputElement.placeholder')
@DocsEditable()
@@ -22694,7 +19819,7 @@ class InputElement extends HtmlElement implements
@DomName('HTMLInputElement.placeholder')
@DocsEditable()
- set placeholder(String value) => _blink.BlinkHTMLInputElement.instance.placeholder_Setter_(unwrap_jso(this), value);
+ void set placeholder(String value) => _blink.BlinkHTMLInputElement.instance.placeholder_Setter_(unwrap_jso(this), value);
@DomName('HTMLInputElement.readOnly')
@DocsEditable()
@@ -22702,7 +19827,7 @@ class InputElement extends HtmlElement implements
@DomName('HTMLInputElement.readOnly')
@DocsEditable()
- set readOnly(bool value) => _blink.BlinkHTMLInputElement.instance.readOnly_Setter_(unwrap_jso(this), value);
+ void set readOnly(bool value) => _blink.BlinkHTMLInputElement.instance.readOnly_Setter_(unwrap_jso(this), value);
@DomName('HTMLInputElement.required')
@DocsEditable()
@@ -22710,7 +19835,7 @@ class InputElement extends HtmlElement implements
@DomName('HTMLInputElement.required')
@DocsEditable()
- set required(bool value) => _blink.BlinkHTMLInputElement.instance.required_Setter_(unwrap_jso(this), value);
+ void set required(bool value) => _blink.BlinkHTMLInputElement.instance.required_Setter_(unwrap_jso(this), value);
@DomName('HTMLInputElement.selectionDirection')
@DocsEditable()
@@ -22718,7 +19843,7 @@ class InputElement extends HtmlElement implements
@DomName('HTMLInputElement.selectionDirection')
@DocsEditable()
- set selectionDirection(String value) => _blink.BlinkHTMLInputElement.instance.selectionDirection_Setter_(unwrap_jso(this), value);
+ void set selectionDirection(String value) => _blink.BlinkHTMLInputElement.instance.selectionDirection_Setter_(unwrap_jso(this), value);
@DomName('HTMLInputElement.selectionEnd')
@DocsEditable()
@@ -22726,7 +19851,7 @@ class InputElement extends HtmlElement implements
@DomName('HTMLInputElement.selectionEnd')
@DocsEditable()
- set selectionEnd(int value) => _blink.BlinkHTMLInputElement.instance.selectionEnd_Setter_(unwrap_jso(this), value);
+ void set selectionEnd(int value) => _blink.BlinkHTMLInputElement.instance.selectionEnd_Setter_(unwrap_jso(this), value);
@DomName('HTMLInputElement.selectionStart')
@DocsEditable()
@@ -22734,7 +19859,7 @@ class InputElement extends HtmlElement implements
@DomName('HTMLInputElement.selectionStart')
@DocsEditable()
- set selectionStart(int value) => _blink.BlinkHTMLInputElement.instance.selectionStart_Setter_(unwrap_jso(this), value);
+ void set selectionStart(int value) => _blink.BlinkHTMLInputElement.instance.selectionStart_Setter_(unwrap_jso(this), value);
@DomName('HTMLInputElement.size')
@DocsEditable()
@@ -22742,7 +19867,7 @@ class InputElement extends HtmlElement implements
@DomName('HTMLInputElement.size')
@DocsEditable()
- set size(int value) => _blink.BlinkHTMLInputElement.instance.size_Setter_(unwrap_jso(this), value);
+ void set size(int value) => _blink.BlinkHTMLInputElement.instance.size_Setter_(unwrap_jso(this), value);
@DomName('HTMLInputElement.src')
@DocsEditable()
@@ -22750,7 +19875,7 @@ class InputElement extends HtmlElement implements
@DomName('HTMLInputElement.src')
@DocsEditable()
- set src(String value) => _blink.BlinkHTMLInputElement.instance.src_Setter_(unwrap_jso(this), value);
+ void set src(String value) => _blink.BlinkHTMLInputElement.instance.src_Setter_(unwrap_jso(this), value);
@DomName('HTMLInputElement.step')
@DocsEditable()
@@ -22758,7 +19883,7 @@ class InputElement extends HtmlElement implements
@DomName('HTMLInputElement.step')
@DocsEditable()
- set step(String value) => _blink.BlinkHTMLInputElement.instance.step_Setter_(unwrap_jso(this), value);
+ void set step(String value) => _blink.BlinkHTMLInputElement.instance.step_Setter_(unwrap_jso(this), value);
@DomName('HTMLInputElement.type')
@DocsEditable()
@@ -22766,7 +19891,7 @@ class InputElement extends HtmlElement implements
@DomName('HTMLInputElement.type')
@DocsEditable()
- set type(String value) => _blink.BlinkHTMLInputElement.instance.type_Setter_(unwrap_jso(this), value);
+ void set type(String value) => _blink.BlinkHTMLInputElement.instance.type_Setter_(unwrap_jso(this), value);
@DomName('HTMLInputElement.validationMessage')
@DocsEditable()
@@ -22782,7 +19907,7 @@ class InputElement extends HtmlElement implements
@DomName('HTMLInputElement.value')
@DocsEditable()
- set value(String value) => _blink.BlinkHTMLInputElement.instance.value_Setter_(unwrap_jso(this), value);
+ void set value(String value) => _blink.BlinkHTMLInputElement.instance.value_Setter_(unwrap_jso(this), value);
@DomName('HTMLInputElement.valueAsDate')
@DocsEditable()
@@ -22790,7 +19915,7 @@ class InputElement extends HtmlElement implements
@DomName('HTMLInputElement.valueAsDate')
@DocsEditable()
- set valueAsDate(DateTime value) => _blink.BlinkHTMLInputElement.instance.valueAsDate_Setter_(unwrap_jso(this), value);
+ void set valueAsDate(DateTime value) => _blink.BlinkHTMLInputElement.instance.valueAsDate_Setter_(unwrap_jso(this), value);
@DomName('HTMLInputElement.valueAsNumber')
@DocsEditable()
@@ -22798,7 +19923,7 @@ class InputElement extends HtmlElement implements
@DomName('HTMLInputElement.valueAsNumber')
@DocsEditable()
- set valueAsNumber(num value) => _blink.BlinkHTMLInputElement.instance.valueAsNumber_Setter_(unwrap_jso(this), value);
+ void set valueAsNumber(num value) => _blink.BlinkHTMLInputElement.instance.valueAsNumber_Setter_(unwrap_jso(this), value);
@DomName('HTMLInputElement.webkitEntries')
@DocsEditable()
@@ -22822,7 +19947,7 @@ class InputElement extends HtmlElement implements
@SupportedBrowser(SupportedBrowser.SAFARI)
@Experimental()
// https://plus.sandbox.google.com/+AddyOsmani/posts/Dk5UhZ6zfF3
- set directory(bool value) => _blink.BlinkHTMLInputElement.instance.webkitdirectory_Setter_(unwrap_jso(this), value);
+ void set directory(bool value) => _blink.BlinkHTMLInputElement.instance.webkitdirectory_Setter_(unwrap_jso(this), value);
@DomName('HTMLInputElement.width')
@DocsEditable()
@@ -22830,7 +19955,7 @@ class InputElement extends HtmlElement implements
@DomName('HTMLInputElement.width')
@DocsEditable()
- set width(int value) => _blink.BlinkHTMLInputElement.instance.width_Setter_(unwrap_jso(this), value);
+ void set width(int value) => _blink.BlinkHTMLInputElement.instance.width_Setter_(unwrap_jso(this), value);
@DomName('HTMLInputElement.willValidate')
@DocsEditable()
@@ -23462,18 +20587,6 @@ 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
@@ -23512,22 +20625,10 @@ 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
- Future reloadAll() => wrap_jso(_blink.BlinkInstallEvent.instance.reloadAll_Callback_0_(unwrap_jso(this)));
+ Future reloadAll() => _blink.BlinkInstallEvent.instance.reloadAll_Callback_0_(unwrap_jso(this));
@DomName('InstallEvent.replace')
@DocsEditable()
@@ -23564,18 +20665,6 @@ 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
@@ -23662,18 +20751,6 @@ 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.
*
@@ -23690,7 +20767,7 @@ class KeygenElement extends HtmlElement {
@DomName('HTMLKeygenElement.autofocus')
@DocsEditable()
- set autofocus(bool value) => _blink.BlinkHTMLKeygenElement.instance.autofocus_Setter_(unwrap_jso(this), value);
+ void set autofocus(bool value) => _blink.BlinkHTMLKeygenElement.instance.autofocus_Setter_(unwrap_jso(this), value);
@DomName('HTMLKeygenElement.challenge')
@DocsEditable()
@@ -23698,7 +20775,7 @@ class KeygenElement extends HtmlElement {
@DomName('HTMLKeygenElement.challenge')
@DocsEditable()
- set challenge(String value) => _blink.BlinkHTMLKeygenElement.instance.challenge_Setter_(unwrap_jso(this), value);
+ void set challenge(String value) => _blink.BlinkHTMLKeygenElement.instance.challenge_Setter_(unwrap_jso(this), value);
@DomName('HTMLKeygenElement.disabled')
@DocsEditable()
@@ -23706,7 +20783,7 @@ class KeygenElement extends HtmlElement {
@DomName('HTMLKeygenElement.disabled')
@DocsEditable()
- set disabled(bool value) => _blink.BlinkHTMLKeygenElement.instance.disabled_Setter_(unwrap_jso(this), value);
+ void set disabled(bool value) => _blink.BlinkHTMLKeygenElement.instance.disabled_Setter_(unwrap_jso(this), value);
@DomName('HTMLKeygenElement.form')
@DocsEditable()
@@ -23718,12 +20795,12 @@ class KeygenElement extends HtmlElement {
@DomName('HTMLKeygenElement.keytype')
@DocsEditable()
- set keytype(String value) => _blink.BlinkHTMLKeygenElement.instance.keytype_Setter_(unwrap_jso(this), value);
+ void set keytype(String value) => _blink.BlinkHTMLKeygenElement.instance.keytype_Setter_(unwrap_jso(this), value);
@DomName('HTMLKeygenElement.labels')
@DocsEditable()
@Unstable()
- List<Node> get labels => wrap_jso(_blink.BlinkHTMLKeygenElement.instance.labels_Getter_(unwrap_jso(this)));
+ List<Node> get labels => wrap_jso_list(_blink.BlinkHTMLKeygenElement.instance.labels_Getter_(unwrap_jso(this)));
@DomName('HTMLKeygenElement.name')
@DocsEditable()
@@ -23731,7 +20808,7 @@ class KeygenElement extends HtmlElement {
@DomName('HTMLKeygenElement.name')
@DocsEditable()
- set name(String value) => _blink.BlinkHTMLKeygenElement.instance.name_Setter_(unwrap_jso(this), value);
+ void set name(String value) => _blink.BlinkHTMLKeygenElement.instance.name_Setter_(unwrap_jso(this), value);
@DomName('HTMLKeygenElement.type')
@DocsEditable()
@@ -23774,18 +20851,6 @@ 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.
*
@@ -23799,7 +20864,7 @@ class LIElement extends HtmlElement {
@DomName('HTMLLIElement.value')
@DocsEditable()
- set value(int value) => _blink.BlinkHTMLLIElement.instance.value_Setter_(unwrap_jso(this), value);
+ void set value(int value) => _blink.BlinkHTMLLIElement.instance.value_Setter_(unwrap_jso(this), value);
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -23818,18 +20883,6 @@ 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.
*
@@ -23851,7 +20904,7 @@ class LabelElement extends HtmlElement {
@DomName('HTMLLabelElement.htmlFor')
@DocsEditable()
- set htmlFor(String value) => _blink.BlinkHTMLLabelElement.instance.htmlFor_Setter_(unwrap_jso(this), value);
+ void set htmlFor(String value) => _blink.BlinkHTMLLabelElement.instance.htmlFor_Setter_(unwrap_jso(this), value);
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -23870,18 +20923,6 @@ 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.
*
@@ -23908,18 +20949,6 @@ 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.
*
@@ -23935,7 +20964,7 @@ class LinkElement extends HtmlElement {
@DomName('HTMLLinkElement.crossOrigin')
@DocsEditable()
@Experimental() // untriaged
- set crossOrigin(String value) => _blink.BlinkHTMLLinkElement.instance.crossOrigin_Setter_(unwrap_jso(this), value);
+ void set crossOrigin(String value) => _blink.BlinkHTMLLinkElement.instance.crossOrigin_Setter_(unwrap_jso(this), value);
@DomName('HTMLLinkElement.disabled')
@DocsEditable()
@@ -23943,7 +20972,7 @@ class LinkElement extends HtmlElement {
@DomName('HTMLLinkElement.disabled')
@DocsEditable()
- set disabled(bool value) => _blink.BlinkHTMLLinkElement.instance.disabled_Setter_(unwrap_jso(this), value);
+ void set disabled(bool value) => _blink.BlinkHTMLLinkElement.instance.disabled_Setter_(unwrap_jso(this), value);
@DomName('HTMLLinkElement.href')
@DocsEditable()
@@ -23951,7 +20980,7 @@ class LinkElement extends HtmlElement {
@DomName('HTMLLinkElement.href')
@DocsEditable()
- set href(String value) => _blink.BlinkHTMLLinkElement.instance.href_Setter_(unwrap_jso(this), value);
+ void set href(String value) => _blink.BlinkHTMLLinkElement.instance.href_Setter_(unwrap_jso(this), value);
@DomName('HTMLLinkElement.hreflang')
@DocsEditable()
@@ -23959,7 +20988,7 @@ class LinkElement extends HtmlElement {
@DomName('HTMLLinkElement.hreflang')
@DocsEditable()
- set hreflang(String value) => _blink.BlinkHTMLLinkElement.instance.hreflang_Setter_(unwrap_jso(this), value);
+ void set hreflang(String value) => _blink.BlinkHTMLLinkElement.instance.hreflang_Setter_(unwrap_jso(this), value);
@DomName('HTMLLinkElement.import')
@DocsEditable()
@@ -23975,7 +21004,7 @@ class LinkElement extends HtmlElement {
@DomName('HTMLLinkElement.integrity')
@DocsEditable()
@Experimental() // untriaged
- set integrity(String value) => _blink.BlinkHTMLLinkElement.instance.integrity_Setter_(unwrap_jso(this), value);
+ void set integrity(String value) => _blink.BlinkHTMLLinkElement.instance.integrity_Setter_(unwrap_jso(this), value);
@DomName('HTMLLinkElement.media')
@DocsEditable()
@@ -23983,7 +21012,7 @@ class LinkElement extends HtmlElement {
@DomName('HTMLLinkElement.media')
@DocsEditable()
- set media(String value) => _blink.BlinkHTMLLinkElement.instance.media_Setter_(unwrap_jso(this), value);
+ void set media(String value) => _blink.BlinkHTMLLinkElement.instance.media_Setter_(unwrap_jso(this), value);
@DomName('HTMLLinkElement.rel')
@DocsEditable()
@@ -23991,7 +21020,7 @@ class LinkElement extends HtmlElement {
@DomName('HTMLLinkElement.rel')
@DocsEditable()
- set rel(String value) => _blink.BlinkHTMLLinkElement.instance.rel_Setter_(unwrap_jso(this), value);
+ void set rel(String value) => _blink.BlinkHTMLLinkElement.instance.rel_Setter_(unwrap_jso(this), value);
@DomName('HTMLLinkElement.sheet')
@DocsEditable()
@@ -24007,7 +21036,7 @@ class LinkElement extends HtmlElement {
@DomName('HTMLLinkElement.type')
@DocsEditable()
- set type(String value) => _blink.BlinkHTMLLinkElement.instance.type_Setter_(unwrap_jso(this), value);
+ void set type(String value) => _blink.BlinkHTMLLinkElement.instance.type_Setter_(unwrap_jso(this), value);
/// Checks if HTML imports are supported on the current platform.
@@ -24032,21 +21061,9 @@ class LocalCredential extends Credential {
@DomName('LocalCredential.LocalCredential')
@DocsEditable()
factory LocalCredential(String id, String name, String avatarURL, String password) {
- return wrap_jso(_blink.BlinkLocalCredential.instance.constructorCallback_4_(id, name, avatarURL, password));
- }
-
-
- static LocalCredential internalCreateLocalCredential() {
- return new LocalCredential._internalWrap();
- }
-
- factory LocalCredential._internalWrap() {
- return new LocalCredential.internal_();
+ return _blink.BlinkLocalCredential.instance.constructorCallback_4_(id, name, avatarURL, password);
}
- LocalCredential.internal_() : super.internal_();
-
-
@DomName('LocalCredential.password')
@DocsEditable()
@Experimental() // untriaged
@@ -24064,21 +21081,6 @@ 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();
- }
-
- js.JsObject blink_jsObject;
-
- factory Location._internalWrap() {
- return new Location.internal_();
- }
-
- Location.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('Location.ancestorOrigins')
@DocsEditable()
@Experimental() // nonstandard
@@ -24090,7 +21092,7 @@ class Location extends NativeFieldWrapperClass2 implements LocationBase {
@DomName('Location.hash')
@DocsEditable()
- set hash(String value) => _blink.BlinkLocation.instance.hash_Setter_(unwrap_jso(this), value);
+ void set hash(String value) => _blink.BlinkLocation.instance.hash_Setter_(unwrap_jso(this), value);
@DomName('Location.host')
@DocsEditable()
@@ -24098,7 +21100,7 @@ class Location extends NativeFieldWrapperClass2 implements LocationBase {
@DomName('Location.host')
@DocsEditable()
- set host(String value) => _blink.BlinkLocation.instance.host_Setter_(unwrap_jso(this), value);
+ void set host(String value) => _blink.BlinkLocation.instance.host_Setter_(unwrap_jso(this), value);
@DomName('Location.hostname')
@DocsEditable()
@@ -24106,7 +21108,7 @@ class Location extends NativeFieldWrapperClass2 implements LocationBase {
@DomName('Location.hostname')
@DocsEditable()
- set hostname(String value) => _blink.BlinkLocation.instance.hostname_Setter_(unwrap_jso(this), value);
+ void set hostname(String value) => _blink.BlinkLocation.instance.hostname_Setter_(unwrap_jso(this), value);
@DomName('Location.href')
@DocsEditable()
@@ -24114,7 +21116,7 @@ class Location extends NativeFieldWrapperClass2 implements LocationBase {
@DomName('Location.href')
@DocsEditable()
- set href(String value) => _blink.BlinkLocation.instance.href_Setter_(unwrap_jso(this), value);
+ void set href(String value) => _blink.BlinkLocation.instance.href_Setter_(unwrap_jso(this), value);
@DomName('Location.origin')
@DocsEditable()
@@ -24128,7 +21130,7 @@ class Location extends NativeFieldWrapperClass2 implements LocationBase {
@DomName('Location.pathname')
@DocsEditable()
- set pathname(String value) => _blink.BlinkLocation.instance.pathname_Setter_(unwrap_jso(this), value);
+ void set pathname(String value) => _blink.BlinkLocation.instance.pathname_Setter_(unwrap_jso(this), value);
@DomName('Location.port')
@DocsEditable()
@@ -24136,7 +21138,7 @@ class Location extends NativeFieldWrapperClass2 implements LocationBase {
@DomName('Location.port')
@DocsEditable()
- set port(String value) => _blink.BlinkLocation.instance.port_Setter_(unwrap_jso(this), value);
+ void set port(String value) => _blink.BlinkLocation.instance.port_Setter_(unwrap_jso(this), value);
@DomName('Location.protocol')
@DocsEditable()
@@ -24144,7 +21146,7 @@ class Location extends NativeFieldWrapperClass2 implements LocationBase {
@DomName('Location.protocol')
@DocsEditable()
- set protocol(String value) => _blink.BlinkLocation.instance.protocol_Setter_(unwrap_jso(this), value);
+ void set protocol(String value) => _blink.BlinkLocation.instance.protocol_Setter_(unwrap_jso(this), value);
@DomName('Location.search')
@DocsEditable()
@@ -24152,7 +21154,7 @@ class Location extends NativeFieldWrapperClass2 implements LocationBase {
@DomName('Location.search')
@DocsEditable()
- set search(String value) => _blink.BlinkLocation.instance.search_Setter_(unwrap_jso(this), value);
+ void set search(String value) => _blink.BlinkLocation.instance.search_Setter_(unwrap_jso(this), value);
@DomName('Location.assign')
@DocsEditable()
@@ -24210,18 +21212,6 @@ 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.
*
@@ -24231,7 +21221,7 @@ class MapElement extends HtmlElement {
@DomName('HTMLMapElement.areas')
@DocsEditable()
- List<Node> get areas => wrap_jso(_blink.BlinkHTMLMapElement.instance.areas_Getter_(unwrap_jso(this)));
+ List<Node> get areas => wrap_jso_list(_blink.BlinkHTMLMapElement.instance.areas_Getter_(unwrap_jso(this)));
@DomName('HTMLMapElement.name')
@DocsEditable()
@@ -24239,7 +21229,7 @@ class MapElement extends HtmlElement {
@DomName('HTMLMapElement.name')
@DocsEditable()
- set name(String value) => _blink.BlinkHTMLMapElement.instance.name_Setter_(unwrap_jso(this), value);
+ void set name(String value) => _blink.BlinkHTMLMapElement.instance.name_Setter_(unwrap_jso(this), value);
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -24260,21 +21250,9 @@ class MediaController extends EventTarget {
@DomName('MediaController.MediaController')
@DocsEditable()
factory MediaController() {
- return wrap_jso(_blink.BlinkMediaController.instance.constructorCallback_0_());
- }
-
-
- static MediaController internalCreateMediaController() {
- return new MediaController._internalWrap();
- }
-
- factory MediaController._internalWrap() {
- return new MediaController.internal_();
+ return _blink.BlinkMediaController.instance.constructorCallback_0_();
}
- MediaController.internal_() : super.internal_();
-
-
@DomName('MediaController.buffered')
@DocsEditable()
TimeRanges get buffered => wrap_jso(_blink.BlinkMediaController.instance.buffered_Getter_(unwrap_jso(this)));
@@ -24285,7 +21263,7 @@ class MediaController extends EventTarget {
@DomName('MediaController.currentTime')
@DocsEditable()
- set currentTime(num value) => _blink.BlinkMediaController.instance.currentTime_Setter_(unwrap_jso(this), value);
+ void set currentTime(num value) => _blink.BlinkMediaController.instance.currentTime_Setter_(unwrap_jso(this), value);
@DomName('MediaController.defaultPlaybackRate')
@DocsEditable()
@@ -24293,11 +21271,11 @@ class MediaController extends EventTarget {
@DomName('MediaController.defaultPlaybackRate')
@DocsEditable()
- set defaultPlaybackRate(num value) => _blink.BlinkMediaController.instance.defaultPlaybackRate_Setter_(unwrap_jso(this), value);
+ void set defaultPlaybackRate(num value) => _blink.BlinkMediaController.instance.defaultPlaybackRate_Setter_(unwrap_jso(this), value);
@DomName('MediaController.duration')
@DocsEditable()
- num get duration => _blink.BlinkMediaController.instance.duration_Getter_(unwrap_jso(this));
+ double get duration => _blink.BlinkMediaController.instance.duration_Getter_(unwrap_jso(this));
@DomName('MediaController.muted')
@DocsEditable()
@@ -24305,7 +21283,7 @@ class MediaController extends EventTarget {
@DomName('MediaController.muted')
@DocsEditable()
- set muted(bool value) => _blink.BlinkMediaController.instance.muted_Setter_(unwrap_jso(this), value);
+ void set muted(bool value) => _blink.BlinkMediaController.instance.muted_Setter_(unwrap_jso(this), value);
@DomName('MediaController.paused')
@DocsEditable()
@@ -24317,7 +21295,7 @@ class MediaController extends EventTarget {
@DomName('MediaController.playbackRate')
@DocsEditable()
- set playbackRate(num value) => _blink.BlinkMediaController.instance.playbackRate_Setter_(unwrap_jso(this), value);
+ void set playbackRate(num value) => _blink.BlinkMediaController.instance.playbackRate_Setter_(unwrap_jso(this), value);
@DomName('MediaController.playbackState')
@DocsEditable()
@@ -24337,7 +21315,7 @@ class MediaController extends EventTarget {
@DomName('MediaController.volume')
@DocsEditable()
- set volume(num value) => _blink.BlinkMediaController.instance.volume_Setter_(unwrap_jso(this), value);
+ void set volume(num value) => _blink.BlinkMediaController.instance.volume_Setter_(unwrap_jso(this), value);
@DomName('MediaController.pause')
@DocsEditable()
@@ -24366,21 +21344,6 @@ class MediaDeviceInfo extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory MediaDeviceInfo._() { throw new UnsupportedError("Not supported"); }
- static MediaDeviceInfo internalCreateMediaDeviceInfo() {
- return new MediaDeviceInfo._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory MediaDeviceInfo._internalWrap() {
- return new MediaDeviceInfo.internal_();
- }
-
- MediaDeviceInfo.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('MediaDeviceInfo.deviceId')
@DocsEditable()
@Experimental() // untriaged
@@ -24481,18 +21444,6 @@ 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.
*
@@ -24547,7 +21498,7 @@ class MediaElement extends HtmlElement {
@DomName('HTMLMediaElement.autoplay')
@DocsEditable()
- set autoplay(bool value) => _blink.BlinkHTMLMediaElement.instance.autoplay_Setter_(unwrap_jso(this), value);
+ void set autoplay(bool value) => _blink.BlinkHTMLMediaElement.instance.autoplay_Setter_(unwrap_jso(this), value);
@DomName('HTMLMediaElement.buffered')
@DocsEditable()
@@ -24559,7 +21510,7 @@ class MediaElement extends HtmlElement {
@DomName('HTMLMediaElement.controller')
@DocsEditable()
- set controller(MediaController value) => _blink.BlinkHTMLMediaElement.instance.controller_Setter_(unwrap_jso(this), unwrap_jso(value));
+ void set controller(MediaController value) => _blink.BlinkHTMLMediaElement.instance.controller_Setter_(unwrap_jso(this), unwrap_jso(value));
@DomName('HTMLMediaElement.controls')
@DocsEditable()
@@ -24567,7 +21518,7 @@ class MediaElement extends HtmlElement {
@DomName('HTMLMediaElement.controls')
@DocsEditable()
- set controls(bool value) => _blink.BlinkHTMLMediaElement.instance.controls_Setter_(unwrap_jso(this), value);
+ void set controls(bool value) => _blink.BlinkHTMLMediaElement.instance.controls_Setter_(unwrap_jso(this), value);
@DomName('HTMLMediaElement.crossOrigin')
@DocsEditable()
@@ -24577,7 +21528,7 @@ class MediaElement extends HtmlElement {
@DomName('HTMLMediaElement.crossOrigin')
@DocsEditable()
@Experimental() // untriaged
- set crossOrigin(String value) => _blink.BlinkHTMLMediaElement.instance.crossOrigin_Setter_(unwrap_jso(this), value);
+ void set crossOrigin(String value) => _blink.BlinkHTMLMediaElement.instance.crossOrigin_Setter_(unwrap_jso(this), value);
@DomName('HTMLMediaElement.currentSrc')
@DocsEditable()
@@ -24589,7 +21540,7 @@ class MediaElement extends HtmlElement {
@DomName('HTMLMediaElement.currentTime')
@DocsEditable()
- set currentTime(num value) => _blink.BlinkHTMLMediaElement.instance.currentTime_Setter_(unwrap_jso(this), value);
+ void set currentTime(num value) => _blink.BlinkHTMLMediaElement.instance.currentTime_Setter_(unwrap_jso(this), value);
@DomName('HTMLMediaElement.defaultMuted')
@DocsEditable()
@@ -24597,7 +21548,7 @@ class MediaElement extends HtmlElement {
@DomName('HTMLMediaElement.defaultMuted')
@DocsEditable()
- set defaultMuted(bool value) => _blink.BlinkHTMLMediaElement.instance.defaultMuted_Setter_(unwrap_jso(this), value);
+ void set defaultMuted(bool value) => _blink.BlinkHTMLMediaElement.instance.defaultMuted_Setter_(unwrap_jso(this), value);
@DomName('HTMLMediaElement.defaultPlaybackRate')
@DocsEditable()
@@ -24605,11 +21556,11 @@ class MediaElement extends HtmlElement {
@DomName('HTMLMediaElement.defaultPlaybackRate')
@DocsEditable()
- set defaultPlaybackRate(num value) => _blink.BlinkHTMLMediaElement.instance.defaultPlaybackRate_Setter_(unwrap_jso(this), value);
+ void set defaultPlaybackRate(num value) => _blink.BlinkHTMLMediaElement.instance.defaultPlaybackRate_Setter_(unwrap_jso(this), value);
@DomName('HTMLMediaElement.duration')
@DocsEditable()
- num get duration => _blink.BlinkHTMLMediaElement.instance.duration_Getter_(unwrap_jso(this));
+ double get duration => _blink.BlinkHTMLMediaElement.instance.duration_Getter_(unwrap_jso(this));
@DomName('HTMLMediaElement.ended')
@DocsEditable()
@@ -24627,7 +21578,7 @@ class MediaElement extends HtmlElement {
@DomName('HTMLMediaElement.integrity')
@DocsEditable()
@Experimental() // untriaged
- set integrity(String value) => _blink.BlinkHTMLMediaElement.instance.integrity_Setter_(unwrap_jso(this), value);
+ void set integrity(String value) => _blink.BlinkHTMLMediaElement.instance.integrity_Setter_(unwrap_jso(this), value);
@DomName('HTMLMediaElement.loop')
@DocsEditable()
@@ -24635,7 +21586,7 @@ class MediaElement extends HtmlElement {
@DomName('HTMLMediaElement.loop')
@DocsEditable()
- set loop(bool value) => _blink.BlinkHTMLMediaElement.instance.loop_Setter_(unwrap_jso(this), value);
+ void set loop(bool value) => _blink.BlinkHTMLMediaElement.instance.loop_Setter_(unwrap_jso(this), value);
@DomName('HTMLMediaElement.mediaGroup')
@DocsEditable()
@@ -24643,7 +21594,7 @@ class MediaElement extends HtmlElement {
@DomName('HTMLMediaElement.mediaGroup')
@DocsEditable()
- set mediaGroup(String value) => _blink.BlinkHTMLMediaElement.instance.mediaGroup_Setter_(unwrap_jso(this), value);
+ void set mediaGroup(String value) => _blink.BlinkHTMLMediaElement.instance.mediaGroup_Setter_(unwrap_jso(this), value);
@DomName('HTMLMediaElement.mediaKeys')
@DocsEditable()
@@ -24657,7 +21608,7 @@ class MediaElement extends HtmlElement {
@DomName('HTMLMediaElement.muted')
@DocsEditable()
- set muted(bool value) => _blink.BlinkHTMLMediaElement.instance.muted_Setter_(unwrap_jso(this), value);
+ void set muted(bool value) => _blink.BlinkHTMLMediaElement.instance.muted_Setter_(unwrap_jso(this), value);
@DomName('HTMLMediaElement.networkState')
@DocsEditable()
@@ -24673,7 +21624,7 @@ class MediaElement extends HtmlElement {
@DomName('HTMLMediaElement.playbackRate')
@DocsEditable()
- set playbackRate(num value) => _blink.BlinkHTMLMediaElement.instance.playbackRate_Setter_(unwrap_jso(this), value);
+ void set playbackRate(num value) => _blink.BlinkHTMLMediaElement.instance.playbackRate_Setter_(unwrap_jso(this), value);
@DomName('HTMLMediaElement.played')
@DocsEditable()
@@ -24685,7 +21636,7 @@ class MediaElement extends HtmlElement {
@DomName('HTMLMediaElement.preload')
@DocsEditable()
- set preload(String value) => _blink.BlinkHTMLMediaElement.instance.preload_Setter_(unwrap_jso(this), value);
+ void set preload(String value) => _blink.BlinkHTMLMediaElement.instance.preload_Setter_(unwrap_jso(this), value);
@DomName('HTMLMediaElement.readyState')
@DocsEditable()
@@ -24705,7 +21656,7 @@ class MediaElement extends HtmlElement {
@DomName('HTMLMediaElement.src')
@DocsEditable()
- set src(String value) => _blink.BlinkHTMLMediaElement.instance.src_Setter_(unwrap_jso(this), value);
+ void set src(String value) => _blink.BlinkHTMLMediaElement.instance.src_Setter_(unwrap_jso(this), value);
@DomName('HTMLMediaElement.textTracks')
@DocsEditable()
@@ -24724,7 +21675,7 @@ class MediaElement extends HtmlElement {
@DomName('HTMLMediaElement.volume')
@DocsEditable()
- set volume(num value) => _blink.BlinkHTMLMediaElement.instance.volume_Setter_(unwrap_jso(this), value);
+ void set volume(num value) => _blink.BlinkHTMLMediaElement.instance.volume_Setter_(unwrap_jso(this), value);
@DomName('HTMLMediaElement.webkitAudioDecodedByteCount')
@DocsEditable()
@@ -24774,7 +21725,7 @@ class MediaElement extends HtmlElement {
@DomName('HTMLMediaElement.setMediaKeys')
@DocsEditable()
@Experimental() // untriaged
- Future setMediaKeys(MediaKeys mediaKeys) => wrap_jso(_blink.BlinkHTMLMediaElement.instance.setMediaKeys_Callback_1_(unwrap_jso(this), unwrap_jso(mediaKeys)));
+ Future setMediaKeys(MediaKeys mediaKeys) => _blink.BlinkHTMLMediaElement.instance.setMediaKeys_Callback_1_(unwrap_jso(this), unwrap_jso(mediaKeys));
void addKey(String keySystem, Uint8List key, [Uint8List initData, String sessionId]) {
if (initData != null) {
@@ -24845,21 +21796,6 @@ class MediaError extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory MediaError._() { throw new UnsupportedError("Not supported"); }
- static MediaError internalCreateMediaError() {
- return new MediaError._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory MediaError._internalWrap() {
- return new MediaError.internal_();
- }
-
- MediaError.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('MediaError.MEDIA_ERR_ABORTED')
@DocsEditable()
static const int MEDIA_ERR_ABORTED = 1;
@@ -24902,21 +21838,6 @@ class MediaKeyError extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory MediaKeyError._() { throw new UnsupportedError("Not supported"); }
- static MediaKeyError internalCreateMediaKeyError() {
- return new MediaKeyError._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory MediaKeyError._internalWrap() {
- return new MediaKeyError.internal_();
- }
-
- MediaKeyError.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('MediaKeyError.MEDIA_KEYERR_CLIENT')
@DocsEditable()
static const int MEDIA_KEYERR_CLIENT = 2;
@@ -24966,18 +21887,6 @@ 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));
@@ -24988,7 +21897,7 @@ class MediaKeyEvent extends Event {
@DomName('MediaKeyEvent.initData')
@DocsEditable()
- Uint8List get initData => _blink.BlinkMediaKeyEvent.instance.initData_Getter_(unwrap_jso(this));
+ Uint8List get initData => wrap_jso(_blink.BlinkMediaKeyEvent.instance.initData_Getter_(unwrap_jso(this)));
@DomName('MediaKeyEvent.keySystem')
@DocsEditable()
@@ -24996,7 +21905,7 @@ class MediaKeyEvent extends Event {
@DomName('MediaKeyEvent.message')
@DocsEditable()
- Uint8List get message => _blink.BlinkMediaKeyEvent.instance.message_Getter_(unwrap_jso(this));
+ Uint8List get message => wrap_jso(_blink.BlinkMediaKeyEvent.instance.message_Getter_(unwrap_jso(this)));
@DomName('MediaKeyEvent.sessionId')
@DocsEditable()
@@ -25022,25 +21931,13 @@ 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));
@DomName('MediaKeyMessageEvent.message')
@DocsEditable()
- ByteBuffer get message => _blink.BlinkMediaKeyMessageEvent.instance.message_Getter_(unwrap_jso(this));
+ ByteBuffer get message => wrap_jso(_blink.BlinkMediaKeyMessageEvent.instance.message_Getter_(unwrap_jso(this)));
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -25058,18 +21955,6 @@ 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
@@ -25077,7 +21962,7 @@ class MediaKeyNeededEvent extends Event {
@DomName('MediaKeyNeededEvent.initData')
@DocsEditable()
- Uint8List get initData => _blink.BlinkMediaKeyNeededEvent.instance.initData_Getter_(unwrap_jso(this));
+ Uint8List get initData => wrap_jso(_blink.BlinkMediaKeyNeededEvent.instance.initData_Getter_(unwrap_jso(this)));
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -25095,22 +21980,10 @@ 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
- Future get closed => wrap_jso(_blink.BlinkMediaKeySession.instance.closed_Getter_(unwrap_jso(this)));
+ Future get closed => _blink.BlinkMediaKeySession.instance.closed_Getter_(unwrap_jso(this));
@DomName('MediaKeySession.error')
@DocsEditable()
@@ -25126,10 +21999,10 @@ class MediaKeySession extends EventTarget {
Future generateRequest(String initDataType, initData) {
if ((initData is TypedData) && (initDataType is String)) {
- return wrap_jso(_blink.BlinkMediaKeySession.instance.generateRequest_Callback_2_(unwrap_jso(this), initDataType, unwrap_jso(initData)));
+ return _blink.BlinkMediaKeySession.instance.generateRequest_Callback_2_(unwrap_jso(this), initDataType, unwrap_jso(initData));
}
if ((initData is ByteBuffer) && (initDataType is String)) {
- return wrap_jso(_blink.BlinkMediaKeySession.instance.generateRequest_Callback_2_(unwrap_jso(this), initDataType, unwrap_jso(initData)));
+ return _blink.BlinkMediaKeySession.instance.generateRequest_Callback_2_(unwrap_jso(this), initDataType, unwrap_jso(initData));
}
throw new ArgumentError("Incorrect number or type of arguments");
}
@@ -25137,14 +22010,14 @@ class MediaKeySession extends EventTarget {
@DomName('MediaKeySession.release')
@DocsEditable()
@Experimental() // untriaged
- Future release() => wrap_jso(_blink.BlinkMediaKeySession.instance.release_Callback_0_(unwrap_jso(this)));
+ Future release() => _blink.BlinkMediaKeySession.instance.release_Callback_0_(unwrap_jso(this));
Future _update(response) {
if ((response is TypedData)) {
- return wrap_jso(_blink.BlinkMediaKeySession.instance.update_Callback_1_(unwrap_jso(this), unwrap_jso(response)));
+ return _blink.BlinkMediaKeySession.instance.update_Callback_1_(unwrap_jso(this), unwrap_jso(response));
}
if ((response is ByteBuffer)) {
- return wrap_jso(_blink.BlinkMediaKeySession.instance.update_Callback_1_(unwrap_jso(this), unwrap_jso(response)));
+ return _blink.BlinkMediaKeySession.instance.update_Callback_1_(unwrap_jso(this), unwrap_jso(response));
}
throw new ArgumentError("Incorrect number or type of arguments");
}
@@ -25165,21 +22038,6 @@ class MediaKeys extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory MediaKeys._() { throw new UnsupportedError("Not supported"); }
- static MediaKeys internalCreateMediaKeys() {
- return new MediaKeys._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory MediaKeys._internalWrap() {
- return new MediaKeys.internal_();
- }
-
- MediaKeys.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('MediaKeys.keySystem')
@DocsEditable()
String get keySystem => _blink.BlinkMediaKeys.instance.keySystem_Getter_(unwrap_jso(this));
@@ -25187,7 +22045,7 @@ class MediaKeys extends NativeFieldWrapperClass2 {
@DomName('MediaKeys.create')
@DocsEditable()
@Experimental() // untriaged
- static Future create(String keySystem) => wrap_jso(_blink.BlinkMediaKeys.instance.create_Callback_1_(keySystem));
+ static Future create(String keySystem) => _blink.BlinkMediaKeys.instance.create_Callback_1_(keySystem);
MediaKeySession _createSession([String sessionType]) {
if (sessionType != null) {
@@ -25216,21 +22074,6 @@ class MediaList extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory MediaList._() { throw new UnsupportedError("Not supported"); }
- static MediaList internalCreateMediaList() {
- return new MediaList._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory MediaList._internalWrap() {
- return new MediaList.internal_();
- }
-
- MediaList.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('MediaList.length')
@DocsEditable()
int get length => _blink.BlinkMediaList.instance.length_Getter_(unwrap_jso(this));
@@ -25241,7 +22084,7 @@ class MediaList extends NativeFieldWrapperClass2 {
@DomName('MediaList.mediaText')
@DocsEditable()
- set mediaText(String value) => _blink.BlinkMediaList.instance.mediaText_Setter_(unwrap_jso(this), value);
+ void set mediaText(String value) => _blink.BlinkMediaList.instance.mediaText_Setter_(unwrap_jso(this), value);
@DomName('MediaList.appendMedium')
@DocsEditable()
@@ -25275,18 +22118,6 @@ 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));
@@ -25297,7 +22128,7 @@ class MediaQueryList extends EventTarget {
@DomName('MediaQueryList.addListener')
@DocsEditable()
- void addListener(EventListener listener) => _blink.BlinkMediaQueryList.instance.addListener_Callback_1_(unwrap_jso(this), unwrap_jso((event) => listener(wrap_jso(event))));
+ void addListener(EventListener listener) => _blink.BlinkMediaQueryList.instance.addListener_Callback_1_(unwrap_jso(this), unwrap_jso(listener));
@DomName('MediaQueryList.removeListener')
@DocsEditable()
@@ -25323,18 +22154,6 @@ 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
@@ -25366,21 +22185,9 @@ class MediaSource extends EventTarget {
@DomName('MediaSource.MediaSource')
@DocsEditable()
factory MediaSource() {
- return wrap_jso(_blink.BlinkMediaSource.instance.constructorCallback_0_());
- }
-
-
- static MediaSource internalCreateMediaSource() {
- return new MediaSource._internalWrap();
- }
-
- factory MediaSource._internalWrap() {
- return new MediaSource.internal_();
+ return _blink.BlinkMediaSource.instance.constructorCallback_0_();
}
- MediaSource.internal_() : super.internal_();
-
-
/// Checks if this type is supported on the current platform.
static bool get supported => true;
@@ -25394,7 +22201,7 @@ class MediaSource extends EventTarget {
@DomName('MediaSource.duration')
@DocsEditable()
- set duration(num value) => _blink.BlinkMediaSource.instance.duration_Setter_(unwrap_jso(this), value);
+ void set duration(num value) => _blink.BlinkMediaSource.instance.duration_Setter_(unwrap_jso(this), value);
@DomName('MediaSource.readyState')
@DocsEditable()
@@ -25473,29 +22280,17 @@ class MediaStream extends EventTarget {
@DocsEditable()
factory MediaStream([stream_OR_tracks]) {
if (stream_OR_tracks == null) {
- return wrap_jso(_blink.BlinkMediaStream.instance.constructorCallback_0_());
+ return _blink.BlinkMediaStream.instance.constructorCallback_0_();
}
if ((stream_OR_tracks is MediaStream || stream_OR_tracks == null)) {
- return wrap_jso(_blink.BlinkMediaStream.instance.constructorCallback_1_(stream_OR_tracks));
+ return _blink.BlinkMediaStream.instance.constructorCallback_1_(stream_OR_tracks);
}
if ((stream_OR_tracks is List<MediaStreamTrack> || stream_OR_tracks == null)) {
- return wrap_jso(_blink.BlinkMediaStream.instance.constructorCallback_1_(stream_OR_tracks));
+ return _blink.BlinkMediaStream.instance.constructorCallback_1_(stream_OR_tracks);
}
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));
@@ -25520,7 +22315,7 @@ class MediaStream extends EventTarget {
@DomName('MediaStream.getAudioTracks')
@DocsEditable()
- List<MediaStreamTrack> getAudioTracks() => wrap_jso(_blink.BlinkMediaStream.instance.getAudioTracks_Callback_0_(unwrap_jso(this)));
+ List<MediaStreamTrack> getAudioTracks() => _blink.BlinkMediaStream.instance.getAudioTracks_Callback_0_(unwrap_jso(this));
@DomName('MediaStream.getTrackById')
@DocsEditable()
@@ -25529,11 +22324,11 @@ class MediaStream extends EventTarget {
@DomName('MediaStream.getTracks')
@DocsEditable()
@Experimental() // untriaged
- List<MediaStreamTrack> getTracks() => wrap_jso(_blink.BlinkMediaStream.instance.getTracks_Callback_0_(unwrap_jso(this)));
+ List<MediaStreamTrack> getTracks() => _blink.BlinkMediaStream.instance.getTracks_Callback_0_(unwrap_jso(this));
@DomName('MediaStream.getVideoTracks')
@DocsEditable()
- List<MediaStreamTrack> getVideoTracks() => wrap_jso(_blink.BlinkMediaStream.instance.getVideoTracks_Callback_0_(unwrap_jso(this)));
+ List<MediaStreamTrack> getVideoTracks() => _blink.BlinkMediaStream.instance.getVideoTracks_Callback_0_(unwrap_jso(this));
@DomName('MediaStream.removeTrack')
@DocsEditable()
@@ -25584,18 +22379,6 @@ 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;
@@ -25650,25 +22433,13 @@ 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));
@DomName('MediaStreamTrack.enabled')
@DocsEditable()
- set enabled(bool value) => _blink.BlinkMediaStreamTrack.instance.enabled_Setter_(unwrap_jso(this), value);
+ void set enabled(bool value) => _blink.BlinkMediaStreamTrack.instance.enabled_Setter_(unwrap_jso(this), value);
@DomName('MediaStreamTrack.id')
@DocsEditable()
@@ -25699,7 +22470,7 @@ class MediaStreamTrack extends EventTarget {
@DomName('MediaStreamTrack.getSources')
@DocsEditable()
@Experimental() // untriaged
- static void _getSources(MediaStreamTrackSourcesCallback callback) => _blink.BlinkMediaStreamTrack.instance.getSources_Callback_1_(unwrap_jso((sources) => callback(sources)));
+ static void _getSources(MediaStreamTrackSourcesCallback callback) => _blink.BlinkMediaStreamTrack.instance.getSources_Callback_1_(unwrap_jso(callback));
static Future<List<SourceInfo>> getSources() {
var completer = new Completer<List<SourceInfo>>();
@@ -25745,18 +22516,6 @@ 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;
@@ -25789,21 +22548,6 @@ class MemoryInfo extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory MemoryInfo._() { throw new UnsupportedError("Not supported"); }
- static MemoryInfo internalCreateMemoryInfo() {
- return new MemoryInfo._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory MemoryInfo._internalWrap() {
- return new MemoryInfo.internal_();
- }
-
- MemoryInfo.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('MemoryInfo.jsHeapSizeLimit')
@DocsEditable()
int get jsHeapSizeLimit => _blink.BlinkMemoryInfo.instance.jsHeapSizeLimit_Getter_(unwrap_jso(this));
@@ -25843,18 +22587,6 @@ 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.
*
@@ -25870,7 +22602,7 @@ class MenuElement extends HtmlElement {
@DomName('HTMLMenuElement.label')
@DocsEditable()
@Experimental() // untriaged
- set label(String value) => _blink.BlinkHTMLMenuElement.instance.label_Setter_(unwrap_jso(this), value);
+ void set label(String value) => _blink.BlinkHTMLMenuElement.instance.label_Setter_(unwrap_jso(this), value);
@DomName('HTMLMenuElement.type')
@DocsEditable()
@@ -25880,7 +22612,7 @@ class MenuElement extends HtmlElement {
@DomName('HTMLMenuElement.type')
@DocsEditable()
@Experimental() // untriaged
- set type(String value) => _blink.BlinkHTMLMenuElement.instance.type_Setter_(unwrap_jso(this), value);
+ void set type(String value) => _blink.BlinkHTMLMenuElement.instance.type_Setter_(unwrap_jso(this), value);
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -25896,18 +22628,6 @@ 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.
*
@@ -25923,7 +22643,7 @@ class MenuItemElement extends HtmlElement {
@DomName('HTMLMenuItemElement.checked')
@DocsEditable()
@Experimental() // untriaged
- set checked(bool value) => _blink.BlinkHTMLMenuItemElement.instance.checked_Setter_(unwrap_jso(this), value);
+ void set checked(bool value) => _blink.BlinkHTMLMenuItemElement.instance.checked_Setter_(unwrap_jso(this), value);
@DomName('HTMLMenuItemElement.default')
@DocsEditable()
@@ -25933,7 +22653,7 @@ class MenuItemElement extends HtmlElement {
@DomName('HTMLMenuItemElement.default')
@DocsEditable()
@Experimental() // untriaged
- set defaultValue(bool value) => _blink.BlinkHTMLMenuItemElement.instance.default_Setter_(unwrap_jso(this), value);
+ void set defaultValue(bool value) => _blink.BlinkHTMLMenuItemElement.instance.default_Setter_(unwrap_jso(this), value);
@DomName('HTMLMenuItemElement.disabled')
@DocsEditable()
@@ -25943,7 +22663,7 @@ class MenuItemElement extends HtmlElement {
@DomName('HTMLMenuItemElement.disabled')
@DocsEditable()
@Experimental() // untriaged
- set disabled(bool value) => _blink.BlinkHTMLMenuItemElement.instance.disabled_Setter_(unwrap_jso(this), value);
+ void set disabled(bool value) => _blink.BlinkHTMLMenuItemElement.instance.disabled_Setter_(unwrap_jso(this), value);
@DomName('HTMLMenuItemElement.label')
@DocsEditable()
@@ -25953,7 +22673,7 @@ class MenuItemElement extends HtmlElement {
@DomName('HTMLMenuItemElement.label')
@DocsEditable()
@Experimental() // untriaged
- set label(String value) => _blink.BlinkHTMLMenuItemElement.instance.label_Setter_(unwrap_jso(this), value);
+ void set label(String value) => _blink.BlinkHTMLMenuItemElement.instance.label_Setter_(unwrap_jso(this), value);
@DomName('HTMLMenuItemElement.type')
@DocsEditable()
@@ -25963,7 +22683,7 @@ class MenuItemElement extends HtmlElement {
@DomName('HTMLMenuItemElement.type')
@DocsEditable()
@Experimental() // untriaged
- set type(String value) => _blink.BlinkHTMLMenuItemElement.instance.type_Setter_(unwrap_jso(this), value);
+ void set type(String value) => _blink.BlinkHTMLMenuItemElement.instance.type_Setter_(unwrap_jso(this), value);
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -25980,21 +22700,6 @@ class MessageChannel extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory MessageChannel._() { throw new UnsupportedError("Not supported"); }
- static MessageChannel internalCreateMessageChannel() {
- return new MessageChannel._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory MessageChannel._internalWrap() {
- return new MessageChannel.internal_();
- }
-
- MessageChannel.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('MessageChannel.port1')
@DocsEditable()
MessagePort get port1 => wrap_jso(_blink.BlinkMessageChannel.instance.port1_Getter_(unwrap_jso(this)));
@@ -26028,21 +22733,9 @@ 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 => wrap_jso(_blink.BlinkMessageEvent.instance.data_Getter_(unwrap_jso(this)));
+ Object get data => _blink.BlinkMessageEvent.instance.data_Getter_(unwrap_jso(this));
@DomName('MessageEvent.lastEventId')
@DocsEditable()
@@ -26086,18 +22779,6 @@ 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));
@@ -26132,18 +22813,6 @@ 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.
*
@@ -26157,7 +22826,7 @@ class MetaElement extends HtmlElement {
@DomName('HTMLMetaElement.content')
@DocsEditable()
- set content(String value) => _blink.BlinkHTMLMetaElement.instance.content_Setter_(unwrap_jso(this), value);
+ void set content(String value) => _blink.BlinkHTMLMetaElement.instance.content_Setter_(unwrap_jso(this), value);
@DomName('HTMLMetaElement.httpEquiv')
@DocsEditable()
@@ -26165,7 +22834,7 @@ class MetaElement extends HtmlElement {
@DomName('HTMLMetaElement.httpEquiv')
@DocsEditable()
- set httpEquiv(String value) => _blink.BlinkHTMLMetaElement.instance.httpEquiv_Setter_(unwrap_jso(this), value);
+ void set httpEquiv(String value) => _blink.BlinkHTMLMetaElement.instance.httpEquiv_Setter_(unwrap_jso(this), value);
@DomName('HTMLMetaElement.name')
@DocsEditable()
@@ -26173,7 +22842,7 @@ class MetaElement extends HtmlElement {
@DomName('HTMLMetaElement.name')
@DocsEditable()
- set name(String value) => _blink.BlinkHTMLMetaElement.instance.name_Setter_(unwrap_jso(this), value);
+ void set name(String value) => _blink.BlinkHTMLMetaElement.instance.name_Setter_(unwrap_jso(this), value);
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -26191,21 +22860,6 @@ class Metadata extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory Metadata._() { throw new UnsupportedError("Not supported"); }
- static Metadata internalCreateMetadata() {
- return new Metadata._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory Metadata._internalWrap() {
- return new Metadata.internal_();
- }
-
- Metadata.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('Metadata.modificationTime')
@DocsEditable()
DateTime get modificationTime => _blink.BlinkMetadata.instance.modificationTime_Getter_(unwrap_jso(this));
@@ -26246,18 +22900,6 @@ 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.
*
@@ -26274,12 +22916,12 @@ class MeterElement extends HtmlElement {
@DomName('HTMLMeterElement.high')
@DocsEditable()
- set high(num value) => _blink.BlinkHTMLMeterElement.instance.high_Setter_(unwrap_jso(this), value);
+ void set high(num value) => _blink.BlinkHTMLMeterElement.instance.high_Setter_(unwrap_jso(this), value);
@DomName('HTMLMeterElement.labels')
@DocsEditable()
@Unstable()
- List<Node> get labels => wrap_jso(_blink.BlinkHTMLMeterElement.instance.labels_Getter_(unwrap_jso(this)));
+ List<Node> get labels => wrap_jso_list(_blink.BlinkHTMLMeterElement.instance.labels_Getter_(unwrap_jso(this)));
@DomName('HTMLMeterElement.low')
@DocsEditable()
@@ -26287,7 +22929,7 @@ class MeterElement extends HtmlElement {
@DomName('HTMLMeterElement.low')
@DocsEditable()
- set low(num value) => _blink.BlinkHTMLMeterElement.instance.low_Setter_(unwrap_jso(this), value);
+ void set low(num value) => _blink.BlinkHTMLMeterElement.instance.low_Setter_(unwrap_jso(this), value);
@DomName('HTMLMeterElement.max')
@DocsEditable()
@@ -26295,7 +22937,7 @@ class MeterElement extends HtmlElement {
@DomName('HTMLMeterElement.max')
@DocsEditable()
- set max(num value) => _blink.BlinkHTMLMeterElement.instance.max_Setter_(unwrap_jso(this), value);
+ void set max(num value) => _blink.BlinkHTMLMeterElement.instance.max_Setter_(unwrap_jso(this), value);
@DomName('HTMLMeterElement.min')
@DocsEditable()
@@ -26303,7 +22945,7 @@ class MeterElement extends HtmlElement {
@DomName('HTMLMeterElement.min')
@DocsEditable()
- set min(num value) => _blink.BlinkHTMLMeterElement.instance.min_Setter_(unwrap_jso(this), value);
+ void set min(num value) => _blink.BlinkHTMLMeterElement.instance.min_Setter_(unwrap_jso(this), value);
@DomName('HTMLMeterElement.optimum')
@DocsEditable()
@@ -26311,7 +22953,7 @@ class MeterElement extends HtmlElement {
@DomName('HTMLMeterElement.optimum')
@DocsEditable()
- set optimum(num value) => _blink.BlinkHTMLMeterElement.instance.optimum_Setter_(unwrap_jso(this), value);
+ void set optimum(num value) => _blink.BlinkHTMLMeterElement.instance.optimum_Setter_(unwrap_jso(this), value);
@DomName('HTMLMeterElement.value')
@DocsEditable()
@@ -26319,7 +22961,7 @@ class MeterElement extends HtmlElement {
@DomName('HTMLMeterElement.value')
@DocsEditable()
- set value(num value) => _blink.BlinkHTMLMeterElement.instance.value_Setter_(unwrap_jso(this), value);
+ void set value(num value) => _blink.BlinkHTMLMeterElement.instance.value_Setter_(unwrap_jso(this), value);
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -26357,18 +22999,6 @@ 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)));
@@ -26408,18 +23038,6 @@ 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)));
@@ -26450,18 +23068,6 @@ 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()
@@ -26482,21 +23088,6 @@ class MidiInputMap extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory MidiInputMap._() { throw new UnsupportedError("Not supported"); }
- static MidiInputMap internalCreateMidiInputMap() {
- return new MidiInputMap._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory MidiInputMap._internalWrap() {
- return new MidiInputMap.internal_();
- }
-
- MidiInputMap.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('MIDIInputMap.size')
@DocsEditable()
@Experimental() // untriaged
@@ -26505,7 +23096,7 @@ class MidiInputMap extends NativeFieldWrapperClass2 {
@DomName('MIDIInputMap.entries')
@DocsEditable()
@Experimental() // untriaged
- DomIterator entries() => wrap_jso(_blink.BlinkMIDIInputMap.instance.entries_Callback_0_(unwrap_jso(this)));
+ DomIterator entries() => _blink.BlinkMIDIInputMap.instance.entries_Callback_0_(unwrap_jso(this));
@DomName('MIDIInputMap.get')
@DocsEditable()
@@ -26520,12 +23111,12 @@ class MidiInputMap extends NativeFieldWrapperClass2 {
@DomName('MIDIInputMap.keys')
@DocsEditable()
@Experimental() // untriaged
- DomIterator keys() => wrap_jso(_blink.BlinkMIDIInputMap.instance.keys_Callback_0_(unwrap_jso(this)));
+ DomIterator keys() => _blink.BlinkMIDIInputMap.instance.keys_Callback_0_(unwrap_jso(this));
@DomName('MIDIInputMap.values')
@DocsEditable()
@Experimental() // untriaged
- DomIterator values() => wrap_jso(_blink.BlinkMIDIInputMap.instance.values_Callback_0_(unwrap_jso(this)));
+ DomIterator values() => _blink.BlinkMIDIInputMap.instance.values_Callback_0_(unwrap_jso(this));
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -26543,25 +23134,13 @@ 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 => _blink.BlinkMIDIMessageEvent.instance.data_Getter_(unwrap_jso(this));
+ Uint8List get data => wrap_jso(_blink.BlinkMIDIMessageEvent.instance.data_Getter_(unwrap_jso(this)));
@DomName('MIDIMessageEvent.receivedTime')
@DocsEditable()
- num get receivedTime => _blink.BlinkMIDIMessageEvent.instance.receivedTime_Getter_(unwrap_jso(this));
+ double get receivedTime => _blink.BlinkMIDIMessageEvent.instance.receivedTime_Getter_(unwrap_jso(this));
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -26579,18 +23158,6 @@ 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);
@@ -26615,21 +23182,6 @@ class MidiOutputMap extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory MidiOutputMap._() { throw new UnsupportedError("Not supported"); }
- static MidiOutputMap internalCreateMidiOutputMap() {
- return new MidiOutputMap._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory MidiOutputMap._internalWrap() {
- return new MidiOutputMap.internal_();
- }
-
- MidiOutputMap.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('MIDIOutputMap.size')
@DocsEditable()
@Experimental() // untriaged
@@ -26638,7 +23190,7 @@ class MidiOutputMap extends NativeFieldWrapperClass2 {
@DomName('MIDIOutputMap.entries')
@DocsEditable()
@Experimental() // untriaged
- DomIterator entries() => wrap_jso(_blink.BlinkMIDIOutputMap.instance.entries_Callback_0_(unwrap_jso(this)));
+ DomIterator entries() => _blink.BlinkMIDIOutputMap.instance.entries_Callback_0_(unwrap_jso(this));
@DomName('MIDIOutputMap.get')
@DocsEditable()
@@ -26653,12 +23205,12 @@ class MidiOutputMap extends NativeFieldWrapperClass2 {
@DomName('MIDIOutputMap.keys')
@DocsEditable()
@Experimental() // untriaged
- DomIterator keys() => wrap_jso(_blink.BlinkMIDIOutputMap.instance.keys_Callback_0_(unwrap_jso(this)));
+ DomIterator keys() => _blink.BlinkMIDIOutputMap.instance.keys_Callback_0_(unwrap_jso(this));
@DomName('MIDIOutputMap.values')
@DocsEditable()
@Experimental() // untriaged
- DomIterator values() => wrap_jso(_blink.BlinkMIDIOutputMap.instance.values_Callback_0_(unwrap_jso(this)));
+ DomIterator values() => _blink.BlinkMIDIOutputMap.instance.values_Callback_0_(unwrap_jso(this));
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -26686,18 +23238,6 @@ 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));
@@ -26738,21 +23278,6 @@ class MimeType extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory MimeType._() { throw new UnsupportedError("Not supported"); }
- static MimeType internalCreateMimeType() {
- return new MimeType._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory MimeType._internalWrap() {
- return new MimeType.internal_();
- }
-
- MimeType.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('MimeType.description')
@DocsEditable()
String get description => _blink.BlinkMimeType.instance.description_Getter_(unwrap_jso(this));
@@ -26780,25 +23305,10 @@ class MimeType extends NativeFieldWrapperClass2 {
@DocsEditable()
@DomName('MimeTypeArray')
@Experimental() // non-standard
-class MimeTypeArray extends JsoNativeFieldWrapper with ListMixin<MimeType>, ImmutableListMixin<MimeType> implements List<MimeType> {
+class MimeTypeArray extends NativeFieldWrapperClass2 with ListMixin<MimeType>, ImmutableListMixin<MimeType> implements List<MimeType> {
// To suppress missing implicit constructor warnings.
factory MimeTypeArray._() { throw new UnsupportedError("Not supported"); }
- static MimeTypeArray internalCreateMimeTypeArray() {
- return new MimeTypeArray._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory MimeTypeArray._internalWrap() {
- return new MimeTypeArray.internal_();
- }
-
- MimeTypeArray.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('MimeTypeArray.length')
@DocsEditable()
int get length => _blink.BlinkMimeTypeArray.instance.length_Getter_(unwrap_jso(this));
@@ -26810,7 +23320,7 @@ class MimeTypeArray extends JsoNativeFieldWrapper with ListMixin<MimeType>, Immu
}
MimeType _nativeIndexedGetter(int index) => wrap_jso(_blink.BlinkMimeTypeArray.instance.item_Callback_1_(unwrap_jso(this), index));
-
+
void operator[]=(int index, MimeType value) {
throw new UnsupportedError("Cannot assign element of immutable List.");
}
@@ -26818,7 +23328,7 @@ class MimeTypeArray extends JsoNativeFieldWrapper with ListMixin<MimeType>, Immu
// MimeType is the element type.
- set length(int value) {
+ void set length(int value) {
throw new UnsupportedError("Cannot resize immutable List.");
}
@@ -26875,18 +23385,6 @@ class MimeTypeArray extends JsoNativeFieldWrapper with ListMixin<MimeType>, Immu
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.
*
@@ -26900,7 +23398,7 @@ class ModElement extends HtmlElement {
@DomName('HTMLModElement.cite')
@DocsEditable()
- set cite(String value) => _blink.BlinkHTMLModElement.instance.cite_Setter_(unwrap_jso(this), value);
+ void set cite(String value) => _blink.BlinkHTMLModElement.instance.cite_Setter_(unwrap_jso(this), value);
@DomName('HTMLModElement.dateTime')
@DocsEditable()
@@ -26908,7 +23406,7 @@ class ModElement extends HtmlElement {
@DomName('HTMLModElement.dateTime')
@DocsEditable()
- set dateTime(String value) => _blink.BlinkHTMLModElement.instance.dateTime_Setter_(unwrap_jso(this), value);
+ void set dateTime(String value) => _blink.BlinkHTMLModElement.instance.dateTime_Setter_(unwrap_jso(this), value);
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -26938,18 +23436,6 @@ 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));
@@ -27129,32 +23615,17 @@ class MutationObserver extends NativeFieldWrapperClass2 {
@DocsEditable()
factory MutationObserver._(MutationCallback callback) => wrap_jso(_create(callback));
- static MutationObserver internalCreateMutationObserver() {
- return new MutationObserver._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory MutationObserver._internalWrap() {
- return new MutationObserver.internal_();
- }
-
- MutationObserver.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@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 != null ? new js.JsObject.jsify(options) : options);
+ void _observe(Node target, Map options) => _blink.BlinkMutationObserver.instance.observe_Callback_2_(unwrap_jso(this), unwrap_jso(target), options);
@DomName('MutationObserver.takeRecords')
@DocsEditable()
- List<MutationRecord> takeRecords() => wrap_jso(_blink.BlinkMutationObserver.instance.takeRecords_Callback_0_(unwrap_jso(this)));
+ List<MutationRecord> takeRecords() => _blink.BlinkMutationObserver.instance.takeRecords_Callback_0_(unwrap_jso(this));
/**
* Checks to see if the mutation observer API is supported on the current
@@ -27164,9 +23635,7 @@ class MutationObserver extends NativeFieldWrapperClass2 {
return true;
}
@DocsEditable()
- static MutationObserver _create(callback) => wrap_jso(_blink.BlinkMutationObserver.instance.constructorCallback_1_((mutations, observer) {
- callback(mutations, wrap_jso(observer));
- }));
+ static MutationObserver _create(callback) => _blink.BlinkMutationObserver.instance.constructorCallback_1_(callback);
/**
* Observes the target for the specified changes.
@@ -27241,24 +23710,9 @@ class MutationRecord extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory MutationRecord._() { throw new UnsupportedError("Not supported"); }
- static MutationRecord internalCreateMutationRecord() {
- return new MutationRecord._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory MutationRecord._internalWrap() {
- return new MutationRecord.internal_();
- }
-
- MutationRecord.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('MutationRecord.addedNodes')
@DocsEditable()
- List<Node> get addedNodes => wrap_jso(_blink.BlinkMutationRecord.instance.addedNodes_Getter_(unwrap_jso(this)));
+ List<Node> get addedNodes => wrap_jso_list(_blink.BlinkMutationRecord.instance.addedNodes_Getter_(unwrap_jso(this)));
@DomName('MutationRecord.attributeName')
@DocsEditable()
@@ -27282,7 +23736,7 @@ class MutationRecord extends NativeFieldWrapperClass2 {
@DomName('MutationRecord.removedNodes')
@DocsEditable()
- List<Node> get removedNodes => wrap_jso(_blink.BlinkMutationRecord.instance.removedNodes_Getter_(unwrap_jso(this)));
+ List<Node> get removedNodes => wrap_jso_list(_blink.BlinkMutationRecord.instance.removedNodes_Getter_(unwrap_jso(this)));
@DomName('MutationRecord.target')
@DocsEditable()
@@ -27360,21 +23814,6 @@ 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();
- }
-
- js.JsObject blink_jsObject;
-
- factory Navigator._internalWrap() {
- return new Navigator.internal_();
- }
-
- Navigator.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('Navigator.connection')
@DocsEditable()
@Experimental() // untriaged
@@ -27470,12 +23909,12 @@ class Navigator extends NativeFieldWrapperClass2 implements NavigatorCpu, Naviga
@DomName('Navigator.getBattery')
@DocsEditable()
@Experimental() // untriaged
- Future getBattery() => wrap_jso(_blink.BlinkNavigator.instance.getBattery_Callback_0_(unwrap_jso(this)));
+ Future getBattery() => _blink.BlinkNavigator.instance.getBattery_Callback_0_(unwrap_jso(this));
@DomName('Navigator.getGamepads')
@DocsEditable()
@Experimental() // untriaged
- List<Gamepad> getGamepads() => wrap_jso(_blink.BlinkNavigator.instance.getGamepads_Callback_0_(unwrap_jso(this)));
+ List<Gamepad> getGamepads() => _blink.BlinkNavigator.instance.getGamepads_Callback_0_(unwrap_jso(this));
@DomName('Navigator.getStorageUpdates')
@DocsEditable()
@@ -27483,6 +23922,11 @@ class Navigator extends NativeFieldWrapperClass2 implements NavigatorCpu, Naviga
@Experimental()
void getStorageUpdates() => _blink.BlinkNavigator.instance.getStorageUpdates_Callback_0_(unwrap_jso(this));
+ @DomName('Navigator.isProtocolHandlerRegistered')
+ @DocsEditable()
+ @Experimental() // untriaged
+ String isProtocolHandlerRegistered(String scheme, String url) => _blink.BlinkNavigator.instance.isProtocolHandlerRegistered_Callback_2_(unwrap_jso(this), scheme, url);
+
@DomName('Navigator.registerProtocolHandler')
@DocsEditable()
@Unstable()
@@ -27504,11 +23948,16 @@ class Navigator extends NativeFieldWrapperClass2 implements NavigatorCpu, Naviga
throw new ArgumentError("Incorrect number or type of arguments");
}
+ @DomName('Navigator.unregisterProtocolHandler')
+ @DocsEditable()
+ @Experimental() // untriaged
+ void unregisterProtocolHandler(String scheme, String url) => _blink.BlinkNavigator.instance.unregisterProtocolHandler_Callback_2_(unwrap_jso(this), scheme, url);
+
@DomName('Navigator.webkitGetUserMedia')
@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 != null ? new js.JsObject.jsify(options) : options, unwrap_jso((stream) => successCallback(wrap_jso(stream))), unwrap_jso((error) => errorCallback(wrap_jso(error))));
+ void _getUserMedia(Map options, _NavigatorUserMediaSuccessCallback successCallback, _NavigatorUserMediaErrorCallback errorCallback) => _blink.BlinkNavigator.instance.webkitGetUserMedia_Callback_3_(unwrap_jso(this), options, unwrap_jso(successCallback), unwrap_jso(errorCallback));
@DomName('Navigator.hardwareConcurrency')
@DocsEditable()
@@ -27575,21 +24024,6 @@ 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();
- }
-
- js.JsObject blink_jsObject;
-
- factory NavigatorCpu._internalWrap() {
- return new NavigatorCpu.internal_();
- }
-
- NavigatorCpu.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('NavigatorCPU.hardwareConcurrency')
@DocsEditable()
@Experimental() // untriaged
@@ -27706,21 +24140,6 @@ class NavigatorUserMediaError extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory NavigatorUserMediaError._() { throw new UnsupportedError("Not supported"); }
- static NavigatorUserMediaError internalCreateNavigatorUserMediaError() {
- return new NavigatorUserMediaError._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory NavigatorUserMediaError._internalWrap() {
- return new NavigatorUserMediaError.internal_();
- }
-
- NavigatorUserMediaError.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('NavigatorUserMediaError.constraintName')
@DocsEditable()
String get constraintName => _blink.BlinkNavigatorUserMediaError.instance.constraintName_Getter_(unwrap_jso(this));
@@ -27770,18 +24189,6 @@ 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
@@ -27884,8 +24291,7 @@ class _ChildNodeListLazy extends ListBase<Node> implements NodeListWrapper {
bool remove(Object object) {
if (object is! Node) return false;
Node node = object;
- // We aren't preserving identity of nodes in JSINTEROP mode
- if (_this != node.parentNode) return false;
+ if (!identical(_this, node.parentNode)) return false;
_this._removeChild(node);
return true;
}
@@ -27949,7 +24355,7 @@ class _ChildNodeListLazy extends ListBase<Node> implements NodeListWrapper {
// a local copy of childNodes is more efficient.
int get length => _this.childNodes.length;
- set length(int value) {
+ void set length(int value) {
throw new UnsupportedError(
"Cannot set length on immutable List.");
}
@@ -27973,7 +24379,7 @@ class Node extends EventTarget {
return new _ChildNodeListLazy(this);
}
- set nodes(Iterable<Node> value) {
+ void set nodes(Iterable<Node> value) {
// Copy list first since we don't want liveness during iteration.
// TODO(jacobr): there is a better way to do this.
List copy = new List.from(value);
@@ -28060,22 +24466,10 @@ class Node extends EventTarget {
*/
@DomName('Node.childNodes')
@DocsEditable()
- List<Node> get childNodes => wrap_jso(_blink.BlinkNode.instance.childNodes_Getter_(unwrap_jso(this)));
+ List<Node> get childNodes => _blink.BlinkNode.instance.childNodes_Getter_(this);
// 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;
@@ -28315,7 +24709,7 @@ class Node extends EventTarget {
*/
@DomName('Node.textContent')
@DocsEditable()
- set text(String value) => _blink.BlinkNode.instance.textContent_Setter_(unwrap_jso(this), value);
+ void set text(String value) => _blink.BlinkNode.instance.textContent_Setter_(unwrap_jso(this), value);
/**
* Adds a node to the end of the child [nodes] list of this node.
@@ -28407,21 +24801,6 @@ class NodeFilter extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory NodeFilter._() { throw new UnsupportedError("Not supported"); }
- static NodeFilter internalCreateNodeFilter() {
- return new NodeFilter._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory NodeFilter._internalWrap() {
- return new NodeFilter.internal_();
- }
-
- NodeFilter.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('NodeFilter.FILTER_ACCEPT')
@DocsEditable()
static const int FILTER_ACCEPT = 1;
@@ -28481,21 +24860,6 @@ class NodeIterator extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory NodeIterator._() { throw new UnsupportedError("Not supported"); }
- static NodeIterator internalCreateNodeIterator() {
- return new NodeIterator._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory NodeIterator._internalWrap() {
- return new NodeIterator.internal_();
- }
-
- NodeIterator.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('NodeIterator.pointerBeforeReferenceNode')
@DocsEditable()
bool get pointerBeforeReferenceNode => _blink.BlinkNodeIterator.instance.pointerBeforeReferenceNode_Getter_(unwrap_jso(this));
@@ -28534,25 +24898,10 @@ class NodeIterator extends NativeFieldWrapperClass2 {
@DocsEditable()
@DomName('NodeList')
-class NodeList extends JsoNativeFieldWrapper with ListMixin<Node>, ImmutableListMixin<Node> implements List<Node> {
+class NodeList extends NativeFieldWrapperClass2 with ListMixin<Node>, ImmutableListMixin<Node> implements List<Node> {
// To suppress missing implicit constructor warnings.
factory NodeList._() { throw new UnsupportedError("Not supported"); }
- static NodeList internalCreateNodeList() {
- return new NodeList._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory NodeList._internalWrap() {
- return new NodeList.internal_();
- }
-
- NodeList.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('NodeList.length')
@DocsEditable()
int get length => _blink.BlinkNodeList.instance.length_Getter_(unwrap_jso(this));
@@ -28564,7 +24913,7 @@ class NodeList extends JsoNativeFieldWrapper with ListMixin<Node>, ImmutableList
}
Node _nativeIndexedGetter(int index) => wrap_jso(_blink.BlinkNodeList.instance.item_Callback_1_(unwrap_jso(this), index));
-
+
void operator[]=(int index, Node value) {
throw new UnsupportedError("Cannot assign element of immutable List.");
}
@@ -28572,7 +24921,7 @@ class NodeList extends JsoNativeFieldWrapper with ListMixin<Node>, ImmutableList
// Node is the element type.
- set length(int value) {
+ void set length(int value) {
throw new UnsupportedError("Cannot resize immutable List.");
}
@@ -28676,24 +25025,11 @@ class Notification extends EventTarget {
@DocsEditable()
static Notification _factoryNotification(String title, [Map options]) {
if (options != null) {
- var options_1 = convertDartToNative_Dictionary(options);
- return wrap_jso(_blink.BlinkNotification.instance.constructorCallback_2_(title, options_1));
+ return _blink.BlinkNotification.instance.constructorCallback_2_(title, options);
}
- return wrap_jso(_blink.BlinkNotification.instance.constructorCallback_1_(title));
- }
-
-
- static Notification internalCreateNotification() {
- return new Notification._internalWrap();
+ return _blink.BlinkNotification.instance.constructorCallback_1_(title);
}
- 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;
@@ -28737,7 +25073,7 @@ class Notification extends EventTarget {
static void _requestPermission([_NotificationPermissionCallback callback]) {
if (callback != null) {
- _blink.BlinkNotification.instance.requestPermission_Callback_1_(unwrap_jso((permission) => callback(permission)));
+ _blink.BlinkNotification.instance.requestPermission_Callback_1_(unwrap_jso(callback));
return;
}
_blink.BlinkNotification.instance.requestPermission_Callback_0_();
@@ -28799,18 +25135,6 @@ 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.
*
@@ -28824,7 +25148,7 @@ class OListElement extends HtmlElement {
@DomName('HTMLOListElement.reversed')
@DocsEditable()
- set reversed(bool value) => _blink.BlinkHTMLOListElement.instance.reversed_Setter_(unwrap_jso(this), value);
+ void set reversed(bool value) => _blink.BlinkHTMLOListElement.instance.reversed_Setter_(unwrap_jso(this), value);
@DomName('HTMLOListElement.start')
@DocsEditable()
@@ -28832,7 +25156,7 @@ class OListElement extends HtmlElement {
@DomName('HTMLOListElement.start')
@DocsEditable()
- set start(int value) => _blink.BlinkHTMLOListElement.instance.start_Setter_(unwrap_jso(this), value);
+ void set start(int value) => _blink.BlinkHTMLOListElement.instance.start_Setter_(unwrap_jso(this), value);
@DomName('HTMLOListElement.type')
@DocsEditable()
@@ -28840,7 +25164,7 @@ class OListElement extends HtmlElement {
@DomName('HTMLOListElement.type')
@DocsEditable()
- set type(String value) => _blink.BlinkHTMLOListElement.instance.type_Setter_(unwrap_jso(this), value);
+ void set type(String value) => _blink.BlinkHTMLOListElement.instance.type_Setter_(unwrap_jso(this), value);
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -28863,18 +25187,6 @@ 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.
*
@@ -28891,7 +25203,7 @@ class ObjectElement extends HtmlElement {
@DomName('HTMLObjectElement.data')
@DocsEditable()
- set data(String value) => _blink.BlinkHTMLObjectElement.instance.data_Setter_(unwrap_jso(this), value);
+ void set data(String value) => _blink.BlinkHTMLObjectElement.instance.data_Setter_(unwrap_jso(this), value);
@DomName('HTMLObjectElement.form')
@DocsEditable()
@@ -28903,7 +25215,7 @@ class ObjectElement extends HtmlElement {
@DomName('HTMLObjectElement.height')
@DocsEditable()
- set height(String value) => _blink.BlinkHTMLObjectElement.instance.height_Setter_(unwrap_jso(this), value);
+ void set height(String value) => _blink.BlinkHTMLObjectElement.instance.height_Setter_(unwrap_jso(this), value);
@DomName('HTMLObjectElement.integrity')
@DocsEditable()
@@ -28913,7 +25225,7 @@ class ObjectElement extends HtmlElement {
@DomName('HTMLObjectElement.integrity')
@DocsEditable()
@Experimental() // untriaged
- set integrity(String value) => _blink.BlinkHTMLObjectElement.instance.integrity_Setter_(unwrap_jso(this), value);
+ void set integrity(String value) => _blink.BlinkHTMLObjectElement.instance.integrity_Setter_(unwrap_jso(this), value);
@DomName('HTMLObjectElement.name')
@DocsEditable()
@@ -28921,7 +25233,7 @@ class ObjectElement extends HtmlElement {
@DomName('HTMLObjectElement.name')
@DocsEditable()
- set name(String value) => _blink.BlinkHTMLObjectElement.instance.name_Setter_(unwrap_jso(this), value);
+ void set name(String value) => _blink.BlinkHTMLObjectElement.instance.name_Setter_(unwrap_jso(this), value);
@DomName('HTMLObjectElement.type')
@DocsEditable()
@@ -28929,7 +25241,7 @@ class ObjectElement extends HtmlElement {
@DomName('HTMLObjectElement.type')
@DocsEditable()
- set type(String value) => _blink.BlinkHTMLObjectElement.instance.type_Setter_(unwrap_jso(this), value);
+ void set type(String value) => _blink.BlinkHTMLObjectElement.instance.type_Setter_(unwrap_jso(this), value);
@DomName('HTMLObjectElement.useMap')
@DocsEditable()
@@ -28937,7 +25249,7 @@ class ObjectElement extends HtmlElement {
@DomName('HTMLObjectElement.useMap')
@DocsEditable()
- set useMap(String value) => _blink.BlinkHTMLObjectElement.instance.useMap_Setter_(unwrap_jso(this), value);
+ void set useMap(String value) => _blink.BlinkHTMLObjectElement.instance.useMap_Setter_(unwrap_jso(this), value);
@DomName('HTMLObjectElement.validationMessage')
@DocsEditable()
@@ -28953,7 +25265,7 @@ class ObjectElement extends HtmlElement {
@DomName('HTMLObjectElement.width')
@DocsEditable()
- set width(String value) => _blink.BlinkHTMLObjectElement.instance.width_Setter_(unwrap_jso(this), value);
+ void set width(String value) => _blink.BlinkHTMLObjectElement.instance.width_Setter_(unwrap_jso(this), value);
@DomName('HTMLObjectElement.willValidate')
@DocsEditable()
@@ -28992,18 +25304,6 @@ 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.
*
@@ -29017,7 +25317,7 @@ class OptGroupElement extends HtmlElement {
@DomName('HTMLOptGroupElement.disabled')
@DocsEditable()
- set disabled(bool value) => _blink.BlinkHTMLOptGroupElement.instance.disabled_Setter_(unwrap_jso(this), value);
+ void set disabled(bool value) => _blink.BlinkHTMLOptGroupElement.instance.disabled_Setter_(unwrap_jso(this), value);
@DomName('HTMLOptGroupElement.label')
@DocsEditable()
@@ -29025,7 +25325,7 @@ class OptGroupElement extends HtmlElement {
@DomName('HTMLOptGroupElement.label')
@DocsEditable()
- set label(String value) => _blink.BlinkHTMLOptGroupElement.instance.label_Setter_(unwrap_jso(this), value);
+ void set label(String value) => _blink.BlinkHTMLOptGroupElement.instance.label_Setter_(unwrap_jso(this), value);
}
// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
@@ -29042,20 +25342,8 @@ class OptionElement extends HtmlElement {
@DomName('HTMLOptionElement.HTMLOptionElement')
@DocsEditable()
factory OptionElement._([String data, String value, bool defaultSelected, bool selected]) {
- return wrap_jso(_blink.BlinkHTMLOptionElement.instance.constructorCallback_4_(data, value, defaultSelected, 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.
*
@@ -29069,7 +25357,7 @@ class OptionElement extends HtmlElement {
@DomName('HTMLOptionElement.defaultSelected')
@DocsEditable()
- set defaultSelected(bool value) => _blink.BlinkHTMLOptionElement.instance.defaultSelected_Setter_(unwrap_jso(this), value);
+ void set defaultSelected(bool value) => _blink.BlinkHTMLOptionElement.instance.defaultSelected_Setter_(unwrap_jso(this), value);
@DomName('HTMLOptionElement.disabled')
@DocsEditable()
@@ -29077,7 +25365,7 @@ class OptionElement extends HtmlElement {
@DomName('HTMLOptionElement.disabled')
@DocsEditable()
- set disabled(bool value) => _blink.BlinkHTMLOptionElement.instance.disabled_Setter_(unwrap_jso(this), value);
+ void set disabled(bool value) => _blink.BlinkHTMLOptionElement.instance.disabled_Setter_(unwrap_jso(this), value);
@DomName('HTMLOptionElement.form')
@DocsEditable()
@@ -29093,7 +25381,7 @@ class OptionElement extends HtmlElement {
@DomName('HTMLOptionElement.label')
@DocsEditable()
- set label(String value) => _blink.BlinkHTMLOptionElement.instance.label_Setter_(unwrap_jso(this), value);
+ void set label(String value) => _blink.BlinkHTMLOptionElement.instance.label_Setter_(unwrap_jso(this), value);
@DomName('HTMLOptionElement.selected')
@DocsEditable()
@@ -29101,7 +25389,7 @@ class OptionElement extends HtmlElement {
@DomName('HTMLOptionElement.selected')
@DocsEditable()
- set selected(bool value) => _blink.BlinkHTMLOptionElement.instance.selected_Setter_(unwrap_jso(this), value);
+ void set selected(bool value) => _blink.BlinkHTMLOptionElement.instance.selected_Setter_(unwrap_jso(this), value);
@DomName('HTMLOptionElement.value')
@DocsEditable()
@@ -29109,7 +25397,7 @@ class OptionElement extends HtmlElement {
@DomName('HTMLOptionElement.value')
@DocsEditable()
- set value(String value) => _blink.BlinkHTMLOptionElement.instance.value_Setter_(unwrap_jso(this), value);
+ void set value(String value) => _blink.BlinkHTMLOptionElement.instance.value_Setter_(unwrap_jso(this), value);
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -29131,18 +25419,6 @@ 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.
*
@@ -29159,7 +25435,7 @@ class OutputElement extends HtmlElement {
@DomName('HTMLOutputElement.defaultValue')
@DocsEditable()
- set defaultValue(String value) => _blink.BlinkHTMLOutputElement.instance.defaultValue_Setter_(unwrap_jso(this), value);
+ void set defaultValue(String value) => _blink.BlinkHTMLOutputElement.instance.defaultValue_Setter_(unwrap_jso(this), value);
@DomName('HTMLOutputElement.form')
@DocsEditable()
@@ -29172,7 +25448,7 @@ class OutputElement extends HtmlElement {
@DomName('HTMLOutputElement.labels')
@DocsEditable()
@Unstable()
- List<Node> get labels => wrap_jso(_blink.BlinkHTMLOutputElement.instance.labels_Getter_(unwrap_jso(this)));
+ List<Node> get labels => wrap_jso_list(_blink.BlinkHTMLOutputElement.instance.labels_Getter_(unwrap_jso(this)));
@DomName('HTMLOutputElement.name')
@DocsEditable()
@@ -29180,7 +25456,7 @@ class OutputElement extends HtmlElement {
@DomName('HTMLOutputElement.name')
@DocsEditable()
- set name(String value) => _blink.BlinkHTMLOutputElement.instance.name_Setter_(unwrap_jso(this), value);
+ void set name(String value) => _blink.BlinkHTMLOutputElement.instance.name_Setter_(unwrap_jso(this), value);
@DomName('HTMLOutputElement.type')
@DocsEditable()
@@ -29200,7 +25476,7 @@ class OutputElement extends HtmlElement {
@DomName('HTMLOutputElement.value')
@DocsEditable()
- set value(String value) => _blink.BlinkHTMLOutputElement.instance.value_Setter_(unwrap_jso(this), value);
+ void set value(String value) => _blink.BlinkHTMLOutputElement.instance.value_Setter_(unwrap_jso(this), value);
@DomName('HTMLOutputElement.willValidate')
@DocsEditable()
@@ -29229,18 +25505,6 @@ 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;
@@ -29281,18 +25545,6 @@ 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));
@@ -29314,18 +25566,6 @@ 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.
*
@@ -29351,18 +25591,6 @@ 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.
*
@@ -29376,7 +25604,7 @@ class ParamElement extends HtmlElement {
@DomName('HTMLParamElement.name')
@DocsEditable()
- set name(String value) => _blink.BlinkHTMLParamElement.instance.name_Setter_(unwrap_jso(this), value);
+ void set name(String value) => _blink.BlinkHTMLParamElement.instance.name_Setter_(unwrap_jso(this), value);
@DomName('HTMLParamElement.value')
@DocsEditable()
@@ -29384,7 +25612,7 @@ class ParamElement extends HtmlElement {
@DomName('HTMLParamElement.value')
@DocsEditable()
- set value(String value) => _blink.BlinkHTMLParamElement.instance.value_Setter_(unwrap_jso(this), value);
+ void set value(String value) => _blink.BlinkHTMLParamElement.instance.value_Setter_(unwrap_jso(this), value);
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -29450,32 +25678,17 @@ class Path2D extends NativeFieldWrapperClass2 implements _CanvasPathMethods {
@DocsEditable()
factory Path2D([path_OR_text]) {
if (path_OR_text == null) {
- return wrap_jso(_blink.BlinkPath2D.instance.constructorCallback_0_());
+ return _blink.BlinkPath2D.instance.constructorCallback_0_();
}
if ((path_OR_text is Path2D || path_OR_text == null)) {
- return wrap_jso(_blink.BlinkPath2D.instance.constructorCallback_1_(path_OR_text));
+ return _blink.BlinkPath2D.instance.constructorCallback_1_(path_OR_text);
}
if ((path_OR_text is String || path_OR_text == null)) {
- return wrap_jso(_blink.BlinkPath2D.instance.constructorCallback_1_(path_OR_text));
+ return _blink.BlinkPath2D.instance.constructorCallback_1_(path_OR_text);
}
throw new ArgumentError("Incorrect number or type of arguments");
}
- static Path2D internalCreatePath2D() {
- return new Path2D._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory Path2D._internalWrap() {
- return new Path2D.internal_();
- }
-
- Path2D.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
void addPath(Path2D path, [Matrix transform]) {
if (transform != null) {
_blink.BlinkPath2D.instance.addPath_Callback_2_(unwrap_jso(this), unwrap_jso(path), unwrap_jso(transform));
@@ -29561,18 +25774,6 @@ 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;
@@ -29605,19 +25806,19 @@ class Performance extends EventTarget {
@DocsEditable()
// http://www.w3.org/TR/performance-timeline/#sec-window.performance-attribute
@Experimental()
- List<PerformanceEntry> getEntries() => wrap_jso(_blink.BlinkPerformance.instance.getEntries_Callback_0_(unwrap_jso(this)));
+ List<PerformanceEntry> getEntries() => _blink.BlinkPerformance.instance.getEntries_Callback_0_(unwrap_jso(this));
@DomName('Performance.getEntriesByName')
@DocsEditable()
// http://www.w3.org/TR/performance-timeline/#sec-window.performance-attribute
@Experimental()
- List<PerformanceEntry> getEntriesByName(String name, String entryType) => wrap_jso(_blink.BlinkPerformance.instance.getEntriesByName_Callback_2_(unwrap_jso(this), name, entryType));
+ List<PerformanceEntry> getEntriesByName(String name, String entryType) => _blink.BlinkPerformance.instance.getEntriesByName_Callback_2_(unwrap_jso(this), name, entryType);
@DomName('Performance.getEntriesByType')
@DocsEditable()
// http://www.w3.org/TR/performance-timeline/#sec-window.performance-attribute
@Experimental()
- List<PerformanceEntry> getEntriesByType(String entryType) => wrap_jso(_blink.BlinkPerformance.instance.getEntriesByType_Callback_1_(unwrap_jso(this), entryType));
+ List<PerformanceEntry> getEntriesByType(String entryType) => _blink.BlinkPerformance.instance.getEntriesByType_Callback_1_(unwrap_jso(this), entryType);
@DomName('Performance.mark')
@DocsEditable()
@@ -29633,7 +25834,7 @@ class Performance extends EventTarget {
@DomName('Performance.now')
@DocsEditable()
- num now() => _blink.BlinkPerformance.instance.now_Callback_0_(unwrap_jso(this));
+ double now() => _blink.BlinkPerformance.instance.now_Callback_0_(unwrap_jso(this));
@DomName('Performance.webkitClearResourceTimings')
@DocsEditable()
@@ -29674,24 +25875,9 @@ class PerformanceEntry extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory PerformanceEntry._() { throw new UnsupportedError("Not supported"); }
- static PerformanceEntry internalCreatePerformanceEntry() {
- return new PerformanceEntry._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory PerformanceEntry._internalWrap() {
- return new PerformanceEntry.internal_();
- }
-
- PerformanceEntry.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('PerformanceEntry.duration')
@DocsEditable()
- num get duration => _blink.BlinkPerformanceEntry.instance.duration_Getter_(unwrap_jso(this));
+ double get duration => _blink.BlinkPerformanceEntry.instance.duration_Getter_(unwrap_jso(this));
@DomName('PerformanceEntry.entryType')
@DocsEditable()
@@ -29703,7 +25889,7 @@ class PerformanceEntry extends NativeFieldWrapperClass2 {
@DomName('PerformanceEntry.startTime')
@DocsEditable()
- num get startTime => _blink.BlinkPerformanceEntry.instance.startTime_Getter_(unwrap_jso(this));
+ double get startTime => _blink.BlinkPerformanceEntry.instance.startTime_Getter_(unwrap_jso(this));
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -29721,18 +25907,6 @@ 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
@@ -29749,18 +25923,6 @@ 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
@@ -29776,21 +25938,6 @@ class PerformanceNavigation extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory PerformanceNavigation._() { throw new UnsupportedError("Not supported"); }
- static PerformanceNavigation internalCreatePerformanceNavigation() {
- return new PerformanceNavigation._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory PerformanceNavigation._internalWrap() {
- return new PerformanceNavigation.internal_();
- }
-
- PerformanceNavigation.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('PerformanceNavigation.TYPE_BACK_FORWARD')
@DocsEditable()
static const int TYPE_BACK_FORWARD = 2;
@@ -29831,37 +25978,25 @@ 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()
- num get connectEnd => _blink.BlinkPerformanceResourceTiming.instance.connectEnd_Getter_(unwrap_jso(this));
+ double get connectEnd => _blink.BlinkPerformanceResourceTiming.instance.connectEnd_Getter_(unwrap_jso(this));
@DomName('PerformanceResourceTiming.connectStart')
@DocsEditable()
- num get connectStart => _blink.BlinkPerformanceResourceTiming.instance.connectStart_Getter_(unwrap_jso(this));
+ double get connectStart => _blink.BlinkPerformanceResourceTiming.instance.connectStart_Getter_(unwrap_jso(this));
@DomName('PerformanceResourceTiming.domainLookupEnd')
@DocsEditable()
- num get domainLookupEnd => _blink.BlinkPerformanceResourceTiming.instance.domainLookupEnd_Getter_(unwrap_jso(this));
+ double get domainLookupEnd => _blink.BlinkPerformanceResourceTiming.instance.domainLookupEnd_Getter_(unwrap_jso(this));
@DomName('PerformanceResourceTiming.domainLookupStart')
@DocsEditable()
- num get domainLookupStart => _blink.BlinkPerformanceResourceTiming.instance.domainLookupStart_Getter_(unwrap_jso(this));
+ double get domainLookupStart => _blink.BlinkPerformanceResourceTiming.instance.domainLookupStart_Getter_(unwrap_jso(this));
@DomName('PerformanceResourceTiming.fetchStart')
@DocsEditable()
- num get fetchStart => _blink.BlinkPerformanceResourceTiming.instance.fetchStart_Getter_(unwrap_jso(this));
+ double get fetchStart => _blink.BlinkPerformanceResourceTiming.instance.fetchStart_Getter_(unwrap_jso(this));
@DomName('PerformanceResourceTiming.initiatorType')
@DocsEditable()
@@ -29869,30 +26004,30 @@ class PerformanceResourceTiming extends PerformanceEntry {
@DomName('PerformanceResourceTiming.redirectEnd')
@DocsEditable()
- num get redirectEnd => _blink.BlinkPerformanceResourceTiming.instance.redirectEnd_Getter_(unwrap_jso(this));
+ double get redirectEnd => _blink.BlinkPerformanceResourceTiming.instance.redirectEnd_Getter_(unwrap_jso(this));
@DomName('PerformanceResourceTiming.redirectStart')
@DocsEditable()
- num get redirectStart => _blink.BlinkPerformanceResourceTiming.instance.redirectStart_Getter_(unwrap_jso(this));
+ double get redirectStart => _blink.BlinkPerformanceResourceTiming.instance.redirectStart_Getter_(unwrap_jso(this));
@DomName('PerformanceResourceTiming.requestStart')
@DocsEditable()
@Experimental() // nonstandard
- num get requestStart => _blink.BlinkPerformanceResourceTiming.instance.requestStart_Getter_(unwrap_jso(this));
+ double get requestStart => _blink.BlinkPerformanceResourceTiming.instance.requestStart_Getter_(unwrap_jso(this));
@DomName('PerformanceResourceTiming.responseEnd')
@DocsEditable()
@Experimental() // nonstandard
- num get responseEnd => _blink.BlinkPerformanceResourceTiming.instance.responseEnd_Getter_(unwrap_jso(this));
+ double get responseEnd => _blink.BlinkPerformanceResourceTiming.instance.responseEnd_Getter_(unwrap_jso(this));
@DomName('PerformanceResourceTiming.responseStart')
@DocsEditable()
@Experimental() // nonstandard
- num get responseStart => _blink.BlinkPerformanceResourceTiming.instance.responseStart_Getter_(unwrap_jso(this));
+ double get responseStart => _blink.BlinkPerformanceResourceTiming.instance.responseStart_Getter_(unwrap_jso(this));
@DomName('PerformanceResourceTiming.secureConnectionStart')
@DocsEditable()
- num get secureConnectionStart => _blink.BlinkPerformanceResourceTiming.instance.secureConnectionStart_Getter_(unwrap_jso(this));
+ double get secureConnectionStart => _blink.BlinkPerformanceResourceTiming.instance.secureConnectionStart_Getter_(unwrap_jso(this));
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -29909,21 +26044,6 @@ class PerformanceTiming extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory PerformanceTiming._() { throw new UnsupportedError("Not supported"); }
- static PerformanceTiming internalCreatePerformanceTiming() {
- return new PerformanceTiming._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory PerformanceTiming._internalWrap() {
- return new PerformanceTiming.internal_();
- }
-
- PerformanceTiming.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('PerformanceTiming.connectEnd')
@DocsEditable()
int get connectEnd => _blink.BlinkPerformanceTiming.instance.connectEnd_Getter_(unwrap_jso(this));
@@ -30022,18 +26142,6 @@ 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.
*
@@ -30056,21 +26164,6 @@ class Plugin extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory Plugin._() { throw new UnsupportedError("Not supported"); }
- static Plugin internalCreatePlugin() {
- return new Plugin._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory Plugin._internalWrap() {
- return new Plugin.internal_();
- }
-
- Plugin.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('Plugin.description')
@DocsEditable()
String get description => _blink.BlinkPlugin.instance.description_Getter_(unwrap_jso(this));
@@ -30110,25 +26203,10 @@ class Plugin extends NativeFieldWrapperClass2 {
@DocsEditable()
@DomName('PluginArray')
@Experimental() // non-standard
-class PluginArray extends JsoNativeFieldWrapper with ListMixin<Plugin>, ImmutableListMixin<Plugin> implements List<Plugin> {
+class PluginArray extends NativeFieldWrapperClass2 with ListMixin<Plugin>, ImmutableListMixin<Plugin> implements List<Plugin> {
// To suppress missing implicit constructor warnings.
factory PluginArray._() { throw new UnsupportedError("Not supported"); }
- static PluginArray internalCreatePluginArray() {
- return new PluginArray._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory PluginArray._internalWrap() {
- return new PluginArray.internal_();
- }
-
- PluginArray.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('PluginArray.length')
@DocsEditable()
int get length => _blink.BlinkPluginArray.instance.length_Getter_(unwrap_jso(this));
@@ -30140,7 +26218,7 @@ class PluginArray extends JsoNativeFieldWrapper with ListMixin<Plugin>, Immutabl
}
Plugin _nativeIndexedGetter(int index) => wrap_jso(_blink.BlinkPluginArray.instance.item_Callback_1_(unwrap_jso(this), index));
-
+
void operator[]=(int index, Plugin value) {
throw new UnsupportedError("Cannot assign element of immutable List.");
}
@@ -30148,7 +26226,7 @@ class PluginArray extends JsoNativeFieldWrapper with ListMixin<Plugin>, Immutabl
// Plugin is the element type.
- set length(int value) {
+ void set length(int value) {
throw new UnsupportedError("Cannot resize immutable List.");
}
@@ -30209,18 +26287,6 @@ class PluginArray extends JsoNativeFieldWrapper with ListMixin<Plugin>, Immutabl
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.
*
@@ -30236,7 +26302,7 @@ class PluginPlaceholderElement extends DivElement {
@DomName('PluginPlaceholderElement.message')
@DocsEditable()
@Experimental() // untriaged
- set message(String value) => _blink.BlinkPluginPlaceholderElement.instance.message_Setter_(unwrap_jso(this), value);
+ void set message(String value) => _blink.BlinkPluginPlaceholderElement.instance.message_Setter_(unwrap_jso(this), value);
@DomName('PluginPlaceholderElement.createdCallback')
@DocsEditable()
@@ -30261,21 +26327,9 @@ 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 => wrap_jso(_blink.BlinkPopStateEvent.instance.state_Getter_(unwrap_jso(this)));
+ Object get state => _blink.BlinkPopStateEvent.instance.state_Getter_(unwrap_jso(this));
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -30302,21 +26356,6 @@ class PositionError extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory PositionError._() { throw new UnsupportedError("Not supported"); }
- static PositionError internalCreatePositionError() {
- return new PositionError._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory PositionError._internalWrap() {
- return new PositionError.internal_();
- }
-
- PositionError.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('PositionError.PERMISSION_DENIED')
@DocsEditable()
static const int PERMISSION_DENIED = 1;
@@ -30364,18 +26403,6 @@ 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.
*
@@ -30398,18 +26425,6 @@ 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
@@ -30425,18 +26440,6 @@ 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
@@ -30467,18 +26470,6 @@ 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.
*
@@ -30492,7 +26483,7 @@ class ProgressElement extends HtmlElement {
@DomName('HTMLProgressElement.labels')
@DocsEditable()
@Unstable()
- List<Node> get labels => wrap_jso(_blink.BlinkHTMLProgressElement.instance.labels_Getter_(unwrap_jso(this)));
+ List<Node> get labels => wrap_jso_list(_blink.BlinkHTMLProgressElement.instance.labels_Getter_(unwrap_jso(this)));
@DomName('HTMLProgressElement.max')
@DocsEditable()
@@ -30500,11 +26491,11 @@ class ProgressElement extends HtmlElement {
@DomName('HTMLProgressElement.max')
@DocsEditable()
- set max(num value) => _blink.BlinkHTMLProgressElement.instance.max_Setter_(unwrap_jso(this), value);
+ void set max(num value) => _blink.BlinkHTMLProgressElement.instance.max_Setter_(unwrap_jso(this), value);
@DomName('HTMLProgressElement.position')
@DocsEditable()
- num get position => _blink.BlinkHTMLProgressElement.instance.position_Getter_(unwrap_jso(this));
+ double get position => _blink.BlinkHTMLProgressElement.instance.position_Getter_(unwrap_jso(this));
@DomName('HTMLProgressElement.value')
@DocsEditable()
@@ -30512,7 +26503,7 @@ class ProgressElement extends HtmlElement {
@DomName('HTMLProgressElement.value')
@DocsEditable()
- set value(num value) => _blink.BlinkHTMLProgressElement.instance.value_Setter_(unwrap_jso(this), value);
+ void set value(num value) => _blink.BlinkHTMLProgressElement.instance.value_Setter_(unwrap_jso(this), value);
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -30528,18 +26519,6 @@ 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));
@@ -30567,18 +26546,6 @@ 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
@@ -30599,25 +26566,10 @@ class PushManager extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory PushManager._() { throw new UnsupportedError("Not supported"); }
- static PushManager internalCreatePushManager() {
- return new PushManager._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory PushManager._internalWrap() {
- return new PushManager.internal_();
- }
-
- PushManager.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('PushManager.register')
@DocsEditable()
@Experimental() // untriaged
- Future register(String senderId) => wrap_jso(_blink.BlinkPushManager.instance.register_Callback_1_(unwrap_jso(this), senderId));
+ Future register(String senderId) => _blink.BlinkPushManager.instance.register_Callback_1_(unwrap_jso(this), senderId);
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -30634,21 +26586,6 @@ class PushRegistration extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory PushRegistration._() { throw new UnsupportedError("Not supported"); }
- static PushRegistration internalCreatePushRegistration() {
- return new PushRegistration._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory PushRegistration._internalWrap() {
- return new PushRegistration.internal_();
- }
-
- PushRegistration.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('PushRegistration.pushEndpoint')
@DocsEditable()
@Experimental() // untriaged
@@ -30676,18 +26613,6 @@ 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.
*
@@ -30701,7 +26626,7 @@ class QuoteElement extends HtmlElement {
@DomName('HTMLQuoteElement.cite')
@DocsEditable()
- set cite(String value) => _blink.BlinkHTMLQuoteElement.instance.cite_Setter_(unwrap_jso(this), value);
+ void set cite(String value) => _blink.BlinkHTMLQuoteElement.instance.cite_Setter_(unwrap_jso(this), value);
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -30754,21 +26679,6 @@ class Range extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory Range._() { throw new UnsupportedError("Not supported"); }
- static Range internalCreateRange() {
- return new Range._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory Range._internalWrap() {
- return new Range.internal_();
- }
-
- Range.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('Range.END_TO_END')
@DocsEditable()
static const int END_TO_END = 2;
@@ -30882,7 +26792,7 @@ class Range extends NativeFieldWrapperClass2 {
@DomName('Range.getClientRects')
@DocsEditable()
- List<Rectangle> getClientRects() => wrap_jso(_blink.BlinkRange.instance.getClientRects_Callback_0_(unwrap_jso(this)));
+ List<Rectangle> getClientRects() => _blink.BlinkRange.instance.getClientRects_Callback_0_(unwrap_jso(this));
@DomName('Range.insertNode')
@DocsEditable()
@@ -30952,25 +26862,10 @@ class ReadableStream extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory ReadableStream._() { throw new UnsupportedError("Not supported"); }
- static ReadableStream internalCreateReadableStream() {
- return new ReadableStream._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory ReadableStream._internalWrap() {
- return new ReadableStream.internal_();
- }
-
- ReadableStream.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('ReadableStream.closed')
@DocsEditable()
@Experimental() // untriaged
- Future get closed => wrap_jso(_blink.BlinkReadableStream.instance.closed_Getter_(unwrap_jso(this)));
+ Future get closed => _blink.BlinkReadableStream.instance.closed_Getter_(unwrap_jso(this));
@DomName('ReadableStream.state')
@DocsEditable()
@@ -30980,7 +26875,7 @@ class ReadableStream extends NativeFieldWrapperClass2 {
@DomName('ReadableStream.cancel')
@DocsEditable()
@Experimental() // untriaged
- Future cancel(Object reason) => wrap_jso(_blink.BlinkReadableStream.instance.cancel_Callback_1_(unwrap_jso(this), reason));
+ Future cancel(Object reason) => _blink.BlinkReadableStream.instance.cancel_Callback_1_(unwrap_jso(this), reason);
@DomName('ReadableStream.read')
@DocsEditable()
@@ -30990,7 +26885,7 @@ class ReadableStream extends NativeFieldWrapperClass2 {
@DomName('ReadableStream.wait')
@DocsEditable()
@Experimental() // untriaged
- Future wait() => wrap_jso(_blink.BlinkReadableStream.instance.wait_Callback_0_(unwrap_jso(this)));
+ Future wait() => _blink.BlinkReadableStream.instance.wait_Callback_0_(unwrap_jso(this));
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -31007,18 +26902,6 @@ 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
@@ -31049,18 +26932,6 @@ 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));
@@ -31121,25 +26992,13 @@ 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));
@DomName('RTCDataChannel.binaryType')
@DocsEditable()
- set binaryType(String value) => _blink.BlinkRTCDataChannel.instance.binaryType_Setter_(unwrap_jso(this), value);
+ void set binaryType(String value) => _blink.BlinkRTCDataChannel.instance.binaryType_Setter_(unwrap_jso(this), value);
@DomName('RTCDataChannel.bufferedAmount')
@DocsEditable()
@@ -31263,18 +27122,6 @@ 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)));
@@ -31305,18 +27152,6 @@ 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));
@@ -31371,18 +27206,6 @@ 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));
@@ -31407,32 +27230,16 @@ class RtcIceCandidate extends NativeFieldWrapperClass2 {
@DomName('RTCIceCandidate.RTCIceCandidate')
@DocsEditable()
factory RtcIceCandidate(Map dictionary) {
- var dictionary_1 = convertDartToNative_Dictionary(dictionary);
- return wrap_jso(_blink.BlinkRTCIceCandidate.instance.constructorCallback_1_(dictionary_1));
+ return _blink.BlinkRTCIceCandidate.instance.constructorCallback_1_(dictionary);
}
- static RtcIceCandidate internalCreateRtcIceCandidate() {
- return new RtcIceCandidate._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory RtcIceCandidate._internalWrap() {
- return new RtcIceCandidate.internal_();
- }
-
- RtcIceCandidate.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('RTCIceCandidate.candidate')
@DocsEditable()
String get candidate => _blink.BlinkRTCIceCandidate.instance.candidate_Getter_(unwrap_jso(this));
@DomName('RTCIceCandidate.candidate')
@DocsEditable()
- set candidate(String value) => _blink.BlinkRTCIceCandidate.instance.candidate_Setter_(unwrap_jso(this), value);
+ void set candidate(String value) => _blink.BlinkRTCIceCandidate.instance.candidate_Setter_(unwrap_jso(this), value);
@DomName('RTCIceCandidate.sdpMLineIndex')
@DocsEditable()
@@ -31440,7 +27247,7 @@ class RtcIceCandidate extends NativeFieldWrapperClass2 {
@DomName('RTCIceCandidate.sdpMLineIndex')
@DocsEditable()
- set sdpMLineIndex(int value) => _blink.BlinkRTCIceCandidate.instance.sdpMLineIndex_Setter_(unwrap_jso(this), value);
+ void set sdpMLineIndex(int value) => _blink.BlinkRTCIceCandidate.instance.sdpMLineIndex_Setter_(unwrap_jso(this), value);
@DomName('RTCIceCandidate.sdpMid')
@DocsEditable()
@@ -31448,7 +27255,7 @@ class RtcIceCandidate extends NativeFieldWrapperClass2 {
@DomName('RTCIceCandidate.sdpMid')
@DocsEditable()
- set sdpMid(String value) => _blink.BlinkRTCIceCandidate.instance.sdpMid_Setter_(unwrap_jso(this), value);
+ void set sdpMid(String value) => _blink.BlinkRTCIceCandidate.instance.sdpMid_Setter_(unwrap_jso(this), value);
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -31466,18 +27273,6 @@ 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)));
@@ -31598,26 +27393,11 @@ class RtcPeerConnection extends EventTarget {
@DocsEditable()
factory RtcPeerConnection(Map rtcConfiguration, [Map mediaConstraints]) {
if (mediaConstraints != null) {
- var rtcConfiguration_1 = convertDartToNative_Dictionary(rtcConfiguration);
- var mediaConstraints_2 = convertDartToNative_Dictionary(mediaConstraints);
- return wrap_jso(_blink.BlinkRTCPeerConnection.instance.constructorCallback_2_(rtcConfiguration_1, mediaConstraints_2));
+ return _blink.BlinkRTCPeerConnection.instance.constructorCallback_2_(rtcConfiguration, mediaConstraints);
}
- var rtcConfiguration_1 = convertDartToNative_Dictionary(rtcConfiguration);
- return wrap_jso(_blink.BlinkRTCPeerConnection.instance.constructorCallback_1_(rtcConfiguration_1));
- }
-
-
- static RtcPeerConnection internalCreateRtcPeerConnection() {
- return new RtcPeerConnection._internalWrap();
- }
-
- factory RtcPeerConnection._internalWrap() {
- return new RtcPeerConnection.internal_();
+ return _blink.BlinkRTCPeerConnection.instance.constructorCallback_1_(rtcConfiguration);
}
- RtcPeerConnection.internal_() : super.internal_();
-
-
@DomName('RTCPeerConnection.iceConnectionState')
@DocsEditable()
String get iceConnectionState => _blink.BlinkRTCPeerConnection.instance.iceConnectionState_Getter_(unwrap_jso(this));
@@ -31640,11 +27420,11 @@ class RtcPeerConnection extends EventTarget {
@DomName('RTCPeerConnection.addIceCandidate')
@DocsEditable()
- void addIceCandidate(RtcIceCandidate candidate, VoidCallback successCallback, _RtcErrorCallback failureCallback) => _blink.BlinkRTCPeerConnection.instance.addIceCandidate_Callback_3_(unwrap_jso(this), unwrap_jso(candidate), unwrap_jso(() => successCallback()), unwrap_jso((errorInformation) => failureCallback(errorInformation)));
+ void addIceCandidate(RtcIceCandidate candidate, VoidCallback successCallback, _RtcErrorCallback failureCallback) => _blink.BlinkRTCPeerConnection.instance.addIceCandidate_Callback_3_(unwrap_jso(this), unwrap_jso(candidate), unwrap_jso(successCallback), unwrap_jso(failureCallback));
void addStream(MediaStream stream, [Map mediaConstraints]) {
if (mediaConstraints != null) {
- _blink.BlinkRTCPeerConnection.instance.addStream_Callback_2_(unwrap_jso(this), unwrap_jso(stream), mediaConstraints != null ? new js.JsObject.jsify(mediaConstraints) : mediaConstraints);
+ _blink.BlinkRTCPeerConnection.instance.addStream_Callback_2_(unwrap_jso(this), unwrap_jso(stream), mediaConstraints);
return;
}
_blink.BlinkRTCPeerConnection.instance.addStream_Callback_1_(unwrap_jso(this), unwrap_jso(stream));
@@ -31657,44 +27437,44 @@ 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((sdp) => successCallback(wrap_jso(sdp))), unwrap_jso((errorInformation) => failureCallback(errorInformation)), mediaConstraints != null ? new js.JsObject.jsify(mediaConstraints) : mediaConstraints);
+ _blink.BlinkRTCPeerConnection.instance.createAnswer_Callback_3_(unwrap_jso(this), unwrap_jso(successCallback), unwrap_jso(failureCallback), mediaConstraints);
return;
}
- _blink.BlinkRTCPeerConnection.instance.createAnswer_Callback_2_(unwrap_jso(this), unwrap_jso((sdp) => successCallback(wrap_jso(sdp))), unwrap_jso((errorInformation) => failureCallback(errorInformation)));
+ _blink.BlinkRTCPeerConnection.instance.createAnswer_Callback_2_(unwrap_jso(this), unwrap_jso(successCallback), unwrap_jso(failureCallback));
return;
}
@DomName('RTCPeerConnection.createDTMFSender')
@DocsEditable()
- RtcDtmfSender createDtmfSender(MediaStreamTrack track) => wrap_jso(_blink.BlinkRTCPeerConnection.instance.createDTMFSender_Callback_1_(unwrap_jso(this), unwrap_jso(track)));
+ RtcDtmfSender createDtmfSender(MediaStreamTrack track) => _blink.BlinkRTCPeerConnection.instance.createDTMFSender_Callback_1_(unwrap_jso(this), unwrap_jso(track));
RtcDataChannel createDataChannel(String label, [Map options]) {
if (options != null) {
- return wrap_jso(_blink.BlinkRTCPeerConnection.instance.createDataChannel_Callback_2_(unwrap_jso(this), label, options != null ? new js.JsObject.jsify(options) : options));
+ return _blink.BlinkRTCPeerConnection.instance.createDataChannel_Callback_2_(unwrap_jso(this), label, options);
}
- return wrap_jso(_blink.BlinkRTCPeerConnection.instance.createDataChannel_Callback_1_(unwrap_jso(this), label));
+ 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((sdp) => successCallback(wrap_jso(sdp))), unwrap_jso((errorInformation) => failureCallback(errorInformation)), rtcOfferOptions != null ? new js.JsObject.jsify(rtcOfferOptions) : rtcOfferOptions);
+ _blink.BlinkRTCPeerConnection.instance.createOffer_Callback_3_(unwrap_jso(this), unwrap_jso(successCallback), unwrap_jso(failureCallback), rtcOfferOptions);
return;
}
- _blink.BlinkRTCPeerConnection.instance.createOffer_Callback_2_(unwrap_jso(this), unwrap_jso((sdp) => successCallback(wrap_jso(sdp))), unwrap_jso((errorInformation) => failureCallback(errorInformation)));
+ _blink.BlinkRTCPeerConnection.instance.createOffer_Callback_2_(unwrap_jso(this), unwrap_jso(successCallback), unwrap_jso(failureCallback));
return;
}
@DomName('RTCPeerConnection.getLocalStreams')
@DocsEditable()
- List<MediaStream> getLocalStreams() => wrap_jso(_blink.BlinkRTCPeerConnection.instance.getLocalStreams_Callback_0_(unwrap_jso(this)));
+ List<MediaStream> getLocalStreams() => _blink.BlinkRTCPeerConnection.instance.getLocalStreams_Callback_0_(unwrap_jso(this));
@DomName('RTCPeerConnection.getRemoteStreams')
@DocsEditable()
- List<MediaStream> getRemoteStreams() => wrap_jso(_blink.BlinkRTCPeerConnection.instance.getRemoteStreams_Callback_0_(unwrap_jso(this)));
+ List<MediaStream> getRemoteStreams() => _blink.BlinkRTCPeerConnection.instance.getRemoteStreams_Callback_0_(unwrap_jso(this));
@DomName('RTCPeerConnection.getStats')
@DocsEditable()
- void _getStats(RtcStatsCallback successCallback, MediaStreamTrack selector) => _blink.BlinkRTCPeerConnection.instance.getStats_Callback_2_(unwrap_jso(this), unwrap_jso((response) => successCallback(wrap_jso(response))), unwrap_jso(selector));
+ void _getStats(RtcStatsCallback successCallback, MediaStreamTrack selector) => _blink.BlinkRTCPeerConnection.instance.getStats_Callback_2_(unwrap_jso(this), unwrap_jso(successCallback), unwrap_jso(selector));
@DomName('RTCPeerConnection.getStreamById')
@DocsEditable()
@@ -31706,7 +27486,7 @@ class RtcPeerConnection extends EventTarget {
@DomName('RTCPeerConnection.setLocalDescription')
@DocsEditable()
- void _setLocalDescription(RtcSessionDescription description, [VoidCallback successCallback, _RtcErrorCallback failureCallback]) => _blink.BlinkRTCPeerConnection.instance.setLocalDescription_Callback_3_(unwrap_jso(this), unwrap_jso(description), unwrap_jso(() => successCallback()), unwrap_jso((errorInformation) => failureCallback(errorInformation)));
+ void _setLocalDescription(RtcSessionDescription description, [VoidCallback successCallback, _RtcErrorCallback failureCallback]) => _blink.BlinkRTCPeerConnection.instance.setLocalDescription_Callback_3_(unwrap_jso(this), unwrap_jso(description), unwrap_jso(successCallback), unwrap_jso(failureCallback));
Future setLocalDescription(RtcSessionDescription description) {
var completer = new Completer();
@@ -31718,7 +27498,7 @@ class RtcPeerConnection extends EventTarget {
@DomName('RTCPeerConnection.setRemoteDescription')
@DocsEditable()
- void _setRemoteDescription(RtcSessionDescription description, [VoidCallback successCallback, _RtcErrorCallback failureCallback]) => _blink.BlinkRTCPeerConnection.instance.setRemoteDescription_Callback_3_(unwrap_jso(this), unwrap_jso(description), unwrap_jso(() => successCallback()), unwrap_jso((errorInformation) => failureCallback(errorInformation)));
+ void _setRemoteDescription(RtcSessionDescription description, [VoidCallback successCallback, _RtcErrorCallback failureCallback]) => _blink.BlinkRTCPeerConnection.instance.setRemoteDescription_Callback_3_(unwrap_jso(this), unwrap_jso(description), unwrap_jso(successCallback), unwrap_jso(failureCallback));
Future setRemoteDescription(RtcSessionDescription description) {
var completer = new Completer();
@@ -31730,11 +27510,11 @@ class RtcPeerConnection extends EventTarget {
void updateIce([Map configuration, Map mediaConstraints]) {
if (mediaConstraints != null) {
- _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);
+ _blink.BlinkRTCPeerConnection.instance.updateIce_Callback_2_(unwrap_jso(this), configuration, mediaConstraints);
return;
}
if (configuration != null) {
- _blink.BlinkRTCPeerConnection.instance.updateIce_Callback_1_(unwrap_jso(this), configuration != null ? new js.JsObject.jsify(configuration) : configuration);
+ _blink.BlinkRTCPeerConnection.instance.updateIce_Callback_1_(unwrap_jso(this), configuration);
return;
}
_blink.BlinkRTCPeerConnection.instance.updateIce_Callback_0_(unwrap_jso(this));
@@ -31797,34 +27577,18 @@ class RtcSessionDescription extends NativeFieldWrapperClass2 {
@DocsEditable()
factory RtcSessionDescription([Map descriptionInitDict]) {
if (descriptionInitDict != null) {
- var descriptionInitDict_1 = convertDartToNative_Dictionary(descriptionInitDict);
- return wrap_jso(_blink.BlinkRTCSessionDescription.instance.constructorCallback_1_(descriptionInitDict_1));
+ return _blink.BlinkRTCSessionDescription.instance.constructorCallback_1_(descriptionInitDict);
}
- return wrap_jso(_blink.BlinkRTCSessionDescription.instance.constructorCallback_0_());
- }
-
- static RtcSessionDescription internalCreateRtcSessionDescription() {
- return new RtcSessionDescription._internalWrap();
+ return _blink.BlinkRTCSessionDescription.instance.constructorCallback_0_();
}
- js.JsObject blink_jsObject;
-
- factory RtcSessionDescription._internalWrap() {
- return new RtcSessionDescription.internal_();
- }
-
- RtcSessionDescription.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('RTCSessionDescription.sdp')
@DocsEditable()
String get sdp => _blink.BlinkRTCSessionDescription.instance.sdp_Getter_(unwrap_jso(this));
@DomName('RTCSessionDescription.sdp')
@DocsEditable()
- set sdp(String value) => _blink.BlinkRTCSessionDescription.instance.sdp_Setter_(unwrap_jso(this), value);
+ void set sdp(String value) => _blink.BlinkRTCSessionDescription.instance.sdp_Setter_(unwrap_jso(this), value);
@DomName('RTCSessionDescription.type')
@DocsEditable()
@@ -31832,7 +27596,7 @@ class RtcSessionDescription extends NativeFieldWrapperClass2 {
@DomName('RTCSessionDescription.type')
@DocsEditable()
- set type(String value) => _blink.BlinkRTCSessionDescription.instance.type_Setter_(unwrap_jso(this), value);
+ void set type(String value) => _blink.BlinkRTCSessionDescription.instance.type_Setter_(unwrap_jso(this), value);
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -31850,21 +27614,6 @@ class RtcStatsReport extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory RtcStatsReport._() { throw new UnsupportedError("Not supported"); }
- static RtcStatsReport internalCreateRtcStatsReport() {
- return new RtcStatsReport._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory RtcStatsReport._internalWrap() {
- return new RtcStatsReport.internal_();
- }
-
- RtcStatsReport.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('RTCStatsReport.id')
@DocsEditable()
String get id => _blink.BlinkRTCStatsReport.instance.id_Getter_(unwrap_jso(this));
@@ -31909,32 +27658,17 @@ class RtcStatsResponse extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory RtcStatsResponse._() { throw new UnsupportedError("Not supported"); }
- static RtcStatsResponse internalCreateRtcStatsResponse() {
- return new RtcStatsResponse._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory RtcStatsResponse._internalWrap() {
- return new RtcStatsResponse.internal_();
- }
-
- RtcStatsResponse.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('RTCStatsResponse.__getter__')
@DocsEditable()
- RtcStatsReport __getter__(String name) => wrap_jso(_blink.BlinkRTCStatsResponse.instance.$__getter___Callback_1_(unwrap_jso(this), name));
+ RtcStatsReport __getter__(String name) => _blink.BlinkRTCStatsResponse.instance.$__getter___Callback_1_(unwrap_jso(this), name);
@DomName('RTCStatsResponse.namedItem')
@DocsEditable()
- RtcStatsReport namedItem(String name) => wrap_jso(_blink.BlinkRTCStatsResponse.instance.namedItem_Callback_1_(unwrap_jso(this), name));
+ RtcStatsReport namedItem(String name) => _blink.BlinkRTCStatsResponse.instance.namedItem_Callback_1_(unwrap_jso(this), name);
@DomName('RTCStatsResponse.result')
@DocsEditable()
- List<RtcStatsReport> result() => wrap_jso(_blink.BlinkRTCStatsResponse.instance.result_Callback_0_(unwrap_jso(this)));
+ List<RtcStatsReport> result() => _blink.BlinkRTCStatsResponse.instance.result_Callback_0_(unwrap_jso(this));
}
// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
@@ -31955,21 +27689,6 @@ class Screen extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory Screen._() { throw new UnsupportedError("Not supported"); }
- static Screen internalCreateScreen() {
- return new Screen._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory Screen._internalWrap() {
- return new Screen.internal_();
- }
-
- Screen.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('Screen.availHeight')
@DocsEditable()
int get _availHeight => _blink.BlinkScreen.instance.availHeight_Getter_(unwrap_jso(this));
@@ -32028,18 +27747,6 @@ 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
@@ -32053,7 +27760,7 @@ class ScreenOrientation extends EventTarget {
@DomName('ScreenOrientation.lock')
@DocsEditable()
@Experimental() // untriaged
- Future lock(String orientation) => wrap_jso(_blink.BlinkScreenOrientation.instance.lock_Callback_1_(unwrap_jso(this), orientation));
+ Future lock(String orientation) => _blink.BlinkScreenOrientation.instance.lock_Callback_1_(unwrap_jso(this), orientation);
@DomName('ScreenOrientation.unlock')
@DocsEditable()
@@ -32082,18 +27789,6 @@ 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.
*
@@ -32107,7 +27802,7 @@ class ScriptElement extends HtmlElement {
@DomName('HTMLScriptElement.async')
@DocsEditable()
- set async(bool value) => _blink.BlinkHTMLScriptElement.instance.async_Setter_(unwrap_jso(this), value);
+ void set async(bool value) => _blink.BlinkHTMLScriptElement.instance.async_Setter_(unwrap_jso(this), value);
@DomName('HTMLScriptElement.charset')
@DocsEditable()
@@ -32115,7 +27810,7 @@ class ScriptElement extends HtmlElement {
@DomName('HTMLScriptElement.charset')
@DocsEditable()
- set charset(String value) => _blink.BlinkHTMLScriptElement.instance.charset_Setter_(unwrap_jso(this), value);
+ void set charset(String value) => _blink.BlinkHTMLScriptElement.instance.charset_Setter_(unwrap_jso(this), value);
@DomName('HTMLScriptElement.crossOrigin')
@DocsEditable()
@@ -32127,7 +27822,7 @@ class ScriptElement extends HtmlElement {
@DocsEditable()
// http://www.whatwg.org/specs/web-apps/current-work/multipage/scripting-1.html#attr-script-crossorigin
@Experimental()
- set crossOrigin(String value) => _blink.BlinkHTMLScriptElement.instance.crossOrigin_Setter_(unwrap_jso(this), value);
+ void set crossOrigin(String value) => _blink.BlinkHTMLScriptElement.instance.crossOrigin_Setter_(unwrap_jso(this), value);
@DomName('HTMLScriptElement.defer')
@DocsEditable()
@@ -32135,7 +27830,7 @@ class ScriptElement extends HtmlElement {
@DomName('HTMLScriptElement.defer')
@DocsEditable()
- set defer(bool value) => _blink.BlinkHTMLScriptElement.instance.defer_Setter_(unwrap_jso(this), value);
+ void set defer(bool value) => _blink.BlinkHTMLScriptElement.instance.defer_Setter_(unwrap_jso(this), value);
@DomName('HTMLScriptElement.integrity')
@DocsEditable()
@@ -32145,7 +27840,7 @@ class ScriptElement extends HtmlElement {
@DomName('HTMLScriptElement.integrity')
@DocsEditable()
@Experimental() // untriaged
- set integrity(String value) => _blink.BlinkHTMLScriptElement.instance.integrity_Setter_(unwrap_jso(this), value);
+ void set integrity(String value) => _blink.BlinkHTMLScriptElement.instance.integrity_Setter_(unwrap_jso(this), value);
@DomName('HTMLScriptElement.nonce')
@DocsEditable()
@@ -32157,7 +27852,7 @@ class ScriptElement extends HtmlElement {
@DocsEditable()
// https://dvcs.w3.org/hg/content-security-policy/raw-file/tip/csp-specification.dev.html#interaction-with-the-script-src-directive
@Experimental()
- set nonce(String value) => _blink.BlinkHTMLScriptElement.instance.nonce_Setter_(unwrap_jso(this), value);
+ void set nonce(String value) => _blink.BlinkHTMLScriptElement.instance.nonce_Setter_(unwrap_jso(this), value);
@DomName('HTMLScriptElement.src')
@DocsEditable()
@@ -32165,7 +27860,7 @@ class ScriptElement extends HtmlElement {
@DomName('HTMLScriptElement.src')
@DocsEditable()
- set src(String value) => _blink.BlinkHTMLScriptElement.instance.src_Setter_(unwrap_jso(this), value);
+ void set src(String value) => _blink.BlinkHTMLScriptElement.instance.src_Setter_(unwrap_jso(this), value);
@DomName('HTMLScriptElement.type')
@DocsEditable()
@@ -32173,7 +27868,7 @@ class ScriptElement extends HtmlElement {
@DomName('HTMLScriptElement.type')
@DocsEditable()
- set type(String value) => _blink.BlinkHTMLScriptElement.instance.type_Setter_(unwrap_jso(this), value);
+ void set type(String value) => _blink.BlinkHTMLScriptElement.instance.type_Setter_(unwrap_jso(this), value);
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -32191,18 +27886,6 @@ 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));
@@ -32258,18 +27941,6 @@ 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.
*
@@ -32283,7 +27954,7 @@ class SelectElement extends HtmlElement {
@DomName('HTMLSelectElement.autofocus')
@DocsEditable()
- set autofocus(bool value) => _blink.BlinkHTMLSelectElement.instance.autofocus_Setter_(unwrap_jso(this), value);
+ void set autofocus(bool value) => _blink.BlinkHTMLSelectElement.instance.autofocus_Setter_(unwrap_jso(this), value);
@DomName('HTMLSelectElement.disabled')
@DocsEditable()
@@ -32291,7 +27962,7 @@ class SelectElement extends HtmlElement {
@DomName('HTMLSelectElement.disabled')
@DocsEditable()
- set disabled(bool value) => _blink.BlinkHTMLSelectElement.instance.disabled_Setter_(unwrap_jso(this), value);
+ void set disabled(bool value) => _blink.BlinkHTMLSelectElement.instance.disabled_Setter_(unwrap_jso(this), value);
@DomName('HTMLSelectElement.form')
@DocsEditable()
@@ -32300,7 +27971,7 @@ class SelectElement extends HtmlElement {
@DomName('HTMLSelectElement.labels')
@DocsEditable()
@Unstable()
- List<Node> get labels => wrap_jso(_blink.BlinkHTMLSelectElement.instance.labels_Getter_(unwrap_jso(this)));
+ List<Node> get labels => wrap_jso_list(_blink.BlinkHTMLSelectElement.instance.labels_Getter_(unwrap_jso(this)));
@DomName('HTMLSelectElement.length')
@DocsEditable()
@@ -32308,7 +27979,7 @@ class SelectElement extends HtmlElement {
@DomName('HTMLSelectElement.length')
@DocsEditable()
- set length(int value) => _blink.BlinkHTMLSelectElement.instance.length_Setter_(unwrap_jso(this), value);
+ void set length(int value) => _blink.BlinkHTMLSelectElement.instance.length_Setter_(unwrap_jso(this), value);
@DomName('HTMLSelectElement.multiple')
@DocsEditable()
@@ -32316,7 +27987,7 @@ class SelectElement extends HtmlElement {
@DomName('HTMLSelectElement.multiple')
@DocsEditable()
- set multiple(bool value) => _blink.BlinkHTMLSelectElement.instance.multiple_Setter_(unwrap_jso(this), value);
+ void set multiple(bool value) => _blink.BlinkHTMLSelectElement.instance.multiple_Setter_(unwrap_jso(this), value);
@DomName('HTMLSelectElement.name')
@DocsEditable()
@@ -32324,7 +27995,7 @@ class SelectElement extends HtmlElement {
@DomName('HTMLSelectElement.name')
@DocsEditable()
- set name(String value) => _blink.BlinkHTMLSelectElement.instance.name_Setter_(unwrap_jso(this), value);
+ void set name(String value) => _blink.BlinkHTMLSelectElement.instance.name_Setter_(unwrap_jso(this), value);
@DomName('HTMLSelectElement.required')
@DocsEditable()
@@ -32332,7 +28003,7 @@ class SelectElement extends HtmlElement {
@DomName('HTMLSelectElement.required')
@DocsEditable()
- set required(bool value) => _blink.BlinkHTMLSelectElement.instance.required_Setter_(unwrap_jso(this), value);
+ void set required(bool value) => _blink.BlinkHTMLSelectElement.instance.required_Setter_(unwrap_jso(this), value);
@DomName('HTMLSelectElement.selectedIndex')
@DocsEditable()
@@ -32340,7 +28011,7 @@ class SelectElement extends HtmlElement {
@DomName('HTMLSelectElement.selectedIndex')
@DocsEditable()
- set selectedIndex(int value) => _blink.BlinkHTMLSelectElement.instance.selectedIndex_Setter_(unwrap_jso(this), value);
+ void set selectedIndex(int value) => _blink.BlinkHTMLSelectElement.instance.selectedIndex_Setter_(unwrap_jso(this), value);
@DomName('HTMLSelectElement.size')
@DocsEditable()
@@ -32348,7 +28019,7 @@ class SelectElement extends HtmlElement {
@DomName('HTMLSelectElement.size')
@DocsEditable()
- set size(int value) => _blink.BlinkHTMLSelectElement.instance.size_Setter_(unwrap_jso(this), value);
+ void set size(int value) => _blink.BlinkHTMLSelectElement.instance.size_Setter_(unwrap_jso(this), value);
@DomName('HTMLSelectElement.type')
@DocsEditable()
@@ -32368,7 +28039,7 @@ class SelectElement extends HtmlElement {
@DomName('HTMLSelectElement.value')
@DocsEditable()
- set value(String value) => _blink.BlinkHTMLSelectElement.instance.value_Setter_(unwrap_jso(this), value);
+ void set value(String value) => _blink.BlinkHTMLSelectElement.instance.value_Setter_(unwrap_jso(this), value);
@DomName('HTMLSelectElement.willValidate')
@DocsEditable()
@@ -32431,21 +28102,6 @@ class Selection extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory Selection._() { throw new UnsupportedError("Not supported"); }
- static Selection internalCreateSelection() {
- return new Selection._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory Selection._internalWrap() {
- return new Selection.internal_();
- }
-
- Selection.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('Selection.anchorNode')
@DocsEditable()
Node get anchorNode => wrap_jso(_blink.BlinkSelection.instance.anchorNode_Getter_(unwrap_jso(this)));
@@ -32585,21 +28241,6 @@ class ServiceWorkerClient extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory ServiceWorkerClient._() { throw new UnsupportedError("Not supported"); }
- static ServiceWorkerClient internalCreateServiceWorkerClient() {
- return new ServiceWorkerClient._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory ServiceWorkerClient._internalWrap() {
- return new ServiceWorkerClient.internal_();
- }
-
- ServiceWorkerClient.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('ServiceWorkerClient.id')
@DocsEditable()
@Experimental() // untriaged
@@ -32625,26 +28266,11 @@ class ServiceWorkerClients extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory ServiceWorkerClients._() { throw new UnsupportedError("Not supported"); }
- static ServiceWorkerClients internalCreateServiceWorkerClients() {
- return new ServiceWorkerClients._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory ServiceWorkerClients._internalWrap() {
- return new ServiceWorkerClients.internal_();
- }
-
- ServiceWorkerClients.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
Future getAll([Map options]) {
if (options != null) {
- return wrap_jso(_blink.BlinkServiceWorkerClients.instance.getAll_Callback_1_(unwrap_jso(this), options != null ? new js.JsObject.jsify(options) : options));
+ return _blink.BlinkServiceWorkerClients.instance.getAll_Callback_1_(unwrap_jso(this), options);
}
- return wrap_jso(_blink.BlinkServiceWorkerClients.instance.getAll_Callback_0_(unwrap_jso(this)));
+ return _blink.BlinkServiceWorkerClients.instance.getAll_Callback_0_(unwrap_jso(this));
}
}
@@ -32662,21 +28288,6 @@ class ServiceWorkerContainer extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory ServiceWorkerContainer._() { throw new UnsupportedError("Not supported"); }
- static ServiceWorkerContainer internalCreateServiceWorkerContainer() {
- return new ServiceWorkerContainer._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory ServiceWorkerContainer._internalWrap() {
- return new ServiceWorkerContainer.internal_();
- }
-
- ServiceWorkerContainer.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('ServiceWorkerContainer.controller')
@DocsEditable()
@Experimental() // untriaged
@@ -32685,20 +28296,20 @@ class ServiceWorkerContainer extends NativeFieldWrapperClass2 {
@DomName('ServiceWorkerContainer.ready')
@DocsEditable()
@Experimental() // untriaged
- Future get ready => wrap_jso(_blink.BlinkServiceWorkerContainer.instance.ready_Getter_(unwrap_jso(this)));
+ Future get ready => _blink.BlinkServiceWorkerContainer.instance.ready_Getter_(unwrap_jso(this));
Future getRegistration([String documentURL]) {
if (documentURL != null) {
- return wrap_jso(_blink.BlinkServiceWorkerContainer.instance.getRegistration_Callback_1_(unwrap_jso(this), documentURL));
+ return _blink.BlinkServiceWorkerContainer.instance.getRegistration_Callback_1_(unwrap_jso(this), documentURL);
}
- return wrap_jso(_blink.BlinkServiceWorkerContainer.instance.getRegistration_Callback_0_(unwrap_jso(this)));
+ return _blink.BlinkServiceWorkerContainer.instance.getRegistration_Callback_0_(unwrap_jso(this));
}
Future register(String url, [Map options]) {
if (options != null) {
- return wrap_jso(_blink.BlinkServiceWorkerContainer.instance.register_Callback_2_(unwrap_jso(this), url, options != null ? new js.JsObject.jsify(options) : options));
+ return _blink.BlinkServiceWorkerContainer.instance.register_Callback_2_(unwrap_jso(this), url, options);
}
- return wrap_jso(_blink.BlinkServiceWorkerContainer.instance.register_Callback_1_(unwrap_jso(this), url));
+ return _blink.BlinkServiceWorkerContainer.instance.register_Callback_1_(unwrap_jso(this), url);
}
}
@@ -32721,18 +28332,6 @@ 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
@@ -32755,16 +28354,16 @@ class ServiceWorkerGlobalScope extends WorkerGlobalScope {
Future _fetch(request, [Map requestInitDict]) {
if ((request is String || request == null) && requestInitDict == null) {
- return wrap_jso(_blink.BlinkServiceWorkerGlobalScope.instance.fetch_Callback_1_(unwrap_jso(this), unwrap_jso(request)));
+ 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 wrap_jso(_blink.BlinkServiceWorkerGlobalScope.instance.fetch_Callback_2_(unwrap_jso(this), unwrap_jso(request), requestInitDict != null ? new js.JsObject.jsify(requestInitDict) : requestInitDict));
+ return _blink.BlinkServiceWorkerGlobalScope.instance.fetch_Callback_2_(unwrap_jso(this), unwrap_jso(request), requestInitDict);
}
if ((request is _Request || request == null) && requestInitDict == null) {
- return wrap_jso(_blink.BlinkServiceWorkerGlobalScope.instance.fetch_Callback_1_(unwrap_jso(this), unwrap_jso(request)));
+ 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 wrap_jso(_blink.BlinkServiceWorkerGlobalScope.instance.fetch_Callback_2_(unwrap_jso(this), unwrap_jso(request), requestInitDict != null ? new js.JsObject.jsify(requestInitDict) : requestInitDict));
+ return _blink.BlinkServiceWorkerGlobalScope.instance.fetch_Callback_2_(unwrap_jso(this), unwrap_jso(request), requestInitDict);
}
throw new ArgumentError("Incorrect number or type of arguments");
}
@@ -32789,18 +28388,6 @@ 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
@@ -32824,7 +28411,7 @@ class ServiceWorkerRegistration extends EventTarget {
@DomName('ServiceWorkerRegistration.unregister')
@DocsEditable()
@Experimental() // untriaged
- Future unregister() => wrap_jso(_blink.BlinkServiceWorkerRegistration.instance.unregister_Callback_0_(unwrap_jso(this)));
+ Future unregister() => _blink.BlinkServiceWorkerRegistration.instance.unregister_Callback_0_(unwrap_jso(this));
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -32846,18 +28433,6 @@ 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.
*
@@ -32871,7 +28446,7 @@ class ShadowElement extends HtmlElement {
@DomName('HTMLShadowElement.getDistributedNodes')
@DocsEditable()
@Experimental() // untriaged
- List<Node> getDistributedNodes() => wrap_jso(_blink.BlinkHTMLShadowElement.instance.getDistributedNodes_Callback_0_(unwrap_jso(this)));
+ List<Node> getDistributedNodes() => wrap_jso_list(_blink.BlinkHTMLShadowElement.instance.getDistributedNodes_Callback_0_(unwrap_jso(this)));
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -32889,18 +28464,6 @@ 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)));
@@ -32916,7 +28479,7 @@ class ShadowRoot extends DocumentFragment {
@DomName('ShadowRoot.innerHTML')
@DocsEditable()
- set innerHtml(String value) => _blink.BlinkShadowRoot.instance.innerHTML_Setter_(unwrap_jso(this), value);
+ void set innerHtml(String value) => _blink.BlinkShadowRoot.instance.innerHTML_Setter_(unwrap_jso(this), value);
@DomName('ShadowRoot.olderShadowRoot')
@DocsEditable()
@@ -32926,7 +28489,7 @@ class ShadowRoot extends DocumentFragment {
@DomName('ShadowRoot.styleSheets')
@DocsEditable()
@Experimental() // untriaged
- List<StyleSheet> get styleSheets => wrap_jso(_blink.BlinkShadowRoot.instance.styleSheets_Getter_(unwrap_jso(this)));
+ List<StyleSheet> get styleSheets => wrap_jso_list(_blink.BlinkShadowRoot.instance.styleSheets_Getter_(unwrap_jso(this)));
@DomName('ShadowRoot.cloneNode')
@DocsEditable()
@@ -32942,11 +28505,11 @@ class ShadowRoot extends DocumentFragment {
@DomName('ShadowRoot.getElementsByClassName')
@DocsEditable()
- List<Node> getElementsByClassName(String className) => wrap_jso(_blink.BlinkShadowRoot.instance.getElementsByClassName_Callback_1_(unwrap_jso(this), className));
+ List<Node> getElementsByClassName(String className) => wrap_jso_list(_blink.BlinkShadowRoot.instance.getElementsByClassName_Callback_1_(unwrap_jso(this), className));
@DomName('ShadowRoot.getElementsByTagName')
@DocsEditable()
- List<Node> getElementsByTagName(String tagName) => wrap_jso(_blink.BlinkShadowRoot.instance.getElementsByTagName_Callback_1_(unwrap_jso(this), tagName));
+ List<Node> getElementsByTagName(String tagName) => wrap_jso_list(_blink.BlinkShadowRoot.instance.getElementsByTagName_Callback_1_(unwrap_jso(this), tagName));
@DomName('ShadowRoot.getSelection')
@DocsEditable()
@@ -32973,7 +28536,7 @@ Please remove them from your code.
}
@deprecated
- set resetStyleInheritance(bool value) {
+ void set resetStyleInheritance(bool value) {
_shadowRootDeprecationReport();
}
@@ -32985,7 +28548,7 @@ Please remove them from your code.
}
@deprecated
- set applyAuthorStyles(bool value) {
+ void set applyAuthorStyles(bool value) {
_shadowRootDeprecationReport();
}
}
@@ -33012,21 +28575,9 @@ class SharedWorker extends EventTarget implements AbstractWorker {
@DomName('SharedWorker.SharedWorker')
@DocsEditable()
factory SharedWorker(String scriptURL, [String name]) {
- return wrap_jso(_blink.BlinkSharedWorker.instance.constructorCallback_2_(scriptURL, name));
- }
-
-
- static SharedWorker internalCreateSharedWorker() {
- return new SharedWorker._internalWrap();
- }
-
- factory SharedWorker._internalWrap() {
- return new SharedWorker.internal_();
+ return _blink.BlinkSharedWorker.instance.constructorCallback_2_(scriptURL, name);
}
- SharedWorker.internal_() : super.internal_();
-
-
@DomName('SharedWorker.port')
@DocsEditable()
MessagePort get port => wrap_jso(_blink.BlinkSharedWorker.instance.port_Getter_(unwrap_jso(this)));
@@ -33034,7 +28585,7 @@ class SharedWorker extends EventTarget implements AbstractWorker {
@DomName('SharedWorker.workerStart')
@DocsEditable()
@Experimental() // untriaged
- num get workerStart => _blink.BlinkSharedWorker.instance.workerStart_Getter_(unwrap_jso(this));
+ double get workerStart => _blink.BlinkSharedWorker.instance.workerStart_Getter_(unwrap_jso(this));
@DomName('SharedWorker.onerror')
@DocsEditable()
@@ -33067,18 +28618,6 @@ 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
@@ -33106,18 +28645,6 @@ 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
@@ -33126,7 +28653,7 @@ class SourceBuffer extends EventTarget {
@DomName('SourceBuffer.appendWindowEnd')
@DocsEditable()
@Experimental() // untriaged
- set appendWindowEnd(num value) => _blink.BlinkSourceBuffer.instance.appendWindowEnd_Setter_(unwrap_jso(this), value);
+ void set appendWindowEnd(num value) => _blink.BlinkSourceBuffer.instance.appendWindowEnd_Setter_(unwrap_jso(this), value);
@DomName('SourceBuffer.appendWindowStart')
@DocsEditable()
@@ -33136,7 +28663,7 @@ class SourceBuffer extends EventTarget {
@DomName('SourceBuffer.appendWindowStart')
@DocsEditable()
@Experimental() // untriaged
- set appendWindowStart(num value) => _blink.BlinkSourceBuffer.instance.appendWindowStart_Setter_(unwrap_jso(this), value);
+ void set appendWindowStart(num value) => _blink.BlinkSourceBuffer.instance.appendWindowStart_Setter_(unwrap_jso(this), value);
@DomName('SourceBuffer.buffered')
@DocsEditable()
@@ -33150,7 +28677,7 @@ class SourceBuffer extends EventTarget {
@DomName('SourceBuffer.mode')
@DocsEditable()
@Experimental() // untriaged
- set mode(String value) => _blink.BlinkSourceBuffer.instance.mode_Setter_(unwrap_jso(this), value);
+ void set mode(String value) => _blink.BlinkSourceBuffer.instance.mode_Setter_(unwrap_jso(this), value);
@DomName('SourceBuffer.timestampOffset')
@DocsEditable()
@@ -33158,7 +28685,7 @@ class SourceBuffer extends EventTarget {
@DomName('SourceBuffer.timestampOffset')
@DocsEditable()
- set timestampOffset(num value) => _blink.BlinkSourceBuffer.instance.timestampOffset_Setter_(unwrap_jso(this), value);
+ void set timestampOffset(num value) => _blink.BlinkSourceBuffer.instance.timestampOffset_Setter_(unwrap_jso(this), value);
@DomName('SourceBuffer.updating')
@DocsEditable()
@@ -33209,18 +28736,6 @@ 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));
@@ -33232,7 +28747,7 @@ class SourceBufferList extends EventTarget with ListMixin<SourceBuffer>, Immutab
}
SourceBuffer _nativeIndexedGetter(int index) => wrap_jso(_blink.BlinkSourceBufferList.instance.item_Callback_1_(unwrap_jso(this), index));
-
+
void operator[]=(int index, SourceBuffer value) {
throw new UnsupportedError("Cannot assign element of immutable List.");
}
@@ -33240,7 +28755,7 @@ class SourceBufferList extends EventTarget with ListMixin<SourceBuffer>, Immutab
// SourceBuffer is the element type.
- set length(int value) {
+ void set length(int value) {
throw new UnsupportedError("Cannot resize immutable List.");
}
@@ -33292,18 +28807,6 @@ 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.
*
@@ -33319,7 +28822,7 @@ class SourceElement extends HtmlElement {
@DomName('HTMLSourceElement.integrity')
@DocsEditable()
@Experimental() // untriaged
- set integrity(String value) => _blink.BlinkHTMLSourceElement.instance.integrity_Setter_(unwrap_jso(this), value);
+ void set integrity(String value) => _blink.BlinkHTMLSourceElement.instance.integrity_Setter_(unwrap_jso(this), value);
@DomName('HTMLSourceElement.media')
@DocsEditable()
@@ -33327,7 +28830,7 @@ class SourceElement extends HtmlElement {
@DomName('HTMLSourceElement.media')
@DocsEditable()
- set media(String value) => _blink.BlinkHTMLSourceElement.instance.media_Setter_(unwrap_jso(this), value);
+ void set media(String value) => _blink.BlinkHTMLSourceElement.instance.media_Setter_(unwrap_jso(this), value);
@DomName('HTMLSourceElement.sizes')
@DocsEditable()
@@ -33337,7 +28840,7 @@ class SourceElement extends HtmlElement {
@DomName('HTMLSourceElement.sizes')
@DocsEditable()
@Experimental() // untriaged
- set sizes(String value) => _blink.BlinkHTMLSourceElement.instance.sizes_Setter_(unwrap_jso(this), value);
+ void set sizes(String value) => _blink.BlinkHTMLSourceElement.instance.sizes_Setter_(unwrap_jso(this), value);
@DomName('HTMLSourceElement.src')
@DocsEditable()
@@ -33345,7 +28848,7 @@ class SourceElement extends HtmlElement {
@DomName('HTMLSourceElement.src')
@DocsEditable()
- set src(String value) => _blink.BlinkHTMLSourceElement.instance.src_Setter_(unwrap_jso(this), value);
+ void set src(String value) => _blink.BlinkHTMLSourceElement.instance.src_Setter_(unwrap_jso(this), value);
@DomName('HTMLSourceElement.srcset')
@DocsEditable()
@@ -33355,7 +28858,7 @@ class SourceElement extends HtmlElement {
@DomName('HTMLSourceElement.srcset')
@DocsEditable()
@Experimental() // untriaged
- set srcset(String value) => _blink.BlinkHTMLSourceElement.instance.srcset_Setter_(unwrap_jso(this), value);
+ void set srcset(String value) => _blink.BlinkHTMLSourceElement.instance.srcset_Setter_(unwrap_jso(this), value);
@DomName('HTMLSourceElement.type')
@DocsEditable()
@@ -33363,7 +28866,7 @@ class SourceElement extends HtmlElement {
@DomName('HTMLSourceElement.type')
@DocsEditable()
- set type(String value) => _blink.BlinkHTMLSourceElement.instance.type_Setter_(unwrap_jso(this), value);
+ void set type(String value) => _blink.BlinkHTMLSourceElement.instance.type_Setter_(unwrap_jso(this), value);
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -33380,21 +28883,6 @@ class SourceInfo extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory SourceInfo._() { throw new UnsupportedError("Not supported"); }
- static SourceInfo internalCreateSourceInfo() {
- return new SourceInfo._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory SourceInfo._internalWrap() {
- return new SourceInfo.internal_();
- }
-
- SourceInfo.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('SourceInfo.facing')
@DocsEditable()
@Experimental() // untriaged
@@ -33432,18 +28920,6 @@ 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.
*
@@ -33470,31 +28946,16 @@ class SpeechGrammar extends NativeFieldWrapperClass2 {
@DomName('SpeechGrammar.SpeechGrammar')
@DocsEditable()
factory SpeechGrammar() {
- return wrap_jso(_blink.BlinkSpeechGrammar.instance.constructorCallback_0_());
+ return _blink.BlinkSpeechGrammar.instance.constructorCallback_0_();
}
- static SpeechGrammar internalCreateSpeechGrammar() {
- return new SpeechGrammar._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory SpeechGrammar._internalWrap() {
- return new SpeechGrammar.internal_();
- }
-
- SpeechGrammar.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('SpeechGrammar.src')
@DocsEditable()
String get src => _blink.BlinkSpeechGrammar.instance.src_Getter_(unwrap_jso(this));
@DomName('SpeechGrammar.src')
@DocsEditable()
- set src(String value) => _blink.BlinkSpeechGrammar.instance.src_Setter_(unwrap_jso(this), value);
+ void set src(String value) => _blink.BlinkSpeechGrammar.instance.src_Setter_(unwrap_jso(this), value);
@DomName('SpeechGrammar.weight')
@DocsEditable()
@@ -33502,7 +28963,7 @@ class SpeechGrammar extends NativeFieldWrapperClass2 {
@DomName('SpeechGrammar.weight')
@DocsEditable()
- set weight(num value) => _blink.BlinkSpeechGrammar.instance.weight_Setter_(unwrap_jso(this), value);
+ void set weight(num value) => _blink.BlinkSpeechGrammar.instance.weight_Setter_(unwrap_jso(this), value);
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -33516,31 +28977,16 @@ class SpeechGrammar extends NativeFieldWrapperClass2 {
@DomName('SpeechGrammarList')
// https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#dfn-speechgrammarlist
@Experimental()
-class SpeechGrammarList extends JsoNativeFieldWrapper with ListMixin<SpeechGrammar>, ImmutableListMixin<SpeechGrammar> implements List<SpeechGrammar> {
+class SpeechGrammarList extends NativeFieldWrapperClass2 with ListMixin<SpeechGrammar>, ImmutableListMixin<SpeechGrammar> implements List<SpeechGrammar> {
// To suppress missing implicit constructor warnings.
factory SpeechGrammarList._() { throw new UnsupportedError("Not supported"); }
@DomName('SpeechGrammarList.SpeechGrammarList')
@DocsEditable()
factory SpeechGrammarList() {
- return wrap_jso(_blink.BlinkSpeechGrammarList.instance.constructorCallback_0_());
- }
-
- static SpeechGrammarList internalCreateSpeechGrammarList() {
- return new SpeechGrammarList._internalWrap();
+ return _blink.BlinkSpeechGrammarList.instance.constructorCallback_0_();
}
- js.JsObject blink_jsObject;
-
- factory SpeechGrammarList._internalWrap() {
- return new SpeechGrammarList.internal_();
- }
-
- SpeechGrammarList.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('SpeechGrammarList.length')
@DocsEditable()
int get length => _blink.BlinkSpeechGrammarList.instance.length_Getter_(unwrap_jso(this));
@@ -33552,7 +28998,7 @@ class SpeechGrammarList extends JsoNativeFieldWrapper with ListMixin<SpeechGramm
}
SpeechGrammar _nativeIndexedGetter(int index) => wrap_jso(_blink.BlinkSpeechGrammarList.instance.item_Callback_1_(unwrap_jso(this), index));
-
+
void operator[]=(int index, SpeechGrammar value) {
throw new UnsupportedError("Cannot assign element of immutable List.");
}
@@ -33560,7 +29006,7 @@ class SpeechGrammarList extends JsoNativeFieldWrapper with ListMixin<SpeechGramm
// SpeechGrammar is the element type.
- set length(int value) {
+ void set length(int value) {
throw new UnsupportedError("Cannot resize immutable List.");
}
@@ -33743,21 +29189,9 @@ class SpeechRecognition extends EventTarget {
@DomName('SpeechRecognition.SpeechRecognition')
@DocsEditable()
factory SpeechRecognition() {
- return wrap_jso(_blink.BlinkSpeechRecognition.instance.constructorCallback_0_());
- }
-
-
- static SpeechRecognition internalCreateSpeechRecognition() {
- return new SpeechRecognition._internalWrap();
- }
-
- factory SpeechRecognition._internalWrap() {
- return new SpeechRecognition.internal_();
+ return _blink.BlinkSpeechRecognition.instance.constructorCallback_0_();
}
- SpeechRecognition.internal_() : super.internal_();
-
-
/// Checks if this type is supported on the current platform.
static bool get supported => true;
@@ -33767,7 +29201,7 @@ class SpeechRecognition extends EventTarget {
@DomName('SpeechRecognition.continuous')
@DocsEditable()
- set continuous(bool value) => _blink.BlinkSpeechRecognition.instance.continuous_Setter_(unwrap_jso(this), value);
+ void set continuous(bool value) => _blink.BlinkSpeechRecognition.instance.continuous_Setter_(unwrap_jso(this), value);
@DomName('SpeechRecognition.grammars')
@DocsEditable()
@@ -33775,7 +29209,7 @@ class SpeechRecognition extends EventTarget {
@DomName('SpeechRecognition.grammars')
@DocsEditable()
- set grammars(SpeechGrammarList value) => _blink.BlinkSpeechRecognition.instance.grammars_Setter_(unwrap_jso(this), unwrap_jso(value));
+ void set grammars(SpeechGrammarList value) => _blink.BlinkSpeechRecognition.instance.grammars_Setter_(unwrap_jso(this), unwrap_jso(value));
@DomName('SpeechRecognition.interimResults')
@DocsEditable()
@@ -33783,7 +29217,7 @@ class SpeechRecognition extends EventTarget {
@DomName('SpeechRecognition.interimResults')
@DocsEditable()
- set interimResults(bool value) => _blink.BlinkSpeechRecognition.instance.interimResults_Setter_(unwrap_jso(this), value);
+ void set interimResults(bool value) => _blink.BlinkSpeechRecognition.instance.interimResults_Setter_(unwrap_jso(this), value);
@DomName('SpeechRecognition.lang')
@DocsEditable()
@@ -33791,7 +29225,7 @@ class SpeechRecognition extends EventTarget {
@DomName('SpeechRecognition.lang')
@DocsEditable()
- set lang(String value) => _blink.BlinkSpeechRecognition.instance.lang_Setter_(unwrap_jso(this), value);
+ void set lang(String value) => _blink.BlinkSpeechRecognition.instance.lang_Setter_(unwrap_jso(this), value);
@DomName('SpeechRecognition.maxAlternatives')
@DocsEditable()
@@ -33799,7 +29233,7 @@ class SpeechRecognition extends EventTarget {
@DomName('SpeechRecognition.maxAlternatives')
@DocsEditable()
- set maxAlternatives(int value) => _blink.BlinkSpeechRecognition.instance.maxAlternatives_Setter_(unwrap_jso(this), value);
+ void set maxAlternatives(int value) => _blink.BlinkSpeechRecognition.instance.maxAlternatives_Setter_(unwrap_jso(this), value);
@DomName('SpeechRecognition.abort')
@DocsEditable()
@@ -33885,24 +29319,9 @@ class SpeechRecognitionAlternative extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory SpeechRecognitionAlternative._() { throw new UnsupportedError("Not supported"); }
- static SpeechRecognitionAlternative internalCreateSpeechRecognitionAlternative() {
- return new SpeechRecognitionAlternative._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory SpeechRecognitionAlternative._internalWrap() {
- return new SpeechRecognitionAlternative.internal_();
- }
-
- SpeechRecognitionAlternative.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('SpeechRecognitionAlternative.confidence')
@DocsEditable()
- num get confidence => _blink.BlinkSpeechRecognitionAlternative.instance.confidence_Getter_(unwrap_jso(this));
+ double get confidence => _blink.BlinkSpeechRecognitionAlternative.instance.confidence_Getter_(unwrap_jso(this));
@DomName('SpeechRecognitionAlternative.transcript')
@DocsEditable()
@@ -33925,18 +29344,6 @@ 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));
@@ -33962,18 +29369,6 @@ 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)));
@@ -33988,7 +29383,7 @@ class SpeechRecognitionEvent extends Event {
@DomName('SpeechRecognitionEvent.results')
@DocsEditable()
- List<SpeechRecognitionResult> get results => wrap_jso(_blink.BlinkSpeechRecognitionEvent.instance.results_Getter_(unwrap_jso(this)));
+ List<SpeechRecognitionResult> get results => wrap_jso_list(_blink.BlinkSpeechRecognitionEvent.instance.results_Getter_(unwrap_jso(this)));
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -34007,21 +29402,6 @@ class SpeechRecognitionResult extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory SpeechRecognitionResult._() { throw new UnsupportedError("Not supported"); }
- static SpeechRecognitionResult internalCreateSpeechRecognitionResult() {
- return new SpeechRecognitionResult._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory SpeechRecognitionResult._internalWrap() {
- return new SpeechRecognitionResult.internal_();
- }
-
- SpeechRecognitionResult.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('SpeechRecognitionResult.isFinal')
@DocsEditable()
bool get isFinal => _blink.BlinkSpeechRecognitionResult.instance.isFinal_Getter_(unwrap_jso(this));
@@ -34050,18 +29430,6 @@ 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));
@@ -34080,7 +29448,7 @@ class SpeechSynthesis extends EventTarget {
@DomName('SpeechSynthesis.getVoices')
@DocsEditable()
- List<SpeechSynthesisVoice> getVoices() => wrap_jso(_blink.BlinkSpeechSynthesis.instance.getVoices_Callback_0_(unwrap_jso(this)));
+ List<SpeechSynthesisVoice> getVoices() => _blink.BlinkSpeechSynthesis.instance.getVoices_Callback_0_(unwrap_jso(this));
@DomName('SpeechSynthesis.pause')
@DocsEditable()
@@ -34110,25 +29478,13 @@ 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));
@DomName('SpeechSynthesisEvent.elapsedTime')
@DocsEditable()
- num get elapsedTime => _blink.BlinkSpeechSynthesisEvent.instance.elapsedTime_Getter_(unwrap_jso(this));
+ double get elapsedTime => _blink.BlinkSpeechSynthesisEvent.instance.elapsedTime_Getter_(unwrap_jso(this));
@DomName('SpeechSynthesisEvent.name')
@DocsEditable()
@@ -34223,28 +29579,16 @@ class SpeechSynthesisUtterance extends EventTarget {
@DomName('SpeechSynthesisUtterance.SpeechSynthesisUtterance')
@DocsEditable()
factory SpeechSynthesisUtterance([String text]) {
- return wrap_jso(_blink.BlinkSpeechSynthesisUtterance.instance.constructorCallback_1_(text));
- }
-
-
- static SpeechSynthesisUtterance internalCreateSpeechSynthesisUtterance() {
- return new SpeechSynthesisUtterance._internalWrap();
- }
-
- factory SpeechSynthesisUtterance._internalWrap() {
- return new SpeechSynthesisUtterance.internal_();
+ return _blink.BlinkSpeechSynthesisUtterance.instance.constructorCallback_1_(text);
}
- SpeechSynthesisUtterance.internal_() : super.internal_();
-
-
@DomName('SpeechSynthesisUtterance.lang')
@DocsEditable()
String get lang => _blink.BlinkSpeechSynthesisUtterance.instance.lang_Getter_(unwrap_jso(this));
@DomName('SpeechSynthesisUtterance.lang')
@DocsEditable()
- set lang(String value) => _blink.BlinkSpeechSynthesisUtterance.instance.lang_Setter_(unwrap_jso(this), value);
+ void set lang(String value) => _blink.BlinkSpeechSynthesisUtterance.instance.lang_Setter_(unwrap_jso(this), value);
@DomName('SpeechSynthesisUtterance.pitch')
@DocsEditable()
@@ -34252,7 +29596,7 @@ class SpeechSynthesisUtterance extends EventTarget {
@DomName('SpeechSynthesisUtterance.pitch')
@DocsEditable()
- set pitch(num value) => _blink.BlinkSpeechSynthesisUtterance.instance.pitch_Setter_(unwrap_jso(this), value);
+ void set pitch(num value) => _blink.BlinkSpeechSynthesisUtterance.instance.pitch_Setter_(unwrap_jso(this), value);
@DomName('SpeechSynthesisUtterance.rate')
@DocsEditable()
@@ -34260,7 +29604,7 @@ class SpeechSynthesisUtterance extends EventTarget {
@DomName('SpeechSynthesisUtterance.rate')
@DocsEditable()
- set rate(num value) => _blink.BlinkSpeechSynthesisUtterance.instance.rate_Setter_(unwrap_jso(this), value);
+ void set rate(num value) => _blink.BlinkSpeechSynthesisUtterance.instance.rate_Setter_(unwrap_jso(this), value);
@DomName('SpeechSynthesisUtterance.text')
@DocsEditable()
@@ -34268,7 +29612,7 @@ class SpeechSynthesisUtterance extends EventTarget {
@DomName('SpeechSynthesisUtterance.text')
@DocsEditable()
- set text(String value) => _blink.BlinkSpeechSynthesisUtterance.instance.text_Setter_(unwrap_jso(this), value);
+ void set text(String value) => _blink.BlinkSpeechSynthesisUtterance.instance.text_Setter_(unwrap_jso(this), value);
@DomName('SpeechSynthesisUtterance.voice')
@DocsEditable()
@@ -34276,7 +29620,7 @@ class SpeechSynthesisUtterance extends EventTarget {
@DomName('SpeechSynthesisUtterance.voice')
@DocsEditable()
- set voice(SpeechSynthesisVoice value) => _blink.BlinkSpeechSynthesisUtterance.instance.voice_Setter_(unwrap_jso(this), unwrap_jso(value));
+ void set voice(SpeechSynthesisVoice value) => _blink.BlinkSpeechSynthesisUtterance.instance.voice_Setter_(unwrap_jso(this), unwrap_jso(value));
@DomName('SpeechSynthesisUtterance.volume')
@DocsEditable()
@@ -34284,7 +29628,7 @@ class SpeechSynthesisUtterance extends EventTarget {
@DomName('SpeechSynthesisUtterance.volume')
@DocsEditable()
- set volume(num value) => _blink.BlinkSpeechSynthesisUtterance.instance.volume_Setter_(unwrap_jso(this), value);
+ void set volume(num value) => _blink.BlinkSpeechSynthesisUtterance.instance.volume_Setter_(unwrap_jso(this), value);
/// Stream of `boundary` events handled by this [SpeechSynthesisUtterance].
@DomName('SpeechSynthesisUtterance.onboundary')
@@ -34337,21 +29681,6 @@ class SpeechSynthesisVoice extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory SpeechSynthesisVoice._() { throw new UnsupportedError("Not supported"); }
- static SpeechSynthesisVoice internalCreateSpeechSynthesisVoice() {
- return new SpeechSynthesisVoice._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory SpeechSynthesisVoice._internalWrap() {
- return new SpeechSynthesisVoice.internal_();
- }
-
- SpeechSynthesisVoice.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('SpeechSynthesisVoice.default')
@DocsEditable()
bool get defaultValue => _blink.BlinkSpeechSynthesisVoice.instance.default_Getter_(unwrap_jso(this));
@@ -34463,21 +29792,6 @@ class Storage extends NativeFieldWrapperClass2
// To suppress missing implicit constructor warnings.
factory Storage._() { throw new UnsupportedError("Not supported"); }
- static Storage internalCreateStorage() {
- return new Storage._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory Storage._internalWrap() {
- return new Storage.internal_();
- }
-
- Storage.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('Storage.length')
@DocsEditable()
int get _length => _blink.BlinkStorage.instance.length_Getter_(unwrap_jso(this));
@@ -34568,18 +29882,6 @@ 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));
@@ -34620,21 +29922,6 @@ class StorageInfo extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory StorageInfo._() { throw new UnsupportedError("Not supported"); }
- static StorageInfo internalCreateStorageInfo() {
- return new StorageInfo._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory StorageInfo._internalWrap() {
- return new StorageInfo.internal_();
- }
-
- StorageInfo.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('StorageInfo.quota')
@DocsEditable()
@Experimental() // untriaged
@@ -34661,21 +29948,6 @@ class StorageQuota extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory StorageQuota._() { throw new UnsupportedError("Not supported"); }
- static StorageQuota internalCreateStorageQuota() {
- return new StorageQuota._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory StorageQuota._internalWrap() {
- return new StorageQuota.internal_();
- }
-
- StorageQuota.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('StorageQuota.supportedTypes')
@DocsEditable()
@Experimental() // untriaged
@@ -34684,12 +29956,12 @@ class StorageQuota extends NativeFieldWrapperClass2 {
@DomName('StorageQuota.queryInfo')
@DocsEditable()
@Experimental() // untriaged
- Future queryInfo(String type) => wrap_jso(_blink.BlinkStorageQuota.instance.queryInfo_Callback_1_(unwrap_jso(this), type));
+ Future queryInfo(String type) => _blink.BlinkStorageQuota.instance.queryInfo_Callback_1_(unwrap_jso(this), type);
@DomName('StorageQuota.requestPersistentQuota')
@DocsEditable()
@Experimental() // untriaged
- Future requestPersistentQuota(int newQuota) => wrap_jso(_blink.BlinkStorageQuota.instance.requestPersistentQuota_Callback_1_(unwrap_jso(this), newQuota));
+ Future requestPersistentQuota(int newQuota) => _blink.BlinkStorageQuota.instance.requestPersistentQuota_Callback_1_(unwrap_jso(this), newQuota);
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -34741,18 +30013,6 @@ 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.
*
@@ -34766,7 +30026,7 @@ class StyleElement extends HtmlElement {
@DomName('HTMLStyleElement.disabled')
@DocsEditable()
- set disabled(bool value) => _blink.BlinkHTMLStyleElement.instance.disabled_Setter_(unwrap_jso(this), value);
+ void set disabled(bool value) => _blink.BlinkHTMLStyleElement.instance.disabled_Setter_(unwrap_jso(this), value);
@DomName('HTMLStyleElement.media')
@DocsEditable()
@@ -34774,7 +30034,7 @@ class StyleElement extends HtmlElement {
@DomName('HTMLStyleElement.media')
@DocsEditable()
- set media(String value) => _blink.BlinkHTMLStyleElement.instance.media_Setter_(unwrap_jso(this), value);
+ void set media(String value) => _blink.BlinkHTMLStyleElement.instance.media_Setter_(unwrap_jso(this), value);
@DomName('HTMLStyleElement.sheet')
@DocsEditable()
@@ -34786,7 +30046,7 @@ class StyleElement extends HtmlElement {
@DomName('HTMLStyleElement.type')
@DocsEditable()
- set type(String value) => _blink.BlinkHTMLStyleElement.instance.type_Setter_(unwrap_jso(this), value);
+ void set type(String value) => _blink.BlinkHTMLStyleElement.instance.type_Setter_(unwrap_jso(this), value);
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -34804,21 +30064,6 @@ class StyleMedia extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory StyleMedia._() { throw new UnsupportedError("Not supported"); }
- static StyleMedia internalCreateStyleMedia() {
- return new StyleMedia._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory StyleMedia._internalWrap() {
- return new StyleMedia.internal_();
- }
-
- StyleMedia.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('StyleMedia.type')
@DocsEditable()
String get type => _blink.BlinkStyleMedia.instance.type_Getter_(unwrap_jso(this));
@@ -34841,28 +30086,13 @@ class StyleSheet extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory StyleSheet._() { throw new UnsupportedError("Not supported"); }
- static StyleSheet internalCreateStyleSheet() {
- return new StyleSheet._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory StyleSheet._internalWrap() {
- return new StyleSheet.internal_();
- }
-
- StyleSheet.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('StyleSheet.disabled')
@DocsEditable()
bool get disabled => _blink.BlinkStyleSheet.instance.disabled_Getter_(unwrap_jso(this));
@DomName('StyleSheet.disabled')
@DocsEditable()
- set disabled(bool value) => _blink.BlinkStyleSheet.instance.disabled_Setter_(unwrap_jso(this), value);
+ void set disabled(bool value) => _blink.BlinkStyleSheet.instance.disabled_Setter_(unwrap_jso(this), value);
@DomName('StyleSheet.href')
@DocsEditable()
@@ -34905,18 +30135,6 @@ 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.
*
@@ -34941,18 +30159,6 @@ 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.
*
@@ -34970,7 +30176,7 @@ class TableCellElement extends HtmlElement {
@DomName('HTMLTableCellElement.colSpan')
@DocsEditable()
- set colSpan(int value) => _blink.BlinkHTMLTableCellElement.instance.colSpan_Setter_(unwrap_jso(this), value);
+ void set colSpan(int value) => _blink.BlinkHTMLTableCellElement.instance.colSpan_Setter_(unwrap_jso(this), value);
@DomName('HTMLTableCellElement.headers')
@DocsEditable()
@@ -34978,7 +30184,7 @@ class TableCellElement extends HtmlElement {
@DomName('HTMLTableCellElement.headers')
@DocsEditable()
- set headers(String value) => _blink.BlinkHTMLTableCellElement.instance.headers_Setter_(unwrap_jso(this), value);
+ void set headers(String value) => _blink.BlinkHTMLTableCellElement.instance.headers_Setter_(unwrap_jso(this), value);
@DomName('HTMLTableCellElement.rowSpan')
@DocsEditable()
@@ -34986,7 +30192,7 @@ class TableCellElement extends HtmlElement {
@DomName('HTMLTableCellElement.rowSpan')
@DocsEditable()
- set rowSpan(int value) => _blink.BlinkHTMLTableCellElement.instance.rowSpan_Setter_(unwrap_jso(this), value);
+ void set rowSpan(int value) => _blink.BlinkHTMLTableCellElement.instance.rowSpan_Setter_(unwrap_jso(this), value);
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -35005,18 +30211,6 @@ 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.
*
@@ -35030,7 +30224,7 @@ class TableColElement extends HtmlElement {
@DomName('HTMLTableColElement.span')
@DocsEditable()
- set span(int value) => _blink.BlinkHTMLTableColElement.instance.span_Setter_(unwrap_jso(this), value);
+ void set span(int value) => _blink.BlinkHTMLTableColElement.instance.span_Setter_(unwrap_jso(this), value);
}
// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
@@ -35067,18 +30261,6 @@ 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.
*
@@ -35092,15 +30274,15 @@ class TableElement extends HtmlElement {
@DomName('HTMLTableElement.caption')
@DocsEditable()
- set caption(TableCaptionElement value) => _blink.BlinkHTMLTableElement.instance.caption_Setter_(unwrap_jso(this), unwrap_jso(value));
+ void set caption(TableCaptionElement value) => _blink.BlinkHTMLTableElement.instance.caption_Setter_(unwrap_jso(this), unwrap_jso(value));
@DomName('HTMLTableElement.rows')
@DocsEditable()
- List<Node> get _rows => wrap_jso(_blink.BlinkHTMLTableElement.instance.rows_Getter_(unwrap_jso(this)));
+ List<Node> get _rows => wrap_jso_list(_blink.BlinkHTMLTableElement.instance.rows_Getter_(unwrap_jso(this)));
@DomName('HTMLTableElement.tBodies')
@DocsEditable()
- List<Node> get _tBodies => wrap_jso(_blink.BlinkHTMLTableElement.instance.tBodies_Getter_(unwrap_jso(this)));
+ List<Node> get _tBodies => wrap_jso_list(_blink.BlinkHTMLTableElement.instance.tBodies_Getter_(unwrap_jso(this)));
@DomName('HTMLTableElement.tFoot')
@DocsEditable()
@@ -35108,7 +30290,7 @@ class TableElement extends HtmlElement {
@DomName('HTMLTableElement.tFoot')
@DocsEditable()
- set tFoot(TableSectionElement value) => _blink.BlinkHTMLTableElement.instance.tFoot_Setter_(unwrap_jso(this), unwrap_jso(value));
+ void set tFoot(TableSectionElement value) => _blink.BlinkHTMLTableElement.instance.tFoot_Setter_(unwrap_jso(this), unwrap_jso(value));
@DomName('HTMLTableElement.tHead')
@DocsEditable()
@@ -35116,7 +30298,7 @@ class TableElement extends HtmlElement {
@DomName('HTMLTableElement.tHead')
@DocsEditable()
- set tHead(TableSectionElement value) => _blink.BlinkHTMLTableElement.instance.tHead_Setter_(unwrap_jso(this), unwrap_jso(value));
+ void set tHead(TableSectionElement value) => _blink.BlinkHTMLTableElement.instance.tHead_Setter_(unwrap_jso(this), unwrap_jso(value));
@DomName('HTMLTableElement.createCaption')
@DocsEditable()
@@ -35152,9 +30334,9 @@ class TableElement extends HtmlElement {
HtmlElement _insertRow([int index]) {
if (index != null) {
- return wrap_jso(_blink.BlinkHTMLTableElement.instance.insertRow_Callback_1_(unwrap_jso(this), index));
+ return _blink.BlinkHTMLTableElement.instance.insertRow_Callback_1_(unwrap_jso(this), index);
}
- return wrap_jso(_blink.BlinkHTMLTableElement.instance.insertRow_Callback_0_(unwrap_jso(this)));
+ return _blink.BlinkHTMLTableElement.instance.insertRow_Callback_0_(unwrap_jso(this));
}
}
// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
@@ -35183,18 +30365,6 @@ 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.
*
@@ -35204,7 +30374,7 @@ class TableRowElement extends HtmlElement {
@DomName('HTMLTableRowElement.cells')
@DocsEditable()
- List<Node> get _cells => wrap_jso(_blink.BlinkHTMLTableRowElement.instance.cells_Getter_(unwrap_jso(this)));
+ List<Node> get _cells => wrap_jso_list(_blink.BlinkHTMLTableRowElement.instance.cells_Getter_(unwrap_jso(this)));
@DomName('HTMLTableRowElement.rowIndex')
@DocsEditable()
@@ -35220,9 +30390,9 @@ class TableRowElement extends HtmlElement {
HtmlElement _insertCell([int index]) {
if (index != null) {
- return wrap_jso(_blink.BlinkHTMLTableRowElement.instance.insertCell_Callback_1_(unwrap_jso(this), index));
+ return _blink.BlinkHTMLTableRowElement.instance.insertCell_Callback_1_(unwrap_jso(this), index);
}
- return wrap_jso(_blink.BlinkHTMLTableRowElement.instance.insertCell_Callback_0_(unwrap_jso(this)));
+ return _blink.BlinkHTMLTableRowElement.instance.insertCell_Callback_0_(unwrap_jso(this));
}
}
// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
@@ -35247,18 +30417,6 @@ 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.
*
@@ -35268,7 +30426,7 @@ class TableSectionElement extends HtmlElement {
@DomName('HTMLTableSectionElement.rows')
@DocsEditable()
- List<Node> get _rows => wrap_jso(_blink.BlinkHTMLTableSectionElement.instance.rows_Getter_(unwrap_jso(this)));
+ List<Node> get _rows => wrap_jso_list(_blink.BlinkHTMLTableSectionElement.instance.rows_Getter_(unwrap_jso(this)));
@DomName('HTMLTableSectionElement.deleteRow')
@DocsEditable()
@@ -35276,9 +30434,9 @@ class TableSectionElement extends HtmlElement {
HtmlElement _insertRow([int index]) {
if (index != null) {
- return wrap_jso(_blink.BlinkHTMLTableSectionElement.instance.insertRow_Callback_1_(unwrap_jso(this), index));
+ return _blink.BlinkHTMLTableSectionElement.instance.insertRow_Callback_1_(unwrap_jso(this), index);
}
- return wrap_jso(_blink.BlinkHTMLTableSectionElement.instance.insertRow_Callback_0_(unwrap_jso(this)));
+ return _blink.BlinkHTMLTableSectionElement.instance.insertRow_Callback_0_(unwrap_jso(this));
}
}
// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
@@ -35300,18 +30458,6 @@ 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.
*
@@ -35356,18 +30502,6 @@ 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));
@@ -35375,7 +30509,7 @@ class Text extends CharacterData {
@DomName('Text.getDestinationInsertionPoints')
@DocsEditable()
@Experimental() // untriaged
- List<Node> getDestinationInsertionPoints() => wrap_jso(_blink.BlinkText.instance.getDestinationInsertionPoints_Callback_0_(unwrap_jso(this)));
+ List<Node> getDestinationInsertionPoints() => wrap_jso_list(_blink.BlinkText.instance.getDestinationInsertionPoints_Callback_0_(unwrap_jso(this)));
@DomName('Text.splitText')
@DocsEditable()
@@ -35398,18 +30532,6 @@ 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.
*
@@ -35423,7 +30545,7 @@ class TextAreaElement extends HtmlElement {
@DomName('HTMLTextAreaElement.autofocus')
@DocsEditable()
- set autofocus(bool value) => _blink.BlinkHTMLTextAreaElement.instance.autofocus_Setter_(unwrap_jso(this), value);
+ void set autofocus(bool value) => _blink.BlinkHTMLTextAreaElement.instance.autofocus_Setter_(unwrap_jso(this), value);
@DomName('HTMLTextAreaElement.cols')
@DocsEditable()
@@ -35431,7 +30553,7 @@ class TextAreaElement extends HtmlElement {
@DomName('HTMLTextAreaElement.cols')
@DocsEditable()
- set cols(int value) => _blink.BlinkHTMLTextAreaElement.instance.cols_Setter_(unwrap_jso(this), value);
+ void set cols(int value) => _blink.BlinkHTMLTextAreaElement.instance.cols_Setter_(unwrap_jso(this), value);
@DomName('HTMLTextAreaElement.defaultValue')
@DocsEditable()
@@ -35439,7 +30561,7 @@ class TextAreaElement extends HtmlElement {
@DomName('HTMLTextAreaElement.defaultValue')
@DocsEditable()
- set defaultValue(String value) => _blink.BlinkHTMLTextAreaElement.instance.defaultValue_Setter_(unwrap_jso(this), value);
+ void set defaultValue(String value) => _blink.BlinkHTMLTextAreaElement.instance.defaultValue_Setter_(unwrap_jso(this), value);
@DomName('HTMLTextAreaElement.dirName')
@DocsEditable()
@@ -35451,7 +30573,7 @@ class TextAreaElement extends HtmlElement {
@DocsEditable()
// http://www.whatwg.org/specs/web-apps/current-work/multipage/the-button-element.html#dom-textarea-dirname
@Experimental()
- set dirName(String value) => _blink.BlinkHTMLTextAreaElement.instance.dirName_Setter_(unwrap_jso(this), value);
+ void set dirName(String value) => _blink.BlinkHTMLTextAreaElement.instance.dirName_Setter_(unwrap_jso(this), value);
@DomName('HTMLTextAreaElement.disabled')
@DocsEditable()
@@ -35459,7 +30581,7 @@ class TextAreaElement extends HtmlElement {
@DomName('HTMLTextAreaElement.disabled')
@DocsEditable()
- set disabled(bool value) => _blink.BlinkHTMLTextAreaElement.instance.disabled_Setter_(unwrap_jso(this), value);
+ void set disabled(bool value) => _blink.BlinkHTMLTextAreaElement.instance.disabled_Setter_(unwrap_jso(this), value);
@DomName('HTMLTextAreaElement.form')
@DocsEditable()
@@ -35473,12 +30595,12 @@ class TextAreaElement extends HtmlElement {
@DomName('HTMLTextAreaElement.inputMode')
@DocsEditable()
@Experimental() // untriaged
- set inputMode(String value) => _blink.BlinkHTMLTextAreaElement.instance.inputMode_Setter_(unwrap_jso(this), value);
+ void set inputMode(String value) => _blink.BlinkHTMLTextAreaElement.instance.inputMode_Setter_(unwrap_jso(this), value);
@DomName('HTMLTextAreaElement.labels')
@DocsEditable()
@Unstable()
- List<Node> get labels => wrap_jso(_blink.BlinkHTMLTextAreaElement.instance.labels_Getter_(unwrap_jso(this)));
+ List<Node> get labels => wrap_jso_list(_blink.BlinkHTMLTextAreaElement.instance.labels_Getter_(unwrap_jso(this)));
@DomName('HTMLTextAreaElement.maxLength')
@DocsEditable()
@@ -35486,7 +30608,7 @@ class TextAreaElement extends HtmlElement {
@DomName('HTMLTextAreaElement.maxLength')
@DocsEditable()
- set maxLength(int value) => _blink.BlinkHTMLTextAreaElement.instance.maxLength_Setter_(unwrap_jso(this), value);
+ void set maxLength(int value) => _blink.BlinkHTMLTextAreaElement.instance.maxLength_Setter_(unwrap_jso(this), value);
@DomName('HTMLTextAreaElement.name')
@DocsEditable()
@@ -35494,7 +30616,7 @@ class TextAreaElement extends HtmlElement {
@DomName('HTMLTextAreaElement.name')
@DocsEditable()
- set name(String value) => _blink.BlinkHTMLTextAreaElement.instance.name_Setter_(unwrap_jso(this), value);
+ void set name(String value) => _blink.BlinkHTMLTextAreaElement.instance.name_Setter_(unwrap_jso(this), value);
@DomName('HTMLTextAreaElement.placeholder')
@DocsEditable()
@@ -35502,7 +30624,7 @@ class TextAreaElement extends HtmlElement {
@DomName('HTMLTextAreaElement.placeholder')
@DocsEditable()
- set placeholder(String value) => _blink.BlinkHTMLTextAreaElement.instance.placeholder_Setter_(unwrap_jso(this), value);
+ void set placeholder(String value) => _blink.BlinkHTMLTextAreaElement.instance.placeholder_Setter_(unwrap_jso(this), value);
@DomName('HTMLTextAreaElement.readOnly')
@DocsEditable()
@@ -35510,7 +30632,7 @@ class TextAreaElement extends HtmlElement {
@DomName('HTMLTextAreaElement.readOnly')
@DocsEditable()
- set readOnly(bool value) => _blink.BlinkHTMLTextAreaElement.instance.readOnly_Setter_(unwrap_jso(this), value);
+ void set readOnly(bool value) => _blink.BlinkHTMLTextAreaElement.instance.readOnly_Setter_(unwrap_jso(this), value);
@DomName('HTMLTextAreaElement.required')
@DocsEditable()
@@ -35518,7 +30640,7 @@ class TextAreaElement extends HtmlElement {
@DomName('HTMLTextAreaElement.required')
@DocsEditable()
- set required(bool value) => _blink.BlinkHTMLTextAreaElement.instance.required_Setter_(unwrap_jso(this), value);
+ void set required(bool value) => _blink.BlinkHTMLTextAreaElement.instance.required_Setter_(unwrap_jso(this), value);
@DomName('HTMLTextAreaElement.rows')
@DocsEditable()
@@ -35526,7 +30648,7 @@ class TextAreaElement extends HtmlElement {
@DomName('HTMLTextAreaElement.rows')
@DocsEditable()
- set rows(int value) => _blink.BlinkHTMLTextAreaElement.instance.rows_Setter_(unwrap_jso(this), value);
+ void set rows(int value) => _blink.BlinkHTMLTextAreaElement.instance.rows_Setter_(unwrap_jso(this), value);
@DomName('HTMLTextAreaElement.selectionDirection')
@DocsEditable()
@@ -35534,7 +30656,7 @@ class TextAreaElement extends HtmlElement {
@DomName('HTMLTextAreaElement.selectionDirection')
@DocsEditable()
- set selectionDirection(String value) => _blink.BlinkHTMLTextAreaElement.instance.selectionDirection_Setter_(unwrap_jso(this), value);
+ void set selectionDirection(String value) => _blink.BlinkHTMLTextAreaElement.instance.selectionDirection_Setter_(unwrap_jso(this), value);
@DomName('HTMLTextAreaElement.selectionEnd')
@DocsEditable()
@@ -35542,7 +30664,7 @@ class TextAreaElement extends HtmlElement {
@DomName('HTMLTextAreaElement.selectionEnd')
@DocsEditable()
- set selectionEnd(int value) => _blink.BlinkHTMLTextAreaElement.instance.selectionEnd_Setter_(unwrap_jso(this), value);
+ void set selectionEnd(int value) => _blink.BlinkHTMLTextAreaElement.instance.selectionEnd_Setter_(unwrap_jso(this), value);
@DomName('HTMLTextAreaElement.selectionStart')
@DocsEditable()
@@ -35550,7 +30672,7 @@ class TextAreaElement extends HtmlElement {
@DomName('HTMLTextAreaElement.selectionStart')
@DocsEditable()
- set selectionStart(int value) => _blink.BlinkHTMLTextAreaElement.instance.selectionStart_Setter_(unwrap_jso(this), value);
+ void set selectionStart(int value) => _blink.BlinkHTMLTextAreaElement.instance.selectionStart_Setter_(unwrap_jso(this), value);
@DomName('HTMLTextAreaElement.textLength')
@DocsEditable()
@@ -35574,7 +30696,7 @@ class TextAreaElement extends HtmlElement {
@DomName('HTMLTextAreaElement.value')
@DocsEditable()
- set value(String value) => _blink.BlinkHTMLTextAreaElement.instance.value_Setter_(unwrap_jso(this), value);
+ void set value(String value) => _blink.BlinkHTMLTextAreaElement.instance.value_Setter_(unwrap_jso(this), value);
@DomName('HTMLTextAreaElement.willValidate')
@DocsEditable()
@@ -35586,7 +30708,7 @@ class TextAreaElement extends HtmlElement {
@DomName('HTMLTextAreaElement.wrap')
@DocsEditable()
- set wrap(String value) => _blink.BlinkHTMLTextAreaElement.instance.wrap_Setter_(unwrap_jso(this), value);
+ void set wrap(String value) => _blink.BlinkHTMLTextAreaElement.instance.wrap_Setter_(unwrap_jso(this), value);
@DomName('HTMLTextAreaElement.checkValidity')
@DocsEditable()
@@ -35644,18 +30766,6 @@ 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));
@@ -35678,79 +30788,64 @@ class TextMetrics extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory TextMetrics._() { throw new UnsupportedError("Not supported"); }
- static TextMetrics internalCreateTextMetrics() {
- return new TextMetrics._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory TextMetrics._internalWrap() {
- return new TextMetrics.internal_();
- }
-
- TextMetrics.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('TextMetrics.actualBoundingBoxAscent')
@DocsEditable()
@Experimental() // untriaged
- num get actualBoundingBoxAscent => _blink.BlinkTextMetrics.instance.actualBoundingBoxAscent_Getter_(unwrap_jso(this));
+ double get actualBoundingBoxAscent => _blink.BlinkTextMetrics.instance.actualBoundingBoxAscent_Getter_(unwrap_jso(this));
@DomName('TextMetrics.actualBoundingBoxDescent')
@DocsEditable()
@Experimental() // untriaged
- num get actualBoundingBoxDescent => _blink.BlinkTextMetrics.instance.actualBoundingBoxDescent_Getter_(unwrap_jso(this));
+ double get actualBoundingBoxDescent => _blink.BlinkTextMetrics.instance.actualBoundingBoxDescent_Getter_(unwrap_jso(this));
@DomName('TextMetrics.actualBoundingBoxLeft')
@DocsEditable()
@Experimental() // untriaged
- num get actualBoundingBoxLeft => _blink.BlinkTextMetrics.instance.actualBoundingBoxLeft_Getter_(unwrap_jso(this));
+ double get actualBoundingBoxLeft => _blink.BlinkTextMetrics.instance.actualBoundingBoxLeft_Getter_(unwrap_jso(this));
@DomName('TextMetrics.actualBoundingBoxRight')
@DocsEditable()
@Experimental() // untriaged
- num get actualBoundingBoxRight => _blink.BlinkTextMetrics.instance.actualBoundingBoxRight_Getter_(unwrap_jso(this));
+ double get actualBoundingBoxRight => _blink.BlinkTextMetrics.instance.actualBoundingBoxRight_Getter_(unwrap_jso(this));
@DomName('TextMetrics.alphabeticBaseline')
@DocsEditable()
@Experimental() // untriaged
- num get alphabeticBaseline => _blink.BlinkTextMetrics.instance.alphabeticBaseline_Getter_(unwrap_jso(this));
+ double get alphabeticBaseline => _blink.BlinkTextMetrics.instance.alphabeticBaseline_Getter_(unwrap_jso(this));
@DomName('TextMetrics.emHeightAscent')
@DocsEditable()
@Experimental() // untriaged
- num get emHeightAscent => _blink.BlinkTextMetrics.instance.emHeightAscent_Getter_(unwrap_jso(this));
+ double get emHeightAscent => _blink.BlinkTextMetrics.instance.emHeightAscent_Getter_(unwrap_jso(this));
@DomName('TextMetrics.emHeightDescent')
@DocsEditable()
@Experimental() // untriaged
- num get emHeightDescent => _blink.BlinkTextMetrics.instance.emHeightDescent_Getter_(unwrap_jso(this));
+ double get emHeightDescent => _blink.BlinkTextMetrics.instance.emHeightDescent_Getter_(unwrap_jso(this));
@DomName('TextMetrics.fontBoundingBoxAscent')
@DocsEditable()
@Experimental() // untriaged
- num get fontBoundingBoxAscent => _blink.BlinkTextMetrics.instance.fontBoundingBoxAscent_Getter_(unwrap_jso(this));
+ double get fontBoundingBoxAscent => _blink.BlinkTextMetrics.instance.fontBoundingBoxAscent_Getter_(unwrap_jso(this));
@DomName('TextMetrics.fontBoundingBoxDescent')
@DocsEditable()
@Experimental() // untriaged
- num get fontBoundingBoxDescent => _blink.BlinkTextMetrics.instance.fontBoundingBoxDescent_Getter_(unwrap_jso(this));
+ double get fontBoundingBoxDescent => _blink.BlinkTextMetrics.instance.fontBoundingBoxDescent_Getter_(unwrap_jso(this));
@DomName('TextMetrics.hangingBaseline')
@DocsEditable()
@Experimental() // untriaged
- num get hangingBaseline => _blink.BlinkTextMetrics.instance.hangingBaseline_Getter_(unwrap_jso(this));
+ double get hangingBaseline => _blink.BlinkTextMetrics.instance.hangingBaseline_Getter_(unwrap_jso(this));
@DomName('TextMetrics.ideographicBaseline')
@DocsEditable()
@Experimental() // untriaged
- num get ideographicBaseline => _blink.BlinkTextMetrics.instance.ideographicBaseline_Getter_(unwrap_jso(this));
+ double get ideographicBaseline => _blink.BlinkTextMetrics.instance.ideographicBaseline_Getter_(unwrap_jso(this));
@DomName('TextMetrics.width')
@DocsEditable()
- num get width => _blink.BlinkTextMetrics.instance.width_Getter_(unwrap_jso(this));
+ double get width => _blink.BlinkTextMetrics.instance.width_Getter_(unwrap_jso(this));
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -35778,18 +30873,6 @@ 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)));
@@ -35821,7 +30904,7 @@ class TextTrack extends EventTarget {
@DomName('TextTrack.mode')
@DocsEditable()
- set mode(String value) => _blink.BlinkTextTrack.instance.mode_Setter_(unwrap_jso(this), value);
+ void set mode(String value) => _blink.BlinkTextTrack.instance.mode_Setter_(unwrap_jso(this), value);
@DomName('TextTrack.regions')
@DocsEditable()
@@ -35887,25 +30970,13 @@ 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));
@DomName('TextTrackCue.endTime')
@DocsEditable()
- set endTime(num value) => _blink.BlinkTextTrackCue.instance.endTime_Setter_(unwrap_jso(this), value);
+ void set endTime(num value) => _blink.BlinkTextTrackCue.instance.endTime_Setter_(unwrap_jso(this), value);
@DomName('TextTrackCue.id')
@DocsEditable()
@@ -35913,7 +30984,7 @@ class TextTrackCue extends EventTarget {
@DomName('TextTrackCue.id')
@DocsEditable()
- set id(String value) => _blink.BlinkTextTrackCue.instance.id_Setter_(unwrap_jso(this), value);
+ void set id(String value) => _blink.BlinkTextTrackCue.instance.id_Setter_(unwrap_jso(this), value);
@DomName('TextTrackCue.pauseOnExit')
@DocsEditable()
@@ -35921,7 +30992,7 @@ class TextTrackCue extends EventTarget {
@DomName('TextTrackCue.pauseOnExit')
@DocsEditable()
- set pauseOnExit(bool value) => _blink.BlinkTextTrackCue.instance.pauseOnExit_Setter_(unwrap_jso(this), value);
+ void set pauseOnExit(bool value) => _blink.BlinkTextTrackCue.instance.pauseOnExit_Setter_(unwrap_jso(this), value);
@DomName('TextTrackCue.startTime')
@DocsEditable()
@@ -35929,7 +31000,7 @@ class TextTrackCue extends EventTarget {
@DomName('TextTrackCue.startTime')
@DocsEditable()
- set startTime(num value) => _blink.BlinkTextTrackCue.instance.startTime_Setter_(unwrap_jso(this), value);
+ void set startTime(num value) => _blink.BlinkTextTrackCue.instance.startTime_Setter_(unwrap_jso(this), value);
@DomName('TextTrackCue.track')
@DocsEditable()
@@ -35957,25 +31028,10 @@ class TextTrackCue extends EventTarget {
@DomName('TextTrackCueList')
// http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#texttrackcuelist
@Experimental()
-class TextTrackCueList extends JsoNativeFieldWrapper with ListMixin<TextTrackCue>, ImmutableListMixin<TextTrackCue> implements List<TextTrackCue> {
+class TextTrackCueList extends NativeFieldWrapperClass2 with ListMixin<TextTrackCue>, ImmutableListMixin<TextTrackCue> implements List<TextTrackCue> {
// To suppress missing implicit constructor warnings.
factory TextTrackCueList._() { throw new UnsupportedError("Not supported"); }
- static TextTrackCueList internalCreateTextTrackCueList() {
- return new TextTrackCueList._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory TextTrackCueList._internalWrap() {
- return new TextTrackCueList.internal_();
- }
-
- TextTrackCueList.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('TextTrackCueList.length')
@DocsEditable()
int get length => _blink.BlinkTextTrackCueList.instance.length_Getter_(unwrap_jso(this));
@@ -35987,7 +31043,7 @@ class TextTrackCueList extends JsoNativeFieldWrapper with ListMixin<TextTrackCue
}
TextTrackCue _nativeIndexedGetter(int index) => wrap_jso(_blink.BlinkTextTrackCueList.instance.item_Callback_1_(unwrap_jso(this), index));
-
+
void operator[]=(int index, TextTrackCue value) {
throw new UnsupportedError("Cannot assign element of immutable List.");
}
@@ -35995,7 +31051,7 @@ class TextTrackCueList extends JsoNativeFieldWrapper with ListMixin<TextTrackCue
// TextTrackCue is the element type.
- set length(int value) {
+ void set length(int value) {
throw new UnsupportedError("Cannot resize immutable List.");
}
@@ -36065,18 +31121,6 @@ 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));
@@ -36088,7 +31132,7 @@ class TextTrackList extends EventTarget with ListMixin<TextTrack>, ImmutableList
}
TextTrack _nativeIndexedGetter(int index) => wrap_jso(_blink.BlinkTextTrackList.instance.item_Callback_1_(unwrap_jso(this), index));
-
+
void operator[]=(int index, TextTrack value) {
throw new UnsupportedError("Cannot assign element of immutable List.");
}
@@ -36096,7 +31140,7 @@ class TextTrackList extends EventTarget with ListMixin<TextTrack>, ImmutableList
// TextTrack is the element type.
- set length(int value) {
+ void set length(int value) {
throw new UnsupportedError("Cannot resize immutable List.");
}
@@ -36161,32 +31205,17 @@ class TimeRanges extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory TimeRanges._() { throw new UnsupportedError("Not supported"); }
- static TimeRanges internalCreateTimeRanges() {
- return new TimeRanges._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory TimeRanges._internalWrap() {
- return new TimeRanges.internal_();
- }
-
- TimeRanges.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('TimeRanges.length')
@DocsEditable()
int get length => _blink.BlinkTimeRanges.instance.length_Getter_(unwrap_jso(this));
@DomName('TimeRanges.end')
@DocsEditable()
- num end(int index) => _blink.BlinkTimeRanges.instance.end_Callback_1_(unwrap_jso(this), index);
+ double end(int index) => _blink.BlinkTimeRanges.instance.end_Callback_1_(unwrap_jso(this), index);
@DomName('TimeRanges.start')
@DocsEditable()
- num start(int index) => _blink.BlinkTimeRanges.instance.start_Callback_1_(unwrap_jso(this), index);
+ double start(int index) => _blink.BlinkTimeRanges.instance.start_Callback_1_(unwrap_jso(this), index);
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -36212,21 +31241,6 @@ class Timing extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory Timing._() { throw new UnsupportedError("Not supported"); }
- static Timing internalCreateTiming() {
- return new Timing._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory Timing._internalWrap() {
- return new Timing.internal_();
- }
-
- Timing.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('Timing.delay')
@DocsEditable()
@Experimental() // untriaged
@@ -36235,7 +31249,7 @@ class Timing extends NativeFieldWrapperClass2 {
@DomName('Timing.delay')
@DocsEditable()
@Experimental() // untriaged
- set delay(num value) => _blink.BlinkTiming.instance.delay_Setter_(unwrap_jso(this), value);
+ void set delay(num value) => _blink.BlinkTiming.instance.delay_Setter_(unwrap_jso(this), value);
@DomName('Timing.direction')
@DocsEditable()
@@ -36245,7 +31259,7 @@ class Timing extends NativeFieldWrapperClass2 {
@DomName('Timing.direction')
@DocsEditable()
@Experimental() // untriaged
- set direction(String value) => _blink.BlinkTiming.instance.direction_Setter_(unwrap_jso(this), value);
+ void set direction(String value) => _blink.BlinkTiming.instance.direction_Setter_(unwrap_jso(this), value);
@DomName('Timing.easing')
@DocsEditable()
@@ -36255,7 +31269,7 @@ class Timing extends NativeFieldWrapperClass2 {
@DomName('Timing.easing')
@DocsEditable()
@Experimental() // untriaged
- set easing(String value) => _blink.BlinkTiming.instance.easing_Setter_(unwrap_jso(this), value);
+ void set easing(String value) => _blink.BlinkTiming.instance.easing_Setter_(unwrap_jso(this), value);
@DomName('Timing.endDelay')
@DocsEditable()
@@ -36265,7 +31279,7 @@ class Timing extends NativeFieldWrapperClass2 {
@DomName('Timing.endDelay')
@DocsEditable()
@Experimental() // untriaged
- set endDelay(num value) => _blink.BlinkTiming.instance.endDelay_Setter_(unwrap_jso(this), value);
+ void set endDelay(num value) => _blink.BlinkTiming.instance.endDelay_Setter_(unwrap_jso(this), value);
@DomName('Timing.fill')
@DocsEditable()
@@ -36275,7 +31289,7 @@ class Timing extends NativeFieldWrapperClass2 {
@DomName('Timing.fill')
@DocsEditable()
@Experimental() // untriaged
- set fill(String value) => _blink.BlinkTiming.instance.fill_Setter_(unwrap_jso(this), value);
+ void set fill(String value) => _blink.BlinkTiming.instance.fill_Setter_(unwrap_jso(this), value);
@DomName('Timing.iterationStart')
@DocsEditable()
@@ -36285,7 +31299,7 @@ class Timing extends NativeFieldWrapperClass2 {
@DomName('Timing.iterationStart')
@DocsEditable()
@Experimental() // untriaged
- set iterationStart(num value) => _blink.BlinkTiming.instance.iterationStart_Setter_(unwrap_jso(this), value);
+ void set iterationStart(num value) => _blink.BlinkTiming.instance.iterationStart_Setter_(unwrap_jso(this), value);
@DomName('Timing.iterations')
@DocsEditable()
@@ -36295,7 +31309,7 @@ class Timing extends NativeFieldWrapperClass2 {
@DomName('Timing.iterations')
@DocsEditable()
@Experimental() // untriaged
- set iterations(num value) => _blink.BlinkTiming.instance.iterations_Setter_(unwrap_jso(this), value);
+ void set iterations(num value) => _blink.BlinkTiming.instance.iterations_Setter_(unwrap_jso(this), value);
@DomName('Timing.playbackRate')
@DocsEditable()
@@ -36305,7 +31319,7 @@ class Timing extends NativeFieldWrapperClass2 {
@DomName('Timing.playbackRate')
@DocsEditable()
@Experimental() // untriaged
- set playbackRate(num value) => _blink.BlinkTiming.instance.playbackRate_Setter_(unwrap_jso(this), value);
+ void set playbackRate(num value) => _blink.BlinkTiming.instance.playbackRate_Setter_(unwrap_jso(this), value);
@DomName('Timing.__getter__')
@DocsEditable()
@@ -36334,18 +31348,6 @@ 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.
*
@@ -36367,33 +31369,18 @@ class Touch extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory Touch._() { throw new UnsupportedError("Not supported"); }
- static Touch internalCreateTouch() {
- return new Touch._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory Touch._internalWrap() {
- return new Touch.internal_();
- }
-
- Touch.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('Touch.clientX')
@DocsEditable()
- num get _clientX => _blink.BlinkTouch.instance.clientX_Getter_(unwrap_jso(this));
+ double get _clientX => _blink.BlinkTouch.instance.clientX_Getter_(unwrap_jso(this));
@DomName('Touch.clientY')
@DocsEditable()
- num get _clientY => _blink.BlinkTouch.instance.clientY_Getter_(unwrap_jso(this));
+ double get _clientY => _blink.BlinkTouch.instance.clientY_Getter_(unwrap_jso(this));
@DomName('Touch.force')
@DocsEditable()
@Experimental() // untriaged
- num get force => _blink.BlinkTouch.instance.force_Getter_(unwrap_jso(this));
+ double get force => _blink.BlinkTouch.instance.force_Getter_(unwrap_jso(this));
@DomName('Touch.identifier')
@DocsEditable()
@@ -36401,29 +31388,29 @@ class Touch extends NativeFieldWrapperClass2 {
@DomName('Touch.pageX')
@DocsEditable()
- num get _pageX => _blink.BlinkTouch.instance.pageX_Getter_(unwrap_jso(this));
+ double get _pageX => _blink.BlinkTouch.instance.pageX_Getter_(unwrap_jso(this));
@DomName('Touch.pageY')
@DocsEditable()
- num get _pageY => _blink.BlinkTouch.instance.pageY_Getter_(unwrap_jso(this));
+ double get _pageY => _blink.BlinkTouch.instance.pageY_Getter_(unwrap_jso(this));
@DomName('Touch.radiusX')
@DocsEditable()
@Experimental() // untriaged
- num get _radiusX => _blink.BlinkTouch.instance.radiusX_Getter_(unwrap_jso(this));
+ double get _radiusX => _blink.BlinkTouch.instance.radiusX_Getter_(unwrap_jso(this));
@DomName('Touch.radiusY')
@DocsEditable()
@Experimental() // untriaged
- num get _radiusY => _blink.BlinkTouch.instance.radiusY_Getter_(unwrap_jso(this));
+ double get _radiusY => _blink.BlinkTouch.instance.radiusY_Getter_(unwrap_jso(this));
@DomName('Touch.screenX')
@DocsEditable()
- num get _screenX => _blink.BlinkTouch.instance.screenX_Getter_(unwrap_jso(this));
+ double get _screenX => _blink.BlinkTouch.instance.screenX_Getter_(unwrap_jso(this));
@DomName('Touch.screenY')
@DocsEditable()
- num get _screenY => _blink.BlinkTouch.instance.screenY_Getter_(unwrap_jso(this));
+ double get _screenY => _blink.BlinkTouch.instance.screenY_Getter_(unwrap_jso(this));
@DomName('Touch.target')
@DocsEditable()
@@ -36434,7 +31421,7 @@ class Touch extends NativeFieldWrapperClass2 {
@SupportedBrowser(SupportedBrowser.CHROME)
@SupportedBrowser(SupportedBrowser.SAFARI)
@Experimental()
- num get rotationAngle => _blink.BlinkTouch.instance.webkitRotationAngle_Getter_(unwrap_jso(this));
+ double get rotationAngle => _blink.BlinkTouch.instance.webkitRotationAngle_Getter_(unwrap_jso(this));
// As of Chrome 37, these all changed from long to double. This code
@@ -36502,18 +31489,6 @@ 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));
@@ -36565,7 +31540,7 @@ class TouchEvent extends UIEvent {
@DomName('TouchList')
// http://www.w3.org/TR/touch-events/, http://www.chromestatus.com/features
@Experimental()
-class TouchList extends JsoNativeFieldWrapper with ListMixin<Touch>, ImmutableListMixin<Touch> implements List<Touch> {
+class TouchList extends NativeFieldWrapperClass2 with ListMixin<Touch>, ImmutableListMixin<Touch> implements List<Touch> {
/// NB: This constructor likely does not work as you might expect it to! This
/// constructor will simply fail (returning null) if you are not on a device
/// with touch enabled. See dartbug.com/8314.
@@ -36574,21 +31549,6 @@ class TouchList extends JsoNativeFieldWrapper with ListMixin<Touch>, ImmutableLi
// To suppress missing implicit constructor warnings.
factory TouchList._() { throw new UnsupportedError("Not supported"); }
- static TouchList internalCreateTouchList() {
- return new TouchList._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory TouchList._internalWrap() {
- return new TouchList.internal_();
- }
-
- TouchList.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
/// Checks if this type is supported on the current platform.
static bool get supported => true;
@@ -36603,7 +31563,7 @@ class TouchList extends JsoNativeFieldWrapper with ListMixin<Touch>, ImmutableLi
}
Touch _nativeIndexedGetter(int index) => wrap_jso(_blink.BlinkTouchList.instance.item_Callback_1_(unwrap_jso(this), index));
-
+
void operator[]=(int index, Touch value) {
throw new UnsupportedError("Cannot assign element of immutable List.");
}
@@ -36611,7 +31571,7 @@ class TouchList extends JsoNativeFieldWrapper with ListMixin<Touch>, ImmutableLi
// Touch is the element type.
- set length(int value) {
+ void set length(int value) {
throw new UnsupportedError("Cannot resize immutable List.");
}
@@ -36668,18 +31628,6 @@ 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.
*
@@ -36712,7 +31660,7 @@ class TrackElement extends HtmlElement {
@DomName('HTMLTrackElement.default')
@DocsEditable()
- set defaultValue(bool value) => _blink.BlinkHTMLTrackElement.instance.default_Setter_(unwrap_jso(this), value);
+ void set defaultValue(bool value) => _blink.BlinkHTMLTrackElement.instance.default_Setter_(unwrap_jso(this), value);
@DomName('HTMLTrackElement.integrity')
@DocsEditable()
@@ -36722,7 +31670,7 @@ class TrackElement extends HtmlElement {
@DomName('HTMLTrackElement.integrity')
@DocsEditable()
@Experimental() // untriaged
- set integrity(String value) => _blink.BlinkHTMLTrackElement.instance.integrity_Setter_(unwrap_jso(this), value);
+ void set integrity(String value) => _blink.BlinkHTMLTrackElement.instance.integrity_Setter_(unwrap_jso(this), value);
@DomName('HTMLTrackElement.kind')
@DocsEditable()
@@ -36730,7 +31678,7 @@ class TrackElement extends HtmlElement {
@DomName('HTMLTrackElement.kind')
@DocsEditable()
- set kind(String value) => _blink.BlinkHTMLTrackElement.instance.kind_Setter_(unwrap_jso(this), value);
+ void set kind(String value) => _blink.BlinkHTMLTrackElement.instance.kind_Setter_(unwrap_jso(this), value);
@DomName('HTMLTrackElement.label')
@DocsEditable()
@@ -36738,7 +31686,7 @@ class TrackElement extends HtmlElement {
@DomName('HTMLTrackElement.label')
@DocsEditable()
- set label(String value) => _blink.BlinkHTMLTrackElement.instance.label_Setter_(unwrap_jso(this), value);
+ void set label(String value) => _blink.BlinkHTMLTrackElement.instance.label_Setter_(unwrap_jso(this), value);
@DomName('HTMLTrackElement.readyState')
@DocsEditable()
@@ -36750,7 +31698,7 @@ class TrackElement extends HtmlElement {
@DomName('HTMLTrackElement.src')
@DocsEditable()
- set src(String value) => _blink.BlinkHTMLTrackElement.instance.src_Setter_(unwrap_jso(this), value);
+ void set src(String value) => _blink.BlinkHTMLTrackElement.instance.src_Setter_(unwrap_jso(this), value);
@DomName('HTMLTrackElement.srclang')
@DocsEditable()
@@ -36758,7 +31706,7 @@ class TrackElement extends HtmlElement {
@DomName('HTMLTrackElement.srclang')
@DocsEditable()
- set srclang(String value) => _blink.BlinkHTMLTrackElement.instance.srclang_Setter_(unwrap_jso(this), value);
+ void set srclang(String value) => _blink.BlinkHTMLTrackElement.instance.srclang_Setter_(unwrap_jso(this), value);
@DomName('HTMLTrackElement.track')
@DocsEditable()
@@ -36779,21 +31727,9 @@ 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 => wrap_jso(_blink.BlinkTrackEvent.instance.track_Getter_(unwrap_jso(this)));
+ Object get track => _blink.BlinkTrackEvent.instance.track_Getter_(unwrap_jso(this));
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -36809,21 +31745,9 @@ 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()
- num get elapsedTime => _blink.BlinkTransitionEvent.instance.elapsedTime_Getter_(unwrap_jso(this));
+ double get elapsedTime => _blink.BlinkTransitionEvent.instance.elapsedTime_Getter_(unwrap_jso(this));
@DomName('TransitionEvent.propertyName')
@DocsEditable()
@@ -36848,28 +31772,13 @@ class TreeWalker extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory TreeWalker._() { throw new UnsupportedError("Not supported"); }
- static TreeWalker internalCreateTreeWalker() {
- return new TreeWalker._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory TreeWalker._internalWrap() {
- return new TreeWalker.internal_();
- }
-
- TreeWalker.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('TreeWalker.currentNode')
@DocsEditable()
Node get currentNode => wrap_jso(_blink.BlinkTreeWalker.instance.currentNode_Getter_(unwrap_jso(this)));
@DomName('TreeWalker.currentNode')
@DocsEditable()
- set currentNode(Node value) => _blink.BlinkTreeWalker.instance.currentNode_Setter_(unwrap_jso(this), unwrap_jso(value));
+ void set currentNode(Node value) => _blink.BlinkTreeWalker.instance.currentNode_Setter_(unwrap_jso(this), unwrap_jso(value));
@DomName('TreeWalker.filter')
@DocsEditable()
@@ -36940,18 +31849,6 @@ 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()
@@ -37028,18 +31925,6 @@ 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.
*
@@ -37060,18 +31945,6 @@ 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.
*
@@ -37093,29 +31966,14 @@ 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();
- }
-
- js.JsObject blink_jsObject;
-
- factory Url._internalWrap() {
- return new Url.internal_();
- }
-
- Url.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
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));
}
- if ((blob_OR_source_OR_stream is MediaStream)) {
+ if ((blob_OR_source_OR_stream is MediaSource)) {
return _blink.BlinkURL.instance.createObjectURL_Callback_1_(unwrap_jso(blob_OR_source_OR_stream));
}
- if ((blob_OR_source_OR_stream is MediaSource)) {
+ if ((blob_OR_source_OR_stream is MediaStream)) {
return _blink.BlinkURL.instance.createObjectURL_Callback_1_(unwrap_jso(blob_OR_source_OR_stream));
}
throw new ArgumentError("Incorrect number or type of arguments");
@@ -37145,7 +32003,7 @@ class Url extends NativeFieldWrapperClass2 implements UrlUtils {
@DomName('URL.hash')
@DocsEditable()
@Experimental() // untriaged
- set hash(String value) => _blink.BlinkURL.instance.hash_Setter_(unwrap_jso(this), value);
+ void set hash(String value) => _blink.BlinkURL.instance.hash_Setter_(unwrap_jso(this), value);
@DomName('URL.host')
@DocsEditable()
@@ -37155,7 +32013,7 @@ class Url extends NativeFieldWrapperClass2 implements UrlUtils {
@DomName('URL.host')
@DocsEditable()
@Experimental() // untriaged
- set host(String value) => _blink.BlinkURL.instance.host_Setter_(unwrap_jso(this), value);
+ void set host(String value) => _blink.BlinkURL.instance.host_Setter_(unwrap_jso(this), value);
@DomName('URL.hostname')
@DocsEditable()
@@ -37165,7 +32023,7 @@ class Url extends NativeFieldWrapperClass2 implements UrlUtils {
@DomName('URL.hostname')
@DocsEditable()
@Experimental() // untriaged
- set hostname(String value) => _blink.BlinkURL.instance.hostname_Setter_(unwrap_jso(this), value);
+ void set hostname(String value) => _blink.BlinkURL.instance.hostname_Setter_(unwrap_jso(this), value);
@DomName('URL.href')
@DocsEditable()
@@ -37175,7 +32033,7 @@ class Url extends NativeFieldWrapperClass2 implements UrlUtils {
@DomName('URL.href')
@DocsEditable()
@Experimental() // untriaged
- set href(String value) => _blink.BlinkURL.instance.href_Setter_(unwrap_jso(this), value);
+ void set href(String value) => _blink.BlinkURL.instance.href_Setter_(unwrap_jso(this), value);
@DomName('URL.origin')
@DocsEditable()
@@ -37190,7 +32048,7 @@ class Url extends NativeFieldWrapperClass2 implements UrlUtils {
@DomName('URL.password')
@DocsEditable()
@Experimental() // untriaged
- set password(String value) => _blink.BlinkURL.instance.password_Setter_(unwrap_jso(this), value);
+ void set password(String value) => _blink.BlinkURL.instance.password_Setter_(unwrap_jso(this), value);
@DomName('URL.pathname')
@DocsEditable()
@@ -37200,7 +32058,7 @@ class Url extends NativeFieldWrapperClass2 implements UrlUtils {
@DomName('URL.pathname')
@DocsEditable()
@Experimental() // untriaged
- set pathname(String value) => _blink.BlinkURL.instance.pathname_Setter_(unwrap_jso(this), value);
+ void set pathname(String value) => _blink.BlinkURL.instance.pathname_Setter_(unwrap_jso(this), value);
@DomName('URL.port')
@DocsEditable()
@@ -37210,7 +32068,7 @@ class Url extends NativeFieldWrapperClass2 implements UrlUtils {
@DomName('URL.port')
@DocsEditable()
@Experimental() // untriaged
- set port(String value) => _blink.BlinkURL.instance.port_Setter_(unwrap_jso(this), value);
+ void set port(String value) => _blink.BlinkURL.instance.port_Setter_(unwrap_jso(this), value);
@DomName('URL.protocol')
@DocsEditable()
@@ -37220,7 +32078,7 @@ class Url extends NativeFieldWrapperClass2 implements UrlUtils {
@DomName('URL.protocol')
@DocsEditable()
@Experimental() // untriaged
- set protocol(String value) => _blink.BlinkURL.instance.protocol_Setter_(unwrap_jso(this), value);
+ void set protocol(String value) => _blink.BlinkURL.instance.protocol_Setter_(unwrap_jso(this), value);
@DomName('URL.search')
@DocsEditable()
@@ -37230,7 +32088,7 @@ class Url extends NativeFieldWrapperClass2 implements UrlUtils {
@DomName('URL.search')
@DocsEditable()
@Experimental() // untriaged
- set search(String value) => _blink.BlinkURL.instance.search_Setter_(unwrap_jso(this), value);
+ void set search(String value) => _blink.BlinkURL.instance.search_Setter_(unwrap_jso(this), value);
@DomName('URL.username')
@DocsEditable()
@@ -37240,7 +32098,7 @@ class Url extends NativeFieldWrapperClass2 implements UrlUtils {
@DomName('URL.username')
@DocsEditable()
@Experimental() // untriaged
- set username(String value) => _blink.BlinkURL.instance.username_Setter_(unwrap_jso(this), value);
+ void set username(String value) => _blink.BlinkURL.instance.username_Setter_(unwrap_jso(this), value);
@DomName('URL.toString')
@DocsEditable()
@@ -37262,21 +32120,6 @@ 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();
- }
-
- js.JsObject blink_jsObject;
-
- factory UrlUtils._internalWrap() {
- return new UrlUtils.internal_();
- }
-
- UrlUtils.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('URLUtils.hash')
@DocsEditable()
@Experimental() // untriaged
@@ -37285,7 +32128,7 @@ abstract class UrlUtils extends NativeFieldWrapperClass2 {
@DomName('URLUtils.hash')
@DocsEditable()
@Experimental() // untriaged
- set hash(String value);
+ void set hash(String value);
@DomName('URLUtils.host')
@DocsEditable()
@@ -37295,7 +32138,7 @@ abstract class UrlUtils extends NativeFieldWrapperClass2 {
@DomName('URLUtils.host')
@DocsEditable()
@Experimental() // untriaged
- set host(String value);
+ void set host(String value);
@DomName('URLUtils.hostname')
@DocsEditable()
@@ -37305,7 +32148,7 @@ abstract class UrlUtils extends NativeFieldWrapperClass2 {
@DomName('URLUtils.hostname')
@DocsEditable()
@Experimental() // untriaged
- set hostname(String value);
+ void set hostname(String value);
@DomName('URLUtils.href')
@DocsEditable()
@@ -37315,7 +32158,7 @@ abstract class UrlUtils extends NativeFieldWrapperClass2 {
@DomName('URLUtils.href')
@DocsEditable()
@Experimental() // untriaged
- set href(String value);
+ void set href(String value);
@DomName('URLUtils.origin')
@DocsEditable()
@@ -37330,7 +32173,7 @@ abstract class UrlUtils extends NativeFieldWrapperClass2 {
@DomName('URLUtils.password')
@DocsEditable()
@Experimental() // untriaged
- set password(String value);
+ void set password(String value);
@DomName('URLUtils.pathname')
@DocsEditable()
@@ -37340,7 +32183,7 @@ abstract class UrlUtils extends NativeFieldWrapperClass2 {
@DomName('URLUtils.pathname')
@DocsEditable()
@Experimental() // untriaged
- set pathname(String value);
+ void set pathname(String value);
@DomName('URLUtils.port')
@DocsEditable()
@@ -37350,7 +32193,7 @@ abstract class UrlUtils extends NativeFieldWrapperClass2 {
@DomName('URLUtils.port')
@DocsEditable()
@Experimental() // untriaged
- set port(String value);
+ void set port(String value);
@DomName('URLUtils.protocol')
@DocsEditable()
@@ -37360,7 +32203,7 @@ abstract class UrlUtils extends NativeFieldWrapperClass2 {
@DomName('URLUtils.protocol')
@DocsEditable()
@Experimental() // untriaged
- set protocol(String value);
+ void set protocol(String value);
@DomName('URLUtils.search')
@DocsEditable()
@@ -37370,7 +32213,7 @@ abstract class UrlUtils extends NativeFieldWrapperClass2 {
@DomName('URLUtils.search')
@DocsEditable()
@Experimental() // untriaged
- set search(String value);
+ void set search(String value);
@DomName('URLUtils.username')
@DocsEditable()
@@ -37380,7 +32223,7 @@ abstract class UrlUtils extends NativeFieldWrapperClass2 {
@DomName('URLUtils.username')
@DocsEditable()
@Experimental() // untriaged
- set username(String value);
+ void set username(String value);
@DomName('URLUtils.toString')
@DocsEditable()
@@ -37402,21 +32245,6 @@ 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();
- }
-
- js.JsObject blink_jsObject;
-
- factory UrlUtilsReadOnly._internalWrap() {
- return new UrlUtilsReadOnly.internal_();
- }
-
- UrlUtilsReadOnly.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('URLUtilsReadOnly.hash')
@DocsEditable()
@Experimental() // untriaged
@@ -37481,21 +32309,6 @@ class ValidityState extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory ValidityState._() { throw new UnsupportedError("Not supported"); }
- static ValidityState internalCreateValidityState() {
- return new ValidityState._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory ValidityState._internalWrap() {
- return new ValidityState.internal_();
- }
-
- ValidityState.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('ValidityState.badInput')
@DocsEditable()
bool get badInput => _blink.BlinkValidityState.instance.badInput_Getter_(unwrap_jso(this));
@@ -37550,18 +32363,6 @@ 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.
*
@@ -37575,7 +32376,7 @@ class VideoElement extends MediaElement implements CanvasImageSource {
@DomName('HTMLVideoElement.height')
@DocsEditable()
- set height(int value) => _blink.BlinkHTMLVideoElement.instance.height_Setter_(unwrap_jso(this), value);
+ void set height(int value) => _blink.BlinkHTMLVideoElement.instance.height_Setter_(unwrap_jso(this), value);
@DomName('HTMLVideoElement.poster')
@DocsEditable()
@@ -37583,7 +32384,7 @@ class VideoElement extends MediaElement implements CanvasImageSource {
@DomName('HTMLVideoElement.poster')
@DocsEditable()
- set poster(String value) => _blink.BlinkHTMLVideoElement.instance.poster_Setter_(unwrap_jso(this), value);
+ void set poster(String value) => _blink.BlinkHTMLVideoElement.instance.poster_Setter_(unwrap_jso(this), value);
@DomName('HTMLVideoElement.videoHeight')
@DocsEditable()
@@ -37613,7 +32414,7 @@ class VideoElement extends MediaElement implements CanvasImageSource {
@DomName('HTMLVideoElement.width')
@DocsEditable()
- set width(int value) => _blink.BlinkHTMLVideoElement.instance.width_Setter_(unwrap_jso(this), value);
+ void set width(int value) => _blink.BlinkHTMLVideoElement.instance.width_Setter_(unwrap_jso(this), value);
@DomName('HTMLVideoElement.getVideoPlaybackQuality')
@DocsEditable()
@@ -37651,21 +32452,6 @@ class VideoPlaybackQuality extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory VideoPlaybackQuality._() { throw new UnsupportedError("Not supported"); }
- static VideoPlaybackQuality internalCreateVideoPlaybackQuality() {
- return new VideoPlaybackQuality._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory VideoPlaybackQuality._internalWrap() {
- return new VideoPlaybackQuality.internal_();
- }
-
- VideoPlaybackQuality.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('VideoPlaybackQuality.corruptedVideoFrames')
@DocsEditable()
@Experimental() // untriaged
@@ -37674,7 +32460,7 @@ class VideoPlaybackQuality extends NativeFieldWrapperClass2 {
@DomName('VideoPlaybackQuality.creationTime')
@DocsEditable()
@Experimental() // untriaged
- num get creationTime => _blink.BlinkVideoPlaybackQuality.instance.creationTime_Getter_(unwrap_jso(this));
+ double get creationTime => _blink.BlinkVideoPlaybackQuality.instance.creationTime_Getter_(unwrap_jso(this));
@DomName('VideoPlaybackQuality.droppedVideoFrames')
@DocsEditable()
@@ -37701,21 +32487,6 @@ class VideoTrack extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory VideoTrack._() { throw new UnsupportedError("Not supported"); }
- static VideoTrack internalCreateVideoTrack() {
- return new VideoTrack._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory VideoTrack._internalWrap() {
- return new VideoTrack.internal_();
- }
-
- VideoTrack.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('VideoTrack.id')
@DocsEditable()
@Experimental() // untriaged
@@ -37744,7 +32515,7 @@ class VideoTrack extends NativeFieldWrapperClass2 {
@DomName('VideoTrack.selected')
@DocsEditable()
@Experimental() // untriaged
- set selected(bool value) => _blink.BlinkVideoTrack.instance.selected_Setter_(unwrap_jso(this), value);
+ void set selected(bool value) => _blink.BlinkVideoTrack.instance.selected_Setter_(unwrap_jso(this), value);
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -37766,18 +32537,6 @@ 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
@@ -37832,21 +32591,9 @@ class VttCue extends TextTrackCue {
@DomName('VTTCue.VTTCue')
@DocsEditable()
factory VttCue(num startTime, num endTime, String text) {
- return wrap_jso(_blink.BlinkVTTCue.instance.constructorCallback_3_(startTime, endTime, text));
- }
-
-
- static VttCue internalCreateVttCue() {
- return new VttCue._internalWrap();
+ return _blink.BlinkVTTCue.instance.constructorCallback_3_(startTime, endTime, text);
}
- factory VttCue._internalWrap() {
- return new VttCue.internal_();
- }
-
- VttCue.internal_() : super.internal_();
-
-
@DomName('VTTCue.align')
@DocsEditable()
@Experimental() // untriaged
@@ -37855,7 +32602,7 @@ class VttCue extends TextTrackCue {
@DomName('VTTCue.align')
@DocsEditable()
@Experimental() // untriaged
- set align(String value) => _blink.BlinkVTTCue.instance.align_Setter_(unwrap_jso(this), value);
+ void set align(String value) => _blink.BlinkVTTCue.instance.align_Setter_(unwrap_jso(this), value);
@DomName('VTTCue.line')
@DocsEditable()
@@ -37865,7 +32612,7 @@ class VttCue extends TextTrackCue {
@DomName('VTTCue.line')
@DocsEditable()
@Experimental() // untriaged
- set line(int value) => _blink.BlinkVTTCue.instance.line_Setter_(unwrap_jso(this), value);
+ void set line(int value) => _blink.BlinkVTTCue.instance.line_Setter_(unwrap_jso(this), value);
@DomName('VTTCue.position')
@DocsEditable()
@@ -37875,7 +32622,7 @@ class VttCue extends TextTrackCue {
@DomName('VTTCue.position')
@DocsEditable()
@Experimental() // untriaged
- set position(int value) => _blink.BlinkVTTCue.instance.position_Setter_(unwrap_jso(this), value);
+ void set position(int value) => _blink.BlinkVTTCue.instance.position_Setter_(unwrap_jso(this), value);
@DomName('VTTCue.regionId')
@DocsEditable()
@@ -37885,7 +32632,7 @@ class VttCue extends TextTrackCue {
@DomName('VTTCue.regionId')
@DocsEditable()
@Experimental() // untriaged
- set regionId(String value) => _blink.BlinkVTTCue.instance.regionId_Setter_(unwrap_jso(this), value);
+ void set regionId(String value) => _blink.BlinkVTTCue.instance.regionId_Setter_(unwrap_jso(this), value);
@DomName('VTTCue.size')
@DocsEditable()
@@ -37895,7 +32642,7 @@ class VttCue extends TextTrackCue {
@DomName('VTTCue.size')
@DocsEditable()
@Experimental() // untriaged
- set size(int value) => _blink.BlinkVTTCue.instance.size_Setter_(unwrap_jso(this), value);
+ void set size(int value) => _blink.BlinkVTTCue.instance.size_Setter_(unwrap_jso(this), value);
@DomName('VTTCue.snapToLines')
@DocsEditable()
@@ -37905,7 +32652,7 @@ class VttCue extends TextTrackCue {
@DomName('VTTCue.snapToLines')
@DocsEditable()
@Experimental() // untriaged
- set snapToLines(bool value) => _blink.BlinkVTTCue.instance.snapToLines_Setter_(unwrap_jso(this), value);
+ void set snapToLines(bool value) => _blink.BlinkVTTCue.instance.snapToLines_Setter_(unwrap_jso(this), value);
@DomName('VTTCue.text')
@DocsEditable()
@@ -37915,7 +32662,7 @@ class VttCue extends TextTrackCue {
@DomName('VTTCue.text')
@DocsEditable()
@Experimental() // untriaged
- set text(String value) => _blink.BlinkVTTCue.instance.text_Setter_(unwrap_jso(this), value);
+ void set text(String value) => _blink.BlinkVTTCue.instance.text_Setter_(unwrap_jso(this), value);
@DomName('VTTCue.vertical')
@DocsEditable()
@@ -37925,7 +32672,7 @@ class VttCue extends TextTrackCue {
@DomName('VTTCue.vertical')
@DocsEditable()
@Experimental() // untriaged
- set vertical(String value) => _blink.BlinkVTTCue.instance.vertical_Setter_(unwrap_jso(this), value);
+ void set vertical(String value) => _blink.BlinkVTTCue.instance.vertical_Setter_(unwrap_jso(this), value);
@DomName('VTTCue.getCueAsHTML')
@DocsEditable()
@@ -37950,24 +32697,9 @@ class VttRegion extends NativeFieldWrapperClass2 {
@DomName('VTTRegion.VTTRegion')
@DocsEditable()
factory VttRegion() {
- return wrap_jso(_blink.BlinkVTTRegion.instance.constructorCallback_0_());
+ return _blink.BlinkVTTRegion.instance.constructorCallback_0_();
}
- static VttRegion internalCreateVttRegion() {
- return new VttRegion._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory VttRegion._internalWrap() {
- return new VttRegion.internal_();
- }
-
- VttRegion.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('VTTRegion.height')
@DocsEditable()
@Experimental() // untriaged
@@ -37976,7 +32708,7 @@ class VttRegion extends NativeFieldWrapperClass2 {
@DomName('VTTRegion.height')
@DocsEditable()
@Experimental() // untriaged
- set height(int value) => _blink.BlinkVTTRegion.instance.height_Setter_(unwrap_jso(this), value);
+ void set height(int value) => _blink.BlinkVTTRegion.instance.height_Setter_(unwrap_jso(this), value);
@DomName('VTTRegion.id')
@DocsEditable()
@@ -37986,7 +32718,7 @@ class VttRegion extends NativeFieldWrapperClass2 {
@DomName('VTTRegion.id')
@DocsEditable()
@Experimental() // untriaged
- set id(String value) => _blink.BlinkVTTRegion.instance.id_Setter_(unwrap_jso(this), value);
+ void set id(String value) => _blink.BlinkVTTRegion.instance.id_Setter_(unwrap_jso(this), value);
@DomName('VTTRegion.regionAnchorX')
@DocsEditable()
@@ -37996,7 +32728,7 @@ class VttRegion extends NativeFieldWrapperClass2 {
@DomName('VTTRegion.regionAnchorX')
@DocsEditable()
@Experimental() // untriaged
- set regionAnchorX(num value) => _blink.BlinkVTTRegion.instance.regionAnchorX_Setter_(unwrap_jso(this), value);
+ void set regionAnchorX(num value) => _blink.BlinkVTTRegion.instance.regionAnchorX_Setter_(unwrap_jso(this), value);
@DomName('VTTRegion.regionAnchorY')
@DocsEditable()
@@ -38006,7 +32738,7 @@ class VttRegion extends NativeFieldWrapperClass2 {
@DomName('VTTRegion.regionAnchorY')
@DocsEditable()
@Experimental() // untriaged
- set regionAnchorY(num value) => _blink.BlinkVTTRegion.instance.regionAnchorY_Setter_(unwrap_jso(this), value);
+ void set regionAnchorY(num value) => _blink.BlinkVTTRegion.instance.regionAnchorY_Setter_(unwrap_jso(this), value);
@DomName('VTTRegion.scroll')
@DocsEditable()
@@ -38016,7 +32748,7 @@ class VttRegion extends NativeFieldWrapperClass2 {
@DomName('VTTRegion.scroll')
@DocsEditable()
@Experimental() // untriaged
- set scroll(String value) => _blink.BlinkVTTRegion.instance.scroll_Setter_(unwrap_jso(this), value);
+ void set scroll(String value) => _blink.BlinkVTTRegion.instance.scroll_Setter_(unwrap_jso(this), value);
@DomName('VTTRegion.track')
@DocsEditable()
@@ -38031,7 +32763,7 @@ class VttRegion extends NativeFieldWrapperClass2 {
@DomName('VTTRegion.viewportAnchorX')
@DocsEditable()
@Experimental() // untriaged
- set viewportAnchorX(num value) => _blink.BlinkVTTRegion.instance.viewportAnchorX_Setter_(unwrap_jso(this), value);
+ void set viewportAnchorX(num value) => _blink.BlinkVTTRegion.instance.viewportAnchorX_Setter_(unwrap_jso(this), value);
@DomName('VTTRegion.viewportAnchorY')
@DocsEditable()
@@ -38041,7 +32773,7 @@ class VttRegion extends NativeFieldWrapperClass2 {
@DomName('VTTRegion.viewportAnchorY')
@DocsEditable()
@Experimental() // untriaged
- set viewportAnchorY(num value) => _blink.BlinkVTTRegion.instance.viewportAnchorY_Setter_(unwrap_jso(this), value);
+ void set viewportAnchorY(num value) => _blink.BlinkVTTRegion.instance.viewportAnchorY_Setter_(unwrap_jso(this), value);
@DomName('VTTRegion.width')
@DocsEditable()
@@ -38051,7 +32783,7 @@ class VttRegion extends NativeFieldWrapperClass2 {
@DomName('VTTRegion.width')
@DocsEditable()
@Experimental() // untriaged
- set width(num value) => _blink.BlinkVTTRegion.instance.width_Setter_(unwrap_jso(this), value);
+ void set width(num value) => _blink.BlinkVTTRegion.instance.width_Setter_(unwrap_jso(this), value);
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -38068,21 +32800,6 @@ class VttRegionList extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory VttRegionList._() { throw new UnsupportedError("Not supported"); }
- static VttRegionList internalCreateVttRegionList() {
- return new VttRegionList._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory VttRegionList._internalWrap() {
- return new VttRegionList.internal_();
- }
-
- VttRegionList.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('VTTRegionList.length')
@DocsEditable()
@Experimental() // untriaged
@@ -38091,12 +32808,12 @@ class VttRegionList extends NativeFieldWrapperClass2 {
@DomName('VTTRegionList.getRegionById')
@DocsEditable()
@Experimental() // untriaged
- VttRegion getRegionById(String id) => wrap_jso(_blink.BlinkVTTRegionList.instance.getRegionById_Callback_1_(unwrap_jso(this), id));
+ VttRegion getRegionById(String id) => _blink.BlinkVTTRegionList.instance.getRegionById_Callback_1_(unwrap_jso(this), id);
@DomName('VTTRegionList.item')
@DocsEditable()
@Experimental() // untriaged
- VttRegion item(int index) => wrap_jso(_blink.BlinkVTTRegionList.instance.item_Callback_1_(unwrap_jso(this), index));
+ VttRegion item(int index) => _blink.BlinkVTTRegionList.instance.item_Callback_1_(unwrap_jso(this), index);
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -38195,30 +32912,17 @@ class WebSocket extends EventTarget {
@DocsEditable()
factory WebSocket(String url, [protocol_OR_protocols]) {
if ((url is String || url == null) && protocol_OR_protocols == null) {
- return wrap_jso(_blink.BlinkWebSocket.instance.constructorCallback_1_(url));
+ return _blink.BlinkWebSocket.instance.constructorCallback_1_(url);
}
if ((protocol_OR_protocols is String || protocol_OR_protocols == null) && (url is String || url == null)) {
- return wrap_jso(_blink.BlinkWebSocket.instance.constructorCallback_2_(url, protocol_OR_protocols));
+ return _blink.BlinkWebSocket.instance.constructorCallback_2_(url, protocol_OR_protocols);
}
if ((protocol_OR_protocols is List<String> || protocol_OR_protocols == null) && (url is String || url == null)) {
- List protocols_1 = convertDartToNative_StringArray(protocol_OR_protocols);
- return wrap_jso(_blink.BlinkWebSocket.instance.constructorCallback_2_(url, protocols_1));
+ return _blink.BlinkWebSocket.instance.constructorCallback_2_(url, protocol_OR_protocols);
}
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;
@@ -38244,7 +32948,7 @@ class WebSocket extends EventTarget {
@DomName('WebSocket.binaryType')
@DocsEditable()
- set binaryType(String value) => _blink.BlinkWebSocket.instance.binaryType_Setter_(unwrap_jso(this), value);
+ void set binaryType(String value) => _blink.BlinkWebSocket.instance.binaryType_Setter_(unwrap_jso(this), value);
@DomName('WebSocket.bufferedAmount')
@DocsEditable()
@@ -38373,24 +33077,12 @@ class WheelEvent extends MouseEvent {
'relatedTarget': relatedTarget,
};
- return wrap_jso(_blink.BlinkWheelEvent.instance.constructorCallback_2_(type, convertDartToNative_Dictionary(options)));
+ return _blink.BlinkWheelEvent.constructorCallback_2(type, options);
}
// 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;
@@ -38409,15 +33101,15 @@ class WheelEvent extends MouseEvent {
@DomName('WheelEvent.deltaX')
@DocsEditable()
- num get _deltaX => _blink.BlinkWheelEvent.instance.deltaX_Getter_(unwrap_jso(this));
+ double get _deltaX => _blink.BlinkWheelEvent.instance.deltaX_Getter_(unwrap_jso(this));
@DomName('WheelEvent.deltaY')
@DocsEditable()
- num get _deltaY => _blink.BlinkWheelEvent.instance.deltaY_Getter_(unwrap_jso(this));
+ double get _deltaY => _blink.BlinkWheelEvent.instance.deltaY_Getter_(unwrap_jso(this));
@DomName('WheelEvent.deltaZ')
@DocsEditable()
- num get deltaZ => _blink.BlinkWheelEvent.instance.deltaZ_Getter_(unwrap_jso(this));
+ double get deltaZ => _blink.BlinkWheelEvent.instance.deltaZ_Getter_(unwrap_jso(this));
/**
@@ -38719,18 +33411,6 @@ 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.
@@ -38821,7 +33501,7 @@ class Window extends EventTarget implements WindowEventHandlers, WindowBase, Glo
@DomName('Window.defaultStatus')
@DocsEditable()
@Experimental() // non-standard
- set defaultStatus(String value) => _blink.BlinkWindow.instance.defaultStatus_Setter_(unwrap_jso(this), value);
+ void set defaultStatus(String value) => _blink.BlinkWindow.instance.defaultStatus_Setter_(unwrap_jso(this), value);
/// *Deprecated*.
@DomName('Window.defaultstatus')
@@ -38833,7 +33513,7 @@ class Window extends EventTarget implements WindowEventHandlers, WindowBase, Glo
@DomName('Window.defaultstatus')
@DocsEditable()
@Experimental() // non-standard
- set defaultstatus(String value) => _blink.BlinkWindow.instance.defaultstatus_Setter_(unwrap_jso(this), value);
+ void set defaultstatus(String value) => _blink.BlinkWindow.instance.defaultstatus_Setter_(unwrap_jso(this), value);
/**
* The ratio between physical pixels and logical CSS pixels.
@@ -38851,7 +33531,7 @@ class Window extends EventTarget implements WindowEventHandlers, WindowBase, Glo
@DocsEditable()
// http://www.quirksmode.org/blog/archives/2012/06/devicepixelrati.html
@Experimental() // non-standard
- num get devicePixelRatio => _blink.BlinkWindow.instance.devicePixelRatio_Getter_(unwrap_jso(this));
+ double get devicePixelRatio => _blink.BlinkWindow.instance.devicePixelRatio_Getter_(unwrap_jso(this));
@DomName('Window.document')
@DocsEditable()
@@ -38975,7 +33655,7 @@ class Window extends EventTarget implements WindowEventHandlers, WindowBase, Glo
*/
@DomName('Window.name')
@DocsEditable()
- set name(String value) => _blink.BlinkWindow.instance.name_Setter_(unwrap_jso(this), value);
+ void set name(String value) => _blink.BlinkWindow.instance.name_Setter_(unwrap_jso(this), value);
/**
* The user agent accessing this window.
@@ -39010,7 +33690,7 @@ class Window extends EventTarget implements WindowEventHandlers, WindowBase, Glo
@DomName('Window.opener')
@DocsEditable()
- set opener(Window value) => _blink.BlinkWindow.instance.opener_Setter_(unwrap_jso(this), unwrap_jso(value));
+ void set opener(Window value) => _blink.BlinkWindow.instance.opener_Setter_(unwrap_jso(this), unwrap_jso(value));
@DomName('Window.orientation')
@DocsEditable()
@@ -39057,7 +33737,7 @@ class Window extends EventTarget implements WindowEventHandlers, WindowBase, Glo
*/
@DomName('Window.pageXOffset')
@DocsEditable()
- num get _pageXOffset => _blink.BlinkWindow.instance.pageXOffset_Getter_(unwrap_jso(this));
+ double get _pageXOffset => _blink.BlinkWindow.instance.pageXOffset_Getter_(unwrap_jso(this));
/**
* The distance this window has been scrolled vertically.
@@ -39073,7 +33753,7 @@ class Window extends EventTarget implements WindowEventHandlers, WindowBase, Glo
*/
@DomName('Window.pageYOffset')
@DocsEditable()
- num get _pageYOffset => _blink.BlinkWindow.instance.pageYOffset_Getter_(unwrap_jso(this));
+ double get _pageYOffset => _blink.BlinkWindow.instance.pageYOffset_Getter_(unwrap_jso(this));
@DomName('Window.parent')
@DocsEditable()
@@ -39160,11 +33840,11 @@ class Window extends EventTarget implements WindowEventHandlers, WindowBase, Glo
@DomName('Window.scrollX')
@DocsEditable()
- num get _scrollX => _blink.BlinkWindow.instance.scrollX_Getter_(unwrap_jso(this));
+ double get _scrollX => _blink.BlinkWindow.instance.scrollX_Getter_(unwrap_jso(this));
@DomName('Window.scrollY')
@DocsEditable()
- num get _scrollY => _blink.BlinkWindow.instance.scrollY_Getter_(unwrap_jso(this));
+ double get _scrollY => _blink.BlinkWindow.instance.scrollY_Getter_(unwrap_jso(this));
/**
* This window's scroll bars.
@@ -39231,7 +33911,7 @@ class Window extends EventTarget implements WindowEventHandlers, WindowBase, Glo
/// *Deprecated*.
@DomName('Window.status')
@DocsEditable()
- set status(String value) => _blink.BlinkWindow.instance.status_Setter_(unwrap_jso(this), value);
+ void set status(String value) => _blink.BlinkWindow.instance.status_Setter_(unwrap_jso(this), value);
/**
* This window's status bar.
@@ -39292,10 +33972,10 @@ class Window extends EventTarget implements WindowEventHandlers, WindowBase, Glo
WindowBase __getter__(index_OR_name) {
if ((index_OR_name is int)) {
- return wrap_jso(_blink.BlinkWindow.instance.$__getter___Callback_1_(unwrap_jso(this), unwrap_jso(index_OR_name)));
+ return _blink.BlinkWindow.instance.$__getter___Callback_1_(unwrap_jso(this), unwrap_jso(index_OR_name));
}
if ((index_OR_name is String)) {
- return wrap_jso(_blink.BlinkWindow.instance.$__getter___Callback_1_(unwrap_jso(this), unwrap_jso(index_OR_name)));
+ return _blink.BlinkWindow.instance.$__getter___Callback_1_(unwrap_jso(this), unwrap_jso(index_OR_name));
}
throw new ArgumentError("Incorrect number or type of arguments");
}
@@ -39339,7 +34019,7 @@ class Window extends EventTarget implements WindowEventHandlers, WindowBase, Glo
@DomName('Window.getComputedStyle')
@DocsEditable()
- CssStyleDeclaration _getComputedStyle(Element element, String pseudoElement) => wrap_jso(_blink.BlinkWindow.instance.getComputedStyle_Callback_2_(unwrap_jso(this), unwrap_jso(element), pseudoElement));
+ CssStyleDeclaration _getComputedStyle(Element element, String pseudoElement) => _blink.BlinkWindow.instance.getComputedStyle_Callback_2_(unwrap_jso(this), unwrap_jso(element), pseudoElement);
/**
* Returns all CSS rules that apply to the element's pseudo-element.
@@ -39347,7 +34027,7 @@ class Window extends EventTarget implements WindowEventHandlers, WindowBase, Glo
@DomName('Window.getMatchedCSSRules')
@DocsEditable()
@Experimental() // non-standard
- List<CssRule> getMatchedCssRules(Element element, String pseudoElement) => wrap_jso(_blink.BlinkWindow.instance.getMatchedCSSRules_Callback_2_(unwrap_jso(this), unwrap_jso(element), pseudoElement));
+ List<CssRule> getMatchedCssRules(Element element, String pseudoElement) => _blink.BlinkWindow.instance.getMatchedCSSRules_Callback_2_(unwrap_jso(this), unwrap_jso(element), pseudoElement);
/**
* Returns the currently selected text.
@@ -39399,13 +34079,13 @@ class Window extends EventTarget implements WindowEventHandlers, WindowBase, Glo
@DomName('Window.open')
@DocsEditable()
- WindowBase open(String url, String name, [String options]) => wrap_jso(_blink.BlinkWindow.instance.open_Callback_3_(unwrap_jso(this), url, name, options));
+ WindowBase open(String url, String name, [String options]) => _blink.BlinkWindow.instance.open_Callback_3_(unwrap_jso(this), url, name, options);
SqlDatabase openDatabase(String name, String version, String displayName, int estimatedSize, [DatabaseCallback creationCallback]) {
if (creationCallback != null) {
- return wrap_jso(_blink.BlinkWindow.instance.openDatabase_Callback_5_(unwrap_jso(this), name, version, displayName, estimatedSize, unwrap_jso((database) => creationCallback(wrap_jso(database)))));
+ return _blink.BlinkWindow.instance.openDatabase_Callback_5_(unwrap_jso(this), name, version, displayName, estimatedSize, unwrap_jso(creationCallback));
}
- return wrap_jso(_blink.BlinkWindow.instance.openDatabase_Callback_4_(unwrap_jso(this), name, version, displayName, estimatedSize));
+ return _blink.BlinkWindow.instance.openDatabase_Callback_4_(unwrap_jso(this), name, version, displayName, estimatedSize);
}
@DomName('Window.postMessage')
@@ -39426,7 +34106,7 @@ class Window extends EventTarget implements WindowEventHandlers, WindowBase, Glo
@DomName('Window.requestAnimationFrame')
@DocsEditable()
- int _requestAnimationFrame(RequestAnimationFrameCallback callback) => _blink.BlinkWindow.instance.requestAnimationFrame_Callback_1_(unwrap_jso(this), unwrap_jso((highResTime) => callback(highResTime)));
+ int _requestAnimationFrame(RequestAnimationFrameCallback callback) => _blink.BlinkWindow.instance.requestAnimationFrame_Callback_1_(unwrap_jso(this), unwrap_jso(callback));
/**
* Resizes this window by an offset.
@@ -39458,7 +34138,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 != null ? new js.JsObject.jsify(scrollOptions) : scrollOptions);
+ _blink.BlinkWindow.instance.scroll_Callback_3_(unwrap_jso(this), unwrap_jso(x), unwrap_jso(y), scrollOptions);
return;
}
if ((y is int) && (x is int) && scrollOptions == null) {
@@ -39466,7 +34146,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 != null ? new js.JsObject.jsify(scrollOptions) : scrollOptions);
+ _blink.BlinkWindow.instance.scroll_Callback_3_(unwrap_jso(this), unwrap_jso(x), unwrap_jso(y), scrollOptions);
return;
}
throw new ArgumentError("Incorrect number or type of arguments");
@@ -39478,7 +34158,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 != null ? new js.JsObject.jsify(scrollOptions) : scrollOptions);
+ _blink.BlinkWindow.instance.scrollBy_Callback_3_(unwrap_jso(this), unwrap_jso(x), unwrap_jso(y), scrollOptions);
return;
}
if ((y is int) && (x is int) && scrollOptions == null) {
@@ -39486,7 +34166,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 != null ? new js.JsObject.jsify(scrollOptions) : scrollOptions);
+ _blink.BlinkWindow.instance.scrollBy_Callback_3_(unwrap_jso(this), unwrap_jso(x), unwrap_jso(y), scrollOptions);
return;
}
throw new ArgumentError("Incorrect number or type of arguments");
@@ -39498,7 +34178,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 != null ? new js.JsObject.jsify(scrollOptions) : scrollOptions);
+ _blink.BlinkWindow.instance.scrollTo_Callback_3_(unwrap_jso(this), unwrap_jso(x), unwrap_jso(y), scrollOptions);
return;
}
if ((y is int) && (x is int) && scrollOptions == null) {
@@ -39506,7 +34186,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 != null ? new js.JsObject.jsify(scrollOptions) : scrollOptions);
+ _blink.BlinkWindow.instance.scrollTo_Callback_3_(unwrap_jso(this), unwrap_jso(x), unwrap_jso(y), scrollOptions);
return;
}
throw new ArgumentError("Incorrect number or type of arguments");
@@ -39540,10 +34220,10 @@ class Window extends EventTarget implements WindowEventHandlers, WindowBase, Glo
void __requestFileSystem(int type, int size, _FileSystemCallback successCallback, [_ErrorCallback errorCallback]) {
if (errorCallback != null) {
- _blink.BlinkWindow.instance.webkitRequestFileSystem_Callback_4_(unwrap_jso(this), type, size, unwrap_jso((fileSystem) => successCallback(wrap_jso(fileSystem))), unwrap_jso((error) => errorCallback(wrap_jso(error))));
+ _blink.BlinkWindow.instance.webkitRequestFileSystem_Callback_4_(unwrap_jso(this), type, size, unwrap_jso(successCallback), unwrap_jso(errorCallback));
return;
}
- _blink.BlinkWindow.instance.webkitRequestFileSystem_Callback_3_(unwrap_jso(this), type, size, unwrap_jso((fileSystem) => successCallback(wrap_jso(fileSystem))));
+ _blink.BlinkWindow.instance.webkitRequestFileSystem_Callback_3_(unwrap_jso(this), type, size, unwrap_jso(successCallback));
return;
}
@@ -39557,10 +34237,10 @@ class Window extends EventTarget implements WindowEventHandlers, WindowBase, Glo
void _resolveLocalFileSystemUrl(String url, _EntryCallback successCallback, [_ErrorCallback errorCallback]) {
if (errorCallback != null) {
- _blink.BlinkWindow.instance.webkitResolveLocalFileSystemURL_Callback_3_(unwrap_jso(this), url, unwrap_jso((entry) => successCallback(wrap_jso(entry))), unwrap_jso((error) => errorCallback(wrap_jso(error))));
+ _blink.BlinkWindow.instance.webkitResolveLocalFileSystemURL_Callback_3_(unwrap_jso(this), url, unwrap_jso(successCallback), unwrap_jso(errorCallback));
return;
}
- _blink.BlinkWindow.instance.webkitResolveLocalFileSystemURL_Callback_2_(unwrap_jso(this), url, unwrap_jso((entry) => successCallback(wrap_jso(entry))));
+ _blink.BlinkWindow.instance.webkitResolveLocalFileSystemURL_Callback_2_(unwrap_jso(this), url, unwrap_jso(successCallback));
return;
}
@@ -40193,21 +34873,9 @@ class Worker extends EventTarget implements AbstractWorker {
@DomName('Worker.Worker')
@DocsEditable()
factory Worker(String scriptUrl) {
- return wrap_jso(_blink.BlinkWorker.instance.constructorCallback_1_(scriptUrl));
- }
-
-
- static Worker internalCreateWorker() {
- return new Worker._internalWrap();
+ return _blink.BlinkWorker.instance.constructorCallback_1_(scriptUrl);
}
- 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;
@@ -40245,18 +34913,6 @@ 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
@@ -40283,18 +34939,6 @@ 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
@@ -40352,11 +34996,11 @@ class WorkerGlobalScope extends EventTarget implements _WindowTimers, WindowBase
void _webkitRequestFileSystem(int type, int size, [_FileSystemCallback successCallback, _ErrorCallback errorCallback]) {
if (errorCallback != null) {
- _blink.BlinkWorkerGlobalScope.instance.webkitRequestFileSystem_Callback_4_(unwrap_jso(this), type, size, unwrap_jso((fileSystem) => successCallback(wrap_jso(fileSystem))), unwrap_jso((error) => errorCallback(wrap_jso(error))));
+ _blink.BlinkWorkerGlobalScope.instance.webkitRequestFileSystem_Callback_4_(unwrap_jso(this), type, size, unwrap_jso(successCallback), unwrap_jso(errorCallback));
return;
}
if (successCallback != null) {
- _blink.BlinkWorkerGlobalScope.instance.webkitRequestFileSystem_Callback_3_(unwrap_jso(this), type, size, unwrap_jso((fileSystem) => successCallback(wrap_jso(fileSystem))));
+ _blink.BlinkWorkerGlobalScope.instance.webkitRequestFileSystem_Callback_3_(unwrap_jso(this), type, size, unwrap_jso(successCallback));
return;
}
_blink.BlinkWorkerGlobalScope.instance.webkitRequestFileSystem_Callback_2_(unwrap_jso(this), type, size);
@@ -40377,7 +35021,7 @@ class WorkerGlobalScope extends EventTarget implements _WindowTimers, WindowBase
@SupportedBrowser(SupportedBrowser.SAFARI)
@Experimental()
@Experimental() // untriaged
- _DOMFileSystemSync requestFileSystemSync(int type, int size) => wrap_jso(_blink.BlinkWorkerGlobalScope.instance.webkitRequestFileSystemSync_Callback_2_(unwrap_jso(this), type, size));
+ _DOMFileSystemSync requestFileSystemSync(int type, int size) => _blink.BlinkWorkerGlobalScope.instance.webkitRequestFileSystemSync_Callback_2_(unwrap_jso(this), type, size);
@DomName('WorkerGlobalScope.webkitResolveLocalFileSystemSyncURL')
@DocsEditable()
@@ -40385,14 +35029,14 @@ class WorkerGlobalScope extends EventTarget implements _WindowTimers, WindowBase
@SupportedBrowser(SupportedBrowser.SAFARI)
@Experimental()
@Experimental() // untriaged
- _EntrySync resolveLocalFileSystemSyncUrl(String url) => wrap_jso(_blink.BlinkWorkerGlobalScope.instance.webkitResolveLocalFileSystemSyncURL_Callback_1_(unwrap_jso(this), url));
+ _EntrySync resolveLocalFileSystemSyncUrl(String url) => _blink.BlinkWorkerGlobalScope.instance.webkitResolveLocalFileSystemSyncURL_Callback_1_(unwrap_jso(this), url);
void _webkitResolveLocalFileSystemUrl(String url, _EntryCallback successCallback, [_ErrorCallback errorCallback]) {
if (errorCallback != null) {
- _blink.BlinkWorkerGlobalScope.instance.webkitResolveLocalFileSystemURL_Callback_3_(unwrap_jso(this), url, unwrap_jso((entry) => successCallback(wrap_jso(entry))), unwrap_jso((error) => errorCallback(wrap_jso(error))));
+ _blink.BlinkWorkerGlobalScope.instance.webkitResolveLocalFileSystemURL_Callback_3_(unwrap_jso(this), url, unwrap_jso(successCallback), unwrap_jso(errorCallback));
return;
}
- _blink.BlinkWorkerGlobalScope.instance.webkitResolveLocalFileSystemURL_Callback_2_(unwrap_jso(this), url, unwrap_jso((entry) => successCallback(wrap_jso(entry))));
+ _blink.BlinkWorkerGlobalScope.instance.webkitResolveLocalFileSystemURL_Callback_2_(unwrap_jso(this), url, unwrap_jso(successCallback));
return;
}
@@ -40455,21 +35099,6 @@ class WorkerPerformance extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory WorkerPerformance._() { throw new UnsupportedError("Not supported"); }
- static WorkerPerformance internalCreateWorkerPerformance() {
- return new WorkerPerformance._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory WorkerPerformance._internalWrap() {
- return new WorkerPerformance.internal_();
- }
-
- WorkerPerformance.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('WorkerPerformance.memory')
@DocsEditable()
@Experimental() // untriaged
@@ -40478,7 +35107,7 @@ class WorkerPerformance extends NativeFieldWrapperClass2 {
@DomName('WorkerPerformance.now')
@DocsEditable()
@Experimental() // untriaged
- num now() => _blink.BlinkWorkerPerformance.instance.now_Callback_0_(unwrap_jso(this));
+ double now() => _blink.BlinkWorkerPerformance.instance.now_Callback_0_(unwrap_jso(this));
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -40499,24 +35128,9 @@ class XPathEvaluator extends NativeFieldWrapperClass2 {
@DomName('XPathEvaluator.XPathEvaluator')
@DocsEditable()
factory XPathEvaluator() {
- return wrap_jso(_blink.BlinkXPathEvaluator.instance.constructorCallback_0_());
- }
-
- static XPathEvaluator internalCreateXPathEvaluator() {
- return new XPathEvaluator._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory XPathEvaluator._internalWrap() {
- return new XPathEvaluator.internal_();
+ return _blink.BlinkXPathEvaluator.instance.constructorCallback_0_();
}
- XPathEvaluator.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@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)));
@@ -40545,21 +35159,6 @@ class XPathExpression extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory XPathExpression._() { throw new UnsupportedError("Not supported"); }
- static XPathExpression internalCreateXPathExpression() {
- return new XPathExpression._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory XPathExpression._internalWrap() {
- return new XPathExpression.internal_();
- }
-
- XPathExpression.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@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)));
@@ -40580,21 +35179,6 @@ class XPathNSResolver extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory XPathNSResolver._() { throw new UnsupportedError("Not supported"); }
- static XPathNSResolver internalCreateXPathNSResolver() {
- return new XPathNSResolver._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory XPathNSResolver._internalWrap() {
- return new XPathNSResolver.internal_();
- }
-
- XPathNSResolver.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('XPathNSResolver.lookupNamespaceURI')
@DocsEditable()
String lookupNamespaceUri(String prefix) => _blink.BlinkXPathNSResolver.instance.lookupNamespaceURI_Callback_1_(unwrap_jso(this), prefix);
@@ -40615,21 +35199,6 @@ class XPathResult extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory XPathResult._() { throw new UnsupportedError("Not supported"); }
- static XPathResult internalCreateXPathResult() {
- return new XPathResult._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory XPathResult._internalWrap() {
- return new XPathResult.internal_();
- }
-
- XPathResult.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('XPathResult.ANY_TYPE')
@DocsEditable()
static const int ANY_TYPE = 0;
@@ -40680,7 +35249,7 @@ class XPathResult extends NativeFieldWrapperClass2 {
@DomName('XPathResult.numberValue')
@DocsEditable()
- num get numberValue => _blink.BlinkXPathResult.instance.numberValue_Getter_(unwrap_jso(this));
+ double get numberValue => _blink.BlinkXPathResult.instance.numberValue_Getter_(unwrap_jso(this));
@DomName('XPathResult.resultType')
@DocsEditable()
@@ -40721,18 +35290,6 @@ 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
@@ -40752,24 +35309,9 @@ class XmlSerializer extends NativeFieldWrapperClass2 {
@DomName('XMLSerializer.XMLSerializer')
@DocsEditable()
factory XmlSerializer() {
- return wrap_jso(_blink.BlinkXMLSerializer.instance.constructorCallback_0_());
+ return _blink.BlinkXMLSerializer.instance.constructorCallback_0_();
}
- static XmlSerializer internalCreateXmlSerializer() {
- return new XmlSerializer._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory XmlSerializer._internalWrap() {
- return new XmlSerializer.internal_();
- }
-
- XmlSerializer.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('XMLSerializer.serializeToString')
@DocsEditable()
String serializeToString(Node node) => _blink.BlinkXMLSerializer.instance.serializeToString_Callback_1_(unwrap_jso(this), unwrap_jso(node));
@@ -40795,24 +35337,9 @@ class XsltProcessor extends NativeFieldWrapperClass2 {
@DomName('XSLTProcessor.XSLTProcessor')
@DocsEditable()
factory XsltProcessor() {
- return wrap_jso(_blink.BlinkXSLTProcessor.instance.constructorCallback_0_());
+ return _blink.BlinkXSLTProcessor.instance.constructorCallback_0_();
}
- static XsltProcessor internalCreateXsltProcessor() {
- return new XsltProcessor._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory XsltProcessor._internalWrap() {
- return new XsltProcessor.internal_();
- }
-
- XsltProcessor.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
/// Checks if this type is supported on the current platform.
static bool get supported => true;
@@ -40862,18 +35389,6 @@ 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
@@ -40901,7 +35416,7 @@ class _Attr extends Node {
@DomName('Attr.textContent')
@DocsEditable()
@Experimental() // untriaged
- set text(String value) => _blink.BlinkAttr.instance.textContent_Setter_(unwrap_jso(this), value);
+ void set text(String value) => _blink.BlinkAttr.instance.textContent_Setter_(unwrap_jso(this), value);
@DomName('Attr.value')
@DocsEditable()
@@ -40909,7 +35424,7 @@ class _Attr extends Node {
@DomName('Attr.value')
@DocsEditable()
- set value(String value) => _blink.BlinkAttr.instance.value_Setter_(unwrap_jso(this), value);
+ void set value(String value) => _blink.BlinkAttr.instance.value_Setter_(unwrap_jso(this), value);
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -40923,22 +35438,10 @@ class _Attr extends Node {
@DomName('CSSPrimitiveValue')
// http://dev.w3.org/csswg/cssom/#the-cssstyledeclaration-interface
@deprecated // deprecated
-class _CSSPrimitiveValue extends _CSSValue {
+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
@@ -40951,22 +35454,10 @@ class _CSSPrimitiveValue extends _CSSValue {
@DomName('CSSUnknownRule')
// http://dev.w3.org/csswg/cssom/#the-cssstylesheet-interface
@deprecated // deprecated
-class _CSSUnknownRule extends CssRule {
+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
@@ -40979,25 +35470,10 @@ class _CSSUnknownRule extends CssRule {
@DomName('CSSValue')
// http://dev.w3.org/csswg/cssom/
@deprecated // deprecated
-class _CSSValue extends NativeFieldWrapperClass2 {
+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();
- }
-
- js.JsObject blink_jsObject;
-
- factory _CSSValue._internalWrap() {
- return new _CSSValue.internal_();
- }
-
- _CSSValue.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -41009,25 +35485,10 @@ class _CSSValue extends NativeFieldWrapperClass2 {
@DocsEditable()
@DomName('Cache')
@Experimental() // untriaged
-class _Cache extends NativeFieldWrapperClass2 {
+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();
- }
-
- js.JsObject blink_jsObject;
-
- factory _Cache._internalWrap() {
- return new _Cache.internal_();
- }
-
- _Cache.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -41039,25 +35500,10 @@ class _Cache extends NativeFieldWrapperClass2 {
@DocsEditable()
@DomName('CanvasPathMethods')
@Experimental() // untriaged
-class _CanvasPathMethods extends NativeFieldWrapperClass2 {
+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();
- }
-
- js.JsObject blink_jsObject;
-
- factory _CanvasPathMethods._internalWrap() {
- return new _CanvasPathMethods.internal_();
- }
-
- _CanvasPathMethods.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
}
// 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
@@ -41160,42 +35606,29 @@ 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();
- }
-
- js.JsObject blink_jsObject;
-
- factory _ClientRect._internalWrap() {
- return new _ClientRect.internal_();
- }
-
- _ClientRect.internal_() { }
-
-
@DomName('ClientRect.bottom')
@DocsEditable()
- num get bottom => _blink.BlinkClientRect.instance.bottom_Getter_(unwrap_jso(this));
+ double get bottom => _blink.BlinkClientRect.instance.bottom_Getter_(unwrap_jso(this));
@DomName('ClientRect.height')
@DocsEditable()
- num get height => _blink.BlinkClientRect.instance.height_Getter_(unwrap_jso(this));
+ double get height => _blink.BlinkClientRect.instance.height_Getter_(unwrap_jso(this));
@DomName('ClientRect.left')
@DocsEditable()
- num get left => _blink.BlinkClientRect.instance.left_Getter_(unwrap_jso(this));
+ double get left => _blink.BlinkClientRect.instance.left_Getter_(unwrap_jso(this));
@DomName('ClientRect.right')
@DocsEditable()
- num get right => _blink.BlinkClientRect.instance.right_Getter_(unwrap_jso(this));
+ double get right => _blink.BlinkClientRect.instance.right_Getter_(unwrap_jso(this));
@DomName('ClientRect.top')
@DocsEditable()
- num get top => _blink.BlinkClientRect.instance.top_Getter_(unwrap_jso(this));
+ double get top => _blink.BlinkClientRect.instance.top_Getter_(unwrap_jso(this));
@DomName('ClientRect.width')
@DocsEditable()
- num get width => _blink.BlinkClientRect.instance.width_Getter_(unwrap_jso(this));
+ double get width => _blink.BlinkClientRect.instance.width_Getter_(unwrap_jso(this));
}
/**
@@ -41243,25 +35676,10 @@ class _JenkinsSmiHash {
@DocsEditable()
@DomName('ClientRectList')
-class _ClientRectList extends JsoNativeFieldWrapper with ListMixin<Rectangle>, ImmutableListMixin<Rectangle> implements List<Rectangle> {
+class _ClientRectList extends NativeFieldWrapperClass2 with ListMixin<Rectangle>, ImmutableListMixin<Rectangle> implements List<Rectangle> {
// To suppress missing implicit constructor warnings.
factory _ClientRectList._() { throw new UnsupportedError("Not supported"); }
- static _ClientRectList internalCreate_ClientRectList() {
- return new _ClientRectList._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory _ClientRectList._internalWrap() {
- return new _ClientRectList.internal_();
- }
-
- _ClientRectList.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('ClientRectList.length')
@DocsEditable()
int get length => _blink.BlinkClientRectList.instance.length_Getter_(unwrap_jso(this));
@@ -41273,7 +35691,7 @@ class _ClientRectList extends JsoNativeFieldWrapper with ListMixin<Rectangle>, I
}
Rectangle _nativeIndexedGetter(int index) => wrap_jso(_blink.BlinkClientRectList.instance.item_Callback_1_(unwrap_jso(this), index));
-
+
void operator[]=(int index, Rectangle value) {
throw new UnsupportedError("Cannot assign element of immutable List.");
}
@@ -41281,7 +35699,7 @@ class _ClientRectList extends JsoNativeFieldWrapper with ListMixin<Rectangle>, I
// Rectangle is the element type.
- set length(int value) {
+ void set length(int value) {
throw new UnsupportedError("Cannot resize immutable List.");
}
@@ -41328,25 +35746,10 @@ class _ClientRectList extends JsoNativeFieldWrapper with ListMixin<Rectangle>, I
@DomName('Counter')
// http://dev.w3.org/csswg/cssom/
@deprecated // deprecated
-class _Counter extends NativeFieldWrapperClass2 {
+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();
- }
-
- js.JsObject blink_jsObject;
-
- factory _Counter._internalWrap() {
- return new _Counter.internal_();
- }
-
- _Counter.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -41357,25 +35760,10 @@ class _Counter extends NativeFieldWrapperClass2 {
@DocsEditable()
@DomName('CSSRuleList')
-class _CssRuleList extends JsoNativeFieldWrapper with ListMixin<CssRule>, ImmutableListMixin<CssRule> implements List<CssRule> {
+class _CssRuleList extends NativeFieldWrapperClass2 with ListMixin<CssRule>, ImmutableListMixin<CssRule> implements List<CssRule> {
// To suppress missing implicit constructor warnings.
factory _CssRuleList._() { throw new UnsupportedError("Not supported"); }
- static _CssRuleList internalCreate_CssRuleList() {
- return new _CssRuleList._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory _CssRuleList._internalWrap() {
- return new _CssRuleList.internal_();
- }
-
- _CssRuleList.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('CSSRuleList.length')
@DocsEditable()
int get length => _blink.BlinkCSSRuleList.instance.length_Getter_(unwrap_jso(this));
@@ -41387,7 +35775,7 @@ class _CssRuleList extends JsoNativeFieldWrapper with ListMixin<CssRule>, Immuta
}
CssRule _nativeIndexedGetter(int index) => wrap_jso(_blink.BlinkCSSRuleList.instance.item_Callback_1_(unwrap_jso(this), index));
-
+
void operator[]=(int index, CssRule value) {
throw new UnsupportedError("Cannot assign element of immutable List.");
}
@@ -41395,7 +35783,7 @@ class _CssRuleList extends JsoNativeFieldWrapper with ListMixin<CssRule>, Immuta
// CssRule is the element type.
- set length(int value) {
+ void set length(int value) {
throw new UnsupportedError("Cannot resize immutable List.");
}
@@ -41428,7 +35816,7 @@ class _CssRuleList extends JsoNativeFieldWrapper with ListMixin<CssRule>, Immuta
@DomName('CSSRuleList.item')
@DocsEditable()
- CssRule item(int index) => wrap_jso(_blink.BlinkCSSRuleList.instance.item_Callback_1_(unwrap_jso(this), index));
+ CssRule item(int index) => _blink.BlinkCSSRuleList.instance.item_Callback_1_(unwrap_jso(this), index);
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -41446,18 +35834,6 @@ 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));
@@ -41469,7 +35845,7 @@ class _CssValueList extends _CSSValue with ListMixin<_CSSValue>, ImmutableListMi
}
_CSSValue _nativeIndexedGetter(int index) => wrap_jso(_blink.BlinkCSSValueList.instance.item_Callback_1_(unwrap_jso(this), index));
-
+
void operator[]=(int index, _CSSValue value) {
throw new UnsupportedError("Cannot assign element of immutable List.");
}
@@ -41477,7 +35853,7 @@ class _CssValueList extends _CSSValue with ListMixin<_CSSValue>, ImmutableListMi
// _CSSValue is the element type.
- set length(int value) {
+ void set length(int value) {
throw new UnsupportedError("Cannot resize immutable List.");
}
@@ -41510,7 +35886,7 @@ class _CssValueList extends _CSSValue with ListMixin<_CSSValue>, ImmutableListMi
@DomName('CSSValueList.item')
@DocsEditable()
- _CSSValue item(int index) => wrap_jso(_blink.BlinkCSSValueList.instance.item_Callback_1_(unwrap_jso(this), index));
+ _CSSValue item(int index) => _blink.BlinkCSSValueList.instance.item_Callback_1_(unwrap_jso(this), index);
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -41525,25 +35901,10 @@ class _CssValueList extends _CSSValue with ListMixin<_CSSValue>, ImmutableListMi
@SupportedBrowser(SupportedBrowser.CHROME)
@Experimental()
// http://www.w3.org/TR/file-system-api/#the-filesystemsync-interface
-class _DOMFileSystemSync extends NativeFieldWrapperClass2 {
+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();
- }
-
- js.JsObject blink_jsObject;
-
- factory _DOMFileSystemSync._internalWrap() {
- return new _DOMFileSystemSync.internal_();
- }
-
- _DOMFileSystemSync.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -41556,22 +35917,10 @@ class _DOMFileSystemSync extends NativeFieldWrapperClass2 {
@DomName('DirectoryEntrySync')
// http://www.w3.org/TR/file-system-api/#the-directoryentrysync-interface
@Experimental()
-class _DirectoryEntrySync extends _EntrySync {
+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
@@ -41584,56 +35933,27 @@ class _DirectoryEntrySync extends _EntrySync {
@DomName('DirectoryReaderSync')
// http://www.w3.org/TR/file-system-api/#idl-def-DirectoryReaderSync
@Experimental()
-class _DirectoryReaderSync extends NativeFieldWrapperClass2 {
+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();
- }
-
- js.JsObject blink_jsObject;
-
- factory _DirectoryReaderSync._internalWrap() {
- return new _DirectoryReaderSync.internal_();
- }
-
- _DirectoryReaderSync.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
+// WARNING: Do not edit - generated code.
+
@DocsEditable()
@DomName('DocumentType')
// http://www.w3.org/TR/DOM-Level-3-Core/core.html#ID-412266927
@deprecated // stable
-class _DocumentType extends Node implements ChildNode {
+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_();
-
-
- // Override this methods for Dartium _DocumentType can't be abstract.
- Element get nextElementSibling => wrap_jso(_blink.BlinkDocumentType.instance.nextElementSibling_Getter_(unwrap_jso(this)));
- Element get previousElementSibling => wrap_jso(_blink.BlinkDocumentType.instance.previousElementSibling_Getter_(unwrap_jso(this)));
}
-
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
@@ -41652,32 +35972,20 @@ class _DomRect extends DomRectReadOnly {
@DocsEditable()
factory _DomRect([num x, num y, num width, num height]) {
if (height != null) {
- return wrap_jso(_blink.BlinkDOMRect.instance.constructorCallback_4_(x, y, width, height));
+ return _blink.BlinkDOMRect.instance.constructorCallback_4_(x, y, width, height);
}
if (width != null) {
- return wrap_jso(_blink.BlinkDOMRect.instance.constructorCallback_3_(x, y, width));
+ return _blink.BlinkDOMRect.instance.constructorCallback_3_(x, y, width);
}
if (y != null) {
- return wrap_jso(_blink.BlinkDOMRect.instance.constructorCallback_2_(x, y));
+ return _blink.BlinkDOMRect.instance.constructorCallback_2_(x, y);
}
if (x != null) {
- return wrap_jso(_blink.BlinkDOMRect.instance.constructorCallback_1_(x));
+ return _blink.BlinkDOMRect.instance.constructorCallback_1_(x);
}
- return wrap_jso(_blink.BlinkDOMRect.instance.constructorCallback_0_());
+ 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
@@ -41686,7 +35994,7 @@ class _DomRect extends DomRectReadOnly {
@DomName('DOMRect.height')
@DocsEditable()
@Experimental() // untriaged
- set height(num value) => _blink.BlinkDOMRect.instance.height_Setter_(unwrap_jso(this), value);
+ void set height(num value) => _blink.BlinkDOMRect.instance.height_Setter_(unwrap_jso(this), value);
@DomName('DOMRect.width')
@DocsEditable()
@@ -41696,7 +36004,7 @@ class _DomRect extends DomRectReadOnly {
@DomName('DOMRect.width')
@DocsEditable()
@Experimental() // untriaged
- set width(num value) => _blink.BlinkDOMRect.instance.width_Setter_(unwrap_jso(this), value);
+ void set width(num value) => _blink.BlinkDOMRect.instance.width_Setter_(unwrap_jso(this), value);
@DomName('DOMRect.x')
@DocsEditable()
@@ -41706,7 +36014,7 @@ class _DomRect extends DomRectReadOnly {
@DomName('DOMRect.x')
@DocsEditable()
@Experimental() // untriaged
- set x(num value) => _blink.BlinkDOMRect.instance.x_Setter_(unwrap_jso(this), value);
+ void set x(num value) => _blink.BlinkDOMRect.instance.x_Setter_(unwrap_jso(this), value);
@DomName('DOMRect.y')
@DocsEditable()
@@ -41716,7 +36024,7 @@ class _DomRect extends DomRectReadOnly {
@DomName('DOMRect.y')
@DocsEditable()
@Experimental() // untriaged
- set y(num value) => _blink.BlinkDOMRect.instance.y_Setter_(unwrap_jso(this), value);
+ void set y(num value) => _blink.BlinkDOMRect.instance.y_Setter_(unwrap_jso(this), value);
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -41730,25 +36038,10 @@ class _DomRect extends DomRectReadOnly {
@DomName('EntrySync')
// http://www.w3.org/TR/file-system-api/#idl-def-EntrySync
@Experimental()
-class _EntrySync extends NativeFieldWrapperClass2 {
+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();
- }
-
- js.JsObject blink_jsObject;
-
- factory _EntrySync._internalWrap() {
- return new _EntrySync.internal_();
- }
-
- _EntrySync.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -41761,22 +36054,10 @@ class _EntrySync extends NativeFieldWrapperClass2 {
@DomName('FileEntrySync')
// http://www.w3.org/TR/file-system-api/#the-fileentrysync-interface
@Experimental()
-class _FileEntrySync extends _EntrySync {
+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
@@ -41789,31 +36070,16 @@ class _FileEntrySync extends _EntrySync {
@DomName('FileReaderSync')
// http://www.w3.org/TR/FileAPI/#FileReaderSync
@Experimental()
-class _FileReaderSync extends NativeFieldWrapperClass2 {
+abstract class _FileReaderSync extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory _FileReaderSync._() { throw new UnsupportedError("Not supported"); }
@DomName('FileReaderSync.FileReaderSync')
@DocsEditable()
factory _FileReaderSync() {
- return wrap_jso(_blink.BlinkFileReaderSync.instance.constructorCallback_0_());
- }
-
- static _FileReaderSync internalCreate_FileReaderSync() {
- return new _FileReaderSync._internalWrap();
+ return _blink.BlinkFileReaderSync.instance.constructorCallback_0_();
}
- js.JsObject blink_jsObject;
-
- factory _FileReaderSync._internalWrap() {
- return new _FileReaderSync.internal_();
- }
-
- _FileReaderSync.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -41826,25 +36092,10 @@ class _FileReaderSync extends NativeFieldWrapperClass2 {
@DomName('FileWriterSync')
// http://www.w3.org/TR/file-writer-api/#idl-def-FileWriterSync
@Experimental()
-class _FileWriterSync extends NativeFieldWrapperClass2 {
+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();
- }
-
- js.JsObject blink_jsObject;
-
- factory _FileWriterSync._internalWrap() {
- return new _FileWriterSync.internal_();
- }
-
- _FileWriterSync.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -41857,25 +36108,10 @@ class _FileWriterSync extends NativeFieldWrapperClass2 {
@DomName('GamepadList')
// https://dvcs.w3.org/hg/gamepad/raw-file/default/gamepad.html
@Experimental()
-class _GamepadList extends JsoNativeFieldWrapper with ListMixin<Gamepad>, ImmutableListMixin<Gamepad> implements List<Gamepad> {
+class _GamepadList extends NativeFieldWrapperClass2 with ListMixin<Gamepad>, ImmutableListMixin<Gamepad> implements List<Gamepad> {
// To suppress missing implicit constructor warnings.
factory _GamepadList._() { throw new UnsupportedError("Not supported"); }
- static _GamepadList internalCreate_GamepadList() {
- return new _GamepadList._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory _GamepadList._internalWrap() {
- return new _GamepadList.internal_();
- }
-
- _GamepadList.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('GamepadList.length')
@DocsEditable()
int get length => _blink.BlinkGamepadList.instance.length_Getter_(unwrap_jso(this));
@@ -41887,7 +36123,7 @@ class _GamepadList extends JsoNativeFieldWrapper with ListMixin<Gamepad>, Immuta
}
Gamepad _nativeIndexedGetter(int index) => wrap_jso(_blink.BlinkGamepadList.instance.item_Callback_1_(unwrap_jso(this), index));
-
+
void operator[]=(int index, Gamepad value) {
throw new UnsupportedError("Cannot assign element of immutable List.");
}
@@ -41895,7 +36131,7 @@ class _GamepadList extends JsoNativeFieldWrapper with ListMixin<Gamepad>, Immuta
// Gamepad is the element type.
- set length(int value) {
+ void set length(int value) {
throw new UnsupportedError("Cannot resize immutable List.");
}
@@ -41942,25 +36178,10 @@ class _GamepadList extends JsoNativeFieldWrapper with ListMixin<Gamepad>, Immuta
@DomName('HTMLAllCollection')
// http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#dom-document-all
@deprecated // deprecated
-class _HTMLAllCollection extends NativeFieldWrapperClass2 {
+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();
- }
-
- js.JsObject blink_jsObject;
-
- factory _HTMLAllCollection._internalWrap() {
- return new _HTMLAllCollection.internal_();
- }
-
- _HTMLAllCollection.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('HTMLAllCollection.item')
@DocsEditable()
Element _item(int index) => wrap_jso(_blink.BlinkHTMLAllCollection.instance.item_Callback_1_(unwrap_jso(this), index));
@@ -41977,21 +36198,9 @@ class _HTMLAllCollection extends NativeFieldWrapperClass2 {
@DomName('HTMLAppletElement')
// http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#the-applet-element
@deprecated // deprecated
-class _HTMLAppletElement extends HtmlElement {
+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.
*
@@ -42011,21 +36220,9 @@ class _HTMLAppletElement extends HtmlElement {
@DomName('HTMLDirectoryElement')
// http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#dir
@deprecated // deprecated
-class _HTMLDirectoryElement 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.
*
@@ -42045,21 +36242,9 @@ class _HTMLDirectoryElement extends HtmlElement {
@DomName('HTMLFontElement')
// http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#htmlfontelement
@deprecated // deprecated
-class _HTMLFontElement 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.
*
@@ -42079,21 +36264,9 @@ class _HTMLFontElement extends HtmlElement {
@DomName('HTMLFrameElement')
// http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#htmlframeelement
@deprecated // deprecated
-class _HTMLFrameElement 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.
*
@@ -42106,26 +36279,16 @@ class _HTMLFrameElement extends HtmlElement {
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
+// WARNING: Do not edit - generated code.
+
@DocsEditable()
@DomName('HTMLFrameSetElement')
// http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#frameset
@deprecated // deprecated
-class _HTMLFrameSetElement extends HtmlElement implements WindowEventHandlers {
+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.
*
@@ -42133,16 +36296,7 @@ class _HTMLFrameSetElement extends HtmlElement implements WindowEventHandlers {
*/
_HTMLFrameSetElement.created() : super.created();
- // Override these methods for Dartium _HTMLFrameSetElement can't be abstract.
- Stream<Event> get onHashChange => hashChangeEvent.forTarget(this);
- Stream<MessageEvent> get onMessage => messageEvent.forTarget(this);
- Stream<Event> get onOffline => offlineEvent.forTarget(this);
- Stream<Event> get onOnline => onlineEvent.forTarget(this);
- Stream<PopStateEvent> get onPopState => popStateEvent.forTarget(this);
- Stream<StorageEvent> get onStorage => storageEvent.forTarget(this);
- Stream<Event> get onUnload => unloadEvent.forTarget(this);
}
-
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
@@ -42154,21 +36308,9 @@ class _HTMLFrameSetElement extends HtmlElement implements WindowEventHandlers {
@DomName('HTMLMarqueeElement')
// http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#the-marquee-element
@deprecated // deprecated
-class _HTMLMarqueeElement extends HtmlElement {
+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.
*
@@ -42185,7 +36327,7 @@ class _HTMLMarqueeElement extends HtmlElement {
@DomName('MutationEvent')
// http://www.w3.org/TR/DOM-Level-3-Events/#events-mutationevents
@deprecated
-class _MutationEvent extends Event {
+abstract class _MutationEvent extends Event {
factory _MutationEvent(String type,
{bool canBubble: false, bool cancelable: false, Node relatedNode,
String prevValue, String newValue, String attrName, int attrChange: 0}) {
@@ -42198,18 +36340,6 @@ 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
@@ -42222,25 +36352,10 @@ class _MutationEvent extends Event {
@DomName('NamedNodeMap')
// http://dom.spec.whatwg.org/#namednodemap
@deprecated // deprecated
-class _NamedNodeMap extends JsoNativeFieldWrapper with ListMixin<Node>, ImmutableListMixin<Node> implements List<Node> {
+class _NamedNodeMap extends NativeFieldWrapperClass2 with ListMixin<Node>, ImmutableListMixin<Node> implements List<Node> {
// To suppress missing implicit constructor warnings.
factory _NamedNodeMap._() { throw new UnsupportedError("Not supported"); }
- static _NamedNodeMap internalCreate_NamedNodeMap() {
- return new _NamedNodeMap._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory _NamedNodeMap._internalWrap() {
- return new _NamedNodeMap.internal_();
- }
-
- _NamedNodeMap.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('NamedNodeMap.length')
@DocsEditable()
int get length => _blink.BlinkNamedNodeMap.instance.length_Getter_(unwrap_jso(this));
@@ -42252,7 +36367,7 @@ class _NamedNodeMap extends JsoNativeFieldWrapper with ListMixin<Node>, Immutabl
}
Node _nativeIndexedGetter(int index) => wrap_jso(_blink.BlinkNamedNodeMap.instance.item_Callback_1_(unwrap_jso(this), index));
-
+
void operator[]=(int index, Node value) {
throw new UnsupportedError("Cannot assign element of immutable List.");
}
@@ -42260,7 +36375,7 @@ class _NamedNodeMap extends JsoNativeFieldWrapper with ListMixin<Node>, Immutabl
// Node is the element type.
- set length(int value) {
+ void set length(int value) {
throw new UnsupportedError("Cannot resize immutable List.");
}
@@ -42334,25 +36449,10 @@ class _NamedNodeMap extends JsoNativeFieldWrapper with ListMixin<Node>, Immutabl
@DocsEditable()
@DomName('PagePopupController')
@deprecated // nonstandard
-class _PagePopupController extends NativeFieldWrapperClass2 {
+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();
- }
-
- js.JsObject blink_jsObject;
-
- factory _PagePopupController._internalWrap() {
- return new _PagePopupController.internal_();
- }
-
- _PagePopupController.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -42365,25 +36465,10 @@ class _PagePopupController extends NativeFieldWrapperClass2 {
@DomName('RGBColor')
// http://dev.w3.org/csswg/cssom/
@deprecated // deprecated
-class _RGBColor extends NativeFieldWrapperClass2 {
+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();
- }
-
- js.JsObject blink_jsObject;
-
- factory _RGBColor._internalWrap() {
- return new _RGBColor.internal_();
- }
-
- _RGBColor.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
}
// 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
@@ -42391,22 +36476,10 @@ class _RGBColor extends NativeFieldWrapperClass2 {
@DomName('RadioNodeList')
-class _RadioNodeList extends NodeList {
+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
@@ -42419,25 +36492,10 @@ class _RadioNodeList extends NodeList {
@DomName('Rect')
// http://dev.w3.org/csswg/cssom/
@deprecated // deprecated
-class _Rect extends NativeFieldWrapperClass2 {
+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();
- }
-
- js.JsObject blink_jsObject;
-
- factory _Rect._internalWrap() {
- return new _Rect.internal_();
- }
-
- _Rect.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -42457,34 +36515,20 @@ class _Request extends Body {
@DocsEditable()
factory _Request(input, [Map requestInitDict]) {
if ((input is String || input == null) && requestInitDict == null) {
- return wrap_jso(_blink.BlinkRequest.instance.constructorCallback_1_(input));
+ return _blink.BlinkRequest.instance.constructorCallback_1_(input);
}
if ((requestInitDict is Map || requestInitDict == null) && (input is String || input == null)) {
- var requestInitDict_1 = convertDartToNative_Dictionary(requestInitDict);
- return wrap_jso(_blink.BlinkRequest.instance.constructorCallback_2_(input, requestInitDict_1));
+ return _blink.BlinkRequest.instance.constructorCallback_2_(input, requestInitDict);
}
if ((input is _Request || input == null) && requestInitDict == null) {
- return wrap_jso(_blink.BlinkRequest.instance.constructorCallback_1_(input));
+ return _blink.BlinkRequest.instance.constructorCallback_1_(input);
}
if ((requestInitDict is Map || requestInitDict == null) && (input is _Request || input == null)) {
- var requestInitDict_1 = convertDartToNative_Dictionary(requestInitDict);
- return wrap_jso(_blink.BlinkRequest.instance.constructorCallback_2_(input, requestInitDict_1));
+ return _blink.BlinkRequest.instance.constructorCallback_2_(input, requestInitDict);
}
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
@@ -42513,7 +36557,7 @@ class _Request extends Body {
@DomName('Request.clone')
@DocsEditable()
@Experimental() // untriaged
- _Request clone() => wrap_jso(_blink.BlinkRequest.instance.clone_Callback_0_(unwrap_jso(this)));
+ _Request clone() => _blink.BlinkRequest.instance.clone_Callback_0_(unwrap_jso(this));
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -42526,7 +36570,7 @@ class _Request extends Body {
@DocsEditable()
@DomName('Response')
@Experimental() // untriaged
-class _Response extends Body {
+abstract class _Response extends Body {
// To suppress missing implicit constructor warnings.
factory _Response._() { throw new UnsupportedError("Not supported"); }
@@ -42534,77 +36578,48 @@ class _Response extends Body {
@DocsEditable()
factory _Response(body_OR_input, [Map requestInitDict_OR_responseInitDict]) {
if ((body_OR_input is String || body_OR_input == null) && requestInitDict_OR_responseInitDict == null) {
- return wrap_jso(_blink.BlinkResponse.instance.constructorCallback_1_(body_OR_input));
+ return _blink.BlinkResponse.instance.constructorCallback_1_(body_OR_input);
}
if ((requestInitDict_OR_responseInitDict is Map || requestInitDict_OR_responseInitDict == null) && (body_OR_input is String || body_OR_input == null)) {
- var responseInitDict_1 = convertDartToNative_Dictionary(requestInitDict_OR_responseInitDict);
- return wrap_jso(_blink.BlinkResponse.instance.constructorCallback_2_(body_OR_input, responseInitDict_1));
+ return _blink.BlinkResponse.instance.constructorCallback_2_(body_OR_input, requestInitDict_OR_responseInitDict);
}
if ((body_OR_input is Blob || body_OR_input == null) && requestInitDict_OR_responseInitDict == null) {
- return wrap_jso(_blink.BlinkResponse.instance.constructorCallback_1_(body_OR_input));
+ return _blink.BlinkResponse.instance.constructorCallback_1_(body_OR_input);
}
if ((requestInitDict_OR_responseInitDict is Map || requestInitDict_OR_responseInitDict == null) && (body_OR_input is Blob || body_OR_input == null)) {
- var responseInitDict_1 = convertDartToNative_Dictionary(requestInitDict_OR_responseInitDict);
- return wrap_jso(_blink.BlinkResponse.instance.constructorCallback_2_(body_OR_input, responseInitDict_1));
+ return _blink.BlinkResponse.instance.constructorCallback_2_(body_OR_input, requestInitDict_OR_responseInitDict);
}
if ((body_OR_input is TypedData || body_OR_input == null) && requestInitDict_OR_responseInitDict == null) {
- return wrap_jso(_blink.BlinkResponse.instance.constructorCallback_1_(body_OR_input));
+ return _blink.BlinkResponse.instance.constructorCallback_1_(body_OR_input);
}
if ((requestInitDict_OR_responseInitDict is Map || requestInitDict_OR_responseInitDict == null) && (body_OR_input is TypedData || body_OR_input == null)) {
- var requestInitDict_1 = convertDartToNative_Dictionary(requestInitDict_OR_responseInitDict);
- return wrap_jso(_blink.BlinkResponse.instance.constructorCallback_2_(body_OR_input, requestInitDict_1));
+ return _blink.BlinkResponse.instance.constructorCallback_2_(body_OR_input, requestInitDict_OR_responseInitDict);
}
if ((body_OR_input is ByteBuffer || body_OR_input == null) && requestInitDict_OR_responseInitDict == null) {
- return wrap_jso(_blink.BlinkResponse.instance.constructorCallback_1_(body_OR_input));
+ return _blink.BlinkResponse.instance.constructorCallback_1_(body_OR_input);
}
if ((requestInitDict_OR_responseInitDict is Map || requestInitDict_OR_responseInitDict == null) && (body_OR_input is ByteBuffer || body_OR_input == null)) {
- var requestInitDict_1 = convertDartToNative_Dictionary(requestInitDict_OR_responseInitDict);
- return wrap_jso(_blink.BlinkResponse.instance.constructorCallback_2_(body_OR_input, requestInitDict_1));
+ return _blink.BlinkResponse.instance.constructorCallback_2_(body_OR_input, requestInitDict_OR_responseInitDict);
}
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
// BSD-style license that can be found in the LICENSE file.
+// WARNING: Do not edit - generated code.
+
@DocsEditable()
@DomName('ServiceWorker')
@Experimental() // untriaged
-class _ServiceWorker extends EventTarget implements AbstractWorker {
+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_();
-
-
- // Override these methods for Dartium _ServiceWorker can't be abstract.
- Stream<ErrorEvent> get onError => errorEvent.forTarget(this);
}
-
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
@@ -42616,25 +36631,10 @@ class _ServiceWorker extends EventTarget implements AbstractWorker {
@DomName('SpeechRecognitionResultList')
// https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#speechrecognitionresultlist
@Experimental()
-class _SpeechRecognitionResultList extends JsoNativeFieldWrapper with ListMixin<SpeechRecognitionResult>, ImmutableListMixin<SpeechRecognitionResult> implements List<SpeechRecognitionResult> {
+class _SpeechRecognitionResultList extends NativeFieldWrapperClass2 with ListMixin<SpeechRecognitionResult>, ImmutableListMixin<SpeechRecognitionResult> implements List<SpeechRecognitionResult> {
// To suppress missing implicit constructor warnings.
factory _SpeechRecognitionResultList._() { throw new UnsupportedError("Not supported"); }
- static _SpeechRecognitionResultList internalCreate_SpeechRecognitionResultList() {
- return new _SpeechRecognitionResultList._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory _SpeechRecognitionResultList._internalWrap() {
- return new _SpeechRecognitionResultList.internal_();
- }
-
- _SpeechRecognitionResultList.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('SpeechRecognitionResultList.length')
@DocsEditable()
int get length => _blink.BlinkSpeechRecognitionResultList.instance.length_Getter_(unwrap_jso(this));
@@ -42646,7 +36646,7 @@ class _SpeechRecognitionResultList extends JsoNativeFieldWrapper with ListMixin<
}
SpeechRecognitionResult _nativeIndexedGetter(int index) => wrap_jso(_blink.BlinkSpeechRecognitionResultList.instance.item_Callback_1_(unwrap_jso(this), index));
-
+
void operator[]=(int index, SpeechRecognitionResult value) {
throw new UnsupportedError("Cannot assign element of immutable List.");
}
@@ -42654,7 +36654,7 @@ class _SpeechRecognitionResultList extends JsoNativeFieldWrapper with ListMixin<
// SpeechRecognitionResult is the element type.
- set length(int value) {
+ void set length(int value) {
throw new UnsupportedError("Cannot resize immutable List.");
}
@@ -42699,25 +36699,10 @@ class _SpeechRecognitionResultList extends JsoNativeFieldWrapper with ListMixin<
@DocsEditable()
@DomName('StyleSheetList')
-class _StyleSheetList extends JsoNativeFieldWrapper with ListMixin<StyleSheet>, ImmutableListMixin<StyleSheet> implements List<StyleSheet> {
+class _StyleSheetList extends NativeFieldWrapperClass2 with ListMixin<StyleSheet>, ImmutableListMixin<StyleSheet> implements List<StyleSheet> {
// To suppress missing implicit constructor warnings.
factory _StyleSheetList._() { throw new UnsupportedError("Not supported"); }
- static _StyleSheetList internalCreate_StyleSheetList() {
- return new _StyleSheetList._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory _StyleSheetList._internalWrap() {
- return new _StyleSheetList.internal_();
- }
-
- _StyleSheetList.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('StyleSheetList.length')
@DocsEditable()
int get length => _blink.BlinkStyleSheetList.instance.length_Getter_(unwrap_jso(this));
@@ -42729,7 +36714,7 @@ class _StyleSheetList extends JsoNativeFieldWrapper with ListMixin<StyleSheet>,
}
StyleSheet _nativeIndexedGetter(int index) => wrap_jso(_blink.BlinkStyleSheetList.instance.item_Callback_1_(unwrap_jso(this), index));
-
+
void operator[]=(int index, StyleSheet value) {
throw new UnsupportedError("Cannot assign element of immutable List.");
}
@@ -42737,7 +36722,7 @@ class _StyleSheetList extends JsoNativeFieldWrapper with ListMixin<StyleSheet>,
// StyleSheet is the element type.
- set length(int value) {
+ void set length(int value) {
throw new UnsupportedError("Cannot resize immutable List.");
}
@@ -42770,7 +36755,7 @@ class _StyleSheetList extends JsoNativeFieldWrapper with ListMixin<StyleSheet>,
@DomName('StyleSheetList.__getter__')
@DocsEditable()
- CssStyleSheet __getter__(String name) => wrap_jso(_blink.BlinkStyleSheetList.instance.$__getter___Callback_1_(unwrap_jso(this), name));
+ CssStyleSheet __getter__(String name) => _blink.BlinkStyleSheetList.instance.$__getter___Callback_1_(unwrap_jso(this), name);
@DomName('StyleSheetList.item')
@DocsEditable()
@@ -42787,25 +36772,10 @@ class _StyleSheetList extends JsoNativeFieldWrapper with ListMixin<StyleSheet>,
@DocsEditable()
@DomName('SubtleCrypto')
@Experimental() // untriaged
-class _SubtleCrypto extends NativeFieldWrapperClass2 {
+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();
- }
-
- js.JsObject blink_jsObject;
-
- factory _SubtleCrypto._internalWrap() {
- return new _SubtleCrypto.internal_();
- }
-
- _SubtleCrypto.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -42818,22 +36788,10 @@ class _SubtleCrypto extends NativeFieldWrapperClass2 {
@DomName('WebKitCSSFilterValue')
// http://dev.w3.org/csswg/cssom/
@deprecated // deprecated
-class _WebKitCSSFilterValue extends _CssValueList {
+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
@@ -42849,31 +36807,16 @@ class _WebKitCSSFilterValue extends _CssValueList {
@Experimental()
// http://dev.w3.org/csswg/cssom/
@deprecated // deprecated
-class _WebKitCSSMatrix extends NativeFieldWrapperClass2 {
+abstract class _WebKitCSSMatrix extends NativeFieldWrapperClass2 {
// To suppress missing implicit constructor warnings.
factory _WebKitCSSMatrix._() { throw new UnsupportedError("Not supported"); }
@DomName('WebKitCSSMatrix.WebKitCSSMatrix')
@DocsEditable()
factory _WebKitCSSMatrix([String cssValue]) {
- return wrap_jso(_blink.BlinkWebKitCSSMatrix.instance.constructorCallback_1_(cssValue));
+ return _blink.BlinkWebKitCSSMatrix.instance.constructorCallback_1_(cssValue);
}
- static _WebKitCSSMatrix internalCreate_WebKitCSSMatrix() {
- return new _WebKitCSSMatrix._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory _WebKitCSSMatrix._internalWrap() {
- return new _WebKitCSSMatrix.internal_();
- }
-
- _WebKitCSSMatrix.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -42886,22 +36829,10 @@ class _WebKitCSSMatrix extends NativeFieldWrapperClass2 {
@DomName('WebKitCSSTransformValue')
// http://dev.w3.org/csswg/cssom/
@deprecated // deprecated
-class _WebKitCSSTransformValue extends _CssValueList {
+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
@@ -42917,21 +36848,6 @@ 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();
- }
-
- js.JsObject blink_jsObject;
-
- factory _WindowTimers._internalWrap() {
- return new _WindowTimers.internal_();
- }
-
- _WindowTimers.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('WindowTimers.clearInterval')
@DocsEditable()
@Experimental() // untriaged
@@ -42957,82 +36873,34 @@ abstract class _WindowTimers extends NativeFieldWrapperClass2 {
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
+// WARNING: Do not edit - generated code.
+
@DocsEditable()
@DomName('WorkerLocation')
// http://www.whatwg.org/specs/web-apps/current-work/multipage/workers.html#workerlocation
@Experimental()
-class _WorkerLocation extends NativeFieldWrapperClass2 implements UrlUtilsReadOnly {
+abstract class _WorkerLocation extends NativeFieldWrapperClass2 implements UrlUtilsReadOnly {
// To suppress missing implicit constructor warnings.
factory _WorkerLocation._() { throw new UnsupportedError("Not supported"); }
- static _WorkerLocation internalCreate_WorkerLocation() {
- return new _WorkerLocation._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory _WorkerLocation._internalWrap() {
- return new _WorkerLocation.internal_();
- }
-
- _WorkerLocation.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
- // Override these methods for Dartium _WorkerLocation can't be abstract.
- String get hash => _blink.BlinkWorkerLocation.instance.hash_Getter_(unwrap_jso(this));
- String get host => _blink.BlinkWorkerLocation.instance.host_Getter_(unwrap_jso(this));
- String get hostname => _blink.BlinkWorkerLocation.instance.hostname_Getter_(unwrap_jso(this));
- String get href => _blink.BlinkWorkerLocation.instance.href_Getter_(unwrap_jso(this));
- String get origin => _blink.BlinkWorkerLocation.instance.origin_Getter_(unwrap_jso(this));
- String get pathname => _blink.BlinkWorkerLocation.instance.pathname_Getter_(unwrap_jso(this));
- String get port => _blink.BlinkWorkerLocation.instance.port_Getter_(unwrap_jso(this));
- String get protocol => _blink.BlinkWorkerLocation.instance.protocol_Getter_(unwrap_jso(this));
- String get search => _blink.BlinkWorkerLocation.instance.search_Getter_(unwrap_jso(this));
}
-
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
+// WARNING: Do not edit - generated code.
+
@DocsEditable()
@DomName('WorkerNavigator')
// http://www.whatwg.org/specs/web-apps/current-work/multipage/workers.html#workernavigator
@Experimental()
-class _WorkerNavigator extends NativeFieldWrapperClass2 implements NavigatorCpu, NavigatorOnLine, NavigatorID {
+abstract class _WorkerNavigator extends NativeFieldWrapperClass2 implements NavigatorCpu, NavigatorOnLine, NavigatorID {
// To suppress missing implicit constructor warnings.
factory _WorkerNavigator._() { throw new UnsupportedError("Not supported"); }
- static _WorkerNavigator internalCreate_WorkerNavigator() {
- return new _WorkerNavigator._internalWrap();
- }
-
- js.JsObject blink_jsObject;
-
- factory _WorkerNavigator._internalWrap() {
- return new _WorkerNavigator.internal_();
- }
-
- _WorkerNavigator.internal_() { }
-
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
- // Override these methods for Dartium _WorkerNavigator can't be abstract.
- String get appCodeName => _blink.BlinkWorkerNavigator.instance.appCodeName_Getter_(unwrap_jso(this));
- String get appName => _blink.BlinkWorkerNavigator.instance.appCodeName_Getter_(unwrap_jso(this));
- String get appVersion => _blink.BlinkWorkerNavigator.instance.appVersion_Getter_(unwrap_jso(this));
- bool get dartEnabled => _blink.BlinkWorkerNavigator.instance.dartEnabled_Getter_(unwrap_jso(this));
- String get platform => _blink.BlinkWorkerNavigator.instance.platform_Getter_(unwrap_jso(this));
- String get product => _blink.BlinkWorkerNavigator.instance.product_Getter_(unwrap_jso(this));
- String get userAgent => _blink.BlinkWorkerNavigator.instance.userAgent_Getter_(unwrap_jso(this));
- int get hardwareConcurrency => _blink.BlinkWorkerNavigator.instance.hardwareConcurrency_Getter_(unwrap_jso(this));
- bool get onLine => _blink.BlinkWorkerNavigator.instance.onLine_Getter_(unwrap_jso(this));
}
-
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
@@ -43047,18 +36915,6 @@ 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
@@ -43749,7 +37605,7 @@ class _ContentCssRect extends CssRect {
* `height` function in jQuery and the calculated `height` CSS value,
* converted to a num in pixels.
*/
- set height(newHeight) {
+ void set height(newHeight) {
if (newHeight is Dimension) {
if (newHeight.value < 0) newHeight = new Dimension.px(0);
_element.style.height = newHeight.toString();
@@ -43767,7 +37623,7 @@ class _ContentCssRect extends CssRect {
* and the calculated
* `width` CSS value, converted to a dimensionless num in pixels.
*/
- set width(newWidth) {
+ void set width(newWidth) {
if (newWidth is Dimension) {
if (newWidth.value < 0) newWidth = new Dimension.px(0);
_element.style.width = newWidth.toString();
@@ -43802,7 +37658,7 @@ class _ContentCssListRect extends _ContentCssRect {
* function in jQuery and the calculated `height` CSS value, converted to a
* num in pixels.
*/
- set height(newHeight) {
+ void set height(newHeight) {
_elementList.forEach((e) => e.contentEdge.height = newHeight);
}
@@ -43812,7 +37668,7 @@ class _ContentCssListRect extends _ContentCssRect {
* This is equivalent to the `width` function in jQuery and the calculated
* `width` CSS value, converted to a dimensionless num in pixels.
*/
- set width(newWidth) {
+ void set width(newWidth) {
_elementList.forEach((e) => e.contentEdge.width = newWidth);
}
}
@@ -43919,7 +37775,7 @@ abstract class CssRect extends MutableRectangle<num> {
*
* Note that only the content height can actually be set via this method.
*/
- set height(newHeight) {
+ void set height(newHeight) {
throw new UnsupportedError("Can only set height for content rect.");
}
@@ -43933,7 +37789,7 @@ abstract class CssRect extends MutableRectangle<num> {
*
* Note that only the content width can be set via this method.
*/
- set width(newWidth) {
+ void set width(newWidth) {
throw new UnsupportedError("Can only set width for content rect.");
}
@@ -44927,11 +38783,11 @@ class _Html5NodeValidator implements NodeValidator {
}
bool allowsElement(Element element) {
- return _allowedElements.contains(element._safeTagName);
+ return _allowedElements.contains(element.tagName);
}
bool allowsAttribute(Element element, String attributeName, String value) {
- var tagName = element._safeTagName;
+ var tagName = element.tagName;
var validator = _attributeValidators['$tagName::$attributeName'];
if (validator == null) {
validator = _attributeValidators['*::$attributeName'];
@@ -46593,11 +40449,11 @@ class _SimpleNodeValidator implements NodeValidator {
}
bool allowsElement(Element element) {
- return allowedElements.contains(element._safeTagName);
+ return allowedElements.contains(element.tagName);
}
bool allowsAttribute(Element element, String attributeName, String value) {
- var tagName = element._safeTagName;
+ var tagName = element.tagName;
if (allowedUriAttributes.contains('$tagName::$attributeName')) {
return uriPolicy.allowsUri(value);
} else if (allowedUriAttributes.contains('*::$attributeName')) {
@@ -46638,10 +40494,10 @@ class _CustomElementNodeValidator extends _SimpleNodeValidator {
var isAttr = element.attributes['is'];
if (isAttr != null) {
return allowedElements.contains(isAttr.toUpperCase()) &&
- allowedElements.contains(element._safeTagName);
+ allowedElements.contains(element.tagName);
}
}
- return allowCustomTag && allowedElements.contains(element._safeTagName);
+ return allowCustomTag && allowedElements.contains(element.tagName);
}
bool allowsAttribute(Element element, String attributeName, String value) {
@@ -46697,7 +40553,7 @@ class _SvgNodeValidator implements NodeValidator {
// foreignobject tag as SvgElement. We don't want foreignobject contents
// anyway, so just remove the whole tree outright. And we can't rely
// on IE recognizing the SvgForeignObject type, so go by tagName. Bug 23144
- if (element is svg.SvgElement && element._safeTagName == 'foreignObject') {
+ if (element is svg.SvgElement && element.tagName == 'foreignObject') {
return false;
}
if (element is svg.SvgElement) {
@@ -46811,7 +40667,7 @@ abstract class NodeTreeSanitizer {
/**
* A sanitizer for trees that we trust. It does no validation and allows
* any elements. It is also more efficient, since it can pass the text
- * directly through to the underlying APIs without creating a document
+ * directly through to the underlying APIs without creating a document
* fragment to be sanitized.
*/
static const trusted = const _TrustedHtmlTreeSanitizer();
@@ -46826,7 +40682,7 @@ class _TrustedHtmlTreeSanitizer implements NodeTreeSanitizer {
sanitizeTree(Node node) {}
}
-
+
/**
* Defines the policy for what types of uris are allowed for particular
* attribute values.
@@ -46880,14 +40736,14 @@ class _ThrowsNodeValidator implements NodeValidator {
bool allowsElement(Element element) {
if (!validator.allowsElement(element)) {
- throw new ArgumentError(element._safeTagName);
+ throw new ArgumentError(element.tagName);
}
return true;
}
bool allowsAttribute(Element element, String attributeName, String value) {
if (!validator.allowsAttribute(element, attributeName, value)) {
- throw new ArgumentError('${element._safeTagName}[$attributeName="$value"]');
+ throw new ArgumentError('${element.tagName}[$attributeName="$value"]');
}
}
}
@@ -46952,7 +40808,10 @@ class _ValidatingTreeSanitizer implements NodeTreeSanitizer {
try {
elementText = element.toString();
} catch(e) {}
- var elementTagName = element._safeTagName;
+ var elementTagName = 'element tag unavailable';
+ try {
+ elementTagName = element.tagName;
+ } catch(e) {}
_sanitizeElement(element, parent, corrupted, elementText, elementTagName,
attrs, isAttr);
}
@@ -47054,7 +40913,7 @@ class _WrappedList<E extends Node> extends ListBase<E>
void operator []=(int index, E value) { _list[index] = value; }
- set length(int newLength) { _list.length = newLength; }
+ void set length(int newLength) { _list.length = newLength; }
void sort([int compare(E a, E b)]) { _list.sort(compare); }
@@ -47796,7 +41655,9 @@ class _Utils {
return element;
}
- static window() => wrap_jso(js.context['window']);
+ // 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 forwardingPrint(String message) => _blink.Blink_Utils.forwardingPrint(message);
static void spawnDomHelper(Function f, int replyTo) =>
@@ -48413,6 +42274,9 @@ class _Utils {
static Element createElement(Document document, String tagName) =>
wrap_jso(_blink.Blink_Utils.createElement(unwrap_jso(document), tagName));
+ static void initializeCustomElement(HtmlElement element) =>
+ _blink.Blink_Utils.initializeCustomElement(unwrap_jso(element));
+
static Element changeElementWrapper(HtmlElement element, Type type) =>
_blink.Blink_Utils.changeElementWrapper(unwrap_jso(element), type);
}
@@ -48477,7 +42341,7 @@ class _LocationCrossFrame extends NativeFieldWrapperClass2 implements LocationBa
_LocationCrossFrame.internal();
// Fields.
- set href(String h) => _blink.Blink_LocationCrossFrame.set_href(this, h);
+ void set href(String h) => _blink.Blink_LocationCrossFrame.set_href(this, h);
// Implementation support.
String get typeName => "Location";
@@ -48713,6 +42577,10 @@ get _pureIsolateScheduleImmediateClosure => ((void callback()) =>
throw new UnimplementedError("scheduleMicrotask in background isolates "
"are not supported in the browser"));
+void _initializeCustomElement(Element e) {
+ _Utils.initializeCustomElement(e);
+}
+
// Class for unsupported native browser 'DOM' objects.
class _UnsupportedBrowserObject extends NativeFieldWrapperClass2 {
}
« no previous file with comments | « sdk/lib/html/dart2js/html_dart2js.dart ('k') | sdk/lib/html/html_common/filtered_element_list.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698