| OLD | NEW |
| 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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 @DomName('HTMLAnchorElement.href') | 133 @DomName('HTMLAnchorElement.href') |
| 134 @DocsEditable | 134 @DocsEditable |
| 135 String href; | 135 String href; |
| 136 | 136 |
| 137 @DomName('HTMLAnchorElement.hreflang') | 137 @DomName('HTMLAnchorElement.hreflang') |
| 138 @DocsEditable | 138 @DocsEditable |
| 139 String hreflang; | 139 String hreflang; |
| 140 | 140 |
| 141 @DomName('HTMLAnchorElement.name') | 141 @DomName('HTMLAnchorElement.name') |
| 142 @DocsEditable | 142 @DocsEditable |
| 143 // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#H
TMLAnchorElement-partial |
| 144 @deprecated // deprecated |
| 143 String name; | 145 String name; |
| 144 | 146 |
| 145 @DomName('HTMLAnchorElement.origin') | 147 @DomName('HTMLAnchorElement.origin') |
| 146 @DocsEditable | 148 @DocsEditable |
| 149 // WebKit only |
| 150 @deprecated // nonstandard |
| 147 final String origin; | 151 final String origin; |
| 148 | 152 |
| 149 @DomName('HTMLAnchorElement.pathname') | 153 @DomName('HTMLAnchorElement.pathname') |
| 150 @DocsEditable | 154 @DocsEditable |
| 151 String pathname; | 155 String pathname; |
| 152 | 156 |
| 153 @DomName('HTMLAnchorElement.ping') | 157 @DomName('HTMLAnchorElement.ping') |
| 154 @DocsEditable | 158 @DocsEditable |
| 159 // http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-sema
ntics.html#the-a-element |
| 160 @deprecated // deprecated |
| 155 String ping; | 161 String ping; |
| 156 | 162 |
| 157 @DomName('HTMLAnchorElement.port') | 163 @DomName('HTMLAnchorElement.port') |
| 158 @DocsEditable | 164 @DocsEditable |
| 159 String port; | 165 String port; |
| 160 | 166 |
| 161 @DomName('HTMLAnchorElement.protocol') | 167 @DomName('HTMLAnchorElement.protocol') |
| 162 @DocsEditable | 168 @DocsEditable |
| 163 String protocol; | 169 String protocol; |
| 164 | 170 |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 207 // BSD-style license that can be found in the LICENSE file. | 213 // BSD-style license that can be found in the LICENSE file. |
| 208 | 214 |
| 209 | 215 |
| 210 @DocsEditable | 216 @DocsEditable |
| 211 @DomName('DOMApplicationCache') | 217 @DomName('DOMApplicationCache') |
| 212 @SupportedBrowser(SupportedBrowser.CHROME) | 218 @SupportedBrowser(SupportedBrowser.CHROME) |
| 213 @SupportedBrowser(SupportedBrowser.FIREFOX) | 219 @SupportedBrowser(SupportedBrowser.FIREFOX) |
| 214 @SupportedBrowser(SupportedBrowser.IE, '10') | 220 @SupportedBrowser(SupportedBrowser.IE, '10') |
| 215 @SupportedBrowser(SupportedBrowser.OPERA) | 221 @SupportedBrowser(SupportedBrowser.OPERA) |
| 216 @SupportedBrowser(SupportedBrowser.SAFARI) | 222 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 223 @Unstable |
| 217 class ApplicationCache extends EventTarget native "ApplicationCache,DOMApplicati
onCache,OfflineResourceList" { | 224 class ApplicationCache extends EventTarget native "ApplicationCache,DOMApplicati
onCache,OfflineResourceList" { |
| 218 | 225 |
| 219 @DomName('DOMApplicationCache.cachedEvent') | 226 @DomName('DOMApplicationCache.cachedEvent') |
| 220 @DocsEditable | 227 @DocsEditable |
| 221 static const EventStreamProvider<Event> cachedEvent = const EventStreamProvide
r<Event>('cached'); | 228 static const EventStreamProvider<Event> cachedEvent = const EventStreamProvide
r<Event>('cached'); |
| 222 | 229 |
| 223 @DomName('DOMApplicationCache.checkingEvent') | 230 @DomName('DOMApplicationCache.checkingEvent') |
| 224 @DocsEditable | 231 @DocsEditable |
| 225 static const EventStreamProvider<Event> checkingEvent = const EventStreamProvi
der<Event>('checking'); | 232 static const EventStreamProvider<Event> checkingEvent = const EventStreamProvi
der<Event>('checking'); |
| 226 | 233 |
| (...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 383 @DomName('HTMLAreaElement.href') | 390 @DomName('HTMLAreaElement.href') |
| 384 @DocsEditable | 391 @DocsEditable |
| 385 String href; | 392 String href; |
| 386 | 393 |
| 387 @DomName('HTMLAreaElement.pathname') | 394 @DomName('HTMLAreaElement.pathname') |
| 388 @DocsEditable | 395 @DocsEditable |
| 389 final String pathname; | 396 final String pathname; |
| 390 | 397 |
| 391 @DomName('HTMLAreaElement.ping') | 398 @DomName('HTMLAreaElement.ping') |
| 392 @DocsEditable | 399 @DocsEditable |
| 400 // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#H
TMLAreaElement-partial |
| 401 @deprecated // deprecated |
| 393 String ping; | 402 String ping; |
| 394 | 403 |
| 395 @DomName('HTMLAreaElement.port') | 404 @DomName('HTMLAreaElement.port') |
| 396 @DocsEditable | 405 @DocsEditable |
| 397 final String port; | 406 final String port; |
| 398 | 407 |
| 399 @DomName('HTMLAreaElement.protocol') | 408 @DomName('HTMLAreaElement.protocol') |
| 400 @DocsEditable | 409 @DocsEditable |
| 401 final String protocol; | 410 final String protocol; |
| 402 | 411 |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 441 static AudioElement _create_1(src) => JS('AudioElement', 'new Audio(#)', src); | 450 static AudioElement _create_1(src) => JS('AudioElement', 'new Audio(#)', src); |
| 442 static AudioElement _create_2() => JS('AudioElement', 'new Audio()'); | 451 static AudioElement _create_2() => JS('AudioElement', 'new Audio()'); |
| 443 } | 452 } |
| 444 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 453 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 445 // for details. All rights reserved. Use of this source code is governed by a | 454 // for details. All rights reserved. Use of this source code is governed by a |
| 446 // BSD-style license that can be found in the LICENSE file. | 455 // BSD-style license that can be found in the LICENSE file. |
| 447 | 456 |
| 448 | 457 |
| 449 @DocsEditable | 458 @DocsEditable |
| 450 @DomName('AutocompleteErrorEvent') | 459 @DomName('AutocompleteErrorEvent') |
| 460 // http://wiki.whatwg.org/wiki/RequestAutocomplete |
| 461 @Experimental |
| 451 class AutocompleteErrorEvent extends Event native "AutocompleteErrorEvent" { | 462 class AutocompleteErrorEvent extends Event native "AutocompleteErrorEvent" { |
| 452 | 463 |
| 453 @DomName('AutocompleteErrorEvent.reason') | 464 @DomName('AutocompleteErrorEvent.reason') |
| 454 @DocsEditable | 465 @DocsEditable |
| 455 final String reason; | 466 final String reason; |
| 456 } | 467 } |
| 457 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 468 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 458 // for details. All rights reserved. Use of this source code is governed by a | 469 // for details. All rights reserved. Use of this source code is governed by a |
| 459 // BSD-style license that can be found in the LICENSE file. | 470 // BSD-style license that can be found in the LICENSE file. |
| 460 | 471 |
| 461 | 472 |
| 462 @DocsEditable | 473 @DocsEditable |
| 463 @DomName('HTMLBRElement') | 474 @DomName('HTMLBRElement') |
| 464 class BRElement extends Element native "HTMLBRElement" { | 475 class BRElement extends Element native "HTMLBRElement" { |
| 465 | 476 |
| 466 @DomName('HTMLBRElement.HTMLBRElement') | 477 @DomName('HTMLBRElement.HTMLBRElement') |
| 467 @DocsEditable | 478 @DocsEditable |
| 468 factory BRElement() => document.$dom_createElement("br"); | 479 factory BRElement() => document.$dom_createElement("br"); |
| 469 } | 480 } |
| 470 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 481 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 471 // for details. All rights reserved. Use of this source code is governed by a | 482 // for details. All rights reserved. Use of this source code is governed by a |
| 472 // BSD-style license that can be found in the LICENSE file. | 483 // BSD-style license that can be found in the LICENSE file. |
| 473 | 484 |
| 474 | 485 |
| 475 @DocsEditable | 486 @DocsEditable |
| 476 @DomName('BarInfo') | 487 @DomName('BarInfo') |
| 488 // http://www.whatwg.org/specs/web-apps/current-work/multipage/browsers.html#bar
prop (Rename to BarProp?) |
| 489 @Experimental // non-standard |
| 477 class BarInfo native "BarInfo" { | 490 class BarInfo native "BarInfo" { |
| 478 | 491 |
| 479 @DomName('BarInfo.visible') | 492 @DomName('BarInfo.visible') |
| 480 @DocsEditable | 493 @DocsEditable |
| 481 final bool visible; | 494 final bool visible; |
| 482 } | 495 } |
| 483 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 496 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 484 // for details. All rights reserved. Use of this source code is governed by a | 497 // for details. All rights reserved. Use of this source code is governed by a |
| 485 // BSD-style license that can be found in the LICENSE file. | 498 // BSD-style license that can be found in the LICENSE file. |
| 486 | 499 |
| (...skipping 14 matching lines...) Expand all Loading... |
| 501 @DocsEditable | 514 @DocsEditable |
| 502 String target; | 515 String target; |
| 503 } | 516 } |
| 504 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 517 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 505 // for details. All rights reserved. Use of this source code is governed by a | 518 // for details. All rights reserved. Use of this source code is governed by a |
| 506 // BSD-style license that can be found in the LICENSE file. | 519 // BSD-style license that can be found in the LICENSE file. |
| 507 | 520 |
| 508 | 521 |
| 509 @DocsEditable | 522 @DocsEditable |
| 510 @DomName('BeforeLoadEvent') | 523 @DomName('BeforeLoadEvent') |
| 524 @Experimental |
| 511 class BeforeLoadEvent extends Event native "BeforeLoadEvent" { | 525 class BeforeLoadEvent extends Event native "BeforeLoadEvent" { |
| 512 | 526 |
| 513 @DomName('BeforeLoadEvent.url') | 527 @DomName('BeforeLoadEvent.url') |
| 514 @DocsEditable | 528 @DocsEditable |
| 515 final String url; | 529 final String url; |
| 516 } | 530 } |
| 517 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 531 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 518 // for details. All rights reserved. Use of this source code is governed by a | 532 // for details. All rights reserved. Use of this source code is governed by a |
| 519 // BSD-style license that can be found in the LICENSE file. | 533 // BSD-style license that can be found in the LICENSE file. |
| 520 | 534 |
| (...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 703 @DomName('HTMLButtonElement.formNoValidate') | 717 @DomName('HTMLButtonElement.formNoValidate') |
| 704 @DocsEditable | 718 @DocsEditable |
| 705 bool formNoValidate; | 719 bool formNoValidate; |
| 706 | 720 |
| 707 @DomName('HTMLButtonElement.formTarget') | 721 @DomName('HTMLButtonElement.formTarget') |
| 708 @DocsEditable | 722 @DocsEditable |
| 709 String formTarget; | 723 String formTarget; |
| 710 | 724 |
| 711 @DomName('HTMLButtonElement.labels') | 725 @DomName('HTMLButtonElement.labels') |
| 712 @DocsEditable | 726 @DocsEditable |
| 727 @Unstable |
| 713 @Returns('NodeList') | 728 @Returns('NodeList') |
| 714 @Creates('NodeList') | 729 @Creates('NodeList') |
| 715 final List<Node> labels; | 730 final List<Node> labels; |
| 716 | 731 |
| 717 @DomName('HTMLButtonElement.name') | 732 @DomName('HTMLButtonElement.name') |
| 718 @DocsEditable | 733 @DocsEditable |
| 719 String name; | 734 String name; |
| 720 | 735 |
| 721 @DomName('HTMLButtonElement.type') | 736 @DomName('HTMLButtonElement.type') |
| 722 @DocsEditable | 737 @DocsEditable |
| (...skipping 23 matching lines...) Expand all Loading... |
| 746 @DocsEditable | 761 @DocsEditable |
| 747 void setCustomValidity(String error) native; | 762 void setCustomValidity(String error) native; |
| 748 } | 763 } |
| 749 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 764 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 750 // for details. All rights reserved. Use of this source code is governed by a | 765 // for details. All rights reserved. Use of this source code is governed by a |
| 751 // BSD-style license that can be found in the LICENSE file. | 766 // BSD-style license that can be found in the LICENSE file. |
| 752 | 767 |
| 753 | 768 |
| 754 @DocsEditable | 769 @DocsEditable |
| 755 @DomName('CDATASection') | 770 @DomName('CDATASection') |
| 771 // http://dom.spec.whatwg.org/#cdatasection |
| 772 @deprecated // deprecated |
| 756 class CDataSection extends Text native "CDATASection" { | 773 class CDataSection extends Text native "CDATASection" { |
| 757 } | 774 } |
| 758 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 775 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 759 // for details. All rights reserved. Use of this source code is governed by a | 776 // for details. All rights reserved. Use of this source code is governed by a |
| 760 // BSD-style license that can be found in the LICENSE file. | 777 // BSD-style license that can be found in the LICENSE file. |
| 761 | 778 |
| 762 | 779 |
| 763 @DocsEditable | 780 @DocsEditable |
| 764 @DomName('Canvas2DContextAttributes') | 781 @DomName('Canvas2DContextAttributes') |
| 782 @Experimental // untriaged |
| 765 class Canvas2DContextAttributes native "Canvas2DContextAttributes" { | 783 class Canvas2DContextAttributes native "Canvas2DContextAttributes" { |
| 766 | 784 |
| 767 @DomName('Canvas2DContextAttributes.alpha') | 785 @DomName('Canvas2DContextAttributes.alpha') |
| 768 @DocsEditable | 786 @DocsEditable |
| 787 @Experimental // untriaged |
| 769 bool alpha; | 788 bool alpha; |
| 770 } | 789 } |
| 771 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 790 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 772 // for details. All rights reserved. Use of this source code is governed by a | 791 // for details. All rights reserved. Use of this source code is governed by a |
| 773 // BSD-style license that can be found in the LICENSE file. | 792 // BSD-style license that can be found in the LICENSE file. |
| 774 | 793 |
| 775 | 794 |
| 776 @DomName('HTMLCanvasElement') | 795 @DomName('HTMLCanvasElement') |
| 777 class CanvasElement extends Element implements CanvasImageSource native "HTMLCan
vasElement" { | 796 class CanvasElement extends Element implements CanvasImageSource native "HTMLCan
vasElement" { |
| 778 | 797 |
| (...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 996 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1015 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 997 // for details. All rights reserved. Use of this source code is governed by a | 1016 // for details. All rights reserved. Use of this source code is governed by a |
| 998 // BSD-style license that can be found in the LICENSE file. | 1017 // BSD-style license that can be found in the LICENSE file. |
| 999 | 1018 |
| 1000 | 1019 |
| 1001 @DomName('CanvasRenderingContext2D') | 1020 @DomName('CanvasRenderingContext2D') |
| 1002 class CanvasRenderingContext2D extends CanvasRenderingContext native "CanvasRend
eringContext2D" { | 1021 class CanvasRenderingContext2D extends CanvasRenderingContext native "CanvasRend
eringContext2D" { |
| 1003 | 1022 |
| 1004 @DomName('CanvasRenderingContext2D.currentPath') | 1023 @DomName('CanvasRenderingContext2D.currentPath') |
| 1005 @DocsEditable | 1024 @DocsEditable |
| 1025 // http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-elem
ent.html#path-objects |
| 1026 @Experimental |
| 1006 Path currentPath; | 1027 Path currentPath; |
| 1007 | 1028 |
| 1008 @DomName('CanvasRenderingContext2D.fillStyle') | 1029 @DomName('CanvasRenderingContext2D.fillStyle') |
| 1009 @DocsEditable | 1030 @DocsEditable |
| 1010 @Creates('String|CanvasGradient|CanvasPattern') | 1031 @Creates('String|CanvasGradient|CanvasPattern') |
| 1011 @Returns('String|CanvasGradient|CanvasPattern') | 1032 @Returns('String|CanvasGradient|CanvasPattern') |
| 1012 dynamic fillStyle; | 1033 dynamic fillStyle; |
| 1013 | 1034 |
| 1014 @DomName('CanvasRenderingContext2D.font') | 1035 @DomName('CanvasRenderingContext2D.font') |
| 1015 @DocsEditable | 1036 @DocsEditable |
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1158 @DomName('CanvasRenderingContext2D.fillRect') | 1179 @DomName('CanvasRenderingContext2D.fillRect') |
| 1159 @DocsEditable | 1180 @DocsEditable |
| 1160 void fillRect(num x, num y, num width, num height) native; | 1181 void fillRect(num x, num y, num width, num height) native; |
| 1161 | 1182 |
| 1162 @DomName('CanvasRenderingContext2D.fillText') | 1183 @DomName('CanvasRenderingContext2D.fillText') |
| 1163 @DocsEditable | 1184 @DocsEditable |
| 1164 void fillText(String text, num x, num y, [num maxWidth]) native; | 1185 void fillText(String text, num x, num y, [num maxWidth]) native; |
| 1165 | 1186 |
| 1166 @DomName('CanvasRenderingContext2D.getContextAttributes') | 1187 @DomName('CanvasRenderingContext2D.getContextAttributes') |
| 1167 @DocsEditable | 1188 @DocsEditable |
| 1189 @Experimental // untriaged |
| 1168 Canvas2DContextAttributes getContextAttributes() native; | 1190 Canvas2DContextAttributes getContextAttributes() native; |
| 1169 | 1191 |
| 1170 @DomName('CanvasRenderingContext2D.getImageData') | 1192 @DomName('CanvasRenderingContext2D.getImageData') |
| 1171 @DocsEditable | 1193 @DocsEditable |
| 1172 @Creates('ImageData|=Object') | 1194 @Creates('ImageData|=Object') |
| 1173 ImageData getImageData(num sx, num sy, num sw, num sh) { | 1195 ImageData getImageData(num sx, num sy, num sw, num sh) { |
| 1174 return _convertNativeToDart_ImageData(_getImageData_1(sx, sy, sw, sh)); | 1196 return _convertNativeToDart_ImageData(_getImageData_1(sx, sy, sw, sh)); |
| 1175 } | 1197 } |
| 1176 @JSName('getImageData') | 1198 @JSName('getImageData') |
| 1177 @DomName('CanvasRenderingContext2D.getImageData') | 1199 @DomName('CanvasRenderingContext2D.getImageData') |
| (...skipping 429 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1607 @DomName('Comment') | 1629 @DomName('Comment') |
| 1608 class Comment extends CharacterData native "Comment" { | 1630 class Comment extends CharacterData native "Comment" { |
| 1609 } | 1631 } |
| 1610 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1632 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1611 // for details. All rights reserved. Use of this source code is governed by a | 1633 // for details. All rights reserved. Use of this source code is governed by a |
| 1612 // BSD-style license that can be found in the LICENSE file. | 1634 // BSD-style license that can be found in the LICENSE file. |
| 1613 | 1635 |
| 1614 | 1636 |
| 1615 @DocsEditable | 1637 @DocsEditable |
| 1616 @DomName('Composition') | 1638 @DomName('Composition') |
| 1639 @Experimental // untriaged |
| 1617 class Composition native "Composition" { | 1640 class Composition native "Composition" { |
| 1618 | 1641 |
| 1619 @DomName('Composition.caret') | 1642 @DomName('Composition.caret') |
| 1620 @DocsEditable | 1643 @DocsEditable |
| 1644 @Experimental // untriaged |
| 1621 final Range caret; | 1645 final Range caret; |
| 1622 | 1646 |
| 1623 @DomName('Composition.text') | 1647 @DomName('Composition.text') |
| 1624 @DocsEditable | 1648 @DocsEditable |
| 1649 @Experimental // untriaged |
| 1625 final Node text; | 1650 final Node text; |
| 1626 } | 1651 } |
| 1627 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1652 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 1628 // for details. All rights reserved. Use of this source code is governed by a | 1653 // for details. All rights reserved. Use of this source code is governed by a |
| 1629 // BSD-style license that can be found in the LICENSE file. | 1654 // BSD-style license that can be found in the LICENSE file. |
| 1630 | 1655 |
| 1631 // WARNING: Do not edit - generated code. | 1656 // WARNING: Do not edit - generated code. |
| 1632 | 1657 |
| 1633 | 1658 |
| 1634 @DomName('CompositionEvent') | 1659 @DomName('CompositionEvent') |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1745 @DomName('Console.trace') | 1770 @DomName('Console.trace') |
| 1746 void trace(Object arg) => _isConsoleDefined ? | 1771 void trace(Object arg) => _isConsoleDefined ? |
| 1747 JS('void', 'console.trace(#)', arg) : null; | 1772 JS('void', 'console.trace(#)', arg) : null; |
| 1748 | 1773 |
| 1749 @DomName('Console.warn') | 1774 @DomName('Console.warn') |
| 1750 void warn(Object arg) => _isConsoleDefined ? | 1775 void warn(Object arg) => _isConsoleDefined ? |
| 1751 JS('void', 'console.warn(#)', arg) : null; | 1776 JS('void', 'console.warn(#)', arg) : null; |
| 1752 | 1777 |
| 1753 @DomName('Console.clear') | 1778 @DomName('Console.clear') |
| 1754 @DocsEditable | 1779 @DocsEditable |
| 1780 @Experimental |
| 1755 void clear(Object arg) native; | 1781 void clear(Object arg) native; |
| 1756 | 1782 |
| 1757 @DomName('Console.table') | 1783 @DomName('Console.table') |
| 1758 @DocsEditable | 1784 @DocsEditable |
| 1785 @Experimental |
| 1759 void table(Object arg) native; | 1786 void table(Object arg) native; |
| 1760 | 1787 |
| 1761 } | 1788 } |
| 1762 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1789 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1763 // for details. All rights reserved. Use of this source code is governed by a | 1790 // for details. All rights reserved. Use of this source code is governed by a |
| 1764 // BSD-style license that can be found in the LICENSE file. | 1791 // BSD-style license that can be found in the LICENSE file. |
| 1765 | 1792 |
| 1766 | 1793 |
| 1767 @DocsEditable | 1794 @DocsEditable |
| 1768 @DomName('HTMLContentElement') | 1795 @DomName('HTMLContentElement') |
| 1769 @SupportedBrowser(SupportedBrowser.CHROME, '26') | 1796 @SupportedBrowser(SupportedBrowser.CHROME, '26') |
| 1770 @Experimental | 1797 @Experimental |
| 1798 // https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/shadow/index.html#cont
ent-element |
| 1771 class ContentElement extends Element native "HTMLContentElement" { | 1799 class ContentElement extends Element native "HTMLContentElement" { |
| 1772 | 1800 |
| 1773 @DomName('HTMLContentElement.HTMLContentElement') | 1801 @DomName('HTMLContentElement.HTMLContentElement') |
| 1774 @DocsEditable | 1802 @DocsEditable |
| 1775 factory ContentElement() => document.$dom_createElement("content"); | 1803 factory ContentElement() => document.$dom_createElement("content"); |
| 1776 | 1804 |
| 1777 /// Checks if this type is supported on the current platform. | 1805 /// Checks if this type is supported on the current platform. |
| 1778 static bool get supported => Element.isTagSupported('content'); | 1806 static bool get supported => Element.isTagSupported('content'); |
| 1779 | 1807 |
| 1780 @DomName('HTMLContentElement.resetStyleInheritance') | 1808 @DomName('HTMLContentElement.resetStyleInheritance') |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1831 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1859 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1832 // for details. All rights reserved. Use of this source code is governed by a | 1860 // for details. All rights reserved. Use of this source code is governed by a |
| 1833 // BSD-style license that can be found in the LICENSE file. | 1861 // BSD-style license that can be found in the LICENSE file. |
| 1834 | 1862 |
| 1835 | 1863 |
| 1836 @DocsEditable | 1864 @DocsEditable |
| 1837 @DomName('Crypto') | 1865 @DomName('Crypto') |
| 1838 @SupportedBrowser(SupportedBrowser.CHROME) | 1866 @SupportedBrowser(SupportedBrowser.CHROME) |
| 1839 @SupportedBrowser(SupportedBrowser.SAFARI) | 1867 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 1840 @Experimental | 1868 @Experimental |
| 1869 // http://www.w3.org/TR/WebCryptoAPI/ |
| 1841 class Crypto native "Crypto" { | 1870 class Crypto native "Crypto" { |
| 1842 | 1871 |
| 1843 /// Checks if this type is supported on the current platform. | 1872 /// Checks if this type is supported on the current platform. |
| 1844 static bool get supported => JS('bool', '!!(window.crypto && window.crypto.get
RandomValues)'); | 1873 static bool get supported => JS('bool', '!!(window.crypto && window.crypto.get
RandomValues)'); |
| 1845 | 1874 |
| 1846 @DomName('Crypto.getRandomValues') | 1875 @DomName('Crypto.getRandomValues') |
| 1847 @DocsEditable | 1876 @DocsEditable |
| 1848 @Creates('TypedData') | 1877 @Creates('TypedData') |
| 1849 @Returns('TypedData|Null') | 1878 @Returns('TypedData|Null') |
| 1850 TypedData getRandomValues(TypedData array) native; | 1879 TypedData getRandomValues(TypedData array) native; |
| 1851 } | 1880 } |
| 1852 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1881 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1853 // for details. All rights reserved. Use of this source code is governed by a | 1882 // for details. All rights reserved. Use of this source code is governed by a |
| 1854 // BSD-style license that can be found in the LICENSE file. | 1883 // BSD-style license that can be found in the LICENSE file. |
| 1855 | 1884 |
| 1856 | 1885 |
| 1857 @DocsEditable | 1886 @DocsEditable |
| 1858 @DomName('CSS') | 1887 @DomName('CSS') |
| 1888 @Experimental // untriaged |
| 1859 class Css native "CSS" { | 1889 class Css native "CSS" { |
| 1860 | 1890 |
| 1861 @DomName('CSS.supports') | 1891 @DomName('CSS.supports') |
| 1862 @DocsEditable | 1892 @DocsEditable |
| 1893 @Experimental // untriaged |
| 1863 bool supports(String conditionText_OR_property, [String value]) native; | 1894 bool supports(String conditionText_OR_property, [String value]) native; |
| 1864 } | 1895 } |
| 1865 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1896 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1866 // for details. All rights reserved. Use of this source code is governed by a | 1897 // for details. All rights reserved. Use of this source code is governed by a |
| 1867 // BSD-style license that can be found in the LICENSE file. | 1898 // BSD-style license that can be found in the LICENSE file. |
| 1868 | 1899 |
| 1869 | 1900 |
| 1870 @DocsEditable | 1901 @DocsEditable |
| 1871 @DomName('CSSCharsetRule') | 1902 @DomName('CSSCharsetRule') |
| 1903 // http://dev.w3.org/csswg/cssom/#the-csscharsetrule-interface |
| 1904 @Experimental |
| 1872 class CssCharsetRule extends CssRule native "CSSCharsetRule" { | 1905 class CssCharsetRule extends CssRule native "CSSCharsetRule" { |
| 1873 | 1906 |
| 1874 @DomName('CSSCharsetRule.encoding') | 1907 @DomName('CSSCharsetRule.encoding') |
| 1875 @DocsEditable | 1908 @DocsEditable |
| 1876 String encoding; | 1909 String encoding; |
| 1877 } | 1910 } |
| 1878 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1911 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1879 // for details. All rights reserved. Use of this source code is governed by a | 1912 // for details. All rights reserved. Use of this source code is governed by a |
| 1880 // BSD-style license that can be found in the LICENSE file. | 1913 // BSD-style license that can be found in the LICENSE file. |
| 1881 | 1914 |
| 1882 | 1915 |
| 1883 @DocsEditable | 1916 @DocsEditable |
| 1884 @DomName('WebKitCSSFilterRule') | 1917 @DomName('WebKitCSSFilterRule') |
| 1885 @SupportedBrowser(SupportedBrowser.CHROME) | 1918 @SupportedBrowser(SupportedBrowser.CHROME) |
| 1886 @SupportedBrowser(SupportedBrowser.SAFARI) | 1919 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 1887 @Experimental | 1920 @Experimental |
| 1921 // http://www.w3.org/TR/filter-effects/ |
| 1888 class CssFilterRule extends CssRule native "WebKitCSSFilterRule" { | 1922 class CssFilterRule extends CssRule native "WebKitCSSFilterRule" { |
| 1889 | 1923 |
| 1890 @DomName('WebKitCSSFilterRule.style') | 1924 @DomName('WebKitCSSFilterRule.style') |
| 1891 @DocsEditable | 1925 @DocsEditable |
| 1892 final CssStyleDeclaration style; | 1926 final CssStyleDeclaration style; |
| 1893 } | 1927 } |
| 1894 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1928 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1895 // for details. All rights reserved. Use of this source code is governed by a | 1929 // for details. All rights reserved. Use of this source code is governed by a |
| 1896 // BSD-style license that can be found in the LICENSE file. | 1930 // BSD-style license that can be found in the LICENSE file. |
| 1897 | 1931 |
| 1898 | 1932 |
| 1899 @DocsEditable | 1933 @DocsEditable |
| 1900 @DomName('CSSFontFaceLoadEvent') | 1934 @DomName('CSSFontFaceLoadEvent') |
| 1935 // http://www.w3.org/TR/css3-fonts/ |
| 1936 @Experimental |
| 1901 class CssFontFaceLoadEvent extends Event native "CSSFontFaceLoadEvent" { | 1937 class CssFontFaceLoadEvent extends Event native "CSSFontFaceLoadEvent" { |
| 1902 | 1938 |
| 1903 @DomName('CSSFontFaceLoadEvent.error') | 1939 @DomName('CSSFontFaceLoadEvent.error') |
| 1904 @DocsEditable | 1940 @DocsEditable |
| 1905 final DomError error; | 1941 final DomError error; |
| 1906 | 1942 |
| 1907 @DomName('CSSFontFaceLoadEvent.fontface') | 1943 @DomName('CSSFontFaceLoadEvent.fontface') |
| 1908 @DocsEditable | 1944 @DocsEditable |
| 1909 final CssFontFaceRule fontface; | 1945 final CssFontFaceRule fontface; |
| 1910 } | 1946 } |
| (...skipping 12 matching lines...) Expand all Loading... |
| 1923 } | 1959 } |
| 1924 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1960 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1925 // for details. All rights reserved. Use of this source code is governed by a | 1961 // for details. All rights reserved. Use of this source code is governed by a |
| 1926 // BSD-style license that can be found in the LICENSE file. | 1962 // BSD-style license that can be found in the LICENSE file. |
| 1927 | 1963 |
| 1928 | 1964 |
| 1929 @DocsEditable | 1965 @DocsEditable |
| 1930 @DomName('CSSHostRule') | 1966 @DomName('CSSHostRule') |
| 1931 @SupportedBrowser(SupportedBrowser.CHROME, '26') | 1967 @SupportedBrowser(SupportedBrowser.CHROME, '26') |
| 1932 @Experimental | 1968 @Experimental |
| 1969 // https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/shadow/index.html#css-
host-rule-interface |
| 1933 class CssHostRule extends CssRule native "CSSHostRule" { | 1970 class CssHostRule extends CssRule native "CSSHostRule" { |
| 1934 | 1971 |
| 1935 @DomName('CSSHostRule.cssRules') | 1972 @DomName('CSSHostRule.cssRules') |
| 1936 @DocsEditable | 1973 @DocsEditable |
| 1937 @Returns('_CssRuleList') | 1974 @Returns('_CssRuleList') |
| 1938 @Creates('_CssRuleList') | 1975 @Creates('_CssRuleList') |
| 1939 final List<CssRule> cssRules; | 1976 final List<CssRule> cssRules; |
| 1940 | 1977 |
| 1941 @DomName('CSSHostRule.deleteRule') | 1978 @DomName('CSSHostRule.deleteRule') |
| 1942 @DocsEditable | 1979 @DocsEditable |
| (...skipping 27 matching lines...) Expand all Loading... |
| 1970 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 2007 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1971 // for details. All rights reserved. Use of this source code is governed by a | 2008 // for details. All rights reserved. Use of this source code is governed by a |
| 1972 // BSD-style license that can be found in the LICENSE file. | 2009 // BSD-style license that can be found in the LICENSE file. |
| 1973 | 2010 |
| 1974 | 2011 |
| 1975 @DocsEditable | 2012 @DocsEditable |
| 1976 @DomName('WebKitCSSKeyframeRule') | 2013 @DomName('WebKitCSSKeyframeRule') |
| 1977 @SupportedBrowser(SupportedBrowser.CHROME) | 2014 @SupportedBrowser(SupportedBrowser.CHROME) |
| 1978 @SupportedBrowser(SupportedBrowser.SAFARI) | 2015 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 1979 @Experimental | 2016 @Experimental |
| 2017 // http://www.w3.org/TR/css3-animations/#CSSKeyframeRule-interface |
| 1980 class CssKeyframeRule extends CssRule native "WebKitCSSKeyframeRule" { | 2018 class CssKeyframeRule extends CssRule native "WebKitCSSKeyframeRule" { |
| 1981 | 2019 |
| 1982 @DomName('WebKitCSSKeyframeRule.keyText') | 2020 @DomName('WebKitCSSKeyframeRule.keyText') |
| 1983 @DocsEditable | 2021 @DocsEditable |
| 1984 String keyText; | 2022 String keyText; |
| 1985 | 2023 |
| 1986 @DomName('WebKitCSSKeyframeRule.style') | 2024 @DomName('WebKitCSSKeyframeRule.style') |
| 1987 @DocsEditable | 2025 @DocsEditable |
| 1988 final CssStyleDeclaration style; | 2026 final CssStyleDeclaration style; |
| 1989 } | 2027 } |
| 1990 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 2028 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1991 // for details. All rights reserved. Use of this source code is governed by a | 2029 // for details. All rights reserved. Use of this source code is governed by a |
| 1992 // BSD-style license that can be found in the LICENSE file. | 2030 // BSD-style license that can be found in the LICENSE file. |
| 1993 | 2031 |
| 1994 | 2032 |
| 1995 @DocsEditable | 2033 @DocsEditable |
| 1996 @DomName('WebKitCSSKeyframesRule') | 2034 @DomName('WebKitCSSKeyframesRule') |
| 1997 @SupportedBrowser(SupportedBrowser.CHROME) | 2035 @SupportedBrowser(SupportedBrowser.CHROME) |
| 1998 @SupportedBrowser(SupportedBrowser.SAFARI) | 2036 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 1999 @Experimental | 2037 @Experimental |
| 2038 // http://www.w3.org/TR/css3-animations/#csskeyframesrule |
| 2000 class CssKeyframesRule extends CssRule native "WebKitCSSKeyframesRule" { | 2039 class CssKeyframesRule extends CssRule native "WebKitCSSKeyframesRule" { |
| 2001 | 2040 |
| 2002 @DomName('WebKitCSSKeyframesRule.cssRules') | 2041 @DomName('WebKitCSSKeyframesRule.cssRules') |
| 2003 @DocsEditable | 2042 @DocsEditable |
| 2004 @Returns('_CssRuleList') | 2043 @Returns('_CssRuleList') |
| 2005 @Creates('_CssRuleList') | 2044 @Creates('_CssRuleList') |
| 2006 final List<CssRule> cssRules; | 2045 final List<CssRule> cssRules; |
| 2007 | 2046 |
| 2008 @DomName('WebKitCSSKeyframesRule.name') | 2047 @DomName('WebKitCSSKeyframesRule.name') |
| 2009 @DocsEditable | 2048 @DocsEditable |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2068 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 2107 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2069 // for details. All rights reserved. Use of this source code is governed by a | 2108 // for details. All rights reserved. Use of this source code is governed by a |
| 2070 // BSD-style license that can be found in the LICENSE file. | 2109 // BSD-style license that can be found in the LICENSE file. |
| 2071 | 2110 |
| 2072 | 2111 |
| 2073 @DocsEditable | 2112 @DocsEditable |
| 2074 @DomName('WebKitCSSRegionRule') | 2113 @DomName('WebKitCSSRegionRule') |
| 2075 @SupportedBrowser(SupportedBrowser.CHROME) | 2114 @SupportedBrowser(SupportedBrowser.CHROME) |
| 2076 @SupportedBrowser(SupportedBrowser.SAFARI) | 2115 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 2077 @Experimental | 2116 @Experimental |
| 2117 // http://dev.w3.org/csswg/css-regions/#region-style-rule-interface |
| 2078 class CssRegionRule extends CssRule native "WebKitCSSRegionRule" { | 2118 class CssRegionRule extends CssRule native "WebKitCSSRegionRule" { |
| 2079 | 2119 |
| 2080 @DomName('WebKitCSSRegionRule.cssRules') | 2120 @DomName('WebKitCSSRegionRule.cssRules') |
| 2081 @DocsEditable | 2121 @DocsEditable |
| 2082 @Returns('_CssRuleList') | 2122 @Returns('_CssRuleList') |
| 2083 @Creates('_CssRuleList') | 2123 @Creates('_CssRuleList') |
| 2084 final List<CssRule> cssRules; | 2124 final List<CssRule> cssRules; |
| 2085 } | 2125 } |
| 2086 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 2126 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2087 // for details. All rights reserved. Use of this source code is governed by a | 2127 // for details. All rights reserved. Use of this source code is governed by a |
| 2088 // BSD-style license that can be found in the LICENSE file. | 2128 // BSD-style license that can be found in the LICENSE file. |
| 2089 | 2129 |
| 2090 | 2130 |
| 2091 @DocsEditable | 2131 @DocsEditable |
| 2092 @DomName('CSSRule') | 2132 @DomName('CSSRule') |
| 2093 class CssRule native "CSSRule" { | 2133 class CssRule native "CSSRule" { |
| 2094 | 2134 |
| 2095 @DomName('CSSRule.CHARSET_RULE') | 2135 @DomName('CSSRule.CHARSET_RULE') |
| 2096 @DocsEditable | 2136 @DocsEditable |
| 2097 static const int CHARSET_RULE = 2; | 2137 static const int CHARSET_RULE = 2; |
| 2098 | 2138 |
| 2099 @DomName('CSSRule.FONT_FACE_RULE') | 2139 @DomName('CSSRule.FONT_FACE_RULE') |
| 2100 @DocsEditable | 2140 @DocsEditable |
| 2101 static const int FONT_FACE_RULE = 5; | 2141 static const int FONT_FACE_RULE = 5; |
| 2102 | 2142 |
| 2103 @DomName('CSSRule.HOST_RULE') | 2143 @DomName('CSSRule.HOST_RULE') |
| 2104 @DocsEditable | 2144 @DocsEditable |
| 2145 // https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/shadow/index.html#ap
i-css-rule-host-rule |
| 2146 @Experimental |
| 2105 static const int HOST_RULE = 1001; | 2147 static const int HOST_RULE = 1001; |
| 2106 | 2148 |
| 2107 @DomName('CSSRule.IMPORT_RULE') | 2149 @DomName('CSSRule.IMPORT_RULE') |
| 2108 @DocsEditable | 2150 @DocsEditable |
| 2109 static const int IMPORT_RULE = 3; | 2151 static const int IMPORT_RULE = 3; |
| 2110 | 2152 |
| 2111 @DomName('CSSRule.MEDIA_RULE') | 2153 @DomName('CSSRule.MEDIA_RULE') |
| 2112 @DocsEditable | 2154 @DocsEditable |
| 2113 static const int MEDIA_RULE = 4; | 2155 static const int MEDIA_RULE = 4; |
| 2114 | 2156 |
| 2115 @DomName('CSSRule.PAGE_RULE') | 2157 @DomName('CSSRule.PAGE_RULE') |
| 2116 @DocsEditable | 2158 @DocsEditable |
| 2117 static const int PAGE_RULE = 6; | 2159 static const int PAGE_RULE = 6; |
| 2118 | 2160 |
| 2119 @DomName('CSSRule.STYLE_RULE') | 2161 @DomName('CSSRule.STYLE_RULE') |
| 2120 @DocsEditable | 2162 @DocsEditable |
| 2121 static const int STYLE_RULE = 1; | 2163 static const int STYLE_RULE = 1; |
| 2122 | 2164 |
| 2123 @DomName('CSSRule.SUPPORTS_RULE') | 2165 @DomName('CSSRule.SUPPORTS_RULE') |
| 2124 @DocsEditable | 2166 @DocsEditable |
| 2167 @Experimental // untriaged |
| 2125 static const int SUPPORTS_RULE = 12; | 2168 static const int SUPPORTS_RULE = 12; |
| 2126 | 2169 |
| 2127 @DomName('CSSRule.UNKNOWN_RULE') | 2170 @DomName('CSSRule.UNKNOWN_RULE') |
| 2128 @DocsEditable | 2171 @DocsEditable |
| 2172 // http://dev.w3.org/csswg/cssom/#changes-from-dom2 |
| 2173 @deprecated // deprecated |
| 2129 static const int UNKNOWN_RULE = 0; | 2174 static const int UNKNOWN_RULE = 0; |
| 2130 | 2175 |
| 2131 @DomName('CSSRule.WEBKIT_FILTER_RULE') | 2176 @DomName('CSSRule.WEBKIT_FILTER_RULE') |
| 2132 @DocsEditable | 2177 @DocsEditable |
| 2178 // http://www.w3.org/TR/filter-effects/ |
| 2179 @Experimental |
| 2133 static const int WEBKIT_FILTER_RULE = 17; | 2180 static const int WEBKIT_FILTER_RULE = 17; |
| 2134 | 2181 |
| 2135 @DomName('CSSRule.WEBKIT_KEYFRAMES_RULE') | 2182 @DomName('CSSRule.WEBKIT_KEYFRAMES_RULE') |
| 2136 @DocsEditable | 2183 @DocsEditable |
| 2184 // http://www.w3.org/TR/css3-animations/#cssrule |
| 2185 @Experimental |
| 2137 static const int WEBKIT_KEYFRAMES_RULE = 7; | 2186 static const int WEBKIT_KEYFRAMES_RULE = 7; |
| 2138 | 2187 |
| 2139 @DomName('CSSRule.WEBKIT_KEYFRAME_RULE') | 2188 @DomName('CSSRule.WEBKIT_KEYFRAME_RULE') |
| 2140 @DocsEditable | 2189 @DocsEditable |
| 2190 // http://www.w3.org/TR/css3-animations/#cssrule |
| 2191 @Experimental |
| 2141 static const int WEBKIT_KEYFRAME_RULE = 8; | 2192 static const int WEBKIT_KEYFRAME_RULE = 8; |
| 2142 | 2193 |
| 2143 @DomName('CSSRule.WEBKIT_REGION_RULE') | 2194 @DomName('CSSRule.WEBKIT_REGION_RULE') |
| 2144 @DocsEditable | 2195 @DocsEditable |
| 2196 // http://dev.w3.org/csswg/css-regions/#region-style-rule-interface |
| 2197 @Experimental |
| 2145 static const int WEBKIT_REGION_RULE = 16; | 2198 static const int WEBKIT_REGION_RULE = 16; |
| 2146 | 2199 |
| 2147 @DomName('CSSRule.cssText') | 2200 @DomName('CSSRule.cssText') |
| 2148 @DocsEditable | 2201 @DocsEditable |
| 2149 String cssText; | 2202 String cssText; |
| 2150 | 2203 |
| 2151 @DomName('CSSRule.parentRule') | 2204 @DomName('CSSRule.parentRule') |
| 2152 @DocsEditable | 2205 @DocsEditable |
| 2153 final CssRule parentRule; | 2206 final CssRule parentRule; |
| 2154 | 2207 |
| (...skipping 28 matching lines...) Expand all Loading... |
| 2183 @DomName('CSSStyleDeclaration.parentRule') | 2236 @DomName('CSSStyleDeclaration.parentRule') |
| 2184 @DocsEditable | 2237 @DocsEditable |
| 2185 final CssRule parentRule; | 2238 final CssRule parentRule; |
| 2186 | 2239 |
| 2187 @DomName('CSSStyleDeclaration.getPropertyPriority') | 2240 @DomName('CSSStyleDeclaration.getPropertyPriority') |
| 2188 @DocsEditable | 2241 @DocsEditable |
| 2189 String getPropertyPriority(String propertyName) native; | 2242 String getPropertyPriority(String propertyName) native; |
| 2190 | 2243 |
| 2191 @DomName('CSSStyleDeclaration.getPropertyShorthand') | 2244 @DomName('CSSStyleDeclaration.getPropertyShorthand') |
| 2192 @DocsEditable | 2245 @DocsEditable |
| 2246 // http://dev.w3.org/csswg/cssom/#the-cssstyledeclaration-interface |
| 2247 @deprecated // deprecated |
| 2193 String getPropertyShorthand(String propertyName) native; | 2248 String getPropertyShorthand(String propertyName) native; |
| 2194 | 2249 |
| 2195 @JSName('getPropertyValue') | 2250 @JSName('getPropertyValue') |
| 2196 @DomName('CSSStyleDeclaration.getPropertyValue') | 2251 @DomName('CSSStyleDeclaration.getPropertyValue') |
| 2197 @DocsEditable | 2252 @DocsEditable |
| 2198 String _getPropertyValue(String propertyName) native; | 2253 String _getPropertyValue(String propertyName) native; |
| 2199 | 2254 |
| 2200 @DomName('CSSStyleDeclaration.isPropertyImplicit') | 2255 @DomName('CSSStyleDeclaration.isPropertyImplicit') |
| 2201 @DocsEditable | 2256 @DocsEditable |
| 2257 // http://dev.w3.org/csswg/cssom/#the-cssstyledeclaration-interface |
| 2258 @deprecated // deprecated |
| 2202 bool isPropertyImplicit(String propertyName) native; | 2259 bool isPropertyImplicit(String propertyName) native; |
| 2203 | 2260 |
| 2204 @DomName('CSSStyleDeclaration.item') | 2261 @DomName('CSSStyleDeclaration.item') |
| 2205 @DocsEditable | 2262 @DocsEditable |
| 2206 String item(int index) native; | 2263 String item(int index) native; |
| 2207 | 2264 |
| 2208 @DomName('CSSStyleDeclaration.removeProperty') | 2265 @DomName('CSSStyleDeclaration.removeProperty') |
| 2209 @DocsEditable | 2266 @DocsEditable |
| 2210 String removeProperty(String propertyName) native; | 2267 String removeProperty(String propertyName) native; |
| 2211 | 2268 |
| (...skipping 3219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5431 @Returns('_CssRuleList') | 5488 @Returns('_CssRuleList') |
| 5432 @Creates('_CssRuleList') | 5489 @Creates('_CssRuleList') |
| 5433 final List<CssRule> cssRules; | 5490 final List<CssRule> cssRules; |
| 5434 | 5491 |
| 5435 @DomName('CSSStyleSheet.ownerRule') | 5492 @DomName('CSSStyleSheet.ownerRule') |
| 5436 @DocsEditable | 5493 @DocsEditable |
| 5437 final CssRule ownerRule; | 5494 final CssRule ownerRule; |
| 5438 | 5495 |
| 5439 @DomName('CSSStyleSheet.rules') | 5496 @DomName('CSSStyleSheet.rules') |
| 5440 @DocsEditable | 5497 @DocsEditable |
| 5498 @Experimental // non-standard |
| 5441 @Returns('_CssRuleList') | 5499 @Returns('_CssRuleList') |
| 5442 @Creates('_CssRuleList') | 5500 @Creates('_CssRuleList') |
| 5443 final List<CssRule> rules; | 5501 final List<CssRule> rules; |
| 5444 | 5502 |
| 5445 @DomName('CSSStyleSheet.addRule') | 5503 @DomName('CSSStyleSheet.addRule') |
| 5446 @DocsEditable | 5504 @DocsEditable |
| 5505 @Experimental // non-standard |
| 5447 int addRule(String selector, String style, [int index]) native; | 5506 int addRule(String selector, String style, [int index]) native; |
| 5448 | 5507 |
| 5449 @DomName('CSSStyleSheet.deleteRule') | 5508 @DomName('CSSStyleSheet.deleteRule') |
| 5450 @DocsEditable | 5509 @DocsEditable |
| 5451 void deleteRule(int index) native; | 5510 void deleteRule(int index) native; |
| 5452 | 5511 |
| 5453 @DomName('CSSStyleSheet.insertRule') | 5512 @DomName('CSSStyleSheet.insertRule') |
| 5454 @DocsEditable | 5513 @DocsEditable |
| 5455 int insertRule(String rule, int index) native; | 5514 int insertRule(String rule, int index) native; |
| 5456 | 5515 |
| 5457 @DomName('CSSStyleSheet.removeRule') | 5516 @DomName('CSSStyleSheet.removeRule') |
| 5458 @DocsEditable | 5517 @DocsEditable |
| 5518 @Experimental // non-standard |
| 5459 void removeRule(int index) native; | 5519 void removeRule(int index) native; |
| 5460 } | 5520 } |
| 5461 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5521 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5462 // for details. All rights reserved. Use of this source code is governed by a | 5522 // for details. All rights reserved. Use of this source code is governed by a |
| 5463 // BSD-style license that can be found in the LICENSE file. | 5523 // BSD-style license that can be found in the LICENSE file. |
| 5464 | 5524 |
| 5465 | 5525 |
| 5466 @DocsEditable | 5526 @DocsEditable |
| 5467 @DomName('CSSSupportsRule') | 5527 @DomName('CSSSupportsRule') |
| 5528 @Experimental // untriaged |
| 5468 class CssSupportsRule extends CssRule native "CSSSupportsRule" { | 5529 class CssSupportsRule extends CssRule native "CSSSupportsRule" { |
| 5469 | 5530 |
| 5470 @DomName('CSSSupportsRule.conditionText') | 5531 @DomName('CSSSupportsRule.conditionText') |
| 5471 @DocsEditable | 5532 @DocsEditable |
| 5533 @Experimental // untriaged |
| 5472 final String conditionText; | 5534 final String conditionText; |
| 5473 | 5535 |
| 5474 @DomName('CSSSupportsRule.cssRules') | 5536 @DomName('CSSSupportsRule.cssRules') |
| 5475 @DocsEditable | 5537 @DocsEditable |
| 5538 @Experimental // untriaged |
| 5476 @Returns('_CssRuleList') | 5539 @Returns('_CssRuleList') |
| 5477 @Creates('_CssRuleList') | 5540 @Creates('_CssRuleList') |
| 5478 final List<CssRule> cssRules; | 5541 final List<CssRule> cssRules; |
| 5479 | 5542 |
| 5480 @DomName('CSSSupportsRule.deleteRule') | 5543 @DomName('CSSSupportsRule.deleteRule') |
| 5481 @DocsEditable | 5544 @DocsEditable |
| 5545 @Experimental // untriaged |
| 5482 void deleteRule(int index) native; | 5546 void deleteRule(int index) native; |
| 5483 | 5547 |
| 5484 @DomName('CSSSupportsRule.insertRule') | 5548 @DomName('CSSSupportsRule.insertRule') |
| 5485 @DocsEditable | 5549 @DocsEditable |
| 5550 @Experimental // untriaged |
| 5486 int insertRule(String rule, int index) native; | 5551 int insertRule(String rule, int index) native; |
| 5487 } | 5552 } |
| 5488 // 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 |
| 5489 // 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 |
| 5490 // BSD-style license that can be found in the LICENSE file. | 5555 // BSD-style license that can be found in the LICENSE file. |
| 5491 | 5556 |
| 5492 | 5557 |
| 5493 @DocsEditable | 5558 @DocsEditable |
| 5494 @DomName('CSSUnknownRule') | 5559 @DomName('CSSUnknownRule') |
| 5560 // http://dev.w3.org/csswg/cssom/#the-cssstylesheet-interface |
| 5561 @deprecated // deprecated |
| 5495 class CssUnknownRule extends CssRule native "CSSUnknownRule" { | 5562 class CssUnknownRule extends CssRule native "CSSUnknownRule" { |
| 5496 } | 5563 } |
| 5497 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5564 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5498 // for details. All rights reserved. Use of this source code is governed by a | 5565 // for details. All rights reserved. Use of this source code is governed by a |
| 5499 // BSD-style license that can be found in the LICENSE file. | 5566 // BSD-style license that can be found in the LICENSE file. |
| 5500 | 5567 |
| 5501 | 5568 |
| 5502 @DocsEditable | 5569 @DocsEditable |
| 5503 @DomName('CustomElementConstructor') | 5570 @DomName('CustomElementConstructor') |
| 5571 // https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/custom/index.html#dfn-
custom-element-constructor-generation |
| 5572 @Experimental |
| 5504 class CustomElementConstructor native "CustomElementConstructor" { | 5573 class CustomElementConstructor native "CustomElementConstructor" { |
| 5505 } | 5574 } |
| 5506 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5575 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5507 // for details. All rights reserved. Use of this source code is governed by a | 5576 // for details. All rights reserved. Use of this source code is governed by a |
| 5508 // BSD-style license that can be found in the LICENSE file. | 5577 // BSD-style license that can be found in the LICENSE file. |
| 5509 | 5578 |
| 5510 // WARNING: Do not edit - generated code. | 5579 // WARNING: Do not edit - generated code. |
| 5511 | 5580 |
| 5512 | 5581 |
| 5513 @DomName('CustomEvent') | 5582 @DomName('CustomEvent') |
| (...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5631 @DocsEditable | 5700 @DocsEditable |
| 5632 void setDragImage(ImageElement image, int x, int y) native; | 5701 void setDragImage(ImageElement image, int x, int y) native; |
| 5633 } | 5702 } |
| 5634 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5703 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5635 // for details. All rights reserved. Use of this source code is governed by a | 5704 // for details. All rights reserved. Use of this source code is governed by a |
| 5636 // BSD-style license that can be found in the LICENSE file. | 5705 // BSD-style license that can be found in the LICENSE file. |
| 5637 | 5706 |
| 5638 | 5707 |
| 5639 @DocsEditable | 5708 @DocsEditable |
| 5640 @DomName('DataTransferItem') | 5709 @DomName('DataTransferItem') |
| 5710 // http://www.w3.org/TR/2011/WD-html5-20110113/dnd.html#the-datatransferitem-int
erface |
| 5711 @Experimental |
| 5641 class DataTransferItem native "DataTransferItem" { | 5712 class DataTransferItem native "DataTransferItem" { |
| 5642 | 5713 |
| 5643 @DomName('DataTransferItem.kind') | 5714 @DomName('DataTransferItem.kind') |
| 5644 @DocsEditable | 5715 @DocsEditable |
| 5645 final String kind; | 5716 final String kind; |
| 5646 | 5717 |
| 5647 @DomName('DataTransferItem.type') | 5718 @DomName('DataTransferItem.type') |
| 5648 @DocsEditable | 5719 @DocsEditable |
| 5649 final String type; | 5720 final String type; |
| 5650 | 5721 |
| (...skipping 24 matching lines...) Expand all Loading... |
| 5675 @Experimental | 5746 @Experimental |
| 5676 Entry getAsEntry() native; | 5747 Entry getAsEntry() native; |
| 5677 } | 5748 } |
| 5678 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5749 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5679 // for details. All rights reserved. Use of this source code is governed by a | 5750 // for details. All rights reserved. Use of this source code is governed by a |
| 5680 // BSD-style license that can be found in the LICENSE file. | 5751 // BSD-style license that can be found in the LICENSE file. |
| 5681 | 5752 |
| 5682 | 5753 |
| 5683 @DocsEditable | 5754 @DocsEditable |
| 5684 @DomName('DataTransferItemList') | 5755 @DomName('DataTransferItemList') |
| 5756 // http://www.whatwg.org/specs/web-apps/current-work/multipage/dnd.html#the-data
transferitemlist-interface |
| 5757 @Experimental |
| 5685 class DataTransferItemList native "DataTransferItemList" { | 5758 class DataTransferItemList native "DataTransferItemList" { |
| 5686 | 5759 |
| 5687 @DomName('DataTransferItemList.length') | 5760 @DomName('DataTransferItemList.length') |
| 5688 @DocsEditable | 5761 @DocsEditable |
| 5689 final int length; | 5762 final int length; |
| 5690 | 5763 |
| 5691 @DomName('DataTransferItemList.add') | 5764 @DomName('DataTransferItemList.add') |
| 5692 @DocsEditable | 5765 @DocsEditable |
| 5693 void add(data_OR_file, [String type]) native; | 5766 void add(data_OR_file, [String type]) native; |
| 5694 | 5767 |
| 5695 @DomName('DataTransferItemList.clear') | 5768 @DomName('DataTransferItemList.clear') |
| 5696 @DocsEditable | 5769 @DocsEditable |
| 5697 void clear() native; | 5770 void clear() native; |
| 5698 | 5771 |
| 5699 @DomName('DataTransferItemList.item') | 5772 @DomName('DataTransferItemList.item') |
| 5700 @DocsEditable | 5773 @DocsEditable |
| 5701 DataTransferItem item(int index) native; | 5774 DataTransferItem item(int index) native; |
| 5702 } | 5775 } |
| 5703 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5776 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5704 // for details. All rights reserved. Use of this source code is governed by a | 5777 // for details. All rights reserved. Use of this source code is governed by a |
| 5705 // BSD-style license that can be found in the LICENSE file. | 5778 // BSD-style license that can be found in the LICENSE file. |
| 5706 | 5779 |
| 5707 // WARNING: Do not edit - generated code. | 5780 // WARNING: Do not edit - generated code. |
| 5708 | 5781 |
| 5709 | 5782 |
| 5783 @DomName('DatabaseCallback') |
| 5784 // http://www.w3.org/TR/webdatabase/#databasecallback |
| 5785 @Experimental // deprecated |
| 5710 typedef void DatabaseCallback(database); | 5786 typedef void DatabaseCallback(database); |
| 5711 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5787 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5712 // for details. All rights reserved. Use of this source code is governed by a | 5788 // for details. All rights reserved. Use of this source code is governed by a |
| 5713 // BSD-style license that can be found in the LICENSE file. | 5789 // BSD-style license that can be found in the LICENSE file. |
| 5714 | 5790 |
| 5715 | 5791 |
| 5716 @DocsEditable | 5792 @DocsEditable |
| 5717 @DomName('HTMLDetailsElement') | 5793 @DomName('HTMLDetailsElement') |
| 5718 @SupportedBrowser(SupportedBrowser.CHROME) | 5794 @SupportedBrowser(SupportedBrowser.CHROME) |
| 5719 @SupportedBrowser(SupportedBrowser.SAFARI) | 5795 @SupportedBrowser(SupportedBrowser.SAFARI) |
| (...skipping 11 matching lines...) Expand all Loading... |
| 5731 @DocsEditable | 5807 @DocsEditable |
| 5732 bool open; | 5808 bool open; |
| 5733 } | 5809 } |
| 5734 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5810 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5735 // for details. All rights reserved. Use of this source code is governed by a | 5811 // for details. All rights reserved. Use of this source code is governed by a |
| 5736 // BSD-style license that can be found in the LICENSE file. | 5812 // BSD-style license that can be found in the LICENSE file. |
| 5737 | 5813 |
| 5738 | 5814 |
| 5739 @DocsEditable | 5815 @DocsEditable |
| 5740 @DomName('DeviceAcceleration') | 5816 @DomName('DeviceAcceleration') |
| 5817 // http://dev.w3.org/geo/api/spec-source-orientation.html#devicemotion |
| 5818 @Experimental |
| 5741 class DeviceAcceleration native "DeviceAcceleration" { | 5819 class DeviceAcceleration native "DeviceAcceleration" { |
| 5742 | 5820 |
| 5743 @DomName('DeviceAcceleration.x') | 5821 @DomName('DeviceAcceleration.x') |
| 5744 @DocsEditable | 5822 @DocsEditable |
| 5745 final num x; | 5823 final num x; |
| 5746 | 5824 |
| 5747 @DomName('DeviceAcceleration.y') | 5825 @DomName('DeviceAcceleration.y') |
| 5748 @DocsEditable | 5826 @DocsEditable |
| 5749 final num y; | 5827 final num y; |
| 5750 | 5828 |
| 5751 @DomName('DeviceAcceleration.z') | 5829 @DomName('DeviceAcceleration.z') |
| 5752 @DocsEditable | 5830 @DocsEditable |
| 5753 final num z; | 5831 final num z; |
| 5754 } | 5832 } |
| 5755 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5833 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5756 // for details. All rights reserved. Use of this source code is governed by a | 5834 // for details. All rights reserved. Use of this source code is governed by a |
| 5757 // BSD-style license that can be found in the LICENSE file. | 5835 // BSD-style license that can be found in the LICENSE file. |
| 5758 | 5836 |
| 5759 | 5837 |
| 5760 @DocsEditable | 5838 @DocsEditable |
| 5761 @DomName('DeviceMotionEvent') | 5839 @DomName('DeviceMotionEvent') |
| 5840 // http://dev.w3.org/geo/api/spec-source-orientation.html#devicemotion |
| 5841 @Experimental |
| 5762 class DeviceMotionEvent extends Event native "DeviceMotionEvent" { | 5842 class DeviceMotionEvent extends Event native "DeviceMotionEvent" { |
| 5763 | 5843 |
| 5764 @DomName('DeviceMotionEvent.acceleration') | 5844 @DomName('DeviceMotionEvent.acceleration') |
| 5765 @DocsEditable | 5845 @DocsEditable |
| 5766 final DeviceAcceleration acceleration; | 5846 final DeviceAcceleration acceleration; |
| 5767 | 5847 |
| 5768 @DomName('DeviceMotionEvent.accelerationIncludingGravity') | 5848 @DomName('DeviceMotionEvent.accelerationIncludingGravity') |
| 5769 @DocsEditable | 5849 @DocsEditable |
| 5770 final DeviceAcceleration accelerationIncludingGravity; | 5850 final DeviceAcceleration accelerationIncludingGravity; |
| 5771 | 5851 |
| 5772 @DomName('DeviceMotionEvent.interval') | 5852 @DomName('DeviceMotionEvent.interval') |
| 5773 @DocsEditable | 5853 @DocsEditable |
| 5774 final num interval; | 5854 final num interval; |
| 5775 | 5855 |
| 5776 @DomName('DeviceMotionEvent.rotationRate') | 5856 @DomName('DeviceMotionEvent.rotationRate') |
| 5777 @DocsEditable | 5857 @DocsEditable |
| 5778 final DeviceRotationRate rotationRate; | 5858 final DeviceRotationRate rotationRate; |
| 5779 } | 5859 } |
| 5780 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 5860 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 5781 // for details. All rights reserved. Use of this source code is governed by a | 5861 // for details. All rights reserved. Use of this source code is governed by a |
| 5782 // BSD-style license that can be found in the LICENSE file. | 5862 // BSD-style license that can be found in the LICENSE file. |
| 5783 | 5863 |
| 5784 // WARNING: Do not edit - generated code. | 5864 // WARNING: Do not edit - generated code. |
| 5785 | 5865 |
| 5786 @DomName('DeviceOrientationEvent') | 5866 @DomName('DeviceOrientationEvent') |
| 5867 // http://dev.w3.org/geo/api/spec-source-orientation.html#devicemotion |
| 5868 @Experimental |
| 5787 | 5869 |
| 5788 class DeviceOrientationEvent extends Event native "DeviceOrientationEvent" { | 5870 class DeviceOrientationEvent extends Event native "DeviceOrientationEvent" { |
| 5789 factory DeviceOrientationEvent(String type, | 5871 factory DeviceOrientationEvent(String type, |
| 5790 {bool canBubble: true, bool cancelable: true, num alpha: 0, num beta: 0, | 5872 {bool canBubble: true, bool cancelable: true, num alpha: 0, num beta: 0, |
| 5791 num gamma: 0, bool absolute: false}) { | 5873 num gamma: 0, bool absolute: false}) { |
| 5792 var e = document.$dom_createEvent("DeviceOrientationEvent"); | 5874 var e = document.$dom_createEvent("DeviceOrientationEvent"); |
| 5793 e.$dom_initDeviceOrientationEvent(type, canBubble, cancelable, alpha, beta, | 5875 e.$dom_initDeviceOrientationEvent(type, canBubble, cancelable, alpha, beta, |
| 5794 gamma, absolute); | 5876 gamma, absolute); |
| 5795 return e; | 5877 return e; |
| 5796 } | 5878 } |
| (...skipping 20 matching lines...) Expand all Loading... |
| 5817 void $dom_initDeviceOrientationEvent(String type, bool bubbles, bool cancelabl
e, num alpha, num beta, num gamma, bool absolute) native; | 5899 void $dom_initDeviceOrientationEvent(String type, bool bubbles, bool cancelabl
e, num alpha, num beta, num gamma, bool absolute) native; |
| 5818 | 5900 |
| 5819 } | 5901 } |
| 5820 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5902 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5821 // for details. All rights reserved. Use of this source code is governed by a | 5903 // for details. All rights reserved. Use of this source code is governed by a |
| 5822 // BSD-style license that can be found in the LICENSE file. | 5904 // BSD-style license that can be found in the LICENSE file. |
| 5823 | 5905 |
| 5824 | 5906 |
| 5825 @DocsEditable | 5907 @DocsEditable |
| 5826 @DomName('DeviceRotationRate') | 5908 @DomName('DeviceRotationRate') |
| 5909 // http://dev.w3.org/geo/api/spec-source-orientation.html#devicemotion |
| 5910 @Experimental |
| 5827 class DeviceRotationRate native "DeviceRotationRate" { | 5911 class DeviceRotationRate native "DeviceRotationRate" { |
| 5828 | 5912 |
| 5829 @DomName('DeviceRotationRate.alpha') | 5913 @DomName('DeviceRotationRate.alpha') |
| 5830 @DocsEditable | 5914 @DocsEditable |
| 5831 final num alpha; | 5915 final num alpha; |
| 5832 | 5916 |
| 5833 @DomName('DeviceRotationRate.beta') | 5917 @DomName('DeviceRotationRate.beta') |
| 5834 @DocsEditable | 5918 @DocsEditable |
| 5835 final num beta; | 5919 final num beta; |
| 5836 | 5920 |
| 5837 @DomName('DeviceRotationRate.gamma') | 5921 @DomName('DeviceRotationRate.gamma') |
| 5838 @DocsEditable | 5922 @DocsEditable |
| 5839 final num gamma; | 5923 final num gamma; |
| 5840 } | 5924 } |
| 5841 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5925 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5842 // for details. All rights reserved. Use of this source code is governed by a | 5926 // for details. All rights reserved. Use of this source code is governed by a |
| 5843 // BSD-style license that can be found in the LICENSE file. | 5927 // BSD-style license that can be found in the LICENSE file. |
| 5844 | 5928 |
| 5845 | 5929 |
| 5846 @DocsEditable | 5930 @DocsEditable |
| 5847 @DomName('HTMLDialogElement') | 5931 @DomName('HTMLDialogElement') |
| 5932 @Unstable |
| 5848 class DialogElement extends Element native "HTMLDialogElement" { | 5933 class DialogElement extends Element native "HTMLDialogElement" { |
| 5849 | 5934 |
| 5850 @DomName('HTMLDialogElement.open') | 5935 @DomName('HTMLDialogElement.open') |
| 5851 @DocsEditable | 5936 @DocsEditable |
| 5852 bool open; | 5937 bool open; |
| 5853 | 5938 |
| 5854 @DomName('HTMLDialogElement.close') | 5939 @DomName('HTMLDialogElement.close') |
| 5855 @DocsEditable | 5940 @DocsEditable |
| 5856 void close() native; | 5941 void close() native; |
| 5857 | 5942 |
| 5858 @DomName('HTMLDialogElement.show') | 5943 @DomName('HTMLDialogElement.show') |
| 5859 @DocsEditable | 5944 @DocsEditable |
| 5860 void show() native; | 5945 void show() native; |
| 5861 | 5946 |
| 5862 @DomName('HTMLDialogElement.showModal') | 5947 @DomName('HTMLDialogElement.showModal') |
| 5863 @DocsEditable | 5948 @DocsEditable |
| 5864 void showModal() native; | 5949 void showModal() native; |
| 5865 } | 5950 } |
| 5866 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 5951 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 5867 // for details. All rights reserved. Use of this source code is governed by a | 5952 // for details. All rights reserved. Use of this source code is governed by a |
| 5868 // BSD-style license that can be found in the LICENSE file. | 5953 // BSD-style license that can be found in the LICENSE file. |
| 5869 | 5954 |
| 5870 | 5955 |
| 5871 @DomName('DirectoryEntry') | 5956 @DomName('DirectoryEntry') |
| 5957 // http://www.w3.org/TR/file-system-api/#the-directoryentry-interface |
| 5958 @Experimental |
| 5872 class DirectoryEntry extends Entry native "DirectoryEntry" { | 5959 class DirectoryEntry extends Entry native "DirectoryEntry" { |
| 5873 | 5960 |
| 5874 /** | 5961 /** |
| 5875 * Create a new directory with the specified `path`. If `exclusive` is true, | 5962 * Create a new directory with the specified `path`. If `exclusive` is true, |
| 5876 * the returned Future will complete with an error if a directory already | 5963 * the returned Future will complete with an error if a directory already |
| 5877 * exists with the specified `path`. | 5964 * exists with the specified `path`. |
| 5878 */ | 5965 */ |
| 5879 Future<Entry> createDirectory(String path, {bool exclusive: false}) { | 5966 Future<Entry> createDirectory(String path, {bool exclusive: false}) { |
| 5880 return _getDirectory(path, options: | 5967 return _getDirectory(path, options: |
| 5881 {'create': true, 'exclusive': exclusive}); | 5968 {'create': true, 'exclusive': exclusive}); |
| (...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6028 | 6115 |
| 6029 } | 6116 } |
| 6030 | 6117 |
| 6031 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6118 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 6032 // for details. All rights reserved. Use of this source code is governed by a | 6119 // for details. All rights reserved. Use of this source code is governed by a |
| 6033 // BSD-style license that can be found in the LICENSE file. | 6120 // BSD-style license that can be found in the LICENSE file. |
| 6034 | 6121 |
| 6035 | 6122 |
| 6036 @DocsEditable | 6123 @DocsEditable |
| 6037 @DomName('DirectoryReader') | 6124 @DomName('DirectoryReader') |
| 6125 // http://www.w3.org/TR/file-system-api/#the-directoryreader-interface |
| 6126 @Experimental |
| 6038 class DirectoryReader native "DirectoryReader" { | 6127 class DirectoryReader native "DirectoryReader" { |
| 6039 | 6128 |
| 6040 @JSName('readEntries') | 6129 @JSName('readEntries') |
| 6041 @DomName('DirectoryReader.readEntries') | 6130 @DomName('DirectoryReader.readEntries') |
| 6042 @DocsEditable | 6131 @DocsEditable |
| 6043 void _readEntries(_EntriesCallback successCallback, [_ErrorCallback errorCallb
ack]) native; | 6132 void _readEntries(_EntriesCallback successCallback, [_ErrorCallback errorCallb
ack]) native; |
| 6044 | 6133 |
| 6045 @JSName('readEntries') | 6134 @JSName('readEntries') |
| 6046 @DomName('DirectoryReader.readEntries') | 6135 @DomName('DirectoryReader.readEntries') |
| 6047 @DocsEditable | 6136 @DocsEditable |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6105 class Document extends Node native "Document" | 6194 class Document extends Node native "Document" |
| 6106 { | 6195 { |
| 6107 | 6196 |
| 6108 | 6197 |
| 6109 @DomName('Document.readystatechangeEvent') | 6198 @DomName('Document.readystatechangeEvent') |
| 6110 @DocsEditable | 6199 @DocsEditable |
| 6111 static const EventStreamProvider<Event> readyStateChangeEvent = const EventStr
eamProvider<Event>('readystatechange'); | 6200 static const EventStreamProvider<Event> readyStateChangeEvent = const EventStr
eamProvider<Event>('readystatechange'); |
| 6112 | 6201 |
| 6113 @DomName('Document.securitypolicyviolationEvent') | 6202 @DomName('Document.securitypolicyviolationEvent') |
| 6114 @DocsEditable | 6203 @DocsEditable |
| 6204 // https://dvcs.w3.org/hg/content-security-policy/raw-file/tip/csp-specificati
on.dev.html#widl-Document-onsecuritypolicyviolation |
| 6205 @Experimental |
| 6115 static const EventStreamProvider<SecurityPolicyViolationEvent> securityPolicyV
iolationEvent = const EventStreamProvider<SecurityPolicyViolationEvent>('securit
ypolicyviolation'); | 6206 static const EventStreamProvider<SecurityPolicyViolationEvent> securityPolicyV
iolationEvent = const EventStreamProvider<SecurityPolicyViolationEvent>('securit
ypolicyviolation'); |
| 6116 | 6207 |
| 6117 @DomName('Document.selectionchangeEvent') | 6208 @DomName('Document.selectionchangeEvent') |
| 6118 @DocsEditable | 6209 @DocsEditable |
| 6119 static const EventStreamProvider<Event> selectionChangeEvent = const EventStre
amProvider<Event>('selectionchange'); | 6210 static const EventStreamProvider<Event> selectionChangeEvent = const EventStre
amProvider<Event>('selectionchange'); |
| 6120 | 6211 |
| 6121 @DomName('Document.webkitpointerlockchangeEvent') | 6212 @DomName('Document.webkitpointerlockchangeEvent') |
| 6122 @DocsEditable | 6213 @DocsEditable |
| 6123 @SupportedBrowser(SupportedBrowser.CHROME) | 6214 @SupportedBrowser(SupportedBrowser.CHROME) |
| 6124 @SupportedBrowser(SupportedBrowser.SAFARI) | 6215 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 6125 @Experimental | 6216 @Experimental |
| 6217 // https://dvcs.w3.org/hg/pointerlock/raw-file/default/index.html#widl-Documen
t-onpointerlockchange |
| 6126 static const EventStreamProvider<Event> pointerLockChangeEvent = const EventSt
reamProvider<Event>('webkitpointerlockchange'); | 6218 static const EventStreamProvider<Event> pointerLockChangeEvent = const EventSt
reamProvider<Event>('webkitpointerlockchange'); |
| 6127 | 6219 |
| 6128 @DomName('Document.webkitpointerlockerrorEvent') | 6220 @DomName('Document.webkitpointerlockerrorEvent') |
| 6129 @DocsEditable | 6221 @DocsEditable |
| 6130 @SupportedBrowser(SupportedBrowser.CHROME) | 6222 @SupportedBrowser(SupportedBrowser.CHROME) |
| 6131 @SupportedBrowser(SupportedBrowser.SAFARI) | 6223 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 6132 @Experimental | 6224 @Experimental |
| 6225 // https://dvcs.w3.org/hg/pointerlock/raw-file/default/index.html#widl-Documen
t-onpointerlockerror |
| 6133 static const EventStreamProvider<Event> pointerLockErrorEvent = const EventStr
eamProvider<Event>('webkitpointerlockerror'); | 6226 static const EventStreamProvider<Event> pointerLockErrorEvent = const EventStr
eamProvider<Event>('webkitpointerlockerror'); |
| 6134 | 6227 |
| 6135 @JSName('body') | 6228 @JSName('body') |
| 6136 /// Moved to [HtmlDocument]. | 6229 /// Moved to [HtmlDocument]. |
| 6137 @DomName('Document.body') | 6230 @DomName('Document.body') |
| 6138 @DocsEditable | 6231 @DocsEditable |
| 6139 Element $dom_body; | 6232 Element $dom_body; |
| 6140 | 6233 |
| 6141 @DomName('Document.charset') | 6234 @DomName('Document.charset') |
| 6142 @DocsEditable | 6235 @DocsEditable |
| 6236 @deprecated // nonstandard |
| 6143 String charset; | 6237 String charset; |
| 6144 | 6238 |
| 6145 @DomName('Document.cookie') | 6239 @DomName('Document.cookie') |
| 6146 @DocsEditable | 6240 @DocsEditable |
| 6147 String cookie; | 6241 String cookie; |
| 6148 | 6242 |
| 6149 WindowBase get window => _convertNativeToDart_Window(this._get_window); | 6243 WindowBase get window => _convertNativeToDart_Window(this._get_window); |
| 6150 @JSName('defaultView') | 6244 @JSName('defaultView') |
| 6151 @DomName('Document.window') | 6245 @DomName('Document.window') |
| 6152 @DocsEditable | 6246 @DocsEditable |
| 6247 @Experimental // untriaged |
| 6153 @Creates('Window|=Object') | 6248 @Creates('Window|=Object') |
| 6154 @Returns('Window|=Object') | 6249 @Returns('Window|=Object') |
| 6155 @Creates('Window|=Object|Null') | 6250 @Creates('Window|=Object|Null') |
| 6156 @Returns('Window|=Object|Null') | 6251 @Returns('Window|=Object|Null') |
| 6157 final dynamic _get_window; | 6252 final dynamic _get_window; |
| 6158 | 6253 |
| 6159 @DomName('Document.documentElement') | 6254 @DomName('Document.documentElement') |
| 6160 @DocsEditable | 6255 @DocsEditable |
| 6161 final Element documentElement; | 6256 final Element documentElement; |
| 6162 | 6257 |
| 6163 @DomName('Document.domain') | 6258 @DomName('Document.domain') |
| 6164 @DocsEditable | 6259 @DocsEditable |
| 6165 final String domain; | 6260 final String domain; |
| 6166 | 6261 |
| 6167 @DomName('Document.fontloader') | 6262 @DomName('Document.fontloader') |
| 6168 @DocsEditable | 6263 @DocsEditable |
| 6264 // http://www.w3.org/TR/css3-fonts/#document-fontloader |
| 6265 @Experimental |
| 6169 final FontLoader fontloader; | 6266 final FontLoader fontloader; |
| 6170 | 6267 |
| 6171 @JSName('head') | 6268 @JSName('head') |
| 6172 /// Moved to [HtmlDocument]. | 6269 /// Moved to [HtmlDocument]. |
| 6173 @DomName('Document.head') | 6270 @DomName('Document.head') |
| 6174 @DocsEditable | 6271 @DocsEditable |
| 6175 final HeadElement $dom_head; | 6272 final HeadElement $dom_head; |
| 6176 | 6273 |
| 6177 @DomName('Document.implementation') | 6274 @DomName('Document.implementation') |
| 6178 @DocsEditable | 6275 @DocsEditable |
| (...skipping 15 matching lines...) Expand all Loading... |
| 6194 final String readyState; | 6291 final String readyState; |
| 6195 | 6292 |
| 6196 @JSName('referrer') | 6293 @JSName('referrer') |
| 6197 /// Moved to [HtmlDocument]. | 6294 /// Moved to [HtmlDocument]. |
| 6198 @DomName('Document.referrer') | 6295 @DomName('Document.referrer') |
| 6199 @DocsEditable | 6296 @DocsEditable |
| 6200 final String $dom_referrer; | 6297 final String $dom_referrer; |
| 6201 | 6298 |
| 6202 @DomName('Document.securityPolicy') | 6299 @DomName('Document.securityPolicy') |
| 6203 @DocsEditable | 6300 @DocsEditable |
| 6301 // https://dvcs.w3.org/hg/content-security-policy/raw-file/tip/csp-specificati
on.dev.html#idl-def-SecurityPolicy |
| 6302 @Experimental |
| 6204 final SecurityPolicy securityPolicy; | 6303 final SecurityPolicy securityPolicy; |
| 6205 | 6304 |
| 6206 @JSName('selectedStylesheetSet') | 6305 @JSName('selectedStylesheetSet') |
| 6207 @DomName('Document.selectedStylesheetSet') | 6306 @DomName('Document.selectedStylesheetSet') |
| 6208 @DocsEditable | 6307 @DocsEditable |
| 6209 String $dom_selectedStylesheetSet; | 6308 String $dom_selectedStylesheetSet; |
| 6210 | 6309 |
| 6211 @JSName('styleSheets') | 6310 @JSName('styleSheets') |
| 6212 /// Moved to [HtmlDocument] | 6311 /// Moved to [HtmlDocument] |
| 6213 @DomName('Document.styleSheets') | 6312 @DomName('Document.styleSheets') |
| 6214 @DocsEditable | 6313 @DocsEditable |
| 6215 @Returns('_StyleSheetList') | 6314 @Returns('_StyleSheetList') |
| 6216 @Creates('_StyleSheetList') | 6315 @Creates('_StyleSheetList') |
| 6217 final List<StyleSheet> $dom_styleSheets; | 6316 final List<StyleSheet> $dom_styleSheets; |
| 6218 | 6317 |
| 6219 @JSName('title') | 6318 @JSName('title') |
| 6220 /// Moved to [HtmlDocument]. | 6319 /// Moved to [HtmlDocument]. |
| 6221 @DomName('Document.title') | 6320 @DomName('Document.title') |
| 6222 @DocsEditable | 6321 @DocsEditable |
| 6223 String $dom_title; | 6322 String $dom_title; |
| 6224 | 6323 |
| 6225 @JSName('webkitFullscreenElement') | 6324 @JSName('webkitFullscreenElement') |
| 6226 /// Moved to [HtmlDocument]. | 6325 /// Moved to [HtmlDocument]. |
| 6227 @DomName('Document.webkitFullscreenElement') | 6326 @DomName('Document.webkitFullscreenElement') |
| 6228 @DocsEditable | 6327 @DocsEditable |
| 6229 @SupportedBrowser(SupportedBrowser.CHROME) | 6328 @SupportedBrowser(SupportedBrowser.CHROME) |
| 6230 @SupportedBrowser(SupportedBrowser.SAFARI) | 6329 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 6231 @Experimental | 6330 @Experimental |
| 6331 // https://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html#dom-document-f
ullscreenelement |
| 6232 final Element $dom_webkitFullscreenElement; | 6332 final Element $dom_webkitFullscreenElement; |
| 6233 | 6333 |
| 6234 @JSName('webkitFullscreenEnabled') | 6334 @JSName('webkitFullscreenEnabled') |
| 6235 /// Moved to [HtmlDocument]. | 6335 /// Moved to [HtmlDocument]. |
| 6236 @DomName('Document.webkitFullscreenEnabled') | 6336 @DomName('Document.webkitFullscreenEnabled') |
| 6237 @DocsEditable | 6337 @DocsEditable |
| 6238 @SupportedBrowser(SupportedBrowser.CHROME) | 6338 @SupportedBrowser(SupportedBrowser.CHROME) |
| 6239 @SupportedBrowser(SupportedBrowser.SAFARI) | 6339 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 6240 @Experimental | 6340 @Experimental |
| 6341 // https://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html#dom-document-f
ullscreenenabled |
| 6241 final bool $dom_webkitFullscreenEnabled; | 6342 final bool $dom_webkitFullscreenEnabled; |
| 6242 | 6343 |
| 6243 @JSName('webkitHidden') | 6344 @JSName('webkitHidden') |
| 6244 /// Moved to [HtmlDocument]. | 6345 /// Moved to [HtmlDocument]. |
| 6245 @DomName('Document.webkitHidden') | 6346 @DomName('Document.webkitHidden') |
| 6246 @DocsEditable | 6347 @DocsEditable |
| 6247 @SupportedBrowser(SupportedBrowser.CHROME) | 6348 @SupportedBrowser(SupportedBrowser.CHROME) |
| 6248 @SupportedBrowser(SupportedBrowser.SAFARI) | 6349 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 6249 @Experimental | 6350 @Experimental |
| 6351 // https://dvcs.w3.org/hg/webperf/raw-file/tip/specs/PageVisibility/Overview.h
tml#document |
| 6250 final bool $dom_webkitHidden; | 6352 final bool $dom_webkitHidden; |
| 6251 | 6353 |
| 6252 @JSName('webkitIsFullScreen') | 6354 @JSName('webkitIsFullScreen') |
| 6253 /// Moved to [HtmlDocument]. | 6355 /// Moved to [HtmlDocument]. |
| 6254 @DomName('Document.webkitIsFullScreen') | 6356 @DomName('Document.webkitIsFullScreen') |
| 6255 @DocsEditable | 6357 @DocsEditable |
| 6256 @SupportedBrowser(SupportedBrowser.CHROME) | 6358 @SupportedBrowser(SupportedBrowser.CHROME) |
| 6257 @SupportedBrowser(SupportedBrowser.SAFARI) | 6359 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 6258 @Experimental | 6360 @Experimental |
| 6361 // https://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html |
| 6362 @deprecated // deprecated |
| 6259 final bool $dom_webkitIsFullScreen; | 6363 final bool $dom_webkitIsFullScreen; |
| 6260 | 6364 |
| 6261 @JSName('webkitPointerLockElement') | 6365 @JSName('webkitPointerLockElement') |
| 6262 /// Moved to [HtmlDocument]. | 6366 /// Moved to [HtmlDocument]. |
| 6263 @DomName('Document.webkitPointerLockElement') | 6367 @DomName('Document.webkitPointerLockElement') |
| 6264 @DocsEditable | 6368 @DocsEditable |
| 6265 @SupportedBrowser(SupportedBrowser.CHROME) | 6369 @SupportedBrowser(SupportedBrowser.CHROME) |
| 6266 @SupportedBrowser(SupportedBrowser.SAFARI) | 6370 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 6267 @Experimental | 6371 @Experimental |
| 6372 // https://dvcs.w3.org/hg/pointerlock/raw-file/default/index.html#widl-Documen
t-pointerLockElement |
| 6268 final Element $dom_webkitPointerLockElement; | 6373 final Element $dom_webkitPointerLockElement; |
| 6269 | 6374 |
| 6270 @JSName('webkitVisibilityState') | 6375 @JSName('webkitVisibilityState') |
| 6271 @DomName('Document.webkitVisibilityState') | 6376 @DomName('Document.webkitVisibilityState') |
| 6272 @DocsEditable | 6377 @DocsEditable |
| 6273 @SupportedBrowser(SupportedBrowser.CHROME) | 6378 @SupportedBrowser(SupportedBrowser.CHROME) |
| 6274 @SupportedBrowser(SupportedBrowser.SAFARI) | 6379 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 6275 @Experimental | 6380 @Experimental |
| 6381 // https://dvcs.w3.org/hg/webperf/raw-file/tip/specs/PageVisibility/Overview.h
tml#dom-document-visibilitystate |
| 6276 final String $dom_webkitVisibilityState; | 6382 final String $dom_webkitVisibilityState; |
| 6277 | 6383 |
| 6278 @JSName('caretRangeFromPoint') | 6384 @JSName('caretRangeFromPoint') |
| 6279 /// Use the [Range] constructor instead. | 6385 /// Use the [Range] constructor instead. |
| 6280 @DomName('Document.caretRangeFromPoint') | 6386 @DomName('Document.caretRangeFromPoint') |
| 6281 @DocsEditable | 6387 @DocsEditable |
| 6388 // http://www.w3.org/TR/2009/WD-cssom-view-20090804/#dom-documentview-caretran
gefrompoint |
| 6389 @Experimental |
| 6282 Range $dom_caretRangeFromPoint(int x, int y) native; | 6390 Range $dom_caretRangeFromPoint(int x, int y) native; |
| 6283 | 6391 |
| 6284 @JSName('createCDATASection') | 6392 @JSName('createCDATASection') |
| 6285 @DomName('Document.createCDATASection') | 6393 @DomName('Document.createCDATASection') |
| 6286 @DocsEditable | 6394 @DocsEditable |
| 6395 // http://dom.spec.whatwg.org/#dom-document-createcdatasection |
| 6396 @deprecated // deprecated |
| 6287 CDataSection createCDataSection(String data) native; | 6397 CDataSection createCDataSection(String data) native; |
| 6288 | 6398 |
| 6289 @DomName('Document.createDocumentFragment') | 6399 @DomName('Document.createDocumentFragment') |
| 6290 @DocsEditable | 6400 @DocsEditable |
| 6291 DocumentFragment createDocumentFragment() native; | 6401 DocumentFragment createDocumentFragment() native; |
| 6292 | 6402 |
| 6293 @JSName('createElement') | 6403 @JSName('createElement') |
| 6294 /// Deprecated: use new Element.tag(tagName) instead. | 6404 /// Deprecated: use new Element.tag(tagName) instead. |
| 6295 @DomName('Document.createElement') | 6405 @DomName('Document.createElement') |
| 6296 @DocsEditable | 6406 @DocsEditable |
| 6297 Element $dom_createElement(String localName_OR_tagName, [String typeExtension]
) native; | 6407 Element $dom_createElement(String localName_OR_tagName, [String typeExtension]
) native; |
| 6298 | 6408 |
| 6299 @JSName('createElementNS') | 6409 @JSName('createElementNS') |
| 6300 @DomName('Document.createElementNS') | 6410 @DomName('Document.createElementNS') |
| 6301 @DocsEditable | 6411 @DocsEditable |
| 6302 Element $dom_createElementNS(String namespaceURI, String qualifiedName, [Strin
g typeExtension]) native; | 6412 Element $dom_createElementNS(String namespaceURI, String qualifiedName, [Strin
g typeExtension]) native; |
| 6303 | 6413 |
| 6304 @JSName('createEvent') | 6414 @JSName('createEvent') |
| 6305 @DomName('Document.createEvent') | 6415 @DomName('Document.createEvent') |
| 6306 @DocsEditable | 6416 @DocsEditable |
| 6307 Event $dom_createEvent(String eventType) native; | 6417 Event $dom_createEvent(String eventType) native; |
| 6308 | 6418 |
| 6309 @JSName('createNodeIterator') | 6419 @JSName('createNodeIterator') |
| 6310 @DomName('Document.createNodeIterator') | 6420 @DomName('Document.createNodeIterator') |
| 6311 @DocsEditable | 6421 @DocsEditable |
| 6422 @Unstable |
| 6312 NodeIterator $dom_createNodeIterator(Node root, int whatToShow, NodeFilter fil
ter, bool expandEntityReferences) native; | 6423 NodeIterator $dom_createNodeIterator(Node root, int whatToShow, NodeFilter fil
ter, bool expandEntityReferences) native; |
| 6313 | 6424 |
| 6314 @JSName('createRange') | 6425 @JSName('createRange') |
| 6315 @DomName('Document.createRange') | 6426 @DomName('Document.createRange') |
| 6316 @DocsEditable | 6427 @DocsEditable |
| 6317 Range $dom_createRange() native; | 6428 Range $dom_createRange() native; |
| 6318 | 6429 |
| 6319 @JSName('createTextNode') | 6430 @JSName('createTextNode') |
| 6320 @DomName('Document.createTextNode') | 6431 @DomName('Document.createTextNode') |
| 6321 @DocsEditable | 6432 @DocsEditable |
| 6322 Text $dom_createTextNode(String data) native; | 6433 Text $dom_createTextNode(String data) native; |
| 6323 | 6434 |
| 6324 @DomName('Document.createTouch') | 6435 @DomName('Document.createTouch') |
| 6325 @DocsEditable | 6436 @DocsEditable |
| 6437 // http://www.w3.org/TR/touch-events/, http://www.chromestatus.com/features |
| 6438 @Experimental |
| 6326 Touch $dom_createTouch(Window window, EventTarget target, int identifier, int
pageX, int pageY, int screenX, int screenY, int webkitRadiusX, int webkitRadiusY
, num webkitRotationAngle, num webkitForce) { | 6439 Touch $dom_createTouch(Window window, EventTarget target, int identifier, int
pageX, int pageY, int screenX, int screenY, int webkitRadiusX, int webkitRadiusY
, num webkitRotationAngle, num webkitForce) { |
| 6327 var target_1 = _convertDartToNative_EventTarget(target); | 6440 var target_1 = _convertDartToNative_EventTarget(target); |
| 6328 return _$dom_createTouch_1(window, target_1, identifier, pageX, pageY, scree
nX, screenY, webkitRadiusX, webkitRadiusY, webkitRotationAngle, webkitForce); | 6441 return _$dom_createTouch_1(window, target_1, identifier, pageX, pageY, scree
nX, screenY, webkitRadiusX, webkitRadiusY, webkitRotationAngle, webkitForce); |
| 6329 } | 6442 } |
| 6330 @JSName('createTouch') | 6443 @JSName('createTouch') |
| 6331 @DomName('Document.createTouch') | 6444 @DomName('Document.createTouch') |
| 6332 @DocsEditable | 6445 @DocsEditable |
| 6446 // http://www.w3.org/TR/touch-events/, http://www.chromestatus.com/features |
| 6447 @Experimental |
| 6333 Touch _$dom_createTouch_1(Window window, target, identifier, pageX, pageY, scr
eenX, screenY, webkitRadiusX, webkitRadiusY, webkitRotationAngle, webkitForce) n
ative; | 6448 Touch _$dom_createTouch_1(Window window, target, identifier, pageX, pageY, scr
eenX, screenY, webkitRadiusX, webkitRadiusY, webkitRotationAngle, webkitForce) n
ative; |
| 6334 | 6449 |
| 6335 @JSName('createTouchList') | 6450 @JSName('createTouchList') |
| 6336 /// Use the [TouchList] constructor instead. | 6451 /// Use the [TouchList] constructor instead. |
| 6337 @DomName('Document.createTouchList') | 6452 @DomName('Document.createTouchList') |
| 6338 @DocsEditable | 6453 @DocsEditable |
| 6454 // http://www.w3.org/TR/touch-events/, http://www.chromestatus.com/features |
| 6455 @Experimental |
| 6339 TouchList $dom_createTouchList() native; | 6456 TouchList $dom_createTouchList() native; |
| 6340 | 6457 |
| 6341 @JSName('createTreeWalker') | 6458 @JSName('createTreeWalker') |
| 6342 @DomName('Document.createTreeWalker') | 6459 @DomName('Document.createTreeWalker') |
| 6343 @DocsEditable | 6460 @DocsEditable |
| 6344 TreeWalker $dom_createTreeWalker(Node root, int whatToShow, NodeFilter filter,
bool expandEntityReferences) native; | 6461 TreeWalker $dom_createTreeWalker(Node root, int whatToShow, NodeFilter filter,
bool expandEntityReferences) native; |
| 6345 | 6462 |
| 6346 @JSName('elementFromPoint') | 6463 @JSName('elementFromPoint') |
| 6347 @DomName('Document.elementFromPoint') | 6464 @DomName('Document.elementFromPoint') |
| 6348 @DocsEditable | 6465 @DocsEditable |
| 6349 Element $dom_elementFromPoint(int x, int y) native; | 6466 Element $dom_elementFromPoint(int x, int y) native; |
| 6350 | 6467 |
| 6351 @DomName('Document.execCommand') | 6468 @DomName('Document.execCommand') |
| 6352 @DocsEditable | 6469 @DocsEditable |
| 6353 bool execCommand(String command, bool userInterface, String value) native; | 6470 bool execCommand(String command, bool userInterface, String value) native; |
| 6354 | 6471 |
| 6355 @JSName('getCSSCanvasContext') | 6472 @JSName('getCSSCanvasContext') |
| 6356 /// Moved to [HtmlDocument]. | 6473 /// Moved to [HtmlDocument]. |
| 6357 @DomName('Document.getCSSCanvasContext') | 6474 @DomName('Document.getCSSCanvasContext') |
| 6358 @DocsEditable | 6475 @DocsEditable |
| 6476 // https://developer.apple.com/library/safari/#documentation/AppleApplications
/Reference/SafariCSSRef/Articles/Functions.html |
| 6477 @Experimental // non-standard |
| 6359 CanvasRenderingContext $dom_getCssCanvasContext(String contextId, String name,
int width, int height) native; | 6478 CanvasRenderingContext $dom_getCssCanvasContext(String contextId, String name,
int width, int height) native; |
| 6360 | 6479 |
| 6361 @DomName('Document.getElementById') | 6480 @DomName('Document.getElementById') |
| 6362 @DocsEditable | 6481 @DocsEditable |
| 6363 Element getElementById(String elementId) native; | 6482 Element getElementById(String elementId) native; |
| 6364 | 6483 |
| 6365 @DomName('Document.getElementsByClassName') | 6484 @DomName('Document.getElementsByClassName') |
| 6366 @DocsEditable | 6485 @DocsEditable |
| 6367 @Returns('NodeList') | 6486 @Returns('NodeList') |
| 6368 @Creates('NodeList') | 6487 @Creates('NodeList') |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6428 @Creates('NodeList') | 6547 @Creates('NodeList') |
| 6429 List<Node> $dom_querySelectorAll(String selectors) native; | 6548 List<Node> $dom_querySelectorAll(String selectors) native; |
| 6430 | 6549 |
| 6431 @JSName('webkitCancelFullScreen') | 6550 @JSName('webkitCancelFullScreen') |
| 6432 /// Moved to [HtmlDocument]. | 6551 /// Moved to [HtmlDocument]. |
| 6433 @DomName('Document.webkitCancelFullScreen') | 6552 @DomName('Document.webkitCancelFullScreen') |
| 6434 @DocsEditable | 6553 @DocsEditable |
| 6435 @SupportedBrowser(SupportedBrowser.CHROME) | 6554 @SupportedBrowser(SupportedBrowser.CHROME) |
| 6436 @SupportedBrowser(SupportedBrowser.SAFARI) | 6555 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 6437 @Experimental | 6556 @Experimental |
| 6557 // https://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html |
| 6558 @deprecated // deprecated |
| 6438 void $dom_webkitCancelFullScreen() native; | 6559 void $dom_webkitCancelFullScreen() native; |
| 6439 | 6560 |
| 6440 @JSName('webkitExitFullscreen') | 6561 @JSName('webkitExitFullscreen') |
| 6441 /// Moved to [HtmlDocument]. | 6562 /// Moved to [HtmlDocument]. |
| 6442 @DomName('Document.webkitExitFullscreen') | 6563 @DomName('Document.webkitExitFullscreen') |
| 6443 @DocsEditable | 6564 @DocsEditable |
| 6444 @SupportedBrowser(SupportedBrowser.CHROME) | 6565 @SupportedBrowser(SupportedBrowser.CHROME) |
| 6445 @SupportedBrowser(SupportedBrowser.SAFARI) | 6566 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 6446 @Experimental | 6567 @Experimental |
| 6568 // https://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html#dom-document-e
xitfullscreen |
| 6447 void $dom_webkitExitFullscreen() native; | 6569 void $dom_webkitExitFullscreen() native; |
| 6448 | 6570 |
| 6449 @JSName('webkitExitPointerLock') | 6571 @JSName('webkitExitPointerLock') |
| 6450 /// Moved to [HtmlDocument]. | 6572 /// Moved to [HtmlDocument]. |
| 6451 @DomName('Document.webkitExitPointerLock') | 6573 @DomName('Document.webkitExitPointerLock') |
| 6452 @DocsEditable | 6574 @DocsEditable |
| 6453 @SupportedBrowser(SupportedBrowser.CHROME) | 6575 @SupportedBrowser(SupportedBrowser.CHROME) |
| 6454 @SupportedBrowser(SupportedBrowser.SAFARI) | 6576 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 6455 @Experimental | 6577 @Experimental |
| 6578 // https://dvcs.w3.org/hg/pointerlock/raw-file/default/index.html#widl-Documen
t-exitPointerLock-void |
| 6456 void $dom_webkitExitPointerLock() native; | 6579 void $dom_webkitExitPointerLock() native; |
| 6457 | 6580 |
| 6458 @JSName('webkitGetNamedFlows') | 6581 @JSName('webkitGetNamedFlows') |
| 6459 @DomName('Document.webkitGetNamedFlows') | 6582 @DomName('Document.webkitGetNamedFlows') |
| 6460 @DocsEditable | 6583 @DocsEditable |
| 6461 @SupportedBrowser(SupportedBrowser.CHROME) | 6584 @SupportedBrowser(SupportedBrowser.CHROME) |
| 6462 @SupportedBrowser(SupportedBrowser.SAFARI) | 6585 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 6463 @Experimental | 6586 @Experimental |
| 6587 // http://www.w3.org/TR/css3-regions/#dom-named-flow-collection |
| 6464 NamedFlowCollection getNamedFlows() native; | 6588 NamedFlowCollection getNamedFlows() native; |
| 6465 | 6589 |
| 6466 @DomName('Document.webkitRegister') | 6590 @DomName('Document.webkitRegister') |
| 6467 @DocsEditable | 6591 @DocsEditable |
| 6468 @SupportedBrowser(SupportedBrowser.CHROME) | 6592 @SupportedBrowser(SupportedBrowser.CHROME) |
| 6469 @SupportedBrowser(SupportedBrowser.SAFARI) | 6593 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 6470 @Experimental | 6594 @Experimental |
| 6595 // https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/custom/index.html#df
n-document-register |
| 6471 CustomElementConstructor register(String name, [Map options]) { | 6596 CustomElementConstructor register(String name, [Map options]) { |
| 6472 if (?options) { | 6597 if (?options) { |
| 6473 var options_1 = convertDartToNative_Dictionary(options); | 6598 var options_1 = convertDartToNative_Dictionary(options); |
| 6474 return _register_1(name, options_1); | 6599 return _register_1(name, options_1); |
| 6475 } | 6600 } |
| 6476 return _register_2(name); | 6601 return _register_2(name); |
| 6477 } | 6602 } |
| 6478 @JSName('webkitRegister') | 6603 @JSName('webkitRegister') |
| 6479 @DomName('Document.webkitRegister') | 6604 @DomName('Document.webkitRegister') |
| 6480 @DocsEditable | 6605 @DocsEditable |
| 6481 @SupportedBrowser(SupportedBrowser.CHROME) | 6606 @SupportedBrowser(SupportedBrowser.CHROME) |
| 6482 @SupportedBrowser(SupportedBrowser.SAFARI) | 6607 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 6483 @Experimental | 6608 @Experimental |
| 6609 // https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/custom/index.html#df
n-document-register |
| 6484 CustomElementConstructor _register_1(name, options) native; | 6610 CustomElementConstructor _register_1(name, options) native; |
| 6485 @JSName('webkitRegister') | 6611 @JSName('webkitRegister') |
| 6486 @DomName('Document.webkitRegister') | 6612 @DomName('Document.webkitRegister') |
| 6487 @DocsEditable | 6613 @DocsEditable |
| 6488 @SupportedBrowser(SupportedBrowser.CHROME) | 6614 @SupportedBrowser(SupportedBrowser.CHROME) |
| 6489 @SupportedBrowser(SupportedBrowser.SAFARI) | 6615 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 6490 @Experimental | 6616 @Experimental |
| 6617 // https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/custom/index.html#df
n-document-register |
| 6491 CustomElementConstructor _register_2(name) native; | 6618 CustomElementConstructor _register_2(name) native; |
| 6492 | 6619 |
| 6493 @DomName('Document.onabort') | 6620 @DomName('Document.onabort') |
| 6494 @DocsEditable | 6621 @DocsEditable |
| 6495 Stream<Event> get onAbort => Element.abortEvent.forTarget(this); | 6622 Stream<Event> get onAbort => Element.abortEvent.forTarget(this); |
| 6496 | 6623 |
| 6497 @DomName('Document.onbeforecopy') | 6624 @DomName('Document.onbeforecopy') |
| 6498 @DocsEditable | 6625 @DocsEditable |
| 6499 Stream<Event> get onBeforeCopy => Element.beforeCopyEvent.forTarget(this); | 6626 Stream<Event> get onBeforeCopy => Element.beforeCopyEvent.forTarget(this); |
| 6500 | 6627 |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6629 @DomName('Document.onreset') | 6756 @DomName('Document.onreset') |
| 6630 @DocsEditable | 6757 @DocsEditable |
| 6631 Stream<Event> get onReset => Element.resetEvent.forTarget(this); | 6758 Stream<Event> get onReset => Element.resetEvent.forTarget(this); |
| 6632 | 6759 |
| 6633 @DomName('Document.onscroll') | 6760 @DomName('Document.onscroll') |
| 6634 @DocsEditable | 6761 @DocsEditable |
| 6635 Stream<Event> get onScroll => Element.scrollEvent.forTarget(this); | 6762 Stream<Event> get onScroll => Element.scrollEvent.forTarget(this); |
| 6636 | 6763 |
| 6637 @DomName('Document.onsearch') | 6764 @DomName('Document.onsearch') |
| 6638 @DocsEditable | 6765 @DocsEditable |
| 6766 // http://www.w3.org/TR/html-markup/input.search.html |
| 6767 @Experimental |
| 6639 Stream<Event> get onSearch => Element.searchEvent.forTarget(this); | 6768 Stream<Event> get onSearch => Element.searchEvent.forTarget(this); |
| 6640 | 6769 |
| 6641 @DomName('Document.onsecuritypolicyviolation') | 6770 @DomName('Document.onsecuritypolicyviolation') |
| 6642 @DocsEditable | 6771 @DocsEditable |
| 6772 // https://dvcs.w3.org/hg/content-security-policy/raw-file/tip/csp-specificati
on.dev.html#widl-Document-onsecuritypolicyviolation |
| 6773 @Experimental |
| 6643 Stream<SecurityPolicyViolationEvent> get onSecurityPolicyViolation => security
PolicyViolationEvent.forTarget(this); | 6774 Stream<SecurityPolicyViolationEvent> get onSecurityPolicyViolation => security
PolicyViolationEvent.forTarget(this); |
| 6644 | 6775 |
| 6645 @DomName('Document.onselect') | 6776 @DomName('Document.onselect') |
| 6646 @DocsEditable | 6777 @DocsEditable |
| 6647 Stream<Event> get onSelect => Element.selectEvent.forTarget(this); | 6778 Stream<Event> get onSelect => Element.selectEvent.forTarget(this); |
| 6648 | 6779 |
| 6649 @DomName('Document.onselectionchange') | 6780 @DomName('Document.onselectionchange') |
| 6650 @DocsEditable | 6781 @DocsEditable |
| 6651 Stream<Event> get onSelectionChange => selectionChangeEvent.forTarget(this); | 6782 Stream<Event> get onSelectionChange => selectionChangeEvent.forTarget(this); |
| 6652 | 6783 |
| 6653 @DomName('Document.onselectstart') | 6784 @DomName('Document.onselectstart') |
| 6654 @DocsEditable | 6785 @DocsEditable |
| 6655 Stream<Event> get onSelectStart => Element.selectStartEvent.forTarget(this); | 6786 Stream<Event> get onSelectStart => Element.selectStartEvent.forTarget(this); |
| 6656 | 6787 |
| 6657 @DomName('Document.onsubmit') | 6788 @DomName('Document.onsubmit') |
| 6658 @DocsEditable | 6789 @DocsEditable |
| 6659 Stream<Event> get onSubmit => Element.submitEvent.forTarget(this); | 6790 Stream<Event> get onSubmit => Element.submitEvent.forTarget(this); |
| 6660 | 6791 |
| 6661 @DomName('Document.ontouchcancel') | 6792 @DomName('Document.ontouchcancel') |
| 6662 @DocsEditable | 6793 @DocsEditable |
| 6794 // http://www.w3.org/TR/touch-events/, http://www.chromestatus.com/features |
| 6795 @Experimental |
| 6663 Stream<TouchEvent> get onTouchCancel => Element.touchCancelEvent.forTarget(thi
s); | 6796 Stream<TouchEvent> get onTouchCancel => Element.touchCancelEvent.forTarget(thi
s); |
| 6664 | 6797 |
| 6665 @DomName('Document.ontouchend') | 6798 @DomName('Document.ontouchend') |
| 6666 @DocsEditable | 6799 @DocsEditable |
| 6800 // http://www.w3.org/TR/touch-events/, http://www.chromestatus.com/features |
| 6801 @Experimental |
| 6667 Stream<TouchEvent> get onTouchEnd => Element.touchEndEvent.forTarget(this); | 6802 Stream<TouchEvent> get onTouchEnd => Element.touchEndEvent.forTarget(this); |
| 6668 | 6803 |
| 6669 @DomName('Document.ontouchmove') | 6804 @DomName('Document.ontouchmove') |
| 6670 @DocsEditable | 6805 @DocsEditable |
| 6806 // http://www.w3.org/TR/touch-events/, http://www.chromestatus.com/features |
| 6807 @Experimental |
| 6671 Stream<TouchEvent> get onTouchMove => Element.touchMoveEvent.forTarget(this); | 6808 Stream<TouchEvent> get onTouchMove => Element.touchMoveEvent.forTarget(this); |
| 6672 | 6809 |
| 6673 @DomName('Document.ontouchstart') | 6810 @DomName('Document.ontouchstart') |
| 6674 @DocsEditable | 6811 @DocsEditable |
| 6812 // http://www.w3.org/TR/touch-events/, http://www.chromestatus.com/features |
| 6813 @Experimental |
| 6675 Stream<TouchEvent> get onTouchStart => Element.touchStartEvent.forTarget(this)
; | 6814 Stream<TouchEvent> get onTouchStart => Element.touchStartEvent.forTarget(this)
; |
| 6676 | 6815 |
| 6677 @DomName('Document.onwebkitfullscreenchange') | 6816 @DomName('Document.onwebkitfullscreenchange') |
| 6678 @DocsEditable | 6817 @DocsEditable |
| 6818 // https://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html |
| 6819 @Experimental |
| 6679 Stream<Event> get onFullscreenChange => Element.fullscreenChangeEvent.forTarge
t(this); | 6820 Stream<Event> get onFullscreenChange => Element.fullscreenChangeEvent.forTarge
t(this); |
| 6680 | 6821 |
| 6681 @DomName('Document.onwebkitfullscreenerror') | 6822 @DomName('Document.onwebkitfullscreenerror') |
| 6682 @DocsEditable | 6823 @DocsEditable |
| 6824 // https://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html |
| 6825 @Experimental |
| 6683 Stream<Event> get onFullscreenError => Element.fullscreenErrorEvent.forTarget(
this); | 6826 Stream<Event> get onFullscreenError => Element.fullscreenErrorEvent.forTarget(
this); |
| 6684 | 6827 |
| 6685 @DomName('Document.onwebkitpointerlockchange') | 6828 @DomName('Document.onwebkitpointerlockchange') |
| 6686 @DocsEditable | 6829 @DocsEditable |
| 6830 // https://dvcs.w3.org/hg/pointerlock/raw-file/default/index.html#widl-Documen
t-onpointerlockchange |
| 6831 @Experimental |
| 6687 Stream<Event> get onPointerLockChange => pointerLockChangeEvent.forTarget(this
); | 6832 Stream<Event> get onPointerLockChange => pointerLockChangeEvent.forTarget(this
); |
| 6688 | 6833 |
| 6689 @DomName('Document.onwebkitpointerlockerror') | 6834 @DomName('Document.onwebkitpointerlockerror') |
| 6690 @DocsEditable | 6835 @DocsEditable |
| 6836 // https://dvcs.w3.org/hg/pointerlock/raw-file/default/index.html#widl-Documen
t-onpointerlockerror |
| 6837 @Experimental |
| 6691 Stream<Event> get onPointerLockError => pointerLockErrorEvent.forTarget(this); | 6838 Stream<Event> get onPointerLockError => pointerLockErrorEvent.forTarget(this); |
| 6692 | 6839 |
| 6693 | 6840 |
| 6694 /** | 6841 /** |
| 6695 * Finds all descendant elements of this document that match the specified | 6842 * Finds all descendant elements of this document that match the specified |
| 6696 * group of selectors. | 6843 * group of selectors. |
| 6697 * | 6844 * |
| 6698 * Unless your webpage contains multiple documents, the top-level queryAll | 6845 * Unless your webpage contains multiple documents, the top-level queryAll |
| 6699 * method behaves the same as this method, so you should use it instead to | 6846 * method behaves the same as this method, so you should use it instead to |
| 6700 * save typing a few characters. | 6847 * save typing a few characters. |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6799 List<Node> $dom_querySelectorAll(String selectors) native; | 6946 List<Node> $dom_querySelectorAll(String selectors) native; |
| 6800 | 6947 |
| 6801 } | 6948 } |
| 6802 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6949 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 6803 // for details. All rights reserved. Use of this source code is governed by a | 6950 // for details. All rights reserved. Use of this source code is governed by a |
| 6804 // BSD-style license that can be found in the LICENSE file. | 6951 // BSD-style license that can be found in the LICENSE file. |
| 6805 | 6952 |
| 6806 | 6953 |
| 6807 @DocsEditable | 6954 @DocsEditable |
| 6808 @DomName('DocumentType') | 6955 @DomName('DocumentType') |
| 6956 // http://www.w3.org/TR/DOM-Level-3-Core/core.html#ID-412266927 |
| 6957 @deprecated // stable |
| 6809 class DocumentType extends Node native "DocumentType" { | 6958 class DocumentType extends Node native "DocumentType" { |
| 6810 } | 6959 } |
| 6811 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6960 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 6812 // for details. All rights reserved. Use of this source code is governed by a | 6961 // for details. All rights reserved. Use of this source code is governed by a |
| 6813 // BSD-style license that can be found in the LICENSE file. | 6962 // BSD-style license that can be found in the LICENSE file. |
| 6814 | 6963 |
| 6815 | 6964 |
| 6816 @DocsEditable | 6965 @DocsEditable |
| 6817 @DomName('DOMError') | 6966 @DomName('DOMError') |
| 6818 class DomError native "DOMError" { | 6967 class DomError native "DOMError" { |
| 6819 | 6968 |
| 6820 @DomName('DOMError.name') | 6969 @DomName('DOMError.name') |
| 6821 @DocsEditable | 6970 @DocsEditable |
| 6822 final String name; | 6971 final String name; |
| 6823 } | 6972 } |
| 6824 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 6973 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 6825 // for details. All rights reserved. Use of this source code is governed by a | 6974 // for details. All rights reserved. Use of this source code is governed by a |
| 6826 // BSD-style license that can be found in the LICENSE file. | 6975 // BSD-style license that can be found in the LICENSE file. |
| 6827 | 6976 |
| 6828 | 6977 |
| 6829 @DomName('DOMException') | 6978 @DomName('DOMException') |
| 6979 @Unstable |
| 6830 class DomException native "DOMException" { | 6980 class DomException native "DOMException" { |
| 6831 | 6981 |
| 6832 static const String INDEX_SIZE = 'IndexSizeError'; | 6982 static const String INDEX_SIZE = 'IndexSizeError'; |
| 6833 static const String HIERARCHY_REQUEST = 'HierarchyRequestError'; | 6983 static const String HIERARCHY_REQUEST = 'HierarchyRequestError'; |
| 6834 static const String WRONG_DOCUMENT = 'WrongDocumentError'; | 6984 static const String WRONG_DOCUMENT = 'WrongDocumentError'; |
| 6835 static const String INVALID_CHARACTER = 'InvalidCharacterError'; | 6985 static const String INVALID_CHARACTER = 'InvalidCharacterError'; |
| 6836 static const String NO_MODIFICATION_ALLOWED = 'NoModificationAllowedError'; | 6986 static const String NO_MODIFICATION_ALLOWED = 'NoModificationAllowedError'; |
| 6837 static const String NOT_FOUND = 'NotFoundError'; | 6987 static const String NOT_FOUND = 'NotFoundError'; |
| 6838 static const String NOT_SUPPORTED = 'NotSupportedError'; | 6988 static const String NOT_SUPPORTED = 'NotSupportedError'; |
| 6839 static const String INVALID_STATE = 'InvalidStateError'; | 6989 static const String INVALID_STATE = 'InvalidStateError'; |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6876 // BSD-style license that can be found in the LICENSE file. | 7026 // BSD-style license that can be found in the LICENSE file. |
| 6877 | 7027 |
| 6878 | 7028 |
| 6879 @DocsEditable | 7029 @DocsEditable |
| 6880 @DomName('DOMImplementation') | 7030 @DomName('DOMImplementation') |
| 6881 class DomImplementation native "DOMImplementation" { | 7031 class DomImplementation native "DOMImplementation" { |
| 6882 | 7032 |
| 6883 @JSName('createCSSStyleSheet') | 7033 @JSName('createCSSStyleSheet') |
| 6884 @DomName('DOMImplementation.createCSSStyleSheet') | 7034 @DomName('DOMImplementation.createCSSStyleSheet') |
| 6885 @DocsEditable | 7035 @DocsEditable |
| 7036 @Experimental // non-standard |
| 6886 CssStyleSheet createCssStyleSheet(String title, String media) native; | 7037 CssStyleSheet createCssStyleSheet(String title, String media) native; |
| 6887 | 7038 |
| 6888 @DomName('DOMImplementation.createDocument') | 7039 @DomName('DOMImplementation.createDocument') |
| 6889 @DocsEditable | 7040 @DocsEditable |
| 6890 Document createDocument(String namespaceURI, String qualifiedName, DocumentTyp
e doctype) native; | 7041 Document createDocument(String namespaceURI, String qualifiedName, DocumentTyp
e doctype) native; |
| 6891 | 7042 |
| 6892 @DomName('DOMImplementation.createDocumentType') | 7043 @DomName('DOMImplementation.createDocumentType') |
| 6893 @DocsEditable | 7044 @DocsEditable |
| 6894 DocumentType createDocumentType(String qualifiedName, String publicId, String
systemId) native; | 7045 DocumentType createDocumentType(String qualifiedName, String publicId, String
systemId) native; |
| 6895 | 7046 |
| (...skipping 1154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8050 @DomName('Element.resetEvent') | 8201 @DomName('Element.resetEvent') |
| 8051 @DocsEditable | 8202 @DocsEditable |
| 8052 static const EventStreamProvider<Event> resetEvent = const EventStreamProvider
<Event>('reset'); | 8203 static const EventStreamProvider<Event> resetEvent = const EventStreamProvider
<Event>('reset'); |
| 8053 | 8204 |
| 8054 @DomName('Element.scrollEvent') | 8205 @DomName('Element.scrollEvent') |
| 8055 @DocsEditable | 8206 @DocsEditable |
| 8056 static const EventStreamProvider<Event> scrollEvent = const EventStreamProvide
r<Event>('scroll'); | 8207 static const EventStreamProvider<Event> scrollEvent = const EventStreamProvide
r<Event>('scroll'); |
| 8057 | 8208 |
| 8058 @DomName('Element.searchEvent') | 8209 @DomName('Element.searchEvent') |
| 8059 @DocsEditable | 8210 @DocsEditable |
| 8211 // http://www.w3.org/TR/html-markup/input.search.html |
| 8212 @Experimental |
| 8060 static const EventStreamProvider<Event> searchEvent = const EventStreamProvide
r<Event>('search'); | 8213 static const EventStreamProvider<Event> searchEvent = const EventStreamProvide
r<Event>('search'); |
| 8061 | 8214 |
| 8062 @DomName('Element.selectEvent') | 8215 @DomName('Element.selectEvent') |
| 8063 @DocsEditable | 8216 @DocsEditable |
| 8064 static const EventStreamProvider<Event> selectEvent = const EventStreamProvide
r<Event>('select'); | 8217 static const EventStreamProvider<Event> selectEvent = const EventStreamProvide
r<Event>('select'); |
| 8065 | 8218 |
| 8066 @DomName('Element.selectstartEvent') | 8219 @DomName('Element.selectstartEvent') |
| 8067 @DocsEditable | 8220 @DocsEditable |
| 8221 @Experimental // nonstandard |
| 8068 static const EventStreamProvider<Event> selectStartEvent = const EventStreamPr
ovider<Event>('selectstart'); | 8222 static const EventStreamProvider<Event> selectStartEvent = const EventStreamPr
ovider<Event>('selectstart'); |
| 8069 | 8223 |
| 8070 @DomName('Element.submitEvent') | 8224 @DomName('Element.submitEvent') |
| 8071 @DocsEditable | 8225 @DocsEditable |
| 8072 static const EventStreamProvider<Event> submitEvent = const EventStreamProvide
r<Event>('submit'); | 8226 static const EventStreamProvider<Event> submitEvent = const EventStreamProvide
r<Event>('submit'); |
| 8073 | 8227 |
| 8074 @DomName('Element.touchcancelEvent') | 8228 @DomName('Element.touchcancelEvent') |
| 8075 @DocsEditable | 8229 @DocsEditable |
| 8230 // http://www.w3.org/TR/touch-events/, http://www.chromestatus.com/features |
| 8231 @Experimental |
| 8076 static const EventStreamProvider<TouchEvent> touchCancelEvent = const EventStr
eamProvider<TouchEvent>('touchcancel'); | 8232 static const EventStreamProvider<TouchEvent> touchCancelEvent = const EventStr
eamProvider<TouchEvent>('touchcancel'); |
| 8077 | 8233 |
| 8078 @DomName('Element.touchendEvent') | 8234 @DomName('Element.touchendEvent') |
| 8079 @DocsEditable | 8235 @DocsEditable |
| 8236 // http://www.w3.org/TR/touch-events/, http://www.chromestatus.com/features |
| 8237 @Experimental |
| 8080 static const EventStreamProvider<TouchEvent> touchEndEvent = const EventStream
Provider<TouchEvent>('touchend'); | 8238 static const EventStreamProvider<TouchEvent> touchEndEvent = const EventStream
Provider<TouchEvent>('touchend'); |
| 8081 | 8239 |
| 8082 @DomName('Element.touchenterEvent') | 8240 @DomName('Element.touchenterEvent') |
| 8083 @DocsEditable | 8241 @DocsEditable |
| 8242 // http://www.w3.org/TR/touch-events/, http://www.chromestatus.com/features |
| 8243 @Experimental |
| 8084 static const EventStreamProvider<TouchEvent> touchEnterEvent = const EventStre
amProvider<TouchEvent>('touchenter'); | 8244 static const EventStreamProvider<TouchEvent> touchEnterEvent = const EventStre
amProvider<TouchEvent>('touchenter'); |
| 8085 | 8245 |
| 8086 @DomName('Element.touchleaveEvent') | 8246 @DomName('Element.touchleaveEvent') |
| 8087 @DocsEditable | 8247 @DocsEditable |
| 8248 // http://www.w3.org/TR/touch-events/, http://www.chromestatus.com/features |
| 8249 @Experimental |
| 8088 static const EventStreamProvider<TouchEvent> touchLeaveEvent = const EventStre
amProvider<TouchEvent>('touchleave'); | 8250 static const EventStreamProvider<TouchEvent> touchLeaveEvent = const EventStre
amProvider<TouchEvent>('touchleave'); |
| 8089 | 8251 |
| 8090 @DomName('Element.touchmoveEvent') | 8252 @DomName('Element.touchmoveEvent') |
| 8091 @DocsEditable | 8253 @DocsEditable |
| 8254 // http://www.w3.org/TR/touch-events/, http://www.chromestatus.com/features |
| 8255 @Experimental |
| 8092 static const EventStreamProvider<TouchEvent> touchMoveEvent = const EventStrea
mProvider<TouchEvent>('touchmove'); | 8256 static const EventStreamProvider<TouchEvent> touchMoveEvent = const EventStrea
mProvider<TouchEvent>('touchmove'); |
| 8093 | 8257 |
| 8094 @DomName('Element.touchstartEvent') | 8258 @DomName('Element.touchstartEvent') |
| 8095 @DocsEditable | 8259 @DocsEditable |
| 8260 // http://www.w3.org/TR/touch-events/, http://www.chromestatus.com/features |
| 8261 @Experimental |
| 8096 static const EventStreamProvider<TouchEvent> touchStartEvent = const EventStre
amProvider<TouchEvent>('touchstart'); | 8262 static const EventStreamProvider<TouchEvent> touchStartEvent = const EventStre
amProvider<TouchEvent>('touchstart'); |
| 8097 | 8263 |
| 8098 @DomName('Element.webkitfullscreenchangeEvent') | 8264 @DomName('Element.webkitfullscreenchangeEvent') |
| 8099 @DocsEditable | 8265 @DocsEditable |
| 8100 @SupportedBrowser(SupportedBrowser.CHROME) | 8266 @SupportedBrowser(SupportedBrowser.CHROME) |
| 8101 @SupportedBrowser(SupportedBrowser.SAFARI) | 8267 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 8102 @Experimental | 8268 @Experimental |
| 8269 // https://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html |
| 8103 static const EventStreamProvider<Event> fullscreenChangeEvent = const EventStr
eamProvider<Event>('webkitfullscreenchange'); | 8270 static const EventStreamProvider<Event> fullscreenChangeEvent = const EventStr
eamProvider<Event>('webkitfullscreenchange'); |
| 8104 | 8271 |
| 8105 @DomName('Element.webkitfullscreenerrorEvent') | 8272 @DomName('Element.webkitfullscreenerrorEvent') |
| 8106 @DocsEditable | 8273 @DocsEditable |
| 8107 @SupportedBrowser(SupportedBrowser.CHROME) | 8274 @SupportedBrowser(SupportedBrowser.CHROME) |
| 8108 @SupportedBrowser(SupportedBrowser.SAFARI) | 8275 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 8109 @Experimental | 8276 @Experimental |
| 8277 // https://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html |
| 8110 static const EventStreamProvider<Event> fullscreenErrorEvent = const EventStre
amProvider<Event>('webkitfullscreenerror'); | 8278 static const EventStreamProvider<Event> fullscreenErrorEvent = const EventStre
amProvider<Event>('webkitfullscreenerror'); |
| 8111 | 8279 |
| 8112 @JSName('children') | 8280 @JSName('children') |
| 8113 @DomName('Element.children') | 8281 @DomName('Element.children') |
| 8114 @DocsEditable | 8282 @DocsEditable |
| 8115 final HtmlCollection $dom_children; | 8283 final HtmlCollection $dom_children; |
| 8116 | 8284 |
| 8117 @DomName('Element.contentEditable') | 8285 @DomName('Element.contentEditable') |
| 8118 @DocsEditable | 8286 @DocsEditable |
| 8119 String contentEditable; | 8287 String contentEditable; |
| (...skipping 27 matching lines...) Expand all Loading... |
| 8147 @DocsEditable | 8315 @DocsEditable |
| 8148 String lang; | 8316 String lang; |
| 8149 | 8317 |
| 8150 @JSName('outerHTML') | 8318 @JSName('outerHTML') |
| 8151 @DomName('Element.outerHTML') | 8319 @DomName('Element.outerHTML') |
| 8152 @DocsEditable | 8320 @DocsEditable |
| 8153 final String outerHtml; | 8321 final String outerHtml; |
| 8154 | 8322 |
| 8155 @DomName('Element.spellcheck') | 8323 @DomName('Element.spellcheck') |
| 8156 @DocsEditable | 8324 @DocsEditable |
| 8325 // http://blog.whatwg.org/the-road-to-html-5-spellchecking |
| 8326 @Experimental // nonstandard |
| 8157 bool spellcheck; | 8327 bool spellcheck; |
| 8158 | 8328 |
| 8159 @DomName('Element.tabIndex') | 8329 @DomName('Element.tabIndex') |
| 8160 @DocsEditable | 8330 @DocsEditable |
| 8161 int tabIndex; | 8331 int tabIndex; |
| 8162 | 8332 |
| 8163 @DomName('Element.title') | 8333 @DomName('Element.title') |
| 8164 @DocsEditable | 8334 @DocsEditable |
| 8165 String title; | 8335 String title; |
| 8166 | 8336 |
| 8167 @DomName('Element.translate') | 8337 @DomName('Element.translate') |
| 8168 @DocsEditable | 8338 @DocsEditable |
| 8339 // http://www.whatwg.org/specs/web-apps/current-work/multipage/elements.html#t
he-translate-attribute |
| 8340 @Experimental |
| 8169 bool translate; | 8341 bool translate; |
| 8170 | 8342 |
| 8171 @JSName('webkitdropzone') | 8343 @JSName('webkitdropzone') |
| 8172 @DomName('Element.webkitdropzone') | 8344 @DomName('Element.webkitdropzone') |
| 8173 @DocsEditable | 8345 @DocsEditable |
| 8174 @SupportedBrowser(SupportedBrowser.CHROME) | 8346 @SupportedBrowser(SupportedBrowser.CHROME) |
| 8175 @SupportedBrowser(SupportedBrowser.SAFARI) | 8347 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 8176 @Experimental | 8348 @Experimental |
| 8349 // http://www.whatwg.org/specs/web-apps/current-work/multipage/dnd.html#the-dr
opzone-attribute |
| 8177 String dropzone; | 8350 String dropzone; |
| 8178 | 8351 |
| 8179 @DomName('Element.click') | 8352 @DomName('Element.click') |
| 8180 @DocsEditable | 8353 @DocsEditable |
| 8181 void click() native; | 8354 void click() native; |
| 8182 | 8355 |
| 8183 @DomName('Element.ALLOW_KEYBOARD_INPUT') | 8356 @DomName('Element.ALLOW_KEYBOARD_INPUT') |
| 8184 @DocsEditable | 8357 @DocsEditable |
| 8358 // https://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html#dom-element-re
questfullscreen |
| 8359 @deprecated // deprecated |
| 8185 static const int ALLOW_KEYBOARD_INPUT = 1; | 8360 static const int ALLOW_KEYBOARD_INPUT = 1; |
| 8186 | 8361 |
| 8187 @JSName('attributes') | 8362 @JSName('attributes') |
| 8188 @DomName('Element.attributes') | 8363 @DomName('Element.attributes') |
| 8189 @DocsEditable | 8364 @DocsEditable |
| 8190 final _NamedNodeMap $dom_attributes; | 8365 final _NamedNodeMap $dom_attributes; |
| 8191 | 8366 |
| 8192 @JSName('childElementCount') | 8367 @JSName('childElementCount') |
| 8193 @DomName('Element.childElementCount') | 8368 @DomName('Element.childElementCount') |
| 8194 @DocsEditable | 8369 @DocsEditable |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8276 @DomName('Element.tagName') | 8451 @DomName('Element.tagName') |
| 8277 @DocsEditable | 8452 @DocsEditable |
| 8278 final String tagName; | 8453 final String tagName; |
| 8279 | 8454 |
| 8280 @JSName('webkitInsertionParent') | 8455 @JSName('webkitInsertionParent') |
| 8281 @DomName('Element.webkitInsertionParent') | 8456 @DomName('Element.webkitInsertionParent') |
| 8282 @DocsEditable | 8457 @DocsEditable |
| 8283 @SupportedBrowser(SupportedBrowser.CHROME) | 8458 @SupportedBrowser(SupportedBrowser.CHROME) |
| 8284 @SupportedBrowser(SupportedBrowser.SAFARI) | 8459 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 8285 @Experimental | 8460 @Experimental |
| 8461 // https://www.w3.org/Bugs/Public/show_bug.cgi?id=21067 |
| 8286 final Node insertionParent; | 8462 final Node insertionParent; |
| 8287 | 8463 |
| 8288 @JSName('webkitPseudo') | 8464 @JSName('webkitPseudo') |
| 8289 @DomName('Element.webkitPseudo') | 8465 @DomName('Element.webkitPseudo') |
| 8290 @DocsEditable | 8466 @DocsEditable |
| 8291 @SupportedBrowser(SupportedBrowser.CHROME) | 8467 @SupportedBrowser(SupportedBrowser.CHROME) |
| 8292 @SupportedBrowser(SupportedBrowser.SAFARI) | 8468 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 8293 @Experimental | 8469 @Experimental |
| 8470 @Experimental // nonstandard |
| 8294 String pseudo; | 8471 String pseudo; |
| 8295 | 8472 |
| 8296 @JSName('webkitRegionOverset') | 8473 @JSName('webkitRegionOverset') |
| 8297 @DomName('Element.webkitRegionOverset') | 8474 @DomName('Element.webkitRegionOverset') |
| 8298 @DocsEditable | 8475 @DocsEditable |
| 8299 @SupportedBrowser(SupportedBrowser.CHROME) | 8476 @SupportedBrowser(SupportedBrowser.CHROME) |
| 8300 @SupportedBrowser(SupportedBrowser.SAFARI) | 8477 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 8301 @Experimental | 8478 @Experimental |
| 8479 // http://dev.w3.org/csswg/css-regions/#dom-region-regionoverset |
| 8302 final String regionOverset; | 8480 final String regionOverset; |
| 8303 | 8481 |
| 8304 @JSName('webkitShadowRoot') | 8482 @JSName('webkitShadowRoot') |
| 8305 @DomName('Element.webkitShadowRoot') | 8483 @DomName('Element.webkitShadowRoot') |
| 8306 @DocsEditable | 8484 @DocsEditable |
| 8307 @SupportedBrowser(SupportedBrowser.CHROME) | 8485 @SupportedBrowser(SupportedBrowser.CHROME) |
| 8308 @SupportedBrowser(SupportedBrowser.SAFARI) | 8486 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 8309 @Experimental | 8487 @Experimental |
| 8488 // https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/shadow/index.html#ap
i-shadow-aware-create-shadow-root |
| 8310 final ShadowRoot shadowRoot; | 8489 final ShadowRoot shadowRoot; |
| 8311 | 8490 |
| 8312 @DomName('Element.blur') | 8491 @DomName('Element.blur') |
| 8313 @DocsEditable | 8492 @DocsEditable |
| 8314 void blur() native; | 8493 void blur() native; |
| 8315 | 8494 |
| 8316 @DomName('Element.focus') | 8495 @DomName('Element.focus') |
| 8317 @DocsEditable | 8496 @DocsEditable |
| 8318 void focus() native; | 8497 void focus() native; |
| 8319 | 8498 |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8408 void scrollByPages(int pages) native; | 8587 void scrollByPages(int pages) native; |
| 8409 | 8588 |
| 8410 @JSName('scrollIntoView') | 8589 @JSName('scrollIntoView') |
| 8411 @DomName('Element.scrollIntoView') | 8590 @DomName('Element.scrollIntoView') |
| 8412 @DocsEditable | 8591 @DocsEditable |
| 8413 void $dom_scrollIntoView([bool alignWithTop]) native; | 8592 void $dom_scrollIntoView([bool alignWithTop]) native; |
| 8414 | 8593 |
| 8415 @JSName('scrollIntoViewIfNeeded') | 8594 @JSName('scrollIntoViewIfNeeded') |
| 8416 @DomName('Element.scrollIntoViewIfNeeded') | 8595 @DomName('Element.scrollIntoViewIfNeeded') |
| 8417 @DocsEditable | 8596 @DocsEditable |
| 8597 // http://docs.webplatform.org/wiki/dom/methods/scrollIntoViewIfNeeded |
| 8598 @Experimental // non-standard |
| 8418 void $dom_scrollIntoViewIfNeeded([bool centerIfNeeded]) native; | 8599 void $dom_scrollIntoViewIfNeeded([bool centerIfNeeded]) native; |
| 8419 | 8600 |
| 8420 @JSName('setAttribute') | 8601 @JSName('setAttribute') |
| 8421 @DomName('Element.setAttribute') | 8602 @DomName('Element.setAttribute') |
| 8422 @DocsEditable | 8603 @DocsEditable |
| 8423 void $dom_setAttribute(String name, String value) native; | 8604 void $dom_setAttribute(String name, String value) native; |
| 8424 | 8605 |
| 8425 @JSName('setAttributeNS') | 8606 @JSName('setAttributeNS') |
| 8426 @DomName('Element.setAttributeNS') | 8607 @DomName('Element.setAttributeNS') |
| 8427 @DocsEditable | 8608 @DocsEditable |
| 8428 void $dom_setAttributeNS(String namespaceURI, String qualifiedName, String val
ue) native; | 8609 void $dom_setAttributeNS(String namespaceURI, String qualifiedName, String val
ue) native; |
| 8429 | 8610 |
| 8430 @JSName('webkitCreateShadowRoot') | 8611 @JSName('webkitCreateShadowRoot') |
| 8431 @DomName('Element.webkitCreateShadowRoot') | 8612 @DomName('Element.webkitCreateShadowRoot') |
| 8432 @DocsEditable | 8613 @DocsEditable |
| 8433 @SupportedBrowser(SupportedBrowser.CHROME, '25') | 8614 @SupportedBrowser(SupportedBrowser.CHROME, '25') |
| 8434 @Experimental | 8615 @Experimental |
| 8616 // https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/shadow/index.html#ap
i-shadow-aware-create-shadow-root |
| 8435 ShadowRoot createShadowRoot() native; | 8617 ShadowRoot createShadowRoot() native; |
| 8436 | 8618 |
| 8437 @JSName('webkitGetRegionFlowRanges') | 8619 @JSName('webkitGetRegionFlowRanges') |
| 8438 @DomName('Element.webkitGetRegionFlowRanges') | 8620 @DomName('Element.webkitGetRegionFlowRanges') |
| 8439 @DocsEditable | 8621 @DocsEditable |
| 8440 @SupportedBrowser(SupportedBrowser.CHROME) | 8622 @SupportedBrowser(SupportedBrowser.CHROME) |
| 8441 @SupportedBrowser(SupportedBrowser.SAFARI) | 8623 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 8442 @Experimental | 8624 @Experimental |
| 8625 // http://dev.w3.org/csswg/css-regions/#dom-region-getregionflowranges |
| 8443 List<Range> getRegionFlowRanges() native; | 8626 List<Range> getRegionFlowRanges() native; |
| 8444 | 8627 |
| 8445 @JSName('webkitRequestFullScreen') | 8628 @JSName('webkitRequestFullScreen') |
| 8446 @DomName('Element.webkitRequestFullScreen') | 8629 @DomName('Element.webkitRequestFullScreen') |
| 8447 @DocsEditable | 8630 @DocsEditable |
| 8448 @SupportedBrowser(SupportedBrowser.CHROME) | 8631 @SupportedBrowser(SupportedBrowser.CHROME) |
| 8449 @SupportedBrowser(SupportedBrowser.SAFARI) | 8632 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 8450 @Experimental | 8633 @Experimental |
| 8634 // https://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html#dom-element-re
questfullscreen |
| 8635 @deprecated // deprecated |
| 8451 void requestFullScreen(int flags) native; | 8636 void requestFullScreen(int flags) native; |
| 8452 | 8637 |
| 8453 @JSName('webkitRequestFullscreen') | 8638 @JSName('webkitRequestFullscreen') |
| 8454 @DomName('Element.webkitRequestFullscreen') | 8639 @DomName('Element.webkitRequestFullscreen') |
| 8455 @DocsEditable | 8640 @DocsEditable |
| 8456 @SupportedBrowser(SupportedBrowser.CHROME) | 8641 @SupportedBrowser(SupportedBrowser.CHROME) |
| 8457 @SupportedBrowser(SupportedBrowser.SAFARI) | 8642 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 8458 @Experimental | 8643 @Experimental |
| 8644 // https://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html#dom-element-re
questfullscreen |
| 8459 void requestFullscreen() native; | 8645 void requestFullscreen() native; |
| 8460 | 8646 |
| 8461 @JSName('webkitRequestPointerLock') | 8647 @JSName('webkitRequestPointerLock') |
| 8462 @DomName('Element.webkitRequestPointerLock') | 8648 @DomName('Element.webkitRequestPointerLock') |
| 8463 @DocsEditable | 8649 @DocsEditable |
| 8464 @SupportedBrowser(SupportedBrowser.CHROME) | 8650 @SupportedBrowser(SupportedBrowser.CHROME) |
| 8465 @SupportedBrowser(SupportedBrowser.SAFARI) | 8651 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 8466 @Experimental | 8652 @Experimental |
| 8653 // https://dvcs.w3.org/hg/pointerlock/raw-file/default/index.html#widl-Element
-requestPointerLock-void |
| 8467 void requestPointerLock() native; | 8654 void requestPointerLock() native; |
| 8468 | 8655 |
| 8469 @DomName('Element.onabort') | 8656 @DomName('Element.onabort') |
| 8470 @DocsEditable | 8657 @DocsEditable |
| 8471 Stream<Event> get onAbort => abortEvent.forTarget(this); | 8658 Stream<Event> get onAbort => abortEvent.forTarget(this); |
| 8472 | 8659 |
| 8473 @DomName('Element.onbeforecopy') | 8660 @DomName('Element.onbeforecopy') |
| 8474 @DocsEditable | 8661 @DocsEditable |
| 8475 Stream<Event> get onBeforeCopy => beforeCopyEvent.forTarget(this); | 8662 Stream<Event> get onBeforeCopy => beforeCopyEvent.forTarget(this); |
| 8476 | 8663 |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8585 @DomName('Element.onmouseover') | 8772 @DomName('Element.onmouseover') |
| 8586 @DocsEditable | 8773 @DocsEditable |
| 8587 Stream<MouseEvent> get onMouseOver => mouseOverEvent.forTarget(this); | 8774 Stream<MouseEvent> get onMouseOver => mouseOverEvent.forTarget(this); |
| 8588 | 8775 |
| 8589 @DomName('Element.onmouseup') | 8776 @DomName('Element.onmouseup') |
| 8590 @DocsEditable | 8777 @DocsEditable |
| 8591 Stream<MouseEvent> get onMouseUp => mouseUpEvent.forTarget(this); | 8778 Stream<MouseEvent> get onMouseUp => mouseUpEvent.forTarget(this); |
| 8592 | 8779 |
| 8593 @DomName('Element.onmousewheel') | 8780 @DomName('Element.onmousewheel') |
| 8594 @DocsEditable | 8781 @DocsEditable |
| 8782 // http://www.w3.org/TR/DOM-Level-3-Events/#events-wheelevents |
| 8783 @Experimental // non-standard |
| 8595 Stream<WheelEvent> get onMouseWheel => mouseWheelEvent.forTarget(this); | 8784 Stream<WheelEvent> get onMouseWheel => mouseWheelEvent.forTarget(this); |
| 8596 | 8785 |
| 8597 @DomName('Element.onpaste') | 8786 @DomName('Element.onpaste') |
| 8598 @DocsEditable | 8787 @DocsEditable |
| 8599 Stream<Event> get onPaste => pasteEvent.forTarget(this); | 8788 Stream<Event> get onPaste => pasteEvent.forTarget(this); |
| 8600 | 8789 |
| 8601 @DomName('Element.onreset') | 8790 @DomName('Element.onreset') |
| 8602 @DocsEditable | 8791 @DocsEditable |
| 8603 Stream<Event> get onReset => resetEvent.forTarget(this); | 8792 Stream<Event> get onReset => resetEvent.forTarget(this); |
| 8604 | 8793 |
| 8605 @DomName('Element.onscroll') | 8794 @DomName('Element.onscroll') |
| 8606 @DocsEditable | 8795 @DocsEditable |
| 8607 Stream<Event> get onScroll => scrollEvent.forTarget(this); | 8796 Stream<Event> get onScroll => scrollEvent.forTarget(this); |
| 8608 | 8797 |
| 8609 @DomName('Element.onsearch') | 8798 @DomName('Element.onsearch') |
| 8610 @DocsEditable | 8799 @DocsEditable |
| 8800 // http://www.w3.org/TR/html-markup/input.search.html |
| 8801 @Experimental |
| 8611 Stream<Event> get onSearch => searchEvent.forTarget(this); | 8802 Stream<Event> get onSearch => searchEvent.forTarget(this); |
| 8612 | 8803 |
| 8613 @DomName('Element.onselect') | 8804 @DomName('Element.onselect') |
| 8614 @DocsEditable | 8805 @DocsEditable |
| 8615 Stream<Event> get onSelect => selectEvent.forTarget(this); | 8806 Stream<Event> get onSelect => selectEvent.forTarget(this); |
| 8616 | 8807 |
| 8617 @DomName('Element.onselectstart') | 8808 @DomName('Element.onselectstart') |
| 8618 @DocsEditable | 8809 @DocsEditable |
| 8810 @Experimental // nonstandard |
| 8619 Stream<Event> get onSelectStart => selectStartEvent.forTarget(this); | 8811 Stream<Event> get onSelectStart => selectStartEvent.forTarget(this); |
| 8620 | 8812 |
| 8621 @DomName('Element.onsubmit') | 8813 @DomName('Element.onsubmit') |
| 8622 @DocsEditable | 8814 @DocsEditable |
| 8623 Stream<Event> get onSubmit => submitEvent.forTarget(this); | 8815 Stream<Event> get onSubmit => submitEvent.forTarget(this); |
| 8624 | 8816 |
| 8625 @DomName('Element.ontouchcancel') | 8817 @DomName('Element.ontouchcancel') |
| 8626 @DocsEditable | 8818 @DocsEditable |
| 8819 // http://www.w3.org/TR/touch-events/, http://www.chromestatus.com/features |
| 8820 @Experimental |
| 8627 Stream<TouchEvent> get onTouchCancel => touchCancelEvent.forTarget(this); | 8821 Stream<TouchEvent> get onTouchCancel => touchCancelEvent.forTarget(this); |
| 8628 | 8822 |
| 8629 @DomName('Element.ontouchend') | 8823 @DomName('Element.ontouchend') |
| 8630 @DocsEditable | 8824 @DocsEditable |
| 8825 // http://www.w3.org/TR/touch-events/, http://www.chromestatus.com/features |
| 8826 @Experimental |
| 8631 Stream<TouchEvent> get onTouchEnd => touchEndEvent.forTarget(this); | 8827 Stream<TouchEvent> get onTouchEnd => touchEndEvent.forTarget(this); |
| 8632 | 8828 |
| 8633 @DomName('Element.ontouchenter') | 8829 @DomName('Element.ontouchenter') |
| 8634 @DocsEditable | 8830 @DocsEditable |
| 8831 // http://www.w3.org/TR/touch-events/, http://www.chromestatus.com/features |
| 8832 @Experimental |
| 8635 Stream<TouchEvent> get onTouchEnter => touchEnterEvent.forTarget(this); | 8833 Stream<TouchEvent> get onTouchEnter => touchEnterEvent.forTarget(this); |
| 8636 | 8834 |
| 8637 @DomName('Element.ontouchleave') | 8835 @DomName('Element.ontouchleave') |
| 8638 @DocsEditable | 8836 @DocsEditable |
| 8837 // http://www.w3.org/TR/touch-events/, http://www.chromestatus.com/features |
| 8838 @Experimental |
| 8639 Stream<TouchEvent> get onTouchLeave => touchLeaveEvent.forTarget(this); | 8839 Stream<TouchEvent> get onTouchLeave => touchLeaveEvent.forTarget(this); |
| 8640 | 8840 |
| 8641 @DomName('Element.ontouchmove') | 8841 @DomName('Element.ontouchmove') |
| 8642 @DocsEditable | 8842 @DocsEditable |
| 8843 // http://www.w3.org/TR/touch-events/, http://www.chromestatus.com/features |
| 8844 @Experimental |
| 8643 Stream<TouchEvent> get onTouchMove => touchMoveEvent.forTarget(this); | 8845 Stream<TouchEvent> get onTouchMove => touchMoveEvent.forTarget(this); |
| 8644 | 8846 |
| 8645 @DomName('Element.ontouchstart') | 8847 @DomName('Element.ontouchstart') |
| 8646 @DocsEditable | 8848 @DocsEditable |
| 8849 // http://www.w3.org/TR/touch-events/, http://www.chromestatus.com/features |
| 8850 @Experimental |
| 8647 Stream<TouchEvent> get onTouchStart => touchStartEvent.forTarget(this); | 8851 Stream<TouchEvent> get onTouchStart => touchStartEvent.forTarget(this); |
| 8648 | 8852 |
| 8649 @DomName('Element.onwebkitTransitionEnd') | 8853 @DomName('Element.onwebkitTransitionEnd') |
| 8650 @DocsEditable | 8854 @DocsEditable |
| 8651 @SupportedBrowser(SupportedBrowser.CHROME) | 8855 @SupportedBrowser(SupportedBrowser.CHROME) |
| 8652 @SupportedBrowser(SupportedBrowser.FIREFOX) | 8856 @SupportedBrowser(SupportedBrowser.FIREFOX) |
| 8653 @SupportedBrowser(SupportedBrowser.IE, '10') | 8857 @SupportedBrowser(SupportedBrowser.IE, '10') |
| 8654 @SupportedBrowser(SupportedBrowser.SAFARI) | 8858 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 8859 @Deprecated |
| 8655 Stream<TransitionEvent> get onTransitionEnd => transitionEndEvent.forTarget(th
is); | 8860 Stream<TransitionEvent> get onTransitionEnd => transitionEndEvent.forTarget(th
is); |
| 8656 | 8861 |
| 8657 @DomName('Element.onwebkitfullscreenchange') | 8862 @DomName('Element.onwebkitfullscreenchange') |
| 8658 @DocsEditable | 8863 @DocsEditable |
| 8864 // https://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html |
| 8865 @Experimental |
| 8659 Stream<Event> get onFullscreenChange => fullscreenChangeEvent.forTarget(this); | 8866 Stream<Event> get onFullscreenChange => fullscreenChangeEvent.forTarget(this); |
| 8660 | 8867 |
| 8661 @DomName('Element.onwebkitfullscreenerror') | 8868 @DomName('Element.onwebkitfullscreenerror') |
| 8662 @DocsEditable | 8869 @DocsEditable |
| 8870 // https://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html |
| 8871 @Experimental |
| 8663 Stream<Event> get onFullscreenError => fullscreenErrorEvent.forTarget(this); | 8872 Stream<Event> get onFullscreenError => fullscreenErrorEvent.forTarget(this); |
| 8664 | 8873 |
| 8665 } | 8874 } |
| 8666 | 8875 |
| 8667 | 8876 |
| 8668 final _START_TAG_REGEXP = new RegExp('<(\\w+)'); | 8877 final _START_TAG_REGEXP = new RegExp('<(\\w+)'); |
| 8669 class _ElementFactoryProvider { | 8878 class _ElementFactoryProvider { |
| 8670 static const _CUSTOM_PARENT_TAG_MAP = const { | 8879 static const _CUSTOM_PARENT_TAG_MAP = const { |
| 8671 'body' : 'html', | 8880 'body' : 'html', |
| 8672 'head' : 'html', | 8881 'head' : 'html', |
| (...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8802 static const CENTER = const ScrollAlignment._internal('CENTER'); | 9011 static const CENTER = const ScrollAlignment._internal('CENTER'); |
| 8803 /// Attempt to align the element to the bottom of the scrollable area. | 9012 /// Attempt to align the element to the bottom of the scrollable area. |
| 8804 static const BOTTOM = const ScrollAlignment._internal('BOTTOM'); | 9013 static const BOTTOM = const ScrollAlignment._internal('BOTTOM'); |
| 8805 } | 9014 } |
| 8806 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 9015 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 8807 // for details. All rights reserved. Use of this source code is governed by a | 9016 // for details. All rights reserved. Use of this source code is governed by a |
| 8808 // BSD-style license that can be found in the LICENSE file. | 9017 // BSD-style license that can be found in the LICENSE file. |
| 8809 | 9018 |
| 8810 | 9019 |
| 8811 @DomName('ElementTraversal') | 9020 @DomName('ElementTraversal') |
| 9021 @Unstable |
| 8812 abstract class ElementTraversal { | 9022 abstract class ElementTraversal { |
| 8813 | 9023 |
| 8814 int $dom_childElementCount; | 9024 int $dom_childElementCount; |
| 8815 | 9025 |
| 8816 Element $dom_firstElementChild; | 9026 Element $dom_firstElementChild; |
| 8817 | 9027 |
| 8818 Element $dom_lastElementChild; | 9028 Element $dom_lastElementChild; |
| 8819 | 9029 |
| 8820 Element nextElementSibling; | 9030 Element nextElementSibling; |
| 8821 | 9031 |
| 8822 Element previousElementSibling; | 9032 Element previousElementSibling; |
| 8823 } | 9033 } |
| 8824 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 9034 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 8825 // for details. All rights reserved. Use of this source code is governed by a | 9035 // for details. All rights reserved. Use of this source code is governed by a |
| 8826 // BSD-style license that can be found in the LICENSE file. | 9036 // BSD-style license that can be found in the LICENSE file. |
| 8827 | 9037 |
| 8828 | 9038 |
| 8829 @DocsEditable | 9039 @DocsEditable |
| 8830 @DomName('HTMLEmbedElement') | 9040 @DomName('HTMLEmbedElement') |
| 8831 @SupportedBrowser(SupportedBrowser.CHROME) | 9041 @SupportedBrowser(SupportedBrowser.CHROME) |
| 8832 @SupportedBrowser(SupportedBrowser.IE) | 9042 @SupportedBrowser(SupportedBrowser.IE) |
| 8833 @SupportedBrowser(SupportedBrowser.SAFARI) | 9043 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 9044 @Unstable |
| 8834 class EmbedElement extends Element native "HTMLEmbedElement" { | 9045 class EmbedElement extends Element native "HTMLEmbedElement" { |
| 8835 | 9046 |
| 8836 @DomName('HTMLEmbedElement.HTMLEmbedElement') | 9047 @DomName('HTMLEmbedElement.HTMLEmbedElement') |
| 8837 @DocsEditable | 9048 @DocsEditable |
| 8838 factory EmbedElement() => document.$dom_createElement("embed"); | 9049 factory EmbedElement() => document.$dom_createElement("embed"); |
| 8839 | 9050 |
| 8840 /// Checks if this type is supported on the current platform. | 9051 /// Checks if this type is supported on the current platform. |
| 8841 static bool get supported => Element.isTagSupported('embed'); | 9052 static bool get supported => Element.isTagSupported('embed'); |
| 8842 | 9053 |
| 8843 @DomName('HTMLEmbedElement.align') | 9054 @DomName('HTMLEmbedElement.align') |
| 8844 @DocsEditable | 9055 @DocsEditable |
| 9056 // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#H
TMLEmbedElement-partial |
| 9057 @deprecated // deprecated |
| 8845 String align; | 9058 String align; |
| 8846 | 9059 |
| 8847 @DomName('HTMLEmbedElement.height') | 9060 @DomName('HTMLEmbedElement.height') |
| 8848 @DocsEditable | 9061 @DocsEditable |
| 8849 String height; | 9062 String height; |
| 8850 | 9063 |
| 8851 @DomName('HTMLEmbedElement.name') | 9064 @DomName('HTMLEmbedElement.name') |
| 8852 @DocsEditable | 9065 @DocsEditable |
| 8853 String name; | 9066 String name; |
| 8854 | 9067 |
| 8855 @DomName('HTMLEmbedElement.src') | 9068 @DomName('HTMLEmbedElement.src') |
| 8856 @DocsEditable | 9069 @DocsEditable |
| 8857 String src; | 9070 String src; |
| 8858 | 9071 |
| 8859 @DomName('HTMLEmbedElement.type') | 9072 @DomName('HTMLEmbedElement.type') |
| 8860 @DocsEditable | 9073 @DocsEditable |
| 8861 String type; | 9074 String type; |
| 8862 | 9075 |
| 8863 @DomName('HTMLEmbedElement.width') | 9076 @DomName('HTMLEmbedElement.width') |
| 8864 @DocsEditable | 9077 @DocsEditable |
| 8865 String width; | 9078 String width; |
| 8866 } | 9079 } |
| 8867 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 9080 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 8868 // for details. All rights reserved. Use of this source code is governed by a | 9081 // for details. All rights reserved. Use of this source code is governed by a |
| 8869 // BSD-style license that can be found in the LICENSE file. | 9082 // BSD-style license that can be found in the LICENSE file. |
| 8870 | 9083 |
| 8871 // WARNING: Do not edit - generated code. | 9084 // WARNING: Do not edit - generated code. |
| 8872 | 9085 |
| 8873 | 9086 |
| 9087 @DomName('EntriesCallback') |
| 9088 // http://www.w3.org/TR/file-system-api/#the-entriescallback-interface |
| 9089 @Experimental |
| 8874 typedef void _EntriesCallback(List<Entry> entries); | 9090 typedef void _EntriesCallback(List<Entry> entries); |
| 8875 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 9091 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 8876 // for details. All rights reserved. Use of this source code is governed by a | 9092 // for details. All rights reserved. Use of this source code is governed by a |
| 8877 // BSD-style license that can be found in the LICENSE file. | 9093 // BSD-style license that can be found in the LICENSE file. |
| 8878 | 9094 |
| 8879 | 9095 |
| 8880 @DocsEditable | 9096 @DocsEditable |
| 8881 @DomName('Entry') | 9097 @DomName('Entry') |
| 9098 // http://www.w3.org/TR/file-system-api/#the-entry-interface |
| 9099 @Experimental |
| 8882 class Entry native "Entry" { | 9100 class Entry native "Entry" { |
| 8883 | 9101 |
| 8884 @DomName('Entry.filesystem') | 9102 @DomName('Entry.filesystem') |
| 8885 @DocsEditable | 9103 @DocsEditable |
| 8886 final FileSystem filesystem; | 9104 final FileSystem filesystem; |
| 8887 | 9105 |
| 8888 @DomName('Entry.fullPath') | 9106 @DomName('Entry.fullPath') |
| 8889 @DocsEditable | 9107 @DocsEditable |
| 8890 final String fullPath; | 9108 final String fullPath; |
| 8891 | 9109 |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8986 @DocsEditable | 9204 @DocsEditable |
| 8987 String toUrl() native; | 9205 String toUrl() native; |
| 8988 } | 9206 } |
| 8989 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 9207 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 8990 // for details. All rights reserved. Use of this source code is governed by a | 9208 // for details. All rights reserved. Use of this source code is governed by a |
| 8991 // BSD-style license that can be found in the LICENSE file. | 9209 // BSD-style license that can be found in the LICENSE file. |
| 8992 | 9210 |
| 8993 // WARNING: Do not edit - generated code. | 9211 // WARNING: Do not edit - generated code. |
| 8994 | 9212 |
| 8995 | 9213 |
| 9214 @DomName('EntryCallback') |
| 9215 // http://www.w3.org/TR/file-system-api/#the-entrycallback-interface |
| 9216 @Experimental |
| 8996 typedef void _EntryCallback(Entry entry); | 9217 typedef void _EntryCallback(Entry entry); |
| 8997 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 9218 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 8998 // for details. All rights reserved. Use of this source code is governed by a | 9219 // for details. All rights reserved. Use of this source code is governed by a |
| 8999 // BSD-style license that can be found in the LICENSE file. | 9220 // BSD-style license that can be found in the LICENSE file. |
| 9000 | 9221 |
| 9001 // WARNING: Do not edit - generated code. | 9222 // WARNING: Do not edit - generated code. |
| 9002 | 9223 |
| 9003 | 9224 |
| 9225 @DomName('ErrorCallback') |
| 9226 // http://www.w3.org/TR/file-system-api/#the-errorcallback-interface |
| 9227 @Experimental |
| 9004 typedef void _ErrorCallback(FileError error); | 9228 typedef void _ErrorCallback(FileError error); |
| 9005 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 9229 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 9006 // for details. All rights reserved. Use of this source code is governed by a | 9230 // for details. All rights reserved. Use of this source code is governed by a |
| 9007 // BSD-style license that can be found in the LICENSE file. | 9231 // BSD-style license that can be found in the LICENSE file. |
| 9008 | 9232 |
| 9009 | 9233 |
| 9010 @DocsEditable | 9234 @DocsEditable |
| 9011 @DomName('ErrorEvent') | 9235 @DomName('ErrorEvent') |
| 9236 @Unstable |
| 9012 class ErrorEvent extends Event native "ErrorEvent" { | 9237 class ErrorEvent extends Event native "ErrorEvent" { |
| 9013 | 9238 |
| 9014 @DomName('ErrorEvent.filename') | 9239 @DomName('ErrorEvent.filename') |
| 9015 @DocsEditable | 9240 @DocsEditable |
| 9016 final String filename; | 9241 final String filename; |
| 9017 | 9242 |
| 9018 @DomName('ErrorEvent.lineno') | 9243 @DomName('ErrorEvent.lineno') |
| 9019 @DocsEditable | 9244 @DocsEditable |
| 9020 final int lineno; | 9245 final int lineno; |
| 9021 | 9246 |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9058 e.$dom_initEvent(name, canBubble, cancelable); | 9283 e.$dom_initEvent(name, canBubble, cancelable); |
| 9059 return e; | 9284 return e; |
| 9060 } | 9285 } |
| 9061 | 9286 |
| 9062 @DomName('Event.AT_TARGET') | 9287 @DomName('Event.AT_TARGET') |
| 9063 @DocsEditable | 9288 @DocsEditable |
| 9064 static const int AT_TARGET = 2; | 9289 static const int AT_TARGET = 2; |
| 9065 | 9290 |
| 9066 @DomName('Event.BLUR') | 9291 @DomName('Event.BLUR') |
| 9067 @DocsEditable | 9292 @DocsEditable |
| 9293 // https://developer.mozilla.org/en-US/docs/DOM/window.captureEvents |
| 9294 @deprecated // deprecated |
| 9068 static const int BLUR = 8192; | 9295 static const int BLUR = 8192; |
| 9069 | 9296 |
| 9070 @DomName('Event.BUBBLING_PHASE') | 9297 @DomName('Event.BUBBLING_PHASE') |
| 9071 @DocsEditable | 9298 @DocsEditable |
| 9072 static const int BUBBLING_PHASE = 3; | 9299 static const int BUBBLING_PHASE = 3; |
| 9073 | 9300 |
| 9074 @DomName('Event.CAPTURING_PHASE') | 9301 @DomName('Event.CAPTURING_PHASE') |
| 9075 @DocsEditable | 9302 @DocsEditable |
| 9076 static const int CAPTURING_PHASE = 1; | 9303 static const int CAPTURING_PHASE = 1; |
| 9077 | 9304 |
| 9078 @DomName('Event.CHANGE') | 9305 @DomName('Event.CHANGE') |
| 9079 @DocsEditable | 9306 @DocsEditable |
| 9307 // https://developer.mozilla.org/en-US/docs/DOM/window.captureEvents |
| 9308 @deprecated // deprecated |
| 9080 static const int CHANGE = 32768; | 9309 static const int CHANGE = 32768; |
| 9081 | 9310 |
| 9082 @DomName('Event.CLICK') | 9311 @DomName('Event.CLICK') |
| 9083 @DocsEditable | 9312 @DocsEditable |
| 9313 // https://developer.mozilla.org/en-US/docs/DOM/window.captureEvents |
| 9314 @deprecated // deprecated |
| 9084 static const int CLICK = 64; | 9315 static const int CLICK = 64; |
| 9085 | 9316 |
| 9086 @DomName('Event.DBLCLICK') | 9317 @DomName('Event.DBLCLICK') |
| 9087 @DocsEditable | 9318 @DocsEditable |
| 9319 // https://developer.mozilla.org/en-US/docs/DOM/window.captureEvents |
| 9320 @deprecated // deprecated |
| 9088 static const int DBLCLICK = 128; | 9321 static const int DBLCLICK = 128; |
| 9089 | 9322 |
| 9090 @DomName('Event.DRAGDROP') | 9323 @DomName('Event.DRAGDROP') |
| 9091 @DocsEditable | 9324 @DocsEditable |
| 9325 // https://developer.mozilla.org/en-US/docs/DOM/window.captureEvents |
| 9326 @deprecated // deprecated |
| 9092 static const int DRAGDROP = 2048; | 9327 static const int DRAGDROP = 2048; |
| 9093 | 9328 |
| 9094 @DomName('Event.FOCUS') | 9329 @DomName('Event.FOCUS') |
| 9095 @DocsEditable | 9330 @DocsEditable |
| 9331 // https://developer.mozilla.org/en-US/docs/DOM/window.captureEvents |
| 9332 @deprecated // deprecated |
| 9096 static const int FOCUS = 4096; | 9333 static const int FOCUS = 4096; |
| 9097 | 9334 |
| 9098 @DomName('Event.KEYDOWN') | 9335 @DomName('Event.KEYDOWN') |
| 9099 @DocsEditable | 9336 @DocsEditable |
| 9337 // https://developer.mozilla.org/en-US/docs/DOM/window.captureEvents |
| 9338 @deprecated // deprecated |
| 9100 static const int KEYDOWN = 256; | 9339 static const int KEYDOWN = 256; |
| 9101 | 9340 |
| 9102 @DomName('Event.KEYPRESS') | 9341 @DomName('Event.KEYPRESS') |
| 9103 @DocsEditable | 9342 @DocsEditable |
| 9343 // https://developer.mozilla.org/en-US/docs/DOM/window.captureEvents |
| 9344 @deprecated // deprecated |
| 9104 static const int KEYPRESS = 1024; | 9345 static const int KEYPRESS = 1024; |
| 9105 | 9346 |
| 9106 @DomName('Event.KEYUP') | 9347 @DomName('Event.KEYUP') |
| 9107 @DocsEditable | 9348 @DocsEditable |
| 9349 // https://developer.mozilla.org/en-US/docs/DOM/window.captureEvents |
| 9350 @deprecated // deprecated |
| 9108 static const int KEYUP = 512; | 9351 static const int KEYUP = 512; |
| 9109 | 9352 |
| 9110 @DomName('Event.MOUSEDOWN') | 9353 @DomName('Event.MOUSEDOWN') |
| 9111 @DocsEditable | 9354 @DocsEditable |
| 9355 // https://developer.mozilla.org/en-US/docs/DOM/window.captureEvents |
| 9356 @deprecated // deprecated |
| 9112 static const int MOUSEDOWN = 1; | 9357 static const int MOUSEDOWN = 1; |
| 9113 | 9358 |
| 9114 @DomName('Event.MOUSEDRAG') | 9359 @DomName('Event.MOUSEDRAG') |
| 9115 @DocsEditable | 9360 @DocsEditable |
| 9361 // https://developer.mozilla.org/en-US/docs/DOM/window.captureEvents |
| 9362 @deprecated // deprecated |
| 9116 static const int MOUSEDRAG = 32; | 9363 static const int MOUSEDRAG = 32; |
| 9117 | 9364 |
| 9118 @DomName('Event.MOUSEMOVE') | 9365 @DomName('Event.MOUSEMOVE') |
| 9119 @DocsEditable | 9366 @DocsEditable |
| 9367 // https://developer.mozilla.org/en-US/docs/DOM/window.captureEvents |
| 9368 @deprecated // deprecated |
| 9120 static const int MOUSEMOVE = 16; | 9369 static const int MOUSEMOVE = 16; |
| 9121 | 9370 |
| 9122 @DomName('Event.MOUSEOUT') | 9371 @DomName('Event.MOUSEOUT') |
| 9123 @DocsEditable | 9372 @DocsEditable |
| 9373 // https://developer.mozilla.org/en-US/docs/DOM/window.captureEvents |
| 9374 @deprecated // deprecated |
| 9124 static const int MOUSEOUT = 8; | 9375 static const int MOUSEOUT = 8; |
| 9125 | 9376 |
| 9126 @DomName('Event.MOUSEOVER') | 9377 @DomName('Event.MOUSEOVER') |
| 9127 @DocsEditable | 9378 @DocsEditable |
| 9379 // https://developer.mozilla.org/en-US/docs/DOM/window.captureEvents |
| 9380 @deprecated // deprecated |
| 9128 static const int MOUSEOVER = 4; | 9381 static const int MOUSEOVER = 4; |
| 9129 | 9382 |
| 9130 @DomName('Event.MOUSEUP') | 9383 @DomName('Event.MOUSEUP') |
| 9131 @DocsEditable | 9384 @DocsEditable |
| 9385 // https://developer.mozilla.org/en-US/docs/DOM/window.captureEvents |
| 9386 @deprecated // deprecated |
| 9132 static const int MOUSEUP = 2; | 9387 static const int MOUSEUP = 2; |
| 9133 | 9388 |
| 9134 @DomName('Event.NONE') | 9389 @DomName('Event.NONE') |
| 9135 @DocsEditable | 9390 @DocsEditable |
| 9391 // https://developer.mozilla.org/en-US/docs/DOM/window.captureEvents |
| 9392 @deprecated // deprecated |
| 9136 static const int NONE = 0; | 9393 static const int NONE = 0; |
| 9137 | 9394 |
| 9138 @DomName('Event.SELECT') | 9395 @DomName('Event.SELECT') |
| 9139 @DocsEditable | 9396 @DocsEditable |
| 9397 // https://developer.mozilla.org/en-US/docs/DOM/window.captureEvents |
| 9398 @deprecated // deprecated |
| 9140 static const int SELECT = 16384; | 9399 static const int SELECT = 16384; |
| 9141 | 9400 |
| 9142 @DomName('Event.bubbles') | 9401 @DomName('Event.bubbles') |
| 9143 @DocsEditable | 9402 @DocsEditable |
| 9144 final bool bubbles; | 9403 final bool bubbles; |
| 9145 | 9404 |
| 9146 @DomName('Event.cancelBubble') | 9405 @DomName('Event.cancelBubble') |
| 9147 @DocsEditable | 9406 @DocsEditable |
| 9407 // http://www.w3.org/TR/DOM-Level-3-Events/#events-event-type-stopPropagation |
| 9408 @deprecated // deprecated |
| 9148 bool cancelBubble; | 9409 bool cancelBubble; |
| 9149 | 9410 |
| 9150 @DomName('Event.cancelable') | 9411 @DomName('Event.cancelable') |
| 9151 @DocsEditable | 9412 @DocsEditable |
| 9152 final bool cancelable; | 9413 final bool cancelable; |
| 9153 | 9414 |
| 9154 @DomName('Event.clipboardData') | 9415 @DomName('Event.clipboardData') |
| 9155 @DocsEditable | 9416 @DocsEditable |
| 9156 @SupportedBrowser(SupportedBrowser.CHROME) | 9417 @SupportedBrowser(SupportedBrowser.CHROME) |
| 9157 @SupportedBrowser(SupportedBrowser.SAFARI) | 9418 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 9158 @Experimental | 9419 @Experimental |
| 9420 // Part of copy/paste |
| 9421 @Experimental // nonstandard |
| 9159 final DataTransfer clipboardData; | 9422 final DataTransfer clipboardData; |
| 9160 | 9423 |
| 9161 EventTarget get currentTarget => _convertNativeToDart_EventTarget(this._get_cu
rrentTarget); | 9424 EventTarget get currentTarget => _convertNativeToDart_EventTarget(this._get_cu
rrentTarget); |
| 9162 @JSName('currentTarget') | 9425 @JSName('currentTarget') |
| 9163 @DomName('Event.currentTarget') | 9426 @DomName('Event.currentTarget') |
| 9164 @DocsEditable | 9427 @DocsEditable |
| 9165 @Creates('Null') | 9428 @Creates('Null') |
| 9166 @Returns('EventTarget|=Object') | 9429 @Returns('EventTarget|=Object') |
| 9167 final dynamic _get_currentTarget; | 9430 final dynamic _get_currentTarget; |
| 9168 | 9431 |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9208 void stopPropagation() native; | 9471 void stopPropagation() native; |
| 9209 | 9472 |
| 9210 } | 9473 } |
| 9211 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 9474 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 9212 // for details. All rights reserved. Use of this source code is governed by a | 9475 // for details. All rights reserved. Use of this source code is governed by a |
| 9213 // BSD-style license that can be found in the LICENSE file. | 9476 // BSD-style license that can be found in the LICENSE file. |
| 9214 | 9477 |
| 9215 | 9478 |
| 9216 @DocsEditable | 9479 @DocsEditable |
| 9217 @DomName('EventException') | 9480 @DomName('EventException') |
| 9481 @Unstable |
| 9218 class EventException native "EventException" { | 9482 class EventException native "EventException" { |
| 9219 | 9483 |
| 9220 @DomName('EventException.DISPATCH_REQUEST_ERR') | 9484 @DomName('EventException.DISPATCH_REQUEST_ERR') |
| 9221 @DocsEditable | 9485 @DocsEditable |
| 9222 static const int DISPATCH_REQUEST_ERR = 1; | 9486 static const int DISPATCH_REQUEST_ERR = 1; |
| 9223 | 9487 |
| 9224 @DomName('EventException.UNSPECIFIED_EVENT_TYPE_ERR') | 9488 @DomName('EventException.UNSPECIFIED_EVENT_TYPE_ERR') |
| 9225 @DocsEditable | 9489 @DocsEditable |
| 9226 static const int UNSPECIFIED_EVENT_TYPE_ERR = 0; | 9490 static const int UNSPECIFIED_EVENT_TYPE_ERR = 0; |
| 9227 | 9491 |
| 9228 @DomName('EventException.code') | 9492 @DomName('EventException.code') |
| 9229 @DocsEditable | 9493 @DocsEditable |
| 9230 final int code; | 9494 final int code; |
| 9231 | 9495 |
| 9232 @DomName('EventException.message') | 9496 @DomName('EventException.message') |
| 9233 @DocsEditable | 9497 @DocsEditable |
| 9498 @deprecated // nonstandard |
| 9234 final String message; | 9499 final String message; |
| 9235 | 9500 |
| 9236 @DomName('EventException.name') | 9501 @DomName('EventException.name') |
| 9237 @DocsEditable | 9502 @DocsEditable |
| 9503 @deprecated // nonstandard |
| 9238 final String name; | 9504 final String name; |
| 9239 | 9505 |
| 9240 @DomName('EventException.toString') | 9506 @DomName('EventException.toString') |
| 9241 @DocsEditable | 9507 @DocsEditable |
| 9242 String toString() native; | 9508 String toString() native; |
| 9243 } | 9509 } |
| 9244 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 9510 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 9245 // for details. All rights reserved. Use of this source code is governed by a | 9511 // for details. All rights reserved. Use of this source code is governed by a |
| 9246 // BSD-style license that can be found in the LICENSE file. | 9512 // BSD-style license that can be found in the LICENSE file. |
| 9247 | 9513 |
| 9248 | 9514 |
| 9249 @DomName('EventSource') | 9515 @DomName('EventSource') |
| 9516 // http://www.w3.org/TR/eventsource/#the-eventsource-interface |
| 9517 @Experimental // stable |
| 9250 class EventSource extends EventTarget native "EventSource" { | 9518 class EventSource extends EventTarget native "EventSource" { |
| 9251 factory EventSource(String title, {withCredentials: false}) { | 9519 factory EventSource(String title, {withCredentials: false}) { |
| 9252 var parsedOptions = { | 9520 var parsedOptions = { |
| 9253 'withCredentials': withCredentials, | 9521 'withCredentials': withCredentials, |
| 9254 }; | 9522 }; |
| 9255 return EventSource._factoryEventSource(title, parsedOptions); | 9523 return EventSource._factoryEventSource(title, parsedOptions); |
| 9256 } | 9524 } |
| 9257 | 9525 |
| 9258 @DomName('EventSource.errorEvent') | 9526 @DomName('EventSource.errorEvent') |
| 9259 @DocsEditable | 9527 @DocsEditable |
| (...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9416 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]) native; | 9684 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]) native; |
| 9417 | 9685 |
| 9418 } | 9686 } |
| 9419 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 9687 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 9420 // for details. All rights reserved. Use of this source code is governed by a | 9688 // for details. All rights reserved. Use of this source code is governed by a |
| 9421 // BSD-style license that can be found in the LICENSE file. | 9689 // BSD-style license that can be found in the LICENSE file. |
| 9422 | 9690 |
| 9423 | 9691 |
| 9424 @DocsEditable | 9692 @DocsEditable |
| 9425 @DomName('HTMLFieldSetElement') | 9693 @DomName('HTMLFieldSetElement') |
| 9694 @Unstable |
| 9426 class FieldSetElement extends Element native "HTMLFieldSetElement" { | 9695 class FieldSetElement extends Element native "HTMLFieldSetElement" { |
| 9427 | 9696 |
| 9428 @DomName('HTMLFieldSetElement.HTMLFieldSetElement') | 9697 @DomName('HTMLFieldSetElement.HTMLFieldSetElement') |
| 9429 @DocsEditable | 9698 @DocsEditable |
| 9430 factory FieldSetElement() => document.$dom_createElement("fieldset"); | 9699 factory FieldSetElement() => document.$dom_createElement("fieldset"); |
| 9431 | 9700 |
| 9432 @DomName('HTMLFieldSetElement.disabled') | 9701 @DomName('HTMLFieldSetElement.disabled') |
| 9433 @DocsEditable | 9702 @DocsEditable |
| 9434 bool disabled; | 9703 bool disabled; |
| 9435 | 9704 |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9487 @DomName('File.name') | 9756 @DomName('File.name') |
| 9488 @DocsEditable | 9757 @DocsEditable |
| 9489 final String name; | 9758 final String name; |
| 9490 | 9759 |
| 9491 @JSName('webkitRelativePath') | 9760 @JSName('webkitRelativePath') |
| 9492 @DomName('File.webkitRelativePath') | 9761 @DomName('File.webkitRelativePath') |
| 9493 @DocsEditable | 9762 @DocsEditable |
| 9494 @SupportedBrowser(SupportedBrowser.CHROME) | 9763 @SupportedBrowser(SupportedBrowser.CHROME) |
| 9495 @SupportedBrowser(SupportedBrowser.SAFARI) | 9764 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 9496 @Experimental | 9765 @Experimental |
| 9766 // https://plus.sandbox.google.com/+AddyOsmani/posts/Dk5UhZ6zfF3 |
| 9497 final String relativePath; | 9767 final String relativePath; |
| 9498 } | 9768 } |
| 9499 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 9769 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 9500 // for details. All rights reserved. Use of this source code is governed by a | 9770 // for details. All rights reserved. Use of this source code is governed by a |
| 9501 // BSD-style license that can be found in the LICENSE file. | 9771 // BSD-style license that can be found in the LICENSE file. |
| 9502 | 9772 |
| 9503 // WARNING: Do not edit - generated code. | 9773 // WARNING: Do not edit - generated code. |
| 9504 | 9774 |
| 9505 | 9775 |
| 9776 @DomName('FileCallback') |
| 9777 // http://www.w3.org/TR/file-system-api/#the-filecallback-interface |
| 9778 @Experimental |
| 9506 typedef void _FileCallback(File file); | 9779 typedef void _FileCallback(File file); |
| 9507 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 9780 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 9508 // for details. All rights reserved. Use of this source code is governed by a | 9781 // for details. All rights reserved. Use of this source code is governed by a |
| 9509 // BSD-style license that can be found in the LICENSE file. | 9782 // BSD-style license that can be found in the LICENSE file. |
| 9510 | 9783 |
| 9511 | 9784 |
| 9512 @DocsEditable | 9785 @DocsEditable |
| 9513 @DomName('FileEntry') | 9786 @DomName('FileEntry') |
| 9787 // http://www.w3.org/TR/file-system-api/#the-fileentry-interface |
| 9788 @Experimental |
| 9514 class FileEntry extends Entry native "FileEntry" { | 9789 class FileEntry extends Entry native "FileEntry" { |
| 9515 | 9790 |
| 9516 @JSName('createWriter') | 9791 @JSName('createWriter') |
| 9517 @DomName('FileEntry.createWriter') | 9792 @DomName('FileEntry.createWriter') |
| 9518 @DocsEditable | 9793 @DocsEditable |
| 9519 void _createWriter(_FileWriterCallback successCallback, [_ErrorCallback errorC
allback]) native; | 9794 void _createWriter(_FileWriterCallback successCallback, [_ErrorCallback errorC
allback]) native; |
| 9520 | 9795 |
| 9521 @JSName('createWriter') | 9796 @JSName('createWriter') |
| 9522 @DomName('FileEntry.createWriter') | 9797 @DomName('FileEntry.createWriter') |
| 9523 @DocsEditable | 9798 @DocsEditable |
| (...skipping 21 matching lines...) Expand all Loading... |
| 9545 return completer.future; | 9820 return completer.future; |
| 9546 } | 9821 } |
| 9547 } | 9822 } |
| 9548 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 9823 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 9549 // for details. All rights reserved. Use of this source code is governed by a | 9824 // for details. All rights reserved. Use of this source code is governed by a |
| 9550 // BSD-style license that can be found in the LICENSE file. | 9825 // BSD-style license that can be found in the LICENSE file. |
| 9551 | 9826 |
| 9552 | 9827 |
| 9553 @DocsEditable | 9828 @DocsEditable |
| 9554 @DomName('FileError') | 9829 @DomName('FileError') |
| 9830 // http://dev.w3.org/2009/dap/file-system/pub/FileSystem/ |
| 9831 @Experimental |
| 9555 class FileError native "FileError" { | 9832 class FileError native "FileError" { |
| 9556 | 9833 |
| 9557 @DomName('FileError.ABORT_ERR') | 9834 @DomName('FileError.ABORT_ERR') |
| 9558 @DocsEditable | 9835 @DocsEditable |
| 9559 static const int ABORT_ERR = 3; | 9836 static const int ABORT_ERR = 3; |
| 9560 | 9837 |
| 9561 @DomName('FileError.ENCODING_ERR') | 9838 @DomName('FileError.ENCODING_ERR') |
| 9562 @DocsEditable | 9839 @DocsEditable |
| 9563 static const int ENCODING_ERR = 5; | 9840 static const int ENCODING_ERR = 5; |
| 9564 | 9841 |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9606 @DocsEditable | 9883 @DocsEditable |
| 9607 final int code; | 9884 final int code; |
| 9608 } | 9885 } |
| 9609 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 9886 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 9610 // for details. All rights reserved. Use of this source code is governed by a | 9887 // for details. All rights reserved. Use of this source code is governed by a |
| 9611 // BSD-style license that can be found in the LICENSE file. | 9888 // BSD-style license that can be found in the LICENSE file. |
| 9612 | 9889 |
| 9613 | 9890 |
| 9614 @DocsEditable | 9891 @DocsEditable |
| 9615 @DomName('FileException') | 9892 @DomName('FileException') |
| 9893 // http://dev.w3.org/2009/dap/file-system/pub/FileSystem/ |
| 9894 @Experimental |
| 9616 class FileException native "FileException" { | 9895 class FileException native "FileException" { |
| 9617 | 9896 |
| 9618 @DomName('FileException.ABORT_ERR') | 9897 @DomName('FileException.ABORT_ERR') |
| 9619 @DocsEditable | 9898 @DocsEditable |
| 9620 static const int ABORT_ERR = 3; | 9899 static const int ABORT_ERR = 3; |
| 9621 | 9900 |
| 9622 @DomName('FileException.ENCODING_ERR') | 9901 @DomName('FileException.ENCODING_ERR') |
| 9623 @DocsEditable | 9902 @DocsEditable |
| 9624 static const int ENCODING_ERR = 5; | 9903 static const int ENCODING_ERR = 5; |
| 9625 | 9904 |
| (...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9817 @DomName('FileReader.dispatchEvent') | 10096 @DomName('FileReader.dispatchEvent') |
| 9818 @DocsEditable | 10097 @DocsEditable |
| 9819 bool dispatchEvent(Event evt) native; | 10098 bool dispatchEvent(Event evt) native; |
| 9820 | 10099 |
| 9821 @DomName('FileReader.readAsArrayBuffer') | 10100 @DomName('FileReader.readAsArrayBuffer') |
| 9822 @DocsEditable | 10101 @DocsEditable |
| 9823 void readAsArrayBuffer(Blob blob) native; | 10102 void readAsArrayBuffer(Blob blob) native; |
| 9824 | 10103 |
| 9825 @DomName('FileReader.readAsBinaryString') | 10104 @DomName('FileReader.readAsBinaryString') |
| 9826 @DocsEditable | 10105 @DocsEditable |
| 10106 // http://blog.whatwg.org/weekly-stream-autocomplete |
| 10107 @deprecated // deprecated |
| 9827 void readAsBinaryString(Blob blob) native; | 10108 void readAsBinaryString(Blob blob) native; |
| 9828 | 10109 |
| 9829 @JSName('readAsDataURL') | 10110 @JSName('readAsDataURL') |
| 9830 @DomName('FileReader.readAsDataURL') | 10111 @DomName('FileReader.readAsDataURL') |
| 9831 @DocsEditable | 10112 @DocsEditable |
| 9832 void readAsDataUrl(Blob blob) native; | 10113 void readAsDataUrl(Blob blob) native; |
| 9833 | 10114 |
| 9834 @DomName('FileReader.readAsText') | 10115 @DomName('FileReader.readAsText') |
| 9835 @DocsEditable | 10116 @DocsEditable |
| 9836 void readAsText(Blob blob, [String encoding]) native; | 10117 void readAsText(Blob blob, [String encoding]) native; |
| (...skipping 29 matching lines...) Expand all Loading... |
| 9866 } | 10147 } |
| 9867 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 10148 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 9868 // for details. All rights reserved. Use of this source code is governed by a | 10149 // for details. All rights reserved. Use of this source code is governed by a |
| 9869 // BSD-style license that can be found in the LICENSE file. | 10150 // BSD-style license that can be found in the LICENSE file. |
| 9870 | 10151 |
| 9871 | 10152 |
| 9872 @DocsEditable | 10153 @DocsEditable |
| 9873 @DomName('DOMFileSystem') | 10154 @DomName('DOMFileSystem') |
| 9874 @SupportedBrowser(SupportedBrowser.CHROME) | 10155 @SupportedBrowser(SupportedBrowser.CHROME) |
| 9875 @Experimental | 10156 @Experimental |
| 10157 // http://www.w3.org/TR/file-system-api/ |
| 9876 class FileSystem native "DOMFileSystem" { | 10158 class FileSystem native "DOMFileSystem" { |
| 9877 | 10159 |
| 9878 /// Checks if this type is supported on the current platform. | 10160 /// Checks if this type is supported on the current platform. |
| 9879 static bool get supported => JS('bool', '!!(window.webkitRequestFileSystem)'); | 10161 static bool get supported => JS('bool', '!!(window.webkitRequestFileSystem)'); |
| 9880 | 10162 |
| 9881 @DomName('DOMFileSystem.name') | 10163 @DomName('DOMFileSystem.name') |
| 9882 @DocsEditable | 10164 @DocsEditable |
| 9883 final String name; | 10165 final String name; |
| 9884 | 10166 |
| 9885 @DomName('DOMFileSystem.root') | 10167 @DomName('DOMFileSystem.root') |
| 9886 @DocsEditable | 10168 @DocsEditable |
| 9887 final DirectoryEntry root; | 10169 final DirectoryEntry root; |
| 9888 } | 10170 } |
| 9889 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 10171 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 9890 // for details. All rights reserved. Use of this source code is governed by a | 10172 // for details. All rights reserved. Use of this source code is governed by a |
| 9891 // BSD-style license that can be found in the LICENSE file. | 10173 // BSD-style license that can be found in the LICENSE file. |
| 9892 | 10174 |
| 9893 // WARNING: Do not edit - generated code. | 10175 // WARNING: Do not edit - generated code. |
| 9894 | 10176 |
| 9895 | 10177 |
| 10178 @DomName('FileSystemCallback') |
| 10179 // http://www.w3.org/TR/file-system-api/#the-filesystemcallback-interface |
| 10180 @Experimental |
| 9896 typedef void _FileSystemCallback(FileSystem fileSystem); | 10181 typedef void _FileSystemCallback(FileSystem fileSystem); |
| 9897 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 10182 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 9898 // for details. All rights reserved. Use of this source code is governed by a | 10183 // for details. All rights reserved. Use of this source code is governed by a |
| 9899 // BSD-style license that can be found in the LICENSE file. | 10184 // BSD-style license that can be found in the LICENSE file. |
| 9900 | 10185 |
| 9901 | 10186 |
| 9902 @DocsEditable | 10187 @DocsEditable |
| 9903 @DomName('FileWriter') | 10188 @DomName('FileWriter') |
| 10189 // http://www.w3.org/TR/file-writer-api/#the-filewriter-interface |
| 10190 @Experimental |
| 9904 class FileWriter extends EventTarget native "FileWriter" { | 10191 class FileWriter extends EventTarget native "FileWriter" { |
| 9905 | 10192 |
| 9906 @DomName('FileWriter.abortEvent') | 10193 @DomName('FileWriter.abortEvent') |
| 9907 @DocsEditable | 10194 @DocsEditable |
| 9908 static const EventStreamProvider<ProgressEvent> abortEvent = const EventStream
Provider<ProgressEvent>('abort'); | 10195 static const EventStreamProvider<ProgressEvent> abortEvent = const EventStream
Provider<ProgressEvent>('abort'); |
| 9909 | 10196 |
| 9910 @DomName('FileWriter.errorEvent') | 10197 @DomName('FileWriter.errorEvent') |
| 9911 @DocsEditable | 10198 @DocsEditable |
| 9912 static const EventStreamProvider<Event> errorEvent = const EventStreamProvider
<Event>('error'); | 10199 static const EventStreamProvider<Event> errorEvent = const EventStreamProvider
<Event>('error'); |
| 9913 | 10200 |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10009 @DocsEditable | 10296 @DocsEditable |
| 10010 Stream<ProgressEvent> get onWriteStart => writeStartEvent.forTarget(this); | 10297 Stream<ProgressEvent> get onWriteStart => writeStartEvent.forTarget(this); |
| 10011 } | 10298 } |
| 10012 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 10299 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 10013 // for details. All rights reserved. Use of this source code is governed by a | 10300 // for details. All rights reserved. Use of this source code is governed by a |
| 10014 // BSD-style license that can be found in the LICENSE file. | 10301 // BSD-style license that can be found in the LICENSE file. |
| 10015 | 10302 |
| 10016 // WARNING: Do not edit - generated code. | 10303 // WARNING: Do not edit - generated code. |
| 10017 | 10304 |
| 10018 | 10305 |
| 10306 @DomName('FileWriterCallback') |
| 10307 // http://www.w3.org/TR/file-writer-api/#idl-def-FileWriter |
| 10308 @Experimental |
| 10019 typedef void _FileWriterCallback(FileWriter fileWriter); | 10309 typedef void _FileWriterCallback(FileWriter fileWriter); |
| 10020 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 10310 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 10021 // for details. All rights reserved. Use of this source code is governed by a | 10311 // for details. All rights reserved. Use of this source code is governed by a |
| 10022 // BSD-style license that can be found in the LICENSE file. | 10312 // BSD-style license that can be found in the LICENSE file. |
| 10023 | 10313 |
| 10024 | 10314 |
| 10025 @DocsEditable | 10315 @DocsEditable |
| 10026 @DomName('FocusEvent') | 10316 @DomName('FocusEvent') |
| 10027 class FocusEvent extends UIEvent native "FocusEvent" { | 10317 class FocusEvent extends UIEvent native "FocusEvent" { |
| 10028 | 10318 |
| 10029 EventTarget get relatedTarget => _convertNativeToDart_EventTarget(this._get_re
latedTarget); | 10319 EventTarget get relatedTarget => _convertNativeToDart_EventTarget(this._get_re
latedTarget); |
| 10030 @JSName('relatedTarget') | 10320 @JSName('relatedTarget') |
| 10031 @DomName('FocusEvent.relatedTarget') | 10321 @DomName('FocusEvent.relatedTarget') |
| 10032 @DocsEditable | 10322 @DocsEditable |
| 10033 final dynamic _get_relatedTarget; | 10323 final dynamic _get_relatedTarget; |
| 10034 } | 10324 } |
| 10035 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 10325 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 10036 // for details. All rights reserved. Use of this source code is governed by a | 10326 // for details. All rights reserved. Use of this source code is governed by a |
| 10037 // BSD-style license that can be found in the LICENSE file. | 10327 // BSD-style license that can be found in the LICENSE file. |
| 10038 | 10328 |
| 10039 | 10329 |
| 10040 @DocsEditable | 10330 @DocsEditable |
| 10041 @DomName('FontLoader') | 10331 @DomName('FontLoader') |
| 10332 // http://www.w3.org/TR/css3-fonts/#document-fontloader |
| 10333 @Experimental |
| 10042 class FontLoader extends EventTarget native "FontLoader" { | 10334 class FontLoader extends EventTarget native "FontLoader" { |
| 10043 | 10335 |
| 10044 @DomName('FontLoader.errorEvent') | 10336 @DomName('FontLoader.errorEvent') |
| 10045 @DocsEditable | 10337 @DocsEditable |
| 10046 static const EventStreamProvider<Event> errorEvent = const EventStreamProvider
<Event>('error'); | 10338 static const EventStreamProvider<Event> errorEvent = const EventStreamProvider
<Event>('error'); |
| 10047 | 10339 |
| 10048 @DomName('FontLoader.loadEvent') | 10340 @DomName('FontLoader.loadEvent') |
| 10049 @DocsEditable | 10341 @DocsEditable |
| 10050 static const EventStreamProvider<CssFontFaceLoadEvent> loadEvent = const Event
StreamProvider<CssFontFaceLoadEvent>('load'); | 10342 static const EventStreamProvider<CssFontFaceLoadEvent> loadEvent = const Event
StreamProvider<CssFontFaceLoadEvent>('load'); |
| 10051 | 10343 |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10154 // for details. All rights reserved. Use of this source code is governed by a | 10446 // for details. All rights reserved. Use of this source code is governed by a |
| 10155 // BSD-style license that can be found in the LICENSE file. | 10447 // BSD-style license that can be found in the LICENSE file. |
| 10156 | 10448 |
| 10157 | 10449 |
| 10158 @DocsEditable | 10450 @DocsEditable |
| 10159 @DomName('HTMLFormElement') | 10451 @DomName('HTMLFormElement') |
| 10160 class FormElement extends Element native "HTMLFormElement" { | 10452 class FormElement extends Element native "HTMLFormElement" { |
| 10161 | 10453 |
| 10162 @DomName('HTMLFormElement.autocompleteEvent') | 10454 @DomName('HTMLFormElement.autocompleteEvent') |
| 10163 @DocsEditable | 10455 @DocsEditable |
| 10456 // http://www.whatwg.org/specs/web-apps/current-work/multipage/association-of-
controls-and-forms.html#autofilling-form-controls:-the-autocomplete-attribute |
| 10457 @Experimental |
| 10164 static const EventStreamProvider<Event> autocompleteEvent = const EventStreamP
rovider<Event>('autocomplete'); | 10458 static const EventStreamProvider<Event> autocompleteEvent = const EventStreamP
rovider<Event>('autocomplete'); |
| 10165 | 10459 |
| 10166 @DomName('HTMLFormElement.autocompleteerrorEvent') | 10460 @DomName('HTMLFormElement.autocompleteerrorEvent') |
| 10167 @DocsEditable | 10461 @DocsEditable |
| 10462 // http://www.whatwg.org/specs/web-apps/current-work/multipage/association-of-
controls-and-forms.html#autofilling-form-controls:-the-autocomplete-attribute |
| 10463 @Experimental |
| 10168 static const EventStreamProvider<AutocompleteErrorEvent> autocompleteErrorEven
t = const EventStreamProvider<AutocompleteErrorEvent>('autocompleteerror'); | 10464 static const EventStreamProvider<AutocompleteErrorEvent> autocompleteErrorEven
t = const EventStreamProvider<AutocompleteErrorEvent>('autocompleteerror'); |
| 10169 | 10465 |
| 10170 @DomName('HTMLFormElement.HTMLFormElement') | 10466 @DomName('HTMLFormElement.HTMLFormElement') |
| 10171 @DocsEditable | 10467 @DocsEditable |
| 10172 factory FormElement() => document.$dom_createElement("form"); | 10468 factory FormElement() => document.$dom_createElement("form"); |
| 10173 | 10469 |
| 10174 @DomName('HTMLFormElement.acceptCharset') | 10470 @DomName('HTMLFormElement.acceptCharset') |
| 10175 @DocsEditable | 10471 @DocsEditable |
| 10176 String acceptCharset; | 10472 String acceptCharset; |
| 10177 | 10473 |
| 10178 @DomName('HTMLFormElement.action') | 10474 @DomName('HTMLFormElement.action') |
| 10179 @DocsEditable | 10475 @DocsEditable |
| 10180 String action; | 10476 String action; |
| 10181 | 10477 |
| 10182 @DomName('HTMLFormElement.autocomplete') | 10478 @DomName('HTMLFormElement.autocomplete') |
| 10183 @DocsEditable | 10479 @DocsEditable |
| 10480 // http://www.whatwg.org/specs/web-apps/current-work/multipage/association-of-
controls-and-forms.html#autofilling-form-controls:-the-autocomplete-attribute |
| 10481 @Experimental |
| 10184 String autocomplete; | 10482 String autocomplete; |
| 10185 | 10483 |
| 10186 @DomName('HTMLFormElement.encoding') | 10484 @DomName('HTMLFormElement.encoding') |
| 10187 @DocsEditable | 10485 @DocsEditable |
| 10188 String encoding; | 10486 String encoding; |
| 10189 | 10487 |
| 10190 @DomName('HTMLFormElement.enctype') | 10488 @DomName('HTMLFormElement.enctype') |
| 10191 @DocsEditable | 10489 @DocsEditable |
| 10192 String enctype; | 10490 String enctype; |
| 10193 | 10491 |
| (...skipping 16 matching lines...) Expand all Loading... |
| 10210 @DomName('HTMLFormElement.target') | 10508 @DomName('HTMLFormElement.target') |
| 10211 @DocsEditable | 10509 @DocsEditable |
| 10212 String target; | 10510 String target; |
| 10213 | 10511 |
| 10214 @DomName('HTMLFormElement.checkValidity') | 10512 @DomName('HTMLFormElement.checkValidity') |
| 10215 @DocsEditable | 10513 @DocsEditable |
| 10216 bool checkValidity() native; | 10514 bool checkValidity() native; |
| 10217 | 10515 |
| 10218 @DomName('HTMLFormElement.requestAutocomplete') | 10516 @DomName('HTMLFormElement.requestAutocomplete') |
| 10219 @DocsEditable | 10517 @DocsEditable |
| 10518 // http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2012-October/037711.htm
l |
| 10519 @Experimental |
| 10220 void requestAutocomplete() native; | 10520 void requestAutocomplete() native; |
| 10221 | 10521 |
| 10222 @DomName('HTMLFormElement.reset') | 10522 @DomName('HTMLFormElement.reset') |
| 10223 @DocsEditable | 10523 @DocsEditable |
| 10224 void reset() native; | 10524 void reset() native; |
| 10225 | 10525 |
| 10226 @DomName('HTMLFormElement.submit') | 10526 @DomName('HTMLFormElement.submit') |
| 10227 @DocsEditable | 10527 @DocsEditable |
| 10228 void submit() native; | 10528 void submit() native; |
| 10229 | 10529 |
| 10230 @DomName('HTMLFormElement.onautocomplete') | 10530 @DomName('HTMLFormElement.onautocomplete') |
| 10231 @DocsEditable | 10531 @DocsEditable |
| 10532 // http://www.whatwg.org/specs/web-apps/current-work/multipage/association-of-
controls-and-forms.html#autofilling-form-controls:-the-autocomplete-attribute |
| 10533 @Experimental |
| 10232 Stream<Event> get onAutocomplete => autocompleteEvent.forTarget(this); | 10534 Stream<Event> get onAutocomplete => autocompleteEvent.forTarget(this); |
| 10233 | 10535 |
| 10234 @DomName('HTMLFormElement.onautocompleteerror') | 10536 @DomName('HTMLFormElement.onautocompleteerror') |
| 10235 @DocsEditable | 10537 @DocsEditable |
| 10538 // http://www.whatwg.org/specs/web-apps/current-work/multipage/association-of-
controls-and-forms.html#autofilling-form-controls:-the-autocomplete-attribute |
| 10539 @Experimental |
| 10236 Stream<AutocompleteErrorEvent> get onAutocompleteError => autocompleteErrorEve
nt.forTarget(this); | 10540 Stream<AutocompleteErrorEvent> get onAutocompleteError => autocompleteErrorEve
nt.forTarget(this); |
| 10237 } | 10541 } |
| 10238 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 10542 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 10239 // for details. All rights reserved. Use of this source code is governed by a | 10543 // for details. All rights reserved. Use of this source code is governed by a |
| 10240 // BSD-style license that can be found in the LICENSE file. | 10544 // BSD-style license that can be found in the LICENSE file. |
| 10241 | 10545 |
| 10242 | 10546 |
| 10243 @DocsEditable | 10547 @DocsEditable |
| 10244 @DomName('Gamepad') | 10548 @DomName('Gamepad') |
| 10549 // https://dvcs.w3.org/hg/gamepad/raw-file/default/gamepad.html#gamepad-interfac
e |
| 10550 @Experimental |
| 10245 class Gamepad native "Gamepad" { | 10551 class Gamepad native "Gamepad" { |
| 10246 | 10552 |
| 10247 @DomName('Gamepad.axes') | 10553 @DomName('Gamepad.axes') |
| 10248 @DocsEditable | 10554 @DocsEditable |
| 10249 final List<num> axes; | 10555 final List<num> axes; |
| 10250 | 10556 |
| 10251 @DomName('Gamepad.buttons') | 10557 @DomName('Gamepad.buttons') |
| 10252 @DocsEditable | 10558 @DocsEditable |
| 10253 final List<num> buttons; | 10559 final List<num> buttons; |
| 10254 | 10560 |
| 10255 @DomName('Gamepad.id') | 10561 @DomName('Gamepad.id') |
| 10256 @DocsEditable | 10562 @DocsEditable |
| 10257 final String id; | 10563 final String id; |
| 10258 | 10564 |
| 10259 @DomName('Gamepad.index') | 10565 @DomName('Gamepad.index') |
| 10260 @DocsEditable | 10566 @DocsEditable |
| 10261 final int index; | 10567 final int index; |
| 10262 | 10568 |
| 10263 @DomName('Gamepad.timestamp') | 10569 @DomName('Gamepad.timestamp') |
| 10264 @DocsEditable | 10570 @DocsEditable |
| 10265 final int timestamp; | 10571 final int timestamp; |
| 10266 } | 10572 } |
| 10267 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 10573 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 10268 // for details. All rights reserved. Use of this source code is governed by a | 10574 // for details. All rights reserved. Use of this source code is governed by a |
| 10269 // BSD-style license that can be found in the LICENSE file. | 10575 // BSD-style license that can be found in the LICENSE file. |
| 10270 | 10576 |
| 10271 | 10577 |
| 10272 @DocsEditable | 10578 @DocsEditable |
| 10273 @DomName('Geolocation') | 10579 @DomName('Geolocation') |
| 10580 @Unstable |
| 10274 class Geolocation native "Geolocation" { | 10581 class Geolocation native "Geolocation" { |
| 10275 | 10582 |
| 10276 @DomName('Geolocation.getCurrentPosition') | 10583 @DomName('Geolocation.getCurrentPosition') |
| 10277 Future<Geoposition> getCurrentPosition({bool enableHighAccuracy, | 10584 Future<Geoposition> getCurrentPosition({bool enableHighAccuracy, |
| 10278 Duration timeout, Duration maximumAge}) { | 10585 Duration timeout, Duration maximumAge}) { |
| 10279 var options = {}; | 10586 var options = {}; |
| 10280 if (enableHighAccuracy != null) { | 10587 if (enableHighAccuracy != null) { |
| 10281 options['enableHighAccuracy'] = enableHighAccuracy; | 10588 options['enableHighAccuracy'] = enableHighAccuracy; |
| 10282 } | 10589 } |
| 10283 if (timeout != null) { | 10590 if (timeout != null) { |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10380 } | 10687 } |
| 10381 | 10688 |
| 10382 | 10689 |
| 10383 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 10690 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 10384 // for details. All rights reserved. Use of this source code is governed by a | 10691 // for details. All rights reserved. Use of this source code is governed by a |
| 10385 // BSD-style license that can be found in the LICENSE file. | 10692 // BSD-style license that can be found in the LICENSE file. |
| 10386 | 10693 |
| 10387 | 10694 |
| 10388 @DocsEditable | 10695 @DocsEditable |
| 10389 @DomName('Geoposition') | 10696 @DomName('Geoposition') |
| 10697 @Unstable |
| 10390 class Geoposition native "Geoposition" { | 10698 class Geoposition native "Geoposition" { |
| 10391 | 10699 |
| 10392 @DomName('Geoposition.coords') | 10700 @DomName('Geoposition.coords') |
| 10393 @DocsEditable | 10701 @DocsEditable |
| 10394 final Coordinates coords; | 10702 final Coordinates coords; |
| 10395 | 10703 |
| 10396 @DomName('Geoposition.timestamp') | 10704 @DomName('Geoposition.timestamp') |
| 10397 @DocsEditable | 10705 @DocsEditable |
| 10398 final int timestamp; | 10706 final int timestamp; |
| 10399 } | 10707 } |
| (...skipping 16 matching lines...) Expand all Loading... |
| 10416 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 10724 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 10417 // for details. All rights reserved. Use of this source code is governed by a | 10725 // for details. All rights reserved. Use of this source code is governed by a |
| 10418 // BSD-style license that can be found in the LICENSE file. | 10726 // BSD-style license that can be found in the LICENSE file. |
| 10419 | 10727 |
| 10420 // WARNING: Do not edit - generated code. | 10728 // WARNING: Do not edit - generated code. |
| 10421 | 10729 |
| 10422 @DomName('HashChangeEvent') | 10730 @DomName('HashChangeEvent') |
| 10423 @SupportedBrowser(SupportedBrowser.CHROME) | 10731 @SupportedBrowser(SupportedBrowser.CHROME) |
| 10424 @SupportedBrowser(SupportedBrowser.FIREFOX) | 10732 @SupportedBrowser(SupportedBrowser.FIREFOX) |
| 10425 @SupportedBrowser(SupportedBrowser.SAFARI) | 10733 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 10734 @Unstable |
| 10426 | 10735 |
| 10427 class HashChangeEvent extends Event native "HashChangeEvent" { | 10736 class HashChangeEvent extends Event native "HashChangeEvent" { |
| 10428 factory HashChangeEvent(String type, | 10737 factory HashChangeEvent(String type, |
| 10429 {bool canBubble: true, bool cancelable: true, String oldUrl, | 10738 {bool canBubble: true, bool cancelable: true, String oldUrl, |
| 10430 String newUrl}) { | 10739 String newUrl}) { |
| 10431 var event = document.$dom_createEvent("HashChangeEvent"); | 10740 var event = document.$dom_createEvent("HashChangeEvent"); |
| 10432 event.$dom_initHashChangeEvent(type, canBubble, cancelable, oldUrl, newUrl); | 10741 event.$dom_initHashChangeEvent(type, canBubble, cancelable, oldUrl, newUrl); |
| 10433 return event; | 10742 return event; |
| 10434 } | 10743 } |
| 10435 | 10744 |
| (...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10557 @SupportedBrowser(SupportedBrowser.SAFARI) | 10866 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 10558 void replaceState(Object data, String title, [String url]) native; | 10867 void replaceState(Object data, String title, [String url]) native; |
| 10559 } | 10868 } |
| 10560 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 10869 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 10561 // for details. All rights reserved. Use of this source code is governed by a | 10870 // for details. All rights reserved. Use of this source code is governed by a |
| 10562 // BSD-style license that can be found in the LICENSE file. | 10871 // BSD-style license that can be found in the LICENSE file. |
| 10563 | 10872 |
| 10564 | 10873 |
| 10565 @DocsEditable | 10874 @DocsEditable |
| 10566 @DomName('HTMLAllCollection') | 10875 @DomName('HTMLAllCollection') |
| 10876 // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#dom
-document-all |
| 10877 @deprecated // deprecated |
| 10567 class HtmlAllCollection extends Interceptor with ListMixin<Node>, ImmutableListM
ixin<Node> implements JavaScriptIndexingBehavior, List<Node> native "HTMLAllColl
ection" { | 10878 class HtmlAllCollection extends Interceptor with ListMixin<Node>, ImmutableListM
ixin<Node> implements JavaScriptIndexingBehavior, List<Node> native "HTMLAllColl
ection" { |
| 10568 | 10879 |
| 10569 @DomName('HTMLAllCollection.length') | 10880 @DomName('HTMLAllCollection.length') |
| 10570 @DocsEditable | 10881 @DocsEditable |
| 10571 int get length => JS("int", "#.length", this); | 10882 int get length => JS("int", "#.length", this); |
| 10572 | 10883 |
| 10573 Node operator[](int index) { | 10884 Node operator[](int index) { |
| 10574 if (JS("bool", "# >>> 0 !== # || # >= #", index, | 10885 if (JS("bool", "# >>> 0 !== # || # >= #", index, |
| 10575 index, index, length)) | 10886 index, index, length)) |
| 10576 throw new RangeError.range(index, 0, length); | 10887 throw new RangeError.range(index, 0, length); |
| (...skipping 657 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11234 @DomName('XMLHttpRequest.statusText') | 11545 @DomName('XMLHttpRequest.statusText') |
| 11235 @DocsEditable | 11546 @DocsEditable |
| 11236 final String statusText; | 11547 final String statusText; |
| 11237 | 11548 |
| 11238 /** | 11549 /** |
| 11239 * [EventTarget] that can hold listeners to track the progress of the request. | 11550 * [EventTarget] that can hold listeners to track the progress of the request. |
| 11240 * The events fired will be members of [HttpRequestUploadEvents]. | 11551 * The events fired will be members of [HttpRequestUploadEvents]. |
| 11241 */ | 11552 */ |
| 11242 @DomName('XMLHttpRequest.upload') | 11553 @DomName('XMLHttpRequest.upload') |
| 11243 @DocsEditable | 11554 @DocsEditable |
| 11555 @Unstable |
| 11244 final HttpRequestUpload upload; | 11556 final HttpRequestUpload upload; |
| 11245 | 11557 |
| 11246 /** | 11558 /** |
| 11247 * True if cross-site requests should use credentials such as cookies | 11559 * True if cross-site requests should use credentials such as cookies |
| 11248 * or authorization headers; false otherwise. | 11560 * or authorization headers; false otherwise. |
| 11249 * | 11561 * |
| 11250 * This value is ignored for same-site requests. | 11562 * This value is ignored for same-site requests. |
| 11251 */ | 11563 */ |
| 11252 @DomName('XMLHttpRequest.withCredentials') | 11564 @DomName('XMLHttpRequest.withCredentials') |
| 11253 @DocsEditable | 11565 @DocsEditable |
| (...skipping 24 matching lines...) Expand all Loading... |
| 11278 * | 11590 * |
| 11279 * `null` if no headers have been received. For multipart requests, | 11591 * `null` if no headers have been received. For multipart requests, |
| 11280 * `getAllResponseHeaders` will return the response headers for the current | 11592 * `getAllResponseHeaders` will return the response headers for the current |
| 11281 * part of the request. | 11593 * part of the request. |
| 11282 * | 11594 * |
| 11283 * See also [HTTP response headers](http://en.wikipedia.org/wiki/List_of_HTTP_
header_fields#Responses) | 11595 * See also [HTTP response headers](http://en.wikipedia.org/wiki/List_of_HTTP_
header_fields#Responses) |
| 11284 * for a list of common response headers. | 11596 * for a list of common response headers. |
| 11285 */ | 11597 */ |
| 11286 @DomName('XMLHttpRequest.getAllResponseHeaders') | 11598 @DomName('XMLHttpRequest.getAllResponseHeaders') |
| 11287 @DocsEditable | 11599 @DocsEditable |
| 11600 @Unstable |
| 11288 String getAllResponseHeaders() native; | 11601 String getAllResponseHeaders() native; |
| 11289 | 11602 |
| 11290 /** | 11603 /** |
| 11291 * Return the response header named `header`, or `null` if not found. | 11604 * Return the response header named `header`, or `null` if not found. |
| 11292 * | 11605 * |
| 11293 * See also [HTTP response headers](http://en.wikipedia.org/wiki/List_of_HTTP_
header_fields#Responses) | 11606 * See also [HTTP response headers](http://en.wikipedia.org/wiki/List_of_HTTP_
header_fields#Responses) |
| 11294 * for a list of common response headers. | 11607 * for a list of common response headers. |
| 11295 */ | 11608 */ |
| 11296 @DomName('XMLHttpRequest.getResponseHeader') | 11609 @DomName('XMLHttpRequest.getResponseHeader') |
| 11297 @DocsEditable | 11610 @DocsEditable |
| 11611 @Unstable |
| 11298 String getResponseHeader(String header) native; | 11612 String getResponseHeader(String header) native; |
| 11299 | 11613 |
| 11300 /** | 11614 /** |
| 11301 * Specify the desired `url`, and `method` to use in making the request. | 11615 * Specify the desired `url`, and `method` to use in making the request. |
| 11302 * | 11616 * |
| 11303 * By default the request is done asyncronously, with no user or password | 11617 * By default the request is done asyncronously, with no user or password |
| 11304 * authentication information. If `async` is false, the request will be send | 11618 * authentication information. If `async` is false, the request will be send |
| 11305 * synchronously. | 11619 * synchronously. |
| 11306 * | 11620 * |
| 11307 * Calling `open` again on a currently active request is equivalent to | 11621 * Calling `open` again on a currently active request is equivalent to |
| (...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11417 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 11731 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 11418 // for details. All rights reserved. Use of this source code is governed by a | 11732 // for details. All rights reserved. Use of this source code is governed by a |
| 11419 // BSD-style license that can be found in the LICENSE file. | 11733 // BSD-style license that can be found in the LICENSE file. |
| 11420 | 11734 |
| 11421 | 11735 |
| 11422 @DocsEditable | 11736 @DocsEditable |
| 11423 @DomName('XMLHttpRequestProgressEvent') | 11737 @DomName('XMLHttpRequestProgressEvent') |
| 11424 @SupportedBrowser(SupportedBrowser.CHROME) | 11738 @SupportedBrowser(SupportedBrowser.CHROME) |
| 11425 @SupportedBrowser(SupportedBrowser.SAFARI) | 11739 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 11426 @Experimental | 11740 @Experimental |
| 11741 @Experimental // nonstandard |
| 11427 class HttpRequestProgressEvent extends ProgressEvent native "XMLHttpRequestProgr
essEvent" { | 11742 class HttpRequestProgressEvent extends ProgressEvent native "XMLHttpRequestProgr
essEvent" { |
| 11428 | 11743 |
| 11429 /// Checks if this type is supported on the current platform. | 11744 /// Checks if this type is supported on the current platform. |
| 11430 static bool get supported => Device.isEventTypeSupported('XMLHttpRequestProgre
ssEvent'); | 11745 static bool get supported => Device.isEventTypeSupported('XMLHttpRequestProgre
ssEvent'); |
| 11431 | 11746 |
| 11432 @DomName('XMLHttpRequestProgressEvent.position') | 11747 @DomName('XMLHttpRequestProgressEvent.position') |
| 11433 @DocsEditable | 11748 @DocsEditable |
| 11434 final int position; | 11749 final int position; |
| 11435 | 11750 |
| 11436 @DomName('XMLHttpRequestProgressEvent.totalSize') | 11751 @DomName('XMLHttpRequestProgressEvent.totalSize') |
| 11437 @DocsEditable | 11752 @DocsEditable |
| 11438 final int totalSize; | 11753 final int totalSize; |
| 11439 } | 11754 } |
| 11440 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 11755 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 11441 // for details. All rights reserved. Use of this source code is governed by a | 11756 // for details. All rights reserved. Use of this source code is governed by a |
| 11442 // BSD-style license that can be found in the LICENSE file. | 11757 // BSD-style license that can be found in the LICENSE file. |
| 11443 | 11758 |
| 11444 | 11759 |
| 11445 @DocsEditable | 11760 @DocsEditable |
| 11446 @DomName('XMLHttpRequestUpload') | 11761 @DomName('XMLHttpRequestUpload') |
| 11762 // http://xhr.spec.whatwg.org/#xmlhttprequestupload |
| 11763 @Experimental |
| 11447 class HttpRequestUpload extends EventTarget native "XMLHttpRequestUpload" { | 11764 class HttpRequestUpload extends EventTarget native "XMLHttpRequestUpload" { |
| 11448 | 11765 |
| 11449 @DomName('XMLHttpRequestUpload.abortEvent') | 11766 @DomName('XMLHttpRequestUpload.abortEvent') |
| 11450 @DocsEditable | 11767 @DocsEditable |
| 11451 static const EventStreamProvider<ProgressEvent> abortEvent = const EventStream
Provider<ProgressEvent>('abort'); | 11768 static const EventStreamProvider<ProgressEvent> abortEvent = const EventStream
Provider<ProgressEvent>('abort'); |
| 11452 | 11769 |
| 11453 @DomName('XMLHttpRequestUpload.errorEvent') | 11770 @DomName('XMLHttpRequestUpload.errorEvent') |
| 11454 @DocsEditable | 11771 @DocsEditable |
| 11455 static const EventStreamProvider<ProgressEvent> errorEvent = const EventStream
Provider<ProgressEvent>('error'); | 11772 static const EventStreamProvider<ProgressEvent> errorEvent = const EventStream
Provider<ProgressEvent>('error'); |
| 11456 | 11773 |
| (...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11596 if (height != null) e.height = height; | 11913 if (height != null) e.height = height; |
| 11597 return e; | 11914 return e; |
| 11598 } | 11915 } |
| 11599 | 11916 |
| 11600 @DomName('HTMLImageElement.alt') | 11917 @DomName('HTMLImageElement.alt') |
| 11601 @DocsEditable | 11918 @DocsEditable |
| 11602 String alt; | 11919 String alt; |
| 11603 | 11920 |
| 11604 @DomName('HTMLImageElement.border') | 11921 @DomName('HTMLImageElement.border') |
| 11605 @DocsEditable | 11922 @DocsEditable |
| 11923 @deprecated // deprecated |
| 11606 String border; | 11924 String border; |
| 11607 | 11925 |
| 11608 @DomName('HTMLImageElement.complete') | 11926 @DomName('HTMLImageElement.complete') |
| 11609 @DocsEditable | 11927 @DocsEditable |
| 11610 final bool complete; | 11928 final bool complete; |
| 11611 | 11929 |
| 11612 @DomName('HTMLImageElement.crossOrigin') | 11930 @DomName('HTMLImageElement.crossOrigin') |
| 11613 @DocsEditable | 11931 @DocsEditable |
| 11614 String crossOrigin; | 11932 String crossOrigin; |
| 11615 | 11933 |
| 11616 @DomName('HTMLImageElement.height') | 11934 @DomName('HTMLImageElement.height') |
| 11617 @DocsEditable | 11935 @DocsEditable |
| 11618 int height; | 11936 int height; |
| 11619 | 11937 |
| 11620 @DomName('HTMLImageElement.isMap') | 11938 @DomName('HTMLImageElement.isMap') |
| 11621 @DocsEditable | 11939 @DocsEditable |
| 11622 bool isMap; | 11940 bool isMap; |
| 11623 | 11941 |
| 11624 @DomName('HTMLImageElement.lowsrc') | 11942 @DomName('HTMLImageElement.lowsrc') |
| 11625 @DocsEditable | 11943 @DocsEditable |
| 11944 @deprecated // deprecated |
| 11626 String lowsrc; | 11945 String lowsrc; |
| 11627 | 11946 |
| 11628 @DomName('HTMLImageElement.naturalHeight') | 11947 @DomName('HTMLImageElement.naturalHeight') |
| 11629 @DocsEditable | 11948 @DocsEditable |
| 11630 final int naturalHeight; | 11949 final int naturalHeight; |
| 11631 | 11950 |
| 11632 @DomName('HTMLImageElement.naturalWidth') | 11951 @DomName('HTMLImageElement.naturalWidth') |
| 11633 @DocsEditable | 11952 @DocsEditable |
| 11634 final int naturalWidth; | 11953 final int naturalWidth; |
| 11635 | 11954 |
| 11636 @DomName('HTMLImageElement.src') | 11955 @DomName('HTMLImageElement.src') |
| 11637 @DocsEditable | 11956 @DocsEditable |
| 11638 String src; | 11957 String src; |
| 11639 | 11958 |
| 11640 @DomName('HTMLImageElement.useMap') | 11959 @DomName('HTMLImageElement.useMap') |
| 11641 @DocsEditable | 11960 @DocsEditable |
| 11642 String useMap; | 11961 String useMap; |
| 11643 | 11962 |
| 11644 @DomName('HTMLImageElement.width') | 11963 @DomName('HTMLImageElement.width') |
| 11645 @DocsEditable | 11964 @DocsEditable |
| 11646 int width; | 11965 int width; |
| 11647 | 11966 |
| 11648 @DomName('HTMLImageElement.x') | 11967 @DomName('HTMLImageElement.x') |
| 11649 @DocsEditable | 11968 @DocsEditable |
| 11969 @deprecated // deprecated |
| 11650 final int x; | 11970 final int x; |
| 11651 | 11971 |
| 11652 @DomName('HTMLImageElement.y') | 11972 @DomName('HTMLImageElement.y') |
| 11653 @DocsEditable | 11973 @DocsEditable |
| 11974 @deprecated // deprecated |
| 11654 final int y; | 11975 final int y; |
| 11655 | 11976 |
| 11656 } | 11977 } |
| 11657 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 11978 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 11658 // for details. All rights reserved. Use of this source code is governed by a | 11979 // for details. All rights reserved. Use of this source code is governed by a |
| 11659 // BSD-style license that can be found in the LICENSE file. | 11980 // BSD-style license that can be found in the LICENSE file. |
| 11660 | 11981 |
| 11661 | 11982 |
| 11662 @DomName('HTMLInputElement') | 11983 @DomName('HTMLInputElement') |
| 11663 class InputElement extends Element implements | 11984 class InputElement extends Element implements |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11749 unbind('checked'); | 12070 unbind('checked'); |
| 11750 Element._unbindAllElement(this); | 12071 Element._unbindAllElement(this); |
| 11751 } | 12072 } |
| 11752 | 12073 |
| 11753 | 12074 |
| 11754 @DomName('HTMLInputElement.webkitSpeechChangeEvent') | 12075 @DomName('HTMLInputElement.webkitSpeechChangeEvent') |
| 11755 @DocsEditable | 12076 @DocsEditable |
| 11756 @SupportedBrowser(SupportedBrowser.CHROME) | 12077 @SupportedBrowser(SupportedBrowser.CHROME) |
| 11757 @SupportedBrowser(SupportedBrowser.SAFARI) | 12078 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 11758 @Experimental | 12079 @Experimental |
| 12080 // http://lists.w3.org/Archives/Public/public-xg-htmlspeech/2011Feb/att-0020/a
pi-draft.html#extending_html_elements |
| 11759 static const EventStreamProvider<Event> speechChangeEvent = const EventStreamP
rovider<Event>('webkitSpeechChange'); | 12081 static const EventStreamProvider<Event> speechChangeEvent = const EventStreamP
rovider<Event>('webkitSpeechChange'); |
| 11760 | 12082 |
| 11761 @DomName('HTMLInputElement.accept') | 12083 @DomName('HTMLInputElement.accept') |
| 11762 @DocsEditable | 12084 @DocsEditable |
| 11763 String accept; | 12085 String accept; |
| 11764 | 12086 |
| 11765 @DomName('HTMLInputElement.alt') | 12087 @DomName('HTMLInputElement.alt') |
| 11766 @DocsEditable | 12088 @DocsEditable |
| 11767 String alt; | 12089 String alt; |
| 11768 | 12090 |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11823 @DomName('HTMLInputElement.formTarget') | 12145 @DomName('HTMLInputElement.formTarget') |
| 11824 @DocsEditable | 12146 @DocsEditable |
| 11825 String formTarget; | 12147 String formTarget; |
| 11826 | 12148 |
| 11827 @DomName('HTMLInputElement.height') | 12149 @DomName('HTMLInputElement.height') |
| 11828 @DocsEditable | 12150 @DocsEditable |
| 11829 int height; | 12151 int height; |
| 11830 | 12152 |
| 11831 @DomName('HTMLInputElement.incremental') | 12153 @DomName('HTMLInputElement.incremental') |
| 11832 @DocsEditable | 12154 @DocsEditable |
| 12155 // http://www.w3.org/TR/html-markup/input.search.html |
| 12156 @Experimental |
| 11833 bool incremental; | 12157 bool incremental; |
| 11834 | 12158 |
| 11835 @DomName('HTMLInputElement.indeterminate') | 12159 @DomName('HTMLInputElement.indeterminate') |
| 11836 @DocsEditable | 12160 @DocsEditable |
| 11837 bool indeterminate; | 12161 bool indeterminate; |
| 11838 | 12162 |
| 11839 @DomName('HTMLInputElement.labels') | 12163 @DomName('HTMLInputElement.labels') |
| 11840 @DocsEditable | 12164 @DocsEditable |
| 11841 @Returns('NodeList') | 12165 @Returns('NodeList') |
| 11842 @Creates('NodeList') | 12166 @Creates('NodeList') |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11905 @DomName('HTMLInputElement.step') | 12229 @DomName('HTMLInputElement.step') |
| 11906 @DocsEditable | 12230 @DocsEditable |
| 11907 String step; | 12231 String step; |
| 11908 | 12232 |
| 11909 @DomName('HTMLInputElement.type') | 12233 @DomName('HTMLInputElement.type') |
| 11910 @DocsEditable | 12234 @DocsEditable |
| 11911 String type; | 12235 String type; |
| 11912 | 12236 |
| 11913 @DomName('HTMLInputElement.useMap') | 12237 @DomName('HTMLInputElement.useMap') |
| 11914 @DocsEditable | 12238 @DocsEditable |
| 12239 // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#H
TMLInputElement-partial |
| 12240 @deprecated // deprecated |
| 11915 String useMap; | 12241 String useMap; |
| 11916 | 12242 |
| 11917 @DomName('HTMLInputElement.validationMessage') | 12243 @DomName('HTMLInputElement.validationMessage') |
| 11918 @DocsEditable | 12244 @DocsEditable |
| 11919 final String validationMessage; | 12245 final String validationMessage; |
| 11920 | 12246 |
| 11921 @DomName('HTMLInputElement.validity') | 12247 @DomName('HTMLInputElement.validity') |
| 11922 @DocsEditable | 12248 @DocsEditable |
| 11923 final ValidityState validity; | 12249 final ValidityState validity; |
| 11924 | 12250 |
| (...skipping 17 matching lines...) Expand all Loading... |
| 11942 @DomName('HTMLInputElement.valueAsNumber') | 12268 @DomName('HTMLInputElement.valueAsNumber') |
| 11943 @DocsEditable | 12269 @DocsEditable |
| 11944 num valueAsNumber; | 12270 num valueAsNumber; |
| 11945 | 12271 |
| 11946 @JSName('webkitEntries') | 12272 @JSName('webkitEntries') |
| 11947 @DomName('HTMLInputElement.webkitEntries') | 12273 @DomName('HTMLInputElement.webkitEntries') |
| 11948 @DocsEditable | 12274 @DocsEditable |
| 11949 @SupportedBrowser(SupportedBrowser.CHROME) | 12275 @SupportedBrowser(SupportedBrowser.CHROME) |
| 11950 @SupportedBrowser(SupportedBrowser.SAFARI) | 12276 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 11951 @Experimental | 12277 @Experimental |
| 12278 // http://www.whatwg.org/specs/web-apps/current-work/multipage/states-of-the-t
ype-attribute.html#concept-input-type-file-selected |
| 11952 @Returns('_EntryArray') | 12279 @Returns('_EntryArray') |
| 11953 @Creates('_EntryArray') | 12280 @Creates('_EntryArray') |
| 11954 final List<Entry> entries; | 12281 final List<Entry> entries; |
| 11955 | 12282 |
| 11956 @JSName('webkitGrammar') | 12283 @JSName('webkitGrammar') |
| 11957 @DomName('HTMLInputElement.webkitGrammar') | 12284 @DomName('HTMLInputElement.webkitGrammar') |
| 11958 @DocsEditable | 12285 @DocsEditable |
| 11959 @SupportedBrowser(SupportedBrowser.CHROME) | 12286 @SupportedBrowser(SupportedBrowser.CHROME) |
| 11960 @SupportedBrowser(SupportedBrowser.SAFARI) | 12287 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 11961 @Experimental | 12288 @Experimental |
| 12289 // http://lists.w3.org/Archives/Public/public-xg-htmlspeech/2011Feb/att-0020/a
pi-draft.html#attrib-grammar |
| 11962 bool grammar; | 12290 bool grammar; |
| 11963 | 12291 |
| 11964 @JSName('webkitSpeech') | 12292 @JSName('webkitSpeech') |
| 11965 @DomName('HTMLInputElement.webkitSpeech') | 12293 @DomName('HTMLInputElement.webkitSpeech') |
| 11966 @DocsEditable | 12294 @DocsEditable |
| 11967 @SupportedBrowser(SupportedBrowser.CHROME) | 12295 @SupportedBrowser(SupportedBrowser.CHROME) |
| 11968 @SupportedBrowser(SupportedBrowser.SAFARI) | 12296 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 11969 @Experimental | 12297 @Experimental |
| 12298 // http://lists.w3.org/Archives/Public/public-xg-htmlspeech/2011Feb/att-0020/a
pi-draft.html#attrib-speech |
| 11970 bool speech; | 12299 bool speech; |
| 11971 | 12300 |
| 11972 @JSName('webkitdirectory') | 12301 @JSName('webkitdirectory') |
| 11973 @DomName('HTMLInputElement.webkitdirectory') | 12302 @DomName('HTMLInputElement.webkitdirectory') |
| 11974 @DocsEditable | 12303 @DocsEditable |
| 11975 @SupportedBrowser(SupportedBrowser.CHROME) | 12304 @SupportedBrowser(SupportedBrowser.CHROME) |
| 11976 @SupportedBrowser(SupportedBrowser.SAFARI) | 12305 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 11977 @Experimental | 12306 @Experimental |
| 12307 // https://plus.sandbox.google.com/+AddyOsmani/posts/Dk5UhZ6zfF3 |
| 11978 bool directory; | 12308 bool directory; |
| 11979 | 12309 |
| 11980 @DomName('HTMLInputElement.width') | 12310 @DomName('HTMLInputElement.width') |
| 11981 @DocsEditable | 12311 @DocsEditable |
| 11982 int width; | 12312 int width; |
| 11983 | 12313 |
| 11984 @DomName('HTMLInputElement.willValidate') | 12314 @DomName('HTMLInputElement.willValidate') |
| 11985 @DocsEditable | 12315 @DocsEditable |
| 11986 final bool willValidate; | 12316 final bool willValidate; |
| 11987 | 12317 |
| 11988 @DomName('HTMLInputElement.checkValidity') | 12318 @DomName('HTMLInputElement.checkValidity') |
| 11989 @DocsEditable | 12319 @DocsEditable |
| 11990 bool checkValidity() native; | 12320 bool checkValidity() native; |
| 11991 | 12321 |
| 11992 @DomName('HTMLInputElement.select') | 12322 @DomName('HTMLInputElement.select') |
| 11993 @DocsEditable | 12323 @DocsEditable |
| 11994 void select() native; | 12324 void select() native; |
| 11995 | 12325 |
| 11996 @DomName('HTMLInputElement.setCustomValidity') | 12326 @DomName('HTMLInputElement.setCustomValidity') |
| 11997 @DocsEditable | 12327 @DocsEditable |
| 11998 void setCustomValidity(String error) native; | 12328 void setCustomValidity(String error) native; |
| 11999 | 12329 |
| 12000 @DomName('HTMLInputElement.setRangeText') | 12330 @DomName('HTMLInputElement.setRangeText') |
| 12001 @DocsEditable | 12331 @DocsEditable |
| 12332 // http://www.whatwg.org/specs/web-apps/current-work/multipage/association-of-
controls-and-forms.html#dom-textarea/input-setrangetext |
| 12333 @Experimental // experimental |
| 12002 void setRangeText(String replacement, {int start, int end, String selectionMod
e}) native; | 12334 void setRangeText(String replacement, {int start, int end, String selectionMod
e}) native; |
| 12003 | 12335 |
| 12004 @DomName('HTMLInputElement.setSelectionRange') | 12336 @DomName('HTMLInputElement.setSelectionRange') |
| 12005 @DocsEditable | 12337 @DocsEditable |
| 12006 void setSelectionRange(int start, int end, [String direction]) native; | 12338 void setSelectionRange(int start, int end, [String direction]) native; |
| 12007 | 12339 |
| 12008 @DomName('HTMLInputElement.stepDown') | 12340 @DomName('HTMLInputElement.stepDown') |
| 12009 @DocsEditable | 12341 @DocsEditable |
| 12010 void stepDown([int n]) native; | 12342 void stepDown([int n]) native; |
| 12011 | 12343 |
| 12012 @DomName('HTMLInputElement.stepUp') | 12344 @DomName('HTMLInputElement.stepUp') |
| 12013 @DocsEditable | 12345 @DocsEditable |
| 12014 void stepUp([int n]) native; | 12346 void stepUp([int n]) native; |
| 12015 | 12347 |
| 12016 @DomName('HTMLInputElement.onwebkitSpeechChange') | 12348 @DomName('HTMLInputElement.onwebkitSpeechChange') |
| 12017 @DocsEditable | 12349 @DocsEditable |
| 12350 // http://lists.w3.org/Archives/Public/public-xg-htmlspeech/2011Feb/att-0020/a
pi-draft.html#extending_html_elements |
| 12351 @Experimental |
| 12018 Stream<Event> get onSpeechChange => speechChangeEvent.forTarget(this); | 12352 Stream<Event> get onSpeechChange => speechChangeEvent.forTarget(this); |
| 12019 | 12353 |
| 12020 } | 12354 } |
| 12021 | 12355 |
| 12022 | 12356 |
| 12023 // Interfaces representing the InputElement APIs which are supported | 12357 // Interfaces representing the InputElement APIs which are supported |
| 12024 // for the various types of InputElement. From: | 12358 // for the various types of InputElement. From: |
| 12025 // http://www.w3.org/html/wg/drafts/html/master/forms.html#the-input-element. | 12359 // http://www.w3.org/html/wg/drafts/html/master/forms.html#the-input-element. |
| 12026 | 12360 |
| 12027 /** | 12361 /** |
| (...skipping 546 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 12574 factory ButtonInputElement() => new InputElement(type: 'button'); | 12908 factory ButtonInputElement() => new InputElement(type: 'button'); |
| 12575 } | 12909 } |
| 12576 | 12910 |
| 12577 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 12911 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 12578 // for details. All rights reserved. Use of this source code is governed by a | 12912 // for details. All rights reserved. Use of this source code is governed by a |
| 12579 // BSD-style license that can be found in the LICENSE file. | 12913 // BSD-style license that can be found in the LICENSE file. |
| 12580 | 12914 |
| 12581 | 12915 |
| 12582 @DocsEditable | 12916 @DocsEditable |
| 12583 @DomName('InputMethodContext') | 12917 @DomName('InputMethodContext') |
| 12918 @Experimental // untriaged |
| 12584 class InputMethodContext native "InputMethodContext" { | 12919 class InputMethodContext native "InputMethodContext" { |
| 12585 | 12920 |
| 12586 @DomName('InputMethodContext.composition') | 12921 @DomName('InputMethodContext.composition') |
| 12587 @DocsEditable | 12922 @DocsEditable |
| 12923 @Experimental // untriaged |
| 12588 final Composition composition; | 12924 final Composition composition; |
| 12589 | 12925 |
| 12590 @DomName('InputMethodContext.enabled') | 12926 @DomName('InputMethodContext.enabled') |
| 12591 @DocsEditable | 12927 @DocsEditable |
| 12928 @Experimental // untriaged |
| 12592 bool enabled; | 12929 bool enabled; |
| 12593 | 12930 |
| 12594 @DomName('InputMethodContext.locale') | 12931 @DomName('InputMethodContext.locale') |
| 12595 @DocsEditable | 12932 @DocsEditable |
| 12933 @Experimental // untriaged |
| 12596 final String locale; | 12934 final String locale; |
| 12597 | 12935 |
| 12598 @DomName('InputMethodContext.confirmComposition') | 12936 @DomName('InputMethodContext.confirmComposition') |
| 12599 @DocsEditable | 12937 @DocsEditable |
| 12938 @Experimental // untriaged |
| 12600 void confirmComposition() native; | 12939 void confirmComposition() native; |
| 12601 | 12940 |
| 12602 @DomName('InputMethodContext.open') | 12941 @DomName('InputMethodContext.open') |
| 12603 @DocsEditable | 12942 @DocsEditable |
| 12943 @Experimental // untriaged |
| 12604 bool open() native; | 12944 bool open() native; |
| 12605 | 12945 |
| 12606 @DomName('InputMethodContext.setCaretRectangle') | 12946 @DomName('InputMethodContext.setCaretRectangle') |
| 12607 @DocsEditable | 12947 @DocsEditable |
| 12948 @Experimental // untriaged |
| 12608 void setCaretRectangle(Node anchor, int x, int y, int w, int h) native; | 12949 void setCaretRectangle(Node anchor, int x, int y, int w, int h) native; |
| 12609 | 12950 |
| 12610 @DomName('InputMethodContext.setExclusionRectangle') | 12951 @DomName('InputMethodContext.setExclusionRectangle') |
| 12611 @DocsEditable | 12952 @DocsEditable |
| 12953 @Experimental // untriaged |
| 12612 void setExclusionRectangle(Node anchor, int x, int y, int w, int h) native; | 12954 void setExclusionRectangle(Node anchor, int x, int y, int w, int h) native; |
| 12613 } | 12955 } |
| 12614 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 12956 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 12615 // for details. All rights reserved. Use of this source code is governed by a | 12957 // for details. All rights reserved. Use of this source code is governed by a |
| 12616 // BSD-style license that can be found in the LICENSE file. | 12958 // BSD-style license that can be found in the LICENSE file. |
| 12617 | 12959 |
| 12618 | 12960 |
| 12619 @DomName('KeyboardEvent') | 12961 @DomName('KeyboardEvent') |
| 12620 class KeyboardEvent extends UIEvent native "KeyboardEvent" { | 12962 class KeyboardEvent extends UIEvent native "KeyboardEvent" { |
| 12621 | 12963 |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 12654 } | 12996 } |
| 12655 | 12997 |
| 12656 @DomName('KeyboardEvent.keyCode') | 12998 @DomName('KeyboardEvent.keyCode') |
| 12657 int get keyCode => $dom_keyCode; | 12999 int get keyCode => $dom_keyCode; |
| 12658 | 13000 |
| 12659 @DomName('KeyboardEvent.charCode') | 13001 @DomName('KeyboardEvent.charCode') |
| 12660 int get charCode => $dom_charCode; | 13002 int get charCode => $dom_charCode; |
| 12661 | 13003 |
| 12662 @DomName('KeyboardEvent.altGraphKey') | 13004 @DomName('KeyboardEvent.altGraphKey') |
| 12663 @DocsEditable | 13005 @DocsEditable |
| 13006 @Experimental // nonstandard |
| 12664 final bool altGraphKey; | 13007 final bool altGraphKey; |
| 12665 | 13008 |
| 12666 @DomName('KeyboardEvent.altKey') | 13009 @DomName('KeyboardEvent.altKey') |
| 12667 @DocsEditable | 13010 @DocsEditable |
| 12668 final bool altKey; | 13011 final bool altKey; |
| 12669 | 13012 |
| 12670 @DomName('KeyboardEvent.ctrlKey') | 13013 @DomName('KeyboardEvent.ctrlKey') |
| 12671 @DocsEditable | 13014 @DocsEditable |
| 12672 final bool ctrlKey; | 13015 final bool ctrlKey; |
| 12673 | 13016 |
| 12674 @JSName('keyIdentifier') | 13017 @JSName('keyIdentifier') |
| 12675 @DomName('KeyboardEvent.keyIdentifier') | 13018 @DomName('KeyboardEvent.keyIdentifier') |
| 12676 @DocsEditable | 13019 @DocsEditable |
| 13020 @Experimental // nonstandard |
| 12677 final String $dom_keyIdentifier; | 13021 final String $dom_keyIdentifier; |
| 12678 | 13022 |
| 12679 @DomName('KeyboardEvent.keyLocation') | 13023 @DomName('KeyboardEvent.keyLocation') |
| 12680 @DocsEditable | 13024 @DocsEditable |
| 13025 @Experimental // nonstandard |
| 12681 final int keyLocation; | 13026 final int keyLocation; |
| 12682 | 13027 |
| 12683 @DomName('KeyboardEvent.metaKey') | 13028 @DomName('KeyboardEvent.metaKey') |
| 12684 @DocsEditable | 13029 @DocsEditable |
| 12685 final bool metaKey; | 13030 final bool metaKey; |
| 12686 | 13031 |
| 12687 @DomName('KeyboardEvent.shiftKey') | 13032 @DomName('KeyboardEvent.shiftKey') |
| 12688 @DocsEditable | 13033 @DocsEditable |
| 12689 final bool shiftKey; | 13034 final bool shiftKey; |
| 12690 | 13035 |
| 12691 } | 13036 } |
| 12692 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 13037 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 12693 // for details. All rights reserved. Use of this source code is governed by a | 13038 // for details. All rights reserved. Use of this source code is governed by a |
| 12694 // BSD-style license that can be found in the LICENSE file. | 13039 // BSD-style license that can be found in the LICENSE file. |
| 12695 | 13040 |
| 12696 | 13041 |
| 12697 @DocsEditable | 13042 @DocsEditable |
| 12698 @DomName('HTMLKeygenElement') | 13043 @DomName('HTMLKeygenElement') |
| 12699 @SupportedBrowser(SupportedBrowser.CHROME) | 13044 @SupportedBrowser(SupportedBrowser.CHROME) |
| 12700 @SupportedBrowser(SupportedBrowser.SAFARI) | 13045 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 12701 @Experimental | 13046 @Experimental |
| 13047 // http://www.whatwg.org/specs/web-apps/current-work/multipage/the-button-elemen
t.html#the-keygen-element |
| 12702 class KeygenElement extends Element native "HTMLKeygenElement" { | 13048 class KeygenElement extends Element native "HTMLKeygenElement" { |
| 12703 | 13049 |
| 12704 @DomName('HTMLKeygenElement.HTMLKeygenElement') | 13050 @DomName('HTMLKeygenElement.HTMLKeygenElement') |
| 12705 @DocsEditable | 13051 @DocsEditable |
| 12706 factory KeygenElement() => document.$dom_createElement("keygen"); | 13052 factory KeygenElement() => document.$dom_createElement("keygen"); |
| 12707 | 13053 |
| 12708 /// Checks if this type is supported on the current platform. | 13054 /// Checks if this type is supported on the current platform. |
| 12709 static bool get supported => Element.isTagSupported('keygen') && (new Element.
tag('keygen') is KeygenElement); | 13055 static bool get supported => Element.isTagSupported('keygen') && (new Element.
tag('keygen') is KeygenElement); |
| 12710 | 13056 |
| 12711 @DomName('HTMLKeygenElement.autofocus') | 13057 @DomName('HTMLKeygenElement.autofocus') |
| (...skipping 11 matching lines...) Expand all Loading... |
| 12723 @DomName('HTMLKeygenElement.form') | 13069 @DomName('HTMLKeygenElement.form') |
| 12724 @DocsEditable | 13070 @DocsEditable |
| 12725 final FormElement form; | 13071 final FormElement form; |
| 12726 | 13072 |
| 12727 @DomName('HTMLKeygenElement.keytype') | 13073 @DomName('HTMLKeygenElement.keytype') |
| 12728 @DocsEditable | 13074 @DocsEditable |
| 12729 String keytype; | 13075 String keytype; |
| 12730 | 13076 |
| 12731 @DomName('HTMLKeygenElement.labels') | 13077 @DomName('HTMLKeygenElement.labels') |
| 12732 @DocsEditable | 13078 @DocsEditable |
| 13079 @Unstable |
| 12733 @Returns('NodeList') | 13080 @Returns('NodeList') |
| 12734 @Creates('NodeList') | 13081 @Creates('NodeList') |
| 12735 final List<Node> labels; | 13082 final List<Node> labels; |
| 12736 | 13083 |
| 12737 @DomName('HTMLKeygenElement.name') | 13084 @DomName('HTMLKeygenElement.name') |
| 12738 @DocsEditable | 13085 @DocsEditable |
| 12739 String name; | 13086 String name; |
| 12740 | 13087 |
| 12741 @DomName('HTMLKeygenElement.type') | 13088 @DomName('HTMLKeygenElement.type') |
| 12742 @DocsEditable | 13089 @DocsEditable |
| (...skipping 27 matching lines...) Expand all Loading... |
| 12770 @DocsEditable | 13117 @DocsEditable |
| 12771 @DomName('HTMLLIElement') | 13118 @DomName('HTMLLIElement') |
| 12772 class LIElement extends Element native "HTMLLIElement" { | 13119 class LIElement extends Element native "HTMLLIElement" { |
| 12773 | 13120 |
| 12774 @DomName('HTMLLIElement.HTMLLIElement') | 13121 @DomName('HTMLLIElement.HTMLLIElement') |
| 12775 @DocsEditable | 13122 @DocsEditable |
| 12776 factory LIElement() => document.$dom_createElement("li"); | 13123 factory LIElement() => document.$dom_createElement("li"); |
| 12777 | 13124 |
| 12778 @DomName('HTMLLIElement.type') | 13125 @DomName('HTMLLIElement.type') |
| 12779 @DocsEditable | 13126 @DocsEditable |
| 13127 // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#H
TMLLIElement-partial |
| 13128 @deprecated // deprecated |
| 12780 String type; | 13129 String type; |
| 12781 | 13130 |
| 12782 @DomName('HTMLLIElement.value') | 13131 @DomName('HTMLLIElement.value') |
| 12783 @DocsEditable | 13132 @DocsEditable |
| 12784 int value; | 13133 int value; |
| 12785 } | 13134 } |
| 12786 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 13135 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 12787 // for details. All rights reserved. Use of this source code is governed by a | 13136 // for details. All rights reserved. Use of this source code is governed by a |
| 12788 // BSD-style license that can be found in the LICENSE file. | 13137 // BSD-style license that can be found in the LICENSE file. |
| 12789 | 13138 |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 12874 // for details. All rights reserved. Use of this source code is governed by a | 13223 // for details. All rights reserved. Use of this source code is governed by a |
| 12875 // BSD-style license that can be found in the LICENSE file. | 13224 // BSD-style license that can be found in the LICENSE file. |
| 12876 | 13225 |
| 12877 | 13226 |
| 12878 @DocsEditable | 13227 @DocsEditable |
| 12879 @DomName('Location') | 13228 @DomName('Location') |
| 12880 class Location implements LocationBase native "Location" { | 13229 class Location implements LocationBase native "Location" { |
| 12881 | 13230 |
| 12882 @DomName('Location.ancestorOrigins') | 13231 @DomName('Location.ancestorOrigins') |
| 12883 @DocsEditable | 13232 @DocsEditable |
| 13233 @Experimental // nonstandard |
| 12884 @Returns('DomStringList') | 13234 @Returns('DomStringList') |
| 12885 @Creates('DomStringList') | 13235 @Creates('DomStringList') |
| 12886 final List<String> ancestorOrigins; | 13236 final List<String> ancestorOrigins; |
| 12887 | 13237 |
| 12888 @DomName('Location.hash') | 13238 @DomName('Location.hash') |
| 12889 @DocsEditable | 13239 @DocsEditable |
| 12890 String hash; | 13240 String hash; |
| 12891 | 13241 |
| 12892 @DomName('Location.host') | 13242 @DomName('Location.host') |
| 12893 @DocsEditable | 13243 @DocsEditable |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 12928 @DomName('Location.replace') | 13278 @DomName('Location.replace') |
| 12929 @DocsEditable | 13279 @DocsEditable |
| 12930 void replace(String url) native; | 13280 void replace(String url) native; |
| 12931 | 13281 |
| 12932 @DomName('Location.toString') | 13282 @DomName('Location.toString') |
| 12933 @DocsEditable | 13283 @DocsEditable |
| 12934 String toString() native; | 13284 String toString() native; |
| 12935 | 13285 |
| 12936 @DomName('Location.valueOf') | 13286 @DomName('Location.valueOf') |
| 12937 @DocsEditable | 13287 @DocsEditable |
| 13288 @Experimental // nonstandard |
| 12938 Object valueOf() native; | 13289 Object valueOf() native; |
| 12939 | 13290 |
| 12940 | 13291 |
| 12941 @DomName('Location.origin') | 13292 @DomName('Location.origin') |
| 12942 String get origin { | 13293 String get origin { |
| 12943 if (JS('bool', '("origin" in #)', this)) { | 13294 if (JS('bool', '("origin" in #)', this)) { |
| 12944 return JS('String', '#.origin', this); | 13295 return JS('String', '#.origin', this); |
| 12945 } | 13296 } |
| 12946 return '${this.protocol}//${this.host}'; | 13297 return '${this.protocol}//${this.host}'; |
| 12947 } | 13298 } |
| 12948 } | 13299 } |
| 12949 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 13300 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 12950 // for details. All rights reserved. Use of this source code is governed by a | 13301 // for details. All rights reserved. Use of this source code is governed by a |
| 12951 // BSD-style license that can be found in the LICENSE file. | 13302 // BSD-style license that can be found in the LICENSE file. |
| 12952 | 13303 |
| 12953 // WARNING: Do not edit - generated code. | 13304 // WARNING: Do not edit - generated code. |
| 12954 | 13305 |
| 12955 | 13306 |
| 13307 @DomName('MIDIErrorCallback') |
| 13308 @Experimental // untriaged |
| 12956 typedef void MidiErrorCallback(DomError error); | 13309 typedef void MidiErrorCallback(DomError error); |
| 12957 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 13310 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 12958 // for details. All rights reserved. Use of this source code is governed by a | 13311 // for details. All rights reserved. Use of this source code is governed by a |
| 12959 // BSD-style license that can be found in the LICENSE file. | 13312 // BSD-style license that can be found in the LICENSE file. |
| 12960 | 13313 |
| 12961 | 13314 |
| 12962 @DocsEditable | 13315 @DocsEditable |
| 12963 @DomName('HTMLMapElement') | 13316 @DomName('HTMLMapElement') |
| 12964 class MapElement extends Element native "HTMLMapElement" { | 13317 class MapElement extends Element native "HTMLMapElement" { |
| 12965 | 13318 |
| 12966 @DomName('HTMLMapElement.HTMLMapElement') | 13319 @DomName('HTMLMapElement.HTMLMapElement') |
| 12967 @DocsEditable | 13320 @DocsEditable |
| 12968 factory MapElement() => document.$dom_createElement("map"); | 13321 factory MapElement() => document.$dom_createElement("map"); |
| 12969 | 13322 |
| 12970 @DomName('HTMLMapElement.areas') | 13323 @DomName('HTMLMapElement.areas') |
| 12971 @DocsEditable | 13324 @DocsEditable |
| 12972 final HtmlCollection areas; | 13325 final HtmlCollection areas; |
| 12973 | 13326 |
| 12974 @DomName('HTMLMapElement.name') | 13327 @DomName('HTMLMapElement.name') |
| 12975 @DocsEditable | 13328 @DocsEditable |
| 12976 String name; | 13329 String name; |
| 12977 } | 13330 } |
| 12978 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 13331 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 12979 // for details. All rights reserved. Use of this source code is governed by a | 13332 // for details. All rights reserved. Use of this source code is governed by a |
| 12980 // BSD-style license that can be found in the LICENSE file. | 13333 // BSD-style license that can be found in the LICENSE file. |
| 12981 | 13334 |
| 12982 | 13335 |
| 12983 @DocsEditable | 13336 @DocsEditable |
| 12984 @DomName('MediaController') | 13337 @DomName('MediaController') |
| 13338 // http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element
.html#mediacontroller |
| 13339 @Experimental |
| 12985 class MediaController extends EventTarget native "MediaController" { | 13340 class MediaController extends EventTarget native "MediaController" { |
| 12986 | 13341 |
| 12987 @DomName('MediaController.MediaController') | 13342 @DomName('MediaController.MediaController') |
| 12988 @DocsEditable | 13343 @DocsEditable |
| 12989 factory MediaController() { | 13344 factory MediaController() { |
| 12990 return MediaController._create_1(); | 13345 return MediaController._create_1(); |
| 12991 } | 13346 } |
| 12992 static MediaController _create_1() => JS('MediaController', 'new MediaControll
er()'); | 13347 static MediaController _create_1() => JS('MediaController', 'new MediaControll
er()'); |
| 12993 | 13348 |
| 12994 @DomName('MediaController.buffered') | 13349 @DomName('MediaController.buffered') |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 13061 @DocsEditable | 13416 @DocsEditable |
| 13062 void unpause() native; | 13417 void unpause() native; |
| 13063 } | 13418 } |
| 13064 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 13419 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 13065 // for details. All rights reserved. Use of this source code is governed by a | 13420 // for details. All rights reserved. Use of this source code is governed by a |
| 13066 // BSD-style license that can be found in the LICENSE file. | 13421 // BSD-style license that can be found in the LICENSE file. |
| 13067 | 13422 |
| 13068 | 13423 |
| 13069 @DocsEditable | 13424 @DocsEditable |
| 13070 @DomName('HTMLMediaElement') | 13425 @DomName('HTMLMediaElement') |
| 13426 @Unstable |
| 13071 class MediaElement extends Element native "HTMLMediaElement" { | 13427 class MediaElement extends Element native "HTMLMediaElement" { |
| 13072 | 13428 |
| 13073 @DomName('HTMLMediaElement.canplayEvent') | 13429 @DomName('HTMLMediaElement.canplayEvent') |
| 13074 @DocsEditable | 13430 @DocsEditable |
| 13075 static const EventStreamProvider<Event> canPlayEvent = const EventStreamProvid
er<Event>('canplay'); | 13431 static const EventStreamProvider<Event> canPlayEvent = const EventStreamProvid
er<Event>('canplay'); |
| 13076 | 13432 |
| 13077 @DomName('HTMLMediaElement.canplaythroughEvent') | 13433 @DomName('HTMLMediaElement.canplaythroughEvent') |
| 13078 @DocsEditable | 13434 @DocsEditable |
| 13079 static const EventStreamProvider<Event> canPlayThroughEvent = const EventStrea
mProvider<Event>('canplaythrough'); | 13435 static const EventStreamProvider<Event> canPlayThroughEvent = const EventStrea
mProvider<Event>('canplaythrough'); |
| 13080 | 13436 |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 13125 @DomName('HTMLMediaElement.seekedEvent') | 13481 @DomName('HTMLMediaElement.seekedEvent') |
| 13126 @DocsEditable | 13482 @DocsEditable |
| 13127 static const EventStreamProvider<Event> seekedEvent = const EventStreamProvide
r<Event>('seeked'); | 13483 static const EventStreamProvider<Event> seekedEvent = const EventStreamProvide
r<Event>('seeked'); |
| 13128 | 13484 |
| 13129 @DomName('HTMLMediaElement.seekingEvent') | 13485 @DomName('HTMLMediaElement.seekingEvent') |
| 13130 @DocsEditable | 13486 @DocsEditable |
| 13131 static const EventStreamProvider<Event> seekingEvent = const EventStreamProvid
er<Event>('seeking'); | 13487 static const EventStreamProvider<Event> seekingEvent = const EventStreamProvid
er<Event>('seeking'); |
| 13132 | 13488 |
| 13133 @DomName('HTMLMediaElement.showEvent') | 13489 @DomName('HTMLMediaElement.showEvent') |
| 13134 @DocsEditable | 13490 @DocsEditable |
| 13491 // http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-eleme
nt.html#event-media-loadstart |
| 13492 @Experimental |
| 13135 static const EventStreamProvider<Event> showEvent = const EventStreamProvider<
Event>('show'); | 13493 static const EventStreamProvider<Event> showEvent = const EventStreamProvider<
Event>('show'); |
| 13136 | 13494 |
| 13137 @DomName('HTMLMediaElement.stalledEvent') | 13495 @DomName('HTMLMediaElement.stalledEvent') |
| 13138 @DocsEditable | 13496 @DocsEditable |
| 13139 static const EventStreamProvider<Event> stalledEvent = const EventStreamProvid
er<Event>('stalled'); | 13497 static const EventStreamProvider<Event> stalledEvent = const EventStreamProvid
er<Event>('stalled'); |
| 13140 | 13498 |
| 13141 @DomName('HTMLMediaElement.suspendEvent') | 13499 @DomName('HTMLMediaElement.suspendEvent') |
| 13142 @DocsEditable | 13500 @DocsEditable |
| 13143 static const EventStreamProvider<Event> suspendEvent = const EventStreamProvid
er<Event>('suspend'); | 13501 static const EventStreamProvider<Event> suspendEvent = const EventStreamProvid
er<Event>('suspend'); |
| 13144 | 13502 |
| 13145 @DomName('HTMLMediaElement.timeupdateEvent') | 13503 @DomName('HTMLMediaElement.timeupdateEvent') |
| 13146 @DocsEditable | 13504 @DocsEditable |
| 13147 static const EventStreamProvider<Event> timeUpdateEvent = const EventStreamPro
vider<Event>('timeupdate'); | 13505 static const EventStreamProvider<Event> timeUpdateEvent = const EventStreamPro
vider<Event>('timeupdate'); |
| 13148 | 13506 |
| 13149 @DomName('HTMLMediaElement.volumechangeEvent') | 13507 @DomName('HTMLMediaElement.volumechangeEvent') |
| 13150 @DocsEditable | 13508 @DocsEditable |
| 13151 static const EventStreamProvider<Event> volumeChangeEvent = const EventStreamP
rovider<Event>('volumechange'); | 13509 static const EventStreamProvider<Event> volumeChangeEvent = const EventStreamP
rovider<Event>('volumechange'); |
| 13152 | 13510 |
| 13153 @DomName('HTMLMediaElement.waitingEvent') | 13511 @DomName('HTMLMediaElement.waitingEvent') |
| 13154 @DocsEditable | 13512 @DocsEditable |
| 13155 static const EventStreamProvider<Event> waitingEvent = const EventStreamProvid
er<Event>('waiting'); | 13513 static const EventStreamProvider<Event> waitingEvent = const EventStreamProvid
er<Event>('waiting'); |
| 13156 | 13514 |
| 13157 @DomName('HTMLMediaElement.webkitkeyaddedEvent') | 13515 @DomName('HTMLMediaElement.webkitkeyaddedEvent') |
| 13158 @DocsEditable | 13516 @DocsEditable |
| 13159 @SupportedBrowser(SupportedBrowser.CHROME) | 13517 @SupportedBrowser(SupportedBrowser.CHROME) |
| 13160 @SupportedBrowser(SupportedBrowser.SAFARI) | 13518 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 13161 @Experimental | 13519 @Experimental |
| 13520 // https://dvcs.w3.org/hg/html-media/raw-file/eme-v0.1/encrypted-media/encrypt
ed-media.html#dom-keyadded |
| 13162 static const EventStreamProvider<MediaKeyEvent> keyAddedEvent = const EventStr
eamProvider<MediaKeyEvent>('webkitkeyadded'); | 13521 static const EventStreamProvider<MediaKeyEvent> keyAddedEvent = const EventStr
eamProvider<MediaKeyEvent>('webkitkeyadded'); |
| 13163 | 13522 |
| 13164 @DomName('HTMLMediaElement.webkitkeyerrorEvent') | 13523 @DomName('HTMLMediaElement.webkitkeyerrorEvent') |
| 13165 @DocsEditable | 13524 @DocsEditable |
| 13166 @SupportedBrowser(SupportedBrowser.CHROME) | 13525 @SupportedBrowser(SupportedBrowser.CHROME) |
| 13167 @SupportedBrowser(SupportedBrowser.SAFARI) | 13526 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 13168 @Experimental | 13527 @Experimental |
| 13528 // https://dvcs.w3.org/hg/html-media/raw-file/eme-v0.1/encrypted-media/encrypt
ed-media.html#dom-keyadded |
| 13169 static const EventStreamProvider<MediaKeyEvent> keyErrorEvent = const EventStr
eamProvider<MediaKeyEvent>('webkitkeyerror'); | 13529 static const EventStreamProvider<MediaKeyEvent> keyErrorEvent = const EventStr
eamProvider<MediaKeyEvent>('webkitkeyerror'); |
| 13170 | 13530 |
| 13171 @DomName('HTMLMediaElement.webkitkeymessageEvent') | 13531 @DomName('HTMLMediaElement.webkitkeymessageEvent') |
| 13172 @DocsEditable | 13532 @DocsEditable |
| 13173 @SupportedBrowser(SupportedBrowser.CHROME) | 13533 @SupportedBrowser(SupportedBrowser.CHROME) |
| 13174 @SupportedBrowser(SupportedBrowser.SAFARI) | 13534 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 13175 @Experimental | 13535 @Experimental |
| 13536 // https://dvcs.w3.org/hg/html-media/raw-file/eme-v0.1/encrypted-media/encrypt
ed-media.html#dom-keyadded |
| 13176 static const EventStreamProvider<MediaKeyEvent> keyMessageEvent = const EventS
treamProvider<MediaKeyEvent>('webkitkeymessage'); | 13537 static const EventStreamProvider<MediaKeyEvent> keyMessageEvent = const EventS
treamProvider<MediaKeyEvent>('webkitkeymessage'); |
| 13177 | 13538 |
| 13178 @DomName('HTMLMediaElement.webkitneedkeyEvent') | 13539 @DomName('HTMLMediaElement.webkitneedkeyEvent') |
| 13179 @DocsEditable | 13540 @DocsEditable |
| 13180 @SupportedBrowser(SupportedBrowser.CHROME) | 13541 @SupportedBrowser(SupportedBrowser.CHROME) |
| 13181 @SupportedBrowser(SupportedBrowser.SAFARI) | 13542 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 13182 @Experimental | 13543 @Experimental |
| 13544 // https://dvcs.w3.org/hg/html-media/raw-file/eme-v0.1/encrypted-media/encrypt
ed-media.html#dom-keyadded |
| 13183 static const EventStreamProvider<MediaKeyEvent> needKeyEvent = const EventStre
amProvider<MediaKeyEvent>('webkitneedkey'); | 13545 static const EventStreamProvider<MediaKeyEvent> needKeyEvent = const EventStre
amProvider<MediaKeyEvent>('webkitneedkey'); |
| 13184 | 13546 |
| 13185 @DomName('HTMLMediaElement.HAVE_CURRENT_DATA') | 13547 @DomName('HTMLMediaElement.HAVE_CURRENT_DATA') |
| 13186 @DocsEditable | 13548 @DocsEditable |
| 13187 static const int HAVE_CURRENT_DATA = 2; | 13549 static const int HAVE_CURRENT_DATA = 2; |
| 13188 | 13550 |
| 13189 @DomName('HTMLMediaElement.HAVE_ENOUGH_DATA') | 13551 @DomName('HTMLMediaElement.HAVE_ENOUGH_DATA') |
| 13190 @DocsEditable | 13552 @DocsEditable |
| 13191 static const int HAVE_ENOUGH_DATA = 4; | 13553 static const int HAVE_ENOUGH_DATA = 4; |
| 13192 | 13554 |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 13257 @DomName('HTMLMediaElement.ended') | 13619 @DomName('HTMLMediaElement.ended') |
| 13258 @DocsEditable | 13620 @DocsEditable |
| 13259 final bool ended; | 13621 final bool ended; |
| 13260 | 13622 |
| 13261 @DomName('HTMLMediaElement.error') | 13623 @DomName('HTMLMediaElement.error') |
| 13262 @DocsEditable | 13624 @DocsEditable |
| 13263 final MediaError error; | 13625 final MediaError error; |
| 13264 | 13626 |
| 13265 @DomName('HTMLMediaElement.initialTime') | 13627 @DomName('HTMLMediaElement.initialTime') |
| 13266 @DocsEditable | 13628 @DocsEditable |
| 13629 // http://www.w3.org/TR/2011/WD-html5-20110113/video.html#dom-media-initialtim
e |
| 13630 @Experimental |
| 13267 final num initialTime; | 13631 final num initialTime; |
| 13268 | 13632 |
| 13269 @DomName('HTMLMediaElement.loop') | 13633 @DomName('HTMLMediaElement.loop') |
| 13270 @DocsEditable | 13634 @DocsEditable |
| 13271 bool loop; | 13635 bool loop; |
| 13272 | 13636 |
| 13273 @DomName('HTMLMediaElement.mediaGroup') | 13637 @DomName('HTMLMediaElement.mediaGroup') |
| 13274 @DocsEditable | 13638 @DocsEditable |
| 13275 String mediaGroup; | 13639 String mediaGroup; |
| 13276 | 13640 |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 13309 @DomName('HTMLMediaElement.seeking') | 13673 @DomName('HTMLMediaElement.seeking') |
| 13310 @DocsEditable | 13674 @DocsEditable |
| 13311 final bool seeking; | 13675 final bool seeking; |
| 13312 | 13676 |
| 13313 @DomName('HTMLMediaElement.src') | 13677 @DomName('HTMLMediaElement.src') |
| 13314 @DocsEditable | 13678 @DocsEditable |
| 13315 String src; | 13679 String src; |
| 13316 | 13680 |
| 13317 @DomName('HTMLMediaElement.startTime') | 13681 @DomName('HTMLMediaElement.startTime') |
| 13318 @DocsEditable | 13682 @DocsEditable |
| 13683 @Experimental // non-standard |
| 13319 final num startTime; | 13684 final num startTime; |
| 13320 | 13685 |
| 13321 @DomName('HTMLMediaElement.textTracks') | 13686 @DomName('HTMLMediaElement.textTracks') |
| 13322 @DocsEditable | 13687 @DocsEditable |
| 13688 // http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-eleme
nt.html#dom-media-texttracks |
| 13689 @Experimental |
| 13323 final TextTrackList textTracks; | 13690 final TextTrackList textTracks; |
| 13324 | 13691 |
| 13325 @DomName('HTMLMediaElement.volume') | 13692 @DomName('HTMLMediaElement.volume') |
| 13326 @DocsEditable | 13693 @DocsEditable |
| 13327 num volume; | 13694 num volume; |
| 13328 | 13695 |
| 13329 @JSName('webkitAudioDecodedByteCount') | 13696 @JSName('webkitAudioDecodedByteCount') |
| 13330 @DomName('HTMLMediaElement.webkitAudioDecodedByteCount') | 13697 @DomName('HTMLMediaElement.webkitAudioDecodedByteCount') |
| 13331 @DocsEditable | 13698 @DocsEditable |
| 13332 @SupportedBrowser(SupportedBrowser.CHROME) | 13699 @SupportedBrowser(SupportedBrowser.CHROME) |
| 13333 @SupportedBrowser(SupportedBrowser.SAFARI) | 13700 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 13334 @Experimental | 13701 @Experimental |
| 13702 @Experimental // nonstandard |
| 13335 final int audioDecodedByteCount; | 13703 final int audioDecodedByteCount; |
| 13336 | 13704 |
| 13337 @JSName('webkitClosedCaptionsVisible') | 13705 @JSName('webkitClosedCaptionsVisible') |
| 13338 @DomName('HTMLMediaElement.webkitClosedCaptionsVisible') | 13706 @DomName('HTMLMediaElement.webkitClosedCaptionsVisible') |
| 13339 @DocsEditable | 13707 @DocsEditable |
| 13340 @SupportedBrowser(SupportedBrowser.CHROME) | 13708 @SupportedBrowser(SupportedBrowser.CHROME) |
| 13341 @SupportedBrowser(SupportedBrowser.SAFARI) | 13709 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 13342 @Experimental | 13710 @Experimental |
| 13711 @Experimental // nonstandard |
| 13343 bool closedCaptionsVisible; | 13712 bool closedCaptionsVisible; |
| 13344 | 13713 |
| 13345 @JSName('webkitHasClosedCaptions') | 13714 @JSName('webkitHasClosedCaptions') |
| 13346 @DomName('HTMLMediaElement.webkitHasClosedCaptions') | 13715 @DomName('HTMLMediaElement.webkitHasClosedCaptions') |
| 13347 @DocsEditable | 13716 @DocsEditable |
| 13348 @SupportedBrowser(SupportedBrowser.CHROME) | 13717 @SupportedBrowser(SupportedBrowser.CHROME) |
| 13349 @SupportedBrowser(SupportedBrowser.SAFARI) | 13718 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 13350 @Experimental | 13719 @Experimental |
| 13720 @Experimental // nonstandard |
| 13351 final bool hasClosedCaptions; | 13721 final bool hasClosedCaptions; |
| 13352 | 13722 |
| 13353 @JSName('webkitPreservesPitch') | 13723 @JSName('webkitPreservesPitch') |
| 13354 @DomName('HTMLMediaElement.webkitPreservesPitch') | 13724 @DomName('HTMLMediaElement.webkitPreservesPitch') |
| 13355 @DocsEditable | 13725 @DocsEditable |
| 13356 @SupportedBrowser(SupportedBrowser.CHROME) | 13726 @SupportedBrowser(SupportedBrowser.CHROME) |
| 13357 @SupportedBrowser(SupportedBrowser.SAFARI) | 13727 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 13358 @Experimental | 13728 @Experimental |
| 13729 @Experimental // nonstandard |
| 13359 bool preservesPitch; | 13730 bool preservesPitch; |
| 13360 | 13731 |
| 13361 @JSName('webkitVideoDecodedByteCount') | 13732 @JSName('webkitVideoDecodedByteCount') |
| 13362 @DomName('HTMLMediaElement.webkitVideoDecodedByteCount') | 13733 @DomName('HTMLMediaElement.webkitVideoDecodedByteCount') |
| 13363 @DocsEditable | 13734 @DocsEditable |
| 13364 @SupportedBrowser(SupportedBrowser.CHROME) | 13735 @SupportedBrowser(SupportedBrowser.CHROME) |
| 13365 @SupportedBrowser(SupportedBrowser.SAFARI) | 13736 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 13366 @Experimental | 13737 @Experimental |
| 13738 @Experimental // nonstandard |
| 13367 final int videoDecodedByteCount; | 13739 final int videoDecodedByteCount; |
| 13368 | 13740 |
| 13369 @DomName('HTMLMediaElement.addTextTrack') | 13741 @DomName('HTMLMediaElement.addTextTrack') |
| 13370 @DocsEditable | 13742 @DocsEditable |
| 13743 // http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-eleme
nt.html#dom-media-addtexttrack |
| 13744 @Experimental |
| 13371 TextTrack addTextTrack(String kind, [String label, String language]) native; | 13745 TextTrack addTextTrack(String kind, [String label, String language]) native; |
| 13372 | 13746 |
| 13373 @DomName('HTMLMediaElement.canPlayType') | 13747 @DomName('HTMLMediaElement.canPlayType') |
| 13374 @DocsEditable | 13748 @DocsEditable |
| 13375 String canPlayType(String type, String keySystem) native; | 13749 String canPlayType(String type, String keySystem) native; |
| 13376 | 13750 |
| 13377 @DomName('HTMLMediaElement.load') | 13751 @DomName('HTMLMediaElement.load') |
| 13378 @DocsEditable | 13752 @DocsEditable |
| 13379 void load() native; | 13753 void load() native; |
| 13380 | 13754 |
| 13381 @DomName('HTMLMediaElement.pause') | 13755 @DomName('HTMLMediaElement.pause') |
| 13382 @DocsEditable | 13756 @DocsEditable |
| 13383 void pause() native; | 13757 void pause() native; |
| 13384 | 13758 |
| 13385 @DomName('HTMLMediaElement.play') | 13759 @DomName('HTMLMediaElement.play') |
| 13386 @DocsEditable | 13760 @DocsEditable |
| 13387 void play() native; | 13761 void play() native; |
| 13388 | 13762 |
| 13389 @JSName('webkitAddKey') | 13763 @JSName('webkitAddKey') |
| 13390 @DomName('HTMLMediaElement.webkitAddKey') | 13764 @DomName('HTMLMediaElement.webkitAddKey') |
| 13391 @DocsEditable | 13765 @DocsEditable |
| 13392 @SupportedBrowser(SupportedBrowser.CHROME) | 13766 @SupportedBrowser(SupportedBrowser.CHROME) |
| 13393 @SupportedBrowser(SupportedBrowser.SAFARI) | 13767 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 13394 @Experimental | 13768 @Experimental |
| 13769 // https://dvcs.w3.org/hg/html-media/raw-file/eme-v0.1/encrypted-media/encrypt
ed-media.html#extensions |
| 13395 void addKey(String keySystem, Uint8List key, [Uint8List initData, String sessi
onId]) native; | 13770 void addKey(String keySystem, Uint8List key, [Uint8List initData, String sessi
onId]) native; |
| 13396 | 13771 |
| 13397 @JSName('webkitCancelKeyRequest') | 13772 @JSName('webkitCancelKeyRequest') |
| 13398 @DomName('HTMLMediaElement.webkitCancelKeyRequest') | 13773 @DomName('HTMLMediaElement.webkitCancelKeyRequest') |
| 13399 @DocsEditable | 13774 @DocsEditable |
| 13400 @SupportedBrowser(SupportedBrowser.CHROME) | 13775 @SupportedBrowser(SupportedBrowser.CHROME) |
| 13401 @SupportedBrowser(SupportedBrowser.SAFARI) | 13776 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 13402 @Experimental | 13777 @Experimental |
| 13778 // https://dvcs.w3.org/hg/html-media/raw-file/eme-v0.1/encrypted-media/encrypt
ed-media.html#extensions |
| 13403 void cancelKeyRequest(String keySystem, String sessionId) native; | 13779 void cancelKeyRequest(String keySystem, String sessionId) native; |
| 13404 | 13780 |
| 13405 @JSName('webkitGenerateKeyRequest') | 13781 @JSName('webkitGenerateKeyRequest') |
| 13406 @DomName('HTMLMediaElement.webkitGenerateKeyRequest') | 13782 @DomName('HTMLMediaElement.webkitGenerateKeyRequest') |
| 13407 @DocsEditable | 13783 @DocsEditable |
| 13408 @SupportedBrowser(SupportedBrowser.CHROME) | 13784 @SupportedBrowser(SupportedBrowser.CHROME) |
| 13409 @SupportedBrowser(SupportedBrowser.SAFARI) | 13785 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 13410 @Experimental | 13786 @Experimental |
| 13787 // https://dvcs.w3.org/hg/html-media/raw-file/eme-v0.1/encrypted-media/encrypt
ed-media.html#extensions |
| 13411 void generateKeyRequest(String keySystem, [Uint8List initData]) native; | 13788 void generateKeyRequest(String keySystem, [Uint8List initData]) native; |
| 13412 | 13789 |
| 13413 @DomName('HTMLMediaElement.oncanplay') | 13790 @DomName('HTMLMediaElement.oncanplay') |
| 13414 @DocsEditable | 13791 @DocsEditable |
| 13415 Stream<Event> get onCanPlay => canPlayEvent.forTarget(this); | 13792 Stream<Event> get onCanPlay => canPlayEvent.forTarget(this); |
| 13416 | 13793 |
| 13417 @DomName('HTMLMediaElement.oncanplaythrough') | 13794 @DomName('HTMLMediaElement.oncanplaythrough') |
| 13418 @DocsEditable | 13795 @DocsEditable |
| 13419 Stream<Event> get onCanPlayThrough => canPlayThroughEvent.forTarget(this); | 13796 Stream<Event> get onCanPlayThrough => canPlayThroughEvent.forTarget(this); |
| 13420 | 13797 |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 13465 @DomName('HTMLMediaElement.onseeked') | 13842 @DomName('HTMLMediaElement.onseeked') |
| 13466 @DocsEditable | 13843 @DocsEditable |
| 13467 Stream<Event> get onSeeked => seekedEvent.forTarget(this); | 13844 Stream<Event> get onSeeked => seekedEvent.forTarget(this); |
| 13468 | 13845 |
| 13469 @DomName('HTMLMediaElement.onseeking') | 13846 @DomName('HTMLMediaElement.onseeking') |
| 13470 @DocsEditable | 13847 @DocsEditable |
| 13471 Stream<Event> get onSeeking => seekingEvent.forTarget(this); | 13848 Stream<Event> get onSeeking => seekingEvent.forTarget(this); |
| 13472 | 13849 |
| 13473 @DomName('HTMLMediaElement.onshow') | 13850 @DomName('HTMLMediaElement.onshow') |
| 13474 @DocsEditable | 13851 @DocsEditable |
| 13852 // http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-eleme
nt.html#event-media-loadstart |
| 13853 @Experimental |
| 13475 Stream<Event> get onShow => showEvent.forTarget(this); | 13854 Stream<Event> get onShow => showEvent.forTarget(this); |
| 13476 | 13855 |
| 13477 @DomName('HTMLMediaElement.onstalled') | 13856 @DomName('HTMLMediaElement.onstalled') |
| 13478 @DocsEditable | 13857 @DocsEditable |
| 13479 Stream<Event> get onStalled => stalledEvent.forTarget(this); | 13858 Stream<Event> get onStalled => stalledEvent.forTarget(this); |
| 13480 | 13859 |
| 13481 @DomName('HTMLMediaElement.onsuspend') | 13860 @DomName('HTMLMediaElement.onsuspend') |
| 13482 @DocsEditable | 13861 @DocsEditable |
| 13483 Stream<Event> get onSuspend => suspendEvent.forTarget(this); | 13862 Stream<Event> get onSuspend => suspendEvent.forTarget(this); |
| 13484 | 13863 |
| 13485 @DomName('HTMLMediaElement.ontimeupdate') | 13864 @DomName('HTMLMediaElement.ontimeupdate') |
| 13486 @DocsEditable | 13865 @DocsEditable |
| 13487 Stream<Event> get onTimeUpdate => timeUpdateEvent.forTarget(this); | 13866 Stream<Event> get onTimeUpdate => timeUpdateEvent.forTarget(this); |
| 13488 | 13867 |
| 13489 @DomName('HTMLMediaElement.onvolumechange') | 13868 @DomName('HTMLMediaElement.onvolumechange') |
| 13490 @DocsEditable | 13869 @DocsEditable |
| 13491 Stream<Event> get onVolumeChange => volumeChangeEvent.forTarget(this); | 13870 Stream<Event> get onVolumeChange => volumeChangeEvent.forTarget(this); |
| 13492 | 13871 |
| 13493 @DomName('HTMLMediaElement.onwaiting') | 13872 @DomName('HTMLMediaElement.onwaiting') |
| 13494 @DocsEditable | 13873 @DocsEditable |
| 13495 Stream<Event> get onWaiting => waitingEvent.forTarget(this); | 13874 Stream<Event> get onWaiting => waitingEvent.forTarget(this); |
| 13496 | 13875 |
| 13497 @DomName('HTMLMediaElement.onwebkitkeyadded') | 13876 @DomName('HTMLMediaElement.onwebkitkeyadded') |
| 13498 @DocsEditable | 13877 @DocsEditable |
| 13878 // https://dvcs.w3.org/hg/html-media/raw-file/eme-v0.1/encrypted-media/encrypt
ed-media.html#dom-keyadded |
| 13879 @Experimental |
| 13499 Stream<MediaKeyEvent> get onKeyAdded => keyAddedEvent.forTarget(this); | 13880 Stream<MediaKeyEvent> get onKeyAdded => keyAddedEvent.forTarget(this); |
| 13500 | 13881 |
| 13501 @DomName('HTMLMediaElement.onwebkitkeyerror') | 13882 @DomName('HTMLMediaElement.onwebkitkeyerror') |
| 13502 @DocsEditable | 13883 @DocsEditable |
| 13884 // https://dvcs.w3.org/hg/html-media/raw-file/eme-v0.1/encrypted-media/encrypt
ed-media.html#dom-keyadded |
| 13885 @Experimental |
| 13503 Stream<MediaKeyEvent> get onKeyError => keyErrorEvent.forTarget(this); | 13886 Stream<MediaKeyEvent> get onKeyError => keyErrorEvent.forTarget(this); |
| 13504 | 13887 |
| 13505 @DomName('HTMLMediaElement.onwebkitkeymessage') | 13888 @DomName('HTMLMediaElement.onwebkitkeymessage') |
| 13506 @DocsEditable | 13889 @DocsEditable |
| 13890 // https://dvcs.w3.org/hg/html-media/raw-file/eme-v0.1/encrypted-media/encrypt
ed-media.html#dom-keyadded |
| 13891 @Experimental |
| 13507 Stream<MediaKeyEvent> get onKeyMessage => keyMessageEvent.forTarget(this); | 13892 Stream<MediaKeyEvent> get onKeyMessage => keyMessageEvent.forTarget(this); |
| 13508 | 13893 |
| 13509 @DomName('HTMLMediaElement.onwebkitneedkey') | 13894 @DomName('HTMLMediaElement.onwebkitneedkey') |
| 13510 @DocsEditable | 13895 @DocsEditable |
| 13896 // https://dvcs.w3.org/hg/html-media/raw-file/eme-v0.1/encrypted-media/encrypt
ed-media.html#dom-keyadded |
| 13897 @Experimental |
| 13511 Stream<MediaKeyEvent> get onNeedKey => needKeyEvent.forTarget(this); | 13898 Stream<MediaKeyEvent> get onNeedKey => needKeyEvent.forTarget(this); |
| 13512 } | 13899 } |
| 13513 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 13900 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 13514 // for details. All rights reserved. Use of this source code is governed by a | 13901 // for details. All rights reserved. Use of this source code is governed by a |
| 13515 // BSD-style license that can be found in the LICENSE file. | 13902 // BSD-style license that can be found in the LICENSE file. |
| 13516 | 13903 |
| 13517 | 13904 |
| 13518 @DocsEditable | 13905 @DocsEditable |
| 13519 @DomName('MediaError') | 13906 @DomName('MediaError') |
| 13907 @Unstable |
| 13520 class MediaError native "MediaError" { | 13908 class MediaError native "MediaError" { |
| 13521 | 13909 |
| 13522 @DomName('MediaError.MEDIA_ERR_ABORTED') | 13910 @DomName('MediaError.MEDIA_ERR_ABORTED') |
| 13523 @DocsEditable | 13911 @DocsEditable |
| 13524 static const int MEDIA_ERR_ABORTED = 1; | 13912 static const int MEDIA_ERR_ABORTED = 1; |
| 13525 | 13913 |
| 13526 @DomName('MediaError.MEDIA_ERR_DECODE') | 13914 @DomName('MediaError.MEDIA_ERR_DECODE') |
| 13527 @DocsEditable | 13915 @DocsEditable |
| 13528 static const int MEDIA_ERR_DECODE = 3; | 13916 static const int MEDIA_ERR_DECODE = 3; |
| 13529 | 13917 |
| 13530 @DomName('MediaError.MEDIA_ERR_ENCRYPTED') | 13918 @DomName('MediaError.MEDIA_ERR_ENCRYPTED') |
| 13531 @DocsEditable | 13919 @DocsEditable |
| 13920 // https://dvcs.w3.org/hg/html-media/raw-file/eme-v0.1/encrypted-media/encrypt
ed-media.html#error-codes |
| 13921 @Experimental |
| 13532 static const int MEDIA_ERR_ENCRYPTED = 5; | 13922 static const int MEDIA_ERR_ENCRYPTED = 5; |
| 13533 | 13923 |
| 13534 @DomName('MediaError.MEDIA_ERR_NETWORK') | 13924 @DomName('MediaError.MEDIA_ERR_NETWORK') |
| 13535 @DocsEditable | 13925 @DocsEditable |
| 13536 static const int MEDIA_ERR_NETWORK = 2; | 13926 static const int MEDIA_ERR_NETWORK = 2; |
| 13537 | 13927 |
| 13538 @DomName('MediaError.MEDIA_ERR_SRC_NOT_SUPPORTED') | 13928 @DomName('MediaError.MEDIA_ERR_SRC_NOT_SUPPORTED') |
| 13539 @DocsEditable | 13929 @DocsEditable |
| 13540 static const int MEDIA_ERR_SRC_NOT_SUPPORTED = 4; | 13930 static const int MEDIA_ERR_SRC_NOT_SUPPORTED = 4; |
| 13541 | 13931 |
| 13542 @DomName('MediaError.code') | 13932 @DomName('MediaError.code') |
| 13543 @DocsEditable | 13933 @DocsEditable |
| 13544 final int code; | 13934 final int code; |
| 13545 } | 13935 } |
| 13546 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 13936 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 13547 // for details. All rights reserved. Use of this source code is governed by a | 13937 // for details. All rights reserved. Use of this source code is governed by a |
| 13548 // BSD-style license that can be found in the LICENSE file. | 13938 // BSD-style license that can be found in the LICENSE file. |
| 13549 | 13939 |
| 13550 | 13940 |
| 13551 @DocsEditable | 13941 @DocsEditable |
| 13552 @DomName('MediaKeyError') | 13942 @DomName('MediaKeyError') |
| 13943 // https://dvcs.w3.org/hg/html-media/raw-file/eme-v0.1/encrypted-media/encrypted
-media.html#error-codes |
| 13944 @Experimental |
| 13553 class MediaKeyError native "MediaKeyError" { | 13945 class MediaKeyError native "MediaKeyError" { |
| 13554 | 13946 |
| 13555 @DomName('MediaKeyError.MEDIA_KEYERR_CLIENT') | 13947 @DomName('MediaKeyError.MEDIA_KEYERR_CLIENT') |
| 13556 @DocsEditable | 13948 @DocsEditable |
| 13557 static const int MEDIA_KEYERR_CLIENT = 2; | 13949 static const int MEDIA_KEYERR_CLIENT = 2; |
| 13558 | 13950 |
| 13559 @DomName('MediaKeyError.MEDIA_KEYERR_DOMAIN') | 13951 @DomName('MediaKeyError.MEDIA_KEYERR_DOMAIN') |
| 13560 @DocsEditable | 13952 @DocsEditable |
| 13561 static const int MEDIA_KEYERR_DOMAIN = 6; | 13953 static const int MEDIA_KEYERR_DOMAIN = 6; |
| 13562 | 13954 |
| (...skipping 17 matching lines...) Expand all Loading... |
| 13580 @DocsEditable | 13972 @DocsEditable |
| 13581 final int code; | 13973 final int code; |
| 13582 } | 13974 } |
| 13583 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 13975 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 13584 // for details. All rights reserved. Use of this source code is governed by a | 13976 // for details. All rights reserved. Use of this source code is governed by a |
| 13585 // BSD-style license that can be found in the LICENSE file. | 13977 // BSD-style license that can be found in the LICENSE file. |
| 13586 | 13978 |
| 13587 | 13979 |
| 13588 @DocsEditable | 13980 @DocsEditable |
| 13589 @DomName('MediaKeyEvent') | 13981 @DomName('MediaKeyEvent') |
| 13982 // https://dvcs.w3.org/hg/html-media/raw-file/eme-v0.1/encrypted-media/encrypted
-media.html#event-definitions |
| 13983 @Experimental |
| 13590 class MediaKeyEvent extends Event native "MediaKeyEvent" { | 13984 class MediaKeyEvent extends Event native "MediaKeyEvent" { |
| 13591 | 13985 |
| 13592 @JSName('defaultURL') | 13986 @JSName('defaultURL') |
| 13593 @DomName('MediaKeyEvent.defaultURL') | 13987 @DomName('MediaKeyEvent.defaultURL') |
| 13594 @DocsEditable | 13988 @DocsEditable |
| 13595 final String defaultUrl; | 13989 final String defaultUrl; |
| 13596 | 13990 |
| 13597 @DomName('MediaKeyEvent.errorCode') | 13991 @DomName('MediaKeyEvent.errorCode') |
| 13598 @DocsEditable | 13992 @DocsEditable |
| 13599 final MediaKeyError errorCode; | 13993 final MediaKeyError errorCode; |
| (...skipping 18 matching lines...) Expand all Loading... |
| 13618 @DocsEditable | 14012 @DocsEditable |
| 13619 final int systemCode; | 14013 final int systemCode; |
| 13620 } | 14014 } |
| 13621 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14015 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 13622 // for details. All rights reserved. Use of this source code is governed by a | 14016 // for details. All rights reserved. Use of this source code is governed by a |
| 13623 // BSD-style license that can be found in the LICENSE file. | 14017 // BSD-style license that can be found in the LICENSE file. |
| 13624 | 14018 |
| 13625 | 14019 |
| 13626 @DocsEditable | 14020 @DocsEditable |
| 13627 @DomName('MediaList') | 14021 @DomName('MediaList') |
| 14022 @Unstable |
| 13628 class MediaList native "MediaList" { | 14023 class MediaList native "MediaList" { |
| 13629 | 14024 |
| 13630 @DomName('MediaList.length') | 14025 @DomName('MediaList.length') |
| 13631 @DocsEditable | 14026 @DocsEditable |
| 13632 final int length; | 14027 final int length; |
| 13633 | 14028 |
| 13634 @DomName('MediaList.mediaText') | 14029 @DomName('MediaList.mediaText') |
| 13635 @DocsEditable | 14030 @DocsEditable |
| 13636 String mediaText; | 14031 String mediaText; |
| 13637 | 14032 |
| 13638 @DomName('MediaList.appendMedium') | 14033 @DomName('MediaList.appendMedium') |
| 13639 @DocsEditable | 14034 @DocsEditable |
| 13640 void appendMedium(String newMedium) native; | 14035 void appendMedium(String newMedium) native; |
| 13641 | 14036 |
| 13642 @DomName('MediaList.deleteMedium') | 14037 @DomName('MediaList.deleteMedium') |
| 13643 @DocsEditable | 14038 @DocsEditable |
| 13644 void deleteMedium(String oldMedium) native; | 14039 void deleteMedium(String oldMedium) native; |
| 13645 | 14040 |
| 13646 @DomName('MediaList.item') | 14041 @DomName('MediaList.item') |
| 13647 @DocsEditable | 14042 @DocsEditable |
| 13648 String item(int index) native; | 14043 String item(int index) native; |
| 13649 } | 14044 } |
| 13650 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14045 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 13651 // for details. All rights reserved. Use of this source code is governed by a | 14046 // for details. All rights reserved. Use of this source code is governed by a |
| 13652 // BSD-style license that can be found in the LICENSE file. | 14047 // BSD-style license that can be found in the LICENSE file. |
| 13653 | 14048 |
| 13654 | 14049 |
| 13655 @DocsEditable | 14050 @DocsEditable |
| 13656 @DomName('MediaQueryList') | 14051 @DomName('MediaQueryList') |
| 14052 @Unstable |
| 13657 class MediaQueryList native "MediaQueryList" { | 14053 class MediaQueryList native "MediaQueryList" { |
| 13658 | 14054 |
| 13659 @DomName('MediaQueryList.matches') | 14055 @DomName('MediaQueryList.matches') |
| 13660 @DocsEditable | 14056 @DocsEditable |
| 13661 final bool matches; | 14057 final bool matches; |
| 13662 | 14058 |
| 13663 @DomName('MediaQueryList.media') | 14059 @DomName('MediaQueryList.media') |
| 13664 @DocsEditable | 14060 @DocsEditable |
| 13665 final String media; | 14061 final String media; |
| 13666 | 14062 |
| 13667 @DomName('MediaQueryList.addListener') | 14063 @DomName('MediaQueryList.addListener') |
| 13668 @DocsEditable | 14064 @DocsEditable |
| 13669 void addListener(MediaQueryListListener listener) native; | 14065 void addListener(MediaQueryListListener listener) native; |
| 13670 | 14066 |
| 13671 @DomName('MediaQueryList.removeListener') | 14067 @DomName('MediaQueryList.removeListener') |
| 13672 @DocsEditable | 14068 @DocsEditable |
| 13673 void removeListener(MediaQueryListListener listener) native; | 14069 void removeListener(MediaQueryListListener listener) native; |
| 13674 } | 14070 } |
| 13675 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14071 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 13676 // for details. All rights reserved. Use of this source code is governed by a | 14072 // for details. All rights reserved. Use of this source code is governed by a |
| 13677 // BSD-style license that can be found in the LICENSE file. | 14073 // BSD-style license that can be found in the LICENSE file. |
| 13678 | 14074 |
| 13679 | 14075 |
| 13680 @DomName('MediaQueryListListener') | 14076 @DomName('MediaQueryListListener') |
| 14077 @Unstable |
| 13681 abstract class MediaQueryListListener { | 14078 abstract class MediaQueryListListener { |
| 13682 | 14079 |
| 13683 void queryChanged(MediaQueryList list); | 14080 void queryChanged(MediaQueryList list); |
| 13684 } | 14081 } |
| 13685 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14082 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 13686 // for details. All rights reserved. Use of this source code is governed by a | 14083 // for details. All rights reserved. Use of this source code is governed by a |
| 13687 // BSD-style license that can be found in the LICENSE file. | 14084 // BSD-style license that can be found in the LICENSE file. |
| 13688 | 14085 |
| 13689 | 14086 |
| 13690 @DocsEditable | 14087 @DocsEditable |
| 13691 @DomName('MediaSource') | 14088 @DomName('MediaSource') |
| 14089 // https://dvcs.w3.org/hg/html-media/raw-file/tip/media-source/media-source.html
#mediasource |
| 14090 @Experimental |
| 13692 class MediaSource extends EventTarget native "MediaSource" { | 14091 class MediaSource extends EventTarget native "MediaSource" { |
| 13693 | 14092 |
| 13694 @DomName('MediaSource.MediaSource') | 14093 @DomName('MediaSource.MediaSource') |
| 13695 @DocsEditable | 14094 @DocsEditable |
| 13696 factory MediaSource() { | 14095 factory MediaSource() { |
| 13697 return MediaSource._create_1(); | 14096 return MediaSource._create_1(); |
| 13698 } | 14097 } |
| 13699 static MediaSource _create_1() => JS('MediaSource', 'new MediaSource()'); | 14098 static MediaSource _create_1() => JS('MediaSource', 'new MediaSource()'); |
| 13700 | 14099 |
| 13701 @DomName('MediaSource.activeSourceBuffers') | 14100 @DomName('MediaSource.activeSourceBuffers') |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 13745 void removeSourceBuffer(SourceBuffer buffer) native; | 14144 void removeSourceBuffer(SourceBuffer buffer) native; |
| 13746 } | 14145 } |
| 13747 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 14146 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 13748 // for details. All rights reserved. Use of this source code is governed by a | 14147 // for details. All rights reserved. Use of this source code is governed by a |
| 13749 // BSD-style license that can be found in the LICENSE file. | 14148 // BSD-style license that can be found in the LICENSE file. |
| 13750 | 14149 |
| 13751 | 14150 |
| 13752 @DomName('MediaStream') | 14151 @DomName('MediaStream') |
| 13753 @SupportedBrowser(SupportedBrowser.CHROME) | 14152 @SupportedBrowser(SupportedBrowser.CHROME) |
| 13754 @Experimental | 14153 @Experimental |
| 14154 // http://dev.w3.org/2011/webrtc/editor/getusermedia.html#mediastream |
| 13755 class MediaStream extends EventTarget native "MediaStream" { | 14155 class MediaStream extends EventTarget native "MediaStream" { |
| 13756 | 14156 |
| 13757 @DomName('MediaStream.addtrackEvent') | 14157 @DomName('MediaStream.addtrackEvent') |
| 13758 @DocsEditable | 14158 @DocsEditable |
| 13759 static const EventStreamProvider<Event> addTrackEvent = const EventStreamProvi
der<Event>('addtrack'); | 14159 static const EventStreamProvider<Event> addTrackEvent = const EventStreamProvi
der<Event>('addtrack'); |
| 13760 | 14160 |
| 13761 @DomName('MediaStream.endedEvent') | 14161 @DomName('MediaStream.endedEvent') |
| 13762 @DocsEditable | 14162 @DocsEditable |
| 13763 static const EventStreamProvider<Event> endedEvent = const EventStreamProvider
<Event>('ended'); | 14163 static const EventStreamProvider<Event> endedEvent = const EventStreamProvider
<Event>('ended'); |
| 13764 | 14164 |
| (...skipping 22 matching lines...) Expand all Loading... |
| 13787 @DomName('MediaStream.ended') | 14187 @DomName('MediaStream.ended') |
| 13788 @DocsEditable | 14188 @DocsEditable |
| 13789 final bool ended; | 14189 final bool ended; |
| 13790 | 14190 |
| 13791 @DomName('MediaStream.id') | 14191 @DomName('MediaStream.id') |
| 13792 @DocsEditable | 14192 @DocsEditable |
| 13793 final String id; | 14193 final String id; |
| 13794 | 14194 |
| 13795 @DomName('MediaStream.label') | 14195 @DomName('MediaStream.label') |
| 13796 @DocsEditable | 14196 @DocsEditable |
| 14197 @Experimental // non-standard |
| 13797 final String label; | 14198 final String label; |
| 13798 | 14199 |
| 13799 @JSName('addEventListener') | 14200 @JSName('addEventListener') |
| 13800 @DomName('MediaStream.addEventListener') | 14201 @DomName('MediaStream.addEventListener') |
| 13801 @DocsEditable | 14202 @DocsEditable |
| 13802 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]) native; | 14203 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]) native; |
| 13803 | 14204 |
| 13804 @DomName('MediaStream.addTrack') | 14205 @DomName('MediaStream.addTrack') |
| 13805 @DocsEditable | 14206 @DocsEditable |
| 13806 void addTrack(MediaStreamTrack track) native; | 14207 void addTrack(MediaStreamTrack track) native; |
| (...skipping 18 matching lines...) Expand all Loading... |
| 13825 @DomName('MediaStream.removeEventListener') | 14226 @DomName('MediaStream.removeEventListener') |
| 13826 @DocsEditable | 14227 @DocsEditable |
| 13827 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]) native; | 14228 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]) native; |
| 13828 | 14229 |
| 13829 @DomName('MediaStream.removeTrack') | 14230 @DomName('MediaStream.removeTrack') |
| 13830 @DocsEditable | 14231 @DocsEditable |
| 13831 void removeTrack(MediaStreamTrack track) native; | 14232 void removeTrack(MediaStreamTrack track) native; |
| 13832 | 14233 |
| 13833 @DomName('MediaStream.stop') | 14234 @DomName('MediaStream.stop') |
| 13834 @DocsEditable | 14235 @DocsEditable |
| 14236 @Experimental // untriaged |
| 13835 void stop() native; | 14237 void stop() native; |
| 13836 | 14238 |
| 13837 @DomName('MediaStream.onaddtrack') | 14239 @DomName('MediaStream.onaddtrack') |
| 13838 @DocsEditable | 14240 @DocsEditable |
| 13839 Stream<Event> get onAddTrack => addTrackEvent.forTarget(this); | 14241 Stream<Event> get onAddTrack => addTrackEvent.forTarget(this); |
| 13840 | 14242 |
| 13841 @DomName('MediaStream.onended') | 14243 @DomName('MediaStream.onended') |
| 13842 @DocsEditable | 14244 @DocsEditable |
| 13843 Stream<Event> get onEnded => endedEvent.forTarget(this); | 14245 Stream<Event> get onEnded => endedEvent.forTarget(this); |
| 13844 | 14246 |
| (...skipping 19 matching lines...) Expand all Loading... |
| 13864 } | 14266 } |
| 13865 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14267 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 13866 // for details. All rights reserved. Use of this source code is governed by a | 14268 // for details. All rights reserved. Use of this source code is governed by a |
| 13867 // BSD-style license that can be found in the LICENSE file. | 14269 // BSD-style license that can be found in the LICENSE file. |
| 13868 | 14270 |
| 13869 | 14271 |
| 13870 @DocsEditable | 14272 @DocsEditable |
| 13871 @DomName('MediaStreamEvent') | 14273 @DomName('MediaStreamEvent') |
| 13872 @SupportedBrowser(SupportedBrowser.CHROME) | 14274 @SupportedBrowser(SupportedBrowser.CHROME) |
| 13873 @Experimental | 14275 @Experimental |
| 14276 // http://dev.w3.org/2011/webrtc/editor/getusermedia.html |
| 13874 class MediaStreamEvent extends Event native "MediaStreamEvent" { | 14277 class MediaStreamEvent extends Event native "MediaStreamEvent" { |
| 13875 | 14278 |
| 13876 /// Checks if this type is supported on the current platform. | 14279 /// Checks if this type is supported on the current platform. |
| 13877 static bool get supported => Device.isEventTypeSupported('MediaStreamEvent'); | 14280 static bool get supported => Device.isEventTypeSupported('MediaStreamEvent'); |
| 13878 | 14281 |
| 13879 @DomName('MediaStreamEvent.stream') | 14282 @DomName('MediaStreamEvent.stream') |
| 13880 @DocsEditable | 14283 @DocsEditable |
| 13881 final MediaStream stream; | 14284 final MediaStream stream; |
| 13882 } | 14285 } |
| 13883 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14286 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 13884 // for details. All rights reserved. Use of this source code is governed by a | 14287 // for details. All rights reserved. Use of this source code is governed by a |
| 13885 // BSD-style license that can be found in the LICENSE file. | 14288 // BSD-style license that can be found in the LICENSE file. |
| 13886 | 14289 |
| 13887 | 14290 |
| 13888 @DocsEditable | 14291 @DocsEditable |
| 13889 @DomName('MediaStreamTrack') | 14292 @DomName('MediaStreamTrack') |
| 13890 @SupportedBrowser(SupportedBrowser.CHROME) | 14293 @SupportedBrowser(SupportedBrowser.CHROME) |
| 13891 @Experimental | 14294 @Experimental |
| 14295 // http://dev.w3.org/2011/webrtc/editor/getusermedia.html#mediastreamtrack |
| 13892 class MediaStreamTrack extends EventTarget native "MediaStreamTrack" { | 14296 class MediaStreamTrack extends EventTarget native "MediaStreamTrack" { |
| 13893 | 14297 |
| 13894 @DomName('MediaStreamTrack.endedEvent') | 14298 @DomName('MediaStreamTrack.endedEvent') |
| 13895 @DocsEditable | 14299 @DocsEditable |
| 13896 static const EventStreamProvider<Event> endedEvent = const EventStreamProvider
<Event>('ended'); | 14300 static const EventStreamProvider<Event> endedEvent = const EventStreamProvider
<Event>('ended'); |
| 13897 | 14301 |
| 13898 @DomName('MediaStreamTrack.muteEvent') | 14302 @DomName('MediaStreamTrack.muteEvent') |
| 13899 @DocsEditable | 14303 @DocsEditable |
| 13900 static const EventStreamProvider<Event> muteEvent = const EventStreamProvider<
Event>('mute'); | 14304 static const EventStreamProvider<Event> muteEvent = const EventStreamProvider<
Event>('mute'); |
| 13901 | 14305 |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 13951 } | 14355 } |
| 13952 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14356 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 13953 // for details. All rights reserved. Use of this source code is governed by a | 14357 // for details. All rights reserved. Use of this source code is governed by a |
| 13954 // BSD-style license that can be found in the LICENSE file. | 14358 // BSD-style license that can be found in the LICENSE file. |
| 13955 | 14359 |
| 13956 | 14360 |
| 13957 @DocsEditable | 14361 @DocsEditable |
| 13958 @DomName('MediaStreamTrackEvent') | 14362 @DomName('MediaStreamTrackEvent') |
| 13959 @SupportedBrowser(SupportedBrowser.CHROME) | 14363 @SupportedBrowser(SupportedBrowser.CHROME) |
| 13960 @Experimental | 14364 @Experimental |
| 14365 // http://dev.w3.org/2011/webrtc/editor/getusermedia.html |
| 13961 class MediaStreamTrackEvent extends Event native "MediaStreamTrackEvent" { | 14366 class MediaStreamTrackEvent extends Event native "MediaStreamTrackEvent" { |
| 13962 | 14367 |
| 13963 /// Checks if this type is supported on the current platform. | 14368 /// Checks if this type is supported on the current platform. |
| 13964 static bool get supported => Device.isEventTypeSupported('MediaStreamTrackEven
t'); | 14369 static bool get supported => Device.isEventTypeSupported('MediaStreamTrackEven
t'); |
| 13965 | 14370 |
| 13966 @DomName('MediaStreamTrackEvent.track') | 14371 @DomName('MediaStreamTrackEvent.track') |
| 13967 @DocsEditable | 14372 @DocsEditable |
| 13968 final MediaStreamTrack track; | 14373 final MediaStreamTrack track; |
| 13969 } | 14374 } |
| 13970 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14375 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 13971 // for details. All rights reserved. Use of this source code is governed by a | 14376 // for details. All rights reserved. Use of this source code is governed by a |
| 13972 // BSD-style license that can be found in the LICENSE file. | 14377 // BSD-style license that can be found in the LICENSE file. |
| 13973 | 14378 |
| 13974 | 14379 |
| 13975 @DocsEditable | 14380 @DocsEditable |
| 13976 @DomName('MemoryInfo') | 14381 @DomName('MemoryInfo') |
| 14382 @Experimental // nonstandard |
| 13977 class MemoryInfo native "MemoryInfo" { | 14383 class MemoryInfo native "MemoryInfo" { |
| 13978 | 14384 |
| 13979 @DomName('MemoryInfo.jsHeapSizeLimit') | 14385 @DomName('MemoryInfo.jsHeapSizeLimit') |
| 13980 @DocsEditable | 14386 @DocsEditable |
| 13981 final int jsHeapSizeLimit; | 14387 final int jsHeapSizeLimit; |
| 13982 | 14388 |
| 13983 @DomName('MemoryInfo.totalJSHeapSize') | 14389 @DomName('MemoryInfo.totalJSHeapSize') |
| 13984 @DocsEditable | 14390 @DocsEditable |
| 13985 final int totalJSHeapSize; | 14391 final int totalJSHeapSize; |
| 13986 | 14392 |
| (...skipping 24 matching lines...) Expand all Loading... |
| 14011 @DocsEditable | 14417 @DocsEditable |
| 14012 factory MenuElement() => document.$dom_createElement("menu"); | 14418 factory MenuElement() => document.$dom_createElement("menu"); |
| 14013 } | 14419 } |
| 14014 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14420 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 14015 // for details. All rights reserved. Use of this source code is governed by a | 14421 // for details. All rights reserved. Use of this source code is governed by a |
| 14016 // BSD-style license that can be found in the LICENSE file. | 14422 // BSD-style license that can be found in the LICENSE file. |
| 14017 | 14423 |
| 14018 | 14424 |
| 14019 @DocsEditable | 14425 @DocsEditable |
| 14020 @DomName('MessageChannel') | 14426 @DomName('MessageChannel') |
| 14427 @Unstable |
| 14021 class MessageChannel native "MessageChannel" { | 14428 class MessageChannel native "MessageChannel" { |
| 14022 | 14429 |
| 14023 @DomName('MessageChannel.MessageChannel') | 14430 @DomName('MessageChannel.MessageChannel') |
| 14024 @DocsEditable | 14431 @DocsEditable |
| 14025 factory MessageChannel() { | 14432 factory MessageChannel() { |
| 14026 return MessageChannel._create_1(); | 14433 return MessageChannel._create_1(); |
| 14027 } | 14434 } |
| 14028 static MessageChannel _create_1() => JS('MessageChannel', 'new MessageChannel(
)'); | 14435 static MessageChannel _create_1() => JS('MessageChannel', 'new MessageChannel(
)'); |
| 14029 | 14436 |
| 14030 @DomName('MessageChannel.port1') | 14437 @DomName('MessageChannel.port1') |
| (...skipping 29 matching lines...) Expand all Loading... |
| 14060 dynamic get data => convertNativeToDart_SerializedScriptValue(this._get_data); | 14467 dynamic get data => convertNativeToDart_SerializedScriptValue(this._get_data); |
| 14061 @JSName('data') | 14468 @JSName('data') |
| 14062 @DomName('MessageEvent.data') | 14469 @DomName('MessageEvent.data') |
| 14063 @DocsEditable | 14470 @DocsEditable |
| 14064 @annotation_Creates_SerializedScriptValue | 14471 @annotation_Creates_SerializedScriptValue |
| 14065 @annotation_Returns_SerializedScriptValue | 14472 @annotation_Returns_SerializedScriptValue |
| 14066 final dynamic _get_data; | 14473 final dynamic _get_data; |
| 14067 | 14474 |
| 14068 @DomName('MessageEvent.lastEventId') | 14475 @DomName('MessageEvent.lastEventId') |
| 14069 @DocsEditable | 14476 @DocsEditable |
| 14477 @Unstable |
| 14070 final String lastEventId; | 14478 final String lastEventId; |
| 14071 | 14479 |
| 14072 @DomName('MessageEvent.origin') | 14480 @DomName('MessageEvent.origin') |
| 14073 @DocsEditable | 14481 @DocsEditable |
| 14074 final String origin; | 14482 final String origin; |
| 14075 | 14483 |
| 14076 @DomName('MessageEvent.ports') | 14484 @DomName('MessageEvent.ports') |
| 14077 @DocsEditable | 14485 @DocsEditable |
| 14486 @Unstable |
| 14078 @Creates('=List') | 14487 @Creates('=List') |
| 14079 final List ports; | 14488 final List ports; |
| 14080 | 14489 |
| 14081 WindowBase get source => _convertNativeToDart_Window(this._get_source); | 14490 WindowBase get source => _convertNativeToDart_Window(this._get_source); |
| 14082 @JSName('source') | 14491 @JSName('source') |
| 14083 @DomName('MessageEvent.source') | 14492 @DomName('MessageEvent.source') |
| 14084 @DocsEditable | 14493 @DocsEditable |
| 14085 @Creates('Window|=Object') | 14494 @Creates('Window|=Object') |
| 14086 @Returns('Window|=Object') | 14495 @Returns('Window|=Object') |
| 14087 final dynamic _get_source; | 14496 final dynamic _get_source; |
| 14088 | 14497 |
| 14089 @JSName('initMessageEvent') | 14498 @JSName('initMessageEvent') |
| 14090 @DomName('MessageEvent.initMessageEvent') | 14499 @DomName('MessageEvent.initMessageEvent') |
| 14091 @DocsEditable | 14500 @DocsEditable |
| 14092 void $dom_initMessageEvent(String typeArg, bool canBubbleArg, bool cancelableA
rg, Object dataArg, String originArg, String lastEventIdArg, Window sourceArg, L
ist messagePorts) native; | 14501 void $dom_initMessageEvent(String typeArg, bool canBubbleArg, bool cancelableA
rg, Object dataArg, String originArg, String lastEventIdArg, Window sourceArg, L
ist messagePorts) native; |
| 14093 | 14502 |
| 14094 } | 14503 } |
| 14095 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14504 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 14096 // for details. All rights reserved. Use of this source code is governed by a | 14505 // for details. All rights reserved. Use of this source code is governed by a |
| 14097 // BSD-style license that can be found in the LICENSE file. | 14506 // BSD-style license that can be found in the LICENSE file. |
| 14098 | 14507 |
| 14099 | 14508 |
| 14100 @DocsEditable | 14509 @DocsEditable |
| 14101 @DomName('MessagePort') | 14510 @DomName('MessagePort') |
| 14511 @Unstable |
| 14102 class MessagePort extends EventTarget native "MessagePort" { | 14512 class MessagePort extends EventTarget native "MessagePort" { |
| 14103 | 14513 |
| 14104 @DomName('MessagePort.messageEvent') | 14514 @DomName('MessagePort.messageEvent') |
| 14105 @DocsEditable | 14515 @DocsEditable |
| 14106 static const EventStreamProvider<MessageEvent> messageEvent = const EventStrea
mProvider<MessageEvent>('message'); | 14516 static const EventStreamProvider<MessageEvent> messageEvent = const EventStrea
mProvider<MessageEvent>('message'); |
| 14107 | 14517 |
| 14108 @JSName('addEventListener') | 14518 @JSName('addEventListener') |
| 14109 @DomName('MessagePort.addEventListener') | 14519 @DomName('MessagePort.addEventListener') |
| 14110 @DocsEditable | 14520 @DocsEditable |
| 14111 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]) native; | 14521 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]) native; |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 14173 @DocsEditable | 14583 @DocsEditable |
| 14174 String name; | 14584 String name; |
| 14175 } | 14585 } |
| 14176 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14586 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 14177 // for details. All rights reserved. Use of this source code is governed by a | 14587 // for details. All rights reserved. Use of this source code is governed by a |
| 14178 // BSD-style license that can be found in the LICENSE file. | 14588 // BSD-style license that can be found in the LICENSE file. |
| 14179 | 14589 |
| 14180 | 14590 |
| 14181 @DocsEditable | 14591 @DocsEditable |
| 14182 @DomName('Metadata') | 14592 @DomName('Metadata') |
| 14593 // http://www.w3.org/TR/file-system-api/#the-metadata-interface |
| 14594 @Experimental |
| 14183 class Metadata native "Metadata" { | 14595 class Metadata native "Metadata" { |
| 14184 | 14596 |
| 14185 DateTime get modificationTime => _convertNativeToDart_DateTime(this._get_modif
icationTime); | 14597 DateTime get modificationTime => _convertNativeToDart_DateTime(this._get_modif
icationTime); |
| 14186 @JSName('modificationTime') | 14598 @JSName('modificationTime') |
| 14187 @DomName('Metadata.modificationTime') | 14599 @DomName('Metadata.modificationTime') |
| 14188 @DocsEditable | 14600 @DocsEditable |
| 14189 final dynamic _get_modificationTime; | 14601 final dynamic _get_modificationTime; |
| 14190 | 14602 |
| 14191 @DomName('Metadata.size') | 14603 @DomName('Metadata.size') |
| 14192 @DocsEditable | 14604 @DocsEditable |
| 14193 final int size; | 14605 final int size; |
| 14194 } | 14606 } |
| 14195 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14607 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 14196 // for details. All rights reserved. Use of this source code is governed by a | 14608 // for details. All rights reserved. Use of this source code is governed by a |
| 14197 // BSD-style license that can be found in the LICENSE file. | 14609 // BSD-style license that can be found in the LICENSE file. |
| 14198 | 14610 |
| 14199 // WARNING: Do not edit - generated code. | 14611 // WARNING: Do not edit - generated code. |
| 14200 | 14612 |
| 14201 | 14613 |
| 14614 @DomName('MetadataCallback') |
| 14615 // http://www.w3.org/TR/file-system-api/#idl-def-MetadataCallback |
| 14616 @Experimental |
| 14202 typedef void MetadataCallback(Metadata metadata); | 14617 typedef void MetadataCallback(Metadata metadata); |
| 14203 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14618 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 14204 // for details. All rights reserved. Use of this source code is governed by a | 14619 // for details. All rights reserved. Use of this source code is governed by a |
| 14205 // BSD-style license that can be found in the LICENSE file. | 14620 // BSD-style license that can be found in the LICENSE file. |
| 14206 | 14621 |
| 14207 | 14622 |
| 14208 @DocsEditable | 14623 @DocsEditable |
| 14209 @DomName('HTMLMeterElement') | 14624 @DomName('HTMLMeterElement') |
| 14210 @SupportedBrowser(SupportedBrowser.CHROME) | 14625 @SupportedBrowser(SupportedBrowser.CHROME) |
| 14211 @SupportedBrowser(SupportedBrowser.FIREFOX) | 14626 @SupportedBrowser(SupportedBrowser.FIREFOX) |
| 14212 @SupportedBrowser(SupportedBrowser.SAFARI) | 14627 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 14628 @Unstable |
| 14213 class MeterElement extends Element native "HTMLMeterElement" { | 14629 class MeterElement extends Element native "HTMLMeterElement" { |
| 14214 | 14630 |
| 14215 @DomName('HTMLMeterElement.HTMLMeterElement') | 14631 @DomName('HTMLMeterElement.HTMLMeterElement') |
| 14216 @DocsEditable | 14632 @DocsEditable |
| 14217 factory MeterElement() => document.$dom_createElement("meter"); | 14633 factory MeterElement() => document.$dom_createElement("meter"); |
| 14218 | 14634 |
| 14219 /// Checks if this type is supported on the current platform. | 14635 /// Checks if this type is supported on the current platform. |
| 14220 static bool get supported => Element.isTagSupported('meter'); | 14636 static bool get supported => Element.isTagSupported('meter'); |
| 14221 | 14637 |
| 14222 @DomName('HTMLMeterElement.high') | 14638 @DomName('HTMLMeterElement.high') |
| 14223 @DocsEditable | 14639 @DocsEditable |
| 14224 num high; | 14640 num high; |
| 14225 | 14641 |
| 14226 @DomName('HTMLMeterElement.labels') | 14642 @DomName('HTMLMeterElement.labels') |
| 14227 @DocsEditable | 14643 @DocsEditable |
| 14644 @Unstable |
| 14228 @Returns('NodeList') | 14645 @Returns('NodeList') |
| 14229 @Creates('NodeList') | 14646 @Creates('NodeList') |
| 14230 final List<Node> labels; | 14647 final List<Node> labels; |
| 14231 | 14648 |
| 14232 @DomName('HTMLMeterElement.low') | 14649 @DomName('HTMLMeterElement.low') |
| 14233 @DocsEditable | 14650 @DocsEditable |
| 14234 num low; | 14651 num low; |
| 14235 | 14652 |
| 14236 @DomName('HTMLMeterElement.max') | 14653 @DomName('HTMLMeterElement.max') |
| 14237 @DocsEditable | 14654 @DocsEditable |
| (...skipping 11 matching lines...) Expand all Loading... |
| 14249 @DocsEditable | 14666 @DocsEditable |
| 14250 num value; | 14667 num value; |
| 14251 } | 14668 } |
| 14252 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14669 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 14253 // for details. All rights reserved. Use of this source code is governed by a | 14670 // for details. All rights reserved. Use of this source code is governed by a |
| 14254 // BSD-style license that can be found in the LICENSE file. | 14671 // BSD-style license that can be found in the LICENSE file. |
| 14255 | 14672 |
| 14256 | 14673 |
| 14257 @DocsEditable | 14674 @DocsEditable |
| 14258 @DomName('MIDIConnectionEvent') | 14675 @DomName('MIDIConnectionEvent') |
| 14676 @Experimental // untriaged |
| 14259 class MidiConnectionEvent extends Event native "MIDIConnectionEvent" { | 14677 class MidiConnectionEvent extends Event native "MIDIConnectionEvent" { |
| 14260 | 14678 |
| 14261 @DomName('MIDIConnectionEvent.port') | 14679 @DomName('MIDIConnectionEvent.port') |
| 14262 @DocsEditable | 14680 @DocsEditable |
| 14681 @Experimental // untriaged |
| 14263 final MidiPort port; | 14682 final MidiPort port; |
| 14264 } | 14683 } |
| 14265 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14684 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 14266 // for details. All rights reserved. Use of this source code is governed by a | 14685 // for details. All rights reserved. Use of this source code is governed by a |
| 14267 // BSD-style license that can be found in the LICENSE file. | 14686 // BSD-style license that can be found in the LICENSE file. |
| 14268 | 14687 |
| 14269 | 14688 |
| 14270 @DocsEditable | 14689 @DocsEditable |
| 14271 @DomName('MIDIInput') | 14690 @DomName('MIDIInput') |
| 14691 @Experimental // untriaged |
| 14272 class MidiInput extends MidiPort implements EventTarget native "MIDIInput" { | 14692 class MidiInput extends MidiPort implements EventTarget native "MIDIInput" { |
| 14273 } | 14693 } |
| 14274 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14694 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 14275 // for details. All rights reserved. Use of this source code is governed by a | 14695 // for details. All rights reserved. Use of this source code is governed by a |
| 14276 // BSD-style license that can be found in the LICENSE file. | 14696 // BSD-style license that can be found in the LICENSE file. |
| 14277 | 14697 |
| 14278 | 14698 |
| 14279 @DocsEditable | 14699 @DocsEditable |
| 14280 @DomName('MIDIMessageEvent') | 14700 @DomName('MIDIMessageEvent') |
| 14701 @Experimental // untriaged |
| 14281 class MidiMessageEvent extends Event native "MIDIMessageEvent" { | 14702 class MidiMessageEvent extends Event native "MIDIMessageEvent" { |
| 14282 | 14703 |
| 14283 @DomName('MIDIMessageEvent.data') | 14704 @DomName('MIDIMessageEvent.data') |
| 14284 @DocsEditable | 14705 @DocsEditable |
| 14706 @Experimental // untriaged |
| 14285 final Uint8List data; | 14707 final Uint8List data; |
| 14286 | 14708 |
| 14287 @DomName('MIDIMessageEvent.receivedTime') | 14709 @DomName('MIDIMessageEvent.receivedTime') |
| 14288 @DocsEditable | 14710 @DocsEditable |
| 14711 @Experimental // untriaged |
| 14289 final num receivedTime; | 14712 final num receivedTime; |
| 14290 } | 14713 } |
| 14291 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14714 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 14292 // for details. All rights reserved. Use of this source code is governed by a | 14715 // for details. All rights reserved. Use of this source code is governed by a |
| 14293 // BSD-style license that can be found in the LICENSE file. | 14716 // BSD-style license that can be found in the LICENSE file. |
| 14294 | 14717 |
| 14295 | 14718 |
| 14296 @DocsEditable | 14719 @DocsEditable |
| 14297 @DomName('MIDIPort') | 14720 @DomName('MIDIPort') |
| 14721 @Experimental // untriaged |
| 14298 class MidiPort extends EventTarget native "MIDIPort" { | 14722 class MidiPort extends EventTarget native "MIDIPort" { |
| 14299 | 14723 |
| 14300 @DomName('MIDIPort.disconnectEvent') | 14724 @DomName('MIDIPort.disconnectEvent') |
| 14301 @DocsEditable | 14725 @DocsEditable |
| 14726 @Experimental // untriaged |
| 14302 static const EventStreamProvider<MidiConnectionEvent> disconnectEvent = const
EventStreamProvider<MidiConnectionEvent>('disconnect'); | 14727 static const EventStreamProvider<MidiConnectionEvent> disconnectEvent = const
EventStreamProvider<MidiConnectionEvent>('disconnect'); |
| 14303 | 14728 |
| 14304 @DomName('MIDIPort.id') | 14729 @DomName('MIDIPort.id') |
| 14305 @DocsEditable | 14730 @DocsEditable |
| 14731 @Experimental // untriaged |
| 14306 final String id; | 14732 final String id; |
| 14307 | 14733 |
| 14308 @DomName('MIDIPort.manufacturer') | 14734 @DomName('MIDIPort.manufacturer') |
| 14309 @DocsEditable | 14735 @DocsEditable |
| 14736 @Experimental // untriaged |
| 14310 final String manufacturer; | 14737 final String manufacturer; |
| 14311 | 14738 |
| 14312 @DomName('MIDIPort.name') | 14739 @DomName('MIDIPort.name') |
| 14313 @DocsEditable | 14740 @DocsEditable |
| 14741 @Experimental // untriaged |
| 14314 final String name; | 14742 final String name; |
| 14315 | 14743 |
| 14316 @DomName('MIDIPort.type') | 14744 @DomName('MIDIPort.type') |
| 14317 @DocsEditable | 14745 @DocsEditable |
| 14746 @Experimental // untriaged |
| 14318 final String type; | 14747 final String type; |
| 14319 | 14748 |
| 14320 @DomName('MIDIPort.version') | 14749 @DomName('MIDIPort.version') |
| 14321 @DocsEditable | 14750 @DocsEditable |
| 14751 @Experimental // untriaged |
| 14322 final String version; | 14752 final String version; |
| 14323 | 14753 |
| 14324 @JSName('addEventListener') | 14754 @JSName('addEventListener') |
| 14325 @DomName('MIDIPort.addEventListener') | 14755 @DomName('MIDIPort.addEventListener') |
| 14326 @DocsEditable | 14756 @DocsEditable |
| 14757 @Experimental // untriaged |
| 14327 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]) native; | 14758 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]) native; |
| 14328 | 14759 |
| 14329 @DomName('MIDIPort.dispatchEvent') | 14760 @DomName('MIDIPort.dispatchEvent') |
| 14330 @DocsEditable | 14761 @DocsEditable |
| 14762 @Experimental // untriaged |
| 14331 bool dispatchEvent(Event event) native; | 14763 bool dispatchEvent(Event event) native; |
| 14332 | 14764 |
| 14333 @JSName('removeEventListener') | 14765 @JSName('removeEventListener') |
| 14334 @DomName('MIDIPort.removeEventListener') | 14766 @DomName('MIDIPort.removeEventListener') |
| 14335 @DocsEditable | 14767 @DocsEditable |
| 14768 @Experimental // untriaged |
| 14336 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]) native; | 14769 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]) native; |
| 14337 | 14770 |
| 14338 @DomName('MIDIPort.ondisconnect') | 14771 @DomName('MIDIPort.ondisconnect') |
| 14339 @DocsEditable | 14772 @DocsEditable |
| 14773 @Experimental // untriaged |
| 14340 Stream<MidiConnectionEvent> get onDisconnect => disconnectEvent.forTarget(this
); | 14774 Stream<MidiConnectionEvent> get onDisconnect => disconnectEvent.forTarget(this
); |
| 14341 } | 14775 } |
| 14342 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14776 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 14343 // for details. All rights reserved. Use of this source code is governed by a | 14777 // for details. All rights reserved. Use of this source code is governed by a |
| 14344 // BSD-style license that can be found in the LICENSE file. | 14778 // BSD-style license that can be found in the LICENSE file. |
| 14345 | 14779 |
| 14346 | 14780 |
| 14347 @DocsEditable | 14781 @DocsEditable |
| 14348 @DomName('MimeType') | 14782 @DomName('MimeType') |
| 14783 @Experimental // non-standard |
| 14349 class MimeType native "MimeType" { | 14784 class MimeType native "MimeType" { |
| 14350 | 14785 |
| 14351 @DomName('MimeType.description') | 14786 @DomName('MimeType.description') |
| 14352 @DocsEditable | 14787 @DocsEditable |
| 14353 final String description; | 14788 final String description; |
| 14354 | 14789 |
| 14355 @DomName('MimeType.enabledPlugin') | 14790 @DomName('MimeType.enabledPlugin') |
| 14356 @DocsEditable | 14791 @DocsEditable |
| 14357 final Plugin enabledPlugin; | 14792 final Plugin enabledPlugin; |
| 14358 | 14793 |
| 14359 @DomName('MimeType.suffixes') | 14794 @DomName('MimeType.suffixes') |
| 14360 @DocsEditable | 14795 @DocsEditable |
| 14361 final String suffixes; | 14796 final String suffixes; |
| 14362 | 14797 |
| 14363 @DomName('MimeType.type') | 14798 @DomName('MimeType.type') |
| 14364 @DocsEditable | 14799 @DocsEditable |
| 14365 final String type; | 14800 final String type; |
| 14366 } | 14801 } |
| 14367 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14802 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 14368 // for details. All rights reserved. Use of this source code is governed by a | 14803 // for details. All rights reserved. Use of this source code is governed by a |
| 14369 // BSD-style license that can be found in the LICENSE file. | 14804 // BSD-style license that can be found in the LICENSE file. |
| 14370 | 14805 |
| 14371 | 14806 |
| 14372 @DocsEditable | 14807 @DocsEditable |
| 14373 @DomName('MimeTypeArray') | 14808 @DomName('MimeTypeArray') |
| 14809 @Experimental // non-standard |
| 14374 class MimeTypeArray extends Interceptor with ListMixin<MimeType>, ImmutableListM
ixin<MimeType> implements JavaScriptIndexingBehavior, List<MimeType> native "Mim
eTypeArray" { | 14810 class MimeTypeArray extends Interceptor with ListMixin<MimeType>, ImmutableListM
ixin<MimeType> implements JavaScriptIndexingBehavior, List<MimeType> native "Mim
eTypeArray" { |
| 14375 | 14811 |
| 14376 @DomName('MimeTypeArray.length') | 14812 @DomName('MimeTypeArray.length') |
| 14377 @DocsEditable | 14813 @DocsEditable |
| 14378 int get length => JS("int", "#.length", this); | 14814 int get length => JS("int", "#.length", this); |
| 14379 | 14815 |
| 14380 MimeType operator[](int index) { | 14816 MimeType operator[](int index) { |
| 14381 if (JS("bool", "# >>> 0 !== # || # >= #", index, | 14817 if (JS("bool", "# >>> 0 !== # || # >= #", index, |
| 14382 index, index, length)) | 14818 index, index, length)) |
| 14383 throw new RangeError.range(index, 0, length); | 14819 throw new RangeError.range(index, 0, length); |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 14429 @DocsEditable | 14865 @DocsEditable |
| 14430 MimeType namedItem(String name) native; | 14866 MimeType namedItem(String name) native; |
| 14431 } | 14867 } |
| 14432 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14868 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 14433 // for details. All rights reserved. Use of this source code is governed by a | 14869 // for details. All rights reserved. Use of this source code is governed by a |
| 14434 // BSD-style license that can be found in the LICENSE file. | 14870 // BSD-style license that can be found in the LICENSE file. |
| 14435 | 14871 |
| 14436 | 14872 |
| 14437 @DocsEditable | 14873 @DocsEditable |
| 14438 @DomName('HTMLModElement') | 14874 @DomName('HTMLModElement') |
| 14875 @Unstable |
| 14439 class ModElement extends Element native "HTMLModElement" { | 14876 class ModElement extends Element native "HTMLModElement" { |
| 14440 | 14877 |
| 14441 @DomName('HTMLModElement.cite') | 14878 @DomName('HTMLModElement.cite') |
| 14442 @DocsEditable | 14879 @DocsEditable |
| 14443 String cite; | 14880 String cite; |
| 14444 | 14881 |
| 14445 @DomName('HTMLModElement.dateTime') | 14882 @DomName('HTMLModElement.dateTime') |
| 14446 @DocsEditable | 14883 @DocsEditable |
| 14447 String dateTime; | 14884 String dateTime; |
| 14448 } | 14885 } |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 14486 @DomName('MouseEvent.clientY') | 14923 @DomName('MouseEvent.clientY') |
| 14487 @DocsEditable | 14924 @DocsEditable |
| 14488 final int $dom_clientY; | 14925 final int $dom_clientY; |
| 14489 | 14926 |
| 14490 @DomName('MouseEvent.ctrlKey') | 14927 @DomName('MouseEvent.ctrlKey') |
| 14491 @DocsEditable | 14928 @DocsEditable |
| 14492 final bool ctrlKey; | 14929 final bool ctrlKey; |
| 14493 | 14930 |
| 14494 @DomName('MouseEvent.dataTransfer') | 14931 @DomName('MouseEvent.dataTransfer') |
| 14495 @DocsEditable | 14932 @DocsEditable |
| 14933 @Unstable |
| 14496 final DataTransfer dataTransfer; | 14934 final DataTransfer dataTransfer; |
| 14497 | 14935 |
| 14498 @DomName('MouseEvent.fromElement') | 14936 @DomName('MouseEvent.fromElement') |
| 14499 @DocsEditable | 14937 @DocsEditable |
| 14938 @Experimental // nonstandard |
| 14500 final Node fromElement; | 14939 final Node fromElement; |
| 14501 | 14940 |
| 14502 @DomName('MouseEvent.metaKey') | 14941 @DomName('MouseEvent.metaKey') |
| 14503 @DocsEditable | 14942 @DocsEditable |
| 14504 final bool metaKey; | 14943 final bool metaKey; |
| 14505 | 14944 |
| 14506 EventTarget get relatedTarget => _convertNativeToDart_EventTarget(this._get_re
latedTarget); | 14945 EventTarget get relatedTarget => _convertNativeToDart_EventTarget(this._get_re
latedTarget); |
| 14507 @JSName('relatedTarget') | 14946 @JSName('relatedTarget') |
| 14508 @DomName('MouseEvent.relatedTarget') | 14947 @DomName('MouseEvent.relatedTarget') |
| 14509 @DocsEditable | 14948 @DocsEditable |
| (...skipping 10 matching lines...) Expand all Loading... |
| 14520 @DomName('MouseEvent.screenY') | 14959 @DomName('MouseEvent.screenY') |
| 14521 @DocsEditable | 14960 @DocsEditable |
| 14522 final int $dom_screenY; | 14961 final int $dom_screenY; |
| 14523 | 14962 |
| 14524 @DomName('MouseEvent.shiftKey') | 14963 @DomName('MouseEvent.shiftKey') |
| 14525 @DocsEditable | 14964 @DocsEditable |
| 14526 final bool shiftKey; | 14965 final bool shiftKey; |
| 14527 | 14966 |
| 14528 @DomName('MouseEvent.toElement') | 14967 @DomName('MouseEvent.toElement') |
| 14529 @DocsEditable | 14968 @DocsEditable |
| 14969 @Experimental // nonstandard |
| 14530 final Node toElement; | 14970 final Node toElement; |
| 14531 | 14971 |
| 14532 @JSName('webkitMovementX') | 14972 @JSName('webkitMovementX') |
| 14533 @DomName('MouseEvent.webkitMovementX') | 14973 @DomName('MouseEvent.webkitMovementX') |
| 14534 @DocsEditable | 14974 @DocsEditable |
| 14535 @SupportedBrowser(SupportedBrowser.CHROME) | 14975 @SupportedBrowser(SupportedBrowser.CHROME) |
| 14536 @SupportedBrowser(SupportedBrowser.SAFARI) | 14976 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 14537 @Experimental | 14977 @Experimental |
| 14538 final int $dom_webkitMovementX; | 14978 final int $dom_webkitMovementX; |
| 14539 | 14979 |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 14613 @DomName('MouseEvent.screenY') | 15053 @DomName('MouseEvent.screenY') |
| 14614 Point get screen => new Point($dom_screenX, $dom_screenY); | 15054 Point get screen => new Point($dom_screenX, $dom_screenY); |
| 14615 } | 15055 } |
| 14616 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 15056 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 14617 // for details. All rights reserved. Use of this source code is governed by a | 15057 // for details. All rights reserved. Use of this source code is governed by a |
| 14618 // BSD-style license that can be found in the LICENSE file. | 15058 // BSD-style license that can be found in the LICENSE file. |
| 14619 | 15059 |
| 14620 // WARNING: Do not edit - generated code. | 15060 // WARNING: Do not edit - generated code. |
| 14621 | 15061 |
| 14622 | 15062 |
| 15063 @DomName('MutationCallback') |
| 14623 typedef void MutationCallback(List<MutationRecord> mutations, MutationObserver o
bserver); | 15064 typedef void MutationCallback(List<MutationRecord> mutations, MutationObserver o
bserver); |
| 14624 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 15065 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 14625 // for details. All rights reserved. Use of this source code is governed by a | 15066 // for details. All rights reserved. Use of this source code is governed by a |
| 14626 // BSD-style license that can be found in the LICENSE file. | 15067 // BSD-style license that can be found in the LICENSE file. |
| 14627 | 15068 |
| 14628 | 15069 |
| 14629 @DomName('MutationEvent') | 15070 @DomName('MutationEvent') |
| 15071 // http://www.w3.org/TR/DOM-Level-3-Events/#events-mutationevents |
| 15072 @Deprecated |
| 14630 class MutationEvent extends Event native "MutationEvent" { | 15073 class MutationEvent extends Event native "MutationEvent" { |
| 14631 factory MutationEvent(String type, | 15074 factory MutationEvent(String type, |
| 14632 {bool canBubble: false, bool cancelable: false, Node relatedNode, | 15075 {bool canBubble: false, bool cancelable: false, Node relatedNode, |
| 14633 String prevValue, String newValue, String attrName, int attrChange: 0}) { | 15076 String prevValue, String newValue, String attrName, int attrChange: 0}) { |
| 14634 | 15077 |
| 14635 var event = document.$dom_createEvent('MutationEvent'); | 15078 var event = document.$dom_createEvent('MutationEvent'); |
| 14636 event.$dom_initMutationEvent(type, canBubble, cancelable, relatedNode, | 15079 event.$dom_initMutationEvent(type, canBubble, cancelable, relatedNode, |
| 14637 prevValue, newValue, attrName, attrChange); | 15080 prevValue, newValue, attrName, attrChange); |
| 14638 return event; | 15081 return event; |
| 14639 } | 15082 } |
| (...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 14830 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 15273 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 14831 // for details. All rights reserved. Use of this source code is governed by a | 15274 // for details. All rights reserved. Use of this source code is governed by a |
| 14832 // BSD-style license that can be found in the LICENSE file. | 15275 // BSD-style license that can be found in the LICENSE file. |
| 14833 | 15276 |
| 14834 | 15277 |
| 14835 @DocsEditable | 15278 @DocsEditable |
| 14836 @DomName('WebKitNamedFlow') | 15279 @DomName('WebKitNamedFlow') |
| 14837 @SupportedBrowser(SupportedBrowser.CHROME) | 15280 @SupportedBrowser(SupportedBrowser.CHROME) |
| 14838 @SupportedBrowser(SupportedBrowser.SAFARI) | 15281 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 14839 @Experimental | 15282 @Experimental |
| 15283 // http://www.w3.org/TR/css3-regions/#dom-named-flow-collection |
| 14840 class NamedFlow extends EventTarget native "WebKitNamedFlow" { | 15284 class NamedFlow extends EventTarget native "WebKitNamedFlow" { |
| 14841 | 15285 |
| 14842 @DomName('WebKitNamedFlow.firstEmptyRegionIndex') | 15286 @DomName('WebKitNamedFlow.firstEmptyRegionIndex') |
| 14843 @DocsEditable | 15287 @DocsEditable |
| 14844 final int firstEmptyRegionIndex; | 15288 final int firstEmptyRegionIndex; |
| 14845 | 15289 |
| 14846 @DomName('WebKitNamedFlow.name') | 15290 @DomName('WebKitNamedFlow.name') |
| 14847 @DocsEditable | 15291 @DocsEditable |
| 14848 final String name; | 15292 final String name; |
| 14849 | 15293 |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 14886 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 15330 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 14887 // for details. All rights reserved. Use of this source code is governed by a | 15331 // for details. All rights reserved. Use of this source code is governed by a |
| 14888 // BSD-style license that can be found in the LICENSE file. | 15332 // BSD-style license that can be found in the LICENSE file. |
| 14889 | 15333 |
| 14890 | 15334 |
| 14891 @DocsEditable | 15335 @DocsEditable |
| 14892 @DomName('WebKitNamedFlowCollection') | 15336 @DomName('WebKitNamedFlowCollection') |
| 14893 @SupportedBrowser(SupportedBrowser.CHROME) | 15337 @SupportedBrowser(SupportedBrowser.CHROME) |
| 14894 @SupportedBrowser(SupportedBrowser.SAFARI) | 15338 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 14895 @Experimental | 15339 @Experimental |
| 15340 // http://dev.w3.org/csswg/css-regions/#dom-named-flow-collection |
| 14896 class NamedFlowCollection native "WebKitNamedFlowCollection" { | 15341 class NamedFlowCollection native "WebKitNamedFlowCollection" { |
| 14897 | 15342 |
| 14898 @DomName('WebKitNamedFlowCollection.length') | 15343 @DomName('WebKitNamedFlowCollection.length') |
| 14899 @DocsEditable | 15344 @DocsEditable |
| 14900 final int length; | 15345 final int length; |
| 14901 | 15346 |
| 14902 @DomName('WebKitNamedFlowCollection.item') | 15347 @DomName('WebKitNamedFlowCollection.item') |
| 14903 @DocsEditable | 15348 @DocsEditable |
| 14904 NamedFlow item(int index) native; | 15349 NamedFlow item(int index) native; |
| 14905 | 15350 |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 14982 } | 15427 } |
| 14983 } | 15428 } |
| 14984 | 15429 |
| 14985 @JSName('getUserMedia') | 15430 @JSName('getUserMedia') |
| 14986 void _getUserMedia(options, _NavigatorUserMediaSuccessCallback success, | 15431 void _getUserMedia(options, _NavigatorUserMediaSuccessCallback success, |
| 14987 _NavigatorUserMediaErrorCallback error) native; | 15432 _NavigatorUserMediaErrorCallback error) native; |
| 14988 | 15433 |
| 14989 | 15434 |
| 14990 @DomName('Navigator.appCodeName') | 15435 @DomName('Navigator.appCodeName') |
| 14991 @DocsEditable | 15436 @DocsEditable |
| 15437 @Experimental // non-standard |
| 14992 final String appCodeName; | 15438 final String appCodeName; |
| 14993 | 15439 |
| 14994 @DomName('Navigator.appName') | 15440 @DomName('Navigator.appName') |
| 14995 @DocsEditable | 15441 @DocsEditable |
| 14996 final String appName; | 15442 final String appName; |
| 14997 | 15443 |
| 14998 @DomName('Navigator.appVersion') | 15444 @DomName('Navigator.appVersion') |
| 14999 @DocsEditable | 15445 @DocsEditable |
| 15000 final String appVersion; | 15446 final String appVersion; |
| 15001 | 15447 |
| 15002 @DomName('Navigator.cookieEnabled') | 15448 @DomName('Navigator.cookieEnabled') |
| 15003 @DocsEditable | 15449 @DocsEditable |
| 15450 @Unstable |
| 15004 final bool cookieEnabled; | 15451 final bool cookieEnabled; |
| 15005 | 15452 |
| 15006 @DomName('Navigator.doNotTrack') | 15453 @DomName('Navigator.doNotTrack') |
| 15007 @DocsEditable | 15454 @DocsEditable |
| 15455 // http://www.w3.org/2011/tracking-protection/drafts/tracking-dnt.html#js-dom |
| 15456 @Experimental // experimental |
| 15008 final String doNotTrack; | 15457 final String doNotTrack; |
| 15009 | 15458 |
| 15010 @DomName('Navigator.geolocation') | 15459 @DomName('Navigator.geolocation') |
| 15011 @DocsEditable | 15460 @DocsEditable |
| 15461 @Unstable |
| 15012 final Geolocation geolocation; | 15462 final Geolocation geolocation; |
| 15013 | 15463 |
| 15014 @DomName('Navigator.mimeTypes') | 15464 @DomName('Navigator.mimeTypes') |
| 15015 @DocsEditable | 15465 @DocsEditable |
| 15466 @Experimental // nonstandard |
| 15016 final MimeTypeArray mimeTypes; | 15467 final MimeTypeArray mimeTypes; |
| 15017 | 15468 |
| 15018 @DomName('Navigator.onLine') | 15469 @DomName('Navigator.onLine') |
| 15019 @DocsEditable | 15470 @DocsEditable |
| 15471 @Unstable |
| 15020 final bool onLine; | 15472 final bool onLine; |
| 15021 | 15473 |
| 15022 @DomName('Navigator.platform') | 15474 @DomName('Navigator.platform') |
| 15023 @DocsEditable | 15475 @DocsEditable |
| 15024 final String platform; | 15476 final String platform; |
| 15025 | 15477 |
| 15026 @DomName('Navigator.plugins') | 15478 @DomName('Navigator.plugins') |
| 15027 @DocsEditable | 15479 @DocsEditable |
| 15480 @deprecated // nonstandard |
| 15028 final PluginArray plugins; | 15481 final PluginArray plugins; |
| 15029 | 15482 |
| 15030 @DomName('Navigator.product') | 15483 @DomName('Navigator.product') |
| 15031 @DocsEditable | 15484 @DocsEditable |
| 15485 @Unstable |
| 15032 final String product; | 15486 final String product; |
| 15033 | 15487 |
| 15034 @DomName('Navigator.productSub') | 15488 @DomName('Navigator.productSub') |
| 15035 @DocsEditable | 15489 @DocsEditable |
| 15490 @Unstable |
| 15036 final String productSub; | 15491 final String productSub; |
| 15037 | 15492 |
| 15038 @DomName('Navigator.userAgent') | 15493 @DomName('Navigator.userAgent') |
| 15039 @DocsEditable | 15494 @DocsEditable |
| 15040 final String userAgent; | 15495 final String userAgent; |
| 15041 | 15496 |
| 15042 @DomName('Navigator.vendor') | 15497 @DomName('Navigator.vendor') |
| 15043 @DocsEditable | 15498 @DocsEditable |
| 15499 @Unstable |
| 15044 final String vendor; | 15500 final String vendor; |
| 15045 | 15501 |
| 15046 @DomName('Navigator.vendorSub') | 15502 @DomName('Navigator.vendorSub') |
| 15047 @DocsEditable | 15503 @DocsEditable |
| 15504 @Unstable |
| 15048 final String vendorSub; | 15505 final String vendorSub; |
| 15049 | 15506 |
| 15050 @JSName('webkitPersistentStorage') | 15507 @JSName('webkitPersistentStorage') |
| 15051 @DomName('Navigator.webkitPersistentStorage') | 15508 @DomName('Navigator.webkitPersistentStorage') |
| 15052 @DocsEditable | 15509 @DocsEditable |
| 15053 @SupportedBrowser(SupportedBrowser.CHROME) | 15510 @SupportedBrowser(SupportedBrowser.CHROME) |
| 15054 @SupportedBrowser(SupportedBrowser.SAFARI) | 15511 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 15055 @Experimental | 15512 @Experimental |
| 15513 // http://www.w3.org/TR/quota-api/#accessing-storagequota |
| 15056 final StorageQuota persistentStorage; | 15514 final StorageQuota persistentStorage; |
| 15057 | 15515 |
| 15058 @JSName('webkitTemporaryStorage') | 15516 @JSName('webkitTemporaryStorage') |
| 15059 @DomName('Navigator.webkitTemporaryStorage') | 15517 @DomName('Navigator.webkitTemporaryStorage') |
| 15060 @DocsEditable | 15518 @DocsEditable |
| 15061 @SupportedBrowser(SupportedBrowser.CHROME) | 15519 @SupportedBrowser(SupportedBrowser.CHROME) |
| 15062 @SupportedBrowser(SupportedBrowser.SAFARI) | 15520 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 15063 @Experimental | 15521 @Experimental |
| 15522 // http://www.w3.org/TR/quota-api/#accessing-storagequota |
| 15064 final StorageQuota temporaryStorage; | 15523 final StorageQuota temporaryStorage; |
| 15065 | 15524 |
| 15066 @DomName('Navigator.getStorageUpdates') | 15525 @DomName('Navigator.getStorageUpdates') |
| 15067 @DocsEditable | 15526 @DocsEditable |
| 15527 // http://www.whatwg.org/specs/web-apps/current-work/multipage/timers.html#nav
igatorstorageutils |
| 15528 @Experimental |
| 15068 void getStorageUpdates() native; | 15529 void getStorageUpdates() native; |
| 15069 | 15530 |
| 15070 @DomName('Navigator.javaEnabled') | 15531 @DomName('Navigator.javaEnabled') |
| 15071 @DocsEditable | 15532 @DocsEditable |
| 15533 @deprecated // nonstandard |
| 15072 bool javaEnabled() native; | 15534 bool javaEnabled() native; |
| 15073 | 15535 |
| 15074 @DomName('Navigator.registerProtocolHandler') | 15536 @DomName('Navigator.registerProtocolHandler') |
| 15075 @DocsEditable | 15537 @DocsEditable |
| 15538 @Unstable |
| 15076 void registerProtocolHandler(String scheme, String url, String title) native; | 15539 void registerProtocolHandler(String scheme, String url, String title) native; |
| 15077 | 15540 |
| 15078 @JSName('webkitGetGamepads') | 15541 @JSName('webkitGetGamepads') |
| 15079 @DomName('Navigator.webkitGetGamepads') | 15542 @DomName('Navigator.webkitGetGamepads') |
| 15080 @DocsEditable | 15543 @DocsEditable |
| 15081 @SupportedBrowser(SupportedBrowser.CHROME) | 15544 @SupportedBrowser(SupportedBrowser.CHROME) |
| 15082 @SupportedBrowser(SupportedBrowser.SAFARI) | 15545 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 15083 @Experimental | 15546 @Experimental |
| 15547 // https://dvcs.w3.org/hg/gamepad/raw-file/default/gamepad.html#widl-Navigator
-getGamepads-Gamepad |
| 15084 @Returns('_GamepadList') | 15548 @Returns('_GamepadList') |
| 15085 @Creates('_GamepadList') | 15549 @Creates('_GamepadList') |
| 15086 List<Gamepad> getGamepads() native; | 15550 List<Gamepad> getGamepads() native; |
| 15087 | 15551 |
| 15088 } | 15552 } |
| 15089 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 15553 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 15090 // for details. All rights reserved. Use of this source code is governed by a | 15554 // for details. All rights reserved. Use of this source code is governed by a |
| 15091 // BSD-style license that can be found in the LICENSE file. | 15555 // BSD-style license that can be found in the LICENSE file. |
| 15092 | 15556 |
| 15093 | 15557 |
| 15094 @DocsEditable | 15558 @DocsEditable |
| 15095 @DomName('NavigatorUserMediaError') | 15559 @DomName('NavigatorUserMediaError') |
| 15560 // http://dev.w3.org/2011/webrtc/editor/getusermedia.html#idl-def-NavigatorUserM
ediaError |
| 15561 @Experimental |
| 15096 class NavigatorUserMediaError native "NavigatorUserMediaError" { | 15562 class NavigatorUserMediaError native "NavigatorUserMediaError" { |
| 15097 | 15563 |
| 15098 @DomName('NavigatorUserMediaError.PERMISSION_DENIED') | 15564 @DomName('NavigatorUserMediaError.PERMISSION_DENIED') |
| 15099 @DocsEditable | 15565 @DocsEditable |
| 15566 @Experimental // nonstandard |
| 15100 static const int PERMISSION_DENIED = 1; | 15567 static const int PERMISSION_DENIED = 1; |
| 15101 | 15568 |
| 15102 @DomName('NavigatorUserMediaError.code') | 15569 @DomName('NavigatorUserMediaError.code') |
| 15103 @DocsEditable | 15570 @DocsEditable |
| 15571 @Experimental // nonstandard |
| 15104 final int code; | 15572 final int code; |
| 15105 } | 15573 } |
| 15106 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 15574 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 15107 // for details. All rights reserved. Use of this source code is governed by a | 15575 // for details. All rights reserved. Use of this source code is governed by a |
| 15108 // BSD-style license that can be found in the LICENSE file. | 15576 // BSD-style license that can be found in the LICENSE file. |
| 15109 | 15577 |
| 15110 // WARNING: Do not edit - generated code. | 15578 // WARNING: Do not edit - generated code. |
| 15111 | 15579 |
| 15112 | 15580 |
| 15581 @DomName('NavigatorUserMediaErrorCallback') |
| 15582 // http://dev.w3.org/2011/webrtc/editor/getusermedia.html#idl-def-NavigatorUserM
ediaErrorCallback |
| 15583 @Experimental |
| 15113 typedef void _NavigatorUserMediaErrorCallback(NavigatorUserMediaError error); | 15584 typedef void _NavigatorUserMediaErrorCallback(NavigatorUserMediaError error); |
| 15114 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 15585 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 15115 // for details. All rights reserved. Use of this source code is governed by a | 15586 // for details. All rights reserved. Use of this source code is governed by a |
| 15116 // BSD-style license that can be found in the LICENSE file. | 15587 // BSD-style license that can be found in the LICENSE file. |
| 15117 | 15588 |
| 15118 // WARNING: Do not edit - generated code. | 15589 // WARNING: Do not edit - generated code. |
| 15119 | 15590 |
| 15120 | 15591 |
| 15592 @DomName('NavigatorUserMediaSuccessCallback') |
| 15593 // http://dev.w3.org/2011/webrtc/editor/getusermedia.html#idl-def-NavigatorUserM
ediaSuccessCallback |
| 15594 @Experimental |
| 15121 typedef void _NavigatorUserMediaSuccessCallback(MediaStream stream); | 15595 typedef void _NavigatorUserMediaSuccessCallback(MediaStream stream); |
| 15122 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 15596 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 15123 // for details. All rights reserved. Use of this source code is governed by a | 15597 // for details. All rights reserved. Use of this source code is governed by a |
| 15124 // BSD-style license that can be found in the LICENSE file. | 15598 // BSD-style license that can be found in the LICENSE file. |
| 15125 | 15599 |
| 15126 | 15600 |
| 15127 /** | 15601 /** |
| 15128 * Lazy implementation of the child nodes of an element that does not request | 15602 * Lazy implementation of the child nodes of an element that does not request |
| 15129 * the actual child nodes of an element until strictly necessary greatly | 15603 * the actual child nodes of an element until strictly necessary greatly |
| 15130 * improving performance for the typical cases where it is not required. | 15604 * improving performance for the typical cases where it is not required. |
| (...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 15442 @DocsEditable | 15916 @DocsEditable |
| 15443 final Node $dom_firstChild; | 15917 final Node $dom_firstChild; |
| 15444 | 15918 |
| 15445 @JSName('lastChild') | 15919 @JSName('lastChild') |
| 15446 @DomName('Node.lastChild') | 15920 @DomName('Node.lastChild') |
| 15447 @DocsEditable | 15921 @DocsEditable |
| 15448 final Node $dom_lastChild; | 15922 final Node $dom_lastChild; |
| 15449 | 15923 |
| 15450 @DomName('Node.localName') | 15924 @DomName('Node.localName') |
| 15451 @DocsEditable | 15925 @DocsEditable |
| 15926 // http://dom.spec.whatwg.org/#dom-node-localname |
| 15927 @deprecated // deprecated |
| 15452 final String localName; | 15928 final String localName; |
| 15453 | 15929 |
| 15454 @JSName('namespaceURI') | 15930 @JSName('namespaceURI') |
| 15455 @DomName('Node.namespaceURI') | 15931 @DomName('Node.namespaceURI') |
| 15456 @DocsEditable | 15932 @DocsEditable |
| 15933 // http://dom.spec.whatwg.org/#dom-node-namespaceuri |
| 15934 @deprecated // deprecated |
| 15457 final String $dom_namespaceUri; | 15935 final String $dom_namespaceUri; |
| 15458 | 15936 |
| 15459 @JSName('nextSibling') | 15937 @JSName('nextSibling') |
| 15460 @DomName('Node.nextSibling') | 15938 @DomName('Node.nextSibling') |
| 15461 @DocsEditable | 15939 @DocsEditable |
| 15462 final Node nextNode; | 15940 final Node nextNode; |
| 15463 | 15941 |
| 15464 @DomName('Node.nodeType') | 15942 @DomName('Node.nodeType') |
| 15465 @DocsEditable | 15943 @DocsEditable |
| 15466 final int nodeType; | 15944 final int nodeType; |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 15549 Node $dom_replaceChild(Node newChild, Node oldChild) native; | 16027 Node $dom_replaceChild(Node newChild, Node oldChild) native; |
| 15550 | 16028 |
| 15551 } | 16029 } |
| 15552 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16030 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 15553 // for details. All rights reserved. Use of this source code is governed by a | 16031 // for details. All rights reserved. Use of this source code is governed by a |
| 15554 // BSD-style license that can be found in the LICENSE file. | 16032 // BSD-style license that can be found in the LICENSE file. |
| 15555 | 16033 |
| 15556 | 16034 |
| 15557 @DocsEditable | 16035 @DocsEditable |
| 15558 @DomName('NodeFilter') | 16036 @DomName('NodeFilter') |
| 16037 @Unstable |
| 15559 class NodeFilter native "NodeFilter" { | 16038 class NodeFilter native "NodeFilter" { |
| 15560 | 16039 |
| 15561 @DomName('NodeFilter.FILTER_ACCEPT') | 16040 @DomName('NodeFilter.FILTER_ACCEPT') |
| 15562 @DocsEditable | 16041 @DocsEditable |
| 15563 static const int FILTER_ACCEPT = 1; | 16042 static const int FILTER_ACCEPT = 1; |
| 15564 | 16043 |
| 15565 @DomName('NodeFilter.FILTER_REJECT') | 16044 @DomName('NodeFilter.FILTER_REJECT') |
| 15566 @DocsEditable | 16045 @DocsEditable |
| 15567 static const int FILTER_REJECT = 2; | 16046 static const int FILTER_REJECT = 2; |
| 15568 | 16047 |
| 15569 @DomName('NodeFilter.FILTER_SKIP') | 16048 @DomName('NodeFilter.FILTER_SKIP') |
| 15570 @DocsEditable | 16049 @DocsEditable |
| 15571 static const int FILTER_SKIP = 3; | 16050 static const int FILTER_SKIP = 3; |
| 15572 | 16051 |
| 15573 @DomName('NodeFilter.SHOW_ALL') | 16052 @DomName('NodeFilter.SHOW_ALL') |
| 15574 @DocsEditable | 16053 @DocsEditable |
| 15575 static const int SHOW_ALL = 0xFFFFFFFF; | 16054 static const int SHOW_ALL = 0xFFFFFFFF; |
| 15576 | 16055 |
| 15577 @DomName('NodeFilter.SHOW_ATTRIBUTE') | 16056 @DomName('NodeFilter.SHOW_ATTRIBUTE') |
| 15578 @DocsEditable | 16057 @DocsEditable |
| 16058 @deprecated // deprecated |
| 15579 static const int SHOW_ATTRIBUTE = 0x00000002; | 16059 static const int SHOW_ATTRIBUTE = 0x00000002; |
| 15580 | 16060 |
| 15581 @DomName('NodeFilter.SHOW_CDATA_SECTION') | 16061 @DomName('NodeFilter.SHOW_CDATA_SECTION') |
| 15582 @DocsEditable | 16062 @DocsEditable |
| 16063 @deprecated // deprecated |
| 15583 static const int SHOW_CDATA_SECTION = 0x00000008; | 16064 static const int SHOW_CDATA_SECTION = 0x00000008; |
| 15584 | 16065 |
| 15585 @DomName('NodeFilter.SHOW_COMMENT') | 16066 @DomName('NodeFilter.SHOW_COMMENT') |
| 15586 @DocsEditable | 16067 @DocsEditable |
| 15587 static const int SHOW_COMMENT = 0x00000080; | 16068 static const int SHOW_COMMENT = 0x00000080; |
| 15588 | 16069 |
| 15589 @DomName('NodeFilter.SHOW_DOCUMENT') | 16070 @DomName('NodeFilter.SHOW_DOCUMENT') |
| 15590 @DocsEditable | 16071 @DocsEditable |
| 15591 static const int SHOW_DOCUMENT = 0x00000100; | 16072 static const int SHOW_DOCUMENT = 0x00000100; |
| 15592 | 16073 |
| 15593 @DomName('NodeFilter.SHOW_DOCUMENT_FRAGMENT') | 16074 @DomName('NodeFilter.SHOW_DOCUMENT_FRAGMENT') |
| 15594 @DocsEditable | 16075 @DocsEditable |
| 15595 static const int SHOW_DOCUMENT_FRAGMENT = 0x00000400; | 16076 static const int SHOW_DOCUMENT_FRAGMENT = 0x00000400; |
| 15596 | 16077 |
| 15597 @DomName('NodeFilter.SHOW_DOCUMENT_TYPE') | 16078 @DomName('NodeFilter.SHOW_DOCUMENT_TYPE') |
| 15598 @DocsEditable | 16079 @DocsEditable |
| 15599 static const int SHOW_DOCUMENT_TYPE = 0x00000200; | 16080 static const int SHOW_DOCUMENT_TYPE = 0x00000200; |
| 15600 | 16081 |
| 15601 @DomName('NodeFilter.SHOW_ELEMENT') | 16082 @DomName('NodeFilter.SHOW_ELEMENT') |
| 15602 @DocsEditable | 16083 @DocsEditable |
| 15603 static const int SHOW_ELEMENT = 0x00000001; | 16084 static const int SHOW_ELEMENT = 0x00000001; |
| 15604 | 16085 |
| 15605 @DomName('NodeFilter.SHOW_ENTITY') | 16086 @DomName('NodeFilter.SHOW_ENTITY') |
| 15606 @DocsEditable | 16087 @DocsEditable |
| 16088 @deprecated // deprecated |
| 15607 static const int SHOW_ENTITY = 0x00000020; | 16089 static const int SHOW_ENTITY = 0x00000020; |
| 15608 | 16090 |
| 15609 @DomName('NodeFilter.SHOW_ENTITY_REFERENCE') | 16091 @DomName('NodeFilter.SHOW_ENTITY_REFERENCE') |
| 15610 @DocsEditable | 16092 @DocsEditable |
| 16093 @deprecated // deprecated |
| 15611 static const int SHOW_ENTITY_REFERENCE = 0x00000010; | 16094 static const int SHOW_ENTITY_REFERENCE = 0x00000010; |
| 15612 | 16095 |
| 15613 @DomName('NodeFilter.SHOW_NOTATION') | 16096 @DomName('NodeFilter.SHOW_NOTATION') |
| 15614 @DocsEditable | 16097 @DocsEditable |
| 16098 @deprecated // deprecated |
| 15615 static const int SHOW_NOTATION = 0x00000800; | 16099 static const int SHOW_NOTATION = 0x00000800; |
| 15616 | 16100 |
| 15617 @DomName('NodeFilter.SHOW_PROCESSING_INSTRUCTION') | 16101 @DomName('NodeFilter.SHOW_PROCESSING_INSTRUCTION') |
| 15618 @DocsEditable | 16102 @DocsEditable |
| 15619 static const int SHOW_PROCESSING_INSTRUCTION = 0x00000040; | 16103 static const int SHOW_PROCESSING_INSTRUCTION = 0x00000040; |
| 15620 | 16104 |
| 15621 @DomName('NodeFilter.SHOW_TEXT') | 16105 @DomName('NodeFilter.SHOW_TEXT') |
| 15622 @DocsEditable | 16106 @DocsEditable |
| 15623 static const int SHOW_TEXT = 0x00000004; | 16107 static const int SHOW_TEXT = 0x00000004; |
| 15624 } | 16108 } |
| 15625 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 16109 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 15626 // for details. All rights reserved. Use of this source code is governed by a | 16110 // for details. All rights reserved. Use of this source code is governed by a |
| 15627 // BSD-style license that can be found in the LICENSE file. | 16111 // BSD-style license that can be found in the LICENSE file. |
| 15628 | 16112 |
| 15629 | 16113 |
| 15630 @DomName('NodeIterator') | 16114 @DomName('NodeIterator') |
| 16115 @Unstable |
| 15631 class NodeIterator native "NodeIterator" { | 16116 class NodeIterator native "NodeIterator" { |
| 15632 factory NodeIterator(Node root, int whatToShow) { | 16117 factory NodeIterator(Node root, int whatToShow) { |
| 15633 return document.$dom_createNodeIterator(root, whatToShow, null, false); | 16118 return document.$dom_createNodeIterator(root, whatToShow, null, false); |
| 15634 } | 16119 } |
| 15635 | 16120 |
| 15636 @DomName('NodeIterator.pointerBeforeReferenceNode') | 16121 @DomName('NodeIterator.pointerBeforeReferenceNode') |
| 15637 @DocsEditable | 16122 @DocsEditable |
| 15638 final bool pointerBeforeReferenceNode; | 16123 final bool pointerBeforeReferenceNode; |
| 15639 | 16124 |
| 15640 @DomName('NodeIterator.referenceNode') | 16125 @DomName('NodeIterator.referenceNode') |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 15724 @DocsEditable | 16209 @DocsEditable |
| 15725 Node _item(int index) native; | 16210 Node _item(int index) native; |
| 15726 } | 16211 } |
| 15727 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16212 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 15728 // for details. All rights reserved. Use of this source code is governed by a | 16213 // for details. All rights reserved. Use of this source code is governed by a |
| 15729 // BSD-style license that can be found in the LICENSE file. | 16214 // BSD-style license that can be found in the LICENSE file. |
| 15730 | 16215 |
| 15731 | 16216 |
| 15732 @DocsEditable | 16217 @DocsEditable |
| 15733 @DomName('Notation') | 16218 @DomName('Notation') |
| 16219 // http://dom.spec.whatwg.org/#notation |
| 16220 @deprecated // deprecated |
| 15734 class Notation extends Node native "Notation" { | 16221 class Notation extends Node native "Notation" { |
| 15735 | 16222 |
| 15736 @DomName('Notation.publicId') | 16223 @DomName('Notation.publicId') |
| 15737 @DocsEditable | 16224 @DocsEditable |
| 15738 final String publicId; | 16225 final String publicId; |
| 15739 | 16226 |
| 15740 @DomName('Notation.systemId') | 16227 @DomName('Notation.systemId') |
| 15741 @DocsEditable | 16228 @DocsEditable |
| 15742 final String systemId; | 16229 final String systemId; |
| 15743 } | 16230 } |
| 15744 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 16231 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 15745 // for details. All rights reserved. Use of this source code is governed by a | 16232 // for details. All rights reserved. Use of this source code is governed by a |
| 15746 // BSD-style license that can be found in the LICENSE file. | 16233 // BSD-style license that can be found in the LICENSE file. |
| 15747 | 16234 |
| 15748 | 16235 |
| 15749 @DomName('Notification') | 16236 @DomName('Notification') |
| 16237 // http://www.w3.org/TR/notifications/#notification |
| 16238 @Experimental // experimental |
| 15750 class Notification extends EventTarget native "Notification" { | 16239 class Notification extends EventTarget native "Notification" { |
| 15751 | 16240 |
| 15752 factory Notification(String title, {String titleDir: null, String body: null, | 16241 factory Notification(String title, {String titleDir: null, String body: null, |
| 15753 String bodyDir: null, String tag: null, String iconUrl: null}) { | 16242 String bodyDir: null, String tag: null, String iconUrl: null}) { |
| 15754 | 16243 |
| 15755 var parsedOptions = {}; | 16244 var parsedOptions = {}; |
| 15756 if (titleDir != null) parsedOptions['titleDir'] = titleDir; | 16245 if (titleDir != null) parsedOptions['titleDir'] = titleDir; |
| 15757 if (body != null) parsedOptions['body'] = body; | 16246 if (body != null) parsedOptions['body'] = body; |
| 15758 if (bodyDir != null) parsedOptions['bodyDir'] = bodyDir; | 16247 if (bodyDir != null) parsedOptions['bodyDir'] = bodyDir; |
| 15759 if (tag != null) parsedOptions['tag'] = tag; | 16248 if (tag != null) parsedOptions['tag'] = tag; |
| 15760 if (iconUrl != null) parsedOptions['iconUrl'] = iconUrl; | 16249 if (iconUrl != null) parsedOptions['iconUrl'] = iconUrl; |
| 15761 | 16250 |
| 15762 return Notification._factoryNotification(title, parsedOptions); | 16251 return Notification._factoryNotification(title, parsedOptions); |
| 15763 } | 16252 } |
| 15764 | 16253 |
| 15765 @DomName('Notification.clickEvent') | 16254 @DomName('Notification.clickEvent') |
| 15766 @DocsEditable | 16255 @DocsEditable |
| 15767 static const EventStreamProvider<Event> clickEvent = const EventStreamProvider
<Event>('click'); | 16256 static const EventStreamProvider<Event> clickEvent = const EventStreamProvider
<Event>('click'); |
| 15768 | 16257 |
| 15769 @DomName('Notification.closeEvent') | 16258 @DomName('Notification.closeEvent') |
| 15770 @DocsEditable | 16259 @DocsEditable |
| 15771 static const EventStreamProvider<Event> closeEvent = const EventStreamProvider
<Event>('close'); | 16260 static const EventStreamProvider<Event> closeEvent = const EventStreamProvider
<Event>('close'); |
| 15772 | 16261 |
| 15773 @DomName('Notification.displayEvent') | 16262 @DomName('Notification.displayEvent') |
| 15774 @DocsEditable | 16263 @DocsEditable |
| 16264 @Experimental // nonstandard |
| 15775 static const EventStreamProvider<Event> displayEvent = const EventStreamProvid
er<Event>('display'); | 16265 static const EventStreamProvider<Event> displayEvent = const EventStreamProvid
er<Event>('display'); |
| 15776 | 16266 |
| 15777 @DomName('Notification.errorEvent') | 16267 @DomName('Notification.errorEvent') |
| 15778 @DocsEditable | 16268 @DocsEditable |
| 15779 static const EventStreamProvider<Event> errorEvent = const EventStreamProvider
<Event>('error'); | 16269 static const EventStreamProvider<Event> errorEvent = const EventStreamProvider
<Event>('error'); |
| 15780 | 16270 |
| 15781 @DomName('Notification.showEvent') | 16271 @DomName('Notification.showEvent') |
| 15782 @DocsEditable | 16272 @DocsEditable |
| 15783 static const EventStreamProvider<Event> showEvent = const EventStreamProvider<
Event>('show'); | 16273 static const EventStreamProvider<Event> showEvent = const EventStreamProvider<
Event>('show'); |
| 15784 | 16274 |
| 15785 @DomName('Notification.Notification') | 16275 @DomName('Notification.Notification') |
| 15786 @DocsEditable | 16276 @DocsEditable |
| 15787 static Notification _factoryNotification(String title, [Map options]) { | 16277 static Notification _factoryNotification(String title, [Map options]) { |
| 15788 if (?options) { | 16278 if (?options) { |
| 15789 return Notification._create_1(title, options); | 16279 return Notification._create_1(title, options); |
| 15790 } | 16280 } |
| 15791 return Notification._create_2(title); | 16281 return Notification._create_2(title); |
| 15792 } | 16282 } |
| 15793 static Notification _create_1(title, options) => JS('Notification', 'new Notif
ication(#,#)', title, options); | 16283 static Notification _create_1(title, options) => JS('Notification', 'new Notif
ication(#,#)', title, options); |
| 15794 static Notification _create_2(title) => JS('Notification', 'new Notification(#
)', title); | 16284 static Notification _create_2(title) => JS('Notification', 'new Notification(#
)', title); |
| 15795 | 16285 |
| 15796 @DomName('Notification.dir') | 16286 @DomName('Notification.dir') |
| 15797 @DocsEditable | 16287 @DocsEditable |
| 16288 @Experimental // nonstandard |
| 15798 String dir; | 16289 String dir; |
| 15799 | 16290 |
| 15800 @DomName('Notification.permission') | 16291 @DomName('Notification.permission') |
| 15801 @DocsEditable | 16292 @DocsEditable |
| 15802 final String permission; | 16293 final String permission; |
| 15803 | 16294 |
| 15804 @DomName('Notification.replaceId') | 16295 @DomName('Notification.replaceId') |
| 15805 @DocsEditable | 16296 @DocsEditable |
| 16297 @Experimental // nonstandard |
| 15806 String replaceId; | 16298 String replaceId; |
| 15807 | 16299 |
| 15808 @DomName('Notification.tag') | 16300 @DomName('Notification.tag') |
| 15809 @DocsEditable | 16301 @DocsEditable |
| 16302 @Experimental // nonstandard |
| 15810 String tag; | 16303 String tag; |
| 15811 | 16304 |
| 15812 @JSName('addEventListener') | 16305 @JSName('addEventListener') |
| 15813 @DomName('Notification.addEventListener') | 16306 @DomName('Notification.addEventListener') |
| 15814 @DocsEditable | 16307 @DocsEditable |
| 15815 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]) native; | 16308 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]) native; |
| 15816 | 16309 |
| 15817 @DomName('Notification.cancel') | 16310 @DomName('Notification.cancel') |
| 15818 @DocsEditable | 16311 @DocsEditable |
| 16312 @Experimental // nonstandard |
| 15819 void cancel() native; | 16313 void cancel() native; |
| 15820 | 16314 |
| 15821 @DomName('Notification.close') | 16315 @DomName('Notification.close') |
| 15822 @DocsEditable | 16316 @DocsEditable |
| 15823 void close() native; | 16317 void close() native; |
| 15824 | 16318 |
| 15825 @DomName('Notification.dispatchEvent') | 16319 @DomName('Notification.dispatchEvent') |
| 15826 @DocsEditable | 16320 @DocsEditable |
| 15827 bool dispatchEvent(Event evt) native; | 16321 bool dispatchEvent(Event evt) native; |
| 15828 | 16322 |
| (...skipping 12 matching lines...) Expand all Loading... |
| 15841 @DocsEditable | 16335 @DocsEditable |
| 15842 static Future<String> requestPermission() { | 16336 static Future<String> requestPermission() { |
| 15843 var completer = new Completer<String>(); | 16337 var completer = new Completer<String>(); |
| 15844 _requestPermission( | 16338 _requestPermission( |
| 15845 (value) { completer.complete(value); }); | 16339 (value) { completer.complete(value); }); |
| 15846 return completer.future; | 16340 return completer.future; |
| 15847 } | 16341 } |
| 15848 | 16342 |
| 15849 @DomName('Notification.show') | 16343 @DomName('Notification.show') |
| 15850 @DocsEditable | 16344 @DocsEditable |
| 16345 @Experimental // nonstandard |
| 15851 void show() native; | 16346 void show() native; |
| 15852 | 16347 |
| 15853 @DomName('Notification.onclick') | 16348 @DomName('Notification.onclick') |
| 15854 @DocsEditable | 16349 @DocsEditable |
| 15855 Stream<Event> get onClick => clickEvent.forTarget(this); | 16350 Stream<Event> get onClick => clickEvent.forTarget(this); |
| 15856 | 16351 |
| 15857 @DomName('Notification.onclose') | 16352 @DomName('Notification.onclose') |
| 15858 @DocsEditable | 16353 @DocsEditable |
| 15859 Stream<Event> get onClose => closeEvent.forTarget(this); | 16354 Stream<Event> get onClose => closeEvent.forTarget(this); |
| 15860 | 16355 |
| 15861 @DomName('Notification.ondisplay') | 16356 @DomName('Notification.ondisplay') |
| 15862 @DocsEditable | 16357 @DocsEditable |
| 16358 @Experimental // nonstandard |
| 15863 Stream<Event> get onDisplay => displayEvent.forTarget(this); | 16359 Stream<Event> get onDisplay => displayEvent.forTarget(this); |
| 15864 | 16360 |
| 15865 @DomName('Notification.onerror') | 16361 @DomName('Notification.onerror') |
| 15866 @DocsEditable | 16362 @DocsEditable |
| 15867 Stream<Event> get onError => errorEvent.forTarget(this); | 16363 Stream<Event> get onError => errorEvent.forTarget(this); |
| 15868 | 16364 |
| 15869 @DomName('Notification.onshow') | 16365 @DomName('Notification.onshow') |
| 15870 @DocsEditable | 16366 @DocsEditable |
| 15871 Stream<Event> get onShow => showEvent.forTarget(this); | 16367 Stream<Event> get onShow => showEvent.forTarget(this); |
| 15872 | 16368 |
| 15873 } | 16369 } |
| 15874 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16370 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 15875 // for details. All rights reserved. Use of this source code is governed by a | 16371 // for details. All rights reserved. Use of this source code is governed by a |
| 15876 // BSD-style license that can be found in the LICENSE file. | 16372 // BSD-style license that can be found in the LICENSE file. |
| 15877 | 16373 |
| 15878 | 16374 |
| 15879 @DocsEditable | 16375 @DocsEditable |
| 15880 @DomName('NotificationCenter') | 16376 @DomName('NotificationCenter') |
| 15881 @SupportedBrowser(SupportedBrowser.CHROME) | 16377 @SupportedBrowser(SupportedBrowser.CHROME) |
| 15882 @SupportedBrowser(SupportedBrowser.SAFARI) | 16378 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 15883 @Experimental | 16379 @Experimental |
| 16380 // http://www.w3.org/TR/notifications/#showing-a-notification |
| 16381 @deprecated // deprecated |
| 15884 class NotificationCenter native "NotificationCenter" { | 16382 class NotificationCenter native "NotificationCenter" { |
| 15885 | 16383 |
| 15886 /// Checks if this type is supported on the current platform. | 16384 /// Checks if this type is supported on the current platform. |
| 15887 static bool get supported => JS('bool', '!!(window.webkitNotifications)'); | 16385 static bool get supported => JS('bool', '!!(window.webkitNotifications)'); |
| 15888 | 16386 |
| 15889 @DomName('NotificationCenter.checkPermission') | 16387 @DomName('NotificationCenter.checkPermission') |
| 15890 @DocsEditable | 16388 @DocsEditable |
| 15891 int checkPermission() native; | 16389 int checkPermission() native; |
| 15892 | 16390 |
| 15893 @JSName('createHTMLNotification') | 16391 @JSName('createHTMLNotification') |
| (...skipping 20 matching lines...) Expand all Loading... |
| 15914 return completer.future; | 16412 return completer.future; |
| 15915 } | 16413 } |
| 15916 } | 16414 } |
| 15917 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16415 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 15918 // for details. All rights reserved. Use of this source code is governed by a | 16416 // for details. All rights reserved. Use of this source code is governed by a |
| 15919 // BSD-style license that can be found in the LICENSE file. | 16417 // BSD-style license that can be found in the LICENSE file. |
| 15920 | 16418 |
| 15921 // WARNING: Do not edit - generated code. | 16419 // WARNING: Do not edit - generated code. |
| 15922 | 16420 |
| 15923 | 16421 |
| 16422 @DomName('NotificationPermissionCallback') |
| 16423 // http://www.w3.org/TR/notifications/#notificationpermissioncallback |
| 16424 @Experimental |
| 15924 typedef void _NotificationPermissionCallback(String permission); | 16425 typedef void _NotificationPermissionCallback(String permission); |
| 15925 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16426 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 15926 // for details. All rights reserved. Use of this source code is governed by a | 16427 // for details. All rights reserved. Use of this source code is governed by a |
| 15927 // BSD-style license that can be found in the LICENSE file. | 16428 // BSD-style license that can be found in the LICENSE file. |
| 15928 | 16429 |
| 15929 | 16430 |
| 15930 @DocsEditable | 16431 @DocsEditable |
| 15931 @DomName('HTMLOListElement') | 16432 @DomName('HTMLOListElement') |
| 15932 class OListElement extends Element native "HTMLOListElement" { | 16433 class OListElement extends Element native "HTMLOListElement" { |
| 15933 | 16434 |
| (...skipping 16 matching lines...) Expand all Loading... |
| 15950 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16451 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 15951 // for details. All rights reserved. Use of this source code is governed by a | 16452 // for details. All rights reserved. Use of this source code is governed by a |
| 15952 // BSD-style license that can be found in the LICENSE file. | 16453 // BSD-style license that can be found in the LICENSE file. |
| 15953 | 16454 |
| 15954 | 16455 |
| 15955 @DocsEditable | 16456 @DocsEditable |
| 15956 @DomName('HTMLObjectElement') | 16457 @DomName('HTMLObjectElement') |
| 15957 @SupportedBrowser(SupportedBrowser.CHROME) | 16458 @SupportedBrowser(SupportedBrowser.CHROME) |
| 15958 @SupportedBrowser(SupportedBrowser.IE) | 16459 @SupportedBrowser(SupportedBrowser.IE) |
| 15959 @SupportedBrowser(SupportedBrowser.SAFARI) | 16460 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 16461 @Unstable |
| 15960 class ObjectElement extends Element native "HTMLObjectElement" { | 16462 class ObjectElement extends Element native "HTMLObjectElement" { |
| 15961 | 16463 |
| 15962 @DomName('HTMLObjectElement.HTMLObjectElement') | 16464 @DomName('HTMLObjectElement.HTMLObjectElement') |
| 15963 @DocsEditable | 16465 @DocsEditable |
| 15964 factory ObjectElement() => document.$dom_createElement("object"); | 16466 factory ObjectElement() => document.$dom_createElement("object"); |
| 15965 | 16467 |
| 15966 /// Checks if this type is supported on the current platform. | 16468 /// Checks if this type is supported on the current platform. |
| 15967 static bool get supported => Element.isTagSupported('object'); | 16469 static bool get supported => Element.isTagSupported('object'); |
| 15968 | 16470 |
| 15969 @DomName('HTMLObjectElement.code') | 16471 @DomName('HTMLObjectElement.code') |
| 15970 @DocsEditable | 16472 @DocsEditable |
| 16473 // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#H
TMLObjectElement-partial |
| 16474 @deprecated // deprecated |
| 15971 String code; | 16475 String code; |
| 15972 | 16476 |
| 15973 @DomName('HTMLObjectElement.data') | 16477 @DomName('HTMLObjectElement.data') |
| 15974 @DocsEditable | 16478 @DocsEditable |
| 15975 String data; | 16479 String data; |
| 15976 | 16480 |
| 15977 @DomName('HTMLObjectElement.form') | 16481 @DomName('HTMLObjectElement.form') |
| 15978 @DocsEditable | 16482 @DocsEditable |
| 15979 final FormElement form; | 16483 final FormElement form; |
| 15980 | 16484 |
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 16125 @DomName('HTMLOutputElement.form') | 16629 @DomName('HTMLOutputElement.form') |
| 16126 @DocsEditable | 16630 @DocsEditable |
| 16127 final FormElement form; | 16631 final FormElement form; |
| 16128 | 16632 |
| 16129 @DomName('HTMLOutputElement.htmlFor') | 16633 @DomName('HTMLOutputElement.htmlFor') |
| 16130 @DocsEditable | 16634 @DocsEditable |
| 16131 final DomSettableTokenList htmlFor; | 16635 final DomSettableTokenList htmlFor; |
| 16132 | 16636 |
| 16133 @DomName('HTMLOutputElement.labels') | 16637 @DomName('HTMLOutputElement.labels') |
| 16134 @DocsEditable | 16638 @DocsEditable |
| 16639 @Unstable |
| 16135 @Returns('NodeList') | 16640 @Returns('NodeList') |
| 16136 @Creates('NodeList') | 16641 @Creates('NodeList') |
| 16137 final List<Node> labels; | 16642 final List<Node> labels; |
| 16138 | 16643 |
| 16139 @DomName('HTMLOutputElement.name') | 16644 @DomName('HTMLOutputElement.name') |
| 16140 @DocsEditable | 16645 @DocsEditable |
| 16141 String name; | 16646 String name; |
| 16142 | 16647 |
| 16143 @DomName('HTMLOutputElement.type') | 16648 @DomName('HTMLOutputElement.type') |
| 16144 @DocsEditable | 16649 @DocsEditable |
| (...skipping 23 matching lines...) Expand all Loading... |
| 16168 @DocsEditable | 16673 @DocsEditable |
| 16169 void setCustomValidity(String error) native; | 16674 void setCustomValidity(String error) native; |
| 16170 } | 16675 } |
| 16171 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16676 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16172 // for details. All rights reserved. Use of this source code is governed by a | 16677 // for details. All rights reserved. Use of this source code is governed by a |
| 16173 // BSD-style license that can be found in the LICENSE file. | 16678 // BSD-style license that can be found in the LICENSE file. |
| 16174 | 16679 |
| 16175 | 16680 |
| 16176 @DocsEditable | 16681 @DocsEditable |
| 16177 @DomName('OverflowEvent') | 16682 @DomName('OverflowEvent') |
| 16683 @Experimental // nonstandard |
| 16178 class OverflowEvent extends Event native "OverflowEvent" { | 16684 class OverflowEvent extends Event native "OverflowEvent" { |
| 16179 | 16685 |
| 16180 @DomName('OverflowEvent.BOTH') | 16686 @DomName('OverflowEvent.BOTH') |
| 16181 @DocsEditable | 16687 @DocsEditable |
| 16182 static const int BOTH = 2; | 16688 static const int BOTH = 2; |
| 16183 | 16689 |
| 16184 @DomName('OverflowEvent.HORIZONTAL') | 16690 @DomName('OverflowEvent.HORIZONTAL') |
| 16185 @DocsEditable | 16691 @DocsEditable |
| 16186 static const int HORIZONTAL = 0; | 16692 static const int HORIZONTAL = 0; |
| 16187 | 16693 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 16201 @DocsEditable | 16707 @DocsEditable |
| 16202 final bool verticalOverflow; | 16708 final bool verticalOverflow; |
| 16203 } | 16709 } |
| 16204 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16710 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16205 // for details. All rights reserved. Use of this source code is governed by a | 16711 // for details. All rights reserved. Use of this source code is governed by a |
| 16206 // BSD-style license that can be found in the LICENSE file. | 16712 // BSD-style license that can be found in the LICENSE file. |
| 16207 | 16713 |
| 16208 | 16714 |
| 16209 @DocsEditable | 16715 @DocsEditable |
| 16210 @DomName('PageTransitionEvent') | 16716 @DomName('PageTransitionEvent') |
| 16717 // http://www.whatwg.org/specs/web-apps/current-work/multipage/history.html#page
transitionevent |
| 16718 @Experimental |
| 16211 class PageTransitionEvent extends Event native "PageTransitionEvent" { | 16719 class PageTransitionEvent extends Event native "PageTransitionEvent" { |
| 16212 | 16720 |
| 16213 @DomName('PageTransitionEvent.persisted') | 16721 @DomName('PageTransitionEvent.persisted') |
| 16214 @DocsEditable | 16722 @DocsEditable |
| 16215 final bool persisted; | 16723 final bool persisted; |
| 16216 } | 16724 } |
| 16217 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16725 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16218 // for details. All rights reserved. Use of this source code is governed by a | 16726 // for details. All rights reserved. Use of this source code is governed by a |
| 16219 // BSD-style license that can be found in the LICENSE file. | 16727 // BSD-style license that can be found in the LICENSE file. |
| 16220 | 16728 |
| 16221 | 16729 |
| 16222 @DocsEditable | 16730 @DocsEditable |
| 16223 @DomName('HTMLParagraphElement') | 16731 @DomName('HTMLParagraphElement') |
| 16224 class ParagraphElement extends Element native "HTMLParagraphElement" { | 16732 class ParagraphElement extends Element native "HTMLParagraphElement" { |
| 16225 | 16733 |
| 16226 @DomName('HTMLParagraphElement.HTMLParagraphElement') | 16734 @DomName('HTMLParagraphElement.HTMLParagraphElement') |
| 16227 @DocsEditable | 16735 @DocsEditable |
| 16228 factory ParagraphElement() => document.$dom_createElement("p"); | 16736 factory ParagraphElement() => document.$dom_createElement("p"); |
| 16229 } | 16737 } |
| 16230 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16738 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16231 // for details. All rights reserved. Use of this source code is governed by a | 16739 // for details. All rights reserved. Use of this source code is governed by a |
| 16232 // BSD-style license that can be found in the LICENSE file. | 16740 // BSD-style license that can be found in the LICENSE file. |
| 16233 | 16741 |
| 16234 | 16742 |
| 16235 @DocsEditable | 16743 @DocsEditable |
| 16236 @DomName('HTMLParamElement') | 16744 @DomName('HTMLParamElement') |
| 16745 @Unstable |
| 16237 class ParamElement extends Element native "HTMLParamElement" { | 16746 class ParamElement extends Element native "HTMLParamElement" { |
| 16238 | 16747 |
| 16239 @DomName('HTMLParamElement.HTMLParamElement') | 16748 @DomName('HTMLParamElement.HTMLParamElement') |
| 16240 @DocsEditable | 16749 @DocsEditable |
| 16241 factory ParamElement() => document.$dom_createElement("param"); | 16750 factory ParamElement() => document.$dom_createElement("param"); |
| 16242 | 16751 |
| 16243 @DomName('HTMLParamElement.name') | 16752 @DomName('HTMLParamElement.name') |
| 16244 @DocsEditable | 16753 @DocsEditable |
| 16245 String name; | 16754 String name; |
| 16246 | 16755 |
| 16247 @DomName('HTMLParamElement.value') | 16756 @DomName('HTMLParamElement.value') |
| 16248 @DocsEditable | 16757 @DocsEditable |
| 16249 String value; | 16758 String value; |
| 16250 } | 16759 } |
| 16251 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16760 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16252 // for details. All rights reserved. Use of this source code is governed by a | 16761 // for details. All rights reserved. Use of this source code is governed by a |
| 16253 // BSD-style license that can be found in the LICENSE file. | 16762 // BSD-style license that can be found in the LICENSE file. |
| 16254 | 16763 |
| 16255 | 16764 |
| 16256 @DocsEditable | 16765 @DocsEditable |
| 16257 @DomName('Path') | 16766 @DomName('Path') |
| 16767 // http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-elemen
t.html#path-objects |
| 16768 @Experimental |
| 16258 class Path native "Path" { | 16769 class Path native "Path" { |
| 16259 | 16770 |
| 16260 @DomName('Path.DOMPath') | 16771 @DomName('Path.DOMPath') |
| 16261 @DocsEditable | 16772 @DocsEditable |
| 16262 factory Path([path_OR_text]) { | 16773 factory Path([path_OR_text]) { |
| 16263 if (!?path_OR_text) { | 16774 if (!?path_OR_text) { |
| 16264 return Path._create_1(); | 16775 return Path._create_1(); |
| 16265 } | 16776 } |
| 16266 if ((path_OR_text is Path || path_OR_text == null)) { | 16777 if ((path_OR_text is Path || path_OR_text == null)) { |
| 16267 return Path._create_2(path_OR_text); | 16778 return Path._create_2(path_OR_text); |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 16317 @SupportedBrowser(SupportedBrowser.CHROME) | 16828 @SupportedBrowser(SupportedBrowser.CHROME) |
| 16318 @SupportedBrowser(SupportedBrowser.FIREFOX) | 16829 @SupportedBrowser(SupportedBrowser.FIREFOX) |
| 16319 @SupportedBrowser(SupportedBrowser.IE) | 16830 @SupportedBrowser(SupportedBrowser.IE) |
| 16320 class Performance extends EventTarget native "Performance" { | 16831 class Performance extends EventTarget native "Performance" { |
| 16321 | 16832 |
| 16322 @DomName('Performance.webkitresourcetimingbufferfullEvent') | 16833 @DomName('Performance.webkitresourcetimingbufferfullEvent') |
| 16323 @DocsEditable | 16834 @DocsEditable |
| 16324 @SupportedBrowser(SupportedBrowser.CHROME) | 16835 @SupportedBrowser(SupportedBrowser.CHROME) |
| 16325 @SupportedBrowser(SupportedBrowser.SAFARI) | 16836 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 16326 @Experimental | 16837 @Experimental |
| 16838 // http://www.w3c-test.org/webperf/specs/ResourceTiming/#performanceresourceti
ming-methods |
| 16327 static const EventStreamProvider<Event> resourceTimingBufferFullEvent = const
EventStreamProvider<Event>('webkitresourcetimingbufferfull'); | 16839 static const EventStreamProvider<Event> resourceTimingBufferFullEvent = const
EventStreamProvider<Event>('webkitresourcetimingbufferfull'); |
| 16328 | 16840 |
| 16329 /// Checks if this type is supported on the current platform. | 16841 /// Checks if this type is supported on the current platform. |
| 16330 static bool get supported => JS('bool', '!!(window.performance)'); | 16842 static bool get supported => JS('bool', '!!(window.performance)'); |
| 16331 | 16843 |
| 16332 @DomName('Performance.memory') | 16844 @DomName('Performance.memory') |
| 16333 @DocsEditable | 16845 @DocsEditable |
| 16846 @Experimental // nonstandard |
| 16334 final MemoryInfo memory; | 16847 final MemoryInfo memory; |
| 16335 | 16848 |
| 16336 @DomName('Performance.navigation') | 16849 @DomName('Performance.navigation') |
| 16337 @DocsEditable | 16850 @DocsEditable |
| 16338 final PerformanceNavigation navigation; | 16851 final PerformanceNavigation navigation; |
| 16339 | 16852 |
| 16340 @DomName('Performance.timing') | 16853 @DomName('Performance.timing') |
| 16341 @DocsEditable | 16854 @DocsEditable |
| 16342 final PerformanceTiming timing; | 16855 final PerformanceTiming timing; |
| 16343 | 16856 |
| 16344 @DomName('Performance.clearMarks') | 16857 @DomName('Performance.clearMarks') |
| 16345 @DocsEditable | 16858 @DocsEditable |
| 16859 @Experimental // untriaged |
| 16346 void clearMarks(String markName) native; | 16860 void clearMarks(String markName) native; |
| 16347 | 16861 |
| 16348 @DomName('Performance.clearMeasures') | 16862 @DomName('Performance.clearMeasures') |
| 16349 @DocsEditable | 16863 @DocsEditable |
| 16864 @Experimental // untriaged |
| 16350 void clearMeasures(String measureName) native; | 16865 void clearMeasures(String measureName) native; |
| 16351 | 16866 |
| 16352 @DomName('Performance.getEntries') | 16867 @DomName('Performance.getEntries') |
| 16353 @DocsEditable | 16868 @DocsEditable |
| 16869 @Experimental // untriaged |
| 16354 List<PerformanceEntry> getEntries() native; | 16870 List<PerformanceEntry> getEntries() native; |
| 16355 | 16871 |
| 16356 @DomName('Performance.getEntriesByName') | 16872 @DomName('Performance.getEntriesByName') |
| 16357 @DocsEditable | 16873 @DocsEditable |
| 16874 @Experimental // untriaged |
| 16358 List<PerformanceEntry> getEntriesByName(String name, String entryType) native; | 16875 List<PerformanceEntry> getEntriesByName(String name, String entryType) native; |
| 16359 | 16876 |
| 16360 @DomName('Performance.getEntriesByType') | 16877 @DomName('Performance.getEntriesByType') |
| 16361 @DocsEditable | 16878 @DocsEditable |
| 16879 @Experimental // untriaged |
| 16362 List<PerformanceEntry> getEntriesByType(String entryType) native; | 16880 List<PerformanceEntry> getEntriesByType(String entryType) native; |
| 16363 | 16881 |
| 16364 @DomName('Performance.mark') | 16882 @DomName('Performance.mark') |
| 16365 @DocsEditable | 16883 @DocsEditable |
| 16884 @Experimental // untriaged |
| 16366 void mark(String markName) native; | 16885 void mark(String markName) native; |
| 16367 | 16886 |
| 16368 @DomName('Performance.measure') | 16887 @DomName('Performance.measure') |
| 16369 @DocsEditable | 16888 @DocsEditable |
| 16889 @Experimental // untriaged |
| 16370 void measure(String measureName, String startMark, String endMark) native; | 16890 void measure(String measureName, String startMark, String endMark) native; |
| 16371 | 16891 |
| 16372 @DomName('Performance.now') | 16892 @DomName('Performance.now') |
| 16373 @DocsEditable | 16893 @DocsEditable |
| 16374 num now() native; | 16894 num now() native; |
| 16375 | 16895 |
| 16376 @JSName('webkitClearResourceTimings') | 16896 @JSName('webkitClearResourceTimings') |
| 16377 @DomName('Performance.webkitClearResourceTimings') | 16897 @DomName('Performance.webkitClearResourceTimings') |
| 16378 @DocsEditable | 16898 @DocsEditable |
| 16379 @SupportedBrowser(SupportedBrowser.CHROME) | 16899 @SupportedBrowser(SupportedBrowser.CHROME) |
| 16380 @SupportedBrowser(SupportedBrowser.SAFARI) | 16900 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 16381 @Experimental | 16901 @Experimental |
| 16902 // http://www.w3c-test.org/webperf/specs/ResourceTiming/#performanceresourceti
ming-methods |
| 16382 void clearResourceTimings() native; | 16903 void clearResourceTimings() native; |
| 16383 | 16904 |
| 16384 @JSName('webkitSetResourceTimingBufferSize') | 16905 @JSName('webkitSetResourceTimingBufferSize') |
| 16385 @DomName('Performance.webkitSetResourceTimingBufferSize') | 16906 @DomName('Performance.webkitSetResourceTimingBufferSize') |
| 16386 @DocsEditable | 16907 @DocsEditable |
| 16387 @SupportedBrowser(SupportedBrowser.CHROME) | 16908 @SupportedBrowser(SupportedBrowser.CHROME) |
| 16388 @SupportedBrowser(SupportedBrowser.SAFARI) | 16909 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 16389 @Experimental | 16910 @Experimental |
| 16911 // http://www.w3c-test.org/webperf/specs/ResourceTiming/#performanceresourceti
ming-methods |
| 16390 void setResourceTimingBufferSize(int maxSize) native; | 16912 void setResourceTimingBufferSize(int maxSize) native; |
| 16391 | 16913 |
| 16392 @DomName('Performance.onwebkitresourcetimingbufferfull') | 16914 @DomName('Performance.onwebkitresourcetimingbufferfull') |
| 16393 @DocsEditable | 16915 @DocsEditable |
| 16916 // http://www.w3c-test.org/webperf/specs/ResourceTiming/#performanceresourceti
ming-methods |
| 16917 @Experimental |
| 16394 Stream<Event> get onResourceTimingBufferFull => resourceTimingBufferFullEvent.
forTarget(this); | 16918 Stream<Event> get onResourceTimingBufferFull => resourceTimingBufferFullEvent.
forTarget(this); |
| 16395 } | 16919 } |
| 16396 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16920 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16397 // for details. All rights reserved. Use of this source code is governed by a | 16921 // for details. All rights reserved. Use of this source code is governed by a |
| 16398 // BSD-style license that can be found in the LICENSE file. | 16922 // BSD-style license that can be found in the LICENSE file. |
| 16399 | 16923 |
| 16400 | 16924 |
| 16401 @DocsEditable | 16925 @DocsEditable |
| 16402 @DomName('PerformanceEntry') | 16926 @DomName('PerformanceEntry') |
| 16927 // http://www.w3.org/TR/performance-timeline/#sec-PerformanceEntry-interface |
| 16928 @Experimental |
| 16403 class PerformanceEntry native "PerformanceEntry" { | 16929 class PerformanceEntry native "PerformanceEntry" { |
| 16404 | 16930 |
| 16405 @DomName('PerformanceEntry.duration') | 16931 @DomName('PerformanceEntry.duration') |
| 16406 @DocsEditable | 16932 @DocsEditable |
| 16407 final num duration; | 16933 final num duration; |
| 16408 | 16934 |
| 16409 @DomName('PerformanceEntry.entryType') | 16935 @DomName('PerformanceEntry.entryType') |
| 16410 @DocsEditable | 16936 @DocsEditable |
| 16411 final String entryType; | 16937 final String entryType; |
| 16412 | 16938 |
| 16413 @DomName('PerformanceEntry.name') | 16939 @DomName('PerformanceEntry.name') |
| 16414 @DocsEditable | 16940 @DocsEditable |
| 16415 final String name; | 16941 final String name; |
| 16416 | 16942 |
| 16417 @DomName('PerformanceEntry.startTime') | 16943 @DomName('PerformanceEntry.startTime') |
| 16418 @DocsEditable | 16944 @DocsEditable |
| 16419 final num startTime; | 16945 final num startTime; |
| 16420 } | 16946 } |
| 16421 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16947 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16422 // for details. All rights reserved. Use of this source code is governed by a | 16948 // for details. All rights reserved. Use of this source code is governed by a |
| 16423 // BSD-style license that can be found in the LICENSE file. | 16949 // BSD-style license that can be found in the LICENSE file. |
| 16424 | 16950 |
| 16425 | 16951 |
| 16426 @DocsEditable | 16952 @DocsEditable |
| 16427 @DomName('PerformanceMark') | 16953 @DomName('PerformanceMark') |
| 16954 // http://www.w3.org/TR/user-timing/#performancemark |
| 16955 @Experimental |
| 16428 class PerformanceMark extends PerformanceEntry native "PerformanceMark" { | 16956 class PerformanceMark extends PerformanceEntry native "PerformanceMark" { |
| 16429 } | 16957 } |
| 16430 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16958 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16431 // for details. All rights reserved. Use of this source code is governed by a | 16959 // for details. All rights reserved. Use of this source code is governed by a |
| 16432 // BSD-style license that can be found in the LICENSE file. | 16960 // BSD-style license that can be found in the LICENSE file. |
| 16433 | 16961 |
| 16434 | 16962 |
| 16435 @DocsEditable | 16963 @DocsEditable |
| 16436 @DomName('PerformanceMeasure') | 16964 @DomName('PerformanceMeasure') |
| 16965 // http://www.w3.org/TR/user-timing/#performancemeasure |
| 16966 @Experimental |
| 16437 class PerformanceMeasure extends PerformanceEntry native "PerformanceMeasure" { | 16967 class PerformanceMeasure extends PerformanceEntry native "PerformanceMeasure" { |
| 16438 } | 16968 } |
| 16439 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16969 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16440 // for details. All rights reserved. Use of this source code is governed by a | 16970 // for details. All rights reserved. Use of this source code is governed by a |
| 16441 // BSD-style license that can be found in the LICENSE file. | 16971 // BSD-style license that can be found in the LICENSE file. |
| 16442 | 16972 |
| 16443 | 16973 |
| 16444 @DocsEditable | 16974 @DocsEditable |
| 16445 @DomName('PerformanceNavigation') | 16975 @DomName('PerformanceNavigation') |
| 16976 @Unstable |
| 16446 class PerformanceNavigation native "PerformanceNavigation" { | 16977 class PerformanceNavigation native "PerformanceNavigation" { |
| 16447 | 16978 |
| 16448 @DomName('PerformanceNavigation.TYPE_BACK_FORWARD') | 16979 @DomName('PerformanceNavigation.TYPE_BACK_FORWARD') |
| 16449 @DocsEditable | 16980 @DocsEditable |
| 16450 static const int TYPE_BACK_FORWARD = 2; | 16981 static const int TYPE_BACK_FORWARD = 2; |
| 16451 | 16982 |
| 16452 @DomName('PerformanceNavigation.TYPE_NAVIGATE') | 16983 @DomName('PerformanceNavigation.TYPE_NAVIGATE') |
| 16453 @DocsEditable | 16984 @DocsEditable |
| 16454 static const int TYPE_NAVIGATE = 0; | 16985 static const int TYPE_NAVIGATE = 0; |
| 16455 | 16986 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 16469 @DocsEditable | 17000 @DocsEditable |
| 16470 final int type; | 17001 final int type; |
| 16471 } | 17002 } |
| 16472 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17003 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16473 // for details. All rights reserved. Use of this source code is governed by a | 17004 // for details. All rights reserved. Use of this source code is governed by a |
| 16474 // BSD-style license that can be found in the LICENSE file. | 17005 // BSD-style license that can be found in the LICENSE file. |
| 16475 | 17006 |
| 16476 | 17007 |
| 16477 @DocsEditable | 17008 @DocsEditable |
| 16478 @DomName('PerformanceResourceTiming') | 17009 @DomName('PerformanceResourceTiming') |
| 17010 // http://www.w3c-test.org/webperf/specs/ResourceTiming/#performanceresourcetimi
ng |
| 17011 @Experimental |
| 16479 class PerformanceResourceTiming extends PerformanceEntry native "PerformanceReso
urceTiming" { | 17012 class PerformanceResourceTiming extends PerformanceEntry native "PerformanceReso
urceTiming" { |
| 16480 | 17013 |
| 16481 @DomName('PerformanceResourceTiming.connectEnd') | 17014 @DomName('PerformanceResourceTiming.connectEnd') |
| 16482 @DocsEditable | 17015 @DocsEditable |
| 16483 final num connectEnd; | 17016 final num connectEnd; |
| 16484 | 17017 |
| 16485 @DomName('PerformanceResourceTiming.connectStart') | 17018 @DomName('PerformanceResourceTiming.connectStart') |
| 16486 @DocsEditable | 17019 @DocsEditable |
| 16487 final num connectStart; | 17020 final num connectStart; |
| 16488 | 17021 |
| (...skipping 16 matching lines...) Expand all Loading... |
| 16505 @DomName('PerformanceResourceTiming.redirectEnd') | 17038 @DomName('PerformanceResourceTiming.redirectEnd') |
| 16506 @DocsEditable | 17039 @DocsEditable |
| 16507 final num redirectEnd; | 17040 final num redirectEnd; |
| 16508 | 17041 |
| 16509 @DomName('PerformanceResourceTiming.redirectStart') | 17042 @DomName('PerformanceResourceTiming.redirectStart') |
| 16510 @DocsEditable | 17043 @DocsEditable |
| 16511 final num redirectStart; | 17044 final num redirectStart; |
| 16512 | 17045 |
| 16513 @DomName('PerformanceResourceTiming.requestStart') | 17046 @DomName('PerformanceResourceTiming.requestStart') |
| 16514 @DocsEditable | 17047 @DocsEditable |
| 17048 @Experimental // nonstandard |
| 16515 final num requestStart; | 17049 final num requestStart; |
| 16516 | 17050 |
| 16517 @DomName('PerformanceResourceTiming.responseEnd') | 17051 @DomName('PerformanceResourceTiming.responseEnd') |
| 16518 @DocsEditable | 17052 @DocsEditable |
| 17053 @Experimental // nonstandard |
| 16519 final num responseEnd; | 17054 final num responseEnd; |
| 16520 | 17055 |
| 16521 @DomName('PerformanceResourceTiming.responseStart') | 17056 @DomName('PerformanceResourceTiming.responseStart') |
| 16522 @DocsEditable | 17057 @DocsEditable |
| 17058 @Experimental // nonstandard |
| 16523 final num responseStart; | 17059 final num responseStart; |
| 16524 | 17060 |
| 16525 @DomName('PerformanceResourceTiming.secureConnectionStart') | 17061 @DomName('PerformanceResourceTiming.secureConnectionStart') |
| 16526 @DocsEditable | 17062 @DocsEditable |
| 16527 final num secureConnectionStart; | 17063 final num secureConnectionStart; |
| 16528 } | 17064 } |
| 16529 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17065 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16530 // for details. All rights reserved. Use of this source code is governed by a | 17066 // for details. All rights reserved. Use of this source code is governed by a |
| 16531 // BSD-style license that can be found in the LICENSE file. | 17067 // BSD-style license that can be found in the LICENSE file. |
| 16532 | 17068 |
| 16533 | 17069 |
| 16534 @DocsEditable | 17070 @DocsEditable |
| 16535 @DomName('PerformanceTiming') | 17071 @DomName('PerformanceTiming') |
| 17072 @Unstable |
| 16536 class PerformanceTiming native "PerformanceTiming" { | 17073 class PerformanceTiming native "PerformanceTiming" { |
| 16537 | 17074 |
| 16538 @DomName('PerformanceTiming.connectEnd') | 17075 @DomName('PerformanceTiming.connectEnd') |
| 16539 @DocsEditable | 17076 @DocsEditable |
| 16540 final int connectEnd; | 17077 final int connectEnd; |
| 16541 | 17078 |
| 16542 @DomName('PerformanceTiming.connectStart') | 17079 @DomName('PerformanceTiming.connectStart') |
| 16543 @DocsEditable | 17080 @DocsEditable |
| 16544 final int connectStart; | 17081 final int connectStart; |
| 16545 | 17082 |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 16619 @DocsEditable | 17156 @DocsEditable |
| 16620 final int unloadEventStart; | 17157 final int unloadEventStart; |
| 16621 } | 17158 } |
| 16622 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17159 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16623 // for details. All rights reserved. Use of this source code is governed by a | 17160 // for details. All rights reserved. Use of this source code is governed by a |
| 16624 // BSD-style license that can be found in the LICENSE file. | 17161 // BSD-style license that can be found in the LICENSE file. |
| 16625 | 17162 |
| 16626 | 17163 |
| 16627 @DocsEditable | 17164 @DocsEditable |
| 16628 @DomName('Plugin') | 17165 @DomName('Plugin') |
| 17166 @Experimental // non-standard |
| 16629 class Plugin native "Plugin" { | 17167 class Plugin native "Plugin" { |
| 16630 | 17168 |
| 16631 @DomName('Plugin.description') | 17169 @DomName('Plugin.description') |
| 16632 @DocsEditable | 17170 @DocsEditable |
| 16633 final String description; | 17171 final String description; |
| 16634 | 17172 |
| 16635 @DomName('Plugin.filename') | 17173 @DomName('Plugin.filename') |
| 16636 @DocsEditable | 17174 @DocsEditable |
| 16637 final String filename; | 17175 final String filename; |
| 16638 | 17176 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 16652 @DocsEditable | 17190 @DocsEditable |
| 16653 MimeType namedItem(String name) native; | 17191 MimeType namedItem(String name) native; |
| 16654 } | 17192 } |
| 16655 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17193 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16656 // for details. All rights reserved. Use of this source code is governed by a | 17194 // for details. All rights reserved. Use of this source code is governed by a |
| 16657 // BSD-style license that can be found in the LICENSE file. | 17195 // BSD-style license that can be found in the LICENSE file. |
| 16658 | 17196 |
| 16659 | 17197 |
| 16660 @DocsEditable | 17198 @DocsEditable |
| 16661 @DomName('PluginArray') | 17199 @DomName('PluginArray') |
| 17200 @Experimental // non-standard |
| 16662 class PluginArray extends Interceptor with ListMixin<Plugin>, ImmutableListMixin
<Plugin> implements JavaScriptIndexingBehavior, List<Plugin> native "PluginArray
" { | 17201 class PluginArray extends Interceptor with ListMixin<Plugin>, ImmutableListMixin
<Plugin> implements JavaScriptIndexingBehavior, List<Plugin> native "PluginArray
" { |
| 16663 | 17202 |
| 16664 @DomName('PluginArray.length') | 17203 @DomName('PluginArray.length') |
| 16665 @DocsEditable | 17204 @DocsEditable |
| 16666 int get length => JS("int", "#.length", this); | 17205 int get length => JS("int", "#.length", this); |
| 16667 | 17206 |
| 16668 Plugin operator[](int index) { | 17207 Plugin operator[](int index) { |
| 16669 if (JS("bool", "# >>> 0 !== # || # >= #", index, | 17208 if (JS("bool", "# >>> 0 !== # || # >= #", index, |
| 16670 index, index, length)) | 17209 index, index, length)) |
| 16671 throw new RangeError.range(index, 0, length); | 17210 throw new RangeError.range(index, 0, length); |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 16742 @annotation_Returns_SerializedScriptValue | 17281 @annotation_Returns_SerializedScriptValue |
| 16743 final dynamic _get_state; | 17282 final dynamic _get_state; |
| 16744 } | 17283 } |
| 16745 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17284 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16746 // for details. All rights reserved. Use of this source code is governed by a | 17285 // for details. All rights reserved. Use of this source code is governed by a |
| 16747 // BSD-style license that can be found in the LICENSE file. | 17286 // BSD-style license that can be found in the LICENSE file. |
| 16748 | 17287 |
| 16749 // WARNING: Do not edit - generated code. | 17288 // WARNING: Do not edit - generated code. |
| 16750 | 17289 |
| 16751 | 17290 |
| 17291 @DomName('PositionCallback') |
| 17292 @Unstable |
| 16752 typedef void _PositionCallback(Geoposition position); | 17293 typedef void _PositionCallback(Geoposition position); |
| 16753 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17294 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16754 // for details. All rights reserved. Use of this source code is governed by a | 17295 // for details. All rights reserved. Use of this source code is governed by a |
| 16755 // BSD-style license that can be found in the LICENSE file. | 17296 // BSD-style license that can be found in the LICENSE file. |
| 16756 | 17297 |
| 16757 | 17298 |
| 16758 @DocsEditable | 17299 @DocsEditable |
| 16759 @DomName('PositionError') | 17300 @DomName('PositionError') |
| 17301 @Unstable |
| 16760 class PositionError native "PositionError" { | 17302 class PositionError native "PositionError" { |
| 16761 | 17303 |
| 16762 @DomName('PositionError.PERMISSION_DENIED') | 17304 @DomName('PositionError.PERMISSION_DENIED') |
| 16763 @DocsEditable | 17305 @DocsEditable |
| 16764 static const int PERMISSION_DENIED = 1; | 17306 static const int PERMISSION_DENIED = 1; |
| 16765 | 17307 |
| 16766 @DomName('PositionError.POSITION_UNAVAILABLE') | 17308 @DomName('PositionError.POSITION_UNAVAILABLE') |
| 16767 @DocsEditable | 17309 @DocsEditable |
| 16768 static const int POSITION_UNAVAILABLE = 2; | 17310 static const int POSITION_UNAVAILABLE = 2; |
| 16769 | 17311 |
| 16770 @DomName('PositionError.TIMEOUT') | 17312 @DomName('PositionError.TIMEOUT') |
| 16771 @DocsEditable | 17313 @DocsEditable |
| 16772 static const int TIMEOUT = 3; | 17314 static const int TIMEOUT = 3; |
| 16773 | 17315 |
| 16774 @DomName('PositionError.code') | 17316 @DomName('PositionError.code') |
| 16775 @DocsEditable | 17317 @DocsEditable |
| 16776 final int code; | 17318 final int code; |
| 16777 | 17319 |
| 16778 @DomName('PositionError.message') | 17320 @DomName('PositionError.message') |
| 16779 @DocsEditable | 17321 @DocsEditable |
| 16780 final String message; | 17322 final String message; |
| 16781 } | 17323 } |
| 16782 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17324 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16783 // for details. All rights reserved. Use of this source code is governed by a | 17325 // for details. All rights reserved. Use of this source code is governed by a |
| 16784 // BSD-style license that can be found in the LICENSE file. | 17326 // BSD-style license that can be found in the LICENSE file. |
| 16785 | 17327 |
| 16786 // WARNING: Do not edit - generated code. | 17328 // WARNING: Do not edit - generated code. |
| 16787 | 17329 |
| 16788 | 17330 |
| 17331 @DomName('PositionErrorCallback') |
| 17332 @Unstable |
| 16789 typedef void _PositionErrorCallback(PositionError error); | 17333 typedef void _PositionErrorCallback(PositionError error); |
| 16790 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17334 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16791 // for details. All rights reserved. Use of this source code is governed by a | 17335 // for details. All rights reserved. Use of this source code is governed by a |
| 16792 // BSD-style license that can be found in the LICENSE file. | 17336 // BSD-style license that can be found in the LICENSE file. |
| 16793 | 17337 |
| 16794 | 17338 |
| 16795 @DocsEditable | 17339 @DocsEditable |
| 16796 @DomName('HTMLPreElement') | 17340 @DomName('HTMLPreElement') |
| 16797 class PreElement extends Element native "HTMLPreElement" { | 17341 class PreElement extends Element native "HTMLPreElement" { |
| 16798 | 17342 |
| 16799 @DomName('HTMLPreElement.HTMLPreElement') | 17343 @DomName('HTMLPreElement.HTMLPreElement') |
| 16800 @DocsEditable | 17344 @DocsEditable |
| 16801 factory PreElement() => document.$dom_createElement("pre"); | 17345 factory PreElement() => document.$dom_createElement("pre"); |
| 16802 | 17346 |
| 16803 @DomName('HTMLPreElement.wrap') | 17347 @DomName('HTMLPreElement.wrap') |
| 16804 @DocsEditable | 17348 @DocsEditable |
| 17349 @deprecated // deprecated |
| 16805 bool wrap; | 17350 bool wrap; |
| 16806 } | 17351 } |
| 16807 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17352 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16808 // for details. All rights reserved. Use of this source code is governed by a | 17353 // for details. All rights reserved. Use of this source code is governed by a |
| 16809 // BSD-style license that can be found in the LICENSE file. | 17354 // BSD-style license that can be found in the LICENSE file. |
| 16810 | 17355 |
| 16811 | 17356 |
| 16812 @DocsEditable | 17357 @DocsEditable |
| 16813 @DomName('ProcessingInstruction') | 17358 @DomName('ProcessingInstruction') |
| 17359 @Unstable |
| 16814 class ProcessingInstruction extends Node native "ProcessingInstruction" { | 17360 class ProcessingInstruction extends Node native "ProcessingInstruction" { |
| 16815 | 17361 |
| 16816 @DomName('ProcessingInstruction.data') | 17362 @DomName('ProcessingInstruction.data') |
| 16817 @DocsEditable | 17363 @DocsEditable |
| 17364 @Experimental // non-standard |
| 16818 String data; | 17365 String data; |
| 16819 | 17366 |
| 16820 @DomName('ProcessingInstruction.sheet') | 17367 @DomName('ProcessingInstruction.sheet') |
| 16821 @DocsEditable | 17368 @DocsEditable |
| 17369 @Experimental // non-standard |
| 16822 final StyleSheet sheet; | 17370 final StyleSheet sheet; |
| 16823 | 17371 |
| 16824 @DomName('ProcessingInstruction.target') | 17372 @DomName('ProcessingInstruction.target') |
| 16825 @DocsEditable | 17373 @DocsEditable |
| 16826 final String target; | 17374 final String target; |
| 16827 } | 17375 } |
| 16828 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17376 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16829 // for details. All rights reserved. Use of this source code is governed by a | 17377 // for details. All rights reserved. Use of this source code is governed by a |
| 16830 // BSD-style license that can be found in the LICENSE file. | 17378 // BSD-style license that can be found in the LICENSE file. |
| 16831 | 17379 |
| 16832 | 17380 |
| 16833 @DocsEditable | 17381 @DocsEditable |
| 16834 @DomName('HTMLProgressElement') | 17382 @DomName('HTMLProgressElement') |
| 16835 @SupportedBrowser(SupportedBrowser.CHROME) | 17383 @SupportedBrowser(SupportedBrowser.CHROME) |
| 16836 @SupportedBrowser(SupportedBrowser.FIREFOX) | 17384 @SupportedBrowser(SupportedBrowser.FIREFOX) |
| 16837 @SupportedBrowser(SupportedBrowser.IE, '10') | 17385 @SupportedBrowser(SupportedBrowser.IE, '10') |
| 16838 @SupportedBrowser(SupportedBrowser.SAFARI) | 17386 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 16839 class ProgressElement extends Element native "HTMLProgressElement" { | 17387 class ProgressElement extends Element native "HTMLProgressElement" { |
| 16840 | 17388 |
| 16841 @DomName('HTMLProgressElement.HTMLProgressElement') | 17389 @DomName('HTMLProgressElement.HTMLProgressElement') |
| 16842 @DocsEditable | 17390 @DocsEditable |
| 16843 factory ProgressElement() => document.$dom_createElement("progress"); | 17391 factory ProgressElement() => document.$dom_createElement("progress"); |
| 16844 | 17392 |
| 16845 /// Checks if this type is supported on the current platform. | 17393 /// Checks if this type is supported on the current platform. |
| 16846 static bool get supported => Element.isTagSupported('progress'); | 17394 static bool get supported => Element.isTagSupported('progress'); |
| 16847 | 17395 |
| 16848 @DomName('HTMLProgressElement.labels') | 17396 @DomName('HTMLProgressElement.labels') |
| 16849 @DocsEditable | 17397 @DocsEditable |
| 17398 @Unstable |
| 16850 @Returns('NodeList') | 17399 @Returns('NodeList') |
| 16851 @Creates('NodeList') | 17400 @Creates('NodeList') |
| 16852 final List<Node> labels; | 17401 final List<Node> labels; |
| 16853 | 17402 |
| 16854 @DomName('HTMLProgressElement.max') | 17403 @DomName('HTMLProgressElement.max') |
| 16855 @DocsEditable | 17404 @DocsEditable |
| 16856 num max; | 17405 num max; |
| 16857 | 17406 |
| 16858 @DomName('HTMLProgressElement.position') | 17407 @DomName('HTMLProgressElement.position') |
| 16859 @DocsEditable | 17408 @DocsEditable |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 16897 @DocsEditable | 17446 @DocsEditable |
| 16898 String cite; | 17447 String cite; |
| 16899 } | 17448 } |
| 16900 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17449 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16901 // for details. All rights reserved. Use of this source code is governed by a | 17450 // for details. All rights reserved. Use of this source code is governed by a |
| 16902 // BSD-style license that can be found in the LICENSE file. | 17451 // BSD-style license that can be found in the LICENSE file. |
| 16903 | 17452 |
| 16904 // WARNING: Do not edit - generated code. | 17453 // WARNING: Do not edit - generated code. |
| 16905 | 17454 |
| 16906 | 17455 |
| 17456 @DomName('RTCErrorCallback') |
| 17457 // http://dev.w3.org/2011/webrtc/editor/webrtc.html#rtcerror |
| 17458 @Experimental |
| 16907 typedef void _RtcErrorCallback(String errorInformation); | 17459 typedef void _RtcErrorCallback(String errorInformation); |
| 16908 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17460 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16909 // for details. All rights reserved. Use of this source code is governed by a | 17461 // for details. All rights reserved. Use of this source code is governed by a |
| 16910 // BSD-style license that can be found in the LICENSE file. | 17462 // BSD-style license that can be found in the LICENSE file. |
| 16911 | 17463 |
| 16912 // WARNING: Do not edit - generated code. | 17464 // WARNING: Do not edit - generated code. |
| 16913 | 17465 |
| 16914 | 17466 |
| 17467 @DomName('RTCSessionDescriptionCallback') |
| 17468 // http://dev.w3.org/2011/webrtc/editor/webrtc.html#idl-def-RTCSessionDescriptio
n |
| 17469 @Experimental |
| 16915 typedef void _RtcSessionDescriptionCallback(RtcSessionDescription sdp); | 17470 typedef void _RtcSessionDescriptionCallback(RtcSessionDescription sdp); |
| 16916 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17471 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16917 // for details. All rights reserved. Use of this source code is governed by a | 17472 // for details. All rights reserved. Use of this source code is governed by a |
| 16918 // BSD-style license that can be found in the LICENSE file. | 17473 // BSD-style license that can be found in the LICENSE file. |
| 16919 | 17474 |
| 16920 // WARNING: Do not edit - generated code. | 17475 // WARNING: Do not edit - generated code. |
| 16921 | 17476 |
| 16922 | 17477 |
| 17478 @DomName('RTCStatsCallback') |
| 17479 // http://dev.w3.org/2011/webrtc/editor/webrtc.html#idl-def-RTCStatsCallback |
| 17480 @Experimental |
| 16923 typedef void RtcStatsCallback(RtcStatsResponse response); | 17481 typedef void RtcStatsCallback(RtcStatsResponse response); |
| 16924 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17482 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16925 // for details. All rights reserved. Use of this source code is governed by a | 17483 // for details. All rights reserved. Use of this source code is governed by a |
| 16926 // BSD-style license that can be found in the LICENSE file. | 17484 // BSD-style license that can be found in the LICENSE file. |
| 16927 | 17485 |
| 16928 // WARNING: Do not edit - generated code. | 17486 // WARNING: Do not edit - generated code. |
| 16929 | 17487 |
| 16930 | 17488 |
| 16931 @DomName('Range') | 17489 @DomName('Range') |
| 17490 @Unstable |
| 16932 class Range native "Range" { | 17491 class Range native "Range" { |
| 16933 factory Range() => document.$dom_createRange(); | 17492 factory Range() => document.$dom_createRange(); |
| 16934 | 17493 |
| 16935 | 17494 |
| 16936 @DomName('Range.END_TO_END') | 17495 @DomName('Range.END_TO_END') |
| 16937 @DocsEditable | 17496 @DocsEditable |
| 16938 static const int END_TO_END = 2; | 17497 static const int END_TO_END = 2; |
| 16939 | 17498 |
| 16940 @DomName('Range.END_TO_START') | 17499 @DomName('Range.END_TO_START') |
| 16941 @DocsEditable | 17500 @DocsEditable |
| 16942 static const int END_TO_START = 3; | 17501 static const int END_TO_START = 3; |
| 16943 | 17502 |
| 16944 @DomName('Range.NODE_AFTER') | 17503 @DomName('Range.NODE_AFTER') |
| 16945 @DocsEditable | 17504 @DocsEditable |
| 17505 @Experimental // nonstandard |
| 16946 static const int NODE_AFTER = 1; | 17506 static const int NODE_AFTER = 1; |
| 16947 | 17507 |
| 16948 @DomName('Range.NODE_BEFORE') | 17508 @DomName('Range.NODE_BEFORE') |
| 16949 @DocsEditable | 17509 @DocsEditable |
| 17510 @Experimental // nonstandard |
| 16950 static const int NODE_BEFORE = 0; | 17511 static const int NODE_BEFORE = 0; |
| 16951 | 17512 |
| 16952 @DomName('Range.NODE_BEFORE_AND_AFTER') | 17513 @DomName('Range.NODE_BEFORE_AND_AFTER') |
| 16953 @DocsEditable | 17514 @DocsEditable |
| 17515 @Experimental // nonstandard |
| 16954 static const int NODE_BEFORE_AND_AFTER = 2; | 17516 static const int NODE_BEFORE_AND_AFTER = 2; |
| 16955 | 17517 |
| 16956 @DomName('Range.NODE_INSIDE') | 17518 @DomName('Range.NODE_INSIDE') |
| 16957 @DocsEditable | 17519 @DocsEditable |
| 17520 @Experimental // nonstandard |
| 16958 static const int NODE_INSIDE = 3; | 17521 static const int NODE_INSIDE = 3; |
| 16959 | 17522 |
| 16960 @DomName('Range.START_TO_END') | 17523 @DomName('Range.START_TO_END') |
| 16961 @DocsEditable | 17524 @DocsEditable |
| 16962 static const int START_TO_END = 1; | 17525 static const int START_TO_END = 1; |
| 16963 | 17526 |
| 16964 @DomName('Range.START_TO_START') | 17527 @DomName('Range.START_TO_START') |
| 16965 @DocsEditable | 17528 @DocsEditable |
| 16966 static const int START_TO_START = 0; | 17529 static const int START_TO_START = 0; |
| 16967 | 17530 |
| (...skipping 28 matching lines...) Expand all Loading... |
| 16996 @DomName('Range.cloneRange') | 17559 @DomName('Range.cloneRange') |
| 16997 @DocsEditable | 17560 @DocsEditable |
| 16998 Range cloneRange() native; | 17561 Range cloneRange() native; |
| 16999 | 17562 |
| 17000 @DomName('Range.collapse') | 17563 @DomName('Range.collapse') |
| 17001 @DocsEditable | 17564 @DocsEditable |
| 17002 void collapse(bool toStart) native; | 17565 void collapse(bool toStart) native; |
| 17003 | 17566 |
| 17004 @DomName('Range.compareNode') | 17567 @DomName('Range.compareNode') |
| 17005 @DocsEditable | 17568 @DocsEditable |
| 17569 @deprecated // deprecated |
| 17006 int compareNode(Node refNode) native; | 17570 int compareNode(Node refNode) native; |
| 17007 | 17571 |
| 17008 @DomName('Range.comparePoint') | 17572 @DomName('Range.comparePoint') |
| 17009 @DocsEditable | 17573 @DocsEditable |
| 17010 int comparePoint(Node refNode, int offset) native; | 17574 int comparePoint(Node refNode, int offset) native; |
| 17011 | 17575 |
| 17012 @DomName('Range.createContextualFragment') | 17576 @DomName('Range.createContextualFragment') |
| 17013 @DocsEditable | 17577 @DocsEditable |
| 17014 DocumentFragment createContextualFragment(String html) native; | 17578 DocumentFragment createContextualFragment(String html) native; |
| 17015 | 17579 |
| 17016 @DomName('Range.deleteContents') | 17580 @DomName('Range.deleteContents') |
| 17017 @DocsEditable | 17581 @DocsEditable |
| 17018 void deleteContents() native; | 17582 void deleteContents() native; |
| 17019 | 17583 |
| 17020 @DomName('Range.detach') | 17584 @DomName('Range.detach') |
| 17021 @DocsEditable | 17585 @DocsEditable |
| 17022 void detach() native; | 17586 void detach() native; |
| 17023 | 17587 |
| 17024 @DomName('Range.expand') | 17588 @DomName('Range.expand') |
| 17025 @DocsEditable | 17589 @DocsEditable |
| 17590 @Experimental // non-standard |
| 17026 void expand(String unit) native; | 17591 void expand(String unit) native; |
| 17027 | 17592 |
| 17028 @DomName('Range.extractContents') | 17593 @DomName('Range.extractContents') |
| 17029 @DocsEditable | 17594 @DocsEditable |
| 17030 DocumentFragment extractContents() native; | 17595 DocumentFragment extractContents() native; |
| 17031 | 17596 |
| 17032 @DomName('Range.getBoundingClientRect') | 17597 @DomName('Range.getBoundingClientRect') |
| 17033 @DocsEditable | 17598 @DocsEditable |
| 17034 Rect getBoundingClientRect() native; | 17599 Rect getBoundingClientRect() native; |
| 17035 | 17600 |
| 17036 @DomName('Range.getClientRects') | 17601 @DomName('Range.getClientRects') |
| 17037 @DocsEditable | 17602 @DocsEditable |
| 17038 @Returns('_ClientRectList') | 17603 @Returns('_ClientRectList') |
| 17039 @Creates('_ClientRectList') | 17604 @Creates('_ClientRectList') |
| 17040 List<Rect> getClientRects() native; | 17605 List<Rect> getClientRects() native; |
| 17041 | 17606 |
| 17042 @DomName('Range.insertNode') | 17607 @DomName('Range.insertNode') |
| 17043 @DocsEditable | 17608 @DocsEditable |
| 17044 void insertNode(Node newNode) native; | 17609 void insertNode(Node newNode) native; |
| 17045 | 17610 |
| 17046 @DomName('Range.intersectsNode') | 17611 @DomName('Range.intersectsNode') |
| 17047 @DocsEditable | 17612 @DocsEditable |
| 17613 @deprecated // deprecated |
| 17048 bool intersectsNode(Node refNode) native; | 17614 bool intersectsNode(Node refNode) native; |
| 17049 | 17615 |
| 17050 @DomName('Range.isPointInRange') | 17616 @DomName('Range.isPointInRange') |
| 17051 @DocsEditable | 17617 @DocsEditable |
| 17052 bool isPointInRange(Node refNode, int offset) native; | 17618 bool isPointInRange(Node refNode, int offset) native; |
| 17053 | 17619 |
| 17054 @DomName('Range.selectNode') | 17620 @DomName('Range.selectNode') |
| 17055 @DocsEditable | 17621 @DocsEditable |
| 17056 void selectNode(Node refNode) native; | 17622 void selectNode(Node refNode) native; |
| 17057 | 17623 |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 17102 static bool get supportsCreateContextualFragment => | 17668 static bool get supportsCreateContextualFragment => |
| 17103 JS('bool', '("createContextualFragment" in window.Range.prototype)'); | 17669 JS('bool', '("createContextualFragment" in window.Range.prototype)'); |
| 17104 } | 17670 } |
| 17105 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17671 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17106 // for details. All rights reserved. Use of this source code is governed by a | 17672 // for details. All rights reserved. Use of this source code is governed by a |
| 17107 // BSD-style license that can be found in the LICENSE file. | 17673 // BSD-style license that can be found in the LICENSE file. |
| 17108 | 17674 |
| 17109 // WARNING: Do not edit - generated code. | 17675 // WARNING: Do not edit - generated code. |
| 17110 | 17676 |
| 17111 | 17677 |
| 17678 @DomName('RequestAnimationFrameCallback') |
| 17112 typedef void RequestAnimationFrameCallback(num highResTime); | 17679 typedef void RequestAnimationFrameCallback(num highResTime); |
| 17113 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17680 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17114 // for details. All rights reserved. Use of this source code is governed by a | 17681 // for details. All rights reserved. Use of this source code is governed by a |
| 17115 // BSD-style license that can be found in the LICENSE file. | 17682 // BSD-style license that can be found in the LICENSE file. |
| 17116 | 17683 |
| 17117 | 17684 |
| 17118 @DocsEditable | 17685 @DocsEditable |
| 17119 @DomName('RTCDataChannel') | 17686 @DomName('RTCDataChannel') |
| 17687 // http://dev.w3.org/2011/webrtc/editor/webrtc.html#idl-def-RTCDataChannel |
| 17688 @Experimental |
| 17120 class RtcDataChannel extends EventTarget native "RTCDataChannel" { | 17689 class RtcDataChannel extends EventTarget native "RTCDataChannel" { |
| 17121 | 17690 |
| 17122 @DomName('RTCDataChannel.closeEvent') | 17691 @DomName('RTCDataChannel.closeEvent') |
| 17123 @DocsEditable | 17692 @DocsEditable |
| 17124 static const EventStreamProvider<Event> closeEvent = const EventStreamProvider
<Event>('close'); | 17693 static const EventStreamProvider<Event> closeEvent = const EventStreamProvider
<Event>('close'); |
| 17125 | 17694 |
| 17126 @DomName('RTCDataChannel.errorEvent') | 17695 @DomName('RTCDataChannel.errorEvent') |
| 17127 @DocsEditable | 17696 @DocsEditable |
| 17128 static const EventStreamProvider<Event> errorEvent = const EventStreamProvider
<Event>('error'); | 17697 static const EventStreamProvider<Event> errorEvent = const EventStreamProvider
<Event>('error'); |
| 17129 | 17698 |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 17193 @DocsEditable | 17762 @DocsEditable |
| 17194 Stream<Event> get onOpen => openEvent.forTarget(this); | 17763 Stream<Event> get onOpen => openEvent.forTarget(this); |
| 17195 } | 17764 } |
| 17196 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17765 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17197 // for details. All rights reserved. Use of this source code is governed by a | 17766 // for details. All rights reserved. Use of this source code is governed by a |
| 17198 // BSD-style license that can be found in the LICENSE file. | 17767 // BSD-style license that can be found in the LICENSE file. |
| 17199 | 17768 |
| 17200 | 17769 |
| 17201 @DocsEditable | 17770 @DocsEditable |
| 17202 @DomName('RTCDataChannelEvent') | 17771 @DomName('RTCDataChannelEvent') |
| 17772 // http://dev.w3.org/2011/webrtc/editor/webrtc.html#rtcdatachannelevent |
| 17773 @Experimental |
| 17203 class RtcDataChannelEvent extends Event native "RTCDataChannelEvent" { | 17774 class RtcDataChannelEvent extends Event native "RTCDataChannelEvent" { |
| 17204 | 17775 |
| 17205 @DomName('RTCDataChannelEvent.channel') | 17776 @DomName('RTCDataChannelEvent.channel') |
| 17206 @DocsEditable | 17777 @DocsEditable |
| 17207 final RtcDataChannel channel; | 17778 final RtcDataChannel channel; |
| 17208 } | 17779 } |
| 17209 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17780 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17210 // for details. All rights reserved. Use of this source code is governed by a | 17781 // for details. All rights reserved. Use of this source code is governed by a |
| 17211 // BSD-style license that can be found in the LICENSE file. | 17782 // BSD-style license that can be found in the LICENSE file. |
| 17212 | 17783 |
| 17213 | 17784 |
| 17214 @DocsEditable | 17785 @DocsEditable |
| 17215 @DomName('RTCDTMFSender') | 17786 @DomName('RTCDTMFSender') |
| 17787 // http://dev.w3.org/2011/webrtc/editor/webrtc.html#idl-def-RTCDTMFSender |
| 17788 @Experimental |
| 17216 class RtcDtmfSender extends EventTarget native "RTCDTMFSender" { | 17789 class RtcDtmfSender extends EventTarget native "RTCDTMFSender" { |
| 17217 | 17790 |
| 17218 @DomName('RTCDTMFSender.tonechangeEvent') | 17791 @DomName('RTCDTMFSender.tonechangeEvent') |
| 17219 @DocsEditable | 17792 @DocsEditable |
| 17220 static const EventStreamProvider<RtcDtmfToneChangeEvent> toneChangeEvent = con
st EventStreamProvider<RtcDtmfToneChangeEvent>('tonechange'); | 17793 static const EventStreamProvider<RtcDtmfToneChangeEvent> toneChangeEvent = con
st EventStreamProvider<RtcDtmfToneChangeEvent>('tonechange'); |
| 17221 | 17794 |
| 17222 @JSName('canInsertDTMF') | 17795 @JSName('canInsertDTMF') |
| 17223 @DomName('RTCDTMFSender.canInsertDTMF') | 17796 @DomName('RTCDTMFSender.canInsertDTMF') |
| 17224 @DocsEditable | 17797 @DocsEditable |
| 17225 final bool canInsertDtmf; | 17798 final bool canInsertDtmf; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 17263 @DocsEditable | 17836 @DocsEditable |
| 17264 Stream<RtcDtmfToneChangeEvent> get onToneChange => toneChangeEvent.forTarget(t
his); | 17837 Stream<RtcDtmfToneChangeEvent> get onToneChange => toneChangeEvent.forTarget(t
his); |
| 17265 } | 17838 } |
| 17266 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17839 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17267 // for details. All rights reserved. Use of this source code is governed by a | 17840 // for details. All rights reserved. Use of this source code is governed by a |
| 17268 // BSD-style license that can be found in the LICENSE file. | 17841 // BSD-style license that can be found in the LICENSE file. |
| 17269 | 17842 |
| 17270 | 17843 |
| 17271 @DocsEditable | 17844 @DocsEditable |
| 17272 @DomName('RTCDTMFToneChangeEvent') | 17845 @DomName('RTCDTMFToneChangeEvent') |
| 17846 // http://dev.w3.org/2011/webrtc/editor/webrtc.html#idl-def-RTCDTMFToneChangeEve
nt |
| 17847 @Experimental |
| 17273 class RtcDtmfToneChangeEvent extends Event native "RTCDTMFToneChangeEvent" { | 17848 class RtcDtmfToneChangeEvent extends Event native "RTCDTMFToneChangeEvent" { |
| 17274 | 17849 |
| 17275 @DomName('RTCDTMFToneChangeEvent.tone') | 17850 @DomName('RTCDTMFToneChangeEvent.tone') |
| 17276 @DocsEditable | 17851 @DocsEditable |
| 17277 final String tone; | 17852 final String tone; |
| 17278 } | 17853 } |
| 17279 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 17854 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 17280 // for details. All rights reserved. Use of this source code is governed by a | 17855 // for details. All rights reserved. Use of this source code is governed by a |
| 17281 // BSD-style license that can be found in the LICENSE file. | 17856 // BSD-style license that can be found in the LICENSE file. |
| 17282 | 17857 |
| 17283 | 17858 |
| 17284 @DomName('RTCIceCandidate') | 17859 @DomName('RTCIceCandidate') |
| 17285 @SupportedBrowser(SupportedBrowser.CHROME) | 17860 @SupportedBrowser(SupportedBrowser.CHROME) |
| 17286 @Experimental | 17861 @Experimental |
| 17862 // http://dev.w3.org/2011/webrtc/editor/webrtc.html#idl-def-RTCIceCandidate |
| 17287 class RtcIceCandidate native "RTCIceCandidate" { | 17863 class RtcIceCandidate native "RTCIceCandidate" { |
| 17288 factory RtcIceCandidate(Map dictionary) { | 17864 factory RtcIceCandidate(Map dictionary) { |
| 17289 return JS('RtcIceCandidate', 'new RTCIceCandidate(#)', | 17865 return JS('RtcIceCandidate', 'new RTCIceCandidate(#)', |
| 17290 convertDartToNative_SerializedScriptValue(dictionary)); | 17866 convertDartToNative_SerializedScriptValue(dictionary)); |
| 17291 } | 17867 } |
| 17292 | 17868 |
| 17293 @DomName('RTCIceCandidate.candidate') | 17869 @DomName('RTCIceCandidate.candidate') |
| 17294 @DocsEditable | 17870 @DocsEditable |
| 17295 final String candidate; | 17871 final String candidate; |
| 17296 | 17872 |
| 17297 @DomName('RTCIceCandidate.sdpMLineIndex') | 17873 @DomName('RTCIceCandidate.sdpMLineIndex') |
| 17298 @DocsEditable | 17874 @DocsEditable |
| 17299 final int sdpMLineIndex; | 17875 final int sdpMLineIndex; |
| 17300 | 17876 |
| 17301 @DomName('RTCIceCandidate.sdpMid') | 17877 @DomName('RTCIceCandidate.sdpMid') |
| 17302 @DocsEditable | 17878 @DocsEditable |
| 17303 final String sdpMid; | 17879 final String sdpMid; |
| 17304 | 17880 |
| 17305 } | 17881 } |
| 17306 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17882 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17307 // for details. All rights reserved. Use of this source code is governed by a | 17883 // for details. All rights reserved. Use of this source code is governed by a |
| 17308 // BSD-style license that can be found in the LICENSE file. | 17884 // BSD-style license that can be found in the LICENSE file. |
| 17309 | 17885 |
| 17310 | 17886 |
| 17311 @DocsEditable | 17887 @DocsEditable |
| 17312 @DomName('RTCIceCandidateEvent') | 17888 @DomName('RTCIceCandidateEvent') |
| 17889 // http://dev.w3.org/2011/webrtc/editor/webrtc.html#rtcicecandidate-type |
| 17890 @Experimental |
| 17313 class RtcIceCandidateEvent extends Event native "RTCIceCandidateEvent" { | 17891 class RtcIceCandidateEvent extends Event native "RTCIceCandidateEvent" { |
| 17314 | 17892 |
| 17315 @DomName('RTCIceCandidateEvent.candidate') | 17893 @DomName('RTCIceCandidateEvent.candidate') |
| 17316 @DocsEditable | 17894 @DocsEditable |
| 17317 final RtcIceCandidate candidate; | 17895 final RtcIceCandidate candidate; |
| 17318 } | 17896 } |
| 17319 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 17897 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 17320 // for details. All rights reserved. Use of this source code is governed by a | 17898 // for details. All rights reserved. Use of this source code is governed by a |
| 17321 // BSD-style license that can be found in the LICENSE file. | 17899 // BSD-style license that can be found in the LICENSE file. |
| 17322 | 17900 |
| 17323 | 17901 |
| 17324 @DomName('RTCPeerConnection') | 17902 @DomName('RTCPeerConnection') |
| 17325 @SupportedBrowser(SupportedBrowser.CHROME) | 17903 @SupportedBrowser(SupportedBrowser.CHROME) |
| 17326 @Experimental | 17904 @Experimental |
| 17905 // http://dev.w3.org/2011/webrtc/editor/webrtc.html#idl-def-RTCPeerConnection |
| 17327 class RtcPeerConnection extends EventTarget native "RTCPeerConnection" { | 17906 class RtcPeerConnection extends EventTarget native "RTCPeerConnection" { |
| 17328 factory RtcPeerConnection(Map rtcIceServers, [Map mediaConstraints]) { | 17907 factory RtcPeerConnection(Map rtcIceServers, [Map mediaConstraints]) { |
| 17329 var constructorName = JS('RtcPeerConnection', 'window[#]', | 17908 var constructorName = JS('RtcPeerConnection', 'window[#]', |
| 17330 '${Device.propertyPrefix}RTCPeerConnection'); | 17909 '${Device.propertyPrefix}RTCPeerConnection'); |
| 17331 if (mediaConstraints != null) { | 17910 if (mediaConstraints != null) { |
| 17332 return JS('RtcPeerConnection', 'new #(#,#)', constructorName, | 17911 return JS('RtcPeerConnection', 'new #(#,#)', constructorName, |
| 17333 convertDartToNative_SerializedScriptValue(rtcIceServers), | 17912 convertDartToNative_SerializedScriptValue(rtcIceServers), |
| 17334 convertDartToNative_SerializedScriptValue(mediaConstraints)); | 17913 convertDartToNative_SerializedScriptValue(mediaConstraints)); |
| 17335 } else { | 17914 } else { |
| 17336 return JS('RtcPeerConnection', 'new #(#)', constructorName, | 17915 return JS('RtcPeerConnection', 'new #(#)', constructorName, |
| (...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 17636 | 18215 |
| 17637 | 18216 |
| 17638 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 18217 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 17639 // for details. All rights reserved. Use of this source code is governed by a | 18218 // for details. All rights reserved. Use of this source code is governed by a |
| 17640 // BSD-style license that can be found in the LICENSE file. | 18219 // BSD-style license that can be found in the LICENSE file. |
| 17641 | 18220 |
| 17642 | 18221 |
| 17643 @DomName('RTCSessionDescription') | 18222 @DomName('RTCSessionDescription') |
| 17644 @SupportedBrowser(SupportedBrowser.CHROME) | 18223 @SupportedBrowser(SupportedBrowser.CHROME) |
| 17645 @Experimental | 18224 @Experimental |
| 18225 // http://dev.w3.org/2011/webrtc/editor/webrtc.html#idl-def-RTCSessionDescriptio
n |
| 17646 class RtcSessionDescription native "RTCSessionDescription" { | 18226 class RtcSessionDescription native "RTCSessionDescription" { |
| 17647 factory RtcSessionDescription(Map dictionary) { | 18227 factory RtcSessionDescription(Map dictionary) { |
| 17648 return JS('RtcSessionDescription', 'new RTCSessionDescription(#)', | 18228 return JS('RtcSessionDescription', 'new RTCSessionDescription(#)', |
| 17649 convertDartToNative_SerializedScriptValue(dictionary)); | 18229 convertDartToNative_SerializedScriptValue(dictionary)); |
| 17650 } | 18230 } |
| 17651 | 18231 |
| 17652 @DomName('RTCSessionDescription.sdp') | 18232 @DomName('RTCSessionDescription.sdp') |
| 17653 @DocsEditable | 18233 @DocsEditable |
| 17654 String sdp; | 18234 String sdp; |
| 17655 | 18235 |
| 17656 @DomName('RTCSessionDescription.type') | 18236 @DomName('RTCSessionDescription.type') |
| 17657 @DocsEditable | 18237 @DocsEditable |
| 17658 String type; | 18238 String type; |
| 17659 | 18239 |
| 17660 } | 18240 } |
| 17661 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18241 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17662 // for details. All rights reserved. Use of this source code is governed by a | 18242 // for details. All rights reserved. Use of this source code is governed by a |
| 17663 // BSD-style license that can be found in the LICENSE file. | 18243 // BSD-style license that can be found in the LICENSE file. |
| 17664 | 18244 |
| 17665 | 18245 |
| 17666 @DocsEditable | 18246 @DocsEditable |
| 17667 @DomName('RTCStatsReport') | 18247 @DomName('RTCStatsReport') |
| 18248 // http://dev.w3.org/2011/webrtc/editor/webrtc.html#idl-def-RTCStatsReport |
| 18249 @Experimental |
| 17668 class RtcStatsReport native "RTCStatsReport" { | 18250 class RtcStatsReport native "RTCStatsReport" { |
| 17669 | 18251 |
| 17670 @DomName('RTCStatsReport.id') | 18252 @DomName('RTCStatsReport.id') |
| 17671 @DocsEditable | 18253 @DocsEditable |
| 17672 final String id; | 18254 final String id; |
| 17673 | 18255 |
| 17674 @DomName('RTCStatsReport.local') | 18256 @DomName('RTCStatsReport.local') |
| 17675 @DocsEditable | 18257 @DocsEditable |
| 17676 final RtcStatsReport local; | 18258 final RtcStatsReport local; |
| 17677 | 18259 |
| (...skipping 19 matching lines...) Expand all Loading... |
| 17697 @DocsEditable | 18279 @DocsEditable |
| 17698 String stat(String name) native; | 18280 String stat(String name) native; |
| 17699 } | 18281 } |
| 17700 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18282 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17701 // for details. All rights reserved. Use of this source code is governed by a | 18283 // for details. All rights reserved. Use of this source code is governed by a |
| 17702 // BSD-style license that can be found in the LICENSE file. | 18284 // BSD-style license that can be found in the LICENSE file. |
| 17703 | 18285 |
| 17704 | 18286 |
| 17705 @DocsEditable | 18287 @DocsEditable |
| 17706 @DomName('RTCStatsResponse') | 18288 @DomName('RTCStatsResponse') |
| 18289 // http://dev.w3.org/2011/webrtc/editor/webrtc.html#widl-RTCStatsReport-RTCStats
-getter-DOMString-id |
| 18290 @Experimental |
| 17707 class RtcStatsResponse native "RTCStatsResponse" { | 18291 class RtcStatsResponse native "RTCStatsResponse" { |
| 17708 | 18292 |
| 17709 @DomName('RTCStatsResponse.namedItem') | 18293 @DomName('RTCStatsResponse.namedItem') |
| 17710 @DocsEditable | 18294 @DocsEditable |
| 17711 RtcStatsReport namedItem(String name) native; | 18295 RtcStatsReport namedItem(String name) native; |
| 17712 | 18296 |
| 17713 @DomName('RTCStatsResponse.result') | 18297 @DomName('RTCStatsResponse.result') |
| 17714 @DocsEditable | 18298 @DocsEditable |
| 17715 List<RtcStatsReport> result() native; | 18299 List<RtcStatsReport> result() native; |
| 17716 } | 18300 } |
| (...skipping 14 matching lines...) Expand all Loading... |
| 17731 $dom_availHeight); | 18315 $dom_availHeight); |
| 17732 | 18316 |
| 17733 @JSName('availHeight') | 18317 @JSName('availHeight') |
| 17734 @DomName('Screen.availHeight') | 18318 @DomName('Screen.availHeight') |
| 17735 @DocsEditable | 18319 @DocsEditable |
| 17736 final int $dom_availHeight; | 18320 final int $dom_availHeight; |
| 17737 | 18321 |
| 17738 @JSName('availLeft') | 18322 @JSName('availLeft') |
| 17739 @DomName('Screen.availLeft') | 18323 @DomName('Screen.availLeft') |
| 17740 @DocsEditable | 18324 @DocsEditable |
| 18325 @Experimental // nonstandard |
| 17741 final int $dom_availLeft; | 18326 final int $dom_availLeft; |
| 17742 | 18327 |
| 17743 @JSName('availTop') | 18328 @JSName('availTop') |
| 17744 @DomName('Screen.availTop') | 18329 @DomName('Screen.availTop') |
| 17745 @DocsEditable | 18330 @DocsEditable |
| 18331 @Experimental // nonstandard |
| 17746 final int $dom_availTop; | 18332 final int $dom_availTop; |
| 17747 | 18333 |
| 17748 @JSName('availWidth') | 18334 @JSName('availWidth') |
| 17749 @DomName('Screen.availWidth') | 18335 @DomName('Screen.availWidth') |
| 17750 @DocsEditable | 18336 @DocsEditable |
| 17751 final int $dom_availWidth; | 18337 final int $dom_availWidth; |
| 17752 | 18338 |
| 17753 @DomName('Screen.colorDepth') | 18339 @DomName('Screen.colorDepth') |
| 17754 @DocsEditable | 18340 @DocsEditable |
| 17755 final int colorDepth; | 18341 final int colorDepth; |
| (...skipping 26 matching lines...) Expand all Loading... |
| 17782 @DomName('HTMLScriptElement.async') | 18368 @DomName('HTMLScriptElement.async') |
| 17783 @DocsEditable | 18369 @DocsEditable |
| 17784 bool async; | 18370 bool async; |
| 17785 | 18371 |
| 17786 @DomName('HTMLScriptElement.charset') | 18372 @DomName('HTMLScriptElement.charset') |
| 17787 @DocsEditable | 18373 @DocsEditable |
| 17788 String charset; | 18374 String charset; |
| 17789 | 18375 |
| 17790 @DomName('HTMLScriptElement.crossOrigin') | 18376 @DomName('HTMLScriptElement.crossOrigin') |
| 17791 @DocsEditable | 18377 @DocsEditable |
| 18378 // http://www.whatwg.org/specs/web-apps/current-work/multipage/scripting-1.htm
l#attr-script-crossorigin |
| 18379 @Experimental |
| 17792 String crossOrigin; | 18380 String crossOrigin; |
| 17793 | 18381 |
| 17794 @DomName('HTMLScriptElement.defer') | 18382 @DomName('HTMLScriptElement.defer') |
| 17795 @DocsEditable | 18383 @DocsEditable |
| 17796 bool defer; | 18384 bool defer; |
| 17797 | 18385 |
| 17798 @DomName('HTMLScriptElement.event') | 18386 @DomName('HTMLScriptElement.event') |
| 17799 @DocsEditable | 18387 @DocsEditable |
| 18388 // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#H
TMLScriptElement-partial |
| 18389 @deprecated // deprecated |
| 17800 String event; | 18390 String event; |
| 17801 | 18391 |
| 17802 @DomName('HTMLScriptElement.htmlFor') | 18392 @DomName('HTMLScriptElement.htmlFor') |
| 17803 @DocsEditable | 18393 @DocsEditable |
| 18394 // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#H
TMLScriptElement-partial |
| 18395 @deprecated // deprecated |
| 17804 String htmlFor; | 18396 String htmlFor; |
| 17805 | 18397 |
| 17806 @DomName('HTMLScriptElement.nonce') | 18398 @DomName('HTMLScriptElement.nonce') |
| 17807 @DocsEditable | 18399 @DocsEditable |
| 18400 // https://dvcs.w3.org/hg/content-security-policy/raw-file/tip/csp-specificati
on.dev.html#interaction-with-the-script-src-directive |
| 18401 @Experimental |
| 17808 String nonce; | 18402 String nonce; |
| 17809 | 18403 |
| 17810 @DomName('HTMLScriptElement.src') | 18404 @DomName('HTMLScriptElement.src') |
| 17811 @DocsEditable | 18405 @DocsEditable |
| 17812 String src; | 18406 String src; |
| 17813 | 18407 |
| 17814 @DomName('HTMLScriptElement.type') | 18408 @DomName('HTMLScriptElement.type') |
| 17815 @DocsEditable | 18409 @DocsEditable |
| 17816 String type; | 18410 String type; |
| 17817 } | 18411 } |
| 17818 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18412 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17819 // for details. All rights reserved. Use of this source code is governed by a | 18413 // for details. All rights reserved. Use of this source code is governed by a |
| 17820 // BSD-style license that can be found in the LICENSE file. | 18414 // BSD-style license that can be found in the LICENSE file. |
| 17821 | 18415 |
| 17822 | 18416 |
| 17823 @DocsEditable | 18417 @DocsEditable |
| 17824 @DomName('ScriptProfile') | 18418 @DomName('ScriptProfile') |
| 18419 @deprecated // nonstandard |
| 17825 class ScriptProfile native "ScriptProfile" { | 18420 class ScriptProfile native "ScriptProfile" { |
| 17826 | 18421 |
| 17827 @DomName('ScriptProfile.head') | 18422 @DomName('ScriptProfile.head') |
| 17828 @DocsEditable | 18423 @DocsEditable |
| 17829 final ScriptProfileNode head; | 18424 final ScriptProfileNode head; |
| 17830 | 18425 |
| 17831 @DomName('ScriptProfile.idleTime') | 18426 @DomName('ScriptProfile.idleTime') |
| 17832 @DocsEditable | 18427 @DocsEditable |
| 17833 final num idleTime; | 18428 final num idleTime; |
| 17834 | 18429 |
| 17835 @DomName('ScriptProfile.title') | 18430 @DomName('ScriptProfile.title') |
| 17836 @DocsEditable | 18431 @DocsEditable |
| 17837 final String title; | 18432 final String title; |
| 17838 | 18433 |
| 17839 @DomName('ScriptProfile.uid') | 18434 @DomName('ScriptProfile.uid') |
| 17840 @DocsEditable | 18435 @DocsEditable |
| 17841 final int uid; | 18436 final int uid; |
| 17842 } | 18437 } |
| 17843 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18438 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17844 // for details. All rights reserved. Use of this source code is governed by a | 18439 // for details. All rights reserved. Use of this source code is governed by a |
| 17845 // BSD-style license that can be found in the LICENSE file. | 18440 // BSD-style license that can be found in the LICENSE file. |
| 17846 | 18441 |
| 17847 | 18442 |
| 17848 @DocsEditable | 18443 @DocsEditable |
| 17849 @DomName('ScriptProfileNode') | 18444 @DomName('ScriptProfileNode') |
| 18445 @deprecated // nonstandard |
| 17850 class ScriptProfileNode native "ScriptProfileNode" { | 18446 class ScriptProfileNode native "ScriptProfileNode" { |
| 17851 | 18447 |
| 17852 @JSName('callUID') | 18448 @JSName('callUID') |
| 17853 @DomName('ScriptProfileNode.callUID') | 18449 @DomName('ScriptProfileNode.callUID') |
| 17854 @DocsEditable | 18450 @DocsEditable |
| 17855 final int callUid; | 18451 final int callUid; |
| 17856 | 18452 |
| 17857 @DomName('ScriptProfileNode.functionName') | 18453 @DomName('ScriptProfileNode.functionName') |
| 17858 @DocsEditable | 18454 @DocsEditable |
| 17859 final String functionName; | 18455 final String functionName; |
| (...skipping 26 matching lines...) Expand all Loading... |
| 17886 @DocsEditable | 18482 @DocsEditable |
| 17887 List<ScriptProfileNode> children() native; | 18483 List<ScriptProfileNode> children() native; |
| 17888 } | 18484 } |
| 17889 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18485 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17890 // for details. All rights reserved. Use of this source code is governed by a | 18486 // for details. All rights reserved. Use of this source code is governed by a |
| 17891 // BSD-style license that can be found in the LICENSE file. | 18487 // BSD-style license that can be found in the LICENSE file. |
| 17892 | 18488 |
| 17893 | 18489 |
| 17894 @DocsEditable | 18490 @DocsEditable |
| 17895 @DomName('SecurityPolicy') | 18491 @DomName('SecurityPolicy') |
| 18492 // https://dvcs.w3.org/hg/content-security-policy/raw-file/tip/csp-specification
.dev.html#securitypolicy |
| 18493 @Experimental |
| 17896 class SecurityPolicy native "SecurityPolicy" { | 18494 class SecurityPolicy native "SecurityPolicy" { |
| 17897 | 18495 |
| 17898 @DomName('SecurityPolicy.allowsEval') | 18496 @DomName('SecurityPolicy.allowsEval') |
| 17899 @DocsEditable | 18497 @DocsEditable |
| 17900 final bool allowsEval; | 18498 final bool allowsEval; |
| 17901 | 18499 |
| 17902 @DomName('SecurityPolicy.allowsInlineScript') | 18500 @DomName('SecurityPolicy.allowsInlineScript') |
| 17903 @DocsEditable | 18501 @DocsEditable |
| 17904 final bool allowsInlineScript; | 18502 final bool allowsInlineScript; |
| 17905 | 18503 |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 17957 @DocsEditable | 18555 @DocsEditable |
| 17958 bool allowsStyleFrom(String url) native; | 18556 bool allowsStyleFrom(String url) native; |
| 17959 } | 18557 } |
| 17960 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18558 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17961 // for details. All rights reserved. Use of this source code is governed by a | 18559 // for details. All rights reserved. Use of this source code is governed by a |
| 17962 // BSD-style license that can be found in the LICENSE file. | 18560 // BSD-style license that can be found in the LICENSE file. |
| 17963 | 18561 |
| 17964 | 18562 |
| 17965 @DocsEditable | 18563 @DocsEditable |
| 17966 @DomName('SecurityPolicyViolationEvent') | 18564 @DomName('SecurityPolicyViolationEvent') |
| 18565 // https://dvcs.w3.org/hg/content-security-policy/raw-file/tip/csp-specification
.dev.html#securitypolicyviolationevent-events |
| 18566 @Experimental |
| 17967 class SecurityPolicyViolationEvent extends Event native "SecurityPolicyViolation
Event" { | 18567 class SecurityPolicyViolationEvent extends Event native "SecurityPolicyViolation
Event" { |
| 17968 | 18568 |
| 17969 @JSName('blockedURI') | 18569 @JSName('blockedURI') |
| 17970 @DomName('SecurityPolicyViolationEvent.blockedURI') | 18570 @DomName('SecurityPolicyViolationEvent.blockedURI') |
| 17971 @DocsEditable | 18571 @DocsEditable |
| 17972 final String blockedUri; | 18572 final String blockedUri; |
| 17973 | 18573 |
| 17974 @DomName('SecurityPolicyViolationEvent.columnNumber') | 18574 @DomName('SecurityPolicyViolationEvent.columnNumber') |
| 17975 @DocsEditable | 18575 @DocsEditable |
| 18576 @Experimental // untriaged |
| 17976 final int columnNumber; | 18577 final int columnNumber; |
| 17977 | 18578 |
| 17978 @JSName('documentURI') | 18579 @JSName('documentURI') |
| 17979 @DomName('SecurityPolicyViolationEvent.documentURI') | 18580 @DomName('SecurityPolicyViolationEvent.documentURI') |
| 17980 @DocsEditable | 18581 @DocsEditable |
| 17981 final String documentUri; | 18582 final String documentUri; |
| 17982 | 18583 |
| 17983 @DomName('SecurityPolicyViolationEvent.effectiveDirective') | 18584 @DomName('SecurityPolicyViolationEvent.effectiveDirective') |
| 17984 @DocsEditable | 18585 @DocsEditable |
| 17985 final String effectiveDirective; | 18586 final String effectiveDirective; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 18023 @DomName('HTMLSelectElement.disabled') | 18624 @DomName('HTMLSelectElement.disabled') |
| 18024 @DocsEditable | 18625 @DocsEditable |
| 18025 bool disabled; | 18626 bool disabled; |
| 18026 | 18627 |
| 18027 @DomName('HTMLSelectElement.form') | 18628 @DomName('HTMLSelectElement.form') |
| 18028 @DocsEditable | 18629 @DocsEditable |
| 18029 final FormElement form; | 18630 final FormElement form; |
| 18030 | 18631 |
| 18031 @DomName('HTMLSelectElement.labels') | 18632 @DomName('HTMLSelectElement.labels') |
| 18032 @DocsEditable | 18633 @DocsEditable |
| 18634 @Unstable |
| 18033 @Returns('NodeList') | 18635 @Returns('NodeList') |
| 18034 @Creates('NodeList') | 18636 @Creates('NodeList') |
| 18035 final List<Node> labels; | 18637 final List<Node> labels; |
| 18036 | 18638 |
| 18037 @DomName('HTMLSelectElement.length') | 18639 @DomName('HTMLSelectElement.length') |
| 18038 @DocsEditable | 18640 @DocsEditable |
| 18039 int length; | 18641 int length; |
| 18040 | 18642 |
| 18041 @DomName('HTMLSelectElement.multiple') | 18643 @DomName('HTMLSelectElement.multiple') |
| 18042 @DocsEditable | 18644 @DocsEditable |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 18124 @DomName('Selection.anchorNode') | 18726 @DomName('Selection.anchorNode') |
| 18125 @DocsEditable | 18727 @DocsEditable |
| 18126 final Node anchorNode; | 18728 final Node anchorNode; |
| 18127 | 18729 |
| 18128 @DomName('Selection.anchorOffset') | 18730 @DomName('Selection.anchorOffset') |
| 18129 @DocsEditable | 18731 @DocsEditable |
| 18130 final int anchorOffset; | 18732 final int anchorOffset; |
| 18131 | 18733 |
| 18132 @DomName('Selection.baseNode') | 18734 @DomName('Selection.baseNode') |
| 18133 @DocsEditable | 18735 @DocsEditable |
| 18736 @Experimental // non-standard |
| 18134 final Node baseNode; | 18737 final Node baseNode; |
| 18135 | 18738 |
| 18136 @DomName('Selection.baseOffset') | 18739 @DomName('Selection.baseOffset') |
| 18137 @DocsEditable | 18740 @DocsEditable |
| 18741 @Experimental // non-standard |
| 18138 final int baseOffset; | 18742 final int baseOffset; |
| 18139 | 18743 |
| 18140 @DomName('Selection.extentNode') | 18744 @DomName('Selection.extentNode') |
| 18141 @DocsEditable | 18745 @DocsEditable |
| 18746 @Experimental // non-standard |
| 18142 final Node extentNode; | 18747 final Node extentNode; |
| 18143 | 18748 |
| 18144 @DomName('Selection.extentOffset') | 18749 @DomName('Selection.extentOffset') |
| 18145 @DocsEditable | 18750 @DocsEditable |
| 18751 @Experimental // non-standard |
| 18146 final int extentOffset; | 18752 final int extentOffset; |
| 18147 | 18753 |
| 18148 @DomName('Selection.focusNode') | 18754 @DomName('Selection.focusNode') |
| 18149 @DocsEditable | 18755 @DocsEditable |
| 18150 final Node focusNode; | 18756 final Node focusNode; |
| 18151 | 18757 |
| 18152 @DomName('Selection.focusOffset') | 18758 @DomName('Selection.focusOffset') |
| 18153 @DocsEditable | 18759 @DocsEditable |
| 18154 final int focusOffset; | 18760 final int focusOffset; |
| 18155 | 18761 |
| 18156 @DomName('Selection.isCollapsed') | 18762 @DomName('Selection.isCollapsed') |
| 18157 @DocsEditable | 18763 @DocsEditable |
| 18158 final bool isCollapsed; | 18764 final bool isCollapsed; |
| 18159 | 18765 |
| 18160 @DomName('Selection.rangeCount') | 18766 @DomName('Selection.rangeCount') |
| 18161 @DocsEditable | 18767 @DocsEditable |
| 18162 final int rangeCount; | 18768 final int rangeCount; |
| 18163 | 18769 |
| 18164 @DomName('Selection.type') | 18770 @DomName('Selection.type') |
| 18165 @DocsEditable | 18771 @DocsEditable |
| 18772 @Experimental // non-standard |
| 18166 final String type; | 18773 final String type; |
| 18167 | 18774 |
| 18168 @DomName('Selection.addRange') | 18775 @DomName('Selection.addRange') |
| 18169 @DocsEditable | 18776 @DocsEditable |
| 18170 void addRange(Range range) native; | 18777 void addRange(Range range) native; |
| 18171 | 18778 |
| 18172 @DomName('Selection.collapse') | 18779 @DomName('Selection.collapse') |
| 18173 @DocsEditable | 18780 @DocsEditable |
| 18174 void collapse(Node node, int index) native; | 18781 void collapse(Node node, int index) native; |
| 18175 | 18782 |
| 18176 @DomName('Selection.collapseToEnd') | 18783 @DomName('Selection.collapseToEnd') |
| 18177 @DocsEditable | 18784 @DocsEditable |
| 18178 void collapseToEnd() native; | 18785 void collapseToEnd() native; |
| 18179 | 18786 |
| 18180 @DomName('Selection.collapseToStart') | 18787 @DomName('Selection.collapseToStart') |
| 18181 @DocsEditable | 18788 @DocsEditable |
| 18182 void collapseToStart() native; | 18789 void collapseToStart() native; |
| 18183 | 18790 |
| 18184 @DomName('Selection.containsNode') | 18791 @DomName('Selection.containsNode') |
| 18185 @DocsEditable | 18792 @DocsEditable |
| 18793 @Experimental // non-standard |
| 18186 bool containsNode(Node node, bool allowPartial) native; | 18794 bool containsNode(Node node, bool allowPartial) native; |
| 18187 | 18795 |
| 18188 @DomName('Selection.deleteFromDocument') | 18796 @DomName('Selection.deleteFromDocument') |
| 18189 @DocsEditable | 18797 @DocsEditable |
| 18190 void deleteFromDocument() native; | 18798 void deleteFromDocument() native; |
| 18191 | 18799 |
| 18192 @DomName('Selection.empty') | 18800 @DomName('Selection.empty') |
| 18193 @DocsEditable | 18801 @DocsEditable |
| 18802 @Experimental // non-standard |
| 18194 void empty() native; | 18803 void empty() native; |
| 18195 | 18804 |
| 18196 @DomName('Selection.extend') | 18805 @DomName('Selection.extend') |
| 18197 @DocsEditable | 18806 @DocsEditable |
| 18198 void extend(Node node, int offset) native; | 18807 void extend(Node node, int offset) native; |
| 18199 | 18808 |
| 18200 @DomName('Selection.getRangeAt') | 18809 @DomName('Selection.getRangeAt') |
| 18201 @DocsEditable | 18810 @DocsEditable |
| 18202 Range getRangeAt(int index) native; | 18811 Range getRangeAt(int index) native; |
| 18203 | 18812 |
| 18204 @DomName('Selection.modify') | 18813 @DomName('Selection.modify') |
| 18205 @DocsEditable | 18814 @DocsEditable |
| 18815 @Experimental // non-standard |
| 18206 void modify(String alter, String direction, String granularity) native; | 18816 void modify(String alter, String direction, String granularity) native; |
| 18207 | 18817 |
| 18208 @DomName('Selection.removeAllRanges') | 18818 @DomName('Selection.removeAllRanges') |
| 18209 @DocsEditable | 18819 @DocsEditable |
| 18210 void removeAllRanges() native; | 18820 void removeAllRanges() native; |
| 18211 | 18821 |
| 18212 @DomName('Selection.selectAllChildren') | 18822 @DomName('Selection.selectAllChildren') |
| 18213 @DocsEditable | 18823 @DocsEditable |
| 18214 void selectAllChildren(Node node) native; | 18824 void selectAllChildren(Node node) native; |
| 18215 | 18825 |
| 18216 @DomName('Selection.setBaseAndExtent') | 18826 @DomName('Selection.setBaseAndExtent') |
| 18217 @DocsEditable | 18827 @DocsEditable |
| 18828 @Experimental // non-standard |
| 18218 void setBaseAndExtent(Node baseNode, int baseOffset, Node extentNode, int exte
ntOffset) native; | 18829 void setBaseAndExtent(Node baseNode, int baseOffset, Node extentNode, int exte
ntOffset) native; |
| 18219 | 18830 |
| 18220 @DomName('Selection.setPosition') | 18831 @DomName('Selection.setPosition') |
| 18221 @DocsEditable | 18832 @DocsEditable |
| 18833 @Experimental // non-standard |
| 18222 void setPosition(Node node, int offset) native; | 18834 void setPosition(Node node, int offset) native; |
| 18223 | 18835 |
| 18224 @DomName('Selection.toString') | 18836 @DomName('Selection.toString') |
| 18225 @DocsEditable | 18837 @DocsEditable |
| 18226 String toString() native; | 18838 String toString() native; |
| 18227 } | 18839 } |
| 18228 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18840 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18229 // for details. All rights reserved. Use of this source code is governed by a | 18841 // for details. All rights reserved. Use of this source code is governed by a |
| 18230 // BSD-style license that can be found in the LICENSE file. | 18842 // BSD-style license that can be found in the LICENSE file. |
| 18231 | 18843 |
| 18232 | 18844 |
| 18233 @DocsEditable | 18845 @DocsEditable |
| 18234 @DomName('HTMLShadowElement') | 18846 @DomName('HTMLShadowElement') |
| 18235 @SupportedBrowser(SupportedBrowser.CHROME, '26') | 18847 @SupportedBrowser(SupportedBrowser.CHROME, '26') |
| 18236 @Experimental | 18848 @Experimental |
| 18849 // https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/shadow/index.html#shad
ow-element |
| 18237 class ShadowElement extends Element native "HTMLShadowElement" { | 18850 class ShadowElement extends Element native "HTMLShadowElement" { |
| 18238 | 18851 |
| 18239 /// Checks if this type is supported on the current platform. | 18852 /// Checks if this type is supported on the current platform. |
| 18240 static bool get supported => Element.isTagSupported('shadow'); | 18853 static bool get supported => Element.isTagSupported('shadow'); |
| 18241 | 18854 |
| 18242 @DomName('HTMLShadowElement.olderShadowRoot') | 18855 @DomName('HTMLShadowElement.olderShadowRoot') |
| 18243 @DocsEditable | 18856 @DocsEditable |
| 18244 final ShadowRoot olderShadowRoot; | 18857 final ShadowRoot olderShadowRoot; |
| 18245 | 18858 |
| 18246 @DomName('HTMLShadowElement.resetStyleInheritance') | 18859 @DomName('HTMLShadowElement.resetStyleInheritance') |
| 18247 @DocsEditable | 18860 @DocsEditable |
| 18248 bool resetStyleInheritance; | 18861 bool resetStyleInheritance; |
| 18249 } | 18862 } |
| 18250 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18863 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18251 // for details. All rights reserved. Use of this source code is governed by a | 18864 // for details. All rights reserved. Use of this source code is governed by a |
| 18252 // BSD-style license that can be found in the LICENSE file. | 18865 // BSD-style license that can be found in the LICENSE file. |
| 18253 | 18866 |
| 18254 // WARNING: Do not edit - generated code. | 18867 // WARNING: Do not edit - generated code. |
| 18255 | 18868 |
| 18256 | 18869 |
| 18257 @DomName('ShadowRoot') | 18870 @DomName('ShadowRoot') |
| 18258 @SupportedBrowser(SupportedBrowser.CHROME, '26') | 18871 @SupportedBrowser(SupportedBrowser.CHROME, '26') |
| 18259 @Experimental | 18872 @Experimental |
| 18873 // https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/shadow/index.html#api-
shadow-root |
| 18260 class ShadowRoot extends DocumentFragment native "ShadowRoot" { | 18874 class ShadowRoot extends DocumentFragment native "ShadowRoot" { |
| 18261 | 18875 |
| 18262 @DomName('ShadowRoot.activeElement') | 18876 @DomName('ShadowRoot.activeElement') |
| 18263 @DocsEditable | 18877 @DocsEditable |
| 18264 final Element activeElement; | 18878 final Element activeElement; |
| 18265 | 18879 |
| 18266 @DomName('ShadowRoot.applyAuthorStyles') | 18880 @DomName('ShadowRoot.applyAuthorStyles') |
| 18267 @DocsEditable | 18881 @DocsEditable |
| 18268 bool applyAuthorStyles; | 18882 bool applyAuthorStyles; |
| 18269 | 18883 |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 18308 static bool get supported => | 18922 static bool get supported => |
| 18309 JS('bool', '!!(Element.prototype.webkitCreateShadowRoot)'); | 18923 JS('bool', '!!(Element.prototype.webkitCreateShadowRoot)'); |
| 18310 } | 18924 } |
| 18311 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18925 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18312 // for details. All rights reserved. Use of this source code is governed by a | 18926 // for details. All rights reserved. Use of this source code is governed by a |
| 18313 // BSD-style license that can be found in the LICENSE file. | 18927 // BSD-style license that can be found in the LICENSE file. |
| 18314 | 18928 |
| 18315 | 18929 |
| 18316 @DocsEditable | 18930 @DocsEditable |
| 18317 @DomName('SourceBuffer') | 18931 @DomName('SourceBuffer') |
| 18932 // https://dvcs.w3.org/hg/html-media/raw-file/tip/media-source/media-source.html
#sourcebuffer |
| 18933 @Experimental |
| 18318 class SourceBuffer native "SourceBuffer" { | 18934 class SourceBuffer native "SourceBuffer" { |
| 18319 | 18935 |
| 18320 @DomName('SourceBuffer.buffered') | 18936 @DomName('SourceBuffer.buffered') |
| 18321 @DocsEditable | 18937 @DocsEditable |
| 18322 final TimeRanges buffered; | 18938 final TimeRanges buffered; |
| 18323 | 18939 |
| 18324 @DomName('SourceBuffer.timestampOffset') | 18940 @DomName('SourceBuffer.timestampOffset') |
| 18325 @DocsEditable | 18941 @DocsEditable |
| 18326 num timestampOffset; | 18942 num timestampOffset; |
| 18327 | 18943 |
| 18328 @DomName('SourceBuffer.abort') | 18944 @DomName('SourceBuffer.abort') |
| 18329 @DocsEditable | 18945 @DocsEditable |
| 18330 void abort() native; | 18946 void abort() native; |
| 18331 | 18947 |
| 18332 @DomName('SourceBuffer.append') | 18948 @DomName('SourceBuffer.append') |
| 18333 @DocsEditable | 18949 @DocsEditable |
| 18950 @Experimental // non-standard |
| 18334 void append(Uint8List data) native; | 18951 void append(Uint8List data) native; |
| 18335 } | 18952 } |
| 18336 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18953 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18337 // for details. All rights reserved. Use of this source code is governed by a | 18954 // for details. All rights reserved. Use of this source code is governed by a |
| 18338 // BSD-style license that can be found in the LICENSE file. | 18955 // BSD-style license that can be found in the LICENSE file. |
| 18339 | 18956 |
| 18340 | 18957 |
| 18341 @DocsEditable | 18958 @DocsEditable |
| 18342 @DomName('SourceBufferList') | 18959 @DomName('SourceBufferList') |
| 18960 // https://dvcs.w3.org/hg/html-media/raw-file/tip/media-source/media-source.html
#sourcebufferlist |
| 18961 @Experimental |
| 18343 class SourceBufferList extends EventTarget with ListMixin<SourceBuffer>, Immutab
leListMixin<SourceBuffer> implements JavaScriptIndexingBehavior, List<SourceBuff
er> native "SourceBufferList" { | 18962 class SourceBufferList extends EventTarget with ListMixin<SourceBuffer>, Immutab
leListMixin<SourceBuffer> implements JavaScriptIndexingBehavior, List<SourceBuff
er> native "SourceBufferList" { |
| 18344 | 18963 |
| 18345 @DomName('SourceBufferList.length') | 18964 @DomName('SourceBufferList.length') |
| 18346 @DocsEditable | 18965 @DocsEditable |
| 18347 int get length => JS("int", "#.length", this); | 18966 int get length => JS("int", "#.length", this); |
| 18348 | 18967 |
| 18349 SourceBuffer operator[](int index) { | 18968 SourceBuffer operator[](int index) { |
| 18350 if (JS("bool", "# >>> 0 !== # || # >= #", index, | 18969 if (JS("bool", "# >>> 0 !== # || # >= #", index, |
| 18351 index, index, length)) | 18970 index, index, length)) |
| 18352 throw new RangeError.range(index, 0, length); | 18971 throw new RangeError.range(index, 0, length); |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 18446 @DocsEditable | 19065 @DocsEditable |
| 18447 factory SpanElement() => document.$dom_createElement("span"); | 19066 factory SpanElement() => document.$dom_createElement("span"); |
| 18448 } | 19067 } |
| 18449 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 19068 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18450 // for details. All rights reserved. Use of this source code is governed by a | 19069 // for details. All rights reserved. Use of this source code is governed by a |
| 18451 // BSD-style license that can be found in the LICENSE file. | 19070 // BSD-style license that can be found in the LICENSE file. |
| 18452 | 19071 |
| 18453 | 19072 |
| 18454 @DocsEditable | 19073 @DocsEditable |
| 18455 @DomName('SpeechGrammar') | 19074 @DomName('SpeechGrammar') |
| 19075 // https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#dfn-speechgramm
ar |
| 19076 @Experimental |
| 18456 class SpeechGrammar native "SpeechGrammar" { | 19077 class SpeechGrammar native "SpeechGrammar" { |
| 18457 | 19078 |
| 18458 @DomName('SpeechGrammar.SpeechGrammar') | 19079 @DomName('SpeechGrammar.SpeechGrammar') |
| 18459 @DocsEditable | 19080 @DocsEditable |
| 18460 factory SpeechGrammar() { | 19081 factory SpeechGrammar() { |
| 18461 return SpeechGrammar._create_1(); | 19082 return SpeechGrammar._create_1(); |
| 18462 } | 19083 } |
| 18463 static SpeechGrammar _create_1() => JS('SpeechGrammar', 'new SpeechGrammar()')
; | 19084 static SpeechGrammar _create_1() => JS('SpeechGrammar', 'new SpeechGrammar()')
; |
| 18464 | 19085 |
| 18465 @DomName('SpeechGrammar.src') | 19086 @DomName('SpeechGrammar.src') |
| 18466 @DocsEditable | 19087 @DocsEditable |
| 18467 String src; | 19088 String src; |
| 18468 | 19089 |
| 18469 @DomName('SpeechGrammar.weight') | 19090 @DomName('SpeechGrammar.weight') |
| 18470 @DocsEditable | 19091 @DocsEditable |
| 18471 num weight; | 19092 num weight; |
| 18472 } | 19093 } |
| 18473 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 19094 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18474 // for details. All rights reserved. Use of this source code is governed by a | 19095 // for details. All rights reserved. Use of this source code is governed by a |
| 18475 // BSD-style license that can be found in the LICENSE file. | 19096 // BSD-style license that can be found in the LICENSE file. |
| 18476 | 19097 |
| 18477 | 19098 |
| 18478 @DocsEditable | 19099 @DocsEditable |
| 18479 @DomName('SpeechGrammarList') | 19100 @DomName('SpeechGrammarList') |
| 19101 // https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#dfn-speechgramm
arlist |
| 19102 @Experimental |
| 18480 class SpeechGrammarList extends Interceptor with ListMixin<SpeechGrammar>, Immut
ableListMixin<SpeechGrammar> implements JavaScriptIndexingBehavior, List<SpeechG
rammar> native "SpeechGrammarList" { | 19103 class SpeechGrammarList extends Interceptor with ListMixin<SpeechGrammar>, Immut
ableListMixin<SpeechGrammar> implements JavaScriptIndexingBehavior, List<SpeechG
rammar> native "SpeechGrammarList" { |
| 18481 | 19104 |
| 18482 @DomName('SpeechGrammarList.SpeechGrammarList') | 19105 @DomName('SpeechGrammarList.SpeechGrammarList') |
| 18483 @DocsEditable | 19106 @DocsEditable |
| 18484 factory SpeechGrammarList() { | 19107 factory SpeechGrammarList() { |
| 18485 return SpeechGrammarList._create_1(); | 19108 return SpeechGrammarList._create_1(); |
| 18486 } | 19109 } |
| 18487 static SpeechGrammarList _create_1() => JS('SpeechGrammarList', 'new SpeechGra
mmarList()'); | 19110 static SpeechGrammarList _create_1() => JS('SpeechGrammarList', 'new SpeechGra
mmarList()'); |
| 18488 | 19111 |
| 18489 @DomName('SpeechGrammarList.length') | 19112 @DomName('SpeechGrammarList.length') |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 18546 @DocsEditable | 19169 @DocsEditable |
| 18547 SpeechGrammar item(int index) native; | 19170 SpeechGrammar item(int index) native; |
| 18548 } | 19171 } |
| 18549 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 19172 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18550 // for details. All rights reserved. Use of this source code is governed by a | 19173 // for details. All rights reserved. Use of this source code is governed by a |
| 18551 // BSD-style license that can be found in the LICENSE file. | 19174 // BSD-style license that can be found in the LICENSE file. |
| 18552 | 19175 |
| 18553 | 19176 |
| 18554 @DocsEditable | 19177 @DocsEditable |
| 18555 @DomName('SpeechInputEvent') | 19178 @DomName('SpeechInputEvent') |
| 19179 // http://lists.w3.org/Archives/Public/public-xg-htmlspeech/2011Feb/att-0020/api
-draft.html#speech_input_event_interface |
| 19180 @Experimental |
| 18556 class SpeechInputEvent extends Event native "SpeechInputEvent" { | 19181 class SpeechInputEvent extends Event native "SpeechInputEvent" { |
| 18557 | 19182 |
| 18558 @DomName('SpeechInputEvent.results') | 19183 @DomName('SpeechInputEvent.results') |
| 18559 @DocsEditable | 19184 @DocsEditable |
| 18560 @Returns('_SpeechInputResultList') | 19185 @Returns('_SpeechInputResultList') |
| 18561 @Creates('_SpeechInputResultList') | 19186 @Creates('_SpeechInputResultList') |
| 18562 final List<SpeechInputResult> results; | 19187 final List<SpeechInputResult> results; |
| 18563 } | 19188 } |
| 18564 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 19189 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18565 // for details. All rights reserved. Use of this source code is governed by a | 19190 // for details. All rights reserved. Use of this source code is governed by a |
| 18566 // BSD-style license that can be found in the LICENSE file. | 19191 // BSD-style license that can be found in the LICENSE file. |
| 18567 | 19192 |
| 18568 | 19193 |
| 18569 @DocsEditable | 19194 @DocsEditable |
| 18570 @DomName('SpeechInputResult') | 19195 @DomName('SpeechInputResult') |
| 19196 // http://lists.w3.org/Archives/Public/public-xg-htmlspeech/2011Feb/att-0020/api
-draft.html#speech_input_result_interface |
| 19197 @Experimental |
| 18571 class SpeechInputResult native "SpeechInputResult" { | 19198 class SpeechInputResult native "SpeechInputResult" { |
| 18572 | 19199 |
| 18573 @DomName('SpeechInputResult.confidence') | 19200 @DomName('SpeechInputResult.confidence') |
| 18574 @DocsEditable | 19201 @DocsEditable |
| 18575 final num confidence; | 19202 final num confidence; |
| 18576 | 19203 |
| 18577 @DomName('SpeechInputResult.utterance') | 19204 @DomName('SpeechInputResult.utterance') |
| 18578 @DocsEditable | 19205 @DocsEditable |
| 18579 final String utterance; | 19206 final String utterance; |
| 18580 } | 19207 } |
| 18581 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 19208 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 18582 // for details. All rights reserved. Use of this source code is governed by a | 19209 // for details. All rights reserved. Use of this source code is governed by a |
| 18583 // BSD-style license that can be found in the LICENSE file. | 19210 // BSD-style license that can be found in the LICENSE file. |
| 18584 | 19211 |
| 18585 | 19212 |
| 18586 @DomName('SpeechRecognition') | 19213 @DomName('SpeechRecognition') |
| 18587 @SupportedBrowser(SupportedBrowser.CHROME, '25') | 19214 @SupportedBrowser(SupportedBrowser.CHROME, '25') |
| 18588 @Experimental | 19215 @Experimental |
| 19216 // https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#speechreco-sect
ion |
| 18589 class SpeechRecognition extends EventTarget native "SpeechRecognition" { | 19217 class SpeechRecognition extends EventTarget native "SpeechRecognition" { |
| 18590 | 19218 |
| 18591 @DomName('SpeechRecognition.audioendEvent') | 19219 @DomName('SpeechRecognition.audioendEvent') |
| 18592 @DocsEditable | 19220 @DocsEditable |
| 18593 static const EventStreamProvider<Event> audioEndEvent = const EventStreamProvi
der<Event>('audioend'); | 19221 static const EventStreamProvider<Event> audioEndEvent = const EventStreamProvi
der<Event>('audioend'); |
| 18594 | 19222 |
| 18595 @DomName('SpeechRecognition.audiostartEvent') | 19223 @DomName('SpeechRecognition.audiostartEvent') |
| 18596 @DocsEditable | 19224 @DocsEditable |
| 18597 static const EventStreamProvider<Event> audioStartEvent = const EventStreamPro
vider<Event>('audiostart'); | 19225 static const EventStreamProvider<Event> audioStartEvent = const EventStreamPro
vider<Event>('audiostart'); |
| 18598 | 19226 |
| (...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 18732 } | 19360 } |
| 18733 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 19361 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18734 // for details. All rights reserved. Use of this source code is governed by a | 19362 // for details. All rights reserved. Use of this source code is governed by a |
| 18735 // BSD-style license that can be found in the LICENSE file. | 19363 // BSD-style license that can be found in the LICENSE file. |
| 18736 | 19364 |
| 18737 | 19365 |
| 18738 @DocsEditable | 19366 @DocsEditable |
| 18739 @DomName('SpeechRecognitionAlternative') | 19367 @DomName('SpeechRecognitionAlternative') |
| 18740 @SupportedBrowser(SupportedBrowser.CHROME, '25') | 19368 @SupportedBrowser(SupportedBrowser.CHROME, '25') |
| 18741 @Experimental | 19369 @Experimental |
| 19370 // https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#speechrecogniti
onalternative |
| 18742 class SpeechRecognitionAlternative native "SpeechRecognitionAlternative" { | 19371 class SpeechRecognitionAlternative native "SpeechRecognitionAlternative" { |
| 18743 | 19372 |
| 18744 @DomName('SpeechRecognitionAlternative.confidence') | 19373 @DomName('SpeechRecognitionAlternative.confidence') |
| 18745 @DocsEditable | 19374 @DocsEditable |
| 18746 final num confidence; | 19375 final num confidence; |
| 18747 | 19376 |
| 18748 @DomName('SpeechRecognitionAlternative.transcript') | 19377 @DomName('SpeechRecognitionAlternative.transcript') |
| 18749 @DocsEditable | 19378 @DocsEditable |
| 18750 final String transcript; | 19379 final String transcript; |
| 18751 } | 19380 } |
| 18752 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 19381 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18753 // for details. All rights reserved. Use of this source code is governed by a | 19382 // for details. All rights reserved. Use of this source code is governed by a |
| 18754 // BSD-style license that can be found in the LICENSE file. | 19383 // BSD-style license that can be found in the LICENSE file. |
| 18755 | 19384 |
| 18756 | 19385 |
| 18757 @DocsEditable | 19386 @DocsEditable |
| 18758 @DomName('SpeechRecognitionError') | 19387 @DomName('SpeechRecognitionError') |
| 18759 @SupportedBrowser(SupportedBrowser.CHROME, '25') | 19388 @SupportedBrowser(SupportedBrowser.CHROME, '25') |
| 18760 @Experimental | 19389 @Experimental |
| 19390 // https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#speechreco-erro
r |
| 18761 class SpeechRecognitionError extends Event native "SpeechRecognitionError" { | 19391 class SpeechRecognitionError extends Event native "SpeechRecognitionError" { |
| 18762 | 19392 |
| 18763 @DomName('SpeechRecognitionError.error') | 19393 @DomName('SpeechRecognitionError.error') |
| 18764 @DocsEditable | 19394 @DocsEditable |
| 18765 final String error; | 19395 final String error; |
| 18766 | 19396 |
| 18767 @DomName('SpeechRecognitionError.message') | 19397 @DomName('SpeechRecognitionError.message') |
| 18768 @DocsEditable | 19398 @DocsEditable |
| 18769 final String message; | 19399 final String message; |
| 18770 } | 19400 } |
| 18771 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 19401 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18772 // for details. All rights reserved. Use of this source code is governed by a | 19402 // for details. All rights reserved. Use of this source code is governed by a |
| 18773 // BSD-style license that can be found in the LICENSE file. | 19403 // BSD-style license that can be found in the LICENSE file. |
| 18774 | 19404 |
| 18775 | 19405 |
| 18776 @DocsEditable | 19406 @DocsEditable |
| 18777 @DomName('SpeechRecognitionEvent') | 19407 @DomName('SpeechRecognitionEvent') |
| 18778 @SupportedBrowser(SupportedBrowser.CHROME, '25') | 19408 @SupportedBrowser(SupportedBrowser.CHROME, '25') |
| 18779 @Experimental | 19409 @Experimental |
| 19410 // https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#speechreco-even
t |
| 18780 class SpeechRecognitionEvent extends Event native "SpeechRecognitionEvent" { | 19411 class SpeechRecognitionEvent extends Event native "SpeechRecognitionEvent" { |
| 18781 | 19412 |
| 18782 @DomName('SpeechRecognitionEvent.emma') | 19413 @DomName('SpeechRecognitionEvent.emma') |
| 18783 @DocsEditable | 19414 @DocsEditable |
| 18784 final Document emma; | 19415 final Document emma; |
| 18785 | 19416 |
| 18786 @DomName('SpeechRecognitionEvent.interpretation') | 19417 @DomName('SpeechRecognitionEvent.interpretation') |
| 18787 @DocsEditable | 19418 @DocsEditable |
| 18788 final Document interpretation; | 19419 final Document interpretation; |
| 18789 | 19420 |
| 18790 @DomName('SpeechRecognitionEvent.resultIndex') | 19421 @DomName('SpeechRecognitionEvent.resultIndex') |
| 18791 @DocsEditable | 19422 @DocsEditable |
| 18792 final int resultIndex; | 19423 final int resultIndex; |
| 18793 | 19424 |
| 18794 @DomName('SpeechRecognitionEvent.results') | 19425 @DomName('SpeechRecognitionEvent.results') |
| 18795 @DocsEditable | 19426 @DocsEditable |
| 18796 @Returns('_SpeechRecognitionResultList') | 19427 @Returns('_SpeechRecognitionResultList') |
| 18797 @Creates('_SpeechRecognitionResultList') | 19428 @Creates('_SpeechRecognitionResultList') |
| 18798 final List<SpeechRecognitionResult> results; | 19429 final List<SpeechRecognitionResult> results; |
| 18799 } | 19430 } |
| 18800 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 19431 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18801 // for details. All rights reserved. Use of this source code is governed by a | 19432 // for details. All rights reserved. Use of this source code is governed by a |
| 18802 // BSD-style license that can be found in the LICENSE file. | 19433 // BSD-style license that can be found in the LICENSE file. |
| 18803 | 19434 |
| 18804 | 19435 |
| 18805 @DocsEditable | 19436 @DocsEditable |
| 18806 @DomName('SpeechRecognitionResult') | 19437 @DomName('SpeechRecognitionResult') |
| 18807 @SupportedBrowser(SupportedBrowser.CHROME, '25') | 19438 @SupportedBrowser(SupportedBrowser.CHROME, '25') |
| 18808 @Experimental | 19439 @Experimental |
| 19440 // https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#speechrecogniti
onresult |
| 18809 class SpeechRecognitionResult native "SpeechRecognitionResult" { | 19441 class SpeechRecognitionResult native "SpeechRecognitionResult" { |
| 18810 | 19442 |
| 18811 @DomName('SpeechRecognitionResult.isFinal') | 19443 @DomName('SpeechRecognitionResult.isFinal') |
| 18812 @DocsEditable | 19444 @DocsEditable |
| 18813 final bool isFinal; | 19445 final bool isFinal; |
| 18814 | 19446 |
| 18815 @DomName('SpeechRecognitionResult.length') | 19447 @DomName('SpeechRecognitionResult.length') |
| 18816 @DocsEditable | 19448 @DocsEditable |
| 18817 final int length; | 19449 final int length; |
| 18818 | 19450 |
| 18819 @DomName('SpeechRecognitionResult.item') | 19451 @DomName('SpeechRecognitionResult.item') |
| 18820 @DocsEditable | 19452 @DocsEditable |
| 18821 SpeechRecognitionAlternative item(int index) native; | 19453 SpeechRecognitionAlternative item(int index) native; |
| 18822 } | 19454 } |
| 18823 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 19455 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18824 // for details. All rights reserved. Use of this source code is governed by a | 19456 // for details. All rights reserved. Use of this source code is governed by a |
| 18825 // BSD-style license that can be found in the LICENSE file. | 19457 // BSD-style license that can be found in the LICENSE file. |
| 18826 | 19458 |
| 18827 | 19459 |
| 18828 @DocsEditable | 19460 @DocsEditable |
| 18829 @DomName('SpeechSynthesis') | 19461 @DomName('SpeechSynthesis') |
| 19462 @Experimental // untriaged |
| 18830 class SpeechSynthesis native "SpeechSynthesis" { | 19463 class SpeechSynthesis native "SpeechSynthesis" { |
| 18831 | 19464 |
| 18832 @DomName('SpeechSynthesis.paused') | 19465 @DomName('SpeechSynthesis.paused') |
| 18833 @DocsEditable | 19466 @DocsEditable |
| 19467 @Experimental // untriaged |
| 18834 final bool paused; | 19468 final bool paused; |
| 18835 | 19469 |
| 18836 @DomName('SpeechSynthesis.pending') | 19470 @DomName('SpeechSynthesis.pending') |
| 18837 @DocsEditable | 19471 @DocsEditable |
| 19472 @Experimental // untriaged |
| 18838 final bool pending; | 19473 final bool pending; |
| 18839 | 19474 |
| 18840 @DomName('SpeechSynthesis.speaking') | 19475 @DomName('SpeechSynthesis.speaking') |
| 18841 @DocsEditable | 19476 @DocsEditable |
| 19477 @Experimental // untriaged |
| 18842 final bool speaking; | 19478 final bool speaking; |
| 18843 | 19479 |
| 18844 @DomName('SpeechSynthesis.cancel') | 19480 @DomName('SpeechSynthesis.cancel') |
| 18845 @DocsEditable | 19481 @DocsEditable |
| 19482 @Experimental // untriaged |
| 18846 void cancel() native; | 19483 void cancel() native; |
| 18847 | 19484 |
| 18848 @DomName('SpeechSynthesis.getVoices') | 19485 @DomName('SpeechSynthesis.getVoices') |
| 18849 @DocsEditable | 19486 @DocsEditable |
| 19487 @Experimental // untriaged |
| 18850 List<SpeechSynthesisVoice> getVoices() native; | 19488 List<SpeechSynthesisVoice> getVoices() native; |
| 18851 | 19489 |
| 18852 @DomName('SpeechSynthesis.pause') | 19490 @DomName('SpeechSynthesis.pause') |
| 18853 @DocsEditable | 19491 @DocsEditable |
| 19492 @Experimental // untriaged |
| 18854 void pause() native; | 19493 void pause() native; |
| 18855 | 19494 |
| 18856 @DomName('SpeechSynthesis.resume') | 19495 @DomName('SpeechSynthesis.resume') |
| 18857 @DocsEditable | 19496 @DocsEditable |
| 19497 @Experimental // untriaged |
| 18858 void resume() native; | 19498 void resume() native; |
| 18859 | 19499 |
| 18860 @DomName('SpeechSynthesis.speak') | 19500 @DomName('SpeechSynthesis.speak') |
| 18861 @DocsEditable | 19501 @DocsEditable |
| 19502 @Experimental // untriaged |
| 18862 void speak(SpeechSynthesisUtterance utterance) native; | 19503 void speak(SpeechSynthesisUtterance utterance) native; |
| 18863 } | 19504 } |
| 18864 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 19505 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18865 // for details. All rights reserved. Use of this source code is governed by a | 19506 // for details. All rights reserved. Use of this source code is governed by a |
| 18866 // BSD-style license that can be found in the LICENSE file. | 19507 // BSD-style license that can be found in the LICENSE file. |
| 18867 | 19508 |
| 18868 | 19509 |
| 18869 @DocsEditable | 19510 @DocsEditable |
| 18870 @DomName('SpeechSynthesisEvent') | 19511 @DomName('SpeechSynthesisEvent') |
| 19512 @Experimental // untriaged |
| 18871 class SpeechSynthesisEvent extends Event native "SpeechSynthesisEvent" { | 19513 class SpeechSynthesisEvent extends Event native "SpeechSynthesisEvent" { |
| 18872 | 19514 |
| 18873 @DomName('SpeechSynthesisEvent.charIndex') | 19515 @DomName('SpeechSynthesisEvent.charIndex') |
| 18874 @DocsEditable | 19516 @DocsEditable |
| 19517 @Experimental // untriaged |
| 18875 final int charIndex; | 19518 final int charIndex; |
| 18876 | 19519 |
| 18877 @DomName('SpeechSynthesisEvent.elapsedTime') | 19520 @DomName('SpeechSynthesisEvent.elapsedTime') |
| 18878 @DocsEditable | 19521 @DocsEditable |
| 19522 @Experimental // untriaged |
| 18879 final num elapsedTime; | 19523 final num elapsedTime; |
| 18880 | 19524 |
| 18881 @DomName('SpeechSynthesisEvent.name') | 19525 @DomName('SpeechSynthesisEvent.name') |
| 18882 @DocsEditable | 19526 @DocsEditable |
| 19527 @Experimental // untriaged |
| 18883 final String name; | 19528 final String name; |
| 18884 } | 19529 } |
| 18885 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 19530 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18886 // for details. All rights reserved. Use of this source code is governed by a | 19531 // for details. All rights reserved. Use of this source code is governed by a |
| 18887 // BSD-style license that can be found in the LICENSE file. | 19532 // BSD-style license that can be found in the LICENSE file. |
| 18888 | 19533 |
| 18889 | 19534 |
| 18890 @DocsEditable | 19535 @DocsEditable |
| 18891 @DomName('SpeechSynthesisUtterance') | 19536 @DomName('SpeechSynthesisUtterance') |
| 19537 @Experimental // untriaged |
| 18892 class SpeechSynthesisUtterance extends EventTarget native "SpeechSynthesisUttera
nce" { | 19538 class SpeechSynthesisUtterance extends EventTarget native "SpeechSynthesisUttera
nce" { |
| 18893 | 19539 |
| 18894 @DomName('SpeechSynthesisUtterance.boundaryEvent') | 19540 @DomName('SpeechSynthesisUtterance.boundaryEvent') |
| 18895 @DocsEditable | 19541 @DocsEditable |
| 19542 @Experimental // untriaged |
| 18896 static const EventStreamProvider<SpeechSynthesisEvent> boundaryEvent = const E
ventStreamProvider<SpeechSynthesisEvent>('boundary'); | 19543 static const EventStreamProvider<SpeechSynthesisEvent> boundaryEvent = const E
ventStreamProvider<SpeechSynthesisEvent>('boundary'); |
| 18897 | 19544 |
| 18898 @DomName('SpeechSynthesisUtterance.endEvent') | 19545 @DomName('SpeechSynthesisUtterance.endEvent') |
| 18899 @DocsEditable | 19546 @DocsEditable |
| 19547 @Experimental // untriaged |
| 18900 static const EventStreamProvider<SpeechSynthesisEvent> endEvent = const EventS
treamProvider<SpeechSynthesisEvent>('end'); | 19548 static const EventStreamProvider<SpeechSynthesisEvent> endEvent = const EventS
treamProvider<SpeechSynthesisEvent>('end'); |
| 18901 | 19549 |
| 18902 @DomName('SpeechSynthesisUtterance.errorEvent') | 19550 @DomName('SpeechSynthesisUtterance.errorEvent') |
| 18903 @DocsEditable | 19551 @DocsEditable |
| 19552 @Experimental // untriaged |
| 18904 static const EventStreamProvider<Event> errorEvent = const EventStreamProvider
<Event>('error'); | 19553 static const EventStreamProvider<Event> errorEvent = const EventStreamProvider
<Event>('error'); |
| 18905 | 19554 |
| 18906 @DomName('SpeechSynthesisUtterance.markEvent') | 19555 @DomName('SpeechSynthesisUtterance.markEvent') |
| 18907 @DocsEditable | 19556 @DocsEditable |
| 19557 @Experimental // untriaged |
| 18908 static const EventStreamProvider<SpeechSynthesisEvent> markEvent = const Event
StreamProvider<SpeechSynthesisEvent>('mark'); | 19558 static const EventStreamProvider<SpeechSynthesisEvent> markEvent = const Event
StreamProvider<SpeechSynthesisEvent>('mark'); |
| 18909 | 19559 |
| 18910 @DomName('SpeechSynthesisUtterance.pauseEvent') | 19560 @DomName('SpeechSynthesisUtterance.pauseEvent') |
| 18911 @DocsEditable | 19561 @DocsEditable |
| 19562 @Experimental // untriaged |
| 18912 static const EventStreamProvider<Event> pauseEvent = const EventStreamProvider
<Event>('pause'); | 19563 static const EventStreamProvider<Event> pauseEvent = const EventStreamProvider
<Event>('pause'); |
| 18913 | 19564 |
| 18914 @DomName('SpeechSynthesisUtterance.resumeEvent') | 19565 @DomName('SpeechSynthesisUtterance.resumeEvent') |
| 18915 @DocsEditable | 19566 @DocsEditable |
| 19567 @Experimental // untriaged |
| 18916 static const EventStreamProvider<SpeechSynthesisEvent> resumeEvent = const Eve
ntStreamProvider<SpeechSynthesisEvent>('resume'); | 19568 static const EventStreamProvider<SpeechSynthesisEvent> resumeEvent = const Eve
ntStreamProvider<SpeechSynthesisEvent>('resume'); |
| 18917 | 19569 |
| 18918 @DomName('SpeechSynthesisUtterance.startEvent') | 19570 @DomName('SpeechSynthesisUtterance.startEvent') |
| 18919 @DocsEditable | 19571 @DocsEditable |
| 19572 @Experimental // untriaged |
| 18920 static const EventStreamProvider<SpeechSynthesisEvent> startEvent = const Even
tStreamProvider<SpeechSynthesisEvent>('start'); | 19573 static const EventStreamProvider<SpeechSynthesisEvent> startEvent = const Even
tStreamProvider<SpeechSynthesisEvent>('start'); |
| 18921 | 19574 |
| 18922 @DomName('SpeechSynthesisUtterance.SpeechSynthesisUtterance') | 19575 @DomName('SpeechSynthesisUtterance.SpeechSynthesisUtterance') |
| 18923 @DocsEditable | 19576 @DocsEditable |
| 18924 factory SpeechSynthesisUtterance([String text]) { | 19577 factory SpeechSynthesisUtterance([String text]) { |
| 18925 if (?text) { | 19578 if (?text) { |
| 18926 return SpeechSynthesisUtterance._create_1(text); | 19579 return SpeechSynthesisUtterance._create_1(text); |
| 18927 } | 19580 } |
| 18928 return SpeechSynthesisUtterance._create_2(); | 19581 return SpeechSynthesisUtterance._create_2(); |
| 18929 } | 19582 } |
| 18930 static SpeechSynthesisUtterance _create_1(text) => JS('SpeechSynthesisUtteranc
e', 'new SpeechSynthesisUtterance(#)', text); | 19583 static SpeechSynthesisUtterance _create_1(text) => JS('SpeechSynthesisUtteranc
e', 'new SpeechSynthesisUtterance(#)', text); |
| 18931 static SpeechSynthesisUtterance _create_2() => JS('SpeechSynthesisUtterance',
'new SpeechSynthesisUtterance()'); | 19584 static SpeechSynthesisUtterance _create_2() => JS('SpeechSynthesisUtterance',
'new SpeechSynthesisUtterance()'); |
| 18932 | 19585 |
| 18933 @DomName('SpeechSynthesisUtterance.lang') | 19586 @DomName('SpeechSynthesisUtterance.lang') |
| 18934 @DocsEditable | 19587 @DocsEditable |
| 19588 @Experimental // untriaged |
| 18935 String lang; | 19589 String lang; |
| 18936 | 19590 |
| 18937 @DomName('SpeechSynthesisUtterance.pitch') | 19591 @DomName('SpeechSynthesisUtterance.pitch') |
| 18938 @DocsEditable | 19592 @DocsEditable |
| 19593 @Experimental // untriaged |
| 18939 num pitch; | 19594 num pitch; |
| 18940 | 19595 |
| 18941 @DomName('SpeechSynthesisUtterance.rate') | 19596 @DomName('SpeechSynthesisUtterance.rate') |
| 18942 @DocsEditable | 19597 @DocsEditable |
| 19598 @Experimental // untriaged |
| 18943 num rate; | 19599 num rate; |
| 18944 | 19600 |
| 18945 @DomName('SpeechSynthesisUtterance.text') | 19601 @DomName('SpeechSynthesisUtterance.text') |
| 18946 @DocsEditable | 19602 @DocsEditable |
| 19603 @Experimental // untriaged |
| 18947 String text; | 19604 String text; |
| 18948 | 19605 |
| 18949 @DomName('SpeechSynthesisUtterance.voice') | 19606 @DomName('SpeechSynthesisUtterance.voice') |
| 18950 @DocsEditable | 19607 @DocsEditable |
| 19608 @Experimental // untriaged |
| 18951 SpeechSynthesisVoice voice; | 19609 SpeechSynthesisVoice voice; |
| 18952 | 19610 |
| 18953 @DomName('SpeechSynthesisUtterance.volume') | 19611 @DomName('SpeechSynthesisUtterance.volume') |
| 18954 @DocsEditable | 19612 @DocsEditable |
| 19613 @Experimental // untriaged |
| 18955 num volume; | 19614 num volume; |
| 18956 | 19615 |
| 18957 @DomName('SpeechSynthesisUtterance.onboundary') | 19616 @DomName('SpeechSynthesisUtterance.onboundary') |
| 18958 @DocsEditable | 19617 @DocsEditable |
| 19618 @Experimental // untriaged |
| 18959 Stream<SpeechSynthesisEvent> get onBoundary => boundaryEvent.forTarget(this); | 19619 Stream<SpeechSynthesisEvent> get onBoundary => boundaryEvent.forTarget(this); |
| 18960 | 19620 |
| 18961 @DomName('SpeechSynthesisUtterance.onend') | 19621 @DomName('SpeechSynthesisUtterance.onend') |
| 18962 @DocsEditable | 19622 @DocsEditable |
| 19623 @Experimental // untriaged |
| 18963 Stream<SpeechSynthesisEvent> get onEnd => endEvent.forTarget(this); | 19624 Stream<SpeechSynthesisEvent> get onEnd => endEvent.forTarget(this); |
| 18964 | 19625 |
| 18965 @DomName('SpeechSynthesisUtterance.onerror') | 19626 @DomName('SpeechSynthesisUtterance.onerror') |
| 18966 @DocsEditable | 19627 @DocsEditable |
| 19628 @Experimental // untriaged |
| 18967 Stream<Event> get onError => errorEvent.forTarget(this); | 19629 Stream<Event> get onError => errorEvent.forTarget(this); |
| 18968 | 19630 |
| 18969 @DomName('SpeechSynthesisUtterance.onmark') | 19631 @DomName('SpeechSynthesisUtterance.onmark') |
| 18970 @DocsEditable | 19632 @DocsEditable |
| 19633 @Experimental // untriaged |
| 18971 Stream<SpeechSynthesisEvent> get onMark => markEvent.forTarget(this); | 19634 Stream<SpeechSynthesisEvent> get onMark => markEvent.forTarget(this); |
| 18972 | 19635 |
| 18973 @DomName('SpeechSynthesisUtterance.onpause') | 19636 @DomName('SpeechSynthesisUtterance.onpause') |
| 18974 @DocsEditable | 19637 @DocsEditable |
| 19638 @Experimental // untriaged |
| 18975 Stream<Event> get onPause => pauseEvent.forTarget(this); | 19639 Stream<Event> get onPause => pauseEvent.forTarget(this); |
| 18976 | 19640 |
| 18977 @DomName('SpeechSynthesisUtterance.onresume') | 19641 @DomName('SpeechSynthesisUtterance.onresume') |
| 18978 @DocsEditable | 19642 @DocsEditable |
| 19643 @Experimental // untriaged |
| 18979 Stream<SpeechSynthesisEvent> get onResume => resumeEvent.forTarget(this); | 19644 Stream<SpeechSynthesisEvent> get onResume => resumeEvent.forTarget(this); |
| 18980 | 19645 |
| 18981 @DomName('SpeechSynthesisUtterance.onstart') | 19646 @DomName('SpeechSynthesisUtterance.onstart') |
| 18982 @DocsEditable | 19647 @DocsEditable |
| 19648 @Experimental // untriaged |
| 18983 Stream<SpeechSynthesisEvent> get onStart => startEvent.forTarget(this); | 19649 Stream<SpeechSynthesisEvent> get onStart => startEvent.forTarget(this); |
| 18984 } | 19650 } |
| 18985 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 19651 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18986 // for details. All rights reserved. Use of this source code is governed by a | 19652 // for details. All rights reserved. Use of this source code is governed by a |
| 18987 // BSD-style license that can be found in the LICENSE file. | 19653 // BSD-style license that can be found in the LICENSE file. |
| 18988 | 19654 |
| 18989 | 19655 |
| 18990 @DocsEditable | 19656 @DocsEditable |
| 18991 @DomName('SpeechSynthesisVoice') | 19657 @DomName('SpeechSynthesisVoice') |
| 19658 @Experimental // untriaged |
| 18992 class SpeechSynthesisVoice native "SpeechSynthesisVoice" { | 19659 class SpeechSynthesisVoice native "SpeechSynthesisVoice" { |
| 18993 | 19660 |
| 18994 @JSName('default') | 19661 @JSName('default') |
| 18995 @DomName('SpeechSynthesisVoice.default') | 19662 @DomName('SpeechSynthesisVoice.default') |
| 18996 @DocsEditable | 19663 @DocsEditable |
| 19664 @Experimental // untriaged |
| 18997 final bool defaultValue; | 19665 final bool defaultValue; |
| 18998 | 19666 |
| 18999 @DomName('SpeechSynthesisVoice.lang') | 19667 @DomName('SpeechSynthesisVoice.lang') |
| 19000 @DocsEditable | 19668 @DocsEditable |
| 19669 @Experimental // untriaged |
| 19001 final String lang; | 19670 final String lang; |
| 19002 | 19671 |
| 19003 @DomName('SpeechSynthesisVoice.localService') | 19672 @DomName('SpeechSynthesisVoice.localService') |
| 19004 @DocsEditable | 19673 @DocsEditable |
| 19674 @Experimental // untriaged |
| 19005 final bool localService; | 19675 final bool localService; |
| 19006 | 19676 |
| 19007 @DomName('SpeechSynthesisVoice.name') | 19677 @DomName('SpeechSynthesisVoice.name') |
| 19008 @DocsEditable | 19678 @DocsEditable |
| 19679 @Experimental // untriaged |
| 19009 final String name; | 19680 final String name; |
| 19010 | 19681 |
| 19011 @JSName('voiceURI') | 19682 @JSName('voiceURI') |
| 19012 @DomName('SpeechSynthesisVoice.voiceURI') | 19683 @DomName('SpeechSynthesisVoice.voiceURI') |
| 19013 @DocsEditable | 19684 @DocsEditable |
| 19685 @Experimental // untriaged |
| 19014 final String voiceUri; | 19686 final String voiceUri; |
| 19015 } | 19687 } |
| 19016 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 19688 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19017 // for details. All rights reserved. Use of this source code is governed by a | 19689 // for details. All rights reserved. Use of this source code is governed by a |
| 19018 // BSD-style license that can be found in the LICENSE file. | 19690 // BSD-style license that can be found in the LICENSE file. |
| 19019 | 19691 |
| 19020 | 19692 |
| 19021 /** | 19693 /** |
| 19022 * The type used by the | 19694 * The type used by the |
| 19023 * [Window.localStorage] and [Window.sessionStorage] properties. | 19695 * [Window.localStorage] and [Window.sessionStorage] properties. |
| (...skipping 13 matching lines...) Expand all Loading... |
| 19037 * window.localStorage.clear(); | 19709 * window.localStorage.clear(); |
| 19038 * assert(window.localStorage.length == 0); | 19710 * assert(window.localStorage.length == 0); |
| 19039 * | 19711 * |
| 19040 * For more examples of using this API, see | 19712 * For more examples of using this API, see |
| 19041 * [localstorage_test.dart](http://code.google.com/p/dart/source/browse/branches
/bleeding_edge/dart/tests/html/localstorage_test.dart). | 19713 * [localstorage_test.dart](http://code.google.com/p/dart/source/browse/branches
/bleeding_edge/dart/tests/html/localstorage_test.dart). |
| 19042 * For details on using the Map API, see the | 19714 * For details on using the Map API, see the |
| 19043 * [Maps](http://www.dartlang.org/docs/library-tour/#maps-aka-dictionaries-or-ha
shes) | 19715 * [Maps](http://www.dartlang.org/docs/library-tour/#maps-aka-dictionaries-or-ha
shes) |
| 19044 * section of the library tour. | 19716 * section of the library tour. |
| 19045 */ | 19717 */ |
| 19046 @DomName('Storage') | 19718 @DomName('Storage') |
| 19719 @Unstable |
| 19047 class Storage implements Map<String, String> | 19720 class Storage implements Map<String, String> |
| 19048 native "Storage" { | 19721 native "Storage" { |
| 19049 | 19722 |
| 19050 // TODO(nweiz): update this when maps support lazy iteration | 19723 // TODO(nweiz): update this when maps support lazy iteration |
| 19051 bool containsValue(String value) => values.any((e) => e == value); | 19724 bool containsValue(String value) => values.any((e) => e == value); |
| 19052 | 19725 |
| 19053 bool containsKey(String key) => $dom_getItem(key) != null; | 19726 bool containsKey(String key) => $dom_getItem(key) != null; |
| 19054 | 19727 |
| 19055 String operator [](String key) => $dom_getItem(key); | 19728 String operator [](String key) => $dom_getItem(key); |
| 19056 | 19729 |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 19125 void $dom_setItem(String key, String data) native; | 19798 void $dom_setItem(String key, String data) native; |
| 19126 | 19799 |
| 19127 } | 19800 } |
| 19128 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 19801 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19129 // for details. All rights reserved. Use of this source code is governed by a | 19802 // for details. All rights reserved. Use of this source code is governed by a |
| 19130 // BSD-style license that can be found in the LICENSE file. | 19803 // BSD-style license that can be found in the LICENSE file. |
| 19131 | 19804 |
| 19132 // WARNING: Do not edit - generated code. | 19805 // WARNING: Do not edit - generated code. |
| 19133 | 19806 |
| 19134 | 19807 |
| 19808 @DomName('StorageErrorCallback') |
| 19809 // http://www.w3.org/TR/quota-api/#storageerrorcallback-callback |
| 19810 @Experimental |
| 19135 typedef void StorageErrorCallback(DomException error); | 19811 typedef void StorageErrorCallback(DomException error); |
| 19136 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 19812 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 19137 // for details. All rights reserved. Use of this source code is governed by a | 19813 // for details. All rights reserved. Use of this source code is governed by a |
| 19138 // BSD-style license that can be found in the LICENSE file. | 19814 // BSD-style license that can be found in the LICENSE file. |
| 19139 | 19815 |
| 19140 // WARNING: Do not edit - generated code. | 19816 // WARNING: Do not edit - generated code. |
| 19141 | 19817 |
| 19142 | 19818 |
| 19143 @DomName('StorageEvent') | 19819 @DomName('StorageEvent') |
| 19820 @Unstable |
| 19144 class StorageEvent extends Event native "StorageEvent" { | 19821 class StorageEvent extends Event native "StorageEvent" { |
| 19145 factory StorageEvent(String type, | 19822 factory StorageEvent(String type, |
| 19146 {bool canBubble: false, bool cancelable: false, String key, String oldValue, | 19823 {bool canBubble: false, bool cancelable: false, String key, String oldValue, |
| 19147 String newValue, String url, Storage storageArea}) { | 19824 String newValue, String url, Storage storageArea}) { |
| 19148 | 19825 |
| 19149 var e = document.$dom_createEvent("StorageEvent"); | 19826 var e = document.$dom_createEvent("StorageEvent"); |
| 19150 e.$dom_initStorageEvent(type, canBubble, cancelable, key, oldValue, | 19827 e.$dom_initStorageEvent(type, canBubble, cancelable, key, oldValue, |
| 19151 newValue, url, storageArea); | 19828 newValue, url, storageArea); |
| 19152 return e; | 19829 return e; |
| 19153 } | 19830 } |
| (...skipping 23 matching lines...) Expand all Loading... |
| 19177 @DocsEditable | 19854 @DocsEditable |
| 19178 void $dom_initStorageEvent(String typeArg, bool canBubbleArg, bool cancelableA
rg, String keyArg, String oldValueArg, String newValueArg, String urlArg, Storag
e storageAreaArg) native; | 19855 void $dom_initStorageEvent(String typeArg, bool canBubbleArg, bool cancelableA
rg, String keyArg, String oldValueArg, String newValueArg, String urlArg, Storag
e storageAreaArg) native; |
| 19179 | 19856 |
| 19180 } | 19857 } |
| 19181 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 19858 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 19182 // for details. All rights reserved. Use of this source code is governed by a | 19859 // for details. All rights reserved. Use of this source code is governed by a |
| 19183 // BSD-style license that can be found in the LICENSE file. | 19860 // BSD-style license that can be found in the LICENSE file. |
| 19184 | 19861 |
| 19185 | 19862 |
| 19186 @DomName('StorageInfo') | 19863 @DomName('StorageInfo') |
| 19864 // http://www.w3.org/TR/file-system-api/ |
| 19865 @Experimental |
| 19187 class StorageInfo native "StorageInfo" { | 19866 class StorageInfo native "StorageInfo" { |
| 19188 | 19867 |
| 19189 @DomName('StorageInfo.PERSISTENT') | 19868 @DomName('StorageInfo.PERSISTENT') |
| 19190 @DocsEditable | 19869 @DocsEditable |
| 19191 static const int PERSISTENT = 1; | 19870 static const int PERSISTENT = 1; |
| 19192 | 19871 |
| 19193 @DomName('StorageInfo.TEMPORARY') | 19872 @DomName('StorageInfo.TEMPORARY') |
| 19194 @DocsEditable | 19873 @DocsEditable |
| 19195 static const int TEMPORARY = 0; | 19874 static const int TEMPORARY = 0; |
| 19196 | 19875 |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 19236 final int currentQuotaInBytes; | 19915 final int currentQuotaInBytes; |
| 19237 const StorageInfoUsage(this.currentUsageInBytes, this.currentQuotaInBytes); | 19916 const StorageInfoUsage(this.currentUsageInBytes, this.currentQuotaInBytes); |
| 19238 } | 19917 } |
| 19239 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 19918 // 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 | 19919 // 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. | 19920 // BSD-style license that can be found in the LICENSE file. |
| 19242 | 19921 |
| 19243 | 19922 |
| 19244 @DocsEditable | 19923 @DocsEditable |
| 19245 @DomName('StorageQuota') | 19924 @DomName('StorageQuota') |
| 19925 // http://www.w3.org/TR/quota-api/#idl-def-StorageQuota |
| 19926 @Experimental |
| 19246 class StorageQuota native "StorageQuota" { | 19927 class StorageQuota native "StorageQuota" { |
| 19247 | 19928 |
| 19248 @DomName('StorageQuota.queryUsageAndQuota') | 19929 @DomName('StorageQuota.queryUsageAndQuota') |
| 19249 @DocsEditable | 19930 @DocsEditable |
| 19250 void queryUsageAndQuota(StorageUsageCallback usageCallback, [StorageErrorCallb
ack errorCallback]) native; | 19931 void queryUsageAndQuota(StorageUsageCallback usageCallback, [StorageErrorCallb
ack errorCallback]) native; |
| 19251 | 19932 |
| 19252 @DomName('StorageQuota.requestQuota') | 19933 @DomName('StorageQuota.requestQuota') |
| 19253 @DocsEditable | 19934 @DocsEditable |
| 19254 void requestQuota(int newQuotaInBytes, [StorageQuotaCallback quotaCallback, St
orageErrorCallback errorCallback]) native; | 19935 void requestQuota(int newQuotaInBytes, [StorageQuotaCallback quotaCallback, St
orageErrorCallback errorCallback]) native; |
| 19255 } | 19936 } |
| 19256 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 19937 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19257 // for details. All rights reserved. Use of this source code is governed by a | 19938 // for details. All rights reserved. Use of this source code is governed by a |
| 19258 // BSD-style license that can be found in the LICENSE file. | 19939 // BSD-style license that can be found in the LICENSE file. |
| 19259 | 19940 |
| 19260 // WARNING: Do not edit - generated code. | 19941 // WARNING: Do not edit - generated code. |
| 19261 | 19942 |
| 19262 | 19943 |
| 19944 @DomName('StorageQuotaCallback') |
| 19945 // http://www.w3.org/TR/quota-api/#idl-def-StorageQuotaCallback |
| 19946 @Experimental |
| 19263 typedef void StorageQuotaCallback(int grantedQuotaInBytes); | 19947 typedef void StorageQuotaCallback(int grantedQuotaInBytes); |
| 19264 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 19948 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19265 // for details. All rights reserved. Use of this source code is governed by a | 19949 // for details. All rights reserved. Use of this source code is governed by a |
| 19266 // BSD-style license that can be found in the LICENSE file. | 19950 // BSD-style license that can be found in the LICENSE file. |
| 19267 | 19951 |
| 19268 // WARNING: Do not edit - generated code. | 19952 // WARNING: Do not edit - generated code. |
| 19269 | 19953 |
| 19270 | 19954 |
| 19955 @DomName('StorageUsageCallback') |
| 19956 // http://www.w3.org/TR/quota-api/#idl-def-StorageUsageCallback |
| 19957 @Experimental |
| 19271 typedef void StorageUsageCallback(int currentUsageInBytes, int currentQuotaInByt
es); | 19958 typedef void StorageUsageCallback(int currentUsageInBytes, int currentQuotaInByt
es); |
| 19272 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 19959 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19273 // for details. All rights reserved. Use of this source code is governed by a | 19960 // for details. All rights reserved. Use of this source code is governed by a |
| 19274 // BSD-style license that can be found in the LICENSE file. | 19961 // BSD-style license that can be found in the LICENSE file. |
| 19275 | 19962 |
| 19276 // WARNING: Do not edit - generated code. | 19963 // WARNING: Do not edit - generated code. |
| 19277 | 19964 |
| 19278 | 19965 |
| 19966 @DomName('StringCallback') |
| 19967 // http://www.w3.org/TR/2011/WD-html5-20110113/dnd.html#the-datatransferitem-int
erface |
| 19968 @Experimental |
| 19279 typedef void _StringCallback(String data); | 19969 typedef void _StringCallback(String data); |
| 19280 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 19970 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19281 // for details. All rights reserved. Use of this source code is governed by a | 19971 // for details. All rights reserved. Use of this source code is governed by a |
| 19282 // BSD-style license that can be found in the LICENSE file. | 19972 // BSD-style license that can be found in the LICENSE file. |
| 19283 | 19973 |
| 19284 | 19974 |
| 19285 @DocsEditable | 19975 @DocsEditable |
| 19286 @DomName('HTMLStyleElement') | 19976 @DomName('HTMLStyleElement') |
| 19287 class StyleElement extends Element native "HTMLStyleElement" { | 19977 class StyleElement extends Element native "HTMLStyleElement" { |
| 19288 | 19978 |
| (...skipping 21 matching lines...) Expand all Loading... |
| 19310 @DocsEditable | 20000 @DocsEditable |
| 19311 String type; | 20001 String type; |
| 19312 } | 20002 } |
| 19313 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 20003 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19314 // for details. All rights reserved. Use of this source code is governed by a | 20004 // for details. All rights reserved. Use of this source code is governed by a |
| 19315 // BSD-style license that can be found in the LICENSE file. | 20005 // BSD-style license that can be found in the LICENSE file. |
| 19316 | 20006 |
| 19317 | 20007 |
| 19318 @DocsEditable | 20008 @DocsEditable |
| 19319 @DomName('StyleMedia') | 20009 @DomName('StyleMedia') |
| 20010 // http://developer.apple.com/library/safari/#documentation/SafariDOMAdditions/R
eference/StyleMedia/StyleMedia/StyleMedia.html |
| 20011 @Experimental // nonstandard |
| 19320 class StyleMedia native "StyleMedia" { | 20012 class StyleMedia native "StyleMedia" { |
| 19321 | 20013 |
| 19322 @DomName('StyleMedia.type') | 20014 @DomName('StyleMedia.type') |
| 19323 @DocsEditable | 20015 @DocsEditable |
| 19324 final String type; | 20016 final String type; |
| 19325 | 20017 |
| 19326 @DomName('StyleMedia.matchMedium') | 20018 @DomName('StyleMedia.matchMedium') |
| 19327 @DocsEditable | 20019 @DocsEditable |
| 19328 bool matchMedium(String mediaquery) native; | 20020 bool matchMedium(String mediaquery) native; |
| 19329 } | 20021 } |
| (...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 19462 @JSName('createTBody') | 20154 @JSName('createTBody') |
| 19463 TableSectionElement _createTBody() native; | 20155 TableSectionElement _createTBody() native; |
| 19464 | 20156 |
| 19465 | 20157 |
| 19466 @DomName('HTMLTableElement.HTMLTableElement') | 20158 @DomName('HTMLTableElement.HTMLTableElement') |
| 19467 @DocsEditable | 20159 @DocsEditable |
| 19468 factory TableElement() => document.$dom_createElement("table"); | 20160 factory TableElement() => document.$dom_createElement("table"); |
| 19469 | 20161 |
| 19470 @DomName('HTMLTableElement.border') | 20162 @DomName('HTMLTableElement.border') |
| 19471 @DocsEditable | 20163 @DocsEditable |
| 20164 // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#H
TMLTableElement-partial |
| 20165 @deprecated // deprecated |
| 19472 String border; | 20166 String border; |
| 19473 | 20167 |
| 19474 @DomName('HTMLTableElement.caption') | 20168 @DomName('HTMLTableElement.caption') |
| 19475 @DocsEditable | 20169 @DocsEditable |
| 19476 TableCaptionElement caption; | 20170 TableCaptionElement caption; |
| 19477 | 20171 |
| 19478 @JSName('rows') | 20172 @JSName('rows') |
| 19479 @DomName('HTMLTableElement.rows') | 20173 @DomName('HTMLTableElement.rows') |
| 19480 @DocsEditable | 20174 @DocsEditable |
| 19481 final HtmlCollection $dom_rows; | 20175 final HtmlCollection $dom_rows; |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 19613 // for details. All rights reserved. Use of this source code is governed by a | 20307 // for details. All rights reserved. Use of this source code is governed by a |
| 19614 // BSD-style license that can be found in the LICENSE file. | 20308 // BSD-style license that can be found in the LICENSE file. |
| 19615 | 20309 |
| 19616 // WARNING: Do not edit - generated code. | 20310 // WARNING: Do not edit - generated code. |
| 19617 | 20311 |
| 19618 | 20312 |
| 19619 @Experimental | 20313 @Experimental |
| 19620 @DomName('HTMLTemplateElement') | 20314 @DomName('HTMLTemplateElement') |
| 19621 @SupportedBrowser(SupportedBrowser.CHROME) | 20315 @SupportedBrowser(SupportedBrowser.CHROME) |
| 19622 @Experimental | 20316 @Experimental |
| 20317 // https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/templates/index.html#t
emplate-element |
| 19623 class TemplateElement extends Element native "HTMLTemplateElement" { | 20318 class TemplateElement extends Element native "HTMLTemplateElement" { |
| 19624 | 20319 |
| 19625 @DomName('HTMLTemplateElement.HTMLTemplateElement') | 20320 @DomName('HTMLTemplateElement.HTMLTemplateElement') |
| 19626 @DocsEditable | 20321 @DocsEditable |
| 19627 factory TemplateElement() => document.$dom_createElement("template"); | 20322 factory TemplateElement() => document.$dom_createElement("template"); |
| 19628 | 20323 |
| 19629 /// Checks if this type is supported on the current platform. | 20324 /// Checks if this type is supported on the current platform. |
| 19630 static bool get supported => Element.isTagSupported('template'); | 20325 static bool get supported => Element.isTagSupported('template'); |
| 19631 | 20326 |
| 19632 @JSName('content') | 20327 @JSName('content') |
| (...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 19768 @DomName('Text') | 20463 @DomName('Text') |
| 19769 class Text extends CharacterData native "Text" { | 20464 class Text extends CharacterData native "Text" { |
| 19770 factory Text(String data) => _TextFactoryProvider.createText(data); | 20465 factory Text(String data) => _TextFactoryProvider.createText(data); |
| 19771 | 20466 |
| 19772 @JSName('webkitInsertionParent') | 20467 @JSName('webkitInsertionParent') |
| 19773 @DomName('Text.webkitInsertionParent') | 20468 @DomName('Text.webkitInsertionParent') |
| 19774 @DocsEditable | 20469 @DocsEditable |
| 19775 @SupportedBrowser(SupportedBrowser.CHROME) | 20470 @SupportedBrowser(SupportedBrowser.CHROME) |
| 19776 @SupportedBrowser(SupportedBrowser.SAFARI) | 20471 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 19777 @Experimental | 20472 @Experimental |
| 20473 // https://www.w3.org/Bugs/Public/show_bug.cgi?id=21067 |
| 19778 final Node insertionParent; | 20474 final Node insertionParent; |
| 19779 | 20475 |
| 19780 @DomName('Text.wholeText') | 20476 @DomName('Text.wholeText') |
| 19781 @DocsEditable | 20477 @DocsEditable |
| 19782 final String wholeText; | 20478 final String wholeText; |
| 19783 | 20479 |
| 19784 @DomName('Text.replaceWholeText') | 20480 @DomName('Text.replaceWholeText') |
| 19785 @DocsEditable | 20481 @DocsEditable |
| 20482 // http://dom.spec.whatwg.org/#dom-text-replacewholetext |
| 20483 @deprecated // deprecated |
| 19786 Text replaceWholeText(String content) native; | 20484 Text replaceWholeText(String content) native; |
| 19787 | 20485 |
| 19788 @DomName('Text.splitText') | 20486 @DomName('Text.splitText') |
| 19789 @DocsEditable | 20487 @DocsEditable |
| 19790 Text splitText(int offset) native; | 20488 Text splitText(int offset) native; |
| 19791 | 20489 |
| 19792 | 20490 |
| 19793 @Creates('Null') // Set from Dart code; does not instantiate a native type. | 20491 @Creates('Null') // Set from Dart code; does not instantiate a native type. |
| 19794 StreamSubscription _textBinding; | 20492 StreamSubscription _textBinding; |
| 19795 | 20493 |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 19846 @DomName('HTMLTextAreaElement.cols') | 20544 @DomName('HTMLTextAreaElement.cols') |
| 19847 @DocsEditable | 20545 @DocsEditable |
| 19848 int cols; | 20546 int cols; |
| 19849 | 20547 |
| 19850 @DomName('HTMLTextAreaElement.defaultValue') | 20548 @DomName('HTMLTextAreaElement.defaultValue') |
| 19851 @DocsEditable | 20549 @DocsEditable |
| 19852 String defaultValue; | 20550 String defaultValue; |
| 19853 | 20551 |
| 19854 @DomName('HTMLTextAreaElement.dirName') | 20552 @DomName('HTMLTextAreaElement.dirName') |
| 19855 @DocsEditable | 20553 @DocsEditable |
| 20554 // http://www.whatwg.org/specs/web-apps/current-work/multipage/the-button-elem
ent.html#dom-textarea-dirname |
| 20555 @Experimental |
| 19856 String dirName; | 20556 String dirName; |
| 19857 | 20557 |
| 19858 @DomName('HTMLTextAreaElement.disabled') | 20558 @DomName('HTMLTextAreaElement.disabled') |
| 19859 @DocsEditable | 20559 @DocsEditable |
| 19860 bool disabled; | 20560 bool disabled; |
| 19861 | 20561 |
| 19862 @DomName('HTMLTextAreaElement.form') | 20562 @DomName('HTMLTextAreaElement.form') |
| 19863 @DocsEditable | 20563 @DocsEditable |
| 19864 final FormElement form; | 20564 final FormElement form; |
| 19865 | 20565 |
| 19866 @DomName('HTMLTextAreaElement.labels') | 20566 @DomName('HTMLTextAreaElement.labels') |
| 19867 @DocsEditable | 20567 @DocsEditable |
| 20568 @Unstable |
| 19868 @Returns('NodeList') | 20569 @Returns('NodeList') |
| 19869 @Creates('NodeList') | 20570 @Creates('NodeList') |
| 19870 final List<Node> labels; | 20571 final List<Node> labels; |
| 19871 | 20572 |
| 19872 @DomName('HTMLTextAreaElement.maxLength') | 20573 @DomName('HTMLTextAreaElement.maxLength') |
| 19873 @DocsEditable | 20574 @DocsEditable |
| 19874 int maxLength; | 20575 int maxLength; |
| 19875 | 20576 |
| 19876 @DomName('HTMLTextAreaElement.name') | 20577 @DomName('HTMLTextAreaElement.name') |
| 19877 @DocsEditable | 20578 @DocsEditable |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 19940 @DomName('HTMLTextAreaElement.select') | 20641 @DomName('HTMLTextAreaElement.select') |
| 19941 @DocsEditable | 20642 @DocsEditable |
| 19942 void select() native; | 20643 void select() native; |
| 19943 | 20644 |
| 19944 @DomName('HTMLTextAreaElement.setCustomValidity') | 20645 @DomName('HTMLTextAreaElement.setCustomValidity') |
| 19945 @DocsEditable | 20646 @DocsEditable |
| 19946 void setCustomValidity(String error) native; | 20647 void setCustomValidity(String error) native; |
| 19947 | 20648 |
| 19948 @DomName('HTMLTextAreaElement.setRangeText') | 20649 @DomName('HTMLTextAreaElement.setRangeText') |
| 19949 @DocsEditable | 20650 @DocsEditable |
| 20651 // http://www.whatwg.org/specs/web-apps/current-work/multipage/association-of-
controls-and-forms.html#dom-textarea/input-setrangetext |
| 20652 @Experimental |
| 19950 void setRangeText(String replacement, [int start, int end, String selectionMod
e]) native; | 20653 void setRangeText(String replacement, [int start, int end, String selectionMod
e]) native; |
| 19951 | 20654 |
| 19952 @DomName('HTMLTextAreaElement.setSelectionRange') | 20655 @DomName('HTMLTextAreaElement.setSelectionRange') |
| 19953 @DocsEditable | 20656 @DocsEditable |
| 19954 void setSelectionRange(int start, int end, [String direction]) native; | 20657 void setSelectionRange(int start, int end, [String direction]) native; |
| 19955 } | 20658 } |
| 19956 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 20659 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 19957 // for details. All rights reserved. Use of this source code is governed by a | 20660 // for details. All rights reserved. Use of this source code is governed by a |
| 19958 // BSD-style license that can be found in the LICENSE file. | 20661 // BSD-style license that can be found in the LICENSE file. |
| 19959 | 20662 |
| 19960 // WARNING: Do not edit - generated code. | 20663 // WARNING: Do not edit - generated code. |
| 19961 | 20664 |
| 19962 | 20665 |
| 19963 @DomName('TextEvent') | 20666 @DomName('TextEvent') |
| 20667 @Unstable |
| 19964 class TextEvent extends UIEvent native "TextEvent" { | 20668 class TextEvent extends UIEvent native "TextEvent" { |
| 19965 factory TextEvent(String type, | 20669 factory TextEvent(String type, |
| 19966 {bool canBubble: false, bool cancelable: false, Window view, String data}) { | 20670 {bool canBubble: false, bool cancelable: false, Window view, String data}) { |
| 19967 if (view == null) { | 20671 if (view == null) { |
| 19968 view = window; | 20672 view = window; |
| 19969 } | 20673 } |
| 19970 var e = document.$dom_createEvent("TextEvent"); | 20674 var e = document.$dom_createEvent("TextEvent"); |
| 19971 e.$dom_initTextEvent(type, canBubble, cancelable, view, data); | 20675 e.$dom_initTextEvent(type, canBubble, cancelable, view, data); |
| 19972 return e; | 20676 return e; |
| 19973 } | 20677 } |
| (...skipping 21 matching lines...) Expand all Loading... |
| 19995 @DocsEditable | 20699 @DocsEditable |
| 19996 final num width; | 20700 final num width; |
| 19997 } | 20701 } |
| 19998 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 20702 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19999 // for details. All rights reserved. Use of this source code is governed by a | 20703 // for details. All rights reserved. Use of this source code is governed by a |
| 20000 // BSD-style license that can be found in the LICENSE file. | 20704 // BSD-style license that can be found in the LICENSE file. |
| 20001 | 20705 |
| 20002 | 20706 |
| 20003 @DocsEditable | 20707 @DocsEditable |
| 20004 @DomName('TextTrack') | 20708 @DomName('TextTrack') |
| 20709 // http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element
.html#texttrack |
| 20710 @Experimental |
| 20005 class TextTrack extends EventTarget native "TextTrack" { | 20711 class TextTrack extends EventTarget native "TextTrack" { |
| 20006 | 20712 |
| 20007 @DomName('TextTrack.cuechangeEvent') | 20713 @DomName('TextTrack.cuechangeEvent') |
| 20008 @DocsEditable | 20714 @DocsEditable |
| 20009 static const EventStreamProvider<Event> cueChangeEvent = const EventStreamProv
ider<Event>('cuechange'); | 20715 static const EventStreamProvider<Event> cueChangeEvent = const EventStreamProv
ider<Event>('cuechange'); |
| 20010 | 20716 |
| 20011 @DomName('TextTrack.activeCues') | 20717 @DomName('TextTrack.activeCues') |
| 20012 @DocsEditable | 20718 @DocsEditable |
| 20013 final TextTrackCueList activeCues; | 20719 final TextTrackCueList activeCues; |
| 20014 | 20720 |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 20058 @DocsEditable | 20764 @DocsEditable |
| 20059 Stream<Event> get onCueChange => cueChangeEvent.forTarget(this); | 20765 Stream<Event> get onCueChange => cueChangeEvent.forTarget(this); |
| 20060 } | 20766 } |
| 20061 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 20767 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 20062 // for details. All rights reserved. Use of this source code is governed by a | 20768 // for details. All rights reserved. Use of this source code is governed by a |
| 20063 // BSD-style license that can be found in the LICENSE file. | 20769 // BSD-style license that can be found in the LICENSE file. |
| 20064 | 20770 |
| 20065 | 20771 |
| 20066 @DocsEditable | 20772 @DocsEditable |
| 20067 @DomName('TextTrackCue') | 20773 @DomName('TextTrackCue') |
| 20774 // http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element
.html#texttrackcue |
| 20775 @Experimental |
| 20068 class TextTrackCue extends EventTarget native "TextTrackCue" { | 20776 class TextTrackCue extends EventTarget native "TextTrackCue" { |
| 20069 | 20777 |
| 20070 @DomName('TextTrackCue.enterEvent') | 20778 @DomName('TextTrackCue.enterEvent') |
| 20071 @DocsEditable | 20779 @DocsEditable |
| 20072 static const EventStreamProvider<Event> enterEvent = const EventStreamProvider
<Event>('enter'); | 20780 static const EventStreamProvider<Event> enterEvent = const EventStreamProvider
<Event>('enter'); |
| 20073 | 20781 |
| 20074 @DomName('TextTrackCue.exitEvent') | 20782 @DomName('TextTrackCue.exitEvent') |
| 20075 @DocsEditable | 20783 @DocsEditable |
| 20076 static const EventStreamProvider<Event> exitEvent = const EventStreamProvider<
Event>('exit'); | 20784 static const EventStreamProvider<Event> exitEvent = const EventStreamProvider<
Event>('exit'); |
| 20077 | 20785 |
| 20078 @DomName('TextTrackCue.TextTrackCue') | 20786 @DomName('TextTrackCue.TextTrackCue') |
| 20079 @DocsEditable | 20787 @DocsEditable |
| 20080 factory TextTrackCue(num startTime, num endTime, String text) { | 20788 factory TextTrackCue(num startTime, num endTime, String text) { |
| 20081 return TextTrackCue._create_1(startTime, endTime, text); | 20789 return TextTrackCue._create_1(startTime, endTime, text); |
| 20082 } | 20790 } |
| 20083 static TextTrackCue _create_1(startTime, endTime, text) => JS('TextTrackCue',
'new TextTrackCue(#,#,#)', startTime, endTime, text); | 20791 static TextTrackCue _create_1(startTime, endTime, text) => JS('TextTrackCue',
'new TextTrackCue(#,#,#)', startTime, endTime, text); |
| 20084 | 20792 |
| 20085 @DomName('TextTrackCue.align') | 20793 @DomName('TextTrackCue.align') |
| 20086 @DocsEditable | 20794 @DocsEditable |
| 20795 @Experimental // nonstandard |
| 20087 String align; | 20796 String align; |
| 20088 | 20797 |
| 20089 @DomName('TextTrackCue.endTime') | 20798 @DomName('TextTrackCue.endTime') |
| 20090 @DocsEditable | 20799 @DocsEditable |
| 20091 num endTime; | 20800 num endTime; |
| 20092 | 20801 |
| 20093 @DomName('TextTrackCue.id') | 20802 @DomName('TextTrackCue.id') |
| 20094 @DocsEditable | 20803 @DocsEditable |
| 20095 String id; | 20804 String id; |
| 20096 | 20805 |
| 20097 @DomName('TextTrackCue.line') | 20806 @DomName('TextTrackCue.line') |
| 20098 @DocsEditable | 20807 @DocsEditable |
| 20808 @Experimental // nonstandard |
| 20099 int line; | 20809 int line; |
| 20100 | 20810 |
| 20101 @DomName('TextTrackCue.pauseOnExit') | 20811 @DomName('TextTrackCue.pauseOnExit') |
| 20102 @DocsEditable | 20812 @DocsEditable |
| 20103 bool pauseOnExit; | 20813 bool pauseOnExit; |
| 20104 | 20814 |
| 20105 @DomName('TextTrackCue.position') | 20815 @DomName('TextTrackCue.position') |
| 20106 @DocsEditable | 20816 @DocsEditable |
| 20817 @Experimental // nonstandard |
| 20107 int position; | 20818 int position; |
| 20108 | 20819 |
| 20109 @DomName('TextTrackCue.size') | 20820 @DomName('TextTrackCue.size') |
| 20110 @DocsEditable | 20821 @DocsEditable |
| 20822 @Experimental // nonstandard |
| 20111 int size; | 20823 int size; |
| 20112 | 20824 |
| 20113 @DomName('TextTrackCue.snapToLines') | 20825 @DomName('TextTrackCue.snapToLines') |
| 20114 @DocsEditable | 20826 @DocsEditable |
| 20827 @Experimental // nonstandard |
| 20115 bool snapToLines; | 20828 bool snapToLines; |
| 20116 | 20829 |
| 20117 @DomName('TextTrackCue.startTime') | 20830 @DomName('TextTrackCue.startTime') |
| 20118 @DocsEditable | 20831 @DocsEditable |
| 20119 num startTime; | 20832 num startTime; |
| 20120 | 20833 |
| 20121 @DomName('TextTrackCue.text') | 20834 @DomName('TextTrackCue.text') |
| 20122 @DocsEditable | 20835 @DocsEditable |
| 20836 @Experimental // nonstandard |
| 20123 String text; | 20837 String text; |
| 20124 | 20838 |
| 20125 @DomName('TextTrackCue.track') | 20839 @DomName('TextTrackCue.track') |
| 20126 @DocsEditable | 20840 @DocsEditable |
| 20127 final TextTrack track; | 20841 final TextTrack track; |
| 20128 | 20842 |
| 20129 @DomName('TextTrackCue.vertical') | 20843 @DomName('TextTrackCue.vertical') |
| 20130 @DocsEditable | 20844 @DocsEditable |
| 20845 @Experimental // nonstandard |
| 20131 String vertical; | 20846 String vertical; |
| 20132 | 20847 |
| 20133 @JSName('addEventListener') | 20848 @JSName('addEventListener') |
| 20134 @DomName('TextTrackCue.addEventListener') | 20849 @DomName('TextTrackCue.addEventListener') |
| 20135 @DocsEditable | 20850 @DocsEditable |
| 20136 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]) native; | 20851 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]) native; |
| 20137 | 20852 |
| 20138 @DomName('TextTrackCue.dispatchEvent') | 20853 @DomName('TextTrackCue.dispatchEvent') |
| 20139 @DocsEditable | 20854 @DocsEditable |
| 20140 bool dispatchEvent(Event evt) native; | 20855 bool dispatchEvent(Event evt) native; |
| 20141 | 20856 |
| 20142 @JSName('getCueAsHTML') | 20857 @JSName('getCueAsHTML') |
| 20143 @DomName('TextTrackCue.getCueAsHTML') | 20858 @DomName('TextTrackCue.getCueAsHTML') |
| 20144 @DocsEditable | 20859 @DocsEditable |
| 20860 @Experimental // nonstandard |
| 20145 DocumentFragment getCueAsHtml() native; | 20861 DocumentFragment getCueAsHtml() native; |
| 20146 | 20862 |
| 20147 @JSName('removeEventListener') | 20863 @JSName('removeEventListener') |
| 20148 @DomName('TextTrackCue.removeEventListener') | 20864 @DomName('TextTrackCue.removeEventListener') |
| 20149 @DocsEditable | 20865 @DocsEditable |
| 20150 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]) native; | 20866 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]) native; |
| 20151 | 20867 |
| 20152 @DomName('TextTrackCue.onenter') | 20868 @DomName('TextTrackCue.onenter') |
| 20153 @DocsEditable | 20869 @DocsEditable |
| 20154 Stream<Event> get onEnter => enterEvent.forTarget(this); | 20870 Stream<Event> get onEnter => enterEvent.forTarget(this); |
| 20155 | 20871 |
| 20156 @DomName('TextTrackCue.onexit') | 20872 @DomName('TextTrackCue.onexit') |
| 20157 @DocsEditable | 20873 @DocsEditable |
| 20158 Stream<Event> get onExit => exitEvent.forTarget(this); | 20874 Stream<Event> get onExit => exitEvent.forTarget(this); |
| 20159 } | 20875 } |
| 20160 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 20876 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 20161 // for details. All rights reserved. Use of this source code is governed by a | 20877 // for details. All rights reserved. Use of this source code is governed by a |
| 20162 // BSD-style license that can be found in the LICENSE file. | 20878 // BSD-style license that can be found in the LICENSE file. |
| 20163 | 20879 |
| 20164 | 20880 |
| 20165 @DocsEditable | 20881 @DocsEditable |
| 20166 @DomName('TextTrackCueList') | 20882 @DomName('TextTrackCueList') |
| 20883 // http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element
.html#texttrackcuelist |
| 20884 @Experimental |
| 20167 class TextTrackCueList extends Interceptor with ListMixin<TextTrackCue>, Immutab
leListMixin<TextTrackCue> implements List<TextTrackCue>, JavaScriptIndexingBehav
ior native "TextTrackCueList" { | 20885 class TextTrackCueList extends Interceptor with ListMixin<TextTrackCue>, Immutab
leListMixin<TextTrackCue> implements List<TextTrackCue>, JavaScriptIndexingBehav
ior native "TextTrackCueList" { |
| 20168 | 20886 |
| 20169 @DomName('TextTrackCueList.length') | 20887 @DomName('TextTrackCueList.length') |
| 20170 @DocsEditable | 20888 @DocsEditable |
| 20171 int get length => JS("int", "#.length", this); | 20889 int get length => JS("int", "#.length", this); |
| 20172 | 20890 |
| 20173 TextTrackCue operator[](int index) { | 20891 TextTrackCue operator[](int index) { |
| 20174 if (JS("bool", "# >>> 0 !== # || # >= #", index, | 20892 if (JS("bool", "# >>> 0 !== # || # >= #", index, |
| 20175 index, index, length)) | 20893 index, index, length)) |
| 20176 throw new RangeError.range(index, 0, length); | 20894 throw new RangeError.range(index, 0, length); |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 20222 @DocsEditable | 20940 @DocsEditable |
| 20223 TextTrackCue item(int index) native; | 20941 TextTrackCue item(int index) native; |
| 20224 } | 20942 } |
| 20225 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 20943 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 20226 // for details. All rights reserved. Use of this source code is governed by a | 20944 // for details. All rights reserved. Use of this source code is governed by a |
| 20227 // BSD-style license that can be found in the LICENSE file. | 20945 // BSD-style license that can be found in the LICENSE file. |
| 20228 | 20946 |
| 20229 | 20947 |
| 20230 @DocsEditable | 20948 @DocsEditable |
| 20231 @DomName('TextTrackList') | 20949 @DomName('TextTrackList') |
| 20950 // http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element
.html#texttracklist |
| 20951 @Experimental |
| 20232 class TextTrackList extends EventTarget with ListMixin<TextTrack>, ImmutableList
Mixin<TextTrack> implements JavaScriptIndexingBehavior, List<TextTrack> native "
TextTrackList" { | 20952 class TextTrackList extends EventTarget with ListMixin<TextTrack>, ImmutableList
Mixin<TextTrack> implements JavaScriptIndexingBehavior, List<TextTrack> native "
TextTrackList" { |
| 20233 | 20953 |
| 20234 @DomName('TextTrackList.addtrackEvent') | 20954 @DomName('TextTrackList.addtrackEvent') |
| 20235 @DocsEditable | 20955 @DocsEditable |
| 20236 static const EventStreamProvider<TrackEvent> addTrackEvent = const EventStream
Provider<TrackEvent>('addtrack'); | 20956 static const EventStreamProvider<TrackEvent> addTrackEvent = const EventStream
Provider<TrackEvent>('addtrack'); |
| 20237 | 20957 |
| 20238 @DomName('TextTrackList.length') | 20958 @DomName('TextTrackList.length') |
| 20239 @DocsEditable | 20959 @DocsEditable |
| 20240 int get length => JS("int", "#.length", this); | 20960 int get length => JS("int", "#.length", this); |
| 20241 | 20961 |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 20305 @DocsEditable | 21025 @DocsEditable |
| 20306 Stream<TrackEvent> get onAddTrack => addTrackEvent.forTarget(this); | 21026 Stream<TrackEvent> get onAddTrack => addTrackEvent.forTarget(this); |
| 20307 } | 21027 } |
| 20308 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 21028 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 20309 // for details. All rights reserved. Use of this source code is governed by a | 21029 // for details. All rights reserved. Use of this source code is governed by a |
| 20310 // BSD-style license that can be found in the LICENSE file. | 21030 // BSD-style license that can be found in the LICENSE file. |
| 20311 | 21031 |
| 20312 | 21032 |
| 20313 @DocsEditable | 21033 @DocsEditable |
| 20314 @DomName('TimeRanges') | 21034 @DomName('TimeRanges') |
| 21035 @Unstable |
| 20315 class TimeRanges native "TimeRanges" { | 21036 class TimeRanges native "TimeRanges" { |
| 20316 | 21037 |
| 20317 @DomName('TimeRanges.length') | 21038 @DomName('TimeRanges.length') |
| 20318 @DocsEditable | 21039 @DocsEditable |
| 20319 final int length; | 21040 final int length; |
| 20320 | 21041 |
| 20321 @DomName('TimeRanges.end') | 21042 @DomName('TimeRanges.end') |
| 20322 @DocsEditable | 21043 @DocsEditable |
| 20323 num end(int index) native; | 21044 num end(int index) native; |
| 20324 | 21045 |
| 20325 @DomName('TimeRanges.start') | 21046 @DomName('TimeRanges.start') |
| 20326 @DocsEditable | 21047 @DocsEditable |
| 20327 num start(int index) native; | 21048 num start(int index) native; |
| 20328 } | 21049 } |
| 20329 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 21050 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 20330 // for details. All rights reserved. Use of this source code is governed by a | 21051 // for details. All rights reserved. Use of this source code is governed by a |
| 20331 // BSD-style license that can be found in the LICENSE file. | 21052 // BSD-style license that can be found in the LICENSE file. |
| 20332 | 21053 |
| 20333 // WARNING: Do not edit - generated code. | 21054 // WARNING: Do not edit - generated code. |
| 20334 | 21055 |
| 20335 | 21056 |
| 21057 @DomName('TimeoutHandler') |
| 20336 typedef void TimeoutHandler(); | 21058 typedef void TimeoutHandler(); |
| 20337 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 21059 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 20338 // for details. All rights reserved. Use of this source code is governed by a | 21060 // for details. All rights reserved. Use of this source code is governed by a |
| 20339 // BSD-style license that can be found in the LICENSE file. | 21061 // BSD-style license that can be found in the LICENSE file. |
| 20340 | 21062 |
| 20341 | 21063 |
| 20342 @DocsEditable | 21064 @DocsEditable |
| 20343 @DomName('HTMLTitleElement') | 21065 @DomName('HTMLTitleElement') |
| 20344 class TitleElement extends Element native "HTMLTitleElement" { | 21066 class TitleElement extends Element native "HTMLTitleElement" { |
| 20345 | 21067 |
| 20346 @DomName('HTMLTitleElement.HTMLTitleElement') | 21068 @DomName('HTMLTitleElement.HTMLTitleElement') |
| 20347 @DocsEditable | 21069 @DocsEditable |
| 20348 factory TitleElement() => document.$dom_createElement("title"); | 21070 factory TitleElement() => document.$dom_createElement("title"); |
| 20349 } | 21071 } |
| 20350 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 21072 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 20351 // for details. All rights reserved. Use of this source code is governed by a | 21073 // for details. All rights reserved. Use of this source code is governed by a |
| 20352 // BSD-style license that can be found in the LICENSE file. | 21074 // BSD-style license that can be found in the LICENSE file. |
| 20353 | 21075 |
| 20354 | 21076 |
| 20355 @DocsEditable | 21077 @DocsEditable |
| 20356 @DomName('Touch') | 21078 @DomName('Touch') |
| 21079 // http://www.w3.org/TR/touch-events/, http://www.chromestatus.com/features |
| 21080 @Experimental |
| 20357 class Touch native "Touch" { | 21081 class Touch native "Touch" { |
| 20358 | 21082 |
| 20359 @JSName('clientX') | 21083 @JSName('clientX') |
| 20360 @DomName('Touch.clientX') | 21084 @DomName('Touch.clientX') |
| 20361 @DocsEditable | 21085 @DocsEditable |
| 20362 final int $dom_clientX; | 21086 final int $dom_clientX; |
| 20363 | 21087 |
| 20364 @JSName('clientY') | 21088 @JSName('clientY') |
| 20365 @DomName('Touch.clientY') | 21089 @DomName('Touch.clientY') |
| 20366 @DocsEditable | 21090 @DocsEditable |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 20444 Point get screen => new Point($dom_screenX, $dom_screenY); | 21168 Point get screen => new Point($dom_screenX, $dom_screenY); |
| 20445 } | 21169 } |
| 20446 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 21170 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 20447 // for details. All rights reserved. Use of this source code is governed by a | 21171 // for details. All rights reserved. Use of this source code is governed by a |
| 20448 // BSD-style license that can be found in the LICENSE file. | 21172 // BSD-style license that can be found in the LICENSE file. |
| 20449 | 21173 |
| 20450 // WARNING: Do not edit - generated code. | 21174 // WARNING: Do not edit - generated code. |
| 20451 | 21175 |
| 20452 | 21176 |
| 20453 @DomName('TouchEvent') | 21177 @DomName('TouchEvent') |
| 21178 // http://www.w3.org/TR/touch-events/, http://www.chromestatus.com/features |
| 21179 @Experimental |
| 20454 class TouchEvent extends UIEvent native "TouchEvent" { | 21180 class TouchEvent extends UIEvent native "TouchEvent" { |
| 20455 factory TouchEvent(TouchList touches, TouchList targetTouches, | 21181 factory TouchEvent(TouchList touches, TouchList targetTouches, |
| 20456 TouchList changedTouches, String type, | 21182 TouchList changedTouches, String type, |
| 20457 {Window view, int screenX: 0, int screenY: 0, int clientX: 0, | 21183 {Window view, int screenX: 0, int screenY: 0, int clientX: 0, |
| 20458 int clientY: 0, bool ctrlKey: false, bool altKey: false, | 21184 int clientY: 0, bool ctrlKey: false, bool altKey: false, |
| 20459 bool shiftKey: false, bool metaKey: false}) { | 21185 bool shiftKey: false, bool metaKey: false}) { |
| 20460 if (view == null) { | 21186 if (view == null) { |
| 20461 view = window; | 21187 view = window; |
| 20462 } | 21188 } |
| 20463 var e = document.$dom_createEvent("TouchEvent"); | 21189 var e = document.$dom_createEvent("TouchEvent"); |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 20514 } | 21240 } |
| 20515 } | 21241 } |
| 20516 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 21242 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 20517 // for details. All rights reserved. Use of this source code is governed by a | 21243 // for details. All rights reserved. Use of this source code is governed by a |
| 20518 // BSD-style license that can be found in the LICENSE file. | 21244 // BSD-style license that can be found in the LICENSE file. |
| 20519 | 21245 |
| 20520 // WARNING: Do not edit - generated code. | 21246 // WARNING: Do not edit - generated code. |
| 20521 | 21247 |
| 20522 | 21248 |
| 20523 @DomName('TouchList') | 21249 @DomName('TouchList') |
| 21250 // http://www.w3.org/TR/touch-events/, http://www.chromestatus.com/features |
| 21251 @Experimental |
| 20524 class TouchList extends Interceptor with ListMixin<Touch>, ImmutableListMixin<To
uch> implements JavaScriptIndexingBehavior, List<Touch> native "TouchList" { | 21252 class TouchList extends Interceptor with ListMixin<Touch>, ImmutableListMixin<To
uch> implements JavaScriptIndexingBehavior, List<Touch> native "TouchList" { |
| 20525 /// NB: This constructor likely does not work as you might expect it to! This | 21253 /// NB: This constructor likely does not work as you might expect it to! This |
| 20526 /// constructor will simply fail (returning null) if you are not on a device | 21254 /// constructor will simply fail (returning null) if you are not on a device |
| 20527 /// with touch enabled. See dartbug.com/8314. | 21255 /// with touch enabled. See dartbug.com/8314. |
| 20528 factory TouchList() => document.$dom_createTouchList(); | 21256 factory TouchList() => document.$dom_createTouchList(); |
| 20529 | 21257 |
| 20530 /// Checks if this type is supported on the current platform. | 21258 /// Checks if this type is supported on the current platform. |
| 20531 static bool get supported => JS('bool', '!!document.createTouchList'); | 21259 static bool get supported => JS('bool', '!!document.createTouchList'); |
| 20532 | 21260 |
| 20533 @DomName('TouchList.length') | 21261 @DomName('TouchList.length') |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 20586 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 21314 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 20587 // for details. All rights reserved. Use of this source code is governed by a | 21315 // for details. All rights reserved. Use of this source code is governed by a |
| 20588 // BSD-style license that can be found in the LICENSE file. | 21316 // BSD-style license that can be found in the LICENSE file. |
| 20589 | 21317 |
| 20590 | 21318 |
| 20591 @DocsEditable | 21319 @DocsEditable |
| 20592 @DomName('HTMLTrackElement') | 21320 @DomName('HTMLTrackElement') |
| 20593 @SupportedBrowser(SupportedBrowser.CHROME) | 21321 @SupportedBrowser(SupportedBrowser.CHROME) |
| 20594 @SupportedBrowser(SupportedBrowser.IE, '10') | 21322 @SupportedBrowser(SupportedBrowser.IE, '10') |
| 20595 @SupportedBrowser(SupportedBrowser.SAFARI) | 21323 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 21324 // http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element
.html#the-track-element |
| 21325 @Experimental |
| 20596 class TrackElement extends Element native "HTMLTrackElement" { | 21326 class TrackElement extends Element native "HTMLTrackElement" { |
| 20597 | 21327 |
| 20598 @DomName('HTMLTrackElement.HTMLTrackElement') | 21328 @DomName('HTMLTrackElement.HTMLTrackElement') |
| 20599 @DocsEditable | 21329 @DocsEditable |
| 20600 factory TrackElement() => document.$dom_createElement("track"); | 21330 factory TrackElement() => document.$dom_createElement("track"); |
| 20601 | 21331 |
| 20602 /// Checks if this type is supported on the current platform. | 21332 /// Checks if this type is supported on the current platform. |
| 20603 static bool get supported => Element.isTagSupported('track'); | 21333 static bool get supported => Element.isTagSupported('track'); |
| 20604 | 21334 |
| 20605 @DomName('HTMLTrackElement.ERROR') | 21335 @DomName('HTMLTrackElement.ERROR') |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 20647 @DocsEditable | 21377 @DocsEditable |
| 20648 final TextTrack track; | 21378 final TextTrack track; |
| 20649 } | 21379 } |
| 20650 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 21380 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 20651 // for details. All rights reserved. Use of this source code is governed by a | 21381 // for details. All rights reserved. Use of this source code is governed by a |
| 20652 // BSD-style license that can be found in the LICENSE file. | 21382 // BSD-style license that can be found in the LICENSE file. |
| 20653 | 21383 |
| 20654 | 21384 |
| 20655 @DocsEditable | 21385 @DocsEditable |
| 20656 @DomName('TrackEvent') | 21386 @DomName('TrackEvent') |
| 21387 @Unstable |
| 20657 class TrackEvent extends Event native "TrackEvent" { | 21388 class TrackEvent extends Event native "TrackEvent" { |
| 20658 | 21389 |
| 20659 @DomName('TrackEvent.track') | 21390 @DomName('TrackEvent.track') |
| 20660 @DocsEditable | 21391 @DocsEditable |
| 20661 final Object track; | 21392 final Object track; |
| 20662 } | 21393 } |
| 20663 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 21394 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 20664 // for details. All rights reserved. Use of this source code is governed by a | 21395 // for details. All rights reserved. Use of this source code is governed by a |
| 20665 // BSD-style license that can be found in the LICENSE file. | 21396 // BSD-style license that can be found in the LICENSE file. |
| 20666 | 21397 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 20680 @DomName('TransitionEvent.pseudoElement') | 21411 @DomName('TransitionEvent.pseudoElement') |
| 20681 @DocsEditable | 21412 @DocsEditable |
| 20682 final String pseudoElement; | 21413 final String pseudoElement; |
| 20683 } | 21414 } |
| 20684 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 21415 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 20685 // for details. All rights reserved. Use of this source code is governed by a | 21416 // for details. All rights reserved. Use of this source code is governed by a |
| 20686 // BSD-style license that can be found in the LICENSE file. | 21417 // BSD-style license that can be found in the LICENSE file. |
| 20687 | 21418 |
| 20688 | 21419 |
| 20689 @DomName('TreeWalker') | 21420 @DomName('TreeWalker') |
| 21421 @Unstable |
| 20690 class TreeWalker native "TreeWalker" { | 21422 class TreeWalker native "TreeWalker" { |
| 20691 factory TreeWalker(Node root, int whatToShow) { | 21423 factory TreeWalker(Node root, int whatToShow) { |
| 20692 return document.$dom_createTreeWalker(root, whatToShow, null, false); | 21424 return document.$dom_createTreeWalker(root, whatToShow, null, false); |
| 20693 } | 21425 } |
| 20694 | 21426 |
| 20695 @DomName('TreeWalker.currentNode') | 21427 @DomName('TreeWalker.currentNode') |
| 20696 @DocsEditable | 21428 @DocsEditable |
| 20697 Node currentNode; | 21429 Node currentNode; |
| 20698 | 21430 |
| 20699 @DomName('TreeWalker.expandEntityReferences') | 21431 @DomName('TreeWalker.expandEntityReferences') |
| 20700 @DocsEditable | 21432 @DocsEditable |
| 21433 // http://dom.spec.whatwg.org/#dom-traversal |
| 21434 @deprecated // deprecated |
| 20701 final bool expandEntityReferences; | 21435 final bool expandEntityReferences; |
| 20702 | 21436 |
| 20703 @DomName('TreeWalker.filter') | 21437 @DomName('TreeWalker.filter') |
| 20704 @DocsEditable | 21438 @DocsEditable |
| 20705 final NodeFilter filter; | 21439 final NodeFilter filter; |
| 20706 | 21440 |
| 20707 @DomName('TreeWalker.root') | 21441 @DomName('TreeWalker.root') |
| 20708 @DocsEditable | 21442 @DocsEditable |
| 20709 final Node root; | 21443 final Node root; |
| 20710 | 21444 |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 20763 view = window; | 21497 view = window; |
| 20764 } | 21498 } |
| 20765 final e = document.$dom_createEvent("UIEvent"); | 21499 final e = document.$dom_createEvent("UIEvent"); |
| 20766 e.$dom_initUIEvent(type, canBubble, cancelable, view, detail); | 21500 e.$dom_initUIEvent(type, canBubble, cancelable, view, detail); |
| 20767 return e; | 21501 return e; |
| 20768 } | 21502 } |
| 20769 | 21503 |
| 20770 @JSName('charCode') | 21504 @JSName('charCode') |
| 20771 @DomName('UIEvent.charCode') | 21505 @DomName('UIEvent.charCode') |
| 20772 @DocsEditable | 21506 @DocsEditable |
| 21507 @Unstable |
| 20773 final int $dom_charCode; | 21508 final int $dom_charCode; |
| 20774 | 21509 |
| 20775 @DomName('UIEvent.detail') | 21510 @DomName('UIEvent.detail') |
| 20776 @DocsEditable | 21511 @DocsEditable |
| 20777 final int detail; | 21512 final int detail; |
| 20778 | 21513 |
| 20779 @JSName('keyCode') | 21514 @JSName('keyCode') |
| 20780 @DomName('UIEvent.keyCode') | 21515 @DomName('UIEvent.keyCode') |
| 20781 @DocsEditable | 21516 @DocsEditable |
| 21517 @Unstable |
| 20782 final int $dom_keyCode; | 21518 final int $dom_keyCode; |
| 20783 | 21519 |
| 20784 @JSName('layerX') | 21520 @JSName('layerX') |
| 20785 @DomName('UIEvent.layerX') | 21521 @DomName('UIEvent.layerX') |
| 20786 @DocsEditable | 21522 @DocsEditable |
| 21523 // http://dev.w3.org/2006/webapi/DOM-Level-3-Events/html/DOM3-Events.html#even
ts-mouseevents |
| 21524 @Experimental // nonstandard |
| 20787 final int $dom_layerX; | 21525 final int $dom_layerX; |
| 20788 | 21526 |
| 20789 @JSName('layerY') | 21527 @JSName('layerY') |
| 20790 @DomName('UIEvent.layerY') | 21528 @DomName('UIEvent.layerY') |
| 20791 @DocsEditable | 21529 @DocsEditable |
| 21530 // http://dev.w3.org/2006/webapi/DOM-Level-3-Events/html/DOM3-Events.html#even
ts-mouseevents |
| 21531 @Experimental // nonstandard |
| 20792 final int $dom_layerY; | 21532 final int $dom_layerY; |
| 20793 | 21533 |
| 20794 @JSName('pageX') | 21534 @JSName('pageX') |
| 20795 @DomName('UIEvent.pageX') | 21535 @DomName('UIEvent.pageX') |
| 20796 @DocsEditable | 21536 @DocsEditable |
| 21537 // http://dev.w3.org/2006/webapi/DOM-Level-3-Events/html/DOM3-Events.html#even
ts-mouseevents |
| 21538 @Experimental // nonstandard |
| 20797 final int $dom_pageX; | 21539 final int $dom_pageX; |
| 20798 | 21540 |
| 20799 @JSName('pageY') | 21541 @JSName('pageY') |
| 20800 @DomName('UIEvent.pageY') | 21542 @DomName('UIEvent.pageY') |
| 20801 @DocsEditable | 21543 @DocsEditable |
| 21544 // http://dev.w3.org/2006/webapi/DOM-Level-3-Events/html/DOM3-Events.html#even
ts-mouseevents |
| 21545 @Experimental // nonstandard |
| 20802 final int $dom_pageY; | 21546 final int $dom_pageY; |
| 20803 | 21547 |
| 20804 WindowBase get view => _convertNativeToDart_Window(this._get_view); | 21548 WindowBase get view => _convertNativeToDart_Window(this._get_view); |
| 20805 @JSName('view') | 21549 @JSName('view') |
| 20806 @DomName('UIEvent.view') | 21550 @DomName('UIEvent.view') |
| 20807 @DocsEditable | 21551 @DocsEditable |
| 20808 @Creates('Window|=Object') | 21552 @Creates('Window|=Object') |
| 20809 @Returns('Window|=Object') | 21553 @Returns('Window|=Object') |
| 20810 final dynamic _get_view; | 21554 final dynamic _get_view; |
| 20811 | 21555 |
| 20812 @DomName('UIEvent.which') | 21556 @DomName('UIEvent.which') |
| 20813 @DocsEditable | 21557 @DocsEditable |
| 21558 @Unstable |
| 20814 final int which; | 21559 final int which; |
| 20815 | 21560 |
| 20816 @JSName('initUIEvent') | 21561 @JSName('initUIEvent') |
| 20817 @DomName('UIEvent.initUIEvent') | 21562 @DomName('UIEvent.initUIEvent') |
| 20818 @DocsEditable | 21563 @DocsEditable |
| 20819 void $dom_initUIEvent(String type, bool canBubble, bool cancelable, Window vie
w, int detail) native; | 21564 void $dom_initUIEvent(String type, bool canBubble, bool cancelable, Window vie
w, int detail) native; |
| 20820 | 21565 |
| 20821 | 21566 |
| 20822 @deprecated | 21567 @deprecated |
| 20823 int get layerX => layer.x; | 21568 int get layerX => layer.x; |
| (...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 20961 @SupportedBrowser(SupportedBrowser.SAFARI) | 21706 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 20962 @Experimental | 21707 @Experimental |
| 20963 final int decodedFrameCount; | 21708 final int decodedFrameCount; |
| 20964 | 21709 |
| 20965 @JSName('webkitDisplayingFullscreen') | 21710 @JSName('webkitDisplayingFullscreen') |
| 20966 @DomName('HTMLVideoElement.webkitDisplayingFullscreen') | 21711 @DomName('HTMLVideoElement.webkitDisplayingFullscreen') |
| 20967 @DocsEditable | 21712 @DocsEditable |
| 20968 @SupportedBrowser(SupportedBrowser.CHROME) | 21713 @SupportedBrowser(SupportedBrowser.CHROME) |
| 20969 @SupportedBrowser(SupportedBrowser.SAFARI) | 21714 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 20970 @Experimental | 21715 @Experimental |
| 21716 // https://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html |
| 21717 @deprecated // deprecated |
| 20971 final bool displayingFullscreen; | 21718 final bool displayingFullscreen; |
| 20972 | 21719 |
| 20973 @JSName('webkitDroppedFrameCount') | 21720 @JSName('webkitDroppedFrameCount') |
| 20974 @DomName('HTMLVideoElement.webkitDroppedFrameCount') | 21721 @DomName('HTMLVideoElement.webkitDroppedFrameCount') |
| 20975 @DocsEditable | 21722 @DocsEditable |
| 20976 @SupportedBrowser(SupportedBrowser.CHROME) | 21723 @SupportedBrowser(SupportedBrowser.CHROME) |
| 20977 @SupportedBrowser(SupportedBrowser.SAFARI) | 21724 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 20978 @Experimental | 21725 @Experimental |
| 20979 final int droppedFrameCount; | 21726 final int droppedFrameCount; |
| 20980 | 21727 |
| 20981 @JSName('webkitSupportsFullscreen') | 21728 @JSName('webkitSupportsFullscreen') |
| 20982 @DomName('HTMLVideoElement.webkitSupportsFullscreen') | 21729 @DomName('HTMLVideoElement.webkitSupportsFullscreen') |
| 20983 @DocsEditable | 21730 @DocsEditable |
| 20984 @SupportedBrowser(SupportedBrowser.CHROME) | 21731 @SupportedBrowser(SupportedBrowser.CHROME) |
| 20985 @SupportedBrowser(SupportedBrowser.SAFARI) | 21732 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 20986 @Experimental | 21733 @Experimental |
| 21734 // https://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html |
| 21735 @deprecated // deprecated |
| 20987 final bool supportsFullscreen; | 21736 final bool supportsFullscreen; |
| 20988 | 21737 |
| 20989 @DomName('HTMLVideoElement.width') | 21738 @DomName('HTMLVideoElement.width') |
| 20990 @DocsEditable | 21739 @DocsEditable |
| 20991 int width; | 21740 int width; |
| 20992 | 21741 |
| 20993 @JSName('webkitEnterFullScreen') | 21742 @JSName('webkitEnterFullScreen') |
| 20994 @DomName('HTMLVideoElement.webkitEnterFullScreen') | 21743 @DomName('HTMLVideoElement.webkitEnterFullScreen') |
| 20995 @DocsEditable | 21744 @DocsEditable |
| 20996 @SupportedBrowser(SupportedBrowser.CHROME) | 21745 @SupportedBrowser(SupportedBrowser.CHROME) |
| 20997 @SupportedBrowser(SupportedBrowser.SAFARI) | 21746 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 20998 @Experimental | 21747 @Experimental |
| 21748 // https://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html |
| 21749 @deprecated // deprecated |
| 20999 void enterFullScreen() native; | 21750 void enterFullScreen() native; |
| 21000 | 21751 |
| 21001 @JSName('webkitEnterFullscreen') | 21752 @JSName('webkitEnterFullscreen') |
| 21002 @DomName('HTMLVideoElement.webkitEnterFullscreen') | 21753 @DomName('HTMLVideoElement.webkitEnterFullscreen') |
| 21003 @DocsEditable | 21754 @DocsEditable |
| 21004 @SupportedBrowser(SupportedBrowser.CHROME) | 21755 @SupportedBrowser(SupportedBrowser.CHROME) |
| 21005 @SupportedBrowser(SupportedBrowser.SAFARI) | 21756 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 21006 @Experimental | 21757 @Experimental |
| 21758 // https://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html |
| 21007 void enterFullscreen() native; | 21759 void enterFullscreen() native; |
| 21008 | 21760 |
| 21009 @JSName('webkitExitFullScreen') | 21761 @JSName('webkitExitFullScreen') |
| 21010 @DomName('HTMLVideoElement.webkitExitFullScreen') | 21762 @DomName('HTMLVideoElement.webkitExitFullScreen') |
| 21011 @DocsEditable | 21763 @DocsEditable |
| 21012 @SupportedBrowser(SupportedBrowser.CHROME) | 21764 @SupportedBrowser(SupportedBrowser.CHROME) |
| 21013 @SupportedBrowser(SupportedBrowser.SAFARI) | 21765 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 21014 @Experimental | 21766 @Experimental |
| 21767 // https://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html#dom-document-e
xitfullscreen |
| 21768 @deprecated // deprecated |
| 21015 void exitFullScreen() native; | 21769 void exitFullScreen() native; |
| 21016 | 21770 |
| 21017 @JSName('webkitExitFullscreen') | 21771 @JSName('webkitExitFullscreen') |
| 21018 @DomName('HTMLVideoElement.webkitExitFullscreen') | 21772 @DomName('HTMLVideoElement.webkitExitFullscreen') |
| 21019 @DocsEditable | 21773 @DocsEditable |
| 21020 @SupportedBrowser(SupportedBrowser.CHROME) | 21774 @SupportedBrowser(SupportedBrowser.CHROME) |
| 21021 @SupportedBrowser(SupportedBrowser.SAFARI) | 21775 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 21022 @Experimental | 21776 @Experimental |
| 21777 // https://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html#dom-document-e
xitfullscreen |
| 21023 void exitFullscreen() native; | 21778 void exitFullscreen() native; |
| 21024 | 21779 |
| 21025 } | 21780 } |
| 21026 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 21781 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 21027 // for details. All rights reserved. Use of this source code is governed by a | 21782 // for details. All rights reserved. Use of this source code is governed by a |
| 21028 // BSD-style license that can be found in the LICENSE file. | 21783 // BSD-style license that can be found in the LICENSE file. |
| 21029 | 21784 |
| 21030 // WARNING: Do not edit - generated code. | 21785 // WARNING: Do not edit - generated code. |
| 21031 | 21786 |
| 21032 | 21787 |
| 21788 @DomName('VoidCallback') |
| 21789 // http://www.w3.org/TR/file-system-api/#the-voidcallback-interface |
| 21790 @Experimental |
| 21033 typedef void VoidCallback(); | 21791 typedef void VoidCallback(); |
| 21034 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 21792 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 21035 // for details. All rights reserved. Use of this source code is governed by a | 21793 // for details. All rights reserved. Use of this source code is governed by a |
| 21036 // BSD-style license that can be found in the LICENSE file. | 21794 // BSD-style license that can be found in the LICENSE file. |
| 21037 | 21795 |
| 21038 | 21796 |
| 21039 @DocsEditable | 21797 @DocsEditable |
| 21040 /** | 21798 /** |
| 21041 * Use the WebSocket interface to connect to a WebSocket, | 21799 * Use the WebSocket interface to connect to a WebSocket, |
| 21042 * and to send and receive data on that WebSocket. | 21800 * and to send and receive data on that WebSocket. |
| (...skipping 26 matching lines...) Expand all Loading... |
| 21069 * [WebSockets](http://www.dartlang.org/docs/library-tour/#html-websockets) | 21827 * [WebSockets](http://www.dartlang.org/docs/library-tour/#html-websockets) |
| 21070 * section of the library tour and | 21828 * section of the library tour and |
| 21071 * [Introducing WebSockets](http://www.html5rocks.com/en/tutorials/websockets/ba
sics/), | 21829 * [Introducing WebSockets](http://www.html5rocks.com/en/tutorials/websockets/ba
sics/), |
| 21072 * an HTML5Rocks.com tutorial. | 21830 * an HTML5Rocks.com tutorial. |
| 21073 */ | 21831 */ |
| 21074 @DomName('WebSocket') | 21832 @DomName('WebSocket') |
| 21075 @SupportedBrowser(SupportedBrowser.CHROME) | 21833 @SupportedBrowser(SupportedBrowser.CHROME) |
| 21076 @SupportedBrowser(SupportedBrowser.FIREFOX) | 21834 @SupportedBrowser(SupportedBrowser.FIREFOX) |
| 21077 @SupportedBrowser(SupportedBrowser.IE, '10') | 21835 @SupportedBrowser(SupportedBrowser.IE, '10') |
| 21078 @SupportedBrowser(SupportedBrowser.SAFARI) | 21836 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 21837 @Unstable |
| 21079 class WebSocket extends EventTarget native "WebSocket" { | 21838 class WebSocket extends EventTarget native "WebSocket" { |
| 21080 | 21839 |
| 21081 @DomName('WebSocket.closeEvent') | 21840 @DomName('WebSocket.closeEvent') |
| 21082 @DocsEditable | 21841 @DocsEditable |
| 21083 static const EventStreamProvider<CloseEvent> closeEvent = const EventStreamPro
vider<CloseEvent>('close'); | 21842 static const EventStreamProvider<CloseEvent> closeEvent = const EventStreamPro
vider<CloseEvent>('close'); |
| 21084 | 21843 |
| 21085 @DomName('WebSocket.errorEvent') | 21844 @DomName('WebSocket.errorEvent') |
| 21086 @DocsEditable | 21845 @DocsEditable |
| 21087 static const EventStreamProvider<Event> errorEvent = const EventStreamProvider
<Event>('error'); | 21846 static const EventStreamProvider<Event> errorEvent = const EventStreamProvider
<Event>('error'); |
| 21088 | 21847 |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 21127 @DocsEditable | 21886 @DocsEditable |
| 21128 static const int CONNECTING = 0; | 21887 static const int CONNECTING = 0; |
| 21129 | 21888 |
| 21130 @DomName('WebSocket.OPEN') | 21889 @DomName('WebSocket.OPEN') |
| 21131 @DocsEditable | 21890 @DocsEditable |
| 21132 static const int OPEN = 1; | 21891 static const int OPEN = 1; |
| 21133 | 21892 |
| 21134 @JSName('URL') | 21893 @JSName('URL') |
| 21135 @DomName('WebSocket.URL') | 21894 @DomName('WebSocket.URL') |
| 21136 @DocsEditable | 21895 @DocsEditable |
| 21896 @deprecated // deprecated |
| 21137 final String Url; | 21897 final String Url; |
| 21138 | 21898 |
| 21139 @DomName('WebSocket.binaryType') | 21899 @DomName('WebSocket.binaryType') |
| 21140 @DocsEditable | 21900 @DocsEditable |
| 21141 String binaryType; | 21901 String binaryType; |
| 21142 | 21902 |
| 21143 @DomName('WebSocket.bufferedAmount') | 21903 @DomName('WebSocket.bufferedAmount') |
| 21144 @DocsEditable | 21904 @DocsEditable |
| 21145 final int bufferedAmount; | 21905 final int bufferedAmount; |
| 21146 | 21906 |
| (...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 21293 @DomName('WheelEvent.webkitDirectionInvertedFromDevice') | 22053 @DomName('WheelEvent.webkitDirectionInvertedFromDevice') |
| 21294 @DocsEditable | 22054 @DocsEditable |
| 21295 @SupportedBrowser(SupportedBrowser.CHROME) | 22055 @SupportedBrowser(SupportedBrowser.CHROME) |
| 21296 @SupportedBrowser(SupportedBrowser.SAFARI) | 22056 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 21297 @Experimental | 22057 @Experimental |
| 21298 final bool directionInvertedFromDevice; | 22058 final bool directionInvertedFromDevice; |
| 21299 | 22059 |
| 21300 @JSName('initWebKitWheelEvent') | 22060 @JSName('initWebKitWheelEvent') |
| 21301 @DomName('WheelEvent.initWebKitWheelEvent') | 22061 @DomName('WheelEvent.initWebKitWheelEvent') |
| 21302 @DocsEditable | 22062 @DocsEditable |
| 22063 @Experimental |
| 21303 void $dom_initWebKitWheelEvent(int wheelDeltaX, int wheelDeltaY, Window view,
int screenX, int screenY, int clientX, int clientY, bool ctrlKey, bool altKey, b
ool shiftKey, bool metaKey) native; | 22064 void $dom_initWebKitWheelEvent(int wheelDeltaX, int wheelDeltaY, Window view,
int screenX, int screenY, int clientX, int clientY, bool ctrlKey, bool altKey, b
ool shiftKey, bool metaKey) native; |
| 21304 | 22065 |
| 21305 | 22066 |
| 21306 /** | 22067 /** |
| 21307 * The amount that is expected to scroll vertically, in units determined by | 22068 * The amount that is expected to scroll vertically, in units determined by |
| 21308 * [deltaMode]. | 22069 * [deltaMode]. |
| 21309 * | 22070 * |
| 21310 * See also: | 22071 * See also: |
| 21311 * | 22072 * |
| 21312 * * [WheelEvent.deltaY](http://dev.w3.org/2006/webapi/DOM-Level-3-Events/html
/DOM3-Events.html#events-WheelEvent-deltaY) from the W3C. | 22073 * * [WheelEvent.deltaY](http://dev.w3.org/2006/webapi/DOM-Level-3-Events/html
/DOM3-Events.html#events-WheelEvent-deltaY) from the W3C. |
| (...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 21682 } | 22443 } |
| 21683 | 22444 |
| 21684 /** | 22445 /** |
| 21685 * Checks whether [convertPointFromNodeToPage] and | 22446 * Checks whether [convertPointFromNodeToPage] and |
| 21686 * [convertPointFromPageToNode] are supported on the current platform. | 22447 * [convertPointFromPageToNode] are supported on the current platform. |
| 21687 */ | 22448 */ |
| 21688 static bool get supportsPointConversions => _DomPoint.supported; | 22449 static bool get supportsPointConversions => _DomPoint.supported; |
| 21689 | 22450 |
| 21690 @DomName('Window.DOMContentLoadedEvent') | 22451 @DomName('Window.DOMContentLoadedEvent') |
| 21691 @DocsEditable | 22452 @DocsEditable |
| 22453 @Experimental // untriaged |
| 21692 static const EventStreamProvider<Event> contentLoadedEvent = const EventStream
Provider<Event>('DOMContentLoaded'); | 22454 static const EventStreamProvider<Event> contentLoadedEvent = const EventStream
Provider<Event>('DOMContentLoaded'); |
| 21693 | 22455 |
| 21694 @DomName('Window.devicemotionEvent') | 22456 @DomName('Window.devicemotionEvent') |
| 21695 @DocsEditable | 22457 @DocsEditable |
| 22458 // http://dev.w3.org/geo/api/spec-source-orientation.html#devicemotion |
| 22459 @Experimental |
| 21696 static const EventStreamProvider<DeviceMotionEvent> deviceMotionEvent = const
EventStreamProvider<DeviceMotionEvent>('devicemotion'); | 22460 static const EventStreamProvider<DeviceMotionEvent> deviceMotionEvent = const
EventStreamProvider<DeviceMotionEvent>('devicemotion'); |
| 21697 | 22461 |
| 21698 @DomName('Window.deviceorientationEvent') | 22462 @DomName('Window.deviceorientationEvent') |
| 21699 @DocsEditable | 22463 @DocsEditable |
| 22464 // http://dev.w3.org/geo/api/spec-source-orientation.html#devicemotion |
| 22465 @Experimental |
| 21700 static const EventStreamProvider<DeviceOrientationEvent> deviceOrientationEven
t = const EventStreamProvider<DeviceOrientationEvent>('deviceorientation'); | 22466 static const EventStreamProvider<DeviceOrientationEvent> deviceOrientationEven
t = const EventStreamProvider<DeviceOrientationEvent>('deviceorientation'); |
| 21701 | 22467 |
| 21702 @DomName('Window.hashchangeEvent') | 22468 @DomName('Window.hashchangeEvent') |
| 21703 @DocsEditable | 22469 @DocsEditable |
| 21704 static const EventStreamProvider<Event> hashChangeEvent = const EventStreamPro
vider<Event>('hashchange'); | 22470 static const EventStreamProvider<Event> hashChangeEvent = const EventStreamPro
vider<Event>('hashchange'); |
| 21705 | 22471 |
| 21706 @DomName('Window.messageEvent') | 22472 @DomName('Window.messageEvent') |
| 21707 @DocsEditable | 22473 @DocsEditable |
| 21708 static const EventStreamProvider<MessageEvent> messageEvent = const EventStrea
mProvider<MessageEvent>('message'); | 22474 static const EventStreamProvider<MessageEvent> messageEvent = const EventStrea
mProvider<MessageEvent>('message'); |
| 21709 | 22475 |
| (...skipping 27 matching lines...) Expand all Loading... |
| 21737 | 22503 |
| 21738 @DomName('Window.unloadEvent') | 22504 @DomName('Window.unloadEvent') |
| 21739 @DocsEditable | 22505 @DocsEditable |
| 21740 static const EventStreamProvider<Event> unloadEvent = const EventStreamProvide
r<Event>('unload'); | 22506 static const EventStreamProvider<Event> unloadEvent = const EventStreamProvide
r<Event>('unload'); |
| 21741 | 22507 |
| 21742 @DomName('Window.webkitAnimationEndEvent') | 22508 @DomName('Window.webkitAnimationEndEvent') |
| 21743 @DocsEditable | 22509 @DocsEditable |
| 21744 @SupportedBrowser(SupportedBrowser.CHROME) | 22510 @SupportedBrowser(SupportedBrowser.CHROME) |
| 21745 @SupportedBrowser(SupportedBrowser.SAFARI) | 22511 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 21746 @Experimental | 22512 @Experimental |
| 22513 @Experimental // untriaged |
| 21747 static const EventStreamProvider<AnimationEvent> animationEndEvent = const Eve
ntStreamProvider<AnimationEvent>('webkitAnimationEnd'); | 22514 static const EventStreamProvider<AnimationEvent> animationEndEvent = const Eve
ntStreamProvider<AnimationEvent>('webkitAnimationEnd'); |
| 21748 | 22515 |
| 21749 @DomName('Window.webkitAnimationIterationEvent') | 22516 @DomName('Window.webkitAnimationIterationEvent') |
| 21750 @DocsEditable | 22517 @DocsEditable |
| 21751 @SupportedBrowser(SupportedBrowser.CHROME) | 22518 @SupportedBrowser(SupportedBrowser.CHROME) |
| 21752 @SupportedBrowser(SupportedBrowser.SAFARI) | 22519 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 21753 @Experimental | 22520 @Experimental |
| 22521 @Experimental // untriaged |
| 21754 static const EventStreamProvider<AnimationEvent> animationIterationEvent = con
st EventStreamProvider<AnimationEvent>('webkitAnimationIteration'); | 22522 static const EventStreamProvider<AnimationEvent> animationIterationEvent = con
st EventStreamProvider<AnimationEvent>('webkitAnimationIteration'); |
| 21755 | 22523 |
| 21756 @DomName('Window.webkitAnimationStartEvent') | 22524 @DomName('Window.webkitAnimationStartEvent') |
| 21757 @DocsEditable | 22525 @DocsEditable |
| 21758 @SupportedBrowser(SupportedBrowser.CHROME) | 22526 @SupportedBrowser(SupportedBrowser.CHROME) |
| 21759 @SupportedBrowser(SupportedBrowser.SAFARI) | 22527 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 21760 @Experimental | 22528 @Experimental |
| 22529 @Experimental // untriaged |
| 21761 static const EventStreamProvider<AnimationEvent> animationStartEvent = const E
ventStreamProvider<AnimationEvent>('webkitAnimationStart'); | 22530 static const EventStreamProvider<AnimationEvent> animationStartEvent = const E
ventStreamProvider<AnimationEvent>('webkitAnimationStart'); |
| 21762 | 22531 |
| 21763 @DomName('Window.PERSISTENT') | 22532 @DomName('Window.PERSISTENT') |
| 21764 @DocsEditable | 22533 @DocsEditable |
| 22534 // http://www.w3.org/TR/file-system-api/#idl-def-LocalFileSystem |
| 22535 @Experimental |
| 21765 static const int PERSISTENT = 1; | 22536 static const int PERSISTENT = 1; |
| 21766 | 22537 |
| 21767 @DomName('Window.TEMPORARY') | 22538 @DomName('Window.TEMPORARY') |
| 21768 @DocsEditable | 22539 @DocsEditable |
| 22540 // http://www.w3.org/TR/file-system-api/#idl-def-LocalFileSystem |
| 22541 @Experimental |
| 21769 static const int TEMPORARY = 0; | 22542 static const int TEMPORARY = 0; |
| 21770 | 22543 |
| 21771 @JSName('CSS') | 22544 @JSName('CSS') |
| 21772 @DomName('Window.CSS') | 22545 @DomName('Window.CSS') |
| 21773 @DocsEditable | 22546 @DocsEditable |
| 22547 @Experimental // untriaged |
| 21774 final Css css; | 22548 final Css css; |
| 21775 | 22549 |
| 21776 @DomName('Window.applicationCache') | 22550 @DomName('Window.applicationCache') |
| 21777 @DocsEditable | 22551 @DocsEditable |
| 21778 final ApplicationCache applicationCache; | 22552 final ApplicationCache applicationCache; |
| 21779 | 22553 |
| 21780 @DomName('Window.closed') | 22554 @DomName('Window.closed') |
| 21781 @DocsEditable | 22555 @DocsEditable |
| 21782 final bool closed; | 22556 final bool closed; |
| 21783 | 22557 |
| 21784 @DomName('Window.crypto') | 22558 @DomName('Window.crypto') |
| 21785 @DocsEditable | 22559 @DocsEditable |
| 22560 // http://www.w3.org/TR/WebCryptoAPI/ |
| 22561 @Experimental |
| 21786 final Crypto crypto; | 22562 final Crypto crypto; |
| 21787 | 22563 |
| 21788 @DomName('Window.defaultStatus') | 22564 @DomName('Window.defaultStatus') |
| 21789 @DocsEditable | 22565 @DocsEditable |
| 21790 String defaultStatus; | 22566 String defaultStatus; |
| 21791 | 22567 |
| 21792 @DomName('Window.defaultstatus') | 22568 @DomName('Window.defaultstatus') |
| 21793 @DocsEditable | 22569 @DocsEditable |
| 22570 @Experimental // non-standard |
| 21794 String defaultstatus; | 22571 String defaultstatus; |
| 21795 | 22572 |
| 21796 @DomName('Window.devicePixelRatio') | 22573 @DomName('Window.devicePixelRatio') |
| 21797 @DocsEditable | 22574 @DocsEditable |
| 22575 // http://www.quirksmode.org/blog/archives/2012/06/devicepixelrati.html |
| 22576 @Experimental // non-standard |
| 21798 final num devicePixelRatio; | 22577 final num devicePixelRatio; |
| 21799 | 22578 |
| 21800 @DomName('Window.event') | 22579 @DomName('Window.event') |
| 21801 @DocsEditable | 22580 @DocsEditable |
| 22581 @deprecated // deprecated |
| 21802 final Event event; | 22582 final Event event; |
| 21803 | 22583 |
| 21804 @DomName('Window.history') | 22584 @DomName('Window.history') |
| 21805 @DocsEditable | 22585 @DocsEditable |
| 21806 final History history; | 22586 final History history; |
| 21807 | 22587 |
| 21808 @DomName('Window.innerHeight') | 22588 @DomName('Window.innerHeight') |
| 21809 @DocsEditable | 22589 @DocsEditable |
| 21810 final int innerHeight; | 22590 final int innerHeight; |
| 21811 | 22591 |
| (...skipping 16 matching lines...) Expand all Loading... |
| 21828 @DomName('Window.name') | 22608 @DomName('Window.name') |
| 21829 @DocsEditable | 22609 @DocsEditable |
| 21830 String name; | 22610 String name; |
| 21831 | 22611 |
| 21832 @DomName('Window.navigator') | 22612 @DomName('Window.navigator') |
| 21833 @DocsEditable | 22613 @DocsEditable |
| 21834 final Navigator navigator; | 22614 final Navigator navigator; |
| 21835 | 22615 |
| 21836 @DomName('Window.offscreenBuffering') | 22616 @DomName('Window.offscreenBuffering') |
| 21837 @DocsEditable | 22617 @DocsEditable |
| 22618 @Experimental // non-standard |
| 21838 final bool offscreenBuffering; | 22619 final bool offscreenBuffering; |
| 21839 | 22620 |
| 21840 WindowBase get opener => _convertNativeToDart_Window(this._get_opener); | 22621 WindowBase get opener => _convertNativeToDart_Window(this._get_opener); |
| 21841 @JSName('opener') | 22622 @JSName('opener') |
| 21842 @DomName('Window.opener') | 22623 @DomName('Window.opener') |
| 21843 @DocsEditable | 22624 @DocsEditable |
| 21844 @Creates('Window|=Object') | 22625 @Creates('Window|=Object') |
| 21845 @Returns('Window|=Object') | 22626 @Returns('Window|=Object') |
| 21846 final dynamic _get_opener; | 22627 final dynamic _get_opener; |
| 21847 | 22628 |
| (...skipping 23 matching lines...) Expand all Loading... |
| 21871 | 22652 |
| 21872 @DomName('Window.performance') | 22653 @DomName('Window.performance') |
| 21873 @DocsEditable | 22654 @DocsEditable |
| 21874 @SupportedBrowser(SupportedBrowser.CHROME) | 22655 @SupportedBrowser(SupportedBrowser.CHROME) |
| 21875 @SupportedBrowser(SupportedBrowser.FIREFOX) | 22656 @SupportedBrowser(SupportedBrowser.FIREFOX) |
| 21876 @SupportedBrowser(SupportedBrowser.IE) | 22657 @SupportedBrowser(SupportedBrowser.IE) |
| 21877 final Performance performance; | 22658 final Performance performance; |
| 21878 | 22659 |
| 21879 @DomName('Window.personalbar') | 22660 @DomName('Window.personalbar') |
| 21880 @DocsEditable | 22661 @DocsEditable |
| 22662 // https://developer.mozilla.org/en-US/docs/DOM/window.personalbar |
| 22663 @deprecated // deprecated |
| 21881 final BarInfo personalbar; | 22664 final BarInfo personalbar; |
| 21882 | 22665 |
| 21883 @DomName('Window.screen') | 22666 @DomName('Window.screen') |
| 21884 @DocsEditable | 22667 @DocsEditable |
| 21885 final Screen screen; | 22668 final Screen screen; |
| 21886 | 22669 |
| 21887 @DomName('Window.screenLeft') | 22670 @DomName('Window.screenLeft') |
| 21888 @DocsEditable | 22671 @DocsEditable |
| 21889 final int screenLeft; | 22672 final int screenLeft; |
| 21890 | 22673 |
| (...skipping 28 matching lines...) Expand all Loading... |
| 21919 @Creates('Window|=Object') | 22702 @Creates('Window|=Object') |
| 21920 @Returns('Window|=Object') | 22703 @Returns('Window|=Object') |
| 21921 final dynamic _get_self; | 22704 final dynamic _get_self; |
| 21922 | 22705 |
| 21923 @DomName('Window.sessionStorage') | 22706 @DomName('Window.sessionStorage') |
| 21924 @DocsEditable | 22707 @DocsEditable |
| 21925 final Storage sessionStorage; | 22708 final Storage sessionStorage; |
| 21926 | 22709 |
| 21927 @DomName('Window.speechSynthesis') | 22710 @DomName('Window.speechSynthesis') |
| 21928 @DocsEditable | 22711 @DocsEditable |
| 22712 @Experimental // untriaged |
| 21929 final SpeechSynthesis speechSynthesis; | 22713 final SpeechSynthesis speechSynthesis; |
| 21930 | 22714 |
| 21931 @DomName('Window.status') | 22715 @DomName('Window.status') |
| 21932 @DocsEditable | 22716 @DocsEditable |
| 21933 String status; | 22717 String status; |
| 21934 | 22718 |
| 21935 @DomName('Window.statusbar') | 22719 @DomName('Window.statusbar') |
| 21936 @DocsEditable | 22720 @DocsEditable |
| 21937 final BarInfo statusbar; | 22721 final BarInfo statusbar; |
| 21938 | 22722 |
| 21939 @DomName('Window.styleMedia') | 22723 @DomName('Window.styleMedia') |
| 21940 @DocsEditable | 22724 @DocsEditable |
| 22725 // http://developer.apple.com/library/safari/#documentation/SafariDOMAdditions
/Reference/StyleMedia/StyleMedia/StyleMedia.html |
| 22726 @Experimental // nonstandard |
| 21941 final StyleMedia styleMedia; | 22727 final StyleMedia styleMedia; |
| 21942 | 22728 |
| 21943 @DomName('Window.toolbar') | 22729 @DomName('Window.toolbar') |
| 21944 @DocsEditable | 22730 @DocsEditable |
| 21945 final BarInfo toolbar; | 22731 final BarInfo toolbar; |
| 21946 | 22732 |
| 21947 WindowBase get top => _convertNativeToDart_Window(this._get_top); | 22733 WindowBase get top => _convertNativeToDart_Window(this._get_top); |
| 21948 @JSName('top') | 22734 @JSName('top') |
| 21949 @DomName('Window.top') | 22735 @DomName('Window.top') |
| 21950 @DocsEditable | 22736 @DocsEditable |
| 21951 @Creates('Window|=Object') | 22737 @Creates('Window|=Object') |
| 21952 @Returns('Window|=Object') | 22738 @Returns('Window|=Object') |
| 21953 final dynamic _get_top; | 22739 final dynamic _get_top; |
| 21954 | 22740 |
| 21955 @JSName('webkitNotifications') | 22741 @JSName('webkitNotifications') |
| 21956 @DomName('Window.webkitNotifications') | 22742 @DomName('Window.webkitNotifications') |
| 21957 @DocsEditable | 22743 @DocsEditable |
| 21958 @SupportedBrowser(SupportedBrowser.CHROME) | 22744 @SupportedBrowser(SupportedBrowser.CHROME) |
| 21959 @SupportedBrowser(SupportedBrowser.SAFARI) | 22745 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 21960 @Experimental | 22746 @Experimental |
| 22747 // https://plus.sandbox.google.com/u/0/+GoogleChromeDevelopers/posts/8vWo8hq4p
Dm?e=Showroom |
| 22748 @deprecated // deprecated |
| 21961 final NotificationCenter notifications; | 22749 final NotificationCenter notifications; |
| 21962 | 22750 |
| 21963 @JSName('webkitStorageInfo') | 22751 @JSName('webkitStorageInfo') |
| 21964 @DomName('Window.webkitStorageInfo') | 22752 @DomName('Window.webkitStorageInfo') |
| 21965 @DocsEditable | 22753 @DocsEditable |
| 21966 @SupportedBrowser(SupportedBrowser.CHROME) | 22754 @SupportedBrowser(SupportedBrowser.CHROME) |
| 21967 @SupportedBrowser(SupportedBrowser.SAFARI) | 22755 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 21968 @Experimental | 22756 @Experimental |
| 22757 // http://www.w3.org/TR/file-system-api/ |
| 22758 @deprecated // deprecated |
| 21969 final StorageInfo storageInfo; | 22759 final StorageInfo storageInfo; |
| 21970 | 22760 |
| 21971 WindowBase get window => _convertNativeToDart_Window(this._get_window); | 22761 WindowBase get window => _convertNativeToDart_Window(this._get_window); |
| 21972 @JSName('window') | 22762 @JSName('window') |
| 21973 @DomName('Window.window') | 22763 @DomName('Window.window') |
| 21974 @DocsEditable | 22764 @DocsEditable |
| 21975 @Creates('Window|=Object') | 22765 @Creates('Window|=Object') |
| 21976 @Returns('Window|=Object') | 22766 @Returns('Window|=Object') |
| 21977 final dynamic _get_window; | 22767 final dynamic _get_window; |
| 21978 | 22768 |
| 21979 @JSName('addEventListener') | 22769 @JSName('addEventListener') |
| 21980 @DomName('Window.addEventListener') | 22770 @DomName('Window.addEventListener') |
| 21981 @DocsEditable | 22771 @DocsEditable |
| 21982 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]) native; | 22772 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]) native; |
| 21983 | 22773 |
| 21984 @DomName('Window.alert') | 22774 @DomName('Window.alert') |
| 21985 @DocsEditable | 22775 @DocsEditable |
| 21986 void alert(String message) native; | 22776 void alert(String message) native; |
| 21987 | 22777 |
| 21988 @DomName('Window.atob') | 22778 @DomName('Window.atob') |
| 21989 @DocsEditable | 22779 @DocsEditable |
| 21990 String atob(String string) native; | 22780 String atob(String string) native; |
| 21991 | 22781 |
| 21992 @DomName('Window.btoa') | 22782 @DomName('Window.btoa') |
| 21993 @DocsEditable | 22783 @DocsEditable |
| 21994 String btoa(String string) native; | 22784 String btoa(String string) native; |
| 21995 | 22785 |
| 21996 @DomName('Window.captureEvents') | 22786 @DomName('Window.captureEvents') |
| 21997 @DocsEditable | 22787 @DocsEditable |
| 22788 // http://www.w3.org/TR/DOM-Level-2-Events/events.html#Events-flow-capture |
| 22789 @deprecated // deprecated |
| 21998 void captureEvents() native; | 22790 void captureEvents() native; |
| 21999 | 22791 |
| 22000 @JSName('clearInterval') | 22792 @JSName('clearInterval') |
| 22001 @DomName('Window.clearInterval') | 22793 @DomName('Window.clearInterval') |
| 22002 @DocsEditable | 22794 @DocsEditable |
| 22003 void _clearInterval(int handle) native; | 22795 void _clearInterval(int handle) native; |
| 22004 | 22796 |
| 22005 @JSName('clearTimeout') | 22797 @JSName('clearTimeout') |
| 22006 @DomName('Window.clearTimeout') | 22798 @DomName('Window.clearTimeout') |
| 22007 @DocsEditable | 22799 @DocsEditable |
| 22008 void _clearTimeout(int handle) native; | 22800 void _clearTimeout(int handle) native; |
| 22009 | 22801 |
| 22010 @DomName('Window.close') | 22802 @DomName('Window.close') |
| 22011 @DocsEditable | 22803 @DocsEditable |
| 22012 void close() native; | 22804 void close() native; |
| 22013 | 22805 |
| 22014 @DomName('Window.confirm') | 22806 @DomName('Window.confirm') |
| 22015 @DocsEditable | 22807 @DocsEditable |
| 22016 bool confirm(String message) native; | 22808 bool confirm(String message) native; |
| 22017 | 22809 |
| 22018 @DomName('Window.dispatchEvent') | 22810 @DomName('Window.dispatchEvent') |
| 22019 @DocsEditable | 22811 @DocsEditable |
| 22020 bool dispatchEvent(Event evt) native; | 22812 bool dispatchEvent(Event evt) native; |
| 22021 | 22813 |
| 22022 @DomName('Window.find') | 22814 @DomName('Window.find') |
| 22023 @DocsEditable | 22815 @DocsEditable |
| 22816 @Experimental // non-standard |
| 22024 bool find(String string, bool caseSensitive, bool backwards, bool wrap, bool w
holeWord, bool searchInFrames, bool showDialog) native; | 22817 bool find(String string, bool caseSensitive, bool backwards, bool wrap, bool w
holeWord, bool searchInFrames, bool showDialog) native; |
| 22025 | 22818 |
| 22026 @JSName('getComputedStyle') | 22819 @JSName('getComputedStyle') |
| 22027 @DomName('Window.getComputedStyle') | 22820 @DomName('Window.getComputedStyle') |
| 22028 @DocsEditable | 22821 @DocsEditable |
| 22029 CssStyleDeclaration $dom_getComputedStyle(Element element, String pseudoElemen
t) native; | 22822 CssStyleDeclaration $dom_getComputedStyle(Element element, String pseudoElemen
t) native; |
| 22030 | 22823 |
| 22031 @JSName('getMatchedCSSRules') | 22824 @JSName('getMatchedCSSRules') |
| 22032 @DomName('Window.getMatchedCSSRules') | 22825 @DomName('Window.getMatchedCSSRules') |
| 22033 @DocsEditable | 22826 @DocsEditable |
| 22827 @Experimental // non-standard |
| 22034 @Returns('_CssRuleList') | 22828 @Returns('_CssRuleList') |
| 22035 @Creates('_CssRuleList') | 22829 @Creates('_CssRuleList') |
| 22036 List<CssRule> getMatchedCssRules(Element element, String pseudoElement) native
; | 22830 List<CssRule> getMatchedCssRules(Element element, String pseudoElement) native
; |
| 22037 | 22831 |
| 22038 @DomName('Window.getSelection') | 22832 @DomName('Window.getSelection') |
| 22039 @DocsEditable | 22833 @DocsEditable |
| 22040 Selection getSelection() native; | 22834 Selection getSelection() native; |
| 22041 | 22835 |
| 22042 @DomName('Window.matchMedia') | 22836 @DomName('Window.matchMedia') |
| 22043 @DocsEditable | 22837 @DocsEditable |
| 22044 MediaQueryList matchMedia(String query) native; | 22838 MediaQueryList matchMedia(String query) native; |
| 22045 | 22839 |
| 22046 @DomName('Window.moveBy') | 22840 @DomName('Window.moveBy') |
| 22047 @DocsEditable | 22841 @DocsEditable |
| 22048 void moveBy(num x, num y) native; | 22842 void moveBy(num x, num y) native; |
| 22049 | 22843 |
| 22050 @DomName('Window.moveTo') | 22844 @DomName('Window.moveTo') |
| 22051 @DocsEditable | 22845 @DocsEditable |
| 22052 void moveTo(num x, num y) native; | 22846 void moveTo(num x, num y) native; |
| 22053 | 22847 |
| 22054 @DomName('Window.openDatabase') | 22848 @DomName('Window.openDatabase') |
| 22055 @DocsEditable | 22849 @DocsEditable |
| 22056 @SupportedBrowser(SupportedBrowser.CHROME) | 22850 @SupportedBrowser(SupportedBrowser.CHROME) |
| 22057 @SupportedBrowser(SupportedBrowser.SAFARI) | 22851 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 22058 @Experimental | 22852 @Experimental |
| 22853 // http://www.w3.org/TR/webdatabase/ |
| 22854 @Experimental // deprecated |
| 22059 @Creates('SqlDatabase') | 22855 @Creates('SqlDatabase') |
| 22060 SqlDatabase openDatabase(String name, String version, String displayName, int
estimatedSize, [DatabaseCallback creationCallback]) native; | 22856 SqlDatabase openDatabase(String name, String version, String displayName, int
estimatedSize, [DatabaseCallback creationCallback]) native; |
| 22061 | 22857 |
| 22062 @DomName('Window.postMessage') | 22858 @DomName('Window.postMessage') |
| 22063 @DocsEditable | 22859 @DocsEditable |
| 22064 void postMessage(/*SerializedScriptValue*/ message, String targetOrigin, [List
messagePorts]) { | 22860 void postMessage(/*SerializedScriptValue*/ message, String targetOrigin, [List
messagePorts]) { |
| 22065 if (?messagePorts) { | 22861 if (?messagePorts) { |
| 22066 var message_1 = convertDartToNative_SerializedScriptValue(message); | 22862 var message_1 = convertDartToNative_SerializedScriptValue(message); |
| 22067 _postMessage_1(message_1, targetOrigin, messagePorts); | 22863 _postMessage_1(message_1, targetOrigin, messagePorts); |
| 22068 return; | 22864 return; |
| (...skipping 10 matching lines...) Expand all Loading... |
| 22079 @DomName('Window.postMessage') | 22875 @DomName('Window.postMessage') |
| 22080 @DocsEditable | 22876 @DocsEditable |
| 22081 void _postMessage_2(message, targetOrigin) native; | 22877 void _postMessage_2(message, targetOrigin) native; |
| 22082 | 22878 |
| 22083 @DomName('Window.print') | 22879 @DomName('Window.print') |
| 22084 @DocsEditable | 22880 @DocsEditable |
| 22085 void print() native; | 22881 void print() native; |
| 22086 | 22882 |
| 22087 @DomName('Window.releaseEvents') | 22883 @DomName('Window.releaseEvents') |
| 22088 @DocsEditable | 22884 @DocsEditable |
| 22885 // http://www.w3.org/TR/DOM-Level-2-Events/events.html#Events-flow-capture |
| 22886 @deprecated // deprecated |
| 22089 void releaseEvents() native; | 22887 void releaseEvents() native; |
| 22090 | 22888 |
| 22091 @JSName('removeEventListener') | 22889 @JSName('removeEventListener') |
| 22092 @DomName('Window.removeEventListener') | 22890 @DomName('Window.removeEventListener') |
| 22093 @DocsEditable | 22891 @DocsEditable |
| 22094 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]) native; | 22892 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]) native; |
| 22095 | 22893 |
| 22096 @DomName('Window.resizeBy') | 22894 @DomName('Window.resizeBy') |
| 22097 @DocsEditable | 22895 @DocsEditable |
| 22098 void resizeBy(num x, num y) native; | 22896 void resizeBy(num x, num y) native; |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 22134 @DomName('Window.toString') | 22932 @DomName('Window.toString') |
| 22135 @DocsEditable | 22933 @DocsEditable |
| 22136 String toString() native; | 22934 String toString() native; |
| 22137 | 22935 |
| 22138 @JSName('webkitConvertPointFromNodeToPage') | 22936 @JSName('webkitConvertPointFromNodeToPage') |
| 22139 @DomName('Window.webkitConvertPointFromNodeToPage') | 22937 @DomName('Window.webkitConvertPointFromNodeToPage') |
| 22140 @DocsEditable | 22938 @DocsEditable |
| 22141 @SupportedBrowser(SupportedBrowser.CHROME) | 22939 @SupportedBrowser(SupportedBrowser.CHROME) |
| 22142 @SupportedBrowser(SupportedBrowser.SAFARI) | 22940 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 22143 @Experimental | 22941 @Experimental |
| 22942 // http://developer.apple.com/library/safari/#documentation/DataManagement/Ref
erence/DOMWindowAdditionsReference/DOMWindowAdditions/DOMWindowAdditions.html |
| 22144 _DomPoint _convertPointFromNodeToPage(Node node, _DomPoint p) native; | 22943 _DomPoint _convertPointFromNodeToPage(Node node, _DomPoint p) native; |
| 22145 | 22944 |
| 22146 @JSName('webkitConvertPointFromPageToNode') | 22945 @JSName('webkitConvertPointFromPageToNode') |
| 22147 @DomName('Window.webkitConvertPointFromPageToNode') | 22946 @DomName('Window.webkitConvertPointFromPageToNode') |
| 22148 @DocsEditable | 22947 @DocsEditable |
| 22149 @SupportedBrowser(SupportedBrowser.CHROME) | 22948 @SupportedBrowser(SupportedBrowser.CHROME) |
| 22150 @SupportedBrowser(SupportedBrowser.SAFARI) | 22949 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 22151 @Experimental | 22950 @Experimental |
| 22951 // http://developer.apple.com/library/safari/#documentation/DataManagement/Ref
erence/DOMWindowAdditionsReference/DOMWindowAdditions/DOMWindowAdditions.html |
| 22152 _DomPoint _convertPointFromPageToNode(Node node, _DomPoint p) native; | 22952 _DomPoint _convertPointFromPageToNode(Node node, _DomPoint p) native; |
| 22153 | 22953 |
| 22154 @JSName('webkitRequestFileSystem') | 22954 @JSName('webkitRequestFileSystem') |
| 22155 @DomName('Window.webkitRequestFileSystem') | 22955 @DomName('Window.webkitRequestFileSystem') |
| 22156 @DocsEditable | 22956 @DocsEditable |
| 22157 @SupportedBrowser(SupportedBrowser.CHROME) | 22957 @SupportedBrowser(SupportedBrowser.CHROME) |
| 22158 @Experimental | 22958 @Experimental |
| 22959 // http://www.w3.org/TR/file-system-api/#idl-def-LocalFileSystem |
| 22159 void __requestFileSystem(int type, int size, _FileSystemCallback successCallba
ck, [_ErrorCallback errorCallback]) native; | 22960 void __requestFileSystem(int type, int size, _FileSystemCallback successCallba
ck, [_ErrorCallback errorCallback]) native; |
| 22160 | 22961 |
| 22161 @JSName('webkitRequestFileSystem') | 22962 @JSName('webkitRequestFileSystem') |
| 22162 @DomName('Window.webkitRequestFileSystem') | 22963 @DomName('Window.webkitRequestFileSystem') |
| 22163 @DocsEditable | 22964 @DocsEditable |
| 22164 @SupportedBrowser(SupportedBrowser.CHROME) | 22965 @SupportedBrowser(SupportedBrowser.CHROME) |
| 22165 @Experimental | 22966 @Experimental |
| 22967 // http://www.w3.org/TR/file-system-api/#idl-def-LocalFileSystem |
| 22166 Future<FileSystem> _requestFileSystem(int type, int size) { | 22968 Future<FileSystem> _requestFileSystem(int type, int size) { |
| 22167 var completer = new Completer<FileSystem>(); | 22969 var completer = new Completer<FileSystem>(); |
| 22168 __requestFileSystem(type, size, | 22970 __requestFileSystem(type, size, |
| 22169 (value) { completer.complete(value); }, | 22971 (value) { completer.complete(value); }, |
| 22170 (error) { completer.completeError(error); }); | 22972 (error) { completer.completeError(error); }); |
| 22171 return completer.future; | 22973 return completer.future; |
| 22172 } | 22974 } |
| 22173 | 22975 |
| 22174 @JSName('webkitResolveLocalFileSystemURL') | 22976 @JSName('webkitResolveLocalFileSystemURL') |
| 22175 @DomName('Window.webkitResolveLocalFileSystemURL') | 22977 @DomName('Window.webkitResolveLocalFileSystemURL') |
| 22176 @DocsEditable | 22978 @DocsEditable |
| 22177 @SupportedBrowser(SupportedBrowser.CHROME) | 22979 @SupportedBrowser(SupportedBrowser.CHROME) |
| 22178 @Experimental | 22980 @Experimental |
| 22981 // http://www.w3.org/TR/file-system-api/#idl-def-LocalFileSystem |
| 22179 void _resolveLocalFileSystemUrl(String url, _EntryCallback successCallback, [_
ErrorCallback errorCallback]) native; | 22982 void _resolveLocalFileSystemUrl(String url, _EntryCallback successCallback, [_
ErrorCallback errorCallback]) native; |
| 22180 | 22983 |
| 22181 @JSName('webkitResolveLocalFileSystemURL') | 22984 @JSName('webkitResolveLocalFileSystemURL') |
| 22182 @DomName('Window.webkitResolveLocalFileSystemURL') | 22985 @DomName('Window.webkitResolveLocalFileSystemURL') |
| 22183 @DocsEditable | 22986 @DocsEditable |
| 22184 @SupportedBrowser(SupportedBrowser.CHROME) | 22987 @SupportedBrowser(SupportedBrowser.CHROME) |
| 22185 @Experimental | 22988 @Experimental |
| 22989 // http://www.w3.org/TR/file-system-api/#idl-def-LocalFileSystem |
| 22186 Future<Entry> resolveLocalFileSystemUrl(String url) { | 22990 Future<Entry> resolveLocalFileSystemUrl(String url) { |
| 22187 var completer = new Completer<Entry>(); | 22991 var completer = new Completer<Entry>(); |
| 22188 _resolveLocalFileSystemUrl(url, | 22992 _resolveLocalFileSystemUrl(url, |
| 22189 (value) { completer.complete(value); }, | 22993 (value) { completer.complete(value); }, |
| 22190 (error) { completer.completeError(error); }); | 22994 (error) { completer.completeError(error); }); |
| 22191 return completer.future; | 22995 return completer.future; |
| 22192 } | 22996 } |
| 22193 | 22997 |
| 22194 @DomName('Window.onDOMContentLoaded') | 22998 @DomName('Window.onDOMContentLoaded') |
| 22195 @DocsEditable | 22999 @DocsEditable |
| 23000 @Experimental // untriaged |
| 22196 Stream<Event> get onContentLoaded => contentLoadedEvent.forTarget(this); | 23001 Stream<Event> get onContentLoaded => contentLoadedEvent.forTarget(this); |
| 22197 | 23002 |
| 22198 @DomName('Window.onabort') | 23003 @DomName('Window.onabort') |
| 22199 @DocsEditable | 23004 @DocsEditable |
| 22200 Stream<Event> get onAbort => Element.abortEvent.forTarget(this); | 23005 Stream<Event> get onAbort => Element.abortEvent.forTarget(this); |
| 22201 | 23006 |
| 22202 @DomName('Window.onblur') | 23007 @DomName('Window.onblur') |
| 22203 @DocsEditable | 23008 @DocsEditable |
| 22204 Stream<Event> get onBlur => Element.blurEvent.forTarget(this); | 23009 Stream<Event> get onBlur => Element.blurEvent.forTarget(this); |
| 22205 | 23010 |
| 22206 @DomName('Window.onchange') | 23011 @DomName('Window.onchange') |
| 22207 @DocsEditable | 23012 @DocsEditable |
| 22208 Stream<Event> get onChange => Element.changeEvent.forTarget(this); | 23013 Stream<Event> get onChange => Element.changeEvent.forTarget(this); |
| 22209 | 23014 |
| 22210 @DomName('Window.onclick') | 23015 @DomName('Window.onclick') |
| 22211 @DocsEditable | 23016 @DocsEditable |
| 22212 Stream<MouseEvent> get onClick => Element.clickEvent.forTarget(this); | 23017 Stream<MouseEvent> get onClick => Element.clickEvent.forTarget(this); |
| 22213 | 23018 |
| 22214 @DomName('Window.oncontextmenu') | 23019 @DomName('Window.oncontextmenu') |
| 22215 @DocsEditable | 23020 @DocsEditable |
| 22216 Stream<MouseEvent> get onContextMenu => Element.contextMenuEvent.forTarget(thi
s); | 23021 Stream<MouseEvent> get onContextMenu => Element.contextMenuEvent.forTarget(thi
s); |
| 22217 | 23022 |
| 22218 @DomName('Window.ondblclick') | 23023 @DomName('Window.ondblclick') |
| 22219 @DocsEditable | 23024 @DocsEditable |
| 22220 Stream<Event> get onDoubleClick => Element.doubleClickEvent.forTarget(this); | 23025 Stream<Event> get onDoubleClick => Element.doubleClickEvent.forTarget(this); |
| 22221 | 23026 |
| 22222 @DomName('Window.ondevicemotion') | 23027 @DomName('Window.ondevicemotion') |
| 22223 @DocsEditable | 23028 @DocsEditable |
| 23029 // http://dev.w3.org/geo/api/spec-source-orientation.html#devicemotion |
| 23030 @Experimental |
| 22224 Stream<DeviceMotionEvent> get onDeviceMotion => deviceMotionEvent.forTarget(th
is); | 23031 Stream<DeviceMotionEvent> get onDeviceMotion => deviceMotionEvent.forTarget(th
is); |
| 22225 | 23032 |
| 22226 @DomName('Window.ondeviceorientation') | 23033 @DomName('Window.ondeviceorientation') |
| 22227 @DocsEditable | 23034 @DocsEditable |
| 23035 // http://dev.w3.org/geo/api/spec-source-orientation.html#devicemotion |
| 23036 @Experimental |
| 22228 Stream<DeviceOrientationEvent> get onDeviceOrientation => deviceOrientationEve
nt.forTarget(this); | 23037 Stream<DeviceOrientationEvent> get onDeviceOrientation => deviceOrientationEve
nt.forTarget(this); |
| 22229 | 23038 |
| 22230 @DomName('Window.ondrag') | 23039 @DomName('Window.ondrag') |
| 22231 @DocsEditable | 23040 @DocsEditable |
| 22232 Stream<MouseEvent> get onDrag => Element.dragEvent.forTarget(this); | 23041 Stream<MouseEvent> get onDrag => Element.dragEvent.forTarget(this); |
| 22233 | 23042 |
| 22234 @DomName('Window.ondragend') | 23043 @DomName('Window.ondragend') |
| 22235 @DocsEditable | 23044 @DocsEditable |
| 22236 Stream<MouseEvent> get onDragEnd => Element.dragEndEvent.forTarget(this); | 23045 Stream<MouseEvent> get onDragEnd => Element.dragEndEvent.forTarget(this); |
| 22237 | 23046 |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 22346 @DomName('Window.onresize') | 23155 @DomName('Window.onresize') |
| 22347 @DocsEditable | 23156 @DocsEditable |
| 22348 Stream<Event> get onResize => resizeEvent.forTarget(this); | 23157 Stream<Event> get onResize => resizeEvent.forTarget(this); |
| 22349 | 23158 |
| 22350 @DomName('Window.onscroll') | 23159 @DomName('Window.onscroll') |
| 22351 @DocsEditable | 23160 @DocsEditable |
| 22352 Stream<Event> get onScroll => Element.scrollEvent.forTarget(this); | 23161 Stream<Event> get onScroll => Element.scrollEvent.forTarget(this); |
| 22353 | 23162 |
| 22354 @DomName('Window.onsearch') | 23163 @DomName('Window.onsearch') |
| 22355 @DocsEditable | 23164 @DocsEditable |
| 23165 // http://www.w3.org/TR/html-markup/input.search.html |
| 23166 @Experimental |
| 22356 Stream<Event> get onSearch => Element.searchEvent.forTarget(this); | 23167 Stream<Event> get onSearch => Element.searchEvent.forTarget(this); |
| 22357 | 23168 |
| 22358 @DomName('Window.onselect') | 23169 @DomName('Window.onselect') |
| 22359 @DocsEditable | 23170 @DocsEditable |
| 22360 Stream<Event> get onSelect => Element.selectEvent.forTarget(this); | 23171 Stream<Event> get onSelect => Element.selectEvent.forTarget(this); |
| 22361 | 23172 |
| 22362 @DomName('Window.onstorage') | 23173 @DomName('Window.onstorage') |
| 22363 @DocsEditable | 23174 @DocsEditable |
| 22364 Stream<StorageEvent> get onStorage => storageEvent.forTarget(this); | 23175 Stream<StorageEvent> get onStorage => storageEvent.forTarget(this); |
| 22365 | 23176 |
| 22366 @DomName('Window.onsubmit') | 23177 @DomName('Window.onsubmit') |
| 22367 @DocsEditable | 23178 @DocsEditable |
| 22368 Stream<Event> get onSubmit => Element.submitEvent.forTarget(this); | 23179 Stream<Event> get onSubmit => Element.submitEvent.forTarget(this); |
| 22369 | 23180 |
| 22370 @DomName('Window.ontouchcancel') | 23181 @DomName('Window.ontouchcancel') |
| 22371 @DocsEditable | 23182 @DocsEditable |
| 23183 // http://www.w3.org/TR/touch-events/, http://www.chromestatus.com/features |
| 23184 @Experimental |
| 22372 Stream<TouchEvent> get onTouchCancel => Element.touchCancelEvent.forTarget(thi
s); | 23185 Stream<TouchEvent> get onTouchCancel => Element.touchCancelEvent.forTarget(thi
s); |
| 22373 | 23186 |
| 22374 @DomName('Window.ontouchend') | 23187 @DomName('Window.ontouchend') |
| 22375 @DocsEditable | 23188 @DocsEditable |
| 23189 // http://www.w3.org/TR/touch-events/, http://www.chromestatus.com/features |
| 23190 @Experimental |
| 22376 Stream<TouchEvent> get onTouchEnd => Element.touchEndEvent.forTarget(this); | 23191 Stream<TouchEvent> get onTouchEnd => Element.touchEndEvent.forTarget(this); |
| 22377 | 23192 |
| 22378 @DomName('Window.ontouchmove') | 23193 @DomName('Window.ontouchmove') |
| 22379 @DocsEditable | 23194 @DocsEditable |
| 23195 // http://www.w3.org/TR/touch-events/, http://www.chromestatus.com/features |
| 23196 @Experimental |
| 22380 Stream<TouchEvent> get onTouchMove => Element.touchMoveEvent.forTarget(this); | 23197 Stream<TouchEvent> get onTouchMove => Element.touchMoveEvent.forTarget(this); |
| 22381 | 23198 |
| 22382 @DomName('Window.ontouchstart') | 23199 @DomName('Window.ontouchstart') |
| 22383 @DocsEditable | 23200 @DocsEditable |
| 23201 // http://www.w3.org/TR/touch-events/, http://www.chromestatus.com/features |
| 23202 @Experimental |
| 22384 Stream<TouchEvent> get onTouchStart => Element.touchStartEvent.forTarget(this)
; | 23203 Stream<TouchEvent> get onTouchStart => Element.touchStartEvent.forTarget(this)
; |
| 22385 | 23204 |
| 22386 @DomName('Window.onunload') | 23205 @DomName('Window.onunload') |
| 22387 @DocsEditable | 23206 @DocsEditable |
| 22388 Stream<Event> get onUnload => unloadEvent.forTarget(this); | 23207 Stream<Event> get onUnload => unloadEvent.forTarget(this); |
| 22389 | 23208 |
| 22390 @DomName('Window.onwebkitAnimationEnd') | 23209 @DomName('Window.onwebkitAnimationEnd') |
| 22391 @DocsEditable | 23210 @DocsEditable |
| 23211 @Experimental // untriaged |
| 22392 Stream<AnimationEvent> get onAnimationEnd => animationEndEvent.forTarget(this)
; | 23212 Stream<AnimationEvent> get onAnimationEnd => animationEndEvent.forTarget(this)
; |
| 22393 | 23213 |
| 22394 @DomName('Window.onwebkitAnimationIteration') | 23214 @DomName('Window.onwebkitAnimationIteration') |
| 22395 @DocsEditable | 23215 @DocsEditable |
| 23216 @Experimental // untriaged |
| 22396 Stream<AnimationEvent> get onAnimationIteration => animationIterationEvent.for
Target(this); | 23217 Stream<AnimationEvent> get onAnimationIteration => animationIterationEvent.for
Target(this); |
| 22397 | 23218 |
| 22398 @DomName('Window.onwebkitAnimationStart') | 23219 @DomName('Window.onwebkitAnimationStart') |
| 22399 @DocsEditable | 23220 @DocsEditable |
| 23221 @Experimental // untriaged |
| 22400 Stream<AnimationEvent> get onAnimationStart => animationStartEvent.forTarget(t
his); | 23222 Stream<AnimationEvent> get onAnimationStart => animationStartEvent.forTarget(t
his); |
| 22401 | 23223 |
| 22402 @DomName('Window.onwebkitTransitionEnd') | 23224 @DomName('Window.onwebkitTransitionEnd') |
| 22403 @DocsEditable | 23225 @DocsEditable |
| 23226 @Deprecated |
| 22404 Stream<TransitionEvent> get onTransitionEnd => Element.transitionEndEvent.forT
arget(this); | 23227 Stream<TransitionEvent> get onTransitionEnd => Element.transitionEndEvent.forT
arget(this); |
| 22405 | 23228 |
| 22406 | 23229 |
| 22407 @DomName('DOMWindow.beforeunloadEvent') | 23230 @DomName('DOMWindow.beforeunloadEvent') |
| 22408 @DocsEditable | 23231 @DocsEditable |
| 22409 static const EventStreamProvider<BeforeUnloadEvent> beforeUnloadEvent = | 23232 static const EventStreamProvider<BeforeUnloadEvent> beforeUnloadEvent = |
| 22410 const _BeforeUnloadEventStreamProvider('beforeunload'); | 23233 const _BeforeUnloadEventStreamProvider('beforeunload'); |
| 22411 | 23234 |
| 22412 @DomName('DOMWindow.onbeforeunload') | 23235 @DomName('DOMWindow.onbeforeunload') |
| 22413 @DocsEditable | 23236 @DocsEditable |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 22472 // for details. All rights reserved. Use of this source code is governed by a | 23295 // for details. All rights reserved. Use of this source code is governed by a |
| 22473 // BSD-style license that can be found in the LICENSE file. | 23296 // BSD-style license that can be found in the LICENSE file. |
| 22474 | 23297 |
| 22475 | 23298 |
| 22476 @DocsEditable | 23299 @DocsEditable |
| 22477 @DomName('Worker') | 23300 @DomName('Worker') |
| 22478 @SupportedBrowser(SupportedBrowser.CHROME) | 23301 @SupportedBrowser(SupportedBrowser.CHROME) |
| 22479 @SupportedBrowser(SupportedBrowser.FIREFOX) | 23302 @SupportedBrowser(SupportedBrowser.FIREFOX) |
| 22480 @SupportedBrowser(SupportedBrowser.IE, '10') | 23303 @SupportedBrowser(SupportedBrowser.IE, '10') |
| 22481 @SupportedBrowser(SupportedBrowser.SAFARI) | 23304 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 23305 // http://www.whatwg.org/specs/web-apps/current-work/multipage/workers.html#work
er |
| 23306 @Experimental // stable |
| 22482 class Worker extends AbstractWorker native "Worker" { | 23307 class Worker extends AbstractWorker native "Worker" { |
| 22483 | 23308 |
| 22484 @DomName('Worker.messageEvent') | 23309 @DomName('Worker.messageEvent') |
| 22485 @DocsEditable | 23310 @DocsEditable |
| 22486 static const EventStreamProvider<MessageEvent> messageEvent = const EventStrea
mProvider<MessageEvent>('message'); | 23311 static const EventStreamProvider<MessageEvent> messageEvent = const EventStrea
mProvider<MessageEvent>('message'); |
| 22487 | 23312 |
| 22488 @DomName('Worker.Worker') | 23313 @DomName('Worker.Worker') |
| 22489 @DocsEditable | 23314 @DocsEditable |
| 22490 factory Worker(String scriptUrl) { | 23315 factory Worker(String scriptUrl) { |
| 22491 return Worker._create_1(scriptUrl); | 23316 return Worker._create_1(scriptUrl); |
| (...skipping 15 matching lines...) Expand all Loading... |
| 22507 @DocsEditable | 23332 @DocsEditable |
| 22508 Stream<MessageEvent> get onMessage => messageEvent.forTarget(this); | 23333 Stream<MessageEvent> get onMessage => messageEvent.forTarget(this); |
| 22509 } | 23334 } |
| 22510 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 23335 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22511 // for details. All rights reserved. Use of this source code is governed by a | 23336 // for details. All rights reserved. Use of this source code is governed by a |
| 22512 // BSD-style license that can be found in the LICENSE file. | 23337 // BSD-style license that can be found in the LICENSE file. |
| 22513 | 23338 |
| 22514 | 23339 |
| 22515 @DocsEditable | 23340 @DocsEditable |
| 22516 @DomName('XPathEvaluator') | 23341 @DomName('XPathEvaluator') |
| 23342 // http://www.w3.org/TR/DOM-Level-3-XPath/xpath.html#XPathEvaluator |
| 23343 @deprecated // experimental |
| 22517 class XPathEvaluator native "XPathEvaluator" { | 23344 class XPathEvaluator native "XPathEvaluator" { |
| 22518 | 23345 |
| 22519 @DomName('XPathEvaluator.XPathEvaluator') | 23346 @DomName('XPathEvaluator.XPathEvaluator') |
| 22520 @DocsEditable | 23347 @DocsEditable |
| 22521 factory XPathEvaluator() { | 23348 factory XPathEvaluator() { |
| 22522 return XPathEvaluator._create_1(); | 23349 return XPathEvaluator._create_1(); |
| 22523 } | 23350 } |
| 22524 static XPathEvaluator _create_1() => JS('XPathEvaluator', 'new XPathEvaluator(
)'); | 23351 static XPathEvaluator _create_1() => JS('XPathEvaluator', 'new XPathEvaluator(
)'); |
| 22525 | 23352 |
| 22526 @DomName('XPathEvaluator.createExpression') | 23353 @DomName('XPathEvaluator.createExpression') |
| 22527 @DocsEditable | 23354 @DocsEditable |
| 22528 XPathExpression createExpression(String expression, XPathNSResolver resolver)
native; | 23355 XPathExpression createExpression(String expression, XPathNSResolver resolver)
native; |
| 22529 | 23356 |
| 22530 @DomName('XPathEvaluator.createNSResolver') | 23357 @DomName('XPathEvaluator.createNSResolver') |
| 22531 @DocsEditable | 23358 @DocsEditable |
| 22532 XPathNSResolver createNSResolver(Node nodeResolver) native; | 23359 XPathNSResolver createNSResolver(Node nodeResolver) native; |
| 22533 | 23360 |
| 22534 @DomName('XPathEvaluator.evaluate') | 23361 @DomName('XPathEvaluator.evaluate') |
| 22535 @DocsEditable | 23362 @DocsEditable |
| 22536 XPathResult evaluate(String expression, Node contextNode, XPathNSResolver reso
lver, int type, XPathResult inResult) native; | 23363 XPathResult evaluate(String expression, Node contextNode, XPathNSResolver reso
lver, int type, XPathResult inResult) native; |
| 22537 } | 23364 } |
| 22538 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 23365 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22539 // for details. All rights reserved. Use of this source code is governed by a | 23366 // for details. All rights reserved. Use of this source code is governed by a |
| 22540 // BSD-style license that can be found in the LICENSE file. | 23367 // BSD-style license that can be found in the LICENSE file. |
| 22541 | 23368 |
| 22542 | 23369 |
| 22543 @DocsEditable | 23370 @DocsEditable |
| 22544 @DomName('XPathException') | 23371 @DomName('XPathException') |
| 23372 // http://www.w3.org/TR/DOM-Level-3-XPath/xpath.html#XPathException |
| 23373 @deprecated // experimental |
| 22545 class XPathException native "XPathException" { | 23374 class XPathException native "XPathException" { |
| 22546 | 23375 |
| 22547 @DomName('XPathException.INVALID_EXPRESSION_ERR') | 23376 @DomName('XPathException.INVALID_EXPRESSION_ERR') |
| 22548 @DocsEditable | 23377 @DocsEditable |
| 22549 static const int INVALID_EXPRESSION_ERR = 51; | 23378 static const int INVALID_EXPRESSION_ERR = 51; |
| 22550 | 23379 |
| 22551 @DomName('XPathException.TYPE_ERR') | 23380 @DomName('XPathException.TYPE_ERR') |
| 22552 @DocsEditable | 23381 @DocsEditable |
| 22553 static const int TYPE_ERR = 52; | 23382 static const int TYPE_ERR = 52; |
| 22554 | 23383 |
| 22555 @DomName('XPathException.code') | 23384 @DomName('XPathException.code') |
| 22556 @DocsEditable | 23385 @DocsEditable |
| 22557 final int code; | 23386 final int code; |
| 22558 | 23387 |
| 22559 @DomName('XPathException.message') | 23388 @DomName('XPathException.message') |
| 22560 @DocsEditable | 23389 @DocsEditable |
| 23390 @Experimental // non-standard |
| 22561 final String message; | 23391 final String message; |
| 22562 | 23392 |
| 22563 @DomName('XPathException.name') | 23393 @DomName('XPathException.name') |
| 22564 @DocsEditable | 23394 @DocsEditable |
| 23395 @Experimental // non-standard |
| 22565 final String name; | 23396 final String name; |
| 22566 | 23397 |
| 22567 @DomName('XPathException.toString') | 23398 @DomName('XPathException.toString') |
| 22568 @DocsEditable | 23399 @DocsEditable |
| 22569 String toString() native; | 23400 String toString() native; |
| 22570 } | 23401 } |
| 22571 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 23402 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22572 // for details. All rights reserved. Use of this source code is governed by a | 23403 // for details. All rights reserved. Use of this source code is governed by a |
| 22573 // BSD-style license that can be found in the LICENSE file. | 23404 // BSD-style license that can be found in the LICENSE file. |
| 22574 | 23405 |
| 22575 | 23406 |
| 22576 @DocsEditable | 23407 @DocsEditable |
| 22577 @DomName('XPathExpression') | 23408 @DomName('XPathExpression') |
| 23409 // http://www.w3.org/TR/DOM-Level-3-XPath/xpath.html#XPathExpression |
| 23410 @deprecated // experimental |
| 22578 class XPathExpression native "XPathExpression" { | 23411 class XPathExpression native "XPathExpression" { |
| 22579 | 23412 |
| 22580 @DomName('XPathExpression.evaluate') | 23413 @DomName('XPathExpression.evaluate') |
| 22581 @DocsEditable | 23414 @DocsEditable |
| 22582 XPathResult evaluate(Node contextNode, int type, XPathResult inResult) native; | 23415 XPathResult evaluate(Node contextNode, int type, XPathResult inResult) native; |
| 22583 } | 23416 } |
| 22584 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 23417 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22585 // for details. All rights reserved. Use of this source code is governed by a | 23418 // for details. All rights reserved. Use of this source code is governed by a |
| 22586 // BSD-style license that can be found in the LICENSE file. | 23419 // BSD-style license that can be found in the LICENSE file. |
| 22587 | 23420 |
| 22588 | 23421 |
| 22589 @DocsEditable | 23422 @DocsEditable |
| 22590 @DomName('XPathNSResolver') | 23423 @DomName('XPathNSResolver') |
| 23424 // http://www.w3.org/TR/DOM-Level-3-XPath/xpath.html#XPathNSResolver |
| 23425 @deprecated // experimental |
| 22591 class XPathNSResolver native "XPathNSResolver" { | 23426 class XPathNSResolver native "XPathNSResolver" { |
| 22592 | 23427 |
| 22593 @JSName('lookupNamespaceURI') | 23428 @JSName('lookupNamespaceURI') |
| 22594 @DomName('XPathNSResolver.lookupNamespaceURI') | 23429 @DomName('XPathNSResolver.lookupNamespaceURI') |
| 22595 @DocsEditable | 23430 @DocsEditable |
| 22596 String lookupNamespaceUri(String prefix) native; | 23431 String lookupNamespaceUri(String prefix) native; |
| 22597 } | 23432 } |
| 22598 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 23433 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22599 // for details. All rights reserved. Use of this source code is governed by a | 23434 // for details. All rights reserved. Use of this source code is governed by a |
| 22600 // BSD-style license that can be found in the LICENSE file. | 23435 // BSD-style license that can be found in the LICENSE file. |
| 22601 | 23436 |
| 22602 | 23437 |
| 22603 @DocsEditable | 23438 @DocsEditable |
| 22604 @DomName('XPathResult') | 23439 @DomName('XPathResult') |
| 23440 // http://www.w3.org/TR/DOM-Level-3-XPath/xpath.html#XPathResult |
| 23441 @deprecated // experimental |
| 22605 class XPathResult native "XPathResult" { | 23442 class XPathResult native "XPathResult" { |
| 22606 | 23443 |
| 22607 @DomName('XPathResult.ANY_TYPE') | 23444 @DomName('XPathResult.ANY_TYPE') |
| 22608 @DocsEditable | 23445 @DocsEditable |
| 22609 static const int ANY_TYPE = 0; | 23446 static const int ANY_TYPE = 0; |
| 22610 | 23447 |
| 22611 @DomName('XPathResult.ANY_UNORDERED_NODE_TYPE') | 23448 @DomName('XPathResult.ANY_UNORDERED_NODE_TYPE') |
| 22612 @DocsEditable | 23449 @DocsEditable |
| 22613 static const int ANY_UNORDERED_NODE_TYPE = 8; | 23450 static const int ANY_UNORDERED_NODE_TYPE = 8; |
| 22614 | 23451 |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 22680 @DocsEditable | 23517 @DocsEditable |
| 22681 Node snapshotItem(int index) native; | 23518 Node snapshotItem(int index) native; |
| 22682 } | 23519 } |
| 22683 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 23520 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22684 // for details. All rights reserved. Use of this source code is governed by a | 23521 // for details. All rights reserved. Use of this source code is governed by a |
| 22685 // BSD-style license that can be found in the LICENSE file. | 23522 // BSD-style license that can be found in the LICENSE file. |
| 22686 | 23523 |
| 22687 | 23524 |
| 22688 @DocsEditable | 23525 @DocsEditable |
| 22689 @DomName('XMLSerializer') | 23526 @DomName('XMLSerializer') |
| 23527 // http://domparsing.spec.whatwg.org/#the-xmlserializer-interface |
| 23528 @deprecated // stable |
| 22690 class XmlSerializer native "XMLSerializer" { | 23529 class XmlSerializer native "XMLSerializer" { |
| 22691 | 23530 |
| 22692 @DomName('XMLSerializer.XMLSerializer') | 23531 @DomName('XMLSerializer.XMLSerializer') |
| 22693 @DocsEditable | 23532 @DocsEditable |
| 22694 factory XmlSerializer() { | 23533 factory XmlSerializer() { |
| 22695 return XmlSerializer._create_1(); | 23534 return XmlSerializer._create_1(); |
| 22696 } | 23535 } |
| 22697 static XmlSerializer _create_1() => JS('XmlSerializer', 'new XMLSerializer()')
; | 23536 static XmlSerializer _create_1() => JS('XmlSerializer', 'new XMLSerializer()')
; |
| 22698 | 23537 |
| 22699 @DomName('XMLSerializer.serializeToString') | 23538 @DomName('XMLSerializer.serializeToString') |
| 22700 @DocsEditable | 23539 @DocsEditable |
| 22701 String serializeToString(Node node) native; | 23540 String serializeToString(Node node) native; |
| 22702 } | 23541 } |
| 22703 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 23542 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22704 // for details. All rights reserved. Use of this source code is governed by a | 23543 // for details. All rights reserved. Use of this source code is governed by a |
| 22705 // BSD-style license that can be found in the LICENSE file. | 23544 // BSD-style license that can be found in the LICENSE file. |
| 22706 | 23545 |
| 22707 | 23546 |
| 22708 @DocsEditable | 23547 @DocsEditable |
| 22709 @DomName('XSLTProcessor') | 23548 @DomName('XSLTProcessor') |
| 22710 @SupportedBrowser(SupportedBrowser.CHROME) | 23549 @SupportedBrowser(SupportedBrowser.CHROME) |
| 22711 @SupportedBrowser(SupportedBrowser.FIREFOX) | 23550 @SupportedBrowser(SupportedBrowser.FIREFOX) |
| 22712 @SupportedBrowser(SupportedBrowser.SAFARI) | 23551 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 23552 @deprecated // nonstandard |
| 22713 class XsltProcessor native "XSLTProcessor" { | 23553 class XsltProcessor native "XSLTProcessor" { |
| 22714 | 23554 |
| 22715 @DomName('XSLTProcessor.XSLTProcessor') | 23555 @DomName('XSLTProcessor.XSLTProcessor') |
| 22716 @DocsEditable | 23556 @DocsEditable |
| 22717 factory XsltProcessor() { | 23557 factory XsltProcessor() { |
| 22718 return XsltProcessor._create_1(); | 23558 return XsltProcessor._create_1(); |
| 22719 } | 23559 } |
| 22720 static XsltProcessor _create_1() => JS('XsltProcessor', 'new XSLTProcessor()')
; | 23560 static XsltProcessor _create_1() => JS('XsltProcessor', 'new XSLTProcessor()')
; |
| 22721 | 23561 |
| 22722 /// Checks if this type is supported on the current platform. | 23562 /// Checks if this type is supported on the current platform. |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 22754 @DocsEditable | 23594 @DocsEditable |
| 22755 DocumentFragment transformToFragment(Node source, Document docVal) native; | 23595 DocumentFragment transformToFragment(Node source, Document docVal) native; |
| 22756 } | 23596 } |
| 22757 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 23597 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22758 // for details. All rights reserved. Use of this source code is governed by a | 23598 // for details. All rights reserved. Use of this source code is governed by a |
| 22759 // BSD-style license that can be found in the LICENSE file. | 23599 // BSD-style license that can be found in the LICENSE file. |
| 22760 | 23600 |
| 22761 | 23601 |
| 22762 @DocsEditable | 23602 @DocsEditable |
| 22763 @DomName('CSSPrimitiveValue') | 23603 @DomName('CSSPrimitiveValue') |
| 23604 // http://dev.w3.org/csswg/cssom/#the-cssstyledeclaration-interface |
| 23605 @deprecated // deprecated |
| 22764 abstract class _CSSPrimitiveValue extends _CSSValue native "CSSPrimitiveValue" { | 23606 abstract class _CSSPrimitiveValue extends _CSSValue native "CSSPrimitiveValue" { |
| 22765 } | 23607 } |
| 22766 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 23608 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22767 // for details. All rights reserved. Use of this source code is governed by a | 23609 // for details. All rights reserved. Use of this source code is governed by a |
| 22768 // BSD-style license that can be found in the LICENSE file. | 23610 // BSD-style license that can be found in the LICENSE file. |
| 22769 | 23611 |
| 22770 | 23612 |
| 22771 @DocsEditable | 23613 @DocsEditable |
| 22772 @DomName('CSSValue') | 23614 @DomName('CSSValue') |
| 23615 // http://dev.w3.org/csswg/cssom/ |
| 23616 @deprecated // deprecated |
| 22773 abstract class _CSSValue native "CSSValue" { | 23617 abstract class _CSSValue native "CSSValue" { |
| 22774 } | 23618 } |
| 22775 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 23619 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 22776 // for details. All rights reserved. Use of this source code is governed by a | 23620 // for details. All rights reserved. Use of this source code is governed by a |
| 22777 // BSD-style license that can be found in the LICENSE file. | 23621 // BSD-style license that can be found in the LICENSE file. |
| 22778 | 23622 |
| 22779 | 23623 |
| 22780 @DocsEditable | 23624 @DocsEditable |
| 22781 @DomName('ClientRect') | 23625 @DomName('ClientRect') |
| 22782 class _ClientRect implements Rect native "ClientRect" { | 23626 class _ClientRect implements Rect native "ClientRect" { |
| (...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 22958 @DocsEditable | 23802 @DocsEditable |
| 22959 Rect item(int index) native; | 23803 Rect item(int index) native; |
| 22960 } | 23804 } |
| 22961 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 23805 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22962 // for details. All rights reserved. Use of this source code is governed by a | 23806 // for details. All rights reserved. Use of this source code is governed by a |
| 22963 // BSD-style license that can be found in the LICENSE file. | 23807 // BSD-style license that can be found in the LICENSE file. |
| 22964 | 23808 |
| 22965 | 23809 |
| 22966 @DocsEditable | 23810 @DocsEditable |
| 22967 @DomName('Counter') | 23811 @DomName('Counter') |
| 23812 // http://dev.w3.org/csswg/cssom/ |
| 23813 @deprecated // deprecated |
| 22968 abstract class _Counter native "Counter" { | 23814 abstract class _Counter native "Counter" { |
| 22969 } | 23815 } |
| 22970 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 23816 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22971 // for details. All rights reserved. Use of this source code is governed by a | 23817 // for details. All rights reserved. Use of this source code is governed by a |
| 22972 // BSD-style license that can be found in the LICENSE file. | 23818 // BSD-style license that can be found in the LICENSE file. |
| 22973 | 23819 |
| 22974 | 23820 |
| 22975 @DocsEditable | 23821 @DocsEditable |
| 22976 @DomName('CSSRuleList') | 23822 @DomName('CSSRuleList') |
| 22977 class _CssRuleList extends Interceptor with ListMixin<CssRule>, ImmutableListMix
in<CssRule> implements JavaScriptIndexingBehavior, List<CssRule> native "CSSRule
List" { | 23823 class _CssRuleList extends Interceptor with ListMixin<CssRule>, ImmutableListMix
in<CssRule> implements JavaScriptIndexingBehavior, List<CssRule> native "CSSRule
List" { |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 23028 @DocsEditable | 23874 @DocsEditable |
| 23029 CssRule item(int index) native; | 23875 CssRule item(int index) native; |
| 23030 } | 23876 } |
| 23031 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 23877 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23032 // for details. All rights reserved. Use of this source code is governed by a | 23878 // for details. All rights reserved. Use of this source code is governed by a |
| 23033 // BSD-style license that can be found in the LICENSE file. | 23879 // BSD-style license that can be found in the LICENSE file. |
| 23034 | 23880 |
| 23035 | 23881 |
| 23036 @DocsEditable | 23882 @DocsEditable |
| 23037 @DomName('CSSValueList') | 23883 @DomName('CSSValueList') |
| 23884 // http://dev.w3.org/csswg/cssom/ |
| 23885 @deprecated // deprecated |
| 23038 class _CssValueList extends _CSSValue with ListMixin<_CSSValue>, ImmutableListMi
xin<_CSSValue> implements JavaScriptIndexingBehavior, List<_CSSValue> native "CS
SValueList" { | 23886 class _CssValueList extends _CSSValue with ListMixin<_CSSValue>, ImmutableListMi
xin<_CSSValue> implements JavaScriptIndexingBehavior, List<_CSSValue> native "CS
SValueList" { |
| 23039 | 23887 |
| 23040 @DomName('CSSValueList.length') | 23888 @DomName('CSSValueList.length') |
| 23041 @DocsEditable | 23889 @DocsEditable |
| 23042 int get length => JS("int", "#.length", this); | 23890 int get length => JS("int", "#.length", this); |
| 23043 | 23891 |
| 23044 _CSSValue operator[](int index) { | 23892 _CSSValue operator[](int index) { |
| 23045 if (JS("bool", "# >>> 0 !== # || # >= #", index, | 23893 if (JS("bool", "# >>> 0 !== # || # >= #", index, |
| 23046 index, index, length)) | 23894 index, index, length)) |
| 23047 throw new RangeError.range(index, 0, length); | 23895 throw new RangeError.range(index, 0, length); |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 23091 } | 23939 } |
| 23092 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 23940 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23093 // for details. All rights reserved. Use of this source code is governed by a | 23941 // for details. All rights reserved. Use of this source code is governed by a |
| 23094 // BSD-style license that can be found in the LICENSE file. | 23942 // BSD-style license that can be found in the LICENSE file. |
| 23095 | 23943 |
| 23096 | 23944 |
| 23097 @DocsEditable | 23945 @DocsEditable |
| 23098 @DomName('DOMFileSystemSync') | 23946 @DomName('DOMFileSystemSync') |
| 23099 @SupportedBrowser(SupportedBrowser.CHROME) | 23947 @SupportedBrowser(SupportedBrowser.CHROME) |
| 23100 @Experimental | 23948 @Experimental |
| 23949 // http://www.w3.org/TR/file-system-api/#the-filesystemsync-interface |
| 23101 abstract class _DOMFileSystemSync native "DOMFileSystemSync" { | 23950 abstract class _DOMFileSystemSync native "DOMFileSystemSync" { |
| 23102 } | 23951 } |
| 23103 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 23952 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23104 // for details. All rights reserved. Use of this source code is governed by a | 23953 // for details. All rights reserved. Use of this source code is governed by a |
| 23105 // BSD-style license that can be found in the LICENSE file. | 23954 // BSD-style license that can be found in the LICENSE file. |
| 23106 | 23955 |
| 23107 | 23956 |
| 23108 @DocsEditable | 23957 @DocsEditable |
| 23109 @DomName('DatabaseSync') | 23958 @DomName('DatabaseSync') |
| 23110 @SupportedBrowser(SupportedBrowser.CHROME) | 23959 @SupportedBrowser(SupportedBrowser.CHROME) |
| 23111 @SupportedBrowser(SupportedBrowser.SAFARI) | 23960 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 23112 @Experimental | 23961 @Experimental |
| 23962 // http://www.w3.org/TR/webdatabase/#databasesync |
| 23963 @deprecated // deprecated |
| 23113 abstract class _DatabaseSync native "DatabaseSync" { | 23964 abstract class _DatabaseSync native "DatabaseSync" { |
| 23114 } | 23965 } |
| 23115 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 23966 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23116 // for details. All rights reserved. Use of this source code is governed by a | 23967 // for details. All rights reserved. Use of this source code is governed by a |
| 23117 // BSD-style license that can be found in the LICENSE file. | 23968 // BSD-style license that can be found in the LICENSE file. |
| 23118 | 23969 |
| 23119 | 23970 |
| 23120 @DocsEditable | 23971 @DocsEditable |
| 23121 @DomName('DedicatedWorkerContext') | 23972 @DomName('DedicatedWorkerContext') |
| 23973 // http://www.whatwg.org/specs/web-apps/current-work/multipage/workers.html |
| 23974 @Experimental |
| 23122 abstract class _DedicatedWorkerContext extends _WorkerContext native "DedicatedW
orkerContext" { | 23975 abstract class _DedicatedWorkerContext extends _WorkerContext native "DedicatedW
orkerContext" { |
| 23123 } | 23976 } |
| 23124 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 23977 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23125 // for details. All rights reserved. Use of this source code is governed by a | 23978 // for details. All rights reserved. Use of this source code is governed by a |
| 23126 // BSD-style license that can be found in the LICENSE file. | 23979 // BSD-style license that can be found in the LICENSE file. |
| 23127 | 23980 |
| 23128 | 23981 |
| 23129 @DocsEditable | 23982 @DocsEditable |
| 23130 @DomName('DirectoryEntrySync') | 23983 @DomName('DirectoryEntrySync') |
| 23984 // http://www.w3.org/TR/file-system-api/#the-directoryentrysync-interface |
| 23985 @Experimental |
| 23131 abstract class _DirectoryEntrySync extends _EntrySync native "DirectoryEntrySync
" { | 23986 abstract class _DirectoryEntrySync extends _EntrySync native "DirectoryEntrySync
" { |
| 23132 } | 23987 } |
| 23133 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 23988 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23134 // for details. All rights reserved. Use of this source code is governed by a | 23989 // for details. All rights reserved. Use of this source code is governed by a |
| 23135 // BSD-style license that can be found in the LICENSE file. | 23990 // BSD-style license that can be found in the LICENSE file. |
| 23136 | 23991 |
| 23137 | 23992 |
| 23138 @DocsEditable | 23993 @DocsEditable |
| 23139 @DomName('DirectoryReaderSync') | 23994 @DomName('DirectoryReaderSync') |
| 23995 // http://www.w3.org/TR/file-system-api/#idl-def-DirectoryReaderSync |
| 23996 @Experimental |
| 23140 abstract class _DirectoryReaderSync native "DirectoryReaderSync" { | 23997 abstract class _DirectoryReaderSync native "DirectoryReaderSync" { |
| 23141 } | 23998 } |
| 23142 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 23999 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23143 // for details. All rights reserved. Use of this source code is governed by a | 24000 // for details. All rights reserved. Use of this source code is governed by a |
| 23144 // BSD-style license that can be found in the LICENSE file. | 24001 // BSD-style license that can be found in the LICENSE file. |
| 23145 | 24002 |
| 23146 | 24003 |
| 23147 @DocsEditable | 24004 @DocsEditable |
| 23148 @DomName('WebKitPoint') | 24005 @DomName('WebKitPoint') |
| 23149 @SupportedBrowser(SupportedBrowser.CHROME) | 24006 @SupportedBrowser(SupportedBrowser.CHROME) |
| 23150 @SupportedBrowser(SupportedBrowser.SAFARI) | 24007 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 23151 @Experimental | 24008 @Experimental |
| 24009 // http://developer.apple.com/library/safari/#documentation/DataManagement/Refer
ence/DOMWindowAdditionsReference/DOMWindowAdditions/DOMWindowAdditions.html |
| 24010 @Experimental // non-standard |
| 23152 class _DomPoint native "WebKitPoint" { | 24011 class _DomPoint native "WebKitPoint" { |
| 23153 | 24012 |
| 23154 @DomName('WebKitPoint.DOMPoint') | 24013 @DomName('WebKitPoint.DOMPoint') |
| 23155 @DocsEditable | 24014 @DocsEditable |
| 23156 factory _DomPoint(num x, num y) { | 24015 factory _DomPoint(num x, num y) { |
| 23157 return _DomPoint._create_1(x, y); | 24016 return _DomPoint._create_1(x, y); |
| 23158 } | 24017 } |
| 23159 static _DomPoint _create_1(x, y) => JS('_DomPoint', 'new WebKitPoint(#,#)', x,
y); | 24018 static _DomPoint _create_1(x, y) => JS('_DomPoint', 'new WebKitPoint(#,#)', x,
y); |
| 23160 | 24019 |
| 23161 /// Checks if this type is supported on the current platform. | 24020 /// Checks if this type is supported on the current platform. |
| 23162 static bool get supported => JS('bool', '!!(window.WebKitPoint)'); | 24021 static bool get supported => JS('bool', '!!(window.WebKitPoint)'); |
| 23163 | 24022 |
| 23164 @DomName('WebKitPoint.x') | 24023 @DomName('WebKitPoint.x') |
| 23165 @DocsEditable | 24024 @DocsEditable |
| 23166 num x; | 24025 num x; |
| 23167 | 24026 |
| 23168 @DomName('WebKitPoint.y') | 24027 @DomName('WebKitPoint.y') |
| 23169 @DocsEditable | 24028 @DocsEditable |
| 23170 num y; | 24029 num y; |
| 23171 } | 24030 } |
| 23172 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 24031 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23173 // for details. All rights reserved. Use of this source code is governed by a | 24032 // for details. All rights reserved. Use of this source code is governed by a |
| 23174 // BSD-style license that can be found in the LICENSE file. | 24033 // BSD-style license that can be found in the LICENSE file. |
| 23175 | 24034 |
| 23176 | 24035 |
| 23177 @DocsEditable | 24036 @DocsEditable |
| 23178 @DomName('EntityReference') | 24037 @DomName('EntityReference') |
| 24038 @deprecated // deprecated |
| 23179 abstract class _EntityReference extends Node native "EntityReference" { | 24039 abstract class _EntityReference extends Node native "EntityReference" { |
| 23180 } | 24040 } |
| 23181 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 24041 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23182 // for details. All rights reserved. Use of this source code is governed by a | 24042 // for details. All rights reserved. Use of this source code is governed by a |
| 23183 // BSD-style license that can be found in the LICENSE file. | 24043 // BSD-style license that can be found in the LICENSE file. |
| 23184 | 24044 |
| 23185 | 24045 |
| 23186 @DocsEditable | 24046 @DocsEditable |
| 23187 @DomName('EntryArray') | 24047 @DomName('EntryArray') |
| 24048 // http://www.w3.org/TR/file-system-api/#the-entry-interface |
| 24049 @Experimental |
| 23188 class _EntryArray extends Interceptor with ListMixin<Entry>, ImmutableListMixin<
Entry> implements JavaScriptIndexingBehavior, List<Entry> native "EntryArray" { | 24050 class _EntryArray extends Interceptor with ListMixin<Entry>, ImmutableListMixin<
Entry> implements JavaScriptIndexingBehavior, List<Entry> native "EntryArray" { |
| 23189 | 24051 |
| 23190 @DomName('EntryArray.length') | 24052 @DomName('EntryArray.length') |
| 23191 @DocsEditable | 24053 @DocsEditable |
| 23192 int get length => JS("int", "#.length", this); | 24054 int get length => JS("int", "#.length", this); |
| 23193 | 24055 |
| 23194 Entry operator[](int index) { | 24056 Entry operator[](int index) { |
| 23195 if (JS("bool", "# >>> 0 !== # || # >= #", index, | 24057 if (JS("bool", "# >>> 0 !== # || # >= #", index, |
| 23196 index, index, length)) | 24058 index, index, length)) |
| 23197 throw new RangeError.range(index, 0, length); | 24059 throw new RangeError.range(index, 0, length); |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 23239 @DocsEditable | 24101 @DocsEditable |
| 23240 Entry item(int index) native; | 24102 Entry item(int index) native; |
| 23241 } | 24103 } |
| 23242 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 24104 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23243 // for details. All rights reserved. Use of this source code is governed by a | 24105 // for details. All rights reserved. Use of this source code is governed by a |
| 23244 // BSD-style license that can be found in the LICENSE file. | 24106 // BSD-style license that can be found in the LICENSE file. |
| 23245 | 24107 |
| 23246 | 24108 |
| 23247 @DocsEditable | 24109 @DocsEditable |
| 23248 @DomName('EntryArraySync') | 24110 @DomName('EntryArraySync') |
| 24111 // http://www.w3.org/TR/file-system-api/#idl-def-EntrySync |
| 24112 @Experimental |
| 23249 class _EntryArraySync extends Interceptor with ListMixin<_EntrySync>, ImmutableL
istMixin<_EntrySync> implements JavaScriptIndexingBehavior, List<_EntrySync> nat
ive "EntryArraySync" { | 24113 class _EntryArraySync extends Interceptor with ListMixin<_EntrySync>, ImmutableL
istMixin<_EntrySync> implements JavaScriptIndexingBehavior, List<_EntrySync> nat
ive "EntryArraySync" { |
| 23250 | 24114 |
| 23251 @DomName('EntryArraySync.length') | 24115 @DomName('EntryArraySync.length') |
| 23252 @DocsEditable | 24116 @DocsEditable |
| 23253 int get length => JS("int", "#.length", this); | 24117 int get length => JS("int", "#.length", this); |
| 23254 | 24118 |
| 23255 _EntrySync operator[](int index) { | 24119 _EntrySync operator[](int index) { |
| 23256 if (JS("bool", "# >>> 0 !== # || # >= #", index, | 24120 if (JS("bool", "# >>> 0 !== # || # >= #", index, |
| 23257 index, index, length)) | 24121 index, index, length)) |
| 23258 throw new RangeError.range(index, 0, length); | 24122 throw new RangeError.range(index, 0, length); |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 23300 @DocsEditable | 24164 @DocsEditable |
| 23301 _EntrySync item(int index) native; | 24165 _EntrySync item(int index) native; |
| 23302 } | 24166 } |
| 23303 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 24167 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23304 // for details. All rights reserved. Use of this source code is governed by a | 24168 // for details. All rights reserved. Use of this source code is governed by a |
| 23305 // BSD-style license that can be found in the LICENSE file. | 24169 // BSD-style license that can be found in the LICENSE file. |
| 23306 | 24170 |
| 23307 | 24171 |
| 23308 @DocsEditable | 24172 @DocsEditable |
| 23309 @DomName('EntrySync') | 24173 @DomName('EntrySync') |
| 24174 // http://www.w3.org/TR/file-system-api/#idl-def-EntrySync |
| 24175 @Experimental |
| 23310 abstract class _EntrySync native "EntrySync" { | 24176 abstract class _EntrySync native "EntrySync" { |
| 23311 } | 24177 } |
| 23312 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 24178 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23313 // for details. All rights reserved. Use of this source code is governed by a | 24179 // for details. All rights reserved. Use of this source code is governed by a |
| 23314 // BSD-style license that can be found in the LICENSE file. | 24180 // BSD-style license that can be found in the LICENSE file. |
| 23315 | 24181 |
| 23316 | 24182 |
| 23317 @DocsEditable | 24183 @DocsEditable |
| 23318 @DomName('FileEntrySync') | 24184 @DomName('FileEntrySync') |
| 24185 // http://www.w3.org/TR/file-system-api/#the-fileentrysync-interface |
| 24186 @Experimental |
| 23319 abstract class _FileEntrySync extends _EntrySync native "FileEntrySync" { | 24187 abstract class _FileEntrySync extends _EntrySync native "FileEntrySync" { |
| 23320 } | 24188 } |
| 23321 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 24189 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23322 // for details. All rights reserved. Use of this source code is governed by a | 24190 // for details. All rights reserved. Use of this source code is governed by a |
| 23323 // BSD-style license that can be found in the LICENSE file. | 24191 // BSD-style license that can be found in the LICENSE file. |
| 23324 | 24192 |
| 23325 | 24193 |
| 23326 @DocsEditable | 24194 @DocsEditable |
| 23327 @DomName('FileReaderSync') | 24195 @DomName('FileReaderSync') |
| 24196 // http://www.w3.org/TR/FileAPI/#FileReaderSync |
| 24197 @Experimental |
| 23328 abstract class _FileReaderSync native "FileReaderSync" { | 24198 abstract class _FileReaderSync native "FileReaderSync" { |
| 23329 | 24199 |
| 23330 @DomName('FileReaderSync.FileReaderSync') | 24200 @DomName('FileReaderSync.FileReaderSync') |
| 23331 @DocsEditable | 24201 @DocsEditable |
| 23332 factory _FileReaderSync() { | 24202 factory _FileReaderSync() { |
| 23333 return _FileReaderSync._create_1(); | 24203 return _FileReaderSync._create_1(); |
| 23334 } | 24204 } |
| 23335 static _FileReaderSync _create_1() => JS('_FileReaderSync', 'new FileReaderSyn
c()'); | 24205 static _FileReaderSync _create_1() => JS('_FileReaderSync', 'new FileReaderSyn
c()'); |
| 23336 } | 24206 } |
| 23337 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 24207 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23338 // for details. All rights reserved. Use of this source code is governed by a | 24208 // for details. All rights reserved. Use of this source code is governed by a |
| 23339 // BSD-style license that can be found in the LICENSE file. | 24209 // BSD-style license that can be found in the LICENSE file. |
| 23340 | 24210 |
| 23341 | 24211 |
| 23342 @DocsEditable | 24212 @DocsEditable |
| 23343 @DomName('FileWriterSync') | 24213 @DomName('FileWriterSync') |
| 24214 // http://www.w3.org/TR/file-writer-api/#idl-def-FileWriterSync |
| 24215 @Experimental |
| 23344 abstract class _FileWriterSync native "FileWriterSync" { | 24216 abstract class _FileWriterSync native "FileWriterSync" { |
| 23345 } | 24217 } |
| 23346 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 24218 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23347 // for details. All rights reserved. Use of this source code is governed by a | 24219 // for details. All rights reserved. Use of this source code is governed by a |
| 23348 // BSD-style license that can be found in the LICENSE file. | 24220 // BSD-style license that can be found in the LICENSE file. |
| 23349 | 24221 |
| 23350 | 24222 |
| 23351 @DocsEditable | 24223 @DocsEditable |
| 23352 @DomName('GamepadList') | 24224 @DomName('GamepadList') |
| 24225 // https://dvcs.w3.org/hg/gamepad/raw-file/default/gamepad.html |
| 24226 @Experimental |
| 23353 class _GamepadList extends Interceptor with ListMixin<Gamepad>, ImmutableListMix
in<Gamepad> implements JavaScriptIndexingBehavior, List<Gamepad> native "Gamepad
List" { | 24227 class _GamepadList extends Interceptor with ListMixin<Gamepad>, ImmutableListMix
in<Gamepad> implements JavaScriptIndexingBehavior, List<Gamepad> native "Gamepad
List" { |
| 23354 | 24228 |
| 23355 @DomName('GamepadList.length') | 24229 @DomName('GamepadList.length') |
| 23356 @DocsEditable | 24230 @DocsEditable |
| 23357 int get length => JS("int", "#.length", this); | 24231 int get length => JS("int", "#.length", this); |
| 23358 | 24232 |
| 23359 Gamepad operator[](int index) { | 24233 Gamepad operator[](int index) { |
| 23360 if (JS("bool", "# >>> 0 !== # || # >= #", index, | 24234 if (JS("bool", "# >>> 0 !== # || # >= #", index, |
| 23361 index, index, length)) | 24235 index, index, length)) |
| 23362 throw new RangeError.range(index, 0, length); | 24236 throw new RangeError.range(index, 0, length); |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 23404 @DocsEditable | 24278 @DocsEditable |
| 23405 Gamepad item(int index) native; | 24279 Gamepad item(int index) native; |
| 23406 } | 24280 } |
| 23407 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 24281 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23408 // for details. All rights reserved. Use of this source code is governed by a | 24282 // for details. All rights reserved. Use of this source code is governed by a |
| 23409 // BSD-style license that can be found in the LICENSE file. | 24283 // BSD-style license that can be found in the LICENSE file. |
| 23410 | 24284 |
| 23411 | 24285 |
| 23412 @DocsEditable | 24286 @DocsEditable |
| 23413 @DomName('HTMLAppletElement') | 24287 @DomName('HTMLAppletElement') |
| 24288 // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#the
-applet-element |
| 24289 @deprecated // deprecated |
| 23414 abstract class _HTMLAppletElement extends Element native "HTMLAppletElement" { | 24290 abstract class _HTMLAppletElement extends Element native "HTMLAppletElement" { |
| 23415 } | 24291 } |
| 23416 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 24292 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23417 // for details. All rights reserved. Use of this source code is governed by a | 24293 // for details. All rights reserved. Use of this source code is governed by a |
| 23418 // BSD-style license that can be found in the LICENSE file. | 24294 // BSD-style license that can be found in the LICENSE file. |
| 23419 | 24295 |
| 23420 | 24296 |
| 23421 @DocsEditable | 24297 @DocsEditable |
| 23422 @DomName('HTMLBaseFontElement') | 24298 @DomName('HTMLBaseFontElement') |
| 24299 // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#bas
efont |
| 24300 @deprecated // deprecated |
| 23423 abstract class _HTMLBaseFontElement extends Element native "HTMLBaseFontElement"
{ | 24301 abstract class _HTMLBaseFontElement extends Element native "HTMLBaseFontElement"
{ |
| 23424 } | 24302 } |
| 23425 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 24303 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23426 // for details. All rights reserved. Use of this source code is governed by a | 24304 // for details. All rights reserved. Use of this source code is governed by a |
| 23427 // BSD-style license that can be found in the LICENSE file. | 24305 // BSD-style license that can be found in the LICENSE file. |
| 23428 | 24306 |
| 23429 | 24307 |
| 23430 @DocsEditable | 24308 @DocsEditable |
| 23431 @DomName('HTMLDirectoryElement') | 24309 @DomName('HTMLDirectoryElement') |
| 24310 // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#dir |
| 24311 @deprecated // deprecated |
| 23432 abstract class _HTMLDirectoryElement extends Element native "HTMLDirectoryElemen
t" { | 24312 abstract class _HTMLDirectoryElement extends Element native "HTMLDirectoryElemen
t" { |
| 23433 } | 24313 } |
| 23434 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 24314 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23435 // for details. All rights reserved. Use of this source code is governed by a | 24315 // for details. All rights reserved. Use of this source code is governed by a |
| 23436 // BSD-style license that can be found in the LICENSE file. | 24316 // BSD-style license that can be found in the LICENSE file. |
| 23437 | 24317 |
| 23438 | 24318 |
| 23439 @DocsEditable | 24319 @DocsEditable |
| 23440 @DomName('HTMLFontElement') | 24320 @DomName('HTMLFontElement') |
| 24321 // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#htm
lfontelement |
| 24322 @deprecated // deprecated |
| 23441 abstract class _HTMLFontElement extends Element native "HTMLFontElement" { | 24323 abstract class _HTMLFontElement extends Element native "HTMLFontElement" { |
| 23442 } | 24324 } |
| 23443 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 24325 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23444 // for details. All rights reserved. Use of this source code is governed by a | 24326 // for details. All rights reserved. Use of this source code is governed by a |
| 23445 // BSD-style license that can be found in the LICENSE file. | 24327 // BSD-style license that can be found in the LICENSE file. |
| 23446 | 24328 |
| 23447 | 24329 |
| 23448 @DocsEditable | 24330 @DocsEditable |
| 23449 @DomName('HTMLFrameElement') | 24331 @DomName('HTMLFrameElement') |
| 24332 // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#htm
lframeelement |
| 24333 @deprecated // deprecated |
| 23450 abstract class _HTMLFrameElement extends Element native "HTMLFrameElement" { | 24334 abstract class _HTMLFrameElement extends Element native "HTMLFrameElement" { |
| 23451 } | 24335 } |
| 23452 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 24336 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23453 // for details. All rights reserved. Use of this source code is governed by a | 24337 // for details. All rights reserved. Use of this source code is governed by a |
| 23454 // BSD-style license that can be found in the LICENSE file. | 24338 // BSD-style license that can be found in the LICENSE file. |
| 23455 | 24339 |
| 23456 | 24340 |
| 23457 @DocsEditable | 24341 @DocsEditable |
| 23458 @DomName('HTMLFrameSetElement') | 24342 @DomName('HTMLFrameSetElement') |
| 24343 // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#fra
meset |
| 24344 @deprecated // deprecated |
| 23459 abstract class _HTMLFrameSetElement extends Element native "HTMLFrameSetElement"
{ | 24345 abstract class _HTMLFrameSetElement extends Element native "HTMLFrameSetElement"
{ |
| 23460 } | 24346 } |
| 23461 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 24347 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23462 // for details. All rights reserved. Use of this source code is governed by a | 24348 // for details. All rights reserved. Use of this source code is governed by a |
| 23463 // BSD-style license that can be found in the LICENSE file. | 24349 // BSD-style license that can be found in the LICENSE file. |
| 23464 | 24350 |
| 23465 | 24351 |
| 23466 @DocsEditable | 24352 @DocsEditable |
| 23467 @DomName('HTMLMarqueeElement') | 24353 @DomName('HTMLMarqueeElement') |
| 24354 // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#the
-marquee-element |
| 24355 @deprecated // deprecated |
| 23468 abstract class _HTMLMarqueeElement extends Element native "HTMLMarqueeElement" { | 24356 abstract class _HTMLMarqueeElement extends Element native "HTMLMarqueeElement" { |
| 23469 } | 24357 } |
| 23470 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 24358 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23471 // for details. All rights reserved. Use of this source code is governed by a | 24359 // for details. All rights reserved. Use of this source code is governed by a |
| 23472 // BSD-style license that can be found in the LICENSE file. | 24360 // BSD-style license that can be found in the LICENSE file. |
| 23473 | 24361 |
| 23474 | 24362 |
| 23475 @DocsEditable | 24363 @DocsEditable |
| 23476 @DomName('NamedNodeMap') | 24364 @DomName('NamedNodeMap') |
| 24365 // http://dom.spec.whatwg.org/#namednodemap |
| 24366 @deprecated // deprecated |
| 23477 class _NamedNodeMap extends Interceptor with ListMixin<Node>, ImmutableListMixin
<Node> implements JavaScriptIndexingBehavior, List<Node> native "NamedNodeMap" { | 24367 class _NamedNodeMap extends Interceptor with ListMixin<Node>, ImmutableListMixin
<Node> implements JavaScriptIndexingBehavior, List<Node> native "NamedNodeMap" { |
| 23478 | 24368 |
| 23479 @DomName('NamedNodeMap.length') | 24369 @DomName('NamedNodeMap.length') |
| 23480 @DocsEditable | 24370 @DocsEditable |
| 23481 int get length => JS("int", "#.length", this); | 24371 int get length => JS("int", "#.length", this); |
| 23482 | 24372 |
| 23483 Node operator[](int index) { | 24373 Node operator[](int index) { |
| 23484 if (JS("bool", "# >>> 0 !== # || # >= #", index, | 24374 if (JS("bool", "# >>> 0 !== # || # >= #", index, |
| 23485 index, index, length)) | 24375 index, index, length)) |
| 23486 throw new RangeError.range(index, 0, length); | 24376 throw new RangeError.range(index, 0, length); |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 23552 @DocsEditable | 24442 @DocsEditable |
| 23553 Node setNamedItemNS(Node node) native; | 24443 Node setNamedItemNS(Node node) native; |
| 23554 } | 24444 } |
| 23555 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 24445 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23556 // for details. All rights reserved. Use of this source code is governed by a | 24446 // for details. All rights reserved. Use of this source code is governed by a |
| 23557 // BSD-style license that can be found in the LICENSE file. | 24447 // BSD-style license that can be found in the LICENSE file. |
| 23558 | 24448 |
| 23559 | 24449 |
| 23560 @DocsEditable | 24450 @DocsEditable |
| 23561 @DomName('PagePopupController') | 24451 @DomName('PagePopupController') |
| 24452 @deprecated // nonstandard |
| 23562 abstract class _PagePopupController native "PagePopupController" { | 24453 abstract class _PagePopupController native "PagePopupController" { |
| 23563 } | 24454 } |
| 23564 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 24455 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23565 // for details. All rights reserved. Use of this source code is governed by a | 24456 // for details. All rights reserved. Use of this source code is governed by a |
| 23566 // BSD-style license that can be found in the LICENSE file. | 24457 // BSD-style license that can be found in the LICENSE file. |
| 23567 | 24458 |
| 23568 | 24459 |
| 23569 @DocsEditable | 24460 @DocsEditable |
| 23570 @DomName('RGBColor') | 24461 @DomName('RGBColor') |
| 24462 // http://dev.w3.org/csswg/cssom/ |
| 24463 @deprecated // deprecated |
| 23571 abstract class _RGBColor native "RGBColor" { | 24464 abstract class _RGBColor native "RGBColor" { |
| 23572 } | 24465 } |
| 23573 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 24466 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 23574 // for details. All rights reserved. Use of this source code is governed by a | 24467 // for details. All rights reserved. Use of this source code is governed by a |
| 23575 // BSD-style license that can be found in the LICENSE file. | 24468 // BSD-style license that can be found in the LICENSE file. |
| 23576 | 24469 |
| 23577 | 24470 |
| 23578 // Omit RadioNodeList for dart2js. The Dart Form and FieldSet APIs don't | 24471 // Omit RadioNodeList for dart2js. The Dart Form and FieldSet APIs don't |
| 23579 // currently expose an API the returns RadioNodeList. The only use of a | 24472 // currently expose an API the returns RadioNodeList. The only use of a |
| 23580 // RadioNodeList is to get the selected value and it will be cleaner to | 24473 // RadioNodeList is to get the selected value and it will be cleaner to |
| 23581 // introduce a different API for that purpose. | 24474 // introduce a different API for that purpose. |
| 23582 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 24475 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23583 // for details. All rights reserved. Use of this source code is governed by a | 24476 // for details. All rights reserved. Use of this source code is governed by a |
| 23584 // BSD-style license that can be found in the LICENSE file. | 24477 // BSD-style license that can be found in the LICENSE file. |
| 23585 | 24478 |
| 23586 | 24479 |
| 23587 @DocsEditable | 24480 @DocsEditable |
| 23588 @DomName('Rect') | 24481 @DomName('Rect') |
| 24482 // http://dev.w3.org/csswg/cssom/ |
| 24483 @deprecated // deprecated |
| 23589 abstract class _Rect native "Rect" { | 24484 abstract class _Rect native "Rect" { |
| 23590 } | 24485 } |
| 23591 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 24486 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23592 // for details. All rights reserved. Use of this source code is governed by a | 24487 // for details. All rights reserved. Use of this source code is governed by a |
| 23593 // BSD-style license that can be found in the LICENSE file. | 24488 // BSD-style license that can be found in the LICENSE file. |
| 23594 | 24489 |
| 23595 | 24490 |
| 23596 @DocsEditable | 24491 @DocsEditable |
| 23597 @DomName('SharedWorker') | 24492 @DomName('SharedWorker') |
| 24493 // http://www.whatwg.org/specs/web-apps/current-work/multipage/workers.html#shar
ed-workers-and-the-sharedworker-interface |
| 24494 @Experimental |
| 23598 abstract class _SharedWorker extends AbstractWorker native "SharedWorker" { | 24495 abstract class _SharedWorker extends AbstractWorker native "SharedWorker" { |
| 23599 | 24496 |
| 23600 @DomName('SharedWorker.SharedWorker') | 24497 @DomName('SharedWorker.SharedWorker') |
| 23601 @DocsEditable | 24498 @DocsEditable |
| 23602 factory _SharedWorker(String scriptURL, [String name]) { | 24499 factory _SharedWorker(String scriptURL, [String name]) { |
| 23603 if (?name) { | 24500 if (?name) { |
| 23604 return _SharedWorker._create_1(scriptURL, name); | 24501 return _SharedWorker._create_1(scriptURL, name); |
| 23605 } | 24502 } |
| 23606 return _SharedWorker._create_2(scriptURL); | 24503 return _SharedWorker._create_2(scriptURL); |
| 23607 } | 24504 } |
| 23608 static _SharedWorker _create_1(scriptURL, name) => JS('_SharedWorker', 'new Sh
aredWorker(#,#)', scriptURL, name); | 24505 static _SharedWorker _create_1(scriptURL, name) => JS('_SharedWorker', 'new Sh
aredWorker(#,#)', scriptURL, name); |
| 23609 static _SharedWorker _create_2(scriptURL) => JS('_SharedWorker', 'new SharedWo
rker(#)', scriptURL); | 24506 static _SharedWorker _create_2(scriptURL) => JS('_SharedWorker', 'new SharedWo
rker(#)', scriptURL); |
| 23610 } | 24507 } |
| 23611 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 24508 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23612 // for details. All rights reserved. Use of this source code is governed by a | 24509 // for details. All rights reserved. Use of this source code is governed by a |
| 23613 // BSD-style license that can be found in the LICENSE file. | 24510 // BSD-style license that can be found in the LICENSE file. |
| 23614 | 24511 |
| 23615 | 24512 |
| 23616 @DocsEditable | 24513 @DocsEditable |
| 23617 @DomName('SharedWorkerContext') | 24514 @DomName('SharedWorkerContext') |
| 24515 // http://www.whatwg.org/specs/web-apps/current-work/multipage/workers.html#shar
ed-workers-and-the-sharedworkerglobalscope-interface |
| 24516 @Experimental // nonstandard |
| 23618 abstract class _SharedWorkerContext extends _WorkerContext native "SharedWorkerC
ontext" { | 24517 abstract class _SharedWorkerContext extends _WorkerContext native "SharedWorkerC
ontext" { |
| 23619 } | 24518 } |
| 23620 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 24519 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23621 // for details. All rights reserved. Use of this source code is governed by a | 24520 // for details. All rights reserved. Use of this source code is governed by a |
| 23622 // BSD-style license that can be found in the LICENSE file. | 24521 // BSD-style license that can be found in the LICENSE file. |
| 23623 | 24522 |
| 23624 | 24523 |
| 23625 @DocsEditable | 24524 @DocsEditable |
| 23626 @DomName('SpeechInputResultList') | 24525 @DomName('SpeechInputResultList') |
| 24526 // http://lists.w3.org/Archives/Public/public-xg-htmlspeech/2011Feb/att-0020/api
-draft.html#speech_input_result_list_interface |
| 24527 @Experimental |
| 23627 class _SpeechInputResultList extends Interceptor with ListMixin<SpeechInputResul
t>, ImmutableListMixin<SpeechInputResult> implements JavaScriptIndexingBehavior,
List<SpeechInputResult> native "SpeechInputResultList" { | 24528 class _SpeechInputResultList extends Interceptor with ListMixin<SpeechInputResul
t>, ImmutableListMixin<SpeechInputResult> implements JavaScriptIndexingBehavior,
List<SpeechInputResult> native "SpeechInputResultList" { |
| 23628 | 24529 |
| 23629 @DomName('SpeechInputResultList.length') | 24530 @DomName('SpeechInputResultList.length') |
| 23630 @DocsEditable | 24531 @DocsEditable |
| 23631 int get length => JS("int", "#.length", this); | 24532 int get length => JS("int", "#.length", this); |
| 23632 | 24533 |
| 23633 SpeechInputResult operator[](int index) { | 24534 SpeechInputResult operator[](int index) { |
| 23634 if (JS("bool", "# >>> 0 !== # || # >= #", index, | 24535 if (JS("bool", "# >>> 0 !== # || # >= #", index, |
| 23635 index, index, length)) | 24536 index, index, length)) |
| 23636 throw new RangeError.range(index, 0, length); | 24537 throw new RangeError.range(index, 0, length); |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 23678 @DocsEditable | 24579 @DocsEditable |
| 23679 SpeechInputResult item(int index) native; | 24580 SpeechInputResult item(int index) native; |
| 23680 } | 24581 } |
| 23681 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 24582 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23682 // for details. All rights reserved. Use of this source code is governed by a | 24583 // for details. All rights reserved. Use of this source code is governed by a |
| 23683 // BSD-style license that can be found in the LICENSE file. | 24584 // BSD-style license that can be found in the LICENSE file. |
| 23684 | 24585 |
| 23685 | 24586 |
| 23686 @DocsEditable | 24587 @DocsEditable |
| 23687 @DomName('SpeechRecognitionResultList') | 24588 @DomName('SpeechRecognitionResultList') |
| 24589 // https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#speechrecogniti
onresultlist |
| 24590 @Experimental |
| 23688 class _SpeechRecognitionResultList extends Interceptor with ListMixin<SpeechReco
gnitionResult>, ImmutableListMixin<SpeechRecognitionResult> implements JavaScrip
tIndexingBehavior, List<SpeechRecognitionResult> native "SpeechRecognitionResult
List" { | 24591 class _SpeechRecognitionResultList extends Interceptor with ListMixin<SpeechReco
gnitionResult>, ImmutableListMixin<SpeechRecognitionResult> implements JavaScrip
tIndexingBehavior, List<SpeechRecognitionResult> native "SpeechRecognitionResult
List" { |
| 23689 | 24592 |
| 23690 @DomName('SpeechRecognitionResultList.length') | 24593 @DomName('SpeechRecognitionResultList.length') |
| 23691 @DocsEditable | 24594 @DocsEditable |
| 23692 int get length => JS("int", "#.length", this); | 24595 int get length => JS("int", "#.length", this); |
| 23693 | 24596 |
| 23694 SpeechRecognitionResult operator[](int index) { | 24597 SpeechRecognitionResult operator[](int index) { |
| 23695 if (JS("bool", "# >>> 0 !== # || # >= #", index, | 24598 if (JS("bool", "# >>> 0 !== # || # >= #", index, |
| 23696 index, index, length)) | 24599 index, index, length)) |
| 23697 throw new RangeError.range(index, 0, length); | 24600 throw new RangeError.range(index, 0, length); |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 23800 @DocsEditable | 24703 @DocsEditable |
| 23801 StyleSheet item(int index) native; | 24704 StyleSheet item(int index) native; |
| 23802 } | 24705 } |
| 23803 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 24706 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23804 // for details. All rights reserved. Use of this source code is governed by a | 24707 // for details. All rights reserved. Use of this source code is governed by a |
| 23805 // BSD-style license that can be found in the LICENSE file. | 24708 // BSD-style license that can be found in the LICENSE file. |
| 23806 | 24709 |
| 23807 | 24710 |
| 23808 @DocsEditable | 24711 @DocsEditable |
| 23809 @DomName('WebKitCSSFilterValue') | 24712 @DomName('WebKitCSSFilterValue') |
| 24713 // http://dev.w3.org/csswg/cssom/ |
| 24714 @deprecated // deprecated |
| 23810 abstract class _WebKitCSSFilterValue extends _CssValueList native "WebKitCSSFilt
erValue" { | 24715 abstract class _WebKitCSSFilterValue extends _CssValueList native "WebKitCSSFilt
erValue" { |
| 23811 } | 24716 } |
| 23812 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 24717 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23813 // for details. All rights reserved. Use of this source code is governed by a | 24718 // for details. All rights reserved. Use of this source code is governed by a |
| 23814 // BSD-style license that can be found in the LICENSE file. | 24719 // BSD-style license that can be found in the LICENSE file. |
| 23815 | 24720 |
| 23816 | 24721 |
| 23817 @DocsEditable | 24722 @DocsEditable |
| 23818 @DomName('WebKitCSSMatrix') | 24723 @DomName('WebKitCSSMatrix') |
| 23819 @SupportedBrowser(SupportedBrowser.CHROME) | 24724 @SupportedBrowser(SupportedBrowser.CHROME) |
| 23820 @SupportedBrowser(SupportedBrowser.SAFARI) | 24725 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 23821 @Experimental | 24726 @Experimental |
| 24727 // http://dev.w3.org/csswg/cssom/ |
| 24728 @deprecated // deprecated |
| 23822 abstract class _WebKitCSSMatrix native "WebKitCSSMatrix" { | 24729 abstract class _WebKitCSSMatrix native "WebKitCSSMatrix" { |
| 23823 | 24730 |
| 23824 @DomName('WebKitCSSMatrix.WebKitCSSMatrix') | 24731 @DomName('WebKitCSSMatrix.WebKitCSSMatrix') |
| 23825 @DocsEditable | 24732 @DocsEditable |
| 23826 factory _WebKitCSSMatrix([String cssValue]) { | 24733 factory _WebKitCSSMatrix([String cssValue]) { |
| 23827 if (?cssValue) { | 24734 if (?cssValue) { |
| 23828 return _WebKitCSSMatrix._create_1(cssValue); | 24735 return _WebKitCSSMatrix._create_1(cssValue); |
| 23829 } | 24736 } |
| 23830 return _WebKitCSSMatrix._create_2(); | 24737 return _WebKitCSSMatrix._create_2(); |
| 23831 } | 24738 } |
| 23832 static _WebKitCSSMatrix _create_1(cssValue) => JS('_WebKitCSSMatrix', 'new Web
KitCSSMatrix(#)', cssValue); | 24739 static _WebKitCSSMatrix _create_1(cssValue) => JS('_WebKitCSSMatrix', 'new Web
KitCSSMatrix(#)', cssValue); |
| 23833 static _WebKitCSSMatrix _create_2() => JS('_WebKitCSSMatrix', 'new WebKitCSSMa
trix()'); | 24740 static _WebKitCSSMatrix _create_2() => JS('_WebKitCSSMatrix', 'new WebKitCSSMa
trix()'); |
| 23834 } | 24741 } |
| 23835 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 24742 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23836 // for details. All rights reserved. Use of this source code is governed by a | 24743 // for details. All rights reserved. Use of this source code is governed by a |
| 23837 // BSD-style license that can be found in the LICENSE file. | 24744 // BSD-style license that can be found in the LICENSE file. |
| 23838 | 24745 |
| 23839 | 24746 |
| 23840 @DocsEditable | 24747 @DocsEditable |
| 23841 @DomName('WebKitCSSMixFunctionValue') | 24748 @DomName('WebKitCSSMixFunctionValue') |
| 24749 // http://dev.w3.org/csswg/cssom/ |
| 24750 @deprecated // deprecated |
| 23842 abstract class _WebKitCSSMixFunctionValue extends _CssValueList native "WebKitCS
SMixFunctionValue" { | 24751 abstract class _WebKitCSSMixFunctionValue extends _CssValueList native "WebKitCS
SMixFunctionValue" { |
| 23843 } | 24752 } |
| 23844 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 24753 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23845 // for details. All rights reserved. Use of this source code is governed by a | 24754 // for details. All rights reserved. Use of this source code is governed by a |
| 23846 // BSD-style license that can be found in the LICENSE file. | 24755 // BSD-style license that can be found in the LICENSE file. |
| 23847 | 24756 |
| 23848 | 24757 |
| 23849 @DocsEditable | 24758 @DocsEditable |
| 23850 @DomName('WebKitCSSTransformValue') | 24759 @DomName('WebKitCSSTransformValue') |
| 24760 // http://dev.w3.org/csswg/cssom/ |
| 24761 @deprecated // deprecated |
| 23851 abstract class _WebKitCSSTransformValue extends _CssValueList native "WebKitCSST
ransformValue" { | 24762 abstract class _WebKitCSSTransformValue extends _CssValueList native "WebKitCSST
ransformValue" { |
| 23852 } | 24763 } |
| 23853 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 24764 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23854 // for details. All rights reserved. Use of this source code is governed by a | 24765 // for details. All rights reserved. Use of this source code is governed by a |
| 23855 // BSD-style license that can be found in the LICENSE file. | 24766 // BSD-style license that can be found in the LICENSE file. |
| 23856 | 24767 |
| 23857 | 24768 |
| 23858 @DocsEditable | 24769 @DocsEditable |
| 23859 @DomName('WorkerContext') | 24770 @DomName('WorkerContext') |
| 24771 // http://www.whatwg.org/specs/web-apps/current-work/multipage/workers.html#Work
erGlobalScope-partial |
| 24772 @Experimental // stable |
| 23860 abstract class _WorkerContext extends EventTarget native "WorkerContext" { | 24773 abstract class _WorkerContext extends EventTarget native "WorkerContext" { |
| 23861 } | 24774 } |
| 23862 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 24775 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23863 // for details. All rights reserved. Use of this source code is governed by a | 24776 // for details. All rights reserved. Use of this source code is governed by a |
| 23864 // BSD-style license that can be found in the LICENSE file. | 24777 // BSD-style license that can be found in the LICENSE file. |
| 23865 | 24778 |
| 23866 | 24779 |
| 23867 @DocsEditable | 24780 @DocsEditable |
| 23868 @DomName('WorkerLocation') | 24781 @DomName('WorkerLocation') |
| 24782 // http://www.whatwg.org/specs/web-apps/current-work/multipage/workers.html#work
erlocation |
| 24783 @Experimental |
| 23869 abstract class _WorkerLocation native "WorkerLocation" { | 24784 abstract class _WorkerLocation native "WorkerLocation" { |
| 23870 } | 24785 } |
| 23871 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 24786 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23872 // for details. All rights reserved. Use of this source code is governed by a | 24787 // for details. All rights reserved. Use of this source code is governed by a |
| 23873 // BSD-style license that can be found in the LICENSE file. | 24788 // BSD-style license that can be found in the LICENSE file. |
| 23874 | 24789 |
| 23875 | 24790 |
| 23876 @DocsEditable | 24791 @DocsEditable |
| 23877 @DomName('WorkerNavigator') | 24792 @DomName('WorkerNavigator') |
| 24793 // http://www.whatwg.org/specs/web-apps/current-work/multipage/workers.html#work
ernavigator |
| 24794 @Experimental |
| 23878 abstract class _WorkerNavigator native "WorkerNavigator" { | 24795 abstract class _WorkerNavigator native "WorkerNavigator" { |
| 23879 } | 24796 } |
| 23880 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 24797 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23881 // for details. All rights reserved. Use of this source code is governed by a | 24798 // for details. All rights reserved. Use of this source code is governed by a |
| 23882 // BSD-style license that can be found in the LICENSE file. | 24799 // BSD-style license that can be found in the LICENSE file. |
| 23883 | 24800 |
| 23884 | 24801 |
| 23885 abstract class _AttributeMap implements Map<String, String> { | 24802 abstract class _AttributeMap implements Map<String, String> { |
| 23886 final Element _element; | 24803 final Element _element; |
| 23887 | 24804 |
| (...skipping 4464 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 28352 _position = nextPosition; | 29269 _position = nextPosition; |
| 28353 return true; | 29270 return true; |
| 28354 } | 29271 } |
| 28355 _current = null; | 29272 _current = null; |
| 28356 _position = _array.length; | 29273 _position = _array.length; |
| 28357 return false; | 29274 return false; |
| 28358 } | 29275 } |
| 28359 | 29276 |
| 28360 T get current => _current; | 29277 T get current => _current; |
| 28361 } | 29278 } |
| OLD | NEW |