Chromium Code Reviews| 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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 108 @DomName('HTMLAnchorElement.HTMLAnchorElement') | 108 @DomName('HTMLAnchorElement.HTMLAnchorElement') |
| 109 @DocsEditable | 109 @DocsEditable |
| 110 factory AnchorElement({String href}) { | 110 factory AnchorElement({String href}) { |
| 111 var e = document.$dom_createElement("a"); | 111 var e = document.$dom_createElement("a"); |
| 112 if (href != null) e.href = href; | 112 if (href != null) e.href = href; |
| 113 return e; | 113 return e; |
| 114 } | 114 } |
| 115 | 115 |
| 116 @DomName('HTMLAnchorElement.download') | 116 @DomName('HTMLAnchorElement.download') |
| 117 @DocsEditable | 117 @DocsEditable |
| 118 // http://www.whatwg.org/specs/web-apps/current-work/multipage/links.html#attr -hyperlink-download | |
| 119 @Experimental | |
| 118 String download; | 120 String download; |
| 119 | 121 |
| 120 @DomName('HTMLAnchorElement.hash') | 122 @DomName('HTMLAnchorElement.hash') |
| 121 @DocsEditable | 123 @DocsEditable |
| 122 String hash; | 124 String hash; |
| 123 | 125 |
| 124 @DomName('HTMLAnchorElement.host') | 126 @DomName('HTMLAnchorElement.host') |
| 125 @DocsEditable | 127 @DocsEditable |
| 126 String host; | 128 String host; |
| 127 | 129 |
| 128 @DomName('HTMLAnchorElement.hostname') | 130 @DomName('HTMLAnchorElement.hostname') |
| 129 @DocsEditable | 131 @DocsEditable |
| 130 String hostname; | 132 String hostname; |
| 131 | 133 |
| 132 @DomName('HTMLAnchorElement.href') | 134 @DomName('HTMLAnchorElement.href') |
| 133 @DocsEditable | 135 @DocsEditable |
| 134 String href; | 136 String href; |
| 135 | 137 |
| 136 @DomName('HTMLAnchorElement.hreflang') | 138 @DomName('HTMLAnchorElement.hreflang') |
| 137 @DocsEditable | 139 @DocsEditable |
| 138 String hreflang; | 140 String hreflang; |
| 139 | 141 |
| 140 @DomName('HTMLAnchorElement.name') | 142 @DomName('HTMLAnchorElement.name') |
| 141 @DocsEditable | 143 @DocsEditable |
| 144 // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#H TMLAnchorElement-partial | |
|
blois
2013/05/10 18:32:47
Expect these comments to be removed (or converted
| |
| 145 @deprecated // deprecated | |
| 142 String name; | 146 String name; |
| 143 | 147 |
| 144 @DomName('HTMLAnchorElement.origin') | 148 @DomName('HTMLAnchorElement.origin') |
| 145 @DocsEditable | 149 @DocsEditable |
| 150 // WebKit only | |
| 151 @deprecated // nonstandard | |
| 146 final String origin; | 152 final String origin; |
| 147 | 153 |
| 148 @DomName('HTMLAnchorElement.pathname') | 154 @DomName('HTMLAnchorElement.pathname') |
| 149 @DocsEditable | 155 @DocsEditable |
| 150 String pathname; | 156 String pathname; |
| 151 | 157 |
| 152 @DomName('HTMLAnchorElement.ping') | 158 @DomName('HTMLAnchorElement.ping') |
| 153 @DocsEditable | 159 @DocsEditable |
| 160 // http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-sema ntics.html#the-a-element | |
| 161 @deprecated // deprecated | |
| 154 String ping; | 162 String ping; |
| 155 | 163 |
| 156 @DomName('HTMLAnchorElement.port') | 164 @DomName('HTMLAnchorElement.port') |
| 157 @DocsEditable | 165 @DocsEditable |
| 158 String port; | 166 String port; |
| 159 | 167 |
| 160 @DomName('HTMLAnchorElement.protocol') | 168 @DomName('HTMLAnchorElement.protocol') |
| 161 @DocsEditable | 169 @DocsEditable |
| 162 String protocol; | 170 String protocol; |
| 163 | 171 |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 206 // BSD-style license that can be found in the LICENSE file. | 214 // BSD-style license that can be found in the LICENSE file. |
| 207 | 215 |
| 208 | 216 |
| 209 @DocsEditable | 217 @DocsEditable |
| 210 @DomName('DOMApplicationCache') | 218 @DomName('DOMApplicationCache') |
| 211 @SupportedBrowser(SupportedBrowser.CHROME) | 219 @SupportedBrowser(SupportedBrowser.CHROME) |
| 212 @SupportedBrowser(SupportedBrowser.FIREFOX) | 220 @SupportedBrowser(SupportedBrowser.FIREFOX) |
| 213 @SupportedBrowser(SupportedBrowser.IE, '10') | 221 @SupportedBrowser(SupportedBrowser.IE, '10') |
| 214 @SupportedBrowser(SupportedBrowser.OPERA) | 222 @SupportedBrowser(SupportedBrowser.OPERA) |
| 215 @SupportedBrowser(SupportedBrowser.SAFARI) | 223 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 224 @Unstable | |
| 216 class ApplicationCache extends EventTarget native "ApplicationCache,DOMApplicati onCache,OfflineResourceList" { | 225 class ApplicationCache extends EventTarget native "ApplicationCache,DOMApplicati onCache,OfflineResourceList" { |
| 217 | 226 |
| 218 @DomName('DOMApplicationCache.cachedEvent') | 227 @DomName('DOMApplicationCache.cachedEvent') |
| 219 @DocsEditable | 228 @DocsEditable |
| 220 static const EventStreamProvider<Event> cachedEvent = const EventStreamProvide r<Event>('cached'); | 229 static const EventStreamProvider<Event> cachedEvent = const EventStreamProvide r<Event>('cached'); |
| 221 | 230 |
| 222 @DomName('DOMApplicationCache.checkingEvent') | 231 @DomName('DOMApplicationCache.checkingEvent') |
| 223 @DocsEditable | 232 @DocsEditable |
| 224 static const EventStreamProvider<Event> checkingEvent = const EventStreamProvi der<Event>('checking'); | 233 static const EventStreamProvider<Event> checkingEvent = const EventStreamProvi der<Event>('checking'); |
| 225 | 234 |
| (...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 382 @DomName('HTMLAreaElement.href') | 391 @DomName('HTMLAreaElement.href') |
| 383 @DocsEditable | 392 @DocsEditable |
| 384 String href; | 393 String href; |
| 385 | 394 |
| 386 @DomName('HTMLAreaElement.pathname') | 395 @DomName('HTMLAreaElement.pathname') |
| 387 @DocsEditable | 396 @DocsEditable |
| 388 final String pathname; | 397 final String pathname; |
| 389 | 398 |
| 390 @DomName('HTMLAreaElement.ping') | 399 @DomName('HTMLAreaElement.ping') |
| 391 @DocsEditable | 400 @DocsEditable |
| 401 // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#H TMLAreaElement-partial | |
| 402 @deprecated // deprecated | |
| 392 String ping; | 403 String ping; |
| 393 | 404 |
| 394 @DomName('HTMLAreaElement.port') | 405 @DomName('HTMLAreaElement.port') |
| 395 @DocsEditable | 406 @DocsEditable |
| 396 final String port; | 407 final String port; |
| 397 | 408 |
| 398 @DomName('HTMLAreaElement.protocol') | 409 @DomName('HTMLAreaElement.protocol') |
| 399 @DocsEditable | 410 @DocsEditable |
| 400 final String protocol; | 411 final String protocol; |
| 401 | 412 |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 440 static AudioElement _create_1(src) => JS('AudioElement', 'new Audio(#)', src); | 451 static AudioElement _create_1(src) => JS('AudioElement', 'new Audio(#)', src); |
| 441 static AudioElement _create_2() => JS('AudioElement', 'new Audio()'); | 452 static AudioElement _create_2() => JS('AudioElement', 'new Audio()'); |
| 442 } | 453 } |
| 443 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 454 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 444 // for details. All rights reserved. Use of this source code is governed by a | 455 // for details. All rights reserved. Use of this source code is governed by a |
| 445 // BSD-style license that can be found in the LICENSE file. | 456 // BSD-style license that can be found in the LICENSE file. |
| 446 | 457 |
| 447 | 458 |
| 448 @DocsEditable | 459 @DocsEditable |
| 449 @DomName('AutocompleteErrorEvent') | 460 @DomName('AutocompleteErrorEvent') |
| 461 // http://wiki.whatwg.org/wiki/RequestAutocomplete | |
| 462 @Experimental | |
| 450 class AutocompleteErrorEvent extends Event native "AutocompleteErrorEvent" { | 463 class AutocompleteErrorEvent extends Event native "AutocompleteErrorEvent" { |
| 451 | 464 |
| 452 @DomName('AutocompleteErrorEvent.reason') | 465 @DomName('AutocompleteErrorEvent.reason') |
| 453 @DocsEditable | 466 @DocsEditable |
| 454 final String reason; | 467 final String reason; |
| 455 } | 468 } |
| 456 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 469 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 457 // for details. All rights reserved. Use of this source code is governed by a | 470 // for details. All rights reserved. Use of this source code is governed by a |
| 458 // BSD-style license that can be found in the LICENSE file. | 471 // BSD-style license that can be found in the LICENSE file. |
| 459 | 472 |
| 460 | 473 |
| 461 @DocsEditable | 474 @DocsEditable |
| 462 @DomName('HTMLBRElement') | 475 @DomName('HTMLBRElement') |
| 463 class BRElement extends Element native "HTMLBRElement" { | 476 class BRElement extends Element native "HTMLBRElement" { |
| 464 | 477 |
| 465 @DomName('HTMLBRElement.HTMLBRElement') | 478 @DomName('HTMLBRElement.HTMLBRElement') |
| 466 @DocsEditable | 479 @DocsEditable |
| 467 factory BRElement() => document.$dom_createElement("br"); | 480 factory BRElement() => document.$dom_createElement("br"); |
| 468 } | 481 } |
| 469 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 482 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 470 // for details. All rights reserved. Use of this source code is governed by a | 483 // for details. All rights reserved. Use of this source code is governed by a |
| 471 // BSD-style license that can be found in the LICENSE file. | 484 // BSD-style license that can be found in the LICENSE file. |
| 472 | 485 |
| 473 | 486 |
| 474 @DocsEditable | 487 @DocsEditable |
| 475 @DomName('BarInfo') | 488 @DomName('BarInfo') |
| 489 // http://www.whatwg.org/specs/web-apps/current-work/multipage/browsers.html#bar prop (Rename to BarProp?) | |
| 490 @Experimental // non-standard | |
| 476 class BarInfo native "BarInfo" { | 491 class BarInfo native "BarInfo" { |
| 477 | 492 |
| 478 @DomName('BarInfo.visible') | 493 @DomName('BarInfo.visible') |
| 479 @DocsEditable | 494 @DocsEditable |
| 480 final bool visible; | 495 final bool visible; |
| 481 } | 496 } |
| 482 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 497 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 483 // for details. All rights reserved. Use of this source code is governed by a | 498 // for details. All rights reserved. Use of this source code is governed by a |
| 484 // BSD-style license that can be found in the LICENSE file. | 499 // BSD-style license that can be found in the LICENSE file. |
| 485 | 500 |
| (...skipping 14 matching lines...) Expand all Loading... | |
| 500 @DocsEditable | 515 @DocsEditable |
| 501 String target; | 516 String target; |
| 502 } | 517 } |
| 503 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 518 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 504 // for details. All rights reserved. Use of this source code is governed by a | 519 // for details. All rights reserved. Use of this source code is governed by a |
| 505 // BSD-style license that can be found in the LICENSE file. | 520 // BSD-style license that can be found in the LICENSE file. |
| 506 | 521 |
| 507 | 522 |
| 508 @DocsEditable | 523 @DocsEditable |
| 509 @DomName('BeforeLoadEvent') | 524 @DomName('BeforeLoadEvent') |
| 525 @Experimental | |
| 510 class BeforeLoadEvent extends Event native "BeforeLoadEvent" { | 526 class BeforeLoadEvent extends Event native "BeforeLoadEvent" { |
| 511 | 527 |
| 512 @DomName('BeforeLoadEvent.url') | 528 @DomName('BeforeLoadEvent.url') |
| 513 @DocsEditable | 529 @DocsEditable |
| 514 final String url; | 530 final String url; |
| 515 } | 531 } |
| 516 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 532 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 517 // for details. All rights reserved. Use of this source code is governed by a | 533 // for details. All rights reserved. Use of this source code is governed by a |
| 518 // BSD-style license that can be found in the LICENSE file. | 534 // BSD-style license that can be found in the LICENSE file. |
| 519 | 535 |
| (...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 702 @DomName('HTMLButtonElement.formNoValidate') | 718 @DomName('HTMLButtonElement.formNoValidate') |
| 703 @DocsEditable | 719 @DocsEditable |
| 704 bool formNoValidate; | 720 bool formNoValidate; |
| 705 | 721 |
| 706 @DomName('HTMLButtonElement.formTarget') | 722 @DomName('HTMLButtonElement.formTarget') |
| 707 @DocsEditable | 723 @DocsEditable |
| 708 String formTarget; | 724 String formTarget; |
| 709 | 725 |
| 710 @DomName('HTMLButtonElement.labels') | 726 @DomName('HTMLButtonElement.labels') |
| 711 @DocsEditable | 727 @DocsEditable |
| 728 @Unstable | |
| 712 @Returns('NodeList') | 729 @Returns('NodeList') |
| 713 @Creates('NodeList') | 730 @Creates('NodeList') |
| 714 final List<Node> labels; | 731 final List<Node> labels; |
| 715 | 732 |
| 716 @DomName('HTMLButtonElement.name') | 733 @DomName('HTMLButtonElement.name') |
| 717 @DocsEditable | 734 @DocsEditable |
| 718 String name; | 735 String name; |
| 719 | 736 |
| 720 @DomName('HTMLButtonElement.type') | 737 @DomName('HTMLButtonElement.type') |
| 721 @DocsEditable | 738 @DocsEditable |
| (...skipping 23 matching lines...) Expand all Loading... | |
| 745 @DocsEditable | 762 @DocsEditable |
| 746 void setCustomValidity(String error) native; | 763 void setCustomValidity(String error) native; |
| 747 } | 764 } |
| 748 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 765 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 749 // for details. All rights reserved. Use of this source code is governed by a | 766 // for details. All rights reserved. Use of this source code is governed by a |
| 750 // BSD-style license that can be found in the LICENSE file. | 767 // BSD-style license that can be found in the LICENSE file. |
| 751 | 768 |
| 752 | 769 |
| 753 @DocsEditable | 770 @DocsEditable |
| 754 @DomName('CDATASection') | 771 @DomName('CDATASection') |
| 772 // http://dom.spec.whatwg.org/#cdatasection | |
| 773 @deprecated // deprecated | |
| 755 class CDataSection extends Text native "CDATASection" { | 774 class CDataSection extends Text native "CDATASection" { |
| 756 } | 775 } |
| 757 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 776 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 758 // for details. All rights reserved. Use of this source code is governed by a | 777 // for details. All rights reserved. Use of this source code is governed by a |
| 759 // BSD-style license that can be found in the LICENSE file. | 778 // BSD-style license that can be found in the LICENSE file. |
| 760 | 779 |
| 761 | 780 |
| 762 @DomName('HTMLCanvasElement') | 781 @DomName('HTMLCanvasElement') |
| 763 class CanvasElement extends Element implements CanvasImageSource native "HTMLCan vasElement" { | 782 class CanvasElement extends Element implements CanvasImageSource native "HTMLCan vasElement" { |
| 764 | 783 |
| (...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 959 @DomName('CanvasPattern') | 978 @DomName('CanvasPattern') |
| 960 class CanvasPattern native "CanvasPattern" { | 979 class CanvasPattern native "CanvasPattern" { |
| 961 } | 980 } |
| 962 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 981 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 963 // for details. All rights reserved. Use of this source code is governed by a | 982 // for details. All rights reserved. Use of this source code is governed by a |
| 964 // BSD-style license that can be found in the LICENSE file. | 983 // BSD-style license that can be found in the LICENSE file. |
| 965 | 984 |
| 966 | 985 |
| 967 @DocsEditable | 986 @DocsEditable |
| 968 @DomName('CanvasProxy') | 987 @DomName('CanvasProxy') |
| 988 // http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-elemen t.html#canvasproxy | |
| 989 @Experimental | |
| 969 class CanvasProxy native "CanvasProxy" { | 990 class CanvasProxy native "CanvasProxy" { |
| 970 } | 991 } |
| 971 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 992 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 972 // for details. All rights reserved. Use of this source code is governed by a | 993 // for details. All rights reserved. Use of this source code is governed by a |
| 973 // BSD-style license that can be found in the LICENSE file. | 994 // BSD-style license that can be found in the LICENSE file. |
| 974 | 995 |
| 975 | 996 |
| 976 @DocsEditable | 997 @DocsEditable |
| 977 /** | 998 /** |
| 978 * A rendering context for a canvas element. | 999 * A rendering context for a canvas element. |
| (...skipping 12 matching lines...) Expand all Loading... | |
| 991 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1012 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 992 // for details. All rights reserved. Use of this source code is governed by a | 1013 // for details. All rights reserved. Use of this source code is governed by a |
| 993 // BSD-style license that can be found in the LICENSE file. | 1014 // BSD-style license that can be found in the LICENSE file. |
| 994 | 1015 |
| 995 | 1016 |
| 996 @DomName('CanvasRenderingContext2D') | 1017 @DomName('CanvasRenderingContext2D') |
| 997 class CanvasRenderingContext2D extends CanvasRenderingContext native "CanvasRend eringContext2D" { | 1018 class CanvasRenderingContext2D extends CanvasRenderingContext native "CanvasRend eringContext2D" { |
| 998 | 1019 |
| 999 @DomName('CanvasRenderingContext2D.currentPath') | 1020 @DomName('CanvasRenderingContext2D.currentPath') |
| 1000 @DocsEditable | 1021 @DocsEditable |
| 1022 // http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-elem ent.html#path-objects | |
| 1023 @Experimental | |
| 1001 Path currentPath; | 1024 Path currentPath; |
| 1002 | 1025 |
| 1003 @DomName('CanvasRenderingContext2D.fillStyle') | 1026 @DomName('CanvasRenderingContext2D.fillStyle') |
| 1004 @DocsEditable | 1027 @DocsEditable |
| 1005 @Creates('String|CanvasGradient|CanvasPattern') | 1028 @Creates('String|CanvasGradient|CanvasPattern') |
| 1006 @Returns('String|CanvasGradient|CanvasPattern') | 1029 @Returns('String|CanvasGradient|CanvasPattern') |
| 1007 dynamic fillStyle; | 1030 dynamic fillStyle; |
| 1008 | 1031 |
| 1009 @DomName('CanvasRenderingContext2D.font') | 1032 @DomName('CanvasRenderingContext2D.font') |
| 1010 @DocsEditable | 1033 @DocsEditable |
| (...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1173 @DomName('CanvasRenderingContext2D.getLineDash') | 1196 @DomName('CanvasRenderingContext2D.getLineDash') |
| 1174 @DocsEditable | 1197 @DocsEditable |
| 1175 List<num> getLineDash() native; | 1198 List<num> getLineDash() native; |
| 1176 | 1199 |
| 1177 @DomName('CanvasRenderingContext2D.isPointInPath') | 1200 @DomName('CanvasRenderingContext2D.isPointInPath') |
| 1178 @DocsEditable | 1201 @DocsEditable |
| 1179 bool isPointInPath(num x, num y, [String winding]) native; | 1202 bool isPointInPath(num x, num y, [String winding]) native; |
| 1180 | 1203 |
| 1181 @DomName('CanvasRenderingContext2D.isPointInStroke') | 1204 @DomName('CanvasRenderingContext2D.isPointInStroke') |
| 1182 @DocsEditable | 1205 @DocsEditable |
| 1206 @Experimental // non-standard | |
| 1183 bool isPointInStroke(num x, num y) native; | 1207 bool isPointInStroke(num x, num y) native; |
| 1184 | 1208 |
| 1185 @DomName('CanvasRenderingContext2D.lineTo') | 1209 @DomName('CanvasRenderingContext2D.lineTo') |
| 1186 @DocsEditable | 1210 @DocsEditable |
| 1187 void lineTo(num x, num y) native; | 1211 void lineTo(num x, num y) native; |
| 1188 | 1212 |
| 1189 @DomName('CanvasRenderingContext2D.measureText') | 1213 @DomName('CanvasRenderingContext2D.measureText') |
| 1190 @DocsEditable | 1214 @DocsEditable |
| 1191 TextMetrics measureText(String text) native; | 1215 TextMetrics measureText(String text) native; |
| 1192 | 1216 |
| (...skipping 526 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1719 @DomName('Console.trace') | 1743 @DomName('Console.trace') |
| 1720 void trace(Object arg) => _isConsoleDefined ? | 1744 void trace(Object arg) => _isConsoleDefined ? |
| 1721 JS('void', 'console.trace(#)', arg) : null; | 1745 JS('void', 'console.trace(#)', arg) : null; |
| 1722 | 1746 |
| 1723 @DomName('Console.warn') | 1747 @DomName('Console.warn') |
| 1724 void warn(Object arg) => _isConsoleDefined ? | 1748 void warn(Object arg) => _isConsoleDefined ? |
| 1725 JS('void', 'console.warn(#)', arg) : null; | 1749 JS('void', 'console.warn(#)', arg) : null; |
| 1726 | 1750 |
| 1727 @DomName('Console.clear') | 1751 @DomName('Console.clear') |
| 1728 @DocsEditable | 1752 @DocsEditable |
| 1753 @Experimental | |
| 1729 void clear(Object arg) native; | 1754 void clear(Object arg) native; |
| 1730 | 1755 |
| 1731 @DomName('Console.table') | 1756 @DomName('Console.table') |
| 1732 @DocsEditable | 1757 @DocsEditable |
| 1758 @Experimental | |
| 1733 void table(Object arg) native; | 1759 void table(Object arg) native; |
| 1734 | 1760 |
| 1735 } | 1761 } |
| 1736 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1762 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1737 // for details. All rights reserved. Use of this source code is governed by a | 1763 // for details. All rights reserved. Use of this source code is governed by a |
| 1738 // BSD-style license that can be found in the LICENSE file. | 1764 // BSD-style license that can be found in the LICENSE file. |
| 1739 | 1765 |
| 1740 | 1766 |
| 1741 @DocsEditable | 1767 @DocsEditable |
| 1742 @DomName('HTMLContentElement') | 1768 @DomName('HTMLContentElement') |
| 1743 @SupportedBrowser(SupportedBrowser.CHROME, '26') | 1769 @SupportedBrowser(SupportedBrowser.CHROME, '26') |
| 1744 @Experimental | 1770 @Experimental |
| 1771 // https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/shadow/index.html#cont ent-element | |
| 1745 class ContentElement extends Element native "HTMLContentElement" { | 1772 class ContentElement extends Element native "HTMLContentElement" { |
| 1746 | 1773 |
| 1747 @DomName('HTMLContentElement.HTMLContentElement') | 1774 @DomName('HTMLContentElement.HTMLContentElement') |
| 1748 @DocsEditable | 1775 @DocsEditable |
| 1749 factory ContentElement() => document.$dom_createElement("content"); | 1776 factory ContentElement() => document.$dom_createElement("content"); |
| 1750 | 1777 |
| 1751 /// Checks if this type is supported on the current platform. | 1778 /// Checks if this type is supported on the current platform. |
| 1752 static bool get supported => Element.isTagSupported('content'); | 1779 static bool get supported => Element.isTagSupported('content'); |
| 1753 | 1780 |
| 1754 @DomName('HTMLContentElement.resetStyleInheritance') | 1781 @DomName('HTMLContentElement.resetStyleInheritance') |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1805 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1832 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1806 // for details. All rights reserved. Use of this source code is governed by a | 1833 // for details. All rights reserved. Use of this source code is governed by a |
| 1807 // BSD-style license that can be found in the LICENSE file. | 1834 // BSD-style license that can be found in the LICENSE file. |
| 1808 | 1835 |
| 1809 | 1836 |
| 1810 @DocsEditable | 1837 @DocsEditable |
| 1811 @DomName('Crypto') | 1838 @DomName('Crypto') |
| 1812 @SupportedBrowser(SupportedBrowser.CHROME) | 1839 @SupportedBrowser(SupportedBrowser.CHROME) |
| 1813 @SupportedBrowser(SupportedBrowser.SAFARI) | 1840 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 1814 @Experimental | 1841 @Experimental |
| 1842 // http://www.w3.org/TR/WebCryptoAPI/ | |
| 1815 class Crypto native "Crypto" { | 1843 class Crypto native "Crypto" { |
| 1816 | 1844 |
| 1817 /// Checks if this type is supported on the current platform. | 1845 /// Checks if this type is supported on the current platform. |
| 1818 static bool get supported => JS('bool', '!!(window.crypto && window.crypto.get RandomValues)'); | 1846 static bool get supported => JS('bool', '!!(window.crypto && window.crypto.get RandomValues)'); |
| 1819 | 1847 |
| 1820 @DomName('Crypto.getRandomValues') | 1848 @DomName('Crypto.getRandomValues') |
| 1821 @DocsEditable | 1849 @DocsEditable |
| 1822 @Creates('TypedData') | 1850 @Creates('TypedData') |
| 1823 @Returns('TypedData|Null') | 1851 @Returns('TypedData|Null') |
| 1824 TypedData getRandomValues(TypedData array) native; | 1852 TypedData getRandomValues(TypedData array) native; |
| 1825 } | 1853 } |
| 1826 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1854 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1827 // for details. All rights reserved. Use of this source code is governed by a | 1855 // for details. All rights reserved. Use of this source code is governed by a |
| 1828 // BSD-style license that can be found in the LICENSE file. | 1856 // BSD-style license that can be found in the LICENSE file. |
| 1829 | 1857 |
| 1830 | 1858 |
| 1831 @DocsEditable | 1859 @DocsEditable |
| 1832 @DomName('CSSCharsetRule') | 1860 @DomName('CSSCharsetRule') |
| 1861 // http://dev.w3.org/csswg/cssom/#the-csscharsetrule-interface | |
| 1862 @Experimental | |
| 1833 class CssCharsetRule extends CssRule native "CSSCharsetRule" { | 1863 class CssCharsetRule extends CssRule native "CSSCharsetRule" { |
| 1834 | 1864 |
| 1835 @DomName('CSSCharsetRule.encoding') | 1865 @DomName('CSSCharsetRule.encoding') |
| 1836 @DocsEditable | 1866 @DocsEditable |
| 1837 String encoding; | 1867 String encoding; |
| 1838 } | 1868 } |
| 1839 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1869 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1840 // for details. All rights reserved. Use of this source code is governed by a | 1870 // for details. All rights reserved. Use of this source code is governed by a |
| 1841 // BSD-style license that can be found in the LICENSE file. | 1871 // BSD-style license that can be found in the LICENSE file. |
| 1842 | 1872 |
| 1843 | 1873 |
| 1844 @DocsEditable | 1874 @DocsEditable |
| 1845 @DomName('WebKitCSSFilterRule') | 1875 @DomName('WebKitCSSFilterRule') |
| 1846 @SupportedBrowser(SupportedBrowser.CHROME) | 1876 @SupportedBrowser(SupportedBrowser.CHROME) |
| 1847 @SupportedBrowser(SupportedBrowser.SAFARI) | 1877 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 1848 @Experimental | 1878 @Experimental |
| 1879 // http://www.w3.org/TR/filter-effects/ | |
| 1849 class CssFilterRule extends CssRule native "WebKitCSSFilterRule" { | 1880 class CssFilterRule extends CssRule native "WebKitCSSFilterRule" { |
| 1850 | 1881 |
| 1851 @DomName('WebKitCSSFilterRule.style') | 1882 @DomName('WebKitCSSFilterRule.style') |
| 1852 @DocsEditable | 1883 @DocsEditable |
| 1853 final CssStyleDeclaration style; | 1884 final CssStyleDeclaration style; |
| 1854 } | 1885 } |
| 1855 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1886 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1856 // for details. All rights reserved. Use of this source code is governed by a | 1887 // for details. All rights reserved. Use of this source code is governed by a |
| 1857 // BSD-style license that can be found in the LICENSE file. | 1888 // BSD-style license that can be found in the LICENSE file. |
| 1858 | 1889 |
| 1859 | 1890 |
| 1860 @DocsEditable | 1891 @DocsEditable |
| 1861 @DomName('CSSFontFaceLoadEvent') | 1892 @DomName('CSSFontFaceLoadEvent') |
| 1893 // http://www.w3.org/TR/css3-fonts/ | |
| 1894 @Experimental | |
| 1862 class CssFontFaceLoadEvent extends Event native "CSSFontFaceLoadEvent" { | 1895 class CssFontFaceLoadEvent extends Event native "CSSFontFaceLoadEvent" { |
| 1863 | 1896 |
| 1864 @DomName('CSSFontFaceLoadEvent.error') | 1897 @DomName('CSSFontFaceLoadEvent.error') |
| 1865 @DocsEditable | 1898 @DocsEditable |
| 1866 final DomError error; | 1899 final DomError error; |
| 1867 | 1900 |
| 1868 @DomName('CSSFontFaceLoadEvent.fontface') | 1901 @DomName('CSSFontFaceLoadEvent.fontface') |
| 1869 @DocsEditable | 1902 @DocsEditable |
| 1870 final CssFontFaceRule fontface; | 1903 final CssFontFaceRule fontface; |
| 1871 } | 1904 } |
| (...skipping 12 matching lines...) Expand all Loading... | |
| 1884 } | 1917 } |
| 1885 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1918 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1886 // for details. All rights reserved. Use of this source code is governed by a | 1919 // for details. All rights reserved. Use of this source code is governed by a |
| 1887 // BSD-style license that can be found in the LICENSE file. | 1920 // BSD-style license that can be found in the LICENSE file. |
| 1888 | 1921 |
| 1889 | 1922 |
| 1890 @DocsEditable | 1923 @DocsEditable |
| 1891 @DomName('CSSHostRule') | 1924 @DomName('CSSHostRule') |
| 1892 @SupportedBrowser(SupportedBrowser.CHROME, '26') | 1925 @SupportedBrowser(SupportedBrowser.CHROME, '26') |
| 1893 @Experimental | 1926 @Experimental |
| 1927 // https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/shadow/index.html#css- host-rule-interface | |
| 1894 class CssHostRule extends CssRule native "CSSHostRule" { | 1928 class CssHostRule extends CssRule native "CSSHostRule" { |
| 1895 | 1929 |
| 1896 @DomName('CSSHostRule.cssRules') | 1930 @DomName('CSSHostRule.cssRules') |
| 1897 @DocsEditable | 1931 @DocsEditable |
| 1898 @Returns('_CssRuleList') | 1932 @Returns('_CssRuleList') |
| 1899 @Creates('_CssRuleList') | 1933 @Creates('_CssRuleList') |
| 1900 final List<CssRule> cssRules; | 1934 final List<CssRule> cssRules; |
| 1901 | 1935 |
| 1902 @DomName('CSSHostRule.deleteRule') | 1936 @DomName('CSSHostRule.deleteRule') |
| 1903 @DocsEditable | 1937 @DocsEditable |
| (...skipping 27 matching lines...) Expand all Loading... | |
| 1931 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1965 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1932 // for details. All rights reserved. Use of this source code is governed by a | 1966 // for details. All rights reserved. Use of this source code is governed by a |
| 1933 // BSD-style license that can be found in the LICENSE file. | 1967 // BSD-style license that can be found in the LICENSE file. |
| 1934 | 1968 |
| 1935 | 1969 |
| 1936 @DocsEditable | 1970 @DocsEditable |
| 1937 @DomName('WebKitCSSKeyframeRule') | 1971 @DomName('WebKitCSSKeyframeRule') |
| 1938 @SupportedBrowser(SupportedBrowser.CHROME) | 1972 @SupportedBrowser(SupportedBrowser.CHROME) |
| 1939 @SupportedBrowser(SupportedBrowser.SAFARI) | 1973 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 1940 @Experimental | 1974 @Experimental |
| 1975 // http://www.w3.org/TR/css3-animations/#CSSKeyframeRule-interface | |
| 1941 class CssKeyframeRule extends CssRule native "WebKitCSSKeyframeRule" { | 1976 class CssKeyframeRule extends CssRule native "WebKitCSSKeyframeRule" { |
| 1942 | 1977 |
| 1943 @DomName('WebKitCSSKeyframeRule.keyText') | 1978 @DomName('WebKitCSSKeyframeRule.keyText') |
| 1944 @DocsEditable | 1979 @DocsEditable |
| 1945 String keyText; | 1980 String keyText; |
| 1946 | 1981 |
| 1947 @DomName('WebKitCSSKeyframeRule.style') | 1982 @DomName('WebKitCSSKeyframeRule.style') |
| 1948 @DocsEditable | 1983 @DocsEditable |
| 1949 final CssStyleDeclaration style; | 1984 final CssStyleDeclaration style; |
| 1950 } | 1985 } |
| 1951 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1986 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1952 // for details. All rights reserved. Use of this source code is governed by a | 1987 // for details. All rights reserved. Use of this source code is governed by a |
| 1953 // BSD-style license that can be found in the LICENSE file. | 1988 // BSD-style license that can be found in the LICENSE file. |
| 1954 | 1989 |
| 1955 | 1990 |
| 1956 @DocsEditable | 1991 @DocsEditable |
| 1957 @DomName('WebKitCSSKeyframesRule') | 1992 @DomName('WebKitCSSKeyframesRule') |
| 1958 @SupportedBrowser(SupportedBrowser.CHROME) | 1993 @SupportedBrowser(SupportedBrowser.CHROME) |
| 1959 @SupportedBrowser(SupportedBrowser.SAFARI) | 1994 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 1960 @Experimental | 1995 @Experimental |
| 1996 // http://www.w3.org/TR/css3-animations/#csskeyframesrule | |
| 1961 class CssKeyframesRule extends CssRule native "WebKitCSSKeyframesRule" { | 1997 class CssKeyframesRule extends CssRule native "WebKitCSSKeyframesRule" { |
| 1962 | 1998 |
| 1963 @DomName('WebKitCSSKeyframesRule.cssRules') | 1999 @DomName('WebKitCSSKeyframesRule.cssRules') |
| 1964 @DocsEditable | 2000 @DocsEditable |
| 1965 @Returns('_CssRuleList') | 2001 @Returns('_CssRuleList') |
| 1966 @Creates('_CssRuleList') | 2002 @Creates('_CssRuleList') |
| 1967 final List<CssRule> cssRules; | 2003 final List<CssRule> cssRules; |
| 1968 | 2004 |
| 1969 @DomName('WebKitCSSKeyframesRule.name') | 2005 @DomName('WebKitCSSKeyframesRule.name') |
| 1970 @DocsEditable | 2006 @DocsEditable |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2029 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 2065 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2030 // for details. All rights reserved. Use of this source code is governed by a | 2066 // for details. All rights reserved. Use of this source code is governed by a |
| 2031 // BSD-style license that can be found in the LICENSE file. | 2067 // BSD-style license that can be found in the LICENSE file. |
| 2032 | 2068 |
| 2033 | 2069 |
| 2034 @DocsEditable | 2070 @DocsEditable |
| 2035 @DomName('WebKitCSSRegionRule') | 2071 @DomName('WebKitCSSRegionRule') |
| 2036 @SupportedBrowser(SupportedBrowser.CHROME) | 2072 @SupportedBrowser(SupportedBrowser.CHROME) |
| 2037 @SupportedBrowser(SupportedBrowser.SAFARI) | 2073 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 2038 @Experimental | 2074 @Experimental |
| 2075 // http://dev.w3.org/csswg/css-regions/#region-style-rule-interface | |
| 2039 class CssRegionRule extends CssRule native "WebKitCSSRegionRule" { | 2076 class CssRegionRule extends CssRule native "WebKitCSSRegionRule" { |
| 2040 | 2077 |
| 2041 @DomName('WebKitCSSRegionRule.cssRules') | 2078 @DomName('WebKitCSSRegionRule.cssRules') |
| 2042 @DocsEditable | 2079 @DocsEditable |
| 2043 @Returns('_CssRuleList') | 2080 @Returns('_CssRuleList') |
| 2044 @Creates('_CssRuleList') | 2081 @Creates('_CssRuleList') |
| 2045 final List<CssRule> cssRules; | 2082 final List<CssRule> cssRules; |
| 2046 } | 2083 } |
| 2047 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 2084 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2048 // for details. All rights reserved. Use of this source code is governed by a | 2085 // for details. All rights reserved. Use of this source code is governed by a |
| 2049 // BSD-style license that can be found in the LICENSE file. | 2086 // BSD-style license that can be found in the LICENSE file. |
| 2050 | 2087 |
| 2051 | 2088 |
| 2052 @DocsEditable | 2089 @DocsEditable |
| 2053 @DomName('CSSRule') | 2090 @DomName('CSSRule') |
| 2054 class CssRule native "CSSRule" { | 2091 class CssRule native "CSSRule" { |
| 2055 | 2092 |
| 2056 @DomName('CSSRule.CHARSET_RULE') | 2093 @DomName('CSSRule.CHARSET_RULE') |
| 2057 @DocsEditable | 2094 @DocsEditable |
| 2058 static const int CHARSET_RULE = 2; | 2095 static const int CHARSET_RULE = 2; |
| 2059 | 2096 |
| 2060 @DomName('CSSRule.FONT_FACE_RULE') | 2097 @DomName('CSSRule.FONT_FACE_RULE') |
| 2061 @DocsEditable | 2098 @DocsEditable |
| 2062 static const int FONT_FACE_RULE = 5; | 2099 static const int FONT_FACE_RULE = 5; |
| 2063 | 2100 |
| 2064 @DomName('CSSRule.HOST_RULE') | 2101 @DomName('CSSRule.HOST_RULE') |
| 2065 @DocsEditable | 2102 @DocsEditable |
| 2103 // https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/shadow/index.html#ap i-css-rule-host-rule | |
| 2104 @Experimental | |
| 2066 static const int HOST_RULE = 1001; | 2105 static const int HOST_RULE = 1001; |
| 2067 | 2106 |
| 2068 @DomName('CSSRule.IMPORT_RULE') | 2107 @DomName('CSSRule.IMPORT_RULE') |
| 2069 @DocsEditable | 2108 @DocsEditable |
| 2070 static const int IMPORT_RULE = 3; | 2109 static const int IMPORT_RULE = 3; |
| 2071 | 2110 |
| 2072 @DomName('CSSRule.MEDIA_RULE') | 2111 @DomName('CSSRule.MEDIA_RULE') |
| 2073 @DocsEditable | 2112 @DocsEditable |
| 2074 static const int MEDIA_RULE = 4; | 2113 static const int MEDIA_RULE = 4; |
| 2075 | 2114 |
| 2076 @DomName('CSSRule.PAGE_RULE') | 2115 @DomName('CSSRule.PAGE_RULE') |
| 2077 @DocsEditable | 2116 @DocsEditable |
| 2078 static const int PAGE_RULE = 6; | 2117 static const int PAGE_RULE = 6; |
| 2079 | 2118 |
| 2080 @DomName('CSSRule.STYLE_RULE') | 2119 @DomName('CSSRule.STYLE_RULE') |
| 2081 @DocsEditable | 2120 @DocsEditable |
| 2082 static const int STYLE_RULE = 1; | 2121 static const int STYLE_RULE = 1; |
| 2083 | 2122 |
| 2084 @DomName('CSSRule.UNKNOWN_RULE') | 2123 @DomName('CSSRule.UNKNOWN_RULE') |
| 2085 @DocsEditable | 2124 @DocsEditable |
| 2125 // http://dev.w3.org/csswg/cssom/#changes-from-dom2 | |
| 2126 @deprecated // deprecated | |
| 2086 static const int UNKNOWN_RULE = 0; | 2127 static const int UNKNOWN_RULE = 0; |
| 2087 | 2128 |
| 2088 @DomName('CSSRule.WEBKIT_FILTER_RULE') | 2129 @DomName('CSSRule.WEBKIT_FILTER_RULE') |
| 2089 @DocsEditable | 2130 @DocsEditable |
| 2131 // http://www.w3.org/TR/filter-effects/ | |
| 2132 @Experimental | |
| 2090 static const int WEBKIT_FILTER_RULE = 17; | 2133 static const int WEBKIT_FILTER_RULE = 17; |
| 2091 | 2134 |
| 2092 @DomName('CSSRule.WEBKIT_KEYFRAMES_RULE') | 2135 @DomName('CSSRule.WEBKIT_KEYFRAMES_RULE') |
| 2093 @DocsEditable | 2136 @DocsEditable |
| 2137 // http://www.w3.org/TR/css3-animations/#cssrule | |
| 2138 @Experimental | |
| 2094 static const int WEBKIT_KEYFRAMES_RULE = 7; | 2139 static const int WEBKIT_KEYFRAMES_RULE = 7; |
| 2095 | 2140 |
| 2096 @DomName('CSSRule.WEBKIT_KEYFRAME_RULE') | 2141 @DomName('CSSRule.WEBKIT_KEYFRAME_RULE') |
| 2097 @DocsEditable | 2142 @DocsEditable |
| 2143 // http://www.w3.org/TR/css3-animations/#cssrule | |
| 2144 @Experimental | |
| 2098 static const int WEBKIT_KEYFRAME_RULE = 8; | 2145 static const int WEBKIT_KEYFRAME_RULE = 8; |
| 2099 | 2146 |
| 2100 @DomName('CSSRule.WEBKIT_REGION_RULE') | 2147 @DomName('CSSRule.WEBKIT_REGION_RULE') |
| 2101 @DocsEditable | 2148 @DocsEditable |
| 2149 // http://dev.w3.org/csswg/css-regions/#region-style-rule-interface | |
| 2150 @Experimental | |
| 2102 static const int WEBKIT_REGION_RULE = 16; | 2151 static const int WEBKIT_REGION_RULE = 16; |
| 2103 | 2152 |
| 2104 @DomName('CSSRule.cssText') | 2153 @DomName('CSSRule.cssText') |
| 2105 @DocsEditable | 2154 @DocsEditable |
| 2106 String cssText; | 2155 String cssText; |
| 2107 | 2156 |
| 2108 @DomName('CSSRule.parentRule') | 2157 @DomName('CSSRule.parentRule') |
| 2109 @DocsEditable | 2158 @DocsEditable |
| 2110 final CssRule parentRule; | 2159 final CssRule parentRule; |
| 2111 | 2160 |
| (...skipping 28 matching lines...) Expand all Loading... | |
| 2140 @DomName('CSSStyleDeclaration.parentRule') | 2189 @DomName('CSSStyleDeclaration.parentRule') |
| 2141 @DocsEditable | 2190 @DocsEditable |
| 2142 final CssRule parentRule; | 2191 final CssRule parentRule; |
| 2143 | 2192 |
| 2144 @DomName('CSSStyleDeclaration.getPropertyPriority') | 2193 @DomName('CSSStyleDeclaration.getPropertyPriority') |
| 2145 @DocsEditable | 2194 @DocsEditable |
| 2146 String getPropertyPriority(String propertyName) native; | 2195 String getPropertyPriority(String propertyName) native; |
| 2147 | 2196 |
| 2148 @DomName('CSSStyleDeclaration.getPropertyShorthand') | 2197 @DomName('CSSStyleDeclaration.getPropertyShorthand') |
| 2149 @DocsEditable | 2198 @DocsEditable |
| 2199 // http://dev.w3.org/csswg/cssom/#the-cssstyledeclaration-interface | |
| 2200 @Experimental // non-standard | |
| 2150 String getPropertyShorthand(String propertyName) native; | 2201 String getPropertyShorthand(String propertyName) native; |
| 2151 | 2202 |
| 2152 @JSName('getPropertyValue') | 2203 @JSName('getPropertyValue') |
| 2153 @DomName('CSSStyleDeclaration.getPropertyValue') | 2204 @DomName('CSSStyleDeclaration.getPropertyValue') |
| 2154 @DocsEditable | 2205 @DocsEditable |
| 2155 String _getPropertyValue(String propertyName) native; | 2206 String _getPropertyValue(String propertyName) native; |
| 2156 | 2207 |
| 2157 @DomName('CSSStyleDeclaration.isPropertyImplicit') | 2208 @DomName('CSSStyleDeclaration.isPropertyImplicit') |
| 2158 @DocsEditable | 2209 @DocsEditable |
| 2210 // http://dev.w3.org/csswg/cssom/#the-cssstyledeclaration-interface | |
| 2211 @Experimental // non-standard | |
| 2159 bool isPropertyImplicit(String propertyName) native; | 2212 bool isPropertyImplicit(String propertyName) native; |
| 2160 | 2213 |
| 2161 @DomName('CSSStyleDeclaration.item') | 2214 @DomName('CSSStyleDeclaration.item') |
| 2162 @DocsEditable | 2215 @DocsEditable |
| 2163 String item(int index) native; | 2216 String item(int index) native; |
| 2164 | 2217 |
| 2165 @DomName('CSSStyleDeclaration.removeProperty') | 2218 @DomName('CSSStyleDeclaration.removeProperty') |
| 2166 @DocsEditable | 2219 @DocsEditable |
| 2167 String removeProperty(String propertyName) native; | 2220 String removeProperty(String propertyName) native; |
| 2168 | 2221 |
| (...skipping 3215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 5384 @Returns('_CssRuleList') | 5437 @Returns('_CssRuleList') |
| 5385 @Creates('_CssRuleList') | 5438 @Creates('_CssRuleList') |
| 5386 final List<CssRule> cssRules; | 5439 final List<CssRule> cssRules; |
| 5387 | 5440 |
| 5388 @DomName('CSSStyleSheet.ownerRule') | 5441 @DomName('CSSStyleSheet.ownerRule') |
| 5389 @DocsEditable | 5442 @DocsEditable |
| 5390 final CssRule ownerRule; | 5443 final CssRule ownerRule; |
| 5391 | 5444 |
| 5392 @DomName('CSSStyleSheet.rules') | 5445 @DomName('CSSStyleSheet.rules') |
| 5393 @DocsEditable | 5446 @DocsEditable |
| 5447 @Experimental // non-standard | |
| 5394 @Returns('_CssRuleList') | 5448 @Returns('_CssRuleList') |
| 5395 @Creates('_CssRuleList') | 5449 @Creates('_CssRuleList') |
| 5396 final List<CssRule> rules; | 5450 final List<CssRule> rules; |
| 5397 | 5451 |
| 5398 @DomName('CSSStyleSheet.addRule') | 5452 @DomName('CSSStyleSheet.addRule') |
| 5399 @DocsEditable | 5453 @DocsEditable |
| 5454 @Experimental // non-standard | |
| 5400 int addRule(String selector, String style, [int index]) native; | 5455 int addRule(String selector, String style, [int index]) native; |
| 5401 | 5456 |
| 5402 @DomName('CSSStyleSheet.deleteRule') | 5457 @DomName('CSSStyleSheet.deleteRule') |
| 5403 @DocsEditable | 5458 @DocsEditable |
| 5404 void deleteRule(int index) native; | 5459 void deleteRule(int index) native; |
| 5405 | 5460 |
| 5406 @DomName('CSSStyleSheet.insertRule') | 5461 @DomName('CSSStyleSheet.insertRule') |
| 5407 @DocsEditable | 5462 @DocsEditable |
| 5408 int insertRule(String rule, int index) native; | 5463 int insertRule(String rule, int index) native; |
| 5409 | 5464 |
| 5410 @DomName('CSSStyleSheet.removeRule') | 5465 @DomName('CSSStyleSheet.removeRule') |
| 5411 @DocsEditable | 5466 @DocsEditable |
| 5467 @Experimental // non-standard | |
| 5412 void removeRule(int index) native; | 5468 void removeRule(int index) native; |
| 5413 } | 5469 } |
| 5414 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5470 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5415 // for details. All rights reserved. Use of this source code is governed by a | 5471 // for details. All rights reserved. Use of this source code is governed by a |
| 5416 // BSD-style license that can be found in the LICENSE file. | 5472 // BSD-style license that can be found in the LICENSE file. |
| 5417 | 5473 |
| 5418 | 5474 |
| 5419 @DocsEditable | 5475 @DocsEditable |
| 5420 @DomName('CSSUnknownRule') | 5476 @DomName('CSSUnknownRule') |
| 5477 // http://dev.w3.org/csswg/cssom/#the-cssstylesheet-interface | |
| 5478 @deprecated // deprecated | |
| 5421 class CssUnknownRule extends CssRule native "CSSUnknownRule" { | 5479 class CssUnknownRule extends CssRule native "CSSUnknownRule" { |
| 5422 } | 5480 } |
| 5423 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5481 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5424 // for details. All rights reserved. Use of this source code is governed by a | 5482 // for details. All rights reserved. Use of this source code is governed by a |
| 5425 // BSD-style license that can be found in the LICENSE file. | 5483 // BSD-style license that can be found in the LICENSE file. |
| 5426 | 5484 |
| 5427 | 5485 |
| 5428 @DocsEditable | 5486 @DocsEditable |
| 5429 @DomName('CustomElementConstructor') | 5487 @DomName('CustomElementConstructor') |
| 5488 // https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/custom/index.html#dfn- custom-element-constructor-generation | |
| 5489 @Experimental | |
| 5430 class CustomElementConstructor native "CustomElementConstructor" { | 5490 class CustomElementConstructor native "CustomElementConstructor" { |
| 5431 } | 5491 } |
| 5432 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5492 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5433 // for details. All rights reserved. Use of this source code is governed by a | 5493 // for details. All rights reserved. Use of this source code is governed by a |
| 5434 // BSD-style license that can be found in the LICENSE file. | 5494 // BSD-style license that can be found in the LICENSE file. |
| 5435 | 5495 |
| 5436 // WARNING: Do not edit - generated code. | 5496 // WARNING: Do not edit - generated code. |
| 5437 | 5497 |
| 5438 | 5498 |
| 5439 @DomName('CustomEvent') | 5499 @DomName('CustomEvent') |
| (...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 5557 @DocsEditable | 5617 @DocsEditable |
| 5558 void setDragImage(ImageElement image, int x, int y) native; | 5618 void setDragImage(ImageElement image, int x, int y) native; |
| 5559 } | 5619 } |
| 5560 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5620 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5561 // for details. All rights reserved. Use of this source code is governed by a | 5621 // for details. All rights reserved. Use of this source code is governed by a |
| 5562 // BSD-style license that can be found in the LICENSE file. | 5622 // BSD-style license that can be found in the LICENSE file. |
| 5563 | 5623 |
| 5564 | 5624 |
| 5565 @DocsEditable | 5625 @DocsEditable |
| 5566 @DomName('DataTransferItem') | 5626 @DomName('DataTransferItem') |
| 5627 // http://www.w3.org/TR/2011/WD-html5-20110113/dnd.html#the-datatransferitem-int erface | |
| 5628 @Experimental | |
| 5567 class DataTransferItem native "DataTransferItem" { | 5629 class DataTransferItem native "DataTransferItem" { |
| 5568 | 5630 |
| 5569 @DomName('DataTransferItem.kind') | 5631 @DomName('DataTransferItem.kind') |
| 5570 @DocsEditable | 5632 @DocsEditable |
| 5571 final String kind; | 5633 final String kind; |
| 5572 | 5634 |
| 5573 @DomName('DataTransferItem.type') | 5635 @DomName('DataTransferItem.type') |
| 5574 @DocsEditable | 5636 @DocsEditable |
| 5575 final String type; | 5637 final String type; |
| 5576 | 5638 |
| (...skipping 24 matching lines...) Expand all Loading... | |
| 5601 @Experimental | 5663 @Experimental |
| 5602 Entry getAsEntry() native; | 5664 Entry getAsEntry() native; |
| 5603 } | 5665 } |
| 5604 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5666 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5605 // for details. All rights reserved. Use of this source code is governed by a | 5667 // for details. All rights reserved. Use of this source code is governed by a |
| 5606 // BSD-style license that can be found in the LICENSE file. | 5668 // BSD-style license that can be found in the LICENSE file. |
| 5607 | 5669 |
| 5608 | 5670 |
| 5609 @DocsEditable | 5671 @DocsEditable |
| 5610 @DomName('DataTransferItemList') | 5672 @DomName('DataTransferItemList') |
| 5673 // http://www.whatwg.org/specs/web-apps/current-work/multipage/dnd.html#the-data transferitemlist-interface | |
| 5674 @Experimental | |
| 5611 class DataTransferItemList native "DataTransferItemList" { | 5675 class DataTransferItemList native "DataTransferItemList" { |
| 5612 | 5676 |
| 5613 @DomName('DataTransferItemList.length') | 5677 @DomName('DataTransferItemList.length') |
| 5614 @DocsEditable | 5678 @DocsEditable |
| 5615 final int length; | 5679 final int length; |
| 5616 | 5680 |
| 5617 @DomName('DataTransferItemList.add') | 5681 @DomName('DataTransferItemList.add') |
| 5618 @DocsEditable | 5682 @DocsEditable |
| 5619 void add(data_OR_file, [String type]) native; | 5683 void add(data_OR_file, [String type]) native; |
| 5620 | 5684 |
| 5621 @DomName('DataTransferItemList.clear') | 5685 @DomName('DataTransferItemList.clear') |
| 5622 @DocsEditable | 5686 @DocsEditable |
| 5623 void clear() native; | 5687 void clear() native; |
| 5624 | 5688 |
| 5625 @DomName('DataTransferItemList.item') | 5689 @DomName('DataTransferItemList.item') |
| 5626 @DocsEditable | 5690 @DocsEditable |
| 5627 DataTransferItem item(int index) native; | 5691 DataTransferItem item(int index) native; |
| 5628 } | 5692 } |
| 5629 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5693 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5630 // for details. All rights reserved. Use of this source code is governed by a | 5694 // for details. All rights reserved. Use of this source code is governed by a |
| 5631 // BSD-style license that can be found in the LICENSE file. | 5695 // BSD-style license that can be found in the LICENSE file. |
| 5632 | 5696 |
| 5633 // WARNING: Do not edit - generated code. | 5697 // WARNING: Do not edit - generated code. |
| 5634 | 5698 |
| 5635 | 5699 |
| 5700 @DomName('DatabaseCallback') | |
| 5701 // http://www.w3.org/TR/webdatabase/#databasecallback | |
| 5702 @Experimental // deprecated | |
| 5636 typedef void DatabaseCallback(database); | 5703 typedef void DatabaseCallback(database); |
| 5637 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5704 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5638 // for details. All rights reserved. Use of this source code is governed by a | 5705 // for details. All rights reserved. Use of this source code is governed by a |
| 5639 // BSD-style license that can be found in the LICENSE file. | 5706 // BSD-style license that can be found in the LICENSE file. |
| 5640 | 5707 |
| 5641 | 5708 |
| 5642 @DocsEditable | 5709 @DocsEditable |
| 5643 @DomName('HTMLDetailsElement') | 5710 @DomName('HTMLDetailsElement') |
| 5644 @SupportedBrowser(SupportedBrowser.CHROME) | 5711 @SupportedBrowser(SupportedBrowser.CHROME) |
| 5645 @SupportedBrowser(SupportedBrowser.SAFARI) | 5712 @SupportedBrowser(SupportedBrowser.SAFARI) |
| (...skipping 11 matching lines...) Expand all Loading... | |
| 5657 @DocsEditable | 5724 @DocsEditable |
| 5658 bool open; | 5725 bool open; |
| 5659 } | 5726 } |
| 5660 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5727 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5661 // for details. All rights reserved. Use of this source code is governed by a | 5728 // for details. All rights reserved. Use of this source code is governed by a |
| 5662 // BSD-style license that can be found in the LICENSE file. | 5729 // BSD-style license that can be found in the LICENSE file. |
| 5663 | 5730 |
| 5664 | 5731 |
| 5665 @DocsEditable | 5732 @DocsEditable |
| 5666 @DomName('DeviceAcceleration') | 5733 @DomName('DeviceAcceleration') |
| 5734 // http://dev.w3.org/geo/api/spec-source-orientation.html#devicemotion | |
| 5735 @Experimental | |
| 5667 class DeviceAcceleration native "DeviceAcceleration" { | 5736 class DeviceAcceleration native "DeviceAcceleration" { |
| 5668 | 5737 |
| 5669 @DomName('DeviceAcceleration.x') | 5738 @DomName('DeviceAcceleration.x') |
| 5670 @DocsEditable | 5739 @DocsEditable |
| 5671 final num x; | 5740 final num x; |
| 5672 | 5741 |
| 5673 @DomName('DeviceAcceleration.y') | 5742 @DomName('DeviceAcceleration.y') |
| 5674 @DocsEditable | 5743 @DocsEditable |
| 5675 final num y; | 5744 final num y; |
| 5676 | 5745 |
| 5677 @DomName('DeviceAcceleration.z') | 5746 @DomName('DeviceAcceleration.z') |
| 5678 @DocsEditable | 5747 @DocsEditable |
| 5679 final num z; | 5748 final num z; |
| 5680 } | 5749 } |
| 5681 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5750 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5682 // for details. All rights reserved. Use of this source code is governed by a | 5751 // for details. All rights reserved. Use of this source code is governed by a |
| 5683 // BSD-style license that can be found in the LICENSE file. | 5752 // BSD-style license that can be found in the LICENSE file. |
| 5684 | 5753 |
| 5685 | 5754 |
| 5686 @DocsEditable | 5755 @DocsEditable |
| 5687 @DomName('DeviceMotionEvent') | 5756 @DomName('DeviceMotionEvent') |
| 5757 // http://dev.w3.org/geo/api/spec-source-orientation.html#devicemotion | |
| 5758 @Experimental | |
| 5688 class DeviceMotionEvent extends Event native "DeviceMotionEvent" { | 5759 class DeviceMotionEvent extends Event native "DeviceMotionEvent" { |
| 5689 | 5760 |
| 5690 @DomName('DeviceMotionEvent.acceleration') | 5761 @DomName('DeviceMotionEvent.acceleration') |
| 5691 @DocsEditable | 5762 @DocsEditable |
| 5692 final DeviceAcceleration acceleration; | 5763 final DeviceAcceleration acceleration; |
| 5693 | 5764 |
| 5694 @DomName('DeviceMotionEvent.accelerationIncludingGravity') | 5765 @DomName('DeviceMotionEvent.accelerationIncludingGravity') |
| 5695 @DocsEditable | 5766 @DocsEditable |
| 5696 final DeviceAcceleration accelerationIncludingGravity; | 5767 final DeviceAcceleration accelerationIncludingGravity; |
| 5697 | 5768 |
| 5698 @DomName('DeviceMotionEvent.interval') | 5769 @DomName('DeviceMotionEvent.interval') |
| 5699 @DocsEditable | 5770 @DocsEditable |
| 5700 final num interval; | 5771 final num interval; |
| 5701 | 5772 |
| 5702 @DomName('DeviceMotionEvent.rotationRate') | 5773 @DomName('DeviceMotionEvent.rotationRate') |
| 5703 @DocsEditable | 5774 @DocsEditable |
| 5704 final DeviceRotationRate rotationRate; | 5775 final DeviceRotationRate rotationRate; |
| 5705 } | 5776 } |
| 5706 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 5777 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 5707 // for details. All rights reserved. Use of this source code is governed by a | 5778 // for details. All rights reserved. Use of this source code is governed by a |
| 5708 // BSD-style license that can be found in the LICENSE file. | 5779 // BSD-style license that can be found in the LICENSE file. |
| 5709 | 5780 |
| 5710 // WARNING: Do not edit - generated code. | 5781 // WARNING: Do not edit - generated code. |
| 5711 | 5782 |
| 5712 @DomName('DeviceOrientationEvent') | 5783 @DomName('DeviceOrientationEvent') |
| 5784 // http://dev.w3.org/geo/api/spec-source-orientation.html#devicemotion | |
| 5785 @Experimental | |
| 5713 | 5786 |
| 5714 class DeviceOrientationEvent extends Event native "DeviceOrientationEvent" { | 5787 class DeviceOrientationEvent extends Event native "DeviceOrientationEvent" { |
| 5715 factory DeviceOrientationEvent(String type, | 5788 factory DeviceOrientationEvent(String type, |
| 5716 {bool canBubble: true, bool cancelable: true, num alpha: 0, num beta: 0, | 5789 {bool canBubble: true, bool cancelable: true, num alpha: 0, num beta: 0, |
| 5717 num gamma: 0, bool absolute: false}) { | 5790 num gamma: 0, bool absolute: false}) { |
| 5718 var e = document.$dom_createEvent("DeviceOrientationEvent"); | 5791 var e = document.$dom_createEvent("DeviceOrientationEvent"); |
| 5719 e.$dom_initDeviceOrientationEvent(type, canBubble, cancelable, alpha, beta, | 5792 e.$dom_initDeviceOrientationEvent(type, canBubble, cancelable, alpha, beta, |
| 5720 gamma, absolute); | 5793 gamma, absolute); |
| 5721 return e; | 5794 return e; |
| 5722 } | 5795 } |
| (...skipping 20 matching lines...) Expand all Loading... | |
| 5743 void $dom_initDeviceOrientationEvent(String type, bool bubbles, bool cancelabl e, num alpha, num beta, num gamma, bool absolute) native; | 5816 void $dom_initDeviceOrientationEvent(String type, bool bubbles, bool cancelabl e, num alpha, num beta, num gamma, bool absolute) native; |
| 5744 | 5817 |
| 5745 } | 5818 } |
| 5746 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5819 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5747 // for details. All rights reserved. Use of this source code is governed by a | 5820 // for details. All rights reserved. Use of this source code is governed by a |
| 5748 // BSD-style license that can be found in the LICENSE file. | 5821 // BSD-style license that can be found in the LICENSE file. |
| 5749 | 5822 |
| 5750 | 5823 |
| 5751 @DocsEditable | 5824 @DocsEditable |
| 5752 @DomName('DeviceRotationRate') | 5825 @DomName('DeviceRotationRate') |
| 5826 // http://dev.w3.org/geo/api/spec-source-orientation.html#devicemotion | |
| 5827 @Experimental | |
| 5753 class DeviceRotationRate native "DeviceRotationRate" { | 5828 class DeviceRotationRate native "DeviceRotationRate" { |
| 5754 | 5829 |
| 5755 @DomName('DeviceRotationRate.alpha') | 5830 @DomName('DeviceRotationRate.alpha') |
| 5756 @DocsEditable | 5831 @DocsEditable |
| 5757 final num alpha; | 5832 final num alpha; |
| 5758 | 5833 |
| 5759 @DomName('DeviceRotationRate.beta') | 5834 @DomName('DeviceRotationRate.beta') |
| 5760 @DocsEditable | 5835 @DocsEditable |
| 5761 final num beta; | 5836 final num beta; |
| 5762 | 5837 |
| 5763 @DomName('DeviceRotationRate.gamma') | 5838 @DomName('DeviceRotationRate.gamma') |
| 5764 @DocsEditable | 5839 @DocsEditable |
| 5765 final num gamma; | 5840 final num gamma; |
| 5766 } | 5841 } |
| 5767 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5842 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5768 // for details. All rights reserved. Use of this source code is governed by a | 5843 // for details. All rights reserved. Use of this source code is governed by a |
| 5769 // BSD-style license that can be found in the LICENSE file. | 5844 // BSD-style license that can be found in the LICENSE file. |
| 5770 | 5845 |
| 5771 | 5846 |
| 5772 @DocsEditable | 5847 @DocsEditable |
| 5773 @DomName('HTMLDialogElement') | 5848 @DomName('HTMLDialogElement') |
| 5849 @Unstable | |
| 5774 class DialogElement extends Element native "HTMLDialogElement" { | 5850 class DialogElement extends Element native "HTMLDialogElement" { |
| 5775 | 5851 |
| 5776 @DomName('HTMLDialogElement.open') | 5852 @DomName('HTMLDialogElement.open') |
| 5777 @DocsEditable | 5853 @DocsEditable |
| 5778 bool open; | 5854 bool open; |
| 5779 | 5855 |
| 5780 @DomName('HTMLDialogElement.close') | 5856 @DomName('HTMLDialogElement.close') |
| 5781 @DocsEditable | 5857 @DocsEditable |
| 5782 void close() native; | 5858 void close() native; |
| 5783 | 5859 |
| 5784 @DomName('HTMLDialogElement.show') | 5860 @DomName('HTMLDialogElement.show') |
| 5785 @DocsEditable | 5861 @DocsEditable |
| 5786 void show() native; | 5862 void show() native; |
| 5787 | 5863 |
| 5788 @DomName('HTMLDialogElement.showModal') | 5864 @DomName('HTMLDialogElement.showModal') |
| 5789 @DocsEditable | 5865 @DocsEditable |
| 5790 void showModal() native; | 5866 void showModal() native; |
| 5791 } | 5867 } |
| 5792 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 5868 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 5793 // for details. All rights reserved. Use of this source code is governed by a | 5869 // for details. All rights reserved. Use of this source code is governed by a |
| 5794 // BSD-style license that can be found in the LICENSE file. | 5870 // BSD-style license that can be found in the LICENSE file. |
| 5795 | 5871 |
| 5796 | 5872 |
| 5797 @DomName('DirectoryEntry') | 5873 @DomName('DirectoryEntry') |
| 5874 // http://www.w3.org/TR/file-system-api/#the-directoryentry-interface | |
| 5875 @Experimental | |
| 5798 class DirectoryEntry extends Entry native "DirectoryEntry" { | 5876 class DirectoryEntry extends Entry native "DirectoryEntry" { |
| 5799 | 5877 |
| 5800 /** | 5878 /** |
| 5801 * Create a new directory with the specified `path`. If `exclusive` is true, | 5879 * Create a new directory with the specified `path`. If `exclusive` is true, |
| 5802 * the returned Future will complete with an error if a directory already | 5880 * the returned Future will complete with an error if a directory already |
| 5803 * exists with the specified `path`. | 5881 * exists with the specified `path`. |
| 5804 */ | 5882 */ |
| 5805 Future<Entry> createDirectory(String path, {bool exclusive: false}) { | 5883 Future<Entry> createDirectory(String path, {bool exclusive: false}) { |
| 5806 return _getDirectory(path, options: | 5884 return _getDirectory(path, options: |
| 5807 {'create': true, 'exclusive': exclusive}); | 5885 {'create': true, 'exclusive': exclusive}); |
| (...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 5954 | 6032 |
| 5955 } | 6033 } |
| 5956 | 6034 |
| 5957 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6035 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5958 // for details. All rights reserved. Use of this source code is governed by a | 6036 // for details. All rights reserved. Use of this source code is governed by a |
| 5959 // BSD-style license that can be found in the LICENSE file. | 6037 // BSD-style license that can be found in the LICENSE file. |
| 5960 | 6038 |
| 5961 | 6039 |
| 5962 @DocsEditable | 6040 @DocsEditable |
| 5963 @DomName('DirectoryReader') | 6041 @DomName('DirectoryReader') |
| 6042 // http://www.w3.org/TR/file-system-api/#the-directoryreader-interface | |
| 6043 @Experimental | |
| 5964 class DirectoryReader native "DirectoryReader" { | 6044 class DirectoryReader native "DirectoryReader" { |
| 5965 | 6045 |
| 5966 @JSName('readEntries') | 6046 @JSName('readEntries') |
| 5967 @DomName('DirectoryReader.readEntries') | 6047 @DomName('DirectoryReader.readEntries') |
| 5968 @DocsEditable | 6048 @DocsEditable |
| 5969 void _readEntries(_EntriesCallback successCallback, [_ErrorCallback errorCallb ack]) native; | 6049 void _readEntries(_EntriesCallback successCallback, [_ErrorCallback errorCallb ack]) native; |
| 5970 | 6050 |
| 5971 @JSName('readEntries') | 6051 @JSName('readEntries') |
| 5972 @DomName('DirectoryReader.readEntries') | 6052 @DomName('DirectoryReader.readEntries') |
| 5973 @DocsEditable | 6053 @DocsEditable |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 6038 | 6118 |
| 6039 @DomName('Document.selectionchangeEvent') | 6119 @DomName('Document.selectionchangeEvent') |
| 6040 @DocsEditable | 6120 @DocsEditable |
| 6041 static const EventStreamProvider<Event> selectionChangeEvent = const EventStre amProvider<Event>('selectionchange'); | 6121 static const EventStreamProvider<Event> selectionChangeEvent = const EventStre amProvider<Event>('selectionchange'); |
| 6042 | 6122 |
| 6043 @DomName('Document.webkitpointerlockchangeEvent') | 6123 @DomName('Document.webkitpointerlockchangeEvent') |
| 6044 @DocsEditable | 6124 @DocsEditable |
| 6045 @SupportedBrowser(SupportedBrowser.CHROME) | 6125 @SupportedBrowser(SupportedBrowser.CHROME) |
| 6046 @SupportedBrowser(SupportedBrowser.SAFARI) | 6126 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 6047 @Experimental | 6127 @Experimental |
| 6128 // https://dvcs.w3.org/hg/pointerlock/raw-file/default/index.html#widl-Documen t-onpointerlockchange | |
| 6048 static const EventStreamProvider<Event> pointerLockChangeEvent = const EventSt reamProvider<Event>('webkitpointerlockchange'); | 6129 static const EventStreamProvider<Event> pointerLockChangeEvent = const EventSt reamProvider<Event>('webkitpointerlockchange'); |
| 6049 | 6130 |
| 6050 @DomName('Document.webkitpointerlockerrorEvent') | 6131 @DomName('Document.webkitpointerlockerrorEvent') |
| 6051 @DocsEditable | 6132 @DocsEditable |
| 6052 @SupportedBrowser(SupportedBrowser.CHROME) | 6133 @SupportedBrowser(SupportedBrowser.CHROME) |
| 6053 @SupportedBrowser(SupportedBrowser.SAFARI) | 6134 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 6054 @Experimental | 6135 @Experimental |
| 6136 // https://dvcs.w3.org/hg/pointerlock/raw-file/default/index.html#widl-Documen t-onpointerlockerror | |
| 6055 static const EventStreamProvider<Event> pointerLockErrorEvent = const EventStr eamProvider<Event>('webkitpointerlockerror'); | 6137 static const EventStreamProvider<Event> pointerLockErrorEvent = const EventStr eamProvider<Event>('webkitpointerlockerror'); |
| 6056 | 6138 |
| 6057 @JSName('body') | 6139 @JSName('body') |
| 6058 /// Moved to [HtmlDocument]. | 6140 /// Moved to [HtmlDocument]. |
| 6059 @DomName('Document.body') | 6141 @DomName('Document.body') |
| 6060 @DocsEditable | 6142 @DocsEditable |
| 6061 Element $dom_body; | 6143 Element $dom_body; |
| 6062 | 6144 |
| 6063 @DomName('Document.charset') | 6145 @DomName('Document.charset') |
| 6064 @DocsEditable | 6146 @DocsEditable |
| 6147 @deprecated // nonstandard | |
| 6065 String charset; | 6148 String charset; |
| 6066 | 6149 |
| 6067 @DomName('Document.cookie') | 6150 @DomName('Document.cookie') |
| 6068 @DocsEditable | 6151 @DocsEditable |
| 6069 String cookie; | 6152 String cookie; |
| 6070 | 6153 |
| 6071 WindowBase get window => _convertNativeToDart_Window(this._get_window); | 6154 WindowBase get window => _convertNativeToDart_Window(this._get_window); |
| 6072 @JSName('defaultView') | 6155 @JSName('defaultView') |
| 6073 @DomName('Document.window') | 6156 @DomName('Document.window') |
| 6074 @DocsEditable | 6157 @DocsEditable |
| 6158 @Experimental // untriaged | |
| 6075 @Creates('Window|=Object') | 6159 @Creates('Window|=Object') |
| 6076 @Returns('Window|=Object') | 6160 @Returns('Window|=Object') |
| 6077 @Creates('Window|=Object|Null') | 6161 @Creates('Window|=Object|Null') |
| 6078 @Returns('Window|=Object|Null') | 6162 @Returns('Window|=Object|Null') |
| 6079 final dynamic _get_window; | 6163 final dynamic _get_window; |
| 6080 | 6164 |
| 6081 @DomName('Document.documentElement') | 6165 @DomName('Document.documentElement') |
| 6082 @DocsEditable | 6166 @DocsEditable |
| 6083 final Element documentElement; | 6167 final Element documentElement; |
| 6084 | 6168 |
| 6085 @DomName('Document.domain') | 6169 @DomName('Document.domain') |
| 6086 @DocsEditable | 6170 @DocsEditable |
| 6087 final String domain; | 6171 final String domain; |
| 6088 | 6172 |
| 6089 @DomName('Document.fontloader') | 6173 @DomName('Document.fontloader') |
| 6090 @DocsEditable | 6174 @DocsEditable |
| 6175 // http://www.w3.org/TR/css3-fonts/#document-fontloader | |
| 6176 @Experimental | |
| 6091 final FontLoader fontloader; | 6177 final FontLoader fontloader; |
| 6092 | 6178 |
| 6093 @JSName('head') | 6179 @JSName('head') |
| 6094 /// Moved to [HtmlDocument]. | 6180 /// Moved to [HtmlDocument]. |
| 6095 @DomName('Document.head') | 6181 @DomName('Document.head') |
| 6096 @DocsEditable | 6182 @DocsEditable |
| 6097 final HeadElement $dom_head; | 6183 final HeadElement $dom_head; |
| 6098 | 6184 |
| 6099 @DomName('Document.implementation') | 6185 @DomName('Document.implementation') |
| 6100 @DocsEditable | 6186 @DocsEditable |
| (...skipping 15 matching lines...) Expand all Loading... | |
| 6116 final String readyState; | 6202 final String readyState; |
| 6117 | 6203 |
| 6118 @JSName('referrer') | 6204 @JSName('referrer') |
| 6119 /// Moved to [HtmlDocument]. | 6205 /// Moved to [HtmlDocument]. |
| 6120 @DomName('Document.referrer') | 6206 @DomName('Document.referrer') |
| 6121 @DocsEditable | 6207 @DocsEditable |
| 6122 final String $dom_referrer; | 6208 final String $dom_referrer; |
| 6123 | 6209 |
| 6124 @DomName('Document.securityPolicy') | 6210 @DomName('Document.securityPolicy') |
| 6125 @DocsEditable | 6211 @DocsEditable |
| 6212 // https://dvcs.w3.org/hg/content-security-policy/raw-file/tip/csp-specificati on.dev.html#idl-def-SecurityPolicy | |
| 6213 @Experimental | |
| 6126 final SecurityPolicy securityPolicy; | 6214 final SecurityPolicy securityPolicy; |
| 6127 | 6215 |
| 6128 @JSName('selectedStylesheetSet') | 6216 @JSName('selectedStylesheetSet') |
| 6129 @DomName('Document.selectedStylesheetSet') | 6217 @DomName('Document.selectedStylesheetSet') |
| 6130 @DocsEditable | 6218 @DocsEditable |
| 6131 String $dom_selectedStylesheetSet; | 6219 String $dom_selectedStylesheetSet; |
| 6132 | 6220 |
| 6133 @JSName('styleSheets') | 6221 @JSName('styleSheets') |
| 6134 /// Moved to [HtmlDocument] | 6222 /// Moved to [HtmlDocument] |
| 6135 @DomName('Document.styleSheets') | 6223 @DomName('Document.styleSheets') |
| 6136 @DocsEditable | 6224 @DocsEditable |
| 6137 @Returns('_StyleSheetList') | 6225 @Returns('_StyleSheetList') |
| 6138 @Creates('_StyleSheetList') | 6226 @Creates('_StyleSheetList') |
| 6139 final List<StyleSheet> $dom_styleSheets; | 6227 final List<StyleSheet> $dom_styleSheets; |
| 6140 | 6228 |
| 6141 @JSName('title') | 6229 @JSName('title') |
| 6142 /// Moved to [HtmlDocument]. | 6230 /// Moved to [HtmlDocument]. |
| 6143 @DomName('Document.title') | 6231 @DomName('Document.title') |
| 6144 @DocsEditable | 6232 @DocsEditable |
| 6145 String $dom_title; | 6233 String $dom_title; |
| 6146 | 6234 |
| 6147 @JSName('webkitFullscreenElement') | 6235 @JSName('webkitFullscreenElement') |
| 6148 /// Moved to [HtmlDocument]. | 6236 /// Moved to [HtmlDocument]. |
| 6149 @DomName('Document.webkitFullscreenElement') | 6237 @DomName('Document.webkitFullscreenElement') |
| 6150 @DocsEditable | 6238 @DocsEditable |
| 6151 @SupportedBrowser(SupportedBrowser.CHROME) | 6239 @SupportedBrowser(SupportedBrowser.CHROME) |
| 6152 @SupportedBrowser(SupportedBrowser.SAFARI) | 6240 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 6153 @Experimental | 6241 @Experimental |
| 6242 // https://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html#dom-document-f ullscreenelement | |
| 6154 final Element $dom_webkitFullscreenElement; | 6243 final Element $dom_webkitFullscreenElement; |
| 6155 | 6244 |
| 6156 @JSName('webkitFullscreenEnabled') | 6245 @JSName('webkitFullscreenEnabled') |
| 6157 /// Moved to [HtmlDocument]. | 6246 /// Moved to [HtmlDocument]. |
| 6158 @DomName('Document.webkitFullscreenEnabled') | 6247 @DomName('Document.webkitFullscreenEnabled') |
| 6159 @DocsEditable | 6248 @DocsEditable |
| 6160 @SupportedBrowser(SupportedBrowser.CHROME) | 6249 @SupportedBrowser(SupportedBrowser.CHROME) |
| 6161 @SupportedBrowser(SupportedBrowser.SAFARI) | 6250 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 6162 @Experimental | 6251 @Experimental |
| 6252 // https://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html#dom-document-f ullscreenenabled | |
| 6163 final bool $dom_webkitFullscreenEnabled; | 6253 final bool $dom_webkitFullscreenEnabled; |
| 6164 | 6254 |
| 6165 @JSName('webkitHidden') | 6255 @JSName('webkitHidden') |
| 6166 /// Moved to [HtmlDocument]. | 6256 /// Moved to [HtmlDocument]. |
| 6167 @DomName('Document.webkitHidden') | 6257 @DomName('Document.webkitHidden') |
| 6168 @DocsEditable | 6258 @DocsEditable |
| 6169 @SupportedBrowser(SupportedBrowser.CHROME) | 6259 @SupportedBrowser(SupportedBrowser.CHROME) |
| 6170 @SupportedBrowser(SupportedBrowser.SAFARI) | 6260 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 6171 @Experimental | 6261 @Experimental |
| 6262 // https://dvcs.w3.org/hg/webperf/raw-file/tip/specs/PageVisibility/Overview.h tml#document | |
| 6172 final bool $dom_webkitHidden; | 6263 final bool $dom_webkitHidden; |
| 6173 | 6264 |
| 6174 @JSName('webkitIsFullScreen') | 6265 @JSName('webkitIsFullScreen') |
| 6175 /// Moved to [HtmlDocument]. | 6266 /// Moved to [HtmlDocument]. |
| 6176 @DomName('Document.webkitIsFullScreen') | 6267 @DomName('Document.webkitIsFullScreen') |
| 6177 @DocsEditable | 6268 @DocsEditable |
| 6178 @SupportedBrowser(SupportedBrowser.CHROME) | 6269 @SupportedBrowser(SupportedBrowser.CHROME) |
| 6179 @SupportedBrowser(SupportedBrowser.SAFARI) | 6270 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 6180 @Experimental | 6271 @Experimental |
| 6272 // https://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html | |
| 6273 @deprecated // deprecated | |
| 6181 final bool $dom_webkitIsFullScreen; | 6274 final bool $dom_webkitIsFullScreen; |
| 6182 | 6275 |
| 6183 @JSName('webkitPointerLockElement') | 6276 @JSName('webkitPointerLockElement') |
| 6184 /// Moved to [HtmlDocument]. | 6277 /// Moved to [HtmlDocument]. |
| 6185 @DomName('Document.webkitPointerLockElement') | 6278 @DomName('Document.webkitPointerLockElement') |
| 6186 @DocsEditable | 6279 @DocsEditable |
| 6187 @SupportedBrowser(SupportedBrowser.CHROME) | 6280 @SupportedBrowser(SupportedBrowser.CHROME) |
| 6188 @SupportedBrowser(SupportedBrowser.SAFARI) | 6281 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 6189 @Experimental | 6282 @Experimental |
| 6283 // https://dvcs.w3.org/hg/pointerlock/raw-file/default/index.html#widl-Documen t-pointerLockElement | |
| 6190 final Element $dom_webkitPointerLockElement; | 6284 final Element $dom_webkitPointerLockElement; |
| 6191 | 6285 |
| 6192 @JSName('webkitVisibilityState') | 6286 @JSName('webkitVisibilityState') |
| 6193 @DomName('Document.webkitVisibilityState') | 6287 @DomName('Document.webkitVisibilityState') |
| 6194 @DocsEditable | 6288 @DocsEditable |
| 6195 @SupportedBrowser(SupportedBrowser.CHROME) | 6289 @SupportedBrowser(SupportedBrowser.CHROME) |
| 6196 @SupportedBrowser(SupportedBrowser.SAFARI) | 6290 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 6197 @Experimental | 6291 @Experimental |
| 6292 // https://dvcs.w3.org/hg/webperf/raw-file/tip/specs/PageVisibility/Overview.h tml#dom-document-visibilitystate | |
| 6198 final String $dom_webkitVisibilityState; | 6293 final String $dom_webkitVisibilityState; |
| 6199 | 6294 |
| 6200 @JSName('caretRangeFromPoint') | 6295 @JSName('caretRangeFromPoint') |
| 6201 /// Use the [Range] constructor instead. | 6296 /// Use the [Range] constructor instead. |
| 6202 @DomName('Document.caretRangeFromPoint') | 6297 @DomName('Document.caretRangeFromPoint') |
| 6203 @DocsEditable | 6298 @DocsEditable |
| 6299 // http://www.w3.org/TR/2009/WD-cssom-view-20090804/#dom-documentview-caretran gefrompoint | |
| 6300 @Experimental | |
| 6204 Range $dom_caretRangeFromPoint(int x, int y) native; | 6301 Range $dom_caretRangeFromPoint(int x, int y) native; |
| 6205 | 6302 |
| 6206 @JSName('createCDATASection') | 6303 @JSName('createCDATASection') |
| 6207 @DomName('Document.createCDATASection') | 6304 @DomName('Document.createCDATASection') |
| 6208 @DocsEditable | 6305 @DocsEditable |
| 6306 // http://dom.spec.whatwg.org/#dom-document-createcdatasection | |
| 6307 @deprecated // deprecated | |
| 6209 CDataSection createCDataSection(String data) native; | 6308 CDataSection createCDataSection(String data) native; |
| 6210 | 6309 |
| 6211 @DomName('Document.createDocumentFragment') | 6310 @DomName('Document.createDocumentFragment') |
| 6212 @DocsEditable | 6311 @DocsEditable |
| 6213 DocumentFragment createDocumentFragment() native; | 6312 DocumentFragment createDocumentFragment() native; |
| 6214 | 6313 |
| 6215 @JSName('createElement') | 6314 @JSName('createElement') |
| 6216 /// Deprecated: use new Element.tag(tagName) instead. | 6315 /// Deprecated: use new Element.tag(tagName) instead. |
| 6217 @DomName('Document.createElement') | 6316 @DomName('Document.createElement') |
| 6218 @DocsEditable | 6317 @DocsEditable |
| 6219 Element $dom_createElement(String localName_OR_tagName, [String typeExtension] ) native; | 6318 Element $dom_createElement(String localName_OR_tagName, [String typeExtension] ) native; |
| 6220 | 6319 |
| 6221 @JSName('createElementNS') | 6320 @JSName('createElementNS') |
| 6222 @DomName('Document.createElementNS') | 6321 @DomName('Document.createElementNS') |
| 6223 @DocsEditable | 6322 @DocsEditable |
| 6224 Element $dom_createElementNS(String namespaceURI, String qualifiedName, [Strin g typeExtension]) native; | 6323 Element $dom_createElementNS(String namespaceURI, String qualifiedName, [Strin g typeExtension]) native; |
| 6225 | 6324 |
| 6226 @JSName('createEvent') | 6325 @JSName('createEvent') |
| 6227 @DomName('Document.createEvent') | 6326 @DomName('Document.createEvent') |
| 6228 @DocsEditable | 6327 @DocsEditable |
| 6229 Event $dom_createEvent(String eventType) native; | 6328 Event $dom_createEvent(String eventType) native; |
| 6230 | 6329 |
| 6231 @JSName('createNodeIterator') | 6330 @JSName('createNodeIterator') |
| 6232 @DomName('Document.createNodeIterator') | 6331 @DomName('Document.createNodeIterator') |
| 6233 @DocsEditable | 6332 @DocsEditable |
| 6333 @Unstable | |
| 6234 NodeIterator $dom_createNodeIterator(Node root, int whatToShow, NodeFilter fil ter, bool expandEntityReferences) native; | 6334 NodeIterator $dom_createNodeIterator(Node root, int whatToShow, NodeFilter fil ter, bool expandEntityReferences) native; |
| 6235 | 6335 |
| 6236 @JSName('createRange') | 6336 @JSName('createRange') |
| 6237 @DomName('Document.createRange') | 6337 @DomName('Document.createRange') |
| 6238 @DocsEditable | 6338 @DocsEditable |
| 6239 Range $dom_createRange() native; | 6339 Range $dom_createRange() native; |
| 6240 | 6340 |
| 6241 @JSName('createTextNode') | 6341 @JSName('createTextNode') |
| 6242 @DomName('Document.createTextNode') | 6342 @DomName('Document.createTextNode') |
| 6243 @DocsEditable | 6343 @DocsEditable |
| 6244 Text $dom_createTextNode(String data) native; | 6344 Text $dom_createTextNode(String data) native; |
| 6245 | 6345 |
| 6246 @DomName('Document.createTouch') | 6346 @DomName('Document.createTouch') |
| 6247 @DocsEditable | 6347 @DocsEditable |
| 6348 // http://www.w3.org/TR/touch-events/ | |
| 6349 @Experimental | |
| 6248 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) { | 6350 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) { |
| 6249 var target_1 = _convertDartToNative_EventTarget(target); | 6351 var target_1 = _convertDartToNative_EventTarget(target); |
| 6250 return _$dom_createTouch_1(window, target_1, identifier, pageX, pageY, scree nX, screenY, webkitRadiusX, webkitRadiusY, webkitRotationAngle, webkitForce); | 6352 return _$dom_createTouch_1(window, target_1, identifier, pageX, pageY, scree nX, screenY, webkitRadiusX, webkitRadiusY, webkitRotationAngle, webkitForce); |
| 6251 } | 6353 } |
| 6252 @JSName('createTouch') | 6354 @JSName('createTouch') |
| 6253 @DomName('Document.createTouch') | 6355 @DomName('Document.createTouch') |
| 6254 @DocsEditable | 6356 @DocsEditable |
| 6357 // http://www.w3.org/TR/touch-events/ | |
| 6358 @Experimental | |
| 6255 Touch _$dom_createTouch_1(Window window, target, identifier, pageX, pageY, scr eenX, screenY, webkitRadiusX, webkitRadiusY, webkitRotationAngle, webkitForce) n ative; | 6359 Touch _$dom_createTouch_1(Window window, target, identifier, pageX, pageY, scr eenX, screenY, webkitRadiusX, webkitRadiusY, webkitRotationAngle, webkitForce) n ative; |
| 6256 | 6360 |
| 6257 @JSName('createTouchList') | 6361 @JSName('createTouchList') |
| 6258 /// Use the [TouchList] constructor instead. | 6362 /// Use the [TouchList] constructor instead. |
| 6259 @DomName('Document.createTouchList') | 6363 @DomName('Document.createTouchList') |
| 6260 @DocsEditable | 6364 @DocsEditable |
| 6365 // http://www.w3.org/TR/touch-events/ | |
| 6366 @Experimental | |
| 6261 TouchList $dom_createTouchList() native; | 6367 TouchList $dom_createTouchList() native; |
| 6262 | 6368 |
| 6263 @JSName('createTreeWalker') | 6369 @JSName('createTreeWalker') |
| 6264 @DomName('Document.createTreeWalker') | 6370 @DomName('Document.createTreeWalker') |
| 6265 @DocsEditable | 6371 @DocsEditable |
| 6266 TreeWalker $dom_createTreeWalker(Node root, int whatToShow, NodeFilter filter, bool expandEntityReferences) native; | 6372 TreeWalker $dom_createTreeWalker(Node root, int whatToShow, NodeFilter filter, bool expandEntityReferences) native; |
| 6267 | 6373 |
| 6268 @JSName('elementFromPoint') | 6374 @JSName('elementFromPoint') |
| 6269 @DomName('Document.elementFromPoint') | 6375 @DomName('Document.elementFromPoint') |
| 6270 @DocsEditable | 6376 @DocsEditable |
| 6271 Element $dom_elementFromPoint(int x, int y) native; | 6377 Element $dom_elementFromPoint(int x, int y) native; |
| 6272 | 6378 |
| 6273 @DomName('Document.execCommand') | 6379 @DomName('Document.execCommand') |
| 6274 @DocsEditable | 6380 @DocsEditable |
| 6275 bool execCommand(String command, bool userInterface, String value) native; | 6381 bool execCommand(String command, bool userInterface, String value) native; |
| 6276 | 6382 |
| 6277 @JSName('getCSSCanvasContext') | 6383 @JSName('getCSSCanvasContext') |
| 6278 /// Moved to [HtmlDocument]. | 6384 /// Moved to [HtmlDocument]. |
| 6279 @DomName('Document.getCSSCanvasContext') | 6385 @DomName('Document.getCSSCanvasContext') |
| 6280 @DocsEditable | 6386 @DocsEditable |
| 6387 // https://developer.apple.com/library/safari/#documentation/AppleApplications /Reference/SafariCSSRef/Articles/Functions.html | |
| 6388 @Experimental // non-standard | |
| 6281 CanvasRenderingContext $dom_getCssCanvasContext(String contextId, String name, int width, int height) native; | 6389 CanvasRenderingContext $dom_getCssCanvasContext(String contextId, String name, int width, int height) native; |
| 6282 | 6390 |
| 6283 @DomName('Document.getElementById') | 6391 @DomName('Document.getElementById') |
| 6284 @DocsEditable | 6392 @DocsEditable |
| 6285 Element getElementById(String elementId) native; | 6393 Element getElementById(String elementId) native; |
| 6286 | 6394 |
| 6287 @DomName('Document.getElementsByClassName') | 6395 @DomName('Document.getElementsByClassName') |
| 6288 @DocsEditable | 6396 @DocsEditable |
| 6289 @Returns('NodeList') | 6397 @Returns('NodeList') |
| 6290 @Creates('NodeList') | 6398 @Creates('NodeList') |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 6350 @Creates('NodeList') | 6458 @Creates('NodeList') |
| 6351 List<Node> $dom_querySelectorAll(String selectors) native; | 6459 List<Node> $dom_querySelectorAll(String selectors) native; |
| 6352 | 6460 |
| 6353 @JSName('webkitCancelFullScreen') | 6461 @JSName('webkitCancelFullScreen') |
| 6354 /// Moved to [HtmlDocument]. | 6462 /// Moved to [HtmlDocument]. |
| 6355 @DomName('Document.webkitCancelFullScreen') | 6463 @DomName('Document.webkitCancelFullScreen') |
| 6356 @DocsEditable | 6464 @DocsEditable |
| 6357 @SupportedBrowser(SupportedBrowser.CHROME) | 6465 @SupportedBrowser(SupportedBrowser.CHROME) |
| 6358 @SupportedBrowser(SupportedBrowser.SAFARI) | 6466 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 6359 @Experimental | 6467 @Experimental |
| 6468 // https://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html | |
| 6469 @deprecated // deprecated | |
| 6360 void $dom_webkitCancelFullScreen() native; | 6470 void $dom_webkitCancelFullScreen() native; |
| 6361 | 6471 |
| 6362 @JSName('webkitExitFullscreen') | 6472 @JSName('webkitExitFullscreen') |
| 6363 /// Moved to [HtmlDocument]. | 6473 /// Moved to [HtmlDocument]. |
| 6364 @DomName('Document.webkitExitFullscreen') | 6474 @DomName('Document.webkitExitFullscreen') |
| 6365 @DocsEditable | 6475 @DocsEditable |
| 6366 @SupportedBrowser(SupportedBrowser.CHROME) | 6476 @SupportedBrowser(SupportedBrowser.CHROME) |
| 6367 @SupportedBrowser(SupportedBrowser.SAFARI) | 6477 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 6368 @Experimental | 6478 @Experimental |
| 6479 // https://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html#dom-document-e xitfullscreen | |
| 6369 void $dom_webkitExitFullscreen() native; | 6480 void $dom_webkitExitFullscreen() native; |
| 6370 | 6481 |
| 6371 @JSName('webkitExitPointerLock') | 6482 @JSName('webkitExitPointerLock') |
| 6372 /// Moved to [HtmlDocument]. | 6483 /// Moved to [HtmlDocument]. |
| 6373 @DomName('Document.webkitExitPointerLock') | 6484 @DomName('Document.webkitExitPointerLock') |
| 6374 @DocsEditable | 6485 @DocsEditable |
| 6375 @SupportedBrowser(SupportedBrowser.CHROME) | 6486 @SupportedBrowser(SupportedBrowser.CHROME) |
| 6376 @SupportedBrowser(SupportedBrowser.SAFARI) | 6487 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 6377 @Experimental | 6488 @Experimental |
| 6489 // https://dvcs.w3.org/hg/pointerlock/raw-file/default/index.html#widl-Documen t-exitPointerLock-void | |
| 6378 void $dom_webkitExitPointerLock() native; | 6490 void $dom_webkitExitPointerLock() native; |
| 6379 | 6491 |
| 6380 @JSName('webkitGetNamedFlows') | 6492 @JSName('webkitGetNamedFlows') |
| 6381 @DomName('Document.webkitGetNamedFlows') | 6493 @DomName('Document.webkitGetNamedFlows') |
| 6382 @DocsEditable | 6494 @DocsEditable |
| 6383 @SupportedBrowser(SupportedBrowser.CHROME) | 6495 @SupportedBrowser(SupportedBrowser.CHROME) |
| 6384 @SupportedBrowser(SupportedBrowser.SAFARI) | 6496 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 6385 @Experimental | 6497 @Experimental |
| 6498 // http://www.w3.org/TR/css3-regions/#dom-named-flow-collection | |
| 6386 NamedFlowCollection getNamedFlows() native; | 6499 NamedFlowCollection getNamedFlows() native; |
| 6387 | 6500 |
| 6388 @DomName('Document.webkitRegister') | 6501 @DomName('Document.webkitRegister') |
| 6389 @DocsEditable | 6502 @DocsEditable |
| 6390 @SupportedBrowser(SupportedBrowser.CHROME) | 6503 @SupportedBrowser(SupportedBrowser.CHROME) |
| 6391 @SupportedBrowser(SupportedBrowser.SAFARI) | 6504 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 6392 @Experimental | 6505 @Experimental |
| 6506 // https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/custom/index.html#df n-document-register | |
| 6393 CustomElementConstructor register(String name, [Map options]) { | 6507 CustomElementConstructor register(String name, [Map options]) { |
| 6394 if (?options) { | 6508 if (?options) { |
| 6395 var options_1 = convertDartToNative_Dictionary(options); | 6509 var options_1 = convertDartToNative_Dictionary(options); |
| 6396 return _register_1(name, options_1); | 6510 return _register_1(name, options_1); |
| 6397 } | 6511 } |
| 6398 return _register_2(name); | 6512 return _register_2(name); |
| 6399 } | 6513 } |
| 6400 @JSName('webkitRegister') | 6514 @JSName('webkitRegister') |
| 6401 @DomName('Document.webkitRegister') | 6515 @DomName('Document.webkitRegister') |
| 6402 @DocsEditable | 6516 @DocsEditable |
| 6403 @SupportedBrowser(SupportedBrowser.CHROME) | 6517 @SupportedBrowser(SupportedBrowser.CHROME) |
| 6404 @SupportedBrowser(SupportedBrowser.SAFARI) | 6518 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 6405 @Experimental | 6519 @Experimental |
| 6520 // https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/custom/index.html#df n-document-register | |
| 6406 CustomElementConstructor _register_1(name, options) native; | 6521 CustomElementConstructor _register_1(name, options) native; |
| 6407 @JSName('webkitRegister') | 6522 @JSName('webkitRegister') |
| 6408 @DomName('Document.webkitRegister') | 6523 @DomName('Document.webkitRegister') |
| 6409 @DocsEditable | 6524 @DocsEditable |
| 6410 @SupportedBrowser(SupportedBrowser.CHROME) | 6525 @SupportedBrowser(SupportedBrowser.CHROME) |
| 6411 @SupportedBrowser(SupportedBrowser.SAFARI) | 6526 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 6412 @Experimental | 6527 @Experimental |
| 6528 // https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/custom/index.html#df n-document-register | |
| 6413 CustomElementConstructor _register_2(name) native; | 6529 CustomElementConstructor _register_2(name) native; |
| 6414 | 6530 |
| 6415 @DomName('Document.onabort') | 6531 @DomName('Document.onabort') |
| 6416 @DocsEditable | 6532 @DocsEditable |
| 6417 Stream<Event> get onAbort => Element.abortEvent.forTarget(this); | 6533 Stream<Event> get onAbort => Element.abortEvent.forTarget(this); |
| 6418 | 6534 |
| 6419 @DomName('Document.onbeforecopy') | 6535 @DomName('Document.onbeforecopy') |
| 6420 @DocsEditable | 6536 @DocsEditable |
| 6421 Stream<Event> get onBeforeCopy => Element.beforeCopyEvent.forTarget(this); | 6537 Stream<Event> get onBeforeCopy => Element.beforeCopyEvent.forTarget(this); |
| 6422 | 6538 |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 6551 @DomName('Document.onreset') | 6667 @DomName('Document.onreset') |
| 6552 @DocsEditable | 6668 @DocsEditable |
| 6553 Stream<Event> get onReset => Element.resetEvent.forTarget(this); | 6669 Stream<Event> get onReset => Element.resetEvent.forTarget(this); |
| 6554 | 6670 |
| 6555 @DomName('Document.onscroll') | 6671 @DomName('Document.onscroll') |
| 6556 @DocsEditable | 6672 @DocsEditable |
| 6557 Stream<Event> get onScroll => Element.scrollEvent.forTarget(this); | 6673 Stream<Event> get onScroll => Element.scrollEvent.forTarget(this); |
| 6558 | 6674 |
| 6559 @DomName('Document.onsearch') | 6675 @DomName('Document.onsearch') |
| 6560 @DocsEditable | 6676 @DocsEditable |
| 6677 // http://www.w3.org/TR/html-markup/input.search.html | |
| 6678 @Experimental | |
| 6561 Stream<Event> get onSearch => Element.searchEvent.forTarget(this); | 6679 Stream<Event> get onSearch => Element.searchEvent.forTarget(this); |
| 6562 | 6680 |
| 6563 @DomName('Document.onselect') | 6681 @DomName('Document.onselect') |
| 6564 @DocsEditable | 6682 @DocsEditable |
| 6565 Stream<Event> get onSelect => Element.selectEvent.forTarget(this); | 6683 Stream<Event> get onSelect => Element.selectEvent.forTarget(this); |
| 6566 | 6684 |
| 6567 @DomName('Document.onselectionchange') | 6685 @DomName('Document.onselectionchange') |
| 6568 @DocsEditable | 6686 @DocsEditable |
| 6569 Stream<Event> get onSelectionChange => selectionChangeEvent.forTarget(this); | 6687 Stream<Event> get onSelectionChange => selectionChangeEvent.forTarget(this); |
| 6570 | 6688 |
| 6571 @DomName('Document.onselectstart') | 6689 @DomName('Document.onselectstart') |
| 6572 @DocsEditable | 6690 @DocsEditable |
| 6573 Stream<Event> get onSelectStart => Element.selectStartEvent.forTarget(this); | 6691 Stream<Event> get onSelectStart => Element.selectStartEvent.forTarget(this); |
| 6574 | 6692 |
| 6575 @DomName('Document.onsubmit') | 6693 @DomName('Document.onsubmit') |
| 6576 @DocsEditable | 6694 @DocsEditable |
| 6577 Stream<Event> get onSubmit => Element.submitEvent.forTarget(this); | 6695 Stream<Event> get onSubmit => Element.submitEvent.forTarget(this); |
| 6578 | 6696 |
| 6579 @DomName('Document.ontouchcancel') | 6697 @DomName('Document.ontouchcancel') |
| 6580 @DocsEditable | 6698 @DocsEditable |
| 6699 // http://www.w3.org/TR/touch-events/ | |
| 6700 @Experimental | |
| 6581 Stream<TouchEvent> get onTouchCancel => Element.touchCancelEvent.forTarget(thi s); | 6701 Stream<TouchEvent> get onTouchCancel => Element.touchCancelEvent.forTarget(thi s); |
| 6582 | 6702 |
| 6583 @DomName('Document.ontouchend') | 6703 @DomName('Document.ontouchend') |
| 6584 @DocsEditable | 6704 @DocsEditable |
| 6705 // http://www.w3.org/TR/touch-events/ | |
| 6706 @Experimental | |
| 6585 Stream<TouchEvent> get onTouchEnd => Element.touchEndEvent.forTarget(this); | 6707 Stream<TouchEvent> get onTouchEnd => Element.touchEndEvent.forTarget(this); |
| 6586 | 6708 |
| 6587 @DomName('Document.ontouchmove') | 6709 @DomName('Document.ontouchmove') |
| 6588 @DocsEditable | 6710 @DocsEditable |
| 6711 // http://www.w3.org/TR/touch-events/ | |
| 6712 @Experimental | |
| 6589 Stream<TouchEvent> get onTouchMove => Element.touchMoveEvent.forTarget(this); | 6713 Stream<TouchEvent> get onTouchMove => Element.touchMoveEvent.forTarget(this); |
| 6590 | 6714 |
| 6591 @DomName('Document.ontouchstart') | 6715 @DomName('Document.ontouchstart') |
| 6592 @DocsEditable | 6716 @DocsEditable |
| 6717 // http://www.w3.org/TR/touch-events/ | |
| 6718 @Experimental | |
| 6593 Stream<TouchEvent> get onTouchStart => Element.touchStartEvent.forTarget(this) ; | 6719 Stream<TouchEvent> get onTouchStart => Element.touchStartEvent.forTarget(this) ; |
| 6594 | 6720 |
| 6595 @DomName('Document.onwebkitfullscreenchange') | 6721 @DomName('Document.onwebkitfullscreenchange') |
| 6596 @DocsEditable | 6722 @DocsEditable |
| 6723 // https://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html | |
| 6724 @Experimental | |
| 6597 Stream<Event> get onFullscreenChange => Element.fullscreenChangeEvent.forTarge t(this); | 6725 Stream<Event> get onFullscreenChange => Element.fullscreenChangeEvent.forTarge t(this); |
| 6598 | 6726 |
| 6599 @DomName('Document.onwebkitfullscreenerror') | 6727 @DomName('Document.onwebkitfullscreenerror') |
| 6600 @DocsEditable | 6728 @DocsEditable |
| 6729 // https://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html | |
| 6730 @Experimental | |
| 6601 Stream<Event> get onFullscreenError => Element.fullscreenErrorEvent.forTarget( this); | 6731 Stream<Event> get onFullscreenError => Element.fullscreenErrorEvent.forTarget( this); |
| 6602 | 6732 |
| 6603 @DomName('Document.onwebkitpointerlockchange') | 6733 @DomName('Document.onwebkitpointerlockchange') |
| 6604 @DocsEditable | 6734 @DocsEditable |
| 6735 // https://dvcs.w3.org/hg/pointerlock/raw-file/default/index.html#widl-Documen t-onpointerlockchange | |
| 6736 @Experimental | |
| 6605 Stream<Event> get onPointerLockChange => pointerLockChangeEvent.forTarget(this ); | 6737 Stream<Event> get onPointerLockChange => pointerLockChangeEvent.forTarget(this ); |
| 6606 | 6738 |
| 6607 @DomName('Document.onwebkitpointerlockerror') | 6739 @DomName('Document.onwebkitpointerlockerror') |
| 6608 @DocsEditable | 6740 @DocsEditable |
| 6741 // https://dvcs.w3.org/hg/pointerlock/raw-file/default/index.html#widl-Documen t-onpointerlockerror | |
| 6742 @Experimental | |
| 6609 Stream<Event> get onPointerLockError => pointerLockErrorEvent.forTarget(this); | 6743 Stream<Event> get onPointerLockError => pointerLockErrorEvent.forTarget(this); |
| 6610 | 6744 |
| 6611 | 6745 |
| 6612 /** | 6746 /** |
| 6613 * Finds all descendant elements of this document that match the specified | 6747 * Finds all descendant elements of this document that match the specified |
| 6614 * group of selectors. | 6748 * group of selectors. |
| 6615 * | 6749 * |
| 6616 * Unless your webpage contains multiple documents, the top-level queryAll | 6750 * Unless your webpage contains multiple documents, the top-level queryAll |
| 6617 * method behaves the same as this method, so you should use it instead to | 6751 * method behaves the same as this method, so you should use it instead to |
| 6618 * save typing a few characters. | 6752 * save typing a few characters. |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 6717 List<Node> $dom_querySelectorAll(String selectors) native; | 6851 List<Node> $dom_querySelectorAll(String selectors) native; |
| 6718 | 6852 |
| 6719 } | 6853 } |
| 6720 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6854 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 6721 // for details. All rights reserved. Use of this source code is governed by a | 6855 // for details. All rights reserved. Use of this source code is governed by a |
| 6722 // BSD-style license that can be found in the LICENSE file. | 6856 // BSD-style license that can be found in the LICENSE file. |
| 6723 | 6857 |
| 6724 | 6858 |
| 6725 @DocsEditable | 6859 @DocsEditable |
| 6726 @DomName('DocumentType') | 6860 @DomName('DocumentType') |
| 6861 // http://www.w3.org/TR/DOM-Level-3-Core/core.html#ID-412266927 | |
| 6862 @deprecated // stable | |
| 6727 class DocumentType extends Node native "DocumentType" { | 6863 class DocumentType extends Node native "DocumentType" { |
| 6728 } | 6864 } |
| 6729 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6865 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 6730 // for details. All rights reserved. Use of this source code is governed by a | 6866 // for details. All rights reserved. Use of this source code is governed by a |
| 6731 // BSD-style license that can be found in the LICENSE file. | 6867 // BSD-style license that can be found in the LICENSE file. |
| 6732 | 6868 |
| 6733 | 6869 |
| 6734 @DocsEditable | 6870 @DocsEditable |
| 6735 @DomName('DOMError') | 6871 @DomName('DOMError') |
| 6736 class DomError native "DOMError" { | 6872 class DomError native "DOMError" { |
| 6737 | 6873 |
| 6738 @DomName('DOMError.name') | 6874 @DomName('DOMError.name') |
| 6739 @DocsEditable | 6875 @DocsEditable |
| 6740 final String name; | 6876 final String name; |
| 6741 } | 6877 } |
| 6742 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 6878 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 6743 // for details. All rights reserved. Use of this source code is governed by a | 6879 // for details. All rights reserved. Use of this source code is governed by a |
| 6744 // BSD-style license that can be found in the LICENSE file. | 6880 // BSD-style license that can be found in the LICENSE file. |
| 6745 | 6881 |
| 6746 | 6882 |
| 6747 @DomName('DOMException') | 6883 @DomName('DOMException') |
| 6884 @Unstable | |
| 6748 class DomException native "DOMException" { | 6885 class DomException native "DOMException" { |
| 6749 | 6886 |
| 6750 static const String INDEX_SIZE = 'IndexSizeError'; | 6887 static const String INDEX_SIZE = 'IndexSizeError'; |
| 6751 static const String HIERARCHY_REQUEST = 'HierarchyRequestError'; | 6888 static const String HIERARCHY_REQUEST = 'HierarchyRequestError'; |
| 6752 static const String WRONG_DOCUMENT = 'WrongDocumentError'; | 6889 static const String WRONG_DOCUMENT = 'WrongDocumentError'; |
| 6753 static const String INVALID_CHARACTER = 'InvalidCharacterError'; | 6890 static const String INVALID_CHARACTER = 'InvalidCharacterError'; |
| 6754 static const String NO_MODIFICATION_ALLOWED = 'NoModificationAllowedError'; | 6891 static const String NO_MODIFICATION_ALLOWED = 'NoModificationAllowedError'; |
| 6755 static const String NOT_FOUND = 'NotFoundError'; | 6892 static const String NOT_FOUND = 'NotFoundError'; |
| 6756 static const String NOT_SUPPORTED = 'NotSupportedError'; | 6893 static const String NOT_SUPPORTED = 'NotSupportedError'; |
| 6757 static const String INVALID_STATE = 'InvalidStateError'; | 6894 static const String INVALID_STATE = 'InvalidStateError'; |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 6794 // BSD-style license that can be found in the LICENSE file. | 6931 // BSD-style license that can be found in the LICENSE file. |
| 6795 | 6932 |
| 6796 | 6933 |
| 6797 @DocsEditable | 6934 @DocsEditable |
| 6798 @DomName('DOMImplementation') | 6935 @DomName('DOMImplementation') |
| 6799 class DomImplementation native "DOMImplementation" { | 6936 class DomImplementation native "DOMImplementation" { |
| 6800 | 6937 |
| 6801 @JSName('createCSSStyleSheet') | 6938 @JSName('createCSSStyleSheet') |
| 6802 @DomName('DOMImplementation.createCSSStyleSheet') | 6939 @DomName('DOMImplementation.createCSSStyleSheet') |
| 6803 @DocsEditable | 6940 @DocsEditable |
| 6941 @Experimental // non-standard | |
| 6804 CssStyleSheet createCssStyleSheet(String title, String media) native; | 6942 CssStyleSheet createCssStyleSheet(String title, String media) native; |
| 6805 | 6943 |
| 6806 @DomName('DOMImplementation.createDocument') | 6944 @DomName('DOMImplementation.createDocument') |
| 6807 @DocsEditable | 6945 @DocsEditable |
| 6808 Document createDocument(String namespaceURI, String qualifiedName, DocumentTyp e doctype) native; | 6946 Document createDocument(String namespaceURI, String qualifiedName, DocumentTyp e doctype) native; |
| 6809 | 6947 |
| 6810 @DomName('DOMImplementation.createDocumentType') | 6948 @DomName('DOMImplementation.createDocumentType') |
| 6811 @DocsEditable | 6949 @DocsEditable |
| 6812 DocumentType createDocumentType(String qualifiedName, String publicId, String systemId) native; | 6950 DocumentType createDocumentType(String qualifiedName, String publicId, String systemId) native; |
| 6813 | 6951 |
| (...skipping 1142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 7956 @DomName('Element.resetEvent') | 8094 @DomName('Element.resetEvent') |
| 7957 @DocsEditable | 8095 @DocsEditable |
| 7958 static const EventStreamProvider<Event> resetEvent = const EventStreamProvider <Event>('reset'); | 8096 static const EventStreamProvider<Event> resetEvent = const EventStreamProvider <Event>('reset'); |
| 7959 | 8097 |
| 7960 @DomName('Element.scrollEvent') | 8098 @DomName('Element.scrollEvent') |
| 7961 @DocsEditable | 8099 @DocsEditable |
| 7962 static const EventStreamProvider<Event> scrollEvent = const EventStreamProvide r<Event>('scroll'); | 8100 static const EventStreamProvider<Event> scrollEvent = const EventStreamProvide r<Event>('scroll'); |
| 7963 | 8101 |
| 7964 @DomName('Element.searchEvent') | 8102 @DomName('Element.searchEvent') |
| 7965 @DocsEditable | 8103 @DocsEditable |
| 8104 // http://www.w3.org/TR/html-markup/input.search.html | |
| 8105 @Experimental | |
| 7966 static const EventStreamProvider<Event> searchEvent = const EventStreamProvide r<Event>('search'); | 8106 static const EventStreamProvider<Event> searchEvent = const EventStreamProvide r<Event>('search'); |
| 7967 | 8107 |
| 7968 @DomName('Element.selectEvent') | 8108 @DomName('Element.selectEvent') |
| 7969 @DocsEditable | 8109 @DocsEditable |
| 7970 static const EventStreamProvider<Event> selectEvent = const EventStreamProvide r<Event>('select'); | 8110 static const EventStreamProvider<Event> selectEvent = const EventStreamProvide r<Event>('select'); |
| 7971 | 8111 |
| 7972 @DomName('Element.selectstartEvent') | 8112 @DomName('Element.selectstartEvent') |
| 7973 @DocsEditable | 8113 @DocsEditable |
| 8114 @Experimental // nonstandard | |
| 7974 static const EventStreamProvider<Event> selectStartEvent = const EventStreamPr ovider<Event>('selectstart'); | 8115 static const EventStreamProvider<Event> selectStartEvent = const EventStreamPr ovider<Event>('selectstart'); |
| 7975 | 8116 |
| 7976 @DomName('Element.submitEvent') | 8117 @DomName('Element.submitEvent') |
| 7977 @DocsEditable | 8118 @DocsEditable |
| 7978 static const EventStreamProvider<Event> submitEvent = const EventStreamProvide r<Event>('submit'); | 8119 static const EventStreamProvider<Event> submitEvent = const EventStreamProvide r<Event>('submit'); |
| 7979 | 8120 |
| 7980 @DomName('Element.touchcancelEvent') | 8121 @DomName('Element.touchcancelEvent') |
| 7981 @DocsEditable | 8122 @DocsEditable |
| 8123 // http://www.w3.org/TR/touch-events/ | |
| 8124 @Experimental | |
| 7982 static const EventStreamProvider<TouchEvent> touchCancelEvent = const EventStr eamProvider<TouchEvent>('touchcancel'); | 8125 static const EventStreamProvider<TouchEvent> touchCancelEvent = const EventStr eamProvider<TouchEvent>('touchcancel'); |
| 7983 | 8126 |
| 7984 @DomName('Element.touchendEvent') | 8127 @DomName('Element.touchendEvent') |
| 7985 @DocsEditable | 8128 @DocsEditable |
| 8129 // http://www.w3.org/TR/touch-events/ | |
| 8130 @Experimental | |
| 7986 static const EventStreamProvider<TouchEvent> touchEndEvent = const EventStream Provider<TouchEvent>('touchend'); | 8131 static const EventStreamProvider<TouchEvent> touchEndEvent = const EventStream Provider<TouchEvent>('touchend'); |
| 7987 | 8132 |
| 7988 @DomName('Element.touchenterEvent') | 8133 @DomName('Element.touchenterEvent') |
| 7989 @DocsEditable | 8134 @DocsEditable |
| 8135 // http://www.w3.org/TR/touch-events/ | |
| 8136 @Experimental | |
| 7990 static const EventStreamProvider<TouchEvent> touchEnterEvent = const EventStre amProvider<TouchEvent>('touchenter'); | 8137 static const EventStreamProvider<TouchEvent> touchEnterEvent = const EventStre amProvider<TouchEvent>('touchenter'); |
| 7991 | 8138 |
| 7992 @DomName('Element.touchleaveEvent') | 8139 @DomName('Element.touchleaveEvent') |
| 7993 @DocsEditable | 8140 @DocsEditable |
| 8141 // http://www.w3.org/TR/touch-events/ | |
| 8142 @Experimental | |
| 7994 static const EventStreamProvider<TouchEvent> touchLeaveEvent = const EventStre amProvider<TouchEvent>('touchleave'); | 8143 static const EventStreamProvider<TouchEvent> touchLeaveEvent = const EventStre amProvider<TouchEvent>('touchleave'); |
| 7995 | 8144 |
| 7996 @DomName('Element.touchmoveEvent') | 8145 @DomName('Element.touchmoveEvent') |
| 7997 @DocsEditable | 8146 @DocsEditable |
| 8147 // http://www.w3.org/TR/touch-events/ | |
| 8148 @Experimental | |
| 7998 static const EventStreamProvider<TouchEvent> touchMoveEvent = const EventStrea mProvider<TouchEvent>('touchmove'); | 8149 static const EventStreamProvider<TouchEvent> touchMoveEvent = const EventStrea mProvider<TouchEvent>('touchmove'); |
| 7999 | 8150 |
| 8000 @DomName('Element.touchstartEvent') | 8151 @DomName('Element.touchstartEvent') |
| 8001 @DocsEditable | 8152 @DocsEditable |
| 8153 // http://www.w3.org/TR/touch-events/ | |
| 8154 @Experimental | |
| 8002 static const EventStreamProvider<TouchEvent> touchStartEvent = const EventStre amProvider<TouchEvent>('touchstart'); | 8155 static const EventStreamProvider<TouchEvent> touchStartEvent = const EventStre amProvider<TouchEvent>('touchstart'); |
| 8003 | 8156 |
| 8004 @DomName('Element.webkitfullscreenchangeEvent') | 8157 @DomName('Element.webkitfullscreenchangeEvent') |
| 8005 @DocsEditable | 8158 @DocsEditable |
| 8006 @SupportedBrowser(SupportedBrowser.CHROME) | 8159 @SupportedBrowser(SupportedBrowser.CHROME) |
| 8007 @SupportedBrowser(SupportedBrowser.SAFARI) | 8160 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 8008 @Experimental | 8161 @Experimental |
| 8162 // https://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html | |
| 8009 static const EventStreamProvider<Event> fullscreenChangeEvent = const EventStr eamProvider<Event>('webkitfullscreenchange'); | 8163 static const EventStreamProvider<Event> fullscreenChangeEvent = const EventStr eamProvider<Event>('webkitfullscreenchange'); |
| 8010 | 8164 |
| 8011 @DomName('Element.webkitfullscreenerrorEvent') | 8165 @DomName('Element.webkitfullscreenerrorEvent') |
| 8012 @DocsEditable | 8166 @DocsEditable |
| 8013 @SupportedBrowser(SupportedBrowser.CHROME) | 8167 @SupportedBrowser(SupportedBrowser.CHROME) |
| 8014 @SupportedBrowser(SupportedBrowser.SAFARI) | 8168 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 8015 @Experimental | 8169 @Experimental |
| 8170 // https://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html | |
| 8016 static const EventStreamProvider<Event> fullscreenErrorEvent = const EventStre amProvider<Event>('webkitfullscreenerror'); | 8171 static const EventStreamProvider<Event> fullscreenErrorEvent = const EventStre amProvider<Event>('webkitfullscreenerror'); |
| 8017 | 8172 |
| 8018 @JSName('children') | 8173 @JSName('children') |
| 8019 @DomName('Element.children') | 8174 @DomName('Element.children') |
| 8020 @DocsEditable | 8175 @DocsEditable |
| 8021 final HtmlCollection $dom_children; | 8176 final HtmlCollection $dom_children; |
| 8022 | 8177 |
| 8023 @DomName('Element.contentEditable') | 8178 @DomName('Element.contentEditable') |
| 8024 @DocsEditable | 8179 @DocsEditable |
| 8025 String contentEditable; | 8180 String contentEditable; |
| (...skipping 27 matching lines...) Expand all Loading... | |
| 8053 @DocsEditable | 8208 @DocsEditable |
| 8054 String lang; | 8209 String lang; |
| 8055 | 8210 |
| 8056 @JSName('outerHTML') | 8211 @JSName('outerHTML') |
| 8057 @DomName('Element.outerHTML') | 8212 @DomName('Element.outerHTML') |
| 8058 @DocsEditable | 8213 @DocsEditable |
| 8059 final String outerHtml; | 8214 final String outerHtml; |
| 8060 | 8215 |
| 8061 @DomName('Element.spellcheck') | 8216 @DomName('Element.spellcheck') |
| 8062 @DocsEditable | 8217 @DocsEditable |
| 8218 // http://blog.whatwg.org/the-road-to-html-5-spellchecking | |
| 8219 @Experimental // nonstandard | |
| 8063 bool spellcheck; | 8220 bool spellcheck; |
| 8064 | 8221 |
| 8065 @DomName('Element.tabIndex') | 8222 @DomName('Element.tabIndex') |
| 8066 @DocsEditable | 8223 @DocsEditable |
| 8067 int tabIndex; | 8224 int tabIndex; |
| 8068 | 8225 |
| 8069 @DomName('Element.title') | 8226 @DomName('Element.title') |
| 8070 @DocsEditable | 8227 @DocsEditable |
| 8071 String title; | 8228 String title; |
| 8072 | 8229 |
| 8073 @DomName('Element.translate') | 8230 @DomName('Element.translate') |
| 8074 @DocsEditable | 8231 @DocsEditable |
| 8232 // http://www.whatwg.org/specs/web-apps/current-work/multipage/elements.html#t he-translate-attribute | |
| 8233 @Experimental | |
| 8075 bool translate; | 8234 bool translate; |
| 8076 | 8235 |
| 8077 @JSName('webkitdropzone') | 8236 @JSName('webkitdropzone') |
| 8078 @DomName('Element.webkitdropzone') | 8237 @DomName('Element.webkitdropzone') |
| 8079 @DocsEditable | 8238 @DocsEditable |
| 8080 @SupportedBrowser(SupportedBrowser.CHROME) | 8239 @SupportedBrowser(SupportedBrowser.CHROME) |
| 8081 @SupportedBrowser(SupportedBrowser.SAFARI) | 8240 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 8082 @Experimental | 8241 @Experimental |
| 8242 // http://www.whatwg.org/specs/web-apps/current-work/multipage/dnd.html#the-dr opzone-attribute | |
| 8083 String dropzone; | 8243 String dropzone; |
| 8084 | 8244 |
| 8085 @DomName('Element.click') | 8245 @DomName('Element.click') |
| 8086 @DocsEditable | 8246 @DocsEditable |
| 8087 void click() native; | 8247 void click() native; |
| 8088 | 8248 |
| 8089 @DomName('Element.ALLOW_KEYBOARD_INPUT') | 8249 @DomName('Element.ALLOW_KEYBOARD_INPUT') |
| 8090 @DocsEditable | 8250 @DocsEditable |
| 8251 // https://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html#dom-element-re questfullscreen | |
| 8252 @deprecated // deprecated | |
| 8091 static const int ALLOW_KEYBOARD_INPUT = 1; | 8253 static const int ALLOW_KEYBOARD_INPUT = 1; |
| 8092 | 8254 |
| 8093 @JSName('attributes') | 8255 @JSName('attributes') |
| 8094 @DomName('Element.attributes') | 8256 @DomName('Element.attributes') |
| 8095 @DocsEditable | 8257 @DocsEditable |
| 8096 final _NamedNodeMap $dom_attributes; | 8258 final _NamedNodeMap $dom_attributes; |
| 8097 | 8259 |
| 8098 @JSName('childElementCount') | 8260 @JSName('childElementCount') |
| 8099 @DomName('Element.childElementCount') | 8261 @DomName('Element.childElementCount') |
| 8100 @DocsEditable | 8262 @DocsEditable |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 8182 @DomName('Element.tagName') | 8344 @DomName('Element.tagName') |
| 8183 @DocsEditable | 8345 @DocsEditable |
| 8184 final String tagName; | 8346 final String tagName; |
| 8185 | 8347 |
| 8186 @JSName('webkitInsertionParent') | 8348 @JSName('webkitInsertionParent') |
| 8187 @DomName('Element.webkitInsertionParent') | 8349 @DomName('Element.webkitInsertionParent') |
| 8188 @DocsEditable | 8350 @DocsEditable |
| 8189 @SupportedBrowser(SupportedBrowser.CHROME) | 8351 @SupportedBrowser(SupportedBrowser.CHROME) |
| 8190 @SupportedBrowser(SupportedBrowser.SAFARI) | 8352 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 8191 @Experimental | 8353 @Experimental |
| 8354 // https://www.w3.org/Bugs/Public/show_bug.cgi?id=21067 | |
| 8192 final Node insertionParent; | 8355 final Node insertionParent; |
| 8193 | 8356 |
| 8194 @JSName('webkitPseudo') | 8357 @JSName('webkitPseudo') |
| 8195 @DomName('Element.webkitPseudo') | 8358 @DomName('Element.webkitPseudo') |
| 8196 @DocsEditable | 8359 @DocsEditable |
| 8197 @SupportedBrowser(SupportedBrowser.CHROME) | 8360 @SupportedBrowser(SupportedBrowser.CHROME) |
| 8198 @SupportedBrowser(SupportedBrowser.SAFARI) | 8361 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 8199 @Experimental | 8362 @Experimental |
| 8363 @Experimental // nonstandard | |
| 8200 String pseudo; | 8364 String pseudo; |
| 8201 | 8365 |
| 8202 @JSName('webkitRegionOverset') | 8366 @JSName('webkitRegionOverset') |
| 8203 @DomName('Element.webkitRegionOverset') | 8367 @DomName('Element.webkitRegionOverset') |
| 8204 @DocsEditable | 8368 @DocsEditable |
| 8205 @SupportedBrowser(SupportedBrowser.CHROME) | 8369 @SupportedBrowser(SupportedBrowser.CHROME) |
| 8206 @SupportedBrowser(SupportedBrowser.SAFARI) | 8370 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 8207 @Experimental | 8371 @Experimental |
| 8372 // http://dev.w3.org/csswg/css-regions/#dom-region-regionoverset | |
| 8208 final String regionOverset; | 8373 final String regionOverset; |
| 8209 | 8374 |
| 8210 @JSName('webkitShadowRoot') | 8375 @JSName('webkitShadowRoot') |
| 8211 @DomName('Element.webkitShadowRoot') | 8376 @DomName('Element.webkitShadowRoot') |
| 8212 @DocsEditable | 8377 @DocsEditable |
| 8213 @SupportedBrowser(SupportedBrowser.CHROME) | 8378 @SupportedBrowser(SupportedBrowser.CHROME) |
| 8214 @SupportedBrowser(SupportedBrowser.SAFARI) | 8379 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 8215 @Experimental | 8380 @Experimental |
| 8381 // https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/shadow/index.html#ap i-shadow-aware-create-shadow-root | |
| 8216 final ShadowRoot shadowRoot; | 8382 final ShadowRoot shadowRoot; |
| 8217 | 8383 |
| 8218 @DomName('Element.blur') | 8384 @DomName('Element.blur') |
| 8219 @DocsEditable | 8385 @DocsEditable |
| 8220 void blur() native; | 8386 void blur() native; |
| 8221 | 8387 |
| 8222 @DomName('Element.focus') | 8388 @DomName('Element.focus') |
| 8223 @DocsEditable | 8389 @DocsEditable |
| 8224 void focus() native; | 8390 void focus() native; |
| 8225 | 8391 |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 8314 void scrollByPages(int pages) native; | 8480 void scrollByPages(int pages) native; |
| 8315 | 8481 |
| 8316 @JSName('scrollIntoView') | 8482 @JSName('scrollIntoView') |
| 8317 @DomName('Element.scrollIntoView') | 8483 @DomName('Element.scrollIntoView') |
| 8318 @DocsEditable | 8484 @DocsEditable |
| 8319 void $dom_scrollIntoView([bool alignWithTop]) native; | 8485 void $dom_scrollIntoView([bool alignWithTop]) native; |
| 8320 | 8486 |
| 8321 @JSName('scrollIntoViewIfNeeded') | 8487 @JSName('scrollIntoViewIfNeeded') |
| 8322 @DomName('Element.scrollIntoViewIfNeeded') | 8488 @DomName('Element.scrollIntoViewIfNeeded') |
| 8323 @DocsEditable | 8489 @DocsEditable |
| 8490 // http://docs.webplatform.org/wiki/dom/methods/scrollIntoViewIfNeeded | |
| 8491 @Experimental // non-standard | |
| 8324 void $dom_scrollIntoViewIfNeeded([bool centerIfNeeded]) native; | 8492 void $dom_scrollIntoViewIfNeeded([bool centerIfNeeded]) native; |
| 8325 | 8493 |
| 8326 @JSName('setAttribute') | 8494 @JSName('setAttribute') |
| 8327 @DomName('Element.setAttribute') | 8495 @DomName('Element.setAttribute') |
| 8328 @DocsEditable | 8496 @DocsEditable |
| 8329 void $dom_setAttribute(String name, String value) native; | 8497 void $dom_setAttribute(String name, String value) native; |
| 8330 | 8498 |
| 8331 @JSName('setAttributeNS') | 8499 @JSName('setAttributeNS') |
| 8332 @DomName('Element.setAttributeNS') | 8500 @DomName('Element.setAttributeNS') |
| 8333 @DocsEditable | 8501 @DocsEditable |
| 8334 void $dom_setAttributeNS(String namespaceURI, String qualifiedName, String val ue) native; | 8502 void $dom_setAttributeNS(String namespaceURI, String qualifiedName, String val ue) native; |
| 8335 | 8503 |
| 8336 @JSName('webkitCreateShadowRoot') | 8504 @JSName('webkitCreateShadowRoot') |
| 8337 @DomName('Element.webkitCreateShadowRoot') | 8505 @DomName('Element.webkitCreateShadowRoot') |
| 8338 @DocsEditable | 8506 @DocsEditable |
| 8339 @SupportedBrowser(SupportedBrowser.CHROME, '25') | 8507 @SupportedBrowser(SupportedBrowser.CHROME, '25') |
| 8340 @Experimental | 8508 @Experimental |
| 8509 // https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/shadow/index.html#ap i-shadow-aware-create-shadow-root | |
| 8341 ShadowRoot createShadowRoot() native; | 8510 ShadowRoot createShadowRoot() native; |
| 8342 | 8511 |
| 8343 @JSName('webkitGetRegionFlowRanges') | 8512 @JSName('webkitGetRegionFlowRanges') |
| 8344 @DomName('Element.webkitGetRegionFlowRanges') | 8513 @DomName('Element.webkitGetRegionFlowRanges') |
| 8345 @DocsEditable | 8514 @DocsEditable |
| 8346 @SupportedBrowser(SupportedBrowser.CHROME) | 8515 @SupportedBrowser(SupportedBrowser.CHROME) |
| 8347 @SupportedBrowser(SupportedBrowser.SAFARI) | 8516 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 8348 @Experimental | 8517 @Experimental |
| 8518 // http://dev.w3.org/csswg/css-regions/#dom-region-getregionflowranges | |
| 8349 List<Range> getRegionFlowRanges() native; | 8519 List<Range> getRegionFlowRanges() native; |
| 8350 | 8520 |
| 8351 @JSName('webkitRequestFullScreen') | 8521 @JSName('webkitRequestFullScreen') |
| 8352 @DomName('Element.webkitRequestFullScreen') | 8522 @DomName('Element.webkitRequestFullScreen') |
| 8353 @DocsEditable | 8523 @DocsEditable |
| 8354 @SupportedBrowser(SupportedBrowser.CHROME) | 8524 @SupportedBrowser(SupportedBrowser.CHROME) |
| 8355 @SupportedBrowser(SupportedBrowser.SAFARI) | 8525 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 8356 @Experimental | 8526 @Experimental |
| 8527 // https://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html#dom-element-re questfullscreen | |
| 8528 @deprecated // deprecated | |
| 8357 void requestFullScreen(int flags) native; | 8529 void requestFullScreen(int flags) native; |
| 8358 | 8530 |
| 8359 @JSName('webkitRequestFullscreen') | 8531 @JSName('webkitRequestFullscreen') |
| 8360 @DomName('Element.webkitRequestFullscreen') | 8532 @DomName('Element.webkitRequestFullscreen') |
| 8361 @DocsEditable | 8533 @DocsEditable |
| 8362 @SupportedBrowser(SupportedBrowser.CHROME) | 8534 @SupportedBrowser(SupportedBrowser.CHROME) |
| 8363 @SupportedBrowser(SupportedBrowser.SAFARI) | 8535 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 8364 @Experimental | 8536 @Experimental |
| 8537 // https://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html#dom-element-re questfullscreen | |
| 8365 void requestFullscreen() native; | 8538 void requestFullscreen() native; |
| 8366 | 8539 |
| 8367 @JSName('webkitRequestPointerLock') | 8540 @JSName('webkitRequestPointerLock') |
| 8368 @DomName('Element.webkitRequestPointerLock') | 8541 @DomName('Element.webkitRequestPointerLock') |
| 8369 @DocsEditable | 8542 @DocsEditable |
| 8370 @SupportedBrowser(SupportedBrowser.CHROME) | 8543 @SupportedBrowser(SupportedBrowser.CHROME) |
| 8371 @SupportedBrowser(SupportedBrowser.SAFARI) | 8544 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 8372 @Experimental | 8545 @Experimental |
| 8546 // https://dvcs.w3.org/hg/pointerlock/raw-file/default/index.html#widl-Element -requestPointerLock-void | |
| 8373 void requestPointerLock() native; | 8547 void requestPointerLock() native; |
| 8374 | 8548 |
| 8375 @DomName('Element.onabort') | 8549 @DomName('Element.onabort') |
| 8376 @DocsEditable | 8550 @DocsEditable |
| 8377 Stream<Event> get onAbort => abortEvent.forTarget(this); | 8551 Stream<Event> get onAbort => abortEvent.forTarget(this); |
| 8378 | 8552 |
| 8379 @DomName('Element.onbeforecopy') | 8553 @DomName('Element.onbeforecopy') |
| 8380 @DocsEditable | 8554 @DocsEditable |
| 8381 Stream<Event> get onBeforeCopy => beforeCopyEvent.forTarget(this); | 8555 Stream<Event> get onBeforeCopy => beforeCopyEvent.forTarget(this); |
| 8382 | 8556 |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 8491 @DomName('Element.onmouseover') | 8665 @DomName('Element.onmouseover') |
| 8492 @DocsEditable | 8666 @DocsEditable |
| 8493 Stream<MouseEvent> get onMouseOver => mouseOverEvent.forTarget(this); | 8667 Stream<MouseEvent> get onMouseOver => mouseOverEvent.forTarget(this); |
| 8494 | 8668 |
| 8495 @DomName('Element.onmouseup') | 8669 @DomName('Element.onmouseup') |
| 8496 @DocsEditable | 8670 @DocsEditable |
| 8497 Stream<MouseEvent> get onMouseUp => mouseUpEvent.forTarget(this); | 8671 Stream<MouseEvent> get onMouseUp => mouseUpEvent.forTarget(this); |
| 8498 | 8672 |
| 8499 @DomName('Element.onmousewheel') | 8673 @DomName('Element.onmousewheel') |
| 8500 @DocsEditable | 8674 @DocsEditable |
| 8675 // http://www.w3.org/TR/DOM-Level-3-Events/#events-wheelevents | |
| 8676 @Experimental // non-standard | |
| 8501 Stream<WheelEvent> get onMouseWheel => mouseWheelEvent.forTarget(this); | 8677 Stream<WheelEvent> get onMouseWheel => mouseWheelEvent.forTarget(this); |
| 8502 | 8678 |
| 8503 @DomName('Element.onpaste') | 8679 @DomName('Element.onpaste') |
| 8504 @DocsEditable | 8680 @DocsEditable |
| 8505 Stream<Event> get onPaste => pasteEvent.forTarget(this); | 8681 Stream<Event> get onPaste => pasteEvent.forTarget(this); |
| 8506 | 8682 |
| 8507 @DomName('Element.onreset') | 8683 @DomName('Element.onreset') |
| 8508 @DocsEditable | 8684 @DocsEditable |
| 8509 Stream<Event> get onReset => resetEvent.forTarget(this); | 8685 Stream<Event> get onReset => resetEvent.forTarget(this); |
| 8510 | 8686 |
| 8511 @DomName('Element.onscroll') | 8687 @DomName('Element.onscroll') |
| 8512 @DocsEditable | 8688 @DocsEditable |
| 8513 Stream<Event> get onScroll => scrollEvent.forTarget(this); | 8689 Stream<Event> get onScroll => scrollEvent.forTarget(this); |
| 8514 | 8690 |
| 8515 @DomName('Element.onsearch') | 8691 @DomName('Element.onsearch') |
| 8516 @DocsEditable | 8692 @DocsEditable |
| 8693 // http://www.w3.org/TR/html-markup/input.search.html | |
| 8694 @Experimental | |
| 8517 Stream<Event> get onSearch => searchEvent.forTarget(this); | 8695 Stream<Event> get onSearch => searchEvent.forTarget(this); |
| 8518 | 8696 |
| 8519 @DomName('Element.onselect') | 8697 @DomName('Element.onselect') |
| 8520 @DocsEditable | 8698 @DocsEditable |
| 8521 Stream<Event> get onSelect => selectEvent.forTarget(this); | 8699 Stream<Event> get onSelect => selectEvent.forTarget(this); |
| 8522 | 8700 |
| 8523 @DomName('Element.onselectstart') | 8701 @DomName('Element.onselectstart') |
| 8524 @DocsEditable | 8702 @DocsEditable |
| 8703 @Experimental // nonstandard | |
| 8525 Stream<Event> get onSelectStart => selectStartEvent.forTarget(this); | 8704 Stream<Event> get onSelectStart => selectStartEvent.forTarget(this); |
| 8526 | 8705 |
| 8527 @DomName('Element.onsubmit') | 8706 @DomName('Element.onsubmit') |
| 8528 @DocsEditable | 8707 @DocsEditable |
| 8529 Stream<Event> get onSubmit => submitEvent.forTarget(this); | 8708 Stream<Event> get onSubmit => submitEvent.forTarget(this); |
| 8530 | 8709 |
| 8531 @DomName('Element.ontouchcancel') | 8710 @DomName('Element.ontouchcancel') |
| 8532 @DocsEditable | 8711 @DocsEditable |
| 8712 // http://www.w3.org/TR/touch-events/ | |
| 8713 @Experimental | |
| 8533 Stream<TouchEvent> get onTouchCancel => touchCancelEvent.forTarget(this); | 8714 Stream<TouchEvent> get onTouchCancel => touchCancelEvent.forTarget(this); |
| 8534 | 8715 |
| 8535 @DomName('Element.ontouchend') | 8716 @DomName('Element.ontouchend') |
| 8536 @DocsEditable | 8717 @DocsEditable |
| 8718 // http://www.w3.org/TR/touch-events/ | |
| 8719 @Experimental | |
| 8537 Stream<TouchEvent> get onTouchEnd => touchEndEvent.forTarget(this); | 8720 Stream<TouchEvent> get onTouchEnd => touchEndEvent.forTarget(this); |
| 8538 | 8721 |
| 8539 @DomName('Element.ontouchenter') | 8722 @DomName('Element.ontouchenter') |
| 8540 @DocsEditable | 8723 @DocsEditable |
| 8724 // http://www.w3.org/TR/touch-events/ | |
| 8725 @Experimental | |
| 8541 Stream<TouchEvent> get onTouchEnter => touchEnterEvent.forTarget(this); | 8726 Stream<TouchEvent> get onTouchEnter => touchEnterEvent.forTarget(this); |
| 8542 | 8727 |
| 8543 @DomName('Element.ontouchleave') | 8728 @DomName('Element.ontouchleave') |
| 8544 @DocsEditable | 8729 @DocsEditable |
| 8730 // http://www.w3.org/TR/touch-events/ | |
| 8731 @Experimental | |
| 8545 Stream<TouchEvent> get onTouchLeave => touchLeaveEvent.forTarget(this); | 8732 Stream<TouchEvent> get onTouchLeave => touchLeaveEvent.forTarget(this); |
| 8546 | 8733 |
| 8547 @DomName('Element.ontouchmove') | 8734 @DomName('Element.ontouchmove') |
| 8548 @DocsEditable | 8735 @DocsEditable |
| 8736 // http://www.w3.org/TR/touch-events/ | |
| 8737 @Experimental | |
| 8549 Stream<TouchEvent> get onTouchMove => touchMoveEvent.forTarget(this); | 8738 Stream<TouchEvent> get onTouchMove => touchMoveEvent.forTarget(this); |
| 8550 | 8739 |
| 8551 @DomName('Element.ontouchstart') | 8740 @DomName('Element.ontouchstart') |
| 8552 @DocsEditable | 8741 @DocsEditable |
| 8742 // http://www.w3.org/TR/touch-events/ | |
| 8743 @Experimental | |
| 8553 Stream<TouchEvent> get onTouchStart => touchStartEvent.forTarget(this); | 8744 Stream<TouchEvent> get onTouchStart => touchStartEvent.forTarget(this); |
| 8554 | 8745 |
| 8555 @DomName('Element.onwebkitTransitionEnd') | 8746 @DomName('Element.onwebkitTransitionEnd') |
| 8556 @DocsEditable | 8747 @DocsEditable |
| 8557 @SupportedBrowser(SupportedBrowser.CHROME) | 8748 @SupportedBrowser(SupportedBrowser.CHROME) |
| 8558 @SupportedBrowser(SupportedBrowser.FIREFOX) | 8749 @SupportedBrowser(SupportedBrowser.FIREFOX) |
| 8559 @SupportedBrowser(SupportedBrowser.IE, '10') | 8750 @SupportedBrowser(SupportedBrowser.IE, '10') |
| 8560 @SupportedBrowser(SupportedBrowser.SAFARI) | 8751 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 8752 @Deprecated | |
| 8561 Stream<TransitionEvent> get onTransitionEnd => transitionEndEvent.forTarget(th is); | 8753 Stream<TransitionEvent> get onTransitionEnd => transitionEndEvent.forTarget(th is); |
| 8562 | 8754 |
| 8563 @DomName('Element.onwebkitfullscreenchange') | 8755 @DomName('Element.onwebkitfullscreenchange') |
| 8564 @DocsEditable | 8756 @DocsEditable |
| 8757 // https://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html | |
| 8758 @Experimental | |
| 8565 Stream<Event> get onFullscreenChange => fullscreenChangeEvent.forTarget(this); | 8759 Stream<Event> get onFullscreenChange => fullscreenChangeEvent.forTarget(this); |
| 8566 | 8760 |
| 8567 @DomName('Element.onwebkitfullscreenerror') | 8761 @DomName('Element.onwebkitfullscreenerror') |
| 8568 @DocsEditable | 8762 @DocsEditable |
| 8763 // https://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html | |
| 8764 @Experimental | |
| 8569 Stream<Event> get onFullscreenError => fullscreenErrorEvent.forTarget(this); | 8765 Stream<Event> get onFullscreenError => fullscreenErrorEvent.forTarget(this); |
| 8570 | 8766 |
| 8571 } | 8767 } |
| 8572 | 8768 |
| 8573 | 8769 |
| 8574 final _START_TAG_REGEXP = new RegExp('<(\\w+)'); | 8770 final _START_TAG_REGEXP = new RegExp('<(\\w+)'); |
| 8575 class _ElementFactoryProvider { | 8771 class _ElementFactoryProvider { |
| 8576 static const _CUSTOM_PARENT_TAG_MAP = const { | 8772 static const _CUSTOM_PARENT_TAG_MAP = const { |
| 8577 'body' : 'html', | 8773 'body' : 'html', |
| 8578 'head' : 'html', | 8774 'head' : 'html', |
| (...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 8708 static const CENTER = const ScrollAlignment._internal('CENTER'); | 8904 static const CENTER = const ScrollAlignment._internal('CENTER'); |
| 8709 /// Attempt to align the element to the bottom of the scrollable area. | 8905 /// Attempt to align the element to the bottom of the scrollable area. |
| 8710 static const BOTTOM = const ScrollAlignment._internal('BOTTOM'); | 8906 static const BOTTOM = const ScrollAlignment._internal('BOTTOM'); |
| 8711 } | 8907 } |
| 8712 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 8908 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 8713 // for details. All rights reserved. Use of this source code is governed by a | 8909 // for details. All rights reserved. Use of this source code is governed by a |
| 8714 // BSD-style license that can be found in the LICENSE file. | 8910 // BSD-style license that can be found in the LICENSE file. |
| 8715 | 8911 |
| 8716 | 8912 |
| 8717 @DomName('ElementTraversal') | 8913 @DomName('ElementTraversal') |
| 8914 @Unstable | |
| 8718 abstract class ElementTraversal { | 8915 abstract class ElementTraversal { |
| 8719 | 8916 |
| 8720 int $dom_childElementCount; | 8917 int $dom_childElementCount; |
| 8721 | 8918 |
| 8722 Element $dom_firstElementChild; | 8919 Element $dom_firstElementChild; |
| 8723 | 8920 |
| 8724 Element $dom_lastElementChild; | 8921 Element $dom_lastElementChild; |
| 8725 | 8922 |
| 8726 Element nextElementSibling; | 8923 Element nextElementSibling; |
| 8727 | 8924 |
| 8728 Element previousElementSibling; | 8925 Element previousElementSibling; |
| 8729 } | 8926 } |
| 8730 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 8927 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 8731 // for details. All rights reserved. Use of this source code is governed by a | 8928 // for details. All rights reserved. Use of this source code is governed by a |
| 8732 // BSD-style license that can be found in the LICENSE file. | 8929 // BSD-style license that can be found in the LICENSE file. |
| 8733 | 8930 |
| 8734 | 8931 |
| 8735 @DocsEditable | 8932 @DocsEditable |
| 8736 @DomName('HTMLEmbedElement') | 8933 @DomName('HTMLEmbedElement') |
| 8737 @SupportedBrowser(SupportedBrowser.CHROME) | 8934 @SupportedBrowser(SupportedBrowser.CHROME) |
| 8738 @SupportedBrowser(SupportedBrowser.IE) | 8935 @SupportedBrowser(SupportedBrowser.IE) |
| 8739 @SupportedBrowser(SupportedBrowser.SAFARI) | 8936 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 8937 @Unstable | |
| 8740 class EmbedElement extends Element native "HTMLEmbedElement" { | 8938 class EmbedElement extends Element native "HTMLEmbedElement" { |
| 8741 | 8939 |
| 8742 @DomName('HTMLEmbedElement.HTMLEmbedElement') | 8940 @DomName('HTMLEmbedElement.HTMLEmbedElement') |
| 8743 @DocsEditable | 8941 @DocsEditable |
| 8744 factory EmbedElement() => document.$dom_createElement("embed"); | 8942 factory EmbedElement() => document.$dom_createElement("embed"); |
| 8745 | 8943 |
| 8746 /// Checks if this type is supported on the current platform. | 8944 /// Checks if this type is supported on the current platform. |
| 8747 static bool get supported => Element.isTagSupported('embed'); | 8945 static bool get supported => Element.isTagSupported('embed'); |
| 8748 | 8946 |
| 8749 @DomName('HTMLEmbedElement.align') | 8947 @DomName('HTMLEmbedElement.align') |
| 8750 @DocsEditable | 8948 @DocsEditable |
| 8949 // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#H TMLEmbedElement-partial | |
| 8950 @deprecated // deprecated | |
| 8751 String align; | 8951 String align; |
| 8752 | 8952 |
| 8753 @DomName('HTMLEmbedElement.height') | 8953 @DomName('HTMLEmbedElement.height') |
| 8754 @DocsEditable | 8954 @DocsEditable |
| 8755 String height; | 8955 String height; |
| 8756 | 8956 |
| 8757 @DomName('HTMLEmbedElement.name') | 8957 @DomName('HTMLEmbedElement.name') |
| 8758 @DocsEditable | 8958 @DocsEditable |
| 8759 String name; | 8959 String name; |
| 8760 | 8960 |
| 8761 @DomName('HTMLEmbedElement.src') | 8961 @DomName('HTMLEmbedElement.src') |
| 8762 @DocsEditable | 8962 @DocsEditable |
| 8763 String src; | 8963 String src; |
| 8764 | 8964 |
| 8765 @DomName('HTMLEmbedElement.type') | 8965 @DomName('HTMLEmbedElement.type') |
| 8766 @DocsEditable | 8966 @DocsEditable |
| 8767 String type; | 8967 String type; |
| 8768 | 8968 |
| 8769 @DomName('HTMLEmbedElement.width') | 8969 @DomName('HTMLEmbedElement.width') |
| 8770 @DocsEditable | 8970 @DocsEditable |
| 8771 String width; | 8971 String width; |
| 8772 } | 8972 } |
| 8773 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 8973 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 8774 // for details. All rights reserved. Use of this source code is governed by a | 8974 // for details. All rights reserved. Use of this source code is governed by a |
| 8775 // BSD-style license that can be found in the LICENSE file. | 8975 // BSD-style license that can be found in the LICENSE file. |
| 8776 | 8976 |
| 8777 // WARNING: Do not edit - generated code. | 8977 // WARNING: Do not edit - generated code. |
| 8778 | 8978 |
| 8779 | 8979 |
| 8980 @DomName('EntriesCallback') | |
| 8981 // http://www.w3.org/TR/file-system-api/#the-entriescallback-interface | |
| 8982 @Experimental | |
| 8780 typedef void _EntriesCallback(List<Entry> entries); | 8983 typedef void _EntriesCallback(List<Entry> entries); |
| 8781 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 8984 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 8782 // for details. All rights reserved. Use of this source code is governed by a | 8985 // for details. All rights reserved. Use of this source code is governed by a |
| 8783 // BSD-style license that can be found in the LICENSE file. | 8986 // BSD-style license that can be found in the LICENSE file. |
| 8784 | 8987 |
| 8785 | 8988 |
| 8786 @DocsEditable | 8989 @DocsEditable |
| 8787 @DomName('Entry') | 8990 @DomName('Entry') |
| 8991 // http://www.w3.org/TR/file-system-api/#the-entry-interface | |
| 8992 @Experimental | |
| 8788 class Entry native "Entry" { | 8993 class Entry native "Entry" { |
| 8789 | 8994 |
| 8790 @DomName('Entry.filesystem') | 8995 @DomName('Entry.filesystem') |
| 8791 @DocsEditable | 8996 @DocsEditable |
| 8792 final FileSystem filesystem; | 8997 final FileSystem filesystem; |
| 8793 | 8998 |
| 8794 @DomName('Entry.fullPath') | 8999 @DomName('Entry.fullPath') |
| 8795 @DocsEditable | 9000 @DocsEditable |
| 8796 final String fullPath; | 9001 final String fullPath; |
| 8797 | 9002 |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 8892 @DocsEditable | 9097 @DocsEditable |
| 8893 String toUrl() native; | 9098 String toUrl() native; |
| 8894 } | 9099 } |
| 8895 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 9100 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 8896 // for details. All rights reserved. Use of this source code is governed by a | 9101 // for details. All rights reserved. Use of this source code is governed by a |
| 8897 // BSD-style license that can be found in the LICENSE file. | 9102 // BSD-style license that can be found in the LICENSE file. |
| 8898 | 9103 |
| 8899 // WARNING: Do not edit - generated code. | 9104 // WARNING: Do not edit - generated code. |
| 8900 | 9105 |
| 8901 | 9106 |
| 9107 @DomName('EntryCallback') | |
| 9108 // http://www.w3.org/TR/file-system-api/#the-entrycallback-interface | |
| 9109 @Experimental | |
| 8902 typedef void _EntryCallback(Entry entry); | 9110 typedef void _EntryCallback(Entry entry); |
| 8903 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 9111 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 8904 // for details. All rights reserved. Use of this source code is governed by a | 9112 // for details. All rights reserved. Use of this source code is governed by a |
| 8905 // BSD-style license that can be found in the LICENSE file. | 9113 // BSD-style license that can be found in the LICENSE file. |
| 8906 | 9114 |
| 8907 // WARNING: Do not edit - generated code. | 9115 // WARNING: Do not edit - generated code. |
| 8908 | 9116 |
| 8909 | 9117 |
| 9118 @DomName('ErrorCallback') | |
| 9119 // http://www.w3.org/TR/file-system-api/#the-errorcallback-interface | |
| 9120 @Experimental | |
| 8910 typedef void _ErrorCallback(FileError error); | 9121 typedef void _ErrorCallback(FileError error); |
| 8911 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 9122 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 8912 // for details. All rights reserved. Use of this source code is governed by a | 9123 // for details. All rights reserved. Use of this source code is governed by a |
| 8913 // BSD-style license that can be found in the LICENSE file. | 9124 // BSD-style license that can be found in the LICENSE file. |
| 8914 | 9125 |
| 8915 | 9126 |
| 8916 @DocsEditable | 9127 @DocsEditable |
| 8917 @DomName('ErrorEvent') | 9128 @DomName('ErrorEvent') |
| 9129 @Unstable | |
| 8918 class ErrorEvent extends Event native "ErrorEvent" { | 9130 class ErrorEvent extends Event native "ErrorEvent" { |
| 8919 | 9131 |
| 8920 @DomName('ErrorEvent.filename') | 9132 @DomName('ErrorEvent.filename') |
| 8921 @DocsEditable | 9133 @DocsEditable |
| 8922 final String filename; | 9134 final String filename; |
| 8923 | 9135 |
| 8924 @DomName('ErrorEvent.lineno') | 9136 @DomName('ErrorEvent.lineno') |
| 8925 @DocsEditable | 9137 @DocsEditable |
| 8926 final int lineno; | 9138 final int lineno; |
| 8927 | 9139 |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 8964 e.$dom_initEvent(name, canBubble, cancelable); | 9176 e.$dom_initEvent(name, canBubble, cancelable); |
| 8965 return e; | 9177 return e; |
| 8966 } | 9178 } |
| 8967 | 9179 |
| 8968 @DomName('Event.AT_TARGET') | 9180 @DomName('Event.AT_TARGET') |
| 8969 @DocsEditable | 9181 @DocsEditable |
| 8970 static const int AT_TARGET = 2; | 9182 static const int AT_TARGET = 2; |
| 8971 | 9183 |
| 8972 @DomName('Event.BLUR') | 9184 @DomName('Event.BLUR') |
| 8973 @DocsEditable | 9185 @DocsEditable |
| 9186 // https://developer.mozilla.org/en-US/docs/DOM/window.captureEvents | |
| 9187 @deprecated // deprecated | |
| 8974 static const int BLUR = 8192; | 9188 static const int BLUR = 8192; |
| 8975 | 9189 |
| 8976 @DomName('Event.BUBBLING_PHASE') | 9190 @DomName('Event.BUBBLING_PHASE') |
| 8977 @DocsEditable | 9191 @DocsEditable |
| 8978 static const int BUBBLING_PHASE = 3; | 9192 static const int BUBBLING_PHASE = 3; |
| 8979 | 9193 |
| 8980 @DomName('Event.CAPTURING_PHASE') | 9194 @DomName('Event.CAPTURING_PHASE') |
| 8981 @DocsEditable | 9195 @DocsEditable |
| 8982 static const int CAPTURING_PHASE = 1; | 9196 static const int CAPTURING_PHASE = 1; |
| 8983 | 9197 |
| 8984 @DomName('Event.CHANGE') | 9198 @DomName('Event.CHANGE') |
| 8985 @DocsEditable | 9199 @DocsEditable |
| 9200 // https://developer.mozilla.org/en-US/docs/DOM/window.captureEvents | |
| 9201 @deprecated // deprecated | |
| 8986 static const int CHANGE = 32768; | 9202 static const int CHANGE = 32768; |
| 8987 | 9203 |
| 8988 @DomName('Event.CLICK') | 9204 @DomName('Event.CLICK') |
| 8989 @DocsEditable | 9205 @DocsEditable |
| 9206 // https://developer.mozilla.org/en-US/docs/DOM/window.captureEvents | |
| 9207 @deprecated // deprecated | |
| 8990 static const int CLICK = 64; | 9208 static const int CLICK = 64; |
| 8991 | 9209 |
| 8992 @DomName('Event.DBLCLICK') | 9210 @DomName('Event.DBLCLICK') |
| 8993 @DocsEditable | 9211 @DocsEditable |
| 9212 // https://developer.mozilla.org/en-US/docs/DOM/window.captureEvents | |
| 9213 @deprecated // deprecated | |
| 8994 static const int DBLCLICK = 128; | 9214 static const int DBLCLICK = 128; |
| 8995 | 9215 |
| 8996 @DomName('Event.DRAGDROP') | 9216 @DomName('Event.DRAGDROP') |
| 8997 @DocsEditable | 9217 @DocsEditable |
| 9218 // https://developer.mozilla.org/en-US/docs/DOM/window.captureEvents | |
| 9219 @deprecated // deprecated | |
| 8998 static const int DRAGDROP = 2048; | 9220 static const int DRAGDROP = 2048; |
| 8999 | 9221 |
| 9000 @DomName('Event.FOCUS') | 9222 @DomName('Event.FOCUS') |
| 9001 @DocsEditable | 9223 @DocsEditable |
| 9224 // https://developer.mozilla.org/en-US/docs/DOM/window.captureEvents | |
| 9225 @deprecated // deprecated | |
| 9002 static const int FOCUS = 4096; | 9226 static const int FOCUS = 4096; |
| 9003 | 9227 |
| 9004 @DomName('Event.KEYDOWN') | 9228 @DomName('Event.KEYDOWN') |
| 9005 @DocsEditable | 9229 @DocsEditable |
| 9230 // https://developer.mozilla.org/en-US/docs/DOM/window.captureEvents | |
| 9231 @deprecated // deprecated | |
| 9006 static const int KEYDOWN = 256; | 9232 static const int KEYDOWN = 256; |
| 9007 | 9233 |
| 9008 @DomName('Event.KEYPRESS') | 9234 @DomName('Event.KEYPRESS') |
| 9009 @DocsEditable | 9235 @DocsEditable |
| 9236 // https://developer.mozilla.org/en-US/docs/DOM/window.captureEvents | |
| 9237 @deprecated // deprecated | |
| 9010 static const int KEYPRESS = 1024; | 9238 static const int KEYPRESS = 1024; |
| 9011 | 9239 |
| 9012 @DomName('Event.KEYUP') | 9240 @DomName('Event.KEYUP') |
| 9013 @DocsEditable | 9241 @DocsEditable |
| 9242 // https://developer.mozilla.org/en-US/docs/DOM/window.captureEvents | |
| 9243 @deprecated // deprecated | |
| 9014 static const int KEYUP = 512; | 9244 static const int KEYUP = 512; |
| 9015 | 9245 |
| 9016 @DomName('Event.MOUSEDOWN') | 9246 @DomName('Event.MOUSEDOWN') |
| 9017 @DocsEditable | 9247 @DocsEditable |
| 9248 // https://developer.mozilla.org/en-US/docs/DOM/window.captureEvents | |
| 9249 @deprecated // deprecated | |
| 9018 static const int MOUSEDOWN = 1; | 9250 static const int MOUSEDOWN = 1; |
| 9019 | 9251 |
| 9020 @DomName('Event.MOUSEDRAG') | 9252 @DomName('Event.MOUSEDRAG') |
| 9021 @DocsEditable | 9253 @DocsEditable |
| 9254 // https://developer.mozilla.org/en-US/docs/DOM/window.captureEvents | |
| 9255 @deprecated // deprecated | |
| 9022 static const int MOUSEDRAG = 32; | 9256 static const int MOUSEDRAG = 32; |
| 9023 | 9257 |
| 9024 @DomName('Event.MOUSEMOVE') | 9258 @DomName('Event.MOUSEMOVE') |
| 9025 @DocsEditable | 9259 @DocsEditable |
| 9260 // https://developer.mozilla.org/en-US/docs/DOM/window.captureEvents | |
| 9261 @deprecated // deprecated | |
| 9026 static const int MOUSEMOVE = 16; | 9262 static const int MOUSEMOVE = 16; |
| 9027 | 9263 |
| 9028 @DomName('Event.MOUSEOUT') | 9264 @DomName('Event.MOUSEOUT') |
| 9029 @DocsEditable | 9265 @DocsEditable |
| 9266 // https://developer.mozilla.org/en-US/docs/DOM/window.captureEvents | |
| 9267 @deprecated // deprecated | |
| 9030 static const int MOUSEOUT = 8; | 9268 static const int MOUSEOUT = 8; |
| 9031 | 9269 |
| 9032 @DomName('Event.MOUSEOVER') | 9270 @DomName('Event.MOUSEOVER') |
| 9033 @DocsEditable | 9271 @DocsEditable |
| 9272 // https://developer.mozilla.org/en-US/docs/DOM/window.captureEvents | |
| 9273 @deprecated // deprecated | |
| 9034 static const int MOUSEOVER = 4; | 9274 static const int MOUSEOVER = 4; |
| 9035 | 9275 |
| 9036 @DomName('Event.MOUSEUP') | 9276 @DomName('Event.MOUSEUP') |
| 9037 @DocsEditable | 9277 @DocsEditable |
| 9278 // https://developer.mozilla.org/en-US/docs/DOM/window.captureEvents | |
| 9279 @deprecated // deprecated | |
| 9038 static const int MOUSEUP = 2; | 9280 static const int MOUSEUP = 2; |
| 9039 | 9281 |
| 9040 @DomName('Event.NONE') | 9282 @DomName('Event.NONE') |
| 9041 @DocsEditable | 9283 @DocsEditable |
| 9284 // https://developer.mozilla.org/en-US/docs/DOM/window.captureEvents | |
| 9285 @deprecated // deprecated | |
| 9042 static const int NONE = 0; | 9286 static const int NONE = 0; |
| 9043 | 9287 |
| 9044 @DomName('Event.SELECT') | 9288 @DomName('Event.SELECT') |
| 9045 @DocsEditable | 9289 @DocsEditable |
| 9290 // https://developer.mozilla.org/en-US/docs/DOM/window.captureEvents | |
| 9291 @deprecated // deprecated | |
| 9046 static const int SELECT = 16384; | 9292 static const int SELECT = 16384; |
| 9047 | 9293 |
| 9048 @DomName('Event.bubbles') | 9294 @DomName('Event.bubbles') |
| 9049 @DocsEditable | 9295 @DocsEditable |
| 9050 final bool bubbles; | 9296 final bool bubbles; |
| 9051 | 9297 |
| 9052 @DomName('Event.cancelBubble') | 9298 @DomName('Event.cancelBubble') |
| 9053 @DocsEditable | 9299 @DocsEditable |
| 9300 // http://www.w3.org/TR/DOM-Level-3-Events/#events-event-type-stopPropagation | |
| 9301 @deprecated // deprecated | |
| 9054 bool cancelBubble; | 9302 bool cancelBubble; |
| 9055 | 9303 |
| 9056 @DomName('Event.cancelable') | 9304 @DomName('Event.cancelable') |
| 9057 @DocsEditable | 9305 @DocsEditable |
| 9058 final bool cancelable; | 9306 final bool cancelable; |
| 9059 | 9307 |
| 9060 @DomName('Event.clipboardData') | 9308 @DomName('Event.clipboardData') |
| 9061 @DocsEditable | 9309 @DocsEditable |
| 9062 @SupportedBrowser(SupportedBrowser.CHROME) | 9310 @SupportedBrowser(SupportedBrowser.CHROME) |
| 9063 @SupportedBrowser(SupportedBrowser.SAFARI) | 9311 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 9064 @Experimental | 9312 @Experimental |
| 9313 // Part of copy/paste | |
| 9314 @Experimental // nonstandard | |
| 9065 final DataTransfer clipboardData; | 9315 final DataTransfer clipboardData; |
| 9066 | 9316 |
| 9067 EventTarget get currentTarget => _convertNativeToDart_EventTarget(this._get_cu rrentTarget); | 9317 EventTarget get currentTarget => _convertNativeToDart_EventTarget(this._get_cu rrentTarget); |
| 9068 @JSName('currentTarget') | 9318 @JSName('currentTarget') |
| 9069 @DomName('Event.currentTarget') | 9319 @DomName('Event.currentTarget') |
| 9070 @DocsEditable | 9320 @DocsEditable |
| 9071 @Creates('Null') | 9321 @Creates('Null') |
| 9072 @Returns('EventTarget|=Object') | 9322 @Returns('EventTarget|=Object') |
| 9073 final dynamic _get_currentTarget; | 9323 final dynamic _get_currentTarget; |
| 9074 | 9324 |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 9114 void stopPropagation() native; | 9364 void stopPropagation() native; |
| 9115 | 9365 |
| 9116 } | 9366 } |
| 9117 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 9367 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 9118 // for details. All rights reserved. Use of this source code is governed by a | 9368 // for details. All rights reserved. Use of this source code is governed by a |
| 9119 // BSD-style license that can be found in the LICENSE file. | 9369 // BSD-style license that can be found in the LICENSE file. |
| 9120 | 9370 |
| 9121 | 9371 |
| 9122 @DocsEditable | 9372 @DocsEditable |
| 9123 @DomName('EventException') | 9373 @DomName('EventException') |
| 9374 @Unstable | |
| 9124 class EventException native "EventException" { | 9375 class EventException native "EventException" { |
| 9125 | 9376 |
| 9126 @DomName('EventException.DISPATCH_REQUEST_ERR') | 9377 @DomName('EventException.DISPATCH_REQUEST_ERR') |
| 9127 @DocsEditable | 9378 @DocsEditable |
| 9128 static const int DISPATCH_REQUEST_ERR = 1; | 9379 static const int DISPATCH_REQUEST_ERR = 1; |
| 9129 | 9380 |
| 9130 @DomName('EventException.UNSPECIFIED_EVENT_TYPE_ERR') | 9381 @DomName('EventException.UNSPECIFIED_EVENT_TYPE_ERR') |
| 9131 @DocsEditable | 9382 @DocsEditable |
| 9132 static const int UNSPECIFIED_EVENT_TYPE_ERR = 0; | 9383 static const int UNSPECIFIED_EVENT_TYPE_ERR = 0; |
| 9133 | 9384 |
| 9134 @DomName('EventException.code') | 9385 @DomName('EventException.code') |
| 9135 @DocsEditable | 9386 @DocsEditable |
| 9136 final int code; | 9387 final int code; |
| 9137 | 9388 |
| 9138 @DomName('EventException.message') | 9389 @DomName('EventException.message') |
| 9139 @DocsEditable | 9390 @DocsEditable |
| 9391 @deprecated // nonstandard | |
| 9140 final String message; | 9392 final String message; |
| 9141 | 9393 |
| 9142 @DomName('EventException.name') | 9394 @DomName('EventException.name') |
| 9143 @DocsEditable | 9395 @DocsEditable |
| 9396 @deprecated // nonstandard | |
| 9144 final String name; | 9397 final String name; |
| 9145 | 9398 |
| 9146 @DomName('EventException.toString') | 9399 @DomName('EventException.toString') |
| 9147 @DocsEditable | 9400 @DocsEditable |
| 9148 String toString() native; | 9401 String toString() native; |
| 9149 } | 9402 } |
| 9150 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 9403 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 9151 // for details. All rights reserved. Use of this source code is governed by a | 9404 // for details. All rights reserved. Use of this source code is governed by a |
| 9152 // BSD-style license that can be found in the LICENSE file. | 9405 // BSD-style license that can be found in the LICENSE file. |
| 9153 | 9406 |
| 9154 | 9407 |
| 9155 @DomName('EventSource') | 9408 @DomName('EventSource') |
| 9409 // http://www.w3.org/TR/eventsource/#the-eventsource-interface | |
| 9410 @Experimental // stable | |
| 9156 class EventSource extends EventTarget native "EventSource" { | 9411 class EventSource extends EventTarget native "EventSource" { |
| 9157 factory EventSource(String title, {withCredentials: false}) { | 9412 factory EventSource(String title, {withCredentials: false}) { |
| 9158 var parsedOptions = { | 9413 var parsedOptions = { |
| 9159 'withCredentials': withCredentials, | 9414 'withCredentials': withCredentials, |
| 9160 }; | 9415 }; |
| 9161 return EventSource._factoryEventSource(title, parsedOptions); | 9416 return EventSource._factoryEventSource(title, parsedOptions); |
| 9162 } | 9417 } |
| 9163 | 9418 |
| 9164 @DomName('EventSource.errorEvent') | 9419 @DomName('EventSource.errorEvent') |
| 9165 @DocsEditable | 9420 @DocsEditable |
| (...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 9322 void $dom_removeEventListener(String type, EventListener listener, [bool useCa pture]) native; | 9577 void $dom_removeEventListener(String type, EventListener listener, [bool useCa pture]) native; |
| 9323 | 9578 |
| 9324 } | 9579 } |
| 9325 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 9580 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 9326 // for details. All rights reserved. Use of this source code is governed by a | 9581 // for details. All rights reserved. Use of this source code is governed by a |
| 9327 // BSD-style license that can be found in the LICENSE file. | 9582 // BSD-style license that can be found in the LICENSE file. |
| 9328 | 9583 |
| 9329 | 9584 |
| 9330 @DocsEditable | 9585 @DocsEditable |
| 9331 @DomName('HTMLFieldSetElement') | 9586 @DomName('HTMLFieldSetElement') |
| 9587 @Unstable | |
| 9332 class FieldSetElement extends Element native "HTMLFieldSetElement" { | 9588 class FieldSetElement extends Element native "HTMLFieldSetElement" { |
| 9333 | 9589 |
| 9334 @DomName('HTMLFieldSetElement.HTMLFieldSetElement') | 9590 @DomName('HTMLFieldSetElement.HTMLFieldSetElement') |
| 9335 @DocsEditable | 9591 @DocsEditable |
| 9336 factory FieldSetElement() => document.$dom_createElement("fieldset"); | 9592 factory FieldSetElement() => document.$dom_createElement("fieldset"); |
| 9337 | 9593 |
| 9338 @DomName('HTMLFieldSetElement.disabled') | 9594 @DomName('HTMLFieldSetElement.disabled') |
| 9339 @DocsEditable | 9595 @DocsEditable |
| 9340 bool disabled; | 9596 bool disabled; |
| 9341 | 9597 |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 9393 @DomName('File.name') | 9649 @DomName('File.name') |
| 9394 @DocsEditable | 9650 @DocsEditable |
| 9395 final String name; | 9651 final String name; |
| 9396 | 9652 |
| 9397 @JSName('webkitRelativePath') | 9653 @JSName('webkitRelativePath') |
| 9398 @DomName('File.webkitRelativePath') | 9654 @DomName('File.webkitRelativePath') |
| 9399 @DocsEditable | 9655 @DocsEditable |
| 9400 @SupportedBrowser(SupportedBrowser.CHROME) | 9656 @SupportedBrowser(SupportedBrowser.CHROME) |
| 9401 @SupportedBrowser(SupportedBrowser.SAFARI) | 9657 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 9402 @Experimental | 9658 @Experimental |
| 9659 // https://plus.sandbox.google.com/+AddyOsmani/posts/Dk5UhZ6zfF3 | |
| 9403 final String relativePath; | 9660 final String relativePath; |
| 9404 } | 9661 } |
| 9405 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 9662 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 9406 // for details. All rights reserved. Use of this source code is governed by a | 9663 // for details. All rights reserved. Use of this source code is governed by a |
| 9407 // BSD-style license that can be found in the LICENSE file. | 9664 // BSD-style license that can be found in the LICENSE file. |
| 9408 | 9665 |
| 9409 // WARNING: Do not edit - generated code. | 9666 // WARNING: Do not edit - generated code. |
| 9410 | 9667 |
| 9411 | 9668 |
| 9669 @DomName('FileCallback') | |
| 9670 // http://www.w3.org/TR/file-system-api/#the-filecallback-interface | |
| 9671 @Experimental | |
| 9412 typedef void _FileCallback(File file); | 9672 typedef void _FileCallback(File file); |
| 9413 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 9673 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 9414 // for details. All rights reserved. Use of this source code is governed by a | 9674 // for details. All rights reserved. Use of this source code is governed by a |
| 9415 // BSD-style license that can be found in the LICENSE file. | 9675 // BSD-style license that can be found in the LICENSE file. |
| 9416 | 9676 |
| 9417 | 9677 |
| 9418 @DocsEditable | 9678 @DocsEditable |
| 9419 @DomName('FileEntry') | 9679 @DomName('FileEntry') |
| 9680 // http://www.w3.org/TR/file-system-api/#the-fileentry-interface | |
| 9681 @Experimental | |
| 9420 class FileEntry extends Entry native "FileEntry" { | 9682 class FileEntry extends Entry native "FileEntry" { |
| 9421 | 9683 |
| 9422 @JSName('createWriter') | 9684 @JSName('createWriter') |
| 9423 @DomName('FileEntry.createWriter') | 9685 @DomName('FileEntry.createWriter') |
| 9424 @DocsEditable | 9686 @DocsEditable |
| 9425 void _createWriter(_FileWriterCallback successCallback, [_ErrorCallback errorC allback]) native; | 9687 void _createWriter(_FileWriterCallback successCallback, [_ErrorCallback errorC allback]) native; |
| 9426 | 9688 |
| 9427 @JSName('createWriter') | 9689 @JSName('createWriter') |
| 9428 @DomName('FileEntry.createWriter') | 9690 @DomName('FileEntry.createWriter') |
| 9429 @DocsEditable | 9691 @DocsEditable |
| (...skipping 21 matching lines...) Expand all Loading... | |
| 9451 return completer.future; | 9713 return completer.future; |
| 9452 } | 9714 } |
| 9453 } | 9715 } |
| 9454 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 9716 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 9455 // for details. All rights reserved. Use of this source code is governed by a | 9717 // for details. All rights reserved. Use of this source code is governed by a |
| 9456 // BSD-style license that can be found in the LICENSE file. | 9718 // BSD-style license that can be found in the LICENSE file. |
| 9457 | 9719 |
| 9458 | 9720 |
| 9459 @DocsEditable | 9721 @DocsEditable |
| 9460 @DomName('FileError') | 9722 @DomName('FileError') |
| 9723 // http://dev.w3.org/2009/dap/file-system/pub/FileSystem/ | |
| 9724 @Experimental | |
| 9461 class FileError native "FileError" { | 9725 class FileError native "FileError" { |
| 9462 | 9726 |
| 9463 @DomName('FileError.ABORT_ERR') | 9727 @DomName('FileError.ABORT_ERR') |
| 9464 @DocsEditable | 9728 @DocsEditable |
| 9465 static const int ABORT_ERR = 3; | 9729 static const int ABORT_ERR = 3; |
| 9466 | 9730 |
| 9467 @DomName('FileError.ENCODING_ERR') | 9731 @DomName('FileError.ENCODING_ERR') |
| 9468 @DocsEditable | 9732 @DocsEditable |
| 9469 static const int ENCODING_ERR = 5; | 9733 static const int ENCODING_ERR = 5; |
| 9470 | 9734 |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 9512 @DocsEditable | 9776 @DocsEditable |
| 9513 final int code; | 9777 final int code; |
| 9514 } | 9778 } |
| 9515 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 9779 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 9516 // for details. All rights reserved. Use of this source code is governed by a | 9780 // for details. All rights reserved. Use of this source code is governed by a |
| 9517 // BSD-style license that can be found in the LICENSE file. | 9781 // BSD-style license that can be found in the LICENSE file. |
| 9518 | 9782 |
| 9519 | 9783 |
| 9520 @DocsEditable | 9784 @DocsEditable |
| 9521 @DomName('FileException') | 9785 @DomName('FileException') |
| 9786 // http://dev.w3.org/2009/dap/file-system/pub/FileSystem/ | |
| 9787 @Experimental | |
| 9522 class FileException native "FileException" { | 9788 class FileException native "FileException" { |
| 9523 | 9789 |
| 9524 @DomName('FileException.ABORT_ERR') | 9790 @DomName('FileException.ABORT_ERR') |
| 9525 @DocsEditable | 9791 @DocsEditable |
| 9526 static const int ABORT_ERR = 3; | 9792 static const int ABORT_ERR = 3; |
| 9527 | 9793 |
| 9528 @DomName('FileException.ENCODING_ERR') | 9794 @DomName('FileException.ENCODING_ERR') |
| 9529 @DocsEditable | 9795 @DocsEditable |
| 9530 static const int ENCODING_ERR = 5; | 9796 static const int ENCODING_ERR = 5; |
| 9531 | 9797 |
| (...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 9723 @DomName('FileReader.dispatchEvent') | 9989 @DomName('FileReader.dispatchEvent') |
| 9724 @DocsEditable | 9990 @DocsEditable |
| 9725 bool dispatchEvent(Event evt) native; | 9991 bool dispatchEvent(Event evt) native; |
| 9726 | 9992 |
| 9727 @DomName('FileReader.readAsArrayBuffer') | 9993 @DomName('FileReader.readAsArrayBuffer') |
| 9728 @DocsEditable | 9994 @DocsEditable |
| 9729 void readAsArrayBuffer(Blob blob) native; | 9995 void readAsArrayBuffer(Blob blob) native; |
| 9730 | 9996 |
| 9731 @DomName('FileReader.readAsBinaryString') | 9997 @DomName('FileReader.readAsBinaryString') |
| 9732 @DocsEditable | 9998 @DocsEditable |
| 9999 // http://blog.whatwg.org/weekly-stream-autocomplete | |
| 10000 @deprecated // deprecated | |
| 9733 void readAsBinaryString(Blob blob) native; | 10001 void readAsBinaryString(Blob blob) native; |
| 9734 | 10002 |
| 9735 @JSName('readAsDataURL') | 10003 @JSName('readAsDataURL') |
| 9736 @DomName('FileReader.readAsDataURL') | 10004 @DomName('FileReader.readAsDataURL') |
| 9737 @DocsEditable | 10005 @DocsEditable |
| 9738 void readAsDataUrl(Blob blob) native; | 10006 void readAsDataUrl(Blob blob) native; |
| 9739 | 10007 |
| 9740 @DomName('FileReader.readAsText') | 10008 @DomName('FileReader.readAsText') |
| 9741 @DocsEditable | 10009 @DocsEditable |
| 9742 void readAsText(Blob blob, [String encoding]) native; | 10010 void readAsText(Blob blob, [String encoding]) native; |
| (...skipping 29 matching lines...) Expand all Loading... | |
| 9772 } | 10040 } |
| 9773 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 10041 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 9774 // for details. All rights reserved. Use of this source code is governed by a | 10042 // for details. All rights reserved. Use of this source code is governed by a |
| 9775 // BSD-style license that can be found in the LICENSE file. | 10043 // BSD-style license that can be found in the LICENSE file. |
| 9776 | 10044 |
| 9777 | 10045 |
| 9778 @DocsEditable | 10046 @DocsEditable |
| 9779 @DomName('DOMFileSystem') | 10047 @DomName('DOMFileSystem') |
| 9780 @SupportedBrowser(SupportedBrowser.CHROME) | 10048 @SupportedBrowser(SupportedBrowser.CHROME) |
| 9781 @Experimental | 10049 @Experimental |
| 10050 // http://www.w3.org/TR/file-system-api/ | |
| 9782 class FileSystem native "DOMFileSystem" { | 10051 class FileSystem native "DOMFileSystem" { |
| 9783 | 10052 |
| 9784 /// Checks if this type is supported on the current platform. | 10053 /// Checks if this type is supported on the current platform. |
| 9785 static bool get supported => JS('bool', '!!(window.webkitRequestFileSystem)'); | 10054 static bool get supported => JS('bool', '!!(window.webkitRequestFileSystem)'); |
| 9786 | 10055 |
| 9787 @DomName('DOMFileSystem.name') | 10056 @DomName('DOMFileSystem.name') |
| 9788 @DocsEditable | 10057 @DocsEditable |
| 9789 final String name; | 10058 final String name; |
| 9790 | 10059 |
| 9791 @DomName('DOMFileSystem.root') | 10060 @DomName('DOMFileSystem.root') |
| 9792 @DocsEditable | 10061 @DocsEditable |
| 9793 final DirectoryEntry root; | 10062 final DirectoryEntry root; |
| 9794 } | 10063 } |
| 9795 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 10064 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 9796 // for details. All rights reserved. Use of this source code is governed by a | 10065 // for details. All rights reserved. Use of this source code is governed by a |
| 9797 // BSD-style license that can be found in the LICENSE file. | 10066 // BSD-style license that can be found in the LICENSE file. |
| 9798 | 10067 |
| 9799 // WARNING: Do not edit - generated code. | 10068 // WARNING: Do not edit - generated code. |
| 9800 | 10069 |
| 9801 | 10070 |
| 10071 @DomName('FileSystemCallback') | |
| 10072 // http://www.w3.org/TR/file-system-api/#the-filesystemcallback-interface | |
| 10073 @Experimental | |
| 9802 typedef void _FileSystemCallback(FileSystem fileSystem); | 10074 typedef void _FileSystemCallback(FileSystem fileSystem); |
| 9803 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 10075 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 9804 // for details. All rights reserved. Use of this source code is governed by a | 10076 // for details. All rights reserved. Use of this source code is governed by a |
| 9805 // BSD-style license that can be found in the LICENSE file. | 10077 // BSD-style license that can be found in the LICENSE file. |
| 9806 | 10078 |
| 9807 | 10079 |
| 9808 @DocsEditable | 10080 @DocsEditable |
| 9809 @DomName('FileWriter') | 10081 @DomName('FileWriter') |
| 10082 // http://www.w3.org/TR/file-writer-api/#the-filewriter-interface | |
| 10083 @Experimental | |
| 9810 class FileWriter extends EventTarget native "FileWriter" { | 10084 class FileWriter extends EventTarget native "FileWriter" { |
| 9811 | 10085 |
| 9812 @DomName('FileWriter.abortEvent') | 10086 @DomName('FileWriter.abortEvent') |
| 9813 @DocsEditable | 10087 @DocsEditable |
| 9814 static const EventStreamProvider<ProgressEvent> abortEvent = const EventStream Provider<ProgressEvent>('abort'); | 10088 static const EventStreamProvider<ProgressEvent> abortEvent = const EventStream Provider<ProgressEvent>('abort'); |
| 9815 | 10089 |
| 9816 @DomName('FileWriter.errorEvent') | 10090 @DomName('FileWriter.errorEvent') |
| 9817 @DocsEditable | 10091 @DocsEditable |
| 9818 static const EventStreamProvider<Event> errorEvent = const EventStreamProvider <Event>('error'); | 10092 static const EventStreamProvider<Event> errorEvent = const EventStreamProvider <Event>('error'); |
| 9819 | 10093 |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 9915 @DocsEditable | 10189 @DocsEditable |
| 9916 Stream<ProgressEvent> get onWriteStart => writeStartEvent.forTarget(this); | 10190 Stream<ProgressEvent> get onWriteStart => writeStartEvent.forTarget(this); |
| 9917 } | 10191 } |
| 9918 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 10192 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 9919 // for details. All rights reserved. Use of this source code is governed by a | 10193 // for details. All rights reserved. Use of this source code is governed by a |
| 9920 // BSD-style license that can be found in the LICENSE file. | 10194 // BSD-style license that can be found in the LICENSE file. |
| 9921 | 10195 |
| 9922 // WARNING: Do not edit - generated code. | 10196 // WARNING: Do not edit - generated code. |
| 9923 | 10197 |
| 9924 | 10198 |
| 10199 @DomName('FileWriterCallback') | |
| 10200 // http://www.w3.org/TR/file-writer-api/#idl-def-FileWriter | |
| 10201 @Experimental | |
| 9925 typedef void _FileWriterCallback(FileWriter fileWriter); | 10202 typedef void _FileWriterCallback(FileWriter fileWriter); |
| 9926 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 10203 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 9927 // for details. All rights reserved. Use of this source code is governed by a | 10204 // for details. All rights reserved. Use of this source code is governed by a |
| 9928 // BSD-style license that can be found in the LICENSE file. | 10205 // BSD-style license that can be found in the LICENSE file. |
| 9929 | 10206 |
| 9930 | 10207 |
| 9931 @DocsEditable | 10208 @DocsEditable |
| 9932 @DomName('FocusEvent') | 10209 @DomName('FocusEvent') |
| 9933 class FocusEvent extends UIEvent native "FocusEvent" { | 10210 class FocusEvent extends UIEvent native "FocusEvent" { |
| 9934 | 10211 |
| 9935 EventTarget get relatedTarget => _convertNativeToDart_EventTarget(this._get_re latedTarget); | 10212 EventTarget get relatedTarget => _convertNativeToDart_EventTarget(this._get_re latedTarget); |
| 9936 @JSName('relatedTarget') | 10213 @JSName('relatedTarget') |
| 9937 @DomName('FocusEvent.relatedTarget') | 10214 @DomName('FocusEvent.relatedTarget') |
| 9938 @DocsEditable | 10215 @DocsEditable |
| 9939 final dynamic _get_relatedTarget; | 10216 final dynamic _get_relatedTarget; |
| 9940 } | 10217 } |
| 9941 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 10218 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 9942 // for details. All rights reserved. Use of this source code is governed by a | 10219 // for details. All rights reserved. Use of this source code is governed by a |
| 9943 // BSD-style license that can be found in the LICENSE file. | 10220 // BSD-style license that can be found in the LICENSE file. |
| 9944 | 10221 |
| 9945 | 10222 |
| 9946 @DocsEditable | 10223 @DocsEditable |
| 9947 @DomName('FontLoader') | 10224 @DomName('FontLoader') |
| 10225 // http://www.w3.org/TR/css3-fonts/#document-fontloader | |
| 10226 @Experimental | |
| 9948 class FontLoader extends EventTarget native "FontLoader" { | 10227 class FontLoader extends EventTarget native "FontLoader" { |
| 9949 | 10228 |
| 9950 @DomName('FontLoader.errorEvent') | 10229 @DomName('FontLoader.errorEvent') |
| 9951 @DocsEditable | 10230 @DocsEditable |
| 9952 static const EventStreamProvider<Event> errorEvent = const EventStreamProvider <Event>('error'); | 10231 static const EventStreamProvider<Event> errorEvent = const EventStreamProvider <Event>('error'); |
| 9953 | 10232 |
| 9954 @DomName('FontLoader.loadEvent') | 10233 @DomName('FontLoader.loadEvent') |
| 9955 @DocsEditable | 10234 @DocsEditable |
| 9956 static const EventStreamProvider<Event> loadEvent = const EventStreamProvider< Event>('load'); | 10235 static const EventStreamProvider<Event> loadEvent = const EventStreamProvider< Event>('load'); |
| 9957 | 10236 |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 10084 @DomName('HTMLFormElement.target') | 10363 @DomName('HTMLFormElement.target') |
| 10085 @DocsEditable | 10364 @DocsEditable |
| 10086 String target; | 10365 String target; |
| 10087 | 10366 |
| 10088 @DomName('HTMLFormElement.checkValidity') | 10367 @DomName('HTMLFormElement.checkValidity') |
| 10089 @DocsEditable | 10368 @DocsEditable |
| 10090 bool checkValidity() native; | 10369 bool checkValidity() native; |
| 10091 | 10370 |
| 10092 @DomName('HTMLFormElement.requestAutocomplete') | 10371 @DomName('HTMLFormElement.requestAutocomplete') |
| 10093 @DocsEditable | 10372 @DocsEditable |
| 10373 // http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2012-October/037711.htm l | |
| 10374 @Experimental | |
| 10094 void requestAutocomplete() native; | 10375 void requestAutocomplete() native; |
| 10095 | 10376 |
| 10096 @DomName('HTMLFormElement.reset') | 10377 @DomName('HTMLFormElement.reset') |
| 10097 @DocsEditable | 10378 @DocsEditable |
| 10098 void reset() native; | 10379 void reset() native; |
| 10099 | 10380 |
| 10100 @DomName('HTMLFormElement.submit') | 10381 @DomName('HTMLFormElement.submit') |
| 10101 @DocsEditable | 10382 @DocsEditable |
| 10102 void submit() native; | 10383 void submit() native; |
| 10103 } | 10384 } |
| 10104 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 10385 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 10105 // for details. All rights reserved. Use of this source code is governed by a | 10386 // for details. All rights reserved. Use of this source code is governed by a |
| 10106 // BSD-style license that can be found in the LICENSE file. | 10387 // BSD-style license that can be found in the LICENSE file. |
| 10107 | 10388 |
| 10108 | 10389 |
| 10109 @DocsEditable | 10390 @DocsEditable |
| 10110 @DomName('Gamepad') | 10391 @DomName('Gamepad') |
| 10392 // https://dvcs.w3.org/hg/gamepad/raw-file/default/gamepad.html#gamepad-interfac e | |
| 10393 @Experimental | |
| 10111 class Gamepad native "Gamepad" { | 10394 class Gamepad native "Gamepad" { |
| 10112 | 10395 |
| 10113 @DomName('Gamepad.axes') | 10396 @DomName('Gamepad.axes') |
| 10114 @DocsEditable | 10397 @DocsEditable |
| 10115 final List<num> axes; | 10398 final List<num> axes; |
| 10116 | 10399 |
| 10117 @DomName('Gamepad.buttons') | 10400 @DomName('Gamepad.buttons') |
| 10118 @DocsEditable | 10401 @DocsEditable |
| 10119 final List<num> buttons; | 10402 final List<num> buttons; |
| 10120 | 10403 |
| 10121 @DomName('Gamepad.id') | 10404 @DomName('Gamepad.id') |
| 10122 @DocsEditable | 10405 @DocsEditable |
| 10123 final String id; | 10406 final String id; |
| 10124 | 10407 |
| 10125 @DomName('Gamepad.index') | 10408 @DomName('Gamepad.index') |
| 10126 @DocsEditable | 10409 @DocsEditable |
| 10127 final int index; | 10410 final int index; |
| 10128 | 10411 |
| 10129 @DomName('Gamepad.timestamp') | 10412 @DomName('Gamepad.timestamp') |
| 10130 @DocsEditable | 10413 @DocsEditable |
| 10131 final int timestamp; | 10414 final int timestamp; |
| 10132 } | 10415 } |
| 10133 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 10416 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 10134 // for details. All rights reserved. Use of this source code is governed by a | 10417 // for details. All rights reserved. Use of this source code is governed by a |
| 10135 // BSD-style license that can be found in the LICENSE file. | 10418 // BSD-style license that can be found in the LICENSE file. |
| 10136 | 10419 |
| 10137 | 10420 |
| 10138 @DocsEditable | 10421 @DocsEditable |
| 10139 @DomName('Geolocation') | 10422 @DomName('Geolocation') |
| 10423 @Unstable | |
| 10140 class Geolocation native "Geolocation" { | 10424 class Geolocation native "Geolocation" { |
| 10141 | 10425 |
| 10142 @DomName('Geolocation.getCurrentPosition') | 10426 @DomName('Geolocation.getCurrentPosition') |
| 10143 Future<Geoposition> getCurrentPosition({bool enableHighAccuracy, | 10427 Future<Geoposition> getCurrentPosition({bool enableHighAccuracy, |
| 10144 Duration timeout, Duration maximumAge}) { | 10428 Duration timeout, Duration maximumAge}) { |
| 10145 var options = {}; | 10429 var options = {}; |
| 10146 if (enableHighAccuracy != null) { | 10430 if (enableHighAccuracy != null) { |
| 10147 options['enableHighAccuracy'] = enableHighAccuracy; | 10431 options['enableHighAccuracy'] = enableHighAccuracy; |
| 10148 } | 10432 } |
| 10149 if (timeout != null) { | 10433 if (timeout != null) { |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 10246 } | 10530 } |
| 10247 | 10531 |
| 10248 | 10532 |
| 10249 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 10533 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 10250 // for details. All rights reserved. Use of this source code is governed by a | 10534 // for details. All rights reserved. Use of this source code is governed by a |
| 10251 // BSD-style license that can be found in the LICENSE file. | 10535 // BSD-style license that can be found in the LICENSE file. |
| 10252 | 10536 |
| 10253 | 10537 |
| 10254 @DocsEditable | 10538 @DocsEditable |
| 10255 @DomName('Geoposition') | 10539 @DomName('Geoposition') |
| 10540 @Unstable | |
| 10256 class Geoposition native "Geoposition" { | 10541 class Geoposition native "Geoposition" { |
| 10257 | 10542 |
| 10258 @DomName('Geoposition.coords') | 10543 @DomName('Geoposition.coords') |
| 10259 @DocsEditable | 10544 @DocsEditable |
| 10260 final Coordinates coords; | 10545 final Coordinates coords; |
| 10261 | 10546 |
| 10262 @DomName('Geoposition.timestamp') | 10547 @DomName('Geoposition.timestamp') |
| 10263 @DocsEditable | 10548 @DocsEditable |
| 10264 final int timestamp; | 10549 final int timestamp; |
| 10265 } | 10550 } |
| (...skipping 16 matching lines...) Expand all Loading... | |
| 10282 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 10567 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 10283 // for details. All rights reserved. Use of this source code is governed by a | 10568 // for details. All rights reserved. Use of this source code is governed by a |
| 10284 // BSD-style license that can be found in the LICENSE file. | 10569 // BSD-style license that can be found in the LICENSE file. |
| 10285 | 10570 |
| 10286 // WARNING: Do not edit - generated code. | 10571 // WARNING: Do not edit - generated code. |
| 10287 | 10572 |
| 10288 @DomName('HashChangeEvent') | 10573 @DomName('HashChangeEvent') |
| 10289 @SupportedBrowser(SupportedBrowser.CHROME) | 10574 @SupportedBrowser(SupportedBrowser.CHROME) |
| 10290 @SupportedBrowser(SupportedBrowser.FIREFOX) | 10575 @SupportedBrowser(SupportedBrowser.FIREFOX) |
| 10291 @SupportedBrowser(SupportedBrowser.SAFARI) | 10576 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 10577 @Unstable | |
| 10292 | 10578 |
| 10293 class HashChangeEvent extends Event native "HashChangeEvent" { | 10579 class HashChangeEvent extends Event native "HashChangeEvent" { |
| 10294 factory HashChangeEvent(String type, | 10580 factory HashChangeEvent(String type, |
| 10295 {bool canBubble: true, bool cancelable: true, String oldUrl, | 10581 {bool canBubble: true, bool cancelable: true, String oldUrl, |
| 10296 String newUrl}) { | 10582 String newUrl}) { |
| 10297 var event = document.$dom_createEvent("HashChangeEvent"); | 10583 var event = document.$dom_createEvent("HashChangeEvent"); |
| 10298 event.$dom_initHashChangeEvent(type, canBubble, cancelable, oldUrl, newUrl); | 10584 event.$dom_initHashChangeEvent(type, canBubble, cancelable, oldUrl, newUrl); |
| 10299 return event; | 10585 return event; |
| 10300 } | 10586 } |
| 10301 | 10587 |
| (...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 10423 @SupportedBrowser(SupportedBrowser.SAFARI) | 10709 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 10424 void replaceState(Object data, String title, [String url]) native; | 10710 void replaceState(Object data, String title, [String url]) native; |
| 10425 } | 10711 } |
| 10426 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 10712 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 10427 // for details. All rights reserved. Use of this source code is governed by a | 10713 // for details. All rights reserved. Use of this source code is governed by a |
| 10428 // BSD-style license that can be found in the LICENSE file. | 10714 // BSD-style license that can be found in the LICENSE file. |
| 10429 | 10715 |
| 10430 | 10716 |
| 10431 @DocsEditable | 10717 @DocsEditable |
| 10432 @DomName('HTMLAllCollection') | 10718 @DomName('HTMLAllCollection') |
| 10719 // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#dom -document-all | |
| 10720 @deprecated // deprecated | |
| 10433 class HtmlAllCollection extends Object with ListMixin<Node>, ImmutableListMixin< Node> implements JavaScriptIndexingBehavior, List<Node> native "HTMLAllCollectio n" { | 10721 class HtmlAllCollection extends Object with ListMixin<Node>, ImmutableListMixin< Node> implements JavaScriptIndexingBehavior, List<Node> native "HTMLAllCollectio n" { |
| 10434 | 10722 |
| 10435 @DomName('HTMLAllCollection.length') | 10723 @DomName('HTMLAllCollection.length') |
| 10436 @DocsEditable | 10724 @DocsEditable |
| 10437 int get length => JS("int", "#.length", this); | 10725 int get length => JS("int", "#.length", this); |
| 10438 | 10726 |
| 10439 Node operator[](int index) { | 10727 Node operator[](int index) { |
| 10440 if (JS("bool", "# >>> 0 !== # || # >= #", index, | 10728 if (JS("bool", "# >>> 0 !== # || # >= #", index, |
| 10441 index, index, length)) | 10729 index, index, length)) |
| 10442 throw new RangeError.range(index, 0, length); | 10730 throw new RangeError.range(index, 0, length); |
| (...skipping 648 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 11091 @DomName('XMLHttpRequest.statusText') | 11379 @DomName('XMLHttpRequest.statusText') |
| 11092 @DocsEditable | 11380 @DocsEditable |
| 11093 final String statusText; | 11381 final String statusText; |
| 11094 | 11382 |
| 11095 /** | 11383 /** |
| 11096 * [EventTarget] that can hold listeners to track the progress of the request. | 11384 * [EventTarget] that can hold listeners to track the progress of the request. |
| 11097 * The events fired will be members of [HttpRequestUploadEvents]. | 11385 * The events fired will be members of [HttpRequestUploadEvents]. |
| 11098 */ | 11386 */ |
| 11099 @DomName('XMLHttpRequest.upload') | 11387 @DomName('XMLHttpRequest.upload') |
| 11100 @DocsEditable | 11388 @DocsEditable |
| 11389 @Unstable | |
| 11101 final HttpRequestUpload upload; | 11390 final HttpRequestUpload upload; |
| 11102 | 11391 |
| 11103 /** | 11392 /** |
| 11104 * True if cross-site requests should use credentials such as cookies | 11393 * True if cross-site requests should use credentials such as cookies |
| 11105 * or authorization headers; false otherwise. | 11394 * or authorization headers; false otherwise. |
| 11106 * | 11395 * |
| 11107 * This value is ignored for same-site requests. | 11396 * This value is ignored for same-site requests. |
| 11108 */ | 11397 */ |
| 11109 @DomName('XMLHttpRequest.withCredentials') | 11398 @DomName('XMLHttpRequest.withCredentials') |
| 11110 @DocsEditable | 11399 @DocsEditable |
| (...skipping 24 matching lines...) Expand all Loading... | |
| 11135 * | 11424 * |
| 11136 * `null` if no headers have been received. For multipart requests, | 11425 * `null` if no headers have been received. For multipart requests, |
| 11137 * `getAllResponseHeaders` will return the response headers for the current | 11426 * `getAllResponseHeaders` will return the response headers for the current |
| 11138 * part of the request. | 11427 * part of the request. |
| 11139 * | 11428 * |
| 11140 * See also [HTTP response headers](http://en.wikipedia.org/wiki/List_of_HTTP_ header_fields#Responses) | 11429 * See also [HTTP response headers](http://en.wikipedia.org/wiki/List_of_HTTP_ header_fields#Responses) |
| 11141 * for a list of common response headers. | 11430 * for a list of common response headers. |
| 11142 */ | 11431 */ |
| 11143 @DomName('XMLHttpRequest.getAllResponseHeaders') | 11432 @DomName('XMLHttpRequest.getAllResponseHeaders') |
| 11144 @DocsEditable | 11433 @DocsEditable |
| 11434 @Unstable | |
| 11145 String getAllResponseHeaders() native; | 11435 String getAllResponseHeaders() native; |
| 11146 | 11436 |
| 11147 /** | 11437 /** |
| 11148 * Return the response header named `header`, or `null` if not found. | 11438 * Return the response header named `header`, or `null` if not found. |
| 11149 * | 11439 * |
| 11150 * See also [HTTP response headers](http://en.wikipedia.org/wiki/List_of_HTTP_ header_fields#Responses) | 11440 * See also [HTTP response headers](http://en.wikipedia.org/wiki/List_of_HTTP_ header_fields#Responses) |
| 11151 * for a list of common response headers. | 11441 * for a list of common response headers. |
| 11152 */ | 11442 */ |
| 11153 @DomName('XMLHttpRequest.getResponseHeader') | 11443 @DomName('XMLHttpRequest.getResponseHeader') |
| 11154 @DocsEditable | 11444 @DocsEditable |
| 11445 @Unstable | |
| 11155 String getResponseHeader(String header) native; | 11446 String getResponseHeader(String header) native; |
| 11156 | 11447 |
| 11157 /** | 11448 /** |
| 11158 * Specify the desired `url`, and `method` to use in making the request. | 11449 * Specify the desired `url`, and `method` to use in making the request. |
| 11159 * | 11450 * |
| 11160 * By default the request is done asyncronously, with no user or password | 11451 * By default the request is done asyncronously, with no user or password |
| 11161 * authentication information. If `async` is false, the request will be send | 11452 * authentication information. If `async` is false, the request will be send |
| 11162 * synchronously. | 11453 * synchronously. |
| 11163 * | 11454 * |
| 11164 * Calling `open` again on a currently active request is equivalent to | 11455 * Calling `open` again on a currently active request is equivalent to |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 11268 Stream<ProgressEvent> get onReadyStateChange => readyStateChangeEvent.forTarge t(this); | 11559 Stream<ProgressEvent> get onReadyStateChange => readyStateChangeEvent.forTarge t(this); |
| 11269 | 11560 |
| 11270 } | 11561 } |
| 11271 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 11562 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 11272 // for details. All rights reserved. Use of this source code is governed by a | 11563 // for details. All rights reserved. Use of this source code is governed by a |
| 11273 // BSD-style license that can be found in the LICENSE file. | 11564 // BSD-style license that can be found in the LICENSE file. |
| 11274 | 11565 |
| 11275 | 11566 |
| 11276 @DocsEditable | 11567 @DocsEditable |
| 11277 @DomName('XMLHttpRequestException') | 11568 @DomName('XMLHttpRequestException') |
| 11569 // http://www.w3.org/TR/2007/WD-XMLHttpRequest-20070227/#exceptions | |
| 11570 @Experimental // nonstandard | |
| 11278 class HttpRequestException native "XMLHttpRequestException" { | 11571 class HttpRequestException native "XMLHttpRequestException" { |
| 11279 | 11572 |
| 11280 @DomName('XMLHttpRequestException.ABORT_ERR') | 11573 @DomName('XMLHttpRequestException.ABORT_ERR') |
| 11281 @DocsEditable | 11574 @DocsEditable |
| 11575 @Experimental // non-standard | |
| 11282 static const int ABORT_ERR = 102; | 11576 static const int ABORT_ERR = 102; |
| 11283 | 11577 |
| 11284 @DomName('XMLHttpRequestException.NETWORK_ERR') | 11578 @DomName('XMLHttpRequestException.NETWORK_ERR') |
| 11285 @DocsEditable | 11579 @DocsEditable |
| 11286 static const int NETWORK_ERR = 101; | 11580 static const int NETWORK_ERR = 101; |
| 11287 | 11581 |
| 11288 @DomName('XMLHttpRequestException.code') | 11582 @DomName('XMLHttpRequestException.code') |
| 11289 @DocsEditable | 11583 @DocsEditable |
| 11290 final int code; | 11584 final int code; |
| 11291 | 11585 |
| 11292 @DomName('XMLHttpRequestException.message') | 11586 @DomName('XMLHttpRequestException.message') |
| 11293 @DocsEditable | 11587 @DocsEditable |
| 11588 @Experimental // non-standard | |
| 11294 final String message; | 11589 final String message; |
| 11295 | 11590 |
| 11296 @DomName('XMLHttpRequestException.name') | 11591 @DomName('XMLHttpRequestException.name') |
| 11297 @DocsEditable | 11592 @DocsEditable |
| 11593 @Experimental // non-standard | |
| 11298 final String name; | 11594 final String name; |
| 11299 | 11595 |
| 11300 @DomName('XMLHttpRequestException.toString') | 11596 @DomName('XMLHttpRequestException.toString') |
| 11301 @DocsEditable | 11597 @DocsEditable |
| 11302 String toString() native; | 11598 String toString() native; |
| 11303 } | 11599 } |
| 11304 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 11600 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 11305 // for details. All rights reserved. Use of this source code is governed by a | 11601 // for details. All rights reserved. Use of this source code is governed by a |
| 11306 // BSD-style license that can be found in the LICENSE file. | 11602 // BSD-style license that can be found in the LICENSE file. |
| 11307 | 11603 |
| 11308 | 11604 |
| 11309 @DocsEditable | 11605 @DocsEditable |
| 11310 @DomName('XMLHttpRequestProgressEvent') | 11606 @DomName('XMLHttpRequestProgressEvent') |
| 11311 @SupportedBrowser(SupportedBrowser.CHROME) | 11607 @SupportedBrowser(SupportedBrowser.CHROME) |
| 11312 @SupportedBrowser(SupportedBrowser.SAFARI) | 11608 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 11313 @Experimental | 11609 @Experimental |
| 11610 @Experimental // nonstandard | |
| 11314 class HttpRequestProgressEvent extends ProgressEvent native "XMLHttpRequestProgr essEvent" { | 11611 class HttpRequestProgressEvent extends ProgressEvent native "XMLHttpRequestProgr essEvent" { |
| 11315 | 11612 |
| 11316 /// Checks if this type is supported on the current platform. | 11613 /// Checks if this type is supported on the current platform. |
| 11317 static bool get supported => Device.isEventTypeSupported('XMLHttpRequestProgre ssEvent'); | 11614 static bool get supported => Device.isEventTypeSupported('XMLHttpRequestProgre ssEvent'); |
| 11318 | 11615 |
| 11319 @DomName('XMLHttpRequestProgressEvent.position') | 11616 @DomName('XMLHttpRequestProgressEvent.position') |
| 11320 @DocsEditable | 11617 @DocsEditable |
| 11321 final int position; | 11618 final int position; |
| 11322 | 11619 |
| 11323 @DomName('XMLHttpRequestProgressEvent.totalSize') | 11620 @DomName('XMLHttpRequestProgressEvent.totalSize') |
| 11324 @DocsEditable | 11621 @DocsEditable |
| 11325 final int totalSize; | 11622 final int totalSize; |
| 11326 } | 11623 } |
| 11327 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 11624 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 11328 // for details. All rights reserved. Use of this source code is governed by a | 11625 // for details. All rights reserved. Use of this source code is governed by a |
| 11329 // BSD-style license that can be found in the LICENSE file. | 11626 // BSD-style license that can be found in the LICENSE file. |
| 11330 | 11627 |
| 11331 | 11628 |
| 11332 @DocsEditable | 11629 @DocsEditable |
| 11333 @DomName('XMLHttpRequestUpload') | 11630 @DomName('XMLHttpRequestUpload') |
| 11631 // http://xhr.spec.whatwg.org/#xmlhttprequestupload | |
| 11632 @Experimental | |
| 11334 class HttpRequestUpload extends EventTarget native "XMLHttpRequestUpload" { | 11633 class HttpRequestUpload extends EventTarget native "XMLHttpRequestUpload" { |
| 11335 | 11634 |
| 11336 @DomName('XMLHttpRequestUpload.abortEvent') | 11635 @DomName('XMLHttpRequestUpload.abortEvent') |
| 11337 @DocsEditable | 11636 @DocsEditable |
| 11338 static const EventStreamProvider<ProgressEvent> abortEvent = const EventStream Provider<ProgressEvent>('abort'); | 11637 static const EventStreamProvider<ProgressEvent> abortEvent = const EventStream Provider<ProgressEvent>('abort'); |
| 11339 | 11638 |
| 11340 @DomName('XMLHttpRequestUpload.errorEvent') | 11639 @DomName('XMLHttpRequestUpload.errorEvent') |
| 11341 @DocsEditable | 11640 @DocsEditable |
| 11342 static const EventStreamProvider<ProgressEvent> errorEvent = const EventStream Provider<ProgressEvent>('error'); | 11641 static const EventStreamProvider<ProgressEvent> errorEvent = const EventStream Provider<ProgressEvent>('error'); |
| 11343 | 11642 |
| (...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 11483 if (height != null) e.height = height; | 11782 if (height != null) e.height = height; |
| 11484 return e; | 11783 return e; |
| 11485 } | 11784 } |
| 11486 | 11785 |
| 11487 @DomName('HTMLImageElement.alt') | 11786 @DomName('HTMLImageElement.alt') |
| 11488 @DocsEditable | 11787 @DocsEditable |
| 11489 String alt; | 11788 String alt; |
| 11490 | 11789 |
| 11491 @DomName('HTMLImageElement.border') | 11790 @DomName('HTMLImageElement.border') |
| 11492 @DocsEditable | 11791 @DocsEditable |
| 11792 @deprecated // deprecated | |
| 11493 String border; | 11793 String border; |
| 11494 | 11794 |
| 11495 @DomName('HTMLImageElement.complete') | 11795 @DomName('HTMLImageElement.complete') |
| 11496 @DocsEditable | 11796 @DocsEditable |
| 11497 final bool complete; | 11797 final bool complete; |
| 11498 | 11798 |
| 11499 @DomName('HTMLImageElement.crossOrigin') | 11799 @DomName('HTMLImageElement.crossOrigin') |
| 11500 @DocsEditable | 11800 @DocsEditable |
| 11501 String crossOrigin; | 11801 String crossOrigin; |
| 11502 | 11802 |
| 11503 @DomName('HTMLImageElement.height') | 11803 @DomName('HTMLImageElement.height') |
| 11504 @DocsEditable | 11804 @DocsEditable |
| 11505 int height; | 11805 int height; |
| 11506 | 11806 |
| 11507 @DomName('HTMLImageElement.isMap') | 11807 @DomName('HTMLImageElement.isMap') |
| 11508 @DocsEditable | 11808 @DocsEditable |
| 11509 bool isMap; | 11809 bool isMap; |
| 11510 | 11810 |
| 11511 @DomName('HTMLImageElement.lowsrc') | 11811 @DomName('HTMLImageElement.lowsrc') |
| 11512 @DocsEditable | 11812 @DocsEditable |
| 11813 @deprecated // deprecated | |
| 11513 String lowsrc; | 11814 String lowsrc; |
| 11514 | 11815 |
| 11515 @DomName('HTMLImageElement.naturalHeight') | 11816 @DomName('HTMLImageElement.naturalHeight') |
| 11516 @DocsEditable | 11817 @DocsEditable |
| 11517 final int naturalHeight; | 11818 final int naturalHeight; |
| 11518 | 11819 |
| 11519 @DomName('HTMLImageElement.naturalWidth') | 11820 @DomName('HTMLImageElement.naturalWidth') |
| 11520 @DocsEditable | 11821 @DocsEditable |
| 11521 final int naturalWidth; | 11822 final int naturalWidth; |
| 11522 | 11823 |
| 11523 @DomName('HTMLImageElement.src') | 11824 @DomName('HTMLImageElement.src') |
| 11524 @DocsEditable | 11825 @DocsEditable |
| 11525 String src; | 11826 String src; |
| 11526 | 11827 |
| 11527 @DomName('HTMLImageElement.useMap') | 11828 @DomName('HTMLImageElement.useMap') |
| 11528 @DocsEditable | 11829 @DocsEditable |
| 11529 String useMap; | 11830 String useMap; |
| 11530 | 11831 |
| 11531 @DomName('HTMLImageElement.width') | 11832 @DomName('HTMLImageElement.width') |
| 11532 @DocsEditable | 11833 @DocsEditable |
| 11533 int width; | 11834 int width; |
| 11534 | 11835 |
| 11535 @DomName('HTMLImageElement.x') | 11836 @DomName('HTMLImageElement.x') |
| 11536 @DocsEditable | 11837 @DocsEditable |
| 11838 @deprecated // deprecated | |
| 11537 final int x; | 11839 final int x; |
| 11538 | 11840 |
| 11539 @DomName('HTMLImageElement.y') | 11841 @DomName('HTMLImageElement.y') |
| 11540 @DocsEditable | 11842 @DocsEditable |
| 11843 @deprecated // deprecated | |
| 11541 final int y; | 11844 final int y; |
| 11542 | 11845 |
| 11543 } | 11846 } |
| 11544 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 11847 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 11545 // for details. All rights reserved. Use of this source code is governed by a | 11848 // for details. All rights reserved. Use of this source code is governed by a |
| 11546 // BSD-style license that can be found in the LICENSE file. | 11849 // BSD-style license that can be found in the LICENSE file. |
| 11547 | 11850 |
| 11548 | 11851 |
| 11549 @DomName('HTMLInputElement') | 11852 @DomName('HTMLInputElement') |
| 11550 class InputElement extends Element implements | 11853 class InputElement extends Element implements |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 11636 unbind('checked'); | 11939 unbind('checked'); |
| 11637 Element._unbindAllElement(this); | 11940 Element._unbindAllElement(this); |
| 11638 } | 11941 } |
| 11639 | 11942 |
| 11640 | 11943 |
| 11641 @DomName('HTMLInputElement.webkitSpeechChangeEvent') | 11944 @DomName('HTMLInputElement.webkitSpeechChangeEvent') |
| 11642 @DocsEditable | 11945 @DocsEditable |
| 11643 @SupportedBrowser(SupportedBrowser.CHROME) | 11946 @SupportedBrowser(SupportedBrowser.CHROME) |
| 11644 @SupportedBrowser(SupportedBrowser.SAFARI) | 11947 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 11645 @Experimental | 11948 @Experimental |
| 11949 // http://lists.w3.org/Archives/Public/public-xg-htmlspeech/2011Feb/att-0020/a pi-draft.html#extending_html_elements | |
| 11646 static const EventStreamProvider<Event> speechChangeEvent = const EventStreamP rovider<Event>('webkitSpeechChange'); | 11950 static const EventStreamProvider<Event> speechChangeEvent = const EventStreamP rovider<Event>('webkitSpeechChange'); |
| 11647 | 11951 |
| 11648 @DomName('HTMLInputElement.accept') | 11952 @DomName('HTMLInputElement.accept') |
| 11649 @DocsEditable | 11953 @DocsEditable |
| 11650 String accept; | 11954 String accept; |
| 11651 | 11955 |
| 11652 @DomName('HTMLInputElement.alt') | 11956 @DomName('HTMLInputElement.alt') |
| 11653 @DocsEditable | 11957 @DocsEditable |
| 11654 String alt; | 11958 String alt; |
| 11655 | 11959 |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 11710 @DomName('HTMLInputElement.formTarget') | 12014 @DomName('HTMLInputElement.formTarget') |
| 11711 @DocsEditable | 12015 @DocsEditable |
| 11712 String formTarget; | 12016 String formTarget; |
| 11713 | 12017 |
| 11714 @DomName('HTMLInputElement.height') | 12018 @DomName('HTMLInputElement.height') |
| 11715 @DocsEditable | 12019 @DocsEditable |
| 11716 int height; | 12020 int height; |
| 11717 | 12021 |
| 11718 @DomName('HTMLInputElement.incremental') | 12022 @DomName('HTMLInputElement.incremental') |
| 11719 @DocsEditable | 12023 @DocsEditable |
| 12024 // http://www.w3.org/TR/html-markup/input.search.html | |
| 12025 @Experimental | |
| 11720 bool incremental; | 12026 bool incremental; |
| 11721 | 12027 |
| 11722 @DomName('HTMLInputElement.indeterminate') | 12028 @DomName('HTMLInputElement.indeterminate') |
| 11723 @DocsEditable | 12029 @DocsEditable |
| 11724 bool indeterminate; | 12030 bool indeterminate; |
| 11725 | 12031 |
| 11726 @DomName('HTMLInputElement.labels') | 12032 @DomName('HTMLInputElement.labels') |
| 11727 @DocsEditable | 12033 @DocsEditable |
| 11728 @Returns('NodeList') | 12034 @Returns('NodeList') |
| 11729 @Creates('NodeList') | 12035 @Creates('NodeList') |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 11792 @DomName('HTMLInputElement.step') | 12098 @DomName('HTMLInputElement.step') |
| 11793 @DocsEditable | 12099 @DocsEditable |
| 11794 String step; | 12100 String step; |
| 11795 | 12101 |
| 11796 @DomName('HTMLInputElement.type') | 12102 @DomName('HTMLInputElement.type') |
| 11797 @DocsEditable | 12103 @DocsEditable |
| 11798 String type; | 12104 String type; |
| 11799 | 12105 |
| 11800 @DomName('HTMLInputElement.useMap') | 12106 @DomName('HTMLInputElement.useMap') |
| 11801 @DocsEditable | 12107 @DocsEditable |
| 12108 // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#H TMLInputElement-partial | |
| 12109 @deprecated // deprecated | |
| 11802 String useMap; | 12110 String useMap; |
| 11803 | 12111 |
| 11804 @DomName('HTMLInputElement.validationMessage') | 12112 @DomName('HTMLInputElement.validationMessage') |
| 11805 @DocsEditable | 12113 @DocsEditable |
| 11806 final String validationMessage; | 12114 final String validationMessage; |
| 11807 | 12115 |
| 11808 @DomName('HTMLInputElement.validity') | 12116 @DomName('HTMLInputElement.validity') |
| 11809 @DocsEditable | 12117 @DocsEditable |
| 11810 final ValidityState validity; | 12118 final ValidityState validity; |
| 11811 | 12119 |
| (...skipping 17 matching lines...) Expand all Loading... | |
| 11829 @DomName('HTMLInputElement.valueAsNumber') | 12137 @DomName('HTMLInputElement.valueAsNumber') |
| 11830 @DocsEditable | 12138 @DocsEditable |
| 11831 num valueAsNumber; | 12139 num valueAsNumber; |
| 11832 | 12140 |
| 11833 @JSName('webkitEntries') | 12141 @JSName('webkitEntries') |
| 11834 @DomName('HTMLInputElement.webkitEntries') | 12142 @DomName('HTMLInputElement.webkitEntries') |
| 11835 @DocsEditable | 12143 @DocsEditable |
| 11836 @SupportedBrowser(SupportedBrowser.CHROME) | 12144 @SupportedBrowser(SupportedBrowser.CHROME) |
| 11837 @SupportedBrowser(SupportedBrowser.SAFARI) | 12145 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 11838 @Experimental | 12146 @Experimental |
| 12147 // http://www.whatwg.org/specs/web-apps/current-work/multipage/states-of-the-t ype-attribute.html#concept-input-type-file-selected | |
| 11839 @Returns('_EntryArray') | 12148 @Returns('_EntryArray') |
| 11840 @Creates('_EntryArray') | 12149 @Creates('_EntryArray') |
| 11841 final List<Entry> entries; | 12150 final List<Entry> entries; |
| 11842 | 12151 |
| 11843 @JSName('webkitGrammar') | 12152 @JSName('webkitGrammar') |
| 11844 @DomName('HTMLInputElement.webkitGrammar') | 12153 @DomName('HTMLInputElement.webkitGrammar') |
| 11845 @DocsEditable | 12154 @DocsEditable |
| 11846 @SupportedBrowser(SupportedBrowser.CHROME) | 12155 @SupportedBrowser(SupportedBrowser.CHROME) |
| 11847 @SupportedBrowser(SupportedBrowser.SAFARI) | 12156 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 11848 @Experimental | 12157 @Experimental |
| 12158 // http://lists.w3.org/Archives/Public/public-xg-htmlspeech/2011Feb/att-0020/a pi-draft.html#attrib-grammar | |
| 11849 bool grammar; | 12159 bool grammar; |
| 11850 | 12160 |
| 11851 @JSName('webkitSpeech') | 12161 @JSName('webkitSpeech') |
| 11852 @DomName('HTMLInputElement.webkitSpeech') | 12162 @DomName('HTMLInputElement.webkitSpeech') |
| 11853 @DocsEditable | 12163 @DocsEditable |
| 11854 @SupportedBrowser(SupportedBrowser.CHROME) | 12164 @SupportedBrowser(SupportedBrowser.CHROME) |
| 11855 @SupportedBrowser(SupportedBrowser.SAFARI) | 12165 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 11856 @Experimental | 12166 @Experimental |
| 12167 // http://lists.w3.org/Archives/Public/public-xg-htmlspeech/2011Feb/att-0020/a pi-draft.html#attrib-speech | |
| 11857 bool speech; | 12168 bool speech; |
| 11858 | 12169 |
| 11859 @JSName('webkitdirectory') | 12170 @JSName('webkitdirectory') |
| 11860 @DomName('HTMLInputElement.webkitdirectory') | 12171 @DomName('HTMLInputElement.webkitdirectory') |
| 11861 @DocsEditable | 12172 @DocsEditable |
| 11862 @SupportedBrowser(SupportedBrowser.CHROME) | 12173 @SupportedBrowser(SupportedBrowser.CHROME) |
| 11863 @SupportedBrowser(SupportedBrowser.SAFARI) | 12174 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 11864 @Experimental | 12175 @Experimental |
| 12176 // https://plus.sandbox.google.com/+AddyOsmani/posts/Dk5UhZ6zfF3 | |
| 11865 bool directory; | 12177 bool directory; |
| 11866 | 12178 |
| 11867 @DomName('HTMLInputElement.width') | 12179 @DomName('HTMLInputElement.width') |
| 11868 @DocsEditable | 12180 @DocsEditable |
| 11869 int width; | 12181 int width; |
| 11870 | 12182 |
| 11871 @DomName('HTMLInputElement.willValidate') | 12183 @DomName('HTMLInputElement.willValidate') |
| 11872 @DocsEditable | 12184 @DocsEditable |
| 11873 final bool willValidate; | 12185 final bool willValidate; |
| 11874 | 12186 |
| 11875 @DomName('HTMLInputElement.checkValidity') | 12187 @DomName('HTMLInputElement.checkValidity') |
| 11876 @DocsEditable | 12188 @DocsEditable |
| 11877 bool checkValidity() native; | 12189 bool checkValidity() native; |
| 11878 | 12190 |
| 11879 @DomName('HTMLInputElement.select') | 12191 @DomName('HTMLInputElement.select') |
| 11880 @DocsEditable | 12192 @DocsEditable |
| 11881 void select() native; | 12193 void select() native; |
| 11882 | 12194 |
| 11883 @DomName('HTMLInputElement.setCustomValidity') | 12195 @DomName('HTMLInputElement.setCustomValidity') |
| 11884 @DocsEditable | 12196 @DocsEditable |
| 11885 void setCustomValidity(String error) native; | 12197 void setCustomValidity(String error) native; |
| 11886 | 12198 |
| 11887 @DomName('HTMLInputElement.setRangeText') | 12199 @DomName('HTMLInputElement.setRangeText') |
| 11888 @DocsEditable | 12200 @DocsEditable |
| 12201 // http://www.whatwg.org/specs/web-apps/current-work/multipage/association-of- controls-and-forms.html#dom-textarea/input-setrangetext | |
| 12202 @Experimental // experimental | |
| 11889 void setRangeText(String replacement, {int start, int end, String selectionMod e}) native; | 12203 void setRangeText(String replacement, {int start, int end, String selectionMod e}) native; |
| 11890 | 12204 |
| 11891 @DomName('HTMLInputElement.setSelectionRange') | 12205 @DomName('HTMLInputElement.setSelectionRange') |
| 11892 @DocsEditable | 12206 @DocsEditable |
| 11893 void setSelectionRange(int start, int end, [String direction]) native; | 12207 void setSelectionRange(int start, int end, [String direction]) native; |
| 11894 | 12208 |
| 11895 @DomName('HTMLInputElement.stepDown') | 12209 @DomName('HTMLInputElement.stepDown') |
| 11896 @DocsEditable | 12210 @DocsEditable |
| 11897 void stepDown([int n]) native; | 12211 void stepDown([int n]) native; |
| 11898 | 12212 |
| 11899 @DomName('HTMLInputElement.stepUp') | 12213 @DomName('HTMLInputElement.stepUp') |
| 11900 @DocsEditable | 12214 @DocsEditable |
| 11901 void stepUp([int n]) native; | 12215 void stepUp([int n]) native; |
| 11902 | 12216 |
| 11903 @DomName('HTMLInputElement.onwebkitSpeechChange') | 12217 @DomName('HTMLInputElement.onwebkitSpeechChange') |
| 11904 @DocsEditable | 12218 @DocsEditable |
| 12219 // http://lists.w3.org/Archives/Public/public-xg-htmlspeech/2011Feb/att-0020/a pi-draft.html#extending_html_elements | |
| 12220 @Experimental | |
| 11905 Stream<Event> get onSpeechChange => speechChangeEvent.forTarget(this); | 12221 Stream<Event> get onSpeechChange => speechChangeEvent.forTarget(this); |
| 11906 | 12222 |
| 11907 } | 12223 } |
| 11908 | 12224 |
| 11909 | 12225 |
| 11910 // Interfaces representing the InputElement APIs which are supported | 12226 // Interfaces representing the InputElement APIs which are supported |
| 11911 // for the various types of InputElement. From: | 12227 // for the various types of InputElement. From: |
| 11912 // http://www.w3.org/html/wg/drafts/html/master/forms.html#the-input-element. | 12228 // http://www.w3.org/html/wg/drafts/html/master/forms.html#the-input-element. |
| 11913 | 12229 |
| 11914 /** | 12230 /** |
| (...skipping 589 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 12504 } | 12820 } |
| 12505 | 12821 |
| 12506 @DomName('KeyboardEvent.keyCode') | 12822 @DomName('KeyboardEvent.keyCode') |
| 12507 int get keyCode => $dom_keyCode; | 12823 int get keyCode => $dom_keyCode; |
| 12508 | 12824 |
| 12509 @DomName('KeyboardEvent.charCode') | 12825 @DomName('KeyboardEvent.charCode') |
| 12510 int get charCode => $dom_charCode; | 12826 int get charCode => $dom_charCode; |
| 12511 | 12827 |
| 12512 @DomName('KeyboardEvent.altGraphKey') | 12828 @DomName('KeyboardEvent.altGraphKey') |
| 12513 @DocsEditable | 12829 @DocsEditable |
| 12830 @Experimental // nonstandard | |
| 12514 final bool altGraphKey; | 12831 final bool altGraphKey; |
| 12515 | 12832 |
| 12516 @DomName('KeyboardEvent.altKey') | 12833 @DomName('KeyboardEvent.altKey') |
| 12517 @DocsEditable | 12834 @DocsEditable |
| 12518 final bool altKey; | 12835 final bool altKey; |
| 12519 | 12836 |
| 12520 @DomName('KeyboardEvent.ctrlKey') | 12837 @DomName('KeyboardEvent.ctrlKey') |
| 12521 @DocsEditable | 12838 @DocsEditable |
| 12522 final bool ctrlKey; | 12839 final bool ctrlKey; |
| 12523 | 12840 |
| 12524 @JSName('keyIdentifier') | 12841 @JSName('keyIdentifier') |
| 12525 @DomName('KeyboardEvent.keyIdentifier') | 12842 @DomName('KeyboardEvent.keyIdentifier') |
| 12526 @DocsEditable | 12843 @DocsEditable |
| 12844 @Experimental // nonstandard | |
| 12527 final String $dom_keyIdentifier; | 12845 final String $dom_keyIdentifier; |
| 12528 | 12846 |
| 12529 @DomName('KeyboardEvent.keyLocation') | 12847 @DomName('KeyboardEvent.keyLocation') |
| 12530 @DocsEditable | 12848 @DocsEditable |
| 12849 @Experimental // nonstandard | |
| 12531 final int keyLocation; | 12850 final int keyLocation; |
| 12532 | 12851 |
| 12533 @DomName('KeyboardEvent.metaKey') | 12852 @DomName('KeyboardEvent.metaKey') |
| 12534 @DocsEditable | 12853 @DocsEditable |
| 12535 final bool metaKey; | 12854 final bool metaKey; |
| 12536 | 12855 |
| 12537 @DomName('KeyboardEvent.shiftKey') | 12856 @DomName('KeyboardEvent.shiftKey') |
| 12538 @DocsEditable | 12857 @DocsEditable |
| 12539 final bool shiftKey; | 12858 final bool shiftKey; |
| 12540 | 12859 |
| 12541 } | 12860 } |
| 12542 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 12861 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 12543 // for details. All rights reserved. Use of this source code is governed by a | 12862 // for details. All rights reserved. Use of this source code is governed by a |
| 12544 // BSD-style license that can be found in the LICENSE file. | 12863 // BSD-style license that can be found in the LICENSE file. |
| 12545 | 12864 |
| 12546 | 12865 |
| 12547 @DocsEditable | 12866 @DocsEditable |
| 12548 @DomName('HTMLKeygenElement') | 12867 @DomName('HTMLKeygenElement') |
| 12549 @SupportedBrowser(SupportedBrowser.CHROME) | 12868 @SupportedBrowser(SupportedBrowser.CHROME) |
| 12550 @SupportedBrowser(SupportedBrowser.SAFARI) | 12869 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 12551 @Experimental | 12870 @Experimental |
| 12871 // http://www.whatwg.org/specs/web-apps/current-work/multipage/the-button-elemen t.html#the-keygen-element | |
| 12552 class KeygenElement extends Element native "HTMLKeygenElement" { | 12872 class KeygenElement extends Element native "HTMLKeygenElement" { |
| 12553 | 12873 |
| 12554 @DomName('HTMLKeygenElement.HTMLKeygenElement') | 12874 @DomName('HTMLKeygenElement.HTMLKeygenElement') |
| 12555 @DocsEditable | 12875 @DocsEditable |
| 12556 factory KeygenElement() => document.$dom_createElement("keygen"); | 12876 factory KeygenElement() => document.$dom_createElement("keygen"); |
| 12557 | 12877 |
| 12558 /// Checks if this type is supported on the current platform. | 12878 /// Checks if this type is supported on the current platform. |
| 12559 static bool get supported => Element.isTagSupported('keygen') && (new Element. tag('keygen') is KeygenElement); | 12879 static bool get supported => Element.isTagSupported('keygen') && (new Element. tag('keygen') is KeygenElement); |
| 12560 | 12880 |
| 12561 @DomName('HTMLKeygenElement.autofocus') | 12881 @DomName('HTMLKeygenElement.autofocus') |
| (...skipping 11 matching lines...) Expand all Loading... | |
| 12573 @DomName('HTMLKeygenElement.form') | 12893 @DomName('HTMLKeygenElement.form') |
| 12574 @DocsEditable | 12894 @DocsEditable |
| 12575 final FormElement form; | 12895 final FormElement form; |
| 12576 | 12896 |
| 12577 @DomName('HTMLKeygenElement.keytype') | 12897 @DomName('HTMLKeygenElement.keytype') |
| 12578 @DocsEditable | 12898 @DocsEditable |
| 12579 String keytype; | 12899 String keytype; |
| 12580 | 12900 |
| 12581 @DomName('HTMLKeygenElement.labels') | 12901 @DomName('HTMLKeygenElement.labels') |
| 12582 @DocsEditable | 12902 @DocsEditable |
| 12903 @Unstable | |
| 12583 @Returns('NodeList') | 12904 @Returns('NodeList') |
| 12584 @Creates('NodeList') | 12905 @Creates('NodeList') |
| 12585 final List<Node> labels; | 12906 final List<Node> labels; |
| 12586 | 12907 |
| 12587 @DomName('HTMLKeygenElement.name') | 12908 @DomName('HTMLKeygenElement.name') |
| 12588 @DocsEditable | 12909 @DocsEditable |
| 12589 String name; | 12910 String name; |
| 12590 | 12911 |
| 12591 @DomName('HTMLKeygenElement.type') | 12912 @DomName('HTMLKeygenElement.type') |
| 12592 @DocsEditable | 12913 @DocsEditable |
| (...skipping 27 matching lines...) Expand all Loading... | |
| 12620 @DocsEditable | 12941 @DocsEditable |
| 12621 @DomName('HTMLLIElement') | 12942 @DomName('HTMLLIElement') |
| 12622 class LIElement extends Element native "HTMLLIElement" { | 12943 class LIElement extends Element native "HTMLLIElement" { |
| 12623 | 12944 |
| 12624 @DomName('HTMLLIElement.HTMLLIElement') | 12945 @DomName('HTMLLIElement.HTMLLIElement') |
| 12625 @DocsEditable | 12946 @DocsEditable |
| 12626 factory LIElement() => document.$dom_createElement("li"); | 12947 factory LIElement() => document.$dom_createElement("li"); |
| 12627 | 12948 |
| 12628 @DomName('HTMLLIElement.type') | 12949 @DomName('HTMLLIElement.type') |
| 12629 @DocsEditable | 12950 @DocsEditable |
| 12951 // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#H TMLLIElement-partial | |
| 12952 @deprecated // deprecated | |
| 12630 String type; | 12953 String type; |
| 12631 | 12954 |
| 12632 @DomName('HTMLLIElement.value') | 12955 @DomName('HTMLLIElement.value') |
| 12633 @DocsEditable | 12956 @DocsEditable |
| 12634 int value; | 12957 int value; |
| 12635 } | 12958 } |
| 12636 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 12959 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 12637 // for details. All rights reserved. Use of this source code is governed by a | 12960 // for details. All rights reserved. Use of this source code is governed by a |
| 12638 // BSD-style license that can be found in the LICENSE file. | 12961 // BSD-style license that can be found in the LICENSE file. |
| 12639 | 12962 |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 12707 @DomName('HTMLLinkElement.rel') | 13030 @DomName('HTMLLinkElement.rel') |
| 12708 @DocsEditable | 13031 @DocsEditable |
| 12709 String rel; | 13032 String rel; |
| 12710 | 13033 |
| 12711 @DomName('HTMLLinkElement.sheet') | 13034 @DomName('HTMLLinkElement.sheet') |
| 12712 @DocsEditable | 13035 @DocsEditable |
| 12713 final StyleSheet sheet; | 13036 final StyleSheet sheet; |
| 12714 | 13037 |
| 12715 @DomName('HTMLLinkElement.sizes') | 13038 @DomName('HTMLLinkElement.sizes') |
| 12716 @DocsEditable | 13039 @DocsEditable |
| 13040 // http://www.whatwg.org/specs/web-apps/current-work/multipage/links.html#rel- icon | |
| 13041 @Experimental | |
| 12717 DomSettableTokenList sizes; | 13042 DomSettableTokenList sizes; |
| 12718 | 13043 |
| 12719 @DomName('HTMLLinkElement.type') | 13044 @DomName('HTMLLinkElement.type') |
| 12720 @DocsEditable | 13045 @DocsEditable |
| 12721 String type; | 13046 String type; |
| 12722 } | 13047 } |
| 12723 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 13048 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 12724 // for details. All rights reserved. Use of this source code is governed by a | 13049 // for details. All rights reserved. Use of this source code is governed by a |
| 12725 // BSD-style license that can be found in the LICENSE file. | 13050 // BSD-style license that can be found in the LICENSE file. |
| 12726 | 13051 |
| 12727 | 13052 |
| 12728 @DocsEditable | 13053 @DocsEditable |
| 12729 @DomName('LocalMediaStream') | 13054 @DomName('LocalMediaStream') |
| 12730 @SupportedBrowser(SupportedBrowser.CHROME) | 13055 @SupportedBrowser(SupportedBrowser.CHROME) |
| 12731 @Experimental | 13056 @Experimental |
| 13057 // http://dev.w3.org/2011/webrtc/editor/getusermedia.html#idl-def-NavigatorUserM ediaSuccessCallback | |
| 13058 @Experimental // nonstandard | |
| 12732 class LocalMediaStream extends MediaStream implements EventTarget native "LocalM ediaStream" { | 13059 class LocalMediaStream extends MediaStream implements EventTarget native "LocalM ediaStream" { |
| 12733 | 13060 |
| 12734 @DomName('LocalMediaStream.stop') | 13061 @DomName('LocalMediaStream.stop') |
| 12735 @DocsEditable | 13062 @DocsEditable |
| 12736 void stop() native; | 13063 void stop() native; |
| 12737 } | 13064 } |
| 12738 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 13065 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 12739 // for details. All rights reserved. Use of this source code is governed by a | 13066 // for details. All rights reserved. Use of this source code is governed by a |
| 12740 // BSD-style license that can be found in the LICENSE file. | 13067 // BSD-style license that can be found in the LICENSE file. |
| 12741 | 13068 |
| 12742 | 13069 |
| 12743 @DocsEditable | 13070 @DocsEditable |
| 12744 @DomName('Location') | 13071 @DomName('Location') |
| 12745 class Location implements LocationBase native "Location" { | 13072 class Location implements LocationBase native "Location" { |
| 12746 | 13073 |
| 12747 @DomName('Location.ancestorOrigins') | 13074 @DomName('Location.ancestorOrigins') |
| 12748 @DocsEditable | 13075 @DocsEditable |
| 13076 @Experimental // nonstandard | |
| 12749 @Returns('DomStringList') | 13077 @Returns('DomStringList') |
| 12750 @Creates('DomStringList') | 13078 @Creates('DomStringList') |
| 12751 final List<String> ancestorOrigins; | 13079 final List<String> ancestorOrigins; |
| 12752 | 13080 |
| 12753 @DomName('Location.hash') | 13081 @DomName('Location.hash') |
| 12754 @DocsEditable | 13082 @DocsEditable |
| 12755 String hash; | 13083 String hash; |
| 12756 | 13084 |
| 12757 @DomName('Location.host') | 13085 @DomName('Location.host') |
| 12758 @DocsEditable | 13086 @DocsEditable |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 12793 @DomName('Location.replace') | 13121 @DomName('Location.replace') |
| 12794 @DocsEditable | 13122 @DocsEditable |
| 12795 void replace(String url) native; | 13123 void replace(String url) native; |
| 12796 | 13124 |
| 12797 @DomName('Location.toString') | 13125 @DomName('Location.toString') |
| 12798 @DocsEditable | 13126 @DocsEditable |
| 12799 String toString() native; | 13127 String toString() native; |
| 12800 | 13128 |
| 12801 @DomName('Location.valueOf') | 13129 @DomName('Location.valueOf') |
| 12802 @DocsEditable | 13130 @DocsEditable |
| 13131 @Experimental // nonstandard | |
| 12803 Object valueOf() native; | 13132 Object valueOf() native; |
| 12804 | 13133 |
| 12805 | 13134 |
| 12806 @DomName('Location.origin') | 13135 @DomName('Location.origin') |
| 12807 String get origin { | 13136 String get origin { |
| 12808 if (JS('bool', '("origin" in #)', this)) { | 13137 if (JS('bool', '("origin" in #)', this)) { |
| 12809 return JS('String', '#.origin', this); | 13138 return JS('String', '#.origin', this); |
| 12810 } | 13139 } |
| 12811 return '${this.protocol}//${this.host}'; | 13140 return '${this.protocol}//${this.host}'; |
| 12812 } | 13141 } |
| (...skipping 19 matching lines...) Expand all Loading... | |
| 12832 @DocsEditable | 13161 @DocsEditable |
| 12833 String name; | 13162 String name; |
| 12834 } | 13163 } |
| 12835 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 13164 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 12836 // for details. All rights reserved. Use of this source code is governed by a | 13165 // for details. All rights reserved. Use of this source code is governed by a |
| 12837 // BSD-style license that can be found in the LICENSE file. | 13166 // BSD-style license that can be found in the LICENSE file. |
| 12838 | 13167 |
| 12839 | 13168 |
| 12840 @DocsEditable | 13169 @DocsEditable |
| 12841 @DomName('MediaController') | 13170 @DomName('MediaController') |
| 13171 // http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element .html#mediacontroller | |
| 13172 @Experimental | |
| 12842 class MediaController extends EventTarget native "MediaController" { | 13173 class MediaController extends EventTarget native "MediaController" { |
| 12843 | 13174 |
| 12844 @DomName('MediaController.MediaController') | 13175 @DomName('MediaController.MediaController') |
| 12845 @DocsEditable | 13176 @DocsEditable |
| 12846 factory MediaController() { | 13177 factory MediaController() { |
| 12847 return MediaController._create_1(); | 13178 return MediaController._create_1(); |
| 12848 } | 13179 } |
| 12849 static MediaController _create_1() => JS('MediaController', 'new MediaControll er()'); | 13180 static MediaController _create_1() => JS('MediaController', 'new MediaControll er()'); |
| 12850 | 13181 |
| 12851 @DomName('MediaController.buffered') | 13182 @DomName('MediaController.buffered') |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 12918 @DocsEditable | 13249 @DocsEditable |
| 12919 void unpause() native; | 13250 void unpause() native; |
| 12920 } | 13251 } |
| 12921 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 13252 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 12922 // for details. All rights reserved. Use of this source code is governed by a | 13253 // for details. All rights reserved. Use of this source code is governed by a |
| 12923 // BSD-style license that can be found in the LICENSE file. | 13254 // BSD-style license that can be found in the LICENSE file. |
| 12924 | 13255 |
| 12925 | 13256 |
| 12926 @DocsEditable | 13257 @DocsEditable |
| 12927 @DomName('HTMLMediaElement') | 13258 @DomName('HTMLMediaElement') |
| 13259 @Unstable | |
| 12928 class MediaElement extends Element native "HTMLMediaElement" { | 13260 class MediaElement extends Element native "HTMLMediaElement" { |
| 12929 | 13261 |
| 12930 @DomName('HTMLMediaElement.canplayEvent') | 13262 @DomName('HTMLMediaElement.canplayEvent') |
| 12931 @DocsEditable | 13263 @DocsEditable |
| 12932 static const EventStreamProvider<Event> canPlayEvent = const EventStreamProvid er<Event>('canplay'); | 13264 static const EventStreamProvider<Event> canPlayEvent = const EventStreamProvid er<Event>('canplay'); |
| 12933 | 13265 |
| 12934 @DomName('HTMLMediaElement.canplaythroughEvent') | 13266 @DomName('HTMLMediaElement.canplaythroughEvent') |
| 12935 @DocsEditable | 13267 @DocsEditable |
| 12936 static const EventStreamProvider<Event> canPlayThroughEvent = const EventStrea mProvider<Event>('canplaythrough'); | 13268 static const EventStreamProvider<Event> canPlayThroughEvent = const EventStrea mProvider<Event>('canplaythrough'); |
| 12937 | 13269 |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 12982 @DomName('HTMLMediaElement.seekedEvent') | 13314 @DomName('HTMLMediaElement.seekedEvent') |
| 12983 @DocsEditable | 13315 @DocsEditable |
| 12984 static const EventStreamProvider<Event> seekedEvent = const EventStreamProvide r<Event>('seeked'); | 13316 static const EventStreamProvider<Event> seekedEvent = const EventStreamProvide r<Event>('seeked'); |
| 12985 | 13317 |
| 12986 @DomName('HTMLMediaElement.seekingEvent') | 13318 @DomName('HTMLMediaElement.seekingEvent') |
| 12987 @DocsEditable | 13319 @DocsEditable |
| 12988 static const EventStreamProvider<Event> seekingEvent = const EventStreamProvid er<Event>('seeking'); | 13320 static const EventStreamProvider<Event> seekingEvent = const EventStreamProvid er<Event>('seeking'); |
| 12989 | 13321 |
| 12990 @DomName('HTMLMediaElement.showEvent') | 13322 @DomName('HTMLMediaElement.showEvent') |
| 12991 @DocsEditable | 13323 @DocsEditable |
| 13324 // http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-eleme nt.html#event-media-loadstart | |
| 13325 @Experimental | |
| 12992 static const EventStreamProvider<Event> showEvent = const EventStreamProvider< Event>('show'); | 13326 static const EventStreamProvider<Event> showEvent = const EventStreamProvider< Event>('show'); |
| 12993 | 13327 |
| 12994 @DomName('HTMLMediaElement.stalledEvent') | 13328 @DomName('HTMLMediaElement.stalledEvent') |
| 12995 @DocsEditable | 13329 @DocsEditable |
| 12996 static const EventStreamProvider<Event> stalledEvent = const EventStreamProvid er<Event>('stalled'); | 13330 static const EventStreamProvider<Event> stalledEvent = const EventStreamProvid er<Event>('stalled'); |
| 12997 | 13331 |
| 12998 @DomName('HTMLMediaElement.suspendEvent') | 13332 @DomName('HTMLMediaElement.suspendEvent') |
| 12999 @DocsEditable | 13333 @DocsEditable |
| 13000 static const EventStreamProvider<Event> suspendEvent = const EventStreamProvid er<Event>('suspend'); | 13334 static const EventStreamProvider<Event> suspendEvent = const EventStreamProvid er<Event>('suspend'); |
| 13001 | 13335 |
| 13002 @DomName('HTMLMediaElement.timeupdateEvent') | 13336 @DomName('HTMLMediaElement.timeupdateEvent') |
| 13003 @DocsEditable | 13337 @DocsEditable |
| 13004 static const EventStreamProvider<Event> timeUpdateEvent = const EventStreamPro vider<Event>('timeupdate'); | 13338 static const EventStreamProvider<Event> timeUpdateEvent = const EventStreamPro vider<Event>('timeupdate'); |
| 13005 | 13339 |
| 13006 @DomName('HTMLMediaElement.volumechangeEvent') | 13340 @DomName('HTMLMediaElement.volumechangeEvent') |
| 13007 @DocsEditable | 13341 @DocsEditable |
| 13008 static const EventStreamProvider<Event> volumeChangeEvent = const EventStreamP rovider<Event>('volumechange'); | 13342 static const EventStreamProvider<Event> volumeChangeEvent = const EventStreamP rovider<Event>('volumechange'); |
| 13009 | 13343 |
| 13010 @DomName('HTMLMediaElement.waitingEvent') | 13344 @DomName('HTMLMediaElement.waitingEvent') |
| 13011 @DocsEditable | 13345 @DocsEditable |
| 13012 static const EventStreamProvider<Event> waitingEvent = const EventStreamProvid er<Event>('waiting'); | 13346 static const EventStreamProvider<Event> waitingEvent = const EventStreamProvid er<Event>('waiting'); |
| 13013 | 13347 |
| 13014 @DomName('HTMLMediaElement.webkitkeyaddedEvent') | 13348 @DomName('HTMLMediaElement.webkitkeyaddedEvent') |
| 13015 @DocsEditable | 13349 @DocsEditable |
| 13016 @SupportedBrowser(SupportedBrowser.CHROME) | 13350 @SupportedBrowser(SupportedBrowser.CHROME) |
| 13017 @SupportedBrowser(SupportedBrowser.SAFARI) | 13351 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 13018 @Experimental | 13352 @Experimental |
| 13353 // https://dvcs.w3.org/hg/html-media/raw-file/eme-v0.1/encrypted-media/encrypt ed-media.html#dom-keyadded | |
| 13019 static const EventStreamProvider<MediaKeyEvent> keyAddedEvent = const EventStr eamProvider<MediaKeyEvent>('webkitkeyadded'); | 13354 static const EventStreamProvider<MediaKeyEvent> keyAddedEvent = const EventStr eamProvider<MediaKeyEvent>('webkitkeyadded'); |
| 13020 | 13355 |
| 13021 @DomName('HTMLMediaElement.webkitkeyerrorEvent') | 13356 @DomName('HTMLMediaElement.webkitkeyerrorEvent') |
| 13022 @DocsEditable | 13357 @DocsEditable |
| 13023 @SupportedBrowser(SupportedBrowser.CHROME) | 13358 @SupportedBrowser(SupportedBrowser.CHROME) |
| 13024 @SupportedBrowser(SupportedBrowser.SAFARI) | 13359 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 13025 @Experimental | 13360 @Experimental |
| 13361 // https://dvcs.w3.org/hg/html-media/raw-file/eme-v0.1/encrypted-media/encrypt ed-media.html#dom-keyadded | |
| 13026 static const EventStreamProvider<MediaKeyEvent> keyErrorEvent = const EventStr eamProvider<MediaKeyEvent>('webkitkeyerror'); | 13362 static const EventStreamProvider<MediaKeyEvent> keyErrorEvent = const EventStr eamProvider<MediaKeyEvent>('webkitkeyerror'); |
| 13027 | 13363 |
| 13028 @DomName('HTMLMediaElement.webkitkeymessageEvent') | 13364 @DomName('HTMLMediaElement.webkitkeymessageEvent') |
| 13029 @DocsEditable | 13365 @DocsEditable |
| 13030 @SupportedBrowser(SupportedBrowser.CHROME) | 13366 @SupportedBrowser(SupportedBrowser.CHROME) |
| 13031 @SupportedBrowser(SupportedBrowser.SAFARI) | 13367 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 13032 @Experimental | 13368 @Experimental |
| 13369 // https://dvcs.w3.org/hg/html-media/raw-file/eme-v0.1/encrypted-media/encrypt ed-media.html#dom-keyadded | |
| 13033 static const EventStreamProvider<MediaKeyEvent> keyMessageEvent = const EventS treamProvider<MediaKeyEvent>('webkitkeymessage'); | 13370 static const EventStreamProvider<MediaKeyEvent> keyMessageEvent = const EventS treamProvider<MediaKeyEvent>('webkitkeymessage'); |
| 13034 | 13371 |
| 13035 @DomName('HTMLMediaElement.webkitneedkeyEvent') | 13372 @DomName('HTMLMediaElement.webkitneedkeyEvent') |
| 13036 @DocsEditable | 13373 @DocsEditable |
| 13037 @SupportedBrowser(SupportedBrowser.CHROME) | 13374 @SupportedBrowser(SupportedBrowser.CHROME) |
| 13038 @SupportedBrowser(SupportedBrowser.SAFARI) | 13375 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 13039 @Experimental | 13376 @Experimental |
| 13377 // https://dvcs.w3.org/hg/html-media/raw-file/eme-v0.1/encrypted-media/encrypt ed-media.html#dom-keyadded | |
| 13040 static const EventStreamProvider<MediaKeyEvent> needKeyEvent = const EventStre amProvider<MediaKeyEvent>('webkitneedkey'); | 13378 static const EventStreamProvider<MediaKeyEvent> needKeyEvent = const EventStre amProvider<MediaKeyEvent>('webkitneedkey'); |
| 13041 | 13379 |
| 13042 @DomName('HTMLMediaElement.HAVE_CURRENT_DATA') | 13380 @DomName('HTMLMediaElement.HAVE_CURRENT_DATA') |
| 13043 @DocsEditable | 13381 @DocsEditable |
| 13044 static const int HAVE_CURRENT_DATA = 2; | 13382 static const int HAVE_CURRENT_DATA = 2; |
| 13045 | 13383 |
| 13046 @DomName('HTMLMediaElement.HAVE_ENOUGH_DATA') | 13384 @DomName('HTMLMediaElement.HAVE_ENOUGH_DATA') |
| 13047 @DocsEditable | 13385 @DocsEditable |
| 13048 static const int HAVE_ENOUGH_DATA = 4; | 13386 static const int HAVE_ENOUGH_DATA = 4; |
| 13049 | 13387 |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 13114 @DomName('HTMLMediaElement.ended') | 13452 @DomName('HTMLMediaElement.ended') |
| 13115 @DocsEditable | 13453 @DocsEditable |
| 13116 final bool ended; | 13454 final bool ended; |
| 13117 | 13455 |
| 13118 @DomName('HTMLMediaElement.error') | 13456 @DomName('HTMLMediaElement.error') |
| 13119 @DocsEditable | 13457 @DocsEditable |
| 13120 final MediaError error; | 13458 final MediaError error; |
| 13121 | 13459 |
| 13122 @DomName('HTMLMediaElement.initialTime') | 13460 @DomName('HTMLMediaElement.initialTime') |
| 13123 @DocsEditable | 13461 @DocsEditable |
| 13462 // http://www.w3.org/TR/2011/WD-html5-20110113/video.html#dom-media-initialtim e | |
| 13463 @Experimental | |
| 13124 final num initialTime; | 13464 final num initialTime; |
| 13125 | 13465 |
| 13126 @DomName('HTMLMediaElement.loop') | 13466 @DomName('HTMLMediaElement.loop') |
| 13127 @DocsEditable | 13467 @DocsEditable |
| 13128 bool loop; | 13468 bool loop; |
| 13129 | 13469 |
| 13130 @DomName('HTMLMediaElement.mediaGroup') | 13470 @DomName('HTMLMediaElement.mediaGroup') |
| 13131 @DocsEditable | 13471 @DocsEditable |
| 13132 String mediaGroup; | 13472 String mediaGroup; |
| 13133 | 13473 |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 13166 @DomName('HTMLMediaElement.seeking') | 13506 @DomName('HTMLMediaElement.seeking') |
| 13167 @DocsEditable | 13507 @DocsEditable |
| 13168 final bool seeking; | 13508 final bool seeking; |
| 13169 | 13509 |
| 13170 @DomName('HTMLMediaElement.src') | 13510 @DomName('HTMLMediaElement.src') |
| 13171 @DocsEditable | 13511 @DocsEditable |
| 13172 String src; | 13512 String src; |
| 13173 | 13513 |
| 13174 @DomName('HTMLMediaElement.startTime') | 13514 @DomName('HTMLMediaElement.startTime') |
| 13175 @DocsEditable | 13515 @DocsEditable |
| 13516 @Experimental // non-standard | |
| 13176 final num startTime; | 13517 final num startTime; |
| 13177 | 13518 |
| 13178 @DomName('HTMLMediaElement.textTracks') | 13519 @DomName('HTMLMediaElement.textTracks') |
| 13179 @DocsEditable | 13520 @DocsEditable |
| 13521 // http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-eleme nt.html#dom-media-texttracks | |
| 13522 @Experimental | |
| 13180 final TextTrackList textTracks; | 13523 final TextTrackList textTracks; |
| 13181 | 13524 |
| 13182 @DomName('HTMLMediaElement.volume') | 13525 @DomName('HTMLMediaElement.volume') |
| 13183 @DocsEditable | 13526 @DocsEditable |
| 13184 num volume; | 13527 num volume; |
| 13185 | 13528 |
| 13186 @JSName('webkitAudioDecodedByteCount') | 13529 @JSName('webkitAudioDecodedByteCount') |
| 13187 @DomName('HTMLMediaElement.webkitAudioDecodedByteCount') | 13530 @DomName('HTMLMediaElement.webkitAudioDecodedByteCount') |
| 13188 @DocsEditable | 13531 @DocsEditable |
| 13189 @SupportedBrowser(SupportedBrowser.CHROME) | 13532 @SupportedBrowser(SupportedBrowser.CHROME) |
| 13190 @SupportedBrowser(SupportedBrowser.SAFARI) | 13533 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 13191 @Experimental | 13534 @Experimental |
| 13535 @Experimental // nonstandard | |
| 13192 final int audioDecodedByteCount; | 13536 final int audioDecodedByteCount; |
| 13193 | 13537 |
| 13194 @JSName('webkitClosedCaptionsVisible') | 13538 @JSName('webkitClosedCaptionsVisible') |
| 13195 @DomName('HTMLMediaElement.webkitClosedCaptionsVisible') | 13539 @DomName('HTMLMediaElement.webkitClosedCaptionsVisible') |
| 13196 @DocsEditable | 13540 @DocsEditable |
| 13197 @SupportedBrowser(SupportedBrowser.CHROME) | 13541 @SupportedBrowser(SupportedBrowser.CHROME) |
| 13198 @SupportedBrowser(SupportedBrowser.SAFARI) | 13542 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 13199 @Experimental | 13543 @Experimental |
| 13544 @Experimental // nonstandard | |
| 13200 bool closedCaptionsVisible; | 13545 bool closedCaptionsVisible; |
| 13201 | 13546 |
| 13202 @JSName('webkitHasClosedCaptions') | 13547 @JSName('webkitHasClosedCaptions') |
| 13203 @DomName('HTMLMediaElement.webkitHasClosedCaptions') | 13548 @DomName('HTMLMediaElement.webkitHasClosedCaptions') |
| 13204 @DocsEditable | 13549 @DocsEditable |
| 13205 @SupportedBrowser(SupportedBrowser.CHROME) | 13550 @SupportedBrowser(SupportedBrowser.CHROME) |
| 13206 @SupportedBrowser(SupportedBrowser.SAFARI) | 13551 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 13207 @Experimental | 13552 @Experimental |
| 13553 @Experimental // nonstandard | |
| 13208 final bool hasClosedCaptions; | 13554 final bool hasClosedCaptions; |
| 13209 | 13555 |
| 13210 @JSName('webkitPreservesPitch') | 13556 @JSName('webkitPreservesPitch') |
| 13211 @DomName('HTMLMediaElement.webkitPreservesPitch') | 13557 @DomName('HTMLMediaElement.webkitPreservesPitch') |
| 13212 @DocsEditable | 13558 @DocsEditable |
| 13213 @SupportedBrowser(SupportedBrowser.CHROME) | 13559 @SupportedBrowser(SupportedBrowser.CHROME) |
| 13214 @SupportedBrowser(SupportedBrowser.SAFARI) | 13560 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 13215 @Experimental | 13561 @Experimental |
| 13562 @Experimental // nonstandard | |
| 13216 bool preservesPitch; | 13563 bool preservesPitch; |
| 13217 | 13564 |
| 13218 @JSName('webkitVideoDecodedByteCount') | 13565 @JSName('webkitVideoDecodedByteCount') |
| 13219 @DomName('HTMLMediaElement.webkitVideoDecodedByteCount') | 13566 @DomName('HTMLMediaElement.webkitVideoDecodedByteCount') |
| 13220 @DocsEditable | 13567 @DocsEditable |
| 13221 @SupportedBrowser(SupportedBrowser.CHROME) | 13568 @SupportedBrowser(SupportedBrowser.CHROME) |
| 13222 @SupportedBrowser(SupportedBrowser.SAFARI) | 13569 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 13223 @Experimental | 13570 @Experimental |
| 13571 @Experimental // nonstandard | |
| 13224 final int videoDecodedByteCount; | 13572 final int videoDecodedByteCount; |
| 13225 | 13573 |
| 13226 @DomName('HTMLMediaElement.addTextTrack') | 13574 @DomName('HTMLMediaElement.addTextTrack') |
| 13227 @DocsEditable | 13575 @DocsEditable |
| 13576 // http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-eleme nt.html#dom-media-addtexttrack | |
| 13577 @Experimental | |
| 13228 TextTrack addTextTrack(String kind, [String label, String language]) native; | 13578 TextTrack addTextTrack(String kind, [String label, String language]) native; |
| 13229 | 13579 |
| 13230 @DomName('HTMLMediaElement.canPlayType') | 13580 @DomName('HTMLMediaElement.canPlayType') |
| 13231 @DocsEditable | 13581 @DocsEditable |
| 13232 String canPlayType(String type, String keySystem) native; | 13582 String canPlayType(String type, String keySystem) native; |
| 13233 | 13583 |
| 13234 @DomName('HTMLMediaElement.load') | 13584 @DomName('HTMLMediaElement.load') |
| 13235 @DocsEditable | 13585 @DocsEditable |
| 13236 void load() native; | 13586 void load() native; |
| 13237 | 13587 |
| 13238 @DomName('HTMLMediaElement.pause') | 13588 @DomName('HTMLMediaElement.pause') |
| 13239 @DocsEditable | 13589 @DocsEditable |
| 13240 void pause() native; | 13590 void pause() native; |
| 13241 | 13591 |
| 13242 @DomName('HTMLMediaElement.play') | 13592 @DomName('HTMLMediaElement.play') |
| 13243 @DocsEditable | 13593 @DocsEditable |
| 13244 void play() native; | 13594 void play() native; |
| 13245 | 13595 |
| 13246 @JSName('webkitAddKey') | 13596 @JSName('webkitAddKey') |
| 13247 @DomName('HTMLMediaElement.webkitAddKey') | 13597 @DomName('HTMLMediaElement.webkitAddKey') |
| 13248 @DocsEditable | 13598 @DocsEditable |
| 13249 @SupportedBrowser(SupportedBrowser.CHROME) | 13599 @SupportedBrowser(SupportedBrowser.CHROME) |
| 13250 @SupportedBrowser(SupportedBrowser.SAFARI) | 13600 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 13251 @Experimental | 13601 @Experimental |
| 13602 // https://dvcs.w3.org/hg/html-media/raw-file/eme-v0.1/encrypted-media/encrypt ed-media.html#extensions | |
| 13252 void addKey(String keySystem, Uint8List key, [Uint8List initData, String sessi onId]) native; | 13603 void addKey(String keySystem, Uint8List key, [Uint8List initData, String sessi onId]) native; |
| 13253 | 13604 |
| 13254 @JSName('webkitCancelKeyRequest') | 13605 @JSName('webkitCancelKeyRequest') |
| 13255 @DomName('HTMLMediaElement.webkitCancelKeyRequest') | 13606 @DomName('HTMLMediaElement.webkitCancelKeyRequest') |
| 13256 @DocsEditable | 13607 @DocsEditable |
| 13257 @SupportedBrowser(SupportedBrowser.CHROME) | 13608 @SupportedBrowser(SupportedBrowser.CHROME) |
| 13258 @SupportedBrowser(SupportedBrowser.SAFARI) | 13609 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 13259 @Experimental | 13610 @Experimental |
| 13611 // https://dvcs.w3.org/hg/html-media/raw-file/eme-v0.1/encrypted-media/encrypt ed-media.html#extensions | |
| 13260 void cancelKeyRequest(String keySystem, String sessionId) native; | 13612 void cancelKeyRequest(String keySystem, String sessionId) native; |
| 13261 | 13613 |
| 13262 @JSName('webkitGenerateKeyRequest') | 13614 @JSName('webkitGenerateKeyRequest') |
| 13263 @DomName('HTMLMediaElement.webkitGenerateKeyRequest') | 13615 @DomName('HTMLMediaElement.webkitGenerateKeyRequest') |
| 13264 @DocsEditable | 13616 @DocsEditable |
| 13265 @SupportedBrowser(SupportedBrowser.CHROME) | 13617 @SupportedBrowser(SupportedBrowser.CHROME) |
| 13266 @SupportedBrowser(SupportedBrowser.SAFARI) | 13618 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 13267 @Experimental | 13619 @Experimental |
| 13620 // https://dvcs.w3.org/hg/html-media/raw-file/eme-v0.1/encrypted-media/encrypt ed-media.html#extensions | |
| 13268 void generateKeyRequest(String keySystem, [Uint8List initData]) native; | 13621 void generateKeyRequest(String keySystem, [Uint8List initData]) native; |
| 13269 | 13622 |
| 13270 @DomName('HTMLMediaElement.oncanplay') | 13623 @DomName('HTMLMediaElement.oncanplay') |
| 13271 @DocsEditable | 13624 @DocsEditable |
| 13272 Stream<Event> get onCanPlay => canPlayEvent.forTarget(this); | 13625 Stream<Event> get onCanPlay => canPlayEvent.forTarget(this); |
| 13273 | 13626 |
| 13274 @DomName('HTMLMediaElement.oncanplaythrough') | 13627 @DomName('HTMLMediaElement.oncanplaythrough') |
| 13275 @DocsEditable | 13628 @DocsEditable |
| 13276 Stream<Event> get onCanPlayThrough => canPlayThroughEvent.forTarget(this); | 13629 Stream<Event> get onCanPlayThrough => canPlayThroughEvent.forTarget(this); |
| 13277 | 13630 |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 13322 @DomName('HTMLMediaElement.onseeked') | 13675 @DomName('HTMLMediaElement.onseeked') |
| 13323 @DocsEditable | 13676 @DocsEditable |
| 13324 Stream<Event> get onSeeked => seekedEvent.forTarget(this); | 13677 Stream<Event> get onSeeked => seekedEvent.forTarget(this); |
| 13325 | 13678 |
| 13326 @DomName('HTMLMediaElement.onseeking') | 13679 @DomName('HTMLMediaElement.onseeking') |
| 13327 @DocsEditable | 13680 @DocsEditable |
| 13328 Stream<Event> get onSeeking => seekingEvent.forTarget(this); | 13681 Stream<Event> get onSeeking => seekingEvent.forTarget(this); |
| 13329 | 13682 |
| 13330 @DomName('HTMLMediaElement.onshow') | 13683 @DomName('HTMLMediaElement.onshow') |
| 13331 @DocsEditable | 13684 @DocsEditable |
| 13685 // http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-eleme nt.html#event-media-loadstart | |
| 13686 @Experimental | |
| 13332 Stream<Event> get onShow => showEvent.forTarget(this); | 13687 Stream<Event> get onShow => showEvent.forTarget(this); |
| 13333 | 13688 |
| 13334 @DomName('HTMLMediaElement.onstalled') | 13689 @DomName('HTMLMediaElement.onstalled') |
| 13335 @DocsEditable | 13690 @DocsEditable |
| 13336 Stream<Event> get onStalled => stalledEvent.forTarget(this); | 13691 Stream<Event> get onStalled => stalledEvent.forTarget(this); |
| 13337 | 13692 |
| 13338 @DomName('HTMLMediaElement.onsuspend') | 13693 @DomName('HTMLMediaElement.onsuspend') |
| 13339 @DocsEditable | 13694 @DocsEditable |
| 13340 Stream<Event> get onSuspend => suspendEvent.forTarget(this); | 13695 Stream<Event> get onSuspend => suspendEvent.forTarget(this); |
| 13341 | 13696 |
| 13342 @DomName('HTMLMediaElement.ontimeupdate') | 13697 @DomName('HTMLMediaElement.ontimeupdate') |
| 13343 @DocsEditable | 13698 @DocsEditable |
| 13344 Stream<Event> get onTimeUpdate => timeUpdateEvent.forTarget(this); | 13699 Stream<Event> get onTimeUpdate => timeUpdateEvent.forTarget(this); |
| 13345 | 13700 |
| 13346 @DomName('HTMLMediaElement.onvolumechange') | 13701 @DomName('HTMLMediaElement.onvolumechange') |
| 13347 @DocsEditable | 13702 @DocsEditable |
| 13348 Stream<Event> get onVolumeChange => volumeChangeEvent.forTarget(this); | 13703 Stream<Event> get onVolumeChange => volumeChangeEvent.forTarget(this); |
| 13349 | 13704 |
| 13350 @DomName('HTMLMediaElement.onwaiting') | 13705 @DomName('HTMLMediaElement.onwaiting') |
| 13351 @DocsEditable | 13706 @DocsEditable |
| 13352 Stream<Event> get onWaiting => waitingEvent.forTarget(this); | 13707 Stream<Event> get onWaiting => waitingEvent.forTarget(this); |
| 13353 | 13708 |
| 13354 @DomName('HTMLMediaElement.onwebkitkeyadded') | 13709 @DomName('HTMLMediaElement.onwebkitkeyadded') |
| 13355 @DocsEditable | 13710 @DocsEditable |
| 13711 // https://dvcs.w3.org/hg/html-media/raw-file/eme-v0.1/encrypted-media/encrypt ed-media.html#dom-keyadded | |
| 13712 @Experimental | |
| 13356 Stream<MediaKeyEvent> get onKeyAdded => keyAddedEvent.forTarget(this); | 13713 Stream<MediaKeyEvent> get onKeyAdded => keyAddedEvent.forTarget(this); |
| 13357 | 13714 |
| 13358 @DomName('HTMLMediaElement.onwebkitkeyerror') | 13715 @DomName('HTMLMediaElement.onwebkitkeyerror') |
| 13359 @DocsEditable | 13716 @DocsEditable |
| 13717 // https://dvcs.w3.org/hg/html-media/raw-file/eme-v0.1/encrypted-media/encrypt ed-media.html#dom-keyadded | |
| 13718 @Experimental | |
| 13360 Stream<MediaKeyEvent> get onKeyError => keyErrorEvent.forTarget(this); | 13719 Stream<MediaKeyEvent> get onKeyError => keyErrorEvent.forTarget(this); |
| 13361 | 13720 |
| 13362 @DomName('HTMLMediaElement.onwebkitkeymessage') | 13721 @DomName('HTMLMediaElement.onwebkitkeymessage') |
| 13363 @DocsEditable | 13722 @DocsEditable |
| 13723 // https://dvcs.w3.org/hg/html-media/raw-file/eme-v0.1/encrypted-media/encrypt ed-media.html#dom-keyadded | |
| 13724 @Experimental | |
| 13364 Stream<MediaKeyEvent> get onKeyMessage => keyMessageEvent.forTarget(this); | 13725 Stream<MediaKeyEvent> get onKeyMessage => keyMessageEvent.forTarget(this); |
| 13365 | 13726 |
| 13366 @DomName('HTMLMediaElement.onwebkitneedkey') | 13727 @DomName('HTMLMediaElement.onwebkitneedkey') |
| 13367 @DocsEditable | 13728 @DocsEditable |
| 13729 // https://dvcs.w3.org/hg/html-media/raw-file/eme-v0.1/encrypted-media/encrypt ed-media.html#dom-keyadded | |
| 13730 @Experimental | |
| 13368 Stream<MediaKeyEvent> get onNeedKey => needKeyEvent.forTarget(this); | 13731 Stream<MediaKeyEvent> get onNeedKey => needKeyEvent.forTarget(this); |
| 13369 } | 13732 } |
| 13370 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 13733 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 13371 // for details. All rights reserved. Use of this source code is governed by a | 13734 // for details. All rights reserved. Use of this source code is governed by a |
| 13372 // BSD-style license that can be found in the LICENSE file. | 13735 // BSD-style license that can be found in the LICENSE file. |
| 13373 | 13736 |
| 13374 | 13737 |
| 13375 @DocsEditable | 13738 @DocsEditable |
| 13376 @DomName('MediaError') | 13739 @DomName('MediaError') |
| 13740 @Unstable | |
| 13377 class MediaError native "MediaError" { | 13741 class MediaError native "MediaError" { |
| 13378 | 13742 |
| 13379 @DomName('MediaError.MEDIA_ERR_ABORTED') | 13743 @DomName('MediaError.MEDIA_ERR_ABORTED') |
| 13380 @DocsEditable | 13744 @DocsEditable |
| 13381 static const int MEDIA_ERR_ABORTED = 1; | 13745 static const int MEDIA_ERR_ABORTED = 1; |
| 13382 | 13746 |
| 13383 @DomName('MediaError.MEDIA_ERR_DECODE') | 13747 @DomName('MediaError.MEDIA_ERR_DECODE') |
| 13384 @DocsEditable | 13748 @DocsEditable |
| 13385 static const int MEDIA_ERR_DECODE = 3; | 13749 static const int MEDIA_ERR_DECODE = 3; |
| 13386 | 13750 |
| 13387 @DomName('MediaError.MEDIA_ERR_ENCRYPTED') | 13751 @DomName('MediaError.MEDIA_ERR_ENCRYPTED') |
| 13388 @DocsEditable | 13752 @DocsEditable |
| 13753 // https://dvcs.w3.org/hg/html-media/raw-file/eme-v0.1/encrypted-media/encrypt ed-media.html#error-codes | |
| 13754 @Experimental | |
| 13389 static const int MEDIA_ERR_ENCRYPTED = 5; | 13755 static const int MEDIA_ERR_ENCRYPTED = 5; |
| 13390 | 13756 |
| 13391 @DomName('MediaError.MEDIA_ERR_NETWORK') | 13757 @DomName('MediaError.MEDIA_ERR_NETWORK') |
| 13392 @DocsEditable | 13758 @DocsEditable |
| 13393 static const int MEDIA_ERR_NETWORK = 2; | 13759 static const int MEDIA_ERR_NETWORK = 2; |
| 13394 | 13760 |
| 13395 @DomName('MediaError.MEDIA_ERR_SRC_NOT_SUPPORTED') | 13761 @DomName('MediaError.MEDIA_ERR_SRC_NOT_SUPPORTED') |
| 13396 @DocsEditable | 13762 @DocsEditable |
| 13397 static const int MEDIA_ERR_SRC_NOT_SUPPORTED = 4; | 13763 static const int MEDIA_ERR_SRC_NOT_SUPPORTED = 4; |
| 13398 | 13764 |
| 13399 @DomName('MediaError.code') | 13765 @DomName('MediaError.code') |
| 13400 @DocsEditable | 13766 @DocsEditable |
| 13401 final int code; | 13767 final int code; |
| 13402 } | 13768 } |
| 13403 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 13769 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 13404 // for details. All rights reserved. Use of this source code is governed by a | 13770 // for details. All rights reserved. Use of this source code is governed by a |
| 13405 // BSD-style license that can be found in the LICENSE file. | 13771 // BSD-style license that can be found in the LICENSE file. |
| 13406 | 13772 |
| 13407 | 13773 |
| 13408 @DocsEditable | 13774 @DocsEditable |
| 13409 @DomName('MediaKeyError') | 13775 @DomName('MediaKeyError') |
| 13776 // https://dvcs.w3.org/hg/html-media/raw-file/eme-v0.1/encrypted-media/encrypted -media.html#error-codes | |
| 13777 @Experimental | |
| 13410 class MediaKeyError native "MediaKeyError" { | 13778 class MediaKeyError native "MediaKeyError" { |
| 13411 | 13779 |
| 13412 @DomName('MediaKeyError.MEDIA_KEYERR_CLIENT') | 13780 @DomName('MediaKeyError.MEDIA_KEYERR_CLIENT') |
| 13413 @DocsEditable | 13781 @DocsEditable |
| 13414 static const int MEDIA_KEYERR_CLIENT = 2; | 13782 static const int MEDIA_KEYERR_CLIENT = 2; |
| 13415 | 13783 |
| 13416 @DomName('MediaKeyError.MEDIA_KEYERR_DOMAIN') | 13784 @DomName('MediaKeyError.MEDIA_KEYERR_DOMAIN') |
| 13417 @DocsEditable | 13785 @DocsEditable |
| 13418 static const int MEDIA_KEYERR_DOMAIN = 6; | 13786 static const int MEDIA_KEYERR_DOMAIN = 6; |
| 13419 | 13787 |
| (...skipping 17 matching lines...) Expand all Loading... | |
| 13437 @DocsEditable | 13805 @DocsEditable |
| 13438 final int code; | 13806 final int code; |
| 13439 } | 13807 } |
| 13440 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 13808 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 13441 // for details. All rights reserved. Use of this source code is governed by a | 13809 // for details. All rights reserved. Use of this source code is governed by a |
| 13442 // BSD-style license that can be found in the LICENSE file. | 13810 // BSD-style license that can be found in the LICENSE file. |
| 13443 | 13811 |
| 13444 | 13812 |
| 13445 @DocsEditable | 13813 @DocsEditable |
| 13446 @DomName('MediaKeyEvent') | 13814 @DomName('MediaKeyEvent') |
| 13815 // https://dvcs.w3.org/hg/html-media/raw-file/eme-v0.1/encrypted-media/encrypted -media.html#event-definitions | |
| 13816 @Experimental | |
| 13447 class MediaKeyEvent extends Event native "MediaKeyEvent" { | 13817 class MediaKeyEvent extends Event native "MediaKeyEvent" { |
| 13448 | 13818 |
| 13449 @JSName('defaultURL') | 13819 @JSName('defaultURL') |
| 13450 @DomName('MediaKeyEvent.defaultURL') | 13820 @DomName('MediaKeyEvent.defaultURL') |
| 13451 @DocsEditable | 13821 @DocsEditable |
| 13452 final String defaultUrl; | 13822 final String defaultUrl; |
| 13453 | 13823 |
| 13454 @DomName('MediaKeyEvent.errorCode') | 13824 @DomName('MediaKeyEvent.errorCode') |
| 13455 @DocsEditable | 13825 @DocsEditable |
| 13456 final MediaKeyError errorCode; | 13826 final MediaKeyError errorCode; |
| (...skipping 18 matching lines...) Expand all Loading... | |
| 13475 @DocsEditable | 13845 @DocsEditable |
| 13476 final int systemCode; | 13846 final int systemCode; |
| 13477 } | 13847 } |
| 13478 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 13848 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 13479 // for details. All rights reserved. Use of this source code is governed by a | 13849 // for details. All rights reserved. Use of this source code is governed by a |
| 13480 // BSD-style license that can be found in the LICENSE file. | 13850 // BSD-style license that can be found in the LICENSE file. |
| 13481 | 13851 |
| 13482 | 13852 |
| 13483 @DocsEditable | 13853 @DocsEditable |
| 13484 @DomName('MediaList') | 13854 @DomName('MediaList') |
| 13855 @Unstable | |
| 13485 class MediaList native "MediaList" { | 13856 class MediaList native "MediaList" { |
| 13486 | 13857 |
| 13487 @DomName('MediaList.length') | 13858 @DomName('MediaList.length') |
| 13488 @DocsEditable | 13859 @DocsEditable |
| 13489 final int length; | 13860 final int length; |
| 13490 | 13861 |
| 13491 @DomName('MediaList.mediaText') | 13862 @DomName('MediaList.mediaText') |
| 13492 @DocsEditable | 13863 @DocsEditable |
| 13493 String mediaText; | 13864 String mediaText; |
| 13494 | 13865 |
| 13495 @DomName('MediaList.appendMedium') | 13866 @DomName('MediaList.appendMedium') |
| 13496 @DocsEditable | 13867 @DocsEditable |
| 13497 void appendMedium(String newMedium) native; | 13868 void appendMedium(String newMedium) native; |
| 13498 | 13869 |
| 13499 @DomName('MediaList.deleteMedium') | 13870 @DomName('MediaList.deleteMedium') |
| 13500 @DocsEditable | 13871 @DocsEditable |
| 13501 void deleteMedium(String oldMedium) native; | 13872 void deleteMedium(String oldMedium) native; |
| 13502 | 13873 |
| 13503 @DomName('MediaList.item') | 13874 @DomName('MediaList.item') |
| 13504 @DocsEditable | 13875 @DocsEditable |
| 13505 String item(int index) native; | 13876 String item(int index) native; |
| 13506 } | 13877 } |
| 13507 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 13878 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 13508 // for details. All rights reserved. Use of this source code is governed by a | 13879 // for details. All rights reserved. Use of this source code is governed by a |
| 13509 // BSD-style license that can be found in the LICENSE file. | 13880 // BSD-style license that can be found in the LICENSE file. |
| 13510 | 13881 |
| 13511 | 13882 |
| 13512 @DocsEditable | 13883 @DocsEditable |
| 13513 @DomName('MediaQueryList') | 13884 @DomName('MediaQueryList') |
| 13885 @Unstable | |
| 13514 class MediaQueryList native "MediaQueryList" { | 13886 class MediaQueryList native "MediaQueryList" { |
| 13515 | 13887 |
| 13516 @DomName('MediaQueryList.matches') | 13888 @DomName('MediaQueryList.matches') |
| 13517 @DocsEditable | 13889 @DocsEditable |
| 13518 final bool matches; | 13890 final bool matches; |
| 13519 | 13891 |
| 13520 @DomName('MediaQueryList.media') | 13892 @DomName('MediaQueryList.media') |
| 13521 @DocsEditable | 13893 @DocsEditable |
| 13522 final String media; | 13894 final String media; |
| 13523 | 13895 |
| 13524 @DomName('MediaQueryList.addListener') | 13896 @DomName('MediaQueryList.addListener') |
| 13525 @DocsEditable | 13897 @DocsEditable |
| 13526 void addListener(MediaQueryListListener listener) native; | 13898 void addListener(MediaQueryListListener listener) native; |
| 13527 | 13899 |
| 13528 @DomName('MediaQueryList.removeListener') | 13900 @DomName('MediaQueryList.removeListener') |
| 13529 @DocsEditable | 13901 @DocsEditable |
| 13530 void removeListener(MediaQueryListListener listener) native; | 13902 void removeListener(MediaQueryListListener listener) native; |
| 13531 } | 13903 } |
| 13532 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 13904 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 13533 // for details. All rights reserved. Use of this source code is governed by a | 13905 // for details. All rights reserved. Use of this source code is governed by a |
| 13534 // BSD-style license that can be found in the LICENSE file. | 13906 // BSD-style license that can be found in the LICENSE file. |
| 13535 | 13907 |
| 13536 | 13908 |
| 13537 @DomName('MediaQueryListListener') | 13909 @DomName('MediaQueryListListener') |
| 13910 @Unstable | |
| 13538 abstract class MediaQueryListListener { | 13911 abstract class MediaQueryListListener { |
| 13539 | 13912 |
| 13540 void queryChanged(MediaQueryList list); | 13913 void queryChanged(MediaQueryList list); |
| 13541 } | 13914 } |
| 13542 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 13915 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 13543 // for details. All rights reserved. Use of this source code is governed by a | 13916 // for details. All rights reserved. Use of this source code is governed by a |
| 13544 // BSD-style license that can be found in the LICENSE file. | 13917 // BSD-style license that can be found in the LICENSE file. |
| 13545 | 13918 |
| 13546 | 13919 |
| 13547 @DocsEditable | 13920 @DocsEditable |
| 13548 @DomName('MediaSource') | 13921 @DomName('MediaSource') |
| 13922 // https://dvcs.w3.org/hg/html-media/raw-file/tip/media-source/media-source.html #mediasource | |
| 13923 @Experimental | |
| 13549 class MediaSource extends EventTarget native "MediaSource" { | 13924 class MediaSource extends EventTarget native "MediaSource" { |
| 13550 | 13925 |
| 13551 @DomName('MediaSource.MediaSource') | 13926 @DomName('MediaSource.MediaSource') |
| 13552 @DocsEditable | 13927 @DocsEditable |
| 13553 factory MediaSource() { | 13928 factory MediaSource() { |
| 13554 return MediaSource._create_1(); | 13929 return MediaSource._create_1(); |
| 13555 } | 13930 } |
| 13556 static MediaSource _create_1() => JS('MediaSource', 'new MediaSource()'); | 13931 static MediaSource _create_1() => JS('MediaSource', 'new MediaSource()'); |
| 13557 | 13932 |
| 13558 @DomName('MediaSource.activeSourceBuffers') | 13933 @DomName('MediaSource.activeSourceBuffers') |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 13602 void removeSourceBuffer(SourceBuffer buffer) native; | 13977 void removeSourceBuffer(SourceBuffer buffer) native; |
| 13603 } | 13978 } |
| 13604 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 13979 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 13605 // for details. All rights reserved. Use of this source code is governed by a | 13980 // for details. All rights reserved. Use of this source code is governed by a |
| 13606 // BSD-style license that can be found in the LICENSE file. | 13981 // BSD-style license that can be found in the LICENSE file. |
| 13607 | 13982 |
| 13608 | 13983 |
| 13609 @DomName('MediaStream') | 13984 @DomName('MediaStream') |
| 13610 @SupportedBrowser(SupportedBrowser.CHROME) | 13985 @SupportedBrowser(SupportedBrowser.CHROME) |
| 13611 @Experimental | 13986 @Experimental |
| 13987 // http://dev.w3.org/2011/webrtc/editor/getusermedia.html#mediastream | |
| 13612 class MediaStream extends EventTarget native "MediaStream" { | 13988 class MediaStream extends EventTarget native "MediaStream" { |
| 13613 | 13989 |
| 13614 @DomName('MediaStream.addtrackEvent') | 13990 @DomName('MediaStream.addtrackEvent') |
| 13615 @DocsEditable | 13991 @DocsEditable |
| 13616 static const EventStreamProvider<Event> addTrackEvent = const EventStreamProvi der<Event>('addtrack'); | 13992 static const EventStreamProvider<Event> addTrackEvent = const EventStreamProvi der<Event>('addtrack'); |
| 13617 | 13993 |
| 13618 @DomName('MediaStream.endedEvent') | 13994 @DomName('MediaStream.endedEvent') |
| 13619 @DocsEditable | 13995 @DocsEditable |
| 13620 static const EventStreamProvider<Event> endedEvent = const EventStreamProvider <Event>('ended'); | 13996 static const EventStreamProvider<Event> endedEvent = const EventStreamProvider <Event>('ended'); |
| 13621 | 13997 |
| (...skipping 22 matching lines...) Expand all Loading... | |
| 13644 @DomName('MediaStream.ended') | 14020 @DomName('MediaStream.ended') |
| 13645 @DocsEditable | 14021 @DocsEditable |
| 13646 final bool ended; | 14022 final bool ended; |
| 13647 | 14023 |
| 13648 @DomName('MediaStream.id') | 14024 @DomName('MediaStream.id') |
| 13649 @DocsEditable | 14025 @DocsEditable |
| 13650 final String id; | 14026 final String id; |
| 13651 | 14027 |
| 13652 @DomName('MediaStream.label') | 14028 @DomName('MediaStream.label') |
| 13653 @DocsEditable | 14029 @DocsEditable |
| 14030 @Experimental // non-standard | |
| 13654 final String label; | 14031 final String label; |
| 13655 | 14032 |
| 13656 @JSName('addEventListener') | 14033 @JSName('addEventListener') |
| 13657 @DomName('MediaStream.addEventListener') | 14034 @DomName('MediaStream.addEventListener') |
| 13658 @DocsEditable | 14035 @DocsEditable |
| 13659 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu re]) native; | 14036 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu re]) native; |
| 13660 | 14037 |
| 13661 @DomName('MediaStream.addTrack') | 14038 @DomName('MediaStream.addTrack') |
| 13662 @DocsEditable | 14039 @DocsEditable |
| 13663 void addTrack(MediaStreamTrack track) native; | 14040 void addTrack(MediaStreamTrack track) native; |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 13717 } | 14094 } |
| 13718 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14095 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 13719 // for details. All rights reserved. Use of this source code is governed by a | 14096 // for details. All rights reserved. Use of this source code is governed by a |
| 13720 // BSD-style license that can be found in the LICENSE file. | 14097 // BSD-style license that can be found in the LICENSE file. |
| 13721 | 14098 |
| 13722 | 14099 |
| 13723 @DocsEditable | 14100 @DocsEditable |
| 13724 @DomName('MediaStreamEvent') | 14101 @DomName('MediaStreamEvent') |
| 13725 @SupportedBrowser(SupportedBrowser.CHROME) | 14102 @SupportedBrowser(SupportedBrowser.CHROME) |
| 13726 @Experimental | 14103 @Experimental |
| 14104 // http://dev.w3.org/2011/webrtc/editor/getusermedia.html | |
| 13727 class MediaStreamEvent extends Event native "MediaStreamEvent" { | 14105 class MediaStreamEvent extends Event native "MediaStreamEvent" { |
| 13728 | 14106 |
| 13729 /// Checks if this type is supported on the current platform. | 14107 /// Checks if this type is supported on the current platform. |
| 13730 static bool get supported => Device.isEventTypeSupported('MediaStreamEvent'); | 14108 static bool get supported => Device.isEventTypeSupported('MediaStreamEvent'); |
| 13731 | 14109 |
| 13732 @DomName('MediaStreamEvent.stream') | 14110 @DomName('MediaStreamEvent.stream') |
| 13733 @DocsEditable | 14111 @DocsEditable |
| 13734 final MediaStream stream; | 14112 final MediaStream stream; |
| 13735 } | 14113 } |
| 13736 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14114 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 13737 // for details. All rights reserved. Use of this source code is governed by a | 14115 // for details. All rights reserved. Use of this source code is governed by a |
| 13738 // BSD-style license that can be found in the LICENSE file. | 14116 // BSD-style license that can be found in the LICENSE file. |
| 13739 | 14117 |
| 13740 | 14118 |
| 13741 @DocsEditable | 14119 @DocsEditable |
| 13742 @DomName('MediaStreamTrack') | 14120 @DomName('MediaStreamTrack') |
| 13743 @SupportedBrowser(SupportedBrowser.CHROME) | 14121 @SupportedBrowser(SupportedBrowser.CHROME) |
| 13744 @Experimental | 14122 @Experimental |
| 14123 // http://dev.w3.org/2011/webrtc/editor/getusermedia.html#mediastreamtrack | |
| 13745 class MediaStreamTrack extends EventTarget native "MediaStreamTrack" { | 14124 class MediaStreamTrack extends EventTarget native "MediaStreamTrack" { |
| 13746 | 14125 |
| 13747 @DomName('MediaStreamTrack.endedEvent') | 14126 @DomName('MediaStreamTrack.endedEvent') |
| 13748 @DocsEditable | 14127 @DocsEditable |
| 13749 static const EventStreamProvider<Event> endedEvent = const EventStreamProvider <Event>('ended'); | 14128 static const EventStreamProvider<Event> endedEvent = const EventStreamProvider <Event>('ended'); |
| 13750 | 14129 |
| 13751 @DomName('MediaStreamTrack.muteEvent') | 14130 @DomName('MediaStreamTrack.muteEvent') |
| 13752 @DocsEditable | 14131 @DocsEditable |
| 13753 static const EventStreamProvider<Event> muteEvent = const EventStreamProvider< Event>('mute'); | 14132 static const EventStreamProvider<Event> muteEvent = const EventStreamProvider< Event>('mute'); |
| 13754 | 14133 |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 13804 } | 14183 } |
| 13805 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14184 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 13806 // for details. All rights reserved. Use of this source code is governed by a | 14185 // for details. All rights reserved. Use of this source code is governed by a |
| 13807 // BSD-style license that can be found in the LICENSE file. | 14186 // BSD-style license that can be found in the LICENSE file. |
| 13808 | 14187 |
| 13809 | 14188 |
| 13810 @DocsEditable | 14189 @DocsEditable |
| 13811 @DomName('MediaStreamTrackEvent') | 14190 @DomName('MediaStreamTrackEvent') |
| 13812 @SupportedBrowser(SupportedBrowser.CHROME) | 14191 @SupportedBrowser(SupportedBrowser.CHROME) |
| 13813 @Experimental | 14192 @Experimental |
| 14193 // http://dev.w3.org/2011/webrtc/editor/getusermedia.html | |
| 13814 class MediaStreamTrackEvent extends Event native "MediaStreamTrackEvent" { | 14194 class MediaStreamTrackEvent extends Event native "MediaStreamTrackEvent" { |
| 13815 | 14195 |
| 13816 /// Checks if this type is supported on the current platform. | 14196 /// Checks if this type is supported on the current platform. |
| 13817 static bool get supported => Device.isEventTypeSupported('MediaStreamTrackEven t'); | 14197 static bool get supported => Device.isEventTypeSupported('MediaStreamTrackEven t'); |
| 13818 | 14198 |
| 13819 @DomName('MediaStreamTrackEvent.track') | 14199 @DomName('MediaStreamTrackEvent.track') |
| 13820 @DocsEditable | 14200 @DocsEditable |
| 13821 final MediaStreamTrack track; | 14201 final MediaStreamTrack track; |
| 13822 } | 14202 } |
| 13823 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14203 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 13824 // for details. All rights reserved. Use of this source code is governed by a | 14204 // for details. All rights reserved. Use of this source code is governed by a |
| 13825 // BSD-style license that can be found in the LICENSE file. | 14205 // BSD-style license that can be found in the LICENSE file. |
| 13826 | 14206 |
| 13827 | 14207 |
| 13828 @DocsEditable | 14208 @DocsEditable |
| 13829 @DomName('MemoryInfo') | 14209 @DomName('MemoryInfo') |
| 14210 @Experimental // nonstandard | |
| 13830 class MemoryInfo native "MemoryInfo" { | 14211 class MemoryInfo native "MemoryInfo" { |
| 13831 | 14212 |
| 13832 @DomName('MemoryInfo.jsHeapSizeLimit') | 14213 @DomName('MemoryInfo.jsHeapSizeLimit') |
| 13833 @DocsEditable | 14214 @DocsEditable |
| 13834 final int jsHeapSizeLimit; | 14215 final int jsHeapSizeLimit; |
| 13835 | 14216 |
| 13836 @DomName('MemoryInfo.totalJSHeapSize') | 14217 @DomName('MemoryInfo.totalJSHeapSize') |
| 13837 @DocsEditable | 14218 @DocsEditable |
| 13838 final int totalJSHeapSize; | 14219 final int totalJSHeapSize; |
| 13839 | 14220 |
| (...skipping 24 matching lines...) Expand all Loading... | |
| 13864 @DocsEditable | 14245 @DocsEditable |
| 13865 factory MenuElement() => document.$dom_createElement("menu"); | 14246 factory MenuElement() => document.$dom_createElement("menu"); |
| 13866 } | 14247 } |
| 13867 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14248 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 13868 // for details. All rights reserved. Use of this source code is governed by a | 14249 // for details. All rights reserved. Use of this source code is governed by a |
| 13869 // BSD-style license that can be found in the LICENSE file. | 14250 // BSD-style license that can be found in the LICENSE file. |
| 13870 | 14251 |
| 13871 | 14252 |
| 13872 @DocsEditable | 14253 @DocsEditable |
| 13873 @DomName('MessageChannel') | 14254 @DomName('MessageChannel') |
| 14255 @Unstable | |
| 13874 class MessageChannel native "MessageChannel" { | 14256 class MessageChannel native "MessageChannel" { |
| 13875 | 14257 |
| 13876 @DomName('MessageChannel.MessageChannel') | 14258 @DomName('MessageChannel.MessageChannel') |
| 13877 @DocsEditable | 14259 @DocsEditable |
| 13878 factory MessageChannel() { | 14260 factory MessageChannel() { |
| 13879 return MessageChannel._create_1(); | 14261 return MessageChannel._create_1(); |
| 13880 } | 14262 } |
| 13881 static MessageChannel _create_1() => JS('MessageChannel', 'new MessageChannel( )'); | 14263 static MessageChannel _create_1() => JS('MessageChannel', 'new MessageChannel( )'); |
| 13882 | 14264 |
| 13883 @DomName('MessageChannel.port1') | 14265 @DomName('MessageChannel.port1') |
| (...skipping 29 matching lines...) Expand all Loading... | |
| 13913 dynamic get data => convertNativeToDart_SerializedScriptValue(this._get_data); | 14295 dynamic get data => convertNativeToDart_SerializedScriptValue(this._get_data); |
| 13914 @JSName('data') | 14296 @JSName('data') |
| 13915 @DomName('MessageEvent.data') | 14297 @DomName('MessageEvent.data') |
| 13916 @DocsEditable | 14298 @DocsEditable |
| 13917 @annotation_Creates_SerializedScriptValue | 14299 @annotation_Creates_SerializedScriptValue |
| 13918 @annotation_Returns_SerializedScriptValue | 14300 @annotation_Returns_SerializedScriptValue |
| 13919 final dynamic _get_data; | 14301 final dynamic _get_data; |
| 13920 | 14302 |
| 13921 @DomName('MessageEvent.lastEventId') | 14303 @DomName('MessageEvent.lastEventId') |
| 13922 @DocsEditable | 14304 @DocsEditable |
| 14305 @Unstable | |
| 13923 final String lastEventId; | 14306 final String lastEventId; |
| 13924 | 14307 |
| 13925 @DomName('MessageEvent.origin') | 14308 @DomName('MessageEvent.origin') |
| 13926 @DocsEditable | 14309 @DocsEditable |
| 13927 final String origin; | 14310 final String origin; |
| 13928 | 14311 |
| 13929 @DomName('MessageEvent.ports') | 14312 @DomName('MessageEvent.ports') |
| 13930 @DocsEditable | 14313 @DocsEditable |
| 14314 @Unstable | |
| 13931 @Creates('=List') | 14315 @Creates('=List') |
| 13932 final List ports; | 14316 final List ports; |
| 13933 | 14317 |
| 13934 WindowBase get source => _convertNativeToDart_Window(this._get_source); | 14318 WindowBase get source => _convertNativeToDart_Window(this._get_source); |
| 13935 @JSName('source') | 14319 @JSName('source') |
| 13936 @DomName('MessageEvent.source') | 14320 @DomName('MessageEvent.source') |
| 13937 @DocsEditable | 14321 @DocsEditable |
| 13938 @Creates('Window|=Object') | 14322 @Creates('Window|=Object') |
| 13939 @Returns('Window|=Object') | 14323 @Returns('Window|=Object') |
| 13940 final dynamic _get_source; | 14324 final dynamic _get_source; |
| 13941 | 14325 |
| 13942 @JSName('initMessageEvent') | 14326 @JSName('initMessageEvent') |
| 13943 @DomName('MessageEvent.initMessageEvent') | 14327 @DomName('MessageEvent.initMessageEvent') |
| 13944 @DocsEditable | 14328 @DocsEditable |
| 13945 void $dom_initMessageEvent(String typeArg, bool canBubbleArg, bool cancelableA rg, Object dataArg, String originArg, String lastEventIdArg, Window sourceArg, L ist messagePorts) native; | 14329 void $dom_initMessageEvent(String typeArg, bool canBubbleArg, bool cancelableA rg, Object dataArg, String originArg, String lastEventIdArg, Window sourceArg, L ist messagePorts) native; |
| 13946 | 14330 |
| 13947 } | 14331 } |
| 13948 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14332 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 13949 // for details. All rights reserved. Use of this source code is governed by a | 14333 // for details. All rights reserved. Use of this source code is governed by a |
| 13950 // BSD-style license that can be found in the LICENSE file. | 14334 // BSD-style license that can be found in the LICENSE file. |
| 13951 | 14335 |
| 13952 | 14336 |
| 13953 @DocsEditable | 14337 @DocsEditable |
| 13954 @DomName('MessagePort') | 14338 @DomName('MessagePort') |
| 14339 @Unstable | |
| 13955 class MessagePort extends EventTarget native "MessagePort" { | 14340 class MessagePort extends EventTarget native "MessagePort" { |
| 13956 | 14341 |
| 13957 @DomName('MessagePort.messageEvent') | 14342 @DomName('MessagePort.messageEvent') |
| 13958 @DocsEditable | 14343 @DocsEditable |
| 13959 static const EventStreamProvider<MessageEvent> messageEvent = const EventStrea mProvider<MessageEvent>('message'); | 14344 static const EventStreamProvider<MessageEvent> messageEvent = const EventStrea mProvider<MessageEvent>('message'); |
| 13960 | 14345 |
| 13961 @JSName('addEventListener') | 14346 @JSName('addEventListener') |
| 13962 @DomName('MessagePort.addEventListener') | 14347 @DomName('MessagePort.addEventListener') |
| 13963 @DocsEditable | 14348 @DocsEditable |
| 13964 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu re]) native; | 14349 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu re]) native; |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 14026 @DocsEditable | 14411 @DocsEditable |
| 14027 String name; | 14412 String name; |
| 14028 } | 14413 } |
| 14029 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14414 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 14030 // for details. All rights reserved. Use of this source code is governed by a | 14415 // for details. All rights reserved. Use of this source code is governed by a |
| 14031 // BSD-style license that can be found in the LICENSE file. | 14416 // BSD-style license that can be found in the LICENSE file. |
| 14032 | 14417 |
| 14033 | 14418 |
| 14034 @DocsEditable | 14419 @DocsEditable |
| 14035 @DomName('Metadata') | 14420 @DomName('Metadata') |
| 14421 // http://www.w3.org/TR/file-system-api/#the-metadata-interface | |
| 14422 @Experimental | |
| 14036 class Metadata native "Metadata" { | 14423 class Metadata native "Metadata" { |
| 14037 | 14424 |
| 14038 DateTime get modificationTime => _convertNativeToDart_DateTime(this._get_modif icationTime); | 14425 DateTime get modificationTime => _convertNativeToDart_DateTime(this._get_modif icationTime); |
| 14039 @JSName('modificationTime') | 14426 @JSName('modificationTime') |
| 14040 @DomName('Metadata.modificationTime') | 14427 @DomName('Metadata.modificationTime') |
| 14041 @DocsEditable | 14428 @DocsEditable |
| 14042 final dynamic _get_modificationTime; | 14429 final dynamic _get_modificationTime; |
| 14043 | 14430 |
| 14044 @DomName('Metadata.size') | 14431 @DomName('Metadata.size') |
| 14045 @DocsEditable | 14432 @DocsEditable |
| 14046 final int size; | 14433 final int size; |
| 14047 } | 14434 } |
| 14048 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14435 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 14049 // for details. All rights reserved. Use of this source code is governed by a | 14436 // for details. All rights reserved. Use of this source code is governed by a |
| 14050 // BSD-style license that can be found in the LICENSE file. | 14437 // BSD-style license that can be found in the LICENSE file. |
| 14051 | 14438 |
| 14052 // WARNING: Do not edit - generated code. | 14439 // WARNING: Do not edit - generated code. |
| 14053 | 14440 |
| 14054 | 14441 |
| 14442 @DomName('MetadataCallback') | |
| 14443 // http://www.w3.org/TR/file-system-api/#idl-def-MetadataCallback | |
| 14444 @Experimental | |
| 14055 typedef void MetadataCallback(Metadata metadata); | 14445 typedef void MetadataCallback(Metadata metadata); |
| 14056 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14446 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 14057 // for details. All rights reserved. Use of this source code is governed by a | 14447 // for details. All rights reserved. Use of this source code is governed by a |
| 14058 // BSD-style license that can be found in the LICENSE file. | 14448 // BSD-style license that can be found in the LICENSE file. |
| 14059 | 14449 |
| 14060 | 14450 |
| 14061 @DocsEditable | 14451 @DocsEditable |
| 14062 @DomName('HTMLMeterElement') | 14452 @DomName('HTMLMeterElement') |
| 14063 @SupportedBrowser(SupportedBrowser.CHROME) | 14453 @SupportedBrowser(SupportedBrowser.CHROME) |
| 14064 @SupportedBrowser(SupportedBrowser.FIREFOX) | 14454 @SupportedBrowser(SupportedBrowser.FIREFOX) |
| 14065 @SupportedBrowser(SupportedBrowser.SAFARI) | 14455 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 14456 @Unstable | |
| 14066 class MeterElement extends Element native "HTMLMeterElement" { | 14457 class MeterElement extends Element native "HTMLMeterElement" { |
| 14067 | 14458 |
| 14068 @DomName('HTMLMeterElement.HTMLMeterElement') | 14459 @DomName('HTMLMeterElement.HTMLMeterElement') |
| 14069 @DocsEditable | 14460 @DocsEditable |
| 14070 factory MeterElement() => document.$dom_createElement("meter"); | 14461 factory MeterElement() => document.$dom_createElement("meter"); |
| 14071 | 14462 |
| 14072 /// Checks if this type is supported on the current platform. | 14463 /// Checks if this type is supported on the current platform. |
| 14073 static bool get supported => Element.isTagSupported('meter'); | 14464 static bool get supported => Element.isTagSupported('meter'); |
| 14074 | 14465 |
| 14075 @DomName('HTMLMeterElement.high') | 14466 @DomName('HTMLMeterElement.high') |
| 14076 @DocsEditable | 14467 @DocsEditable |
| 14077 num high; | 14468 num high; |
| 14078 | 14469 |
| 14079 @DomName('HTMLMeterElement.labels') | 14470 @DomName('HTMLMeterElement.labels') |
| 14080 @DocsEditable | 14471 @DocsEditable |
| 14472 @Unstable | |
| 14081 @Returns('NodeList') | 14473 @Returns('NodeList') |
| 14082 @Creates('NodeList') | 14474 @Creates('NodeList') |
| 14083 final List<Node> labels; | 14475 final List<Node> labels; |
| 14084 | 14476 |
| 14085 @DomName('HTMLMeterElement.low') | 14477 @DomName('HTMLMeterElement.low') |
| 14086 @DocsEditable | 14478 @DocsEditable |
| 14087 num low; | 14479 num low; |
| 14088 | 14480 |
| 14089 @DomName('HTMLMeterElement.max') | 14481 @DomName('HTMLMeterElement.max') |
| 14090 @DocsEditable | 14482 @DocsEditable |
| (...skipping 11 matching lines...) Expand all Loading... | |
| 14102 @DocsEditable | 14494 @DocsEditable |
| 14103 num value; | 14495 num value; |
| 14104 } | 14496 } |
| 14105 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14497 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 14106 // for details. All rights reserved. Use of this source code is governed by a | 14498 // for details. All rights reserved. Use of this source code is governed by a |
| 14107 // BSD-style license that can be found in the LICENSE file. | 14499 // BSD-style license that can be found in the LICENSE file. |
| 14108 | 14500 |
| 14109 | 14501 |
| 14110 @DocsEditable | 14502 @DocsEditable |
| 14111 @DomName('MimeType') | 14503 @DomName('MimeType') |
| 14504 @Experimental // non-standard | |
| 14112 class MimeType native "MimeType" { | 14505 class MimeType native "MimeType" { |
| 14113 | 14506 |
| 14114 @DomName('MimeType.description') | 14507 @DomName('MimeType.description') |
| 14115 @DocsEditable | 14508 @DocsEditable |
| 14116 final String description; | 14509 final String description; |
| 14117 | 14510 |
| 14118 @DomName('MimeType.enabledPlugin') | 14511 @DomName('MimeType.enabledPlugin') |
| 14119 @DocsEditable | 14512 @DocsEditable |
| 14120 final Plugin enabledPlugin; | 14513 final Plugin enabledPlugin; |
| 14121 | 14514 |
| 14122 @DomName('MimeType.suffixes') | 14515 @DomName('MimeType.suffixes') |
| 14123 @DocsEditable | 14516 @DocsEditable |
| 14124 final String suffixes; | 14517 final String suffixes; |
| 14125 | 14518 |
| 14126 @DomName('MimeType.type') | 14519 @DomName('MimeType.type') |
| 14127 @DocsEditable | 14520 @DocsEditable |
| 14128 final String type; | 14521 final String type; |
| 14129 } | 14522 } |
| 14130 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14523 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 14131 // for details. All rights reserved. Use of this source code is governed by a | 14524 // for details. All rights reserved. Use of this source code is governed by a |
| 14132 // BSD-style license that can be found in the LICENSE file. | 14525 // BSD-style license that can be found in the LICENSE file. |
| 14133 | 14526 |
| 14134 | 14527 |
| 14135 @DocsEditable | 14528 @DocsEditable |
| 14136 @DomName('MimeTypeArray') | 14529 @DomName('MimeTypeArray') |
| 14530 @Experimental // non-standard | |
| 14137 class MimeTypeArray extends Object with ListMixin<MimeType>, ImmutableListMixin< MimeType> implements JavaScriptIndexingBehavior, List<MimeType> native "MimeType Array" { | 14531 class MimeTypeArray extends Object with ListMixin<MimeType>, ImmutableListMixin< MimeType> implements JavaScriptIndexingBehavior, List<MimeType> native "MimeType Array" { |
| 14138 | 14532 |
| 14139 @DomName('MimeTypeArray.length') | 14533 @DomName('MimeTypeArray.length') |
| 14140 @DocsEditable | 14534 @DocsEditable |
| 14141 int get length => JS("int", "#.length", this); | 14535 int get length => JS("int", "#.length", this); |
| 14142 | 14536 |
| 14143 MimeType operator[](int index) { | 14537 MimeType operator[](int index) { |
| 14144 if (JS("bool", "# >>> 0 !== # || # >= #", index, | 14538 if (JS("bool", "# >>> 0 !== # || # >= #", index, |
| 14145 index, index, length)) | 14539 index, index, length)) |
| 14146 throw new RangeError.range(index, 0, length); | 14540 throw new RangeError.range(index, 0, length); |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 14192 @DocsEditable | 14586 @DocsEditable |
| 14193 MimeType namedItem(String name) native; | 14587 MimeType namedItem(String name) native; |
| 14194 } | 14588 } |
| 14195 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14589 // 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 | 14590 // 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. | 14591 // BSD-style license that can be found in the LICENSE file. |
| 14198 | 14592 |
| 14199 | 14593 |
| 14200 @DocsEditable | 14594 @DocsEditable |
| 14201 @DomName('HTMLModElement') | 14595 @DomName('HTMLModElement') |
| 14596 @Unstable | |
| 14202 class ModElement extends Element native "HTMLModElement" { | 14597 class ModElement extends Element native "HTMLModElement" { |
| 14203 | 14598 |
| 14204 @DomName('HTMLModElement.cite') | 14599 @DomName('HTMLModElement.cite') |
| 14205 @DocsEditable | 14600 @DocsEditable |
| 14206 String cite; | 14601 String cite; |
| 14207 | 14602 |
| 14208 @DomName('HTMLModElement.dateTime') | 14603 @DomName('HTMLModElement.dateTime') |
| 14209 @DocsEditable | 14604 @DocsEditable |
| 14210 String dateTime; | 14605 String dateTime; |
| 14211 } | 14606 } |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 14249 @DomName('MouseEvent.clientY') | 14644 @DomName('MouseEvent.clientY') |
| 14250 @DocsEditable | 14645 @DocsEditable |
| 14251 final int $dom_clientY; | 14646 final int $dom_clientY; |
| 14252 | 14647 |
| 14253 @DomName('MouseEvent.ctrlKey') | 14648 @DomName('MouseEvent.ctrlKey') |
| 14254 @DocsEditable | 14649 @DocsEditable |
| 14255 final bool ctrlKey; | 14650 final bool ctrlKey; |
| 14256 | 14651 |
| 14257 @DomName('MouseEvent.dataTransfer') | 14652 @DomName('MouseEvent.dataTransfer') |
| 14258 @DocsEditable | 14653 @DocsEditable |
| 14654 @Unstable | |
| 14259 final DataTransfer dataTransfer; | 14655 final DataTransfer dataTransfer; |
| 14260 | 14656 |
| 14261 @DomName('MouseEvent.fromElement') | 14657 @DomName('MouseEvent.fromElement') |
| 14262 @DocsEditable | 14658 @DocsEditable |
| 14659 @Experimental // nonstandard | |
| 14263 final Node fromElement; | 14660 final Node fromElement; |
| 14264 | 14661 |
| 14265 @DomName('MouseEvent.metaKey') | 14662 @DomName('MouseEvent.metaKey') |
| 14266 @DocsEditable | 14663 @DocsEditable |
| 14267 final bool metaKey; | 14664 final bool metaKey; |
| 14268 | 14665 |
| 14269 EventTarget get relatedTarget => _convertNativeToDart_EventTarget(this._get_re latedTarget); | 14666 EventTarget get relatedTarget => _convertNativeToDart_EventTarget(this._get_re latedTarget); |
| 14270 @JSName('relatedTarget') | 14667 @JSName('relatedTarget') |
| 14271 @DomName('MouseEvent.relatedTarget') | 14668 @DomName('MouseEvent.relatedTarget') |
| 14272 @DocsEditable | 14669 @DocsEditable |
| (...skipping 10 matching lines...) Expand all Loading... | |
| 14283 @DomName('MouseEvent.screenY') | 14680 @DomName('MouseEvent.screenY') |
| 14284 @DocsEditable | 14681 @DocsEditable |
| 14285 final int $dom_screenY; | 14682 final int $dom_screenY; |
| 14286 | 14683 |
| 14287 @DomName('MouseEvent.shiftKey') | 14684 @DomName('MouseEvent.shiftKey') |
| 14288 @DocsEditable | 14685 @DocsEditable |
| 14289 final bool shiftKey; | 14686 final bool shiftKey; |
| 14290 | 14687 |
| 14291 @DomName('MouseEvent.toElement') | 14688 @DomName('MouseEvent.toElement') |
| 14292 @DocsEditable | 14689 @DocsEditable |
| 14690 @Experimental // nonstandard | |
| 14293 final Node toElement; | 14691 final Node toElement; |
| 14294 | 14692 |
| 14295 @JSName('webkitMovementX') | 14693 @JSName('webkitMovementX') |
| 14296 @DomName('MouseEvent.webkitMovementX') | 14694 @DomName('MouseEvent.webkitMovementX') |
| 14297 @DocsEditable | 14695 @DocsEditable |
| 14298 @SupportedBrowser(SupportedBrowser.CHROME) | 14696 @SupportedBrowser(SupportedBrowser.CHROME) |
| 14299 @SupportedBrowser(SupportedBrowser.SAFARI) | 14697 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 14300 @Experimental | 14698 @Experimental |
| 14301 final int $dom_webkitMovementX; | 14699 final int $dom_webkitMovementX; |
| 14302 | 14700 |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 14377 @DomName('MouseEvent.screenY') | 14775 @DomName('MouseEvent.screenY') |
| 14378 Point get screen => new Point($dom_screenX, $dom_screenY); | 14776 Point get screen => new Point($dom_screenX, $dom_screenY); |
| 14379 } | 14777 } |
| 14380 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14778 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 14381 // for details. All rights reserved. Use of this source code is governed by a | 14779 // for details. All rights reserved. Use of this source code is governed by a |
| 14382 // BSD-style license that can be found in the LICENSE file. | 14780 // BSD-style license that can be found in the LICENSE file. |
| 14383 | 14781 |
| 14384 // WARNING: Do not edit - generated code. | 14782 // WARNING: Do not edit - generated code. |
| 14385 | 14783 |
| 14386 | 14784 |
| 14785 @DomName('MutationCallback') | |
| 14387 typedef void MutationCallback(List<MutationRecord> mutations, MutationObserver o bserver); | 14786 typedef void MutationCallback(List<MutationRecord> mutations, MutationObserver o bserver); |
| 14388 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14787 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 14389 // for details. All rights reserved. Use of this source code is governed by a | 14788 // for details. All rights reserved. Use of this source code is governed by a |
| 14390 // BSD-style license that can be found in the LICENSE file. | 14789 // BSD-style license that can be found in the LICENSE file. |
| 14391 | 14790 |
| 14392 | 14791 |
| 14393 @DomName('MutationEvent') | 14792 @DomName('MutationEvent') |
| 14793 // http://www.w3.org/TR/DOM-Level-3-Events/#events-mutationevents | |
| 14794 @Experimental // deprecated | |
| 14394 class MutationEvent extends Event native "MutationEvent" { | 14795 class MutationEvent extends Event native "MutationEvent" { |
| 14395 factory MutationEvent(String type, | 14796 factory MutationEvent(String type, |
| 14396 {bool canBubble: false, bool cancelable: false, Node relatedNode, | 14797 {bool canBubble: false, bool cancelable: false, Node relatedNode, |
| 14397 String prevValue, String newValue, String attrName, int attrChange: 0}) { | 14798 String prevValue, String newValue, String attrName, int attrChange: 0}) { |
| 14398 | 14799 |
| 14399 var event = document.$dom_createEvent('MutationEvent'); | 14800 var event = document.$dom_createEvent('MutationEvent'); |
| 14400 event.$dom_initMutationEvent(type, canBubble, cancelable, relatedNode, | 14801 event.$dom_initMutationEvent(type, canBubble, cancelable, relatedNode, |
| 14401 prevValue, newValue, attrName, attrChange); | 14802 prevValue, newValue, attrName, attrChange); |
| 14402 return event; | 14803 return event; |
| 14403 } | 14804 } |
| (...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 14594 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14995 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 14595 // for details. All rights reserved. Use of this source code is governed by a | 14996 // for details. All rights reserved. Use of this source code is governed by a |
| 14596 // BSD-style license that can be found in the LICENSE file. | 14997 // BSD-style license that can be found in the LICENSE file. |
| 14597 | 14998 |
| 14598 | 14999 |
| 14599 @DocsEditable | 15000 @DocsEditable |
| 14600 @DomName('WebKitNamedFlow') | 15001 @DomName('WebKitNamedFlow') |
| 14601 @SupportedBrowser(SupportedBrowser.CHROME) | 15002 @SupportedBrowser(SupportedBrowser.CHROME) |
| 14602 @SupportedBrowser(SupportedBrowser.SAFARI) | 15003 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 14603 @Experimental | 15004 @Experimental |
| 15005 // http://www.w3.org/TR/css3-regions/#dom-named-flow-collection | |
| 14604 class NamedFlow extends EventTarget native "WebKitNamedFlow" { | 15006 class NamedFlow extends EventTarget native "WebKitNamedFlow" { |
| 14605 | 15007 |
| 14606 @DomName('WebKitNamedFlow.firstEmptyRegionIndex') | 15008 @DomName('WebKitNamedFlow.firstEmptyRegionIndex') |
| 14607 @DocsEditable | 15009 @DocsEditable |
| 14608 final int firstEmptyRegionIndex; | 15010 final int firstEmptyRegionIndex; |
| 14609 | 15011 |
| 14610 @DomName('WebKitNamedFlow.name') | 15012 @DomName('WebKitNamedFlow.name') |
| 14611 @DocsEditable | 15013 @DocsEditable |
| 14612 final String name; | 15014 final String name; |
| 14613 | 15015 |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 14650 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 15052 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 14651 // for details. All rights reserved. Use of this source code is governed by a | 15053 // for details. All rights reserved. Use of this source code is governed by a |
| 14652 // BSD-style license that can be found in the LICENSE file. | 15054 // BSD-style license that can be found in the LICENSE file. |
| 14653 | 15055 |
| 14654 | 15056 |
| 14655 @DocsEditable | 15057 @DocsEditable |
| 14656 @DomName('WebKitNamedFlowCollection') | 15058 @DomName('WebKitNamedFlowCollection') |
| 14657 @SupportedBrowser(SupportedBrowser.CHROME) | 15059 @SupportedBrowser(SupportedBrowser.CHROME) |
| 14658 @SupportedBrowser(SupportedBrowser.SAFARI) | 15060 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 14659 @Experimental | 15061 @Experimental |
| 15062 // http://dev.w3.org/csswg/css-regions/#dom-named-flow-collection | |
| 14660 class NamedFlowCollection native "WebKitNamedFlowCollection" { | 15063 class NamedFlowCollection native "WebKitNamedFlowCollection" { |
| 14661 | 15064 |
| 14662 @DomName('WebKitNamedFlowCollection.length') | 15065 @DomName('WebKitNamedFlowCollection.length') |
| 14663 @DocsEditable | 15066 @DocsEditable |
| 14664 final int length; | 15067 final int length; |
| 14665 | 15068 |
| 14666 @DomName('WebKitNamedFlowCollection.item') | 15069 @DomName('WebKitNamedFlowCollection.item') |
| 14667 @DocsEditable | 15070 @DocsEditable |
| 14668 NamedFlow item(int index) native; | 15071 NamedFlow item(int index) native; |
| 14669 | 15072 |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 14746 } | 15149 } |
| 14747 } | 15150 } |
| 14748 | 15151 |
| 14749 @JSName('getUserMedia') | 15152 @JSName('getUserMedia') |
| 14750 void _getUserMedia(options, _NavigatorUserMediaSuccessCallback success, | 15153 void _getUserMedia(options, _NavigatorUserMediaSuccessCallback success, |
| 14751 _NavigatorUserMediaErrorCallback error) native; | 15154 _NavigatorUserMediaErrorCallback error) native; |
| 14752 | 15155 |
| 14753 | 15156 |
| 14754 @DomName('Navigator.appCodeName') | 15157 @DomName('Navigator.appCodeName') |
| 14755 @DocsEditable | 15158 @DocsEditable |
| 15159 @Experimental // non-standard | |
| 14756 final String appCodeName; | 15160 final String appCodeName; |
| 14757 | 15161 |
| 14758 @DomName('Navigator.appName') | 15162 @DomName('Navigator.appName') |
| 14759 @DocsEditable | 15163 @DocsEditable |
| 14760 final String appName; | 15164 final String appName; |
| 14761 | 15165 |
| 14762 @DomName('Navigator.appVersion') | 15166 @DomName('Navigator.appVersion') |
| 14763 @DocsEditable | 15167 @DocsEditable |
| 14764 final String appVersion; | 15168 final String appVersion; |
| 14765 | 15169 |
| 14766 @DomName('Navigator.cookieEnabled') | 15170 @DomName('Navigator.cookieEnabled') |
| 14767 @DocsEditable | 15171 @DocsEditable |
| 15172 @Unstable | |
| 14768 final bool cookieEnabled; | 15173 final bool cookieEnabled; |
| 14769 | 15174 |
| 14770 @DomName('Navigator.doNotTrack') | 15175 @DomName('Navigator.doNotTrack') |
| 14771 @DocsEditable | 15176 @DocsEditable |
| 15177 // http://www.w3.org/2011/tracking-protection/drafts/tracking-dnt.html#js-dom | |
| 15178 @Experimental // experimental | |
| 14772 final String doNotTrack; | 15179 final String doNotTrack; |
| 14773 | 15180 |
| 14774 @DomName('Navigator.geolocation') | 15181 @DomName('Navigator.geolocation') |
| 14775 @DocsEditable | 15182 @DocsEditable |
| 15183 @Unstable | |
| 14776 final Geolocation geolocation; | 15184 final Geolocation geolocation; |
| 14777 | 15185 |
| 14778 @DomName('Navigator.mimeTypes') | 15186 @DomName('Navigator.mimeTypes') |
| 14779 @DocsEditable | 15187 @DocsEditable |
| 15188 @Experimental // nonstandard | |
| 14780 final MimeTypeArray mimeTypes; | 15189 final MimeTypeArray mimeTypes; |
| 14781 | 15190 |
| 14782 @DomName('Navigator.onLine') | 15191 @DomName('Navigator.onLine') |
| 14783 @DocsEditable | 15192 @DocsEditable |
| 15193 @Unstable | |
| 14784 final bool onLine; | 15194 final bool onLine; |
| 14785 | 15195 |
| 14786 @DomName('Navigator.platform') | 15196 @DomName('Navigator.platform') |
| 14787 @DocsEditable | 15197 @DocsEditable |
| 14788 final String platform; | 15198 final String platform; |
| 14789 | 15199 |
| 14790 @DomName('Navigator.plugins') | 15200 @DomName('Navigator.plugins') |
| 14791 @DocsEditable | 15201 @DocsEditable |
| 15202 @Unstable | |
| 14792 final PluginArray plugins; | 15203 final PluginArray plugins; |
| 14793 | 15204 |
| 14794 @DomName('Navigator.product') | 15205 @DomName('Navigator.product') |
| 14795 @DocsEditable | 15206 @DocsEditable |
| 15207 @Unstable | |
| 14796 final String product; | 15208 final String product; |
| 14797 | 15209 |
| 14798 @DomName('Navigator.productSub') | 15210 @DomName('Navigator.productSub') |
| 14799 @DocsEditable | 15211 @DocsEditable |
| 15212 @Unstable | |
| 14800 final String productSub; | 15213 final String productSub; |
| 14801 | 15214 |
| 14802 @DomName('Navigator.userAgent') | 15215 @DomName('Navigator.userAgent') |
| 14803 @DocsEditable | 15216 @DocsEditable |
| 14804 final String userAgent; | 15217 final String userAgent; |
| 14805 | 15218 |
| 14806 @DomName('Navigator.vendor') | 15219 @DomName('Navigator.vendor') |
| 14807 @DocsEditable | 15220 @DocsEditable |
| 15221 @Unstable | |
| 14808 final String vendor; | 15222 final String vendor; |
| 14809 | 15223 |
| 14810 @DomName('Navigator.vendorSub') | 15224 @DomName('Navigator.vendorSub') |
| 14811 @DocsEditable | 15225 @DocsEditable |
| 15226 @Unstable | |
| 14812 final String vendorSub; | 15227 final String vendorSub; |
| 14813 | 15228 |
| 14814 @JSName('webkitPersistentStorage') | 15229 @JSName('webkitPersistentStorage') |
| 14815 @DomName('Navigator.webkitPersistentStorage') | 15230 @DomName('Navigator.webkitPersistentStorage') |
| 14816 @DocsEditable | 15231 @DocsEditable |
| 14817 @SupportedBrowser(SupportedBrowser.CHROME) | 15232 @SupportedBrowser(SupportedBrowser.CHROME) |
| 14818 @SupportedBrowser(SupportedBrowser.SAFARI) | 15233 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 14819 @Experimental | 15234 @Experimental |
| 15235 // http://www.w3.org/TR/quota-api/#accessing-storagequota | |
| 14820 final StorageQuota persistentStorage; | 15236 final StorageQuota persistentStorage; |
| 14821 | 15237 |
| 14822 @JSName('webkitTemporaryStorage') | 15238 @JSName('webkitTemporaryStorage') |
| 14823 @DomName('Navigator.webkitTemporaryStorage') | 15239 @DomName('Navigator.webkitTemporaryStorage') |
| 14824 @DocsEditable | 15240 @DocsEditable |
| 14825 @SupportedBrowser(SupportedBrowser.CHROME) | 15241 @SupportedBrowser(SupportedBrowser.CHROME) |
| 14826 @SupportedBrowser(SupportedBrowser.SAFARI) | 15242 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 14827 @Experimental | 15243 @Experimental |
| 15244 // http://www.w3.org/TR/quota-api/#accessing-storagequota | |
| 14828 final StorageQuota temporaryStorage; | 15245 final StorageQuota temporaryStorage; |
| 14829 | 15246 |
| 14830 @DomName('Navigator.getStorageUpdates') | 15247 @DomName('Navigator.getStorageUpdates') |
| 14831 @DocsEditable | 15248 @DocsEditable |
| 15249 // http://www.whatwg.org/specs/web-apps/current-work/multipage/timers.html#nav igatorstorageutils | |
| 15250 @Experimental | |
| 14832 void getStorageUpdates() native; | 15251 void getStorageUpdates() native; |
| 14833 | 15252 |
| 14834 @DomName('Navigator.javaEnabled') | 15253 @DomName('Navigator.javaEnabled') |
| 14835 @DocsEditable | 15254 @DocsEditable |
| 15255 @deprecated // nonstandard | |
| 14836 bool javaEnabled() native; | 15256 bool javaEnabled() native; |
| 14837 | 15257 |
| 14838 @DomName('Navigator.registerProtocolHandler') | 15258 @DomName('Navigator.registerProtocolHandler') |
| 14839 @DocsEditable | 15259 @DocsEditable |
| 15260 @Unstable | |
| 14840 void registerProtocolHandler(String scheme, String url, String title) native; | 15261 void registerProtocolHandler(String scheme, String url, String title) native; |
| 14841 | 15262 |
| 14842 @JSName('webkitGetGamepads') | 15263 @JSName('webkitGetGamepads') |
| 14843 @DomName('Navigator.webkitGetGamepads') | 15264 @DomName('Navigator.webkitGetGamepads') |
| 14844 @DocsEditable | 15265 @DocsEditable |
| 14845 @SupportedBrowser(SupportedBrowser.CHROME) | 15266 @SupportedBrowser(SupportedBrowser.CHROME) |
| 14846 @SupportedBrowser(SupportedBrowser.SAFARI) | 15267 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 14847 @Experimental | 15268 @Experimental |
| 15269 // https://dvcs.w3.org/hg/gamepad/raw-file/default/gamepad.html#widl-Navigator -getGamepads-Gamepad | |
| 14848 @Returns('_GamepadList') | 15270 @Returns('_GamepadList') |
| 14849 @Creates('_GamepadList') | 15271 @Creates('_GamepadList') |
| 14850 List<Gamepad> getGamepads() native; | 15272 List<Gamepad> getGamepads() native; |
| 14851 | 15273 |
| 14852 } | 15274 } |
| 14853 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 15275 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 14854 // for details. All rights reserved. Use of this source code is governed by a | 15276 // for details. All rights reserved. Use of this source code is governed by a |
| 14855 // BSD-style license that can be found in the LICENSE file. | 15277 // BSD-style license that can be found in the LICENSE file. |
| 14856 | 15278 |
| 14857 | 15279 |
| 14858 @DocsEditable | 15280 @DocsEditable |
| 14859 @DomName('NavigatorUserMediaError') | 15281 @DomName('NavigatorUserMediaError') |
| 15282 // http://dev.w3.org/2011/webrtc/editor/getusermedia.html#idl-def-NavigatorUserM ediaError | |
| 15283 @Experimental | |
| 14860 class NavigatorUserMediaError native "NavigatorUserMediaError" { | 15284 class NavigatorUserMediaError native "NavigatorUserMediaError" { |
| 14861 | 15285 |
| 14862 @DomName('NavigatorUserMediaError.PERMISSION_DENIED') | 15286 @DomName('NavigatorUserMediaError.PERMISSION_DENIED') |
| 14863 @DocsEditable | 15287 @DocsEditable |
| 15288 @Experimental // nonstandard | |
| 14864 static const int PERMISSION_DENIED = 1; | 15289 static const int PERMISSION_DENIED = 1; |
| 14865 | 15290 |
| 14866 @DomName('NavigatorUserMediaError.code') | 15291 @DomName('NavigatorUserMediaError.code') |
| 14867 @DocsEditable | 15292 @DocsEditable |
| 15293 @Experimental // nonstandard | |
| 14868 final int code; | 15294 final int code; |
| 14869 } | 15295 } |
| 14870 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 15296 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 14871 // for details. All rights reserved. Use of this source code is governed by a | 15297 // for details. All rights reserved. Use of this source code is governed by a |
| 14872 // BSD-style license that can be found in the LICENSE file. | 15298 // BSD-style license that can be found in the LICENSE file. |
| 14873 | 15299 |
| 14874 // WARNING: Do not edit - generated code. | 15300 // WARNING: Do not edit - generated code. |
| 14875 | 15301 |
| 14876 | 15302 |
| 15303 @DomName('NavigatorUserMediaErrorCallback') | |
| 15304 // http://dev.w3.org/2011/webrtc/editor/getusermedia.html#idl-def-NavigatorUserM ediaErrorCallback | |
| 15305 @Experimental | |
| 14877 typedef void _NavigatorUserMediaErrorCallback(NavigatorUserMediaError error); | 15306 typedef void _NavigatorUserMediaErrorCallback(NavigatorUserMediaError error); |
| 14878 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 15307 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 14879 // for details. All rights reserved. Use of this source code is governed by a | 15308 // for details. All rights reserved. Use of this source code is governed by a |
| 14880 // BSD-style license that can be found in the LICENSE file. | 15309 // BSD-style license that can be found in the LICENSE file. |
| 14881 | 15310 |
| 14882 // WARNING: Do not edit - generated code. | 15311 // WARNING: Do not edit - generated code. |
| 14883 | 15312 |
| 14884 | 15313 |
| 15314 @DomName('NavigatorUserMediaSuccessCallback') | |
| 15315 // http://dev.w3.org/2011/webrtc/editor/getusermedia.html#idl-def-NavigatorUserM ediaSuccessCallback | |
| 15316 @Experimental | |
| 14885 typedef void _NavigatorUserMediaSuccessCallback(LocalMediaStream stream); | 15317 typedef void _NavigatorUserMediaSuccessCallback(LocalMediaStream stream); |
| 14886 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 15318 // 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 | 15319 // 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. | 15320 // BSD-style license that can be found in the LICENSE file. |
| 14889 | 15321 |
| 14890 | 15322 |
| 14891 /** | 15323 /** |
| 14892 * Lazy implementation of the child nodes of an element that does not request | 15324 * Lazy implementation of the child nodes of an element that does not request |
| 14893 * the actual child nodes of an element until strictly necessary greatly | 15325 * the actual child nodes of an element until strictly necessary greatly |
| 14894 * improving performance for the typical cases where it is not required. | 15326 * improving performance for the typical cases where it is not required. |
| (...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 15216 @DocsEditable | 15648 @DocsEditable |
| 15217 final Node $dom_firstChild; | 15649 final Node $dom_firstChild; |
| 15218 | 15650 |
| 15219 @JSName('lastChild') | 15651 @JSName('lastChild') |
| 15220 @DomName('Node.lastChild') | 15652 @DomName('Node.lastChild') |
| 15221 @DocsEditable | 15653 @DocsEditable |
| 15222 final Node $dom_lastChild; | 15654 final Node $dom_lastChild; |
| 15223 | 15655 |
| 15224 @DomName('Node.localName') | 15656 @DomName('Node.localName') |
| 15225 @DocsEditable | 15657 @DocsEditable |
| 15658 // http://dom.spec.whatwg.org/#dom-node-localname | |
| 15659 @deprecated // deprecated | |
| 15226 final String localName; | 15660 final String localName; |
| 15227 | 15661 |
| 15228 @JSName('namespaceURI') | 15662 @JSName('namespaceURI') |
| 15229 @DomName('Node.namespaceURI') | 15663 @DomName('Node.namespaceURI') |
| 15230 @DocsEditable | 15664 @DocsEditable |
| 15665 // http://dom.spec.whatwg.org/#dom-node-namespaceuri | |
| 15666 @deprecated // deprecated | |
| 15231 final String $dom_namespaceUri; | 15667 final String $dom_namespaceUri; |
| 15232 | 15668 |
| 15233 @JSName('nextSibling') | 15669 @JSName('nextSibling') |
| 15234 @DomName('Node.nextSibling') | 15670 @DomName('Node.nextSibling') |
| 15235 @DocsEditable | 15671 @DocsEditable |
| 15236 final Node nextNode; | 15672 final Node nextNode; |
| 15237 | 15673 |
| 15238 @DomName('Node.nodeType') | 15674 @DomName('Node.nodeType') |
| 15239 @DocsEditable | 15675 @DocsEditable |
| 15240 final int nodeType; | 15676 final int nodeType; |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 15314 Node $dom_replaceChild(Node newChild, Node oldChild) native; | 15750 Node $dom_replaceChild(Node newChild, Node oldChild) native; |
| 15315 | 15751 |
| 15316 } | 15752 } |
| 15317 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 15753 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 15318 // for details. All rights reserved. Use of this source code is governed by a | 15754 // for details. All rights reserved. Use of this source code is governed by a |
| 15319 // BSD-style license that can be found in the LICENSE file. | 15755 // BSD-style license that can be found in the LICENSE file. |
| 15320 | 15756 |
| 15321 | 15757 |
| 15322 @DocsEditable | 15758 @DocsEditable |
| 15323 @DomName('NodeFilter') | 15759 @DomName('NodeFilter') |
| 15760 @Unstable | |
| 15324 class NodeFilter native "NodeFilter" { | 15761 class NodeFilter native "NodeFilter" { |
| 15325 | 15762 |
| 15326 @DomName('NodeFilter.FILTER_ACCEPT') | 15763 @DomName('NodeFilter.FILTER_ACCEPT') |
| 15327 @DocsEditable | 15764 @DocsEditable |
| 15328 static const int FILTER_ACCEPT = 1; | 15765 static const int FILTER_ACCEPT = 1; |
| 15329 | 15766 |
| 15330 @DomName('NodeFilter.FILTER_REJECT') | 15767 @DomName('NodeFilter.FILTER_REJECT') |
| 15331 @DocsEditable | 15768 @DocsEditable |
| 15332 static const int FILTER_REJECT = 2; | 15769 static const int FILTER_REJECT = 2; |
| 15333 | 15770 |
| 15334 @DomName('NodeFilter.FILTER_SKIP') | 15771 @DomName('NodeFilter.FILTER_SKIP') |
| 15335 @DocsEditable | 15772 @DocsEditable |
| 15336 static const int FILTER_SKIP = 3; | 15773 static const int FILTER_SKIP = 3; |
| 15337 | 15774 |
| 15338 @DomName('NodeFilter.SHOW_ALL') | 15775 @DomName('NodeFilter.SHOW_ALL') |
| 15339 @DocsEditable | 15776 @DocsEditable |
| 15340 static const int SHOW_ALL = 0xFFFFFFFF; | 15777 static const int SHOW_ALL = 0xFFFFFFFF; |
| 15341 | 15778 |
| 15342 @DomName('NodeFilter.SHOW_ATTRIBUTE') | 15779 @DomName('NodeFilter.SHOW_ATTRIBUTE') |
| 15343 @DocsEditable | 15780 @DocsEditable |
| 15781 @deprecated // deprecated | |
| 15344 static const int SHOW_ATTRIBUTE = 0x00000002; | 15782 static const int SHOW_ATTRIBUTE = 0x00000002; |
| 15345 | 15783 |
| 15346 @DomName('NodeFilter.SHOW_CDATA_SECTION') | 15784 @DomName('NodeFilter.SHOW_CDATA_SECTION') |
| 15347 @DocsEditable | 15785 @DocsEditable |
| 15786 @deprecated // deprecated | |
| 15348 static const int SHOW_CDATA_SECTION = 0x00000008; | 15787 static const int SHOW_CDATA_SECTION = 0x00000008; |
| 15349 | 15788 |
| 15350 @DomName('NodeFilter.SHOW_COMMENT') | 15789 @DomName('NodeFilter.SHOW_COMMENT') |
| 15351 @DocsEditable | 15790 @DocsEditable |
| 15352 static const int SHOW_COMMENT = 0x00000080; | 15791 static const int SHOW_COMMENT = 0x00000080; |
| 15353 | 15792 |
| 15354 @DomName('NodeFilter.SHOW_DOCUMENT') | 15793 @DomName('NodeFilter.SHOW_DOCUMENT') |
| 15355 @DocsEditable | 15794 @DocsEditable |
| 15356 static const int SHOW_DOCUMENT = 0x00000100; | 15795 static const int SHOW_DOCUMENT = 0x00000100; |
| 15357 | 15796 |
| 15358 @DomName('NodeFilter.SHOW_DOCUMENT_FRAGMENT') | 15797 @DomName('NodeFilter.SHOW_DOCUMENT_FRAGMENT') |
| 15359 @DocsEditable | 15798 @DocsEditable |
| 15360 static const int SHOW_DOCUMENT_FRAGMENT = 0x00000400; | 15799 static const int SHOW_DOCUMENT_FRAGMENT = 0x00000400; |
| 15361 | 15800 |
| 15362 @DomName('NodeFilter.SHOW_DOCUMENT_TYPE') | 15801 @DomName('NodeFilter.SHOW_DOCUMENT_TYPE') |
| 15363 @DocsEditable | 15802 @DocsEditable |
| 15364 static const int SHOW_DOCUMENT_TYPE = 0x00000200; | 15803 static const int SHOW_DOCUMENT_TYPE = 0x00000200; |
| 15365 | 15804 |
| 15366 @DomName('NodeFilter.SHOW_ELEMENT') | 15805 @DomName('NodeFilter.SHOW_ELEMENT') |
| 15367 @DocsEditable | 15806 @DocsEditable |
| 15368 static const int SHOW_ELEMENT = 0x00000001; | 15807 static const int SHOW_ELEMENT = 0x00000001; |
| 15369 | 15808 |
| 15370 @DomName('NodeFilter.SHOW_ENTITY') | 15809 @DomName('NodeFilter.SHOW_ENTITY') |
| 15371 @DocsEditable | 15810 @DocsEditable |
| 15811 @deprecated // deprecated | |
| 15372 static const int SHOW_ENTITY = 0x00000020; | 15812 static const int SHOW_ENTITY = 0x00000020; |
| 15373 | 15813 |
| 15374 @DomName('NodeFilter.SHOW_ENTITY_REFERENCE') | 15814 @DomName('NodeFilter.SHOW_ENTITY_REFERENCE') |
| 15375 @DocsEditable | 15815 @DocsEditable |
| 15816 @deprecated // deprecated | |
| 15376 static const int SHOW_ENTITY_REFERENCE = 0x00000010; | 15817 static const int SHOW_ENTITY_REFERENCE = 0x00000010; |
| 15377 | 15818 |
| 15378 @DomName('NodeFilter.SHOW_NOTATION') | 15819 @DomName('NodeFilter.SHOW_NOTATION') |
| 15379 @DocsEditable | 15820 @DocsEditable |
| 15821 @deprecated // deprecated | |
| 15380 static const int SHOW_NOTATION = 0x00000800; | 15822 static const int SHOW_NOTATION = 0x00000800; |
| 15381 | 15823 |
| 15382 @DomName('NodeFilter.SHOW_PROCESSING_INSTRUCTION') | 15824 @DomName('NodeFilter.SHOW_PROCESSING_INSTRUCTION') |
| 15383 @DocsEditable | 15825 @DocsEditable |
| 15384 static const int SHOW_PROCESSING_INSTRUCTION = 0x00000040; | 15826 static const int SHOW_PROCESSING_INSTRUCTION = 0x00000040; |
| 15385 | 15827 |
| 15386 @DomName('NodeFilter.SHOW_TEXT') | 15828 @DomName('NodeFilter.SHOW_TEXT') |
| 15387 @DocsEditable | 15829 @DocsEditable |
| 15388 static const int SHOW_TEXT = 0x00000004; | 15830 static const int SHOW_TEXT = 0x00000004; |
| 15389 } | 15831 } |
| 15390 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 15832 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 15391 // for details. All rights reserved. Use of this source code is governed by a | 15833 // for details. All rights reserved. Use of this source code is governed by a |
| 15392 // BSD-style license that can be found in the LICENSE file. | 15834 // BSD-style license that can be found in the LICENSE file. |
| 15393 | 15835 |
| 15394 | 15836 |
| 15395 @DomName('NodeIterator') | 15837 @DomName('NodeIterator') |
| 15838 @Unstable | |
| 15396 class NodeIterator native "NodeIterator" { | 15839 class NodeIterator native "NodeIterator" { |
| 15397 factory NodeIterator(Node root, int whatToShow) { | 15840 factory NodeIterator(Node root, int whatToShow) { |
| 15398 return document.$dom_createNodeIterator(root, whatToShow, null, false); | 15841 return document.$dom_createNodeIterator(root, whatToShow, null, false); |
| 15399 } | 15842 } |
| 15400 | 15843 |
| 15401 @DomName('NodeIterator.pointerBeforeReferenceNode') | 15844 @DomName('NodeIterator.pointerBeforeReferenceNode') |
| 15402 @DocsEditable | 15845 @DocsEditable |
| 15403 final bool pointerBeforeReferenceNode; | 15846 final bool pointerBeforeReferenceNode; |
| 15404 | 15847 |
| 15405 @DomName('NodeIterator.referenceNode') | 15848 @DomName('NodeIterator.referenceNode') |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 15489 @DocsEditable | 15932 @DocsEditable |
| 15490 Node _item(int index) native; | 15933 Node _item(int index) native; |
| 15491 } | 15934 } |
| 15492 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 15935 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 15493 // for details. All rights reserved. Use of this source code is governed by a | 15936 // for details. All rights reserved. Use of this source code is governed by a |
| 15494 // BSD-style license that can be found in the LICENSE file. | 15937 // BSD-style license that can be found in the LICENSE file. |
| 15495 | 15938 |
| 15496 | 15939 |
| 15497 @DocsEditable | 15940 @DocsEditable |
| 15498 @DomName('Notation') | 15941 @DomName('Notation') |
| 15942 // http://dom.spec.whatwg.org/#notation | |
| 15943 @deprecated // deprecated | |
| 15499 class Notation extends Node native "Notation" { | 15944 class Notation extends Node native "Notation" { |
| 15500 | 15945 |
| 15501 @DomName('Notation.publicId') | 15946 @DomName('Notation.publicId') |
| 15502 @DocsEditable | 15947 @DocsEditable |
| 15503 final String publicId; | 15948 final String publicId; |
| 15504 | 15949 |
| 15505 @DomName('Notation.systemId') | 15950 @DomName('Notation.systemId') |
| 15506 @DocsEditable | 15951 @DocsEditable |
| 15507 final String systemId; | 15952 final String systemId; |
| 15508 } | 15953 } |
| 15509 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 15954 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 15510 // for details. All rights reserved. Use of this source code is governed by a | 15955 // for details. All rights reserved. Use of this source code is governed by a |
| 15511 // BSD-style license that can be found in the LICENSE file. | 15956 // BSD-style license that can be found in the LICENSE file. |
| 15512 | 15957 |
| 15513 | 15958 |
| 15514 @DomName('Notification') | 15959 @DomName('Notification') |
| 15960 // http://www.w3.org/TR/notifications/#notification | |
| 15961 @Experimental // experimental | |
| 15515 class Notification extends EventTarget native "Notification" { | 15962 class Notification extends EventTarget native "Notification" { |
| 15516 | 15963 |
| 15517 factory Notification(String title, {String titleDir: null, String body: null, | 15964 factory Notification(String title, {String titleDir: null, String body: null, |
| 15518 String bodyDir: null, String tag: null, String iconUrl: null}) { | 15965 String bodyDir: null, String tag: null, String iconUrl: null}) { |
| 15519 | 15966 |
| 15520 var parsedOptions = {}; | 15967 var parsedOptions = {}; |
| 15521 if (titleDir != null) parsedOptions['titleDir'] = titleDir; | 15968 if (titleDir != null) parsedOptions['titleDir'] = titleDir; |
| 15522 if (body != null) parsedOptions['body'] = body; | 15969 if (body != null) parsedOptions['body'] = body; |
| 15523 if (bodyDir != null) parsedOptions['bodyDir'] = bodyDir; | 15970 if (bodyDir != null) parsedOptions['bodyDir'] = bodyDir; |
| 15524 if (tag != null) parsedOptions['tag'] = tag; | 15971 if (tag != null) parsedOptions['tag'] = tag; |
| 15525 if (iconUrl != null) parsedOptions['iconUrl'] = iconUrl; | 15972 if (iconUrl != null) parsedOptions['iconUrl'] = iconUrl; |
| 15526 | 15973 |
| 15527 return Notification._factoryNotification(title, parsedOptions); | 15974 return Notification._factoryNotification(title, parsedOptions); |
| 15528 } | 15975 } |
| 15529 | 15976 |
| 15530 @DomName('Notification.clickEvent') | 15977 @DomName('Notification.clickEvent') |
| 15531 @DocsEditable | 15978 @DocsEditable |
| 15532 static const EventStreamProvider<Event> clickEvent = const EventStreamProvider <Event>('click'); | 15979 static const EventStreamProvider<Event> clickEvent = const EventStreamProvider <Event>('click'); |
| 15533 | 15980 |
| 15534 @DomName('Notification.closeEvent') | 15981 @DomName('Notification.closeEvent') |
| 15535 @DocsEditable | 15982 @DocsEditable |
| 15536 static const EventStreamProvider<Event> closeEvent = const EventStreamProvider <Event>('close'); | 15983 static const EventStreamProvider<Event> closeEvent = const EventStreamProvider <Event>('close'); |
| 15537 | 15984 |
| 15538 @DomName('Notification.displayEvent') | 15985 @DomName('Notification.displayEvent') |
| 15539 @DocsEditable | 15986 @DocsEditable |
| 15987 @Experimental // nonstandard | |
| 15540 static const EventStreamProvider<Event> displayEvent = const EventStreamProvid er<Event>('display'); | 15988 static const EventStreamProvider<Event> displayEvent = const EventStreamProvid er<Event>('display'); |
| 15541 | 15989 |
| 15542 @DomName('Notification.errorEvent') | 15990 @DomName('Notification.errorEvent') |
| 15543 @DocsEditable | 15991 @DocsEditable |
| 15544 static const EventStreamProvider<Event> errorEvent = const EventStreamProvider <Event>('error'); | 15992 static const EventStreamProvider<Event> errorEvent = const EventStreamProvider <Event>('error'); |
| 15545 | 15993 |
| 15546 @DomName('Notification.showEvent') | 15994 @DomName('Notification.showEvent') |
| 15547 @DocsEditable | 15995 @DocsEditable |
| 15548 static const EventStreamProvider<Event> showEvent = const EventStreamProvider< Event>('show'); | 15996 static const EventStreamProvider<Event> showEvent = const EventStreamProvider< Event>('show'); |
| 15549 | 15997 |
| 15550 @DomName('Notification.Notification') | 15998 @DomName('Notification.Notification') |
| 15551 @DocsEditable | 15999 @DocsEditable |
| 15552 static Notification _factoryNotification(String title, [Map options]) { | 16000 static Notification _factoryNotification(String title, [Map options]) { |
| 15553 if (?options) { | 16001 if (?options) { |
| 15554 return Notification._create_1(title, options); | 16002 return Notification._create_1(title, options); |
| 15555 } | 16003 } |
| 15556 return Notification._create_2(title); | 16004 return Notification._create_2(title); |
| 15557 } | 16005 } |
| 15558 static Notification _create_1(title, options) => JS('Notification', 'new Notif ication(#,#)', title, options); | 16006 static Notification _create_1(title, options) => JS('Notification', 'new Notif ication(#,#)', title, options); |
| 15559 static Notification _create_2(title) => JS('Notification', 'new Notification(# )', title); | 16007 static Notification _create_2(title) => JS('Notification', 'new Notification(# )', title); |
| 15560 | 16008 |
| 15561 @DomName('Notification.dir') | 16009 @DomName('Notification.dir') |
| 15562 @DocsEditable | 16010 @DocsEditable |
| 16011 @Experimental // nonstandard | |
| 15563 String dir; | 16012 String dir; |
| 15564 | 16013 |
| 15565 @DomName('Notification.permission') | 16014 @DomName('Notification.permission') |
| 15566 @DocsEditable | 16015 @DocsEditable |
| 15567 final String permission; | 16016 final String permission; |
| 15568 | 16017 |
| 15569 @DomName('Notification.replaceId') | 16018 @DomName('Notification.replaceId') |
| 15570 @DocsEditable | 16019 @DocsEditable |
| 16020 @Experimental // nonstandard | |
| 15571 String replaceId; | 16021 String replaceId; |
| 15572 | 16022 |
| 15573 @DomName('Notification.tag') | 16023 @DomName('Notification.tag') |
| 15574 @DocsEditable | 16024 @DocsEditable |
| 16025 @Experimental // nonstandard | |
| 15575 String tag; | 16026 String tag; |
| 15576 | 16027 |
| 15577 @JSName('addEventListener') | 16028 @JSName('addEventListener') |
| 15578 @DomName('Notification.addEventListener') | 16029 @DomName('Notification.addEventListener') |
| 15579 @DocsEditable | 16030 @DocsEditable |
| 15580 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu re]) native; | 16031 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu re]) native; |
| 15581 | 16032 |
| 15582 @DomName('Notification.cancel') | 16033 @DomName('Notification.cancel') |
| 15583 @DocsEditable | 16034 @DocsEditable |
| 16035 @Experimental // nonstandard | |
| 15584 void cancel() native; | 16036 void cancel() native; |
| 15585 | 16037 |
| 15586 @DomName('Notification.close') | 16038 @DomName('Notification.close') |
| 15587 @DocsEditable | 16039 @DocsEditable |
| 15588 void close() native; | 16040 void close() native; |
| 15589 | 16041 |
| 15590 @DomName('Notification.dispatchEvent') | 16042 @DomName('Notification.dispatchEvent') |
| 15591 @DocsEditable | 16043 @DocsEditable |
| 15592 bool dispatchEvent(Event evt) native; | 16044 bool dispatchEvent(Event evt) native; |
| 15593 | 16045 |
| (...skipping 12 matching lines...) Expand all Loading... | |
| 15606 @DocsEditable | 16058 @DocsEditable |
| 15607 static Future<String> requestPermission() { | 16059 static Future<String> requestPermission() { |
| 15608 var completer = new Completer<String>(); | 16060 var completer = new Completer<String>(); |
| 15609 _requestPermission( | 16061 _requestPermission( |
| 15610 (value) { completer.complete(value); }); | 16062 (value) { completer.complete(value); }); |
| 15611 return completer.future; | 16063 return completer.future; |
| 15612 } | 16064 } |
| 15613 | 16065 |
| 15614 @DomName('Notification.show') | 16066 @DomName('Notification.show') |
| 15615 @DocsEditable | 16067 @DocsEditable |
| 16068 @Experimental // nonstandard | |
| 15616 void show() native; | 16069 void show() native; |
| 15617 | 16070 |
| 15618 @DomName('Notification.onclick') | 16071 @DomName('Notification.onclick') |
| 15619 @DocsEditable | 16072 @DocsEditable |
| 15620 Stream<Event> get onClick => clickEvent.forTarget(this); | 16073 Stream<Event> get onClick => clickEvent.forTarget(this); |
| 15621 | 16074 |
| 15622 @DomName('Notification.onclose') | 16075 @DomName('Notification.onclose') |
| 15623 @DocsEditable | 16076 @DocsEditable |
| 15624 Stream<Event> get onClose => closeEvent.forTarget(this); | 16077 Stream<Event> get onClose => closeEvent.forTarget(this); |
| 15625 | 16078 |
| 15626 @DomName('Notification.ondisplay') | 16079 @DomName('Notification.ondisplay') |
| 15627 @DocsEditable | 16080 @DocsEditable |
| 16081 @Experimental // nonstandard | |
| 15628 Stream<Event> get onDisplay => displayEvent.forTarget(this); | 16082 Stream<Event> get onDisplay => displayEvent.forTarget(this); |
| 15629 | 16083 |
| 15630 @DomName('Notification.onerror') | 16084 @DomName('Notification.onerror') |
| 15631 @DocsEditable | 16085 @DocsEditable |
| 15632 Stream<Event> get onError => errorEvent.forTarget(this); | 16086 Stream<Event> get onError => errorEvent.forTarget(this); |
| 15633 | 16087 |
| 15634 @DomName('Notification.onshow') | 16088 @DomName('Notification.onshow') |
| 15635 @DocsEditable | 16089 @DocsEditable |
| 15636 Stream<Event> get onShow => showEvent.forTarget(this); | 16090 Stream<Event> get onShow => showEvent.forTarget(this); |
| 15637 | 16091 |
| 15638 } | 16092 } |
| 15639 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16093 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 15640 // for details. All rights reserved. Use of this source code is governed by a | 16094 // for details. All rights reserved. Use of this source code is governed by a |
| 15641 // BSD-style license that can be found in the LICENSE file. | 16095 // BSD-style license that can be found in the LICENSE file. |
| 15642 | 16096 |
| 15643 | 16097 |
| 15644 @DocsEditable | 16098 @DocsEditable |
| 15645 @DomName('NotificationCenter') | 16099 @DomName('NotificationCenter') |
| 15646 @SupportedBrowser(SupportedBrowser.CHROME) | 16100 @SupportedBrowser(SupportedBrowser.CHROME) |
| 15647 @SupportedBrowser(SupportedBrowser.SAFARI) | 16101 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 15648 @Experimental | 16102 @Experimental |
| 16103 // http://www.w3.org/TR/notifications/#showing-a-notification | |
| 16104 @deprecated // deprecated | |
| 15649 class NotificationCenter native "NotificationCenter" { | 16105 class NotificationCenter native "NotificationCenter" { |
| 15650 | 16106 |
| 15651 /// Checks if this type is supported on the current platform. | 16107 /// Checks if this type is supported on the current platform. |
| 15652 static bool get supported => JS('bool', '!!(window.webkitNotifications)'); | 16108 static bool get supported => JS('bool', '!!(window.webkitNotifications)'); |
| 15653 | 16109 |
| 15654 @DomName('NotificationCenter.checkPermission') | 16110 @DomName('NotificationCenter.checkPermission') |
| 15655 @DocsEditable | 16111 @DocsEditable |
| 15656 int checkPermission() native; | 16112 int checkPermission() native; |
| 15657 | 16113 |
| 15658 @JSName('createHTMLNotification') | 16114 @JSName('createHTMLNotification') |
| (...skipping 20 matching lines...) Expand all Loading... | |
| 15679 return completer.future; | 16135 return completer.future; |
| 15680 } | 16136 } |
| 15681 } | 16137 } |
| 15682 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16138 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 15683 // for details. All rights reserved. Use of this source code is governed by a | 16139 // for details. All rights reserved. Use of this source code is governed by a |
| 15684 // BSD-style license that can be found in the LICENSE file. | 16140 // BSD-style license that can be found in the LICENSE file. |
| 15685 | 16141 |
| 15686 // WARNING: Do not edit - generated code. | 16142 // WARNING: Do not edit - generated code. |
| 15687 | 16143 |
| 15688 | 16144 |
| 16145 @DomName('NotificationPermissionCallback') | |
| 16146 // http://www.w3.org/TR/notifications/#notificationpermissioncallback | |
| 16147 @Experimental | |
| 15689 typedef void _NotificationPermissionCallback(String permission); | 16148 typedef void _NotificationPermissionCallback(String permission); |
| 15690 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16149 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 15691 // for details. All rights reserved. Use of this source code is governed by a | 16150 // for details. All rights reserved. Use of this source code is governed by a |
| 15692 // BSD-style license that can be found in the LICENSE file. | 16151 // BSD-style license that can be found in the LICENSE file. |
| 15693 | 16152 |
| 15694 | 16153 |
| 15695 @DocsEditable | 16154 @DocsEditable |
| 15696 @DomName('HTMLOListElement') | 16155 @DomName('HTMLOListElement') |
| 15697 class OListElement extends Element native "HTMLOListElement" { | 16156 class OListElement extends Element native "HTMLOListElement" { |
| 15698 | 16157 |
| (...skipping 16 matching lines...) Expand all Loading... | |
| 15715 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16174 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 15716 // for details. All rights reserved. Use of this source code is governed by a | 16175 // for details. All rights reserved. Use of this source code is governed by a |
| 15717 // BSD-style license that can be found in the LICENSE file. | 16176 // BSD-style license that can be found in the LICENSE file. |
| 15718 | 16177 |
| 15719 | 16178 |
| 15720 @DocsEditable | 16179 @DocsEditable |
| 15721 @DomName('HTMLObjectElement') | 16180 @DomName('HTMLObjectElement') |
| 15722 @SupportedBrowser(SupportedBrowser.CHROME) | 16181 @SupportedBrowser(SupportedBrowser.CHROME) |
| 15723 @SupportedBrowser(SupportedBrowser.IE) | 16182 @SupportedBrowser(SupportedBrowser.IE) |
| 15724 @SupportedBrowser(SupportedBrowser.SAFARI) | 16183 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 16184 @Unstable | |
| 15725 class ObjectElement extends Element native "HTMLObjectElement" { | 16185 class ObjectElement extends Element native "HTMLObjectElement" { |
| 15726 | 16186 |
| 15727 @DomName('HTMLObjectElement.HTMLObjectElement') | 16187 @DomName('HTMLObjectElement.HTMLObjectElement') |
| 15728 @DocsEditable | 16188 @DocsEditable |
| 15729 factory ObjectElement() => document.$dom_createElement("object"); | 16189 factory ObjectElement() => document.$dom_createElement("object"); |
| 15730 | 16190 |
| 15731 /// Checks if this type is supported on the current platform. | 16191 /// Checks if this type is supported on the current platform. |
| 15732 static bool get supported => Element.isTagSupported('object'); | 16192 static bool get supported => Element.isTagSupported('object'); |
| 15733 | 16193 |
| 15734 @DomName('HTMLObjectElement.code') | 16194 @DomName('HTMLObjectElement.code') |
| 15735 @DocsEditable | 16195 @DocsEditable |
| 16196 // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#H TMLObjectElement-partial | |
| 16197 @deprecated // deprecated | |
| 15736 String code; | 16198 String code; |
| 15737 | 16199 |
| 15738 @DomName('HTMLObjectElement.data') | 16200 @DomName('HTMLObjectElement.data') |
| 15739 @DocsEditable | 16201 @DocsEditable |
| 15740 String data; | 16202 String data; |
| 15741 | 16203 |
| 15742 @DomName('HTMLObjectElement.form') | 16204 @DomName('HTMLObjectElement.form') |
| 15743 @DocsEditable | 16205 @DocsEditable |
| 15744 final FormElement form; | 16206 final FormElement form; |
| 15745 | 16207 |
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 15890 @DomName('HTMLOutputElement.form') | 16352 @DomName('HTMLOutputElement.form') |
| 15891 @DocsEditable | 16353 @DocsEditable |
| 15892 final FormElement form; | 16354 final FormElement form; |
| 15893 | 16355 |
| 15894 @DomName('HTMLOutputElement.htmlFor') | 16356 @DomName('HTMLOutputElement.htmlFor') |
| 15895 @DocsEditable | 16357 @DocsEditable |
| 15896 final DomSettableTokenList htmlFor; | 16358 final DomSettableTokenList htmlFor; |
| 15897 | 16359 |
| 15898 @DomName('HTMLOutputElement.labels') | 16360 @DomName('HTMLOutputElement.labels') |
| 15899 @DocsEditable | 16361 @DocsEditable |
| 16362 @Unstable | |
| 15900 @Returns('NodeList') | 16363 @Returns('NodeList') |
| 15901 @Creates('NodeList') | 16364 @Creates('NodeList') |
| 15902 final List<Node> labels; | 16365 final List<Node> labels; |
| 15903 | 16366 |
| 15904 @DomName('HTMLOutputElement.name') | 16367 @DomName('HTMLOutputElement.name') |
| 15905 @DocsEditable | 16368 @DocsEditable |
| 15906 String name; | 16369 String name; |
| 15907 | 16370 |
| 15908 @DomName('HTMLOutputElement.type') | 16371 @DomName('HTMLOutputElement.type') |
| 15909 @DocsEditable | 16372 @DocsEditable |
| (...skipping 23 matching lines...) Expand all Loading... | |
| 15933 @DocsEditable | 16396 @DocsEditable |
| 15934 void setCustomValidity(String error) native; | 16397 void setCustomValidity(String error) native; |
| 15935 } | 16398 } |
| 15936 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16399 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 15937 // for details. All rights reserved. Use of this source code is governed by a | 16400 // for details. All rights reserved. Use of this source code is governed by a |
| 15938 // BSD-style license that can be found in the LICENSE file. | 16401 // BSD-style license that can be found in the LICENSE file. |
| 15939 | 16402 |
| 15940 | 16403 |
| 15941 @DocsEditable | 16404 @DocsEditable |
| 15942 @DomName('OverflowEvent') | 16405 @DomName('OverflowEvent') |
| 16406 @Experimental // nonstandard | |
| 15943 class OverflowEvent extends Event native "OverflowEvent" { | 16407 class OverflowEvent extends Event native "OverflowEvent" { |
| 15944 | 16408 |
| 15945 @DomName('OverflowEvent.BOTH') | 16409 @DomName('OverflowEvent.BOTH') |
| 15946 @DocsEditable | 16410 @DocsEditable |
| 15947 static const int BOTH = 2; | 16411 static const int BOTH = 2; |
| 15948 | 16412 |
| 15949 @DomName('OverflowEvent.HORIZONTAL') | 16413 @DomName('OverflowEvent.HORIZONTAL') |
| 15950 @DocsEditable | 16414 @DocsEditable |
| 15951 static const int HORIZONTAL = 0; | 16415 static const int HORIZONTAL = 0; |
| 15952 | 16416 |
| (...skipping 13 matching lines...) Expand all Loading... | |
| 15966 @DocsEditable | 16430 @DocsEditable |
| 15967 final bool verticalOverflow; | 16431 final bool verticalOverflow; |
| 15968 } | 16432 } |
| 15969 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16433 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 15970 // for details. All rights reserved. Use of this source code is governed by a | 16434 // for details. All rights reserved. Use of this source code is governed by a |
| 15971 // BSD-style license that can be found in the LICENSE file. | 16435 // BSD-style license that can be found in the LICENSE file. |
| 15972 | 16436 |
| 15973 | 16437 |
| 15974 @DocsEditable | 16438 @DocsEditable |
| 15975 @DomName('PageTransitionEvent') | 16439 @DomName('PageTransitionEvent') |
| 16440 // http://www.whatwg.org/specs/web-apps/current-work/multipage/history.html#page transitionevent | |
| 16441 @Experimental | |
| 15976 class PageTransitionEvent extends Event native "PageTransitionEvent" { | 16442 class PageTransitionEvent extends Event native "PageTransitionEvent" { |
| 15977 | 16443 |
| 15978 @DomName('PageTransitionEvent.persisted') | 16444 @DomName('PageTransitionEvent.persisted') |
| 15979 @DocsEditable | 16445 @DocsEditable |
| 15980 final bool persisted; | 16446 final bool persisted; |
| 15981 } | 16447 } |
| 15982 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16448 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 15983 // for details. All rights reserved. Use of this source code is governed by a | 16449 // for details. All rights reserved. Use of this source code is governed by a |
| 15984 // BSD-style license that can be found in the LICENSE file. | 16450 // BSD-style license that can be found in the LICENSE file. |
| 15985 | 16451 |
| 15986 | 16452 |
| 15987 @DocsEditable | 16453 @DocsEditable |
| 15988 @DomName('HTMLParagraphElement') | 16454 @DomName('HTMLParagraphElement') |
| 15989 class ParagraphElement extends Element native "HTMLParagraphElement" { | 16455 class ParagraphElement extends Element native "HTMLParagraphElement" { |
| 15990 | 16456 |
| 15991 @DomName('HTMLParagraphElement.HTMLParagraphElement') | 16457 @DomName('HTMLParagraphElement.HTMLParagraphElement') |
| 15992 @DocsEditable | 16458 @DocsEditable |
| 15993 factory ParagraphElement() => document.$dom_createElement("p"); | 16459 factory ParagraphElement() => document.$dom_createElement("p"); |
| 15994 } | 16460 } |
| 15995 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16461 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 15996 // for details. All rights reserved. Use of this source code is governed by a | 16462 // for details. All rights reserved. Use of this source code is governed by a |
| 15997 // BSD-style license that can be found in the LICENSE file. | 16463 // BSD-style license that can be found in the LICENSE file. |
| 15998 | 16464 |
| 15999 | 16465 |
| 16000 @DocsEditable | 16466 @DocsEditable |
| 16001 @DomName('HTMLParamElement') | 16467 @DomName('HTMLParamElement') |
| 16468 @Unstable | |
| 16002 class ParamElement extends Element native "HTMLParamElement" { | 16469 class ParamElement extends Element native "HTMLParamElement" { |
| 16003 | 16470 |
| 16004 @DomName('HTMLParamElement.HTMLParamElement') | 16471 @DomName('HTMLParamElement.HTMLParamElement') |
| 16005 @DocsEditable | 16472 @DocsEditable |
| 16006 factory ParamElement() => document.$dom_createElement("param"); | 16473 factory ParamElement() => document.$dom_createElement("param"); |
| 16007 | 16474 |
| 16008 @DomName('HTMLParamElement.name') | 16475 @DomName('HTMLParamElement.name') |
| 16009 @DocsEditable | 16476 @DocsEditable |
| 16010 String name; | 16477 String name; |
| 16011 | 16478 |
| 16012 @DomName('HTMLParamElement.value') | 16479 @DomName('HTMLParamElement.value') |
| 16013 @DocsEditable | 16480 @DocsEditable |
| 16014 String value; | 16481 String value; |
| 16015 } | 16482 } |
| 16016 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16483 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16017 // for details. All rights reserved. Use of this source code is governed by a | 16484 // for details. All rights reserved. Use of this source code is governed by a |
| 16018 // BSD-style license that can be found in the LICENSE file. | 16485 // BSD-style license that can be found in the LICENSE file. |
| 16019 | 16486 |
| 16020 | 16487 |
| 16021 @DocsEditable | 16488 @DocsEditable |
| 16022 @DomName('Path') | 16489 @DomName('Path') |
| 16490 // http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-elemen t.html#path-objects | |
| 16491 @Experimental | |
| 16023 class Path native "Path" { | 16492 class Path native "Path" { |
| 16024 | 16493 |
| 16025 @DomName('Path.DOMPath') | 16494 @DomName('Path.DOMPath') |
| 16026 @DocsEditable | 16495 @DocsEditable |
| 16027 factory Path([path_OR_text]) { | 16496 factory Path([path_OR_text]) { |
| 16028 if (!?path_OR_text) { | 16497 if (!?path_OR_text) { |
| 16029 return Path._create_1(); | 16498 return Path._create_1(); |
| 16030 } | 16499 } |
| 16031 if ((path_OR_text is Path || path_OR_text == null)) { | 16500 if ((path_OR_text is Path || path_OR_text == null)) { |
| 16032 return Path._create_2(path_OR_text); | 16501 return Path._create_2(path_OR_text); |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 16082 @SupportedBrowser(SupportedBrowser.CHROME) | 16551 @SupportedBrowser(SupportedBrowser.CHROME) |
| 16083 @SupportedBrowser(SupportedBrowser.FIREFOX) | 16552 @SupportedBrowser(SupportedBrowser.FIREFOX) |
| 16084 @SupportedBrowser(SupportedBrowser.IE) | 16553 @SupportedBrowser(SupportedBrowser.IE) |
| 16085 class Performance extends EventTarget native "Performance" { | 16554 class Performance extends EventTarget native "Performance" { |
| 16086 | 16555 |
| 16087 /// Checks if this type is supported on the current platform. | 16556 /// Checks if this type is supported on the current platform. |
| 16088 static bool get supported => JS('bool', '!!(window.performance)'); | 16557 static bool get supported => JS('bool', '!!(window.performance)'); |
| 16089 | 16558 |
| 16090 @DomName('Performance.memory') | 16559 @DomName('Performance.memory') |
| 16091 @DocsEditable | 16560 @DocsEditable |
| 16561 @Experimental // nonstandard | |
| 16092 final MemoryInfo memory; | 16562 final MemoryInfo memory; |
| 16093 | 16563 |
| 16094 @DomName('Performance.navigation') | 16564 @DomName('Performance.navigation') |
| 16095 @DocsEditable | 16565 @DocsEditable |
| 16096 final PerformanceNavigation navigation; | 16566 final PerformanceNavigation navigation; |
| 16097 | 16567 |
| 16098 @DomName('Performance.timing') | 16568 @DomName('Performance.timing') |
| 16099 @DocsEditable | 16569 @DocsEditable |
| 16100 final PerformanceTiming timing; | 16570 final PerformanceTiming timing; |
| 16101 | 16571 |
| 16102 @DomName('Performance.now') | 16572 @DomName('Performance.now') |
| 16103 @DocsEditable | 16573 @DocsEditable |
| 16104 num now() native; | 16574 num now() native; |
| 16105 | 16575 |
| 16106 @JSName('webkitClearMarks') | 16576 @JSName('webkitClearMarks') |
| 16107 @DomName('Performance.webkitClearMarks') | 16577 @DomName('Performance.webkitClearMarks') |
| 16108 @DocsEditable | 16578 @DocsEditable |
| 16109 @SupportedBrowser(SupportedBrowser.CHROME) | 16579 @SupportedBrowser(SupportedBrowser.CHROME) |
| 16110 @SupportedBrowser(SupportedBrowser.SAFARI) | 16580 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 16111 @Experimental | 16581 @Experimental |
| 16582 // https://dvcs.w3.org/hg/webperf/raw-file/tip/specs/UserTiming/Overview.html# extensions-performance-interface | |
| 16112 void clearMarks(String markName) native; | 16583 void clearMarks(String markName) native; |
| 16113 | 16584 |
| 16114 @JSName('webkitClearMeasures') | 16585 @JSName('webkitClearMeasures') |
| 16115 @DomName('Performance.webkitClearMeasures') | 16586 @DomName('Performance.webkitClearMeasures') |
| 16116 @DocsEditable | 16587 @DocsEditable |
| 16117 @SupportedBrowser(SupportedBrowser.CHROME) | 16588 @SupportedBrowser(SupportedBrowser.CHROME) |
| 16118 @SupportedBrowser(SupportedBrowser.SAFARI) | 16589 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 16119 @Experimental | 16590 @Experimental |
| 16591 // https://dvcs.w3.org/hg/webperf/raw-file/tip/specs/UserTiming/Overview.html# extensions-performance-interface | |
| 16120 void clearMeasures(String measureName) native; | 16592 void clearMeasures(String measureName) native; |
| 16121 | 16593 |
| 16122 @JSName('webkitClearResourceTimings') | 16594 @JSName('webkitClearResourceTimings') |
| 16123 @DomName('Performance.webkitClearResourceTimings') | 16595 @DomName('Performance.webkitClearResourceTimings') |
| 16124 @DocsEditable | 16596 @DocsEditable |
| 16125 @SupportedBrowser(SupportedBrowser.CHROME) | 16597 @SupportedBrowser(SupportedBrowser.CHROME) |
| 16126 @SupportedBrowser(SupportedBrowser.SAFARI) | 16598 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 16127 @Experimental | 16599 @Experimental |
| 16600 // http://www.w3c-test.org/webperf/specs/ResourceTiming/#performanceresourceti ming-methods | |
| 16128 void clearResourceTimings() native; | 16601 void clearResourceTimings() native; |
| 16129 | 16602 |
| 16130 @JSName('webkitGetEntries') | 16603 @JSName('webkitGetEntries') |
| 16131 @DomName('Performance.webkitGetEntries') | 16604 @DomName('Performance.webkitGetEntries') |
| 16132 @DocsEditable | 16605 @DocsEditable |
| 16133 @SupportedBrowser(SupportedBrowser.CHROME) | 16606 @SupportedBrowser(SupportedBrowser.CHROME) |
| 16134 @SupportedBrowser(SupportedBrowser.SAFARI) | 16607 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 16135 @Experimental | 16608 @Experimental |
| 16609 // http://www.w3.org/TR/performance-timeline/#sec-window.performance-attribute | |
| 16136 List<PerformanceEntry> getEntries() native; | 16610 List<PerformanceEntry> getEntries() native; |
| 16137 | 16611 |
| 16138 @JSName('webkitGetEntriesByName') | 16612 @JSName('webkitGetEntriesByName') |
| 16139 @DomName('Performance.webkitGetEntriesByName') | 16613 @DomName('Performance.webkitGetEntriesByName') |
| 16140 @DocsEditable | 16614 @DocsEditable |
| 16141 @SupportedBrowser(SupportedBrowser.CHROME) | 16615 @SupportedBrowser(SupportedBrowser.CHROME) |
| 16142 @SupportedBrowser(SupportedBrowser.SAFARI) | 16616 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 16143 @Experimental | 16617 @Experimental |
| 16618 // http://www.w3.org/TR/performance-timeline/#sec-window.performance-attribute | |
| 16144 List<PerformanceEntry> getEntriesByName(String name, String entryType) native; | 16619 List<PerformanceEntry> getEntriesByName(String name, String entryType) native; |
| 16145 | 16620 |
| 16146 @JSName('webkitGetEntriesByType') | 16621 @JSName('webkitGetEntriesByType') |
| 16147 @DomName('Performance.webkitGetEntriesByType') | 16622 @DomName('Performance.webkitGetEntriesByType') |
| 16148 @DocsEditable | 16623 @DocsEditable |
| 16149 @SupportedBrowser(SupportedBrowser.CHROME) | 16624 @SupportedBrowser(SupportedBrowser.CHROME) |
| 16150 @SupportedBrowser(SupportedBrowser.SAFARI) | 16625 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 16151 @Experimental | 16626 @Experimental |
| 16627 // http://www.w3.org/TR/performance-timeline/#sec-window.performance-attribute | |
| 16152 List<PerformanceEntry> getEntriesByType(String entryType) native; | 16628 List<PerformanceEntry> getEntriesByType(String entryType) native; |
| 16153 | 16629 |
| 16154 @JSName('webkitMark') | 16630 @JSName('webkitMark') |
| 16155 @DomName('Performance.webkitMark') | 16631 @DomName('Performance.webkitMark') |
| 16156 @DocsEditable | 16632 @DocsEditable |
| 16157 @SupportedBrowser(SupportedBrowser.CHROME) | 16633 @SupportedBrowser(SupportedBrowser.CHROME) |
| 16158 @SupportedBrowser(SupportedBrowser.SAFARI) | 16634 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 16159 @Experimental | 16635 @Experimental |
| 16636 // https://dvcs.w3.org/hg/webperf/raw-file/tip/specs/UserTiming/Overview.html# extensions-performance-interface | |
| 16160 void mark(String markName) native; | 16637 void mark(String markName) native; |
| 16161 | 16638 |
| 16162 @JSName('webkitMeasure') | 16639 @JSName('webkitMeasure') |
| 16163 @DomName('Performance.webkitMeasure') | 16640 @DomName('Performance.webkitMeasure') |
| 16164 @DocsEditable | 16641 @DocsEditable |
| 16165 @SupportedBrowser(SupportedBrowser.CHROME) | 16642 @SupportedBrowser(SupportedBrowser.CHROME) |
| 16166 @SupportedBrowser(SupportedBrowser.SAFARI) | 16643 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 16167 @Experimental | 16644 @Experimental |
| 16645 // https://dvcs.w3.org/hg/webperf/raw-file/tip/specs/UserTiming/Overview.html# extensions-performance-interface | |
| 16168 void measure(String measureName, String startMark, String endMark) native; | 16646 void measure(String measureName, String startMark, String endMark) native; |
| 16169 | 16647 |
| 16170 @JSName('webkitSetResourceTimingBufferSize') | 16648 @JSName('webkitSetResourceTimingBufferSize') |
| 16171 @DomName('Performance.webkitSetResourceTimingBufferSize') | 16649 @DomName('Performance.webkitSetResourceTimingBufferSize') |
| 16172 @DocsEditable | 16650 @DocsEditable |
| 16173 @SupportedBrowser(SupportedBrowser.CHROME) | 16651 @SupportedBrowser(SupportedBrowser.CHROME) |
| 16174 @SupportedBrowser(SupportedBrowser.SAFARI) | 16652 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 16175 @Experimental | 16653 @Experimental |
| 16654 // http://www.w3c-test.org/webperf/specs/ResourceTiming/#performanceresourceti ming-methods | |
| 16176 void setResourceTimingBufferSize(int maxSize) native; | 16655 void setResourceTimingBufferSize(int maxSize) native; |
| 16177 } | 16656 } |
| 16178 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16657 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16179 // for details. All rights reserved. Use of this source code is governed by a | 16658 // for details. All rights reserved. Use of this source code is governed by a |
| 16180 // BSD-style license that can be found in the LICENSE file. | 16659 // BSD-style license that can be found in the LICENSE file. |
| 16181 | 16660 |
| 16182 | 16661 |
| 16183 @DocsEditable | 16662 @DocsEditable |
| 16184 @DomName('PerformanceEntry') | 16663 @DomName('PerformanceEntry') |
| 16664 // http://www.w3.org/TR/performance-timeline/#sec-PerformanceEntry-interface | |
| 16665 @Experimental | |
| 16185 class PerformanceEntry native "PerformanceEntry" { | 16666 class PerformanceEntry native "PerformanceEntry" { |
| 16186 | 16667 |
| 16187 @DomName('PerformanceEntry.duration') | 16668 @DomName('PerformanceEntry.duration') |
| 16188 @DocsEditable | 16669 @DocsEditable |
| 16189 final num duration; | 16670 final num duration; |
| 16190 | 16671 |
| 16191 @DomName('PerformanceEntry.entryType') | 16672 @DomName('PerformanceEntry.entryType') |
| 16192 @DocsEditable | 16673 @DocsEditable |
| 16193 final String entryType; | 16674 final String entryType; |
| 16194 | 16675 |
| 16195 @DomName('PerformanceEntry.name') | 16676 @DomName('PerformanceEntry.name') |
| 16196 @DocsEditable | 16677 @DocsEditable |
| 16197 final String name; | 16678 final String name; |
| 16198 | 16679 |
| 16199 @DomName('PerformanceEntry.startTime') | 16680 @DomName('PerformanceEntry.startTime') |
| 16200 @DocsEditable | 16681 @DocsEditable |
| 16201 final num startTime; | 16682 final num startTime; |
| 16202 } | 16683 } |
| 16203 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16684 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16204 // for details. All rights reserved. Use of this source code is governed by a | 16685 // for details. All rights reserved. Use of this source code is governed by a |
| 16205 // BSD-style license that can be found in the LICENSE file. | 16686 // BSD-style license that can be found in the LICENSE file. |
| 16206 | 16687 |
| 16207 | 16688 |
| 16208 @DocsEditable | 16689 @DocsEditable |
| 16209 @DomName('PerformanceEntryList') | 16690 @DomName('PerformanceEntryList') |
| 16691 // http://www.w3.org/TR/performance-timeline/#performanceentrylist | |
| 16692 @Experimental | |
| 16210 class PerformanceEntryList native "PerformanceEntryList" { | 16693 class PerformanceEntryList native "PerformanceEntryList" { |
| 16211 | 16694 |
| 16212 @DomName('PerformanceEntryList.length') | 16695 @DomName('PerformanceEntryList.length') |
| 16213 @DocsEditable | 16696 @DocsEditable |
| 16214 final int length; | 16697 final int length; |
| 16215 | 16698 |
| 16216 @DomName('PerformanceEntryList.item') | 16699 @DomName('PerformanceEntryList.item') |
| 16217 @DocsEditable | 16700 @DocsEditable |
| 16218 PerformanceEntry item(int index) native; | 16701 PerformanceEntry item(int index) native; |
| 16219 } | 16702 } |
| 16220 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16703 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16221 // for details. All rights reserved. Use of this source code is governed by a | 16704 // for details. All rights reserved. Use of this source code is governed by a |
| 16222 // BSD-style license that can be found in the LICENSE file. | 16705 // BSD-style license that can be found in the LICENSE file. |
| 16223 | 16706 |
| 16224 | 16707 |
| 16225 @DocsEditable | 16708 @DocsEditable |
| 16226 @DomName('PerformanceMark') | 16709 @DomName('PerformanceMark') |
| 16710 // http://www.w3.org/TR/user-timing/#performancemark | |
| 16711 @Experimental | |
| 16227 class PerformanceMark extends PerformanceEntry native "PerformanceMark" { | 16712 class PerformanceMark extends PerformanceEntry native "PerformanceMark" { |
| 16228 } | 16713 } |
| 16229 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16714 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16230 // for details. All rights reserved. Use of this source code is governed by a | 16715 // for details. All rights reserved. Use of this source code is governed by a |
| 16231 // BSD-style license that can be found in the LICENSE file. | 16716 // BSD-style license that can be found in the LICENSE file. |
| 16232 | 16717 |
| 16233 | 16718 |
| 16234 @DocsEditable | 16719 @DocsEditable |
| 16235 @DomName('PerformanceMeasure') | 16720 @DomName('PerformanceMeasure') |
| 16721 // http://www.w3.org/TR/user-timing/#performancemeasure | |
| 16722 @Experimental | |
| 16236 class PerformanceMeasure extends PerformanceEntry native "PerformanceMeasure" { | 16723 class PerformanceMeasure extends PerformanceEntry native "PerformanceMeasure" { |
| 16237 } | 16724 } |
| 16238 // 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 |
| 16239 // 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 |
| 16240 // BSD-style license that can be found in the LICENSE file. | 16727 // BSD-style license that can be found in the LICENSE file. |
| 16241 | 16728 |
| 16242 | 16729 |
| 16243 @DocsEditable | 16730 @DocsEditable |
| 16244 @DomName('PerformanceNavigation') | 16731 @DomName('PerformanceNavigation') |
| 16732 @Unstable | |
| 16245 class PerformanceNavigation native "PerformanceNavigation" { | 16733 class PerformanceNavigation native "PerformanceNavigation" { |
| 16246 | 16734 |
| 16247 @DomName('PerformanceNavigation.TYPE_BACK_FORWARD') | 16735 @DomName('PerformanceNavigation.TYPE_BACK_FORWARD') |
| 16248 @DocsEditable | 16736 @DocsEditable |
| 16249 static const int TYPE_BACK_FORWARD = 2; | 16737 static const int TYPE_BACK_FORWARD = 2; |
| 16250 | 16738 |
| 16251 @DomName('PerformanceNavigation.TYPE_NAVIGATE') | 16739 @DomName('PerformanceNavigation.TYPE_NAVIGATE') |
| 16252 @DocsEditable | 16740 @DocsEditable |
| 16253 static const int TYPE_NAVIGATE = 0; | 16741 static const int TYPE_NAVIGATE = 0; |
| 16254 | 16742 |
| (...skipping 13 matching lines...) Expand all Loading... | |
| 16268 @DocsEditable | 16756 @DocsEditable |
| 16269 final int type; | 16757 final int type; |
| 16270 } | 16758 } |
| 16271 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16759 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16272 // for details. All rights reserved. Use of this source code is governed by a | 16760 // for details. All rights reserved. Use of this source code is governed by a |
| 16273 // BSD-style license that can be found in the LICENSE file. | 16761 // BSD-style license that can be found in the LICENSE file. |
| 16274 | 16762 |
| 16275 | 16763 |
| 16276 @DocsEditable | 16764 @DocsEditable |
| 16277 @DomName('PerformanceResourceTiming') | 16765 @DomName('PerformanceResourceTiming') |
| 16766 // http://www.w3c-test.org/webperf/specs/ResourceTiming/#performanceresourcetimi ng | |
| 16767 @Experimental | |
| 16278 class PerformanceResourceTiming extends PerformanceEntry native "PerformanceReso urceTiming" { | 16768 class PerformanceResourceTiming extends PerformanceEntry native "PerformanceReso urceTiming" { |
| 16279 | 16769 |
| 16280 @DomName('PerformanceResourceTiming.connectEnd') | 16770 @DomName('PerformanceResourceTiming.connectEnd') |
| 16281 @DocsEditable | 16771 @DocsEditable |
| 16282 final num connectEnd; | 16772 final num connectEnd; |
| 16283 | 16773 |
| 16284 @DomName('PerformanceResourceTiming.connectStart') | 16774 @DomName('PerformanceResourceTiming.connectStart') |
| 16285 @DocsEditable | 16775 @DocsEditable |
| 16286 final num connectStart; | 16776 final num connectStart; |
| 16287 | 16777 |
| (...skipping 16 matching lines...) Expand all Loading... | |
| 16304 @DomName('PerformanceResourceTiming.redirectEnd') | 16794 @DomName('PerformanceResourceTiming.redirectEnd') |
| 16305 @DocsEditable | 16795 @DocsEditable |
| 16306 final num redirectEnd; | 16796 final num redirectEnd; |
| 16307 | 16797 |
| 16308 @DomName('PerformanceResourceTiming.redirectStart') | 16798 @DomName('PerformanceResourceTiming.redirectStart') |
| 16309 @DocsEditable | 16799 @DocsEditable |
| 16310 final num redirectStart; | 16800 final num redirectStart; |
| 16311 | 16801 |
| 16312 @DomName('PerformanceResourceTiming.requestStart') | 16802 @DomName('PerformanceResourceTiming.requestStart') |
| 16313 @DocsEditable | 16803 @DocsEditable |
| 16804 @Experimental // nonstandard | |
| 16314 final num requestStart; | 16805 final num requestStart; |
| 16315 | 16806 |
| 16316 @DomName('PerformanceResourceTiming.responseEnd') | 16807 @DomName('PerformanceResourceTiming.responseEnd') |
| 16317 @DocsEditable | 16808 @DocsEditable |
| 16809 @Experimental // nonstandard | |
| 16318 final num responseEnd; | 16810 final num responseEnd; |
| 16319 | 16811 |
| 16320 @DomName('PerformanceResourceTiming.responseStart') | 16812 @DomName('PerformanceResourceTiming.responseStart') |
| 16321 @DocsEditable | 16813 @DocsEditable |
| 16814 @Experimental // nonstandard | |
| 16322 final num responseStart; | 16815 final num responseStart; |
| 16323 | 16816 |
| 16324 @DomName('PerformanceResourceTiming.secureConnectionStart') | 16817 @DomName('PerformanceResourceTiming.secureConnectionStart') |
| 16325 @DocsEditable | 16818 @DocsEditable |
| 16326 final num secureConnectionStart; | 16819 final num secureConnectionStart; |
| 16327 } | 16820 } |
| 16328 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16821 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16329 // for details. All rights reserved. Use of this source code is governed by a | 16822 // for details. All rights reserved. Use of this source code is governed by a |
| 16330 // BSD-style license that can be found in the LICENSE file. | 16823 // BSD-style license that can be found in the LICENSE file. |
| 16331 | 16824 |
| 16332 | 16825 |
| 16333 @DocsEditable | 16826 @DocsEditable |
| 16334 @DomName('PerformanceTiming') | 16827 @DomName('PerformanceTiming') |
| 16828 @Unstable | |
| 16335 class PerformanceTiming native "PerformanceTiming" { | 16829 class PerformanceTiming native "PerformanceTiming" { |
| 16336 | 16830 |
| 16337 @DomName('PerformanceTiming.connectEnd') | 16831 @DomName('PerformanceTiming.connectEnd') |
| 16338 @DocsEditable | 16832 @DocsEditable |
| 16339 final int connectEnd; | 16833 final int connectEnd; |
| 16340 | 16834 |
| 16341 @DomName('PerformanceTiming.connectStart') | 16835 @DomName('PerformanceTiming.connectStart') |
| 16342 @DocsEditable | 16836 @DocsEditable |
| 16343 final int connectStart; | 16837 final int connectStart; |
| 16344 | 16838 |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 16418 @DocsEditable | 16912 @DocsEditable |
| 16419 final int unloadEventStart; | 16913 final int unloadEventStart; |
| 16420 } | 16914 } |
| 16421 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16915 // 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 | 16916 // 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. | 16917 // BSD-style license that can be found in the LICENSE file. |
| 16424 | 16918 |
| 16425 | 16919 |
| 16426 @DocsEditable | 16920 @DocsEditable |
| 16427 @DomName('Plugin') | 16921 @DomName('Plugin') |
| 16922 @Experimental // non-standard | |
| 16428 class Plugin native "Plugin" { | 16923 class Plugin native "Plugin" { |
| 16429 | 16924 |
| 16430 @DomName('Plugin.description') | 16925 @DomName('Plugin.description') |
| 16431 @DocsEditable | 16926 @DocsEditable |
| 16432 final String description; | 16927 final String description; |
| 16433 | 16928 |
| 16434 @DomName('Plugin.filename') | 16929 @DomName('Plugin.filename') |
| 16435 @DocsEditable | 16930 @DocsEditable |
| 16436 final String filename; | 16931 final String filename; |
| 16437 | 16932 |
| (...skipping 13 matching lines...) Expand all Loading... | |
| 16451 @DocsEditable | 16946 @DocsEditable |
| 16452 MimeType namedItem(String name) native; | 16947 MimeType namedItem(String name) native; |
| 16453 } | 16948 } |
| 16454 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16949 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16455 // for details. All rights reserved. Use of this source code is governed by a | 16950 // for details. All rights reserved. Use of this source code is governed by a |
| 16456 // BSD-style license that can be found in the LICENSE file. | 16951 // BSD-style license that can be found in the LICENSE file. |
| 16457 | 16952 |
| 16458 | 16953 |
| 16459 @DocsEditable | 16954 @DocsEditable |
| 16460 @DomName('PluginArray') | 16955 @DomName('PluginArray') |
| 16956 @Experimental // non-standard | |
| 16461 class PluginArray extends Object with ListMixin<Plugin>, ImmutableListMixin<Plug in> implements JavaScriptIndexingBehavior, List<Plugin> native "PluginArray" { | 16957 class PluginArray extends Object with ListMixin<Plugin>, ImmutableListMixin<Plug in> implements JavaScriptIndexingBehavior, List<Plugin> native "PluginArray" { |
| 16462 | 16958 |
| 16463 @DomName('PluginArray.length') | 16959 @DomName('PluginArray.length') |
| 16464 @DocsEditable | 16960 @DocsEditable |
| 16465 int get length => JS("int", "#.length", this); | 16961 int get length => JS("int", "#.length", this); |
| 16466 | 16962 |
| 16467 Plugin operator[](int index) { | 16963 Plugin operator[](int index) { |
| 16468 if (JS("bool", "# >>> 0 !== # || # >= #", index, | 16964 if (JS("bool", "# >>> 0 !== # || # >= #", index, |
| 16469 index, index, length)) | 16965 index, index, length)) |
| 16470 throw new RangeError.range(index, 0, length); | 16966 throw new RangeError.range(index, 0, length); |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 16541 @annotation_Returns_SerializedScriptValue | 17037 @annotation_Returns_SerializedScriptValue |
| 16542 final dynamic _get_state; | 17038 final dynamic _get_state; |
| 16543 } | 17039 } |
| 16544 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17040 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16545 // for details. All rights reserved. Use of this source code is governed by a | 17041 // for details. All rights reserved. Use of this source code is governed by a |
| 16546 // BSD-style license that can be found in the LICENSE file. | 17042 // BSD-style license that can be found in the LICENSE file. |
| 16547 | 17043 |
| 16548 // WARNING: Do not edit - generated code. | 17044 // WARNING: Do not edit - generated code. |
| 16549 | 17045 |
| 16550 | 17046 |
| 17047 @DomName('PositionCallback') | |
| 17048 @Unstable | |
| 16551 typedef void _PositionCallback(Geoposition position); | 17049 typedef void _PositionCallback(Geoposition position); |
| 16552 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17050 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16553 // for details. All rights reserved. Use of this source code is governed by a | 17051 // for details. All rights reserved. Use of this source code is governed by a |
| 16554 // BSD-style license that can be found in the LICENSE file. | 17052 // BSD-style license that can be found in the LICENSE file. |
| 16555 | 17053 |
| 16556 | 17054 |
| 16557 @DocsEditable | 17055 @DocsEditable |
| 16558 @DomName('PositionError') | 17056 @DomName('PositionError') |
| 17057 @Unstable | |
| 16559 class PositionError native "PositionError" { | 17058 class PositionError native "PositionError" { |
| 16560 | 17059 |
| 16561 @DomName('PositionError.PERMISSION_DENIED') | 17060 @DomName('PositionError.PERMISSION_DENIED') |
| 16562 @DocsEditable | 17061 @DocsEditable |
| 16563 static const int PERMISSION_DENIED = 1; | 17062 static const int PERMISSION_DENIED = 1; |
| 16564 | 17063 |
| 16565 @DomName('PositionError.POSITION_UNAVAILABLE') | 17064 @DomName('PositionError.POSITION_UNAVAILABLE') |
| 16566 @DocsEditable | 17065 @DocsEditable |
| 16567 static const int POSITION_UNAVAILABLE = 2; | 17066 static const int POSITION_UNAVAILABLE = 2; |
| 16568 | 17067 |
| 16569 @DomName('PositionError.TIMEOUT') | 17068 @DomName('PositionError.TIMEOUT') |
| 16570 @DocsEditable | 17069 @DocsEditable |
| 16571 static const int TIMEOUT = 3; | 17070 static const int TIMEOUT = 3; |
| 16572 | 17071 |
| 16573 @DomName('PositionError.code') | 17072 @DomName('PositionError.code') |
| 16574 @DocsEditable | 17073 @DocsEditable |
| 16575 final int code; | 17074 final int code; |
| 16576 | 17075 |
| 16577 @DomName('PositionError.message') | 17076 @DomName('PositionError.message') |
| 16578 @DocsEditable | 17077 @DocsEditable |
| 16579 final String message; | 17078 final String message; |
| 16580 } | 17079 } |
| 16581 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17080 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16582 // for details. All rights reserved. Use of this source code is governed by a | 17081 // for details. All rights reserved. Use of this source code is governed by a |
| 16583 // BSD-style license that can be found in the LICENSE file. | 17082 // BSD-style license that can be found in the LICENSE file. |
| 16584 | 17083 |
| 16585 // WARNING: Do not edit - generated code. | 17084 // WARNING: Do not edit - generated code. |
| 16586 | 17085 |
| 16587 | 17086 |
| 17087 @DomName('PositionErrorCallback') | |
| 17088 @Unstable | |
| 16588 typedef void _PositionErrorCallback(PositionError error); | 17089 typedef void _PositionErrorCallback(PositionError error); |
| 16589 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17090 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16590 // for details. All rights reserved. Use of this source code is governed by a | 17091 // for details. All rights reserved. Use of this source code is governed by a |
| 16591 // BSD-style license that can be found in the LICENSE file. | 17092 // BSD-style license that can be found in the LICENSE file. |
| 16592 | 17093 |
| 16593 | 17094 |
| 16594 @DocsEditable | 17095 @DocsEditable |
| 16595 @DomName('HTMLPreElement') | 17096 @DomName('HTMLPreElement') |
| 16596 class PreElement extends Element native "HTMLPreElement" { | 17097 class PreElement extends Element native "HTMLPreElement" { |
| 16597 | 17098 |
| 16598 @DomName('HTMLPreElement.HTMLPreElement') | 17099 @DomName('HTMLPreElement.HTMLPreElement') |
| 16599 @DocsEditable | 17100 @DocsEditable |
| 16600 factory PreElement() => document.$dom_createElement("pre"); | 17101 factory PreElement() => document.$dom_createElement("pre"); |
| 16601 | 17102 |
| 16602 @DomName('HTMLPreElement.wrap') | 17103 @DomName('HTMLPreElement.wrap') |
| 16603 @DocsEditable | 17104 @DocsEditable |
| 17105 @deprecated // deprecated | |
| 16604 bool wrap; | 17106 bool wrap; |
| 16605 } | 17107 } |
| 16606 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17108 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16607 // for details. All rights reserved. Use of this source code is governed by a | 17109 // for details. All rights reserved. Use of this source code is governed by a |
| 16608 // BSD-style license that can be found in the LICENSE file. | 17110 // BSD-style license that can be found in the LICENSE file. |
| 16609 | 17111 |
| 16610 | 17112 |
| 16611 @DocsEditable | 17113 @DocsEditable |
| 16612 @DomName('ProcessingInstruction') | 17114 @DomName('ProcessingInstruction') |
| 17115 @Unstable | |
| 16613 class ProcessingInstruction extends Node native "ProcessingInstruction" { | 17116 class ProcessingInstruction extends Node native "ProcessingInstruction" { |
| 16614 | 17117 |
| 16615 @DomName('ProcessingInstruction.data') | 17118 @DomName('ProcessingInstruction.data') |
| 16616 @DocsEditable | 17119 @DocsEditable |
| 17120 @Experimental // non-standard | |
| 16617 String data; | 17121 String data; |
| 16618 | 17122 |
| 16619 @DomName('ProcessingInstruction.sheet') | 17123 @DomName('ProcessingInstruction.sheet') |
| 16620 @DocsEditable | 17124 @DocsEditable |
| 17125 @Experimental // non-standard | |
| 16621 final StyleSheet sheet; | 17126 final StyleSheet sheet; |
| 16622 | 17127 |
| 16623 @DomName('ProcessingInstruction.target') | 17128 @DomName('ProcessingInstruction.target') |
| 16624 @DocsEditable | 17129 @DocsEditable |
| 16625 final String target; | 17130 final String target; |
| 16626 } | 17131 } |
| 16627 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17132 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16628 // for details. All rights reserved. Use of this source code is governed by a | 17133 // for details. All rights reserved. Use of this source code is governed by a |
| 16629 // BSD-style license that can be found in the LICENSE file. | 17134 // BSD-style license that can be found in the LICENSE file. |
| 16630 | 17135 |
| 16631 | 17136 |
| 16632 @DocsEditable | 17137 @DocsEditable |
| 16633 @DomName('HTMLProgressElement') | 17138 @DomName('HTMLProgressElement') |
| 16634 @SupportedBrowser(SupportedBrowser.CHROME) | 17139 @SupportedBrowser(SupportedBrowser.CHROME) |
| 16635 @SupportedBrowser(SupportedBrowser.FIREFOX) | 17140 @SupportedBrowser(SupportedBrowser.FIREFOX) |
| 16636 @SupportedBrowser(SupportedBrowser.IE, '10') | 17141 @SupportedBrowser(SupportedBrowser.IE, '10') |
| 16637 @SupportedBrowser(SupportedBrowser.SAFARI) | 17142 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 16638 class ProgressElement extends Element native "HTMLProgressElement" { | 17143 class ProgressElement extends Element native "HTMLProgressElement" { |
| 16639 | 17144 |
| 16640 @DomName('HTMLProgressElement.HTMLProgressElement') | 17145 @DomName('HTMLProgressElement.HTMLProgressElement') |
| 16641 @DocsEditable | 17146 @DocsEditable |
| 16642 factory ProgressElement() => document.$dom_createElement("progress"); | 17147 factory ProgressElement() => document.$dom_createElement("progress"); |
| 16643 | 17148 |
| 16644 /// Checks if this type is supported on the current platform. | 17149 /// Checks if this type is supported on the current platform. |
| 16645 static bool get supported => Element.isTagSupported('progress'); | 17150 static bool get supported => Element.isTagSupported('progress'); |
| 16646 | 17151 |
| 16647 @DomName('HTMLProgressElement.labels') | 17152 @DomName('HTMLProgressElement.labels') |
| 16648 @DocsEditable | 17153 @DocsEditable |
| 17154 @Unstable | |
| 16649 @Returns('NodeList') | 17155 @Returns('NodeList') |
| 16650 @Creates('NodeList') | 17156 @Creates('NodeList') |
| 16651 final List<Node> labels; | 17157 final List<Node> labels; |
| 16652 | 17158 |
| 16653 @DomName('HTMLProgressElement.max') | 17159 @DomName('HTMLProgressElement.max') |
| 16654 @DocsEditable | 17160 @DocsEditable |
| 16655 num max; | 17161 num max; |
| 16656 | 17162 |
| 16657 @DomName('HTMLProgressElement.position') | 17163 @DomName('HTMLProgressElement.position') |
| 16658 @DocsEditable | 17164 @DocsEditable |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 16696 @DocsEditable | 17202 @DocsEditable |
| 16697 String cite; | 17203 String cite; |
| 16698 } | 17204 } |
| 16699 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17205 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16700 // for details. All rights reserved. Use of this source code is governed by a | 17206 // for details. All rights reserved. Use of this source code is governed by a |
| 16701 // BSD-style license that can be found in the LICENSE file. | 17207 // BSD-style license that can be found in the LICENSE file. |
| 16702 | 17208 |
| 16703 // WARNING: Do not edit - generated code. | 17209 // WARNING: Do not edit - generated code. |
| 16704 | 17210 |
| 16705 | 17211 |
| 17212 @DomName('RTCErrorCallback') | |
| 17213 // http://dev.w3.org/2011/webrtc/editor/webrtc.html#rtcerror | |
| 17214 @Experimental | |
| 16706 typedef void _RtcErrorCallback(String errorInformation); | 17215 typedef void _RtcErrorCallback(String errorInformation); |
| 16707 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17216 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16708 // for details. All rights reserved. Use of this source code is governed by a | 17217 // for details. All rights reserved. Use of this source code is governed by a |
| 16709 // BSD-style license that can be found in the LICENSE file. | 17218 // BSD-style license that can be found in the LICENSE file. |
| 16710 | 17219 |
| 16711 // WARNING: Do not edit - generated code. | 17220 // WARNING: Do not edit - generated code. |
| 16712 | 17221 |
| 16713 | 17222 |
| 17223 @DomName('RTCSessionDescriptionCallback') | |
| 17224 // http://dev.w3.org/2011/webrtc/editor/webrtc.html#idl-def-RTCSessionDescriptio n | |
| 17225 @Experimental | |
| 16714 typedef void _RtcSessionDescriptionCallback(RtcSessionDescription sdp); | 17226 typedef void _RtcSessionDescriptionCallback(RtcSessionDescription sdp); |
| 16715 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17227 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16716 // for details. All rights reserved. Use of this source code is governed by a | 17228 // for details. All rights reserved. Use of this source code is governed by a |
| 16717 // BSD-style license that can be found in the LICENSE file. | 17229 // BSD-style license that can be found in the LICENSE file. |
| 16718 | 17230 |
| 16719 // WARNING: Do not edit - generated code. | 17231 // WARNING: Do not edit - generated code. |
| 16720 | 17232 |
| 16721 | 17233 |
| 17234 @DomName('RTCStatsCallback') | |
| 17235 // http://dev.w3.org/2011/webrtc/editor/webrtc.html#idl-def-RTCStatsCallback | |
| 17236 @Experimental | |
| 16722 typedef void RtcStatsCallback(RtcStatsResponse response); | 17237 typedef void RtcStatsCallback(RtcStatsResponse response); |
| 16723 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17238 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16724 // for details. All rights reserved. Use of this source code is governed by a | 17239 // for details. All rights reserved. Use of this source code is governed by a |
| 16725 // BSD-style license that can be found in the LICENSE file. | 17240 // BSD-style license that can be found in the LICENSE file. |
| 16726 | 17241 |
| 16727 // WARNING: Do not edit - generated code. | 17242 // WARNING: Do not edit - generated code. |
| 16728 | 17243 |
| 16729 | 17244 |
| 16730 @DomName('Range') | 17245 @DomName('Range') |
| 17246 @Unstable | |
| 16731 class Range native "Range" { | 17247 class Range native "Range" { |
| 16732 factory Range() => document.$dom_createRange(); | 17248 factory Range() => document.$dom_createRange(); |
| 16733 | 17249 |
| 16734 | 17250 |
| 16735 @DomName('Range.END_TO_END') | 17251 @DomName('Range.END_TO_END') |
| 16736 @DocsEditable | 17252 @DocsEditable |
| 16737 static const int END_TO_END = 2; | 17253 static const int END_TO_END = 2; |
| 16738 | 17254 |
| 16739 @DomName('Range.END_TO_START') | 17255 @DomName('Range.END_TO_START') |
| 16740 @DocsEditable | 17256 @DocsEditable |
| 16741 static const int END_TO_START = 3; | 17257 static const int END_TO_START = 3; |
| 16742 | 17258 |
| 16743 @DomName('Range.NODE_AFTER') | 17259 @DomName('Range.NODE_AFTER') |
| 16744 @DocsEditable | 17260 @DocsEditable |
| 17261 @Experimental // nonstandard | |
| 16745 static const int NODE_AFTER = 1; | 17262 static const int NODE_AFTER = 1; |
| 16746 | 17263 |
| 16747 @DomName('Range.NODE_BEFORE') | 17264 @DomName('Range.NODE_BEFORE') |
| 16748 @DocsEditable | 17265 @DocsEditable |
| 17266 @Experimental // nonstandard | |
| 16749 static const int NODE_BEFORE = 0; | 17267 static const int NODE_BEFORE = 0; |
| 16750 | 17268 |
| 16751 @DomName('Range.NODE_BEFORE_AND_AFTER') | 17269 @DomName('Range.NODE_BEFORE_AND_AFTER') |
| 16752 @DocsEditable | 17270 @DocsEditable |
| 17271 @Experimental // nonstandard | |
| 16753 static const int NODE_BEFORE_AND_AFTER = 2; | 17272 static const int NODE_BEFORE_AND_AFTER = 2; |
| 16754 | 17273 |
| 16755 @DomName('Range.NODE_INSIDE') | 17274 @DomName('Range.NODE_INSIDE') |
| 16756 @DocsEditable | 17275 @DocsEditable |
| 17276 @Experimental // nonstandard | |
| 16757 static const int NODE_INSIDE = 3; | 17277 static const int NODE_INSIDE = 3; |
| 16758 | 17278 |
| 16759 @DomName('Range.START_TO_END') | 17279 @DomName('Range.START_TO_END') |
| 16760 @DocsEditable | 17280 @DocsEditable |
| 16761 static const int START_TO_END = 1; | 17281 static const int START_TO_END = 1; |
| 16762 | 17282 |
| 16763 @DomName('Range.START_TO_START') | 17283 @DomName('Range.START_TO_START') |
| 16764 @DocsEditable | 17284 @DocsEditable |
| 16765 static const int START_TO_START = 0; | 17285 static const int START_TO_START = 0; |
| 16766 | 17286 |
| (...skipping 28 matching lines...) Expand all Loading... | |
| 16795 @DomName('Range.cloneRange') | 17315 @DomName('Range.cloneRange') |
| 16796 @DocsEditable | 17316 @DocsEditable |
| 16797 Range cloneRange() native; | 17317 Range cloneRange() native; |
| 16798 | 17318 |
| 16799 @DomName('Range.collapse') | 17319 @DomName('Range.collapse') |
| 16800 @DocsEditable | 17320 @DocsEditable |
| 16801 void collapse(bool toStart) native; | 17321 void collapse(bool toStart) native; |
| 16802 | 17322 |
| 16803 @DomName('Range.compareNode') | 17323 @DomName('Range.compareNode') |
| 16804 @DocsEditable | 17324 @DocsEditable |
| 17325 @deprecated // deprecated | |
| 16805 int compareNode(Node refNode) native; | 17326 int compareNode(Node refNode) native; |
| 16806 | 17327 |
| 16807 @DomName('Range.comparePoint') | 17328 @DomName('Range.comparePoint') |
| 16808 @DocsEditable | 17329 @DocsEditable |
| 16809 int comparePoint(Node refNode, int offset) native; | 17330 int comparePoint(Node refNode, int offset) native; |
| 16810 | 17331 |
| 16811 @DomName('Range.createContextualFragment') | 17332 @DomName('Range.createContextualFragment') |
| 16812 @DocsEditable | 17333 @DocsEditable |
| 16813 DocumentFragment createContextualFragment(String html) native; | 17334 DocumentFragment createContextualFragment(String html) native; |
| 16814 | 17335 |
| 16815 @DomName('Range.deleteContents') | 17336 @DomName('Range.deleteContents') |
| 16816 @DocsEditable | 17337 @DocsEditable |
| 16817 void deleteContents() native; | 17338 void deleteContents() native; |
| 16818 | 17339 |
| 16819 @DomName('Range.detach') | 17340 @DomName('Range.detach') |
| 16820 @DocsEditable | 17341 @DocsEditable |
| 16821 void detach() native; | 17342 void detach() native; |
| 16822 | 17343 |
| 16823 @DomName('Range.expand') | 17344 @DomName('Range.expand') |
| 16824 @DocsEditable | 17345 @DocsEditable |
| 17346 @Experimental // non-standard | |
| 16825 void expand(String unit) native; | 17347 void expand(String unit) native; |
| 16826 | 17348 |
| 16827 @DomName('Range.extractContents') | 17349 @DomName('Range.extractContents') |
| 16828 @DocsEditable | 17350 @DocsEditable |
| 16829 DocumentFragment extractContents() native; | 17351 DocumentFragment extractContents() native; |
| 16830 | 17352 |
| 16831 @DomName('Range.getBoundingClientRect') | 17353 @DomName('Range.getBoundingClientRect') |
| 16832 @DocsEditable | 17354 @DocsEditable |
| 16833 Rect getBoundingClientRect() native; | 17355 Rect getBoundingClientRect() native; |
| 16834 | 17356 |
| 16835 @DomName('Range.getClientRects') | 17357 @DomName('Range.getClientRects') |
| 16836 @DocsEditable | 17358 @DocsEditable |
| 16837 @Returns('_ClientRectList') | 17359 @Returns('_ClientRectList') |
| 16838 @Creates('_ClientRectList') | 17360 @Creates('_ClientRectList') |
| 16839 List<Rect> getClientRects() native; | 17361 List<Rect> getClientRects() native; |
| 16840 | 17362 |
| 16841 @DomName('Range.insertNode') | 17363 @DomName('Range.insertNode') |
| 16842 @DocsEditable | 17364 @DocsEditable |
| 16843 void insertNode(Node newNode) native; | 17365 void insertNode(Node newNode) native; |
| 16844 | 17366 |
| 16845 @DomName('Range.intersectsNode') | 17367 @DomName('Range.intersectsNode') |
| 16846 @DocsEditable | 17368 @DocsEditable |
| 17369 @deprecated // deprecated | |
| 16847 bool intersectsNode(Node refNode) native; | 17370 bool intersectsNode(Node refNode) native; |
| 16848 | 17371 |
| 16849 @DomName('Range.isPointInRange') | 17372 @DomName('Range.isPointInRange') |
| 16850 @DocsEditable | 17373 @DocsEditable |
| 16851 bool isPointInRange(Node refNode, int offset) native; | 17374 bool isPointInRange(Node refNode, int offset) native; |
| 16852 | 17375 |
| 16853 @DomName('Range.selectNode') | 17376 @DomName('Range.selectNode') |
| 16854 @DocsEditable | 17377 @DocsEditable |
| 16855 void selectNode(Node refNode) native; | 17378 void selectNode(Node refNode) native; |
| 16856 | 17379 |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 16901 static bool get supportsCreateContextualFragment => | 17424 static bool get supportsCreateContextualFragment => |
| 16902 JS('bool', '("createContextualFragment" in window.Range.prototype)'); | 17425 JS('bool', '("createContextualFragment" in window.Range.prototype)'); |
| 16903 } | 17426 } |
| 16904 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17427 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16905 // for details. All rights reserved. Use of this source code is governed by a | 17428 // for details. All rights reserved. Use of this source code is governed by a |
| 16906 // BSD-style license that can be found in the LICENSE file. | 17429 // BSD-style license that can be found in the LICENSE file. |
| 16907 | 17430 |
| 16908 | 17431 |
| 16909 @DocsEditable | 17432 @DocsEditable |
| 16910 @DomName('RangeException') | 17433 @DomName('RangeException') |
| 17434 // http://dom.spec.whatwg.org/#rangeexception | |
| 17435 @deprecated // deprecated | |
| 16911 class RangeException native "RangeException" { | 17436 class RangeException native "RangeException" { |
| 16912 | 17437 |
| 16913 @DomName('RangeException.BAD_BOUNDARYPOINTS_ERR') | 17438 @DomName('RangeException.BAD_BOUNDARYPOINTS_ERR') |
| 16914 @DocsEditable | 17439 @DocsEditable |
| 16915 static const int BAD_BOUNDARYPOINTS_ERR = 1; | 17440 static const int BAD_BOUNDARYPOINTS_ERR = 1; |
| 16916 | 17441 |
| 16917 @DomName('RangeException.INVALID_NODE_TYPE_ERR') | 17442 @DomName('RangeException.INVALID_NODE_TYPE_ERR') |
| 16918 @DocsEditable | 17443 @DocsEditable |
| 16919 static const int INVALID_NODE_TYPE_ERR = 2; | 17444 static const int INVALID_NODE_TYPE_ERR = 2; |
| 16920 | 17445 |
| (...skipping 13 matching lines...) Expand all Loading... | |
| 16934 @DocsEditable | 17459 @DocsEditable |
| 16935 String toString() native; | 17460 String toString() native; |
| 16936 } | 17461 } |
| 16937 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17462 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16938 // for details. All rights reserved. Use of this source code is governed by a | 17463 // for details. All rights reserved. Use of this source code is governed by a |
| 16939 // BSD-style license that can be found in the LICENSE file. | 17464 // BSD-style license that can be found in the LICENSE file. |
| 16940 | 17465 |
| 16941 // WARNING: Do not edit - generated code. | 17466 // WARNING: Do not edit - generated code. |
| 16942 | 17467 |
| 16943 | 17468 |
| 17469 @DomName('RequestAnimationFrameCallback') | |
| 16944 typedef void RequestAnimationFrameCallback(num highResTime); | 17470 typedef void RequestAnimationFrameCallback(num highResTime); |
| 16945 // 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 |
| 16946 // 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 |
| 16947 // BSD-style license that can be found in the LICENSE file. | 17473 // BSD-style license that can be found in the LICENSE file. |
| 16948 | 17474 |
| 16949 | 17475 |
| 16950 @DocsEditable | 17476 @DocsEditable |
| 16951 @DomName('RTCDataChannel') | 17477 @DomName('RTCDataChannel') |
| 17478 // http://dev.w3.org/2011/webrtc/editor/webrtc.html#idl-def-RTCDataChannel | |
| 17479 @Experimental | |
| 16952 class RtcDataChannel extends EventTarget native "RTCDataChannel" { | 17480 class RtcDataChannel extends EventTarget native "RTCDataChannel" { |
| 16953 | 17481 |
| 16954 @DomName('RTCDataChannel.closeEvent') | 17482 @DomName('RTCDataChannel.closeEvent') |
| 16955 @DocsEditable | 17483 @DocsEditable |
| 16956 static const EventStreamProvider<Event> closeEvent = const EventStreamProvider <Event>('close'); | 17484 static const EventStreamProvider<Event> closeEvent = const EventStreamProvider <Event>('close'); |
| 16957 | 17485 |
| 16958 @DomName('RTCDataChannel.errorEvent') | 17486 @DomName('RTCDataChannel.errorEvent') |
| 16959 @DocsEditable | 17487 @DocsEditable |
| 16960 static const EventStreamProvider<Event> errorEvent = const EventStreamProvider <Event>('error'); | 17488 static const EventStreamProvider<Event> errorEvent = const EventStreamProvider <Event>('error'); |
| 16961 | 17489 |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 17025 @DocsEditable | 17553 @DocsEditable |
| 17026 Stream<Event> get onOpen => openEvent.forTarget(this); | 17554 Stream<Event> get onOpen => openEvent.forTarget(this); |
| 17027 } | 17555 } |
| 17028 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17556 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17029 // for details. All rights reserved. Use of this source code is governed by a | 17557 // for details. All rights reserved. Use of this source code is governed by a |
| 17030 // BSD-style license that can be found in the LICENSE file. | 17558 // BSD-style license that can be found in the LICENSE file. |
| 17031 | 17559 |
| 17032 | 17560 |
| 17033 @DocsEditable | 17561 @DocsEditable |
| 17034 @DomName('RTCDataChannelEvent') | 17562 @DomName('RTCDataChannelEvent') |
| 17563 // http://dev.w3.org/2011/webrtc/editor/webrtc.html#rtcdatachannelevent | |
| 17564 @Experimental | |
| 17035 class RtcDataChannelEvent extends Event native "RTCDataChannelEvent" { | 17565 class RtcDataChannelEvent extends Event native "RTCDataChannelEvent" { |
| 17036 | 17566 |
| 17037 @DomName('RTCDataChannelEvent.channel') | 17567 @DomName('RTCDataChannelEvent.channel') |
| 17038 @DocsEditable | 17568 @DocsEditable |
| 17039 final RtcDataChannel channel; | 17569 final RtcDataChannel channel; |
| 17040 } | 17570 } |
| 17041 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17571 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17042 // for details. All rights reserved. Use of this source code is governed by a | 17572 // for details. All rights reserved. Use of this source code is governed by a |
| 17043 // BSD-style license that can be found in the LICENSE file. | 17573 // BSD-style license that can be found in the LICENSE file. |
| 17044 | 17574 |
| 17045 | 17575 |
| 17046 @DocsEditable | 17576 @DocsEditable |
| 17047 @DomName('RTCDTMFSender') | 17577 @DomName('RTCDTMFSender') |
| 17578 // http://dev.w3.org/2011/webrtc/editor/webrtc.html#idl-def-RTCDTMFSender | |
| 17579 @Experimental | |
| 17048 class RtcDtmfSender extends EventTarget native "RTCDTMFSender" { | 17580 class RtcDtmfSender extends EventTarget native "RTCDTMFSender" { |
| 17049 | 17581 |
| 17050 @DomName('RTCDTMFSender.tonechangeEvent') | 17582 @DomName('RTCDTMFSender.tonechangeEvent') |
| 17051 @DocsEditable | 17583 @DocsEditable |
| 17052 static const EventStreamProvider<RtcDtmfToneChangeEvent> toneChangeEvent = con st EventStreamProvider<RtcDtmfToneChangeEvent>('tonechange'); | 17584 static const EventStreamProvider<RtcDtmfToneChangeEvent> toneChangeEvent = con st EventStreamProvider<RtcDtmfToneChangeEvent>('tonechange'); |
| 17053 | 17585 |
| 17054 @JSName('canInsertDTMF') | 17586 @JSName('canInsertDTMF') |
| 17055 @DomName('RTCDTMFSender.canInsertDTMF') | 17587 @DomName('RTCDTMFSender.canInsertDTMF') |
| 17056 @DocsEditable | 17588 @DocsEditable |
| 17057 final bool canInsertDtmf; | 17589 final bool canInsertDtmf; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 17095 @DocsEditable | 17627 @DocsEditable |
| 17096 Stream<RtcDtmfToneChangeEvent> get onToneChange => toneChangeEvent.forTarget(t his); | 17628 Stream<RtcDtmfToneChangeEvent> get onToneChange => toneChangeEvent.forTarget(t his); |
| 17097 } | 17629 } |
| 17098 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17630 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17099 // for details. All rights reserved. Use of this source code is governed by a | 17631 // for details. All rights reserved. Use of this source code is governed by a |
| 17100 // BSD-style license that can be found in the LICENSE file. | 17632 // BSD-style license that can be found in the LICENSE file. |
| 17101 | 17633 |
| 17102 | 17634 |
| 17103 @DocsEditable | 17635 @DocsEditable |
| 17104 @DomName('RTCDTMFToneChangeEvent') | 17636 @DomName('RTCDTMFToneChangeEvent') |
| 17637 // http://dev.w3.org/2011/webrtc/editor/webrtc.html#idl-def-RTCDTMFToneChangeEve nt | |
| 17638 @Experimental | |
| 17105 class RtcDtmfToneChangeEvent extends Event native "RTCDTMFToneChangeEvent" { | 17639 class RtcDtmfToneChangeEvent extends Event native "RTCDTMFToneChangeEvent" { |
| 17106 | 17640 |
| 17107 @DomName('RTCDTMFToneChangeEvent.tone') | 17641 @DomName('RTCDTMFToneChangeEvent.tone') |
| 17108 @DocsEditable | 17642 @DocsEditable |
| 17109 final String tone; | 17643 final String tone; |
| 17110 } | 17644 } |
| 17111 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 17645 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 17112 // for details. All rights reserved. Use of this source code is governed by a | 17646 // for details. All rights reserved. Use of this source code is governed by a |
| 17113 // BSD-style license that can be found in the LICENSE file. | 17647 // BSD-style license that can be found in the LICENSE file. |
| 17114 | 17648 |
| 17115 | 17649 |
| 17116 @DomName('RTCIceCandidate') | 17650 @DomName('RTCIceCandidate') |
| 17117 @SupportedBrowser(SupportedBrowser.CHROME) | 17651 @SupportedBrowser(SupportedBrowser.CHROME) |
| 17118 @Experimental | 17652 @Experimental |
| 17653 // http://dev.w3.org/2011/webrtc/editor/webrtc.html#idl-def-RTCIceCandidate | |
| 17119 class RtcIceCandidate native "RTCIceCandidate" { | 17654 class RtcIceCandidate native "RTCIceCandidate" { |
| 17120 factory RtcIceCandidate(Map dictionary) { | 17655 factory RtcIceCandidate(Map dictionary) { |
| 17121 return JS('RtcIceCandidate', 'new RTCIceCandidate(#)', | 17656 return JS('RtcIceCandidate', 'new RTCIceCandidate(#)', |
| 17122 convertDartToNative_SerializedScriptValue(dictionary)); | 17657 convertDartToNative_SerializedScriptValue(dictionary)); |
| 17123 } | 17658 } |
| 17124 | 17659 |
| 17125 @DomName('RTCIceCandidate.candidate') | 17660 @DomName('RTCIceCandidate.candidate') |
| 17126 @DocsEditable | 17661 @DocsEditable |
| 17127 final String candidate; | 17662 final String candidate; |
| 17128 | 17663 |
| 17129 @DomName('RTCIceCandidate.sdpMLineIndex') | 17664 @DomName('RTCIceCandidate.sdpMLineIndex') |
| 17130 @DocsEditable | 17665 @DocsEditable |
| 17131 final int sdpMLineIndex; | 17666 final int sdpMLineIndex; |
| 17132 | 17667 |
| 17133 @DomName('RTCIceCandidate.sdpMid') | 17668 @DomName('RTCIceCandidate.sdpMid') |
| 17134 @DocsEditable | 17669 @DocsEditable |
| 17135 final String sdpMid; | 17670 final String sdpMid; |
| 17136 | 17671 |
| 17137 } | 17672 } |
| 17138 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17673 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17139 // for details. All rights reserved. Use of this source code is governed by a | 17674 // for details. All rights reserved. Use of this source code is governed by a |
| 17140 // BSD-style license that can be found in the LICENSE file. | 17675 // BSD-style license that can be found in the LICENSE file. |
| 17141 | 17676 |
| 17142 | 17677 |
| 17143 @DocsEditable | 17678 @DocsEditable |
| 17144 @DomName('RTCIceCandidateEvent') | 17679 @DomName('RTCIceCandidateEvent') |
| 17680 // http://dev.w3.org/2011/webrtc/editor/webrtc.html#rtcicecandidate-type | |
| 17681 @Experimental | |
| 17145 class RtcIceCandidateEvent extends Event native "RTCIceCandidateEvent" { | 17682 class RtcIceCandidateEvent extends Event native "RTCIceCandidateEvent" { |
| 17146 | 17683 |
| 17147 @DomName('RTCIceCandidateEvent.candidate') | 17684 @DomName('RTCIceCandidateEvent.candidate') |
| 17148 @DocsEditable | 17685 @DocsEditable |
| 17149 final RtcIceCandidate candidate; | 17686 final RtcIceCandidate candidate; |
| 17150 } | 17687 } |
| 17151 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 17688 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 17152 // for details. All rights reserved. Use of this source code is governed by a | 17689 // for details. All rights reserved. Use of this source code is governed by a |
| 17153 // BSD-style license that can be found in the LICENSE file. | 17690 // BSD-style license that can be found in the LICENSE file. |
| 17154 | 17691 |
| 17155 | 17692 |
| 17156 @DomName('RTCPeerConnection') | 17693 @DomName('RTCPeerConnection') |
| 17157 @SupportedBrowser(SupportedBrowser.CHROME) | 17694 @SupportedBrowser(SupportedBrowser.CHROME) |
| 17158 @Experimental | 17695 @Experimental |
| 17696 // http://dev.w3.org/2011/webrtc/editor/webrtc.html#idl-def-RTCPeerConnection | |
| 17159 class RtcPeerConnection extends EventTarget native "RTCPeerConnection" { | 17697 class RtcPeerConnection extends EventTarget native "RTCPeerConnection" { |
| 17160 factory RtcPeerConnection(Map rtcIceServers, [Map mediaConstraints]) { | 17698 factory RtcPeerConnection(Map rtcIceServers, [Map mediaConstraints]) { |
| 17161 var constructorName = JS('RtcPeerConnection', 'window[#]', | 17699 var constructorName = JS('RtcPeerConnection', 'window[#]', |
| 17162 '${Device.propertyPrefix}RTCPeerConnection'); | 17700 '${Device.propertyPrefix}RTCPeerConnection'); |
| 17163 if (mediaConstraints != null) { | 17701 if (mediaConstraints != null) { |
| 17164 return JS('RtcPeerConnection', 'new #(#,#)', constructorName, | 17702 return JS('RtcPeerConnection', 'new #(#,#)', constructorName, |
| 17165 convertDartToNative_SerializedScriptValue(rtcIceServers), | 17703 convertDartToNative_SerializedScriptValue(rtcIceServers), |
| 17166 convertDartToNative_SerializedScriptValue(mediaConstraints)); | 17704 convertDartToNative_SerializedScriptValue(mediaConstraints)); |
| 17167 } else { | 17705 } else { |
| 17168 return JS('RtcPeerConnection', 'new #(#)', constructorName, | 17706 return JS('RtcPeerConnection', 'new #(#)', constructorName, |
| (...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 17468 | 18006 |
| 17469 | 18007 |
| 17470 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 18008 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 17471 // for details. All rights reserved. Use of this source code is governed by a | 18009 // for details. All rights reserved. Use of this source code is governed by a |
| 17472 // BSD-style license that can be found in the LICENSE file. | 18010 // BSD-style license that can be found in the LICENSE file. |
| 17473 | 18011 |
| 17474 | 18012 |
| 17475 @DomName('RTCSessionDescription') | 18013 @DomName('RTCSessionDescription') |
| 17476 @SupportedBrowser(SupportedBrowser.CHROME) | 18014 @SupportedBrowser(SupportedBrowser.CHROME) |
| 17477 @Experimental | 18015 @Experimental |
| 18016 // http://dev.w3.org/2011/webrtc/editor/webrtc.html#idl-def-RTCSessionDescriptio n | |
| 17478 class RtcSessionDescription native "RTCSessionDescription" { | 18017 class RtcSessionDescription native "RTCSessionDescription" { |
| 17479 factory RtcSessionDescription(Map dictionary) { | 18018 factory RtcSessionDescription(Map dictionary) { |
| 17480 return JS('RtcSessionDescription', 'new RTCSessionDescription(#)', | 18019 return JS('RtcSessionDescription', 'new RTCSessionDescription(#)', |
| 17481 convertDartToNative_SerializedScriptValue(dictionary)); | 18020 convertDartToNative_SerializedScriptValue(dictionary)); |
| 17482 } | 18021 } |
| 17483 | 18022 |
| 17484 @DomName('RTCSessionDescription.sdp') | 18023 @DomName('RTCSessionDescription.sdp') |
| 17485 @DocsEditable | 18024 @DocsEditable |
| 17486 String sdp; | 18025 String sdp; |
| 17487 | 18026 |
| 17488 @DomName('RTCSessionDescription.type') | 18027 @DomName('RTCSessionDescription.type') |
| 17489 @DocsEditable | 18028 @DocsEditable |
| 17490 String type; | 18029 String type; |
| 17491 | 18030 |
| 17492 } | 18031 } |
| 17493 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18032 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17494 // for details. All rights reserved. Use of this source code is governed by a | 18033 // for details. All rights reserved. Use of this source code is governed by a |
| 17495 // BSD-style license that can be found in the LICENSE file. | 18034 // BSD-style license that can be found in the LICENSE file. |
| 17496 | 18035 |
| 17497 | 18036 |
| 17498 @DocsEditable | 18037 @DocsEditable |
| 17499 @DomName('RTCStatsReport') | 18038 @DomName('RTCStatsReport') |
| 18039 // http://dev.w3.org/2011/webrtc/editor/webrtc.html#idl-def-RTCStatsReport | |
| 18040 @Experimental | |
| 17500 class RtcStatsReport native "RTCStatsReport" { | 18041 class RtcStatsReport native "RTCStatsReport" { |
| 17501 | 18042 |
| 17502 @DomName('RTCStatsReport.id') | 18043 @DomName('RTCStatsReport.id') |
| 17503 @DocsEditable | 18044 @DocsEditable |
| 17504 final String id; | 18045 final String id; |
| 17505 | 18046 |
| 17506 @DomName('RTCStatsReport.local') | 18047 @DomName('RTCStatsReport.local') |
| 17507 @DocsEditable | 18048 @DocsEditable |
| 17508 final RtcStatsReport local; | 18049 final RtcStatsReport local; |
| 17509 | 18050 |
| (...skipping 19 matching lines...) Expand all Loading... | |
| 17529 @DocsEditable | 18070 @DocsEditable |
| 17530 String stat(String name) native; | 18071 String stat(String name) native; |
| 17531 } | 18072 } |
| 17532 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18073 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17533 // for details. All rights reserved. Use of this source code is governed by a | 18074 // for details. All rights reserved. Use of this source code is governed by a |
| 17534 // BSD-style license that can be found in the LICENSE file. | 18075 // BSD-style license that can be found in the LICENSE file. |
| 17535 | 18076 |
| 17536 | 18077 |
| 17537 @DocsEditable | 18078 @DocsEditable |
| 17538 @DomName('RTCStatsResponse') | 18079 @DomName('RTCStatsResponse') |
| 18080 // http://dev.w3.org/2011/webrtc/editor/webrtc.html#widl-RTCStatsReport-RTCStats -getter-DOMString-id | |
| 18081 @Experimental | |
| 17539 class RtcStatsResponse native "RTCStatsResponse" { | 18082 class RtcStatsResponse native "RTCStatsResponse" { |
| 17540 | 18083 |
| 17541 @DomName('RTCStatsResponse.namedItem') | 18084 @DomName('RTCStatsResponse.namedItem') |
| 17542 @DocsEditable | 18085 @DocsEditable |
| 17543 RtcStatsReport namedItem(String name) native; | 18086 RtcStatsReport namedItem(String name) native; |
| 17544 | 18087 |
| 17545 @DomName('RTCStatsResponse.result') | 18088 @DomName('RTCStatsResponse.result') |
| 17546 @DocsEditable | 18089 @DocsEditable |
| 17547 List<RtcStatsReport> result() native; | 18090 List<RtcStatsReport> result() native; |
| 17548 } | 18091 } |
| (...skipping 14 matching lines...) Expand all Loading... | |
| 17563 $dom_availHeight); | 18106 $dom_availHeight); |
| 17564 | 18107 |
| 17565 @JSName('availHeight') | 18108 @JSName('availHeight') |
| 17566 @DomName('Screen.availHeight') | 18109 @DomName('Screen.availHeight') |
| 17567 @DocsEditable | 18110 @DocsEditable |
| 17568 final int $dom_availHeight; | 18111 final int $dom_availHeight; |
| 17569 | 18112 |
| 17570 @JSName('availLeft') | 18113 @JSName('availLeft') |
| 17571 @DomName('Screen.availLeft') | 18114 @DomName('Screen.availLeft') |
| 17572 @DocsEditable | 18115 @DocsEditable |
| 18116 @Experimental // nonstandard | |
| 17573 final int $dom_availLeft; | 18117 final int $dom_availLeft; |
| 17574 | 18118 |
| 17575 @JSName('availTop') | 18119 @JSName('availTop') |
| 17576 @DomName('Screen.availTop') | 18120 @DomName('Screen.availTop') |
| 17577 @DocsEditable | 18121 @DocsEditable |
| 18122 @Experimental // nonstandard | |
| 17578 final int $dom_availTop; | 18123 final int $dom_availTop; |
| 17579 | 18124 |
| 17580 @JSName('availWidth') | 18125 @JSName('availWidth') |
| 17581 @DomName('Screen.availWidth') | 18126 @DomName('Screen.availWidth') |
| 17582 @DocsEditable | 18127 @DocsEditable |
| 17583 final int $dom_availWidth; | 18128 final int $dom_availWidth; |
| 17584 | 18129 |
| 17585 @DomName('Screen.colorDepth') | 18130 @DomName('Screen.colorDepth') |
| 17586 @DocsEditable | 18131 @DocsEditable |
| 17587 final int colorDepth; | 18132 final int colorDepth; |
| (...skipping 26 matching lines...) Expand all Loading... | |
| 17614 @DomName('HTMLScriptElement.async') | 18159 @DomName('HTMLScriptElement.async') |
| 17615 @DocsEditable | 18160 @DocsEditable |
| 17616 bool async; | 18161 bool async; |
| 17617 | 18162 |
| 17618 @DomName('HTMLScriptElement.charset') | 18163 @DomName('HTMLScriptElement.charset') |
| 17619 @DocsEditable | 18164 @DocsEditable |
| 17620 String charset; | 18165 String charset; |
| 17621 | 18166 |
| 17622 @DomName('HTMLScriptElement.crossOrigin') | 18167 @DomName('HTMLScriptElement.crossOrigin') |
| 17623 @DocsEditable | 18168 @DocsEditable |
| 18169 // http://www.whatwg.org/specs/web-apps/current-work/multipage/scripting-1.htm l#attr-script-crossorigin | |
| 18170 @Experimental | |
| 17624 String crossOrigin; | 18171 String crossOrigin; |
| 17625 | 18172 |
| 17626 @DomName('HTMLScriptElement.defer') | 18173 @DomName('HTMLScriptElement.defer') |
| 17627 @DocsEditable | 18174 @DocsEditable |
| 17628 bool defer; | 18175 bool defer; |
| 17629 | 18176 |
| 17630 @DomName('HTMLScriptElement.event') | 18177 @DomName('HTMLScriptElement.event') |
| 17631 @DocsEditable | 18178 @DocsEditable |
| 18179 // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#H TMLScriptElement-partial | |
| 18180 @deprecated // deprecated | |
| 17632 String event; | 18181 String event; |
| 17633 | 18182 |
| 17634 @DomName('HTMLScriptElement.htmlFor') | 18183 @DomName('HTMLScriptElement.htmlFor') |
| 17635 @DocsEditable | 18184 @DocsEditable |
| 18185 // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#H TMLScriptElement-partial | |
| 18186 @deprecated // deprecated | |
| 17636 String htmlFor; | 18187 String htmlFor; |
| 17637 | 18188 |
| 17638 @DomName('HTMLScriptElement.nonce') | 18189 @DomName('HTMLScriptElement.nonce') |
| 17639 @DocsEditable | 18190 @DocsEditable |
| 18191 // https://dvcs.w3.org/hg/content-security-policy/raw-file/tip/csp-specificati on.dev.html#interaction-with-the-script-src-directive | |
| 18192 @Experimental | |
| 17640 String nonce; | 18193 String nonce; |
| 17641 | 18194 |
| 17642 @DomName('HTMLScriptElement.src') | 18195 @DomName('HTMLScriptElement.src') |
| 17643 @DocsEditable | 18196 @DocsEditable |
| 17644 String src; | 18197 String src; |
| 17645 | 18198 |
| 17646 @DomName('HTMLScriptElement.type') | 18199 @DomName('HTMLScriptElement.type') |
| 17647 @DocsEditable | 18200 @DocsEditable |
| 17648 String type; | 18201 String type; |
| 17649 } | 18202 } |
| 17650 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18203 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17651 // for details. All rights reserved. Use of this source code is governed by a | 18204 // for details. All rights reserved. Use of this source code is governed by a |
| 17652 // BSD-style license that can be found in the LICENSE file. | 18205 // BSD-style license that can be found in the LICENSE file. |
| 17653 | 18206 |
| 17654 | 18207 |
| 17655 @DocsEditable | 18208 @DocsEditable |
| 17656 @DomName('ScriptProfile') | 18209 @DomName('ScriptProfile') |
| 18210 @deprecated // nonstandard | |
| 17657 class ScriptProfile native "ScriptProfile" { | 18211 class ScriptProfile native "ScriptProfile" { |
| 17658 | 18212 |
| 17659 @DomName('ScriptProfile.head') | 18213 @DomName('ScriptProfile.head') |
| 17660 @DocsEditable | 18214 @DocsEditable |
| 17661 final ScriptProfileNode head; | 18215 final ScriptProfileNode head; |
| 17662 | 18216 |
| 17663 @DomName('ScriptProfile.idleTime') | 18217 @DomName('ScriptProfile.idleTime') |
| 17664 @DocsEditable | 18218 @DocsEditable |
| 17665 final num idleTime; | 18219 final num idleTime; |
| 17666 | 18220 |
| 17667 @DomName('ScriptProfile.title') | 18221 @DomName('ScriptProfile.title') |
| 17668 @DocsEditable | 18222 @DocsEditable |
| 17669 final String title; | 18223 final String title; |
| 17670 | 18224 |
| 17671 @DomName('ScriptProfile.uid') | 18225 @DomName('ScriptProfile.uid') |
| 17672 @DocsEditable | 18226 @DocsEditable |
| 17673 final int uid; | 18227 final int uid; |
| 17674 } | 18228 } |
| 17675 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18229 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17676 // for details. All rights reserved. Use of this source code is governed by a | 18230 // for details. All rights reserved. Use of this source code is governed by a |
| 17677 // BSD-style license that can be found in the LICENSE file. | 18231 // BSD-style license that can be found in the LICENSE file. |
| 17678 | 18232 |
| 17679 | 18233 |
| 17680 @DocsEditable | 18234 @DocsEditable |
| 17681 @DomName('ScriptProfileNode') | 18235 @DomName('ScriptProfileNode') |
| 18236 @deprecated // nonstandard | |
| 17682 class ScriptProfileNode native "ScriptProfileNode" { | 18237 class ScriptProfileNode native "ScriptProfileNode" { |
| 17683 | 18238 |
| 17684 @JSName('callUID') | 18239 @JSName('callUID') |
| 17685 @DomName('ScriptProfileNode.callUID') | 18240 @DomName('ScriptProfileNode.callUID') |
| 17686 @DocsEditable | 18241 @DocsEditable |
| 17687 final int callUid; | 18242 final int callUid; |
| 17688 | 18243 |
| 17689 @DomName('ScriptProfileNode.functionName') | 18244 @DomName('ScriptProfileNode.functionName') |
| 17690 @DocsEditable | 18245 @DocsEditable |
| 17691 final String functionName; | 18246 final String functionName; |
| (...skipping 26 matching lines...) Expand all Loading... | |
| 17718 @DocsEditable | 18273 @DocsEditable |
| 17719 List<ScriptProfileNode> children() native; | 18274 List<ScriptProfileNode> children() native; |
| 17720 } | 18275 } |
| 17721 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18276 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17722 // for details. All rights reserved. Use of this source code is governed by a | 18277 // for details. All rights reserved. Use of this source code is governed by a |
| 17723 // BSD-style license that can be found in the LICENSE file. | 18278 // BSD-style license that can be found in the LICENSE file. |
| 17724 | 18279 |
| 17725 | 18280 |
| 17726 @DocsEditable | 18281 @DocsEditable |
| 17727 @DomName('SecurityPolicy') | 18282 @DomName('SecurityPolicy') |
| 18283 // https://dvcs.w3.org/hg/content-security-policy/raw-file/tip/csp-specification .dev.html#securitypolicy | |
| 18284 @Experimental | |
| 17728 class SecurityPolicy native "SecurityPolicy" { | 18285 class SecurityPolicy native "SecurityPolicy" { |
| 17729 | 18286 |
| 17730 @DomName('SecurityPolicy.allowsEval') | 18287 @DomName('SecurityPolicy.allowsEval') |
| 17731 @DocsEditable | 18288 @DocsEditable |
| 17732 final bool allowsEval; | 18289 final bool allowsEval; |
| 17733 | 18290 |
| 17734 @DomName('SecurityPolicy.allowsInlineScript') | 18291 @DomName('SecurityPolicy.allowsInlineScript') |
| 17735 @DocsEditable | 18292 @DocsEditable |
| 17736 final bool allowsInlineScript; | 18293 final bool allowsInlineScript; |
| 17737 | 18294 |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 17789 @DocsEditable | 18346 @DocsEditable |
| 17790 bool allowsStyleFrom(String url) native; | 18347 bool allowsStyleFrom(String url) native; |
| 17791 } | 18348 } |
| 17792 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18349 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17793 // for details. All rights reserved. Use of this source code is governed by a | 18350 // for details. All rights reserved. Use of this source code is governed by a |
| 17794 // BSD-style license that can be found in the LICENSE file. | 18351 // BSD-style license that can be found in the LICENSE file. |
| 17795 | 18352 |
| 17796 | 18353 |
| 17797 @DocsEditable | 18354 @DocsEditable |
| 17798 @DomName('SecurityPolicyViolationEvent') | 18355 @DomName('SecurityPolicyViolationEvent') |
| 18356 // https://dvcs.w3.org/hg/content-security-policy/raw-file/tip/csp-specification .dev.html#securitypolicyviolationevent-events | |
| 18357 @Experimental | |
| 17799 class SecurityPolicyViolationEvent extends Event native "SecurityPolicyViolation Event" { | 18358 class SecurityPolicyViolationEvent extends Event native "SecurityPolicyViolation Event" { |
| 17800 | 18359 |
| 17801 @JSName('blockedURI') | 18360 @JSName('blockedURI') |
| 17802 @DomName('SecurityPolicyViolationEvent.blockedURI') | 18361 @DomName('SecurityPolicyViolationEvent.blockedURI') |
| 17803 @DocsEditable | 18362 @DocsEditable |
| 17804 final String blockedUri; | 18363 final String blockedUri; |
| 17805 | 18364 |
| 17806 @JSName('documentURI') | 18365 @JSName('documentURI') |
| 17807 @DomName('SecurityPolicyViolationEvent.documentURI') | 18366 @DomName('SecurityPolicyViolationEvent.documentURI') |
| 17808 @DocsEditable | 18367 @DocsEditable |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 17851 @DomName('HTMLSelectElement.disabled') | 18410 @DomName('HTMLSelectElement.disabled') |
| 17852 @DocsEditable | 18411 @DocsEditable |
| 17853 bool disabled; | 18412 bool disabled; |
| 17854 | 18413 |
| 17855 @DomName('HTMLSelectElement.form') | 18414 @DomName('HTMLSelectElement.form') |
| 17856 @DocsEditable | 18415 @DocsEditable |
| 17857 final FormElement form; | 18416 final FormElement form; |
| 17858 | 18417 |
| 17859 @DomName('HTMLSelectElement.labels') | 18418 @DomName('HTMLSelectElement.labels') |
| 17860 @DocsEditable | 18419 @DocsEditable |
| 18420 @Unstable | |
| 17861 @Returns('NodeList') | 18421 @Returns('NodeList') |
| 17862 @Creates('NodeList') | 18422 @Creates('NodeList') |
| 17863 final List<Node> labels; | 18423 final List<Node> labels; |
| 17864 | 18424 |
| 17865 @DomName('HTMLSelectElement.length') | 18425 @DomName('HTMLSelectElement.length') |
| 17866 @DocsEditable | 18426 @DocsEditable |
| 17867 int length; | 18427 int length; |
| 17868 | 18428 |
| 17869 @DomName('HTMLSelectElement.multiple') | 18429 @DomName('HTMLSelectElement.multiple') |
| 17870 @DocsEditable | 18430 @DocsEditable |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 17952 @DomName('Selection.anchorNode') | 18512 @DomName('Selection.anchorNode') |
| 17953 @DocsEditable | 18513 @DocsEditable |
| 17954 final Node anchorNode; | 18514 final Node anchorNode; |
| 17955 | 18515 |
| 17956 @DomName('Selection.anchorOffset') | 18516 @DomName('Selection.anchorOffset') |
| 17957 @DocsEditable | 18517 @DocsEditable |
| 17958 final int anchorOffset; | 18518 final int anchorOffset; |
| 17959 | 18519 |
| 17960 @DomName('Selection.baseNode') | 18520 @DomName('Selection.baseNode') |
| 17961 @DocsEditable | 18521 @DocsEditable |
| 18522 @Experimental // non-standard | |
| 17962 final Node baseNode; | 18523 final Node baseNode; |
| 17963 | 18524 |
| 17964 @DomName('Selection.baseOffset') | 18525 @DomName('Selection.baseOffset') |
| 17965 @DocsEditable | 18526 @DocsEditable |
| 18527 @Experimental // non-standard | |
| 17966 final int baseOffset; | 18528 final int baseOffset; |
| 17967 | 18529 |
| 17968 @DomName('Selection.extentNode') | 18530 @DomName('Selection.extentNode') |
| 17969 @DocsEditable | 18531 @DocsEditable |
| 18532 @Experimental // non-standard | |
| 17970 final Node extentNode; | 18533 final Node extentNode; |
| 17971 | 18534 |
| 17972 @DomName('Selection.extentOffset') | 18535 @DomName('Selection.extentOffset') |
| 17973 @DocsEditable | 18536 @DocsEditable |
| 18537 @Experimental // non-standard | |
| 17974 final int extentOffset; | 18538 final int extentOffset; |
| 17975 | 18539 |
| 17976 @DomName('Selection.focusNode') | 18540 @DomName('Selection.focusNode') |
| 17977 @DocsEditable | 18541 @DocsEditable |
| 17978 final Node focusNode; | 18542 final Node focusNode; |
| 17979 | 18543 |
| 17980 @DomName('Selection.focusOffset') | 18544 @DomName('Selection.focusOffset') |
| 17981 @DocsEditable | 18545 @DocsEditable |
| 17982 final int focusOffset; | 18546 final int focusOffset; |
| 17983 | 18547 |
| 17984 @DomName('Selection.isCollapsed') | 18548 @DomName('Selection.isCollapsed') |
| 17985 @DocsEditable | 18549 @DocsEditable |
| 17986 final bool isCollapsed; | 18550 final bool isCollapsed; |
| 17987 | 18551 |
| 17988 @DomName('Selection.rangeCount') | 18552 @DomName('Selection.rangeCount') |
| 17989 @DocsEditable | 18553 @DocsEditable |
| 17990 final int rangeCount; | 18554 final int rangeCount; |
| 17991 | 18555 |
| 17992 @DomName('Selection.type') | 18556 @DomName('Selection.type') |
| 17993 @DocsEditable | 18557 @DocsEditable |
| 18558 @Experimental // non-standard | |
| 17994 final String type; | 18559 final String type; |
| 17995 | 18560 |
| 17996 @DomName('Selection.addRange') | 18561 @DomName('Selection.addRange') |
| 17997 @DocsEditable | 18562 @DocsEditable |
| 17998 void addRange(Range range) native; | 18563 void addRange(Range range) native; |
| 17999 | 18564 |
| 18000 @DomName('Selection.collapse') | 18565 @DomName('Selection.collapse') |
| 18001 @DocsEditable | 18566 @DocsEditable |
| 18002 void collapse(Node node, int index) native; | 18567 void collapse(Node node, int index) native; |
| 18003 | 18568 |
| 18004 @DomName('Selection.collapseToEnd') | 18569 @DomName('Selection.collapseToEnd') |
| 18005 @DocsEditable | 18570 @DocsEditable |
| 18006 void collapseToEnd() native; | 18571 void collapseToEnd() native; |
| 18007 | 18572 |
| 18008 @DomName('Selection.collapseToStart') | 18573 @DomName('Selection.collapseToStart') |
| 18009 @DocsEditable | 18574 @DocsEditable |
| 18010 void collapseToStart() native; | 18575 void collapseToStart() native; |
| 18011 | 18576 |
| 18012 @DomName('Selection.containsNode') | 18577 @DomName('Selection.containsNode') |
| 18013 @DocsEditable | 18578 @DocsEditable |
| 18579 @Experimental // non-standard | |
| 18014 bool containsNode(Node node, bool allowPartial) native; | 18580 bool containsNode(Node node, bool allowPartial) native; |
| 18015 | 18581 |
| 18016 @DomName('Selection.deleteFromDocument') | 18582 @DomName('Selection.deleteFromDocument') |
| 18017 @DocsEditable | 18583 @DocsEditable |
| 18018 void deleteFromDocument() native; | 18584 void deleteFromDocument() native; |
| 18019 | 18585 |
| 18020 @DomName('Selection.empty') | 18586 @DomName('Selection.empty') |
| 18021 @DocsEditable | 18587 @DocsEditable |
| 18588 @Experimental // non-standard | |
| 18022 void empty() native; | 18589 void empty() native; |
| 18023 | 18590 |
| 18024 @DomName('Selection.extend') | 18591 @DomName('Selection.extend') |
| 18025 @DocsEditable | 18592 @DocsEditable |
| 18026 void extend(Node node, int offset) native; | 18593 void extend(Node node, int offset) native; |
| 18027 | 18594 |
| 18028 @DomName('Selection.getRangeAt') | 18595 @DomName('Selection.getRangeAt') |
| 18029 @DocsEditable | 18596 @DocsEditable |
| 18030 Range getRangeAt(int index) native; | 18597 Range getRangeAt(int index) native; |
| 18031 | 18598 |
| 18032 @DomName('Selection.modify') | 18599 @DomName('Selection.modify') |
| 18033 @DocsEditable | 18600 @DocsEditable |
| 18601 @Experimental // non-standard | |
| 18034 void modify(String alter, String direction, String granularity) native; | 18602 void modify(String alter, String direction, String granularity) native; |
| 18035 | 18603 |
| 18036 @DomName('Selection.removeAllRanges') | 18604 @DomName('Selection.removeAllRanges') |
| 18037 @DocsEditable | 18605 @DocsEditable |
| 18038 void removeAllRanges() native; | 18606 void removeAllRanges() native; |
| 18039 | 18607 |
| 18040 @DomName('Selection.selectAllChildren') | 18608 @DomName('Selection.selectAllChildren') |
| 18041 @DocsEditable | 18609 @DocsEditable |
| 18042 void selectAllChildren(Node node) native; | 18610 void selectAllChildren(Node node) native; |
| 18043 | 18611 |
| 18044 @DomName('Selection.setBaseAndExtent') | 18612 @DomName('Selection.setBaseAndExtent') |
| 18045 @DocsEditable | 18613 @DocsEditable |
| 18614 @Experimental // non-standard | |
| 18046 void setBaseAndExtent(Node baseNode, int baseOffset, Node extentNode, int exte ntOffset) native; | 18615 void setBaseAndExtent(Node baseNode, int baseOffset, Node extentNode, int exte ntOffset) native; |
| 18047 | 18616 |
| 18048 @DomName('Selection.setPosition') | 18617 @DomName('Selection.setPosition') |
| 18049 @DocsEditable | 18618 @DocsEditable |
| 18619 @Experimental // non-standard | |
| 18050 void setPosition(Node node, int offset) native; | 18620 void setPosition(Node node, int offset) native; |
| 18051 | 18621 |
| 18052 @DomName('Selection.toString') | 18622 @DomName('Selection.toString') |
| 18053 @DocsEditable | 18623 @DocsEditable |
| 18054 String toString() native; | 18624 String toString() native; |
| 18055 } | 18625 } |
| 18056 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18626 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18057 // for details. All rights reserved. Use of this source code is governed by a | 18627 // for details. All rights reserved. Use of this source code is governed by a |
| 18058 // BSD-style license that can be found in the LICENSE file. | 18628 // BSD-style license that can be found in the LICENSE file. |
| 18059 | 18629 |
| 18060 | 18630 |
| 18061 @DocsEditable | 18631 @DocsEditable |
| 18062 @DomName('HTMLShadowElement') | 18632 @DomName('HTMLShadowElement') |
| 18063 @SupportedBrowser(SupportedBrowser.CHROME, '26') | 18633 @SupportedBrowser(SupportedBrowser.CHROME, '26') |
| 18064 @Experimental | 18634 @Experimental |
| 18635 // https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/shadow/index.html#shad ow-element | |
| 18065 class ShadowElement extends Element native "HTMLShadowElement" { | 18636 class ShadowElement extends Element native "HTMLShadowElement" { |
| 18066 | 18637 |
| 18067 /// Checks if this type is supported on the current platform. | 18638 /// Checks if this type is supported on the current platform. |
| 18068 static bool get supported => Element.isTagSupported('shadow'); | 18639 static bool get supported => Element.isTagSupported('shadow'); |
| 18069 | 18640 |
| 18070 @DomName('HTMLShadowElement.olderShadowRoot') | 18641 @DomName('HTMLShadowElement.olderShadowRoot') |
| 18071 @DocsEditable | 18642 @DocsEditable |
| 18072 final ShadowRoot olderShadowRoot; | 18643 final ShadowRoot olderShadowRoot; |
| 18073 | 18644 |
| 18074 @DomName('HTMLShadowElement.resetStyleInheritance') | 18645 @DomName('HTMLShadowElement.resetStyleInheritance') |
| 18075 @DocsEditable | 18646 @DocsEditable |
| 18076 bool resetStyleInheritance; | 18647 bool resetStyleInheritance; |
| 18077 } | 18648 } |
| 18078 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18649 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18079 // for details. All rights reserved. Use of this source code is governed by a | 18650 // for details. All rights reserved. Use of this source code is governed by a |
| 18080 // BSD-style license that can be found in the LICENSE file. | 18651 // BSD-style license that can be found in the LICENSE file. |
| 18081 | 18652 |
| 18082 // WARNING: Do not edit - generated code. | 18653 // WARNING: Do not edit - generated code. |
| 18083 | 18654 |
| 18084 | 18655 |
| 18085 @DomName('ShadowRoot') | 18656 @DomName('ShadowRoot') |
| 18086 @SupportedBrowser(SupportedBrowser.CHROME, '26') | 18657 @SupportedBrowser(SupportedBrowser.CHROME, '26') |
| 18087 @Experimental | 18658 @Experimental |
| 18659 // https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/shadow/index.html#api- shadow-root | |
| 18088 class ShadowRoot extends DocumentFragment native "ShadowRoot" { | 18660 class ShadowRoot extends DocumentFragment native "ShadowRoot" { |
| 18089 | 18661 |
| 18090 @DomName('ShadowRoot.activeElement') | 18662 @DomName('ShadowRoot.activeElement') |
| 18091 @DocsEditable | 18663 @DocsEditable |
| 18092 final Element activeElement; | 18664 final Element activeElement; |
| 18093 | 18665 |
| 18094 @DomName('ShadowRoot.applyAuthorStyles') | 18666 @DomName('ShadowRoot.applyAuthorStyles') |
| 18095 @DocsEditable | 18667 @DocsEditable |
| 18096 bool applyAuthorStyles; | 18668 bool applyAuthorStyles; |
| 18097 | 18669 |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 18136 static bool get supported => | 18708 static bool get supported => |
| 18137 JS('bool', '!!(Element.prototype.webkitCreateShadowRoot)'); | 18709 JS('bool', '!!(Element.prototype.webkitCreateShadowRoot)'); |
| 18138 } | 18710 } |
| 18139 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18711 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18140 // for details. All rights reserved. Use of this source code is governed by a | 18712 // for details. All rights reserved. Use of this source code is governed by a |
| 18141 // BSD-style license that can be found in the LICENSE file. | 18713 // BSD-style license that can be found in the LICENSE file. |
| 18142 | 18714 |
| 18143 | 18715 |
| 18144 @DocsEditable | 18716 @DocsEditable |
| 18145 @DomName('SourceBuffer') | 18717 @DomName('SourceBuffer') |
| 18718 // https://dvcs.w3.org/hg/html-media/raw-file/tip/media-source/media-source.html #sourcebuffer | |
| 18719 @Experimental | |
| 18146 class SourceBuffer native "SourceBuffer" { | 18720 class SourceBuffer native "SourceBuffer" { |
| 18147 | 18721 |
| 18148 @DomName('SourceBuffer.buffered') | 18722 @DomName('SourceBuffer.buffered') |
| 18149 @DocsEditable | 18723 @DocsEditable |
| 18150 final TimeRanges buffered; | 18724 final TimeRanges buffered; |
| 18151 | 18725 |
| 18152 @DomName('SourceBuffer.timestampOffset') | 18726 @DomName('SourceBuffer.timestampOffset') |
| 18153 @DocsEditable | 18727 @DocsEditable |
| 18154 num timestampOffset; | 18728 num timestampOffset; |
| 18155 | 18729 |
| 18156 @DomName('SourceBuffer.abort') | 18730 @DomName('SourceBuffer.abort') |
| 18157 @DocsEditable | 18731 @DocsEditable |
| 18158 void abort() native; | 18732 void abort() native; |
| 18159 | 18733 |
| 18160 @DomName('SourceBuffer.append') | 18734 @DomName('SourceBuffer.append') |
| 18161 @DocsEditable | 18735 @DocsEditable |
| 18736 @Experimental // non-standard | |
| 18162 void append(Uint8List data) native; | 18737 void append(Uint8List data) native; |
| 18163 } | 18738 } |
| 18164 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18739 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18165 // for details. All rights reserved. Use of this source code is governed by a | 18740 // for details. All rights reserved. Use of this source code is governed by a |
| 18166 // BSD-style license that can be found in the LICENSE file. | 18741 // BSD-style license that can be found in the LICENSE file. |
| 18167 | 18742 |
| 18168 | 18743 |
| 18169 @DocsEditable | 18744 @DocsEditable |
| 18170 @DomName('SourceBufferList') | 18745 @DomName('SourceBufferList') |
| 18746 // https://dvcs.w3.org/hg/html-media/raw-file/tip/media-source/media-source.html #sourcebufferlist | |
| 18747 @Experimental | |
| 18171 class SourceBufferList extends EventTarget with ListMixin<SourceBuffer>, Immutab leListMixin<SourceBuffer> implements JavaScriptIndexingBehavior, List<SourceBuff er> native "SourceBufferList" { | 18748 class SourceBufferList extends EventTarget with ListMixin<SourceBuffer>, Immutab leListMixin<SourceBuffer> implements JavaScriptIndexingBehavior, List<SourceBuff er> native "SourceBufferList" { |
| 18172 | 18749 |
| 18173 @DomName('SourceBufferList.length') | 18750 @DomName('SourceBufferList.length') |
| 18174 @DocsEditable | 18751 @DocsEditable |
| 18175 int get length => JS("int", "#.length", this); | 18752 int get length => JS("int", "#.length", this); |
| 18176 | 18753 |
| 18177 SourceBuffer operator[](int index) { | 18754 SourceBuffer operator[](int index) { |
| 18178 if (JS("bool", "# >>> 0 !== # || # >= #", index, | 18755 if (JS("bool", "# >>> 0 !== # || # >= #", index, |
| 18179 index, index, length)) | 18756 index, index, length)) |
| 18180 throw new RangeError.range(index, 0, length); | 18757 throw new RangeError.range(index, 0, length); |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 18274 @DocsEditable | 18851 @DocsEditable |
| 18275 factory SpanElement() => document.$dom_createElement("span"); | 18852 factory SpanElement() => document.$dom_createElement("span"); |
| 18276 } | 18853 } |
| 18277 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18854 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18278 // for details. All rights reserved. Use of this source code is governed by a | 18855 // for details. All rights reserved. Use of this source code is governed by a |
| 18279 // BSD-style license that can be found in the LICENSE file. | 18856 // BSD-style license that can be found in the LICENSE file. |
| 18280 | 18857 |
| 18281 | 18858 |
| 18282 @DocsEditable | 18859 @DocsEditable |
| 18283 @DomName('SpeechGrammar') | 18860 @DomName('SpeechGrammar') |
| 18861 // https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#dfn-speechgramm ar | |
| 18862 @Experimental | |
| 18284 class SpeechGrammar native "SpeechGrammar" { | 18863 class SpeechGrammar native "SpeechGrammar" { |
| 18285 | 18864 |
| 18286 @DomName('SpeechGrammar.SpeechGrammar') | 18865 @DomName('SpeechGrammar.SpeechGrammar') |
| 18287 @DocsEditable | 18866 @DocsEditable |
| 18288 factory SpeechGrammar() { | 18867 factory SpeechGrammar() { |
| 18289 return SpeechGrammar._create_1(); | 18868 return SpeechGrammar._create_1(); |
| 18290 } | 18869 } |
| 18291 static SpeechGrammar _create_1() => JS('SpeechGrammar', 'new SpeechGrammar()') ; | 18870 static SpeechGrammar _create_1() => JS('SpeechGrammar', 'new SpeechGrammar()') ; |
| 18292 | 18871 |
| 18293 @DomName('SpeechGrammar.src') | 18872 @DomName('SpeechGrammar.src') |
| 18294 @DocsEditable | 18873 @DocsEditable |
| 18295 String src; | 18874 String src; |
| 18296 | 18875 |
| 18297 @DomName('SpeechGrammar.weight') | 18876 @DomName('SpeechGrammar.weight') |
| 18298 @DocsEditable | 18877 @DocsEditable |
| 18299 num weight; | 18878 num weight; |
| 18300 } | 18879 } |
| 18301 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18880 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18302 // for details. All rights reserved. Use of this source code is governed by a | 18881 // for details. All rights reserved. Use of this source code is governed by a |
| 18303 // BSD-style license that can be found in the LICENSE file. | 18882 // BSD-style license that can be found in the LICENSE file. |
| 18304 | 18883 |
| 18305 | 18884 |
| 18306 @DocsEditable | 18885 @DocsEditable |
| 18307 @DomName('SpeechGrammarList') | 18886 @DomName('SpeechGrammarList') |
| 18887 // https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#dfn-speechgramm arlist | |
| 18888 @Experimental | |
| 18308 class SpeechGrammarList extends Object with ListMixin<SpeechGrammar>, ImmutableL istMixin<SpeechGrammar> implements JavaScriptIndexingBehavior, List<SpeechGramma r> native "SpeechGrammarList" { | 18889 class SpeechGrammarList extends Object with ListMixin<SpeechGrammar>, ImmutableL istMixin<SpeechGrammar> implements JavaScriptIndexingBehavior, List<SpeechGramma r> native "SpeechGrammarList" { |
| 18309 | 18890 |
| 18310 @DomName('SpeechGrammarList.SpeechGrammarList') | 18891 @DomName('SpeechGrammarList.SpeechGrammarList') |
| 18311 @DocsEditable | 18892 @DocsEditable |
| 18312 factory SpeechGrammarList() { | 18893 factory SpeechGrammarList() { |
| 18313 return SpeechGrammarList._create_1(); | 18894 return SpeechGrammarList._create_1(); |
| 18314 } | 18895 } |
| 18315 static SpeechGrammarList _create_1() => JS('SpeechGrammarList', 'new SpeechGra mmarList()'); | 18896 static SpeechGrammarList _create_1() => JS('SpeechGrammarList', 'new SpeechGra mmarList()'); |
| 18316 | 18897 |
| 18317 @DomName('SpeechGrammarList.length') | 18898 @DomName('SpeechGrammarList.length') |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 18374 @DocsEditable | 18955 @DocsEditable |
| 18375 SpeechGrammar item(int index) native; | 18956 SpeechGrammar item(int index) native; |
| 18376 } | 18957 } |
| 18377 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18958 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18378 // for details. All rights reserved. Use of this source code is governed by a | 18959 // for details. All rights reserved. Use of this source code is governed by a |
| 18379 // BSD-style license that can be found in the LICENSE file. | 18960 // BSD-style license that can be found in the LICENSE file. |
| 18380 | 18961 |
| 18381 | 18962 |
| 18382 @DocsEditable | 18963 @DocsEditable |
| 18383 @DomName('SpeechInputEvent') | 18964 @DomName('SpeechInputEvent') |
| 18965 // http://lists.w3.org/Archives/Public/public-xg-htmlspeech/2011Feb/att-0020/api -draft.html#speech_input_event_interface | |
| 18966 @Experimental | |
| 18384 class SpeechInputEvent extends Event native "SpeechInputEvent" { | 18967 class SpeechInputEvent extends Event native "SpeechInputEvent" { |
| 18385 | 18968 |
| 18386 @DomName('SpeechInputEvent.results') | 18969 @DomName('SpeechInputEvent.results') |
| 18387 @DocsEditable | 18970 @DocsEditable |
| 18388 @Returns('_SpeechInputResultList') | 18971 @Returns('_SpeechInputResultList') |
| 18389 @Creates('_SpeechInputResultList') | 18972 @Creates('_SpeechInputResultList') |
| 18390 final List<SpeechInputResult> results; | 18973 final List<SpeechInputResult> results; |
| 18391 } | 18974 } |
| 18392 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18975 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18393 // for details. All rights reserved. Use of this source code is governed by a | 18976 // for details. All rights reserved. Use of this source code is governed by a |
| 18394 // BSD-style license that can be found in the LICENSE file. | 18977 // BSD-style license that can be found in the LICENSE file. |
| 18395 | 18978 |
| 18396 | 18979 |
| 18397 @DocsEditable | 18980 @DocsEditable |
| 18398 @DomName('SpeechInputResult') | 18981 @DomName('SpeechInputResult') |
| 18982 // http://lists.w3.org/Archives/Public/public-xg-htmlspeech/2011Feb/att-0020/api -draft.html#speech_input_result_interface | |
| 18983 @Experimental | |
| 18399 class SpeechInputResult native "SpeechInputResult" { | 18984 class SpeechInputResult native "SpeechInputResult" { |
| 18400 | 18985 |
| 18401 @DomName('SpeechInputResult.confidence') | 18986 @DomName('SpeechInputResult.confidence') |
| 18402 @DocsEditable | 18987 @DocsEditable |
| 18403 final num confidence; | 18988 final num confidence; |
| 18404 | 18989 |
| 18405 @DomName('SpeechInputResult.utterance') | 18990 @DomName('SpeechInputResult.utterance') |
| 18406 @DocsEditable | 18991 @DocsEditable |
| 18407 final String utterance; | 18992 final String utterance; |
| 18408 } | 18993 } |
| 18409 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 18994 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 18410 // for details. All rights reserved. Use of this source code is governed by a | 18995 // for details. All rights reserved. Use of this source code is governed by a |
| 18411 // BSD-style license that can be found in the LICENSE file. | 18996 // BSD-style license that can be found in the LICENSE file. |
| 18412 | 18997 |
| 18413 | 18998 |
| 18414 @DomName('SpeechRecognition') | 18999 @DomName('SpeechRecognition') |
| 18415 @SupportedBrowser(SupportedBrowser.CHROME, '25') | 19000 @SupportedBrowser(SupportedBrowser.CHROME, '25') |
| 18416 @Experimental | 19001 @Experimental |
| 19002 // https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#speechreco-sect ion | |
| 18417 class SpeechRecognition extends EventTarget native "SpeechRecognition" { | 19003 class SpeechRecognition extends EventTarget native "SpeechRecognition" { |
| 18418 | 19004 |
| 18419 @DomName('SpeechRecognition.audioendEvent') | 19005 @DomName('SpeechRecognition.audioendEvent') |
| 18420 @DocsEditable | 19006 @DocsEditable |
| 18421 static const EventStreamProvider<Event> audioEndEvent = const EventStreamProvi der<Event>('audioend'); | 19007 static const EventStreamProvider<Event> audioEndEvent = const EventStreamProvi der<Event>('audioend'); |
| 18422 | 19008 |
| 18423 @DomName('SpeechRecognition.audiostartEvent') | 19009 @DomName('SpeechRecognition.audiostartEvent') |
| 18424 @DocsEditable | 19010 @DocsEditable |
| 18425 static const EventStreamProvider<Event> audioStartEvent = const EventStreamPro vider<Event>('audiostart'); | 19011 static const EventStreamProvider<Event> audioStartEvent = const EventStreamPro vider<Event>('audiostart'); |
| 18426 | 19012 |
| (...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 18560 } | 19146 } |
| 18561 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 19147 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18562 // for details. All rights reserved. Use of this source code is governed by a | 19148 // for details. All rights reserved. Use of this source code is governed by a |
| 18563 // BSD-style license that can be found in the LICENSE file. | 19149 // BSD-style license that can be found in the LICENSE file. |
| 18564 | 19150 |
| 18565 | 19151 |
| 18566 @DocsEditable | 19152 @DocsEditable |
| 18567 @DomName('SpeechRecognitionAlternative') | 19153 @DomName('SpeechRecognitionAlternative') |
| 18568 @SupportedBrowser(SupportedBrowser.CHROME, '25') | 19154 @SupportedBrowser(SupportedBrowser.CHROME, '25') |
| 18569 @Experimental | 19155 @Experimental |
| 19156 // https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#speechrecogniti onalternative | |
| 18570 class SpeechRecognitionAlternative native "SpeechRecognitionAlternative" { | 19157 class SpeechRecognitionAlternative native "SpeechRecognitionAlternative" { |
| 18571 | 19158 |
| 18572 @DomName('SpeechRecognitionAlternative.confidence') | 19159 @DomName('SpeechRecognitionAlternative.confidence') |
| 18573 @DocsEditable | 19160 @DocsEditable |
| 18574 final num confidence; | 19161 final num confidence; |
| 18575 | 19162 |
| 18576 @DomName('SpeechRecognitionAlternative.transcript') | 19163 @DomName('SpeechRecognitionAlternative.transcript') |
| 18577 @DocsEditable | 19164 @DocsEditable |
| 18578 final String transcript; | 19165 final String transcript; |
| 18579 } | 19166 } |
| 18580 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 19167 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18581 // for details. All rights reserved. Use of this source code is governed by a | 19168 // for details. All rights reserved. Use of this source code is governed by a |
| 18582 // BSD-style license that can be found in the LICENSE file. | 19169 // BSD-style license that can be found in the LICENSE file. |
| 18583 | 19170 |
| 18584 | 19171 |
| 18585 @DocsEditable | 19172 @DocsEditable |
| 18586 @DomName('SpeechRecognitionError') | 19173 @DomName('SpeechRecognitionError') |
| 18587 @SupportedBrowser(SupportedBrowser.CHROME, '25') | 19174 @SupportedBrowser(SupportedBrowser.CHROME, '25') |
| 18588 @Experimental | 19175 @Experimental |
| 19176 // https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#speechreco-erro r | |
| 18589 class SpeechRecognitionError extends Event native "SpeechRecognitionError" { | 19177 class SpeechRecognitionError extends Event native "SpeechRecognitionError" { |
| 18590 | 19178 |
| 18591 @DomName('SpeechRecognitionError.error') | 19179 @DomName('SpeechRecognitionError.error') |
| 18592 @DocsEditable | 19180 @DocsEditable |
| 18593 final String error; | 19181 final String error; |
| 18594 | 19182 |
| 18595 @DomName('SpeechRecognitionError.message') | 19183 @DomName('SpeechRecognitionError.message') |
| 18596 @DocsEditable | 19184 @DocsEditable |
| 18597 final String message; | 19185 final String message; |
| 18598 } | 19186 } |
| 18599 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 19187 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18600 // for details. All rights reserved. Use of this source code is governed by a | 19188 // for details. All rights reserved. Use of this source code is governed by a |
| 18601 // BSD-style license that can be found in the LICENSE file. | 19189 // BSD-style license that can be found in the LICENSE file. |
| 18602 | 19190 |
| 18603 | 19191 |
| 18604 @DocsEditable | 19192 @DocsEditable |
| 18605 @DomName('SpeechRecognitionEvent') | 19193 @DomName('SpeechRecognitionEvent') |
| 18606 @SupportedBrowser(SupportedBrowser.CHROME, '25') | 19194 @SupportedBrowser(SupportedBrowser.CHROME, '25') |
| 18607 @Experimental | 19195 @Experimental |
| 19196 // https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#speechreco-even t | |
| 18608 class SpeechRecognitionEvent extends Event native "SpeechRecognitionEvent" { | 19197 class SpeechRecognitionEvent extends Event native "SpeechRecognitionEvent" { |
| 18609 | 19198 |
| 18610 @DomName('SpeechRecognitionEvent.emma') | 19199 @DomName('SpeechRecognitionEvent.emma') |
| 18611 @DocsEditable | 19200 @DocsEditable |
| 18612 final Document emma; | 19201 final Document emma; |
| 18613 | 19202 |
| 18614 @DomName('SpeechRecognitionEvent.interpretation') | 19203 @DomName('SpeechRecognitionEvent.interpretation') |
| 18615 @DocsEditable | 19204 @DocsEditable |
| 18616 final Document interpretation; | 19205 final Document interpretation; |
| 18617 | 19206 |
| 18618 @DomName('SpeechRecognitionEvent.resultIndex') | 19207 @DomName('SpeechRecognitionEvent.resultIndex') |
| 18619 @DocsEditable | 19208 @DocsEditable |
| 18620 final int resultIndex; | 19209 final int resultIndex; |
| 18621 | 19210 |
| 18622 @DomName('SpeechRecognitionEvent.results') | 19211 @DomName('SpeechRecognitionEvent.results') |
| 18623 @DocsEditable | 19212 @DocsEditable |
| 18624 @Returns('_SpeechRecognitionResultList') | 19213 @Returns('_SpeechRecognitionResultList') |
| 18625 @Creates('_SpeechRecognitionResultList') | 19214 @Creates('_SpeechRecognitionResultList') |
| 18626 final List<SpeechRecognitionResult> results; | 19215 final List<SpeechRecognitionResult> results; |
| 18627 } | 19216 } |
| 18628 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 19217 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18629 // for details. All rights reserved. Use of this source code is governed by a | 19218 // for details. All rights reserved. Use of this source code is governed by a |
| 18630 // BSD-style license that can be found in the LICENSE file. | 19219 // BSD-style license that can be found in the LICENSE file. |
| 18631 | 19220 |
| 18632 | 19221 |
| 18633 @DocsEditable | 19222 @DocsEditable |
| 18634 @DomName('SpeechRecognitionResult') | 19223 @DomName('SpeechRecognitionResult') |
| 18635 @SupportedBrowser(SupportedBrowser.CHROME, '25') | 19224 @SupportedBrowser(SupportedBrowser.CHROME, '25') |
| 18636 @Experimental | 19225 @Experimental |
| 19226 // https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#speechrecogniti onresult | |
| 18637 class SpeechRecognitionResult native "SpeechRecognitionResult" { | 19227 class SpeechRecognitionResult native "SpeechRecognitionResult" { |
| 18638 | 19228 |
| 18639 @DomName('SpeechRecognitionResult.isFinal') | 19229 @DomName('SpeechRecognitionResult.isFinal') |
| 18640 @DocsEditable | 19230 @DocsEditable |
| 18641 final bool isFinal; | 19231 final bool isFinal; |
| 18642 | 19232 |
| 18643 @DomName('SpeechRecognitionResult.length') | 19233 @DomName('SpeechRecognitionResult.length') |
| 18644 @DocsEditable | 19234 @DocsEditable |
| 18645 final int length; | 19235 final int length; |
| 18646 | 19236 |
| (...skipping 25 matching lines...) Expand all Loading... | |
| 18672 * window.localStorage.clear(); | 19262 * window.localStorage.clear(); |
| 18673 * assert(window.localStorage.length == 0); | 19263 * assert(window.localStorage.length == 0); |
| 18674 * | 19264 * |
| 18675 * For more examples of using this API, see | 19265 * For more examples of using this API, see |
| 18676 * [localstorage_test.dart](http://code.google.com/p/dart/source/browse/branches /bleeding_edge/dart/tests/html/localstorage_test.dart). | 19266 * [localstorage_test.dart](http://code.google.com/p/dart/source/browse/branches /bleeding_edge/dart/tests/html/localstorage_test.dart). |
| 18677 * For details on using the Map API, see the | 19267 * For details on using the Map API, see the |
| 18678 * [Maps](http://www.dartlang.org/docs/library-tour/#maps-aka-dictionaries-or-ha shes) | 19268 * [Maps](http://www.dartlang.org/docs/library-tour/#maps-aka-dictionaries-or-ha shes) |
| 18679 * section of the library tour. | 19269 * section of the library tour. |
| 18680 */ | 19270 */ |
| 18681 @DomName('Storage') | 19271 @DomName('Storage') |
| 19272 @Unstable | |
| 18682 class Storage implements Map<String, String> | 19273 class Storage implements Map<String, String> |
| 18683 native "Storage" { | 19274 native "Storage" { |
| 18684 | 19275 |
| 18685 // TODO(nweiz): update this when maps support lazy iteration | 19276 // TODO(nweiz): update this when maps support lazy iteration |
| 18686 bool containsValue(String value) => values.any((e) => e == value); | 19277 bool containsValue(String value) => values.any((e) => e == value); |
| 18687 | 19278 |
| 18688 bool containsKey(String key) => $dom_getItem(key) != null; | 19279 bool containsKey(String key) => $dom_getItem(key) != null; |
| 18689 | 19280 |
| 18690 String operator [](String key) => $dom_getItem(key); | 19281 String operator [](String key) => $dom_getItem(key); |
| 18691 | 19282 |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 18760 void $dom_setItem(String key, String data) native; | 19351 void $dom_setItem(String key, String data) native; |
| 18761 | 19352 |
| 18762 } | 19353 } |
| 18763 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 19354 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18764 // for details. All rights reserved. Use of this source code is governed by a | 19355 // for details. All rights reserved. Use of this source code is governed by a |
| 18765 // BSD-style license that can be found in the LICENSE file. | 19356 // BSD-style license that can be found in the LICENSE file. |
| 18766 | 19357 |
| 18767 // WARNING: Do not edit - generated code. | 19358 // WARNING: Do not edit - generated code. |
| 18768 | 19359 |
| 18769 | 19360 |
| 19361 @DomName('StorageErrorCallback') | |
| 19362 // http://www.w3.org/TR/quota-api/#storageerrorcallback-callback | |
| 19363 @Experimental | |
| 18770 typedef void StorageErrorCallback(DomException error); | 19364 typedef void StorageErrorCallback(DomException error); |
| 18771 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 19365 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 18772 // for details. All rights reserved. Use of this source code is governed by a | 19366 // 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. | 19367 // BSD-style license that can be found in the LICENSE file. |
| 18774 | 19368 |
| 18775 // WARNING: Do not edit - generated code. | 19369 // WARNING: Do not edit - generated code. |
| 18776 | 19370 |
| 18777 | 19371 |
| 18778 @DomName('StorageEvent') | 19372 @DomName('StorageEvent') |
| 19373 @Unstable | |
| 18779 class StorageEvent extends Event native "StorageEvent" { | 19374 class StorageEvent extends Event native "StorageEvent" { |
| 18780 factory StorageEvent(String type, | 19375 factory StorageEvent(String type, |
| 18781 {bool canBubble: false, bool cancelable: false, String key, String oldValue, | 19376 {bool canBubble: false, bool cancelable: false, String key, String oldValue, |
| 18782 String newValue, String url, Storage storageArea}) { | 19377 String newValue, String url, Storage storageArea}) { |
| 18783 | 19378 |
| 18784 var e = document.$dom_createEvent("StorageEvent"); | 19379 var e = document.$dom_createEvent("StorageEvent"); |
| 18785 e.$dom_initStorageEvent(type, canBubble, cancelable, key, oldValue, | 19380 e.$dom_initStorageEvent(type, canBubble, cancelable, key, oldValue, |
| 18786 newValue, url, storageArea); | 19381 newValue, url, storageArea); |
| 18787 return e; | 19382 return e; |
| 18788 } | 19383 } |
| (...skipping 23 matching lines...) Expand all Loading... | |
| 18812 @DocsEditable | 19407 @DocsEditable |
| 18813 void $dom_initStorageEvent(String typeArg, bool canBubbleArg, bool cancelableA rg, String keyArg, String oldValueArg, String newValueArg, String urlArg, Storag e storageAreaArg) native; | 19408 void $dom_initStorageEvent(String typeArg, bool canBubbleArg, bool cancelableA rg, String keyArg, String oldValueArg, String newValueArg, String urlArg, Storag e storageAreaArg) native; |
| 18814 | 19409 |
| 18815 } | 19410 } |
| 18816 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 19411 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 18817 // for details. All rights reserved. Use of this source code is governed by a | 19412 // for details. All rights reserved. Use of this source code is governed by a |
| 18818 // BSD-style license that can be found in the LICENSE file. | 19413 // BSD-style license that can be found in the LICENSE file. |
| 18819 | 19414 |
| 18820 | 19415 |
| 18821 @DomName('StorageInfo') | 19416 @DomName('StorageInfo') |
| 19417 // http://www.w3.org/TR/file-system-api/ | |
| 19418 @Experimental | |
| 18822 class StorageInfo native "StorageInfo" { | 19419 class StorageInfo native "StorageInfo" { |
| 18823 | 19420 |
| 18824 @DomName('StorageInfo.PERSISTENT') | 19421 @DomName('StorageInfo.PERSISTENT') |
| 18825 @DocsEditable | 19422 @DocsEditable |
| 18826 static const int PERSISTENT = 1; | 19423 static const int PERSISTENT = 1; |
| 18827 | 19424 |
| 18828 @DomName('StorageInfo.TEMPORARY') | 19425 @DomName('StorageInfo.TEMPORARY') |
| 18829 @DocsEditable | 19426 @DocsEditable |
| 18830 static const int TEMPORARY = 0; | 19427 static const int TEMPORARY = 0; |
| 18831 | 19428 |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 18871 final int currentQuotaInBytes; | 19468 final int currentQuotaInBytes; |
| 18872 const StorageInfoUsage(this.currentUsageInBytes, this.currentQuotaInBytes); | 19469 const StorageInfoUsage(this.currentUsageInBytes, this.currentQuotaInBytes); |
| 18873 } | 19470 } |
| 18874 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 19471 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18875 // for details. All rights reserved. Use of this source code is governed by a | 19472 // for details. All rights reserved. Use of this source code is governed by a |
| 18876 // BSD-style license that can be found in the LICENSE file. | 19473 // BSD-style license that can be found in the LICENSE file. |
| 18877 | 19474 |
| 18878 | 19475 |
| 18879 @DocsEditable | 19476 @DocsEditable |
| 18880 @DomName('StorageQuota') | 19477 @DomName('StorageQuota') |
| 19478 // http://www.w3.org/TR/quota-api/#idl-def-StorageQuota | |
| 19479 @Experimental | |
| 18881 class StorageQuota native "StorageQuota" { | 19480 class StorageQuota native "StorageQuota" { |
| 18882 | 19481 |
| 18883 @DomName('StorageQuota.queryUsageAndQuota') | 19482 @DomName('StorageQuota.queryUsageAndQuota') |
| 18884 @DocsEditable | 19483 @DocsEditable |
| 18885 void queryUsageAndQuota(StorageUsageCallback usageCallback, [StorageErrorCallb ack errorCallback]) native; | 19484 void queryUsageAndQuota(StorageUsageCallback usageCallback, [StorageErrorCallb ack errorCallback]) native; |
| 18886 | 19485 |
| 18887 @DomName('StorageQuota.requestQuota') | 19486 @DomName('StorageQuota.requestQuota') |
| 18888 @DocsEditable | 19487 @DocsEditable |
| 18889 void requestQuota(int newQuotaInBytes, [StorageQuotaCallback quotaCallback, St orageErrorCallback errorCallback]) native; | 19488 void requestQuota(int newQuotaInBytes, [StorageQuotaCallback quotaCallback, St orageErrorCallback errorCallback]) native; |
| 18890 } | 19489 } |
| 18891 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 19490 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18892 // for details. All rights reserved. Use of this source code is governed by a | 19491 // for details. All rights reserved. Use of this source code is governed by a |
| 18893 // BSD-style license that can be found in the LICENSE file. | 19492 // BSD-style license that can be found in the LICENSE file. |
| 18894 | 19493 |
| 18895 // WARNING: Do not edit - generated code. | 19494 // WARNING: Do not edit - generated code. |
| 18896 | 19495 |
| 18897 | 19496 |
| 19497 @DomName('StorageQuotaCallback') | |
| 19498 // http://www.w3.org/TR/quota-api/#idl-def-StorageQuotaCallback | |
| 19499 @Experimental | |
| 18898 typedef void StorageQuotaCallback(int grantedQuotaInBytes); | 19500 typedef void StorageQuotaCallback(int grantedQuotaInBytes); |
| 18899 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 19501 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18900 // for details. All rights reserved. Use of this source code is governed by a | 19502 // for details. All rights reserved. Use of this source code is governed by a |
| 18901 // BSD-style license that can be found in the LICENSE file. | 19503 // BSD-style license that can be found in the LICENSE file. |
| 18902 | 19504 |
| 18903 // WARNING: Do not edit - generated code. | 19505 // WARNING: Do not edit - generated code. |
| 18904 | 19506 |
| 18905 | 19507 |
| 19508 @DomName('StorageUsageCallback') | |
| 19509 // http://www.w3.org/TR/quota-api/#idl-def-StorageUsageCallback | |
| 19510 @Experimental | |
| 18906 typedef void StorageUsageCallback(int currentUsageInBytes, int currentQuotaInByt es); | 19511 typedef void StorageUsageCallback(int currentUsageInBytes, int currentQuotaInByt es); |
| 18907 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 19512 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18908 // for details. All rights reserved. Use of this source code is governed by a | 19513 // for details. All rights reserved. Use of this source code is governed by a |
| 18909 // BSD-style license that can be found in the LICENSE file. | 19514 // BSD-style license that can be found in the LICENSE file. |
| 18910 | 19515 |
| 18911 // WARNING: Do not edit - generated code. | 19516 // WARNING: Do not edit - generated code. |
| 18912 | 19517 |
| 18913 | 19518 |
| 19519 @DomName('StringCallback') | |
| 19520 // http://www.w3.org/TR/2011/WD-html5-20110113/dnd.html#the-datatransferitem-int erface | |
| 19521 @Experimental | |
| 18914 typedef void _StringCallback(String data); | 19522 typedef void _StringCallback(String data); |
| 18915 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 19523 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18916 // for details. All rights reserved. Use of this source code is governed by a | 19524 // for details. All rights reserved. Use of this source code is governed by a |
| 18917 // BSD-style license that can be found in the LICENSE file. | 19525 // BSD-style license that can be found in the LICENSE file. |
| 18918 | 19526 |
| 18919 | 19527 |
| 18920 @DocsEditable | 19528 @DocsEditable |
| 18921 @DomName('HTMLStyleElement') | 19529 @DomName('HTMLStyleElement') |
| 18922 class StyleElement extends Element native "HTMLStyleElement" { | 19530 class StyleElement extends Element native "HTMLStyleElement" { |
| 18923 | 19531 |
| (...skipping 21 matching lines...) Expand all Loading... | |
| 18945 @DocsEditable | 19553 @DocsEditable |
| 18946 String type; | 19554 String type; |
| 18947 } | 19555 } |
| 18948 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 19556 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18949 // for details. All rights reserved. Use of this source code is governed by a | 19557 // for details. All rights reserved. Use of this source code is governed by a |
| 18950 // BSD-style license that can be found in the LICENSE file. | 19558 // BSD-style license that can be found in the LICENSE file. |
| 18951 | 19559 |
| 18952 | 19560 |
| 18953 @DocsEditable | 19561 @DocsEditable |
| 18954 @DomName('StyleMedia') | 19562 @DomName('StyleMedia') |
| 19563 // http://developer.apple.com/library/safari/#documentation/SafariDOMAdditions/R eference/StyleMedia/StyleMedia/StyleMedia.html | |
| 19564 @Experimental // nonstandard | |
| 18955 class StyleMedia native "StyleMedia" { | 19565 class StyleMedia native "StyleMedia" { |
| 18956 | 19566 |
| 18957 @DomName('StyleMedia.type') | 19567 @DomName('StyleMedia.type') |
| 18958 @DocsEditable | 19568 @DocsEditable |
| 18959 final String type; | 19569 final String type; |
| 18960 | 19570 |
| 18961 @DomName('StyleMedia.matchMedium') | 19571 @DomName('StyleMedia.matchMedium') |
| 18962 @DocsEditable | 19572 @DocsEditable |
| 18963 bool matchMedium(String mediaquery) native; | 19573 bool matchMedium(String mediaquery) native; |
| 18964 } | 19574 } |
| (...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 19097 @JSName('createTBody') | 19707 @JSName('createTBody') |
| 19098 TableSectionElement _createTBody() native; | 19708 TableSectionElement _createTBody() native; |
| 19099 | 19709 |
| 19100 | 19710 |
| 19101 @DomName('HTMLTableElement.HTMLTableElement') | 19711 @DomName('HTMLTableElement.HTMLTableElement') |
| 19102 @DocsEditable | 19712 @DocsEditable |
| 19103 factory TableElement() => document.$dom_createElement("table"); | 19713 factory TableElement() => document.$dom_createElement("table"); |
| 19104 | 19714 |
| 19105 @DomName('HTMLTableElement.border') | 19715 @DomName('HTMLTableElement.border') |
| 19106 @DocsEditable | 19716 @DocsEditable |
| 19717 // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#H TMLTableElement-partial | |
| 19718 @deprecated // deprecated | |
| 19107 String border; | 19719 String border; |
| 19108 | 19720 |
| 19109 @DomName('HTMLTableElement.caption') | 19721 @DomName('HTMLTableElement.caption') |
| 19110 @DocsEditable | 19722 @DocsEditable |
| 19111 TableCaptionElement caption; | 19723 TableCaptionElement caption; |
| 19112 | 19724 |
| 19113 @JSName('rows') | 19725 @JSName('rows') |
| 19114 @DomName('HTMLTableElement.rows') | 19726 @DomName('HTMLTableElement.rows') |
| 19115 @DocsEditable | 19727 @DocsEditable |
| 19116 final HtmlCollection $dom_rows; | 19728 final HtmlCollection $dom_rows; |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 19248 // for details. All rights reserved. Use of this source code is governed by a | 19860 // for details. All rights reserved. Use of this source code is governed by a |
| 19249 // BSD-style license that can be found in the LICENSE file. | 19861 // BSD-style license that can be found in the LICENSE file. |
| 19250 | 19862 |
| 19251 // WARNING: Do not edit - generated code. | 19863 // WARNING: Do not edit - generated code. |
| 19252 | 19864 |
| 19253 | 19865 |
| 19254 @Experimental | 19866 @Experimental |
| 19255 @DomName('HTMLTemplateElement') | 19867 @DomName('HTMLTemplateElement') |
| 19256 @SupportedBrowser(SupportedBrowser.CHROME) | 19868 @SupportedBrowser(SupportedBrowser.CHROME) |
| 19257 @Experimental | 19869 @Experimental |
| 19870 // https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/templates/index.html#t emplate-element | |
| 19258 class TemplateElement extends Element native "HTMLTemplateElement" { | 19871 class TemplateElement extends Element native "HTMLTemplateElement" { |
| 19259 | 19872 |
| 19260 @DomName('HTMLTemplateElement.HTMLTemplateElement') | 19873 @DomName('HTMLTemplateElement.HTMLTemplateElement') |
| 19261 @DocsEditable | 19874 @DocsEditable |
| 19262 factory TemplateElement() => document.$dom_createElement("template"); | 19875 factory TemplateElement() => document.$dom_createElement("template"); |
| 19263 | 19876 |
| 19264 /// Checks if this type is supported on the current platform. | 19877 /// Checks if this type is supported on the current platform. |
| 19265 static bool get supported => Element.isTagSupported('template'); | 19878 static bool get supported => Element.isTagSupported('template'); |
| 19266 | 19879 |
| 19267 @JSName('content') | 19880 @JSName('content') |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 19387 @DomName('Text') | 20000 @DomName('Text') |
| 19388 class Text extends CharacterData native "Text" { | 20001 class Text extends CharacterData native "Text" { |
| 19389 factory Text(String data) => _TextFactoryProvider.createText(data); | 20002 factory Text(String data) => _TextFactoryProvider.createText(data); |
| 19390 | 20003 |
| 19391 @JSName('webkitInsertionParent') | 20004 @JSName('webkitInsertionParent') |
| 19392 @DomName('Text.webkitInsertionParent') | 20005 @DomName('Text.webkitInsertionParent') |
| 19393 @DocsEditable | 20006 @DocsEditable |
| 19394 @SupportedBrowser(SupportedBrowser.CHROME) | 20007 @SupportedBrowser(SupportedBrowser.CHROME) |
| 19395 @SupportedBrowser(SupportedBrowser.SAFARI) | 20008 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 19396 @Experimental | 20009 @Experimental |
| 20010 // https://www.w3.org/Bugs/Public/show_bug.cgi?id=21067 | |
| 19397 final Node insertionParent; | 20011 final Node insertionParent; |
| 19398 | 20012 |
| 19399 @DomName('Text.wholeText') | 20013 @DomName('Text.wholeText') |
| 19400 @DocsEditable | 20014 @DocsEditable |
| 19401 final String wholeText; | 20015 final String wholeText; |
| 19402 | 20016 |
| 19403 @DomName('Text.replaceWholeText') | 20017 @DomName('Text.replaceWholeText') |
| 19404 @DocsEditable | 20018 @DocsEditable |
| 20019 // http://dom.spec.whatwg.org/#dom-text-replacewholetext | |
| 20020 @deprecated // deprecated | |
| 19405 Text replaceWholeText(String content) native; | 20021 Text replaceWholeText(String content) native; |
| 19406 | 20022 |
| 19407 @DomName('Text.splitText') | 20023 @DomName('Text.splitText') |
| 19408 @DocsEditable | 20024 @DocsEditable |
| 19409 Text splitText(int offset) native; | 20025 Text splitText(int offset) native; |
| 19410 | 20026 |
| 19411 | 20027 |
| 19412 @Creates('Null') // Set from Dart code; does not instantiate a native type. | 20028 @Creates('Null') // Set from Dart code; does not instantiate a native type. |
| 19413 StreamSubscription _textBinding; | 20029 StreamSubscription _textBinding; |
| 19414 | 20030 |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 19465 @DomName('HTMLTextAreaElement.cols') | 20081 @DomName('HTMLTextAreaElement.cols') |
| 19466 @DocsEditable | 20082 @DocsEditable |
| 19467 int cols; | 20083 int cols; |
| 19468 | 20084 |
| 19469 @DomName('HTMLTextAreaElement.defaultValue') | 20085 @DomName('HTMLTextAreaElement.defaultValue') |
| 19470 @DocsEditable | 20086 @DocsEditable |
| 19471 String defaultValue; | 20087 String defaultValue; |
| 19472 | 20088 |
| 19473 @DomName('HTMLTextAreaElement.dirName') | 20089 @DomName('HTMLTextAreaElement.dirName') |
| 19474 @DocsEditable | 20090 @DocsEditable |
| 20091 // http://www.whatwg.org/specs/web-apps/current-work/multipage/the-button-elem ent.html#dom-textarea-dirname | |
| 20092 @Experimental | |
| 19475 String dirName; | 20093 String dirName; |
| 19476 | 20094 |
| 19477 @DomName('HTMLTextAreaElement.disabled') | 20095 @DomName('HTMLTextAreaElement.disabled') |
| 19478 @DocsEditable | 20096 @DocsEditable |
| 19479 bool disabled; | 20097 bool disabled; |
| 19480 | 20098 |
| 19481 @DomName('HTMLTextAreaElement.form') | 20099 @DomName('HTMLTextAreaElement.form') |
| 19482 @DocsEditable | 20100 @DocsEditable |
| 19483 final FormElement form; | 20101 final FormElement form; |
| 19484 | 20102 |
| 19485 @DomName('HTMLTextAreaElement.labels') | 20103 @DomName('HTMLTextAreaElement.labels') |
| 19486 @DocsEditable | 20104 @DocsEditable |
| 20105 @Unstable | |
| 19487 @Returns('NodeList') | 20106 @Returns('NodeList') |
| 19488 @Creates('NodeList') | 20107 @Creates('NodeList') |
| 19489 final List<Node> labels; | 20108 final List<Node> labels; |
| 19490 | 20109 |
| 19491 @DomName('HTMLTextAreaElement.maxLength') | 20110 @DomName('HTMLTextAreaElement.maxLength') |
| 19492 @DocsEditable | 20111 @DocsEditable |
| 19493 int maxLength; | 20112 int maxLength; |
| 19494 | 20113 |
| 19495 @DomName('HTMLTextAreaElement.name') | 20114 @DomName('HTMLTextAreaElement.name') |
| 19496 @DocsEditable | 20115 @DocsEditable |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 19559 @DomName('HTMLTextAreaElement.select') | 20178 @DomName('HTMLTextAreaElement.select') |
| 19560 @DocsEditable | 20179 @DocsEditable |
| 19561 void select() native; | 20180 void select() native; |
| 19562 | 20181 |
| 19563 @DomName('HTMLTextAreaElement.setCustomValidity') | 20182 @DomName('HTMLTextAreaElement.setCustomValidity') |
| 19564 @DocsEditable | 20183 @DocsEditable |
| 19565 void setCustomValidity(String error) native; | 20184 void setCustomValidity(String error) native; |
| 19566 | 20185 |
| 19567 @DomName('HTMLTextAreaElement.setRangeText') | 20186 @DomName('HTMLTextAreaElement.setRangeText') |
| 19568 @DocsEditable | 20187 @DocsEditable |
| 20188 // http://www.whatwg.org/specs/web-apps/current-work/multipage/association-of- controls-and-forms.html#dom-textarea/input-setrangetext | |
| 20189 @Experimental | |
| 19569 void setRangeText(String replacement, [int start, int end, String selectionMod e]) native; | 20190 void setRangeText(String replacement, [int start, int end, String selectionMod e]) native; |
| 19570 | 20191 |
| 19571 @DomName('HTMLTextAreaElement.setSelectionRange') | 20192 @DomName('HTMLTextAreaElement.setSelectionRange') |
| 19572 @DocsEditable | 20193 @DocsEditable |
| 19573 void setSelectionRange(int start, int end, [String direction]) native; | 20194 void setSelectionRange(int start, int end, [String direction]) native; |
| 19574 } | 20195 } |
| 19575 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 20196 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 19576 // for details. All rights reserved. Use of this source code is governed by a | 20197 // for details. All rights reserved. Use of this source code is governed by a |
| 19577 // BSD-style license that can be found in the LICENSE file. | 20198 // BSD-style license that can be found in the LICENSE file. |
| 19578 | 20199 |
| 19579 // WARNING: Do not edit - generated code. | 20200 // WARNING: Do not edit - generated code. |
| 19580 | 20201 |
| 19581 | 20202 |
| 19582 @DomName('TextEvent') | 20203 @DomName('TextEvent') |
| 20204 @Unstable | |
| 19583 class TextEvent extends UIEvent native "TextEvent" { | 20205 class TextEvent extends UIEvent native "TextEvent" { |
| 19584 factory TextEvent(String type, | 20206 factory TextEvent(String type, |
| 19585 {bool canBubble: false, bool cancelable: false, Window view, String data}) { | 20207 {bool canBubble: false, bool cancelable: false, Window view, String data}) { |
| 19586 if (view == null) { | 20208 if (view == null) { |
| 19587 view = window; | 20209 view = window; |
| 19588 } | 20210 } |
| 19589 var e = document.$dom_createEvent("TextEvent"); | 20211 var e = document.$dom_createEvent("TextEvent"); |
| 19590 e.$dom_initTextEvent(type, canBubble, cancelable, view, data); | 20212 e.$dom_initTextEvent(type, canBubble, cancelable, view, data); |
| 19591 return e; | 20213 return e; |
| 19592 } | 20214 } |
| (...skipping 21 matching lines...) Expand all Loading... | |
| 19614 @DocsEditable | 20236 @DocsEditable |
| 19615 final num width; | 20237 final num width; |
| 19616 } | 20238 } |
| 19617 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 20239 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19618 // for details. All rights reserved. Use of this source code is governed by a | 20240 // for details. All rights reserved. Use of this source code is governed by a |
| 19619 // BSD-style license that can be found in the LICENSE file. | 20241 // BSD-style license that can be found in the LICENSE file. |
| 19620 | 20242 |
| 19621 | 20243 |
| 19622 @DocsEditable | 20244 @DocsEditable |
| 19623 @DomName('TextTrack') | 20245 @DomName('TextTrack') |
| 20246 // http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element .html#texttrack | |
| 20247 @Experimental | |
| 19624 class TextTrack extends EventTarget native "TextTrack" { | 20248 class TextTrack extends EventTarget native "TextTrack" { |
| 19625 | 20249 |
| 19626 @DomName('TextTrack.cuechangeEvent') | 20250 @DomName('TextTrack.cuechangeEvent') |
| 19627 @DocsEditable | 20251 @DocsEditable |
| 19628 static const EventStreamProvider<Event> cueChangeEvent = const EventStreamProv ider<Event>('cuechange'); | 20252 static const EventStreamProvider<Event> cueChangeEvent = const EventStreamProv ider<Event>('cuechange'); |
| 19629 | 20253 |
| 19630 @DomName('TextTrack.activeCues') | 20254 @DomName('TextTrack.activeCues') |
| 19631 @DocsEditable | 20255 @DocsEditable |
| 19632 final TextTrackCueList activeCues; | 20256 final TextTrackCueList activeCues; |
| 19633 | 20257 |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 19677 @DocsEditable | 20301 @DocsEditable |
| 19678 Stream<Event> get onCueChange => cueChangeEvent.forTarget(this); | 20302 Stream<Event> get onCueChange => cueChangeEvent.forTarget(this); |
| 19679 } | 20303 } |
| 19680 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 20304 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19681 // for details. All rights reserved. Use of this source code is governed by a | 20305 // for details. All rights reserved. Use of this source code is governed by a |
| 19682 // BSD-style license that can be found in the LICENSE file. | 20306 // BSD-style license that can be found in the LICENSE file. |
| 19683 | 20307 |
| 19684 | 20308 |
| 19685 @DocsEditable | 20309 @DocsEditable |
| 19686 @DomName('TextTrackCue') | 20310 @DomName('TextTrackCue') |
| 20311 // http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element .html#texttrackcue | |
| 20312 @Experimental | |
| 19687 class TextTrackCue extends EventTarget native "TextTrackCue" { | 20313 class TextTrackCue extends EventTarget native "TextTrackCue" { |
| 19688 | 20314 |
| 19689 @DomName('TextTrackCue.enterEvent') | 20315 @DomName('TextTrackCue.enterEvent') |
| 19690 @DocsEditable | 20316 @DocsEditable |
| 19691 static const EventStreamProvider<Event> enterEvent = const EventStreamProvider <Event>('enter'); | 20317 static const EventStreamProvider<Event> enterEvent = const EventStreamProvider <Event>('enter'); |
| 19692 | 20318 |
| 19693 @DomName('TextTrackCue.exitEvent') | 20319 @DomName('TextTrackCue.exitEvent') |
| 19694 @DocsEditable | 20320 @DocsEditable |
| 19695 static const EventStreamProvider<Event> exitEvent = const EventStreamProvider< Event>('exit'); | 20321 static const EventStreamProvider<Event> exitEvent = const EventStreamProvider< Event>('exit'); |
| 19696 | 20322 |
| 19697 @DomName('TextTrackCue.TextTrackCue') | 20323 @DomName('TextTrackCue.TextTrackCue') |
| 19698 @DocsEditable | 20324 @DocsEditable |
| 19699 factory TextTrackCue(num startTime, num endTime, String text) { | 20325 factory TextTrackCue(num startTime, num endTime, String text) { |
| 19700 return TextTrackCue._create_1(startTime, endTime, text); | 20326 return TextTrackCue._create_1(startTime, endTime, text); |
| 19701 } | 20327 } |
| 19702 static TextTrackCue _create_1(startTime, endTime, text) => JS('TextTrackCue', 'new TextTrackCue(#,#,#)', startTime, endTime, text); | 20328 static TextTrackCue _create_1(startTime, endTime, text) => JS('TextTrackCue', 'new TextTrackCue(#,#,#)', startTime, endTime, text); |
| 19703 | 20329 |
| 19704 @DomName('TextTrackCue.align') | 20330 @DomName('TextTrackCue.align') |
| 19705 @DocsEditable | 20331 @DocsEditable |
| 20332 @Experimental // nonstandard | |
| 19706 String align; | 20333 String align; |
| 19707 | 20334 |
| 19708 @DomName('TextTrackCue.endTime') | 20335 @DomName('TextTrackCue.endTime') |
| 19709 @DocsEditable | 20336 @DocsEditable |
| 19710 num endTime; | 20337 num endTime; |
| 19711 | 20338 |
| 19712 @DomName('TextTrackCue.id') | 20339 @DomName('TextTrackCue.id') |
| 19713 @DocsEditable | 20340 @DocsEditable |
| 19714 String id; | 20341 String id; |
| 19715 | 20342 |
| 19716 @DomName('TextTrackCue.line') | 20343 @DomName('TextTrackCue.line') |
| 19717 @DocsEditable | 20344 @DocsEditable |
| 20345 @Experimental // nonstandard | |
| 19718 int line; | 20346 int line; |
| 19719 | 20347 |
| 19720 @DomName('TextTrackCue.pauseOnExit') | 20348 @DomName('TextTrackCue.pauseOnExit') |
| 19721 @DocsEditable | 20349 @DocsEditable |
| 19722 bool pauseOnExit; | 20350 bool pauseOnExit; |
| 19723 | 20351 |
| 19724 @DomName('TextTrackCue.position') | 20352 @DomName('TextTrackCue.position') |
| 19725 @DocsEditable | 20353 @DocsEditable |
| 20354 @Experimental // nonstandard | |
| 19726 int position; | 20355 int position; |
| 19727 | 20356 |
| 19728 @DomName('TextTrackCue.size') | 20357 @DomName('TextTrackCue.size') |
| 19729 @DocsEditable | 20358 @DocsEditable |
| 20359 @Experimental // nonstandard | |
| 19730 int size; | 20360 int size; |
| 19731 | 20361 |
| 19732 @DomName('TextTrackCue.snapToLines') | 20362 @DomName('TextTrackCue.snapToLines') |
| 19733 @DocsEditable | 20363 @DocsEditable |
| 20364 @Experimental // nonstandard | |
| 19734 bool snapToLines; | 20365 bool snapToLines; |
| 19735 | 20366 |
| 19736 @DomName('TextTrackCue.startTime') | 20367 @DomName('TextTrackCue.startTime') |
| 19737 @DocsEditable | 20368 @DocsEditable |
| 19738 num startTime; | 20369 num startTime; |
| 19739 | 20370 |
| 19740 @DomName('TextTrackCue.text') | 20371 @DomName('TextTrackCue.text') |
| 19741 @DocsEditable | 20372 @DocsEditable |
| 20373 @Experimental // nonstandard | |
| 19742 String text; | 20374 String text; |
| 19743 | 20375 |
| 19744 @DomName('TextTrackCue.track') | 20376 @DomName('TextTrackCue.track') |
| 19745 @DocsEditable | 20377 @DocsEditable |
| 19746 final TextTrack track; | 20378 final TextTrack track; |
| 19747 | 20379 |
| 19748 @DomName('TextTrackCue.vertical') | 20380 @DomName('TextTrackCue.vertical') |
| 19749 @DocsEditable | 20381 @DocsEditable |
| 20382 @Experimental // nonstandard | |
| 19750 String vertical; | 20383 String vertical; |
| 19751 | 20384 |
| 19752 @JSName('addEventListener') | 20385 @JSName('addEventListener') |
| 19753 @DomName('TextTrackCue.addEventListener') | 20386 @DomName('TextTrackCue.addEventListener') |
| 19754 @DocsEditable | 20387 @DocsEditable |
| 19755 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu re]) native; | 20388 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu re]) native; |
| 19756 | 20389 |
| 19757 @DomName('TextTrackCue.dispatchEvent') | 20390 @DomName('TextTrackCue.dispatchEvent') |
| 19758 @DocsEditable | 20391 @DocsEditable |
| 19759 bool dispatchEvent(Event evt) native; | 20392 bool dispatchEvent(Event evt) native; |
| 19760 | 20393 |
| 19761 @JSName('getCueAsHTML') | 20394 @JSName('getCueAsHTML') |
| 19762 @DomName('TextTrackCue.getCueAsHTML') | 20395 @DomName('TextTrackCue.getCueAsHTML') |
| 19763 @DocsEditable | 20396 @DocsEditable |
| 20397 @Experimental // nonstandard | |
| 19764 DocumentFragment getCueAsHtml() native; | 20398 DocumentFragment getCueAsHtml() native; |
| 19765 | 20399 |
| 19766 @JSName('removeEventListener') | 20400 @JSName('removeEventListener') |
| 19767 @DomName('TextTrackCue.removeEventListener') | 20401 @DomName('TextTrackCue.removeEventListener') |
| 19768 @DocsEditable | 20402 @DocsEditable |
| 19769 void $dom_removeEventListener(String type, EventListener listener, [bool useCa pture]) native; | 20403 void $dom_removeEventListener(String type, EventListener listener, [bool useCa pture]) native; |
| 19770 | 20404 |
| 19771 @DomName('TextTrackCue.onenter') | 20405 @DomName('TextTrackCue.onenter') |
| 19772 @DocsEditable | 20406 @DocsEditable |
| 19773 Stream<Event> get onEnter => enterEvent.forTarget(this); | 20407 Stream<Event> get onEnter => enterEvent.forTarget(this); |
| 19774 | 20408 |
| 19775 @DomName('TextTrackCue.onexit') | 20409 @DomName('TextTrackCue.onexit') |
| 19776 @DocsEditable | 20410 @DocsEditable |
| 19777 Stream<Event> get onExit => exitEvent.forTarget(this); | 20411 Stream<Event> get onExit => exitEvent.forTarget(this); |
| 19778 } | 20412 } |
| 19779 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 20413 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19780 // for details. All rights reserved. Use of this source code is governed by a | 20414 // for details. All rights reserved. Use of this source code is governed by a |
| 19781 // BSD-style license that can be found in the LICENSE file. | 20415 // BSD-style license that can be found in the LICENSE file. |
| 19782 | 20416 |
| 19783 | 20417 |
| 19784 @DocsEditable | 20418 @DocsEditable |
| 19785 @DomName('TextTrackCueList') | 20419 @DomName('TextTrackCueList') |
| 20420 // http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element .html#texttrackcuelist | |
| 20421 @Experimental | |
| 19786 class TextTrackCueList extends Object with ListMixin<TextTrackCue>, ImmutableLis tMixin<TextTrackCue> implements List<TextTrackCue>, JavaScriptIndexingBehavior n ative "TextTrackCueList" { | 20422 class TextTrackCueList extends Object with ListMixin<TextTrackCue>, ImmutableLis tMixin<TextTrackCue> implements List<TextTrackCue>, JavaScriptIndexingBehavior n ative "TextTrackCueList" { |
| 19787 | 20423 |
| 19788 @DomName('TextTrackCueList.length') | 20424 @DomName('TextTrackCueList.length') |
| 19789 @DocsEditable | 20425 @DocsEditable |
| 19790 int get length => JS("int", "#.length", this); | 20426 int get length => JS("int", "#.length", this); |
| 19791 | 20427 |
| 19792 TextTrackCue operator[](int index) { | 20428 TextTrackCue operator[](int index) { |
| 19793 if (JS("bool", "# >>> 0 !== # || # >= #", index, | 20429 if (JS("bool", "# >>> 0 !== # || # >= #", index, |
| 19794 index, index, length)) | 20430 index, index, length)) |
| 19795 throw new RangeError.range(index, 0, length); | 20431 throw new RangeError.range(index, 0, length); |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 19841 @DocsEditable | 20477 @DocsEditable |
| 19842 TextTrackCue item(int index) native; | 20478 TextTrackCue item(int index) native; |
| 19843 } | 20479 } |
| 19844 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 20480 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19845 // for details. All rights reserved. Use of this source code is governed by a | 20481 // for details. All rights reserved. Use of this source code is governed by a |
| 19846 // BSD-style license that can be found in the LICENSE file. | 20482 // BSD-style license that can be found in the LICENSE file. |
| 19847 | 20483 |
| 19848 | 20484 |
| 19849 @DocsEditable | 20485 @DocsEditable |
| 19850 @DomName('TextTrackList') | 20486 @DomName('TextTrackList') |
| 20487 // http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element .html#texttracklist | |
| 20488 @Experimental | |
| 19851 class TextTrackList extends EventTarget with ListMixin<TextTrack>, ImmutableList Mixin<TextTrack> implements JavaScriptIndexingBehavior, List<TextTrack> native " TextTrackList" { | 20489 class TextTrackList extends EventTarget with ListMixin<TextTrack>, ImmutableList Mixin<TextTrack> implements JavaScriptIndexingBehavior, List<TextTrack> native " TextTrackList" { |
| 19852 | 20490 |
| 19853 @DomName('TextTrackList.addtrackEvent') | 20491 @DomName('TextTrackList.addtrackEvent') |
| 19854 @DocsEditable | 20492 @DocsEditable |
| 19855 static const EventStreamProvider<TrackEvent> addTrackEvent = const EventStream Provider<TrackEvent>('addtrack'); | 20493 static const EventStreamProvider<TrackEvent> addTrackEvent = const EventStream Provider<TrackEvent>('addtrack'); |
| 19856 | 20494 |
| 19857 @DomName('TextTrackList.length') | 20495 @DomName('TextTrackList.length') |
| 19858 @DocsEditable | 20496 @DocsEditable |
| 19859 int get length => JS("int", "#.length", this); | 20497 int get length => JS("int", "#.length", this); |
| 19860 | 20498 |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 19924 @DocsEditable | 20562 @DocsEditable |
| 19925 Stream<TrackEvent> get onAddTrack => addTrackEvent.forTarget(this); | 20563 Stream<TrackEvent> get onAddTrack => addTrackEvent.forTarget(this); |
| 19926 } | 20564 } |
| 19927 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 20565 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19928 // for details. All rights reserved. Use of this source code is governed by a | 20566 // for details. All rights reserved. Use of this source code is governed by a |
| 19929 // BSD-style license that can be found in the LICENSE file. | 20567 // BSD-style license that can be found in the LICENSE file. |
| 19930 | 20568 |
| 19931 | 20569 |
| 19932 @DocsEditable | 20570 @DocsEditable |
| 19933 @DomName('TimeRanges') | 20571 @DomName('TimeRanges') |
| 20572 @Unstable | |
| 19934 class TimeRanges native "TimeRanges" { | 20573 class TimeRanges native "TimeRanges" { |
| 19935 | 20574 |
| 19936 @DomName('TimeRanges.length') | 20575 @DomName('TimeRanges.length') |
| 19937 @DocsEditable | 20576 @DocsEditable |
| 19938 final int length; | 20577 final int length; |
| 19939 | 20578 |
| 19940 @DomName('TimeRanges.end') | 20579 @DomName('TimeRanges.end') |
| 19941 @DocsEditable | 20580 @DocsEditable |
| 19942 num end(int index) native; | 20581 num end(int index) native; |
| 19943 | 20582 |
| 19944 @DomName('TimeRanges.start') | 20583 @DomName('TimeRanges.start') |
| 19945 @DocsEditable | 20584 @DocsEditable |
| 19946 num start(int index) native; | 20585 num start(int index) native; |
| 19947 } | 20586 } |
| 19948 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 20587 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19949 // for details. All rights reserved. Use of this source code is governed by a | 20588 // for details. All rights reserved. Use of this source code is governed by a |
| 19950 // BSD-style license that can be found in the LICENSE file. | 20589 // BSD-style license that can be found in the LICENSE file. |
| 19951 | 20590 |
| 19952 // WARNING: Do not edit - generated code. | 20591 // WARNING: Do not edit - generated code. |
| 19953 | 20592 |
| 19954 | 20593 |
| 20594 @DomName('TimeoutHandler') | |
| 19955 typedef void TimeoutHandler(); | 20595 typedef void TimeoutHandler(); |
| 19956 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 20596 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19957 // for details. All rights reserved. Use of this source code is governed by a | 20597 // 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. | 20598 // BSD-style license that can be found in the LICENSE file. |
| 19959 | 20599 |
| 19960 | 20600 |
| 19961 @DocsEditable | 20601 @DocsEditable |
| 19962 @DomName('HTMLTitleElement') | 20602 @DomName('HTMLTitleElement') |
| 19963 class TitleElement extends Element native "HTMLTitleElement" { | 20603 class TitleElement extends Element native "HTMLTitleElement" { |
| 19964 | 20604 |
| 19965 @DomName('HTMLTitleElement.HTMLTitleElement') | 20605 @DomName('HTMLTitleElement.HTMLTitleElement') |
| 19966 @DocsEditable | 20606 @DocsEditable |
| 19967 factory TitleElement() => document.$dom_createElement("title"); | 20607 factory TitleElement() => document.$dom_createElement("title"); |
| 19968 } | 20608 } |
| 19969 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 20609 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19970 // for details. All rights reserved. Use of this source code is governed by a | 20610 // for details. All rights reserved. Use of this source code is governed by a |
| 19971 // BSD-style license that can be found in the LICENSE file. | 20611 // BSD-style license that can be found in the LICENSE file. |
| 19972 | 20612 |
| 19973 | 20613 |
| 19974 @DocsEditable | 20614 @DocsEditable |
| 19975 @DomName('Touch') | 20615 @DomName('Touch') |
| 20616 // http://www.w3.org/TR/touch-events/ | |
| 20617 @Experimental | |
| 19976 class Touch native "Touch" { | 20618 class Touch native "Touch" { |
| 19977 | 20619 |
| 19978 @JSName('clientX') | 20620 @JSName('clientX') |
| 19979 @DomName('Touch.clientX') | 20621 @DomName('Touch.clientX') |
| 19980 @DocsEditable | 20622 @DocsEditable |
| 19981 final int $dom_clientX; | 20623 final int $dom_clientX; |
| 19982 | 20624 |
| 19983 @JSName('clientY') | 20625 @JSName('clientY') |
| 19984 @DomName('Touch.clientY') | 20626 @DomName('Touch.clientY') |
| 19985 @DocsEditable | 20627 @DocsEditable |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 20063 Point get screen => new Point($dom_screenX, $dom_screenY); | 20705 Point get screen => new Point($dom_screenX, $dom_screenY); |
| 20064 } | 20706 } |
| 20065 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 20707 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 20066 // for details. All rights reserved. Use of this source code is governed by a | 20708 // for details. All rights reserved. Use of this source code is governed by a |
| 20067 // BSD-style license that can be found in the LICENSE file. | 20709 // BSD-style license that can be found in the LICENSE file. |
| 20068 | 20710 |
| 20069 // WARNING: Do not edit - generated code. | 20711 // WARNING: Do not edit - generated code. |
| 20070 | 20712 |
| 20071 | 20713 |
| 20072 @DomName('TouchEvent') | 20714 @DomName('TouchEvent') |
| 20715 // http://www.w3.org/TR/touch-events/ | |
| 20716 @Experimental | |
| 20073 class TouchEvent extends UIEvent native "TouchEvent" { | 20717 class TouchEvent extends UIEvent native "TouchEvent" { |
| 20074 factory TouchEvent(TouchList touches, TouchList targetTouches, | 20718 factory TouchEvent(TouchList touches, TouchList targetTouches, |
| 20075 TouchList changedTouches, String type, | 20719 TouchList changedTouches, String type, |
| 20076 {Window view, int screenX: 0, int screenY: 0, int clientX: 0, | 20720 {Window view, int screenX: 0, int screenY: 0, int clientX: 0, |
| 20077 int clientY: 0, bool ctrlKey: false, bool altKey: false, | 20721 int clientY: 0, bool ctrlKey: false, bool altKey: false, |
| 20078 bool shiftKey: false, bool metaKey: false}) { | 20722 bool shiftKey: false, bool metaKey: false}) { |
| 20079 if (view == null) { | 20723 if (view == null) { |
| 20080 view = window; | 20724 view = window; |
| 20081 } | 20725 } |
| 20082 var e = document.$dom_createEvent("TouchEvent"); | 20726 var e = document.$dom_createEvent("TouchEvent"); |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 20133 } | 20777 } |
| 20134 } | 20778 } |
| 20135 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 20779 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 20136 // for details. All rights reserved. Use of this source code is governed by a | 20780 // for details. All rights reserved. Use of this source code is governed by a |
| 20137 // BSD-style license that can be found in the LICENSE file. | 20781 // BSD-style license that can be found in the LICENSE file. |
| 20138 | 20782 |
| 20139 // WARNING: Do not edit - generated code. | 20783 // WARNING: Do not edit - generated code. |
| 20140 | 20784 |
| 20141 | 20785 |
| 20142 @DomName('TouchList') | 20786 @DomName('TouchList') |
| 20787 // http://www.w3.org/TR/touch-events/ | |
| 20788 @Experimental | |
| 20143 class TouchList extends Object with ListMixin<Touch>, ImmutableListMixin<Touch> implements JavaScriptIndexingBehavior, List<Touch> native "TouchList" { | 20789 class TouchList extends Object with ListMixin<Touch>, ImmutableListMixin<Touch> implements JavaScriptIndexingBehavior, List<Touch> native "TouchList" { |
| 20144 /// NB: This constructor likely does not work as you might expect it to! This | 20790 /// NB: This constructor likely does not work as you might expect it to! This |
| 20145 /// constructor will simply fail (returning null) if you are not on a device | 20791 /// constructor will simply fail (returning null) if you are not on a device |
| 20146 /// with touch enabled. See dartbug.com/8314. | 20792 /// with touch enabled. See dartbug.com/8314. |
| 20147 factory TouchList() => document.$dom_createTouchList(); | 20793 factory TouchList() => document.$dom_createTouchList(); |
| 20148 | 20794 |
| 20149 /// Checks if this type is supported on the current platform. | 20795 /// Checks if this type is supported on the current platform. |
| 20150 static bool get supported => JS('bool', '!!document.createTouchList'); | 20796 static bool get supported => JS('bool', '!!document.createTouchList'); |
| 20151 | 20797 |
| 20152 @DomName('TouchList.length') | 20798 @DomName('TouchList.length') |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 20205 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 20851 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 20206 // for details. All rights reserved. Use of this source code is governed by a | 20852 // for details. All rights reserved. Use of this source code is governed by a |
| 20207 // BSD-style license that can be found in the LICENSE file. | 20853 // BSD-style license that can be found in the LICENSE file. |
| 20208 | 20854 |
| 20209 | 20855 |
| 20210 @DocsEditable | 20856 @DocsEditable |
| 20211 @DomName('HTMLTrackElement') | 20857 @DomName('HTMLTrackElement') |
| 20212 @SupportedBrowser(SupportedBrowser.CHROME) | 20858 @SupportedBrowser(SupportedBrowser.CHROME) |
| 20213 @SupportedBrowser(SupportedBrowser.IE, '10') | 20859 @SupportedBrowser(SupportedBrowser.IE, '10') |
| 20214 @SupportedBrowser(SupportedBrowser.SAFARI) | 20860 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 20861 // http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element .html#the-track-element | |
| 20862 @Experimental | |
| 20215 class TrackElement extends Element native "HTMLTrackElement" { | 20863 class TrackElement extends Element native "HTMLTrackElement" { |
| 20216 | 20864 |
| 20217 @DomName('HTMLTrackElement.HTMLTrackElement') | 20865 @DomName('HTMLTrackElement.HTMLTrackElement') |
| 20218 @DocsEditable | 20866 @DocsEditable |
| 20219 factory TrackElement() => document.$dom_createElement("track"); | 20867 factory TrackElement() => document.$dom_createElement("track"); |
| 20220 | 20868 |
| 20221 /// Checks if this type is supported on the current platform. | 20869 /// Checks if this type is supported on the current platform. |
| 20222 static bool get supported => Element.isTagSupported('track'); | 20870 static bool get supported => Element.isTagSupported('track'); |
| 20223 | 20871 |
| 20224 @DomName('HTMLTrackElement.ERROR') | 20872 @DomName('HTMLTrackElement.ERROR') |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 20266 @DocsEditable | 20914 @DocsEditable |
| 20267 final TextTrack track; | 20915 final TextTrack track; |
| 20268 } | 20916 } |
| 20269 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 20917 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 20270 // for details. All rights reserved. Use of this source code is governed by a | 20918 // for details. All rights reserved. Use of this source code is governed by a |
| 20271 // BSD-style license that can be found in the LICENSE file. | 20919 // BSD-style license that can be found in the LICENSE file. |
| 20272 | 20920 |
| 20273 | 20921 |
| 20274 @DocsEditable | 20922 @DocsEditable |
| 20275 @DomName('TrackEvent') | 20923 @DomName('TrackEvent') |
| 20924 @Unstable | |
| 20276 class TrackEvent extends Event native "TrackEvent" { | 20925 class TrackEvent extends Event native "TrackEvent" { |
| 20277 | 20926 |
| 20278 @DomName('TrackEvent.track') | 20927 @DomName('TrackEvent.track') |
| 20279 @DocsEditable | 20928 @DocsEditable |
| 20280 final Object track; | 20929 final Object track; |
| 20281 } | 20930 } |
| 20282 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 20931 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 20283 // for details. All rights reserved. Use of this source code is governed by a | 20932 // for details. All rights reserved. Use of this source code is governed by a |
| 20284 // BSD-style license that can be found in the LICENSE file. | 20933 // BSD-style license that can be found in the LICENSE file. |
| 20285 | 20934 |
| (...skipping 13 matching lines...) Expand all Loading... | |
| 20299 @DomName('TransitionEvent.pseudoElement') | 20948 @DomName('TransitionEvent.pseudoElement') |
| 20300 @DocsEditable | 20949 @DocsEditable |
| 20301 final String pseudoElement; | 20950 final String pseudoElement; |
| 20302 } | 20951 } |
| 20303 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 20952 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 20304 // for details. All rights reserved. Use of this source code is governed by a | 20953 // for details. All rights reserved. Use of this source code is governed by a |
| 20305 // BSD-style license that can be found in the LICENSE file. | 20954 // BSD-style license that can be found in the LICENSE file. |
| 20306 | 20955 |
| 20307 | 20956 |
| 20308 @DomName('TreeWalker') | 20957 @DomName('TreeWalker') |
| 20958 @Unstable | |
| 20309 class TreeWalker native "TreeWalker" { | 20959 class TreeWalker native "TreeWalker" { |
| 20310 factory TreeWalker(Node root, int whatToShow) { | 20960 factory TreeWalker(Node root, int whatToShow) { |
| 20311 return document.$dom_createTreeWalker(root, whatToShow, null, false); | 20961 return document.$dom_createTreeWalker(root, whatToShow, null, false); |
| 20312 } | 20962 } |
| 20313 | 20963 |
| 20314 @DomName('TreeWalker.currentNode') | 20964 @DomName('TreeWalker.currentNode') |
| 20315 @DocsEditable | 20965 @DocsEditable |
| 20316 Node currentNode; | 20966 Node currentNode; |
| 20317 | 20967 |
| 20318 @DomName('TreeWalker.expandEntityReferences') | 20968 @DomName('TreeWalker.expandEntityReferences') |
| 20319 @DocsEditable | 20969 @DocsEditable |
| 20970 // http://dom.spec.whatwg.org/#dom-traversal | |
| 20971 @deprecated // deprecated | |
| 20320 final bool expandEntityReferences; | 20972 final bool expandEntityReferences; |
| 20321 | 20973 |
| 20322 @DomName('TreeWalker.filter') | 20974 @DomName('TreeWalker.filter') |
| 20323 @DocsEditable | 20975 @DocsEditable |
| 20324 final NodeFilter filter; | 20976 final NodeFilter filter; |
| 20325 | 20977 |
| 20326 @DomName('TreeWalker.root') | 20978 @DomName('TreeWalker.root') |
| 20327 @DocsEditable | 20979 @DocsEditable |
| 20328 final Node root; | 20980 final Node root; |
| 20329 | 20981 |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 20382 view = window; | 21034 view = window; |
| 20383 } | 21035 } |
| 20384 final e = document.$dom_createEvent("UIEvent"); | 21036 final e = document.$dom_createEvent("UIEvent"); |
| 20385 e.$dom_initUIEvent(type, canBubble, cancelable, view, detail); | 21037 e.$dom_initUIEvent(type, canBubble, cancelable, view, detail); |
| 20386 return e; | 21038 return e; |
| 20387 } | 21039 } |
| 20388 | 21040 |
| 20389 @JSName('charCode') | 21041 @JSName('charCode') |
| 20390 @DomName('UIEvent.charCode') | 21042 @DomName('UIEvent.charCode') |
| 20391 @DocsEditable | 21043 @DocsEditable |
| 21044 @Unstable | |
| 20392 final int $dom_charCode; | 21045 final int $dom_charCode; |
| 20393 | 21046 |
| 20394 @DomName('UIEvent.detail') | 21047 @DomName('UIEvent.detail') |
| 20395 @DocsEditable | 21048 @DocsEditable |
| 20396 final int detail; | 21049 final int detail; |
| 20397 | 21050 |
| 20398 @JSName('keyCode') | 21051 @JSName('keyCode') |
| 20399 @DomName('UIEvent.keyCode') | 21052 @DomName('UIEvent.keyCode') |
| 20400 @DocsEditable | 21053 @DocsEditable |
| 21054 @Unstable | |
| 20401 final int $dom_keyCode; | 21055 final int $dom_keyCode; |
| 20402 | 21056 |
| 20403 @JSName('layerX') | 21057 @JSName('layerX') |
| 20404 @DomName('UIEvent.layerX') | 21058 @DomName('UIEvent.layerX') |
| 20405 @DocsEditable | 21059 @DocsEditable |
| 21060 // http://dev.w3.org/2006/webapi/DOM-Level-3-Events/html/DOM3-Events.html#even ts-mouseevents | |
| 21061 @Experimental // nonstandard | |
| 20406 final int $dom_layerX; | 21062 final int $dom_layerX; |
| 20407 | 21063 |
| 20408 @JSName('layerY') | 21064 @JSName('layerY') |
| 20409 @DomName('UIEvent.layerY') | 21065 @DomName('UIEvent.layerY') |
| 20410 @DocsEditable | 21066 @DocsEditable |
| 21067 // http://dev.w3.org/2006/webapi/DOM-Level-3-Events/html/DOM3-Events.html#even ts-mouseevents | |
| 21068 @Experimental // nonstandard | |
| 20411 final int $dom_layerY; | 21069 final int $dom_layerY; |
| 20412 | 21070 |
| 20413 @JSName('pageX') | 21071 @JSName('pageX') |
| 20414 @DomName('UIEvent.pageX') | 21072 @DomName('UIEvent.pageX') |
| 20415 @DocsEditable | 21073 @DocsEditable |
| 21074 // http://dev.w3.org/2006/webapi/DOM-Level-3-Events/html/DOM3-Events.html#even ts-mouseevents | |
| 21075 @Experimental // nonstandard | |
| 20416 final int $dom_pageX; | 21076 final int $dom_pageX; |
| 20417 | 21077 |
| 20418 @JSName('pageY') | 21078 @JSName('pageY') |
| 20419 @DomName('UIEvent.pageY') | 21079 @DomName('UIEvent.pageY') |
| 20420 @DocsEditable | 21080 @DocsEditable |
| 21081 // http://dev.w3.org/2006/webapi/DOM-Level-3-Events/html/DOM3-Events.html#even ts-mouseevents | |
| 21082 @Experimental // nonstandard | |
| 20421 final int $dom_pageY; | 21083 final int $dom_pageY; |
| 20422 | 21084 |
| 20423 WindowBase get view => _convertNativeToDart_Window(this._get_view); | 21085 WindowBase get view => _convertNativeToDart_Window(this._get_view); |
| 20424 @JSName('view') | 21086 @JSName('view') |
| 20425 @DomName('UIEvent.view') | 21087 @DomName('UIEvent.view') |
| 20426 @DocsEditable | 21088 @DocsEditable |
| 20427 @Creates('Window|=Object') | 21089 @Creates('Window|=Object') |
| 20428 @Returns('Window|=Object') | 21090 @Returns('Window|=Object') |
| 20429 final dynamic _get_view; | 21091 final dynamic _get_view; |
| 20430 | 21092 |
| 20431 @DomName('UIEvent.which') | 21093 @DomName('UIEvent.which') |
| 20432 @DocsEditable | 21094 @DocsEditable |
| 21095 @Unstable | |
| 20433 final int which; | 21096 final int which; |
| 20434 | 21097 |
| 20435 @JSName('initUIEvent') | 21098 @JSName('initUIEvent') |
| 20436 @DomName('UIEvent.initUIEvent') | 21099 @DomName('UIEvent.initUIEvent') |
| 20437 @DocsEditable | 21100 @DocsEditable |
| 20438 void $dom_initUIEvent(String type, bool canBubble, bool cancelable, Window vie w, int detail) native; | 21101 void $dom_initUIEvent(String type, bool canBubble, bool cancelable, Window vie w, int detail) native; |
| 20439 | 21102 |
| 20440 | 21103 |
| 20441 @deprecated | 21104 @deprecated |
| 20442 int get layerX => layer.x; | 21105 int get layerX => layer.x; |
| (...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 20580 @SupportedBrowser(SupportedBrowser.SAFARI) | 21243 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 20581 @Experimental | 21244 @Experimental |
| 20582 final int decodedFrameCount; | 21245 final int decodedFrameCount; |
| 20583 | 21246 |
| 20584 @JSName('webkitDisplayingFullscreen') | 21247 @JSName('webkitDisplayingFullscreen') |
| 20585 @DomName('HTMLVideoElement.webkitDisplayingFullscreen') | 21248 @DomName('HTMLVideoElement.webkitDisplayingFullscreen') |
| 20586 @DocsEditable | 21249 @DocsEditable |
| 20587 @SupportedBrowser(SupportedBrowser.CHROME) | 21250 @SupportedBrowser(SupportedBrowser.CHROME) |
| 20588 @SupportedBrowser(SupportedBrowser.SAFARI) | 21251 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 20589 @Experimental | 21252 @Experimental |
| 21253 // https://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html | |
| 21254 @deprecated // deprecated | |
| 20590 final bool displayingFullscreen; | 21255 final bool displayingFullscreen; |
| 20591 | 21256 |
| 20592 @JSName('webkitDroppedFrameCount') | 21257 @JSName('webkitDroppedFrameCount') |
| 20593 @DomName('HTMLVideoElement.webkitDroppedFrameCount') | 21258 @DomName('HTMLVideoElement.webkitDroppedFrameCount') |
| 20594 @DocsEditable | 21259 @DocsEditable |
| 20595 @SupportedBrowser(SupportedBrowser.CHROME) | 21260 @SupportedBrowser(SupportedBrowser.CHROME) |
| 20596 @SupportedBrowser(SupportedBrowser.SAFARI) | 21261 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 20597 @Experimental | 21262 @Experimental |
| 20598 final int droppedFrameCount; | 21263 final int droppedFrameCount; |
| 20599 | 21264 |
| 20600 @JSName('webkitSupportsFullscreen') | 21265 @JSName('webkitSupportsFullscreen') |
| 20601 @DomName('HTMLVideoElement.webkitSupportsFullscreen') | 21266 @DomName('HTMLVideoElement.webkitSupportsFullscreen') |
| 20602 @DocsEditable | 21267 @DocsEditable |
| 20603 @SupportedBrowser(SupportedBrowser.CHROME) | 21268 @SupportedBrowser(SupportedBrowser.CHROME) |
| 20604 @SupportedBrowser(SupportedBrowser.SAFARI) | 21269 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 20605 @Experimental | 21270 @Experimental |
| 21271 // https://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html | |
| 21272 @deprecated // deprecated | |
| 20606 final bool supportsFullscreen; | 21273 final bool supportsFullscreen; |
| 20607 | 21274 |
| 20608 @DomName('HTMLVideoElement.width') | 21275 @DomName('HTMLVideoElement.width') |
| 20609 @DocsEditable | 21276 @DocsEditable |
| 20610 int width; | 21277 int width; |
| 20611 | 21278 |
| 20612 @JSName('webkitEnterFullScreen') | 21279 @JSName('webkitEnterFullScreen') |
| 20613 @DomName('HTMLVideoElement.webkitEnterFullScreen') | 21280 @DomName('HTMLVideoElement.webkitEnterFullScreen') |
| 20614 @DocsEditable | 21281 @DocsEditable |
| 20615 @SupportedBrowser(SupportedBrowser.CHROME) | 21282 @SupportedBrowser(SupportedBrowser.CHROME) |
| 20616 @SupportedBrowser(SupportedBrowser.SAFARI) | 21283 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 20617 @Experimental | 21284 @Experimental |
| 21285 // https://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html | |
| 21286 @deprecated // deprecated | |
| 20618 void enterFullScreen() native; | 21287 void enterFullScreen() native; |
| 20619 | 21288 |
| 20620 @JSName('webkitEnterFullscreen') | 21289 @JSName('webkitEnterFullscreen') |
| 20621 @DomName('HTMLVideoElement.webkitEnterFullscreen') | 21290 @DomName('HTMLVideoElement.webkitEnterFullscreen') |
| 20622 @DocsEditable | 21291 @DocsEditable |
| 20623 @SupportedBrowser(SupportedBrowser.CHROME) | 21292 @SupportedBrowser(SupportedBrowser.CHROME) |
| 20624 @SupportedBrowser(SupportedBrowser.SAFARI) | 21293 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 20625 @Experimental | 21294 @Experimental |
| 21295 // https://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html | |
| 20626 void enterFullscreen() native; | 21296 void enterFullscreen() native; |
| 20627 | 21297 |
| 20628 @JSName('webkitExitFullScreen') | 21298 @JSName('webkitExitFullScreen') |
| 20629 @DomName('HTMLVideoElement.webkitExitFullScreen') | 21299 @DomName('HTMLVideoElement.webkitExitFullScreen') |
| 20630 @DocsEditable | 21300 @DocsEditable |
| 20631 @SupportedBrowser(SupportedBrowser.CHROME) | 21301 @SupportedBrowser(SupportedBrowser.CHROME) |
| 20632 @SupportedBrowser(SupportedBrowser.SAFARI) | 21302 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 20633 @Experimental | 21303 @Experimental |
| 21304 // https://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html#dom-document-e xitfullscreen | |
| 21305 @deprecated // deprecated | |
| 20634 void exitFullScreen() native; | 21306 void exitFullScreen() native; |
| 20635 | 21307 |
| 20636 @JSName('webkitExitFullscreen') | 21308 @JSName('webkitExitFullscreen') |
| 20637 @DomName('HTMLVideoElement.webkitExitFullscreen') | 21309 @DomName('HTMLVideoElement.webkitExitFullscreen') |
| 20638 @DocsEditable | 21310 @DocsEditable |
| 20639 @SupportedBrowser(SupportedBrowser.CHROME) | 21311 @SupportedBrowser(SupportedBrowser.CHROME) |
| 20640 @SupportedBrowser(SupportedBrowser.SAFARI) | 21312 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 20641 @Experimental | 21313 @Experimental |
| 21314 // https://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html#dom-document-e xitfullscreen | |
| 20642 void exitFullscreen() native; | 21315 void exitFullscreen() native; |
| 20643 | 21316 |
| 20644 } | 21317 } |
| 20645 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 21318 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 20646 // for details. All rights reserved. Use of this source code is governed by a | 21319 // for details. All rights reserved. Use of this source code is governed by a |
| 20647 // BSD-style license that can be found in the LICENSE file. | 21320 // BSD-style license that can be found in the LICENSE file. |
| 20648 | 21321 |
| 20649 // WARNING: Do not edit - generated code. | 21322 // WARNING: Do not edit - generated code. |
| 20650 | 21323 |
| 20651 | 21324 |
| 21325 @DomName('VoidCallback') | |
| 21326 // http://www.w3.org/TR/file-system-api/#the-voidcallback-interface | |
| 21327 @Experimental | |
| 20652 typedef void VoidCallback(); | 21328 typedef void VoidCallback(); |
| 20653 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 21329 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 20654 // for details. All rights reserved. Use of this source code is governed by a | 21330 // for details. All rights reserved. Use of this source code is governed by a |
| 20655 // BSD-style license that can be found in the LICENSE file. | 21331 // BSD-style license that can be found in the LICENSE file. |
| 20656 | 21332 |
| 20657 | 21333 |
| 20658 @DocsEditable | 21334 @DocsEditable |
| 20659 /** | 21335 /** |
| 20660 * Use the WebSocket interface to connect to a WebSocket, | 21336 * Use the WebSocket interface to connect to a WebSocket, |
| 20661 * and to send and receive data on that WebSocket. | 21337 * and to send and receive data on that WebSocket. |
| (...skipping 26 matching lines...) Expand all Loading... | |
| 20688 * [WebSockets](http://www.dartlang.org/docs/library-tour/#html-websockets) | 21364 * [WebSockets](http://www.dartlang.org/docs/library-tour/#html-websockets) |
| 20689 * section of the library tour and | 21365 * section of the library tour and |
| 20690 * [Introducing WebSockets](http://www.html5rocks.com/en/tutorials/websockets/ba sics/), | 21366 * [Introducing WebSockets](http://www.html5rocks.com/en/tutorials/websockets/ba sics/), |
| 20691 * an HTML5Rocks.com tutorial. | 21367 * an HTML5Rocks.com tutorial. |
| 20692 */ | 21368 */ |
| 20693 @DomName('WebSocket') | 21369 @DomName('WebSocket') |
| 20694 @SupportedBrowser(SupportedBrowser.CHROME) | 21370 @SupportedBrowser(SupportedBrowser.CHROME) |
| 20695 @SupportedBrowser(SupportedBrowser.FIREFOX) | 21371 @SupportedBrowser(SupportedBrowser.FIREFOX) |
| 20696 @SupportedBrowser(SupportedBrowser.IE, '10') | 21372 @SupportedBrowser(SupportedBrowser.IE, '10') |
| 20697 @SupportedBrowser(SupportedBrowser.SAFARI) | 21373 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 21374 @Unstable | |
| 20698 class WebSocket extends EventTarget native "WebSocket" { | 21375 class WebSocket extends EventTarget native "WebSocket" { |
| 20699 | 21376 |
| 20700 @DomName('WebSocket.closeEvent') | 21377 @DomName('WebSocket.closeEvent') |
| 20701 @DocsEditable | 21378 @DocsEditable |
| 20702 static const EventStreamProvider<CloseEvent> closeEvent = const EventStreamPro vider<CloseEvent>('close'); | 21379 static const EventStreamProvider<CloseEvent> closeEvent = const EventStreamPro vider<CloseEvent>('close'); |
| 20703 | 21380 |
| 20704 @DomName('WebSocket.errorEvent') | 21381 @DomName('WebSocket.errorEvent') |
| 20705 @DocsEditable | 21382 @DocsEditable |
| 20706 static const EventStreamProvider<Event> errorEvent = const EventStreamProvider <Event>('error'); | 21383 static const EventStreamProvider<Event> errorEvent = const EventStreamProvider <Event>('error'); |
| 20707 | 21384 |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 20746 @DocsEditable | 21423 @DocsEditable |
| 20747 static const int CONNECTING = 0; | 21424 static const int CONNECTING = 0; |
| 20748 | 21425 |
| 20749 @DomName('WebSocket.OPEN') | 21426 @DomName('WebSocket.OPEN') |
| 20750 @DocsEditable | 21427 @DocsEditable |
| 20751 static const int OPEN = 1; | 21428 static const int OPEN = 1; |
| 20752 | 21429 |
| 20753 @JSName('URL') | 21430 @JSName('URL') |
| 20754 @DomName('WebSocket.URL') | 21431 @DomName('WebSocket.URL') |
| 20755 @DocsEditable | 21432 @DocsEditable |
| 21433 @deprecated // deprecated | |
| 20756 final String Url; | 21434 final String Url; |
| 20757 | 21435 |
| 20758 @DomName('WebSocket.binaryType') | 21436 @DomName('WebSocket.binaryType') |
| 20759 @DocsEditable | 21437 @DocsEditable |
| 20760 String binaryType; | 21438 String binaryType; |
| 20761 | 21439 |
| 20762 @DomName('WebSocket.bufferedAmount') | 21440 @DomName('WebSocket.bufferedAmount') |
| 20763 @DocsEditable | 21441 @DocsEditable |
| 20764 final int bufferedAmount; | 21442 final int bufferedAmount; |
| 20765 | 21443 |
| (...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 20912 @DomName('WheelEvent.webkitDirectionInvertedFromDevice') | 21590 @DomName('WheelEvent.webkitDirectionInvertedFromDevice') |
| 20913 @DocsEditable | 21591 @DocsEditable |
| 20914 @SupportedBrowser(SupportedBrowser.CHROME) | 21592 @SupportedBrowser(SupportedBrowser.CHROME) |
| 20915 @SupportedBrowser(SupportedBrowser.SAFARI) | 21593 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 20916 @Experimental | 21594 @Experimental |
| 20917 final bool directionInvertedFromDevice; | 21595 final bool directionInvertedFromDevice; |
| 20918 | 21596 |
| 20919 @JSName('initWebKitWheelEvent') | 21597 @JSName('initWebKitWheelEvent') |
| 20920 @DomName('WheelEvent.initWebKitWheelEvent') | 21598 @DomName('WheelEvent.initWebKitWheelEvent') |
| 20921 @DocsEditable | 21599 @DocsEditable |
| 21600 @Experimental | |
| 20922 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; | 21601 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; |
| 20923 | 21602 |
| 20924 | 21603 |
| 20925 /** | 21604 /** |
| 20926 * The amount that is expected to scroll vertically, in units determined by | 21605 * The amount that is expected to scroll vertically, in units determined by |
| 20927 * [deltaMode]. | 21606 * [deltaMode]. |
| 20928 * | 21607 * |
| 20929 * See also: | 21608 * See also: |
| 20930 * | 21609 * |
| 20931 * * [WheelEvent.deltaY](http://dev.w3.org/2006/webapi/DOM-Level-3-Events/html /DOM3-Events.html#events-WheelEvent-deltaY) from the W3C. | 21610 * * [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... | |
| 21301 } | 21980 } |
| 21302 | 21981 |
| 21303 /** | 21982 /** |
| 21304 * Checks whether [convertPointFromNodeToPage] and | 21983 * Checks whether [convertPointFromNodeToPage] and |
| 21305 * [convertPointFromPageToNode] are supported on the current platform. | 21984 * [convertPointFromPageToNode] are supported on the current platform. |
| 21306 */ | 21985 */ |
| 21307 static bool get supportsPointConversions => _DomPoint.supported; | 21986 static bool get supportsPointConversions => _DomPoint.supported; |
| 21308 | 21987 |
| 21309 @DomName('Window.DOMContentLoadedEvent') | 21988 @DomName('Window.DOMContentLoadedEvent') |
| 21310 @DocsEditable | 21989 @DocsEditable |
| 21990 @Experimental // untriaged | |
| 21311 static const EventStreamProvider<Event> contentLoadedEvent = const EventStream Provider<Event>('DOMContentLoaded'); | 21991 static const EventStreamProvider<Event> contentLoadedEvent = const EventStream Provider<Event>('DOMContentLoaded'); |
| 21312 | 21992 |
| 21313 @DomName('Window.devicemotionEvent') | 21993 @DomName('Window.devicemotionEvent') |
| 21314 @DocsEditable | 21994 @DocsEditable |
| 21995 // http://dev.w3.org/geo/api/spec-source-orientation.html#devicemotion | |
| 21996 @Experimental | |
| 21315 static const EventStreamProvider<DeviceMotionEvent> deviceMotionEvent = const EventStreamProvider<DeviceMotionEvent>('devicemotion'); | 21997 static const EventStreamProvider<DeviceMotionEvent> deviceMotionEvent = const EventStreamProvider<DeviceMotionEvent>('devicemotion'); |
| 21316 | 21998 |
| 21317 @DomName('Window.deviceorientationEvent') | 21999 @DomName('Window.deviceorientationEvent') |
| 21318 @DocsEditable | 22000 @DocsEditable |
| 22001 // http://dev.w3.org/geo/api/spec-source-orientation.html#devicemotion | |
| 22002 @Experimental | |
| 21319 static const EventStreamProvider<DeviceOrientationEvent> deviceOrientationEven t = const EventStreamProvider<DeviceOrientationEvent>('deviceorientation'); | 22003 static const EventStreamProvider<DeviceOrientationEvent> deviceOrientationEven t = const EventStreamProvider<DeviceOrientationEvent>('deviceorientation'); |
| 21320 | 22004 |
| 21321 @DomName('Window.hashchangeEvent') | 22005 @DomName('Window.hashchangeEvent') |
| 21322 @DocsEditable | 22006 @DocsEditable |
| 21323 static const EventStreamProvider<Event> hashChangeEvent = const EventStreamPro vider<Event>('hashchange'); | 22007 static const EventStreamProvider<Event> hashChangeEvent = const EventStreamPro vider<Event>('hashchange'); |
| 21324 | 22008 |
| 21325 @DomName('Window.messageEvent') | 22009 @DomName('Window.messageEvent') |
| 21326 @DocsEditable | 22010 @DocsEditable |
| 21327 static const EventStreamProvider<MessageEvent> messageEvent = const EventStrea mProvider<MessageEvent>('message'); | 22011 static const EventStreamProvider<MessageEvent> messageEvent = const EventStrea mProvider<MessageEvent>('message'); |
| 21328 | 22012 |
| (...skipping 27 matching lines...) Expand all Loading... | |
| 21356 | 22040 |
| 21357 @DomName('Window.unloadEvent') | 22041 @DomName('Window.unloadEvent') |
| 21358 @DocsEditable | 22042 @DocsEditable |
| 21359 static const EventStreamProvider<Event> unloadEvent = const EventStreamProvide r<Event>('unload'); | 22043 static const EventStreamProvider<Event> unloadEvent = const EventStreamProvide r<Event>('unload'); |
| 21360 | 22044 |
| 21361 @DomName('Window.webkitAnimationEndEvent') | 22045 @DomName('Window.webkitAnimationEndEvent') |
| 21362 @DocsEditable | 22046 @DocsEditable |
| 21363 @SupportedBrowser(SupportedBrowser.CHROME) | 22047 @SupportedBrowser(SupportedBrowser.CHROME) |
| 21364 @SupportedBrowser(SupportedBrowser.SAFARI) | 22048 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 21365 @Experimental | 22049 @Experimental |
| 22050 @Experimental // untriaged | |
| 21366 static const EventStreamProvider<AnimationEvent> animationEndEvent = const Eve ntStreamProvider<AnimationEvent>('webkitAnimationEnd'); | 22051 static const EventStreamProvider<AnimationEvent> animationEndEvent = const Eve ntStreamProvider<AnimationEvent>('webkitAnimationEnd'); |
| 21367 | 22052 |
| 21368 @DomName('Window.webkitAnimationIterationEvent') | 22053 @DomName('Window.webkitAnimationIterationEvent') |
| 21369 @DocsEditable | 22054 @DocsEditable |
| 21370 @SupportedBrowser(SupportedBrowser.CHROME) | 22055 @SupportedBrowser(SupportedBrowser.CHROME) |
| 21371 @SupportedBrowser(SupportedBrowser.SAFARI) | 22056 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 21372 @Experimental | 22057 @Experimental |
| 22058 @Experimental // untriaged | |
| 21373 static const EventStreamProvider<AnimationEvent> animationIterationEvent = con st EventStreamProvider<AnimationEvent>('webkitAnimationIteration'); | 22059 static const EventStreamProvider<AnimationEvent> animationIterationEvent = con st EventStreamProvider<AnimationEvent>('webkitAnimationIteration'); |
| 21374 | 22060 |
| 21375 @DomName('Window.webkitAnimationStartEvent') | 22061 @DomName('Window.webkitAnimationStartEvent') |
| 21376 @DocsEditable | 22062 @DocsEditable |
| 21377 @SupportedBrowser(SupportedBrowser.CHROME) | 22063 @SupportedBrowser(SupportedBrowser.CHROME) |
| 21378 @SupportedBrowser(SupportedBrowser.SAFARI) | 22064 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 21379 @Experimental | 22065 @Experimental |
| 22066 @Experimental // untriaged | |
| 21380 static const EventStreamProvider<AnimationEvent> animationStartEvent = const E ventStreamProvider<AnimationEvent>('webkitAnimationStart'); | 22067 static const EventStreamProvider<AnimationEvent> animationStartEvent = const E ventStreamProvider<AnimationEvent>('webkitAnimationStart'); |
| 21381 | 22068 |
| 21382 @DomName('Window.PERSISTENT') | 22069 @DomName('Window.PERSISTENT') |
| 21383 @DocsEditable | 22070 @DocsEditable |
| 22071 // http://www.w3.org/TR/file-system-api/#idl-def-LocalFileSystem | |
| 22072 @Experimental | |
| 21384 static const int PERSISTENT = 1; | 22073 static const int PERSISTENT = 1; |
| 21385 | 22074 |
| 21386 @DomName('Window.TEMPORARY') | 22075 @DomName('Window.TEMPORARY') |
| 21387 @DocsEditable | 22076 @DocsEditable |
| 22077 // http://www.w3.org/TR/file-system-api/#idl-def-LocalFileSystem | |
| 22078 @Experimental | |
| 21388 static const int TEMPORARY = 0; | 22079 static const int TEMPORARY = 0; |
| 21389 | 22080 |
| 21390 @DomName('Window.applicationCache') | 22081 @DomName('Window.applicationCache') |
| 21391 @DocsEditable | 22082 @DocsEditable |
| 21392 final ApplicationCache applicationCache; | 22083 final ApplicationCache applicationCache; |
| 21393 | 22084 |
| 21394 @DomName('Window.closed') | 22085 @DomName('Window.closed') |
| 21395 @DocsEditable | 22086 @DocsEditable |
| 21396 final bool closed; | 22087 final bool closed; |
| 21397 | 22088 |
| 21398 @DomName('Window.crypto') | 22089 @DomName('Window.crypto') |
| 21399 @DocsEditable | 22090 @DocsEditable |
| 22091 // http://www.w3.org/TR/WebCryptoAPI/ | |
| 22092 @Experimental | |
| 21400 final Crypto crypto; | 22093 final Crypto crypto; |
| 21401 | 22094 |
| 21402 @DomName('Window.defaultStatus') | 22095 @DomName('Window.defaultStatus') |
| 21403 @DocsEditable | 22096 @DocsEditable |
| 21404 String defaultStatus; | 22097 String defaultStatus; |
| 21405 | 22098 |
| 21406 @DomName('Window.defaultstatus') | 22099 @DomName('Window.defaultstatus') |
| 21407 @DocsEditable | 22100 @DocsEditable |
| 22101 @Experimental // non-standard | |
| 21408 String defaultstatus; | 22102 String defaultstatus; |
| 21409 | 22103 |
| 21410 @DomName('Window.devicePixelRatio') | 22104 @DomName('Window.devicePixelRatio') |
| 21411 @DocsEditable | 22105 @DocsEditable |
| 22106 // http://www.quirksmode.org/blog/archives/2012/06/devicepixelrati.html | |
| 22107 @Experimental // non-standard | |
| 21412 final num devicePixelRatio; | 22108 final num devicePixelRatio; |
| 21413 | 22109 |
| 21414 @DomName('Window.event') | 22110 @DomName('Window.event') |
| 21415 @DocsEditable | 22111 @DocsEditable |
| 22112 @deprecated // deprecated | |
| 21416 final Event event; | 22113 final Event event; |
| 21417 | 22114 |
| 21418 @DomName('Window.history') | 22115 @DomName('Window.history') |
| 21419 @DocsEditable | 22116 @DocsEditable |
| 21420 final History history; | 22117 final History history; |
| 21421 | 22118 |
| 21422 @DomName('Window.innerHeight') | 22119 @DomName('Window.innerHeight') |
| 21423 @DocsEditable | 22120 @DocsEditable |
| 21424 final int innerHeight; | 22121 final int innerHeight; |
| 21425 | 22122 |
| (...skipping 16 matching lines...) Expand all Loading... | |
| 21442 @DomName('Window.name') | 22139 @DomName('Window.name') |
| 21443 @DocsEditable | 22140 @DocsEditable |
| 21444 String name; | 22141 String name; |
| 21445 | 22142 |
| 21446 @DomName('Window.navigator') | 22143 @DomName('Window.navigator') |
| 21447 @DocsEditable | 22144 @DocsEditable |
| 21448 final Navigator navigator; | 22145 final Navigator navigator; |
| 21449 | 22146 |
| 21450 @DomName('Window.offscreenBuffering') | 22147 @DomName('Window.offscreenBuffering') |
| 21451 @DocsEditable | 22148 @DocsEditable |
| 22149 @Experimental // non-standard | |
| 21452 final bool offscreenBuffering; | 22150 final bool offscreenBuffering; |
| 21453 | 22151 |
| 21454 WindowBase get opener => _convertNativeToDart_Window(this._get_opener); | 22152 WindowBase get opener => _convertNativeToDart_Window(this._get_opener); |
| 21455 @JSName('opener') | 22153 @JSName('opener') |
| 21456 @DomName('Window.opener') | 22154 @DomName('Window.opener') |
| 21457 @DocsEditable | 22155 @DocsEditable |
| 21458 @Creates('Window|=Object') | 22156 @Creates('Window|=Object') |
| 21459 @Returns('Window|=Object') | 22157 @Returns('Window|=Object') |
| 21460 final dynamic _get_opener; | 22158 final dynamic _get_opener; |
| 21461 | 22159 |
| (...skipping 23 matching lines...) Expand all Loading... | |
| 21485 | 22183 |
| 21486 @DomName('Window.performance') | 22184 @DomName('Window.performance') |
| 21487 @DocsEditable | 22185 @DocsEditable |
| 21488 @SupportedBrowser(SupportedBrowser.CHROME) | 22186 @SupportedBrowser(SupportedBrowser.CHROME) |
| 21489 @SupportedBrowser(SupportedBrowser.FIREFOX) | 22187 @SupportedBrowser(SupportedBrowser.FIREFOX) |
| 21490 @SupportedBrowser(SupportedBrowser.IE) | 22188 @SupportedBrowser(SupportedBrowser.IE) |
| 21491 final Performance performance; | 22189 final Performance performance; |
| 21492 | 22190 |
| 21493 @DomName('Window.personalbar') | 22191 @DomName('Window.personalbar') |
| 21494 @DocsEditable | 22192 @DocsEditable |
| 22193 // https://developer.mozilla.org/en-US/docs/DOM/window.personalbar | |
| 22194 @deprecated // deprecated | |
| 21495 final BarInfo personalbar; | 22195 final BarInfo personalbar; |
| 21496 | 22196 |
| 21497 @DomName('Window.screen') | 22197 @DomName('Window.screen') |
| 21498 @DocsEditable | 22198 @DocsEditable |
| 21499 final Screen screen; | 22199 final Screen screen; |
| 21500 | 22200 |
| 21501 @DomName('Window.screenLeft') | 22201 @DomName('Window.screenLeft') |
| 21502 @DocsEditable | 22202 @DocsEditable |
| 21503 final int screenLeft; | 22203 final int screenLeft; |
| 21504 | 22204 |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 21541 @DomName('Window.status') | 22241 @DomName('Window.status') |
| 21542 @DocsEditable | 22242 @DocsEditable |
| 21543 String status; | 22243 String status; |
| 21544 | 22244 |
| 21545 @DomName('Window.statusbar') | 22245 @DomName('Window.statusbar') |
| 21546 @DocsEditable | 22246 @DocsEditable |
| 21547 final BarInfo statusbar; | 22247 final BarInfo statusbar; |
| 21548 | 22248 |
| 21549 @DomName('Window.styleMedia') | 22249 @DomName('Window.styleMedia') |
| 21550 @DocsEditable | 22250 @DocsEditable |
| 22251 // http://developer.apple.com/library/safari/#documentation/SafariDOMAdditions /Reference/StyleMedia/StyleMedia/StyleMedia.html | |
| 22252 @Experimental // nonstandard | |
| 21551 final StyleMedia styleMedia; | 22253 final StyleMedia styleMedia; |
| 21552 | 22254 |
| 21553 @DomName('Window.toolbar') | 22255 @DomName('Window.toolbar') |
| 21554 @DocsEditable | 22256 @DocsEditable |
| 21555 final BarInfo toolbar; | 22257 final BarInfo toolbar; |
| 21556 | 22258 |
| 21557 WindowBase get top => _convertNativeToDart_Window(this._get_top); | 22259 WindowBase get top => _convertNativeToDart_Window(this._get_top); |
| 21558 @JSName('top') | 22260 @JSName('top') |
| 21559 @DomName('Window.top') | 22261 @DomName('Window.top') |
| 21560 @DocsEditable | 22262 @DocsEditable |
| 21561 @Creates('Window|=Object') | 22263 @Creates('Window|=Object') |
| 21562 @Returns('Window|=Object') | 22264 @Returns('Window|=Object') |
| 21563 final dynamic _get_top; | 22265 final dynamic _get_top; |
| 21564 | 22266 |
| 21565 @JSName('webkitNotifications') | 22267 @JSName('webkitNotifications') |
| 21566 @DomName('Window.webkitNotifications') | 22268 @DomName('Window.webkitNotifications') |
| 21567 @DocsEditable | 22269 @DocsEditable |
| 21568 @SupportedBrowser(SupportedBrowser.CHROME) | 22270 @SupportedBrowser(SupportedBrowser.CHROME) |
| 21569 @SupportedBrowser(SupportedBrowser.SAFARI) | 22271 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 21570 @Experimental | 22272 @Experimental |
| 22273 // https://plus.sandbox.google.com/u/0/+GoogleChromeDevelopers/posts/8vWo8hq4p Dm?e=Showroom | |
| 22274 @deprecated // deprecated | |
| 21571 final NotificationCenter notifications; | 22275 final NotificationCenter notifications; |
| 21572 | 22276 |
| 21573 @JSName('webkitStorageInfo') | 22277 @JSName('webkitStorageInfo') |
| 21574 @DomName('Window.webkitStorageInfo') | 22278 @DomName('Window.webkitStorageInfo') |
| 21575 @DocsEditable | 22279 @DocsEditable |
| 21576 @SupportedBrowser(SupportedBrowser.CHROME) | 22280 @SupportedBrowser(SupportedBrowser.CHROME) |
| 21577 @SupportedBrowser(SupportedBrowser.SAFARI) | 22281 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 21578 @Experimental | 22282 @Experimental |
| 22283 // http://www.w3.org/TR/file-system-api/ | |
| 22284 @deprecated // deprecated | |
| 21579 final StorageInfo storageInfo; | 22285 final StorageInfo storageInfo; |
| 21580 | 22286 |
| 21581 WindowBase get window => _convertNativeToDart_Window(this._get_window); | 22287 WindowBase get window => _convertNativeToDart_Window(this._get_window); |
| 21582 @JSName('window') | 22288 @JSName('window') |
| 21583 @DomName('Window.window') | 22289 @DomName('Window.window') |
| 21584 @DocsEditable | 22290 @DocsEditable |
| 21585 @Creates('Window|=Object') | 22291 @Creates('Window|=Object') |
| 21586 @Returns('Window|=Object') | 22292 @Returns('Window|=Object') |
| 21587 final dynamic _get_window; | 22293 final dynamic _get_window; |
| 21588 | 22294 |
| 21589 @JSName('addEventListener') | 22295 @JSName('addEventListener') |
| 21590 @DomName('Window.addEventListener') | 22296 @DomName('Window.addEventListener') |
| 21591 @DocsEditable | 22297 @DocsEditable |
| 21592 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu re]) native; | 22298 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu re]) native; |
| 21593 | 22299 |
| 21594 @DomName('Window.alert') | 22300 @DomName('Window.alert') |
| 21595 @DocsEditable | 22301 @DocsEditable |
| 21596 void alert(String message) native; | 22302 void alert(String message) native; |
| 21597 | 22303 |
| 21598 @DomName('Window.atob') | 22304 @DomName('Window.atob') |
| 21599 @DocsEditable | 22305 @DocsEditable |
| 21600 String atob(String string) native; | 22306 String atob(String string) native; |
| 21601 | 22307 |
| 21602 @DomName('Window.btoa') | 22308 @DomName('Window.btoa') |
| 21603 @DocsEditable | 22309 @DocsEditable |
| 21604 String btoa(String string) native; | 22310 String btoa(String string) native; |
| 21605 | 22311 |
| 21606 @DomName('Window.captureEvents') | 22312 @DomName('Window.captureEvents') |
| 21607 @DocsEditable | 22313 @DocsEditable |
| 22314 // http://www.w3.org/TR/DOM-Level-2-Events/events.html#Events-flow-capture | |
| 22315 @deprecated // deprecated | |
| 21608 void captureEvents() native; | 22316 void captureEvents() native; |
| 21609 | 22317 |
| 21610 @JSName('clearInterval') | 22318 @JSName('clearInterval') |
| 21611 @DomName('Window.clearInterval') | 22319 @DomName('Window.clearInterval') |
| 21612 @DocsEditable | 22320 @DocsEditable |
| 21613 void _clearInterval(int handle) native; | 22321 void _clearInterval(int handle) native; |
| 21614 | 22322 |
| 21615 @JSName('clearTimeout') | 22323 @JSName('clearTimeout') |
| 21616 @DomName('Window.clearTimeout') | 22324 @DomName('Window.clearTimeout') |
| 21617 @DocsEditable | 22325 @DocsEditable |
| 21618 void _clearTimeout(int handle) native; | 22326 void _clearTimeout(int handle) native; |
| 21619 | 22327 |
| 21620 @DomName('Window.close') | 22328 @DomName('Window.close') |
| 21621 @DocsEditable | 22329 @DocsEditable |
| 21622 void close() native; | 22330 void close() native; |
| 21623 | 22331 |
| 21624 @DomName('Window.confirm') | 22332 @DomName('Window.confirm') |
| 21625 @DocsEditable | 22333 @DocsEditable |
| 21626 bool confirm(String message) native; | 22334 bool confirm(String message) native; |
| 21627 | 22335 |
| 21628 @DomName('Window.dispatchEvent') | 22336 @DomName('Window.dispatchEvent') |
| 21629 @DocsEditable | 22337 @DocsEditable |
| 21630 bool dispatchEvent(Event evt) native; | 22338 bool dispatchEvent(Event evt) native; |
| 21631 | 22339 |
| 21632 @DomName('Window.find') | 22340 @DomName('Window.find') |
| 21633 @DocsEditable | 22341 @DocsEditable |
| 22342 @Experimental // non-standard | |
| 21634 bool find(String string, bool caseSensitive, bool backwards, bool wrap, bool w holeWord, bool searchInFrames, bool showDialog) native; | 22343 bool find(String string, bool caseSensitive, bool backwards, bool wrap, bool w holeWord, bool searchInFrames, bool showDialog) native; |
| 21635 | 22344 |
| 21636 @JSName('getComputedStyle') | 22345 @JSName('getComputedStyle') |
| 21637 @DomName('Window.getComputedStyle') | 22346 @DomName('Window.getComputedStyle') |
| 21638 @DocsEditable | 22347 @DocsEditable |
| 21639 CssStyleDeclaration $dom_getComputedStyle(Element element, String pseudoElemen t) native; | 22348 CssStyleDeclaration $dom_getComputedStyle(Element element, String pseudoElemen t) native; |
| 21640 | 22349 |
| 21641 @JSName('getMatchedCSSRules') | 22350 @JSName('getMatchedCSSRules') |
| 21642 @DomName('Window.getMatchedCSSRules') | 22351 @DomName('Window.getMatchedCSSRules') |
| 21643 @DocsEditable | 22352 @DocsEditable |
| 22353 @Experimental // non-standard | |
| 21644 @Returns('_CssRuleList') | 22354 @Returns('_CssRuleList') |
| 21645 @Creates('_CssRuleList') | 22355 @Creates('_CssRuleList') |
| 21646 List<CssRule> getMatchedCssRules(Element element, String pseudoElement) native ; | 22356 List<CssRule> getMatchedCssRules(Element element, String pseudoElement) native ; |
| 21647 | 22357 |
| 21648 @DomName('Window.getSelection') | 22358 @DomName('Window.getSelection') |
| 21649 @DocsEditable | 22359 @DocsEditable |
| 21650 Selection getSelection() native; | 22360 Selection getSelection() native; |
| 21651 | 22361 |
| 21652 @DomName('Window.matchMedia') | 22362 @DomName('Window.matchMedia') |
| 21653 @DocsEditable | 22363 @DocsEditable |
| 21654 MediaQueryList matchMedia(String query) native; | 22364 MediaQueryList matchMedia(String query) native; |
| 21655 | 22365 |
| 21656 @DomName('Window.moveBy') | 22366 @DomName('Window.moveBy') |
| 21657 @DocsEditable | 22367 @DocsEditable |
| 21658 void moveBy(num x, num y) native; | 22368 void moveBy(num x, num y) native; |
| 21659 | 22369 |
| 21660 @DomName('Window.moveTo') | 22370 @DomName('Window.moveTo') |
| 21661 @DocsEditable | 22371 @DocsEditable |
| 21662 void moveTo(num x, num y) native; | 22372 void moveTo(num x, num y) native; |
| 21663 | 22373 |
| 21664 @DomName('Window.openDatabase') | 22374 @DomName('Window.openDatabase') |
| 21665 @DocsEditable | 22375 @DocsEditable |
| 21666 @SupportedBrowser(SupportedBrowser.CHROME) | 22376 @SupportedBrowser(SupportedBrowser.CHROME) |
| 21667 @SupportedBrowser(SupportedBrowser.SAFARI) | 22377 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 21668 @Experimental | 22378 @Experimental |
| 22379 // http://www.w3.org/TR/webdatabase/ | |
| 22380 @Experimental // deprecated | |
| 21669 @Creates('SqlDatabase') | 22381 @Creates('SqlDatabase') |
| 21670 SqlDatabase openDatabase(String name, String version, String displayName, int estimatedSize, [DatabaseCallback creationCallback]) native; | 22382 SqlDatabase openDatabase(String name, String version, String displayName, int estimatedSize, [DatabaseCallback creationCallback]) native; |
| 21671 | 22383 |
| 21672 @DomName('Window.postMessage') | 22384 @DomName('Window.postMessage') |
| 21673 @DocsEditable | 22385 @DocsEditable |
| 21674 void postMessage(/*SerializedScriptValue*/ message, String targetOrigin, [List messagePorts]) { | 22386 void postMessage(/*SerializedScriptValue*/ message, String targetOrigin, [List messagePorts]) { |
| 21675 if (?messagePorts) { | 22387 if (?messagePorts) { |
| 21676 var message_1 = convertDartToNative_SerializedScriptValue(message); | 22388 var message_1 = convertDartToNative_SerializedScriptValue(message); |
| 21677 _postMessage_1(message_1, targetOrigin, messagePorts); | 22389 _postMessage_1(message_1, targetOrigin, messagePorts); |
| 21678 return; | 22390 return; |
| (...skipping 10 matching lines...) Expand all Loading... | |
| 21689 @DomName('Window.postMessage') | 22401 @DomName('Window.postMessage') |
| 21690 @DocsEditable | 22402 @DocsEditable |
| 21691 void _postMessage_2(message, targetOrigin) native; | 22403 void _postMessage_2(message, targetOrigin) native; |
| 21692 | 22404 |
| 21693 @DomName('Window.print') | 22405 @DomName('Window.print') |
| 21694 @DocsEditable | 22406 @DocsEditable |
| 21695 void print() native; | 22407 void print() native; |
| 21696 | 22408 |
| 21697 @DomName('Window.releaseEvents') | 22409 @DomName('Window.releaseEvents') |
| 21698 @DocsEditable | 22410 @DocsEditable |
| 22411 // http://www.w3.org/TR/DOM-Level-2-Events/events.html#Events-flow-capture | |
| 22412 @deprecated // deprecated | |
| 21699 void releaseEvents() native; | 22413 void releaseEvents() native; |
| 21700 | 22414 |
| 21701 @JSName('removeEventListener') | 22415 @JSName('removeEventListener') |
| 21702 @DomName('Window.removeEventListener') | 22416 @DomName('Window.removeEventListener') |
| 21703 @DocsEditable | 22417 @DocsEditable |
| 21704 void $dom_removeEventListener(String type, EventListener listener, [bool useCa pture]) native; | 22418 void $dom_removeEventListener(String type, EventListener listener, [bool useCa pture]) native; |
| 21705 | 22419 |
| 21706 @DomName('Window.resizeBy') | 22420 @DomName('Window.resizeBy') |
| 21707 @DocsEditable | 22421 @DocsEditable |
| 21708 void resizeBy(num x, num y) native; | 22422 void resizeBy(num x, num y) native; |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 21744 @DomName('Window.toString') | 22458 @DomName('Window.toString') |
| 21745 @DocsEditable | 22459 @DocsEditable |
| 21746 String toString() native; | 22460 String toString() native; |
| 21747 | 22461 |
| 21748 @JSName('webkitConvertPointFromNodeToPage') | 22462 @JSName('webkitConvertPointFromNodeToPage') |
| 21749 @DomName('Window.webkitConvertPointFromNodeToPage') | 22463 @DomName('Window.webkitConvertPointFromNodeToPage') |
| 21750 @DocsEditable | 22464 @DocsEditable |
| 21751 @SupportedBrowser(SupportedBrowser.CHROME) | 22465 @SupportedBrowser(SupportedBrowser.CHROME) |
| 21752 @SupportedBrowser(SupportedBrowser.SAFARI) | 22466 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 21753 @Experimental | 22467 @Experimental |
| 22468 // http://developer.apple.com/library/safari/#documentation/DataManagement/Ref erence/DOMWindowAdditionsReference/DOMWindowAdditions/DOMWindowAdditions.html | |
| 21754 _DomPoint _convertPointFromNodeToPage(Node node, _DomPoint p) native; | 22469 _DomPoint _convertPointFromNodeToPage(Node node, _DomPoint p) native; |
| 21755 | 22470 |
| 21756 @JSName('webkitConvertPointFromPageToNode') | 22471 @JSName('webkitConvertPointFromPageToNode') |
| 21757 @DomName('Window.webkitConvertPointFromPageToNode') | 22472 @DomName('Window.webkitConvertPointFromPageToNode') |
| 21758 @DocsEditable | 22473 @DocsEditable |
| 21759 @SupportedBrowser(SupportedBrowser.CHROME) | 22474 @SupportedBrowser(SupportedBrowser.CHROME) |
| 21760 @SupportedBrowser(SupportedBrowser.SAFARI) | 22475 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 21761 @Experimental | 22476 @Experimental |
| 22477 // http://developer.apple.com/library/safari/#documentation/DataManagement/Ref erence/DOMWindowAdditionsReference/DOMWindowAdditions/DOMWindowAdditions.html | |
| 21762 _DomPoint _convertPointFromPageToNode(Node node, _DomPoint p) native; | 22478 _DomPoint _convertPointFromPageToNode(Node node, _DomPoint p) native; |
| 21763 | 22479 |
| 21764 @JSName('webkitRequestFileSystem') | 22480 @JSName('webkitRequestFileSystem') |
| 21765 @DomName('Window.webkitRequestFileSystem') | 22481 @DomName('Window.webkitRequestFileSystem') |
| 21766 @DocsEditable | 22482 @DocsEditable |
| 21767 @SupportedBrowser(SupportedBrowser.CHROME) | 22483 @SupportedBrowser(SupportedBrowser.CHROME) |
| 21768 @Experimental | 22484 @Experimental |
| 22485 // http://www.w3.org/TR/file-system-api/#idl-def-LocalFileSystem | |
| 21769 void __requestFileSystem(int type, int size, _FileSystemCallback successCallba ck, [_ErrorCallback errorCallback]) native; | 22486 void __requestFileSystem(int type, int size, _FileSystemCallback successCallba ck, [_ErrorCallback errorCallback]) native; |
| 21770 | 22487 |
| 21771 @JSName('webkitRequestFileSystem') | 22488 @JSName('webkitRequestFileSystem') |
| 21772 @DomName('Window.webkitRequestFileSystem') | 22489 @DomName('Window.webkitRequestFileSystem') |
| 21773 @DocsEditable | 22490 @DocsEditable |
| 21774 @SupportedBrowser(SupportedBrowser.CHROME) | 22491 @SupportedBrowser(SupportedBrowser.CHROME) |
| 21775 @Experimental | 22492 @Experimental |
| 22493 // http://www.w3.org/TR/file-system-api/#idl-def-LocalFileSystem | |
| 21776 Future<FileSystem> _requestFileSystem(int type, int size) { | 22494 Future<FileSystem> _requestFileSystem(int type, int size) { |
| 21777 var completer = new Completer<FileSystem>(); | 22495 var completer = new Completer<FileSystem>(); |
| 21778 __requestFileSystem(type, size, | 22496 __requestFileSystem(type, size, |
| 21779 (value) { completer.complete(value); }, | 22497 (value) { completer.complete(value); }, |
| 21780 (error) { completer.completeError(error); }); | 22498 (error) { completer.completeError(error); }); |
| 21781 return completer.future; | 22499 return completer.future; |
| 21782 } | 22500 } |
| 21783 | 22501 |
| 21784 @JSName('webkitResolveLocalFileSystemURL') | 22502 @JSName('webkitResolveLocalFileSystemURL') |
| 21785 @DomName('Window.webkitResolveLocalFileSystemURL') | 22503 @DomName('Window.webkitResolveLocalFileSystemURL') |
| 21786 @DocsEditable | 22504 @DocsEditable |
| 21787 @SupportedBrowser(SupportedBrowser.CHROME) | 22505 @SupportedBrowser(SupportedBrowser.CHROME) |
| 21788 @Experimental | 22506 @Experimental |
| 22507 // http://www.w3.org/TR/file-system-api/#idl-def-LocalFileSystem | |
| 21789 void _resolveLocalFileSystemUrl(String url, _EntryCallback successCallback, [_ ErrorCallback errorCallback]) native; | 22508 void _resolveLocalFileSystemUrl(String url, _EntryCallback successCallback, [_ ErrorCallback errorCallback]) native; |
| 21790 | 22509 |
| 21791 @JSName('webkitResolveLocalFileSystemURL') | 22510 @JSName('webkitResolveLocalFileSystemURL') |
| 21792 @DomName('Window.webkitResolveLocalFileSystemURL') | 22511 @DomName('Window.webkitResolveLocalFileSystemURL') |
| 21793 @DocsEditable | 22512 @DocsEditable |
| 21794 @SupportedBrowser(SupportedBrowser.CHROME) | 22513 @SupportedBrowser(SupportedBrowser.CHROME) |
| 21795 @Experimental | 22514 @Experimental |
| 22515 // http://www.w3.org/TR/file-system-api/#idl-def-LocalFileSystem | |
| 21796 Future<Entry> resolveLocalFileSystemUrl(String url) { | 22516 Future<Entry> resolveLocalFileSystemUrl(String url) { |
| 21797 var completer = new Completer<Entry>(); | 22517 var completer = new Completer<Entry>(); |
| 21798 _resolveLocalFileSystemUrl(url, | 22518 _resolveLocalFileSystemUrl(url, |
| 21799 (value) { completer.complete(value); }, | 22519 (value) { completer.complete(value); }, |
| 21800 (error) { completer.completeError(error); }); | 22520 (error) { completer.completeError(error); }); |
| 21801 return completer.future; | 22521 return completer.future; |
| 21802 } | 22522 } |
| 21803 | 22523 |
| 21804 @DomName('Window.onDOMContentLoaded') | 22524 @DomName('Window.onDOMContentLoaded') |
| 21805 @DocsEditable | 22525 @DocsEditable |
| 22526 @Experimental // untriaged | |
| 21806 Stream<Event> get onContentLoaded => contentLoadedEvent.forTarget(this); | 22527 Stream<Event> get onContentLoaded => contentLoadedEvent.forTarget(this); |
| 21807 | 22528 |
| 21808 @DomName('Window.onabort') | 22529 @DomName('Window.onabort') |
| 21809 @DocsEditable | 22530 @DocsEditable |
| 21810 Stream<Event> get onAbort => Element.abortEvent.forTarget(this); | 22531 Stream<Event> get onAbort => Element.abortEvent.forTarget(this); |
| 21811 | 22532 |
| 21812 @DomName('Window.onblur') | 22533 @DomName('Window.onblur') |
| 21813 @DocsEditable | 22534 @DocsEditable |
| 21814 Stream<Event> get onBlur => Element.blurEvent.forTarget(this); | 22535 Stream<Event> get onBlur => Element.blurEvent.forTarget(this); |
| 21815 | 22536 |
| 21816 @DomName('Window.onchange') | 22537 @DomName('Window.onchange') |
| 21817 @DocsEditable | 22538 @DocsEditable |
| 21818 Stream<Event> get onChange => Element.changeEvent.forTarget(this); | 22539 Stream<Event> get onChange => Element.changeEvent.forTarget(this); |
| 21819 | 22540 |
| 21820 @DomName('Window.onclick') | 22541 @DomName('Window.onclick') |
| 21821 @DocsEditable | 22542 @DocsEditable |
| 21822 Stream<MouseEvent> get onClick => Element.clickEvent.forTarget(this); | 22543 Stream<MouseEvent> get onClick => Element.clickEvent.forTarget(this); |
| 21823 | 22544 |
| 21824 @DomName('Window.oncontextmenu') | 22545 @DomName('Window.oncontextmenu') |
| 21825 @DocsEditable | 22546 @DocsEditable |
| 21826 Stream<MouseEvent> get onContextMenu => Element.contextMenuEvent.forTarget(thi s); | 22547 Stream<MouseEvent> get onContextMenu => Element.contextMenuEvent.forTarget(thi s); |
| 21827 | 22548 |
| 21828 @DomName('Window.ondblclick') | 22549 @DomName('Window.ondblclick') |
| 21829 @DocsEditable | 22550 @DocsEditable |
| 21830 Stream<Event> get onDoubleClick => Element.doubleClickEvent.forTarget(this); | 22551 Stream<Event> get onDoubleClick => Element.doubleClickEvent.forTarget(this); |
| 21831 | 22552 |
| 21832 @DomName('Window.ondevicemotion') | 22553 @DomName('Window.ondevicemotion') |
| 21833 @DocsEditable | 22554 @DocsEditable |
| 22555 // http://dev.w3.org/geo/api/spec-source-orientation.html#devicemotion | |
| 22556 @Experimental | |
| 21834 Stream<DeviceMotionEvent> get onDeviceMotion => deviceMotionEvent.forTarget(th is); | 22557 Stream<DeviceMotionEvent> get onDeviceMotion => deviceMotionEvent.forTarget(th is); |
| 21835 | 22558 |
| 21836 @DomName('Window.ondeviceorientation') | 22559 @DomName('Window.ondeviceorientation') |
| 21837 @DocsEditable | 22560 @DocsEditable |
| 22561 // http://dev.w3.org/geo/api/spec-source-orientation.html#devicemotion | |
| 22562 @Experimental | |
| 21838 Stream<DeviceOrientationEvent> get onDeviceOrientation => deviceOrientationEve nt.forTarget(this); | 22563 Stream<DeviceOrientationEvent> get onDeviceOrientation => deviceOrientationEve nt.forTarget(this); |
| 21839 | 22564 |
| 21840 @DomName('Window.ondrag') | 22565 @DomName('Window.ondrag') |
| 21841 @DocsEditable | 22566 @DocsEditable |
| 21842 Stream<MouseEvent> get onDrag => Element.dragEvent.forTarget(this); | 22567 Stream<MouseEvent> get onDrag => Element.dragEvent.forTarget(this); |
| 21843 | 22568 |
| 21844 @DomName('Window.ondragend') | 22569 @DomName('Window.ondragend') |
| 21845 @DocsEditable | 22570 @DocsEditable |
| 21846 Stream<MouseEvent> get onDragEnd => Element.dragEndEvent.forTarget(this); | 22571 Stream<MouseEvent> get onDragEnd => Element.dragEndEvent.forTarget(this); |
| 21847 | 22572 |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 21956 @DomName('Window.onresize') | 22681 @DomName('Window.onresize') |
| 21957 @DocsEditable | 22682 @DocsEditable |
| 21958 Stream<Event> get onResize => resizeEvent.forTarget(this); | 22683 Stream<Event> get onResize => resizeEvent.forTarget(this); |
| 21959 | 22684 |
| 21960 @DomName('Window.onscroll') | 22685 @DomName('Window.onscroll') |
| 21961 @DocsEditable | 22686 @DocsEditable |
| 21962 Stream<Event> get onScroll => Element.scrollEvent.forTarget(this); | 22687 Stream<Event> get onScroll => Element.scrollEvent.forTarget(this); |
| 21963 | 22688 |
| 21964 @DomName('Window.onsearch') | 22689 @DomName('Window.onsearch') |
| 21965 @DocsEditable | 22690 @DocsEditable |
| 22691 // http://www.w3.org/TR/html-markup/input.search.html | |
| 22692 @Experimental | |
| 21966 Stream<Event> get onSearch => Element.searchEvent.forTarget(this); | 22693 Stream<Event> get onSearch => Element.searchEvent.forTarget(this); |
| 21967 | 22694 |
| 21968 @DomName('Window.onselect') | 22695 @DomName('Window.onselect') |
| 21969 @DocsEditable | 22696 @DocsEditable |
| 21970 Stream<Event> get onSelect => Element.selectEvent.forTarget(this); | 22697 Stream<Event> get onSelect => Element.selectEvent.forTarget(this); |
| 21971 | 22698 |
| 21972 @DomName('Window.onstorage') | 22699 @DomName('Window.onstorage') |
| 21973 @DocsEditable | 22700 @DocsEditable |
| 21974 Stream<StorageEvent> get onStorage => storageEvent.forTarget(this); | 22701 Stream<StorageEvent> get onStorage => storageEvent.forTarget(this); |
| 21975 | 22702 |
| 21976 @DomName('Window.onsubmit') | 22703 @DomName('Window.onsubmit') |
| 21977 @DocsEditable | 22704 @DocsEditable |
| 21978 Stream<Event> get onSubmit => Element.submitEvent.forTarget(this); | 22705 Stream<Event> get onSubmit => Element.submitEvent.forTarget(this); |
| 21979 | 22706 |
| 21980 @DomName('Window.ontouchcancel') | 22707 @DomName('Window.ontouchcancel') |
| 21981 @DocsEditable | 22708 @DocsEditable |
| 22709 // http://www.w3.org/TR/touch-events/ | |
| 22710 @Experimental | |
| 21982 Stream<TouchEvent> get onTouchCancel => Element.touchCancelEvent.forTarget(thi s); | 22711 Stream<TouchEvent> get onTouchCancel => Element.touchCancelEvent.forTarget(thi s); |
| 21983 | 22712 |
| 21984 @DomName('Window.ontouchend') | 22713 @DomName('Window.ontouchend') |
| 21985 @DocsEditable | 22714 @DocsEditable |
| 22715 // http://www.w3.org/TR/touch-events/ | |
| 22716 @Experimental | |
| 21986 Stream<TouchEvent> get onTouchEnd => Element.touchEndEvent.forTarget(this); | 22717 Stream<TouchEvent> get onTouchEnd => Element.touchEndEvent.forTarget(this); |
| 21987 | 22718 |
| 21988 @DomName('Window.ontouchmove') | 22719 @DomName('Window.ontouchmove') |
| 21989 @DocsEditable | 22720 @DocsEditable |
| 22721 // http://www.w3.org/TR/touch-events/ | |
| 22722 @Experimental | |
| 21990 Stream<TouchEvent> get onTouchMove => Element.touchMoveEvent.forTarget(this); | 22723 Stream<TouchEvent> get onTouchMove => Element.touchMoveEvent.forTarget(this); |
| 21991 | 22724 |
| 21992 @DomName('Window.ontouchstart') | 22725 @DomName('Window.ontouchstart') |
| 21993 @DocsEditable | 22726 @DocsEditable |
| 22727 // http://www.w3.org/TR/touch-events/ | |
| 22728 @Experimental | |
| 21994 Stream<TouchEvent> get onTouchStart => Element.touchStartEvent.forTarget(this) ; | 22729 Stream<TouchEvent> get onTouchStart => Element.touchStartEvent.forTarget(this) ; |
| 21995 | 22730 |
| 21996 @DomName('Window.onunload') | 22731 @DomName('Window.onunload') |
| 21997 @DocsEditable | 22732 @DocsEditable |
| 21998 Stream<Event> get onUnload => unloadEvent.forTarget(this); | 22733 Stream<Event> get onUnload => unloadEvent.forTarget(this); |
| 21999 | 22734 |
| 22000 @DomName('Window.onwebkitAnimationEnd') | 22735 @DomName('Window.onwebkitAnimationEnd') |
| 22001 @DocsEditable | 22736 @DocsEditable |
| 22737 @Experimental // untriaged | |
| 22002 Stream<AnimationEvent> get onAnimationEnd => animationEndEvent.forTarget(this) ; | 22738 Stream<AnimationEvent> get onAnimationEnd => animationEndEvent.forTarget(this) ; |
| 22003 | 22739 |
| 22004 @DomName('Window.onwebkitAnimationIteration') | 22740 @DomName('Window.onwebkitAnimationIteration') |
| 22005 @DocsEditable | 22741 @DocsEditable |
| 22742 @Experimental // untriaged | |
| 22006 Stream<AnimationEvent> get onAnimationIteration => animationIterationEvent.for Target(this); | 22743 Stream<AnimationEvent> get onAnimationIteration => animationIterationEvent.for Target(this); |
| 22007 | 22744 |
| 22008 @DomName('Window.onwebkitAnimationStart') | 22745 @DomName('Window.onwebkitAnimationStart') |
| 22009 @DocsEditable | 22746 @DocsEditable |
| 22747 @Experimental // untriaged | |
| 22010 Stream<AnimationEvent> get onAnimationStart => animationStartEvent.forTarget(t his); | 22748 Stream<AnimationEvent> get onAnimationStart => animationStartEvent.forTarget(t his); |
| 22011 | 22749 |
| 22012 @DomName('Window.onwebkitTransitionEnd') | 22750 @DomName('Window.onwebkitTransitionEnd') |
| 22013 @DocsEditable | 22751 @DocsEditable |
| 22752 @Deprecated | |
| 22014 Stream<TransitionEvent> get onTransitionEnd => Element.transitionEndEvent.forT arget(this); | 22753 Stream<TransitionEvent> get onTransitionEnd => Element.transitionEndEvent.forT arget(this); |
| 22015 | 22754 |
| 22016 | 22755 |
| 22017 @DomName('DOMWindow.beforeunloadEvent') | 22756 @DomName('DOMWindow.beforeunloadEvent') |
| 22018 @DocsEditable | 22757 @DocsEditable |
| 22019 static const EventStreamProvider<BeforeUnloadEvent> beforeUnloadEvent = | 22758 static const EventStreamProvider<BeforeUnloadEvent> beforeUnloadEvent = |
| 22020 const _BeforeUnloadEventStreamProvider('beforeunload'); | 22759 const _BeforeUnloadEventStreamProvider('beforeunload'); |
| 22021 | 22760 |
| 22022 @DomName('DOMWindow.onbeforeunload') | 22761 @DomName('DOMWindow.onbeforeunload') |
| 22023 @DocsEditable | 22762 @DocsEditable |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 22082 // for details. All rights reserved. Use of this source code is governed by a | 22821 // for details. All rights reserved. Use of this source code is governed by a |
| 22083 // BSD-style license that can be found in the LICENSE file. | 22822 // BSD-style license that can be found in the LICENSE file. |
| 22084 | 22823 |
| 22085 | 22824 |
| 22086 @DocsEditable | 22825 @DocsEditable |
| 22087 @DomName('Worker') | 22826 @DomName('Worker') |
| 22088 @SupportedBrowser(SupportedBrowser.CHROME) | 22827 @SupportedBrowser(SupportedBrowser.CHROME) |
| 22089 @SupportedBrowser(SupportedBrowser.FIREFOX) | 22828 @SupportedBrowser(SupportedBrowser.FIREFOX) |
| 22090 @SupportedBrowser(SupportedBrowser.IE, '10') | 22829 @SupportedBrowser(SupportedBrowser.IE, '10') |
| 22091 @SupportedBrowser(SupportedBrowser.SAFARI) | 22830 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 22831 // http://www.whatwg.org/specs/web-apps/current-work/multipage/workers.html#work er | |
| 22832 @Experimental // stable | |
| 22092 class Worker extends AbstractWorker native "Worker" { | 22833 class Worker extends AbstractWorker native "Worker" { |
| 22093 | 22834 |
| 22094 @DomName('Worker.messageEvent') | 22835 @DomName('Worker.messageEvent') |
| 22095 @DocsEditable | 22836 @DocsEditable |
| 22096 static const EventStreamProvider<MessageEvent> messageEvent = const EventStrea mProvider<MessageEvent>('message'); | 22837 static const EventStreamProvider<MessageEvent> messageEvent = const EventStrea mProvider<MessageEvent>('message'); |
| 22097 | 22838 |
| 22098 @DomName('Worker.Worker') | 22839 @DomName('Worker.Worker') |
| 22099 @DocsEditable | 22840 @DocsEditable |
| 22100 factory Worker(String scriptUrl) { | 22841 factory Worker(String scriptUrl) { |
| 22101 return Worker._create_1(scriptUrl); | 22842 return Worker._create_1(scriptUrl); |
| (...skipping 15 matching lines...) Expand all Loading... | |
| 22117 @DocsEditable | 22858 @DocsEditable |
| 22118 Stream<MessageEvent> get onMessage => messageEvent.forTarget(this); | 22859 Stream<MessageEvent> get onMessage => messageEvent.forTarget(this); |
| 22119 } | 22860 } |
| 22120 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 22861 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22121 // for details. All rights reserved. Use of this source code is governed by a | 22862 // for details. All rights reserved. Use of this source code is governed by a |
| 22122 // BSD-style license that can be found in the LICENSE file. | 22863 // BSD-style license that can be found in the LICENSE file. |
| 22123 | 22864 |
| 22124 | 22865 |
| 22125 @DocsEditable | 22866 @DocsEditable |
| 22126 @DomName('XPathEvaluator') | 22867 @DomName('XPathEvaluator') |
| 22868 // http://www.w3.org/TR/DOM-Level-3-XPath/xpath.html#XPathEvaluator | |
| 22869 @deprecated // experimental | |
| 22127 class XPathEvaluator native "XPathEvaluator" { | 22870 class XPathEvaluator native "XPathEvaluator" { |
| 22128 | 22871 |
| 22129 @DomName('XPathEvaluator.XPathEvaluator') | 22872 @DomName('XPathEvaluator.XPathEvaluator') |
| 22130 @DocsEditable | 22873 @DocsEditable |
| 22131 factory XPathEvaluator() { | 22874 factory XPathEvaluator() { |
| 22132 return XPathEvaluator._create_1(); | 22875 return XPathEvaluator._create_1(); |
| 22133 } | 22876 } |
| 22134 static XPathEvaluator _create_1() => JS('XPathEvaluator', 'new XPathEvaluator( )'); | 22877 static XPathEvaluator _create_1() => JS('XPathEvaluator', 'new XPathEvaluator( )'); |
| 22135 | 22878 |
| 22136 @DomName('XPathEvaluator.createExpression') | 22879 @DomName('XPathEvaluator.createExpression') |
| 22137 @DocsEditable | 22880 @DocsEditable |
| 22138 XPathExpression createExpression(String expression, XPathNSResolver resolver) native; | 22881 XPathExpression createExpression(String expression, XPathNSResolver resolver) native; |
| 22139 | 22882 |
| 22140 @DomName('XPathEvaluator.createNSResolver') | 22883 @DomName('XPathEvaluator.createNSResolver') |
| 22141 @DocsEditable | 22884 @DocsEditable |
| 22142 XPathNSResolver createNSResolver(Node nodeResolver) native; | 22885 XPathNSResolver createNSResolver(Node nodeResolver) native; |
| 22143 | 22886 |
| 22144 @DomName('XPathEvaluator.evaluate') | 22887 @DomName('XPathEvaluator.evaluate') |
| 22145 @DocsEditable | 22888 @DocsEditable |
| 22146 XPathResult evaluate(String expression, Node contextNode, XPathNSResolver reso lver, int type, XPathResult inResult) native; | 22889 XPathResult evaluate(String expression, Node contextNode, XPathNSResolver reso lver, int type, XPathResult inResult) native; |
| 22147 } | 22890 } |
| 22148 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 22891 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22149 // for details. All rights reserved. Use of this source code is governed by a | 22892 // for details. All rights reserved. Use of this source code is governed by a |
| 22150 // BSD-style license that can be found in the LICENSE file. | 22893 // BSD-style license that can be found in the LICENSE file. |
| 22151 | 22894 |
| 22152 | 22895 |
| 22153 @DocsEditable | 22896 @DocsEditable |
| 22154 @DomName('XPathException') | 22897 @DomName('XPathException') |
| 22898 // http://www.w3.org/TR/DOM-Level-3-XPath/xpath.html#XPathException | |
| 22899 @deprecated // experimental | |
| 22155 class XPathException native "XPathException" { | 22900 class XPathException native "XPathException" { |
| 22156 | 22901 |
| 22157 @DomName('XPathException.INVALID_EXPRESSION_ERR') | 22902 @DomName('XPathException.INVALID_EXPRESSION_ERR') |
| 22158 @DocsEditable | 22903 @DocsEditable |
| 22159 static const int INVALID_EXPRESSION_ERR = 51; | 22904 static const int INVALID_EXPRESSION_ERR = 51; |
| 22160 | 22905 |
| 22161 @DomName('XPathException.TYPE_ERR') | 22906 @DomName('XPathException.TYPE_ERR') |
| 22162 @DocsEditable | 22907 @DocsEditable |
| 22163 static const int TYPE_ERR = 52; | 22908 static const int TYPE_ERR = 52; |
| 22164 | 22909 |
| 22165 @DomName('XPathException.code') | 22910 @DomName('XPathException.code') |
| 22166 @DocsEditable | 22911 @DocsEditable |
| 22167 final int code; | 22912 final int code; |
| 22168 | 22913 |
| 22169 @DomName('XPathException.message') | 22914 @DomName('XPathException.message') |
| 22170 @DocsEditable | 22915 @DocsEditable |
| 22916 @Experimental // non-standard | |
| 22171 final String message; | 22917 final String message; |
| 22172 | 22918 |
| 22173 @DomName('XPathException.name') | 22919 @DomName('XPathException.name') |
| 22174 @DocsEditable | 22920 @DocsEditable |
| 22921 @Experimental // non-standard | |
| 22175 final String name; | 22922 final String name; |
| 22176 | 22923 |
| 22177 @DomName('XPathException.toString') | 22924 @DomName('XPathException.toString') |
| 22178 @DocsEditable | 22925 @DocsEditable |
| 22179 String toString() native; | 22926 String toString() native; |
| 22180 } | 22927 } |
| 22181 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 22928 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22182 // for details. All rights reserved. Use of this source code is governed by a | 22929 // for details. All rights reserved. Use of this source code is governed by a |
| 22183 // BSD-style license that can be found in the LICENSE file. | 22930 // BSD-style license that can be found in the LICENSE file. |
| 22184 | 22931 |
| 22185 | 22932 |
| 22186 @DocsEditable | 22933 @DocsEditable |
| 22187 @DomName('XPathExpression') | 22934 @DomName('XPathExpression') |
| 22935 // http://www.w3.org/TR/DOM-Level-3-XPath/xpath.html#XPathExpression | |
| 22936 @deprecated // experimental | |
| 22188 class XPathExpression native "XPathExpression" { | 22937 class XPathExpression native "XPathExpression" { |
| 22189 | 22938 |
| 22190 @DomName('XPathExpression.evaluate') | 22939 @DomName('XPathExpression.evaluate') |
| 22191 @DocsEditable | 22940 @DocsEditable |
| 22192 XPathResult evaluate(Node contextNode, int type, XPathResult inResult) native; | 22941 XPathResult evaluate(Node contextNode, int type, XPathResult inResult) native; |
| 22193 } | 22942 } |
| 22194 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 22943 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22195 // for details. All rights reserved. Use of this source code is governed by a | 22944 // for details. All rights reserved. Use of this source code is governed by a |
| 22196 // BSD-style license that can be found in the LICENSE file. | 22945 // BSD-style license that can be found in the LICENSE file. |
| 22197 | 22946 |
| 22198 | 22947 |
| 22199 @DocsEditable | 22948 @DocsEditable |
| 22200 @DomName('XPathNSResolver') | 22949 @DomName('XPathNSResolver') |
| 22950 // http://www.w3.org/TR/DOM-Level-3-XPath/xpath.html#XPathNSResolver | |
| 22951 @deprecated // experimental | |
| 22201 class XPathNSResolver native "XPathNSResolver" { | 22952 class XPathNSResolver native "XPathNSResolver" { |
| 22202 | 22953 |
| 22203 @JSName('lookupNamespaceURI') | 22954 @JSName('lookupNamespaceURI') |
| 22204 @DomName('XPathNSResolver.lookupNamespaceURI') | 22955 @DomName('XPathNSResolver.lookupNamespaceURI') |
| 22205 @DocsEditable | 22956 @DocsEditable |
| 22206 String lookupNamespaceUri(String prefix) native; | 22957 String lookupNamespaceUri(String prefix) native; |
| 22207 } | 22958 } |
| 22208 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 22959 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22209 // for details. All rights reserved. Use of this source code is governed by a | 22960 // for details. All rights reserved. Use of this source code is governed by a |
| 22210 // BSD-style license that can be found in the LICENSE file. | 22961 // BSD-style license that can be found in the LICENSE file. |
| 22211 | 22962 |
| 22212 | 22963 |
| 22213 @DocsEditable | 22964 @DocsEditable |
| 22214 @DomName('XPathResult') | 22965 @DomName('XPathResult') |
| 22966 // http://www.w3.org/TR/DOM-Level-3-XPath/xpath.html#XPathResult | |
| 22967 @deprecated // experimental | |
| 22215 class XPathResult native "XPathResult" { | 22968 class XPathResult native "XPathResult" { |
| 22216 | 22969 |
| 22217 @DomName('XPathResult.ANY_TYPE') | 22970 @DomName('XPathResult.ANY_TYPE') |
| 22218 @DocsEditable | 22971 @DocsEditable |
| 22219 static const int ANY_TYPE = 0; | 22972 static const int ANY_TYPE = 0; |
| 22220 | 22973 |
| 22221 @DomName('XPathResult.ANY_UNORDERED_NODE_TYPE') | 22974 @DomName('XPathResult.ANY_UNORDERED_NODE_TYPE') |
| 22222 @DocsEditable | 22975 @DocsEditable |
| 22223 static const int ANY_UNORDERED_NODE_TYPE = 8; | 22976 static const int ANY_UNORDERED_NODE_TYPE = 8; |
| 22224 | 22977 |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 22290 @DocsEditable | 23043 @DocsEditable |
| 22291 Node snapshotItem(int index) native; | 23044 Node snapshotItem(int index) native; |
| 22292 } | 23045 } |
| 22293 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 23046 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22294 // for details. All rights reserved. Use of this source code is governed by a | 23047 // for details. All rights reserved. Use of this source code is governed by a |
| 22295 // BSD-style license that can be found in the LICENSE file. | 23048 // BSD-style license that can be found in the LICENSE file. |
| 22296 | 23049 |
| 22297 | 23050 |
| 22298 @DocsEditable | 23051 @DocsEditable |
| 22299 @DomName('XMLSerializer') | 23052 @DomName('XMLSerializer') |
| 23053 // http://domparsing.spec.whatwg.org/#the-xmlserializer-interface | |
| 23054 @deprecated // stable | |
| 22300 class XmlSerializer native "XMLSerializer" { | 23055 class XmlSerializer native "XMLSerializer" { |
| 22301 | 23056 |
| 22302 @DomName('XMLSerializer.XMLSerializer') | 23057 @DomName('XMLSerializer.XMLSerializer') |
| 22303 @DocsEditable | 23058 @DocsEditable |
| 22304 factory XmlSerializer() { | 23059 factory XmlSerializer() { |
| 22305 return XmlSerializer._create_1(); | 23060 return XmlSerializer._create_1(); |
| 22306 } | 23061 } |
| 22307 static XmlSerializer _create_1() => JS('XmlSerializer', 'new XMLSerializer()') ; | 23062 static XmlSerializer _create_1() => JS('XmlSerializer', 'new XMLSerializer()') ; |
| 22308 | 23063 |
| 22309 @DomName('XMLSerializer.serializeToString') | 23064 @DomName('XMLSerializer.serializeToString') |
| 22310 @DocsEditable | 23065 @DocsEditable |
| 22311 String serializeToString(Node node) native; | 23066 String serializeToString(Node node) native; |
| 22312 } | 23067 } |
| 22313 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 23068 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22314 // for details. All rights reserved. Use of this source code is governed by a | 23069 // for details. All rights reserved. Use of this source code is governed by a |
| 22315 // BSD-style license that can be found in the LICENSE file. | 23070 // BSD-style license that can be found in the LICENSE file. |
| 22316 | 23071 |
| 22317 | 23072 |
| 22318 @DocsEditable | 23073 @DocsEditable |
| 22319 @DomName('XSLTProcessor') | 23074 @DomName('XSLTProcessor') |
| 22320 @SupportedBrowser(SupportedBrowser.CHROME) | 23075 @SupportedBrowser(SupportedBrowser.CHROME) |
| 22321 @SupportedBrowser(SupportedBrowser.FIREFOX) | 23076 @SupportedBrowser(SupportedBrowser.FIREFOX) |
| 22322 @SupportedBrowser(SupportedBrowser.SAFARI) | 23077 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 23078 @deprecated // nonstandard | |
| 22323 class XsltProcessor native "XSLTProcessor" { | 23079 class XsltProcessor native "XSLTProcessor" { |
| 22324 | 23080 |
| 22325 @DomName('XSLTProcessor.XSLTProcessor') | 23081 @DomName('XSLTProcessor.XSLTProcessor') |
| 22326 @DocsEditable | 23082 @DocsEditable |
| 22327 factory XsltProcessor() { | 23083 factory XsltProcessor() { |
| 22328 return XsltProcessor._create_1(); | 23084 return XsltProcessor._create_1(); |
| 22329 } | 23085 } |
| 22330 static XsltProcessor _create_1() => JS('XsltProcessor', 'new XSLTProcessor()') ; | 23086 static XsltProcessor _create_1() => JS('XsltProcessor', 'new XSLTProcessor()') ; |
| 22331 | 23087 |
| 22332 /// Checks if this type is supported on the current platform. | 23088 /// Checks if this type is supported on the current platform. |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 22364 @DocsEditable | 23120 @DocsEditable |
| 22365 DocumentFragment transformToFragment(Node source, Document docVal) native; | 23121 DocumentFragment transformToFragment(Node source, Document docVal) native; |
| 22366 } | 23122 } |
| 22367 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 23123 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22368 // for details. All rights reserved. Use of this source code is governed by a | 23124 // for details. All rights reserved. Use of this source code is governed by a |
| 22369 // BSD-style license that can be found in the LICENSE file. | 23125 // BSD-style license that can be found in the LICENSE file. |
| 22370 | 23126 |
| 22371 | 23127 |
| 22372 @DocsEditable | 23128 @DocsEditable |
| 22373 @DomName('CSSPrimitiveValue') | 23129 @DomName('CSSPrimitiveValue') |
| 23130 // http://dev.w3.org/csswg/cssom/#the-cssstyledeclaration-interface | |
| 23131 @deprecated // deprecated | |
| 22374 abstract class _CSSPrimitiveValue extends _CSSValue native "CSSPrimitiveValue" { | 23132 abstract class _CSSPrimitiveValue extends _CSSValue native "CSSPrimitiveValue" { |
| 22375 } | 23133 } |
| 22376 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 23134 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22377 // for details. All rights reserved. Use of this source code is governed by a | 23135 // for details. All rights reserved. Use of this source code is governed by a |
| 22378 // BSD-style license that can be found in the LICENSE file. | 23136 // BSD-style license that can be found in the LICENSE file. |
| 22379 | 23137 |
| 22380 | 23138 |
| 22381 @DocsEditable | 23139 @DocsEditable |
| 22382 @DomName('CSSValue') | 23140 @DomName('CSSValue') |
| 23141 // http://dev.w3.org/csswg/cssom/ | |
| 23142 @deprecated // deprecated | |
| 22383 abstract class _CSSValue native "CSSValue" { | 23143 abstract class _CSSValue native "CSSValue" { |
| 22384 } | 23144 } |
| 22385 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 23145 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 22386 // for details. All rights reserved. Use of this source code is governed by a | 23146 // for details. All rights reserved. Use of this source code is governed by a |
| 22387 // BSD-style license that can be found in the LICENSE file. | 23147 // BSD-style license that can be found in the LICENSE file. |
| 22388 | 23148 |
| 22389 | 23149 |
| 22390 @DocsEditable | 23150 @DocsEditable |
| 22391 @DomName('ClientRect') | 23151 @DomName('ClientRect') |
| 22392 class _ClientRect implements Rect native "ClientRect" { | 23152 class _ClientRect implements Rect native "ClientRect" { |
| (...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 22568 @DocsEditable | 23328 @DocsEditable |
| 22569 Rect item(int index) native; | 23329 Rect item(int index) native; |
| 22570 } | 23330 } |
| 22571 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 23331 // 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 | 23332 // 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. | 23333 // BSD-style license that can be found in the LICENSE file. |
| 22574 | 23334 |
| 22575 | 23335 |
| 22576 @DocsEditable | 23336 @DocsEditable |
| 22577 @DomName('Counter') | 23337 @DomName('Counter') |
| 23338 // http://dev.w3.org/csswg/cssom/ | |
| 23339 @deprecated // deprecated | |
| 22578 abstract class _Counter native "Counter" { | 23340 abstract class _Counter native "Counter" { |
| 22579 } | 23341 } |
| 22580 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 23342 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22581 // for details. All rights reserved. Use of this source code is governed by a | 23343 // for details. All rights reserved. Use of this source code is governed by a |
| 22582 // BSD-style license that can be found in the LICENSE file. | 23344 // BSD-style license that can be found in the LICENSE file. |
| 22583 | 23345 |
| 22584 | 23346 |
| 22585 @DocsEditable | 23347 @DocsEditable |
| 22586 @DomName('CSSRuleList') | 23348 @DomName('CSSRuleList') |
| 22587 class _CssRuleList extends Object with ListMixin<CssRule>, ImmutableListMixin<Cs sRule> implements JavaScriptIndexingBehavior, List<CssRule> native "CSSRuleList" { | 23349 class _CssRuleList extends Object with ListMixin<CssRule>, ImmutableListMixin<Cs sRule> implements JavaScriptIndexingBehavior, List<CssRule> native "CSSRuleList" { |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 22638 @DocsEditable | 23400 @DocsEditable |
| 22639 CssRule item(int index) native; | 23401 CssRule item(int index) native; |
| 22640 } | 23402 } |
| 22641 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 23403 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22642 // for details. All rights reserved. Use of this source code is governed by a | 23404 // for details. All rights reserved. Use of this source code is governed by a |
| 22643 // BSD-style license that can be found in the LICENSE file. | 23405 // BSD-style license that can be found in the LICENSE file. |
| 22644 | 23406 |
| 22645 | 23407 |
| 22646 @DocsEditable | 23408 @DocsEditable |
| 22647 @DomName('CSSValueList') | 23409 @DomName('CSSValueList') |
| 23410 // http://dev.w3.org/csswg/cssom/ | |
| 23411 @deprecated // deprecated | |
| 22648 class _CssValueList extends _CSSValue with ListMixin<_CSSValue>, ImmutableListMi xin<_CSSValue> implements JavaScriptIndexingBehavior, List<_CSSValue> native "CS SValueList" { | 23412 class _CssValueList extends _CSSValue with ListMixin<_CSSValue>, ImmutableListMi xin<_CSSValue> implements JavaScriptIndexingBehavior, List<_CSSValue> native "CS SValueList" { |
| 22649 | 23413 |
| 22650 @DomName('CSSValueList.length') | 23414 @DomName('CSSValueList.length') |
| 22651 @DocsEditable | 23415 @DocsEditable |
| 22652 int get length => JS("int", "#.length", this); | 23416 int get length => JS("int", "#.length", this); |
| 22653 | 23417 |
| 22654 _CSSValue operator[](int index) { | 23418 _CSSValue operator[](int index) { |
| 22655 if (JS("bool", "# >>> 0 !== # || # >= #", index, | 23419 if (JS("bool", "# >>> 0 !== # || # >= #", index, |
| 22656 index, index, length)) | 23420 index, index, length)) |
| 22657 throw new RangeError.range(index, 0, length); | 23421 throw new RangeError.range(index, 0, length); |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 22701 } | 23465 } |
| 22702 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 23466 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22703 // for details. All rights reserved. Use of this source code is governed by a | 23467 // for details. All rights reserved. Use of this source code is governed by a |
| 22704 // BSD-style license that can be found in the LICENSE file. | 23468 // BSD-style license that can be found in the LICENSE file. |
| 22705 | 23469 |
| 22706 | 23470 |
| 22707 @DocsEditable | 23471 @DocsEditable |
| 22708 @DomName('DOMFileSystemSync') | 23472 @DomName('DOMFileSystemSync') |
| 22709 @SupportedBrowser(SupportedBrowser.CHROME) | 23473 @SupportedBrowser(SupportedBrowser.CHROME) |
| 22710 @Experimental | 23474 @Experimental |
| 23475 // http://www.w3.org/TR/file-system-api/#the-filesystemsync-interface | |
| 22711 abstract class _DOMFileSystemSync native "DOMFileSystemSync" { | 23476 abstract class _DOMFileSystemSync native "DOMFileSystemSync" { |
| 22712 } | 23477 } |
| 22713 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 23478 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22714 // for details. All rights reserved. Use of this source code is governed by a | 23479 // for details. All rights reserved. Use of this source code is governed by a |
| 22715 // BSD-style license that can be found in the LICENSE file. | 23480 // BSD-style license that can be found in the LICENSE file. |
| 22716 | 23481 |
| 22717 | 23482 |
| 22718 @DocsEditable | 23483 @DocsEditable |
| 22719 @DomName('DatabaseSync') | 23484 @DomName('DatabaseSync') |
| 22720 @SupportedBrowser(SupportedBrowser.CHROME) | 23485 @SupportedBrowser(SupportedBrowser.CHROME) |
| 22721 @SupportedBrowser(SupportedBrowser.SAFARI) | 23486 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 22722 @Experimental | 23487 @Experimental |
| 23488 // http://www.w3.org/TR/webdatabase/#databasesync | |
| 23489 @deprecated // deprecated | |
| 22723 abstract class _DatabaseSync native "DatabaseSync" { | 23490 abstract class _DatabaseSync native "DatabaseSync" { |
| 22724 } | 23491 } |
| 22725 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 23492 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22726 // for details. All rights reserved. Use of this source code is governed by a | 23493 // for details. All rights reserved. Use of this source code is governed by a |
| 22727 // BSD-style license that can be found in the LICENSE file. | 23494 // BSD-style license that can be found in the LICENSE file. |
| 22728 | 23495 |
| 22729 | 23496 |
| 22730 @DocsEditable | 23497 @DocsEditable |
| 22731 @DomName('DedicatedWorkerContext') | 23498 @DomName('DedicatedWorkerContext') |
| 23499 // http://www.whatwg.org/specs/web-apps/current-work/multipage/workers.html | |
| 23500 @Experimental | |
| 22732 abstract class _DedicatedWorkerContext extends _WorkerContext native "DedicatedW orkerContext" { | 23501 abstract class _DedicatedWorkerContext extends _WorkerContext native "DedicatedW orkerContext" { |
| 22733 } | 23502 } |
| 22734 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 23503 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22735 // for details. All rights reserved. Use of this source code is governed by a | 23504 // for details. All rights reserved. Use of this source code is governed by a |
| 22736 // BSD-style license that can be found in the LICENSE file. | 23505 // BSD-style license that can be found in the LICENSE file. |
| 22737 | 23506 |
| 22738 | 23507 |
| 22739 @DocsEditable | 23508 @DocsEditable |
| 22740 @DomName('DirectoryEntrySync') | 23509 @DomName('DirectoryEntrySync') |
| 23510 // http://www.w3.org/TR/file-system-api/#the-directoryentrysync-interface | |
| 23511 @Experimental | |
| 22741 abstract class _DirectoryEntrySync extends _EntrySync native "DirectoryEntrySync " { | 23512 abstract class _DirectoryEntrySync extends _EntrySync native "DirectoryEntrySync " { |
| 22742 } | 23513 } |
| 22743 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 23514 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22744 // for details. All rights reserved. Use of this source code is governed by a | 23515 // for details. All rights reserved. Use of this source code is governed by a |
| 22745 // BSD-style license that can be found in the LICENSE file. | 23516 // BSD-style license that can be found in the LICENSE file. |
| 22746 | 23517 |
| 22747 | 23518 |
| 22748 @DocsEditable | 23519 @DocsEditable |
| 22749 @DomName('DirectoryReaderSync') | 23520 @DomName('DirectoryReaderSync') |
| 23521 // http://www.w3.org/TR/file-system-api/#idl-def-DirectoryReaderSync | |
| 23522 @Experimental | |
| 22750 abstract class _DirectoryReaderSync native "DirectoryReaderSync" { | 23523 abstract class _DirectoryReaderSync native "DirectoryReaderSync" { |
| 22751 } | 23524 } |
| 22752 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 23525 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22753 // for details. All rights reserved. Use of this source code is governed by a | 23526 // for details. All rights reserved. Use of this source code is governed by a |
| 22754 // BSD-style license that can be found in the LICENSE file. | 23527 // BSD-style license that can be found in the LICENSE file. |
| 22755 | 23528 |
| 22756 | 23529 |
| 22757 @DocsEditable | 23530 @DocsEditable |
| 22758 @DomName('WebKitPoint') | 23531 @DomName('WebKitPoint') |
| 22759 @SupportedBrowser(SupportedBrowser.CHROME) | 23532 @SupportedBrowser(SupportedBrowser.CHROME) |
| 22760 @SupportedBrowser(SupportedBrowser.SAFARI) | 23533 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 22761 @Experimental | 23534 @Experimental |
| 23535 // http://developer.apple.com/library/safari/#documentation/DataManagement/Refer ence/DOMWindowAdditionsReference/DOMWindowAdditions/DOMWindowAdditions.html | |
| 23536 @Experimental // non-standard | |
| 22762 class _DomPoint native "WebKitPoint" { | 23537 class _DomPoint native "WebKitPoint" { |
| 22763 | 23538 |
| 22764 @DomName('WebKitPoint.DOMPoint') | 23539 @DomName('WebKitPoint.DOMPoint') |
| 22765 @DocsEditable | 23540 @DocsEditable |
| 22766 factory _DomPoint(num x, num y) { | 23541 factory _DomPoint(num x, num y) { |
| 22767 return _DomPoint._create_1(x, y); | 23542 return _DomPoint._create_1(x, y); |
| 22768 } | 23543 } |
| 22769 static _DomPoint _create_1(x, y) => JS('_DomPoint', 'new WebKitPoint(#,#)', x, y); | 23544 static _DomPoint _create_1(x, y) => JS('_DomPoint', 'new WebKitPoint(#,#)', x, y); |
| 22770 | 23545 |
| 22771 /// Checks if this type is supported on the current platform. | 23546 /// Checks if this type is supported on the current platform. |
| 22772 static bool get supported => JS('bool', '!!(window.WebKitPoint)'); | 23547 static bool get supported => JS('bool', '!!(window.WebKitPoint)'); |
| 22773 | 23548 |
| 22774 @DomName('WebKitPoint.x') | 23549 @DomName('WebKitPoint.x') |
| 22775 @DocsEditable | 23550 @DocsEditable |
| 22776 num x; | 23551 num x; |
| 22777 | 23552 |
| 22778 @DomName('WebKitPoint.y') | 23553 @DomName('WebKitPoint.y') |
| 22779 @DocsEditable | 23554 @DocsEditable |
| 22780 num y; | 23555 num y; |
| 22781 } | 23556 } |
| 22782 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 23557 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22783 // for details. All rights reserved. Use of this source code is governed by a | 23558 // for details. All rights reserved. Use of this source code is governed by a |
| 22784 // BSD-style license that can be found in the LICENSE file. | 23559 // BSD-style license that can be found in the LICENSE file. |
| 22785 | 23560 |
| 22786 | 23561 |
| 22787 @DocsEditable | 23562 @DocsEditable |
| 22788 @DomName('EntityReference') | 23563 @DomName('EntityReference') |
| 23564 @deprecated // deprecated | |
| 22789 abstract class _EntityReference extends Node native "EntityReference" { | 23565 abstract class _EntityReference extends Node native "EntityReference" { |
| 22790 } | 23566 } |
| 22791 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 23567 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22792 // for details. All rights reserved. Use of this source code is governed by a | 23568 // for details. All rights reserved. Use of this source code is governed by a |
| 22793 // BSD-style license that can be found in the LICENSE file. | 23569 // BSD-style license that can be found in the LICENSE file. |
| 22794 | 23570 |
| 22795 | 23571 |
| 22796 @DocsEditable | 23572 @DocsEditable |
| 22797 @DomName('EntryArray') | 23573 @DomName('EntryArray') |
| 23574 // http://www.w3.org/TR/file-system-api/#the-entry-interface | |
| 23575 @Experimental | |
| 22798 class _EntryArray extends Object with ListMixin<Entry>, ImmutableListMixin<Entry > implements JavaScriptIndexingBehavior, List<Entry> native "EntryArray" { | 23576 class _EntryArray extends Object with ListMixin<Entry>, ImmutableListMixin<Entry > implements JavaScriptIndexingBehavior, List<Entry> native "EntryArray" { |
| 22799 | 23577 |
| 22800 @DomName('EntryArray.length') | 23578 @DomName('EntryArray.length') |
| 22801 @DocsEditable | 23579 @DocsEditable |
| 22802 int get length => JS("int", "#.length", this); | 23580 int get length => JS("int", "#.length", this); |
| 22803 | 23581 |
| 22804 Entry operator[](int index) { | 23582 Entry operator[](int index) { |
| 22805 if (JS("bool", "# >>> 0 !== # || # >= #", index, | 23583 if (JS("bool", "# >>> 0 !== # || # >= #", index, |
| 22806 index, index, length)) | 23584 index, index, length)) |
| 22807 throw new RangeError.range(index, 0, length); | 23585 throw new RangeError.range(index, 0, length); |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 22849 @DocsEditable | 23627 @DocsEditable |
| 22850 Entry item(int index) native; | 23628 Entry item(int index) native; |
| 22851 } | 23629 } |
| 22852 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 23630 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22853 // for details. All rights reserved. Use of this source code is governed by a | 23631 // for details. All rights reserved. Use of this source code is governed by a |
| 22854 // BSD-style license that can be found in the LICENSE file. | 23632 // BSD-style license that can be found in the LICENSE file. |
| 22855 | 23633 |
| 22856 | 23634 |
| 22857 @DocsEditable | 23635 @DocsEditable |
| 22858 @DomName('EntryArraySync') | 23636 @DomName('EntryArraySync') |
| 23637 // http://www.w3.org/TR/file-system-api/#idl-def-EntrySync | |
| 23638 @Experimental | |
| 22859 class _EntryArraySync extends Object with ListMixin<_EntrySync>, ImmutableListMi xin<_EntrySync> implements JavaScriptIndexingBehavior, List<_EntrySync> native " EntryArraySync" { | 23639 class _EntryArraySync extends Object with ListMixin<_EntrySync>, ImmutableListMi xin<_EntrySync> implements JavaScriptIndexingBehavior, List<_EntrySync> native " EntryArraySync" { |
| 22860 | 23640 |
| 22861 @DomName('EntryArraySync.length') | 23641 @DomName('EntryArraySync.length') |
| 22862 @DocsEditable | 23642 @DocsEditable |
| 22863 int get length => JS("int", "#.length", this); | 23643 int get length => JS("int", "#.length", this); |
| 22864 | 23644 |
| 22865 _EntrySync operator[](int index) { | 23645 _EntrySync operator[](int index) { |
| 22866 if (JS("bool", "# >>> 0 !== # || # >= #", index, | 23646 if (JS("bool", "# >>> 0 !== # || # >= #", index, |
| 22867 index, index, length)) | 23647 index, index, length)) |
| 22868 throw new RangeError.range(index, 0, length); | 23648 throw new RangeError.range(index, 0, length); |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 22910 @DocsEditable | 23690 @DocsEditable |
| 22911 _EntrySync item(int index) native; | 23691 _EntrySync item(int index) native; |
| 22912 } | 23692 } |
| 22913 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 23693 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22914 // for details. All rights reserved. Use of this source code is governed by a | 23694 // for details. All rights reserved. Use of this source code is governed by a |
| 22915 // BSD-style license that can be found in the LICENSE file. | 23695 // BSD-style license that can be found in the LICENSE file. |
| 22916 | 23696 |
| 22917 | 23697 |
| 22918 @DocsEditable | 23698 @DocsEditable |
| 22919 @DomName('EntrySync') | 23699 @DomName('EntrySync') |
| 23700 // http://www.w3.org/TR/file-system-api/#idl-def-EntrySync | |
| 23701 @Experimental | |
| 22920 abstract class _EntrySync native "EntrySync" { | 23702 abstract class _EntrySync native "EntrySync" { |
| 22921 } | 23703 } |
| 22922 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 23704 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22923 // for details. All rights reserved. Use of this source code is governed by a | 23705 // for details. All rights reserved. Use of this source code is governed by a |
| 22924 // BSD-style license that can be found in the LICENSE file. | 23706 // BSD-style license that can be found in the LICENSE file. |
| 22925 | 23707 |
| 22926 | 23708 |
| 22927 @DocsEditable | 23709 @DocsEditable |
| 22928 @DomName('FileEntrySync') | 23710 @DomName('FileEntrySync') |
| 23711 // http://www.w3.org/TR/file-system-api/#the-fileentrysync-interface | |
| 23712 @Experimental | |
| 22929 abstract class _FileEntrySync extends _EntrySync native "FileEntrySync" { | 23713 abstract class _FileEntrySync extends _EntrySync native "FileEntrySync" { |
| 22930 } | 23714 } |
| 22931 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 23715 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22932 // for details. All rights reserved. Use of this source code is governed by a | 23716 // for details. All rights reserved. Use of this source code is governed by a |
| 22933 // BSD-style license that can be found in the LICENSE file. | 23717 // BSD-style license that can be found in the LICENSE file. |
| 22934 | 23718 |
| 22935 | 23719 |
| 22936 @DocsEditable | 23720 @DocsEditable |
| 22937 @DomName('FileReaderSync') | 23721 @DomName('FileReaderSync') |
| 23722 // http://www.w3.org/TR/FileAPI/#FileReaderSync | |
| 23723 @Experimental | |
| 22938 abstract class _FileReaderSync native "FileReaderSync" { | 23724 abstract class _FileReaderSync native "FileReaderSync" { |
| 22939 | 23725 |
| 22940 @DomName('FileReaderSync.FileReaderSync') | 23726 @DomName('FileReaderSync.FileReaderSync') |
| 22941 @DocsEditable | 23727 @DocsEditable |
| 22942 factory _FileReaderSync() { | 23728 factory _FileReaderSync() { |
| 22943 return _FileReaderSync._create_1(); | 23729 return _FileReaderSync._create_1(); |
| 22944 } | 23730 } |
| 22945 static _FileReaderSync _create_1() => JS('_FileReaderSync', 'new FileReaderSyn c()'); | 23731 static _FileReaderSync _create_1() => JS('_FileReaderSync', 'new FileReaderSyn c()'); |
| 22946 } | 23732 } |
| 22947 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 23733 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22948 // for details. All rights reserved. Use of this source code is governed by a | 23734 // for details. All rights reserved. Use of this source code is governed by a |
| 22949 // BSD-style license that can be found in the LICENSE file. | 23735 // BSD-style license that can be found in the LICENSE file. |
| 22950 | 23736 |
| 22951 | 23737 |
| 22952 @DocsEditable | 23738 @DocsEditable |
| 22953 @DomName('FileWriterSync') | 23739 @DomName('FileWriterSync') |
| 23740 // http://www.w3.org/TR/file-writer-api/#idl-def-FileWriterSync | |
| 23741 @Experimental | |
| 22954 abstract class _FileWriterSync native "FileWriterSync" { | 23742 abstract class _FileWriterSync native "FileWriterSync" { |
| 22955 } | 23743 } |
| 22956 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 23744 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22957 // for details. All rights reserved. Use of this source code is governed by a | 23745 // for details. All rights reserved. Use of this source code is governed by a |
| 22958 // BSD-style license that can be found in the LICENSE file. | 23746 // BSD-style license that can be found in the LICENSE file. |
| 22959 | 23747 |
| 22960 | 23748 |
| 22961 @DocsEditable | 23749 @DocsEditable |
| 22962 @DomName('GamepadList') | 23750 @DomName('GamepadList') |
| 23751 // https://dvcs.w3.org/hg/gamepad/raw-file/default/gamepad.html | |
| 23752 @Experimental | |
| 22963 class _GamepadList extends Object with ListMixin<Gamepad>, ImmutableListMixin<Ga mepad> implements JavaScriptIndexingBehavior, List<Gamepad> native "GamepadList" { | 23753 class _GamepadList extends Object with ListMixin<Gamepad>, ImmutableListMixin<Ga mepad> implements JavaScriptIndexingBehavior, List<Gamepad> native "GamepadList" { |
| 22964 | 23754 |
| 22965 @DomName('GamepadList.length') | 23755 @DomName('GamepadList.length') |
| 22966 @DocsEditable | 23756 @DocsEditable |
| 22967 int get length => JS("int", "#.length", this); | 23757 int get length => JS("int", "#.length", this); |
| 22968 | 23758 |
| 22969 Gamepad operator[](int index) { | 23759 Gamepad operator[](int index) { |
| 22970 if (JS("bool", "# >>> 0 !== # || # >= #", index, | 23760 if (JS("bool", "# >>> 0 !== # || # >= #", index, |
| 22971 index, index, length)) | 23761 index, index, length)) |
| 22972 throw new RangeError.range(index, 0, length); | 23762 throw new RangeError.range(index, 0, length); |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 23014 @DocsEditable | 23804 @DocsEditable |
| 23015 Gamepad item(int index) native; | 23805 Gamepad item(int index) native; |
| 23016 } | 23806 } |
| 23017 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 23807 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23018 // for details. All rights reserved. Use of this source code is governed by a | 23808 // for details. All rights reserved. Use of this source code is governed by a |
| 23019 // BSD-style license that can be found in the LICENSE file. | 23809 // BSD-style license that can be found in the LICENSE file. |
| 23020 | 23810 |
| 23021 | 23811 |
| 23022 @DocsEditable | 23812 @DocsEditable |
| 23023 @DomName('HTMLAppletElement') | 23813 @DomName('HTMLAppletElement') |
| 23814 // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#the -applet-element | |
| 23815 @deprecated // deprecated | |
| 23024 abstract class _HTMLAppletElement extends Element native "HTMLAppletElement" { | 23816 abstract class _HTMLAppletElement extends Element native "HTMLAppletElement" { |
| 23025 } | 23817 } |
| 23026 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 23818 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23027 // for details. All rights reserved. Use of this source code is governed by a | 23819 // for details. All rights reserved. Use of this source code is governed by a |
| 23028 // BSD-style license that can be found in the LICENSE file. | 23820 // BSD-style license that can be found in the LICENSE file. |
| 23029 | 23821 |
| 23030 | 23822 |
| 23031 @DocsEditable | 23823 @DocsEditable |
| 23032 @DomName('HTMLBaseFontElement') | 23824 @DomName('HTMLBaseFontElement') |
| 23825 // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#bas efont | |
| 23826 @deprecated // deprecated | |
| 23033 abstract class _HTMLBaseFontElement extends Element native "HTMLBaseFontElement" { | 23827 abstract class _HTMLBaseFontElement extends Element native "HTMLBaseFontElement" { |
| 23034 } | 23828 } |
| 23035 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 23829 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23036 // for details. All rights reserved. Use of this source code is governed by a | 23830 // for details. All rights reserved. Use of this source code is governed by a |
| 23037 // BSD-style license that can be found in the LICENSE file. | 23831 // BSD-style license that can be found in the LICENSE file. |
| 23038 | 23832 |
| 23039 | 23833 |
| 23040 @DocsEditable | 23834 @DocsEditable |
| 23041 @DomName('HTMLDirectoryElement') | 23835 @DomName('HTMLDirectoryElement') |
| 23836 // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#dir | |
| 23837 @deprecated // deprecated | |
| 23042 abstract class _HTMLDirectoryElement extends Element native "HTMLDirectoryElemen t" { | 23838 abstract class _HTMLDirectoryElement extends Element native "HTMLDirectoryElemen t" { |
| 23043 } | 23839 } |
| 23044 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 23840 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23045 // for details. All rights reserved. Use of this source code is governed by a | 23841 // for details. All rights reserved. Use of this source code is governed by a |
| 23046 // BSD-style license that can be found in the LICENSE file. | 23842 // BSD-style license that can be found in the LICENSE file. |
| 23047 | 23843 |
| 23048 | 23844 |
| 23049 @DocsEditable | 23845 @DocsEditable |
| 23050 @DomName('HTMLFontElement') | 23846 @DomName('HTMLFontElement') |
| 23847 // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#htm lfontelement | |
| 23848 @deprecated // deprecated | |
| 23051 abstract class _HTMLFontElement extends Element native "HTMLFontElement" { | 23849 abstract class _HTMLFontElement extends Element native "HTMLFontElement" { |
| 23052 } | 23850 } |
| 23053 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 23851 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23054 // for details. All rights reserved. Use of this source code is governed by a | 23852 // for details. All rights reserved. Use of this source code is governed by a |
| 23055 // BSD-style license that can be found in the LICENSE file. | 23853 // BSD-style license that can be found in the LICENSE file. |
| 23056 | 23854 |
| 23057 | 23855 |
| 23058 @DocsEditable | 23856 @DocsEditable |
| 23059 @DomName('HTMLFrameElement') | 23857 @DomName('HTMLFrameElement') |
| 23858 // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#htm lframeelement | |
| 23859 @deprecated // deprecated | |
| 23060 abstract class _HTMLFrameElement extends Element native "HTMLFrameElement" { | 23860 abstract class _HTMLFrameElement extends Element native "HTMLFrameElement" { |
| 23061 } | 23861 } |
| 23062 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 23862 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23063 // for details. All rights reserved. Use of this source code is governed by a | 23863 // for details. All rights reserved. Use of this source code is governed by a |
| 23064 // BSD-style license that can be found in the LICENSE file. | 23864 // BSD-style license that can be found in the LICENSE file. |
| 23065 | 23865 |
| 23066 | 23866 |
| 23067 @DocsEditable | 23867 @DocsEditable |
| 23068 @DomName('HTMLFrameSetElement') | 23868 @DomName('HTMLFrameSetElement') |
| 23869 // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#fra meset | |
| 23870 @deprecated // deprecated | |
| 23069 abstract class _HTMLFrameSetElement extends Element native "HTMLFrameSetElement" { | 23871 abstract class _HTMLFrameSetElement extends Element native "HTMLFrameSetElement" { |
| 23070 } | 23872 } |
| 23071 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 23873 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23072 // for details. All rights reserved. Use of this source code is governed by a | 23874 // for details. All rights reserved. Use of this source code is governed by a |
| 23073 // BSD-style license that can be found in the LICENSE file. | 23875 // BSD-style license that can be found in the LICENSE file. |
| 23074 | 23876 |
| 23075 | 23877 |
| 23076 @DocsEditable | 23878 @DocsEditable |
| 23077 @DomName('HTMLMarqueeElement') | 23879 @DomName('HTMLMarqueeElement') |
| 23880 // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#the -marquee-element | |
| 23881 @deprecated // deprecated | |
| 23078 abstract class _HTMLMarqueeElement extends Element native "HTMLMarqueeElement" { | 23882 abstract class _HTMLMarqueeElement extends Element native "HTMLMarqueeElement" { |
| 23079 } | 23883 } |
| 23080 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 23884 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23081 // for details. All rights reserved. Use of this source code is governed by a | 23885 // for details. All rights reserved. Use of this source code is governed by a |
| 23082 // BSD-style license that can be found in the LICENSE file. | 23886 // BSD-style license that can be found in the LICENSE file. |
| 23083 | 23887 |
| 23084 | 23888 |
| 23085 @DocsEditable | 23889 @DocsEditable |
| 23086 @DomName('NamedNodeMap') | 23890 @DomName('NamedNodeMap') |
| 23891 // http://dom.spec.whatwg.org/#namednodemap | |
| 23892 @deprecated // deprecated | |
| 23087 class _NamedNodeMap extends Object with ListMixin<Node>, ImmutableListMixin<Node > implements JavaScriptIndexingBehavior, List<Node> native "NamedNodeMap" { | 23893 class _NamedNodeMap extends Object with ListMixin<Node>, ImmutableListMixin<Node > implements JavaScriptIndexingBehavior, List<Node> native "NamedNodeMap" { |
| 23088 | 23894 |
| 23089 @DomName('NamedNodeMap.length') | 23895 @DomName('NamedNodeMap.length') |
| 23090 @DocsEditable | 23896 @DocsEditable |
| 23091 int get length => JS("int", "#.length", this); | 23897 int get length => JS("int", "#.length", this); |
| 23092 | 23898 |
| 23093 Node operator[](int index) { | 23899 Node operator[](int index) { |
| 23094 if (JS("bool", "# >>> 0 !== # || # >= #", index, | 23900 if (JS("bool", "# >>> 0 !== # || # >= #", index, |
| 23095 index, index, length)) | 23901 index, index, length)) |
| 23096 throw new RangeError.range(index, 0, length); | 23902 throw new RangeError.range(index, 0, length); |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 23162 @DocsEditable | 23968 @DocsEditable |
| 23163 Node setNamedItemNS(Node node) native; | 23969 Node setNamedItemNS(Node node) native; |
| 23164 } | 23970 } |
| 23165 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 23971 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23166 // for details. All rights reserved. Use of this source code is governed by a | 23972 // for details. All rights reserved. Use of this source code is governed by a |
| 23167 // BSD-style license that can be found in the LICENSE file. | 23973 // BSD-style license that can be found in the LICENSE file. |
| 23168 | 23974 |
| 23169 | 23975 |
| 23170 @DocsEditable | 23976 @DocsEditable |
| 23171 @DomName('PagePopupController') | 23977 @DomName('PagePopupController') |
| 23978 @deprecated // nonstandard | |
| 23172 abstract class _PagePopupController native "PagePopupController" { | 23979 abstract class _PagePopupController native "PagePopupController" { |
| 23173 } | 23980 } |
| 23174 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 23981 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23175 // for details. All rights reserved. Use of this source code is governed by a | 23982 // for details. All rights reserved. Use of this source code is governed by a |
| 23176 // BSD-style license that can be found in the LICENSE file. | 23983 // BSD-style license that can be found in the LICENSE file. |
| 23177 | 23984 |
| 23178 | 23985 |
| 23179 @DocsEditable | 23986 @DocsEditable |
| 23180 @DomName('RGBColor') | 23987 @DomName('RGBColor') |
| 23988 // http://dev.w3.org/csswg/cssom/ | |
| 23989 @deprecated // deprecated | |
| 23181 abstract class _RGBColor native "RGBColor" { | 23990 abstract class _RGBColor native "RGBColor" { |
| 23182 } | 23991 } |
| 23183 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 23992 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 23184 // for details. All rights reserved. Use of this source code is governed by a | 23993 // for details. All rights reserved. Use of this source code is governed by a |
| 23185 // BSD-style license that can be found in the LICENSE file. | 23994 // BSD-style license that can be found in the LICENSE file. |
| 23186 | 23995 |
| 23187 | 23996 |
| 23188 // Omit RadioNodeList for dart2js. The Dart Form and FieldSet APIs don't | 23997 // Omit RadioNodeList for dart2js. The Dart Form and FieldSet APIs don't |
| 23189 // currently expose an API the returns RadioNodeList. The only use of a | 23998 // currently expose an API the returns RadioNodeList. The only use of a |
| 23190 // RadioNodeList is to get the selected value and it will be cleaner to | 23999 // RadioNodeList is to get the selected value and it will be cleaner to |
| 23191 // introduce a different API for that purpose. | 24000 // introduce a different API for that purpose. |
| 23192 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 24001 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23193 // for details. All rights reserved. Use of this source code is governed by a | 24002 // for details. All rights reserved. Use of this source code is governed by a |
| 23194 // BSD-style license that can be found in the LICENSE file. | 24003 // BSD-style license that can be found in the LICENSE file. |
| 23195 | 24004 |
| 23196 | 24005 |
| 23197 @DocsEditable | 24006 @DocsEditable |
| 23198 @DomName('Rect') | 24007 @DomName('Rect') |
| 24008 // http://dev.w3.org/csswg/cssom/ | |
| 24009 @deprecated // deprecated | |
| 23199 abstract class _Rect native "Rect" { | 24010 abstract class _Rect native "Rect" { |
| 23200 } | 24011 } |
| 23201 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 24012 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23202 // for details. All rights reserved. Use of this source code is governed by a | 24013 // for details. All rights reserved. Use of this source code is governed by a |
| 23203 // BSD-style license that can be found in the LICENSE file. | 24014 // BSD-style license that can be found in the LICENSE file. |
| 23204 | 24015 |
| 23205 | 24016 |
| 23206 @DocsEditable | 24017 @DocsEditable |
| 23207 @DomName('SharedWorker') | 24018 @DomName('SharedWorker') |
| 24019 // http://www.whatwg.org/specs/web-apps/current-work/multipage/workers.html#shar ed-workers-and-the-sharedworker-interface | |
| 24020 @Experimental | |
| 23208 abstract class _SharedWorker extends AbstractWorker native "SharedWorker" { | 24021 abstract class _SharedWorker extends AbstractWorker native "SharedWorker" { |
| 23209 | 24022 |
| 23210 @DomName('SharedWorker.SharedWorker') | 24023 @DomName('SharedWorker.SharedWorker') |
| 23211 @DocsEditable | 24024 @DocsEditable |
| 23212 factory _SharedWorker(String scriptURL, [String name]) { | 24025 factory _SharedWorker(String scriptURL, [String name]) { |
| 23213 if (?name) { | 24026 if (?name) { |
| 23214 return _SharedWorker._create_1(scriptURL, name); | 24027 return _SharedWorker._create_1(scriptURL, name); |
| 23215 } | 24028 } |
| 23216 return _SharedWorker._create_2(scriptURL); | 24029 return _SharedWorker._create_2(scriptURL); |
| 23217 } | 24030 } |
| 23218 static _SharedWorker _create_1(scriptURL, name) => JS('_SharedWorker', 'new Sh aredWorker(#,#)', scriptURL, name); | 24031 static _SharedWorker _create_1(scriptURL, name) => JS('_SharedWorker', 'new Sh aredWorker(#,#)', scriptURL, name); |
| 23219 static _SharedWorker _create_2(scriptURL) => JS('_SharedWorker', 'new SharedWo rker(#)', scriptURL); | 24032 static _SharedWorker _create_2(scriptURL) => JS('_SharedWorker', 'new SharedWo rker(#)', scriptURL); |
| 23220 } | 24033 } |
| 23221 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 24034 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23222 // for details. All rights reserved. Use of this source code is governed by a | 24035 // for details. All rights reserved. Use of this source code is governed by a |
| 23223 // BSD-style license that can be found in the LICENSE file. | 24036 // BSD-style license that can be found in the LICENSE file. |
| 23224 | 24037 |
| 23225 | 24038 |
| 23226 @DocsEditable | 24039 @DocsEditable |
| 23227 @DomName('SharedWorkerContext') | 24040 @DomName('SharedWorkerContext') |
| 24041 // http://www.whatwg.org/specs/web-apps/current-work/multipage/workers.html#shar ed-workers-and-the-sharedworkerglobalscope-interface | |
| 24042 @Experimental // nonstandard | |
| 23228 abstract class _SharedWorkerContext extends _WorkerContext native "SharedWorkerC ontext" { | 24043 abstract class _SharedWorkerContext extends _WorkerContext native "SharedWorkerC ontext" { |
| 23229 } | 24044 } |
| 23230 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 24045 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23231 // for details. All rights reserved. Use of this source code is governed by a | 24046 // for details. All rights reserved. Use of this source code is governed by a |
| 23232 // BSD-style license that can be found in the LICENSE file. | 24047 // BSD-style license that can be found in the LICENSE file. |
| 23233 | 24048 |
| 23234 | 24049 |
| 23235 @DocsEditable | 24050 @DocsEditable |
| 23236 @DomName('SpeechInputResultList') | 24051 @DomName('SpeechInputResultList') |
| 24052 // http://lists.w3.org/Archives/Public/public-xg-htmlspeech/2011Feb/att-0020/api -draft.html#speech_input_result_list_interface | |
| 24053 @Experimental | |
| 23237 class _SpeechInputResultList extends Object with ListMixin<SpeechInputResult>, I mmutableListMixin<SpeechInputResult> implements JavaScriptIndexingBehavior, List <SpeechInputResult> native "SpeechInputResultList" { | 24054 class _SpeechInputResultList extends Object with ListMixin<SpeechInputResult>, I mmutableListMixin<SpeechInputResult> implements JavaScriptIndexingBehavior, List <SpeechInputResult> native "SpeechInputResultList" { |
| 23238 | 24055 |
| 23239 @DomName('SpeechInputResultList.length') | 24056 @DomName('SpeechInputResultList.length') |
| 23240 @DocsEditable | 24057 @DocsEditable |
| 23241 int get length => JS("int", "#.length", this); | 24058 int get length => JS("int", "#.length", this); |
| 23242 | 24059 |
| 23243 SpeechInputResult operator[](int index) { | 24060 SpeechInputResult operator[](int index) { |
| 23244 if (JS("bool", "# >>> 0 !== # || # >= #", index, | 24061 if (JS("bool", "# >>> 0 !== # || # >= #", index, |
| 23245 index, index, length)) | 24062 index, index, length)) |
| 23246 throw new RangeError.range(index, 0, length); | 24063 throw new RangeError.range(index, 0, length); |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 23288 @DocsEditable | 24105 @DocsEditable |
| 23289 SpeechInputResult item(int index) native; | 24106 SpeechInputResult item(int index) native; |
| 23290 } | 24107 } |
| 23291 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 24108 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23292 // for details. All rights reserved. Use of this source code is governed by a | 24109 // for details. All rights reserved. Use of this source code is governed by a |
| 23293 // BSD-style license that can be found in the LICENSE file. | 24110 // BSD-style license that can be found in the LICENSE file. |
| 23294 | 24111 |
| 23295 | 24112 |
| 23296 @DocsEditable | 24113 @DocsEditable |
| 23297 @DomName('SpeechRecognitionResultList') | 24114 @DomName('SpeechRecognitionResultList') |
| 24115 // https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#speechrecogniti onresultlist | |
| 24116 @Experimental | |
| 23298 class _SpeechRecognitionResultList extends Object with ListMixin<SpeechRecogniti onResult>, ImmutableListMixin<SpeechRecognitionResult> implements JavaScriptInde xingBehavior, List<SpeechRecognitionResult> native "SpeechRecognitionResultList" { | 24117 class _SpeechRecognitionResultList extends Object with ListMixin<SpeechRecogniti onResult>, ImmutableListMixin<SpeechRecognitionResult> implements JavaScriptInde xingBehavior, List<SpeechRecognitionResult> native "SpeechRecognitionResultList" { |
| 23299 | 24118 |
| 23300 @DomName('SpeechRecognitionResultList.length') | 24119 @DomName('SpeechRecognitionResultList.length') |
| 23301 @DocsEditable | 24120 @DocsEditable |
| 23302 int get length => JS("int", "#.length", this); | 24121 int get length => JS("int", "#.length", this); |
| 23303 | 24122 |
| 23304 SpeechRecognitionResult operator[](int index) { | 24123 SpeechRecognitionResult operator[](int index) { |
| 23305 if (JS("bool", "# >>> 0 !== # || # >= #", index, | 24124 if (JS("bool", "# >>> 0 !== # || # >= #", index, |
| 23306 index, index, length)) | 24125 index, index, length)) |
| 23307 throw new RangeError.range(index, 0, length); | 24126 throw new RangeError.range(index, 0, length); |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 23410 @DocsEditable | 24229 @DocsEditable |
| 23411 StyleSheet item(int index) native; | 24230 StyleSheet item(int index) native; |
| 23412 } | 24231 } |
| 23413 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 24232 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23414 // for details. All rights reserved. Use of this source code is governed by a | 24233 // for details. All rights reserved. Use of this source code is governed by a |
| 23415 // BSD-style license that can be found in the LICENSE file. | 24234 // BSD-style license that can be found in the LICENSE file. |
| 23416 | 24235 |
| 23417 | 24236 |
| 23418 @DocsEditable | 24237 @DocsEditable |
| 23419 @DomName('WebKitCSSFilterValue') | 24238 @DomName('WebKitCSSFilterValue') |
| 24239 // http://dev.w3.org/csswg/cssom/ | |
| 24240 @deprecated // deprecated | |
| 23420 abstract class _WebKitCSSFilterValue extends _CssValueList native "WebKitCSSFilt erValue" { | 24241 abstract class _WebKitCSSFilterValue extends _CssValueList native "WebKitCSSFilt erValue" { |
| 23421 } | 24242 } |
| 23422 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 24243 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23423 // for details. All rights reserved. Use of this source code is governed by a | 24244 // for details. All rights reserved. Use of this source code is governed by a |
| 23424 // BSD-style license that can be found in the LICENSE file. | 24245 // BSD-style license that can be found in the LICENSE file. |
| 23425 | 24246 |
| 23426 | 24247 |
| 23427 @DocsEditable | 24248 @DocsEditable |
| 23428 @DomName('WebKitCSSMatrix') | 24249 @DomName('WebKitCSSMatrix') |
| 23429 @SupportedBrowser(SupportedBrowser.CHROME) | 24250 @SupportedBrowser(SupportedBrowser.CHROME) |
| 23430 @SupportedBrowser(SupportedBrowser.SAFARI) | 24251 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 23431 @Experimental | 24252 @Experimental |
| 24253 // http://dev.w3.org/csswg/cssom/ | |
| 24254 @deprecated // deprecated | |
| 23432 abstract class _WebKitCSSMatrix native "WebKitCSSMatrix" { | 24255 abstract class _WebKitCSSMatrix native "WebKitCSSMatrix" { |
| 23433 | 24256 |
| 23434 @DomName('WebKitCSSMatrix.WebKitCSSMatrix') | 24257 @DomName('WebKitCSSMatrix.WebKitCSSMatrix') |
| 23435 @DocsEditable | 24258 @DocsEditable |
| 23436 factory _WebKitCSSMatrix([String cssValue]) { | 24259 factory _WebKitCSSMatrix([String cssValue]) { |
| 23437 if (?cssValue) { | 24260 if (?cssValue) { |
| 23438 return _WebKitCSSMatrix._create_1(cssValue); | 24261 return _WebKitCSSMatrix._create_1(cssValue); |
| 23439 } | 24262 } |
| 23440 return _WebKitCSSMatrix._create_2(); | 24263 return _WebKitCSSMatrix._create_2(); |
| 23441 } | 24264 } |
| 23442 static _WebKitCSSMatrix _create_1(cssValue) => JS('_WebKitCSSMatrix', 'new Web KitCSSMatrix(#)', cssValue); | 24265 static _WebKitCSSMatrix _create_1(cssValue) => JS('_WebKitCSSMatrix', 'new Web KitCSSMatrix(#)', cssValue); |
| 23443 static _WebKitCSSMatrix _create_2() => JS('_WebKitCSSMatrix', 'new WebKitCSSMa trix()'); | 24266 static _WebKitCSSMatrix _create_2() => JS('_WebKitCSSMatrix', 'new WebKitCSSMa trix()'); |
| 23444 } | 24267 } |
| 23445 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 24268 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23446 // for details. All rights reserved. Use of this source code is governed by a | 24269 // for details. All rights reserved. Use of this source code is governed by a |
| 23447 // BSD-style license that can be found in the LICENSE file. | 24270 // BSD-style license that can be found in the LICENSE file. |
| 23448 | 24271 |
| 23449 | 24272 |
| 23450 @DocsEditable | 24273 @DocsEditable |
| 23451 @DomName('WebKitCSSMixFunctionValue') | 24274 @DomName('WebKitCSSMixFunctionValue') |
| 24275 // http://dev.w3.org/csswg/cssom/ | |
| 24276 @deprecated // deprecated | |
| 23452 abstract class _WebKitCSSMixFunctionValue extends _CssValueList native "WebKitCS SMixFunctionValue" { | 24277 abstract class _WebKitCSSMixFunctionValue extends _CssValueList native "WebKitCS SMixFunctionValue" { |
| 23453 } | 24278 } |
| 23454 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 24279 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23455 // for details. All rights reserved. Use of this source code is governed by a | 24280 // for details. All rights reserved. Use of this source code is governed by a |
| 23456 // BSD-style license that can be found in the LICENSE file. | 24281 // BSD-style license that can be found in the LICENSE file. |
| 23457 | 24282 |
| 23458 | 24283 |
| 23459 @DocsEditable | 24284 @DocsEditable |
| 23460 @DomName('WebKitCSSTransformValue') | 24285 @DomName('WebKitCSSTransformValue') |
| 24286 // http://dev.w3.org/csswg/cssom/ | |
| 24287 @deprecated // deprecated | |
| 23461 abstract class _WebKitCSSTransformValue extends _CssValueList native "WebKitCSST ransformValue" { | 24288 abstract class _WebKitCSSTransformValue extends _CssValueList native "WebKitCSST ransformValue" { |
| 23462 } | 24289 } |
| 23463 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 24290 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23464 // for details. All rights reserved. Use of this source code is governed by a | 24291 // for details. All rights reserved. Use of this source code is governed by a |
| 23465 // BSD-style license that can be found in the LICENSE file. | 24292 // BSD-style license that can be found in the LICENSE file. |
| 23466 | 24293 |
| 23467 | 24294 |
| 23468 @DocsEditable | 24295 @DocsEditable |
| 23469 @DomName('WorkerContext') | 24296 @DomName('WorkerContext') |
| 24297 // http://www.whatwg.org/specs/web-apps/current-work/multipage/workers.html#Work erGlobalScope-partial | |
| 24298 @Experimental // stable | |
| 23470 abstract class _WorkerContext extends EventTarget native "WorkerContext" { | 24299 abstract class _WorkerContext extends EventTarget native "WorkerContext" { |
| 23471 } | 24300 } |
| 23472 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 24301 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23473 // for details. All rights reserved. Use of this source code is governed by a | 24302 // for details. All rights reserved. Use of this source code is governed by a |
| 23474 // BSD-style license that can be found in the LICENSE file. | 24303 // BSD-style license that can be found in the LICENSE file. |
| 23475 | 24304 |
| 23476 | 24305 |
| 23477 @DocsEditable | 24306 @DocsEditable |
| 23478 @DomName('WorkerLocation') | 24307 @DomName('WorkerLocation') |
| 24308 // http://www.whatwg.org/specs/web-apps/current-work/multipage/workers.html#work erlocation | |
| 24309 @Experimental | |
| 23479 abstract class _WorkerLocation native "WorkerLocation" { | 24310 abstract class _WorkerLocation native "WorkerLocation" { |
| 23480 } | 24311 } |
| 23481 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 24312 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23482 // for details. All rights reserved. Use of this source code is governed by a | 24313 // for details. All rights reserved. Use of this source code is governed by a |
| 23483 // BSD-style license that can be found in the LICENSE file. | 24314 // BSD-style license that can be found in the LICENSE file. |
| 23484 | 24315 |
| 23485 | 24316 |
| 23486 @DocsEditable | 24317 @DocsEditable |
| 23487 @DomName('WorkerNavigator') | 24318 @DomName('WorkerNavigator') |
| 24319 // http://www.whatwg.org/specs/web-apps/current-work/multipage/workers.html#work ernavigator | |
| 24320 @Experimental | |
| 23488 abstract class _WorkerNavigator native "WorkerNavigator" { | 24321 abstract class _WorkerNavigator native "WorkerNavigator" { |
| 23489 } | 24322 } |
| 23490 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 24323 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23491 // for details. All rights reserved. Use of this source code is governed by a | 24324 // for details. All rights reserved. Use of this source code is governed by a |
| 23492 // BSD-style license that can be found in the LICENSE file. | 24325 // BSD-style license that can be found in the LICENSE file. |
| 23493 | 24326 |
| 23494 | 24327 |
| 23495 abstract class _AttributeMap implements Map<String, String> { | 24328 abstract class _AttributeMap implements Map<String, String> { |
| 23496 final Element _element; | 24329 final Element _element; |
| 23497 | 24330 |
| (...skipping 4446 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 27944 _position = nextPosition; | 28777 _position = nextPosition; |
| 27945 return true; | 28778 return true; |
| 27946 } | 28779 } |
| 27947 _current = null; | 28780 _current = null; |
| 27948 _position = _array.length; | 28781 _position = _array.length; |
| 27949 return false; | 28782 return false; |
| 27950 } | 28783 } |
| 27951 | 28784 |
| 27952 T get current => _current; | 28785 T get current => _current; |
| 27953 } | 28786 } |
| OLD | NEW |