| Index: sdk/lib/html/dart2js/html_dart2js.dart
|
| diff --git a/sdk/lib/html/dart2js/html_dart2js.dart b/sdk/lib/html/dart2js/html_dart2js.dart
|
| index 1966fe7d07146090c919b5cb21537c80f4fe3645..1279426e7864145a33cc8859af314f48874069f0 100644
|
| --- a/sdk/lib/html/dart2js/html_dart2js.dart
|
| +++ b/sdk/lib/html/dart2js/html_dart2js.dart
|
| @@ -760,19 +760,6 @@ class CDataSection extends Text native "CDATASection" {
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
|
|
| -@DocsEditable
|
| -@DomName('Canvas2DContextAttributes')
|
| -class Canvas2DContextAttributes native "Canvas2DContextAttributes" {
|
| -
|
| - @DomName('Canvas2DContextAttributes.alpha')
|
| - @DocsEditable
|
| - bool alpha;
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| -
|
| @DomName('HTMLCanvasElement')
|
| class CanvasElement extends Element implements CanvasImageSource native "HTMLCanvasElement" {
|
|
|
| @@ -979,6 +966,15 @@ class CanvasPattern native "CanvasPattern" {
|
|
|
|
|
| @DocsEditable
|
| +@DomName('CanvasProxy')
|
| +class CanvasProxy native "CanvasProxy" {
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
| +
|
| +
|
| +@DocsEditable
|
| /**
|
| * A rendering context for a canvas element.
|
| *
|
| @@ -1163,10 +1159,6 @@ class CanvasRenderingContext2D extends CanvasRenderingContext native "CanvasRend
|
| @DocsEditable
|
| void fillText(String text, num x, num y, [num maxWidth]) native;
|
|
|
| - @DomName('CanvasRenderingContext2D.getContextAttributes')
|
| - @DocsEditable
|
| - Canvas2DContextAttributes getContextAttributes() native;
|
| -
|
| @DomName('CanvasRenderingContext2D.getImageData')
|
| @DocsEditable
|
| @Creates('ImageData|=Object')
|
| @@ -1607,23 +1599,6 @@ class CloseEvent extends Event native "CloseEvent" {
|
| @DomName('Comment')
|
| class Comment extends CharacterData native "Comment" {
|
| }
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| -
|
| -@DocsEditable
|
| -@DomName('Composition')
|
| -class Composition native "Composition" {
|
| -
|
| - @DomName('Composition.caret')
|
| - @DocsEditable
|
| - final Range caret;
|
| -
|
| - @DomName('Composition.text')
|
| - @DocsEditable
|
| - final Node text;
|
| -}
|
| // 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.
|
| @@ -1855,19 +1830,6 @@ class Crypto native "Crypto" {
|
|
|
|
|
| @DocsEditable
|
| -@DomName('CSS')
|
| -class Css native "CSS" {
|
| -
|
| - @DomName('CSS.supports')
|
| - @DocsEditable
|
| - bool supports(String conditionText_OR_property, [String value]) native;
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| -
|
| -@DocsEditable
|
| @DomName('CSSCharsetRule')
|
| class CssCharsetRule extends CssRule native "CSSCharsetRule" {
|
|
|
| @@ -2120,10 +2082,6 @@ class CssRule native "CSSRule" {
|
| @DocsEditable
|
| static const int STYLE_RULE = 1;
|
|
|
| - @DomName('CSSRule.SUPPORTS_RULE')
|
| - @DocsEditable
|
| - static const int SUPPORTS_RULE = 12;
|
| -
|
| @DomName('CSSRule.UNKNOWN_RULE')
|
| @DocsEditable
|
| static const int UNKNOWN_RULE = 0;
|
| @@ -5464,33 +5422,6 @@ class CssStyleSheet extends StyleSheet native "CSSStyleSheet" {
|
|
|
|
|
| @DocsEditable
|
| -@DomName('CSSSupportsRule')
|
| -class CssSupportsRule extends CssRule native "CSSSupportsRule" {
|
| -
|
| - @DomName('CSSSupportsRule.conditionText')
|
| - @DocsEditable
|
| - final String conditionText;
|
| -
|
| - @DomName('CSSSupportsRule.cssRules')
|
| - @DocsEditable
|
| - @Returns('_CssRuleList')
|
| - @Creates('_CssRuleList')
|
| - final List<CssRule> cssRules;
|
| -
|
| - @DomName('CSSSupportsRule.deleteRule')
|
| - @DocsEditable
|
| - void deleteRule(int index) native;
|
| -
|
| - @DomName('CSSSupportsRule.insertRule')
|
| - @DocsEditable
|
| - int insertRule(String rule, int index) native;
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| -
|
| -@DocsEditable
|
| @DomName('CSSUnknownRule')
|
| class CssUnknownRule extends CssRule native "CSSUnknownRule" {
|
| }
|
| @@ -12564,43 +12495,6 @@ abstract class ButtonInputElement implements InputElementBase {
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
|
|
| -@DocsEditable
|
| -@DomName('InputMethodContext')
|
| -class InputMethodContext native "InputMethodContext" {
|
| -
|
| - @DomName('InputMethodContext.composition')
|
| - @DocsEditable
|
| - final Composition composition;
|
| -
|
| - @DomName('InputMethodContext.enabled')
|
| - @DocsEditable
|
| - bool enabled;
|
| -
|
| - @DomName('InputMethodContext.locale')
|
| - @DocsEditable
|
| - final String locale;
|
| -
|
| - @DomName('InputMethodContext.confirmComposition')
|
| - @DocsEditable
|
| - void confirmComposition() native;
|
| -
|
| - @DomName('InputMethodContext.open')
|
| - @DocsEditable
|
| - bool open() native;
|
| -
|
| - @DomName('InputMethodContext.setCaretRectangle')
|
| - @DocsEditable
|
| - void setCaretRectangle(Node anchor, int x, int y, int w, int h) native;
|
| -
|
| - @DomName('InputMethodContext.setExclusionRectangle')
|
| - @DocsEditable
|
| - void setExclusionRectangle(Node anchor, int x, int y, int w, int h) native;
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| -
|
| @DomName('KeyboardEvent')
|
| class KeyboardEvent extends UIEvent native "KeyboardEvent" {
|
|
|
| @@ -12855,6 +12749,21 @@ class LinkElement extends Element native "HTMLLinkElement" {
|
| @DocsEditable
|
| String type;
|
| }
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
| +
|
| +
|
| +@DocsEditable
|
| +@DomName('LocalMediaStream')
|
| +@SupportedBrowser(SupportedBrowser.CHROME)
|
| +@Experimental
|
| +class LocalMediaStream extends MediaStream implements EventTarget native "LocalMediaStream" {
|
| +
|
| + @DomName('LocalMediaStream.stop')
|
| + @DocsEditable
|
| + void stop() native;
|
| +}
|
| // 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.
|
| @@ -12935,14 +12844,6 @@ class Location implements LocationBase native "Location" {
|
| // 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.
|
| -
|
| -
|
| -typedef void MidiErrorCallback(DomError error);
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
|
|
| @DocsEditable
|
| @DomName('HTMLMapElement')
|
| @@ -13815,10 +13716,6 @@ class MediaStream extends EventTarget native "MediaStream" {
|
| @DocsEditable
|
| void removeTrack(MediaStreamTrack track) native;
|
|
|
| - @DomName('MediaStream.stop')
|
| - @DocsEditable
|
| - void stop() native;
|
| -
|
| @DomName('MediaStream.onaddtrack')
|
| @DocsEditable
|
| Stream<Event> get onAddTrack => addTrackEvent.forTarget(this);
|
| @@ -14240,79 +14137,6 @@ class MeterElement extends Element native "HTMLMeterElement" {
|
|
|
|
|
| @DocsEditable
|
| -@DomName('MIDIConnectionEvent')
|
| -class MidiConnectionEvent extends Event native "MIDIConnectionEvent" {
|
| -
|
| - @DomName('MIDIConnectionEvent.port')
|
| - @DocsEditable
|
| - final MidiPort port;
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| -
|
| -@DocsEditable
|
| -@DomName('MIDIMessageEvent')
|
| -class MidiMessageEvent extends Event native "MIDIMessageEvent" {
|
| -
|
| - @DomName('MIDIMessageEvent.data')
|
| - @DocsEditable
|
| - final Uint8List data;
|
| -
|
| - @DomName('MIDIMessageEvent.receivedTime')
|
| - @DocsEditable
|
| - final num receivedTime;
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| -
|
| -@DocsEditable
|
| -@DomName('MIDIPort')
|
| -class MidiPort extends EventTarget native "MIDIPort" {
|
| -
|
| - @DomName('MIDIPort.id')
|
| - @DocsEditable
|
| - final String id;
|
| -
|
| - @DomName('MIDIPort.manufacturer')
|
| - @DocsEditable
|
| - final String manufacturer;
|
| -
|
| - @DomName('MIDIPort.name')
|
| - @DocsEditable
|
| - final String name;
|
| -
|
| - @DomName('MIDIPort.type')
|
| - @DocsEditable
|
| - final String type;
|
| -
|
| - @DomName('MIDIPort.version')
|
| - @DocsEditable
|
| - final String version;
|
| -
|
| - @JSName('addEventListener')
|
| - @DomName('MIDIPort.addEventListener')
|
| - @DocsEditable
|
| - void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native;
|
| -
|
| - @DomName('MIDIPort.dispatchEvent')
|
| - @DocsEditable
|
| - bool dispatchEvent(Event event) native;
|
| -
|
| - @JSName('removeEventListener')
|
| - @DomName('MIDIPort.removeEventListener')
|
| - @DocsEditable
|
| - void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native;
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| -
|
| -@DocsEditable
|
| @DomName('MimeType')
|
| class MimeType native "MimeType" {
|
|
|
| @@ -14906,7 +14730,7 @@ class Navigator native "Navigator" {
|
| *
|
| * The user can also pass in Maps to the audio or video parameters to specify
|
| * mandatory and optional constraints for the media stream. Not passing in a
|
| - * map, but passing in `true` will provide a MediaStream with audio or
|
| + * map, but passing in `true` will provide a LocalMediaStream with audio or
|
| * video capabilities, but without any additional constraints. The particular
|
| * constraint names for audio and video are still in flux, but as of this
|
| * writing, here is an example providing more constraints.
|
| @@ -14926,8 +14750,8 @@ class Navigator native "Navigator" {
|
| @DomName('Navigator.webkitGetUserMedia')
|
| @SupportedBrowser(SupportedBrowser.CHROME)
|
| @Experimental
|
| - Future<MediaStream> getUserMedia({audio: false, video: false}) {
|
| - var completer = new Completer<MediaStream>();
|
| + Future<LocalMediaStream> getUserMedia({audio: false, video: false}) {
|
| + var completer = new Completer<LocalMediaStream>();
|
| var options = {
|
| 'audio': audio,
|
| 'video': video
|
| @@ -15087,7 +14911,7 @@ typedef void _NavigatorUserMediaErrorCallback(NavigatorUserMediaError error);
|
| // WARNING: Do not edit - generated code.
|
|
|
|
|
| -typedef void _NavigatorUserMediaSuccessCallback(MediaStream stream);
|
| +typedef void _NavigatorUserMediaSuccessCallback(LocalMediaStream stream);
|
| // 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.
|
| @@ -16302,45 +16126,73 @@ class Performance extends EventTarget native "Performance" {
|
| @DocsEditable
|
| final PerformanceTiming timing;
|
|
|
| - @DomName('Performance.clearMarks')
|
| + @DomName('Performance.now')
|
| + @DocsEditable
|
| + num now() native;
|
| +
|
| + @JSName('webkitClearMarks')
|
| + @DomName('Performance.webkitClearMarks')
|
| @DocsEditable
|
| + @SupportedBrowser(SupportedBrowser.CHROME)
|
| + @SupportedBrowser(SupportedBrowser.SAFARI)
|
| + @Experimental
|
| void clearMarks(String markName) native;
|
|
|
| - @DomName('Performance.clearMeasures')
|
| + @JSName('webkitClearMeasures')
|
| + @DomName('Performance.webkitClearMeasures')
|
| @DocsEditable
|
| + @SupportedBrowser(SupportedBrowser.CHROME)
|
| + @SupportedBrowser(SupportedBrowser.SAFARI)
|
| + @Experimental
|
| void clearMeasures(String measureName) native;
|
|
|
| - @DomName('Performance.getEntries')
|
| + @JSName('webkitClearResourceTimings')
|
| + @DomName('Performance.webkitClearResourceTimings')
|
| + @DocsEditable
|
| + @SupportedBrowser(SupportedBrowser.CHROME)
|
| + @SupportedBrowser(SupportedBrowser.SAFARI)
|
| + @Experimental
|
| + void clearResourceTimings() native;
|
| +
|
| + @JSName('webkitGetEntries')
|
| + @DomName('Performance.webkitGetEntries')
|
| @DocsEditable
|
| + @SupportedBrowser(SupportedBrowser.CHROME)
|
| + @SupportedBrowser(SupportedBrowser.SAFARI)
|
| + @Experimental
|
| List<PerformanceEntry> getEntries() native;
|
|
|
| - @DomName('Performance.getEntriesByName')
|
| + @JSName('webkitGetEntriesByName')
|
| + @DomName('Performance.webkitGetEntriesByName')
|
| @DocsEditable
|
| + @SupportedBrowser(SupportedBrowser.CHROME)
|
| + @SupportedBrowser(SupportedBrowser.SAFARI)
|
| + @Experimental
|
| List<PerformanceEntry> getEntriesByName(String name, String entryType) native;
|
|
|
| - @DomName('Performance.getEntriesByType')
|
| + @JSName('webkitGetEntriesByType')
|
| + @DomName('Performance.webkitGetEntriesByType')
|
| @DocsEditable
|
| + @SupportedBrowser(SupportedBrowser.CHROME)
|
| + @SupportedBrowser(SupportedBrowser.SAFARI)
|
| + @Experimental
|
| List<PerformanceEntry> getEntriesByType(String entryType) native;
|
|
|
| - @DomName('Performance.mark')
|
| + @JSName('webkitMark')
|
| + @DomName('Performance.webkitMark')
|
| @DocsEditable
|
| + @SupportedBrowser(SupportedBrowser.CHROME)
|
| + @SupportedBrowser(SupportedBrowser.SAFARI)
|
| + @Experimental
|
| void mark(String markName) native;
|
|
|
| - @DomName('Performance.measure')
|
| - @DocsEditable
|
| - void measure(String measureName, String startMark, String endMark) native;
|
| -
|
| - @DomName('Performance.now')
|
| - @DocsEditable
|
| - num now() native;
|
| -
|
| - @JSName('webkitClearResourceTimings')
|
| - @DomName('Performance.webkitClearResourceTimings')
|
| + @JSName('webkitMeasure')
|
| + @DomName('Performance.webkitMeasure')
|
| @DocsEditable
|
| @SupportedBrowser(SupportedBrowser.CHROME)
|
| @SupportedBrowser(SupportedBrowser.SAFARI)
|
| @Experimental
|
| - void clearResourceTimings() native;
|
| + void measure(String measureName, String startMark, String endMark) native;
|
|
|
| @JSName('webkitSetResourceTimingBufferSize')
|
| @DomName('Performance.webkitSetResourceTimingBufferSize')
|
| @@ -16381,6 +16233,23 @@ class PerformanceEntry native "PerformanceEntry" {
|
|
|
|
|
| @DocsEditable
|
| +@DomName('PerformanceEntryList')
|
| +class PerformanceEntryList native "PerformanceEntryList" {
|
| +
|
| + @DomName('PerformanceEntryList.length')
|
| + @DocsEditable
|
| + final int length;
|
| +
|
| + @DomName('PerformanceEntryList.item')
|
| + @DocsEditable
|
| + PerformanceEntry item(int index) native;
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
| +
|
| +
|
| +@DocsEditable
|
| @DomName('PerformanceMark')
|
| class PerformanceMark extends PerformanceEntry native "PerformanceMark" {
|
| }
|
| @@ -17961,10 +17830,6 @@ class SecurityPolicyViolationEvent extends Event native "SecurityPolicyViolation
|
| @DocsEditable
|
| final String blockedUri;
|
|
|
| - @DomName('SecurityPolicyViolationEvent.columnNumber')
|
| - @DocsEditable
|
| - final int columnNumber;
|
| -
|
| @JSName('documentURI')
|
| @DomName('SecurityPolicyViolationEvent.documentURI')
|
| @DocsEditable
|
| @@ -18815,159 +18680,6 @@ class SpeechRecognitionResult native "SpeechRecognitionResult" {
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
|
|
| -@DocsEditable
|
| -@DomName('SpeechSynthesis')
|
| -class SpeechSynthesis native "SpeechSynthesis" {
|
| -
|
| - @DomName('SpeechSynthesis.paused')
|
| - @DocsEditable
|
| - final bool paused;
|
| -
|
| - @DomName('SpeechSynthesis.pending')
|
| - @DocsEditable
|
| - final bool pending;
|
| -
|
| - @DomName('SpeechSynthesis.speaking')
|
| - @DocsEditable
|
| - final bool speaking;
|
| -
|
| - @DomName('SpeechSynthesis.cancel')
|
| - @DocsEditable
|
| - void cancel() native;
|
| -
|
| - @DomName('SpeechSynthesis.getVoices')
|
| - @DocsEditable
|
| - List<SpeechSynthesisVoice> getVoices() native;
|
| -
|
| - @DomName('SpeechSynthesis.pause')
|
| - @DocsEditable
|
| - void pause() native;
|
| -
|
| - @DomName('SpeechSynthesis.resume')
|
| - @DocsEditable
|
| - void resume() native;
|
| -
|
| - @DomName('SpeechSynthesis.speak')
|
| - @DocsEditable
|
| - void speak(SpeechSynthesisUtterance utterance) native;
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| -
|
| -@DocsEditable
|
| -@DomName('SpeechSynthesisEvent')
|
| -class SpeechSynthesisEvent extends Event native "SpeechSynthesisEvent" {
|
| -
|
| - @DomName('SpeechSynthesisEvent.charIndex')
|
| - @DocsEditable
|
| - final int charIndex;
|
| -
|
| - @DomName('SpeechSynthesisEvent.elapsedTime')
|
| - @DocsEditable
|
| - final num elapsedTime;
|
| -
|
| - @DomName('SpeechSynthesisEvent.name')
|
| - @DocsEditable
|
| - final String name;
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| -
|
| -@DocsEditable
|
| -@DomName('SpeechSynthesisUtterance')
|
| -class SpeechSynthesisUtterance extends EventTarget native "SpeechSynthesisUtterance" {
|
| -
|
| - @DomName('SpeechSynthesisUtterance.errorEvent')
|
| - @DocsEditable
|
| - static const EventStreamProvider<Event> errorEvent = const EventStreamProvider<Event>('error');
|
| -
|
| - @DomName('SpeechSynthesisUtterance.pauseEvent')
|
| - @DocsEditable
|
| - static const EventStreamProvider<Event> pauseEvent = const EventStreamProvider<Event>('pause');
|
| -
|
| - @DomName('SpeechSynthesisUtterance.SpeechSynthesisUtterance')
|
| - @DocsEditable
|
| - factory SpeechSynthesisUtterance([String text]) {
|
| - if (?text) {
|
| - return SpeechSynthesisUtterance._create_1(text);
|
| - }
|
| - return SpeechSynthesisUtterance._create_2();
|
| - }
|
| - static SpeechSynthesisUtterance _create_1(text) => JS('SpeechSynthesisUtterance', 'new SpeechSynthesisUtterance(#)', text);
|
| - static SpeechSynthesisUtterance _create_2() => JS('SpeechSynthesisUtterance', 'new SpeechSynthesisUtterance()');
|
| -
|
| - @DomName('SpeechSynthesisUtterance.lang')
|
| - @DocsEditable
|
| - String lang;
|
| -
|
| - @DomName('SpeechSynthesisUtterance.pitch')
|
| - @DocsEditable
|
| - num pitch;
|
| -
|
| - @DomName('SpeechSynthesisUtterance.rate')
|
| - @DocsEditable
|
| - num rate;
|
| -
|
| - @DomName('SpeechSynthesisUtterance.text')
|
| - @DocsEditable
|
| - String text;
|
| -
|
| - @DomName('SpeechSynthesisUtterance.voice')
|
| - @DocsEditable
|
| - SpeechSynthesisVoice voice;
|
| -
|
| - @DomName('SpeechSynthesisUtterance.volume')
|
| - @DocsEditable
|
| - num volume;
|
| -
|
| - @DomName('SpeechSynthesisUtterance.onerror')
|
| - @DocsEditable
|
| - Stream<Event> get onError => errorEvent.forTarget(this);
|
| -
|
| - @DomName('SpeechSynthesisUtterance.onpause')
|
| - @DocsEditable
|
| - Stream<Event> get onPause => pauseEvent.forTarget(this);
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| -
|
| -@DocsEditable
|
| -@DomName('SpeechSynthesisVoice')
|
| -class SpeechSynthesisVoice native "SpeechSynthesisVoice" {
|
| -
|
| - @JSName('default')
|
| - @DomName('SpeechSynthesisVoice.default')
|
| - @DocsEditable
|
| - final bool defaultValue;
|
| -
|
| - @DomName('SpeechSynthesisVoice.lang')
|
| - @DocsEditable
|
| - final String lang;
|
| -
|
| - @DomName('SpeechSynthesisVoice.localService')
|
| - @DocsEditable
|
| - final bool localService;
|
| -
|
| - @DomName('SpeechSynthesisVoice.name')
|
| - @DocsEditable
|
| - final String name;
|
| -
|
| - @JSName('voiceURI')
|
| - @DomName('SpeechSynthesisVoice.voiceURI')
|
| - @DocsEditable
|
| - final String voiceUri;
|
| -}
|
| -// 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.
|
| -
|
| -
|
| /**
|
| * The type used by the
|
| * [Window.localStorage] and [Window.sessionStorage] properties.
|
| @@ -21718,11 +21430,6 @@ class Window extends EventTarget implements WindowBase native "Window,DOMWindow"
|
| @DocsEditable
|
| static const int TEMPORARY = 0;
|
|
|
| - @JSName('CSS')
|
| - @DomName('Window.CSS')
|
| - @DocsEditable
|
| - final Css Css;
|
| -
|
| @DomName('Window.applicationCache')
|
| @DocsEditable
|
| final ApplicationCache applicationCache;
|
| @@ -21874,10 +21581,6 @@ class Window extends EventTarget implements WindowBase native "Window,DOMWindow"
|
| @DocsEditable
|
| final Storage sessionStorage;
|
|
|
| - @DomName('Window.speechSynthesis')
|
| - @DocsEditable
|
| - final SpeechSynthesis speechSynthesis;
|
| -
|
| @DomName('Window.status')
|
| @DocsEditable
|
| String status;
|
|
|