OLD | NEW |
---|---|
1 library html; | 1 library html; |
2 | 2 |
3 import 'dart:collection'; | 3 import 'dart:collection'; |
4 import 'dart:html_common'; | 4 import 'dart:html_common'; |
5 import 'dart:indexed_db'; | 5 import 'dart:indexed_db'; |
6 import 'dart:isolate'; | 6 import 'dart:isolate'; |
7 import 'dart:json'; | 7 import 'dart:json'; |
8 import 'dart:svg' as svg; | 8 import 'dart:svg' as svg; |
9 import 'dart:web_audio' as web_audio; | 9 import 'dart:web_audio' as web_audio; |
10 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 10 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
79 EventListenerList get error => this['error']; | 79 EventListenerList get error => this['error']; |
80 } | 80 } |
81 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 81 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
82 // for details. All rights reserved. Use of this source code is governed by a | 82 // for details. All rights reserved. Use of this source code is governed by a |
83 // BSD-style license that can be found in the LICENSE file. | 83 // BSD-style license that can be found in the LICENSE file. |
84 | 84 |
85 | 85 |
86 /// @domName HTMLAnchorElement; @docsEditable true | 86 /// @domName HTMLAnchorElement; @docsEditable true |
87 class AnchorElement extends Element implements Element native "*HTMLAnchorElemen t" { | 87 class AnchorElement extends Element implements Element native "*HTMLAnchorElemen t" { |
88 | 88 |
89 ///@docsEditable true | |
89 factory AnchorElement({String href}) { | 90 factory AnchorElement({String href}) { |
90 var e = document.$dom_createElement("a"); | 91 var e = document.$dom_createElement("a"); |
91 if (href != null) e.href = href; | 92 if (href != null) e.href = href; |
92 return e; | 93 return e; |
93 } | 94 } |
94 | 95 |
95 /// @domName HTMLAnchorElement.charset; @docsEditable true | 96 /// @domName HTMLAnchorElement.charset; @docsEditable true |
96 String charset; | 97 String charset; |
97 | 98 |
98 /// @domName HTMLAnchorElement.coords; @docsEditable true | 99 /// @domName HTMLAnchorElement.coords; @docsEditable true |
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
332 EventListenerList get updateReady => this['updateready']; | 333 EventListenerList get updateReady => this['updateready']; |
333 } | 334 } |
334 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 335 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
335 // for details. All rights reserved. Use of this source code is governed by a | 336 // for details. All rights reserved. Use of this source code is governed by a |
336 // BSD-style license that can be found in the LICENSE file. | 337 // BSD-style license that can be found in the LICENSE file. |
337 | 338 |
338 | 339 |
339 /// @domName HTMLAreaElement; @docsEditable true | 340 /// @domName HTMLAreaElement; @docsEditable true |
340 class AreaElement extends Element implements Element native "*HTMLAreaElement" { | 341 class AreaElement extends Element implements Element native "*HTMLAreaElement" { |
341 | 342 |
343 ///@docsEditable true | |
342 factory AreaElement() => document.$dom_createElement("area"); | 344 factory AreaElement() => document.$dom_createElement("area"); |
343 | 345 |
344 /// @domName HTMLAreaElement.alt; @docsEditable true | 346 /// @domName HTMLAreaElement.alt; @docsEditable true |
345 String alt; | 347 String alt; |
346 | 348 |
347 /// @domName HTMLAreaElement.coords; @docsEditable true | 349 /// @domName HTMLAreaElement.coords; @docsEditable true |
348 String coords; | 350 String coords; |
349 | 351 |
350 /// @domName HTMLAreaElement.hash; @docsEditable true | 352 /// @domName HTMLAreaElement.hash; @docsEditable true |
351 final String hash; | 353 final String hash; |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
384 String target; | 386 String target; |
385 } | 387 } |
386 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 388 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
387 // for details. All rights reserved. Use of this source code is governed by a | 389 // for details. All rights reserved. Use of this source code is governed by a |
388 // BSD-style license that can be found in the LICENSE file. | 390 // BSD-style license that can be found in the LICENSE file. |
389 | 391 |
390 | 392 |
391 /// @domName ArrayBuffer; @docsEditable true | 393 /// @domName ArrayBuffer; @docsEditable true |
392 class ArrayBuffer native "*ArrayBuffer" { | 394 class ArrayBuffer native "*ArrayBuffer" { |
393 | 395 |
396 ///@docsEditable true | |
394 factory ArrayBuffer(int length) => _ArrayBufferFactoryProvider.createArrayBuff er(length); | 397 factory ArrayBuffer(int length) => _ArrayBufferFactoryProvider.createArrayBuff er(length); |
395 | 398 |
396 /// @domName ArrayBuffer.byteLength; @docsEditable true | 399 /// @domName ArrayBuffer.byteLength; @docsEditable true |
397 final int byteLength; | 400 final int byteLength; |
398 | 401 |
399 /// @domName ArrayBuffer.slice; @docsEditable true | 402 /// @domName ArrayBuffer.slice; @docsEditable true |
400 ArrayBuffer slice(int begin, [int end]) native; | 403 ArrayBuffer slice(int begin, [int end]) native; |
401 } | 404 } |
402 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 405 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
403 // for details. All rights reserved. Use of this source code is governed by a | 406 // for details. All rights reserved. Use of this source code is governed by a |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
440 String value; | 443 String value; |
441 } | 444 } |
442 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 445 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
443 // for details. All rights reserved. Use of this source code is governed by a | 446 // for details. All rights reserved. Use of this source code is governed by a |
444 // BSD-style license that can be found in the LICENSE file. | 447 // BSD-style license that can be found in the LICENSE file. |
445 | 448 |
446 | 449 |
447 /// @domName HTMLAudioElement; @docsEditable true | 450 /// @domName HTMLAudioElement; @docsEditable true |
448 class AudioElement extends MediaElement native "*HTMLAudioElement" { | 451 class AudioElement extends MediaElement native "*HTMLAudioElement" { |
449 | 452 |
453 ///@docsEditable true | |
450 factory AudioElement([String src]) { | 454 factory AudioElement([String src]) { |
451 if (!?src) { | 455 if (!?src) { |
452 return _AudioElementFactoryProvider.createAudioElement(); | 456 return _AudioElementFactoryProvider.createAudioElement(); |
453 } | 457 } |
454 return _AudioElementFactoryProvider.createAudioElement(src); | 458 return _AudioElementFactoryProvider.createAudioElement(src); |
455 } | 459 } |
456 } | 460 } |
457 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 461 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
458 // for details. All rights reserved. Use of this source code is governed by a | 462 // for details. All rights reserved. Use of this source code is governed by a |
459 // BSD-style license that can be found in the LICENSE file. | 463 // BSD-style license that can be found in the LICENSE file. |
460 | 464 |
461 | 465 |
462 /// @domName HTMLBRElement; @docsEditable true | 466 /// @domName HTMLBRElement; @docsEditable true |
463 class BRElement extends Element implements Element native "*HTMLBRElement" { | 467 class BRElement extends Element implements Element native "*HTMLBRElement" { |
464 | 468 |
469 ///@docsEditable true | |
465 factory BRElement() => document.$dom_createElement("br"); | 470 factory BRElement() => document.$dom_createElement("br"); |
466 | 471 |
467 /// @domName HTMLBRElement.clear; @docsEditable true | 472 /// @domName HTMLBRElement.clear; @docsEditable true |
468 String clear; | 473 String clear; |
469 } | 474 } |
470 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 475 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
471 // for details. All rights reserved. Use of this source code is governed by a | 476 // for details. All rights reserved. Use of this source code is governed by a |
472 // BSD-style license that can be found in the LICENSE file. | 477 // BSD-style license that can be found in the LICENSE file. |
473 | 478 |
474 | 479 |
475 /// @domName BarInfo; @docsEditable true | 480 /// @domName BarInfo; @docsEditable true |
476 class BarInfo native "*BarInfo" { | 481 class BarInfo native "*BarInfo" { |
477 | 482 |
478 /// @domName BarInfo.visible; @docsEditable true | 483 /// @domName BarInfo.visible; @docsEditable true |
479 final bool visible; | 484 final bool visible; |
480 } | 485 } |
481 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 486 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
482 // for details. All rights reserved. Use of this source code is governed by a | 487 // for details. All rights reserved. Use of this source code is governed by a |
483 // BSD-style license that can be found in the LICENSE file. | 488 // BSD-style license that can be found in the LICENSE file. |
484 | 489 |
485 | 490 |
486 /// @domName HTMLBaseElement; @docsEditable true | 491 /// @domName HTMLBaseElement; @docsEditable true |
487 class BaseElement extends Element implements Element native "*HTMLBaseElement" { | 492 class BaseElement extends Element implements Element native "*HTMLBaseElement" { |
488 | 493 |
494 ///@docsEditable true | |
489 factory BaseElement() => document.$dom_createElement("base"); | 495 factory BaseElement() => document.$dom_createElement("base"); |
490 | 496 |
491 /// @domName HTMLBaseElement.href; @docsEditable true | 497 /// @domName HTMLBaseElement.href; @docsEditable true |
492 String href; | 498 String href; |
493 | 499 |
494 /// @domName HTMLBaseElement.target; @docsEditable true | 500 /// @domName HTMLBaseElement.target; @docsEditable true |
495 String target; | 501 String target; |
496 } | 502 } |
497 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 503 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
498 // for details. All rights reserved. Use of this source code is governed by a | 504 // for details. All rights reserved. Use of this source code is governed by a |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
571 final String url; | 577 final String url; |
572 } | 578 } |
573 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 579 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
574 // for details. All rights reserved. Use of this source code is governed by a | 580 // for details. All rights reserved. Use of this source code is governed by a |
575 // BSD-style license that can be found in the LICENSE file. | 581 // BSD-style license that can be found in the LICENSE file. |
576 | 582 |
577 | 583 |
578 /// @domName Blob; @docsEditable true | 584 /// @domName Blob; @docsEditable true |
579 class Blob native "*Blob" { | 585 class Blob native "*Blob" { |
580 | 586 |
587 ///@docsEditable true | |
581 factory Blob(List blobParts, [String type, String endings]) { | 588 factory Blob(List blobParts, [String type, String endings]) { |
582 if (!?type) { | 589 if (!?type) { |
583 return _BlobFactoryProvider.createBlob(blobParts); | 590 return _BlobFactoryProvider.createBlob(blobParts); |
584 } | 591 } |
585 if (!?endings) { | 592 if (!?endings) { |
586 return _BlobFactoryProvider.createBlob(blobParts, type); | 593 return _BlobFactoryProvider.createBlob(blobParts, type); |
587 } | 594 } |
588 return _BlobFactoryProvider.createBlob(blobParts, type, endings); | 595 return _BlobFactoryProvider.createBlob(blobParts, type, endings); |
589 } | 596 } |
590 | 597 |
591 /// @domName Blob.size; @docsEditable true | 598 /// @domName Blob.size; @docsEditable true |
592 final int size; | 599 final int size; |
593 | 600 |
594 /// @domName Blob.type; @docsEditable true | 601 /// @domName Blob.type; @docsEditable true |
595 final String type; | 602 final String type; |
596 | 603 |
597 /// @domName Blob.slice; @docsEditable true | 604 /// @domName Blob.slice; @docsEditable true |
598 Blob slice([int start, int end, String contentType]) native; | 605 Blob slice([int start, int end, String contentType]) native; |
599 } | 606 } |
600 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 607 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
601 // for details. All rights reserved. Use of this source code is governed by a | 608 // for details. All rights reserved. Use of this source code is governed by a |
602 // BSD-style license that can be found in the LICENSE file. | 609 // BSD-style license that can be found in the LICENSE file. |
603 | 610 |
604 | 611 |
605 /// @domName HTMLBodyElement; @docsEditable true | 612 /// @domName HTMLBodyElement; @docsEditable true |
606 class BodyElement extends Element implements Element native "*HTMLBodyElement" { | 613 class BodyElement extends Element implements Element native "*HTMLBodyElement" { |
607 | 614 |
615 ///@docsEditable true | |
608 factory BodyElement() => document.$dom_createElement("body"); | 616 factory BodyElement() => document.$dom_createElement("body"); |
609 | 617 |
610 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true | 618 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true |
611 BodyElementEvents get on => | 619 BodyElementEvents get on => |
612 new BodyElementEvents(this); | 620 new BodyElementEvents(this); |
613 | 621 |
614 /// @domName HTMLBodyElement.aLink; @docsEditable true | 622 /// @domName HTMLBodyElement.aLink; @docsEditable true |
615 String aLink; | 623 String aLink; |
616 | 624 |
617 /// @domName HTMLBodyElement.background; @docsEditable true | 625 /// @domName HTMLBodyElement.background; @docsEditable true |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
657 EventListenerList get unload => this['unload']; | 665 EventListenerList get unload => this['unload']; |
658 } | 666 } |
659 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 667 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
660 // for details. All rights reserved. Use of this source code is governed by a | 668 // for details. All rights reserved. Use of this source code is governed by a |
661 // BSD-style license that can be found in the LICENSE file. | 669 // BSD-style license that can be found in the LICENSE file. |
662 | 670 |
663 | 671 |
664 /// @domName HTMLButtonElement; @docsEditable true | 672 /// @domName HTMLButtonElement; @docsEditable true |
665 class ButtonElement extends Element implements Element native "*HTMLButtonElemen t" { | 673 class ButtonElement extends Element implements Element native "*HTMLButtonElemen t" { |
666 | 674 |
675 ///@docsEditable true | |
667 factory ButtonElement() => document.$dom_createElement("button"); | 676 factory ButtonElement() => document.$dom_createElement("button"); |
668 | 677 |
669 /// @domName HTMLButtonElement.autofocus; @docsEditable true | 678 /// @domName HTMLButtonElement.autofocus; @docsEditable true |
670 bool autofocus; | 679 bool autofocus; |
671 | 680 |
672 /// @domName HTMLButtonElement.disabled; @docsEditable true | 681 /// @domName HTMLButtonElement.disabled; @docsEditable true |
673 bool disabled; | 682 bool disabled; |
674 | 683 |
675 /// @domName HTMLButtonElement.form; @docsEditable true | 684 /// @domName HTMLButtonElement.form; @docsEditable true |
676 final FormElement form; | 685 final FormElement form; |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
727 class CDataSection extends Text native "*CDATASection" { | 736 class CDataSection extends Text native "*CDATASection" { |
728 } | 737 } |
729 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 738 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
730 // for details. All rights reserved. Use of this source code is governed by a | 739 // for details. All rights reserved. Use of this source code is governed by a |
731 // BSD-style license that can be found in the LICENSE file. | 740 // BSD-style license that can be found in the LICENSE file. |
732 | 741 |
733 | 742 |
734 /// @domName HTMLCanvasElement | 743 /// @domName HTMLCanvasElement |
735 class CanvasElement extends Element implements Element native "*HTMLCanvasElemen t" { | 744 class CanvasElement extends Element implements Element native "*HTMLCanvasElemen t" { |
736 | 745 |
746 ///@docsEditable true | |
737 factory CanvasElement({int width, int height}) { | 747 factory CanvasElement({int width, int height}) { |
738 var e = document.$dom_createElement("canvas"); | 748 var e = document.$dom_createElement("canvas"); |
739 if (width != null) e.width = width; | 749 if (width != null) e.width = width; |
740 if (height != null) e.height = height; | 750 if (height != null) e.height = height; |
741 return e; | 751 return e; |
742 } | 752 } |
743 | 753 |
744 /// @domName HTMLCanvasElement.height; @docsEditable true | 754 /// @domName HTMLCanvasElement.height; @docsEditable true |
745 int height; | 755 int height; |
746 | 756 |
(...skipping 574 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1321 | 1331 |
1322 } | 1332 } |
1323 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1333 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
1324 // for details. All rights reserved. Use of this source code is governed by a | 1334 // for details. All rights reserved. Use of this source code is governed by a |
1325 // BSD-style license that can be found in the LICENSE file. | 1335 // BSD-style license that can be found in the LICENSE file. |
1326 | 1336 |
1327 | 1337 |
1328 /// @domName HTMLContentElement; @docsEditable true | 1338 /// @domName HTMLContentElement; @docsEditable true |
1329 class ContentElement extends Element implements Element native "*HTMLContentElem ent" { | 1339 class ContentElement extends Element implements Element native "*HTMLContentElem ent" { |
1330 | 1340 |
1341 ///@docsEditable true | |
1331 factory ContentElement() => document.$dom_createElement("content"); | 1342 factory ContentElement() => document.$dom_createElement("content"); |
1332 | 1343 |
1333 /// @domName HTMLContentElement.resetStyleInheritance; @docsEditable true | 1344 /// @domName HTMLContentElement.resetStyleInheritance; @docsEditable true |
1334 bool resetStyleInheritance; | 1345 bool resetStyleInheritance; |
1335 | 1346 |
1336 /// @domName HTMLContentElement.select; @docsEditable true | 1347 /// @domName HTMLContentElement.select; @docsEditable true |
1337 String select; | 1348 String select; |
1338 | 1349 |
1339 /// @domName HTMLContentElement.getDistributedNodes; @docsEditable true | 1350 /// @domName HTMLContentElement.getDistributedNodes; @docsEditable true |
1340 @Returns('NodeList') @Creates('NodeList') | 1351 @Returns('NodeList') @Creates('NodeList') |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1475 void insertRule(String rule) native; | 1486 void insertRule(String rule) native; |
1476 } | 1487 } |
1477 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1488 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
1478 // for details. All rights reserved. Use of this source code is governed by a | 1489 // for details. All rights reserved. Use of this source code is governed by a |
1479 // BSD-style license that can be found in the LICENSE file. | 1490 // BSD-style license that can be found in the LICENSE file. |
1480 | 1491 |
1481 | 1492 |
1482 /// @domName WebKitCSSMatrix; @docsEditable true | 1493 /// @domName WebKitCSSMatrix; @docsEditable true |
1483 class CssMatrix native "*WebKitCSSMatrix" { | 1494 class CssMatrix native "*WebKitCSSMatrix" { |
1484 | 1495 |
1496 ///@docsEditable true | |
1485 factory CssMatrix([String cssValue]) { | 1497 factory CssMatrix([String cssValue]) { |
1486 if (!?cssValue) { | 1498 if (!?cssValue) { |
1487 return _CssMatrixFactoryProvider.createCssMatrix(); | 1499 return _CssMatrixFactoryProvider.createCssMatrix(); |
1488 } | 1500 } |
1489 return _CssMatrixFactoryProvider.createCssMatrix(cssValue); | 1501 return _CssMatrixFactoryProvider.createCssMatrix(cssValue); |
1490 } | 1502 } |
1491 | 1503 |
1492 /// @domName WebKitCSSMatrix.a; @docsEditable true | 1504 /// @domName WebKitCSSMatrix.a; @docsEditable true |
1493 num a; | 1505 num a; |
1494 | 1506 |
(...skipping 3630 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
5125 | 5137 |
5126 } | 5138 } |
5127 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5139 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
5128 // for details. All rights reserved. Use of this source code is governed by a | 5140 // for details. All rights reserved. Use of this source code is governed by a |
5129 // BSD-style license that can be found in the LICENSE file. | 5141 // BSD-style license that can be found in the LICENSE file. |
5130 | 5142 |
5131 | 5143 |
5132 /// @domName HTMLDListElement; @docsEditable true | 5144 /// @domName HTMLDListElement; @docsEditable true |
5133 class DListElement extends Element implements Element native "*HTMLDListElement" { | 5145 class DListElement extends Element implements Element native "*HTMLDListElement" { |
5134 | 5146 |
5147 ///@docsEditable true | |
5135 factory DListElement() => document.$dom_createElement("dl"); | 5148 factory DListElement() => document.$dom_createElement("dl"); |
5136 | 5149 |
5137 /// @domName HTMLDListElement.compact; @docsEditable true | 5150 /// @domName HTMLDListElement.compact; @docsEditable true |
5138 bool compact; | 5151 bool compact; |
5139 } | 5152 } |
5140 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5153 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
5141 // for details. All rights reserved. Use of this source code is governed by a | 5154 // for details. All rights reserved. Use of this source code is governed by a |
5142 // BSD-style license that can be found in the LICENSE file. | 5155 // BSD-style license that can be found in the LICENSE file. |
5143 | 5156 |
5144 | 5157 |
5145 /// @domName HTMLDataListElement; @docsEditable true | 5158 /// @domName HTMLDataListElement; @docsEditable true |
5146 class DataListElement extends Element implements Element native "*HTMLDataListEl ement" { | 5159 class DataListElement extends Element implements Element native "*HTMLDataListEl ement" { |
5147 | 5160 |
5161 ///@docsEditable true | |
5148 factory DataListElement() => document.$dom_createElement("datalist"); | 5162 factory DataListElement() => document.$dom_createElement("datalist"); |
5149 | 5163 |
5150 /// @domName HTMLDataListElement.options; @docsEditable true | 5164 /// @domName HTMLDataListElement.options; @docsEditable true |
5151 final HtmlCollection options; | 5165 final HtmlCollection options; |
5152 } | 5166 } |
5153 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5167 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
5154 // for details. All rights reserved. Use of this source code is governed by a | 5168 // for details. All rights reserved. Use of this source code is governed by a |
5155 // BSD-style license that can be found in the LICENSE file. | 5169 // BSD-style license that can be found in the LICENSE file. |
5156 | 5170 |
5157 | 5171 |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
5194 DataTransferItem item(int index) native; | 5208 DataTransferItem item(int index) native; |
5195 } | 5209 } |
5196 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5210 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
5197 // for details. All rights reserved. Use of this source code is governed by a | 5211 // for details. All rights reserved. Use of this source code is governed by a |
5198 // BSD-style license that can be found in the LICENSE file. | 5212 // BSD-style license that can be found in the LICENSE file. |
5199 | 5213 |
5200 | 5214 |
5201 /// @domName DataView; @docsEditable true | 5215 /// @domName DataView; @docsEditable true |
5202 class DataView extends ArrayBufferView native "*DataView" { | 5216 class DataView extends ArrayBufferView native "*DataView" { |
5203 | 5217 |
5218 ///@docsEditable true | |
5204 factory DataView(ArrayBuffer buffer, [int byteOffset, int byteLength]) { | 5219 factory DataView(ArrayBuffer buffer, [int byteOffset, int byteLength]) { |
5205 if (!?byteOffset) { | 5220 if (!?byteOffset) { |
5206 return _DataViewFactoryProvider.createDataView(buffer); | 5221 return _DataViewFactoryProvider.createDataView(buffer); |
5207 } | 5222 } |
5208 if (!?byteLength) { | 5223 if (!?byteLength) { |
5209 return _DataViewFactoryProvider.createDataView(buffer, byteOffset); | 5224 return _DataViewFactoryProvider.createDataView(buffer, byteOffset); |
5210 } | 5225 } |
5211 return _DataViewFactoryProvider.createDataView(buffer, byteOffset, byteLengt h); | 5226 return _DataViewFactoryProvider.createDataView(buffer, byteOffset, byteLengt h); |
5212 } | 5227 } |
5213 | 5228 |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
5345 EventListenerList get message => this['message']; | 5360 EventListenerList get message => this['message']; |
5346 } | 5361 } |
5347 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5362 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
5348 // for details. All rights reserved. Use of this source code is governed by a | 5363 // for details. All rights reserved. Use of this source code is governed by a |
5349 // BSD-style license that can be found in the LICENSE file. | 5364 // BSD-style license that can be found in the LICENSE file. |
5350 | 5365 |
5351 | 5366 |
5352 /// @domName HTMLDetailsElement; @docsEditable true | 5367 /// @domName HTMLDetailsElement; @docsEditable true |
5353 class DetailsElement extends Element implements Element native "*HTMLDetailsElem ent" { | 5368 class DetailsElement extends Element implements Element native "*HTMLDetailsElem ent" { |
5354 | 5369 |
5370 ///@docsEditable true | |
5355 factory DetailsElement() => document.$dom_createElement("details"); | 5371 factory DetailsElement() => document.$dom_createElement("details"); |
5356 | 5372 |
5357 /// @domName HTMLDetailsElement.open; @docsEditable true | 5373 /// @domName HTMLDetailsElement.open; @docsEditable true |
5358 bool open; | 5374 bool open; |
5359 } | 5375 } |
5360 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5376 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
5361 // for details. All rights reserved. Use of this source code is governed by a | 5377 // for details. All rights reserved. Use of this source code is governed by a |
5362 // BSD-style license that can be found in the LICENSE file. | 5378 // BSD-style license that can be found in the LICENSE file. |
5363 | 5379 |
5364 | 5380 |
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
5525 | 5541 |
5526 /// @domName DirectoryReaderSync.readEntries; @docsEditable true | 5542 /// @domName DirectoryReaderSync.readEntries; @docsEditable true |
5527 @Returns('_EntryArraySync') @Creates('_EntryArraySync') | 5543 @Returns('_EntryArraySync') @Creates('_EntryArraySync') |
5528 List<EntrySync> readEntries() native; | 5544 List<EntrySync> readEntries() native; |
5529 } | 5545 } |
5530 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5546 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
5531 // for details. All rights reserved. Use of this source code is governed by a | 5547 // for details. All rights reserved. Use of this source code is governed by a |
5532 // BSD-style license that can be found in the LICENSE file. | 5548 // BSD-style license that can be found in the LICENSE file. |
5533 | 5549 |
5534 | 5550 |
5551 /** | |
5552 * Represents an HTML <div> element. | |
5553 * | |
5554 * The [DivElement] is a generic container for content and does not have any | |
5555 * special significance. It is functionally similar to [SpanElement]. | |
5556 * | |
5557 * The [DivElement] is a block-level element, as opposed to [SpanElement], | |
5558 * which is an inline-level element. | |
5559 * | |
5560 * Example usage: | |
5561 * | |
5562 * DivElement div = new DivElement(); | |
5563 * div.text = 'Here's my new DivElem | |
5564 * document.body.elements.add(elem); | |
5565 * | |
5566 * See also: | |
5567 * | |
5568 * * [HTML <div> element](http://www.w3.org/TR/html-markup/div.html) from W3C. | |
5569 * * [Block-level element](http://www.w3.org/TR/CSS2/visuren.html#block-boxes) f rom W3C. | |
5570 * * [Inline-level element](http://www.w3.org/TR/CSS2/visuren.html#inline-boxes) from W3C. | |
5571 */ | |
5535 /// @domName HTMLDivElement; @docsEditable true | 5572 /// @domName HTMLDivElement; @docsEditable true |
5536 class DivElement extends Element implements Element native "*HTMLDivElement" { | 5573 class DivElement extends Element implements Element native "*HTMLDivElement" { |
5537 | 5574 |
5575 ///@docsEditable true | |
5538 factory DivElement() => document.$dom_createElement("div"); | 5576 factory DivElement() => document.$dom_createElement("div"); |
5539 } | 5577 } |
5540 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5578 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
5541 // for details. All rights reserved. Use of this source code is governed by a | 5579 // for details. All rights reserved. Use of this source code is governed by a |
5542 // BSD-style license that can be found in the LICENSE file. | 5580 // BSD-style license that can be found in the LICENSE file. |
5543 | 5581 |
5544 | 5582 |
5545 /// @domName Document | 5583 /// @domName Document |
5546 /** | 5584 /** |
5547 * The base class for all documents. | 5585 * The base class for all documents. |
(...skipping 15 matching lines...) Expand all Loading... | |
5563 /// @domName Document.body; @docsEditable true | 5601 /// @domName Document.body; @docsEditable true |
5564 @JSName('body') | 5602 @JSName('body') |
5565 Element $dom_body; | 5603 Element $dom_body; |
5566 | 5604 |
5567 /// @domName Document.charset; @docsEditable true | 5605 /// @domName Document.charset; @docsEditable true |
5568 String charset; | 5606 String charset; |
5569 | 5607 |
5570 /// @domName Document.cookie; @docsEditable true | 5608 /// @domName Document.cookie; @docsEditable true |
5571 String cookie; | 5609 String cookie; |
5572 | 5610 |
5611 /// Returns the [Window] associated with the document. | |
Kathy Walrath
2012/12/06 19:40:29
No need to link to [Window], since that's in the s
Emily Fortuna
2012/12/06 21:08:47
This actually wasn't one of my changes. It was add
Kathy Walrath
2012/12/06 22:53:14
No, let's keep this small. I'll make a note for la
| |
5573 /// @domName Document.defaultView; @docsEditable true | 5612 /// @domName Document.defaultView; @docsEditable true |
5574 Window get window => _convertNativeToDart_Window(this._window); | 5613 Window get window => _convertNativeToDart_Window(this._window); |
5575 @JSName('defaultView') | 5614 @JSName('defaultView') |
5576 @Creates('LocalWindow|=Object') @Returns('LocalWindow|=Object') | 5615 @Creates('LocalWindow|=Object') @Returns('LocalWindow|=Object') |
5577 final dynamic _window; | 5616 final dynamic _window; |
5578 | 5617 |
5579 /// @domName Document.documentElement; @docsEditable true | 5618 /// @domName Document.documentElement; @docsEditable true |
5580 final Element documentElement; | 5619 final Element documentElement; |
5581 | 5620 |
5582 /// @domName Document.domain; @docsEditable true | 5621 /// @domName Document.domain; @docsEditable true |
(...skipping 792 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
6375 DomMimeType namedItem(String name) native; | 6414 DomMimeType namedItem(String name) native; |
6376 } | 6415 } |
6377 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6416 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
6378 // for details. All rights reserved. Use of this source code is governed by a | 6417 // for details. All rights reserved. Use of this source code is governed by a |
6379 // BSD-style license that can be found in the LICENSE file. | 6418 // BSD-style license that can be found in the LICENSE file. |
6380 | 6419 |
6381 | 6420 |
6382 /// @domName DOMParser; @docsEditable true | 6421 /// @domName DOMParser; @docsEditable true |
6383 class DomParser native "*DOMParser" { | 6422 class DomParser native "*DOMParser" { |
6384 | 6423 |
6424 ///@docsEditable true | |
6385 factory DomParser() => _DomParserFactoryProvider.createDomParser(); | 6425 factory DomParser() => _DomParserFactoryProvider.createDomParser(); |
6386 | 6426 |
6387 /// @domName DOMParser.parseFromString; @docsEditable true | 6427 /// @domName DOMParser.parseFromString; @docsEditable true |
6388 Document parseFromString(String str, String contentType) native; | 6428 Document parseFromString(String str, String contentType) native; |
6389 } | 6429 } |
6390 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6430 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
6391 // for details. All rights reserved. Use of this source code is governed by a | 6431 // for details. All rights reserved. Use of this source code is governed by a |
6392 // BSD-style license that can be found in the LICENSE file. | 6432 // BSD-style license that can be found in the LICENSE file. |
6393 | 6433 |
6394 | 6434 |
(...skipping 1338 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
7733 Element previousElementSibling; | 7773 Element previousElementSibling; |
7734 } | 7774 } |
7735 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 7775 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
7736 // for details. All rights reserved. Use of this source code is governed by a | 7776 // for details. All rights reserved. Use of this source code is governed by a |
7737 // BSD-style license that can be found in the LICENSE file. | 7777 // BSD-style license that can be found in the LICENSE file. |
7738 | 7778 |
7739 | 7779 |
7740 /// @domName HTMLEmbedElement; @docsEditable true | 7780 /// @domName HTMLEmbedElement; @docsEditable true |
7741 class EmbedElement extends Element implements Element native "*HTMLEmbedElement" { | 7781 class EmbedElement extends Element implements Element native "*HTMLEmbedElement" { |
7742 | 7782 |
7783 ///@docsEditable true | |
7743 factory EmbedElement() => document.$dom_createElement("embed"); | 7784 factory EmbedElement() => document.$dom_createElement("embed"); |
7744 | 7785 |
7745 /// @domName HTMLEmbedElement.align; @docsEditable true | 7786 /// @domName HTMLEmbedElement.align; @docsEditable true |
7746 String align; | 7787 String align; |
7747 | 7788 |
7748 /// @domName HTMLEmbedElement.height; @docsEditable true | 7789 /// @domName HTMLEmbedElement.height; @docsEditable true |
7749 String height; | 7790 String height; |
7750 | 7791 |
7751 /// @domName HTMLEmbedElement.name; @docsEditable true | 7792 /// @domName HTMLEmbedElement.name; @docsEditable true |
7752 String name; | 7793 String name; |
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
8029 String toString() native; | 8070 String toString() native; |
8030 } | 8071 } |
8031 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 8072 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
8032 // for details. All rights reserved. Use of this source code is governed by a | 8073 // for details. All rights reserved. Use of this source code is governed by a |
8033 // BSD-style license that can be found in the LICENSE file. | 8074 // BSD-style license that can be found in the LICENSE file. |
8034 | 8075 |
8035 | 8076 |
8036 /// @domName EventSource; @docsEditable true | 8077 /// @domName EventSource; @docsEditable true |
8037 class EventSource extends EventTarget native "*EventSource" { | 8078 class EventSource extends EventTarget native "*EventSource" { |
8038 | 8079 |
8080 ///@docsEditable true | |
8039 factory EventSource(String scriptUrl) => _EventSourceFactoryProvider.createEve ntSource(scriptUrl); | 8081 factory EventSource(String scriptUrl) => _EventSourceFactoryProvider.createEve ntSource(scriptUrl); |
8040 | 8082 |
8041 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true | 8083 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true |
8042 EventSourceEvents get on => | 8084 EventSourceEvents get on => |
8043 new EventSourceEvents(this); | 8085 new EventSourceEvents(this); |
8044 | 8086 |
8045 static const int CLOSED = 2; | 8087 static const int CLOSED = 2; |
8046 | 8088 |
8047 static const int CONNECTING = 0; | 8089 static const int CONNECTING = 0; |
8048 | 8090 |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
8185 static const int TEXTURE_MAX_ANISOTROPY_EXT = 0x84FE; | 8227 static const int TEXTURE_MAX_ANISOTROPY_EXT = 0x84FE; |
8186 } | 8228 } |
8187 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 8229 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
8188 // for details. All rights reserved. Use of this source code is governed by a | 8230 // for details. All rights reserved. Use of this source code is governed by a |
8189 // BSD-style license that can be found in the LICENSE file. | 8231 // BSD-style license that can be found in the LICENSE file. |
8190 | 8232 |
8191 | 8233 |
8192 /// @domName HTMLFieldSetElement; @docsEditable true | 8234 /// @domName HTMLFieldSetElement; @docsEditable true |
8193 class FieldSetElement extends Element implements Element native "*HTMLFieldSetEl ement" { | 8235 class FieldSetElement extends Element implements Element native "*HTMLFieldSetEl ement" { |
8194 | 8236 |
8237 ///@docsEditable true | |
8195 factory FieldSetElement() => document.$dom_createElement("fieldset"); | 8238 factory FieldSetElement() => document.$dom_createElement("fieldset"); |
8196 | 8239 |
8197 /// @domName HTMLFieldSetElement.disabled; @docsEditable true | 8240 /// @domName HTMLFieldSetElement.disabled; @docsEditable true |
8198 bool disabled; | 8241 bool disabled; |
8199 | 8242 |
8200 /// @domName HTMLFieldSetElement.elements; @docsEditable true | 8243 /// @domName HTMLFieldSetElement.elements; @docsEditable true |
8201 final HtmlCollection elements; | 8244 final HtmlCollection elements; |
8202 | 8245 |
8203 /// @domName HTMLFieldSetElement.form; @docsEditable true | 8246 /// @domName HTMLFieldSetElement.form; @docsEditable true |
8204 final FormElement form; | 8247 final FormElement form; |
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
8471 File item(int index) native; | 8514 File item(int index) native; |
8472 } | 8515 } |
8473 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 8516 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
8474 // for details. All rights reserved. Use of this source code is governed by a | 8517 // for details. All rights reserved. Use of this source code is governed by a |
8475 // BSD-style license that can be found in the LICENSE file. | 8518 // BSD-style license that can be found in the LICENSE file. |
8476 | 8519 |
8477 | 8520 |
8478 /// @domName FileReader; @docsEditable true | 8521 /// @domName FileReader; @docsEditable true |
8479 class FileReader extends EventTarget native "*FileReader" { | 8522 class FileReader extends EventTarget native "*FileReader" { |
8480 | 8523 |
8524 ///@docsEditable true | |
8481 factory FileReader() => _FileReaderFactoryProvider.createFileReader(); | 8525 factory FileReader() => _FileReaderFactoryProvider.createFileReader(); |
8482 | 8526 |
8483 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true | 8527 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true |
8484 FileReaderEvents get on => | 8528 FileReaderEvents get on => |
8485 new FileReaderEvents(this); | 8529 new FileReaderEvents(this); |
8486 | 8530 |
8487 static const int DONE = 2; | 8531 static const int DONE = 2; |
8488 | 8532 |
8489 static const int EMPTY = 0; | 8533 static const int EMPTY = 0; |
8490 | 8534 |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
8545 EventListenerList get progress => this['progress']; | 8589 EventListenerList get progress => this['progress']; |
8546 } | 8590 } |
8547 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 8591 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
8548 // for details. All rights reserved. Use of this source code is governed by a | 8592 // for details. All rights reserved. Use of this source code is governed by a |
8549 // BSD-style license that can be found in the LICENSE file. | 8593 // BSD-style license that can be found in the LICENSE file. |
8550 | 8594 |
8551 | 8595 |
8552 /// @domName FileReaderSync; @docsEditable true | 8596 /// @domName FileReaderSync; @docsEditable true |
8553 class FileReaderSync native "*FileReaderSync" { | 8597 class FileReaderSync native "*FileReaderSync" { |
8554 | 8598 |
8599 ///@docsEditable true | |
8555 factory FileReaderSync() => _FileReaderSyncFactoryProvider.createFileReaderSyn c(); | 8600 factory FileReaderSync() => _FileReaderSyncFactoryProvider.createFileReaderSyn c(); |
8556 | 8601 |
8557 /// @domName FileReaderSync.readAsArrayBuffer; @docsEditable true | 8602 /// @domName FileReaderSync.readAsArrayBuffer; @docsEditable true |
8558 ArrayBuffer readAsArrayBuffer(Blob blob) native; | 8603 ArrayBuffer readAsArrayBuffer(Blob blob) native; |
8559 | 8604 |
8560 /// @domName FileReaderSync.readAsBinaryString; @docsEditable true | 8605 /// @domName FileReaderSync.readAsBinaryString; @docsEditable true |
8561 String readAsBinaryString(Blob blob) native; | 8606 String readAsBinaryString(Blob blob) native; |
8562 | 8607 |
8563 /// @domName FileReaderSync.readAsDataURL; @docsEditable true | 8608 /// @domName FileReaderSync.readAsDataURL; @docsEditable true |
8564 @JSName('readAsDataURL') | 8609 @JSName('readAsDataURL') |
(...skipping 409 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
8974 String size; | 9019 String size; |
8975 } | 9020 } |
8976 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 9021 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
8977 // for details. All rights reserved. Use of this source code is governed by a | 9022 // for details. All rights reserved. Use of this source code is governed by a |
8978 // BSD-style license that can be found in the LICENSE file. | 9023 // BSD-style license that can be found in the LICENSE file. |
8979 | 9024 |
8980 | 9025 |
8981 /// @domName FormData; @docsEditable true | 9026 /// @domName FormData; @docsEditable true |
8982 class FormData native "*FormData" { | 9027 class FormData native "*FormData" { |
8983 | 9028 |
9029 ///@docsEditable true | |
8984 factory FormData([FormElement form]) { | 9030 factory FormData([FormElement form]) { |
8985 if (!?form) { | 9031 if (!?form) { |
8986 return _FormDataFactoryProvider.createFormData(); | 9032 return _FormDataFactoryProvider.createFormData(); |
8987 } | 9033 } |
8988 return _FormDataFactoryProvider.createFormData(form); | 9034 return _FormDataFactoryProvider.createFormData(form); |
8989 } | 9035 } |
8990 | 9036 |
8991 /// @domName FormData.append; @docsEditable true | 9037 /// @domName FormData.append; @docsEditable true |
8992 void append(String name, String value, String filename) native; | 9038 void append(String name, String value, String filename) native; |
8993 } | 9039 } |
8994 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 9040 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
8995 // for details. All rights reserved. Use of this source code is governed by a | 9041 // for details. All rights reserved. Use of this source code is governed by a |
8996 // BSD-style license that can be found in the LICENSE file. | 9042 // BSD-style license that can be found in the LICENSE file. |
8997 | 9043 |
8998 | 9044 |
8999 /// @domName HTMLFormElement; @docsEditable true | 9045 /// @domName HTMLFormElement; @docsEditable true |
9000 class FormElement extends Element implements Element native "*HTMLFormElement" { | 9046 class FormElement extends Element implements Element native "*HTMLFormElement" { |
9001 | 9047 |
9048 ///@docsEditable true | |
9002 factory FormElement() => document.$dom_createElement("form"); | 9049 factory FormElement() => document.$dom_createElement("form"); |
9003 | 9050 |
9004 /// @domName HTMLFormElement.acceptCharset; @docsEditable true | 9051 /// @domName HTMLFormElement.acceptCharset; @docsEditable true |
9005 String acceptCharset; | 9052 String acceptCharset; |
9006 | 9053 |
9007 /// @domName HTMLFormElement.action; @docsEditable true | 9054 /// @domName HTMLFormElement.action; @docsEditable true |
9008 String action; | 9055 String action; |
9009 | 9056 |
9010 /// @domName HTMLFormElement.autocomplete; @docsEditable true | 9057 /// @domName HTMLFormElement.autocomplete; @docsEditable true |
9011 String autocomplete; | 9058 String autocomplete; |
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
9190 final int timestamp; | 9237 final int timestamp; |
9191 } | 9238 } |
9192 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 9239 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
9193 // for details. All rights reserved. Use of this source code is governed by a | 9240 // for details. All rights reserved. Use of this source code is governed by a |
9194 // BSD-style license that can be found in the LICENSE file. | 9241 // BSD-style license that can be found in the LICENSE file. |
9195 | 9242 |
9196 | 9243 |
9197 /// @domName HTMLHRElement; @docsEditable true | 9244 /// @domName HTMLHRElement; @docsEditable true |
9198 class HRElement extends Element implements Element native "*HTMLHRElement" { | 9245 class HRElement extends Element implements Element native "*HTMLHRElement" { |
9199 | 9246 |
9247 ///@docsEditable true | |
9200 factory HRElement() => document.$dom_createElement("hr"); | 9248 factory HRElement() => document.$dom_createElement("hr"); |
9201 | 9249 |
9202 /// @domName HTMLHRElement.align; @docsEditable true | 9250 /// @domName HTMLHRElement.align; @docsEditable true |
9203 String align; | 9251 String align; |
9204 | 9252 |
9205 /// @domName HTMLHRElement.noShade; @docsEditable true | 9253 /// @domName HTMLHRElement.noShade; @docsEditable true |
9206 bool noShade; | 9254 bool noShade; |
9207 | 9255 |
9208 /// @domName HTMLHRElement.size; @docsEditable true | 9256 /// @domName HTMLHRElement.size; @docsEditable true |
9209 String size; | 9257 String size; |
(...skipping 21 matching lines...) Expand all Loading... | |
9231 void initHashChangeEvent(String type, bool canBubble, bool cancelable, String oldURL, String newURL) native; | 9279 void initHashChangeEvent(String type, bool canBubble, bool cancelable, String oldURL, String newURL) native; |
9232 } | 9280 } |
9233 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 9281 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
9234 // for details. All rights reserved. Use of this source code is governed by a | 9282 // for details. All rights reserved. Use of this source code is governed by a |
9235 // BSD-style license that can be found in the LICENSE file. | 9283 // BSD-style license that can be found in the LICENSE file. |
9236 | 9284 |
9237 | 9285 |
9238 /// @domName HTMLHeadElement; @docsEditable true | 9286 /// @domName HTMLHeadElement; @docsEditable true |
9239 class HeadElement extends Element implements Element native "*HTMLHeadElement" { | 9287 class HeadElement extends Element implements Element native "*HTMLHeadElement" { |
9240 | 9288 |
9289 ///@docsEditable true | |
9241 factory HeadElement() => document.$dom_createElement("head"); | 9290 factory HeadElement() => document.$dom_createElement("head"); |
9242 | 9291 |
9243 /// @domName HTMLHeadElement.profile; @docsEditable true | 9292 /// @domName HTMLHeadElement.profile; @docsEditable true |
9244 String profile; | 9293 String profile; |
9245 } | 9294 } |
9246 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 9295 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
9247 // for details. All rights reserved. Use of this source code is governed by a | 9296 // for details. All rights reserved. Use of this source code is governed by a |
9248 // BSD-style license that can be found in the LICENSE file. | 9297 // BSD-style license that can be found in the LICENSE file. |
9249 | 9298 |
9250 | 9299 |
9251 /// @domName HTMLHeadingElement; @docsEditable true | 9300 /// @domName HTMLHeadingElement; @docsEditable true |
9252 class HeadingElement extends Element implements Element native "*HTMLHeadingElem ent" { | 9301 class HeadingElement extends Element implements Element native "*HTMLHeadingElem ent" { |
9253 | 9302 |
9303 ///@docsEditable true | |
9254 factory HeadingElement.h1() => document.$dom_createElement("h1"); | 9304 factory HeadingElement.h1() => document.$dom_createElement("h1"); |
9255 | 9305 |
9306 ///@docsEditable true | |
9256 factory HeadingElement.h2() => document.$dom_createElement("h2"); | 9307 factory HeadingElement.h2() => document.$dom_createElement("h2"); |
9257 | 9308 |
9309 ///@docsEditable true | |
9258 factory HeadingElement.h3() => document.$dom_createElement("h3"); | 9310 factory HeadingElement.h3() => document.$dom_createElement("h3"); |
9259 | 9311 |
9312 ///@docsEditable true | |
9260 factory HeadingElement.h4() => document.$dom_createElement("h4"); | 9313 factory HeadingElement.h4() => document.$dom_createElement("h4"); |
9261 | 9314 |
9315 ///@docsEditable true | |
9262 factory HeadingElement.h5() => document.$dom_createElement("h5"); | 9316 factory HeadingElement.h5() => document.$dom_createElement("h5"); |
9263 | 9317 |
9318 ///@docsEditable true | |
9264 factory HeadingElement.h6() => document.$dom_createElement("h6"); | 9319 factory HeadingElement.h6() => document.$dom_createElement("h6"); |
9265 | 9320 |
9266 /// @domName HTMLHeadingElement.align; @docsEditable true | 9321 /// @domName HTMLHeadingElement.align; @docsEditable true |
9267 String align; | 9322 String align; |
9268 } | 9323 } |
9269 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 9324 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
9270 // for details. All rights reserved. Use of this source code is governed by a | 9325 // for details. All rights reserved. Use of this source code is governed by a |
9271 // BSD-style license that can be found in the LICENSE file. | 9326 // BSD-style license that can be found in the LICENSE file. |
9272 | 9327 |
9273 | 9328 |
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
9590 String get webkitVisibilityState => document.$dom_webkitVisibilityState; | 9645 String get webkitVisibilityState => document.$dom_webkitVisibilityState; |
9591 } | 9646 } |
9592 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 9647 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
9593 // for details. All rights reserved. Use of this source code is governed by a | 9648 // for details. All rights reserved. Use of this source code is governed by a |
9594 // BSD-style license that can be found in the LICENSE file. | 9649 // BSD-style license that can be found in the LICENSE file. |
9595 | 9650 |
9596 | 9651 |
9597 /// @domName HTMLHtmlElement; @docsEditable true | 9652 /// @domName HTMLHtmlElement; @docsEditable true |
9598 class HtmlElement extends Element implements Element native "*HTMLHtmlElement" { | 9653 class HtmlElement extends Element implements Element native "*HTMLHtmlElement" { |
9599 | 9654 |
9655 ///@docsEditable true | |
9600 factory HtmlElement() => document.$dom_createElement("html"); | 9656 factory HtmlElement() => document.$dom_createElement("html"); |
9601 } | 9657 } |
9602 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 9658 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
9603 // for details. All rights reserved. Use of this source code is governed by a | 9659 // for details. All rights reserved. Use of this source code is governed by a |
9604 // BSD-style license that can be found in the LICENSE file. | 9660 // BSD-style license that can be found in the LICENSE file. |
9605 | 9661 |
9606 | 9662 |
9607 /// @domName HTMLOptionsCollection; @docsEditable true | 9663 /// @domName HTMLOptionsCollection; @docsEditable true |
9608 class HtmlOptionsCollection extends HtmlCollection native "*HTMLOptionsCollectio n" { | 9664 class HtmlOptionsCollection extends HtmlCollection native "*HTMLOptionsCollectio n" { |
9609 | 9665 |
(...skipping 10 matching lines...) Expand all Loading... | |
9620 int selectedIndex; | 9676 int selectedIndex; |
9621 | 9677 |
9622 /// @domName HTMLOptionsCollection.remove; @docsEditable true | 9678 /// @domName HTMLOptionsCollection.remove; @docsEditable true |
9623 void remove(int index) native; | 9679 void remove(int index) native; |
9624 } | 9680 } |
9625 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 9681 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
9626 // for details. All rights reserved. Use of this source code is governed by a | 9682 // for details. All rights reserved. Use of this source code is governed by a |
9627 // BSD-style license that can be found in the LICENSE file. | 9683 // BSD-style license that can be found in the LICENSE file. |
9628 | 9684 |
9629 | 9685 |
9630 /// @domName XMLHttpRequest | 9686 /// HttpRequest is a utility for retrieving data from a URL. |
Kathy Walrath
2012/12/06 19:40:29
Does this generate OK? /// has been eating line en
Emily Fortuna
2012/12/06 21:08:47
Done.
| |
9687 /// | |
9688 /// HttpRequest can be used to obtain data from http, ftp, as well as file | |
Kathy Walrath
2012/12/06 19:40:29
as well as -> and
Emily Fortuna
2012/12/06 21:08:47
Done.
| |
9689 /// protocols. | |
9690 /// | |
9691 /// For example, suppose we're developing this Dart documentation page, and we | |
Kathy Walrath
2012/12/06 19:40:29
this Dart documentation page
->
(something more ge
| |
9692 /// wish to retrieve the html of the top level page and print it out. | |
Kathy Walrath
2012/12/06 19:40:29
html -> HTML
top level -> top-level
Emily Fortuna
2012/12/06 21:08:47
Done.
| |
9693 /// The easiest way to do that would be: | |
9694 /// | |
9695 /// var httpRequest = HttpRequest.get('http://api.dartlang.org', (request) = > print(request.responseText)); | |
Kathy Walrath
2012/12/06 19:40:29
split into 2 lines?
Emily Fortuna
2012/12/06 21:08:47
Done.
| |
9696 /// | |
9697 /// It is important to note that with the default behavior of this class, your | |
9698 /// code making the request should be served from the same origin (domain name, | |
9699 /// port, and application layer protocol) as the url you are trying to access | |
Kathy Walrath
2012/12/06 19:40:29
url -> URL
Emily Fortuna
2012/12/06 21:08:47
Done.
| |
9700 /// with HttpRequest. However, there are ways to | |
9701 /// [get around this restriction](http://www.dartlang.org/articles/json-web-serv ice/#note-on-jsonp). | |
9702 /// | |
9703 /// See also: | |
9704 /// [Dart article on using HttpRequests](http://www.dartlang.org/articles/json-w eb-service/#getting-data), | |
Kathy Walrath
2012/12/06 19:40:29
It'd be nice to make this a bulleted list by inser
Emily Fortuna
2012/12/06 21:08:47
Done.
| |
9705 /// [JS XMLHttpRequest](https://developer.mozilla.org/en-US/docs/DOM/XMLHttpRequ est), | |
9706 /// and [Using XMLHttpRequest](https://developer.mozilla.org/en-US/docs/DOM/XMLH ttpRequest/Using_XMLHttpRequest) | |
9707 /// @domName XMLHttpRequest; @docsEditable true | |
9631 class HttpRequest extends EventTarget native "*XMLHttpRequest" { | 9708 class HttpRequest extends EventTarget native "*XMLHttpRequest" { |
9709 /// Construct a URL get request at the specified [url]. After | |
Kathy Walrath
2012/12/06 19:40:29
Construct -> Creates
at -> for?
Put the first se
Emily Fortuna
2012/12/06 21:08:47
Done.
| |
9710 /// completing the request, the object will call the user provided [onSuccess] | |
9711 /// callback. | |
9712 /// @docsEditable true | |
9632 factory HttpRequest.get(String url, onComplete(HttpRequest request)) => | 9713 factory HttpRequest.get(String url, onComplete(HttpRequest request)) => |
9633 _HttpRequestFactoryProvider.createHttpRequest_get(url, onComplete); | 9714 _HttpRequestFactoryProvider.createHttpRequest_get(url, onComplete); |
9634 | 9715 |
9716 /// Construct a URL GET request at the specified [url] with | |
9717 /// credentials such a cookie (already) set in the header or | |
9718 /// (authorization headers)[http://tools.ietf.org/html/rfc1945#section-10.2]. | |
9719 /// After completing the request, the object will call the user provided [onSu ccess] | |
9720 /// callback. | |
9721 /// | |
9722 /// See also (authorization headers)[http://en.wikipedia.org/wiki/Basic_access _authentication]. | |
9723 /// @docsEditable true | |
9635 factory HttpRequest.getWithCredentials(String url, | 9724 factory HttpRequest.getWithCredentials(String url, |
9636 onComplete(HttpRequest request)) => | 9725 onComplete(HttpRequest request)) => |
9637 _HttpRequestFactoryProvider.createHttpRequest_getWithCredentials(url, | 9726 _HttpRequestFactoryProvider.createHttpRequest_getWithCredentials(url, |
9638 onComplete); | 9727 onComplete); |
9639 | 9728 |
9640 | 9729 |
9730 /// General constructor for any type of request (GET, POST, etc). To be used | |
9731 /// in conjunction with [open]. | |
9732 /// | |
9733 /// var request = new HttpRequest(); | |
9734 /// request.open('GET', 'http://dartlang.org') | |
9735 /// request.on.load.add((event) => print('Request complete')); | |
9736 /// | |
9737 /// is the (more verbose) equivalent of | |
9738 /// | |
9739 /// var request = new HttpRequest.get('http://dartlang.org', (event) => pr int('Request complete')); | |
9740 ///@docsEditable true | |
9641 factory HttpRequest() => _HttpRequestFactoryProvider.createHttpRequest(); | 9741 factory HttpRequest() => _HttpRequestFactoryProvider.createHttpRequest(); |
9642 | 9742 |
9743 /// Get the set of [HttpRequestEvents] that this request can respond to. | |
9744 /// Usually used when adding an EventListener, such as in | |
9745 /// `document.window.on.keyDown.add((e) => print('keydown happened'))`. | |
9643 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true | 9746 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true |
9644 HttpRequestEvents get on => | 9747 HttpRequestEvents get on => |
9645 new HttpRequestEvents(this); | 9748 new HttpRequestEvents(this); |
9646 | 9749 |
9647 static const int DONE = 4; | 9750 static const int DONE = 4; |
9648 | 9751 |
9649 static const int HEADERS_RECEIVED = 2; | 9752 static const int HEADERS_RECEIVED = 2; |
9650 | 9753 |
9651 static const int LOADING = 3; | 9754 static const int LOADING = 3; |
9652 | 9755 |
9653 static const int OPENED = 1; | 9756 static const int OPENED = 1; |
9654 | 9757 |
9655 static const int UNSENT = 0; | 9758 static const int UNSENT = 0; |
9656 | 9759 |
9657 /// @domName XMLHttpRequest.readyState; @docsEditable true | 9760 /// @domName XMLHttpRequest.readyState; @docsEditable true |
9658 final int readyState; | 9761 final int readyState; |
9659 | 9762 |
9763 /// The data received as a reponse from the request. | |
9764 /// | |
9765 /// The data could be in the | |
9766 /// form of a [String], [ArrayBuffer], [Document], [Blob], or json (also a | |
9767 /// [String]). `null` indicates request failure. | |
9660 /// @domName XMLHttpRequest.response; @docsEditable true | 9768 /// @domName XMLHttpRequest.response; @docsEditable true |
9661 @Creates('ArrayBuffer|Blob|Document|=Object|=List|String|num') | 9769 @Creates('ArrayBuffer|Blob|Document|=Object|=List|String|num') |
9662 final Object response; | 9770 final Object response; |
9663 | 9771 |
9772 /// The response in string form or `null` on failure. | |
9664 /// @domName XMLHttpRequest.responseText; @docsEditable true | 9773 /// @domName XMLHttpRequest.responseText; @docsEditable true |
9665 final String responseText; | 9774 final String responseText; |
9666 | 9775 |
9776 /// [String] telling the server the desired response format. | |
9777 /// | |
9778 /// Default is `String`. | |
9779 /// Other options are one of 'arraybuffer', 'blob', 'document', 'json', | |
9780 /// 'text'. Some newer browsers will throw NS_ERROR_DOM_INVALID_ACCESS_ERR if | |
9781 /// `responseType` is set while performing a synchronous request. | |
9782 /// | |
9783 /// See also: [MDN responseType](https://developer.mozilla.org/en-US/docs/DOM/ XMLHttpRequest#responseType) | |
9667 /// @domName XMLHttpRequest.responseType; @docsEditable true | 9784 /// @domName XMLHttpRequest.responseType; @docsEditable true |
9668 String responseType; | 9785 String responseType; |
9669 | 9786 |
9670 /// @domName XMLHttpRequest.responseXML; @docsEditable true | 9787 /// @domName XMLHttpRequest.responseXML; @docsEditable true |
9671 @JSName('responseXML') | 9788 @JSName('responseXML') |
9672 final Document responseXml; | 9789 final Document responseXml; |
9673 | 9790 |
9791 /// The http result code from the request (200, 404, etc). | |
9792 /// See also: [Http Status Codes](http://en.wikipedia.org/wiki/List_of_HTTP_st atus_codes) | |
9674 /// @domName XMLHttpRequest.status; @docsEditable true | 9793 /// @domName XMLHttpRequest.status; @docsEditable true |
9675 final int status; | 9794 final int status; |
9676 | 9795 |
9796 /// The request response string (such as "200 OK"). | |
9797 /// See also: [Http Status Codes](http://en.wikipedia.org/wiki/List_of_HTTP_st atus_codes) | |
9677 /// @domName XMLHttpRequest.statusText; @docsEditable true | 9798 /// @domName XMLHttpRequest.statusText; @docsEditable true |
9678 final String statusText; | 9799 final String statusText; |
9679 | 9800 |
9801 /// [EventTarget] that can hold listeners to track the progress of the request . | |
9802 /// The events fired will be members of [HttpRequestUploadEvents]. | |
9680 /// @domName XMLHttpRequest.upload; @docsEditable true | 9803 /// @domName XMLHttpRequest.upload; @docsEditable true |
9681 final HttpRequestUpload upload; | 9804 final HttpRequestUpload upload; |
9682 | 9805 |
9806 /// True if cross-site requests should use credentials such as cookies | |
9807 /// or authorization headers; false otherwise. This value is ignored for | |
9808 /// same-site requests. | |
9683 /// @domName XMLHttpRequest.withCredentials; @docsEditable true | 9809 /// @domName XMLHttpRequest.withCredentials; @docsEditable true |
9684 bool withCredentials; | 9810 bool withCredentials; |
9685 | 9811 |
9812 /// Stop the current request. The request can only be stopped if readyState | |
9813 /// is `HEADERS_RECIEVED` or `LOADING`. If this method is not in the process | |
9814 /// of being sent, the method has no effect. | |
9686 /// @domName XMLHttpRequest.abort; @docsEditable true | 9815 /// @domName XMLHttpRequest.abort; @docsEditable true |
9687 void abort() native; | 9816 void abort() native; |
9688 | 9817 |
9689 /// @domName XMLHttpRequest.addEventListener; @docsEditable true | 9818 /// @domName XMLHttpRequest.addEventListener; @docsEditable true |
9690 @JSName('addEventListener') | 9819 @JSName('addEventListener') |
9691 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu re]) native; | 9820 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu re]) native; |
9692 | 9821 |
9693 /// @domName XMLHttpRequest.dispatchEvent; @docsEditable true | 9822 /// @domName XMLHttpRequest.dispatchEvent; @docsEditable true |
9694 @JSName('dispatchEvent') | 9823 @JSName('dispatchEvent') |
9695 bool $dom_dispatchEvent(Event evt) native; | 9824 bool $dom_dispatchEvent(Event evt) native; |
9696 | 9825 |
9826 /// Retrieve all the response headers from a request. | |
9827 /// | |
9828 /// `null` if no headers have been received. For multipart requests, | |
9829 /// `getAllResponseHeaders` will return the response headers for the current | |
9830 /// part of the request. | |
9831 /// | |
9832 /// See also [HTTP response headers](http://en.wikipedia.org/wiki/List_of_HTTP _header_fields#Responses) | |
9833 /// for a list of common response headers. | |
9697 /// @domName XMLHttpRequest.getAllResponseHeaders; @docsEditable true | 9834 /// @domName XMLHttpRequest.getAllResponseHeaders; @docsEditable true |
9698 String getAllResponseHeaders() native; | 9835 String getAllResponseHeaders() native; |
9699 | 9836 |
9837 /// Return the response header named `header`, or `null` if not found. | |
9838 /// | |
9839 /// See also [HTTP response headers](http://en.wikipedia.org/wiki/List_of_HTTP _header_fields#Responses) | |
9840 /// for a list of common response headers. | |
9700 /// @domName XMLHttpRequest.getResponseHeader; @docsEditable true | 9841 /// @domName XMLHttpRequest.getResponseHeader; @docsEditable true |
9701 String getResponseHeader(String header) native; | 9842 String getResponseHeader(String header) native; |
9702 | 9843 |
9844 /// Specify the desired `url`, and `method` to use in making the request. | |
9845 /// | |
9846 /// By default the request is done asyncronously, with no user or password | |
9847 /// authentication information. If `async` is false, the request will be send | |
9848 /// synchronously. | |
9849 /// | |
9850 /// Calling `open` again on a currently active request is equivalent to | |
9851 /// calling `abort`. | |
9703 /// @domName XMLHttpRequest.open; @docsEditable true | 9852 /// @domName XMLHttpRequest.open; @docsEditable true |
9704 void open(String method, String url, [bool async, String user, String password ]) native; | 9853 void open(String method, String url, [bool async, String user, String password ]) native; |
9705 | 9854 |
9855 /// Specify a particular MIME type (such as `text/xml`) desired for the | |
9856 /// response. | |
9857 /// | |
9858 /// This value must be set before the request has been sent. See also the list | |
9859 /// of [common MIME types](http://en.wikipedia.org/wiki/Internet_media_type#Li st_of_common_media_types) | |
9706 /// @domName XMLHttpRequest.overrideMimeType; @docsEditable true | 9860 /// @domName XMLHttpRequest.overrideMimeType; @docsEditable true |
9707 void overrideMimeType(String override) native; | 9861 void overrideMimeType(String override) native; |
9708 | 9862 |
9709 /// @domName XMLHttpRequest.removeEventListener; @docsEditable true | 9863 /// @domName XMLHttpRequest.removeEventListener; @docsEditable true |
9710 @JSName('removeEventListener') | 9864 @JSName('removeEventListener') |
9711 void $dom_removeEventListener(String type, EventListener listener, [bool useCa pture]) native; | 9865 void $dom_removeEventListener(String type, EventListener listener, [bool useCa pture]) native; |
9712 | 9866 |
9867 /// Send the request with any given `data`. See also | |
9868 /// [MDN send() docs](https://developer.mozilla.org/en-US/docs/DOM/XMLHttpRequ est#send()). | |
9713 /// @domName XMLHttpRequest.send; @docsEditable true | 9869 /// @domName XMLHttpRequest.send; @docsEditable true |
9714 void send([data]) native; | 9870 void send([data]) native; |
9715 | 9871 |
9872 /// Sets HTTP `header` to `value`. | |
9716 /// @domName XMLHttpRequest.setRequestHeader; @docsEditable true | 9873 /// @domName XMLHttpRequest.setRequestHeader; @docsEditable true |
9717 void setRequestHeader(String header, String value) native; | 9874 void setRequestHeader(String header, String value) native; |
9718 | 9875 |
9719 } | 9876 } |
9720 | 9877 |
9721 class HttpRequestEvents extends Events { | 9878 class HttpRequestEvents extends Events { |
9722 HttpRequestEvents(EventTarget _ptr) : super(_ptr); | 9879 HttpRequestEvents(EventTarget _ptr) : super(_ptr); |
9723 | 9880 |
9724 EventListenerList get abort => this['abort']; | 9881 EventListenerList get abort => this['abort']; |
9725 | 9882 |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
9814 EventListenerList get progress => this['progress']; | 9971 EventListenerList get progress => this['progress']; |
9815 } | 9972 } |
9816 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 9973 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
9817 // for details. All rights reserved. Use of this source code is governed by a | 9974 // for details. All rights reserved. Use of this source code is governed by a |
9818 // BSD-style license that can be found in the LICENSE file. | 9975 // BSD-style license that can be found in the LICENSE file. |
9819 | 9976 |
9820 | 9977 |
9821 /// @domName HTMLIFrameElement; @docsEditable true | 9978 /// @domName HTMLIFrameElement; @docsEditable true |
9822 class IFrameElement extends Element implements Element native "*HTMLIFrameElemen t" { | 9979 class IFrameElement extends Element implements Element native "*HTMLIFrameElemen t" { |
9823 | 9980 |
9981 ///@docsEditable true | |
9824 factory IFrameElement() => document.$dom_createElement("iframe"); | 9982 factory IFrameElement() => document.$dom_createElement("iframe"); |
9825 | 9983 |
9826 /// @domName HTMLIFrameElement.align; @docsEditable true | 9984 /// @domName HTMLIFrameElement.align; @docsEditable true |
9827 String align; | 9985 String align; |
9828 | 9986 |
9829 /// @domName HTMLIFrameElement.contentWindow; @docsEditable true | 9987 /// @domName HTMLIFrameElement.contentWindow; @docsEditable true |
9830 Window get contentWindow => _convertNativeToDart_Window(this._contentWindow); | 9988 Window get contentWindow => _convertNativeToDart_Window(this._contentWindow); |
9831 @JSName('contentWindow') | 9989 @JSName('contentWindow') |
9832 @Creates('LocalWindow|=Object') @Returns('LocalWindow|=Object') | 9990 @Creates('LocalWindow|=Object') @Returns('LocalWindow|=Object') |
9833 final dynamic _contentWindow; | 9991 final dynamic _contentWindow; |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
9874 | 10032 |
9875 typedef void IceCallback(IceCandidate candidate, bool moreToFollow, PeerConnecti on00 source); | 10033 typedef void IceCallback(IceCandidate candidate, bool moreToFollow, PeerConnecti on00 source); |
9876 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 10034 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
9877 // for details. All rights reserved. Use of this source code is governed by a | 10035 // for details. All rights reserved. Use of this source code is governed by a |
9878 // BSD-style license that can be found in the LICENSE file. | 10036 // BSD-style license that can be found in the LICENSE file. |
9879 | 10037 |
9880 | 10038 |
9881 /// @domName IceCandidate; @docsEditable true | 10039 /// @domName IceCandidate; @docsEditable true |
9882 class IceCandidate native "*IceCandidate" { | 10040 class IceCandidate native "*IceCandidate" { |
9883 | 10041 |
10042 ///@docsEditable true | |
9884 factory IceCandidate(String label, String candidateLine) => _IceCandidateFacto ryProvider.createIceCandidate(label, candidateLine); | 10043 factory IceCandidate(String label, String candidateLine) => _IceCandidateFacto ryProvider.createIceCandidate(label, candidateLine); |
9885 | 10044 |
9886 /// @domName IceCandidate.label; @docsEditable true | 10045 /// @domName IceCandidate.label; @docsEditable true |
9887 final String label; | 10046 final String label; |
9888 | 10047 |
9889 /// @domName IceCandidate.toSdp; @docsEditable true | 10048 /// @domName IceCandidate.toSdp; @docsEditable true |
9890 String toSdp() native; | 10049 String toSdp() native; |
9891 } | 10050 } |
9892 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 10051 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
9893 // for details. All rights reserved. Use of this source code is governed by a | 10052 // for details. All rights reserved. Use of this source code is governed by a |
(...skipping 13 matching lines...) Expand all Loading... | |
9907 final int width; | 10066 final int width; |
9908 } | 10067 } |
9909 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 10068 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
9910 // for details. All rights reserved. Use of this source code is governed by a | 10069 // for details. All rights reserved. Use of this source code is governed by a |
9911 // BSD-style license that can be found in the LICENSE file. | 10070 // BSD-style license that can be found in the LICENSE file. |
9912 | 10071 |
9913 | 10072 |
9914 /// @domName HTMLImageElement; @docsEditable true | 10073 /// @domName HTMLImageElement; @docsEditable true |
9915 class ImageElement extends Element implements Element native "*HTMLImageElement" { | 10074 class ImageElement extends Element implements Element native "*HTMLImageElement" { |
9916 | 10075 |
10076 ///@docsEditable true | |
9917 factory ImageElement({String src, int width, int height}) { | 10077 factory ImageElement({String src, int width, int height}) { |
9918 var e = document.$dom_createElement("img"); | 10078 var e = document.$dom_createElement("img"); |
9919 if (src != null) e.src = src; | 10079 if (src != null) e.src = src; |
9920 if (width != null) e.width = width; | 10080 if (width != null) e.width = width; |
9921 if (height != null) e.height = height; | 10081 if (height != null) e.height = height; |
9922 return e; | 10082 return e; |
9923 } | 10083 } |
9924 | 10084 |
9925 /// @domName HTMLImageElement.align; @docsEditable true | 10085 /// @domName HTMLImageElement.align; @docsEditable true |
9926 String align; | 10086 String align; |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
9980 final int y; | 10140 final int y; |
9981 } | 10141 } |
9982 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 10142 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
9983 // for details. All rights reserved. Use of this source code is governed by a | 10143 // for details. All rights reserved. Use of this source code is governed by a |
9984 // BSD-style license that can be found in the LICENSE file. | 10144 // BSD-style license that can be found in the LICENSE file. |
9985 | 10145 |
9986 | 10146 |
9987 /// @domName HTMLInputElement; @docsEditable true | 10147 /// @domName HTMLInputElement; @docsEditable true |
9988 class InputElement extends Element implements Element native "*HTMLInputElement" { | 10148 class InputElement extends Element implements Element native "*HTMLInputElement" { |
9989 | 10149 |
10150 ///@docsEditable true | |
9990 factory InputElement({String type}) { | 10151 factory InputElement({String type}) { |
9991 var e = document.$dom_createElement("input"); | 10152 var e = document.$dom_createElement("input"); |
9992 if (type != null) e.type = type; | 10153 if (type != null) e.type = type; |
9993 return e; | 10154 return e; |
9994 } | 10155 } |
9995 | 10156 |
9996 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true | 10157 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true |
9997 InputElementEvents get on => | 10158 InputElementEvents get on => |
9998 new InputElementEvents(this); | 10159 new InputElementEvents(this); |
9999 | 10160 |
(...skipping 675 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
10675 | 10836 |
10676 } | 10837 } |
10677 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 10838 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
10678 // for details. All rights reserved. Use of this source code is governed by a | 10839 // for details. All rights reserved. Use of this source code is governed by a |
10679 // BSD-style license that can be found in the LICENSE file. | 10840 // BSD-style license that can be found in the LICENSE file. |
10680 | 10841 |
10681 | 10842 |
10682 /// @domName HTMLKeygenElement; @docsEditable true | 10843 /// @domName HTMLKeygenElement; @docsEditable true |
10683 class KeygenElement extends Element implements Element native "*HTMLKeygenElemen t" { | 10844 class KeygenElement extends Element implements Element native "*HTMLKeygenElemen t" { |
10684 | 10845 |
10846 ///@docsEditable true | |
10685 factory KeygenElement() => document.$dom_createElement("keygen"); | 10847 factory KeygenElement() => document.$dom_createElement("keygen"); |
10686 | 10848 |
10687 /// @domName HTMLKeygenElement.autofocus; @docsEditable true | 10849 /// @domName HTMLKeygenElement.autofocus; @docsEditable true |
10688 bool autofocus; | 10850 bool autofocus; |
10689 | 10851 |
10690 /// @domName HTMLKeygenElement.challenge; @docsEditable true | 10852 /// @domName HTMLKeygenElement.challenge; @docsEditable true |
10691 String challenge; | 10853 String challenge; |
10692 | 10854 |
10693 /// @domName HTMLKeygenElement.disabled; @docsEditable true | 10855 /// @domName HTMLKeygenElement.disabled; @docsEditable true |
10694 bool disabled; | 10856 bool disabled; |
(...skipping 30 matching lines...) Expand all Loading... | |
10725 void setCustomValidity(String error) native; | 10887 void setCustomValidity(String error) native; |
10726 } | 10888 } |
10727 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 10889 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
10728 // for details. All rights reserved. Use of this source code is governed by a | 10890 // for details. All rights reserved. Use of this source code is governed by a |
10729 // BSD-style license that can be found in the LICENSE file. | 10891 // BSD-style license that can be found in the LICENSE file. |
10730 | 10892 |
10731 | 10893 |
10732 /// @domName HTMLLIElement; @docsEditable true | 10894 /// @domName HTMLLIElement; @docsEditable true |
10733 class LIElement extends Element implements Element native "*HTMLLIElement" { | 10895 class LIElement extends Element implements Element native "*HTMLLIElement" { |
10734 | 10896 |
10897 ///@docsEditable true | |
10735 factory LIElement() => document.$dom_createElement("li"); | 10898 factory LIElement() => document.$dom_createElement("li"); |
10736 | 10899 |
10737 /// @domName HTMLLIElement.type; @docsEditable true | 10900 /// @domName HTMLLIElement.type; @docsEditable true |
10738 String type; | 10901 String type; |
10739 | 10902 |
10740 /// @domName HTMLLIElement.value; @docsEditable true | 10903 /// @domName HTMLLIElement.value; @docsEditable true |
10741 int value; | 10904 int value; |
10742 } | 10905 } |
10743 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 10906 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
10744 // for details. All rights reserved. Use of this source code is governed by a | 10907 // for details. All rights reserved. Use of this source code is governed by a |
10745 // BSD-style license that can be found in the LICENSE file. | 10908 // BSD-style license that can be found in the LICENSE file. |
10746 | 10909 |
10747 | 10910 |
10748 /// @domName HTMLLabelElement; @docsEditable true | 10911 /// @domName HTMLLabelElement; @docsEditable true |
10749 class LabelElement extends Element implements Element native "*HTMLLabelElement" { | 10912 class LabelElement extends Element implements Element native "*HTMLLabelElement" { |
10750 | 10913 |
10914 ///@docsEditable true | |
10751 factory LabelElement() => document.$dom_createElement("label"); | 10915 factory LabelElement() => document.$dom_createElement("label"); |
10752 | 10916 |
10753 /// @domName HTMLLabelElement.control; @docsEditable true | 10917 /// @domName HTMLLabelElement.control; @docsEditable true |
10754 final Element control; | 10918 final Element control; |
10755 | 10919 |
10756 /// @domName HTMLLabelElement.form; @docsEditable true | 10920 /// @domName HTMLLabelElement.form; @docsEditable true |
10757 final FormElement form; | 10921 final FormElement form; |
10758 | 10922 |
10759 /// @domName HTMLLabelElement.htmlFor; @docsEditable true | 10923 /// @domName HTMLLabelElement.htmlFor; @docsEditable true |
10760 String htmlFor; | 10924 String htmlFor; |
10761 } | 10925 } |
10762 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 10926 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
10763 // for details. All rights reserved. Use of this source code is governed by a | 10927 // for details. All rights reserved. Use of this source code is governed by a |
10764 // BSD-style license that can be found in the LICENSE file. | 10928 // BSD-style license that can be found in the LICENSE file. |
10765 | 10929 |
10766 | 10930 |
10767 /// @domName HTMLLegendElement; @docsEditable true | 10931 /// @domName HTMLLegendElement; @docsEditable true |
10768 class LegendElement extends Element implements Element native "*HTMLLegendElemen t" { | 10932 class LegendElement extends Element implements Element native "*HTMLLegendElemen t" { |
10769 | 10933 |
10934 ///@docsEditable true | |
10770 factory LegendElement() => document.$dom_createElement("legend"); | 10935 factory LegendElement() => document.$dom_createElement("legend"); |
10771 | 10936 |
10772 /// @domName HTMLLegendElement.align; @docsEditable true | 10937 /// @domName HTMLLegendElement.align; @docsEditable true |
10773 String align; | 10938 String align; |
10774 | 10939 |
10775 /// @domName HTMLLegendElement.form; @docsEditable true | 10940 /// @domName HTMLLegendElement.form; @docsEditable true |
10776 final FormElement form; | 10941 final FormElement form; |
10777 } | 10942 } |
10778 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 10943 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
10779 // for details. All rights reserved. Use of this source code is governed by a | 10944 // for details. All rights reserved. Use of this source code is governed by a |
10780 // BSD-style license that can be found in the LICENSE file. | 10945 // BSD-style license that can be found in the LICENSE file. |
10781 | 10946 |
10782 | 10947 |
10783 /// @domName HTMLLinkElement; @docsEditable true | 10948 /// @domName HTMLLinkElement; @docsEditable true |
10784 class LinkElement extends Element implements Element native "*HTMLLinkElement" { | 10949 class LinkElement extends Element implements Element native "*HTMLLinkElement" { |
10785 | 10950 |
10951 ///@docsEditable true | |
10786 factory LinkElement() => document.$dom_createElement("link"); | 10952 factory LinkElement() => document.$dom_createElement("link"); |
10787 | 10953 |
10788 /// @domName HTMLLinkElement.charset; @docsEditable true | 10954 /// @domName HTMLLinkElement.charset; @docsEditable true |
10789 String charset; | 10955 String charset; |
10790 | 10956 |
10791 /// @domName HTMLLinkElement.disabled; @docsEditable true | 10957 /// @domName HTMLLinkElement.disabled; @docsEditable true |
10792 bool disabled; | 10958 bool disabled; |
10793 | 10959 |
10794 /// @domName HTMLLinkElement.href; @docsEditable true | 10960 /// @domName HTMLLinkElement.href; @docsEditable true |
10795 String href; | 10961 String href; |
(...skipping 702 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
11498 EventListenerList get transitionEnd => this['webkitTransitionEnd']; | 11664 EventListenerList get transitionEnd => this['webkitTransitionEnd']; |
11499 } | 11665 } |
11500 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 11666 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
11501 // for details. All rights reserved. Use of this source code is governed by a | 11667 // for details. All rights reserved. Use of this source code is governed by a |
11502 // BSD-style license that can be found in the LICENSE file. | 11668 // BSD-style license that can be found in the LICENSE file. |
11503 | 11669 |
11504 | 11670 |
11505 /// @domName HTMLMapElement; @docsEditable true | 11671 /// @domName HTMLMapElement; @docsEditable true |
11506 class MapElement extends Element implements Element native "*HTMLMapElement" { | 11672 class MapElement extends Element implements Element native "*HTMLMapElement" { |
11507 | 11673 |
11674 ///@docsEditable true | |
11508 factory MapElement() => document.$dom_createElement("map"); | 11675 factory MapElement() => document.$dom_createElement("map"); |
11509 | 11676 |
11510 /// @domName HTMLMapElement.areas; @docsEditable true | 11677 /// @domName HTMLMapElement.areas; @docsEditable true |
11511 final HtmlCollection areas; | 11678 final HtmlCollection areas; |
11512 | 11679 |
11513 /// @domName HTMLMapElement.name; @docsEditable true | 11680 /// @domName HTMLMapElement.name; @docsEditable true |
11514 String name; | 11681 String name; |
11515 } | 11682 } |
11516 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 11683 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
11517 // for details. All rights reserved. Use of this source code is governed by a | 11684 // for details. All rights reserved. Use of this source code is governed by a |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
11561 void stop() native; | 11728 void stop() native; |
11562 } | 11729 } |
11563 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 11730 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
11564 // for details. All rights reserved. Use of this source code is governed by a | 11731 // for details. All rights reserved. Use of this source code is governed by a |
11565 // BSD-style license that can be found in the LICENSE file. | 11732 // BSD-style license that can be found in the LICENSE file. |
11566 | 11733 |
11567 | 11734 |
11568 /// @domName MediaController; @docsEditable true | 11735 /// @domName MediaController; @docsEditable true |
11569 class MediaController extends EventTarget native "*MediaController" { | 11736 class MediaController extends EventTarget native "*MediaController" { |
11570 | 11737 |
11738 ///@docsEditable true | |
11571 factory MediaController() => _MediaControllerFactoryProvider.createMediaContro ller(); | 11739 factory MediaController() => _MediaControllerFactoryProvider.createMediaContro ller(); |
11572 | 11740 |
11573 /// @domName MediaController.buffered; @docsEditable true | 11741 /// @domName MediaController.buffered; @docsEditable true |
11574 final TimeRanges buffered; | 11742 final TimeRanges buffered; |
11575 | 11743 |
11576 /// @domName MediaController.currentTime; @docsEditable true | 11744 /// @domName MediaController.currentTime; @docsEditable true |
11577 num currentTime; | 11745 num currentTime; |
11578 | 11746 |
11579 /// @domName MediaController.defaultPlaybackRate; @docsEditable true | 11747 /// @domName MediaController.defaultPlaybackRate; @docsEditable true |
11580 num defaultPlaybackRate; | 11748 num defaultPlaybackRate; |
(...skipping 370 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
11951 void queryChanged(MediaQueryList list); | 12119 void queryChanged(MediaQueryList list); |
11952 } | 12120 } |
11953 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 12121 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
11954 // for details. All rights reserved. Use of this source code is governed by a | 12122 // for details. All rights reserved. Use of this source code is governed by a |
11955 // BSD-style license that can be found in the LICENSE file. | 12123 // BSD-style license that can be found in the LICENSE file. |
11956 | 12124 |
11957 | 12125 |
11958 /// @domName MediaSource; @docsEditable true | 12126 /// @domName MediaSource; @docsEditable true |
11959 class MediaSource extends EventTarget native "*MediaSource" { | 12127 class MediaSource extends EventTarget native "*MediaSource" { |
11960 | 12128 |
12129 ///@docsEditable true | |
11961 factory MediaSource() => _MediaSourceFactoryProvider.createMediaSource(); | 12130 factory MediaSource() => _MediaSourceFactoryProvider.createMediaSource(); |
11962 | 12131 |
11963 /// @domName MediaSource.activeSourceBuffers; @docsEditable true | 12132 /// @domName MediaSource.activeSourceBuffers; @docsEditable true |
11964 final SourceBufferList activeSourceBuffers; | 12133 final SourceBufferList activeSourceBuffers; |
11965 | 12134 |
11966 /// @domName MediaSource.duration; @docsEditable true | 12135 /// @domName MediaSource.duration; @docsEditable true |
11967 num duration; | 12136 num duration; |
11968 | 12137 |
11969 /// @domName MediaSource.readyState; @docsEditable true | 12138 /// @domName MediaSource.readyState; @docsEditable true |
11970 final String readyState; | 12139 final String readyState; |
(...skipping 23 matching lines...) Expand all Loading... | |
11994 void removeSourceBuffer(SourceBuffer buffer) native; | 12163 void removeSourceBuffer(SourceBuffer buffer) native; |
11995 } | 12164 } |
11996 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 12165 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
11997 // for details. All rights reserved. Use of this source code is governed by a | 12166 // for details. All rights reserved. Use of this source code is governed by a |
11998 // BSD-style license that can be found in the LICENSE file. | 12167 // BSD-style license that can be found in the LICENSE file. |
11999 | 12168 |
12000 | 12169 |
12001 /// @domName MediaStream; @docsEditable true | 12170 /// @domName MediaStream; @docsEditable true |
12002 class MediaStream extends EventTarget native "*MediaStream" { | 12171 class MediaStream extends EventTarget native "*MediaStream" { |
12003 | 12172 |
12173 ///@docsEditable true | |
12004 factory MediaStream(MediaStreamTrackList audioTracks, MediaStreamTrackList vid eoTracks) => _MediaStreamFactoryProvider.createMediaStream(audioTracks, videoTra cks); | 12174 factory MediaStream(MediaStreamTrackList audioTracks, MediaStreamTrackList vid eoTracks) => _MediaStreamFactoryProvider.createMediaStream(audioTracks, videoTra cks); |
12005 | 12175 |
12006 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true | 12176 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true |
12007 MediaStreamEvents get on => | 12177 MediaStreamEvents get on => |
12008 new MediaStreamEvents(this); | 12178 new MediaStreamEvents(this); |
12009 | 12179 |
12010 static const int ENDED = 2; | 12180 static const int ENDED = 2; |
12011 | 12181 |
12012 static const int LIVE = 1; | 12182 static const int LIVE = 1; |
12013 | 12183 |
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
12174 final int totalJSHeapSize; | 12344 final int totalJSHeapSize; |
12175 | 12345 |
12176 /// @domName MemoryInfo.usedJSHeapSize; @docsEditable true | 12346 /// @domName MemoryInfo.usedJSHeapSize; @docsEditable true |
12177 final int usedJSHeapSize; | 12347 final int usedJSHeapSize; |
12178 } | 12348 } |
12179 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 12349 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
12180 // for details. All rights reserved. Use of this source code is governed by a | 12350 // for details. All rights reserved. Use of this source code is governed by a |
12181 // BSD-style license that can be found in the LICENSE file. | 12351 // BSD-style license that can be found in the LICENSE file. |
12182 | 12352 |
12183 | 12353 |
12354 /** | |
12355 * An HTML <menu> element. | |
12356 * | |
12357 * A <menu> element represents an unordered list of menu commands. | |
12358 * | |
12359 * See also: | |
12360 * | |
12361 * * [Menu Element](https://developer.mozilla.org/en-US/docs/HTML/Element/menu) from MDN. | |
12362 * * [Menu Element](http://www.w3.org/TR/html5/the-menu-element.html#the-menu-e lement) from the W3C. | |
12363 */ | |
12184 /// @domName HTMLMenuElement; @docsEditable true | 12364 /// @domName HTMLMenuElement; @docsEditable true |
12185 class MenuElement extends Element implements Element native "*HTMLMenuElement" { | 12365 class MenuElement extends Element implements Element native "*HTMLMenuElement" { |
12186 | 12366 |
12367 ///@docsEditable true | |
12187 factory MenuElement() => document.$dom_createElement("menu"); | 12368 factory MenuElement() => document.$dom_createElement("menu"); |
12188 } | 12369 } |
12189 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 12370 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
12190 // for details. All rights reserved. Use of this source code is governed by a | 12371 // for details. All rights reserved. Use of this source code is governed by a |
12191 // BSD-style license that can be found in the LICENSE file. | 12372 // BSD-style license that can be found in the LICENSE file. |
12192 | 12373 |
12193 | 12374 |
12194 /// @domName MessageChannel; @docsEditable true | 12375 /// @domName MessageChannel; @docsEditable true |
12195 class MessageChannel native "*MessageChannel" { | 12376 class MessageChannel native "*MessageChannel" { |
12196 | 12377 |
12378 ///@docsEditable true | |
12197 factory MessageChannel() => _MessageChannelFactoryProvider.createMessageChanne l(); | 12379 factory MessageChannel() => _MessageChannelFactoryProvider.createMessageChanne l(); |
12198 | 12380 |
12199 /// @domName MessageChannel.port1; @docsEditable true | 12381 /// @domName MessageChannel.port1; @docsEditable true |
12200 final MessagePort port1; | 12382 final MessagePort port1; |
12201 | 12383 |
12202 /// @domName MessageChannel.port2; @docsEditable true | 12384 /// @domName MessageChannel.port2; @docsEditable true |
12203 final MessagePort port2; | 12385 final MessagePort port2; |
12204 } | 12386 } |
12205 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 12387 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
12206 // for details. All rights reserved. Use of this source code is governed by a | 12388 // for details. All rights reserved. Use of this source code is governed by a |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
12333 | 12515 |
12334 typedef void MetadataCallback(Metadata metadata); | 12516 typedef void MetadataCallback(Metadata metadata); |
12335 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 12517 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
12336 // for details. All rights reserved. Use of this source code is governed by a | 12518 // for details. All rights reserved. Use of this source code is governed by a |
12337 // BSD-style license that can be found in the LICENSE file. | 12519 // BSD-style license that can be found in the LICENSE file. |
12338 | 12520 |
12339 | 12521 |
12340 /// @domName HTMLMeterElement; @docsEditable true | 12522 /// @domName HTMLMeterElement; @docsEditable true |
12341 class MeterElement extends Element implements Element native "*HTMLMeterElement" { | 12523 class MeterElement extends Element implements Element native "*HTMLMeterElement" { |
12342 | 12524 |
12525 ///@docsEditable true | |
12343 factory MeterElement() => document.$dom_createElement("meter"); | 12526 factory MeterElement() => document.$dom_createElement("meter"); |
12344 | 12527 |
12345 /// @domName HTMLMeterElement.high; @docsEditable true | 12528 /// @domName HTMLMeterElement.high; @docsEditable true |
12346 num high; | 12529 num high; |
12347 | 12530 |
12348 /// @domName HTMLMeterElement.labels; @docsEditable true | 12531 /// @domName HTMLMeterElement.labels; @docsEditable true |
12349 @Returns('NodeList') @Creates('NodeList') | 12532 @Returns('NodeList') @Creates('NodeList') |
12350 final List<Node> labels; | 12533 final List<Node> labels; |
12351 | 12534 |
12352 /// @domName HTMLMeterElement.low; @docsEditable true | 12535 /// @domName HTMLMeterElement.low; @docsEditable true |
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
12529 void initMutationEvent(String type, bool canBubble, bool cancelable, Node rela tedNode, String prevValue, String newValue, String attrName, int attrChange) nat ive; | 12712 void initMutationEvent(String type, bool canBubble, bool cancelable, Node rela tedNode, String prevValue, String newValue, String attrName, int attrChange) nat ive; |
12530 } | 12713 } |
12531 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 12714 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
12532 // for details. All rights reserved. Use of this source code is governed by a | 12715 // for details. All rights reserved. Use of this source code is governed by a |
12533 // BSD-style license that can be found in the LICENSE file. | 12716 // BSD-style license that can be found in the LICENSE file. |
12534 | 12717 |
12535 | 12718 |
12536 /// @domName MutationObserver | 12719 /// @domName MutationObserver |
12537 class MutationObserver native "*MutationObserver" { | 12720 class MutationObserver native "*MutationObserver" { |
12538 | 12721 |
12722 ///@docsEditable true | |
12539 factory MutationObserver(MutationCallback callback) => _MutationObserverFactor yProvider.createMutationObserver(callback); | 12723 factory MutationObserver(MutationCallback callback) => _MutationObserverFactor yProvider.createMutationObserver(callback); |
12540 | 12724 |
12541 /// @domName MutationObserver.disconnect; @docsEditable true | 12725 /// @domName MutationObserver.disconnect; @docsEditable true |
12542 void disconnect() native; | 12726 void disconnect() native; |
12543 | 12727 |
12544 /// @domName MutationObserver._observe; @docsEditable true | 12728 /// @domName MutationObserver._observe; @docsEditable true |
12545 void _observe(Node target, Map options) { | 12729 void _observe(Node target, Map options) { |
12546 var options_1 = convertDartToNative_Dictionary(options); | 12730 var options_1 = convertDartToNative_Dictionary(options); |
12547 __observe_1(target, options_1); | 12731 __observe_1(target, options_1); |
12548 return; | 12732 return; |
(...skipping 848 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
13397 final String systemId; | 13581 final String systemId; |
13398 } | 13582 } |
13399 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 13583 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
13400 // for details. All rights reserved. Use of this source code is governed by a | 13584 // for details. All rights reserved. Use of this source code is governed by a |
13401 // BSD-style license that can be found in the LICENSE file. | 13585 // BSD-style license that can be found in the LICENSE file. |
13402 | 13586 |
13403 | 13587 |
13404 /// @domName Notification; @docsEditable true | 13588 /// @domName Notification; @docsEditable true |
13405 class Notification extends EventTarget native "*Notification" { | 13589 class Notification extends EventTarget native "*Notification" { |
13406 | 13590 |
13591 ///@docsEditable true | |
13407 factory Notification(String title, [Map options]) { | 13592 factory Notification(String title, [Map options]) { |
13408 if (!?options) { | 13593 if (!?options) { |
13409 return _NotificationFactoryProvider.createNotification(title); | 13594 return _NotificationFactoryProvider.createNotification(title); |
13410 } | 13595 } |
13411 return _NotificationFactoryProvider.createNotification(title, options); | 13596 return _NotificationFactoryProvider.createNotification(title, options); |
13412 } | 13597 } |
13413 | 13598 |
13414 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true | 13599 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true |
13415 NotificationEvents get on => | 13600 NotificationEvents get on => |
13416 new NotificationEvents(this); | 13601 new NotificationEvents(this); |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
13495 | 13680 |
13496 typedef void NotificationPermissionCallback(String permission); | 13681 typedef void NotificationPermissionCallback(String permission); |
13497 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 13682 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
13498 // for details. All rights reserved. Use of this source code is governed by a | 13683 // for details. All rights reserved. Use of this source code is governed by a |
13499 // BSD-style license that can be found in the LICENSE file. | 13684 // BSD-style license that can be found in the LICENSE file. |
13500 | 13685 |
13501 | 13686 |
13502 /// @domName HTMLOListElement; @docsEditable true | 13687 /// @domName HTMLOListElement; @docsEditable true |
13503 class OListElement extends Element implements Element native "*HTMLOListElement" { | 13688 class OListElement extends Element implements Element native "*HTMLOListElement" { |
13504 | 13689 |
13690 ///@docsEditable true | |
13505 factory OListElement() => document.$dom_createElement("ol"); | 13691 factory OListElement() => document.$dom_createElement("ol"); |
13506 | 13692 |
13507 /// @domName HTMLOListElement.compact; @docsEditable true | 13693 /// @domName HTMLOListElement.compact; @docsEditable true |
13508 bool compact; | 13694 bool compact; |
13509 | 13695 |
13510 /// @domName HTMLOListElement.reversed; @docsEditable true | 13696 /// @domName HTMLOListElement.reversed; @docsEditable true |
13511 bool reversed; | 13697 bool reversed; |
13512 | 13698 |
13513 /// @domName HTMLOListElement.start; @docsEditable true | 13699 /// @domName HTMLOListElement.start; @docsEditable true |
13514 int start; | 13700 int start; |
13515 | 13701 |
13516 /// @domName HTMLOListElement.type; @docsEditable true | 13702 /// @domName HTMLOListElement.type; @docsEditable true |
13517 String type; | 13703 String type; |
13518 } | 13704 } |
13519 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 13705 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
13520 // for details. All rights reserved. Use of this source code is governed by a | 13706 // for details. All rights reserved. Use of this source code is governed by a |
13521 // BSD-style license that can be found in the LICENSE file. | 13707 // BSD-style license that can be found in the LICENSE file. |
13522 | 13708 |
13523 | 13709 |
13524 /// @domName HTMLObjectElement; @docsEditable true | 13710 /// @domName HTMLObjectElement; @docsEditable true |
13525 class ObjectElement extends Element implements Element native "*HTMLObjectElemen t" { | 13711 class ObjectElement extends Element implements Element native "*HTMLObjectElemen t" { |
13526 | 13712 |
13713 ///@docsEditable true | |
13527 factory ObjectElement() => document.$dom_createElement("object"); | 13714 factory ObjectElement() => document.$dom_createElement("object"); |
13528 | 13715 |
13529 /// @domName HTMLObjectElement.align; @docsEditable true | 13716 /// @domName HTMLObjectElement.align; @docsEditable true |
13530 String align; | 13717 String align; |
13531 | 13718 |
13532 /// @domName HTMLObjectElement.archive; @docsEditable true | 13719 /// @domName HTMLObjectElement.archive; @docsEditable true |
13533 String archive; | 13720 String archive; |
13534 | 13721 |
13535 /// @domName HTMLObjectElement.border; @docsEditable true | 13722 /// @domName HTMLObjectElement.border; @docsEditable true |
13536 String border; | 13723 String border; |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
13645 bool isVertexArray(WebGLVertexArrayObject arrayObject) native; | 13832 bool isVertexArray(WebGLVertexArrayObject arrayObject) native; |
13646 } | 13833 } |
13647 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 13834 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
13648 // for details. All rights reserved. Use of this source code is governed by a | 13835 // for details. All rights reserved. Use of this source code is governed by a |
13649 // BSD-style license that can be found in the LICENSE file. | 13836 // BSD-style license that can be found in the LICENSE file. |
13650 | 13837 |
13651 | 13838 |
13652 /// @domName HTMLOptGroupElement; @docsEditable true | 13839 /// @domName HTMLOptGroupElement; @docsEditable true |
13653 class OptGroupElement extends Element implements Element native "*HTMLOptGroupEl ement" { | 13840 class OptGroupElement extends Element implements Element native "*HTMLOptGroupEl ement" { |
13654 | 13841 |
13842 ///@docsEditable true | |
13655 factory OptGroupElement() => document.$dom_createElement("optgroup"); | 13843 factory OptGroupElement() => document.$dom_createElement("optgroup"); |
13656 | 13844 |
13657 /// @domName HTMLOptGroupElement.disabled; @docsEditable true | 13845 /// @domName HTMLOptGroupElement.disabled; @docsEditable true |
13658 bool disabled; | 13846 bool disabled; |
13659 | 13847 |
13660 /// @domName HTMLOptGroupElement.label; @docsEditable true | 13848 /// @domName HTMLOptGroupElement.label; @docsEditable true |
13661 String label; | 13849 String label; |
13662 } | 13850 } |
13663 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 13851 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
13664 // for details. All rights reserved. Use of this source code is governed by a | 13852 // for details. All rights reserved. Use of this source code is governed by a |
13665 // BSD-style license that can be found in the LICENSE file. | 13853 // BSD-style license that can be found in the LICENSE file. |
13666 | 13854 |
13667 | 13855 |
13668 /// @domName HTMLOptionElement; @docsEditable true | 13856 /// @domName HTMLOptionElement; @docsEditable true |
13669 class OptionElement extends Element implements Element native "*HTMLOptionElemen t" { | 13857 class OptionElement extends Element implements Element native "*HTMLOptionElemen t" { |
13670 | 13858 |
13859 ///@docsEditable true | |
13671 factory OptionElement([String data, String value, bool defaultSelected, bool s elected]) { | 13860 factory OptionElement([String data, String value, bool defaultSelected, bool s elected]) { |
13672 if (!?data) { | 13861 if (!?data) { |
13673 return _OptionElementFactoryProvider.createOptionElement(); | 13862 return _OptionElementFactoryProvider.createOptionElement(); |
13674 } | 13863 } |
13675 if (!?value) { | 13864 if (!?value) { |
13676 return _OptionElementFactoryProvider.createOptionElement(data); | 13865 return _OptionElementFactoryProvider.createOptionElement(data); |
13677 } | 13866 } |
13678 if (!?defaultSelected) { | 13867 if (!?defaultSelected) { |
13679 return _OptionElementFactoryProvider.createOptionElement(data, value); | 13868 return _OptionElementFactoryProvider.createOptionElement(data, value); |
13680 } | 13869 } |
(...skipping 25 matching lines...) Expand all Loading... | |
13706 String value; | 13895 String value; |
13707 } | 13896 } |
13708 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 13897 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
13709 // for details. All rights reserved. Use of this source code is governed by a | 13898 // for details. All rights reserved. Use of this source code is governed by a |
13710 // BSD-style license that can be found in the LICENSE file. | 13899 // BSD-style license that can be found in the LICENSE file. |
13711 | 13900 |
13712 | 13901 |
13713 /// @domName HTMLOutputElement; @docsEditable true | 13902 /// @domName HTMLOutputElement; @docsEditable true |
13714 class OutputElement extends Element implements Element native "*HTMLOutputElemen t" { | 13903 class OutputElement extends Element implements Element native "*HTMLOutputElemen t" { |
13715 | 13904 |
13905 ///@docsEditable true | |
13716 factory OutputElement() => document.$dom_createElement("output"); | 13906 factory OutputElement() => document.$dom_createElement("output"); |
13717 | 13907 |
13718 /// @domName HTMLOutputElement.defaultValue; @docsEditable true | 13908 /// @domName HTMLOutputElement.defaultValue; @docsEditable true |
13719 String defaultValue; | 13909 String defaultValue; |
13720 | 13910 |
13721 /// @domName HTMLOutputElement.form; @docsEditable true | 13911 /// @domName HTMLOutputElement.form; @docsEditable true |
13722 final FormElement form; | 13912 final FormElement form; |
13723 | 13913 |
13724 /// @domName HTMLOutputElement.htmlFor; @docsEditable true | 13914 /// @domName HTMLOutputElement.htmlFor; @docsEditable true |
13725 DomSettableTokenList htmlFor; | 13915 DomSettableTokenList htmlFor; |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
13801 final bool persisted; | 13991 final bool persisted; |
13802 } | 13992 } |
13803 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 13993 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
13804 // for details. All rights reserved. Use of this source code is governed by a | 13994 // for details. All rights reserved. Use of this source code is governed by a |
13805 // BSD-style license that can be found in the LICENSE file. | 13995 // BSD-style license that can be found in the LICENSE file. |
13806 | 13996 |
13807 | 13997 |
13808 /// @domName HTMLParagraphElement; @docsEditable true | 13998 /// @domName HTMLParagraphElement; @docsEditable true |
13809 class ParagraphElement extends Element implements Element native "*HTMLParagraph Element" { | 13999 class ParagraphElement extends Element implements Element native "*HTMLParagraph Element" { |
13810 | 14000 |
14001 ///@docsEditable true | |
13811 factory ParagraphElement() => document.$dom_createElement("p"); | 14002 factory ParagraphElement() => document.$dom_createElement("p"); |
13812 | 14003 |
13813 /// @domName HTMLParagraphElement.align; @docsEditable true | 14004 /// @domName HTMLParagraphElement.align; @docsEditable true |
13814 String align; | 14005 String align; |
13815 } | 14006 } |
13816 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14007 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
13817 // for details. All rights reserved. Use of this source code is governed by a | 14008 // for details. All rights reserved. Use of this source code is governed by a |
13818 // BSD-style license that can be found in the LICENSE file. | 14009 // BSD-style license that can be found in the LICENSE file. |
13819 | 14010 |
13820 | 14011 |
13821 /// @domName HTMLParamElement; @docsEditable true | 14012 /// @domName HTMLParamElement; @docsEditable true |
13822 class ParamElement extends Element implements Element native "*HTMLParamElement" { | 14013 class ParamElement extends Element implements Element native "*HTMLParamElement" { |
13823 | 14014 |
14015 ///@docsEditable true | |
13824 factory ParamElement() => document.$dom_createElement("param"); | 14016 factory ParamElement() => document.$dom_createElement("param"); |
13825 | 14017 |
13826 /// @domName HTMLParamElement.name; @docsEditable true | 14018 /// @domName HTMLParamElement.name; @docsEditable true |
13827 String name; | 14019 String name; |
13828 | 14020 |
13829 /// @domName HTMLParamElement.type; @docsEditable true | 14021 /// @domName HTMLParamElement.type; @docsEditable true |
13830 String type; | 14022 String type; |
13831 | 14023 |
13832 /// @domName HTMLParamElement.value; @docsEditable true | 14024 /// @domName HTMLParamElement.value; @docsEditable true |
13833 String value; | 14025 String value; |
13834 | 14026 |
13835 /// @domName HTMLParamElement.valueType; @docsEditable true | 14027 /// @domName HTMLParamElement.valueType; @docsEditable true |
13836 String valueType; | 14028 String valueType; |
13837 } | 14029 } |
13838 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14030 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
13839 // for details. All rights reserved. Use of this source code is governed by a | 14031 // for details. All rights reserved. Use of this source code is governed by a |
13840 // BSD-style license that can be found in the LICENSE file. | 14032 // BSD-style license that can be found in the LICENSE file. |
13841 | 14033 |
13842 | 14034 |
13843 /// @domName PeerConnection00; @docsEditable true | 14035 /// @domName PeerConnection00; @docsEditable true |
13844 class PeerConnection00 extends EventTarget native "*PeerConnection00" { | 14036 class PeerConnection00 extends EventTarget native "*PeerConnection00" { |
13845 | 14037 |
14038 ///@docsEditable true | |
13846 factory PeerConnection00(String serverConfiguration, IceCallback iceCallback) => _PeerConnection00FactoryProvider.createPeerConnection00(serverConfiguration, iceCallback); | 14039 factory PeerConnection00(String serverConfiguration, IceCallback iceCallback) => _PeerConnection00FactoryProvider.createPeerConnection00(serverConfiguration, iceCallback); |
13847 | 14040 |
13848 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true | 14041 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true |
13849 PeerConnection00Events get on => | 14042 PeerConnection00Events get on => |
13850 new PeerConnection00Events(this); | 14043 new PeerConnection00Events(this); |
13851 | 14044 |
13852 static const int ACTIVE = 2; | 14045 static const int ACTIVE = 2; |
13853 | 14046 |
13854 static const int CLOSED = 3; | 14047 static const int CLOSED = 3; |
13855 | 14048 |
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
14176 | 14369 |
14177 typedef void PositionErrorCallback(PositionError error); | 14370 typedef void PositionErrorCallback(PositionError error); |
14178 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14371 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
14179 // for details. All rights reserved. Use of this source code is governed by a | 14372 // for details. All rights reserved. Use of this source code is governed by a |
14180 // BSD-style license that can be found in the LICENSE file. | 14373 // BSD-style license that can be found in the LICENSE file. |
14181 | 14374 |
14182 | 14375 |
14183 /// @domName HTMLPreElement; @docsEditable true | 14376 /// @domName HTMLPreElement; @docsEditable true |
14184 class PreElement extends Element implements Element native "*HTMLPreElement" { | 14377 class PreElement extends Element implements Element native "*HTMLPreElement" { |
14185 | 14378 |
14379 ///@docsEditable true | |
14186 factory PreElement() => document.$dom_createElement("pre"); | 14380 factory PreElement() => document.$dom_createElement("pre"); |
14187 | 14381 |
14188 /// @domName HTMLPreElement.width; @docsEditable true | 14382 /// @domName HTMLPreElement.width; @docsEditable true |
14189 int width; | 14383 int width; |
14190 | 14384 |
14191 /// @domName HTMLPreElement.wrap; @docsEditable true | 14385 /// @domName HTMLPreElement.wrap; @docsEditable true |
14192 bool wrap; | 14386 bool wrap; |
14193 } | 14387 } |
14194 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14388 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
14195 // for details. All rights reserved. Use of this source code is governed by a | 14389 // for details. All rights reserved. Use of this source code is governed by a |
(...skipping 13 matching lines...) Expand all Loading... | |
14209 final String target; | 14403 final String target; |
14210 } | 14404 } |
14211 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14405 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
14212 // for details. All rights reserved. Use of this source code is governed by a | 14406 // for details. All rights reserved. Use of this source code is governed by a |
14213 // BSD-style license that can be found in the LICENSE file. | 14407 // BSD-style license that can be found in the LICENSE file. |
14214 | 14408 |
14215 | 14409 |
14216 /// @domName HTMLProgressElement; @docsEditable true | 14410 /// @domName HTMLProgressElement; @docsEditable true |
14217 class ProgressElement extends Element implements Element native "*HTMLProgressEl ement" { | 14411 class ProgressElement extends Element implements Element native "*HTMLProgressEl ement" { |
14218 | 14412 |
14413 ///@docsEditable true | |
14219 factory ProgressElement() => document.$dom_createElement("progress"); | 14414 factory ProgressElement() => document.$dom_createElement("progress"); |
14220 | 14415 |
14221 /// @domName HTMLProgressElement.labels; @docsEditable true | 14416 /// @domName HTMLProgressElement.labels; @docsEditable true |
14222 @Returns('NodeList') @Creates('NodeList') | 14417 @Returns('NodeList') @Creates('NodeList') |
14223 final List<Node> labels; | 14418 final List<Node> labels; |
14224 | 14419 |
14225 /// @domName HTMLProgressElement.max; @docsEditable true | 14420 /// @domName HTMLProgressElement.max; @docsEditable true |
14226 num max; | 14421 num max; |
14227 | 14422 |
14228 /// @domName HTMLProgressElement.position; @docsEditable true | 14423 /// @domName HTMLProgressElement.position; @docsEditable true |
(...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
14550 final RtcDataChannel channel; | 14745 final RtcDataChannel channel; |
14551 } | 14746 } |
14552 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14747 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
14553 // for details. All rights reserved. Use of this source code is governed by a | 14748 // for details. All rights reserved. Use of this source code is governed by a |
14554 // BSD-style license that can be found in the LICENSE file. | 14749 // BSD-style license that can be found in the LICENSE file. |
14555 | 14750 |
14556 | 14751 |
14557 /// @domName RTCIceCandidate; @docsEditable true | 14752 /// @domName RTCIceCandidate; @docsEditable true |
14558 class RtcIceCandidate native "*RTCIceCandidate" { | 14753 class RtcIceCandidate native "*RTCIceCandidate" { |
14559 | 14754 |
14755 ///@docsEditable true | |
14560 factory RtcIceCandidate(Map dictionary) => _RtcIceCandidateFactoryProvider.cre ateRtcIceCandidate(dictionary); | 14756 factory RtcIceCandidate(Map dictionary) => _RtcIceCandidateFactoryProvider.cre ateRtcIceCandidate(dictionary); |
14561 | 14757 |
14562 /// @domName RTCIceCandidate.candidate; @docsEditable true | 14758 /// @domName RTCIceCandidate.candidate; @docsEditable true |
14563 final String candidate; | 14759 final String candidate; |
14564 | 14760 |
14565 /// @domName RTCIceCandidate.sdpMLineIndex; @docsEditable true | 14761 /// @domName RTCIceCandidate.sdpMLineIndex; @docsEditable true |
14566 final int sdpMLineIndex; | 14762 final int sdpMLineIndex; |
14567 | 14763 |
14568 /// @domName RTCIceCandidate.sdpMid; @docsEditable true | 14764 /// @domName RTCIceCandidate.sdpMid; @docsEditable true |
14569 final String sdpMid; | 14765 final String sdpMid; |
(...skipping 10 matching lines...) Expand all Loading... | |
14580 final RtcIceCandidate candidate; | 14776 final RtcIceCandidate candidate; |
14581 } | 14777 } |
14582 // 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 |
14583 // 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 |
14584 // BSD-style license that can be found in the LICENSE file. | 14780 // BSD-style license that can be found in the LICENSE file. |
14585 | 14781 |
14586 | 14782 |
14587 /// @domName RTCPeerConnection; @docsEditable true | 14783 /// @domName RTCPeerConnection; @docsEditable true |
14588 class RtcPeerConnection extends EventTarget native "*RTCPeerConnection" { | 14784 class RtcPeerConnection extends EventTarget native "*RTCPeerConnection" { |
14589 | 14785 |
14786 ///@docsEditable true | |
14590 factory RtcPeerConnection(Map rtcIceServers, [Map mediaConstraints]) { | 14787 factory RtcPeerConnection(Map rtcIceServers, [Map mediaConstraints]) { |
14591 if (!?mediaConstraints) { | 14788 if (!?mediaConstraints) { |
14592 return _RtcPeerConnectionFactoryProvider.createRtcPeerConnection(rtcIceSer vers); | 14789 return _RtcPeerConnectionFactoryProvider.createRtcPeerConnection(rtcIceSer vers); |
14593 } | 14790 } |
14594 return _RtcPeerConnectionFactoryProvider.createRtcPeerConnection(rtcIceServe rs, mediaConstraints); | 14791 return _RtcPeerConnectionFactoryProvider.createRtcPeerConnection(rtcIceServe rs, mediaConstraints); |
14595 } | 14792 } |
14596 | 14793 |
14597 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true | 14794 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true |
14598 RtcPeerConnectionEvents get on => | 14795 RtcPeerConnectionEvents get on => |
14599 new RtcPeerConnectionEvents(this); | 14796 new RtcPeerConnectionEvents(this); |
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
14748 EventListenerList get stateChange => this['statechange']; | 14945 EventListenerList get stateChange => this['statechange']; |
14749 } | 14946 } |
14750 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14947 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
14751 // for details. All rights reserved. Use of this source code is governed by a | 14948 // for details. All rights reserved. Use of this source code is governed by a |
14752 // BSD-style license that can be found in the LICENSE file. | 14949 // BSD-style license that can be found in the LICENSE file. |
14753 | 14950 |
14754 | 14951 |
14755 /// @domName RTCSessionDescription; @docsEditable true | 14952 /// @domName RTCSessionDescription; @docsEditable true |
14756 class RtcSessionDescription native "*RTCSessionDescription" { | 14953 class RtcSessionDescription native "*RTCSessionDescription" { |
14757 | 14954 |
14955 ///@docsEditable true | |
14758 factory RtcSessionDescription(Map dictionary) => _RtcSessionDescriptionFactory Provider.createRtcSessionDescription(dictionary); | 14956 factory RtcSessionDescription(Map dictionary) => _RtcSessionDescriptionFactory Provider.createRtcSessionDescription(dictionary); |
14759 | 14957 |
14760 /// @domName RTCSessionDescription.sdp; @docsEditable true | 14958 /// @domName RTCSessionDescription.sdp; @docsEditable true |
14761 String sdp; | 14959 String sdp; |
14762 | 14960 |
14763 /// @domName RTCSessionDescription.type; @docsEditable true | 14961 /// @domName RTCSessionDescription.type; @docsEditable true |
14764 String type; | 14962 String type; |
14765 } | 14963 } |
14766 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14964 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
14767 // for details. All rights reserved. Use of this source code is governed by a | 14965 // for details. All rights reserved. Use of this source code is governed by a |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
14875 final int width; | 15073 final int width; |
14876 } | 15074 } |
14877 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 15075 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
14878 // for details. All rights reserved. Use of this source code is governed by a | 15076 // for details. All rights reserved. Use of this source code is governed by a |
14879 // BSD-style license that can be found in the LICENSE file. | 15077 // BSD-style license that can be found in the LICENSE file. |
14880 | 15078 |
14881 | 15079 |
14882 /// @domName HTMLScriptElement; @docsEditable true | 15080 /// @domName HTMLScriptElement; @docsEditable true |
14883 class ScriptElement extends Element implements Element native "*HTMLScriptElemen t" { | 15081 class ScriptElement extends Element implements Element native "*HTMLScriptElemen t" { |
14884 | 15082 |
15083 ///@docsEditable true | |
14885 factory ScriptElement() => document.$dom_createElement("script"); | 15084 factory ScriptElement() => document.$dom_createElement("script"); |
14886 | 15085 |
14887 /// @domName HTMLScriptElement.async; @docsEditable true | 15086 /// @domName HTMLScriptElement.async; @docsEditable true |
14888 bool async; | 15087 bool async; |
14889 | 15088 |
14890 /// @domName HTMLScriptElement.charset; @docsEditable true | 15089 /// @domName HTMLScriptElement.charset; @docsEditable true |
14891 String charset; | 15090 String charset; |
14892 | 15091 |
14893 /// @domName HTMLScriptElement.crossOrigin; @docsEditable true | 15092 /// @domName HTMLScriptElement.crossOrigin; @docsEditable true |
14894 String crossOrigin; | 15093 String crossOrigin; |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
14962 List<ScriptProfileNode> children() native; | 15161 List<ScriptProfileNode> children() native; |
14963 } | 15162 } |
14964 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 15163 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
14965 // for details. All rights reserved. Use of this source code is governed by a | 15164 // for details. All rights reserved. Use of this source code is governed by a |
14966 // BSD-style license that can be found in the LICENSE file. | 15165 // BSD-style license that can be found in the LICENSE file. |
14967 | 15166 |
14968 | 15167 |
14969 /// @domName HTMLSelectElement | 15168 /// @domName HTMLSelectElement |
14970 class SelectElement extends Element implements Element native "*HTMLSelectElemen t" { | 15169 class SelectElement extends Element implements Element native "*HTMLSelectElemen t" { |
14971 | 15170 |
15171 ///@docsEditable true | |
14972 factory SelectElement() => document.$dom_createElement("select"); | 15172 factory SelectElement() => document.$dom_createElement("select"); |
14973 | 15173 |
14974 /// @domName HTMLSelectElement.autofocus; @docsEditable true | 15174 /// @domName HTMLSelectElement.autofocus; @docsEditable true |
14975 bool autofocus; | 15175 bool autofocus; |
14976 | 15176 |
14977 /// @domName HTMLSelectElement.disabled; @docsEditable true | 15177 /// @domName HTMLSelectElement.disabled; @docsEditable true |
14978 bool disabled; | 15178 bool disabled; |
14979 | 15179 |
14980 /// @domName HTMLSelectElement.form; @docsEditable true | 15180 /// @domName HTMLSelectElement.form; @docsEditable true |
14981 final FormElement form; | 15181 final FormElement form; |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
15046 } | 15246 } |
15047 } | 15247 } |
15048 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 15248 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
15049 // for details. All rights reserved. Use of this source code is governed by a | 15249 // for details. All rights reserved. Use of this source code is governed by a |
15050 // BSD-style license that can be found in the LICENSE file. | 15250 // BSD-style license that can be found in the LICENSE file. |
15051 | 15251 |
15052 | 15252 |
15053 /// @domName SessionDescription; @docsEditable true | 15253 /// @domName SessionDescription; @docsEditable true |
15054 class SessionDescription native "*SessionDescription" { | 15254 class SessionDescription native "*SessionDescription" { |
15055 | 15255 |
15256 ///@docsEditable true | |
15056 factory SessionDescription(String sdp) => _SessionDescriptionFactoryProvider.c reateSessionDescription(sdp); | 15257 factory SessionDescription(String sdp) => _SessionDescriptionFactoryProvider.c reateSessionDescription(sdp); |
15057 | 15258 |
15058 /// @domName SessionDescription.addCandidate; @docsEditable true | 15259 /// @domName SessionDescription.addCandidate; @docsEditable true |
15059 void addCandidate(IceCandidate candidate) native; | 15260 void addCandidate(IceCandidate candidate) native; |
15060 | 15261 |
15061 /// @domName SessionDescription.toSdp; @docsEditable true | 15262 /// @domName SessionDescription.toSdp; @docsEditable true |
15062 String toSdp() native; | 15263 String toSdp() native; |
15063 } | 15264 } |
15064 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 15265 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
15065 // for details. All rights reserved. Use of this source code is governed by a | 15266 // for details. All rights reserved. Use of this source code is governed by a |
15066 // BSD-style license that can be found in the LICENSE file. | 15267 // BSD-style license that can be found in the LICENSE file. |
15067 | 15268 |
15068 | 15269 |
15069 /// @domName HTMLShadowElement; @docsEditable true | 15270 /// @domName HTMLShadowElement; @docsEditable true |
15070 class ShadowElement extends Element implements Element native "*HTMLShadowElemen t" { | 15271 class ShadowElement extends Element implements Element native "*HTMLShadowElemen t" { |
15071 | 15272 |
15072 /// @domName HTMLShadowElement.resetStyleInheritance; @docsEditable true | 15273 /// @domName HTMLShadowElement.resetStyleInheritance; @docsEditable true |
15073 bool resetStyleInheritance; | 15274 bool resetStyleInheritance; |
15074 } | 15275 } |
15075 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 15276 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
15076 // for details. All rights reserved. Use of this source code is governed by a | 15277 // for details. All rights reserved. Use of this source code is governed by a |
15077 // BSD-style license that can be found in the LICENSE file. | 15278 // BSD-style license that can be found in the LICENSE file. |
15078 | 15279 |
15079 // WARNING: Do not edit - generated code. | 15280 // WARNING: Do not edit - generated code. |
15080 | 15281 |
15081 | 15282 |
15082 /// @domName ShadowRoot | 15283 /// @domName ShadowRoot |
15083 class ShadowRoot extends DocumentFragment native "*ShadowRoot" { | 15284 class ShadowRoot extends DocumentFragment native "*ShadowRoot" { |
15084 | 15285 |
15286 ///@docsEditable true | |
15085 factory ShadowRoot(Element host) => _ShadowRootFactoryProvider.createShadowRoo t(host); | 15287 factory ShadowRoot(Element host) => _ShadowRootFactoryProvider.createShadowRoo t(host); |
15086 | 15288 |
15087 /// @domName ShadowRoot.activeElement; @docsEditable true | 15289 /// @domName ShadowRoot.activeElement; @docsEditable true |
15088 final Element activeElement; | 15290 final Element activeElement; |
15089 | 15291 |
15090 /// @domName ShadowRoot.applyAuthorStyles; @docsEditable true | 15292 /// @domName ShadowRoot.applyAuthorStyles; @docsEditable true |
15091 bool applyAuthorStyles; | 15293 bool applyAuthorStyles; |
15092 | 15294 |
15093 /// @domName ShadowRoot.innerHTML; @docsEditable true | 15295 /// @domName ShadowRoot.innerHTML; @docsEditable true |
15094 @JSName('innerHTML') | 15296 @JSName('innerHTML') |
(...skipping 27 matching lines...) Expand all Loading... | |
15122 JS('bool', '!!(window.ShadowRoot || window.WebKitShadowRoot)'); | 15324 JS('bool', '!!(window.ShadowRoot || window.WebKitShadowRoot)'); |
15123 } | 15325 } |
15124 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 15326 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
15125 // for details. All rights reserved. Use of this source code is governed by a | 15327 // for details. All rights reserved. Use of this source code is governed by a |
15126 // BSD-style license that can be found in the LICENSE file. | 15328 // BSD-style license that can be found in the LICENSE file. |
15127 | 15329 |
15128 | 15330 |
15129 /// @domName SharedWorker; @docsEditable true | 15331 /// @domName SharedWorker; @docsEditable true |
15130 class SharedWorker extends AbstractWorker native "*SharedWorker" { | 15332 class SharedWorker extends AbstractWorker native "*SharedWorker" { |
15131 | 15333 |
15334 ///@docsEditable true | |
15132 factory SharedWorker(String scriptURL, [String name]) { | 15335 factory SharedWorker(String scriptURL, [String name]) { |
15133 if (!?name) { | 15336 if (!?name) { |
15134 return _SharedWorkerFactoryProvider.createSharedWorker(scriptURL); | 15337 return _SharedWorkerFactoryProvider.createSharedWorker(scriptURL); |
15135 } | 15338 } |
15136 return _SharedWorkerFactoryProvider.createSharedWorker(scriptURL, name); | 15339 return _SharedWorkerFactoryProvider.createSharedWorker(scriptURL, name); |
15137 } | 15340 } |
15138 | 15341 |
15139 /// @domName SharedWorker.port; @docsEditable true | 15342 /// @domName SharedWorker.port; @docsEditable true |
15140 final MessagePort port; | 15343 final MessagePort port; |
15141 } | 15344 } |
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
15307 void $dom_removeEventListener(String type, EventListener listener, [bool useCa pture]) native; | 15510 void $dom_removeEventListener(String type, EventListener listener, [bool useCa pture]) native; |
15308 } | 15511 } |
15309 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 15512 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
15310 // for details. All rights reserved. Use of this source code is governed by a | 15513 // for details. All rights reserved. Use of this source code is governed by a |
15311 // BSD-style license that can be found in the LICENSE file. | 15514 // BSD-style license that can be found in the LICENSE file. |
15312 | 15515 |
15313 | 15516 |
15314 /// @domName HTMLSourceElement; @docsEditable true | 15517 /// @domName HTMLSourceElement; @docsEditable true |
15315 class SourceElement extends Element implements Element native "*HTMLSourceElemen t" { | 15518 class SourceElement extends Element implements Element native "*HTMLSourceElemen t" { |
15316 | 15519 |
15520 ///@docsEditable true | |
15317 factory SourceElement() => document.$dom_createElement("source"); | 15521 factory SourceElement() => document.$dom_createElement("source"); |
15318 | 15522 |
15319 /// @domName HTMLSourceElement.media; @docsEditable true | 15523 /// @domName HTMLSourceElement.media; @docsEditable true |
15320 String media; | 15524 String media; |
15321 | 15525 |
15322 /// @domName HTMLSourceElement.src; @docsEditable true | 15526 /// @domName HTMLSourceElement.src; @docsEditable true |
15323 String src; | 15527 String src; |
15324 | 15528 |
15325 /// @domName HTMLSourceElement.type; @docsEditable true | 15529 /// @domName HTMLSourceElement.type; @docsEditable true |
15326 String type; | 15530 String type; |
15327 } | 15531 } |
15328 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 15532 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
15329 // for details. All rights reserved. Use of this source code is governed by a | 15533 // for details. All rights reserved. Use of this source code is governed by a |
15330 // BSD-style license that can be found in the LICENSE file. | 15534 // BSD-style license that can be found in the LICENSE file. |
15331 | 15535 |
15332 | 15536 |
15333 /// @domName HTMLSpanElement; @docsEditable true | 15537 /// @domName HTMLSpanElement; @docsEditable true |
15334 class SpanElement extends Element implements Element native "*HTMLSpanElement" { | 15538 class SpanElement extends Element implements Element native "*HTMLSpanElement" { |
15335 | 15539 |
15540 ///@docsEditable true | |
15336 factory SpanElement() => document.$dom_createElement("span"); | 15541 factory SpanElement() => document.$dom_createElement("span"); |
15337 } | 15542 } |
15338 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 15543 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
15339 // for details. All rights reserved. Use of this source code is governed by a | 15544 // for details. All rights reserved. Use of this source code is governed by a |
15340 // BSD-style license that can be found in the LICENSE file. | 15545 // BSD-style license that can be found in the LICENSE file. |
15341 | 15546 |
15342 | 15547 |
15343 /// @domName SpeechGrammar; @docsEditable true | 15548 /// @domName SpeechGrammar; @docsEditable true |
15344 class SpeechGrammar native "*SpeechGrammar" { | 15549 class SpeechGrammar native "*SpeechGrammar" { |
15345 | 15550 |
15551 ///@docsEditable true | |
15346 factory SpeechGrammar() => _SpeechGrammarFactoryProvider.createSpeechGrammar() ; | 15552 factory SpeechGrammar() => _SpeechGrammarFactoryProvider.createSpeechGrammar() ; |
15347 | 15553 |
15348 /// @domName SpeechGrammar.src; @docsEditable true | 15554 /// @domName SpeechGrammar.src; @docsEditable true |
15349 String src; | 15555 String src; |
15350 | 15556 |
15351 /// @domName SpeechGrammar.weight; @docsEditable true | 15557 /// @domName SpeechGrammar.weight; @docsEditable true |
15352 num weight; | 15558 num weight; |
15353 } | 15559 } |
15354 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 15560 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
15355 // for details. All rights reserved. Use of this source code is governed by a | 15561 // for details. All rights reserved. Use of this source code is governed by a |
15356 // BSD-style license that can be found in the LICENSE file. | 15562 // BSD-style license that can be found in the LICENSE file. |
15357 | 15563 |
15358 | 15564 |
15359 /// @domName SpeechGrammarList; @docsEditable true | 15565 /// @domName SpeechGrammarList; @docsEditable true |
15360 class SpeechGrammarList implements JavaScriptIndexingBehavior, List<SpeechGramma r> native "*SpeechGrammarList" { | 15566 class SpeechGrammarList implements JavaScriptIndexingBehavior, List<SpeechGramma r> native "*SpeechGrammarList" { |
15361 | 15567 |
15568 ///@docsEditable true | |
15362 factory SpeechGrammarList() => _SpeechGrammarListFactoryProvider.createSpeechG rammarList(); | 15569 factory SpeechGrammarList() => _SpeechGrammarListFactoryProvider.createSpeechG rammarList(); |
15363 | 15570 |
15364 /// @domName SpeechGrammarList.length; @docsEditable true | 15571 /// @domName SpeechGrammarList.length; @docsEditable true |
15365 int get length => JS("int", "#.length", this); | 15572 int get length => JS("int", "#.length", this); |
15366 | 15573 |
15367 SpeechGrammar operator[](int index) => JS("SpeechGrammar", "#[#]", this, index ); | 15574 SpeechGrammar operator[](int index) => JS("SpeechGrammar", "#[#]", this, index ); |
15368 | 15575 |
15369 void operator[]=(int index, SpeechGrammar value) { | 15576 void operator[]=(int index, SpeechGrammar value) { |
15370 throw new UnsupportedError("Cannot assign element of immutable List."); | 15577 throw new UnsupportedError("Cannot assign element of immutable List."); |
15371 } | 15578 } |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
15500 final String utterance; | 15707 final String utterance; |
15501 } | 15708 } |
15502 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 15709 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
15503 // for details. All rights reserved. Use of this source code is governed by a | 15710 // for details. All rights reserved. Use of this source code is governed by a |
15504 // BSD-style license that can be found in the LICENSE file. | 15711 // BSD-style license that can be found in the LICENSE file. |
15505 | 15712 |
15506 | 15713 |
15507 /// @domName SpeechRecognition; @docsEditable true | 15714 /// @domName SpeechRecognition; @docsEditable true |
15508 class SpeechRecognition extends EventTarget native "*SpeechRecognition" { | 15715 class SpeechRecognition extends EventTarget native "*SpeechRecognition" { |
15509 | 15716 |
15717 ///@docsEditable true | |
15510 factory SpeechRecognition() => _SpeechRecognitionFactoryProvider.createSpeechR ecognition(); | 15718 factory SpeechRecognition() => _SpeechRecognitionFactoryProvider.createSpeechR ecognition(); |
15511 | 15719 |
15512 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true | 15720 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true |
15513 SpeechRecognitionEvents get on => | 15721 SpeechRecognitionEvents get on => |
15514 new SpeechRecognitionEvents(this); | 15722 new SpeechRecognitionEvents(this); |
15515 | 15723 |
15516 /// @domName SpeechRecognition.continuous; @docsEditable true | 15724 /// @domName SpeechRecognition.continuous; @docsEditable true |
15517 bool continuous; | 15725 bool continuous; |
15518 | 15726 |
15519 /// @domName SpeechRecognition.grammars; @docsEditable true | 15727 /// @domName SpeechRecognition.grammars; @docsEditable true |
(...skipping 515 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
16035 | 16243 |
16036 typedef void StringCallback(String data); | 16244 typedef void StringCallback(String data); |
16037 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16245 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
16038 // for details. All rights reserved. Use of this source code is governed by a | 16246 // for details. All rights reserved. Use of this source code is governed by a |
16039 // BSD-style license that can be found in the LICENSE file. | 16247 // BSD-style license that can be found in the LICENSE file. |
16040 | 16248 |
16041 | 16249 |
16042 /// @domName HTMLStyleElement; @docsEditable true | 16250 /// @domName HTMLStyleElement; @docsEditable true |
16043 class StyleElement extends Element implements Element native "*HTMLStyleElement" { | 16251 class StyleElement extends Element implements Element native "*HTMLStyleElement" { |
16044 | 16252 |
16253 ///@docsEditable true | |
16045 factory StyleElement() => document.$dom_createElement("style"); | 16254 factory StyleElement() => document.$dom_createElement("style"); |
16046 | 16255 |
16047 /// @domName HTMLStyleElement.disabled; @docsEditable true | 16256 /// @domName HTMLStyleElement.disabled; @docsEditable true |
16048 bool disabled; | 16257 bool disabled; |
16049 | 16258 |
16050 /// @domName HTMLStyleElement.media; @docsEditable true | 16259 /// @domName HTMLStyleElement.media; @docsEditable true |
16051 String media; | 16260 String media; |
16052 | 16261 |
16053 /// @domName HTMLStyleElement.scoped; @docsEditable true | 16262 /// @domName HTMLStyleElement.scoped; @docsEditable true |
16054 bool scoped; | 16263 bool scoped; |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
16103 final String type; | 16312 final String type; |
16104 } | 16313 } |
16105 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16314 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
16106 // for details. All rights reserved. Use of this source code is governed by a | 16315 // for details. All rights reserved. Use of this source code is governed by a |
16107 // BSD-style license that can be found in the LICENSE file. | 16316 // BSD-style license that can be found in the LICENSE file. |
16108 | 16317 |
16109 | 16318 |
16110 /// @domName HTMLTableCaptionElement; @docsEditable true | 16319 /// @domName HTMLTableCaptionElement; @docsEditable true |
16111 class TableCaptionElement extends Element implements Element native "*HTMLTableC aptionElement" { | 16320 class TableCaptionElement extends Element implements Element native "*HTMLTableC aptionElement" { |
16112 | 16321 |
16322 ///@docsEditable true | |
16113 factory TableCaptionElement() => document.$dom_createElement("caption"); | 16323 factory TableCaptionElement() => document.$dom_createElement("caption"); |
16114 | 16324 |
16115 /// @domName HTMLTableCaptionElement.align; @docsEditable true | 16325 /// @domName HTMLTableCaptionElement.align; @docsEditable true |
16116 String align; | 16326 String align; |
16117 } | 16327 } |
16118 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16328 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
16119 // for details. All rights reserved. Use of this source code is governed by a | 16329 // for details. All rights reserved. Use of this source code is governed by a |
16120 // BSD-style license that can be found in the LICENSE file. | 16330 // BSD-style license that can be found in the LICENSE file. |
16121 | 16331 |
16122 | 16332 |
16123 /// @domName HTMLTableCellElement; @docsEditable true | 16333 /// @domName HTMLTableCellElement; @docsEditable true |
16124 class TableCellElement extends Element implements Element native "*HTMLTableCell Element" { | 16334 class TableCellElement extends Element implements Element native "*HTMLTableCell Element" { |
16125 | 16335 |
16336 ///@docsEditable true | |
16126 factory TableCellElement() => document.$dom_createElement("td"); | 16337 factory TableCellElement() => document.$dom_createElement("td"); |
16127 | 16338 |
16128 /// @domName HTMLTableCellElement.abbr; @docsEditable true | 16339 /// @domName HTMLTableCellElement.abbr; @docsEditable true |
16129 String abbr; | 16340 String abbr; |
16130 | 16341 |
16131 /// @domName HTMLTableCellElement.align; @docsEditable true | 16342 /// @domName HTMLTableCellElement.align; @docsEditable true |
16132 String align; | 16343 String align; |
16133 | 16344 |
16134 /// @domName HTMLTableCellElement.axis; @docsEditable true | 16345 /// @domName HTMLTableCellElement.axis; @docsEditable true |
16135 String axis; | 16346 String axis; |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
16171 String width; | 16382 String width; |
16172 } | 16383 } |
16173 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16384 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
16174 // for details. All rights reserved. Use of this source code is governed by a | 16385 // for details. All rights reserved. Use of this source code is governed by a |
16175 // BSD-style license that can be found in the LICENSE file. | 16386 // BSD-style license that can be found in the LICENSE file. |
16176 | 16387 |
16177 | 16388 |
16178 /// @domName HTMLTableColElement; @docsEditable true | 16389 /// @domName HTMLTableColElement; @docsEditable true |
16179 class TableColElement extends Element implements Element native "*HTMLTableColEl ement" { | 16390 class TableColElement extends Element implements Element native "*HTMLTableColEl ement" { |
16180 | 16391 |
16392 ///@docsEditable true | |
16181 factory TableColElement() => document.$dom_createElement("col"); | 16393 factory TableColElement() => document.$dom_createElement("col"); |
16182 | 16394 |
16183 /// @domName HTMLTableColElement.align; @docsEditable true | 16395 /// @domName HTMLTableColElement.align; @docsEditable true |
16184 String align; | 16396 String align; |
16185 | 16397 |
16186 /// @domName HTMLTableColElement.ch; @docsEditable true | 16398 /// @domName HTMLTableColElement.ch; @docsEditable true |
16187 String ch; | 16399 String ch; |
16188 | 16400 |
16189 /// @domName HTMLTableColElement.chOff; @docsEditable true | 16401 /// @domName HTMLTableColElement.chOff; @docsEditable true |
16190 String chOff; | 16402 String chOff; |
16191 | 16403 |
16192 /// @domName HTMLTableColElement.span; @docsEditable true | 16404 /// @domName HTMLTableColElement.span; @docsEditable true |
16193 int span; | 16405 int span; |
16194 | 16406 |
16195 /// @domName HTMLTableColElement.vAlign; @docsEditable true | 16407 /// @domName HTMLTableColElement.vAlign; @docsEditable true |
16196 String vAlign; | 16408 String vAlign; |
16197 | 16409 |
16198 /// @domName HTMLTableColElement.width; @docsEditable true | 16410 /// @domName HTMLTableColElement.width; @docsEditable true |
16199 String width; | 16411 String width; |
16200 } | 16412 } |
16201 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16413 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
16202 // for details. All rights reserved. Use of this source code is governed by a | 16414 // for details. All rights reserved. Use of this source code is governed by a |
16203 // BSD-style license that can be found in the LICENSE file. | 16415 // BSD-style license that can be found in the LICENSE file. |
16204 | 16416 |
16205 | 16417 |
16206 /// @domName HTMLTableElement | 16418 /// @domName HTMLTableElement |
16207 class TableElement extends Element implements Element native "*HTMLTableElement" { | 16419 class TableElement extends Element implements Element native "*HTMLTableElement" { |
16208 | 16420 |
16421 ///@docsEditable true | |
16209 factory TableElement() => document.$dom_createElement("table"); | 16422 factory TableElement() => document.$dom_createElement("table"); |
16210 | 16423 |
16211 /// @domName HTMLTableElement.align; @docsEditable true | 16424 /// @domName HTMLTableElement.align; @docsEditable true |
16212 String align; | 16425 String align; |
16213 | 16426 |
16214 /// @domName HTMLTableElement.bgColor; @docsEditable true | 16427 /// @domName HTMLTableElement.bgColor; @docsEditable true |
16215 String bgColor; | 16428 String bgColor; |
16216 | 16429 |
16217 /// @domName HTMLTableElement.border; @docsEditable true | 16430 /// @domName HTMLTableElement.border; @docsEditable true |
16218 String border; | 16431 String border; |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
16288 Element _createTBody() native; | 16501 Element _createTBody() native; |
16289 } | 16502 } |
16290 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16503 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
16291 // for details. All rights reserved. Use of this source code is governed by a | 16504 // for details. All rights reserved. Use of this source code is governed by a |
16292 // BSD-style license that can be found in the LICENSE file. | 16505 // BSD-style license that can be found in the LICENSE file. |
16293 | 16506 |
16294 | 16507 |
16295 /// @domName HTMLTableRowElement; @docsEditable true | 16508 /// @domName HTMLTableRowElement; @docsEditable true |
16296 class TableRowElement extends Element implements Element native "*HTMLTableRowEl ement" { | 16509 class TableRowElement extends Element implements Element native "*HTMLTableRowEl ement" { |
16297 | 16510 |
16511 ///@docsEditable true | |
16298 factory TableRowElement() => document.$dom_createElement("tr"); | 16512 factory TableRowElement() => document.$dom_createElement("tr"); |
16299 | 16513 |
16300 /// @domName HTMLTableRowElement.align; @docsEditable true | 16514 /// @domName HTMLTableRowElement.align; @docsEditable true |
16301 String align; | 16515 String align; |
16302 | 16516 |
16303 /// @domName HTMLTableRowElement.bgColor; @docsEditable true | 16517 /// @domName HTMLTableRowElement.bgColor; @docsEditable true |
16304 String bgColor; | 16518 String bgColor; |
16305 | 16519 |
16306 /// @domName HTMLTableRowElement.cells; @docsEditable true | 16520 /// @domName HTMLTableRowElement.cells; @docsEditable true |
16307 final HtmlCollection cells; | 16521 final HtmlCollection cells; |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
16378 | 16592 |
16379 } | 16593 } |
16380 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16594 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
16381 // for details. All rights reserved. Use of this source code is governed by a | 16595 // for details. All rights reserved. Use of this source code is governed by a |
16382 // BSD-style license that can be found in the LICENSE file. | 16596 // BSD-style license that can be found in the LICENSE file. |
16383 | 16597 |
16384 | 16598 |
16385 /// @domName HTMLTextAreaElement; @docsEditable true | 16599 /// @domName HTMLTextAreaElement; @docsEditable true |
16386 class TextAreaElement extends Element implements Element native "*HTMLTextAreaEl ement" { | 16600 class TextAreaElement extends Element implements Element native "*HTMLTextAreaEl ement" { |
16387 | 16601 |
16602 ///@docsEditable true | |
16388 factory TextAreaElement() => document.$dom_createElement("textarea"); | 16603 factory TextAreaElement() => document.$dom_createElement("textarea"); |
16389 | 16604 |
16390 /// @domName HTMLTextAreaElement.autofocus; @docsEditable true | 16605 /// @domName HTMLTextAreaElement.autofocus; @docsEditable true |
16391 bool autofocus; | 16606 bool autofocus; |
16392 | 16607 |
16393 /// @domName HTMLTextAreaElement.cols; @docsEditable true | 16608 /// @domName HTMLTextAreaElement.cols; @docsEditable true |
16394 int cols; | 16609 int cols; |
16395 | 16610 |
16396 /// @domName HTMLTextAreaElement.defaultValue; @docsEditable true | 16611 /// @domName HTMLTextAreaElement.defaultValue; @docsEditable true |
16397 String defaultValue; | 16612 String defaultValue; |
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
16552 EventListenerList get cueChange => this['cuechange']; | 16767 EventListenerList get cueChange => this['cuechange']; |
16553 } | 16768 } |
16554 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16769 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
16555 // for details. All rights reserved. Use of this source code is governed by a | 16770 // for details. All rights reserved. Use of this source code is governed by a |
16556 // BSD-style license that can be found in the LICENSE file. | 16771 // BSD-style license that can be found in the LICENSE file. |
16557 | 16772 |
16558 | 16773 |
16559 /// @domName TextTrackCue; @docsEditable true | 16774 /// @domName TextTrackCue; @docsEditable true |
16560 class TextTrackCue extends EventTarget native "*TextTrackCue" { | 16775 class TextTrackCue extends EventTarget native "*TextTrackCue" { |
16561 | 16776 |
16777 ///@docsEditable true | |
16562 factory TextTrackCue(num startTime, num endTime, String text) => _TextTrackCue FactoryProvider.createTextTrackCue(startTime, endTime, text); | 16778 factory TextTrackCue(num startTime, num endTime, String text) => _TextTrackCue FactoryProvider.createTextTrackCue(startTime, endTime, text); |
16563 | 16779 |
16564 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true | 16780 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true |
16565 TextTrackCueEvents get on => | 16781 TextTrackCueEvents get on => |
16566 new TextTrackCueEvents(this); | 16782 new TextTrackCueEvents(this); |
16567 | 16783 |
16568 /// @domName TextTrackCue.align; @docsEditable true | 16784 /// @domName TextTrackCue.align; @docsEditable true |
16569 String align; | 16785 String align; |
16570 | 16786 |
16571 /// @domName TextTrackCue.endTime; @docsEditable true | 16787 /// @domName TextTrackCue.endTime; @docsEditable true |
(...skipping 332 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
16904 | 17120 |
16905 typedef void TimeoutHandler(); | 17121 typedef void TimeoutHandler(); |
16906 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17122 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
16907 // for details. All rights reserved. Use of this source code is governed by a | 17123 // for details. All rights reserved. Use of this source code is governed by a |
16908 // BSD-style license that can be found in the LICENSE file. | 17124 // BSD-style license that can be found in the LICENSE file. |
16909 | 17125 |
16910 | 17126 |
16911 /// @domName HTMLTitleElement; @docsEditable true | 17127 /// @domName HTMLTitleElement; @docsEditable true |
16912 class TitleElement extends Element implements Element native "*HTMLTitleElement" { | 17128 class TitleElement extends Element implements Element native "*HTMLTitleElement" { |
16913 | 17129 |
17130 ///@docsEditable true | |
16914 factory TitleElement() => document.$dom_createElement("title"); | 17131 factory TitleElement() => document.$dom_createElement("title"); |
16915 } | 17132 } |
16916 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17133 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
16917 // for details. All rights reserved. Use of this source code is governed by a | 17134 // for details. All rights reserved. Use of this source code is governed by a |
16918 // BSD-style license that can be found in the LICENSE file. | 17135 // BSD-style license that can be found in the LICENSE file. |
16919 | 17136 |
16920 | 17137 |
16921 /// @domName Touch; @docsEditable true | 17138 /// @domName Touch; @docsEditable true |
16922 class Touch native "*Touch" { | 17139 class Touch native "*Touch" { |
16923 | 17140 |
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
17107 Touch item(int index) native; | 17324 Touch item(int index) native; |
17108 } | 17325 } |
17109 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17326 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
17110 // for details. All rights reserved. Use of this source code is governed by a | 17327 // for details. All rights reserved. Use of this source code is governed by a |
17111 // BSD-style license that can be found in the LICENSE file. | 17328 // BSD-style license that can be found in the LICENSE file. |
17112 | 17329 |
17113 | 17330 |
17114 /// @domName HTMLTrackElement; @docsEditable true | 17331 /// @domName HTMLTrackElement; @docsEditable true |
17115 class TrackElement extends Element implements Element native "*HTMLTrackElement" { | 17332 class TrackElement extends Element implements Element native "*HTMLTrackElement" { |
17116 | 17333 |
17334 ///@docsEditable true | |
17117 factory TrackElement() => document.$dom_createElement("track"); | 17335 factory TrackElement() => document.$dom_createElement("track"); |
17118 | 17336 |
17119 static const int ERROR = 3; | 17337 static const int ERROR = 3; |
17120 | 17338 |
17121 static const int LOADED = 2; | 17339 static const int LOADED = 2; |
17122 | 17340 |
17123 static const int LOADING = 1; | 17341 static const int LOADING = 1; |
17124 | 17342 |
17125 static const int NONE = 0; | 17343 static const int NONE = 0; |
17126 | 17344 |
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
17275 | 17493 |
17276 } | 17494 } |
17277 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17495 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
17278 // for details. All rights reserved. Use of this source code is governed by a | 17496 // for details. All rights reserved. Use of this source code is governed by a |
17279 // BSD-style license that can be found in the LICENSE file. | 17497 // BSD-style license that can be found in the LICENSE file. |
17280 | 17498 |
17281 | 17499 |
17282 /// @domName HTMLUListElement; @docsEditable true | 17500 /// @domName HTMLUListElement; @docsEditable true |
17283 class UListElement extends Element implements Element native "*HTMLUListElement" { | 17501 class UListElement extends Element implements Element native "*HTMLUListElement" { |
17284 | 17502 |
17503 ///@docsEditable true | |
17285 factory UListElement() => document.$dom_createElement("ul"); | 17504 factory UListElement() => document.$dom_createElement("ul"); |
17286 | 17505 |
17287 /// @domName HTMLUListElement.compact; @docsEditable true | 17506 /// @domName HTMLUListElement.compact; @docsEditable true |
17288 bool compact; | 17507 bool compact; |
17289 | 17508 |
17290 /// @domName HTMLUListElement.type; @docsEditable true | 17509 /// @domName HTMLUListElement.type; @docsEditable true |
17291 String type; | 17510 String type; |
17292 } | 17511 } |
17293 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17512 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
17294 // for details. All rights reserved. Use of this source code is governed by a | 17513 // for details. All rights reserved. Use of this source code is governed by a |
(...skipping 462 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
17757 final bool valueMissing; | 17976 final bool valueMissing; |
17758 } | 17977 } |
17759 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17978 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
17760 // for details. All rights reserved. Use of this source code is governed by a | 17979 // for details. All rights reserved. Use of this source code is governed by a |
17761 // BSD-style license that can be found in the LICENSE file. | 17980 // BSD-style license that can be found in the LICENSE file. |
17762 | 17981 |
17763 | 17982 |
17764 /// @domName HTMLVideoElement; @docsEditable true | 17983 /// @domName HTMLVideoElement; @docsEditable true |
17765 class VideoElement extends MediaElement native "*HTMLVideoElement" { | 17984 class VideoElement extends MediaElement native "*HTMLVideoElement" { |
17766 | 17985 |
17986 ///@docsEditable true | |
17767 factory VideoElement() => document.$dom_createElement("video"); | 17987 factory VideoElement() => document.$dom_createElement("video"); |
17768 | 17988 |
17769 /// @domName HTMLVideoElement.height; @docsEditable true | 17989 /// @domName HTMLVideoElement.height; @docsEditable true |
17770 int height; | 17990 int height; |
17771 | 17991 |
17772 /// @domName HTMLVideoElement.poster; @docsEditable true | 17992 /// @domName HTMLVideoElement.poster; @docsEditable true |
17773 String poster; | 17993 String poster; |
17774 | 17994 |
17775 /// @domName HTMLVideoElement.videoHeight; @docsEditable true | 17995 /// @domName HTMLVideoElement.videoHeight; @docsEditable true |
17776 final int videoHeight; | 17996 final int videoHeight; |
(...skipping 1576 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
19353 | 19573 |
19354 } | 19574 } |
19355 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 19575 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
19356 // for details. All rights reserved. Use of this source code is governed by a | 19576 // for details. All rights reserved. Use of this source code is governed by a |
19357 // BSD-style license that can be found in the LICENSE file. | 19577 // BSD-style license that can be found in the LICENSE file. |
19358 | 19578 |
19359 | 19579 |
19360 /// @domName Worker; @docsEditable true | 19580 /// @domName Worker; @docsEditable true |
19361 class Worker extends AbstractWorker native "*Worker" { | 19581 class Worker extends AbstractWorker native "*Worker" { |
19362 | 19582 |
19583 ///@docsEditable true | |
19363 factory Worker(String scriptUrl) => _WorkerFactoryProvider.createWorker(script Url); | 19584 factory Worker(String scriptUrl) => _WorkerFactoryProvider.createWorker(script Url); |
19364 | 19585 |
19365 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true | 19586 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true |
19366 WorkerEvents get on => | 19587 WorkerEvents get on => |
19367 new WorkerEvents(this); | 19588 new WorkerEvents(this); |
19368 | 19589 |
19369 /// @domName Worker.postMessage; @docsEditable true | 19590 /// @domName Worker.postMessage; @docsEditable true |
19370 void postMessage(/*SerializedScriptValue*/ message, [List messagePorts]) { | 19591 void postMessage(/*SerializedScriptValue*/ message, [List messagePorts]) { |
19371 if (?messagePorts) { | 19592 if (?messagePorts) { |
19372 var message_1 = convertDartToNative_SerializedScriptValue(message); | 19593 var message_1 = convertDartToNative_SerializedScriptValue(message); |
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
19540 final String userAgent; | 19761 final String userAgent; |
19541 } | 19762 } |
19542 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 19763 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
19543 // for details. All rights reserved. Use of this source code is governed by a | 19764 // for details. All rights reserved. Use of this source code is governed by a |
19544 // BSD-style license that can be found in the LICENSE file. | 19765 // BSD-style license that can be found in the LICENSE file. |
19545 | 19766 |
19546 | 19767 |
19547 /// @domName XPathEvaluator; @docsEditable true | 19768 /// @domName XPathEvaluator; @docsEditable true |
19548 class XPathEvaluator native "*XPathEvaluator" { | 19769 class XPathEvaluator native "*XPathEvaluator" { |
19549 | 19770 |
19771 ///@docsEditable true | |
19550 factory XPathEvaluator() => _XPathEvaluatorFactoryProvider.createXPathEvaluato r(); | 19772 factory XPathEvaluator() => _XPathEvaluatorFactoryProvider.createXPathEvaluato r(); |
19551 | 19773 |
19552 /// @domName XPathEvaluator.createExpression; @docsEditable true | 19774 /// @domName XPathEvaluator.createExpression; @docsEditable true |
19553 XPathExpression createExpression(String expression, XPathNSResolver resolver) native; | 19775 XPathExpression createExpression(String expression, XPathNSResolver resolver) native; |
19554 | 19776 |
19555 /// @domName XPathEvaluator.createNSResolver; @docsEditable true | 19777 /// @domName XPathEvaluator.createNSResolver; @docsEditable true |
19556 XPathNSResolver createNSResolver(Node nodeResolver) native; | 19778 XPathNSResolver createNSResolver(Node nodeResolver) native; |
19557 | 19779 |
19558 /// @domName XPathEvaluator.evaluate; @docsEditable true | 19780 /// @domName XPathEvaluator.evaluate; @docsEditable true |
19559 XPathResult evaluate(String expression, Node contextNode, XPathNSResolver reso lver, int type, XPathResult inResult) native; | 19781 XPathResult evaluate(String expression, Node contextNode, XPathNSResolver reso lver, int type, XPathResult inResult) native; |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
19661 Node snapshotItem(int index) native; | 19883 Node snapshotItem(int index) native; |
19662 } | 19884 } |
19663 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 19885 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
19664 // for details. All rights reserved. Use of this source code is governed by a | 19886 // for details. All rights reserved. Use of this source code is governed by a |
19665 // BSD-style license that can be found in the LICENSE file. | 19887 // BSD-style license that can be found in the LICENSE file. |
19666 | 19888 |
19667 | 19889 |
19668 /// @domName XMLSerializer; @docsEditable true | 19890 /// @domName XMLSerializer; @docsEditable true |
19669 class XmlSerializer native "*XMLSerializer" { | 19891 class XmlSerializer native "*XMLSerializer" { |
19670 | 19892 |
19893 ///@docsEditable true | |
19671 factory XmlSerializer() => _XmlSerializerFactoryProvider.createXmlSerializer() ; | 19894 factory XmlSerializer() => _XmlSerializerFactoryProvider.createXmlSerializer() ; |
19672 | 19895 |
19673 /// @domName XMLSerializer.serializeToString; @docsEditable true | 19896 /// @domName XMLSerializer.serializeToString; @docsEditable true |
19674 String serializeToString(Node node) native; | 19897 String serializeToString(Node node) native; |
19675 } | 19898 } |
19676 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 19899 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
19677 // for details. All rights reserved. Use of this source code is governed by a | 19900 // for details. All rights reserved. Use of this source code is governed by a |
19678 // BSD-style license that can be found in the LICENSE file. | 19901 // BSD-style license that can be found in the LICENSE file. |
19679 | 19902 |
19680 | 19903 |
19681 /// @domName XSLTProcessor; @docsEditable true | 19904 /// @domName XSLTProcessor; @docsEditable true |
19682 class XsltProcessor native "*XSLTProcessor" { | 19905 class XsltProcessor native "*XSLTProcessor" { |
19683 | 19906 |
19907 ///@docsEditable true | |
19684 factory XsltProcessor() => _XsltProcessorFactoryProvider.createXsltProcessor() ; | 19908 factory XsltProcessor() => _XsltProcessorFactoryProvider.createXsltProcessor() ; |
19685 | 19909 |
19686 /// @domName XSLTProcessor.clearParameters; @docsEditable true | 19910 /// @domName XSLTProcessor.clearParameters; @docsEditable true |
19687 void clearParameters() native; | 19911 void clearParameters() native; |
19688 | 19912 |
19689 /// @domName XSLTProcessor.getParameter; @docsEditable true | 19913 /// @domName XSLTProcessor.getParameter; @docsEditable true |
19690 String getParameter(String namespaceURI, String localName) native; | 19914 String getParameter(String namespaceURI, String localName) native; |
19691 | 19915 |
19692 /// @domName XSLTProcessor.importStylesheet; @docsEditable true | 19916 /// @domName XSLTProcessor.importStylesheet; @docsEditable true |
19693 void importStylesheet(Node stylesheet) native; | 19917 void importStylesheet(Node stylesheet) native; |
(...skipping 4823 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
24517 T next() { | 24741 T next() { |
24518 if (!hasNext) { | 24742 if (!hasNext) { |
24519 throw new StateError("No more elements"); | 24743 throw new StateError("No more elements"); |
24520 } | 24744 } |
24521 return _array[_pos++]; | 24745 return _array[_pos++]; |
24522 } | 24746 } |
24523 | 24747 |
24524 final List<T> _array; | 24748 final List<T> _array; |
24525 int _pos; | 24749 int _pos; |
24526 } | 24750 } |
OLD | NEW |