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

Side by Side Diff: sdk/lib/html/dart2js/html_dart2js.dart

Issue 15896022: Updating DOM metadata triage list for recent Blink changes. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 6 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:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | sdk/lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /// The Dart HTML library. 1 /// The Dart HTML library.
2 library dart.dom.html; 2 library dart.dom.html;
3 3
4 import 'dart:async'; 4 import 'dart:async';
5 import 'dart:collection'; 5 import 'dart:collection';
6 import 'dart:_collection-dev' hide Symbol; 6 import 'dart:_collection-dev' hide Symbol;
7 import 'dart:html_common'; 7 import 'dart:html_common';
8 import 'dart:indexed_db'; 8 import 'dart:indexed_db';
9 import 'dart:isolate'; 9 import 'dart:isolate';
10 import 'dart:json' as json; 10 import 'dart:json' as json;
(...skipping 458 matching lines...) Expand 10 before | Expand all | Expand 10 after
469 @DocsEditable 469 @DocsEditable
470 factory BRElement() => document.$dom_createElement("br"); 470 factory BRElement() => document.$dom_createElement("br");
471 } 471 }
472 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 472 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
473 // for details. All rights reserved. Use of this source code is governed by a 473 // for details. All rights reserved. Use of this source code is governed by a
474 // BSD-style license that can be found in the LICENSE file. 474 // BSD-style license that can be found in the LICENSE file.
475 475
476 476
477 @DocsEditable 477 @DocsEditable
478 @DomName('BarProp') 478 @DomName('BarProp')
479 @Experimental // untriaged 479 // http://www.whatwg.org/specs/web-apps/current-work/multipage/browsers.html#bar prop
480 @deprecated // standard
480 class BarProp native "BarProp" { 481 class BarProp native "BarProp" {
481 482
482 @DomName('BarProp.visible') 483 @DomName('BarProp.visible')
483 @DocsEditable 484 @DocsEditable
484 @Experimental // untriaged
485 final bool visible; 485 final bool visible;
486 } 486 }
487 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 487 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
488 // for details. All rights reserved. Use of this source code is governed by a 488 // for details. All rights reserved. Use of this source code is governed by a
489 // BSD-style license that can be found in the LICENSE file. 489 // BSD-style license that can be found in the LICENSE file.
490 490
491 491
492 @DocsEditable 492 @DocsEditable
493 @DomName('HTMLBaseElement') 493 @DomName('HTMLBaseElement')
494 class BaseElement extends Element native "HTMLBaseElement" { 494 class BaseElement extends Element native "HTMLBaseElement" {
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
763 @deprecated // deprecated 763 @deprecated // deprecated
764 class CDataSection extends Text native "CDATASection" { 764 class CDataSection extends Text native "CDATASection" {
765 } 765 }
766 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 766 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
767 // for details. All rights reserved. Use of this source code is governed by a 767 // for details. All rights reserved. Use of this source code is governed by a
768 // BSD-style license that can be found in the LICENSE file. 768 // BSD-style license that can be found in the LICENSE file.
769 769
770 770
771 @DocsEditable 771 @DocsEditable
772 @DomName('Canvas2DContextAttributes') 772 @DomName('Canvas2DContextAttributes')
773 @Experimental // untriaged 773 // http://wiki.whatwg.org/wiki/CanvasOpaque#Suggested_IDL
774 @Experimental
774 class Canvas2DContextAttributes native "Canvas2DContextAttributes" { 775 class Canvas2DContextAttributes native "Canvas2DContextAttributes" {
775 776
776 @DomName('Canvas2DContextAttributes.alpha') 777 @DomName('Canvas2DContextAttributes.alpha')
777 @DocsEditable 778 @DocsEditable
778 @Experimental // untriaged
779 bool alpha; 779 bool alpha;
780 } 780 }
781 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 781 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
782 // for details. All rights reserved. Use of this source code is governed by a 782 // for details. All rights reserved. Use of this source code is governed by a
783 // BSD-style license that can be found in the LICENSE file. 783 // BSD-style license that can be found in the LICENSE file.
784 784
785 785
786 @DomName('HTMLCanvasElement') 786 @DomName('HTMLCanvasElement')
787 class CanvasElement extends Element implements CanvasImageSource native "HTMLCan vasElement" { 787 class CanvasElement extends Element implements CanvasImageSource native "HTMLCan vasElement" {
788 788
(...skipping 381 matching lines...) Expand 10 before | Expand all | Expand 10 after
1170 @DomName('CanvasRenderingContext2D.fillRect') 1170 @DomName('CanvasRenderingContext2D.fillRect')
1171 @DocsEditable 1171 @DocsEditable
1172 void fillRect(num x, num y, num width, num height) native; 1172 void fillRect(num x, num y, num width, num height) native;
1173 1173
1174 @DomName('CanvasRenderingContext2D.fillText') 1174 @DomName('CanvasRenderingContext2D.fillText')
1175 @DocsEditable 1175 @DocsEditable
1176 void fillText(String text, num x, num y, [num maxWidth]) native; 1176 void fillText(String text, num x, num y, [num maxWidth]) native;
1177 1177
1178 @DomName('CanvasRenderingContext2D.getContextAttributes') 1178 @DomName('CanvasRenderingContext2D.getContextAttributes')
1179 @DocsEditable 1179 @DocsEditable
1180 @Experimental // untriaged 1180 // http://wiki.whatwg.org/wiki/CanvasOpaque#Suggested_IDL
1181 @Experimental
1181 Canvas2DContextAttributes getContextAttributes() native; 1182 Canvas2DContextAttributes getContextAttributes() native;
1182 1183
1183 @DomName('CanvasRenderingContext2D.getImageData') 1184 @DomName('CanvasRenderingContext2D.getImageData')
1184 @DocsEditable 1185 @DocsEditable
1185 @Creates('ImageData|=Object') 1186 @Creates('ImageData|=Object')
1186 ImageData getImageData(num sx, num sy, num sw, num sh) { 1187 ImageData getImageData(num sx, num sy, num sw, num sh) {
1187 return _convertNativeToDart_ImageData(_getImageData_1(sx, sy, sw, sh)); 1188 return _convertNativeToDart_ImageData(_getImageData_1(sx, sy, sw, sh));
1188 } 1189 }
1189 @JSName('getImageData') 1190 @JSName('getImageData')
1190 @DomName('CanvasRenderingContext2D.getImageData') 1191 @DomName('CanvasRenderingContext2D.getImageData')
(...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after
1569 @DomName('CharacterData.data') 1570 @DomName('CharacterData.data')
1570 @DocsEditable 1571 @DocsEditable
1571 String data; 1572 String data;
1572 1573
1573 @DomName('CharacterData.length') 1574 @DomName('CharacterData.length')
1574 @DocsEditable 1575 @DocsEditable
1575 final int length; 1576 final int length;
1576 1577
1577 @DomName('CharacterData.nextElementSibling') 1578 @DomName('CharacterData.nextElementSibling')
1578 @DocsEditable 1579 @DocsEditable
1579 @Experimental // untriaged
1580 final Element nextElementSibling; 1580 final Element nextElementSibling;
1581 1581
1582 @DomName('CharacterData.previousElementSibling') 1582 @DomName('CharacterData.previousElementSibling')
1583 @DocsEditable 1583 @DocsEditable
1584 @Experimental // untriaged
1585 final Element previousElementSibling; 1584 final Element previousElementSibling;
1586 1585
1587 @DomName('CharacterData.appendData') 1586 @DomName('CharacterData.appendData')
1588 @DocsEditable 1587 @DocsEditable
1589 void appendData(String data) native; 1588 void appendData(String data) native;
1590 1589
1591 @DomName('CharacterData.deleteData') 1590 @DomName('CharacterData.deleteData')
1592 @DocsEditable 1591 @DocsEditable
1593 void deleteData(int offset, int length) native; 1592 void deleteData(int offset, int length) native;
1594 1593
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
1645 static Comment _create_1(data) => JS('Comment', 'new Comment(#)', data); 1644 static Comment _create_1(data) => JS('Comment', 'new Comment(#)', data);
1646 static Comment _create_2() => JS('Comment', 'new Comment()'); 1645 static Comment _create_2() => JS('Comment', 'new Comment()');
1647 } 1646 }
1648 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1647 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1649 // for details. All rights reserved. Use of this source code is governed by a 1648 // for details. All rights reserved. Use of this source code is governed by a
1650 // BSD-style license that can be found in the LICENSE file. 1649 // BSD-style license that can be found in the LICENSE file.
1651 1650
1652 1651
1653 @DocsEditable 1652 @DocsEditable
1654 @DomName('Composition') 1653 @DomName('Composition')
1655 @Experimental // untriaged 1654 // http://www.w3.org/TR/ime-api/#idl-def-Composition
1655 @Experimental
1656 class Composition native "Composition" { 1656 class Composition native "Composition" {
1657 1657
1658 @DomName('Composition.caret') 1658 @DomName('Composition.caret')
1659 @DocsEditable 1659 @DocsEditable
1660 @Experimental // untriaged
1661 final Range caret; 1660 final Range caret;
1662 1661
1663 @DomName('Composition.text') 1662 @DomName('Composition.text')
1664 @DocsEditable 1663 @DocsEditable
1665 @Experimental // untriaged
1666 final Node text; 1664 final Node text;
1667 } 1665 }
1668 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1666 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
1669 // for details. All rights reserved. Use of this source code is governed by a 1667 // for details. All rights reserved. Use of this source code is governed by a
1670 // BSD-style license that can be found in the LICENSE file. 1668 // BSD-style license that can be found in the LICENSE file.
1671 1669
1672 // WARNING: Do not edit - generated code. 1670 // WARNING: Do not edit - generated code.
1673 1671
1674 1672
1675 @DomName('CompositionEvent') 1673 @DomName('CompositionEvent')
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
1890 @Returns('TypedData|Null') 1888 @Returns('TypedData|Null')
1891 TypedData getRandomValues(TypedData array) native; 1889 TypedData getRandomValues(TypedData array) native;
1892 } 1890 }
1893 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1891 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1894 // for details. All rights reserved. Use of this source code is governed by a 1892 // for details. All rights reserved. Use of this source code is governed by a
1895 // BSD-style license that can be found in the LICENSE file. 1893 // BSD-style license that can be found in the LICENSE file.
1896 1894
1897 1895
1898 @DocsEditable 1896 @DocsEditable
1899 @DomName('CSS') 1897 @DomName('CSS')
1900 @Experimental // untriaged 1898 // http://www.w3.org/TR/css3-conditional/#the-css-interface
1899 @Experimental // None
1901 class Css native "CSS" { 1900 class Css native "CSS" {
1902 1901
1903 @DomName('CSS.supports') 1902 @DomName('CSS.supports')
1904 @DocsEditable 1903 @DocsEditable
1905 @Experimental // untriaged
1906 bool supports(String conditionText_OR_property, [String value]) native; 1904 bool supports(String conditionText_OR_property, [String value]) native;
1907 } 1905 }
1908 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1906 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1909 // for details. All rights reserved. Use of this source code is governed by a 1907 // for details. All rights reserved. Use of this source code is governed by a
1910 // BSD-style license that can be found in the LICENSE file. 1908 // BSD-style license that can be found in the LICENSE file.
1911 1909
1912 1910
1913 @DocsEditable 1911 @DocsEditable
1914 @DomName('CSSCharsetRule') 1912 @DomName('CSSCharsetRule')
1915 // http://dev.w3.org/csswg/cssom/#the-csscharsetrule-interface 1913 // http://dev.w3.org/csswg/cssom/#the-csscharsetrule-interface
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
2177 @DomName('CSSRule.PAGE_RULE') 2175 @DomName('CSSRule.PAGE_RULE')
2178 @DocsEditable 2176 @DocsEditable
2179 static const int PAGE_RULE = 6; 2177 static const int PAGE_RULE = 6;
2180 2178
2181 @DomName('CSSRule.STYLE_RULE') 2179 @DomName('CSSRule.STYLE_RULE')
2182 @DocsEditable 2180 @DocsEditable
2183 static const int STYLE_RULE = 1; 2181 static const int STYLE_RULE = 1;
2184 2182
2185 @DomName('CSSRule.SUPPORTS_RULE') 2183 @DomName('CSSRule.SUPPORTS_RULE')
2186 @DocsEditable 2184 @DocsEditable
2187 @Experimental // untriaged
2188 static const int SUPPORTS_RULE = 12; 2185 static const int SUPPORTS_RULE = 12;
2189 2186
2190 @DomName('CSSRule.UNKNOWN_RULE') 2187 @DomName('CSSRule.UNKNOWN_RULE')
2191 @DocsEditable 2188 @DocsEditable
2192 // http://dev.w3.org/csswg/cssom/#changes-from-dom2 2189 // http://dev.w3.org/csswg/cssom/#changes-from-dom2
2193 @deprecated // deprecated 2190 @deprecated // deprecated
2194 static const int UNKNOWN_RULE = 0; 2191 static const int UNKNOWN_RULE = 0;
2195 2192
2196 @DomName('CSSRule.WEBKIT_FILTER_RULE') 2193 @DomName('CSSRule.WEBKIT_FILTER_RULE')
2197 @DocsEditable 2194 @DocsEditable
(...skipping 3328 matching lines...) Expand 10 before | Expand all | Expand 10 after
5526 @Experimental // non-standard 5523 @Experimental // non-standard
5527 void removeRule(int index) native; 5524 void removeRule(int index) native;
5528 } 5525 }
5529 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 5526 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5530 // for details. All rights reserved. Use of this source code is governed by a 5527 // for details. All rights reserved. Use of this source code is governed by a
5531 // BSD-style license that can be found in the LICENSE file. 5528 // BSD-style license that can be found in the LICENSE file.
5532 5529
5533 5530
5534 @DocsEditable 5531 @DocsEditable
5535 @DomName('CSSSupportsRule') 5532 @DomName('CSSSupportsRule')
5536 @Experimental // untriaged
5537 class CssSupportsRule extends CssRule native "CSSSupportsRule" { 5533 class CssSupportsRule extends CssRule native "CSSSupportsRule" {
5538 5534
5539 @DomName('CSSSupportsRule.conditionText') 5535 @DomName('CSSSupportsRule.conditionText')
5540 @DocsEditable 5536 @DocsEditable
5541 @Experimental // untriaged
5542 final String conditionText; 5537 final String conditionText;
5543 5538
5544 @DomName('CSSSupportsRule.cssRules') 5539 @DomName('CSSSupportsRule.cssRules')
5545 @DocsEditable 5540 @DocsEditable
5546 @Experimental // untriaged
5547 @Returns('_CssRuleList') 5541 @Returns('_CssRuleList')
5548 @Creates('_CssRuleList') 5542 @Creates('_CssRuleList')
5549 final List<CssRule> cssRules; 5543 final List<CssRule> cssRules;
5550 5544
5551 @DomName('CSSSupportsRule.deleteRule') 5545 @DomName('CSSSupportsRule.deleteRule')
5552 @DocsEditable 5546 @DocsEditable
5553 @Experimental // untriaged
5554 void deleteRule(int index) native; 5547 void deleteRule(int index) native;
5555 5548
5556 @DomName('CSSSupportsRule.insertRule') 5549 @DomName('CSSSupportsRule.insertRule')
5557 @DocsEditable 5550 @DocsEditable
5558 @Experimental // untriaged
5559 int insertRule(String rule, int index) native; 5551 int insertRule(String rule, int index) native;
5560 } 5552 }
5561 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 5553 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5562 // for details. All rights reserved. Use of this source code is governed by a 5554 // for details. All rights reserved. Use of this source code is governed by a
5563 // BSD-style license that can be found in the LICENSE file. 5555 // BSD-style license that can be found in the LICENSE file.
5564 5556
5565 5557
5566 @DocsEditable 5558 @DocsEditable
5567 @DomName('CSSUnknownRule') 5559 @DomName('CSSUnknownRule')
5568 // http://dev.w3.org/csswg/cssom/#the-cssstylesheet-interface 5560 // http://dev.w3.org/csswg/cssom/#the-cssstylesheet-interface
(...skipping 670 matching lines...) Expand 10 before | Expand all | Expand 10 after
6239 @DocsEditable 6231 @DocsEditable
6240 Element $dom_body; 6232 Element $dom_body;
6241 6233
6242 @DomName('Document.charset') 6234 @DomName('Document.charset')
6243 @DocsEditable 6235 @DocsEditable
6244 @deprecated // nonstandard 6236 @deprecated // nonstandard
6245 String charset; 6237 String charset;
6246 6238
6247 @DomName('Document.childElementCount') 6239 @DomName('Document.childElementCount')
6248 @DocsEditable 6240 @DocsEditable
6249 @Experimental // untriaged
6250 final int childElementCount; 6241 final int childElementCount;
6251 6242
6252 @DomName('Document.children') 6243 @DomName('Document.children')
6253 @DocsEditable 6244 @DocsEditable
6254 @Experimental // untriaged
6255 final HtmlCollection children; 6245 final HtmlCollection children;
6256 6246
6257 @DomName('Document.cookie') 6247 @DomName('Document.cookie')
6258 @DocsEditable 6248 @DocsEditable
6259 String cookie; 6249 String cookie;
6260 6250
6261 WindowBase get window => _convertNativeToDart_Window(this._get_window); 6251 WindowBase get window => _convertNativeToDart_Window(this._get_window);
6262 @JSName('defaultView') 6252 @JSName('defaultView')
6263 @DomName('Document.window') 6253 @DomName('Document.window')
6264 @DocsEditable 6254 @DocsEditable
6265 @Experimental // untriaged 6255 @Experimental // untriaged
6266 @Creates('Window|=Object') 6256 @Creates('Window|=Object')
6267 @Returns('Window|=Object') 6257 @Returns('Window|=Object')
6268 @Creates('Window|=Object|Null') 6258 @Creates('Window|=Object|Null')
6269 @Returns('Window|=Object|Null') 6259 @Returns('Window|=Object|Null')
6270 final dynamic _get_window; 6260 final dynamic _get_window;
6271 6261
6272 @DomName('Document.documentElement') 6262 @DomName('Document.documentElement')
6273 @DocsEditable 6263 @DocsEditable
6274 final Element documentElement; 6264 final Element documentElement;
6275 6265
6276 @DomName('Document.domain') 6266 @DomName('Document.domain')
6277 @DocsEditable 6267 @DocsEditable
6278 final String domain; 6268 final String domain;
6279 6269
6280 @DomName('Document.firstElementChild') 6270 @DomName('Document.firstElementChild')
6281 @DocsEditable 6271 @DocsEditable
6282 @Experimental // untriaged
6283 final Element firstElementChild; 6272 final Element firstElementChild;
6284 6273
6285 @DomName('Document.fontloader') 6274 @DomName('Document.fontloader')
6286 @DocsEditable 6275 @DocsEditable
6287 // http://www.w3.org/TR/css3-fonts/#document-fontloader 6276 // http://www.w3.org/TR/css3-fonts/#document-fontloader
6288 @Experimental 6277 @Experimental
6289 final FontLoader fontloader; 6278 final FontLoader fontloader;
6290 6279
6291 @JSName('head') 6280 @JSName('head')
6292 /// Moved to [HtmlDocument]. 6281 /// Moved to [HtmlDocument].
6293 @DomName('Document.head') 6282 @DomName('Document.head')
6294 @DocsEditable 6283 @DocsEditable
6295 final HeadElement $dom_head; 6284 final HeadElement $dom_head;
6296 6285
6297 @DomName('Document.implementation') 6286 @DomName('Document.implementation')
6298 @DocsEditable 6287 @DocsEditable
6299 final DomImplementation implementation; 6288 final DomImplementation implementation;
6300 6289
6301 @DomName('Document.lastElementChild') 6290 @DomName('Document.lastElementChild')
6302 @DocsEditable 6291 @DocsEditable
6303 @Experimental // untriaged
6304 final Element lastElementChild; 6292 final Element lastElementChild;
6305 6293
6306 @JSName('lastModified') 6294 @JSName('lastModified')
6307 /// Moved to [HtmlDocument]. 6295 /// Moved to [HtmlDocument].
6308 @DomName('Document.lastModified') 6296 @DomName('Document.lastModified')
6309 @DocsEditable 6297 @DocsEditable
6310 final String $dom_lastModified; 6298 final String $dom_lastModified;
6311 6299
6312 @JSName('preferredStylesheetSet') 6300 @JSName('preferredStylesheetSet')
6313 @DomName('Document.preferredStylesheetSet') 6301 @DomName('Document.preferredStylesheetSet')
(...skipping 647 matching lines...) Expand 10 before | Expand all | Expand 10 after
6961 6949
6962 @DomName('DocumentFragment.DocumentFragment') 6950 @DomName('DocumentFragment.DocumentFragment')
6963 @DocsEditable 6951 @DocsEditable
6964 factory DocumentFragment() { 6952 factory DocumentFragment() {
6965 return DocumentFragment._create_1(); 6953 return DocumentFragment._create_1();
6966 } 6954 }
6967 static DocumentFragment _create_1() => JS('DocumentFragment', 'new DocumentFra gment()'); 6955 static DocumentFragment _create_1() => JS('DocumentFragment', 'new DocumentFra gment()');
6968 6956
6969 @DomName('DocumentFragment.childElementCount') 6957 @DomName('DocumentFragment.childElementCount')
6970 @DocsEditable 6958 @DocsEditable
6971 @Experimental // untriaged
6972 final int childElementCount; 6959 final int childElementCount;
6973 6960
6974 @DomName('DocumentFragment.firstElementChild') 6961 @DomName('DocumentFragment.firstElementChild')
6975 @DocsEditable 6962 @DocsEditable
6976 @Experimental // untriaged
6977 final Element firstElementChild; 6963 final Element firstElementChild;
6978 6964
6979 @DomName('DocumentFragment.lastElementChild') 6965 @DomName('DocumentFragment.lastElementChild')
6980 @DocsEditable 6966 @DocsEditable
6981 @Experimental // untriaged
6982 final Element lastElementChild; 6967 final Element lastElementChild;
6983 6968
6984 @JSName('querySelector') 6969 @JSName('querySelector')
6985 @DomName('DocumentFragment.querySelector') 6970 @DomName('DocumentFragment.querySelector')
6986 @DocsEditable 6971 @DocsEditable
6987 Element $dom_querySelector(String selectors) native; 6972 Element $dom_querySelector(String selectors) native;
6988 6973
6989 @JSName('querySelectorAll') 6974 @JSName('querySelectorAll')
6990 @DomName('DocumentFragment.querySelectorAll') 6975 @DomName('DocumentFragment.querySelectorAll')
6991 @DocsEditable 6976 @DocsEditable
(...skipping 1433 matching lines...) Expand 10 before | Expand all | Expand 10 after
8425 @Experimental 8410 @Experimental
8426 // http://www.whatwg.org/specs/web-apps/current-work/multipage/dnd.html#the-dr opzone-attribute 8411 // http://www.whatwg.org/specs/web-apps/current-work/multipage/dnd.html#the-dr opzone-attribute
8427 String dropzone; 8412 String dropzone;
8428 8413
8429 @DomName('Element.click') 8414 @DomName('Element.click')
8430 @DocsEditable 8415 @DocsEditable
8431 void click() native; 8416 void click() native;
8432 8417
8433 @DomName('Element.getInputContext') 8418 @DomName('Element.getInputContext')
8434 @DocsEditable 8419 @DocsEditable
8435 @Experimental // untriaged 8420 // http://www.w3.org/TR/ime-api/#the-getinputcontext-method
8421 @Experimental
8436 InputMethodContext getInputContext() native; 8422 InputMethodContext getInputContext() native;
8437 8423
8438 @DomName('Element.ALLOW_KEYBOARD_INPUT') 8424 @DomName('Element.ALLOW_KEYBOARD_INPUT')
8439 @DocsEditable 8425 @DocsEditable
8440 // https://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html#dom-element-re questfullscreen 8426 // https://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html#dom-element-re questfullscreen
8441 @deprecated // deprecated 8427 @deprecated // deprecated
8442 static const int ALLOW_KEYBOARD_INPUT = 1; 8428 static const int ALLOW_KEYBOARD_INPUT = 1;
8443 8429
8444 @JSName('attributes') 8430 @JSName('attributes')
8445 @DomName('Element.attributes') 8431 @DomName('Element.attributes')
(...skipping 722 matching lines...) Expand 10 before | Expand all | Expand 10 after
9168 // BSD-style license that can be found in the LICENSE file. 9154 // BSD-style license that can be found in the LICENSE file.
9169 9155
9170 9156
9171 @DocsEditable 9157 @DocsEditable
9172 @DomName('Entity') 9158 @DomName('Entity')
9173 @Experimental // untriaged 9159 @Experimental // untriaged
9174 class Entity extends Node native "Entity" { 9160 class Entity extends Node native "Entity" {
9175 9161
9176 @DomName('Entity.notationName') 9162 @DomName('Entity.notationName')
9177 @DocsEditable 9163 @DocsEditable
9178 @Experimental // untriaged
9179 final String notationName; 9164 final String notationName;
9180 9165
9181 @DomName('Entity.publicId') 9166 @DomName('Entity.publicId')
9182 @DocsEditable 9167 @DocsEditable
9183 @Experimental // untriaged
9184 final String publicId; 9168 final String publicId;
9185 9169
9186 @DomName('Entity.systemId') 9170 @DomName('Entity.systemId')
9187 @DocsEditable 9171 @DocsEditable
9188 @Experimental // untriaged
9189 final String systemId; 9172 final String systemId;
9190 } 9173 }
9191 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 9174 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9192 // for details. All rights reserved. Use of this source code is governed by a 9175 // for details. All rights reserved. Use of this source code is governed by a
9193 // BSD-style license that can be found in the LICENSE file. 9176 // BSD-style license that can be found in the LICENSE file.
9194 9177
9195 // WARNING: Do not edit - generated code. 9178 // WARNING: Do not edit - generated code.
9196 9179
9197 9180
9198 @DomName('EntriesCallback') 9181 @DomName('EntriesCallback')
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after
9564 @DocsEditable 9547 @DocsEditable
9565 final String type; 9548 final String type;
9566 9549
9567 @JSName('initEvent') 9550 @JSName('initEvent')
9568 @DomName('Event.initEvent') 9551 @DomName('Event.initEvent')
9569 @DocsEditable 9552 @DocsEditable
9570 void $dom_initEvent(String eventTypeArg, bool canBubbleArg, bool cancelableArg ) native; 9553 void $dom_initEvent(String eventTypeArg, bool canBubbleArg, bool cancelableArg ) native;
9571 9554
9572 @DomName('Event.path') 9555 @DomName('Event.path')
9573 @DocsEditable 9556 @DocsEditable
9574 @Experimental // untriaged 9557 // https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/shadow/index.html#ex tensions-to-event
9558 @Experimental
9575 @Returns('NodeList') 9559 @Returns('NodeList')
9576 @Creates('NodeList') 9560 @Creates('NodeList')
9577 List<Node> path() native; 9561 List<Node> path() native;
9578 9562
9579 @DomName('Event.preventDefault') 9563 @DomName('Event.preventDefault')
9580 @DocsEditable 9564 @DocsEditable
9581 void preventDefault() native; 9565 void preventDefault() native;
9582 9566
9583 @DomName('Event.stopImmediatePropagation') 9567 @DomName('Event.stopImmediatePropagation')
9584 @DocsEditable 9568 @DocsEditable
(...skipping 948 matching lines...) Expand 10 before | Expand all | Expand 10 after
10533 // for details. All rights reserved. Use of this source code is governed by a 10517 // for details. All rights reserved. Use of this source code is governed by a
10534 // BSD-style license that can be found in the LICENSE file. 10518 // BSD-style license that can be found in the LICENSE file.
10535 10519
10536 10520
10537 @DocsEditable 10521 @DocsEditable
10538 @DomName('FormData') 10522 @DomName('FormData')
10539 @SupportedBrowser(SupportedBrowser.CHROME) 10523 @SupportedBrowser(SupportedBrowser.CHROME)
10540 @SupportedBrowser(SupportedBrowser.FIREFOX) 10524 @SupportedBrowser(SupportedBrowser.FIREFOX)
10541 @SupportedBrowser(SupportedBrowser.IE, '10') 10525 @SupportedBrowser(SupportedBrowser.IE, '10')
10542 @SupportedBrowser(SupportedBrowser.SAFARI) 10526 @SupportedBrowser(SupportedBrowser.SAFARI)
10543 @Experimental // untriaged
10544 class FormData native "FormData" { 10527 class FormData native "FormData" {
10545 10528
10546 @DomName('FormData.FormData') 10529 @DomName('FormData.FormData')
10547 @DocsEditable 10530 @DocsEditable
10548 factory FormData([FormElement form]) { 10531 factory FormData([FormElement form]) {
10549 if (?form) { 10532 if (?form) {
10550 return FormData._create_1(form); 10533 return FormData._create_1(form);
10551 } 10534 }
10552 return FormData._create_2(); 10535 return FormData._create_2();
10553 } 10536 }
10554 static FormData _create_1(form) => JS('FormData', 'new FormData(#)', form); 10537 static FormData _create_1(form) => JS('FormData', 'new FormData(#)', form);
10555 static FormData _create_2() => JS('FormData', 'new FormData()'); 10538 static FormData _create_2() => JS('FormData', 'new FormData()');
10556 10539
10557 /// Checks if this type is supported on the current platform. 10540 /// Checks if this type is supported on the current platform.
10558 static bool get supported => JS('bool', '!!(window.FormData)'); 10541 static bool get supported => JS('bool', '!!(window.FormData)');
10559 10542
10560 @DomName('FormData.append') 10543 @DomName('FormData.append')
10561 @DocsEditable 10544 @DocsEditable
10562 @Experimental // untriaged
10563 void append(String name, value, [String filename]) native; 10545 void append(String name, value, [String filename]) native;
10564 } 10546 }
10565 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 10547 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
10566 // for details. All rights reserved. Use of this source code is governed by a 10548 // for details. All rights reserved. Use of this source code is governed by a
10567 // BSD-style license that can be found in the LICENSE file. 10549 // BSD-style license that can be found in the LICENSE file.
10568 10550
10569 10551
10570 @DocsEditable 10552 @DocsEditable
10571 @DomName('HTMLFormElement') 10553 @DomName('HTMLFormElement')
10572 class FormElement extends Element native "HTMLFormElement" { 10554 class FormElement extends Element native "HTMLFormElement" {
(...skipping 2463 matching lines...) Expand 10 before | Expand all | Expand 10 after
13036 factory ButtonInputElement() => new InputElement(type: 'button'); 13018 factory ButtonInputElement() => new InputElement(type: 'button');
13037 } 13019 }
13038 13020
13039 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 13021 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13040 // for details. All rights reserved. Use of this source code is governed by a 13022 // for details. All rights reserved. Use of this source code is governed by a
13041 // BSD-style license that can be found in the LICENSE file. 13023 // BSD-style license that can be found in the LICENSE file.
13042 13024
13043 13025
13044 @DocsEditable 13026 @DocsEditable
13045 @DomName('InputMethodContext') 13027 @DomName('InputMethodContext')
13046 @Experimental // untriaged 13028 // http://www.w3.org/TR/ime-api/#idl-def-InputMethodContext
13029 @Experimental
13047 class InputMethodContext native "InputMethodContext" { 13030 class InputMethodContext native "InputMethodContext" {
13048 13031
13049 @DomName('InputMethodContext.composition') 13032 @DomName('InputMethodContext.composition')
13050 @DocsEditable 13033 @DocsEditable
13051 @Experimental // untriaged
13052 final Composition composition; 13034 final Composition composition;
13053 13035
13054 @DomName('InputMethodContext.enabled') 13036 @DomName('InputMethodContext.enabled')
13055 @DocsEditable 13037 @DocsEditable
13056 @Experimental // untriaged
13057 bool enabled; 13038 bool enabled;
13058 13039
13059 @DomName('InputMethodContext.locale') 13040 @DomName('InputMethodContext.locale')
13060 @DocsEditable 13041 @DocsEditable
13061 @Experimental // untriaged
13062 final String locale; 13042 final String locale;
13063 13043
13064 @DomName('InputMethodContext.confirmComposition') 13044 @DomName('InputMethodContext.confirmComposition')
13065 @DocsEditable 13045 @DocsEditable
13066 @Experimental // untriaged
13067 void confirmComposition() native; 13046 void confirmComposition() native;
13068 13047
13069 @DomName('InputMethodContext.open') 13048 @DomName('InputMethodContext.open')
13070 @DocsEditable 13049 @DocsEditable
13071 @Experimental // untriaged
13072 bool open() native; 13050 bool open() native;
13073 13051
13074 @DomName('InputMethodContext.setCaretRectangle') 13052 @DomName('InputMethodContext.setCaretRectangle')
13075 @DocsEditable 13053 @DocsEditable
13076 @Experimental // untriaged
13077 void setCaretRectangle(Node anchor, int x, int y, int w, int h) native; 13054 void setCaretRectangle(Node anchor, int x, int y, int w, int h) native;
13078 13055
13079 @DomName('InputMethodContext.setExclusionRectangle') 13056 @DomName('InputMethodContext.setExclusionRectangle')
13080 @DocsEditable 13057 @DocsEditable
13081 @Experimental // untriaged
13082 void setExclusionRectangle(Node anchor, int x, int y, int w, int h) native; 13058 void setExclusionRectangle(Node anchor, int x, int y, int w, int h) native;
13083 } 13059 }
13084 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 13060 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13085 // for details. All rights reserved. Use of this source code is governed by a 13061 // for details. All rights reserved. Use of this source code is governed by a
13086 // BSD-style license that can be found in the LICENSE file. 13062 // BSD-style license that can be found in the LICENSE file.
13087 13063
13088 13064
13089 @DomName('KeyboardEvent') 13065 @DomName('KeyboardEvent')
13090 class KeyboardEvent extends UIEvent native "KeyboardEvent" { 13066 class KeyboardEvent extends UIEvent native "KeyboardEvent" {
13091 13067
(...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after
13426 } 13402 }
13427 } 13403 }
13428 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 13404 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13429 // for details. All rights reserved. Use of this source code is governed by a 13405 // for details. All rights reserved. Use of this source code is governed by a
13430 // BSD-style license that can be found in the LICENSE file. 13406 // BSD-style license that can be found in the LICENSE file.
13431 13407
13432 // WARNING: Do not edit - generated code. 13408 // WARNING: Do not edit - generated code.
13433 13409
13434 13410
13435 @DomName('MIDIErrorCallback') 13411 @DomName('MIDIErrorCallback')
13436 @Experimental // untriaged 13412 // http://webaudio.github.io/web-midi-api/#midierrorcallback
13413 @Experimental
13437 typedef void MidiErrorCallback(DomError error); 13414 typedef void MidiErrorCallback(DomError error);
13438 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 13415 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13439 // for details. All rights reserved. Use of this source code is governed by a 13416 // for details. All rights reserved. Use of this source code is governed by a
13440 // BSD-style license that can be found in the LICENSE file. 13417 // BSD-style license that can be found in the LICENSE file.
13441 13418
13442 13419
13443 @DocsEditable 13420 @DocsEditable
13444 @DomName('HTMLMapElement') 13421 @DomName('HTMLMapElement')
13445 class MapElement extends Element native "HTMLMapElement" { 13422 class MapElement extends Element native "HTMLMapElement" {
13446 13423
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after
13761 @DomName('HTMLMediaElement.loop') 13738 @DomName('HTMLMediaElement.loop')
13762 @DocsEditable 13739 @DocsEditable
13763 bool loop; 13740 bool loop;
13764 13741
13765 @DomName('HTMLMediaElement.mediaGroup') 13742 @DomName('HTMLMediaElement.mediaGroup')
13766 @DocsEditable 13743 @DocsEditable
13767 String mediaGroup; 13744 String mediaGroup;
13768 13745
13769 @DomName('HTMLMediaElement.mediaKeys') 13746 @DomName('HTMLMediaElement.mediaKeys')
13770 @DocsEditable 13747 @DocsEditable
13771 @Experimental // untriaged 13748 // https://dvcs.w3.org/hg/html-media/raw-file/eme-v0.1/encrypted-media/encrypt ed-media.html
13749 @Experimental
13772 MediaKeys mediaKeys; 13750 MediaKeys mediaKeys;
13773 13751
13774 @DomName('HTMLMediaElement.muted') 13752 @DomName('HTMLMediaElement.muted')
13775 @DocsEditable 13753 @DocsEditable
13776 bool muted; 13754 bool muted;
13777 13755
13778 @DomName('HTMLMediaElement.networkState') 13756 @DomName('HTMLMediaElement.networkState')
13779 @DocsEditable 13757 @DocsEditable
13780 final int networkState; 13758 final int networkState;
13781 13759
(...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after
14100 @DomName('MediaKeyError.MEDIA_KEYERR_UNKNOWN') 14078 @DomName('MediaKeyError.MEDIA_KEYERR_UNKNOWN')
14101 @DocsEditable 14079 @DocsEditable
14102 static const int MEDIA_KEYERR_UNKNOWN = 1; 14080 static const int MEDIA_KEYERR_UNKNOWN = 1;
14103 14081
14104 @DomName('MediaKeyError.code') 14082 @DomName('MediaKeyError.code')
14105 @DocsEditable 14083 @DocsEditable
14106 final int code; 14084 final int code;
14107 14085
14108 @DomName('MediaKeyError.systemCode') 14086 @DomName('MediaKeyError.systemCode')
14109 @DocsEditable 14087 @DocsEditable
14110 @Experimental // untriaged 14088 @Experimental // non-standard
14111 final int systemCode; 14089 final int systemCode;
14112 } 14090 }
14113 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 14091 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14114 // for details. All rights reserved. Use of this source code is governed by a 14092 // for details. All rights reserved. Use of this source code is governed by a
14115 // BSD-style license that can be found in the LICENSE file. 14093 // BSD-style license that can be found in the LICENSE file.
14116 14094
14117 14095
14118 @DocsEditable 14096 @DocsEditable
14119 @DomName('MediaKeyEvent') 14097 @DomName('MediaKeyEvent')
14120 // https://dvcs.w3.org/hg/html-media/raw-file/eme-v0.1/encrypted-media/encrypted -media.html#event-definitions 14098 // https://dvcs.w3.org/hg/html-media/raw-file/eme-v0.1/encrypted-media/encrypted -media.html#event-definitions
(...skipping 29 matching lines...) Expand all
14150 @DocsEditable 14128 @DocsEditable
14151 final int systemCode; 14129 final int systemCode;
14152 } 14130 }
14153 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 14131 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14154 // for details. All rights reserved. Use of this source code is governed by a 14132 // for details. All rights reserved. Use of this source code is governed by a
14155 // BSD-style license that can be found in the LICENSE file. 14133 // BSD-style license that can be found in the LICENSE file.
14156 14134
14157 14135
14158 @DocsEditable 14136 @DocsEditable
14159 @DomName('MediaKeyMessageEvent') 14137 @DomName('MediaKeyMessageEvent')
14160 @Experimental // untriaged 14138 // https://dvcs.w3.org/hg/html-media/raw-file/eme-v0.1/encrypted-media/encrypted -media.html#dom-mediakeymessageevent
14139 @Experimental
14161 class MediaKeyMessageEvent extends Event native "MediaKeyMessageEvent" { 14140 class MediaKeyMessageEvent extends Event native "MediaKeyMessageEvent" {
14162 14141
14163 @JSName('destinationURL') 14142 @JSName('destinationURL')
14164 @DomName('MediaKeyMessageEvent.destinationURL') 14143 @DomName('MediaKeyMessageEvent.destinationURL')
14165 @DocsEditable 14144 @DocsEditable
14166 @Experimental // untriaged
14167 final String destinationUrl; 14145 final String destinationUrl;
14168 14146
14169 @DomName('MediaKeyMessageEvent.message') 14147 @DomName('MediaKeyMessageEvent.message')
14170 @DocsEditable 14148 @DocsEditable
14171 @Experimental // untriaged
14172 final Uint8List message; 14149 final Uint8List message;
14173 } 14150 }
14174 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 14151 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14175 // for details. All rights reserved. Use of this source code is governed by a 14152 // for details. All rights reserved. Use of this source code is governed by a
14176 // BSD-style license that can be found in the LICENSE file. 14153 // BSD-style license that can be found in the LICENSE file.
14177 14154
14178 14155
14179 @DocsEditable 14156 @DocsEditable
14180 @DomName('MediaKeyNeededEvent') 14157 @DomName('MediaKeyNeededEvent')
14181 @Experimental // untriaged 14158 // https://dvcs.w3.org/hg/html-media/raw-file/eme-v0.1/encrypted-media/encrypted -media.html#dom-mediakeyneededevent
14159 @Experimental
14182 class MediaKeyNeededEvent extends Event native "MediaKeyNeededEvent" { 14160 class MediaKeyNeededEvent extends Event native "MediaKeyNeededEvent" {
14183 14161
14184 @DomName('MediaKeyNeededEvent.initData') 14162 @DomName('MediaKeyNeededEvent.initData')
14185 @DocsEditable 14163 @DocsEditable
14186 @Experimental // untriaged
14187 final Uint8List initData; 14164 final Uint8List initData;
14188 } 14165 }
14189 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 14166 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14190 // for details. All rights reserved. Use of this source code is governed by a 14167 // for details. All rights reserved. Use of this source code is governed by a
14191 // BSD-style license that can be found in the LICENSE file. 14168 // BSD-style license that can be found in the LICENSE file.
14192 14169
14193 14170
14194 @DocsEditable 14171 @DocsEditable
14195 @DomName('MediaKeySession') 14172 @DomName('MediaKeySession')
14196 @Experimental // untriaged 14173 // https://dvcs.w3.org/hg/html-media/raw-file/eme-v0.1/encrypted-media/encrypted -media.html#dom-mediakeysession
14174 @Experimental
14197 class MediaKeySession extends EventTarget native "MediaKeySession" { 14175 class MediaKeySession extends EventTarget native "MediaKeySession" {
14198 14176
14199 @DomName('MediaKeySession.error') 14177 @DomName('MediaKeySession.error')
14200 @DocsEditable 14178 @DocsEditable
14201 @Experimental // untriaged
14202 final MediaKeyError error; 14179 final MediaKeyError error;
14203 14180
14204 @DomName('MediaKeySession.keySystem') 14181 @DomName('MediaKeySession.keySystem')
14205 @DocsEditable 14182 @DocsEditable
14206 @Experimental // untriaged
14207 final String keySystem; 14183 final String keySystem;
14208 14184
14209 @DomName('MediaKeySession.sessionId') 14185 @DomName('MediaKeySession.sessionId')
14210 @DocsEditable 14186 @DocsEditable
14211 @Experimental // untriaged
14212 final String sessionId; 14187 final String sessionId;
14213 14188
14214 @JSName('addEventListener') 14189 @JSName('addEventListener')
14215 @DomName('MediaKeySession.addEventListener') 14190 @DomName('MediaKeySession.addEventListener')
14216 @DocsEditable 14191 @DocsEditable
14217 @Experimental // untriaged
14218 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu re]) native; 14192 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu re]) native;
14219 14193
14220 @DomName('MediaKeySession.close') 14194 @DomName('MediaKeySession.close')
14221 @DocsEditable 14195 @DocsEditable
14222 @Experimental // untriaged
14223 void close() native; 14196 void close() native;
14224 14197
14225 @DomName('MediaKeySession.dispatchEvent') 14198 @DomName('MediaKeySession.dispatchEvent')
14226 @DocsEditable 14199 @DocsEditable
14227 @Experimental // untriaged
14228 bool dispatchEvent(Event evt) native; 14200 bool dispatchEvent(Event evt) native;
14229 14201
14230 @JSName('removeEventListener') 14202 @JSName('removeEventListener')
14231 @DomName('MediaKeySession.removeEventListener') 14203 @DomName('MediaKeySession.removeEventListener')
14232 @DocsEditable 14204 @DocsEditable
14233 @Experimental // untriaged
14234 void $dom_removeEventListener(String type, EventListener listener, [bool useCa pture]) native; 14205 void $dom_removeEventListener(String type, EventListener listener, [bool useCa pture]) native;
14235 14206
14236 @DomName('MediaKeySession.update') 14207 @DomName('MediaKeySession.update')
14237 @DocsEditable 14208 @DocsEditable
14238 @Experimental // untriaged
14239 void update(Uint8List key) native; 14209 void update(Uint8List key) native;
14240 } 14210 }
14241 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 14211 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14242 // for details. All rights reserved. Use of this source code is governed by a 14212 // for details. All rights reserved. Use of this source code is governed by a
14243 // BSD-style license that can be found in the LICENSE file. 14213 // BSD-style license that can be found in the LICENSE file.
14244 14214
14245 14215
14246 @DocsEditable 14216 @DocsEditable
14247 @DomName('MediaKeys') 14217 @DomName('MediaKeys')
14248 @Experimental // untriaged 14218 // https://dvcs.w3.org/hg/html-media/raw-file/eme-v0.1/encrypted-media/encrypted -media.html
14219 @Experimental
14249 class MediaKeys native "MediaKeys" { 14220 class MediaKeys native "MediaKeys" {
14250 14221
14251 @DomName('MediaKeys.MediaKeys') 14222 @DomName('MediaKeys.MediaKeys')
14252 @DocsEditable 14223 @DocsEditable
14253 factory MediaKeys(String keySystem) { 14224 factory MediaKeys(String keySystem) {
14254 return MediaKeys._create_1(keySystem); 14225 return MediaKeys._create_1(keySystem);
14255 } 14226 }
14256 static MediaKeys _create_1(keySystem) => JS('MediaKeys', 'new MediaKeys(#)', k eySystem); 14227 static MediaKeys _create_1(keySystem) => JS('MediaKeys', 'new MediaKeys(#)', k eySystem);
14257 14228
14258 @DomName('MediaKeys.keySystem') 14229 @DomName('MediaKeys.keySystem')
14259 @DocsEditable 14230 @DocsEditable
14260 @Experimental // untriaged
14261 final String keySystem; 14231 final String keySystem;
14262 14232
14263 @DomName('MediaKeys.createSession') 14233 @DomName('MediaKeys.createSession')
14264 @DocsEditable 14234 @DocsEditable
14265 @Experimental // untriaged
14266 MediaKeySession createSession(String type, Uint8List initData) native; 14235 MediaKeySession createSession(String type, Uint8List initData) native;
14267 } 14236 }
14268 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 14237 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14269 // for details. All rights reserved. Use of this source code is governed by a 14238 // for details. All rights reserved. Use of this source code is governed by a
14270 // BSD-style license that can be found in the LICENSE file. 14239 // BSD-style license that can be found in the LICENSE file.
14271 14240
14272 14241
14273 @DocsEditable 14242 @DocsEditable
14274 @DomName('MediaList') 14243 @DomName('MediaList')
14275 @Unstable 14244 @Unstable
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
14335 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 14304 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14336 // for details. All rights reserved. Use of this source code is governed by a 14305 // for details. All rights reserved. Use of this source code is governed by a
14337 // BSD-style license that can be found in the LICENSE file. 14306 // BSD-style license that can be found in the LICENSE file.
14338 14307
14339 14308
14340 @DocsEditable 14309 @DocsEditable
14341 @DomName('WebKitMediaSource') 14310 @DomName('WebKitMediaSource')
14342 @SupportedBrowser(SupportedBrowser.CHROME) 14311 @SupportedBrowser(SupportedBrowser.CHROME)
14343 @SupportedBrowser(SupportedBrowser.SAFARI) 14312 @SupportedBrowser(SupportedBrowser.SAFARI)
14344 @Experimental 14313 @Experimental
14345 @Experimental // untriaged 14314 // https://dvcs.w3.org/hg/html-media/raw-file/tip/media-source/media-source.html #mediasource
14346 class MediaSource extends EventTarget native "WebKitMediaSource" { 14315 class MediaSource extends EventTarget native "WebKitMediaSource" {
14347 14316
14348 @DomName('WebKitMediaSource.WebKitMediaSource') 14317 @DomName('WebKitMediaSource.WebKitMediaSource')
14349 @DocsEditable 14318 @DocsEditable
14350 factory MediaSource() { 14319 factory MediaSource() {
14351 return MediaSource._create_1(); 14320 return MediaSource._create_1();
14352 } 14321 }
14353 static MediaSource _create_1() => JS('MediaSource', 'new WebKitMediaSource()') ; 14322 static MediaSource _create_1() => JS('MediaSource', 'new WebKitMediaSource()') ;
14354 14323
14355 @DomName('WebKitMediaSource.activeSourceBuffers') 14324 @DomName('WebKitMediaSource.activeSourceBuffers')
14356 @DocsEditable 14325 @DocsEditable
14357 @Experimental // untriaged
14358 final SourceBufferList activeSourceBuffers; 14326 final SourceBufferList activeSourceBuffers;
14359 14327
14360 @DomName('WebKitMediaSource.duration') 14328 @DomName('WebKitMediaSource.duration')
14361 @DocsEditable 14329 @DocsEditable
14362 @Experimental // untriaged
14363 num duration; 14330 num duration;
14364 14331
14365 @DomName('WebKitMediaSource.readyState') 14332 @DomName('WebKitMediaSource.readyState')
14366 @DocsEditable 14333 @DocsEditable
14367 @Experimental // untriaged
14368 final String readyState; 14334 final String readyState;
14369 14335
14370 @DomName('WebKitMediaSource.sourceBuffers') 14336 @DomName('WebKitMediaSource.sourceBuffers')
14371 @DocsEditable 14337 @DocsEditable
14372 @Experimental // untriaged
14373 final SourceBufferList sourceBuffers; 14338 final SourceBufferList sourceBuffers;
14374 14339
14375 @JSName('addEventListener') 14340 @JSName('addEventListener')
14376 @DomName('WebKitMediaSource.addEventListener') 14341 @DomName('WebKitMediaSource.addEventListener')
14377 @DocsEditable 14342 @DocsEditable
14378 @Experimental // untriaged
14379 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu re]) native; 14343 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu re]) native;
14380 14344
14381 @DomName('WebKitMediaSource.addSourceBuffer') 14345 @DomName('WebKitMediaSource.addSourceBuffer')
14382 @DocsEditable 14346 @DocsEditable
14383 @Experimental // untriaged
14384 SourceBuffer addSourceBuffer(String type) native; 14347 SourceBuffer addSourceBuffer(String type) native;
14385 14348
14386 @DomName('WebKitMediaSource.dispatchEvent') 14349 @DomName('WebKitMediaSource.dispatchEvent')
14387 @DocsEditable 14350 @DocsEditable
14388 @Experimental // untriaged
14389 bool dispatchEvent(Event event) native; 14351 bool dispatchEvent(Event event) native;
14390 14352
14391 @DomName('WebKitMediaSource.endOfStream') 14353 @DomName('WebKitMediaSource.endOfStream')
14392 @DocsEditable 14354 @DocsEditable
14393 @Experimental // untriaged
14394 void endOfStream(String error) native; 14355 void endOfStream(String error) native;
14395 14356
14396 @DomName('WebKitMediaSource.isTypeSupported') 14357 @DomName('WebKitMediaSource.isTypeSupported')
14397 @DocsEditable 14358 @DocsEditable
14398 @Experimental // untriaged
14399 static bool isTypeSupported(String type) native; 14359 static bool isTypeSupported(String type) native;
14400 14360
14401 @JSName('removeEventListener') 14361 @JSName('removeEventListener')
14402 @DomName('WebKitMediaSource.removeEventListener') 14362 @DomName('WebKitMediaSource.removeEventListener')
14403 @DocsEditable 14363 @DocsEditable
14404 @Experimental // untriaged
14405 void $dom_removeEventListener(String type, EventListener listener, [bool useCa pture]) native; 14364 void $dom_removeEventListener(String type, EventListener listener, [bool useCa pture]) native;
14406 14365
14407 @DomName('WebKitMediaSource.removeSourceBuffer') 14366 @DomName('WebKitMediaSource.removeSourceBuffer')
14408 @DocsEditable 14367 @DocsEditable
14409 @Experimental // untriaged
14410 void removeSourceBuffer(SourceBuffer buffer) native; 14368 void removeSourceBuffer(SourceBuffer buffer) native;
14411 } 14369 }
14412 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 14370 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
14413 // for details. All rights reserved. Use of this source code is governed by a 14371 // for details. All rights reserved. Use of this source code is governed by a
14414 // BSD-style license that can be found in the LICENSE file. 14372 // BSD-style license that can be found in the LICENSE file.
14415 14373
14416 14374
14417 @DomName('MediaStream') 14375 @DomName('MediaStream')
14418 @SupportedBrowser(SupportedBrowser.CHROME) 14376 @SupportedBrowser(SupportedBrowser.CHROME)
14419 @Experimental 14377 @Experimental
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
14492 @DomName('MediaStream.removeEventListener') 14450 @DomName('MediaStream.removeEventListener')
14493 @DocsEditable 14451 @DocsEditable
14494 void $dom_removeEventListener(String type, EventListener listener, [bool useCa pture]) native; 14452 void $dom_removeEventListener(String type, EventListener listener, [bool useCa pture]) native;
14495 14453
14496 @DomName('MediaStream.removeTrack') 14454 @DomName('MediaStream.removeTrack')
14497 @DocsEditable 14455 @DocsEditable
14498 void removeTrack(MediaStreamTrack track) native; 14456 void removeTrack(MediaStreamTrack track) native;
14499 14457
14500 @DomName('MediaStream.stop') 14458 @DomName('MediaStream.stop')
14501 @DocsEditable 14459 @DocsEditable
14502 @Experimental // untriaged
14503 void stop() native; 14460 void stop() native;
14504 14461
14505 @DomName('MediaStream.onaddtrack') 14462 @DomName('MediaStream.onaddtrack')
14506 @DocsEditable 14463 @DocsEditable
14507 Stream<Event> get onAddTrack => addTrackEvent.forTarget(this); 14464 Stream<Event> get onAddTrack => addTrackEvent.forTarget(this);
14508 14465
14509 @DomName('MediaStream.onended') 14466 @DomName('MediaStream.onended')
14510 @DocsEditable 14467 @DocsEditable
14511 Stream<Event> get onEnded => endedEvent.forTarget(this); 14468 Stream<Event> get onEnded => endedEvent.forTarget(this);
14512 14469
(...skipping 419 matching lines...) Expand 10 before | Expand all | Expand 10 after
14932 @DocsEditable 14889 @DocsEditable
14933 num value; 14890 num value;
14934 } 14891 }
14935 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 14892 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14936 // for details. All rights reserved. Use of this source code is governed by a 14893 // for details. All rights reserved. Use of this source code is governed by a
14937 // BSD-style license that can be found in the LICENSE file. 14894 // BSD-style license that can be found in the LICENSE file.
14938 14895
14939 14896
14940 @DocsEditable 14897 @DocsEditable
14941 @DomName('MIDIConnectionEvent') 14898 @DomName('MIDIConnectionEvent')
14942 @Experimental // untriaged 14899 // http://webaudio.github.io/web-midi-api/#midiconnectionevent-interface
14900 @Experimental
14943 class MidiConnectionEvent extends Event native "MIDIConnectionEvent" { 14901 class MidiConnectionEvent extends Event native "MIDIConnectionEvent" {
14944 14902
14945 @DomName('MIDIConnectionEvent.port') 14903 @DomName('MIDIConnectionEvent.port')
14946 @DocsEditable 14904 @DocsEditable
14947 @Experimental // untriaged
14948 final MidiPort port; 14905 final MidiPort port;
14949 } 14906 }
14950 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 14907 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14951 // for details. All rights reserved. Use of this source code is governed by a 14908 // for details. All rights reserved. Use of this source code is governed by a
14952 // BSD-style license that can be found in the LICENSE file. 14909 // BSD-style license that can be found in the LICENSE file.
14953 14910
14954 14911
14955 @DocsEditable 14912 @DocsEditable
14956 @DomName('MIDIInput') 14913 @DomName('MIDIInput')
14957 @Experimental // untriaged 14914 // http://webaudio.github.io/web-midi-api/#idl-def-MIDIInput
14915 @Experimental
14958 class MidiInput extends MidiPort implements EventTarget native "MIDIInput" { 14916 class MidiInput extends MidiPort implements EventTarget native "MIDIInput" {
14959 } 14917 }
14960 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 14918 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14961 // for details. All rights reserved. Use of this source code is governed by a 14919 // for details. All rights reserved. Use of this source code is governed by a
14962 // BSD-style license that can be found in the LICENSE file. 14920 // BSD-style license that can be found in the LICENSE file.
14963 14921
14964 14922
14965 @DocsEditable 14923 @DocsEditable
14966 @DomName('MIDIMessageEvent') 14924 @DomName('MIDIMessageEvent')
14967 @Experimental // untriaged 14925 // http://webaudio.github.io/web-midi-api/#midimessageevent-interface
14926 @Experimental
14968 class MidiMessageEvent extends Event native "MIDIMessageEvent" { 14927 class MidiMessageEvent extends Event native "MIDIMessageEvent" {
14969 14928
14970 @DomName('MIDIMessageEvent.data') 14929 @DomName('MIDIMessageEvent.data')
14971 @DocsEditable 14930 @DocsEditable
14972 @Experimental // untriaged
14973 final Uint8List data; 14931 final Uint8List data;
14974 14932
14975 @DomName('MIDIMessageEvent.receivedTime') 14933 @DomName('MIDIMessageEvent.receivedTime')
14976 @DocsEditable 14934 @DocsEditable
14977 @Experimental // untriaged
14978 final num receivedTime; 14935 final num receivedTime;
14979 } 14936 }
14980 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 14937 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14981 // for details. All rights reserved. Use of this source code is governed by a 14938 // for details. All rights reserved. Use of this source code is governed by a
14982 // BSD-style license that can be found in the LICENSE file. 14939 // BSD-style license that can be found in the LICENSE file.
14983 14940
14984 14941
14985 @DocsEditable 14942 @DocsEditable
14986 @DomName('MIDIOutput') 14943 @DomName('MIDIOutput')
14987 @Experimental // untriaged 14944 // http://webaudio.github.io/web-midi-api/#midioutput-interface
14945 @Experimental
14988 class MidiOutput extends MidiPort native "MIDIOutput" { 14946 class MidiOutput extends MidiPort native "MIDIOutput" {
14989 14947
14990 @DomName('MIDIOutput.send') 14948 @DomName('MIDIOutput.send')
14991 @DocsEditable 14949 @DocsEditable
14992 @Experimental // untriaged
14993 void send(Uint8List data, [num timestamp]) native; 14950 void send(Uint8List data, [num timestamp]) native;
14994 } 14951 }
14995 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 14952 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14996 // for details. All rights reserved. Use of this source code is governed by a 14953 // for details. All rights reserved. Use of this source code is governed by a
14997 // BSD-style license that can be found in the LICENSE file. 14954 // BSD-style license that can be found in the LICENSE file.
14998 14955
14999 14956
15000 @DocsEditable 14957 @DocsEditable
15001 @DomName('MIDIPort') 14958 @DomName('MIDIPort')
15002 @Experimental // untriaged 14959 // http://webaudio.github.io/web-midi-api/#idl-def-MIDIPort
14960 @Experimental
15003 class MidiPort extends EventTarget native "MIDIPort" { 14961 class MidiPort extends EventTarget native "MIDIPort" {
15004 14962
15005 @DomName('MIDIPort.disconnectEvent') 14963 @DomName('MIDIPort.disconnectEvent')
15006 @DocsEditable 14964 @DocsEditable
15007 @Experimental // untriaged
15008 static const EventStreamProvider<MidiConnectionEvent> disconnectEvent = const EventStreamProvider<MidiConnectionEvent>('disconnect'); 14965 static const EventStreamProvider<MidiConnectionEvent> disconnectEvent = const EventStreamProvider<MidiConnectionEvent>('disconnect');
15009 14966
15010 @DomName('MIDIPort.id') 14967 @DomName('MIDIPort.id')
15011 @DocsEditable 14968 @DocsEditable
15012 @Experimental // untriaged
15013 final String id; 14969 final String id;
15014 14970
15015 @DomName('MIDIPort.manufacturer') 14971 @DomName('MIDIPort.manufacturer')
15016 @DocsEditable 14972 @DocsEditable
15017 @Experimental // untriaged
15018 final String manufacturer; 14973 final String manufacturer;
15019 14974
15020 @DomName('MIDIPort.name') 14975 @DomName('MIDIPort.name')
15021 @DocsEditable 14976 @DocsEditable
15022 @Experimental // untriaged
15023 final String name; 14977 final String name;
15024 14978
15025 @DomName('MIDIPort.type') 14979 @DomName('MIDIPort.type')
15026 @DocsEditable 14980 @DocsEditable
15027 @Experimental // untriaged
15028 final String type; 14981 final String type;
15029 14982
15030 @DomName('MIDIPort.version') 14983 @DomName('MIDIPort.version')
15031 @DocsEditable 14984 @DocsEditable
15032 @Experimental // untriaged
15033 final String version; 14985 final String version;
15034 14986
15035 @JSName('addEventListener') 14987 @JSName('addEventListener')
15036 @DomName('MIDIPort.addEventListener') 14988 @DomName('MIDIPort.addEventListener')
15037 @DocsEditable 14989 @DocsEditable
15038 @Experimental // untriaged
15039 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu re]) native; 14990 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu re]) native;
15040 14991
15041 @DomName('MIDIPort.dispatchEvent') 14992 @DomName('MIDIPort.dispatchEvent')
15042 @DocsEditable 14993 @DocsEditable
15043 @Experimental // untriaged
15044 bool dispatchEvent(Event event) native; 14994 bool dispatchEvent(Event event) native;
15045 14995
15046 @JSName('removeEventListener') 14996 @JSName('removeEventListener')
15047 @DomName('MIDIPort.removeEventListener') 14997 @DomName('MIDIPort.removeEventListener')
15048 @DocsEditable 14998 @DocsEditable
15049 @Experimental // untriaged
15050 void $dom_removeEventListener(String type, EventListener listener, [bool useCa pture]) native; 14999 void $dom_removeEventListener(String type, EventListener listener, [bool useCa pture]) native;
15051 15000
15052 @DomName('MIDIPort.ondisconnect') 15001 @DomName('MIDIPort.ondisconnect')
15053 @DocsEditable 15002 @DocsEditable
15054 @Experimental // untriaged
15055 Stream<MidiConnectionEvent> get onDisconnect => disconnectEvent.forTarget(this ); 15003 Stream<MidiConnectionEvent> get onDisconnect => disconnectEvent.forTarget(this );
15056 } 15004 }
15057 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 15005 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15058 // for details. All rights reserved. Use of this source code is governed by a 15006 // for details. All rights reserved. Use of this source code is governed by a
15059 // BSD-style license that can be found in the LICENSE file. 15007 // BSD-style license that can be found in the LICENSE file.
15060 15008
15061 15009
15062 @DocsEditable 15010 @DocsEditable
15063 @DomName('MimeType') 15011 @DomName('MimeType')
15064 @Experimental // untriaged 15012 @Experimental // non-standard
15065 class MimeType native "MimeType" { 15013 class MimeType native "MimeType" {
15066 15014
15067 @DomName('MimeType.description') 15015 @DomName('MimeType.description')
15068 @DocsEditable 15016 @DocsEditable
15069 @Experimental // untriaged
15070 final String description; 15017 final String description;
15071 15018
15072 @DomName('MimeType.enabledPlugin') 15019 @DomName('MimeType.enabledPlugin')
15073 @DocsEditable 15020 @DocsEditable
15074 @Experimental // untriaged
15075 final Plugin enabledPlugin; 15021 final Plugin enabledPlugin;
15076 15022
15077 @DomName('MimeType.suffixes') 15023 @DomName('MimeType.suffixes')
15078 @DocsEditable 15024 @DocsEditable
15079 @Experimental // untriaged
15080 final String suffixes; 15025 final String suffixes;
15081 15026
15082 @DomName('MimeType.type') 15027 @DomName('MimeType.type')
15083 @DocsEditable 15028 @DocsEditable
15084 @Experimental // untriaged
15085 final String type; 15029 final String type;
15086 } 15030 }
15087 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 15031 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15088 // for details. All rights reserved. Use of this source code is governed by a 15032 // for details. All rights reserved. Use of this source code is governed by a
15089 // BSD-style license that can be found in the LICENSE file. 15033 // BSD-style license that can be found in the LICENSE file.
15090 15034
15091 15035
15092 @DocsEditable 15036 @DocsEditable
15093 @DomName('MimeTypeArray') 15037 @DomName('MimeTypeArray')
15094 @Experimental // untriaged 15038 @Experimental // non-standard
15095 class MimeTypeArray extends Interceptor with ListMixin<MimeType>, ImmutableListM ixin<MimeType> implements JavaScriptIndexingBehavior, List<MimeType> native "Mim eTypeArray" { 15039 class MimeTypeArray extends Interceptor with ListMixin<MimeType>, ImmutableListM ixin<MimeType> implements JavaScriptIndexingBehavior, List<MimeType> native "Mim eTypeArray" {
15096 15040
15097 @DomName('MimeTypeArray.length') 15041 @DomName('MimeTypeArray.length')
15098 @DocsEditable 15042 @DocsEditable
15099 @Experimental // untriaged
15100 int get length => JS("int", "#.length", this); 15043 int get length => JS("int", "#.length", this);
15101 15044
15102 MimeType operator[](int index) { 15045 MimeType operator[](int index) {
15103 if (JS("bool", "# >>> 0 !== # || # >= #", index, 15046 if (JS("bool", "# >>> 0 !== # || # >= #", index,
15104 index, index, length)) 15047 index, index, length))
15105 throw new RangeError.range(index, 0, length); 15048 throw new RangeError.range(index, 0, length);
15106 return JS("MimeType", "#[#]", this, index); 15049 return JS("MimeType", "#[#]", this, index);
15107 } 15050 }
15108 void operator[]=(int index, MimeType value) { 15051 void operator[]=(int index, MimeType value) {
15109 throw new UnsupportedError("Cannot assign element of immutable List."); 15052 throw new UnsupportedError("Cannot assign element of immutable List.");
(...skipping 28 matching lines...) Expand all
15138 } 15081 }
15139 if (len == 0) throw new StateError("No elements"); 15082 if (len == 0) throw new StateError("No elements");
15140 throw new StateError("More than one element"); 15083 throw new StateError("More than one element");
15141 } 15084 }
15142 15085
15143 MimeType elementAt(int index) => this[index]; 15086 MimeType elementAt(int index) => this[index];
15144 // -- end List<MimeType> mixins. 15087 // -- end List<MimeType> mixins.
15145 15088
15146 @DomName('MimeTypeArray.item') 15089 @DomName('MimeTypeArray.item')
15147 @DocsEditable 15090 @DocsEditable
15148 @Experimental // untriaged
15149 MimeType item(int index) native; 15091 MimeType item(int index) native;
15150 15092
15151 @DomName('MimeTypeArray.namedItem') 15093 @DomName('MimeTypeArray.namedItem')
15152 @DocsEditable 15094 @DocsEditable
15153 @Experimental // untriaged
15154 MimeType namedItem(String name) native; 15095 MimeType namedItem(String name) native;
15155 } 15096 }
15156 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 15097 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15157 // for details. All rights reserved. Use of this source code is governed by a 15098 // for details. All rights reserved. Use of this source code is governed by a
15158 // BSD-style license that can be found in the LICENSE file. 15099 // BSD-style license that can be found in the LICENSE file.
15159 15100
15160 15101
15161 @DocsEditable 15102 @DocsEditable
15162 @DomName('HTMLModElement') 15103 @DomName('HTMLModElement')
15163 @Unstable 15104 @Unstable
(...skipping 1882 matching lines...) Expand 10 before | Expand all | Expand 10 after
17046 @DocsEditable 16987 @DocsEditable
17047 String value; 16988 String value;
17048 } 16989 }
17049 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 16990 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17050 // for details. All rights reserved. Use of this source code is governed by a 16991 // for details. All rights reserved. Use of this source code is governed by a
17051 // BSD-style license that can be found in the LICENSE file. 16992 // BSD-style license that can be found in the LICENSE file.
17052 16993
17053 16994
17054 @DocsEditable 16995 @DocsEditable
17055 @DomName('Path') 16996 @DomName('Path')
17056 @Experimental // untriaged 16997 // http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-elemen t.html#path-objects
16998 @Experimental
17057 class Path native "Path" { 16999 class Path native "Path" {
17058 17000
17059 @DomName('Path.Path') 17001 @DomName('Path.Path')
17060 @DocsEditable 17002 @DocsEditable
17061 factory Path([path_OR_text]) { 17003 factory Path([path_OR_text]) {
17062 if (!?path_OR_text) { 17004 if (!?path_OR_text) {
17063 return Path._create_1(); 17005 return Path._create_1();
17064 } 17006 }
17065 if ((path_OR_text is Path || path_OR_text == null)) { 17007 if ((path_OR_text is Path || path_OR_text == null)) {
17066 return Path._create_2(path_OR_text); 17008 return Path._create_2(path_OR_text);
17067 } 17009 }
17068 if ((path_OR_text is String || path_OR_text == null)) { 17010 if ((path_OR_text is String || path_OR_text == null)) {
17069 return Path._create_3(path_OR_text); 17011 return Path._create_3(path_OR_text);
17070 } 17012 }
17071 throw new ArgumentError("Incorrect number or type of arguments"); 17013 throw new ArgumentError("Incorrect number or type of arguments");
17072 } 17014 }
17073 static Path _create_1() => JS('Path', 'new Path()'); 17015 static Path _create_1() => JS('Path', 'new Path()');
17074 static Path _create_2(path_OR_text) => JS('Path', 'new Path(#)', path_OR_text) ; 17016 static Path _create_2(path_OR_text) => JS('Path', 'new Path(#)', path_OR_text) ;
17075 static Path _create_3(path_OR_text) => JS('Path', 'new Path(#)', path_OR_text) ; 17017 static Path _create_3(path_OR_text) => JS('Path', 'new Path(#)', path_OR_text) ;
17076 17018
17077 @DomName('Path.arc') 17019 @DomName('Path.arc')
17078 @DocsEditable 17020 @DocsEditable
17079 @Experimental // untriaged
17080 void arc(num x, num y, num radius, num startAngle, num endAngle, bool anticloc kwise) native; 17021 void arc(num x, num y, num radius, num startAngle, num endAngle, bool anticloc kwise) native;
17081 17022
17082 @DomName('Path.arcTo') 17023 @DomName('Path.arcTo')
17083 @DocsEditable 17024 @DocsEditable
17084 @Experimental // untriaged
17085 void arcTo(num x1, num y1, num x2, num y2, num radius) native; 17025 void arcTo(num x1, num y1, num x2, num y2, num radius) native;
17086 17026
17087 @DomName('Path.bezierCurveTo') 17027 @DomName('Path.bezierCurveTo')
17088 @DocsEditable 17028 @DocsEditable
17089 @Experimental // untriaged
17090 void bezierCurveTo(num cp1x, num cp1y, num cp2x, num cp2y, num x, num y) nativ e; 17029 void bezierCurveTo(num cp1x, num cp1y, num cp2x, num cp2y, num x, num y) nativ e;
17091 17030
17092 @DomName('Path.closePath') 17031 @DomName('Path.closePath')
17093 @DocsEditable 17032 @DocsEditable
17094 @Experimental // untriaged
17095 void closePath() native; 17033 void closePath() native;
17096 17034
17097 @DomName('Path.lineTo') 17035 @DomName('Path.lineTo')
17098 @DocsEditable 17036 @DocsEditable
17099 @Experimental // untriaged
17100 void lineTo(num x, num y) native; 17037 void lineTo(num x, num y) native;
17101 17038
17102 @DomName('Path.moveTo') 17039 @DomName('Path.moveTo')
17103 @DocsEditable 17040 @DocsEditable
17104 @Experimental // untriaged
17105 void moveTo(num x, num y) native; 17041 void moveTo(num x, num y) native;
17106 17042
17107 @DomName('Path.quadraticCurveTo') 17043 @DomName('Path.quadraticCurveTo')
17108 @DocsEditable 17044 @DocsEditable
17109 @Experimental // untriaged
17110 void quadraticCurveTo(num cpx, num cpy, num x, num y) native; 17045 void quadraticCurveTo(num cpx, num cpy, num x, num y) native;
17111 17046
17112 @DomName('Path.rect') 17047 @DomName('Path.rect')
17113 @DocsEditable 17048 @DocsEditable
17114 @Experimental // untriaged
17115 void rect(num x, num y, num width, num height) native; 17049 void rect(num x, num y, num width, num height) native;
17116 } 17050 }
17117 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 17051 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17118 // for details. All rights reserved. Use of this source code is governed by a 17052 // for details. All rights reserved. Use of this source code is governed by a
17119 // BSD-style license that can be found in the LICENSE file. 17053 // BSD-style license that can be found in the LICENSE file.
17120 17054
17121 17055
17122 @DocsEditable 17056 @DocsEditable
17123 @DomName('Performance') 17057 @DomName('Performance')
17124 @SupportedBrowser(SupportedBrowser.CHROME) 17058 @SupportedBrowser(SupportedBrowser.CHROME)
(...skipping 20 matching lines...) Expand all
17145 @DomName('Performance.navigation') 17079 @DomName('Performance.navigation')
17146 @DocsEditable 17080 @DocsEditable
17147 final PerformanceNavigation navigation; 17081 final PerformanceNavigation navigation;
17148 17082
17149 @DomName('Performance.timing') 17083 @DomName('Performance.timing')
17150 @DocsEditable 17084 @DocsEditable
17151 final PerformanceTiming timing; 17085 final PerformanceTiming timing;
17152 17086
17153 @DomName('Performance.clearMarks') 17087 @DomName('Performance.clearMarks')
17154 @DocsEditable 17088 @DocsEditable
17155 @Experimental // untriaged 17089 // https://dvcs.w3.org/hg/webperf/raw-file/tip/specs/UserTiming/Overview.html# extensions-performance-interface
17090 @Experimental
17156 void clearMarks(String markName) native; 17091 void clearMarks(String markName) native;
17157 17092
17158 @DomName('Performance.clearMeasures') 17093 @DomName('Performance.clearMeasures')
17159 @DocsEditable 17094 @DocsEditable
17160 @Experimental // untriaged 17095 // https://dvcs.w3.org/hg/webperf/raw-file/tip/specs/UserTiming/Overview.html# extensions-performance-interface
17096 @Experimental
17161 void clearMeasures(String measureName) native; 17097 void clearMeasures(String measureName) native;
17162 17098
17163 @DomName('Performance.getEntries') 17099 @DomName('Performance.getEntries')
17164 @DocsEditable 17100 @DocsEditable
17165 @Experimental // untriaged 17101 // http://www.w3.org/TR/performance-timeline/#sec-window.performance-attribute
17102 @Experimental
17166 List<PerformanceEntry> getEntries() native; 17103 List<PerformanceEntry> getEntries() native;
17167 17104
17168 @DomName('Performance.getEntriesByName') 17105 @DomName('Performance.getEntriesByName')
17169 @DocsEditable 17106 @DocsEditable
17170 @Experimental // untriaged 17107 // http://www.w3.org/TR/performance-timeline/#sec-window.performance-attribute
17108 @Experimental
17171 List<PerformanceEntry> getEntriesByName(String name, String entryType) native; 17109 List<PerformanceEntry> getEntriesByName(String name, String entryType) native;
17172 17110
17173 @DomName('Performance.getEntriesByType') 17111 @DomName('Performance.getEntriesByType')
17174 @DocsEditable 17112 @DocsEditable
17175 @Experimental // untriaged 17113 // http://www.w3.org/TR/performance-timeline/#sec-window.performance-attribute
17114 @Experimental
17176 List<PerformanceEntry> getEntriesByType(String entryType) native; 17115 List<PerformanceEntry> getEntriesByType(String entryType) native;
17177 17116
17178 @DomName('Performance.mark') 17117 @DomName('Performance.mark')
17179 @DocsEditable 17118 @DocsEditable
17180 @Experimental // untriaged 17119 // https://dvcs.w3.org/hg/webperf/raw-file/tip/specs/UserTiming/Overview.html# extensions-performance-interface
17120 @Experimental
17181 void mark(String markName) native; 17121 void mark(String markName) native;
17182 17122
17183 @DomName('Performance.measure') 17123 @DomName('Performance.measure')
17184 @DocsEditable 17124 @DocsEditable
17185 @Experimental // untriaged 17125 // https://dvcs.w3.org/hg/webperf/raw-file/tip/specs/UserTiming/Overview.html# extensions-performance-interface
17126 @Experimental
17186 void measure(String measureName, String startMark, String endMark) native; 17127 void measure(String measureName, String startMark, String endMark) native;
17187 17128
17188 @DomName('Performance.now') 17129 @DomName('Performance.now')
17189 @DocsEditable 17130 @DocsEditable
17190 num now() native; 17131 num now() native;
17191 17132
17192 @JSName('webkitClearResourceTimings') 17133 @JSName('webkitClearResourceTimings')
17193 @DomName('Performance.webkitClearResourceTimings') 17134 @DomName('Performance.webkitClearResourceTimings')
17194 @DocsEditable 17135 @DocsEditable
17195 @SupportedBrowser(SupportedBrowser.CHROME) 17136 @SupportedBrowser(SupportedBrowser.CHROME)
17196 @SupportedBrowser(SupportedBrowser.SAFARI) 17137 @SupportedBrowser(SupportedBrowser.SAFARI)
17197 @Experimental 17138 @Experimental
17198 // http://www.w3c-test.org/webperf/specs/ResourceTiming/#performanceresourceti ming-methods 17139 // http://www.w3c-test.org/webperf/specs/ResourceTiming/#extensions-performanc e-interface
17199 void clearResourceTimings() native; 17140 void clearResourceTimings() native;
17200 17141
17201 @JSName('webkitSetResourceTimingBufferSize') 17142 @JSName('webkitSetResourceTimingBufferSize')
17202 @DomName('Performance.webkitSetResourceTimingBufferSize') 17143 @DomName('Performance.webkitSetResourceTimingBufferSize')
17203 @DocsEditable 17144 @DocsEditable
17204 @SupportedBrowser(SupportedBrowser.CHROME) 17145 @SupportedBrowser(SupportedBrowser.CHROME)
17205 @SupportedBrowser(SupportedBrowser.SAFARI) 17146 @SupportedBrowser(SupportedBrowser.SAFARI)
17206 @Experimental 17147 @Experimental
17207 // http://www.w3c-test.org/webperf/specs/ResourceTiming/#performanceresourceti ming-methods 17148 // http://www.w3c-test.org/webperf/specs/ResourceTiming/#performanceresourceti ming-methods
17208 void setResourceTimingBufferSize(int maxSize) native; 17149 void setResourceTimingBufferSize(int maxSize) native;
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
17452 @DocsEditable 17393 @DocsEditable
17453 final int unloadEventStart; 17394 final int unloadEventStart;
17454 } 17395 }
17455 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 17396 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17456 // for details. All rights reserved. Use of this source code is governed by a 17397 // for details. All rights reserved. Use of this source code is governed by a
17457 // BSD-style license that can be found in the LICENSE file. 17398 // BSD-style license that can be found in the LICENSE file.
17458 17399
17459 17400
17460 @DocsEditable 17401 @DocsEditable
17461 @DomName('Plugin') 17402 @DomName('Plugin')
17462 @Experimental // untriaged 17403 @Experimental // non-standard
17463 class Plugin native "Plugin" { 17404 class Plugin native "Plugin" {
17464 17405
17465 @DomName('Plugin.description') 17406 @DomName('Plugin.description')
17466 @DocsEditable 17407 @DocsEditable
17467 @Experimental // untriaged
17468 final String description; 17408 final String description;
17469 17409
17470 @DomName('Plugin.filename') 17410 @DomName('Plugin.filename')
17471 @DocsEditable 17411 @DocsEditable
17472 @Experimental // untriaged
17473 final String filename; 17412 final String filename;
17474 17413
17475 @DomName('Plugin.length') 17414 @DomName('Plugin.length')
17476 @DocsEditable 17415 @DocsEditable
17477 @Experimental // untriaged
17478 final int length; 17416 final int length;
17479 17417
17480 @DomName('Plugin.name') 17418 @DomName('Plugin.name')
17481 @DocsEditable 17419 @DocsEditable
17482 @Experimental // untriaged
17483 final String name; 17420 final String name;
17484 17421
17485 @DomName('Plugin.item') 17422 @DomName('Plugin.item')
17486 @DocsEditable 17423 @DocsEditable
17487 @Experimental // untriaged
17488 MimeType item(int index) native; 17424 MimeType item(int index) native;
17489 17425
17490 @DomName('Plugin.namedItem') 17426 @DomName('Plugin.namedItem')
17491 @DocsEditable 17427 @DocsEditable
17492 @Experimental // untriaged
17493 MimeType namedItem(String name) native; 17428 MimeType namedItem(String name) native;
17494 } 17429 }
17495 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 17430 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17496 // for details. All rights reserved. Use of this source code is governed by a 17431 // for details. All rights reserved. Use of this source code is governed by a
17497 // BSD-style license that can be found in the LICENSE file. 17432 // BSD-style license that can be found in the LICENSE file.
17498 17433
17499 17434
17500 @DocsEditable 17435 @DocsEditable
17501 @DomName('PluginArray') 17436 @DomName('PluginArray')
17502 @Experimental // untriaged 17437 @Experimental // non-standard
17503 class PluginArray extends Interceptor with ListMixin<Plugin>, ImmutableListMixin <Plugin> implements JavaScriptIndexingBehavior, List<Plugin> native "PluginArray " { 17438 class PluginArray extends Interceptor with ListMixin<Plugin>, ImmutableListMixin <Plugin> implements JavaScriptIndexingBehavior, List<Plugin> native "PluginArray " {
17504 17439
17505 @DomName('PluginArray.length') 17440 @DomName('PluginArray.length')
17506 @DocsEditable 17441 @DocsEditable
17507 @Experimental // untriaged
17508 int get length => JS("int", "#.length", this); 17442 int get length => JS("int", "#.length", this);
17509 17443
17510 Plugin operator[](int index) { 17444 Plugin operator[](int index) {
17511 if (JS("bool", "# >>> 0 !== # || # >= #", index, 17445 if (JS("bool", "# >>> 0 !== # || # >= #", index,
17512 index, index, length)) 17446 index, index, length))
17513 throw new RangeError.range(index, 0, length); 17447 throw new RangeError.range(index, 0, length);
17514 return JS("Plugin", "#[#]", this, index); 17448 return JS("Plugin", "#[#]", this, index);
17515 } 17449 }
17516 void operator[]=(int index, Plugin value) { 17450 void operator[]=(int index, Plugin value) {
17517 throw new UnsupportedError("Cannot assign element of immutable List."); 17451 throw new UnsupportedError("Cannot assign element of immutable List.");
(...skipping 28 matching lines...) Expand all
17546 } 17480 }
17547 if (len == 0) throw new StateError("No elements"); 17481 if (len == 0) throw new StateError("No elements");
17548 throw new StateError("More than one element"); 17482 throw new StateError("More than one element");
17549 } 17483 }
17550 17484
17551 Plugin elementAt(int index) => this[index]; 17485 Plugin elementAt(int index) => this[index];
17552 // -- end List<Plugin> mixins. 17486 // -- end List<Plugin> mixins.
17553 17487
17554 @DomName('PluginArray.item') 17488 @DomName('PluginArray.item')
17555 @DocsEditable 17489 @DocsEditable
17556 @Experimental // untriaged
17557 Plugin item(int index) native; 17490 Plugin item(int index) native;
17558 17491
17559 @DomName('PluginArray.namedItem') 17492 @DomName('PluginArray.namedItem')
17560 @DocsEditable 17493 @DocsEditable
17561 @Experimental // untriaged
17562 Plugin namedItem(String name) native; 17494 Plugin namedItem(String name) native;
17563 17495
17564 @DomName('PluginArray.refresh') 17496 @DomName('PluginArray.refresh')
17565 @DocsEditable 17497 @DocsEditable
17566 @Experimental // untriaged
17567 void refresh(bool reload) native; 17498 void refresh(bool reload) native;
17568 } 17499 }
17569 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 17500 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17570 // for details. All rights reserved. Use of this source code is governed by a 17501 // for details. All rights reserved. Use of this source code is governed by a
17571 // BSD-style license that can be found in the LICENSE file. 17502 // BSD-style license that can be found in the LICENSE file.
17572 17503
17573 17504
17574 @DocsEditable 17505 @DocsEditable
17575 @DomName('PopStateEvent') 17506 @DomName('PopStateEvent')
17576 @SupportedBrowser(SupportedBrowser.CHROME) 17507 @SupportedBrowser(SupportedBrowser.CHROME)
(...skipping 1155 matching lines...) Expand 10 before | Expand all | Expand 10 after
18732 @DocsEditable 18663 @DocsEditable
18733 String type; 18664 String type;
18734 } 18665 }
18735 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 18666 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
18736 // for details. All rights reserved. Use of this source code is governed by a 18667 // for details. All rights reserved. Use of this source code is governed by a
18737 // BSD-style license that can be found in the LICENSE file. 18668 // BSD-style license that can be found in the LICENSE file.
18738 18669
18739 18670
18740 @DocsEditable 18671 @DocsEditable
18741 @DomName('SecurityPolicy') 18672 @DomName('SecurityPolicy')
18742 @Experimental // untriaged 18673 // https://dvcs.w3.org/hg/content-security-policy/raw-file/tip/csp-specification .dev.html#securitypolicy
18674 @Experimental
18743 class SecurityPolicy native "SecurityPolicy" { 18675 class SecurityPolicy native "SecurityPolicy" {
18744 18676
18745 @DomName('SecurityPolicy.allowsEval') 18677 @DomName('SecurityPolicy.allowsEval')
18746 @DocsEditable 18678 @DocsEditable
18747 @Experimental // untriaged
18748 final bool allowsEval; 18679 final bool allowsEval;
18749 18680
18750 @DomName('SecurityPolicy.allowsInlineScript') 18681 @DomName('SecurityPolicy.allowsInlineScript')
18751 @DocsEditable 18682 @DocsEditable
18752 @Experimental // untriaged
18753 final bool allowsInlineScript; 18683 final bool allowsInlineScript;
18754 18684
18755 @DomName('SecurityPolicy.allowsInlineStyle') 18685 @DomName('SecurityPolicy.allowsInlineStyle')
18756 @DocsEditable 18686 @DocsEditable
18757 @Experimental // untriaged
18758 final bool allowsInlineStyle; 18687 final bool allowsInlineStyle;
18759 18688
18760 @DomName('SecurityPolicy.isActive') 18689 @DomName('SecurityPolicy.isActive')
18761 @DocsEditable 18690 @DocsEditable
18762 @Experimental // untriaged
18763 final bool isActive; 18691 final bool isActive;
18764 18692
18765 @DomName('SecurityPolicy.reportURIs') 18693 @DomName('SecurityPolicy.reportURIs')
18766 @DocsEditable 18694 @DocsEditable
18767 @Experimental // untriaged
18768 @Returns('DomStringList') 18695 @Returns('DomStringList')
18769 @Creates('DomStringList') 18696 @Creates('DomStringList')
18770 final List<String> reportURIs; 18697 final List<String> reportURIs;
18771 18698
18772 @DomName('SecurityPolicy.allowsConnectionTo') 18699 @DomName('SecurityPolicy.allowsConnectionTo')
18773 @DocsEditable 18700 @DocsEditable
18774 @Experimental // untriaged
18775 bool allowsConnectionTo(String url) native; 18701 bool allowsConnectionTo(String url) native;
18776 18702
18777 @DomName('SecurityPolicy.allowsFontFrom') 18703 @DomName('SecurityPolicy.allowsFontFrom')
18778 @DocsEditable 18704 @DocsEditable
18779 @Experimental // untriaged
18780 bool allowsFontFrom(String url) native; 18705 bool allowsFontFrom(String url) native;
18781 18706
18782 @DomName('SecurityPolicy.allowsFormAction') 18707 @DomName('SecurityPolicy.allowsFormAction')
18783 @DocsEditable 18708 @DocsEditable
18784 @Experimental // untriaged
18785 bool allowsFormAction(String url) native; 18709 bool allowsFormAction(String url) native;
18786 18710
18787 @DomName('SecurityPolicy.allowsFrameFrom') 18711 @DomName('SecurityPolicy.allowsFrameFrom')
18788 @DocsEditable 18712 @DocsEditable
18789 @Experimental // untriaged
18790 bool allowsFrameFrom(String url) native; 18713 bool allowsFrameFrom(String url) native;
18791 18714
18792 @DomName('SecurityPolicy.allowsImageFrom') 18715 @DomName('SecurityPolicy.allowsImageFrom')
18793 @DocsEditable 18716 @DocsEditable
18794 @Experimental // untriaged
18795 bool allowsImageFrom(String url) native; 18717 bool allowsImageFrom(String url) native;
18796 18718
18797 @DomName('SecurityPolicy.allowsMediaFrom') 18719 @DomName('SecurityPolicy.allowsMediaFrom')
18798 @DocsEditable 18720 @DocsEditable
18799 @Experimental // untriaged
18800 bool allowsMediaFrom(String url) native; 18721 bool allowsMediaFrom(String url) native;
18801 18722
18802 @DomName('SecurityPolicy.allowsObjectFrom') 18723 @DomName('SecurityPolicy.allowsObjectFrom')
18803 @DocsEditable 18724 @DocsEditable
18804 @Experimental // untriaged
18805 bool allowsObjectFrom(String url) native; 18725 bool allowsObjectFrom(String url) native;
18806 18726
18807 @DomName('SecurityPolicy.allowsPluginType') 18727 @DomName('SecurityPolicy.allowsPluginType')
18808 @DocsEditable 18728 @DocsEditable
18809 @Experimental // untriaged
18810 bool allowsPluginType(String type) native; 18729 bool allowsPluginType(String type) native;
18811 18730
18812 @DomName('SecurityPolicy.allowsScriptFrom') 18731 @DomName('SecurityPolicy.allowsScriptFrom')
18813 @DocsEditable 18732 @DocsEditable
18814 @Experimental // untriaged
18815 bool allowsScriptFrom(String url) native; 18733 bool allowsScriptFrom(String url) native;
18816 18734
18817 @DomName('SecurityPolicy.allowsStyleFrom') 18735 @DomName('SecurityPolicy.allowsStyleFrom')
18818 @DocsEditable 18736 @DocsEditable
18819 @Experimental // untriaged
18820 bool allowsStyleFrom(String url) native; 18737 bool allowsStyleFrom(String url) native;
18821 } 18738 }
18822 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 18739 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
18823 // for details. All rights reserved. Use of this source code is governed by a 18740 // for details. All rights reserved. Use of this source code is governed by a
18824 // BSD-style license that can be found in the LICENSE file. 18741 // BSD-style license that can be found in the LICENSE file.
18825 18742
18826 18743
18827 @DocsEditable 18744 @DocsEditable
18828 @DomName('SecurityPolicyViolationEvent') 18745 @DomName('SecurityPolicyViolationEvent')
18829 // https://dvcs.w3.org/hg/content-security-policy/raw-file/tip/csp-specification .dev.html#securitypolicyviolationevent-events 18746 // https://dvcs.w3.org/hg/content-security-policy/raw-file/tip/csp-specification .dev.html#securitypolicyviolationevent-events
18830 @Experimental 18747 @Experimental
18831 class SecurityPolicyViolationEvent extends Event native "SecurityPolicyViolation Event" { 18748 class SecurityPolicyViolationEvent extends Event native "SecurityPolicyViolation Event" {
18832 18749
18833 @JSName('blockedURI') 18750 @JSName('blockedURI')
18834 @DomName('SecurityPolicyViolationEvent.blockedURI') 18751 @DomName('SecurityPolicyViolationEvent.blockedURI')
18835 @DocsEditable 18752 @DocsEditable
18836 final String blockedUri; 18753 final String blockedUri;
18837 18754
18838 @DomName('SecurityPolicyViolationEvent.columnNumber') 18755 @DomName('SecurityPolicyViolationEvent.columnNumber')
18839 @DocsEditable 18756 @DocsEditable
18840 @Experimental // untriaged
18841 final int columnNumber; 18757 final int columnNumber;
18842 18758
18843 @JSName('documentURI') 18759 @JSName('documentURI')
18844 @DomName('SecurityPolicyViolationEvent.documentURI') 18760 @DomName('SecurityPolicyViolationEvent.documentURI')
18845 @DocsEditable 18761 @DocsEditable
18846 final String documentUri; 18762 final String documentUri;
18847 18763
18848 @DomName('SecurityPolicyViolationEvent.effectiveDirective') 18764 @DomName('SecurityPolicyViolationEvent.effectiveDirective')
18849 @DocsEditable 18765 @DocsEditable
18850 final String effectiveDirective; 18766 final String effectiveDirective;
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
18978 } 18894 }
18979 } 18895 }
18980 } 18896 }
18981 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 18897 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
18982 // for details. All rights reserved. Use of this source code is governed by a 18898 // for details. All rights reserved. Use of this source code is governed by a
18983 // BSD-style license that can be found in the LICENSE file. 18899 // BSD-style license that can be found in the LICENSE file.
18984 18900
18985 18901
18986 @DocsEditable 18902 @DocsEditable
18987 @DomName('Selection') 18903 @DomName('Selection')
18988 @Experimental // untriaged
18989 class Selection native "Selection" { 18904 class Selection native "Selection" {
18990 18905
18991 @DomName('Selection.anchorNode') 18906 @DomName('Selection.anchorNode')
18992 @DocsEditable 18907 @DocsEditable
18993 @Experimental // untriaged
18994 final Node anchorNode; 18908 final Node anchorNode;
18995 18909
18996 @DomName('Selection.anchorOffset') 18910 @DomName('Selection.anchorOffset')
18997 @DocsEditable 18911 @DocsEditable
18998 @Experimental // untriaged
18999 final int anchorOffset; 18912 final int anchorOffset;
19000 18913
19001 @DomName('Selection.baseNode') 18914 @DomName('Selection.baseNode')
19002 @DocsEditable 18915 @DocsEditable
19003 @Experimental // untriaged 18916 @Experimental // non-standard
19004 final Node baseNode; 18917 final Node baseNode;
19005 18918
19006 @DomName('Selection.baseOffset') 18919 @DomName('Selection.baseOffset')
19007 @DocsEditable 18920 @DocsEditable
19008 @Experimental // untriaged 18921 @Experimental // non-standard
19009 final int baseOffset; 18922 final int baseOffset;
19010 18923
19011 @DomName('Selection.extentNode') 18924 @DomName('Selection.extentNode')
19012 @DocsEditable 18925 @DocsEditable
19013 @Experimental // untriaged 18926 @Experimental // non-standard
19014 final Node extentNode; 18927 final Node extentNode;
19015 18928
19016 @DomName('Selection.extentOffset') 18929 @DomName('Selection.extentOffset')
19017 @DocsEditable 18930 @DocsEditable
19018 @Experimental // untriaged 18931 @Experimental // non-standard
19019 final int extentOffset; 18932 final int extentOffset;
19020 18933
19021 @DomName('Selection.focusNode') 18934 @DomName('Selection.focusNode')
19022 @DocsEditable 18935 @DocsEditable
19023 @Experimental // untriaged
19024 final Node focusNode; 18936 final Node focusNode;
19025 18937
19026 @DomName('Selection.focusOffset') 18938 @DomName('Selection.focusOffset')
19027 @DocsEditable 18939 @DocsEditable
19028 @Experimental // untriaged
19029 final int focusOffset; 18940 final int focusOffset;
19030 18941
19031 @DomName('Selection.isCollapsed') 18942 @DomName('Selection.isCollapsed')
19032 @DocsEditable 18943 @DocsEditable
19033 @Experimental // untriaged
19034 final bool isCollapsed; 18944 final bool isCollapsed;
19035 18945
19036 @DomName('Selection.rangeCount') 18946 @DomName('Selection.rangeCount')
19037 @DocsEditable 18947 @DocsEditable
19038 @Experimental // untriaged
19039 final int rangeCount; 18948 final int rangeCount;
19040 18949
19041 @DomName('Selection.type') 18950 @DomName('Selection.type')
19042 @DocsEditable 18951 @DocsEditable
19043 @Experimental // untriaged 18952 @Experimental // non-standard
19044 final String type; 18953 final String type;
19045 18954
19046 @DomName('Selection.addRange') 18955 @DomName('Selection.addRange')
19047 @DocsEditable 18956 @DocsEditable
19048 @Experimental // untriaged
19049 void addRange(Range range) native; 18957 void addRange(Range range) native;
19050 18958
19051 @DomName('Selection.collapse') 18959 @DomName('Selection.collapse')
19052 @DocsEditable 18960 @DocsEditable
19053 @Experimental // untriaged
19054 void collapse(Node node, int index) native; 18961 void collapse(Node node, int index) native;
19055 18962
19056 @DomName('Selection.collapseToEnd') 18963 @DomName('Selection.collapseToEnd')
19057 @DocsEditable 18964 @DocsEditable
19058 @Experimental // untriaged
19059 void collapseToEnd() native; 18965 void collapseToEnd() native;
19060 18966
19061 @DomName('Selection.collapseToStart') 18967 @DomName('Selection.collapseToStart')
19062 @DocsEditable 18968 @DocsEditable
19063 @Experimental // untriaged
19064 void collapseToStart() native; 18969 void collapseToStart() native;
19065 18970
19066 @DomName('Selection.containsNode') 18971 @DomName('Selection.containsNode')
19067 @DocsEditable 18972 @DocsEditable
19068 @Experimental // untriaged 18973 @Experimental // non-standard
19069 bool containsNode(Node node, bool allowPartial) native; 18974 bool containsNode(Node node, bool allowPartial) native;
19070 18975
19071 @DomName('Selection.deleteFromDocument') 18976 @DomName('Selection.deleteFromDocument')
19072 @DocsEditable 18977 @DocsEditable
19073 @Experimental // untriaged
19074 void deleteFromDocument() native; 18978 void deleteFromDocument() native;
19075 18979
19076 @DomName('Selection.empty') 18980 @DomName('Selection.empty')
19077 @DocsEditable 18981 @DocsEditable
19078 @Experimental // untriaged 18982 @Experimental // non-standard
19079 void empty() native; 18983 void empty() native;
19080 18984
19081 @DomName('Selection.extend') 18985 @DomName('Selection.extend')
19082 @DocsEditable 18986 @DocsEditable
19083 @Experimental // untriaged
19084 void extend(Node node, int offset) native; 18987 void extend(Node node, int offset) native;
19085 18988
19086 @DomName('Selection.getRangeAt') 18989 @DomName('Selection.getRangeAt')
19087 @DocsEditable 18990 @DocsEditable
19088 @Experimental // untriaged
19089 Range getRangeAt(int index) native; 18991 Range getRangeAt(int index) native;
19090 18992
19091 @DomName('Selection.modify') 18993 @DomName('Selection.modify')
19092 @DocsEditable 18994 @DocsEditable
19093 @Experimental // untriaged 18995 @Experimental // non-standard
19094 void modify(String alter, String direction, String granularity) native; 18996 void modify(String alter, String direction, String granularity) native;
19095 18997
19096 @DomName('Selection.removeAllRanges') 18998 @DomName('Selection.removeAllRanges')
19097 @DocsEditable 18999 @DocsEditable
19098 @Experimental // untriaged
19099 void removeAllRanges() native; 19000 void removeAllRanges() native;
19100 19001
19101 @DomName('Selection.selectAllChildren') 19002 @DomName('Selection.selectAllChildren')
19102 @DocsEditable 19003 @DocsEditable
19103 @Experimental // untriaged
19104 void selectAllChildren(Node node) native; 19004 void selectAllChildren(Node node) native;
19105 19005
19106 @DomName('Selection.setBaseAndExtent') 19006 @DomName('Selection.setBaseAndExtent')
19107 @DocsEditable 19007 @DocsEditable
19108 @Experimental // untriaged 19008 @Experimental // non-standard
19109 void setBaseAndExtent(Node baseNode, int baseOffset, Node extentNode, int exte ntOffset) native; 19009 void setBaseAndExtent(Node baseNode, int baseOffset, Node extentNode, int exte ntOffset) native;
19110 19010
19111 @DomName('Selection.setPosition') 19011 @DomName('Selection.setPosition')
19112 @DocsEditable 19012 @DocsEditable
19113 @Experimental // untriaged 19013 @Experimental // non-standard
19114 void setPosition(Node node, int offset) native; 19014 void setPosition(Node node, int offset) native;
19115 19015
19116 @DomName('Selection.toString') 19016 @DomName('Selection.toString')
19117 @DocsEditable 19017 @DocsEditable
19118 @Experimental // untriaged
19119 String toString() native; 19018 String toString() native;
19120 } 19019 }
19121 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 19020 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
19122 // for details. All rights reserved. Use of this source code is governed by a 19021 // for details. All rights reserved. Use of this source code is governed by a
19123 // BSD-style license that can be found in the LICENSE file. 19022 // BSD-style license that can be found in the LICENSE file.
19124 19023
19125 19024
19126 @DocsEditable 19025 @DocsEditable
19127 @DomName('HTMLShadowElement') 19026 @DomName('HTMLShadowElement')
19128 @SupportedBrowser(SupportedBrowser.CHROME, '26') 19027 @SupportedBrowser(SupportedBrowser.CHROME, '26')
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
19206 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 19105 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
19207 // for details. All rights reserved. Use of this source code is governed by a 19106 // for details. All rights reserved. Use of this source code is governed by a
19208 // BSD-style license that can be found in the LICENSE file. 19107 // BSD-style license that can be found in the LICENSE file.
19209 19108
19210 19109
19211 @DocsEditable 19110 @DocsEditable
19212 @DomName('WebKitSourceBuffer') 19111 @DomName('WebKitSourceBuffer')
19213 @SupportedBrowser(SupportedBrowser.CHROME) 19112 @SupportedBrowser(SupportedBrowser.CHROME)
19214 @SupportedBrowser(SupportedBrowser.SAFARI) 19113 @SupportedBrowser(SupportedBrowser.SAFARI)
19215 @Experimental 19114 @Experimental
19216 @Experimental // untriaged 19115 // https://dvcs.w3.org/hg/html-media/raw-file/tip/media-source/media-source.html #sourcebuffer
19217 class SourceBuffer native "WebKitSourceBuffer" { 19116 class SourceBuffer native "WebKitSourceBuffer" {
19218 19117
19219 @DomName('WebKitSourceBuffer.buffered') 19118 @DomName('WebKitSourceBuffer.buffered')
19220 @DocsEditable 19119 @DocsEditable
19221 @Experimental // untriaged
19222 final TimeRanges buffered; 19120 final TimeRanges buffered;
19223 19121
19224 @DomName('WebKitSourceBuffer.timestampOffset') 19122 @DomName('WebKitSourceBuffer.timestampOffset')
19225 @DocsEditable 19123 @DocsEditable
19226 @Experimental // untriaged
19227 num timestampOffset; 19124 num timestampOffset;
19228 19125
19229 @DomName('WebKitSourceBuffer.abort') 19126 @DomName('WebKitSourceBuffer.abort')
19230 @DocsEditable 19127 @DocsEditable
19231 @Experimental // untriaged
19232 void abort() native; 19128 void abort() native;
19233 19129
19234 @DomName('WebKitSourceBuffer.append') 19130 @DomName('WebKitSourceBuffer.append')
19235 @DocsEditable 19131 @DocsEditable
19236 @Experimental // untriaged 19132 @Experimental // non-standard
19237 void append(Uint8List data) native; 19133 void append(Uint8List data) native;
19238 } 19134 }
19239 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 19135 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
19240 // for details. All rights reserved. Use of this source code is governed by a 19136 // for details. All rights reserved. Use of this source code is governed by a
19241 // BSD-style license that can be found in the LICENSE file. 19137 // BSD-style license that can be found in the LICENSE file.
19242 19138
19243 19139
19244 @DocsEditable 19140 @DocsEditable
19245 @DomName('WebKitSourceBufferList') 19141 @DomName('WebKitSourceBufferList')
19246 @SupportedBrowser(SupportedBrowser.CHROME) 19142 @SupportedBrowser(SupportedBrowser.CHROME)
19247 @SupportedBrowser(SupportedBrowser.SAFARI) 19143 @SupportedBrowser(SupportedBrowser.SAFARI)
19248 @Experimental 19144 @Experimental
19249 @Experimental // untriaged 19145 // https://dvcs.w3.org/hg/html-media/raw-file/tip/media-source/media-source.html #sourcebufferlist
19250 class SourceBufferList extends EventTarget with ListMixin<SourceBuffer>, Immutab leListMixin<SourceBuffer> implements JavaScriptIndexingBehavior, List<SourceBuff er> native "WebKitSourceBufferList" { 19146 class SourceBufferList extends EventTarget with ListMixin<SourceBuffer>, Immutab leListMixin<SourceBuffer> implements JavaScriptIndexingBehavior, List<SourceBuff er> native "WebKitSourceBufferList" {
19251 19147
19252 @DomName('WebKitSourceBufferList.length') 19148 @DomName('WebKitSourceBufferList.length')
19253 @DocsEditable 19149 @DocsEditable
19254 @Experimental // untriaged
19255 int get length => JS("int", "#.length", this); 19150 int get length => JS("int", "#.length", this);
19256 19151
19257 SourceBuffer operator[](int index) { 19152 SourceBuffer operator[](int index) {
19258 if (JS("bool", "# >>> 0 !== # || # >= #", index, 19153 if (JS("bool", "# >>> 0 !== # || # >= #", index,
19259 index, index, length)) 19154 index, index, length))
19260 throw new RangeError.range(index, 0, length); 19155 throw new RangeError.range(index, 0, length);
19261 return JS("SourceBuffer", "#[#]", this, index); 19156 return JS("SourceBuffer", "#[#]", this, index);
19262 } 19157 }
19263 void operator[]=(int index, SourceBuffer value) { 19158 void operator[]=(int index, SourceBuffer value) {
19264 throw new UnsupportedError("Cannot assign element of immutable List."); 19159 throw new UnsupportedError("Cannot assign element of immutable List.");
(...skipping 29 matching lines...) Expand all
19294 if (len == 0) throw new StateError("No elements"); 19189 if (len == 0) throw new StateError("No elements");
19295 throw new StateError("More than one element"); 19190 throw new StateError("More than one element");
19296 } 19191 }
19297 19192
19298 SourceBuffer elementAt(int index) => this[index]; 19193 SourceBuffer elementAt(int index) => this[index];
19299 // -- end List<SourceBuffer> mixins. 19194 // -- end List<SourceBuffer> mixins.
19300 19195
19301 @JSName('addEventListener') 19196 @JSName('addEventListener')
19302 @DomName('WebKitSourceBufferList.addEventListener') 19197 @DomName('WebKitSourceBufferList.addEventListener')
19303 @DocsEditable 19198 @DocsEditable
19304 @Experimental // untriaged
19305 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu re]) native; 19199 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu re]) native;
19306 19200
19307 @DomName('WebKitSourceBufferList.dispatchEvent') 19201 @DomName('WebKitSourceBufferList.dispatchEvent')
19308 @DocsEditable 19202 @DocsEditable
19309 @Experimental // untriaged
19310 bool dispatchEvent(Event event) native; 19203 bool dispatchEvent(Event event) native;
19311 19204
19312 @DomName('WebKitSourceBufferList.item') 19205 @DomName('WebKitSourceBufferList.item')
19313 @DocsEditable 19206 @DocsEditable
19314 @Experimental // untriaged
19315 SourceBuffer item(int index) native; 19207 SourceBuffer item(int index) native;
19316 19208
19317 @JSName('removeEventListener') 19209 @JSName('removeEventListener')
19318 @DomName('WebKitSourceBufferList.removeEventListener') 19210 @DomName('WebKitSourceBufferList.removeEventListener')
19319 @DocsEditable 19211 @DocsEditable
19320 @Experimental // untriaged
19321 void $dom_removeEventListener(String type, EventListener listener, [bool useCa pture]) native; 19212 void $dom_removeEventListener(String type, EventListener listener, [bool useCa pture]) native;
19322 } 19213 }
19323 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 19214 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
19324 // for details. All rights reserved. Use of this source code is governed by a 19215 // for details. All rights reserved. Use of this source code is governed by a
19325 // BSD-style license that can be found in the LICENSE file. 19216 // BSD-style license that can be found in the LICENSE file.
19326 19217
19327 19218
19328 @DocsEditable 19219 @DocsEditable
19329 @DomName('HTMLSourceElement') 19220 @DomName('HTMLSourceElement')
19330 class SourceElement extends Element native "HTMLSourceElement" { 19221 class SourceElement extends Element native "HTMLSourceElement" {
(...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after
19745 @DocsEditable 19636 @DocsEditable
19746 SpeechRecognitionAlternative item(int index) native; 19637 SpeechRecognitionAlternative item(int index) native;
19747 } 19638 }
19748 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 19639 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
19749 // for details. All rights reserved. Use of this source code is governed by a 19640 // for details. All rights reserved. Use of this source code is governed by a
19750 // BSD-style license that can be found in the LICENSE file. 19641 // BSD-style license that can be found in the LICENSE file.
19751 19642
19752 19643
19753 @DocsEditable 19644 @DocsEditable
19754 @DomName('SpeechSynthesis') 19645 @DomName('SpeechSynthesis')
19755 @Experimental // untriaged 19646 // https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#tts-section
19647 @Experimental
19756 class SpeechSynthesis native "SpeechSynthesis" { 19648 class SpeechSynthesis native "SpeechSynthesis" {
19757 19649
19758 @DomName('SpeechSynthesis.paused') 19650 @DomName('SpeechSynthesis.paused')
19759 @DocsEditable 19651 @DocsEditable
19760 @Experimental // untriaged
19761 final bool paused; 19652 final bool paused;
19762 19653
19763 @DomName('SpeechSynthesis.pending') 19654 @DomName('SpeechSynthesis.pending')
19764 @DocsEditable 19655 @DocsEditable
19765 @Experimental // untriaged
19766 final bool pending; 19656 final bool pending;
19767 19657
19768 @DomName('SpeechSynthesis.speaking') 19658 @DomName('SpeechSynthesis.speaking')
19769 @DocsEditable 19659 @DocsEditable
19770 @Experimental // untriaged
19771 final bool speaking; 19660 final bool speaking;
19772 19661
19773 @DomName('SpeechSynthesis.cancel') 19662 @DomName('SpeechSynthesis.cancel')
19774 @DocsEditable 19663 @DocsEditable
19775 @Experimental // untriaged
19776 void cancel() native; 19664 void cancel() native;
19777 19665
19778 @DomName('SpeechSynthesis.getVoices') 19666 @DomName('SpeechSynthesis.getVoices')
19779 @DocsEditable 19667 @DocsEditable
19780 @Experimental // untriaged
19781 List<SpeechSynthesisVoice> getVoices() native; 19668 List<SpeechSynthesisVoice> getVoices() native;
19782 19669
19783 @DomName('SpeechSynthesis.pause') 19670 @DomName('SpeechSynthesis.pause')
19784 @DocsEditable 19671 @DocsEditable
19785 @Experimental // untriaged
19786 void pause() native; 19672 void pause() native;
19787 19673
19788 @DomName('SpeechSynthesis.resume') 19674 @DomName('SpeechSynthesis.resume')
19789 @DocsEditable 19675 @DocsEditable
19790 @Experimental // untriaged
19791 void resume() native; 19676 void resume() native;
19792 19677
19793 @DomName('SpeechSynthesis.speak') 19678 @DomName('SpeechSynthesis.speak')
19794 @DocsEditable 19679 @DocsEditable
19795 @Experimental // untriaged
19796 void speak(SpeechSynthesisUtterance utterance) native; 19680 void speak(SpeechSynthesisUtterance utterance) native;
19797 } 19681 }
19798 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 19682 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
19799 // for details. All rights reserved. Use of this source code is governed by a 19683 // for details. All rights reserved. Use of this source code is governed by a
19800 // BSD-style license that can be found in the LICENSE file. 19684 // BSD-style license that can be found in the LICENSE file.
19801 19685
19802 19686
19803 @DocsEditable 19687 @DocsEditable
19804 @DomName('SpeechSynthesisEvent') 19688 @DomName('SpeechSynthesisEvent')
19805 @Experimental // untriaged 19689 // https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#tts-section
19690 @Experimental
19806 class SpeechSynthesisEvent extends Event native "SpeechSynthesisEvent" { 19691 class SpeechSynthesisEvent extends Event native "SpeechSynthesisEvent" {
19807 19692
19808 @DomName('SpeechSynthesisEvent.charIndex') 19693 @DomName('SpeechSynthesisEvent.charIndex')
19809 @DocsEditable 19694 @DocsEditable
19810 @Experimental // untriaged
19811 final int charIndex; 19695 final int charIndex;
19812 19696
19813 @DomName('SpeechSynthesisEvent.elapsedTime') 19697 @DomName('SpeechSynthesisEvent.elapsedTime')
19814 @DocsEditable 19698 @DocsEditable
19815 @Experimental // untriaged
19816 final num elapsedTime; 19699 final num elapsedTime;
19817 19700
19818 @DomName('SpeechSynthesisEvent.name') 19701 @DomName('SpeechSynthesisEvent.name')
19819 @DocsEditable 19702 @DocsEditable
19820 @Experimental // untriaged
19821 final String name; 19703 final String name;
19822 } 19704 }
19823 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 19705 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
19824 // for details. All rights reserved. Use of this source code is governed by a 19706 // for details. All rights reserved. Use of this source code is governed by a
19825 // BSD-style license that can be found in the LICENSE file. 19707 // BSD-style license that can be found in the LICENSE file.
19826 19708
19827 19709
19828 @DocsEditable 19710 @DocsEditable
19829 @DomName('SpeechSynthesisUtterance') 19711 @DomName('SpeechSynthesisUtterance')
19830 @Experimental // untriaged 19712 // https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#tts-section
19713 @Experimental
19831 class SpeechSynthesisUtterance extends EventTarget native "SpeechSynthesisUttera nce" { 19714 class SpeechSynthesisUtterance extends EventTarget native "SpeechSynthesisUttera nce" {
19832 19715
19833 @DomName('SpeechSynthesisUtterance.boundaryEvent') 19716 @DomName('SpeechSynthesisUtterance.boundaryEvent')
19834 @DocsEditable 19717 @DocsEditable
19835 @Experimental // untriaged
19836 static const EventStreamProvider<SpeechSynthesisEvent> boundaryEvent = const E ventStreamProvider<SpeechSynthesisEvent>('boundary'); 19718 static const EventStreamProvider<SpeechSynthesisEvent> boundaryEvent = const E ventStreamProvider<SpeechSynthesisEvent>('boundary');
19837 19719
19838 @DomName('SpeechSynthesisUtterance.endEvent') 19720 @DomName('SpeechSynthesisUtterance.endEvent')
19839 @DocsEditable 19721 @DocsEditable
19840 @Experimental // untriaged
19841 static const EventStreamProvider<SpeechSynthesisEvent> endEvent = const EventS treamProvider<SpeechSynthesisEvent>('end'); 19722 static const EventStreamProvider<SpeechSynthesisEvent> endEvent = const EventS treamProvider<SpeechSynthesisEvent>('end');
19842 19723
19843 @DomName('SpeechSynthesisUtterance.errorEvent') 19724 @DomName('SpeechSynthesisUtterance.errorEvent')
19844 @DocsEditable 19725 @DocsEditable
19845 @Experimental // untriaged
19846 static const EventStreamProvider<Event> errorEvent = const EventStreamProvider <Event>('error'); 19726 static const EventStreamProvider<Event> errorEvent = const EventStreamProvider <Event>('error');
19847 19727
19848 @DomName('SpeechSynthesisUtterance.markEvent') 19728 @DomName('SpeechSynthesisUtterance.markEvent')
19849 @DocsEditable 19729 @DocsEditable
19850 @Experimental // untriaged
19851 static const EventStreamProvider<SpeechSynthesisEvent> markEvent = const Event StreamProvider<SpeechSynthesisEvent>('mark'); 19730 static const EventStreamProvider<SpeechSynthesisEvent> markEvent = const Event StreamProvider<SpeechSynthesisEvent>('mark');
19852 19731
19853 @DomName('SpeechSynthesisUtterance.pauseEvent') 19732 @DomName('SpeechSynthesisUtterance.pauseEvent')
19854 @DocsEditable 19733 @DocsEditable
19855 @Experimental // untriaged
19856 static const EventStreamProvider<Event> pauseEvent = const EventStreamProvider <Event>('pause'); 19734 static const EventStreamProvider<Event> pauseEvent = const EventStreamProvider <Event>('pause');
19857 19735
19858 @DomName('SpeechSynthesisUtterance.resumeEvent') 19736 @DomName('SpeechSynthesisUtterance.resumeEvent')
19859 @DocsEditable 19737 @DocsEditable
19860 @Experimental // untriaged
19861 static const EventStreamProvider<SpeechSynthesisEvent> resumeEvent = const Eve ntStreamProvider<SpeechSynthesisEvent>('resume'); 19738 static const EventStreamProvider<SpeechSynthesisEvent> resumeEvent = const Eve ntStreamProvider<SpeechSynthesisEvent>('resume');
19862 19739
19863 @DomName('SpeechSynthesisUtterance.startEvent') 19740 @DomName('SpeechSynthesisUtterance.startEvent')
19864 @DocsEditable 19741 @DocsEditable
19865 @Experimental // untriaged
19866 static const EventStreamProvider<SpeechSynthesisEvent> startEvent = const Even tStreamProvider<SpeechSynthesisEvent>('start'); 19742 static const EventStreamProvider<SpeechSynthesisEvent> startEvent = const Even tStreamProvider<SpeechSynthesisEvent>('start');
19867 19743
19868 @DomName('SpeechSynthesisUtterance.SpeechSynthesisUtterance') 19744 @DomName('SpeechSynthesisUtterance.SpeechSynthesisUtterance')
19869 @DocsEditable 19745 @DocsEditable
19870 factory SpeechSynthesisUtterance([String text]) { 19746 factory SpeechSynthesisUtterance([String text]) {
19871 if (?text) { 19747 if (?text) {
19872 return SpeechSynthesisUtterance._create_1(text); 19748 return SpeechSynthesisUtterance._create_1(text);
19873 } 19749 }
19874 return SpeechSynthesisUtterance._create_2(); 19750 return SpeechSynthesisUtterance._create_2();
19875 } 19751 }
19876 static SpeechSynthesisUtterance _create_1(text) => JS('SpeechSynthesisUtteranc e', 'new SpeechSynthesisUtterance(#)', text); 19752 static SpeechSynthesisUtterance _create_1(text) => JS('SpeechSynthesisUtteranc e', 'new SpeechSynthesisUtterance(#)', text);
19877 static SpeechSynthesisUtterance _create_2() => JS('SpeechSynthesisUtterance', 'new SpeechSynthesisUtterance()'); 19753 static SpeechSynthesisUtterance _create_2() => JS('SpeechSynthesisUtterance', 'new SpeechSynthesisUtterance()');
19878 19754
19879 @DomName('SpeechSynthesisUtterance.lang') 19755 @DomName('SpeechSynthesisUtterance.lang')
19880 @DocsEditable 19756 @DocsEditable
19881 @Experimental // untriaged
19882 String lang; 19757 String lang;
19883 19758
19884 @DomName('SpeechSynthesisUtterance.pitch') 19759 @DomName('SpeechSynthesisUtterance.pitch')
19885 @DocsEditable 19760 @DocsEditable
19886 @Experimental // untriaged
19887 num pitch; 19761 num pitch;
19888 19762
19889 @DomName('SpeechSynthesisUtterance.rate') 19763 @DomName('SpeechSynthesisUtterance.rate')
19890 @DocsEditable 19764 @DocsEditable
19891 @Experimental // untriaged
19892 num rate; 19765 num rate;
19893 19766
19894 @DomName('SpeechSynthesisUtterance.text') 19767 @DomName('SpeechSynthesisUtterance.text')
19895 @DocsEditable 19768 @DocsEditable
19896 @Experimental // untriaged
19897 String text; 19769 String text;
19898 19770
19899 @DomName('SpeechSynthesisUtterance.voice') 19771 @DomName('SpeechSynthesisUtterance.voice')
19900 @DocsEditable 19772 @DocsEditable
19901 @Experimental // untriaged
19902 SpeechSynthesisVoice voice; 19773 SpeechSynthesisVoice voice;
19903 19774
19904 @DomName('SpeechSynthesisUtterance.volume') 19775 @DomName('SpeechSynthesisUtterance.volume')
19905 @DocsEditable 19776 @DocsEditable
19906 @Experimental // untriaged
19907 num volume; 19777 num volume;
19908 19778
19909 @DomName('SpeechSynthesisUtterance.onboundary') 19779 @DomName('SpeechSynthesisUtterance.onboundary')
19910 @DocsEditable 19780 @DocsEditable
19911 @Experimental // untriaged
19912 Stream<SpeechSynthesisEvent> get onBoundary => boundaryEvent.forTarget(this); 19781 Stream<SpeechSynthesisEvent> get onBoundary => boundaryEvent.forTarget(this);
19913 19782
19914 @DomName('SpeechSynthesisUtterance.onend') 19783 @DomName('SpeechSynthesisUtterance.onend')
19915 @DocsEditable 19784 @DocsEditable
19916 @Experimental // untriaged
19917 Stream<SpeechSynthesisEvent> get onEnd => endEvent.forTarget(this); 19785 Stream<SpeechSynthesisEvent> get onEnd => endEvent.forTarget(this);
19918 19786
19919 @DomName('SpeechSynthesisUtterance.onerror') 19787 @DomName('SpeechSynthesisUtterance.onerror')
19920 @DocsEditable 19788 @DocsEditable
19921 @Experimental // untriaged
19922 Stream<Event> get onError => errorEvent.forTarget(this); 19789 Stream<Event> get onError => errorEvent.forTarget(this);
19923 19790
19924 @DomName('SpeechSynthesisUtterance.onmark') 19791 @DomName('SpeechSynthesisUtterance.onmark')
19925 @DocsEditable 19792 @DocsEditable
19926 @Experimental // untriaged
19927 Stream<SpeechSynthesisEvent> get onMark => markEvent.forTarget(this); 19793 Stream<SpeechSynthesisEvent> get onMark => markEvent.forTarget(this);
19928 19794
19929 @DomName('SpeechSynthesisUtterance.onpause') 19795 @DomName('SpeechSynthesisUtterance.onpause')
19930 @DocsEditable 19796 @DocsEditable
19931 @Experimental // untriaged
19932 Stream<Event> get onPause => pauseEvent.forTarget(this); 19797 Stream<Event> get onPause => pauseEvent.forTarget(this);
19933 19798
19934 @DomName('SpeechSynthesisUtterance.onresume') 19799 @DomName('SpeechSynthesisUtterance.onresume')
19935 @DocsEditable 19800 @DocsEditable
19936 @Experimental // untriaged
19937 Stream<SpeechSynthesisEvent> get onResume => resumeEvent.forTarget(this); 19801 Stream<SpeechSynthesisEvent> get onResume => resumeEvent.forTarget(this);
19938 19802
19939 @DomName('SpeechSynthesisUtterance.onstart') 19803 @DomName('SpeechSynthesisUtterance.onstart')
19940 @DocsEditable 19804 @DocsEditable
19941 @Experimental // untriaged
19942 Stream<SpeechSynthesisEvent> get onStart => startEvent.forTarget(this); 19805 Stream<SpeechSynthesisEvent> get onStart => startEvent.forTarget(this);
19943 } 19806 }
19944 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 19807 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
19945 // for details. All rights reserved. Use of this source code is governed by a 19808 // for details. All rights reserved. Use of this source code is governed by a
19946 // BSD-style license that can be found in the LICENSE file. 19809 // BSD-style license that can be found in the LICENSE file.
19947 19810
19948 19811
19949 @DocsEditable 19812 @DocsEditable
19950 @DomName('SpeechSynthesisVoice') 19813 @DomName('SpeechSynthesisVoice')
19951 @Experimental // untriaged 19814 // https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#tts-section
19815 @Experimental
19952 class SpeechSynthesisVoice native "SpeechSynthesisVoice" { 19816 class SpeechSynthesisVoice native "SpeechSynthesisVoice" {
19953 19817
19954 @JSName('default') 19818 @JSName('default')
19955 @DomName('SpeechSynthesisVoice.default') 19819 @DomName('SpeechSynthesisVoice.default')
19956 @DocsEditable 19820 @DocsEditable
19957 @Experimental // untriaged
19958 final bool defaultValue; 19821 final bool defaultValue;
19959 19822
19960 @DomName('SpeechSynthesisVoice.lang') 19823 @DomName('SpeechSynthesisVoice.lang')
19961 @DocsEditable 19824 @DocsEditable
19962 @Experimental // untriaged
19963 final String lang; 19825 final String lang;
19964 19826
19965 @DomName('SpeechSynthesisVoice.localService') 19827 @DomName('SpeechSynthesisVoice.localService')
19966 @DocsEditable 19828 @DocsEditable
19967 @Experimental // untriaged
19968 final bool localService; 19829 final bool localService;
19969 19830
19970 @DomName('SpeechSynthesisVoice.name') 19831 @DomName('SpeechSynthesisVoice.name')
19971 @DocsEditable 19832 @DocsEditable
19972 @Experimental // untriaged
19973 final String name; 19833 final String name;
19974 19834
19975 @JSName('voiceURI') 19835 @JSName('voiceURI')
19976 @DomName('SpeechSynthesisVoice.voiceURI') 19836 @DomName('SpeechSynthesisVoice.voiceURI')
19977 @DocsEditable 19837 @DocsEditable
19978 @Experimental // untriaged
19979 final String voiceUri; 19838 final String voiceUri;
19980 } 19839 }
19981 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 19840 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
19982 // for details. All rights reserved. Use of this source code is governed by a 19841 // for details. All rights reserved. Use of this source code is governed by a
19983 // BSD-style license that can be found in the LICENSE file. 19842 // BSD-style license that can be found in the LICENSE file.
19984 19843
19985 19844
19986 /** 19845 /**
19987 * The type used by the 19846 * The type used by the
19988 * [Window.localStorage] and [Window.sessionStorage] properties. 19847 * [Window.localStorage] and [Window.sessionStorage] properties.
(...skipping 1924 matching lines...) Expand 10 before | Expand all | Expand 10 after
21913 @DocsEditable 21772 @DocsEditable
21914 @DomName('HTMLUnknownElement') 21773 @DomName('HTMLUnknownElement')
21915 class UnknownElement extends Element native "HTMLUnknownElement" { 21774 class UnknownElement extends Element native "HTMLUnknownElement" {
21916 } 21775 }
21917 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 21776 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
21918 // for details. All rights reserved. Use of this source code is governed by a 21777 // for details. All rights reserved. Use of this source code is governed by a
21919 // BSD-style license that can be found in the LICENSE file. 21778 // BSD-style license that can be found in the LICENSE file.
21920 21779
21921 21780
21922 @DomName('URL') 21781 @DomName('URL')
21923 @Experimental // untriaged
21924 class Url native "URL" { 21782 class Url native "URL" {
21925 21783
21926 static String createObjectUrl(blob_OR_source_OR_stream) => 21784 static String createObjectUrl(blob_OR_source_OR_stream) =>
21927 JS('String', 21785 JS('String',
21928 '(self.URL || self.webkitURL).createObjectURL(#)', 21786 '(self.URL || self.webkitURL).createObjectURL(#)',
21929 blob_OR_source_OR_stream); 21787 blob_OR_source_OR_stream);
21930 21788
21931 static void revokeObjectUrl(String url) => 21789 static void revokeObjectUrl(String url) =>
21932 JS('void', 21790 JS('void',
21933 '(self.URL || self.webkitURL).revokeObjectURL(#)', url); 21791 '(self.URL || self.webkitURL).revokeObjectURL(#)', url);
(...skipping 820 matching lines...) Expand 10 before | Expand all | Expand 10 after
22754 } 22612 }
22755 22613
22756 /** 22614 /**
22757 * Checks whether [convertPointFromNodeToPage] and 22615 * Checks whether [convertPointFromNodeToPage] and
22758 * [convertPointFromPageToNode] are supported on the current platform. 22616 * [convertPointFromPageToNode] are supported on the current platform.
22759 */ 22617 */
22760 static bool get supportsPointConversions => _DomPoint.supported; 22618 static bool get supportsPointConversions => _DomPoint.supported;
22761 22619
22762 @DomName('Window.DOMContentLoadedEvent') 22620 @DomName('Window.DOMContentLoadedEvent')
22763 @DocsEditable 22621 @DocsEditable
22764 @Experimental // untriaged
22765 static const EventStreamProvider<Event> contentLoadedEvent = const EventStream Provider<Event>('DOMContentLoaded'); 22622 static const EventStreamProvider<Event> contentLoadedEvent = const EventStream Provider<Event>('DOMContentLoaded');
22766 22623
22767 @DomName('Window.devicemotionEvent') 22624 @DomName('Window.devicemotionEvent')
22768 @DocsEditable 22625 @DocsEditable
22769 // http://dev.w3.org/geo/api/spec-source-orientation.html#devicemotion 22626 // http://dev.w3.org/geo/api/spec-source-orientation.html#devicemotion
22770 @Experimental 22627 @Experimental
22771 static const EventStreamProvider<DeviceMotionEvent> deviceMotionEvent = const EventStreamProvider<DeviceMotionEvent>('devicemotion'); 22628 static const EventStreamProvider<DeviceMotionEvent> deviceMotionEvent = const EventStreamProvider<DeviceMotionEvent>('devicemotion');
22772 22629
22773 @DomName('Window.deviceorientationEvent') 22630 @DomName('Window.deviceorientationEvent')
22774 @DocsEditable 22631 @DocsEditable
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
22814 22671
22815 @DomName('Window.unloadEvent') 22672 @DomName('Window.unloadEvent')
22816 @DocsEditable 22673 @DocsEditable
22817 static const EventStreamProvider<Event> unloadEvent = const EventStreamProvide r<Event>('unload'); 22674 static const EventStreamProvider<Event> unloadEvent = const EventStreamProvide r<Event>('unload');
22818 22675
22819 @DomName('Window.webkitAnimationEndEvent') 22676 @DomName('Window.webkitAnimationEndEvent')
22820 @DocsEditable 22677 @DocsEditable
22821 @SupportedBrowser(SupportedBrowser.CHROME) 22678 @SupportedBrowser(SupportedBrowser.CHROME)
22822 @SupportedBrowser(SupportedBrowser.SAFARI) 22679 @SupportedBrowser(SupportedBrowser.SAFARI)
22823 @Experimental 22680 @Experimental
22824 @Experimental // untriaged
22825 static const EventStreamProvider<AnimationEvent> animationEndEvent = const Eve ntStreamProvider<AnimationEvent>('webkitAnimationEnd'); 22681 static const EventStreamProvider<AnimationEvent> animationEndEvent = const Eve ntStreamProvider<AnimationEvent>('webkitAnimationEnd');
22826 22682
22827 @DomName('Window.webkitAnimationIterationEvent') 22683 @DomName('Window.webkitAnimationIterationEvent')
22828 @DocsEditable 22684 @DocsEditable
22829 @SupportedBrowser(SupportedBrowser.CHROME) 22685 @SupportedBrowser(SupportedBrowser.CHROME)
22830 @SupportedBrowser(SupportedBrowser.SAFARI) 22686 @SupportedBrowser(SupportedBrowser.SAFARI)
22831 @Experimental 22687 @Experimental
22832 @Experimental // untriaged
22833 static const EventStreamProvider<AnimationEvent> animationIterationEvent = con st EventStreamProvider<AnimationEvent>('webkitAnimationIteration'); 22688 static const EventStreamProvider<AnimationEvent> animationIterationEvent = con st EventStreamProvider<AnimationEvent>('webkitAnimationIteration');
22834 22689
22835 @DomName('Window.webkitAnimationStartEvent') 22690 @DomName('Window.webkitAnimationStartEvent')
22836 @DocsEditable 22691 @DocsEditable
22837 @SupportedBrowser(SupportedBrowser.CHROME) 22692 @SupportedBrowser(SupportedBrowser.CHROME)
22838 @SupportedBrowser(SupportedBrowser.SAFARI) 22693 @SupportedBrowser(SupportedBrowser.SAFARI)
22839 @Experimental 22694 @Experimental
22840 @Experimental // untriaged
22841 static const EventStreamProvider<AnimationEvent> animationStartEvent = const E ventStreamProvider<AnimationEvent>('webkitAnimationStart'); 22695 static const EventStreamProvider<AnimationEvent> animationStartEvent = const E ventStreamProvider<AnimationEvent>('webkitAnimationStart');
22842 22696
22843 @DomName('Window.PERSISTENT') 22697 @DomName('Window.PERSISTENT')
22844 @DocsEditable 22698 @DocsEditable
22845 // http://www.w3.org/TR/file-system-api/#idl-def-LocalFileSystem 22699 // http://www.w3.org/TR/file-system-api/#idl-def-LocalFileSystem
22846 @Experimental 22700 @Experimental
22847 static const int PERSISTENT = 1; 22701 static const int PERSISTENT = 1;
22848 22702
22849 @DomName('Window.TEMPORARY') 22703 @DomName('Window.TEMPORARY')
22850 @DocsEditable 22704 @DocsEditable
22851 // http://www.w3.org/TR/file-system-api/#idl-def-LocalFileSystem 22705 // http://www.w3.org/TR/file-system-api/#idl-def-LocalFileSystem
22852 @Experimental 22706 @Experimental
22853 static const int TEMPORARY = 0; 22707 static const int TEMPORARY = 0;
22854 22708
22855 @JSName('CSS') 22709 @JSName('CSS')
22856 @DomName('Window.CSS') 22710 @DomName('Window.CSS')
22857 @DocsEditable 22711 @DocsEditable
22858 @Experimental // untriaged
22859 final Css css; 22712 final Css css;
22860 22713
22861 @DomName('Window.applicationCache') 22714 @DomName('Window.applicationCache')
22862 @DocsEditable 22715 @DocsEditable
22863 final ApplicationCache applicationCache; 22716 final ApplicationCache applicationCache;
22864 22717
22865 @DomName('Window.closed') 22718 @DomName('Window.closed')
22866 @DocsEditable 22719 @DocsEditable
22867 final bool closed; 22720 final bool closed;
22868 22721
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
23013 @Creates('Window|=Object') 22866 @Creates('Window|=Object')
23014 @Returns('Window|=Object') 22867 @Returns('Window|=Object')
23015 final dynamic _get_self; 22868 final dynamic _get_self;
23016 22869
23017 @DomName('Window.sessionStorage') 22870 @DomName('Window.sessionStorage')
23018 @DocsEditable 22871 @DocsEditable
23019 final Storage sessionStorage; 22872 final Storage sessionStorage;
23020 22873
23021 @DomName('Window.speechSynthesis') 22874 @DomName('Window.speechSynthesis')
23022 @DocsEditable 22875 @DocsEditable
23023 @Experimental // untriaged 22876 // https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#tts-section
22877 @Experimental
23024 final SpeechSynthesis speechSynthesis; 22878 final SpeechSynthesis speechSynthesis;
23025 22879
23026 @DomName('Window.status') 22880 @DomName('Window.status')
23027 @DocsEditable 22881 @DocsEditable
23028 String status; 22882 String status;
23029 22883
23030 @DomName('Window.statusbar') 22884 @DomName('Window.statusbar')
23031 @DocsEditable 22885 @DocsEditable
23032 final BarProp statusbar; 22886 final BarProp statusbar;
23033 22887
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after
23301 Future<Entry> resolveLocalFileSystemUrl(String url) { 23155 Future<Entry> resolveLocalFileSystemUrl(String url) {
23302 var completer = new Completer<Entry>(); 23156 var completer = new Completer<Entry>();
23303 _resolveLocalFileSystemUrl(url, 23157 _resolveLocalFileSystemUrl(url,
23304 (value) { completer.complete(value); }, 23158 (value) { completer.complete(value); },
23305 (error) { completer.completeError(error); }); 23159 (error) { completer.completeError(error); });
23306 return completer.future; 23160 return completer.future;
23307 } 23161 }
23308 23162
23309 @DomName('Window.onDOMContentLoaded') 23163 @DomName('Window.onDOMContentLoaded')
23310 @DocsEditable 23164 @DocsEditable
23311 @Experimental // untriaged
23312 Stream<Event> get onContentLoaded => contentLoadedEvent.forTarget(this); 23165 Stream<Event> get onContentLoaded => contentLoadedEvent.forTarget(this);
23313 23166
23314 @DomName('Window.onabort') 23167 @DomName('Window.onabort')
23315 @DocsEditable 23168 @DocsEditable
23316 Stream<Event> get onAbort => Element.abortEvent.forTarget(this); 23169 Stream<Event> get onAbort => Element.abortEvent.forTarget(this);
23317 23170
23318 @DomName('Window.onblur') 23171 @DomName('Window.onblur')
23319 @DocsEditable 23172 @DocsEditable
23320 Stream<Event> get onBlur => Element.blurEvent.forTarget(this); 23173 Stream<Event> get onBlur => Element.blurEvent.forTarget(this);
23321 23174
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
23516 @DomName('Window.ontransitionend') 23369 @DomName('Window.ontransitionend')
23517 @DocsEditable 23370 @DocsEditable
23518 Stream<TransitionEvent> get onTransitionEnd => Element.transitionEndEvent.forT arget(this); 23371 Stream<TransitionEvent> get onTransitionEnd => Element.transitionEndEvent.forT arget(this);
23519 23372
23520 @DomName('Window.onunload') 23373 @DomName('Window.onunload')
23521 @DocsEditable 23374 @DocsEditable
23522 Stream<Event> get onUnload => unloadEvent.forTarget(this); 23375 Stream<Event> get onUnload => unloadEvent.forTarget(this);
23523 23376
23524 @DomName('Window.onwebkitAnimationEnd') 23377 @DomName('Window.onwebkitAnimationEnd')
23525 @DocsEditable 23378 @DocsEditable
23526 @Experimental // untriaged 23379 @Experimental
23527 Stream<AnimationEvent> get onAnimationEnd => animationEndEvent.forTarget(this) ; 23380 Stream<AnimationEvent> get onAnimationEnd => animationEndEvent.forTarget(this) ;
23528 23381
23529 @DomName('Window.onwebkitAnimationIteration') 23382 @DomName('Window.onwebkitAnimationIteration')
23530 @DocsEditable 23383 @DocsEditable
23531 @Experimental // untriaged 23384 @Experimental
23532 Stream<AnimationEvent> get onAnimationIteration => animationIterationEvent.for Target(this); 23385 Stream<AnimationEvent> get onAnimationIteration => animationIterationEvent.for Target(this);
23533 23386
23534 @DomName('Window.onwebkitAnimationStart') 23387 @DomName('Window.onwebkitAnimationStart')
23535 @DocsEditable 23388 @DocsEditable
23536 @Experimental // untriaged 23389 @Experimental
23537 Stream<AnimationEvent> get onAnimationStart => animationStartEvent.forTarget(t his); 23390 Stream<AnimationEvent> get onAnimationStart => animationStartEvent.forTarget(t his);
23538 23391
23539 23392
23540 @DomName('DOMWindow.beforeunloadEvent') 23393 @DomName('DOMWindow.beforeunloadEvent')
23541 @DocsEditable 23394 @DocsEditable
23542 static const EventStreamProvider<BeforeUnloadEvent> beforeUnloadEvent = 23395 static const EventStreamProvider<BeforeUnloadEvent> beforeUnloadEvent =
23543 const _BeforeUnloadEventStreamProvider('beforeunload'); 23396 const _BeforeUnloadEventStreamProvider('beforeunload');
23544 23397
23545 @DomName('DOMWindow.onbeforeunload') 23398 @DomName('DOMWindow.onbeforeunload')
23546 @DocsEditable 23399 @DocsEditable
(...skipping 6066 matching lines...) Expand 10 before | Expand all | Expand 10 after
29613 _position = nextPosition; 29466 _position = nextPosition;
29614 return true; 29467 return true;
29615 } 29468 }
29616 _current = null; 29469 _current = null;
29617 _position = _array.length; 29470 _position = _array.length;
29618 return false; 29471 return false;
29619 } 29472 }
29620 29473
29621 T get current => _current; 29474 T get current => _current;
29622 } 29475 }
OLDNEW
« no previous file with comments | « no previous file | sdk/lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698