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

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

Issue 11471005: Add documentation for HttpRequest. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | sdk/lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 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
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
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
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
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
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
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
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
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
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
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
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
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 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
5549 * 5565 *
5550 * See also: 5566 * See also:
5551 * 5567 *
5552 * * [HTML <div> element](http://www.w3.org/TR/html-markup/div.html) from W3C. 5568 * * [HTML <div> element](http://www.w3.org/TR/html-markup/div.html) from W3C.
5553 * * [Block-level element](http://www.w3.org/TR/CSS2/visuren.html#block-boxes) f rom W3C. 5569 * * [Block-level element](http://www.w3.org/TR/CSS2/visuren.html#block-boxes) f rom W3C.
5554 * * [Inline-level element](http://www.w3.org/TR/CSS2/visuren.html#inline-boxes) from W3C. 5570 * * [Inline-level element](http://www.w3.org/TR/CSS2/visuren.html#inline-boxes) from W3C.
5555 */ 5571 */
5556 /// @domName HTMLDivElement; @docsEditable true 5572 /// @domName HTMLDivElement; @docsEditable true
5557 class DivElement extends Element implements Element native "*HTMLDivElement" { 5573 class DivElement extends Element implements Element native "*HTMLDivElement" {
5558 5574
5575 ///@docsEditable true
5559 factory DivElement() => document.$dom_createElement("div"); 5576 factory DivElement() => document.$dom_createElement("div");
5560 } 5577 }
5561 // 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
5562 // 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
5563 // BSD-style license that can be found in the LICENSE file. 5580 // BSD-style license that can be found in the LICENSE file.
5564 5581
5565 5582
5566 /// @domName Document 5583 /// @domName Document
5567 /** 5584 /**
5568 * The base class for all documents. 5585 * The base class for all documents.
(...skipping 828 matching lines...) Expand 10 before | Expand all | Expand 10 after
6397 DomMimeType namedItem(String name) native; 6414 DomMimeType namedItem(String name) native;
6398 } 6415 }
6399 // 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
6400 // 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
6401 // BSD-style license that can be found in the LICENSE file. 6418 // BSD-style license that can be found in the LICENSE file.
6402 6419
6403 6420
6404 /// @domName DOMParser; @docsEditable true 6421 /// @domName DOMParser; @docsEditable true
6405 class DomParser native "*DOMParser" { 6422 class DomParser native "*DOMParser" {
6406 6423
6424 ///@docsEditable true
6407 factory DomParser() => _DomParserFactoryProvider.createDomParser(); 6425 factory DomParser() => _DomParserFactoryProvider.createDomParser();
6408 6426
6409 /// @domName DOMParser.parseFromString; @docsEditable true 6427 /// @domName DOMParser.parseFromString; @docsEditable true
6410 Document parseFromString(String str, String contentType) native; 6428 Document parseFromString(String str, String contentType) native;
6411 } 6429 }
6412 // 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
6413 // 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
6414 // BSD-style license that can be found in the LICENSE file. 6432 // BSD-style license that can be found in the LICENSE file.
6415 6433
6416 6434
(...skipping 1338 matching lines...) Expand 10 before | Expand all | Expand 10 after
7755 Element previousElementSibling; 7773 Element previousElementSibling;
7756 } 7774 }
7757 // 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
7758 // 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
7759 // BSD-style license that can be found in the LICENSE file. 7777 // BSD-style license that can be found in the LICENSE file.
7760 7778
7761 7779
7762 /// @domName HTMLEmbedElement; @docsEditable true 7780 /// @domName HTMLEmbedElement; @docsEditable true
7763 class EmbedElement extends Element implements Element native "*HTMLEmbedElement" { 7781 class EmbedElement extends Element implements Element native "*HTMLEmbedElement" {
7764 7782
7783 ///@docsEditable true
7765 factory EmbedElement() => document.$dom_createElement("embed"); 7784 factory EmbedElement() => document.$dom_createElement("embed");
7766 7785
7767 /// @domName HTMLEmbedElement.align; @docsEditable true 7786 /// @domName HTMLEmbedElement.align; @docsEditable true
7768 String align; 7787 String align;
7769 7788
7770 /// @domName HTMLEmbedElement.height; @docsEditable true 7789 /// @domName HTMLEmbedElement.height; @docsEditable true
7771 String height; 7790 String height;
7772 7791
7773 /// @domName HTMLEmbedElement.name; @docsEditable true 7792 /// @domName HTMLEmbedElement.name; @docsEditable true
7774 String name; 7793 String name;
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after
8051 String toString() native; 8070 String toString() native;
8052 } 8071 }
8053 // 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
8054 // 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
8055 // BSD-style license that can be found in the LICENSE file. 8074 // BSD-style license that can be found in the LICENSE file.
8056 8075
8057 8076
8058 /// @domName EventSource; @docsEditable true 8077 /// @domName EventSource; @docsEditable true
8059 class EventSource extends EventTarget native "*EventSource" { 8078 class EventSource extends EventTarget native "*EventSource" {
8060 8079
8080 ///@docsEditable true
8061 factory EventSource(String scriptUrl) => _EventSourceFactoryProvider.createEve ntSource(scriptUrl); 8081 factory EventSource(String scriptUrl) => _EventSourceFactoryProvider.createEve ntSource(scriptUrl);
8062 8082
8063 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true 8083 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true
8064 EventSourceEvents get on => 8084 EventSourceEvents get on =>
8065 new EventSourceEvents(this); 8085 new EventSourceEvents(this);
8066 8086
8067 static const int CLOSED = 2; 8087 static const int CLOSED = 2;
8068 8088
8069 static const int CONNECTING = 0; 8089 static const int CONNECTING = 0;
8070 8090
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
8207 static const int TEXTURE_MAX_ANISOTROPY_EXT = 0x84FE; 8227 static const int TEXTURE_MAX_ANISOTROPY_EXT = 0x84FE;
8208 } 8228 }
8209 // 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
8210 // 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
8211 // BSD-style license that can be found in the LICENSE file. 8231 // BSD-style license that can be found in the LICENSE file.
8212 8232
8213 8233
8214 /// @domName HTMLFieldSetElement; @docsEditable true 8234 /// @domName HTMLFieldSetElement; @docsEditable true
8215 class FieldSetElement extends Element implements Element native "*HTMLFieldSetEl ement" { 8235 class FieldSetElement extends Element implements Element native "*HTMLFieldSetEl ement" {
8216 8236
8237 ///@docsEditable true
8217 factory FieldSetElement() => document.$dom_createElement("fieldset"); 8238 factory FieldSetElement() => document.$dom_createElement("fieldset");
8218 8239
8219 /// @domName HTMLFieldSetElement.disabled; @docsEditable true 8240 /// @domName HTMLFieldSetElement.disabled; @docsEditable true
8220 bool disabled; 8241 bool disabled;
8221 8242
8222 /// @domName HTMLFieldSetElement.elements; @docsEditable true 8243 /// @domName HTMLFieldSetElement.elements; @docsEditable true
8223 final HtmlCollection elements; 8244 final HtmlCollection elements;
8224 8245
8225 /// @domName HTMLFieldSetElement.form; @docsEditable true 8246 /// @domName HTMLFieldSetElement.form; @docsEditable true
8226 final FormElement form; 8247 final FormElement form;
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after
8493 File item(int index) native; 8514 File item(int index) native;
8494 } 8515 }
8495 // 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
8496 // 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
8497 // BSD-style license that can be found in the LICENSE file. 8518 // BSD-style license that can be found in the LICENSE file.
8498 8519
8499 8520
8500 /// @domName FileReader; @docsEditable true 8521 /// @domName FileReader; @docsEditable true
8501 class FileReader extends EventTarget native "*FileReader" { 8522 class FileReader extends EventTarget native "*FileReader" {
8502 8523
8524 ///@docsEditable true
8503 factory FileReader() => _FileReaderFactoryProvider.createFileReader(); 8525 factory FileReader() => _FileReaderFactoryProvider.createFileReader();
8504 8526
8505 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true 8527 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true
8506 FileReaderEvents get on => 8528 FileReaderEvents get on =>
8507 new FileReaderEvents(this); 8529 new FileReaderEvents(this);
8508 8530
8509 static const int DONE = 2; 8531 static const int DONE = 2;
8510 8532
8511 static const int EMPTY = 0; 8533 static const int EMPTY = 0;
8512 8534
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
8567 EventListenerList get progress => this['progress']; 8589 EventListenerList get progress => this['progress'];
8568 } 8590 }
8569 // 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
8570 // 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
8571 // BSD-style license that can be found in the LICENSE file. 8593 // BSD-style license that can be found in the LICENSE file.
8572 8594
8573 8595
8574 /// @domName FileReaderSync; @docsEditable true 8596 /// @domName FileReaderSync; @docsEditable true
8575 class FileReaderSync native "*FileReaderSync" { 8597 class FileReaderSync native "*FileReaderSync" {
8576 8598
8599 ///@docsEditable true
8577 factory FileReaderSync() => _FileReaderSyncFactoryProvider.createFileReaderSyn c(); 8600 factory FileReaderSync() => _FileReaderSyncFactoryProvider.createFileReaderSyn c();
8578 8601
8579 /// @domName FileReaderSync.readAsArrayBuffer; @docsEditable true 8602 /// @domName FileReaderSync.readAsArrayBuffer; @docsEditable true
8580 ArrayBuffer readAsArrayBuffer(Blob blob) native; 8603 ArrayBuffer readAsArrayBuffer(Blob blob) native;
8581 8604
8582 /// @domName FileReaderSync.readAsBinaryString; @docsEditable true 8605 /// @domName FileReaderSync.readAsBinaryString; @docsEditable true
8583 String readAsBinaryString(Blob blob) native; 8606 String readAsBinaryString(Blob blob) native;
8584 8607
8585 /// @domName FileReaderSync.readAsDataURL; @docsEditable true 8608 /// @domName FileReaderSync.readAsDataURL; @docsEditable true
8586 @JSName('readAsDataURL') 8609 @JSName('readAsDataURL')
(...skipping 409 matching lines...) Expand 10 before | Expand all | Expand 10 after
8996 String size; 9019 String size;
8997 } 9020 }
8998 // 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
8999 // 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
9000 // BSD-style license that can be found in the LICENSE file. 9023 // BSD-style license that can be found in the LICENSE file.
9001 9024
9002 9025
9003 /// @domName FormData; @docsEditable true 9026 /// @domName FormData; @docsEditable true
9004 class FormData native "*FormData" { 9027 class FormData native "*FormData" {
9005 9028
9029 ///@docsEditable true
9006 factory FormData([FormElement form]) { 9030 factory FormData([FormElement form]) {
9007 if (!?form) { 9031 if (!?form) {
9008 return _FormDataFactoryProvider.createFormData(); 9032 return _FormDataFactoryProvider.createFormData();
9009 } 9033 }
9010 return _FormDataFactoryProvider.createFormData(form); 9034 return _FormDataFactoryProvider.createFormData(form);
9011 } 9035 }
9012 9036
9013 /// @domName FormData.append; @docsEditable true 9037 /// @domName FormData.append; @docsEditable true
9014 void append(String name, String value, String filename) native; 9038 void append(String name, String value, String filename) native;
9015 } 9039 }
9016 // 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
9017 // 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
9018 // BSD-style license that can be found in the LICENSE file. 9042 // BSD-style license that can be found in the LICENSE file.
9019 9043
9020 9044
9021 /// @domName HTMLFormElement; @docsEditable true 9045 /// @domName HTMLFormElement; @docsEditable true
9022 class FormElement extends Element implements Element native "*HTMLFormElement" { 9046 class FormElement extends Element implements Element native "*HTMLFormElement" {
9023 9047
9048 ///@docsEditable true
9024 factory FormElement() => document.$dom_createElement("form"); 9049 factory FormElement() => document.$dom_createElement("form");
9025 9050
9026 /// @domName HTMLFormElement.acceptCharset; @docsEditable true 9051 /// @domName HTMLFormElement.acceptCharset; @docsEditable true
9027 String acceptCharset; 9052 String acceptCharset;
9028 9053
9029 /// @domName HTMLFormElement.action; @docsEditable true 9054 /// @domName HTMLFormElement.action; @docsEditable true
9030 String action; 9055 String action;
9031 9056
9032 /// @domName HTMLFormElement.autocomplete; @docsEditable true 9057 /// @domName HTMLFormElement.autocomplete; @docsEditable true
9033 String autocomplete; 9058 String autocomplete;
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
9212 final int timestamp; 9237 final int timestamp;
9213 } 9238 }
9214 // 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
9215 // 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
9216 // BSD-style license that can be found in the LICENSE file. 9241 // BSD-style license that can be found in the LICENSE file.
9217 9242
9218 9243
9219 /// @domName HTMLHRElement; @docsEditable true 9244 /// @domName HTMLHRElement; @docsEditable true
9220 class HRElement extends Element implements Element native "*HTMLHRElement" { 9245 class HRElement extends Element implements Element native "*HTMLHRElement" {
9221 9246
9247 ///@docsEditable true
9222 factory HRElement() => document.$dom_createElement("hr"); 9248 factory HRElement() => document.$dom_createElement("hr");
9223 9249
9224 /// @domName HTMLHRElement.align; @docsEditable true 9250 /// @domName HTMLHRElement.align; @docsEditable true
9225 String align; 9251 String align;
9226 9252
9227 /// @domName HTMLHRElement.noShade; @docsEditable true 9253 /// @domName HTMLHRElement.noShade; @docsEditable true
9228 bool noShade; 9254 bool noShade;
9229 9255
9230 /// @domName HTMLHRElement.size; @docsEditable true 9256 /// @domName HTMLHRElement.size; @docsEditable true
9231 String size; 9257 String size;
(...skipping 21 matching lines...) Expand all
9253 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;
9254 } 9280 }
9255 // 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
9256 // 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
9257 // BSD-style license that can be found in the LICENSE file. 9283 // BSD-style license that can be found in the LICENSE file.
9258 9284
9259 9285
9260 /// @domName HTMLHeadElement; @docsEditable true 9286 /// @domName HTMLHeadElement; @docsEditable true
9261 class HeadElement extends Element implements Element native "*HTMLHeadElement" { 9287 class HeadElement extends Element implements Element native "*HTMLHeadElement" {
9262 9288
9289 ///@docsEditable true
9263 factory HeadElement() => document.$dom_createElement("head"); 9290 factory HeadElement() => document.$dom_createElement("head");
9264 9291
9265 /// @domName HTMLHeadElement.profile; @docsEditable true 9292 /// @domName HTMLHeadElement.profile; @docsEditable true
9266 String profile; 9293 String profile;
9267 } 9294 }
9268 // 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
9269 // 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
9270 // BSD-style license that can be found in the LICENSE file. 9297 // BSD-style license that can be found in the LICENSE file.
9271 9298
9272 9299
9273 /// @domName HTMLHeadingElement; @docsEditable true 9300 /// @domName HTMLHeadingElement; @docsEditable true
9274 class HeadingElement extends Element implements Element native "*HTMLHeadingElem ent" { 9301 class HeadingElement extends Element implements Element native "*HTMLHeadingElem ent" {
9275 9302
9303 ///@docsEditable true
9276 factory HeadingElement.h1() => document.$dom_createElement("h1"); 9304 factory HeadingElement.h1() => document.$dom_createElement("h1");
9277 9305
9306 ///@docsEditable true
9278 factory HeadingElement.h2() => document.$dom_createElement("h2"); 9307 factory HeadingElement.h2() => document.$dom_createElement("h2");
9279 9308
9309 ///@docsEditable true
9280 factory HeadingElement.h3() => document.$dom_createElement("h3"); 9310 factory HeadingElement.h3() => document.$dom_createElement("h3");
9281 9311
9312 ///@docsEditable true
9282 factory HeadingElement.h4() => document.$dom_createElement("h4"); 9313 factory HeadingElement.h4() => document.$dom_createElement("h4");
9283 9314
9315 ///@docsEditable true
9284 factory HeadingElement.h5() => document.$dom_createElement("h5"); 9316 factory HeadingElement.h5() => document.$dom_createElement("h5");
9285 9317
9318 ///@docsEditable true
9286 factory HeadingElement.h6() => document.$dom_createElement("h6"); 9319 factory HeadingElement.h6() => document.$dom_createElement("h6");
9287 9320
9288 /// @domName HTMLHeadingElement.align; @docsEditable true 9321 /// @domName HTMLHeadingElement.align; @docsEditable true
9289 String align; 9322 String align;
9290 } 9323 }
9291 // 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
9292 // 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
9293 // BSD-style license that can be found in the LICENSE file. 9326 // BSD-style license that can be found in the LICENSE file.
9294 9327
9295 9328
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after
9612 String get webkitVisibilityState => document.$dom_webkitVisibilityState; 9645 String get webkitVisibilityState => document.$dom_webkitVisibilityState;
9613 } 9646 }
9614 // 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
9615 // 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
9616 // BSD-style license that can be found in the LICENSE file. 9649 // BSD-style license that can be found in the LICENSE file.
9617 9650
9618 9651
9619 /// @domName HTMLHtmlElement; @docsEditable true 9652 /// @domName HTMLHtmlElement; @docsEditable true
9620 class HtmlElement extends Element implements Element native "*HTMLHtmlElement" { 9653 class HtmlElement extends Element implements Element native "*HTMLHtmlElement" {
9621 9654
9655 ///@docsEditable true
9622 factory HtmlElement() => document.$dom_createElement("html"); 9656 factory HtmlElement() => document.$dom_createElement("html");
9623 } 9657 }
9624 // 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
9625 // 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
9626 // BSD-style license that can be found in the LICENSE file. 9660 // BSD-style license that can be found in the LICENSE file.
9627 9661
9628 9662
9629 /// @domName HTMLOptionsCollection; @docsEditable true 9663 /// @domName HTMLOptionsCollection; @docsEditable true
9630 class HtmlOptionsCollection extends HtmlCollection native "*HTMLOptionsCollectio n" { 9664 class HtmlOptionsCollection extends HtmlCollection native "*HTMLOptionsCollectio n" {
9631 9665
(...skipping 10 matching lines...) Expand all
9642 int selectedIndex; 9676 int selectedIndex;
9643 9677
9644 /// @domName HTMLOptionsCollection.remove; @docsEditable true 9678 /// @domName HTMLOptionsCollection.remove; @docsEditable true
9645 void remove(int index) native; 9679 void remove(int index) native;
9646 } 9680 }
9647 // 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
9648 // 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
9649 // BSD-style license that can be found in the LICENSE file. 9683 // BSD-style license that can be found in the LICENSE file.
9650 9684
9651 9685
9686 /**
9687 * A utility for retrieving data from a URL.
9688 *
9689 * HttpRequest can be used to obtain data from http, ftp, and file
9690 * protocols.
9691 *
9692 * For example, suppose we're developing these API docs, and we
9693 * wish to retrieve the HTML of the top-level page and print it out.
9694 * The easiest way to do that would be:
9695 *
9696 * var httpRequest = HttpRequest.get('http://api.dartlang.org',
9697 * (request) => print(request.responseText));
9698 *
9699 * **Important**: With the default behavior of this class, your
9700 * code making the request should be served from the same origin (domain name,
9701 * port, and application layer protocol) as the URL you are trying to access
9702 * with HttpRequest. However, there are ways to
9703 * [get around this restriction](http://www.dartlang.org/articles/json-web-servi ce/#note-on-jsonp).
9704 *
9705 * See also:
9706 *
9707 * * [Dart article on using HttpRequests](http://www.dartlang.org/articles/json- web-service/#getting-data)
9708 * * [JS XMLHttpRequest](https://developer.mozilla.org/en-US/docs/DOM/XMLHttpReq uest)
9709 * * [Using XMLHttpRequest](https://developer.mozilla.org/en-US/docs/DOM/XMLHttp Request/Using_XMLHttpRequest)
9710 */
9652 /// @domName XMLHttpRequest 9711 /// @domName XMLHttpRequest
9653 class HttpRequest extends EventTarget native "*XMLHttpRequest" { 9712 class HttpRequest extends EventTarget native "*XMLHttpRequest" {
9713 /**
9714 * Creates a URL get request for the specified [url].
Andrei Mouravski 2012/12/07 17:13:37 No [] in first sentences, here and below.
9715 *
9716 * After completing the request, the object will call the user-provided
9717 * [onComplete] callback.
9718 */
9654 factory HttpRequest.get(String url, onComplete(HttpRequest request)) => 9719 factory HttpRequest.get(String url, onComplete(HttpRequest request)) =>
9655 _HttpRequestFactoryProvider.createHttpRequest_get(url, onComplete); 9720 _HttpRequestFactoryProvider.createHttpRequest_get(url, onComplete);
9656 9721
9722 /**
9723 * Creates a URL GET request for the specified [url] with
9724 * credentials such a cookie (already) set in the header or
9725 * (authorization headers)[http://tools.ietf.org/html/rfc1945#section-10.2].
9726 *
9727 * After completing the request, the object will call the user-provided
9728 * [onComplete] callback.
9729 *
9730 * See also (authorization headers)[http://en.wikipedia.org/wiki/Basic_access_ authentication].
Andrei Mouravski 2012/12/07 17:13:37 Colon after See also
9731 */
9657 factory HttpRequest.getWithCredentials(String url, 9732 factory HttpRequest.getWithCredentials(String url,
9658 onComplete(HttpRequest request)) => 9733 onComplete(HttpRequest request)) =>
9659 _HttpRequestFactoryProvider.createHttpRequest_getWithCredentials(url, 9734 _HttpRequestFactoryProvider.createHttpRequest_getWithCredentials(url,
9660 onComplete); 9735 onComplete);
9661 9736
9662 9737
9738 /**
9739 * General constructor for any type of request (GET, POST, etc). To be used
Andrei Mouravski 2012/12/07 17:13:37 Put the second sentence to its own paragraph. May
9740 * in conjunction with [open].
9741 *
9742 * var request = new HttpRequest();
9743 * request.open('GET', 'http://dartlang.org')
9744 * request.on.load.add((event) => print('Request complete'));
9745 *
9746 * is the (more verbose) equivalent of
9747 *
9748 * var request = new HttpRequest.get('http://dartlang.org', (event) => pri nt('Request complete'));
9749 */
9750 ///@docsEditable true
9663 factory HttpRequest() => _HttpRequestFactoryProvider.createHttpRequest(); 9751 factory HttpRequest() => _HttpRequestFactoryProvider.createHttpRequest();
9664 9752
9753 /**
9754 * Get the set of [HttpRequestEvents] that this request can respond to.
Andrei Mouravski 2012/12/07 17:13:37 "Get the request events that this request can resp
9755 * Usually used when adding an EventListener, such as in
9756 * `document.window.on.keyDown.add((e) => print('keydown happened'))`.
9757 */
9665 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true 9758 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true
9666 HttpRequestEvents get on => 9759 HttpRequestEvents get on =>
9667 new HttpRequestEvents(this); 9760 new HttpRequestEvents(this);
9668 9761
9669 static const int DONE = 4; 9762 static const int DONE = 4;
9670 9763
9671 static const int HEADERS_RECEIVED = 2; 9764 static const int HEADERS_RECEIVED = 2;
9672 9765
9673 static const int LOADING = 3; 9766 static const int LOADING = 3;
9674 9767
9675 static const int OPENED = 1; 9768 static const int OPENED = 1;
9676 9769
9677 static const int UNSENT = 0; 9770 static const int UNSENT = 0;
9678 9771
9772 /** @domName XMLHttpRequest.readyState */
9679 /// @domName XMLHttpRequest.readyState; @docsEditable true 9773 /// @domName XMLHttpRequest.readyState; @docsEditable true
9680 final int readyState; 9774 final int readyState;
9681 9775
9776 /**
9777 * The data received as a reponse from the request.
9778 *
9779 * The data could be in the
9780 * form of a [String], [ArrayBuffer], [Document], [Blob], or json (also a
9781 * [String]). `null` indicates request failure.
9782 */
9682 /// @domName XMLHttpRequest.response; @docsEditable true 9783 /// @domName XMLHttpRequest.response; @docsEditable true
9683 @Creates('ArrayBuffer|Blob|Document|=Object|=List|String|num') 9784 @Creates('ArrayBuffer|Blob|Document|=Object|=List|String|num')
9684 final Object response; 9785 final Object response;
9685 9786
9787 /**
9788 * The response in string form or `null` on failure.
9789 */
9686 /// @domName XMLHttpRequest.responseText; @docsEditable true 9790 /// @domName XMLHttpRequest.responseText; @docsEditable true
9687 final String responseText; 9791 final String responseText;
9688 9792
9793 /**
9794 * [String] telling the server the desired response format.
9795 *
9796 * Default is `String`.
9797 * Other options are one of 'arraybuffer', 'blob', 'document', 'json',
9798 * 'text'. Some newer browsers will throw NS_ERROR_DOM_INVALID_ACCESS_ERR if
9799 * `responseType` is set while performing a synchronous request.
9800 *
9801 * See also: [MDN responseType](https://developer.mozilla.org/en-US/docs/DOM/X MLHttpRequest#responseType)
9802 */
9689 /// @domName XMLHttpRequest.responseType; @docsEditable true 9803 /// @domName XMLHttpRequest.responseType; @docsEditable true
9690 String responseType; 9804 String responseType;
9691 9805
9692 /// @domName XMLHttpRequest.responseXML; @docsEditable true 9806 /// @domName XMLHttpRequest.responseXML; @docsEditable true
9693 @JSName('responseXML') 9807 @JSName('responseXML')
9694 final Document responseXml; 9808 final Document responseXml;
9695 9809
9810 /**
9811 * The http result code from the request (200, 404, etc).
9812 * See also: [Http Status Codes](http://en.wikipedia.org/wiki/List_of_HTTP_sta tus_codes)
9813 */
9696 /// @domName XMLHttpRequest.status; @docsEditable true 9814 /// @domName XMLHttpRequest.status; @docsEditable true
9697 final int status; 9815 final int status;
9698 9816
9817 /**
9818 * The request response string (such as "200 OK").
9819 * See also: [Http Status Codes](http://en.wikipedia.org/wiki/List_of_HTTP_sta tus_codes)
9820 */
9699 /// @domName XMLHttpRequest.statusText; @docsEditable true 9821 /// @domName XMLHttpRequest.statusText; @docsEditable true
9700 final String statusText; 9822 final String statusText;
9701 9823
9824 /**
9825 * [EventTarget] that can hold listeners to track the progress of the request.
9826 * The events fired will be members of [HttpRequestUploadEvents].
9827 */
9702 /// @domName XMLHttpRequest.upload; @docsEditable true 9828 /// @domName XMLHttpRequest.upload; @docsEditable true
9703 final HttpRequestUpload upload; 9829 final HttpRequestUpload upload;
9704 9830
9831 /**
9832 * True if cross-site requests should use credentials such as cookies
9833 * or authorization headers; false otherwise. This value is ignored for
Andrei Mouravski 2012/12/07 17:13:37 Second sentences should go in a new paragraph. Her
9834 * same-site requests.
9835 */
9705 /// @domName XMLHttpRequest.withCredentials; @docsEditable true 9836 /// @domName XMLHttpRequest.withCredentials; @docsEditable true
9706 bool withCredentials; 9837 bool withCredentials;
9707 9838
9839 /**
9840 * Stop the current request. The request can only be stopped if readyState
9841 * is `HEADERS_RECIEVED` or `LOADING`. If this method is not in the process
9842 * of being sent, the method has no effect.
9843 */
9708 /// @domName XMLHttpRequest.abort; @docsEditable true 9844 /// @domName XMLHttpRequest.abort; @docsEditable true
9709 void abort() native; 9845 void abort() native;
9710 9846
9711 /// @domName XMLHttpRequest.addEventListener; @docsEditable true 9847 /// @domName XMLHttpRequest.addEventListener; @docsEditable true
9712 @JSName('addEventListener') 9848 @JSName('addEventListener')
9713 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu re]) native; 9849 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu re]) native;
9714 9850
9715 /// @domName XMLHttpRequest.dispatchEvent; @docsEditable true 9851 /// @domName XMLHttpRequest.dispatchEvent; @docsEditable true
9716 @JSName('dispatchEvent') 9852 @JSName('dispatchEvent')
9717 bool $dom_dispatchEvent(Event evt) native; 9853 bool $dom_dispatchEvent(Event evt) native;
9718 9854
9855 /**
9856 * Retrieve all the response headers from a request.
9857 *
9858 * `null` if no headers have been received. For multipart requests,
9859 * `getAllResponseHeaders` will return the response headers for the current
9860 * part of the request.
9861 *
9862 * See also [HTTP response headers](http://en.wikipedia.org/wiki/List_of_HTTP_ header_fields#Responses)
9863 * for a list of common response headers.
9864 */
9719 /// @domName XMLHttpRequest.getAllResponseHeaders; @docsEditable true 9865 /// @domName XMLHttpRequest.getAllResponseHeaders; @docsEditable true
9720 String getAllResponseHeaders() native; 9866 String getAllResponseHeaders() native;
9721 9867
9868 /**
9869 * Return the response header named `header`, or `null` if not found.
9870 *
9871 * See also [HTTP response headers](http://en.wikipedia.org/wiki/List_of_HTTP_ header_fields#Responses)
9872 * for a list of common response headers.
9873 */
9722 /// @domName XMLHttpRequest.getResponseHeader; @docsEditable true 9874 /// @domName XMLHttpRequest.getResponseHeader; @docsEditable true
9723 String getResponseHeader(String header) native; 9875 String getResponseHeader(String header) native;
9724 9876
9877 /**
9878 * Specify the desired `url`, and `method` to use in making the request.
9879 *
9880 * By default the request is done asyncronously, with no user or password
9881 * authentication information. If `async` is false, the request will be send
9882 * synchronously.
9883 *
9884 * Calling `open` again on a currently active request is equivalent to
9885 * calling `abort`.
9886 */
9725 /// @domName XMLHttpRequest.open; @docsEditable true 9887 /// @domName XMLHttpRequest.open; @docsEditable true
9726 void open(String method, String url, [bool async, String user, String password ]) native; 9888 void open(String method, String url, [bool async, String user, String password ]) native;
9727 9889
9890 /**
9891 * Specify a particular MIME type (such as `text/xml`) desired for the
9892 * response.
9893 *
9894 * This value must be set before the request has been sent. See also the list
9895 * of [common MIME types](http://en.wikipedia.org/wiki/Internet_media_type#Lis t_of_common_media_types)
9896 */
9728 /// @domName XMLHttpRequest.overrideMimeType; @docsEditable true 9897 /// @domName XMLHttpRequest.overrideMimeType; @docsEditable true
9729 void overrideMimeType(String override) native; 9898 void overrideMimeType(String override) native;
9730 9899
9731 /// @domName XMLHttpRequest.removeEventListener; @docsEditable true 9900 /// @domName XMLHttpRequest.removeEventListener; @docsEditable true
9732 @JSName('removeEventListener') 9901 @JSName('removeEventListener')
9733 void $dom_removeEventListener(String type, EventListener listener, [bool useCa pture]) native; 9902 void $dom_removeEventListener(String type, EventListener listener, [bool useCa pture]) native;
9734 9903
9904 /**
9905 * Send the request with any given `data`. See also
Andrei Mouravski 2012/12/07 17:13:37 See also in new paragraph with a colon after it.
9906 * [MDN send() docs](https://developer.mozilla.org/en-US/docs/DOM/XMLHttpReque st#send()).
Andrei Mouravski 2012/12/07 17:13:37 I think the patter we have been using is: "See als
9907 */
9735 /// @domName XMLHttpRequest.send; @docsEditable true 9908 /// @domName XMLHttpRequest.send; @docsEditable true
9736 void send([data]) native; 9909 void send([data]) native;
9737 9910
9911 /** Sets HTTP `header` to `value`. */
9738 /// @domName XMLHttpRequest.setRequestHeader; @docsEditable true 9912 /// @domName XMLHttpRequest.setRequestHeader; @docsEditable true
9739 void setRequestHeader(String header, String value) native; 9913 void setRequestHeader(String header, String value) native;
9740 9914
9741 } 9915 }
9742 9916
9743 class HttpRequestEvents extends Events { 9917 class HttpRequestEvents extends Events {
9744 HttpRequestEvents(EventTarget _ptr) : super(_ptr); 9918 HttpRequestEvents(EventTarget _ptr) : super(_ptr);
9745 9919
9746 EventListenerList get abort => this['abort']; 9920 EventListenerList get abort => this['abort'];
9747 9921
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
9836 EventListenerList get progress => this['progress']; 10010 EventListenerList get progress => this['progress'];
9837 } 10011 }
9838 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 10012 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9839 // for details. All rights reserved. Use of this source code is governed by a 10013 // for details. All rights reserved. Use of this source code is governed by a
9840 // BSD-style license that can be found in the LICENSE file. 10014 // BSD-style license that can be found in the LICENSE file.
9841 10015
9842 10016
9843 /// @domName HTMLIFrameElement; @docsEditable true 10017 /// @domName HTMLIFrameElement; @docsEditable true
9844 class IFrameElement extends Element implements Element native "*HTMLIFrameElemen t" { 10018 class IFrameElement extends Element implements Element native "*HTMLIFrameElemen t" {
9845 10019
10020 ///@docsEditable true
9846 factory IFrameElement() => document.$dom_createElement("iframe"); 10021 factory IFrameElement() => document.$dom_createElement("iframe");
9847 10022
9848 /// @domName HTMLIFrameElement.align; @docsEditable true 10023 /// @domName HTMLIFrameElement.align; @docsEditable true
9849 String align; 10024 String align;
9850 10025
9851 /// @domName HTMLIFrameElement.contentWindow; @docsEditable true 10026 /// @domName HTMLIFrameElement.contentWindow; @docsEditable true
9852 Window get contentWindow => _convertNativeToDart_Window(this._contentWindow); 10027 Window get contentWindow => _convertNativeToDart_Window(this._contentWindow);
9853 @JSName('contentWindow') 10028 @JSName('contentWindow')
9854 @Creates('LocalWindow|=Object') @Returns('LocalWindow|=Object') 10029 @Creates('LocalWindow|=Object') @Returns('LocalWindow|=Object')
9855 final dynamic _contentWindow; 10030 final dynamic _contentWindow;
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
9896 10071
9897 typedef void IceCallback(IceCandidate candidate, bool moreToFollow, PeerConnecti on00 source); 10072 typedef void IceCallback(IceCandidate candidate, bool moreToFollow, PeerConnecti on00 source);
9898 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 10073 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9899 // for details. All rights reserved. Use of this source code is governed by a 10074 // for details. All rights reserved. Use of this source code is governed by a
9900 // BSD-style license that can be found in the LICENSE file. 10075 // BSD-style license that can be found in the LICENSE file.
9901 10076
9902 10077
9903 /// @domName IceCandidate; @docsEditable true 10078 /// @domName IceCandidate; @docsEditable true
9904 class IceCandidate native "*IceCandidate" { 10079 class IceCandidate native "*IceCandidate" {
9905 10080
10081 ///@docsEditable true
9906 factory IceCandidate(String label, String candidateLine) => _IceCandidateFacto ryProvider.createIceCandidate(label, candidateLine); 10082 factory IceCandidate(String label, String candidateLine) => _IceCandidateFacto ryProvider.createIceCandidate(label, candidateLine);
9907 10083
9908 /// @domName IceCandidate.label; @docsEditable true 10084 /// @domName IceCandidate.label; @docsEditable true
9909 final String label; 10085 final String label;
9910 10086
9911 /// @domName IceCandidate.toSdp; @docsEditable true 10087 /// @domName IceCandidate.toSdp; @docsEditable true
9912 String toSdp() native; 10088 String toSdp() native;
9913 } 10089 }
9914 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 10090 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9915 // for details. All rights reserved. Use of this source code is governed by a 10091 // for details. All rights reserved. Use of this source code is governed by a
(...skipping 13 matching lines...) Expand all
9929 final int width; 10105 final int width;
9930 } 10106 }
9931 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 10107 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9932 // for details. All rights reserved. Use of this source code is governed by a 10108 // for details. All rights reserved. Use of this source code is governed by a
9933 // BSD-style license that can be found in the LICENSE file. 10109 // BSD-style license that can be found in the LICENSE file.
9934 10110
9935 10111
9936 /// @domName HTMLImageElement; @docsEditable true 10112 /// @domName HTMLImageElement; @docsEditable true
9937 class ImageElement extends Element implements Element native "*HTMLImageElement" { 10113 class ImageElement extends Element implements Element native "*HTMLImageElement" {
9938 10114
10115 ///@docsEditable true
9939 factory ImageElement({String src, int width, int height}) { 10116 factory ImageElement({String src, int width, int height}) {
9940 var e = document.$dom_createElement("img"); 10117 var e = document.$dom_createElement("img");
9941 if (src != null) e.src = src; 10118 if (src != null) e.src = src;
9942 if (width != null) e.width = width; 10119 if (width != null) e.width = width;
9943 if (height != null) e.height = height; 10120 if (height != null) e.height = height;
9944 return e; 10121 return e;
9945 } 10122 }
9946 10123
9947 /// @domName HTMLImageElement.align; @docsEditable true 10124 /// @domName HTMLImageElement.align; @docsEditable true
9948 String align; 10125 String align;
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
10002 final int y; 10179 final int y;
10003 } 10180 }
10004 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 10181 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
10005 // for details. All rights reserved. Use of this source code is governed by a 10182 // for details. All rights reserved. Use of this source code is governed by a
10006 // BSD-style license that can be found in the LICENSE file. 10183 // BSD-style license that can be found in the LICENSE file.
10007 10184
10008 10185
10009 /// @domName HTMLInputElement; @docsEditable true 10186 /// @domName HTMLInputElement; @docsEditable true
10010 class InputElement extends Element implements Element native "*HTMLInputElement" { 10187 class InputElement extends Element implements Element native "*HTMLInputElement" {
10011 10188
10189 ///@docsEditable true
10012 factory InputElement({String type}) { 10190 factory InputElement({String type}) {
10013 var e = document.$dom_createElement("input"); 10191 var e = document.$dom_createElement("input");
10014 if (type != null) e.type = type; 10192 if (type != null) e.type = type;
10015 return e; 10193 return e;
10016 } 10194 }
10017 10195
10018 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true 10196 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true
10019 InputElementEvents get on => 10197 InputElementEvents get on =>
10020 new InputElementEvents(this); 10198 new InputElementEvents(this);
10021 10199
(...skipping 675 matching lines...) Expand 10 before | Expand all | Expand 10 after
10697 10875
10698 } 10876 }
10699 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 10877 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
10700 // for details. All rights reserved. Use of this source code is governed by a 10878 // for details. All rights reserved. Use of this source code is governed by a
10701 // BSD-style license that can be found in the LICENSE file. 10879 // BSD-style license that can be found in the LICENSE file.
10702 10880
10703 10881
10704 /// @domName HTMLKeygenElement; @docsEditable true 10882 /// @domName HTMLKeygenElement; @docsEditable true
10705 class KeygenElement extends Element implements Element native "*HTMLKeygenElemen t" { 10883 class KeygenElement extends Element implements Element native "*HTMLKeygenElemen t" {
10706 10884
10885 ///@docsEditable true
10707 factory KeygenElement() => document.$dom_createElement("keygen"); 10886 factory KeygenElement() => document.$dom_createElement("keygen");
10708 10887
10709 /// @domName HTMLKeygenElement.autofocus; @docsEditable true 10888 /// @domName HTMLKeygenElement.autofocus; @docsEditable true
10710 bool autofocus; 10889 bool autofocus;
10711 10890
10712 /// @domName HTMLKeygenElement.challenge; @docsEditable true 10891 /// @domName HTMLKeygenElement.challenge; @docsEditable true
10713 String challenge; 10892 String challenge;
10714 10893
10715 /// @domName HTMLKeygenElement.disabled; @docsEditable true 10894 /// @domName HTMLKeygenElement.disabled; @docsEditable true
10716 bool disabled; 10895 bool disabled;
(...skipping 30 matching lines...) Expand all
10747 void setCustomValidity(String error) native; 10926 void setCustomValidity(String error) native;
10748 } 10927 }
10749 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 10928 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
10750 // for details. All rights reserved. Use of this source code is governed by a 10929 // for details. All rights reserved. Use of this source code is governed by a
10751 // BSD-style license that can be found in the LICENSE file. 10930 // BSD-style license that can be found in the LICENSE file.
10752 10931
10753 10932
10754 /// @domName HTMLLIElement; @docsEditable true 10933 /// @domName HTMLLIElement; @docsEditable true
10755 class LIElement extends Element implements Element native "*HTMLLIElement" { 10934 class LIElement extends Element implements Element native "*HTMLLIElement" {
10756 10935
10936 ///@docsEditable true
10757 factory LIElement() => document.$dom_createElement("li"); 10937 factory LIElement() => document.$dom_createElement("li");
10758 10938
10759 /// @domName HTMLLIElement.type; @docsEditable true 10939 /// @domName HTMLLIElement.type; @docsEditable true
10760 String type; 10940 String type;
10761 10941
10762 /// @domName HTMLLIElement.value; @docsEditable true 10942 /// @domName HTMLLIElement.value; @docsEditable true
10763 int value; 10943 int value;
10764 } 10944 }
10765 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 10945 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
10766 // for details. All rights reserved. Use of this source code is governed by a 10946 // for details. All rights reserved. Use of this source code is governed by a
10767 // BSD-style license that can be found in the LICENSE file. 10947 // BSD-style license that can be found in the LICENSE file.
10768 10948
10769 10949
10770 /// @domName HTMLLabelElement; @docsEditable true 10950 /// @domName HTMLLabelElement; @docsEditable true
10771 class LabelElement extends Element implements Element native "*HTMLLabelElement" { 10951 class LabelElement extends Element implements Element native "*HTMLLabelElement" {
10772 10952
10953 ///@docsEditable true
10773 factory LabelElement() => document.$dom_createElement("label"); 10954 factory LabelElement() => document.$dom_createElement("label");
10774 10955
10775 /// @domName HTMLLabelElement.control; @docsEditable true 10956 /// @domName HTMLLabelElement.control; @docsEditable true
10776 final Element control; 10957 final Element control;
10777 10958
10778 /// @domName HTMLLabelElement.form; @docsEditable true 10959 /// @domName HTMLLabelElement.form; @docsEditable true
10779 final FormElement form; 10960 final FormElement form;
10780 10961
10781 /// @domName HTMLLabelElement.htmlFor; @docsEditable true 10962 /// @domName HTMLLabelElement.htmlFor; @docsEditable true
10782 String htmlFor; 10963 String htmlFor;
10783 } 10964 }
10784 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 10965 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
10785 // for details. All rights reserved. Use of this source code is governed by a 10966 // for details. All rights reserved. Use of this source code is governed by a
10786 // BSD-style license that can be found in the LICENSE file. 10967 // BSD-style license that can be found in the LICENSE file.
10787 10968
10788 10969
10789 /// @domName HTMLLegendElement; @docsEditable true 10970 /// @domName HTMLLegendElement; @docsEditable true
10790 class LegendElement extends Element implements Element native "*HTMLLegendElemen t" { 10971 class LegendElement extends Element implements Element native "*HTMLLegendElemen t" {
10791 10972
10973 ///@docsEditable true
10792 factory LegendElement() => document.$dom_createElement("legend"); 10974 factory LegendElement() => document.$dom_createElement("legend");
10793 10975
10794 /// @domName HTMLLegendElement.align; @docsEditable true 10976 /// @domName HTMLLegendElement.align; @docsEditable true
10795 String align; 10977 String align;
10796 10978
10797 /// @domName HTMLLegendElement.form; @docsEditable true 10979 /// @domName HTMLLegendElement.form; @docsEditable true
10798 final FormElement form; 10980 final FormElement form;
10799 } 10981 }
10800 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 10982 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
10801 // for details. All rights reserved. Use of this source code is governed by a 10983 // for details. All rights reserved. Use of this source code is governed by a
10802 // BSD-style license that can be found in the LICENSE file. 10984 // BSD-style license that can be found in the LICENSE file.
10803 10985
10804 10986
10805 /// @domName HTMLLinkElement; @docsEditable true 10987 /// @domName HTMLLinkElement; @docsEditable true
10806 class LinkElement extends Element implements Element native "*HTMLLinkElement" { 10988 class LinkElement extends Element implements Element native "*HTMLLinkElement" {
10807 10989
10990 ///@docsEditable true
10808 factory LinkElement() => document.$dom_createElement("link"); 10991 factory LinkElement() => document.$dom_createElement("link");
10809 10992
10810 /// @domName HTMLLinkElement.charset; @docsEditable true 10993 /// @domName HTMLLinkElement.charset; @docsEditable true
10811 String charset; 10994 String charset;
10812 10995
10813 /// @domName HTMLLinkElement.disabled; @docsEditable true 10996 /// @domName HTMLLinkElement.disabled; @docsEditable true
10814 bool disabled; 10997 bool disabled;
10815 10998
10816 /// @domName HTMLLinkElement.href; @docsEditable true 10999 /// @domName HTMLLinkElement.href; @docsEditable true
10817 String href; 11000 String href;
(...skipping 702 matching lines...) Expand 10 before | Expand all | Expand 10 after
11520 EventListenerList get transitionEnd => this['webkitTransitionEnd']; 11703 EventListenerList get transitionEnd => this['webkitTransitionEnd'];
11521 } 11704 }
11522 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 11705 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11523 // for details. All rights reserved. Use of this source code is governed by a 11706 // for details. All rights reserved. Use of this source code is governed by a
11524 // BSD-style license that can be found in the LICENSE file. 11707 // BSD-style license that can be found in the LICENSE file.
11525 11708
11526 11709
11527 /// @domName HTMLMapElement; @docsEditable true 11710 /// @domName HTMLMapElement; @docsEditable true
11528 class MapElement extends Element implements Element native "*HTMLMapElement" { 11711 class MapElement extends Element implements Element native "*HTMLMapElement" {
11529 11712
11713 ///@docsEditable true
11530 factory MapElement() => document.$dom_createElement("map"); 11714 factory MapElement() => document.$dom_createElement("map");
11531 11715
11532 /// @domName HTMLMapElement.areas; @docsEditable true 11716 /// @domName HTMLMapElement.areas; @docsEditable true
11533 final HtmlCollection areas; 11717 final HtmlCollection areas;
11534 11718
11535 /// @domName HTMLMapElement.name; @docsEditable true 11719 /// @domName HTMLMapElement.name; @docsEditable true
11536 String name; 11720 String name;
11537 } 11721 }
11538 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 11722 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11539 // for details. All rights reserved. Use of this source code is governed by a 11723 // 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
11583 void stop() native; 11767 void stop() native;
11584 } 11768 }
11585 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 11769 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11586 // for details. All rights reserved. Use of this source code is governed by a 11770 // for details. All rights reserved. Use of this source code is governed by a
11587 // BSD-style license that can be found in the LICENSE file. 11771 // BSD-style license that can be found in the LICENSE file.
11588 11772
11589 11773
11590 /// @domName MediaController; @docsEditable true 11774 /// @domName MediaController; @docsEditable true
11591 class MediaController extends EventTarget native "*MediaController" { 11775 class MediaController extends EventTarget native "*MediaController" {
11592 11776
11777 ///@docsEditable true
11593 factory MediaController() => _MediaControllerFactoryProvider.createMediaContro ller(); 11778 factory MediaController() => _MediaControllerFactoryProvider.createMediaContro ller();
11594 11779
11595 /// @domName MediaController.buffered; @docsEditable true 11780 /// @domName MediaController.buffered; @docsEditable true
11596 final TimeRanges buffered; 11781 final TimeRanges buffered;
11597 11782
11598 /// @domName MediaController.currentTime; @docsEditable true 11783 /// @domName MediaController.currentTime; @docsEditable true
11599 num currentTime; 11784 num currentTime;
11600 11785
11601 /// @domName MediaController.defaultPlaybackRate; @docsEditable true 11786 /// @domName MediaController.defaultPlaybackRate; @docsEditable true
11602 num defaultPlaybackRate; 11787 num defaultPlaybackRate;
(...skipping 370 matching lines...) Expand 10 before | Expand all | Expand 10 after
11973 void queryChanged(MediaQueryList list); 12158 void queryChanged(MediaQueryList list);
11974 } 12159 }
11975 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 12160 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11976 // for details. All rights reserved. Use of this source code is governed by a 12161 // for details. All rights reserved. Use of this source code is governed by a
11977 // BSD-style license that can be found in the LICENSE file. 12162 // BSD-style license that can be found in the LICENSE file.
11978 12163
11979 12164
11980 /// @domName MediaSource; @docsEditable true 12165 /// @domName MediaSource; @docsEditable true
11981 class MediaSource extends EventTarget native "*MediaSource" { 12166 class MediaSource extends EventTarget native "*MediaSource" {
11982 12167
12168 ///@docsEditable true
11983 factory MediaSource() => _MediaSourceFactoryProvider.createMediaSource(); 12169 factory MediaSource() => _MediaSourceFactoryProvider.createMediaSource();
11984 12170
11985 /// @domName MediaSource.activeSourceBuffers; @docsEditable true 12171 /// @domName MediaSource.activeSourceBuffers; @docsEditable true
11986 final SourceBufferList activeSourceBuffers; 12172 final SourceBufferList activeSourceBuffers;
11987 12173
11988 /// @domName MediaSource.duration; @docsEditable true 12174 /// @domName MediaSource.duration; @docsEditable true
11989 num duration; 12175 num duration;
11990 12176
11991 /// @domName MediaSource.readyState; @docsEditable true 12177 /// @domName MediaSource.readyState; @docsEditable true
11992 final String readyState; 12178 final String readyState;
(...skipping 23 matching lines...) Expand all
12016 void removeSourceBuffer(SourceBuffer buffer) native; 12202 void removeSourceBuffer(SourceBuffer buffer) native;
12017 } 12203 }
12018 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 12204 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
12019 // for details. All rights reserved. Use of this source code is governed by a 12205 // for details. All rights reserved. Use of this source code is governed by a
12020 // BSD-style license that can be found in the LICENSE file. 12206 // BSD-style license that can be found in the LICENSE file.
12021 12207
12022 12208
12023 /// @domName MediaStream; @docsEditable true 12209 /// @domName MediaStream; @docsEditable true
12024 class MediaStream extends EventTarget native "*MediaStream" { 12210 class MediaStream extends EventTarget native "*MediaStream" {
12025 12211
12212 ///@docsEditable true
12026 factory MediaStream(MediaStreamTrackList audioTracks, MediaStreamTrackList vid eoTracks) => _MediaStreamFactoryProvider.createMediaStream(audioTracks, videoTra cks); 12213 factory MediaStream(MediaStreamTrackList audioTracks, MediaStreamTrackList vid eoTracks) => _MediaStreamFactoryProvider.createMediaStream(audioTracks, videoTra cks);
12027 12214
12028 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true 12215 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true
12029 MediaStreamEvents get on => 12216 MediaStreamEvents get on =>
12030 new MediaStreamEvents(this); 12217 new MediaStreamEvents(this);
12031 12218
12032 static const int ENDED = 2; 12219 static const int ENDED = 2;
12033 12220
12034 static const int LIVE = 1; 12221 static const int LIVE = 1;
12035 12222
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
12209 * A <menu> element represents an unordered list of menu commands. 12396 * A <menu> element represents an unordered list of menu commands.
12210 * 12397 *
12211 * See also: 12398 * See also:
12212 * 12399 *
12213 * * [Menu Element](https://developer.mozilla.org/en-US/docs/HTML/Element/menu) from MDN. 12400 * * [Menu Element](https://developer.mozilla.org/en-US/docs/HTML/Element/menu) from MDN.
12214 * * [Menu Element](http://www.w3.org/TR/html5/the-menu-element.html#the-menu-e lement) from the W3C. 12401 * * [Menu Element](http://www.w3.org/TR/html5/the-menu-element.html#the-menu-e lement) from the W3C.
12215 */ 12402 */
12216 /// @domName HTMLMenuElement; @docsEditable true 12403 /// @domName HTMLMenuElement; @docsEditable true
12217 class MenuElement extends Element implements Element native "*HTMLMenuElement" { 12404 class MenuElement extends Element implements Element native "*HTMLMenuElement" {
12218 12405
12406 ///@docsEditable true
12219 factory MenuElement() => document.$dom_createElement("menu"); 12407 factory MenuElement() => document.$dom_createElement("menu");
12220 } 12408 }
12221 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 12409 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
12222 // for details. All rights reserved. Use of this source code is governed by a 12410 // for details. All rights reserved. Use of this source code is governed by a
12223 // BSD-style license that can be found in the LICENSE file. 12411 // BSD-style license that can be found in the LICENSE file.
12224 12412
12225 12413
12226 /// @domName MessageChannel; @docsEditable true 12414 /// @domName MessageChannel; @docsEditable true
12227 class MessageChannel native "*MessageChannel" { 12415 class MessageChannel native "*MessageChannel" {
12228 12416
12417 ///@docsEditable true
12229 factory MessageChannel() => _MessageChannelFactoryProvider.createMessageChanne l(); 12418 factory MessageChannel() => _MessageChannelFactoryProvider.createMessageChanne l();
12230 12419
12231 /// @domName MessageChannel.port1; @docsEditable true 12420 /// @domName MessageChannel.port1; @docsEditable true
12232 final MessagePort port1; 12421 final MessagePort port1;
12233 12422
12234 /// @domName MessageChannel.port2; @docsEditable true 12423 /// @domName MessageChannel.port2; @docsEditable true
12235 final MessagePort port2; 12424 final MessagePort port2;
12236 } 12425 }
12237 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 12426 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
12238 // for details. All rights reserved. Use of this source code is governed by a 12427 // 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
12365 12554
12366 typedef void MetadataCallback(Metadata metadata); 12555 typedef void MetadataCallback(Metadata metadata);
12367 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 12556 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
12368 // for details. All rights reserved. Use of this source code is governed by a 12557 // for details. All rights reserved. Use of this source code is governed by a
12369 // BSD-style license that can be found in the LICENSE file. 12558 // BSD-style license that can be found in the LICENSE file.
12370 12559
12371 12560
12372 /// @domName HTMLMeterElement; @docsEditable true 12561 /// @domName HTMLMeterElement; @docsEditable true
12373 class MeterElement extends Element implements Element native "*HTMLMeterElement" { 12562 class MeterElement extends Element implements Element native "*HTMLMeterElement" {
12374 12563
12564 ///@docsEditable true
12375 factory MeterElement() => document.$dom_createElement("meter"); 12565 factory MeterElement() => document.$dom_createElement("meter");
12376 12566
12377 /// @domName HTMLMeterElement.high; @docsEditable true 12567 /// @domName HTMLMeterElement.high; @docsEditable true
12378 num high; 12568 num high;
12379 12569
12380 /// @domName HTMLMeterElement.labels; @docsEditable true 12570 /// @domName HTMLMeterElement.labels; @docsEditable true
12381 @Returns('NodeList') @Creates('NodeList') 12571 @Returns('NodeList') @Creates('NodeList')
12382 final List<Node> labels; 12572 final List<Node> labels;
12383 12573
12384 /// @domName HTMLMeterElement.low; @docsEditable true 12574 /// @domName HTMLMeterElement.low; @docsEditable true
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
12561 void initMutationEvent(String type, bool canBubble, bool cancelable, Node rela tedNode, String prevValue, String newValue, String attrName, int attrChange) nat ive; 12751 void initMutationEvent(String type, bool canBubble, bool cancelable, Node rela tedNode, String prevValue, String newValue, String attrName, int attrChange) nat ive;
12562 } 12752 }
12563 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 12753 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
12564 // for details. All rights reserved. Use of this source code is governed by a 12754 // for details. All rights reserved. Use of this source code is governed by a
12565 // BSD-style license that can be found in the LICENSE file. 12755 // BSD-style license that can be found in the LICENSE file.
12566 12756
12567 12757
12568 /// @domName MutationObserver 12758 /// @domName MutationObserver
12569 class MutationObserver native "*MutationObserver" { 12759 class MutationObserver native "*MutationObserver" {
12570 12760
12761 ///@docsEditable true
12571 factory MutationObserver(MutationCallback callback) => _MutationObserverFactor yProvider.createMutationObserver(callback); 12762 factory MutationObserver(MutationCallback callback) => _MutationObserverFactor yProvider.createMutationObserver(callback);
12572 12763
12573 /// @domName MutationObserver.disconnect; @docsEditable true 12764 /// @domName MutationObserver.disconnect; @docsEditable true
12574 void disconnect() native; 12765 void disconnect() native;
12575 12766
12576 /// @domName MutationObserver._observe; @docsEditable true 12767 /// @domName MutationObserver._observe; @docsEditable true
12577 void _observe(Node target, Map options) { 12768 void _observe(Node target, Map options) {
12578 var options_1 = convertDartToNative_Dictionary(options); 12769 var options_1 = convertDartToNative_Dictionary(options);
12579 __observe_1(target, options_1); 12770 __observe_1(target, options_1);
12580 return; 12771 return;
(...skipping 848 matching lines...) Expand 10 before | Expand all | Expand 10 after
13429 final String systemId; 13620 final String systemId;
13430 } 13621 }
13431 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 13622 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13432 // for details. All rights reserved. Use of this source code is governed by a 13623 // for details. All rights reserved. Use of this source code is governed by a
13433 // BSD-style license that can be found in the LICENSE file. 13624 // BSD-style license that can be found in the LICENSE file.
13434 13625
13435 13626
13436 /// @domName Notification; @docsEditable true 13627 /// @domName Notification; @docsEditable true
13437 class Notification extends EventTarget native "*Notification" { 13628 class Notification extends EventTarget native "*Notification" {
13438 13629
13630 ///@docsEditable true
13439 factory Notification(String title, [Map options]) { 13631 factory Notification(String title, [Map options]) {
13440 if (!?options) { 13632 if (!?options) {
13441 return _NotificationFactoryProvider.createNotification(title); 13633 return _NotificationFactoryProvider.createNotification(title);
13442 } 13634 }
13443 return _NotificationFactoryProvider.createNotification(title, options); 13635 return _NotificationFactoryProvider.createNotification(title, options);
13444 } 13636 }
13445 13637
13446 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true 13638 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true
13447 NotificationEvents get on => 13639 NotificationEvents get on =>
13448 new NotificationEvents(this); 13640 new NotificationEvents(this);
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
13527 13719
13528 typedef void NotificationPermissionCallback(String permission); 13720 typedef void NotificationPermissionCallback(String permission);
13529 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 13721 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13530 // for details. All rights reserved. Use of this source code is governed by a 13722 // for details. All rights reserved. Use of this source code is governed by a
13531 // BSD-style license that can be found in the LICENSE file. 13723 // BSD-style license that can be found in the LICENSE file.
13532 13724
13533 13725
13534 /// @domName HTMLOListElement; @docsEditable true 13726 /// @domName HTMLOListElement; @docsEditable true
13535 class OListElement extends Element implements Element native "*HTMLOListElement" { 13727 class OListElement extends Element implements Element native "*HTMLOListElement" {
13536 13728
13729 ///@docsEditable true
13537 factory OListElement() => document.$dom_createElement("ol"); 13730 factory OListElement() => document.$dom_createElement("ol");
13538 13731
13539 /// @domName HTMLOListElement.compact; @docsEditable true 13732 /// @domName HTMLOListElement.compact; @docsEditable true
13540 bool compact; 13733 bool compact;
13541 13734
13542 /// @domName HTMLOListElement.reversed; @docsEditable true 13735 /// @domName HTMLOListElement.reversed; @docsEditable true
13543 bool reversed; 13736 bool reversed;
13544 13737
13545 /// @domName HTMLOListElement.start; @docsEditable true 13738 /// @domName HTMLOListElement.start; @docsEditable true
13546 int start; 13739 int start;
13547 13740
13548 /// @domName HTMLOListElement.type; @docsEditable true 13741 /// @domName HTMLOListElement.type; @docsEditable true
13549 String type; 13742 String type;
13550 } 13743 }
13551 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 13744 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13552 // for details. All rights reserved. Use of this source code is governed by a 13745 // for details. All rights reserved. Use of this source code is governed by a
13553 // BSD-style license that can be found in the LICENSE file. 13746 // BSD-style license that can be found in the LICENSE file.
13554 13747
13555 13748
13556 /// @domName HTMLObjectElement; @docsEditable true 13749 /// @domName HTMLObjectElement; @docsEditable true
13557 class ObjectElement extends Element implements Element native "*HTMLObjectElemen t" { 13750 class ObjectElement extends Element implements Element native "*HTMLObjectElemen t" {
13558 13751
13752 ///@docsEditable true
13559 factory ObjectElement() => document.$dom_createElement("object"); 13753 factory ObjectElement() => document.$dom_createElement("object");
13560 13754
13561 /// @domName HTMLObjectElement.align; @docsEditable true 13755 /// @domName HTMLObjectElement.align; @docsEditable true
13562 String align; 13756 String align;
13563 13757
13564 /// @domName HTMLObjectElement.archive; @docsEditable true 13758 /// @domName HTMLObjectElement.archive; @docsEditable true
13565 String archive; 13759 String archive;
13566 13760
13567 /// @domName HTMLObjectElement.border; @docsEditable true 13761 /// @domName HTMLObjectElement.border; @docsEditable true
13568 String border; 13762 String border;
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
13677 bool isVertexArray(WebGLVertexArrayObject arrayObject) native; 13871 bool isVertexArray(WebGLVertexArrayObject arrayObject) native;
13678 } 13872 }
13679 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 13873 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13680 // for details. All rights reserved. Use of this source code is governed by a 13874 // for details. All rights reserved. Use of this source code is governed by a
13681 // BSD-style license that can be found in the LICENSE file. 13875 // BSD-style license that can be found in the LICENSE file.
13682 13876
13683 13877
13684 /// @domName HTMLOptGroupElement; @docsEditable true 13878 /// @domName HTMLOptGroupElement; @docsEditable true
13685 class OptGroupElement extends Element implements Element native "*HTMLOptGroupEl ement" { 13879 class OptGroupElement extends Element implements Element native "*HTMLOptGroupEl ement" {
13686 13880
13881 ///@docsEditable true
13687 factory OptGroupElement() => document.$dom_createElement("optgroup"); 13882 factory OptGroupElement() => document.$dom_createElement("optgroup");
13688 13883
13689 /// @domName HTMLOptGroupElement.disabled; @docsEditable true 13884 /// @domName HTMLOptGroupElement.disabled; @docsEditable true
13690 bool disabled; 13885 bool disabled;
13691 13886
13692 /// @domName HTMLOptGroupElement.label; @docsEditable true 13887 /// @domName HTMLOptGroupElement.label; @docsEditable true
13693 String label; 13888 String label;
13694 } 13889 }
13695 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 13890 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13696 // for details. All rights reserved. Use of this source code is governed by a 13891 // for details. All rights reserved. Use of this source code is governed by a
13697 // BSD-style license that can be found in the LICENSE file. 13892 // BSD-style license that can be found in the LICENSE file.
13698 13893
13699 13894
13700 /// @domName HTMLOptionElement; @docsEditable true 13895 /// @domName HTMLOptionElement; @docsEditable true
13701 class OptionElement extends Element implements Element native "*HTMLOptionElemen t" { 13896 class OptionElement extends Element implements Element native "*HTMLOptionElemen t" {
13702 13897
13898 ///@docsEditable true
13703 factory OptionElement([String data, String value, bool defaultSelected, bool s elected]) { 13899 factory OptionElement([String data, String value, bool defaultSelected, bool s elected]) {
13704 if (!?data) { 13900 if (!?data) {
13705 return _OptionElementFactoryProvider.createOptionElement(); 13901 return _OptionElementFactoryProvider.createOptionElement();
13706 } 13902 }
13707 if (!?value) { 13903 if (!?value) {
13708 return _OptionElementFactoryProvider.createOptionElement(data); 13904 return _OptionElementFactoryProvider.createOptionElement(data);
13709 } 13905 }
13710 if (!?defaultSelected) { 13906 if (!?defaultSelected) {
13711 return _OptionElementFactoryProvider.createOptionElement(data, value); 13907 return _OptionElementFactoryProvider.createOptionElement(data, value);
13712 } 13908 }
(...skipping 25 matching lines...) Expand all
13738 String value; 13934 String value;
13739 } 13935 }
13740 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 13936 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13741 // for details. All rights reserved. Use of this source code is governed by a 13937 // for details. All rights reserved. Use of this source code is governed by a
13742 // BSD-style license that can be found in the LICENSE file. 13938 // BSD-style license that can be found in the LICENSE file.
13743 13939
13744 13940
13745 /// @domName HTMLOutputElement; @docsEditable true 13941 /// @domName HTMLOutputElement; @docsEditable true
13746 class OutputElement extends Element implements Element native "*HTMLOutputElemen t" { 13942 class OutputElement extends Element implements Element native "*HTMLOutputElemen t" {
13747 13943
13944 ///@docsEditable true
13748 factory OutputElement() => document.$dom_createElement("output"); 13945 factory OutputElement() => document.$dom_createElement("output");
13749 13946
13750 /// @domName HTMLOutputElement.defaultValue; @docsEditable true 13947 /// @domName HTMLOutputElement.defaultValue; @docsEditable true
13751 String defaultValue; 13948 String defaultValue;
13752 13949
13753 /// @domName HTMLOutputElement.form; @docsEditable true 13950 /// @domName HTMLOutputElement.form; @docsEditable true
13754 final FormElement form; 13951 final FormElement form;
13755 13952
13756 /// @domName HTMLOutputElement.htmlFor; @docsEditable true 13953 /// @domName HTMLOutputElement.htmlFor; @docsEditable true
13757 DomSettableTokenList htmlFor; 13954 DomSettableTokenList htmlFor;
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
13833 final bool persisted; 14030 final bool persisted;
13834 } 14031 }
13835 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 14032 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13836 // for details. All rights reserved. Use of this source code is governed by a 14033 // for details. All rights reserved. Use of this source code is governed by a
13837 // BSD-style license that can be found in the LICENSE file. 14034 // BSD-style license that can be found in the LICENSE file.
13838 14035
13839 14036
13840 /// @domName HTMLParagraphElement; @docsEditable true 14037 /// @domName HTMLParagraphElement; @docsEditable true
13841 class ParagraphElement extends Element implements Element native "*HTMLParagraph Element" { 14038 class ParagraphElement extends Element implements Element native "*HTMLParagraph Element" {
13842 14039
14040 ///@docsEditable true
13843 factory ParagraphElement() => document.$dom_createElement("p"); 14041 factory ParagraphElement() => document.$dom_createElement("p");
13844 14042
13845 /// @domName HTMLParagraphElement.align; @docsEditable true 14043 /// @domName HTMLParagraphElement.align; @docsEditable true
13846 String align; 14044 String align;
13847 } 14045 }
13848 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 14046 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13849 // for details. All rights reserved. Use of this source code is governed by a 14047 // for details. All rights reserved. Use of this source code is governed by a
13850 // BSD-style license that can be found in the LICENSE file. 14048 // BSD-style license that can be found in the LICENSE file.
13851 14049
13852 14050
13853 /// @domName HTMLParamElement; @docsEditable true 14051 /// @domName HTMLParamElement; @docsEditable true
13854 class ParamElement extends Element implements Element native "*HTMLParamElement" { 14052 class ParamElement extends Element implements Element native "*HTMLParamElement" {
13855 14053
14054 ///@docsEditable true
13856 factory ParamElement() => document.$dom_createElement("param"); 14055 factory ParamElement() => document.$dom_createElement("param");
13857 14056
13858 /// @domName HTMLParamElement.name; @docsEditable true 14057 /// @domName HTMLParamElement.name; @docsEditable true
13859 String name; 14058 String name;
13860 14059
13861 /// @domName HTMLParamElement.type; @docsEditable true 14060 /// @domName HTMLParamElement.type; @docsEditable true
13862 String type; 14061 String type;
13863 14062
13864 /// @domName HTMLParamElement.value; @docsEditable true 14063 /// @domName HTMLParamElement.value; @docsEditable true
13865 String value; 14064 String value;
13866 14065
13867 /// @domName HTMLParamElement.valueType; @docsEditable true 14066 /// @domName HTMLParamElement.valueType; @docsEditable true
13868 String valueType; 14067 String valueType;
13869 } 14068 }
13870 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 14069 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13871 // for details. All rights reserved. Use of this source code is governed by a 14070 // for details. All rights reserved. Use of this source code is governed by a
13872 // BSD-style license that can be found in the LICENSE file. 14071 // BSD-style license that can be found in the LICENSE file.
13873 14072
13874 14073
13875 /// @domName PeerConnection00; @docsEditable true 14074 /// @domName PeerConnection00; @docsEditable true
13876 class PeerConnection00 extends EventTarget native "*PeerConnection00" { 14075 class PeerConnection00 extends EventTarget native "*PeerConnection00" {
13877 14076
14077 ///@docsEditable true
13878 factory PeerConnection00(String serverConfiguration, IceCallback iceCallback) => _PeerConnection00FactoryProvider.createPeerConnection00(serverConfiguration, iceCallback); 14078 factory PeerConnection00(String serverConfiguration, IceCallback iceCallback) => _PeerConnection00FactoryProvider.createPeerConnection00(serverConfiguration, iceCallback);
13879 14079
13880 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true 14080 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true
13881 PeerConnection00Events get on => 14081 PeerConnection00Events get on =>
13882 new PeerConnection00Events(this); 14082 new PeerConnection00Events(this);
13883 14083
13884 static const int ACTIVE = 2; 14084 static const int ACTIVE = 2;
13885 14085
13886 static const int CLOSED = 3; 14086 static const int CLOSED = 3;
13887 14087
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after
14208 14408
14209 typedef void PositionErrorCallback(PositionError error); 14409 typedef void PositionErrorCallback(PositionError error);
14210 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 14410 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14211 // for details. All rights reserved. Use of this source code is governed by a 14411 // for details. All rights reserved. Use of this source code is governed by a
14212 // BSD-style license that can be found in the LICENSE file. 14412 // BSD-style license that can be found in the LICENSE file.
14213 14413
14214 14414
14215 /// @domName HTMLPreElement; @docsEditable true 14415 /// @domName HTMLPreElement; @docsEditable true
14216 class PreElement extends Element implements Element native "*HTMLPreElement" { 14416 class PreElement extends Element implements Element native "*HTMLPreElement" {
14217 14417
14418 ///@docsEditable true
14218 factory PreElement() => document.$dom_createElement("pre"); 14419 factory PreElement() => document.$dom_createElement("pre");
14219 14420
14220 /// @domName HTMLPreElement.width; @docsEditable true 14421 /// @domName HTMLPreElement.width; @docsEditable true
14221 int width; 14422 int width;
14222 14423
14223 /// @domName HTMLPreElement.wrap; @docsEditable true 14424 /// @domName HTMLPreElement.wrap; @docsEditable true
14224 bool wrap; 14425 bool wrap;
14225 } 14426 }
14226 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 14427 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14227 // for details. All rights reserved. Use of this source code is governed by a 14428 // for details. All rights reserved. Use of this source code is governed by a
(...skipping 13 matching lines...) Expand all
14241 final String target; 14442 final String target;
14242 } 14443 }
14243 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 14444 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14244 // for details. All rights reserved. Use of this source code is governed by a 14445 // for details. All rights reserved. Use of this source code is governed by a
14245 // BSD-style license that can be found in the LICENSE file. 14446 // BSD-style license that can be found in the LICENSE file.
14246 14447
14247 14448
14248 /// @domName HTMLProgressElement; @docsEditable true 14449 /// @domName HTMLProgressElement; @docsEditable true
14249 class ProgressElement extends Element implements Element native "*HTMLProgressEl ement" { 14450 class ProgressElement extends Element implements Element native "*HTMLProgressEl ement" {
14250 14451
14452 ///@docsEditable true
14251 factory ProgressElement() => document.$dom_createElement("progress"); 14453 factory ProgressElement() => document.$dom_createElement("progress");
14252 14454
14253 /// @domName HTMLProgressElement.labels; @docsEditable true 14455 /// @domName HTMLProgressElement.labels; @docsEditable true
14254 @Returns('NodeList') @Creates('NodeList') 14456 @Returns('NodeList') @Creates('NodeList')
14255 final List<Node> labels; 14457 final List<Node> labels;
14256 14458
14257 /// @domName HTMLProgressElement.max; @docsEditable true 14459 /// @domName HTMLProgressElement.max; @docsEditable true
14258 num max; 14460 num max;
14259 14461
14260 /// @domName HTMLProgressElement.position; @docsEditable true 14462 /// @domName HTMLProgressElement.position; @docsEditable true
(...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after
14582 final RtcDataChannel channel; 14784 final RtcDataChannel channel;
14583 } 14785 }
14584 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 14786 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14585 // for details. All rights reserved. Use of this source code is governed by a 14787 // for details. All rights reserved. Use of this source code is governed by a
14586 // BSD-style license that can be found in the LICENSE file. 14788 // BSD-style license that can be found in the LICENSE file.
14587 14789
14588 14790
14589 /// @domName RTCIceCandidate; @docsEditable true 14791 /// @domName RTCIceCandidate; @docsEditable true
14590 class RtcIceCandidate native "*RTCIceCandidate" { 14792 class RtcIceCandidate native "*RTCIceCandidate" {
14591 14793
14794 ///@docsEditable true
14592 factory RtcIceCandidate(Map dictionary) => _RtcIceCandidateFactoryProvider.cre ateRtcIceCandidate(dictionary); 14795 factory RtcIceCandidate(Map dictionary) => _RtcIceCandidateFactoryProvider.cre ateRtcIceCandidate(dictionary);
14593 14796
14594 /// @domName RTCIceCandidate.candidate; @docsEditable true 14797 /// @domName RTCIceCandidate.candidate; @docsEditable true
14595 final String candidate; 14798 final String candidate;
14596 14799
14597 /// @domName RTCIceCandidate.sdpMLineIndex; @docsEditable true 14800 /// @domName RTCIceCandidate.sdpMLineIndex; @docsEditable true
14598 final int sdpMLineIndex; 14801 final int sdpMLineIndex;
14599 14802
14600 /// @domName RTCIceCandidate.sdpMid; @docsEditable true 14803 /// @domName RTCIceCandidate.sdpMid; @docsEditable true
14601 final String sdpMid; 14804 final String sdpMid;
(...skipping 10 matching lines...) Expand all
14612 final RtcIceCandidate candidate; 14815 final RtcIceCandidate candidate;
14613 } 14816 }
14614 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 14817 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14615 // for details. All rights reserved. Use of this source code is governed by a 14818 // for details. All rights reserved. Use of this source code is governed by a
14616 // BSD-style license that can be found in the LICENSE file. 14819 // BSD-style license that can be found in the LICENSE file.
14617 14820
14618 14821
14619 /// @domName RTCPeerConnection; @docsEditable true 14822 /// @domName RTCPeerConnection; @docsEditable true
14620 class RtcPeerConnection extends EventTarget native "*RTCPeerConnection" { 14823 class RtcPeerConnection extends EventTarget native "*RTCPeerConnection" {
14621 14824
14825 ///@docsEditable true
14622 factory RtcPeerConnection(Map rtcIceServers, [Map mediaConstraints]) { 14826 factory RtcPeerConnection(Map rtcIceServers, [Map mediaConstraints]) {
14623 if (!?mediaConstraints) { 14827 if (!?mediaConstraints) {
14624 return _RtcPeerConnectionFactoryProvider.createRtcPeerConnection(rtcIceSer vers); 14828 return _RtcPeerConnectionFactoryProvider.createRtcPeerConnection(rtcIceSer vers);
14625 } 14829 }
14626 return _RtcPeerConnectionFactoryProvider.createRtcPeerConnection(rtcIceServe rs, mediaConstraints); 14830 return _RtcPeerConnectionFactoryProvider.createRtcPeerConnection(rtcIceServe rs, mediaConstraints);
14627 } 14831 }
14628 14832
14629 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true 14833 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true
14630 RtcPeerConnectionEvents get on => 14834 RtcPeerConnectionEvents get on =>
14631 new RtcPeerConnectionEvents(this); 14835 new RtcPeerConnectionEvents(this);
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
14780 EventListenerList get stateChange => this['statechange']; 14984 EventListenerList get stateChange => this['statechange'];
14781 } 14985 }
14782 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 14986 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14783 // for details. All rights reserved. Use of this source code is governed by a 14987 // for details. All rights reserved. Use of this source code is governed by a
14784 // BSD-style license that can be found in the LICENSE file. 14988 // BSD-style license that can be found in the LICENSE file.
14785 14989
14786 14990
14787 /// @domName RTCSessionDescription; @docsEditable true 14991 /// @domName RTCSessionDescription; @docsEditable true
14788 class RtcSessionDescription native "*RTCSessionDescription" { 14992 class RtcSessionDescription native "*RTCSessionDescription" {
14789 14993
14994 ///@docsEditable true
14790 factory RtcSessionDescription(Map dictionary) => _RtcSessionDescriptionFactory Provider.createRtcSessionDescription(dictionary); 14995 factory RtcSessionDescription(Map dictionary) => _RtcSessionDescriptionFactory Provider.createRtcSessionDescription(dictionary);
14791 14996
14792 /// @domName RTCSessionDescription.sdp; @docsEditable true 14997 /// @domName RTCSessionDescription.sdp; @docsEditable true
14793 String sdp; 14998 String sdp;
14794 14999
14795 /// @domName RTCSessionDescription.type; @docsEditable true 15000 /// @domName RTCSessionDescription.type; @docsEditable true
14796 String type; 15001 String type;
14797 } 15002 }
14798 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 15003 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14799 // for details. All rights reserved. Use of this source code is governed by a 15004 // 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
14907 final int width; 15112 final int width;
14908 } 15113 }
14909 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 15114 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14910 // for details. All rights reserved. Use of this source code is governed by a 15115 // for details. All rights reserved. Use of this source code is governed by a
14911 // BSD-style license that can be found in the LICENSE file. 15116 // BSD-style license that can be found in the LICENSE file.
14912 15117
14913 15118
14914 /// @domName HTMLScriptElement; @docsEditable true 15119 /// @domName HTMLScriptElement; @docsEditable true
14915 class ScriptElement extends Element implements Element native "*HTMLScriptElemen t" { 15120 class ScriptElement extends Element implements Element native "*HTMLScriptElemen t" {
14916 15121
15122 ///@docsEditable true
14917 factory ScriptElement() => document.$dom_createElement("script"); 15123 factory ScriptElement() => document.$dom_createElement("script");
14918 15124
14919 /// @domName HTMLScriptElement.async; @docsEditable true 15125 /// @domName HTMLScriptElement.async; @docsEditable true
14920 bool async; 15126 bool async;
14921 15127
14922 /// @domName HTMLScriptElement.charset; @docsEditable true 15128 /// @domName HTMLScriptElement.charset; @docsEditable true
14923 String charset; 15129 String charset;
14924 15130
14925 /// @domName HTMLScriptElement.crossOrigin; @docsEditable true 15131 /// @domName HTMLScriptElement.crossOrigin; @docsEditable true
14926 String crossOrigin; 15132 String crossOrigin;
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
14994 List<ScriptProfileNode> children() native; 15200 List<ScriptProfileNode> children() native;
14995 } 15201 }
14996 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 15202 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14997 // for details. All rights reserved. Use of this source code is governed by a 15203 // for details. All rights reserved. Use of this source code is governed by a
14998 // BSD-style license that can be found in the LICENSE file. 15204 // BSD-style license that can be found in the LICENSE file.
14999 15205
15000 15206
15001 /// @domName HTMLSelectElement 15207 /// @domName HTMLSelectElement
15002 class SelectElement extends Element implements Element native "*HTMLSelectElemen t" { 15208 class SelectElement extends Element implements Element native "*HTMLSelectElemen t" {
15003 15209
15210 ///@docsEditable true
15004 factory SelectElement() => document.$dom_createElement("select"); 15211 factory SelectElement() => document.$dom_createElement("select");
15005 15212
15006 /// @domName HTMLSelectElement.autofocus; @docsEditable true 15213 /// @domName HTMLSelectElement.autofocus; @docsEditable true
15007 bool autofocus; 15214 bool autofocus;
15008 15215
15009 /// @domName HTMLSelectElement.disabled; @docsEditable true 15216 /// @domName HTMLSelectElement.disabled; @docsEditable true
15010 bool disabled; 15217 bool disabled;
15011 15218
15012 /// @domName HTMLSelectElement.form; @docsEditable true 15219 /// @domName HTMLSelectElement.form; @docsEditable true
15013 final FormElement form; 15220 final FormElement form;
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
15078 } 15285 }
15079 } 15286 }
15080 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 15287 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15081 // for details. All rights reserved. Use of this source code is governed by a 15288 // for details. All rights reserved. Use of this source code is governed by a
15082 // BSD-style license that can be found in the LICENSE file. 15289 // BSD-style license that can be found in the LICENSE file.
15083 15290
15084 15291
15085 /// @domName SessionDescription; @docsEditable true 15292 /// @domName SessionDescription; @docsEditable true
15086 class SessionDescription native "*SessionDescription" { 15293 class SessionDescription native "*SessionDescription" {
15087 15294
15295 ///@docsEditable true
15088 factory SessionDescription(String sdp) => _SessionDescriptionFactoryProvider.c reateSessionDescription(sdp); 15296 factory SessionDescription(String sdp) => _SessionDescriptionFactoryProvider.c reateSessionDescription(sdp);
15089 15297
15090 /// @domName SessionDescription.addCandidate; @docsEditable true 15298 /// @domName SessionDescription.addCandidate; @docsEditable true
15091 void addCandidate(IceCandidate candidate) native; 15299 void addCandidate(IceCandidate candidate) native;
15092 15300
15093 /// @domName SessionDescription.toSdp; @docsEditable true 15301 /// @domName SessionDescription.toSdp; @docsEditable true
15094 String toSdp() native; 15302 String toSdp() native;
15095 } 15303 }
15096 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 15304 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15097 // for details. All rights reserved. Use of this source code is governed by a 15305 // for details. All rights reserved. Use of this source code is governed by a
15098 // BSD-style license that can be found in the LICENSE file. 15306 // BSD-style license that can be found in the LICENSE file.
15099 15307
15100 15308
15101 /// @domName HTMLShadowElement; @docsEditable true 15309 /// @domName HTMLShadowElement; @docsEditable true
15102 class ShadowElement extends Element implements Element native "*HTMLShadowElemen t" { 15310 class ShadowElement extends Element implements Element native "*HTMLShadowElemen t" {
15103 15311
15104 /// @domName HTMLShadowElement.resetStyleInheritance; @docsEditable true 15312 /// @domName HTMLShadowElement.resetStyleInheritance; @docsEditable true
15105 bool resetStyleInheritance; 15313 bool resetStyleInheritance;
15106 } 15314 }
15107 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 15315 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15108 // for details. All rights reserved. Use of this source code is governed by a 15316 // for details. All rights reserved. Use of this source code is governed by a
15109 // BSD-style license that can be found in the LICENSE file. 15317 // BSD-style license that can be found in the LICENSE file.
15110 15318
15111 // WARNING: Do not edit - generated code. 15319 // WARNING: Do not edit - generated code.
15112 15320
15113 15321
15114 /// @domName ShadowRoot 15322 /// @domName ShadowRoot
15115 class ShadowRoot extends DocumentFragment native "*ShadowRoot" { 15323 class ShadowRoot extends DocumentFragment native "*ShadowRoot" {
15116 15324
15325 ///@docsEditable true
15117 factory ShadowRoot(Element host) => _ShadowRootFactoryProvider.createShadowRoo t(host); 15326 factory ShadowRoot(Element host) => _ShadowRootFactoryProvider.createShadowRoo t(host);
15118 15327
15119 /// @domName ShadowRoot.activeElement; @docsEditable true 15328 /// @domName ShadowRoot.activeElement; @docsEditable true
15120 final Element activeElement; 15329 final Element activeElement;
15121 15330
15122 /// @domName ShadowRoot.applyAuthorStyles; @docsEditable true 15331 /// @domName ShadowRoot.applyAuthorStyles; @docsEditable true
15123 bool applyAuthorStyles; 15332 bool applyAuthorStyles;
15124 15333
15125 /// @domName ShadowRoot.innerHTML; @docsEditable true 15334 /// @domName ShadowRoot.innerHTML; @docsEditable true
15126 @JSName('innerHTML') 15335 @JSName('innerHTML')
(...skipping 27 matching lines...) Expand all
15154 JS('bool', '!!(window.ShadowRoot || window.WebKitShadowRoot)'); 15363 JS('bool', '!!(window.ShadowRoot || window.WebKitShadowRoot)');
15155 } 15364 }
15156 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 15365 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15157 // for details. All rights reserved. Use of this source code is governed by a 15366 // for details. All rights reserved. Use of this source code is governed by a
15158 // BSD-style license that can be found in the LICENSE file. 15367 // BSD-style license that can be found in the LICENSE file.
15159 15368
15160 15369
15161 /// @domName SharedWorker; @docsEditable true 15370 /// @domName SharedWorker; @docsEditable true
15162 class SharedWorker extends AbstractWorker native "*SharedWorker" { 15371 class SharedWorker extends AbstractWorker native "*SharedWorker" {
15163 15372
15373 ///@docsEditable true
15164 factory SharedWorker(String scriptURL, [String name]) { 15374 factory SharedWorker(String scriptURL, [String name]) {
15165 if (!?name) { 15375 if (!?name) {
15166 return _SharedWorkerFactoryProvider.createSharedWorker(scriptURL); 15376 return _SharedWorkerFactoryProvider.createSharedWorker(scriptURL);
15167 } 15377 }
15168 return _SharedWorkerFactoryProvider.createSharedWorker(scriptURL, name); 15378 return _SharedWorkerFactoryProvider.createSharedWorker(scriptURL, name);
15169 } 15379 }
15170 15380
15171 /// @domName SharedWorker.port; @docsEditable true 15381 /// @domName SharedWorker.port; @docsEditable true
15172 final MessagePort port; 15382 final MessagePort port;
15173 } 15383 }
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
15339 void $dom_removeEventListener(String type, EventListener listener, [bool useCa pture]) native; 15549 void $dom_removeEventListener(String type, EventListener listener, [bool useCa pture]) native;
15340 } 15550 }
15341 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 15551 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15342 // for details. All rights reserved. Use of this source code is governed by a 15552 // for details. All rights reserved. Use of this source code is governed by a
15343 // BSD-style license that can be found in the LICENSE file. 15553 // BSD-style license that can be found in the LICENSE file.
15344 15554
15345 15555
15346 /// @domName HTMLSourceElement; @docsEditable true 15556 /// @domName HTMLSourceElement; @docsEditable true
15347 class SourceElement extends Element implements Element native "*HTMLSourceElemen t" { 15557 class SourceElement extends Element implements Element native "*HTMLSourceElemen t" {
15348 15558
15559 ///@docsEditable true
15349 factory SourceElement() => document.$dom_createElement("source"); 15560 factory SourceElement() => document.$dom_createElement("source");
15350 15561
15351 /// @domName HTMLSourceElement.media; @docsEditable true 15562 /// @domName HTMLSourceElement.media; @docsEditable true
15352 String media; 15563 String media;
15353 15564
15354 /// @domName HTMLSourceElement.src; @docsEditable true 15565 /// @domName HTMLSourceElement.src; @docsEditable true
15355 String src; 15566 String src;
15356 15567
15357 /// @domName HTMLSourceElement.type; @docsEditable true 15568 /// @domName HTMLSourceElement.type; @docsEditable true
15358 String type; 15569 String type;
15359 } 15570 }
15360 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 15571 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15361 // for details. All rights reserved. Use of this source code is governed by a 15572 // for details. All rights reserved. Use of this source code is governed by a
15362 // BSD-style license that can be found in the LICENSE file. 15573 // BSD-style license that can be found in the LICENSE file.
15363 15574
15364 15575
15365 /// @domName HTMLSpanElement; @docsEditable true 15576 /// @domName HTMLSpanElement; @docsEditable true
15366 class SpanElement extends Element implements Element native "*HTMLSpanElement" { 15577 class SpanElement extends Element implements Element native "*HTMLSpanElement" {
15367 15578
15579 ///@docsEditable true
15368 factory SpanElement() => document.$dom_createElement("span"); 15580 factory SpanElement() => document.$dom_createElement("span");
15369 } 15581 }
15370 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 15582 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15371 // for details. All rights reserved. Use of this source code is governed by a 15583 // for details. All rights reserved. Use of this source code is governed by a
15372 // BSD-style license that can be found in the LICENSE file. 15584 // BSD-style license that can be found in the LICENSE file.
15373 15585
15374 15586
15375 /// @domName SpeechGrammar; @docsEditable true 15587 /// @domName SpeechGrammar; @docsEditable true
15376 class SpeechGrammar native "*SpeechGrammar" { 15588 class SpeechGrammar native "*SpeechGrammar" {
15377 15589
15590 ///@docsEditable true
15378 factory SpeechGrammar() => _SpeechGrammarFactoryProvider.createSpeechGrammar() ; 15591 factory SpeechGrammar() => _SpeechGrammarFactoryProvider.createSpeechGrammar() ;
15379 15592
15380 /// @domName SpeechGrammar.src; @docsEditable true 15593 /// @domName SpeechGrammar.src; @docsEditable true
15381 String src; 15594 String src;
15382 15595
15383 /// @domName SpeechGrammar.weight; @docsEditable true 15596 /// @domName SpeechGrammar.weight; @docsEditable true
15384 num weight; 15597 num weight;
15385 } 15598 }
15386 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 15599 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15387 // for details. All rights reserved. Use of this source code is governed by a 15600 // for details. All rights reserved. Use of this source code is governed by a
15388 // BSD-style license that can be found in the LICENSE file. 15601 // BSD-style license that can be found in the LICENSE file.
15389 15602
15390 15603
15391 /// @domName SpeechGrammarList; @docsEditable true 15604 /// @domName SpeechGrammarList; @docsEditable true
15392 class SpeechGrammarList implements JavaScriptIndexingBehavior, List<SpeechGramma r> native "*SpeechGrammarList" { 15605 class SpeechGrammarList implements JavaScriptIndexingBehavior, List<SpeechGramma r> native "*SpeechGrammarList" {
15393 15606
15607 ///@docsEditable true
15394 factory SpeechGrammarList() => _SpeechGrammarListFactoryProvider.createSpeechG rammarList(); 15608 factory SpeechGrammarList() => _SpeechGrammarListFactoryProvider.createSpeechG rammarList();
15395 15609
15396 /// @domName SpeechGrammarList.length; @docsEditable true 15610 /// @domName SpeechGrammarList.length; @docsEditable true
15397 int get length => JS("int", "#.length", this); 15611 int get length => JS("int", "#.length", this);
15398 15612
15399 SpeechGrammar operator[](int index) => JS("SpeechGrammar", "#[#]", this, index ); 15613 SpeechGrammar operator[](int index) => JS("SpeechGrammar", "#[#]", this, index );
15400 15614
15401 void operator[]=(int index, SpeechGrammar value) { 15615 void operator[]=(int index, SpeechGrammar value) {
15402 throw new UnsupportedError("Cannot assign element of immutable List."); 15616 throw new UnsupportedError("Cannot assign element of immutable List.");
15403 } 15617 }
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
15532 final String utterance; 15746 final String utterance;
15533 } 15747 }
15534 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 15748 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15535 // for details. All rights reserved. Use of this source code is governed by a 15749 // for details. All rights reserved. Use of this source code is governed by a
15536 // BSD-style license that can be found in the LICENSE file. 15750 // BSD-style license that can be found in the LICENSE file.
15537 15751
15538 15752
15539 /// @domName SpeechRecognition; @docsEditable true 15753 /// @domName SpeechRecognition; @docsEditable true
15540 class SpeechRecognition extends EventTarget native "*SpeechRecognition" { 15754 class SpeechRecognition extends EventTarget native "*SpeechRecognition" {
15541 15755
15756 ///@docsEditable true
15542 factory SpeechRecognition() => _SpeechRecognitionFactoryProvider.createSpeechR ecognition(); 15757 factory SpeechRecognition() => _SpeechRecognitionFactoryProvider.createSpeechR ecognition();
15543 15758
15544 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true 15759 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true
15545 SpeechRecognitionEvents get on => 15760 SpeechRecognitionEvents get on =>
15546 new SpeechRecognitionEvents(this); 15761 new SpeechRecognitionEvents(this);
15547 15762
15548 /// @domName SpeechRecognition.continuous; @docsEditable true 15763 /// @domName SpeechRecognition.continuous; @docsEditable true
15549 bool continuous; 15764 bool continuous;
15550 15765
15551 /// @domName SpeechRecognition.grammars; @docsEditable true 15766 /// @domName SpeechRecognition.grammars; @docsEditable true
(...skipping 515 matching lines...) Expand 10 before | Expand all | Expand 10 after
16067 16282
16068 typedef void StringCallback(String data); 16283 typedef void StringCallback(String data);
16069 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 16284 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16070 // for details. All rights reserved. Use of this source code is governed by a 16285 // for details. All rights reserved. Use of this source code is governed by a
16071 // BSD-style license that can be found in the LICENSE file. 16286 // BSD-style license that can be found in the LICENSE file.
16072 16287
16073 16288
16074 /// @domName HTMLStyleElement; @docsEditable true 16289 /// @domName HTMLStyleElement; @docsEditable true
16075 class StyleElement extends Element implements Element native "*HTMLStyleElement" { 16290 class StyleElement extends Element implements Element native "*HTMLStyleElement" {
16076 16291
16292 ///@docsEditable true
16077 factory StyleElement() => document.$dom_createElement("style"); 16293 factory StyleElement() => document.$dom_createElement("style");
16078 16294
16079 /// @domName HTMLStyleElement.disabled; @docsEditable true 16295 /// @domName HTMLStyleElement.disabled; @docsEditable true
16080 bool disabled; 16296 bool disabled;
16081 16297
16082 /// @domName HTMLStyleElement.media; @docsEditable true 16298 /// @domName HTMLStyleElement.media; @docsEditable true
16083 String media; 16299 String media;
16084 16300
16085 /// @domName HTMLStyleElement.scoped; @docsEditable true 16301 /// @domName HTMLStyleElement.scoped; @docsEditable true
16086 bool scoped; 16302 bool scoped;
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
16135 final String type; 16351 final String type;
16136 } 16352 }
16137 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 16353 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16138 // for details. All rights reserved. Use of this source code is governed by a 16354 // for details. All rights reserved. Use of this source code is governed by a
16139 // BSD-style license that can be found in the LICENSE file. 16355 // BSD-style license that can be found in the LICENSE file.
16140 16356
16141 16357
16142 /// @domName HTMLTableCaptionElement; @docsEditable true 16358 /// @domName HTMLTableCaptionElement; @docsEditable true
16143 class TableCaptionElement extends Element implements Element native "*HTMLTableC aptionElement" { 16359 class TableCaptionElement extends Element implements Element native "*HTMLTableC aptionElement" {
16144 16360
16361 ///@docsEditable true
16145 factory TableCaptionElement() => document.$dom_createElement("caption"); 16362 factory TableCaptionElement() => document.$dom_createElement("caption");
16146 16363
16147 /// @domName HTMLTableCaptionElement.align; @docsEditable true 16364 /// @domName HTMLTableCaptionElement.align; @docsEditable true
16148 String align; 16365 String align;
16149 } 16366 }
16150 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 16367 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16151 // for details. All rights reserved. Use of this source code is governed by a 16368 // for details. All rights reserved. Use of this source code is governed by a
16152 // BSD-style license that can be found in the LICENSE file. 16369 // BSD-style license that can be found in the LICENSE file.
16153 16370
16154 16371
16155 /// @domName HTMLTableCellElement; @docsEditable true 16372 /// @domName HTMLTableCellElement; @docsEditable true
16156 class TableCellElement extends Element implements Element native "*HTMLTableCell Element" { 16373 class TableCellElement extends Element implements Element native "*HTMLTableCell Element" {
16157 16374
16375 ///@docsEditable true
16158 factory TableCellElement() => document.$dom_createElement("td"); 16376 factory TableCellElement() => document.$dom_createElement("td");
16159 16377
16160 /// @domName HTMLTableCellElement.abbr; @docsEditable true 16378 /// @domName HTMLTableCellElement.abbr; @docsEditable true
16161 String abbr; 16379 String abbr;
16162 16380
16163 /// @domName HTMLTableCellElement.align; @docsEditable true 16381 /// @domName HTMLTableCellElement.align; @docsEditable true
16164 String align; 16382 String align;
16165 16383
16166 /// @domName HTMLTableCellElement.axis; @docsEditable true 16384 /// @domName HTMLTableCellElement.axis; @docsEditable true
16167 String axis; 16385 String axis;
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
16203 String width; 16421 String width;
16204 } 16422 }
16205 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 16423 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16206 // for details. All rights reserved. Use of this source code is governed by a 16424 // for details. All rights reserved. Use of this source code is governed by a
16207 // BSD-style license that can be found in the LICENSE file. 16425 // BSD-style license that can be found in the LICENSE file.
16208 16426
16209 16427
16210 /// @domName HTMLTableColElement; @docsEditable true 16428 /// @domName HTMLTableColElement; @docsEditable true
16211 class TableColElement extends Element implements Element native "*HTMLTableColEl ement" { 16429 class TableColElement extends Element implements Element native "*HTMLTableColEl ement" {
16212 16430
16431 ///@docsEditable true
16213 factory TableColElement() => document.$dom_createElement("col"); 16432 factory TableColElement() => document.$dom_createElement("col");
16214 16433
16215 /// @domName HTMLTableColElement.align; @docsEditable true 16434 /// @domName HTMLTableColElement.align; @docsEditable true
16216 String align; 16435 String align;
16217 16436
16218 /// @domName HTMLTableColElement.ch; @docsEditable true 16437 /// @domName HTMLTableColElement.ch; @docsEditable true
16219 String ch; 16438 String ch;
16220 16439
16221 /// @domName HTMLTableColElement.chOff; @docsEditable true 16440 /// @domName HTMLTableColElement.chOff; @docsEditable true
16222 String chOff; 16441 String chOff;
16223 16442
16224 /// @domName HTMLTableColElement.span; @docsEditable true 16443 /// @domName HTMLTableColElement.span; @docsEditable true
16225 int span; 16444 int span;
16226 16445
16227 /// @domName HTMLTableColElement.vAlign; @docsEditable true 16446 /// @domName HTMLTableColElement.vAlign; @docsEditable true
16228 String vAlign; 16447 String vAlign;
16229 16448
16230 /// @domName HTMLTableColElement.width; @docsEditable true 16449 /// @domName HTMLTableColElement.width; @docsEditable true
16231 String width; 16450 String width;
16232 } 16451 }
16233 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 16452 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16234 // for details. All rights reserved. Use of this source code is governed by a 16453 // for details. All rights reserved. Use of this source code is governed by a
16235 // BSD-style license that can be found in the LICENSE file. 16454 // BSD-style license that can be found in the LICENSE file.
16236 16455
16237 16456
16238 /// @domName HTMLTableElement 16457 /// @domName HTMLTableElement
16239 class TableElement extends Element implements Element native "*HTMLTableElement" { 16458 class TableElement extends Element implements Element native "*HTMLTableElement" {
16240 16459
16460 ///@docsEditable true
16241 factory TableElement() => document.$dom_createElement("table"); 16461 factory TableElement() => document.$dom_createElement("table");
16242 16462
16243 /// @domName HTMLTableElement.align; @docsEditable true 16463 /// @domName HTMLTableElement.align; @docsEditable true
16244 String align; 16464 String align;
16245 16465
16246 /// @domName HTMLTableElement.bgColor; @docsEditable true 16466 /// @domName HTMLTableElement.bgColor; @docsEditable true
16247 String bgColor; 16467 String bgColor;
16248 16468
16249 /// @domName HTMLTableElement.border; @docsEditable true 16469 /// @domName HTMLTableElement.border; @docsEditable true
16250 String border; 16470 String border;
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
16320 Element _createTBody() native; 16540 Element _createTBody() native;
16321 } 16541 }
16322 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 16542 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16323 // for details. All rights reserved. Use of this source code is governed by a 16543 // for details. All rights reserved. Use of this source code is governed by a
16324 // BSD-style license that can be found in the LICENSE file. 16544 // BSD-style license that can be found in the LICENSE file.
16325 16545
16326 16546
16327 /// @domName HTMLTableRowElement; @docsEditable true 16547 /// @domName HTMLTableRowElement; @docsEditable true
16328 class TableRowElement extends Element implements Element native "*HTMLTableRowEl ement" { 16548 class TableRowElement extends Element implements Element native "*HTMLTableRowEl ement" {
16329 16549
16550 ///@docsEditable true
16330 factory TableRowElement() => document.$dom_createElement("tr"); 16551 factory TableRowElement() => document.$dom_createElement("tr");
16331 16552
16332 /// @domName HTMLTableRowElement.align; @docsEditable true 16553 /// @domName HTMLTableRowElement.align; @docsEditable true
16333 String align; 16554 String align;
16334 16555
16335 /// @domName HTMLTableRowElement.bgColor; @docsEditable true 16556 /// @domName HTMLTableRowElement.bgColor; @docsEditable true
16336 String bgColor; 16557 String bgColor;
16337 16558
16338 /// @domName HTMLTableRowElement.cells; @docsEditable true 16559 /// @domName HTMLTableRowElement.cells; @docsEditable true
16339 final HtmlCollection cells; 16560 final HtmlCollection cells;
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
16410 16631
16411 } 16632 }
16412 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 16633 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16413 // for details. All rights reserved. Use of this source code is governed by a 16634 // for details. All rights reserved. Use of this source code is governed by a
16414 // BSD-style license that can be found in the LICENSE file. 16635 // BSD-style license that can be found in the LICENSE file.
16415 16636
16416 16637
16417 /// @domName HTMLTextAreaElement; @docsEditable true 16638 /// @domName HTMLTextAreaElement; @docsEditable true
16418 class TextAreaElement extends Element implements Element native "*HTMLTextAreaEl ement" { 16639 class TextAreaElement extends Element implements Element native "*HTMLTextAreaEl ement" {
16419 16640
16641 ///@docsEditable true
16420 factory TextAreaElement() => document.$dom_createElement("textarea"); 16642 factory TextAreaElement() => document.$dom_createElement("textarea");
16421 16643
16422 /// @domName HTMLTextAreaElement.autofocus; @docsEditable true 16644 /// @domName HTMLTextAreaElement.autofocus; @docsEditable true
16423 bool autofocus; 16645 bool autofocus;
16424 16646
16425 /// @domName HTMLTextAreaElement.cols; @docsEditable true 16647 /// @domName HTMLTextAreaElement.cols; @docsEditable true
16426 int cols; 16648 int cols;
16427 16649
16428 /// @domName HTMLTextAreaElement.defaultValue; @docsEditable true 16650 /// @domName HTMLTextAreaElement.defaultValue; @docsEditable true
16429 String defaultValue; 16651 String defaultValue;
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
16584 EventListenerList get cueChange => this['cuechange']; 16806 EventListenerList get cueChange => this['cuechange'];
16585 } 16807 }
16586 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 16808 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16587 // for details. All rights reserved. Use of this source code is governed by a 16809 // for details. All rights reserved. Use of this source code is governed by a
16588 // BSD-style license that can be found in the LICENSE file. 16810 // BSD-style license that can be found in the LICENSE file.
16589 16811
16590 16812
16591 /// @domName TextTrackCue; @docsEditable true 16813 /// @domName TextTrackCue; @docsEditable true
16592 class TextTrackCue extends EventTarget native "*TextTrackCue" { 16814 class TextTrackCue extends EventTarget native "*TextTrackCue" {
16593 16815
16816 ///@docsEditable true
16594 factory TextTrackCue(num startTime, num endTime, String text) => _TextTrackCue FactoryProvider.createTextTrackCue(startTime, endTime, text); 16817 factory TextTrackCue(num startTime, num endTime, String text) => _TextTrackCue FactoryProvider.createTextTrackCue(startTime, endTime, text);
16595 16818
16596 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true 16819 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true
16597 TextTrackCueEvents get on => 16820 TextTrackCueEvents get on =>
16598 new TextTrackCueEvents(this); 16821 new TextTrackCueEvents(this);
16599 16822
16600 /// @domName TextTrackCue.align; @docsEditable true 16823 /// @domName TextTrackCue.align; @docsEditable true
16601 String align; 16824 String align;
16602 16825
16603 /// @domName TextTrackCue.endTime; @docsEditable true 16826 /// @domName TextTrackCue.endTime; @docsEditable true
(...skipping 332 matching lines...) Expand 10 before | Expand all | Expand 10 after
16936 17159
16937 typedef void TimeoutHandler(); 17160 typedef void TimeoutHandler();
16938 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 17161 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16939 // for details. All rights reserved. Use of this source code is governed by a 17162 // for details. All rights reserved. Use of this source code is governed by a
16940 // BSD-style license that can be found in the LICENSE file. 17163 // BSD-style license that can be found in the LICENSE file.
16941 17164
16942 17165
16943 /// @domName HTMLTitleElement; @docsEditable true 17166 /// @domName HTMLTitleElement; @docsEditable true
16944 class TitleElement extends Element implements Element native "*HTMLTitleElement" { 17167 class TitleElement extends Element implements Element native "*HTMLTitleElement" {
16945 17168
17169 ///@docsEditable true
16946 factory TitleElement() => document.$dom_createElement("title"); 17170 factory TitleElement() => document.$dom_createElement("title");
16947 } 17171 }
16948 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 17172 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16949 // for details. All rights reserved. Use of this source code is governed by a 17173 // for details. All rights reserved. Use of this source code is governed by a
16950 // BSD-style license that can be found in the LICENSE file. 17174 // BSD-style license that can be found in the LICENSE file.
16951 17175
16952 17176
16953 /// @domName Touch; @docsEditable true 17177 /// @domName Touch; @docsEditable true
16954 class Touch native "*Touch" { 17178 class Touch native "*Touch" {
16955 17179
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
17139 Touch item(int index) native; 17363 Touch item(int index) native;
17140 } 17364 }
17141 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 17365 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17142 // for details. All rights reserved. Use of this source code is governed by a 17366 // for details. All rights reserved. Use of this source code is governed by a
17143 // BSD-style license that can be found in the LICENSE file. 17367 // BSD-style license that can be found in the LICENSE file.
17144 17368
17145 17369
17146 /// @domName HTMLTrackElement; @docsEditable true 17370 /// @domName HTMLTrackElement; @docsEditable true
17147 class TrackElement extends Element implements Element native "*HTMLTrackElement" { 17371 class TrackElement extends Element implements Element native "*HTMLTrackElement" {
17148 17372
17373 ///@docsEditable true
17149 factory TrackElement() => document.$dom_createElement("track"); 17374 factory TrackElement() => document.$dom_createElement("track");
17150 17375
17151 static const int ERROR = 3; 17376 static const int ERROR = 3;
17152 17377
17153 static const int LOADED = 2; 17378 static const int LOADED = 2;
17154 17379
17155 static const int LOADING = 1; 17380 static const int LOADING = 1;
17156 17381
17157 static const int NONE = 0; 17382 static const int NONE = 0;
17158 17383
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
17307 17532
17308 } 17533 }
17309 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 17534 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17310 // for details. All rights reserved. Use of this source code is governed by a 17535 // for details. All rights reserved. Use of this source code is governed by a
17311 // BSD-style license that can be found in the LICENSE file. 17536 // BSD-style license that can be found in the LICENSE file.
17312 17537
17313 17538
17314 /// @domName HTMLUListElement; @docsEditable true 17539 /// @domName HTMLUListElement; @docsEditable true
17315 class UListElement extends Element implements Element native "*HTMLUListElement" { 17540 class UListElement extends Element implements Element native "*HTMLUListElement" {
17316 17541
17542 ///@docsEditable true
17317 factory UListElement() => document.$dom_createElement("ul"); 17543 factory UListElement() => document.$dom_createElement("ul");
17318 17544
17319 /// @domName HTMLUListElement.compact; @docsEditable true 17545 /// @domName HTMLUListElement.compact; @docsEditable true
17320 bool compact; 17546 bool compact;
17321 17547
17322 /// @domName HTMLUListElement.type; @docsEditable true 17548 /// @domName HTMLUListElement.type; @docsEditable true
17323 String type; 17549 String type;
17324 } 17550 }
17325 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 17551 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17326 // for details. All rights reserved. Use of this source code is governed by a 17552 // 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
17789 final bool valueMissing; 18015 final bool valueMissing;
17790 } 18016 }
17791 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 18017 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17792 // for details. All rights reserved. Use of this source code is governed by a 18018 // for details. All rights reserved. Use of this source code is governed by a
17793 // BSD-style license that can be found in the LICENSE file. 18019 // BSD-style license that can be found in the LICENSE file.
17794 18020
17795 18021
17796 /// @domName HTMLVideoElement; @docsEditable true 18022 /// @domName HTMLVideoElement; @docsEditable true
17797 class VideoElement extends MediaElement native "*HTMLVideoElement" { 18023 class VideoElement extends MediaElement native "*HTMLVideoElement" {
17798 18024
18025 ///@docsEditable true
17799 factory VideoElement() => document.$dom_createElement("video"); 18026 factory VideoElement() => document.$dom_createElement("video");
17800 18027
17801 /// @domName HTMLVideoElement.height; @docsEditable true 18028 /// @domName HTMLVideoElement.height; @docsEditable true
17802 int height; 18029 int height;
17803 18030
17804 /// @domName HTMLVideoElement.poster; @docsEditable true 18031 /// @domName HTMLVideoElement.poster; @docsEditable true
17805 String poster; 18032 String poster;
17806 18033
17807 /// @domName HTMLVideoElement.videoHeight; @docsEditable true 18034 /// @domName HTMLVideoElement.videoHeight; @docsEditable true
17808 final int videoHeight; 18035 final int videoHeight;
(...skipping 1576 matching lines...) Expand 10 before | Expand all | Expand 10 after
19385 19612
19386 } 19613 }
19387 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 19614 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
19388 // for details. All rights reserved. Use of this source code is governed by a 19615 // for details. All rights reserved. Use of this source code is governed by a
19389 // BSD-style license that can be found in the LICENSE file. 19616 // BSD-style license that can be found in the LICENSE file.
19390 19617
19391 19618
19392 /// @domName Worker; @docsEditable true 19619 /// @domName Worker; @docsEditable true
19393 class Worker extends AbstractWorker native "*Worker" { 19620 class Worker extends AbstractWorker native "*Worker" {
19394 19621
19622 ///@docsEditable true
19395 factory Worker(String scriptUrl) => _WorkerFactoryProvider.createWorker(script Url); 19623 factory Worker(String scriptUrl) => _WorkerFactoryProvider.createWorker(script Url);
19396 19624
19397 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true 19625 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true
19398 WorkerEvents get on => 19626 WorkerEvents get on =>
19399 new WorkerEvents(this); 19627 new WorkerEvents(this);
19400 19628
19401 /// @domName Worker.postMessage; @docsEditable true 19629 /// @domName Worker.postMessage; @docsEditable true
19402 void postMessage(/*SerializedScriptValue*/ message, [List messagePorts]) { 19630 void postMessage(/*SerializedScriptValue*/ message, [List messagePorts]) {
19403 if (?messagePorts) { 19631 if (?messagePorts) {
19404 var message_1 = convertDartToNative_SerializedScriptValue(message); 19632 var message_1 = convertDartToNative_SerializedScriptValue(message);
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
19572 final String userAgent; 19800 final String userAgent;
19573 } 19801 }
19574 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 19802 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
19575 // for details. All rights reserved. Use of this source code is governed by a 19803 // for details. All rights reserved. Use of this source code is governed by a
19576 // BSD-style license that can be found in the LICENSE file. 19804 // BSD-style license that can be found in the LICENSE file.
19577 19805
19578 19806
19579 /// @domName XPathEvaluator; @docsEditable true 19807 /// @domName XPathEvaluator; @docsEditable true
19580 class XPathEvaluator native "*XPathEvaluator" { 19808 class XPathEvaluator native "*XPathEvaluator" {
19581 19809
19810 ///@docsEditable true
19582 factory XPathEvaluator() => _XPathEvaluatorFactoryProvider.createXPathEvaluato r(); 19811 factory XPathEvaluator() => _XPathEvaluatorFactoryProvider.createXPathEvaluato r();
19583 19812
19584 /// @domName XPathEvaluator.createExpression; @docsEditable true 19813 /// @domName XPathEvaluator.createExpression; @docsEditable true
19585 XPathExpression createExpression(String expression, XPathNSResolver resolver) native; 19814 XPathExpression createExpression(String expression, XPathNSResolver resolver) native;
19586 19815
19587 /// @domName XPathEvaluator.createNSResolver; @docsEditable true 19816 /// @domName XPathEvaluator.createNSResolver; @docsEditable true
19588 XPathNSResolver createNSResolver(Node nodeResolver) native; 19817 XPathNSResolver createNSResolver(Node nodeResolver) native;
19589 19818
19590 /// @domName XPathEvaluator.evaluate; @docsEditable true 19819 /// @domName XPathEvaluator.evaluate; @docsEditable true
19591 XPathResult evaluate(String expression, Node contextNode, XPathNSResolver reso lver, int type, XPathResult inResult) native; 19820 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
19693 Node snapshotItem(int index) native; 19922 Node snapshotItem(int index) native;
19694 } 19923 }
19695 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 19924 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
19696 // for details. All rights reserved. Use of this source code is governed by a 19925 // for details. All rights reserved. Use of this source code is governed by a
19697 // BSD-style license that can be found in the LICENSE file. 19926 // BSD-style license that can be found in the LICENSE file.
19698 19927
19699 19928
19700 /// @domName XMLSerializer; @docsEditable true 19929 /// @domName XMLSerializer; @docsEditable true
19701 class XmlSerializer native "*XMLSerializer" { 19930 class XmlSerializer native "*XMLSerializer" {
19702 19931
19932 ///@docsEditable true
19703 factory XmlSerializer() => _XmlSerializerFactoryProvider.createXmlSerializer() ; 19933 factory XmlSerializer() => _XmlSerializerFactoryProvider.createXmlSerializer() ;
19704 19934
19705 /// @domName XMLSerializer.serializeToString; @docsEditable true 19935 /// @domName XMLSerializer.serializeToString; @docsEditable true
19706 String serializeToString(Node node) native; 19936 String serializeToString(Node node) native;
19707 } 19937 }
19708 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 19938 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
19709 // for details. All rights reserved. Use of this source code is governed by a 19939 // for details. All rights reserved. Use of this source code is governed by a
19710 // BSD-style license that can be found in the LICENSE file. 19940 // BSD-style license that can be found in the LICENSE file.
19711 19941
19712 19942
19713 /// @domName XSLTProcessor; @docsEditable true 19943 /// @domName XSLTProcessor; @docsEditable true
19714 class XsltProcessor native "*XSLTProcessor" { 19944 class XsltProcessor native "*XSLTProcessor" {
19715 19945
19946 ///@docsEditable true
19716 factory XsltProcessor() => _XsltProcessorFactoryProvider.createXsltProcessor() ; 19947 factory XsltProcessor() => _XsltProcessorFactoryProvider.createXsltProcessor() ;
19717 19948
19718 /// @domName XSLTProcessor.clearParameters; @docsEditable true 19949 /// @domName XSLTProcessor.clearParameters; @docsEditable true
19719 void clearParameters() native; 19950 void clearParameters() native;
19720 19951
19721 /// @domName XSLTProcessor.getParameter; @docsEditable true 19952 /// @domName XSLTProcessor.getParameter; @docsEditable true
19722 String getParameter(String namespaceURI, String localName) native; 19953 String getParameter(String namespaceURI, String localName) native;
19723 19954
19724 /// @domName XSLTProcessor.importStylesheet; @docsEditable true 19955 /// @domName XSLTProcessor.importStylesheet; @docsEditable true
19725 void importStylesheet(Node stylesheet) native; 19956 void importStylesheet(Node stylesheet) native;
(...skipping 4708 matching lines...) Expand 10 before | Expand all | Expand 10 after
24434 T next() { 24665 T next() {
24435 if (!hasNext) { 24666 if (!hasNext) {
24436 throw new StateError("No more elements"); 24667 throw new StateError("No more elements");
24437 } 24668 }
24438 return _array[_pos++]; 24669 return _array[_pos++];
24439 } 24670 }
24440 24671
24441 final List<T> _array; 24672 final List<T> _array;
24442 int _pos; 24673 int _pos;
24443 } 24674 }
OLDNEW
« no previous file with comments | « no previous file | sdk/lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698