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

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`.
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].
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).
9740 *
9741 * This call is used in conjunction with [open]:
9742 *
9743 * var request = new HttpRequest();
9744 * request.open('GET', 'http://dartlang.org')
9745 * request.on.load.add((event) => print('Request complete'));
9746 *
9747 * is the (more verbose) equivalent of
9748 *
9749 * var request = new HttpRequest.get('http://dartlang.org', (event) => pri nt('Request complete'));
9750 */
9751 ///@docsEditable true
9663 factory HttpRequest() => _HttpRequestFactoryProvider.createHttpRequest(); 9752 factory HttpRequest() => _HttpRequestFactoryProvider.createHttpRequest();
9664 9753
9754 /**
9755 * Get the set of [HttpRequestEvents] that this request can respond to.
9756 * Usually used when adding an EventListener, such as in
9757 * `document.window.on.keyDown.add((e) => print('keydown happened'))`.
9758 */
9665 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true 9759 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true
9666 HttpRequestEvents get on => 9760 HttpRequestEvents get on =>
9667 new HttpRequestEvents(this); 9761 new HttpRequestEvents(this);
9668 9762
9669 static const int DONE = 4; 9763 static const int DONE = 4;
9670 9764
9671 static const int HEADERS_RECEIVED = 2; 9765 static const int HEADERS_RECEIVED = 2;
9672 9766
9673 static const int LOADING = 3; 9767 static const int LOADING = 3;
9674 9768
9675 static const int OPENED = 1; 9769 static const int OPENED = 1;
9676 9770
9677 static const int UNSENT = 0; 9771 static const int UNSENT = 0;
9678 9772
9773 /** @domName XMLHttpRequest.readyState */
9679 /// @domName XMLHttpRequest.readyState; @docsEditable true 9774 /// @domName XMLHttpRequest.readyState; @docsEditable true
9680 final int readyState; 9775 final int readyState;
9681 9776
9777 /**
9778 * The data received as a reponse from the request.
9779 *
9780 * The data could be in the
9781 * form of a [String], [ArrayBuffer], [Document], [Blob], or json (also a
9782 * [String]). `null` indicates request failure.
9783 */
9682 /// @domName XMLHttpRequest.response; @docsEditable true 9784 /// @domName XMLHttpRequest.response; @docsEditable true
9683 @Creates('ArrayBuffer|Blob|Document|=Object|=List|String|num') 9785 @Creates('ArrayBuffer|Blob|Document|=Object|=List|String|num')
9684 final Object response; 9786 final Object response;
9685 9787
9788 /**
9789 * The response in string form or `null` on failure.
9790 */
9686 /// @domName XMLHttpRequest.responseText; @docsEditable true 9791 /// @domName XMLHttpRequest.responseText; @docsEditable true
9687 final String responseText; 9792 final String responseText;
9688 9793
9794 /**
9795 * [String] telling the server the desired response format.
9796 *
9797 * Default is `String`.
9798 * Other options are one of 'arraybuffer', 'blob', 'document', 'json',
9799 * 'text'. Some newer browsers will throw NS_ERROR_DOM_INVALID_ACCESS_ERR if
9800 * `responseType` is set while performing a synchronous request.
9801 *
9802 * See also: [MDN responseType](https://developer.mozilla.org/en-US/docs/DOM/X MLHttpRequest#responseType)
9803 */
9689 /// @domName XMLHttpRequest.responseType; @docsEditable true 9804 /// @domName XMLHttpRequest.responseType; @docsEditable true
9690 String responseType; 9805 String responseType;
9691 9806
9692 /// @domName XMLHttpRequest.responseXML; @docsEditable true 9807 /// @domName XMLHttpRequest.responseXML; @docsEditable true
9693 @JSName('responseXML') 9808 @JSName('responseXML')
9694 final Document responseXml; 9809 final Document responseXml;
9695 9810
9811 /**
9812 * The http result code from the request (200, 404, etc).
9813 * See also: [Http Status Codes](http://en.wikipedia.org/wiki/List_of_HTTP_sta tus_codes)
9814 */
9696 /// @domName XMLHttpRequest.status; @docsEditable true 9815 /// @domName XMLHttpRequest.status; @docsEditable true
9697 final int status; 9816 final int status;
9698 9817
9818 /**
9819 * The request response string (such as "200 OK").
9820 * See also: [Http Status Codes](http://en.wikipedia.org/wiki/List_of_HTTP_sta tus_codes)
9821 */
9699 /// @domName XMLHttpRequest.statusText; @docsEditable true 9822 /// @domName XMLHttpRequest.statusText; @docsEditable true
9700 final String statusText; 9823 final String statusText;
9701 9824
9825 /**
9826 * [EventTarget] that can hold listeners to track the progress of the request.
9827 * The events fired will be members of [HttpRequestUploadEvents].
9828 */
9702 /// @domName XMLHttpRequest.upload; @docsEditable true 9829 /// @domName XMLHttpRequest.upload; @docsEditable true
9703 final HttpRequestUpload upload; 9830 final HttpRequestUpload upload;
9704 9831
9832 /**
9833 * True if cross-site requests should use credentials such as cookies
9834 * or authorization headers; false otherwise.
9835 *
9836 * This value is ignored for same-site requests.
9837 */
9705 /// @domName XMLHttpRequest.withCredentials; @docsEditable true 9838 /// @domName XMLHttpRequest.withCredentials; @docsEditable true
9706 bool withCredentials; 9839 bool withCredentials;
9707 9840
9841 /**
9842 * Stop the current request.
9843 *
9844 * The request can only be stopped if readyState is `HEADERS_RECIEVED` or
9845 * `LOADING`. If this method is not in the process of being sent, the method
9846 * has no effect.
9847 */
9708 /// @domName XMLHttpRequest.abort; @docsEditable true 9848 /// @domName XMLHttpRequest.abort; @docsEditable true
9709 void abort() native; 9849 void abort() native;
9710 9850
9711 /// @domName XMLHttpRequest.addEventListener; @docsEditable true 9851 /// @domName XMLHttpRequest.addEventListener; @docsEditable true
9712 @JSName('addEventListener') 9852 @JSName('addEventListener')
9713 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu re]) native; 9853 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu re]) native;
9714 9854
9715 /// @domName XMLHttpRequest.dispatchEvent; @docsEditable true 9855 /// @domName XMLHttpRequest.dispatchEvent; @docsEditable true
9716 @JSName('dispatchEvent') 9856 @JSName('dispatchEvent')
9717 bool $dom_dispatchEvent(Event evt) native; 9857 bool $dom_dispatchEvent(Event evt) native;
9718 9858
9859 /**
9860 * Retrieve all the response headers from a request.
9861 *
9862 * `null` if no headers have been received. For multipart requests,
9863 * `getAllResponseHeaders` will return the response headers for the current
9864 * part of the request.
9865 *
9866 * See also [HTTP response headers](http://en.wikipedia.org/wiki/List_of_HTTP_ header_fields#Responses)
9867 * for a list of common response headers.
9868 */
9719 /// @domName XMLHttpRequest.getAllResponseHeaders; @docsEditable true 9869 /// @domName XMLHttpRequest.getAllResponseHeaders; @docsEditable true
9720 String getAllResponseHeaders() native; 9870 String getAllResponseHeaders() native;
9721 9871
9872 /**
9873 * Return the response header named `header`, or `null` if not found.
9874 *
9875 * See also [HTTP response headers](http://en.wikipedia.org/wiki/List_of_HTTP_ header_fields#Responses)
9876 * for a list of common response headers.
9877 */
9722 /// @domName XMLHttpRequest.getResponseHeader; @docsEditable true 9878 /// @domName XMLHttpRequest.getResponseHeader; @docsEditable true
9723 String getResponseHeader(String header) native; 9879 String getResponseHeader(String header) native;
9724 9880
9881 /**
9882 * Specify the desired `url`, and `method` to use in making the request.
9883 *
9884 * By default the request is done asyncronously, with no user or password
9885 * authentication information. If `async` is false, the request will be send
9886 * synchronously.
9887 *
9888 * Calling `open` again on a currently active request is equivalent to
9889 * calling `abort`.
9890 */
9725 /// @domName XMLHttpRequest.open; @docsEditable true 9891 /// @domName XMLHttpRequest.open; @docsEditable true
9726 void open(String method, String url, [bool async, String user, String password ]) native; 9892 void open(String method, String url, [bool async, String user, String password ]) native;
9727 9893
9894 /**
9895 * Specify a particular MIME type (such as `text/xml`) desired for the
9896 * response.
9897 *
9898 * This value must be set before the request has been sent. See also the list
9899 * of [common MIME types](http://en.wikipedia.org/wiki/Internet_media_type#Lis t_of_common_media_types)
9900 */
9728 /// @domName XMLHttpRequest.overrideMimeType; @docsEditable true 9901 /// @domName XMLHttpRequest.overrideMimeType; @docsEditable true
9729 void overrideMimeType(String override) native; 9902 void overrideMimeType(String override) native;
9730 9903
9731 /// @domName XMLHttpRequest.removeEventListener; @docsEditable true 9904 /// @domName XMLHttpRequest.removeEventListener; @docsEditable true
9732 @JSName('removeEventListener') 9905 @JSName('removeEventListener')
9733 void $dom_removeEventListener(String type, EventListener listener, [bool useCa pture]) native; 9906 void $dom_removeEventListener(String type, EventListener listener, [bool useCa pture]) native;
9734 9907
9908 /**
9909 * Send the request with any given `data`.
9910 *
9911 * See also:
9912 * [send() docs](https://developer.mozilla.org/en-US/docs/DOM/XMLHttpRequest#s end())
9913 * from MDN.
9914 */
9735 /// @domName XMLHttpRequest.send; @docsEditable true 9915 /// @domName XMLHttpRequest.send; @docsEditable true
9736 void send([data]) native; 9916 void send([data]) native;
9737 9917
9918 /** Sets HTTP `header` to `value`. */
9738 /// @domName XMLHttpRequest.setRequestHeader; @docsEditable true 9919 /// @domName XMLHttpRequest.setRequestHeader; @docsEditable true
9739 void setRequestHeader(String header, String value) native; 9920 void setRequestHeader(String header, String value) native;
9740 9921
9741 } 9922 }
9742 9923
9743 class HttpRequestEvents extends Events { 9924 class HttpRequestEvents extends Events {
9744 HttpRequestEvents(EventTarget _ptr) : super(_ptr); 9925 HttpRequestEvents(EventTarget _ptr) : super(_ptr);
9745 9926
9746 EventListenerList get abort => this['abort']; 9927 EventListenerList get abort => this['abort'];
9747 9928
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
9836 EventListenerList get progress => this['progress']; 10017 EventListenerList get progress => this['progress'];
9837 } 10018 }
9838 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 10019 // 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 10020 // 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. 10021 // BSD-style license that can be found in the LICENSE file.
9841 10022
9842 10023
9843 /// @domName HTMLIFrameElement; @docsEditable true 10024 /// @domName HTMLIFrameElement; @docsEditable true
9844 class IFrameElement extends Element implements Element native "*HTMLIFrameElemen t" { 10025 class IFrameElement extends Element implements Element native "*HTMLIFrameElemen t" {
9845 10026
10027 ///@docsEditable true
9846 factory IFrameElement() => document.$dom_createElement("iframe"); 10028 factory IFrameElement() => document.$dom_createElement("iframe");
9847 10029
9848 /// @domName HTMLIFrameElement.align; @docsEditable true 10030 /// @domName HTMLIFrameElement.align; @docsEditable true
9849 String align; 10031 String align;
9850 10032
9851 /// @domName HTMLIFrameElement.contentWindow; @docsEditable true 10033 /// @domName HTMLIFrameElement.contentWindow; @docsEditable true
9852 Window get contentWindow => _convertNativeToDart_Window(this._contentWindow); 10034 Window get contentWindow => _convertNativeToDart_Window(this._contentWindow);
9853 @JSName('contentWindow') 10035 @JSName('contentWindow')
9854 @Creates('LocalWindow|=Object') @Returns('LocalWindow|=Object') 10036 @Creates('LocalWindow|=Object') @Returns('LocalWindow|=Object')
9855 final dynamic _contentWindow; 10037 final dynamic _contentWindow;
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
9896 10078
9897 typedef void IceCallback(IceCandidate candidate, bool moreToFollow, PeerConnecti on00 source); 10079 typedef void IceCallback(IceCandidate candidate, bool moreToFollow, PeerConnecti on00 source);
9898 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 10080 // 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 10081 // 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. 10082 // BSD-style license that can be found in the LICENSE file.
9901 10083
9902 10084
9903 /// @domName IceCandidate; @docsEditable true 10085 /// @domName IceCandidate; @docsEditable true
9904 class IceCandidate native "*IceCandidate" { 10086 class IceCandidate native "*IceCandidate" {
9905 10087
10088 ///@docsEditable true
9906 factory IceCandidate(String label, String candidateLine) => _IceCandidateFacto ryProvider.createIceCandidate(label, candidateLine); 10089 factory IceCandidate(String label, String candidateLine) => _IceCandidateFacto ryProvider.createIceCandidate(label, candidateLine);
9907 10090
9908 /// @domName IceCandidate.label; @docsEditable true 10091 /// @domName IceCandidate.label; @docsEditable true
9909 final String label; 10092 final String label;
9910 10093
9911 /// @domName IceCandidate.toSdp; @docsEditable true 10094 /// @domName IceCandidate.toSdp; @docsEditable true
9912 String toSdp() native; 10095 String toSdp() native;
9913 } 10096 }
9914 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 10097 // 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 10098 // for details. All rights reserved. Use of this source code is governed by a
(...skipping 13 matching lines...) Expand all
9929 final int width; 10112 final int width;
9930 } 10113 }
9931 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 10114 // 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 10115 // 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. 10116 // BSD-style license that can be found in the LICENSE file.
9934 10117
9935 10118
9936 /// @domName HTMLImageElement; @docsEditable true 10119 /// @domName HTMLImageElement; @docsEditable true
9937 class ImageElement extends Element implements Element native "*HTMLImageElement" { 10120 class ImageElement extends Element implements Element native "*HTMLImageElement" {
9938 10121
10122 ///@docsEditable true
9939 factory ImageElement({String src, int width, int height}) { 10123 factory ImageElement({String src, int width, int height}) {
9940 var e = document.$dom_createElement("img"); 10124 var e = document.$dom_createElement("img");
9941 if (src != null) e.src = src; 10125 if (src != null) e.src = src;
9942 if (width != null) e.width = width; 10126 if (width != null) e.width = width;
9943 if (height != null) e.height = height; 10127 if (height != null) e.height = height;
9944 return e; 10128 return e;
9945 } 10129 }
9946 10130
9947 /// @domName HTMLImageElement.align; @docsEditable true 10131 /// @domName HTMLImageElement.align; @docsEditable true
9948 String align; 10132 String align;
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
10002 final int y; 10186 final int y;
10003 } 10187 }
10004 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 10188 // 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 10189 // 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. 10190 // BSD-style license that can be found in the LICENSE file.
10007 10191
10008 10192
10009 /// @domName HTMLInputElement; @docsEditable true 10193 /// @domName HTMLInputElement; @docsEditable true
10010 class InputElement extends Element implements Element native "*HTMLInputElement" { 10194 class InputElement extends Element implements Element native "*HTMLInputElement" {
10011 10195
10196 ///@docsEditable true
10012 factory InputElement({String type}) { 10197 factory InputElement({String type}) {
10013 var e = document.$dom_createElement("input"); 10198 var e = document.$dom_createElement("input");
10014 if (type != null) e.type = type; 10199 if (type != null) e.type = type;
10015 return e; 10200 return e;
10016 } 10201 }
10017 10202
10018 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true 10203 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true
10019 InputElementEvents get on => 10204 InputElementEvents get on =>
10020 new InputElementEvents(this); 10205 new InputElementEvents(this);
10021 10206
(...skipping 675 matching lines...) Expand 10 before | Expand all | Expand 10 after
10697 10882
10698 } 10883 }
10699 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 10884 // 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 10885 // 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. 10886 // BSD-style license that can be found in the LICENSE file.
10702 10887
10703 10888
10704 /// @domName HTMLKeygenElement; @docsEditable true 10889 /// @domName HTMLKeygenElement; @docsEditable true
10705 class KeygenElement extends Element implements Element native "*HTMLKeygenElemen t" { 10890 class KeygenElement extends Element implements Element native "*HTMLKeygenElemen t" {
10706 10891
10892 ///@docsEditable true
10707 factory KeygenElement() => document.$dom_createElement("keygen"); 10893 factory KeygenElement() => document.$dom_createElement("keygen");
10708 10894
10709 /// @domName HTMLKeygenElement.autofocus; @docsEditable true 10895 /// @domName HTMLKeygenElement.autofocus; @docsEditable true
10710 bool autofocus; 10896 bool autofocus;
10711 10897
10712 /// @domName HTMLKeygenElement.challenge; @docsEditable true 10898 /// @domName HTMLKeygenElement.challenge; @docsEditable true
10713 String challenge; 10899 String challenge;
10714 10900
10715 /// @domName HTMLKeygenElement.disabled; @docsEditable true 10901 /// @domName HTMLKeygenElement.disabled; @docsEditable true
10716 bool disabled; 10902 bool disabled;
(...skipping 30 matching lines...) Expand all
10747 void setCustomValidity(String error) native; 10933 void setCustomValidity(String error) native;
10748 } 10934 }
10749 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 10935 // 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 10936 // 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. 10937 // BSD-style license that can be found in the LICENSE file.
10752 10938
10753 10939
10754 /// @domName HTMLLIElement; @docsEditable true 10940 /// @domName HTMLLIElement; @docsEditable true
10755 class LIElement extends Element implements Element native "*HTMLLIElement" { 10941 class LIElement extends Element implements Element native "*HTMLLIElement" {
10756 10942
10943 ///@docsEditable true
10757 factory LIElement() => document.$dom_createElement("li"); 10944 factory LIElement() => document.$dom_createElement("li");
10758 10945
10759 /// @domName HTMLLIElement.type; @docsEditable true 10946 /// @domName HTMLLIElement.type; @docsEditable true
10760 String type; 10947 String type;
10761 10948
10762 /// @domName HTMLLIElement.value; @docsEditable true 10949 /// @domName HTMLLIElement.value; @docsEditable true
10763 int value; 10950 int value;
10764 } 10951 }
10765 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 10952 // 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 10953 // 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. 10954 // BSD-style license that can be found in the LICENSE file.
10768 10955
10769 10956
10770 /// @domName HTMLLabelElement; @docsEditable true 10957 /// @domName HTMLLabelElement; @docsEditable true
10771 class LabelElement extends Element implements Element native "*HTMLLabelElement" { 10958 class LabelElement extends Element implements Element native "*HTMLLabelElement" {
10772 10959
10960 ///@docsEditable true
10773 factory LabelElement() => document.$dom_createElement("label"); 10961 factory LabelElement() => document.$dom_createElement("label");
10774 10962
10775 /// @domName HTMLLabelElement.control; @docsEditable true 10963 /// @domName HTMLLabelElement.control; @docsEditable true
10776 final Element control; 10964 final Element control;
10777 10965
10778 /// @domName HTMLLabelElement.form; @docsEditable true 10966 /// @domName HTMLLabelElement.form; @docsEditable true
10779 final FormElement form; 10967 final FormElement form;
10780 10968
10781 /// @domName HTMLLabelElement.htmlFor; @docsEditable true 10969 /// @domName HTMLLabelElement.htmlFor; @docsEditable true
10782 String htmlFor; 10970 String htmlFor;
10783 } 10971 }
10784 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 10972 // 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 10973 // 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. 10974 // BSD-style license that can be found in the LICENSE file.
10787 10975
10788 10976
10789 /// @domName HTMLLegendElement; @docsEditable true 10977 /// @domName HTMLLegendElement; @docsEditable true
10790 class LegendElement extends Element implements Element native "*HTMLLegendElemen t" { 10978 class LegendElement extends Element implements Element native "*HTMLLegendElemen t" {
10791 10979
10980 ///@docsEditable true
10792 factory LegendElement() => document.$dom_createElement("legend"); 10981 factory LegendElement() => document.$dom_createElement("legend");
10793 10982
10794 /// @domName HTMLLegendElement.align; @docsEditable true 10983 /// @domName HTMLLegendElement.align; @docsEditable true
10795 String align; 10984 String align;
10796 10985
10797 /// @domName HTMLLegendElement.form; @docsEditable true 10986 /// @domName HTMLLegendElement.form; @docsEditable true
10798 final FormElement form; 10987 final FormElement form;
10799 } 10988 }
10800 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 10989 // 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 10990 // 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. 10991 // BSD-style license that can be found in the LICENSE file.
10803 10992
10804 10993
10805 /// @domName HTMLLinkElement; @docsEditable true 10994 /// @domName HTMLLinkElement; @docsEditable true
10806 class LinkElement extends Element implements Element native "*HTMLLinkElement" { 10995 class LinkElement extends Element implements Element native "*HTMLLinkElement" {
10807 10996
10997 ///@docsEditable true
10808 factory LinkElement() => document.$dom_createElement("link"); 10998 factory LinkElement() => document.$dom_createElement("link");
10809 10999
10810 /// @domName HTMLLinkElement.charset; @docsEditable true 11000 /// @domName HTMLLinkElement.charset; @docsEditable true
10811 String charset; 11001 String charset;
10812 11002
10813 /// @domName HTMLLinkElement.disabled; @docsEditable true 11003 /// @domName HTMLLinkElement.disabled; @docsEditable true
10814 bool disabled; 11004 bool disabled;
10815 11005
10816 /// @domName HTMLLinkElement.href; @docsEditable true 11006 /// @domName HTMLLinkElement.href; @docsEditable true
10817 String href; 11007 String href;
(...skipping 702 matching lines...) Expand 10 before | Expand all | Expand 10 after
11520 EventListenerList get transitionEnd => this['webkitTransitionEnd']; 11710 EventListenerList get transitionEnd => this['webkitTransitionEnd'];
11521 } 11711 }
11522 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 11712 // 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 11713 // 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. 11714 // BSD-style license that can be found in the LICENSE file.
11525 11715
11526 11716
11527 /// @domName HTMLMapElement; @docsEditable true 11717 /// @domName HTMLMapElement; @docsEditable true
11528 class MapElement extends Element implements Element native "*HTMLMapElement" { 11718 class MapElement extends Element implements Element native "*HTMLMapElement" {
11529 11719
11720 ///@docsEditable true
11530 factory MapElement() => document.$dom_createElement("map"); 11721 factory MapElement() => document.$dom_createElement("map");
11531 11722
11532 /// @domName HTMLMapElement.areas; @docsEditable true 11723 /// @domName HTMLMapElement.areas; @docsEditable true
11533 final HtmlCollection areas; 11724 final HtmlCollection areas;
11534 11725
11535 /// @domName HTMLMapElement.name; @docsEditable true 11726 /// @domName HTMLMapElement.name; @docsEditable true
11536 String name; 11727 String name;
11537 } 11728 }
11538 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 11729 // 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 11730 // 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; 11774 void stop() native;
11584 } 11775 }
11585 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 11776 // 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 11777 // 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. 11778 // BSD-style license that can be found in the LICENSE file.
11588 11779
11589 11780
11590 /// @domName MediaController; @docsEditable true 11781 /// @domName MediaController; @docsEditable true
11591 class MediaController extends EventTarget native "*MediaController" { 11782 class MediaController extends EventTarget native "*MediaController" {
11592 11783
11784 ///@docsEditable true
11593 factory MediaController() => _MediaControllerFactoryProvider.createMediaContro ller(); 11785 factory MediaController() => _MediaControllerFactoryProvider.createMediaContro ller();
11594 11786
11595 /// @domName MediaController.buffered; @docsEditable true 11787 /// @domName MediaController.buffered; @docsEditable true
11596 final TimeRanges buffered; 11788 final TimeRanges buffered;
11597 11789
11598 /// @domName MediaController.currentTime; @docsEditable true 11790 /// @domName MediaController.currentTime; @docsEditable true
11599 num currentTime; 11791 num currentTime;
11600 11792
11601 /// @domName MediaController.defaultPlaybackRate; @docsEditable true 11793 /// @domName MediaController.defaultPlaybackRate; @docsEditable true
11602 num defaultPlaybackRate; 11794 num defaultPlaybackRate;
(...skipping 370 matching lines...) Expand 10 before | Expand all | Expand 10 after
11973 void queryChanged(MediaQueryList list); 12165 void queryChanged(MediaQueryList list);
11974 } 12166 }
11975 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 12167 // 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 12168 // 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. 12169 // BSD-style license that can be found in the LICENSE file.
11978 12170
11979 12171
11980 /// @domName MediaSource; @docsEditable true 12172 /// @domName MediaSource; @docsEditable true
11981 class MediaSource extends EventTarget native "*MediaSource" { 12173 class MediaSource extends EventTarget native "*MediaSource" {
11982 12174
12175 ///@docsEditable true
11983 factory MediaSource() => _MediaSourceFactoryProvider.createMediaSource(); 12176 factory MediaSource() => _MediaSourceFactoryProvider.createMediaSource();
11984 12177
11985 /// @domName MediaSource.activeSourceBuffers; @docsEditable true 12178 /// @domName MediaSource.activeSourceBuffers; @docsEditable true
11986 final SourceBufferList activeSourceBuffers; 12179 final SourceBufferList activeSourceBuffers;
11987 12180
11988 /// @domName MediaSource.duration; @docsEditable true 12181 /// @domName MediaSource.duration; @docsEditable true
11989 num duration; 12182 num duration;
11990 12183
11991 /// @domName MediaSource.readyState; @docsEditable true 12184 /// @domName MediaSource.readyState; @docsEditable true
11992 final String readyState; 12185 final String readyState;
(...skipping 23 matching lines...) Expand all
12016 void removeSourceBuffer(SourceBuffer buffer) native; 12209 void removeSourceBuffer(SourceBuffer buffer) native;
12017 } 12210 }
12018 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 12211 // 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 12212 // 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. 12213 // BSD-style license that can be found in the LICENSE file.
12021 12214
12022 12215
12023 /// @domName MediaStream; @docsEditable true 12216 /// @domName MediaStream; @docsEditable true
12024 class MediaStream extends EventTarget native "*MediaStream" { 12217 class MediaStream extends EventTarget native "*MediaStream" {
12025 12218
12219 ///@docsEditable true
12026 factory MediaStream(MediaStreamTrackList audioTracks, MediaStreamTrackList vid eoTracks) => _MediaStreamFactoryProvider.createMediaStream(audioTracks, videoTra cks); 12220 factory MediaStream(MediaStreamTrackList audioTracks, MediaStreamTrackList vid eoTracks) => _MediaStreamFactoryProvider.createMediaStream(audioTracks, videoTra cks);
12027 12221
12028 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true 12222 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true
12029 MediaStreamEvents get on => 12223 MediaStreamEvents get on =>
12030 new MediaStreamEvents(this); 12224 new MediaStreamEvents(this);
12031 12225
12032 static const int ENDED = 2; 12226 static const int ENDED = 2;
12033 12227
12034 static const int LIVE = 1; 12228 static const int LIVE = 1;
12035 12229
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
12209 * A <menu> element represents an unordered list of menu commands. 12403 * A <menu> element represents an unordered list of menu commands.
12210 * 12404 *
12211 * See also: 12405 * See also:
12212 * 12406 *
12213 * * [Menu Element](https://developer.mozilla.org/en-US/docs/HTML/Element/menu) from MDN. 12407 * * [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. 12408 * * [Menu Element](http://www.w3.org/TR/html5/the-menu-element.html#the-menu-e lement) from the W3C.
12215 */ 12409 */
12216 /// @domName HTMLMenuElement; @docsEditable true 12410 /// @domName HTMLMenuElement; @docsEditable true
12217 class MenuElement extends Element implements Element native "*HTMLMenuElement" { 12411 class MenuElement extends Element implements Element native "*HTMLMenuElement" {
12218 12412
12413 ///@docsEditable true
12219 factory MenuElement() => document.$dom_createElement("menu"); 12414 factory MenuElement() => document.$dom_createElement("menu");
12220 } 12415 }
12221 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 12416 // 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 12417 // 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. 12418 // BSD-style license that can be found in the LICENSE file.
12224 12419
12225 12420
12226 /// @domName MessageChannel; @docsEditable true 12421 /// @domName MessageChannel; @docsEditable true
12227 class MessageChannel native "*MessageChannel" { 12422 class MessageChannel native "*MessageChannel" {
12228 12423
12424 ///@docsEditable true
12229 factory MessageChannel() => _MessageChannelFactoryProvider.createMessageChanne l(); 12425 factory MessageChannel() => _MessageChannelFactoryProvider.createMessageChanne l();
12230 12426
12231 /// @domName MessageChannel.port1; @docsEditable true 12427 /// @domName MessageChannel.port1; @docsEditable true
12232 final MessagePort port1; 12428 final MessagePort port1;
12233 12429
12234 /// @domName MessageChannel.port2; @docsEditable true 12430 /// @domName MessageChannel.port2; @docsEditable true
12235 final MessagePort port2; 12431 final MessagePort port2;
12236 } 12432 }
12237 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 12433 // 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 12434 // 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 12561
12366 typedef void MetadataCallback(Metadata metadata); 12562 typedef void MetadataCallback(Metadata metadata);
12367 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 12563 // 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 12564 // 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. 12565 // BSD-style license that can be found in the LICENSE file.
12370 12566
12371 12567
12372 /// @domName HTMLMeterElement; @docsEditable true 12568 /// @domName HTMLMeterElement; @docsEditable true
12373 class MeterElement extends Element implements Element native "*HTMLMeterElement" { 12569 class MeterElement extends Element implements Element native "*HTMLMeterElement" {
12374 12570
12571 ///@docsEditable true
12375 factory MeterElement() => document.$dom_createElement("meter"); 12572 factory MeterElement() => document.$dom_createElement("meter");
12376 12573
12377 /// @domName HTMLMeterElement.high; @docsEditable true 12574 /// @domName HTMLMeterElement.high; @docsEditable true
12378 num high; 12575 num high;
12379 12576
12380 /// @domName HTMLMeterElement.labels; @docsEditable true 12577 /// @domName HTMLMeterElement.labels; @docsEditable true
12381 @Returns('NodeList') @Creates('NodeList') 12578 @Returns('NodeList') @Creates('NodeList')
12382 final List<Node> labels; 12579 final List<Node> labels;
12383 12580
12384 /// @domName HTMLMeterElement.low; @docsEditable true 12581 /// @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; 12758 void initMutationEvent(String type, bool canBubble, bool cancelable, Node rela tedNode, String prevValue, String newValue, String attrName, int attrChange) nat ive;
12562 } 12759 }
12563 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 12760 // 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 12761 // 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. 12762 // BSD-style license that can be found in the LICENSE file.
12566 12763
12567 12764
12568 /// @domName MutationObserver 12765 /// @domName MutationObserver
12569 class MutationObserver native "*MutationObserver" { 12766 class MutationObserver native "*MutationObserver" {
12570 12767
12768 ///@docsEditable true
12571 factory MutationObserver(MutationCallback callback) => _MutationObserverFactor yProvider.createMutationObserver(callback); 12769 factory MutationObserver(MutationCallback callback) => _MutationObserverFactor yProvider.createMutationObserver(callback);
12572 12770
12573 /// @domName MutationObserver.disconnect; @docsEditable true 12771 /// @domName MutationObserver.disconnect; @docsEditable true
12574 void disconnect() native; 12772 void disconnect() native;
12575 12773
12576 /// @domName MutationObserver._observe; @docsEditable true 12774 /// @domName MutationObserver._observe; @docsEditable true
12577 void _observe(Node target, Map options) { 12775 void _observe(Node target, Map options) {
12578 var options_1 = convertDartToNative_Dictionary(options); 12776 var options_1 = convertDartToNative_Dictionary(options);
12579 __observe_1(target, options_1); 12777 __observe_1(target, options_1);
12580 return; 12778 return;
(...skipping 848 matching lines...) Expand 10 before | Expand all | Expand 10 after
13429 final String systemId; 13627 final String systemId;
13430 } 13628 }
13431 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 13629 // 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 13630 // 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. 13631 // BSD-style license that can be found in the LICENSE file.
13434 13632
13435 13633
13436 /// @domName Notification; @docsEditable true 13634 /// @domName Notification; @docsEditable true
13437 class Notification extends EventTarget native "*Notification" { 13635 class Notification extends EventTarget native "*Notification" {
13438 13636
13637 ///@docsEditable true
13439 factory Notification(String title, [Map options]) { 13638 factory Notification(String title, [Map options]) {
13440 if (!?options) { 13639 if (!?options) {
13441 return _NotificationFactoryProvider.createNotification(title); 13640 return _NotificationFactoryProvider.createNotification(title);
13442 } 13641 }
13443 return _NotificationFactoryProvider.createNotification(title, options); 13642 return _NotificationFactoryProvider.createNotification(title, options);
13444 } 13643 }
13445 13644
13446 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true 13645 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true
13447 NotificationEvents get on => 13646 NotificationEvents get on =>
13448 new NotificationEvents(this); 13647 new NotificationEvents(this);
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
13527 13726
13528 typedef void NotificationPermissionCallback(String permission); 13727 typedef void NotificationPermissionCallback(String permission);
13529 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 13728 // 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 13729 // 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. 13730 // BSD-style license that can be found in the LICENSE file.
13532 13731
13533 13732
13534 /// @domName HTMLOListElement; @docsEditable true 13733 /// @domName HTMLOListElement; @docsEditable true
13535 class OListElement extends Element implements Element native "*HTMLOListElement" { 13734 class OListElement extends Element implements Element native "*HTMLOListElement" {
13536 13735
13736 ///@docsEditable true
13537 factory OListElement() => document.$dom_createElement("ol"); 13737 factory OListElement() => document.$dom_createElement("ol");
13538 13738
13539 /// @domName HTMLOListElement.compact; @docsEditable true 13739 /// @domName HTMLOListElement.compact; @docsEditable true
13540 bool compact; 13740 bool compact;
13541 13741
13542 /// @domName HTMLOListElement.reversed; @docsEditable true 13742 /// @domName HTMLOListElement.reversed; @docsEditable true
13543 bool reversed; 13743 bool reversed;
13544 13744
13545 /// @domName HTMLOListElement.start; @docsEditable true 13745 /// @domName HTMLOListElement.start; @docsEditable true
13546 int start; 13746 int start;
13547 13747
13548 /// @domName HTMLOListElement.type; @docsEditable true 13748 /// @domName HTMLOListElement.type; @docsEditable true
13549 String type; 13749 String type;
13550 } 13750 }
13551 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 13751 // 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 13752 // 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. 13753 // BSD-style license that can be found in the LICENSE file.
13554 13754
13555 13755
13556 /// @domName HTMLObjectElement; @docsEditable true 13756 /// @domName HTMLObjectElement; @docsEditable true
13557 class ObjectElement extends Element implements Element native "*HTMLObjectElemen t" { 13757 class ObjectElement extends Element implements Element native "*HTMLObjectElemen t" {
13558 13758
13759 ///@docsEditable true
13559 factory ObjectElement() => document.$dom_createElement("object"); 13760 factory ObjectElement() => document.$dom_createElement("object");
13560 13761
13561 /// @domName HTMLObjectElement.align; @docsEditable true 13762 /// @domName HTMLObjectElement.align; @docsEditable true
13562 String align; 13763 String align;
13563 13764
13564 /// @domName HTMLObjectElement.archive; @docsEditable true 13765 /// @domName HTMLObjectElement.archive; @docsEditable true
13565 String archive; 13766 String archive;
13566 13767
13567 /// @domName HTMLObjectElement.border; @docsEditable true 13768 /// @domName HTMLObjectElement.border; @docsEditable true
13568 String border; 13769 String border;
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
13677 bool isVertexArray(WebGLVertexArrayObject arrayObject) native; 13878 bool isVertexArray(WebGLVertexArrayObject arrayObject) native;
13678 } 13879 }
13679 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 13880 // 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 13881 // 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. 13882 // BSD-style license that can be found in the LICENSE file.
13682 13883
13683 13884
13684 /// @domName HTMLOptGroupElement; @docsEditable true 13885 /// @domName HTMLOptGroupElement; @docsEditable true
13685 class OptGroupElement extends Element implements Element native "*HTMLOptGroupEl ement" { 13886 class OptGroupElement extends Element implements Element native "*HTMLOptGroupEl ement" {
13686 13887
13888 ///@docsEditable true
13687 factory OptGroupElement() => document.$dom_createElement("optgroup"); 13889 factory OptGroupElement() => document.$dom_createElement("optgroup");
13688 13890
13689 /// @domName HTMLOptGroupElement.disabled; @docsEditable true 13891 /// @domName HTMLOptGroupElement.disabled; @docsEditable true
13690 bool disabled; 13892 bool disabled;
13691 13893
13692 /// @domName HTMLOptGroupElement.label; @docsEditable true 13894 /// @domName HTMLOptGroupElement.label; @docsEditable true
13693 String label; 13895 String label;
13694 } 13896 }
13695 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 13897 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13696 // for details. All rights reserved. Use of this source code is governed by a 13898 // for details. All rights reserved. Use of this source code is governed by a
13697 // BSD-style license that can be found in the LICENSE file. 13899 // BSD-style license that can be found in the LICENSE file.
13698 13900
13699 13901
13700 /// @domName HTMLOptionElement; @docsEditable true 13902 /// @domName HTMLOptionElement; @docsEditable true
13701 class OptionElement extends Element implements Element native "*HTMLOptionElemen t" { 13903 class OptionElement extends Element implements Element native "*HTMLOptionElemen t" {
13702 13904
13905 ///@docsEditable true
13703 factory OptionElement([String data, String value, bool defaultSelected, bool s elected]) { 13906 factory OptionElement([String data, String value, bool defaultSelected, bool s elected]) {
13704 if (!?data) { 13907 if (!?data) {
13705 return _OptionElementFactoryProvider.createOptionElement(); 13908 return _OptionElementFactoryProvider.createOptionElement();
13706 } 13909 }
13707 if (!?value) { 13910 if (!?value) {
13708 return _OptionElementFactoryProvider.createOptionElement(data); 13911 return _OptionElementFactoryProvider.createOptionElement(data);
13709 } 13912 }
13710 if (!?defaultSelected) { 13913 if (!?defaultSelected) {
13711 return _OptionElementFactoryProvider.createOptionElement(data, value); 13914 return _OptionElementFactoryProvider.createOptionElement(data, value);
13712 } 13915 }
(...skipping 25 matching lines...) Expand all
13738 String value; 13941 String value;
13739 } 13942 }
13740 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 13943 // 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 13944 // 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. 13945 // BSD-style license that can be found in the LICENSE file.
13743 13946
13744 13947
13745 /// @domName HTMLOutputElement; @docsEditable true 13948 /// @domName HTMLOutputElement; @docsEditable true
13746 class OutputElement extends Element implements Element native "*HTMLOutputElemen t" { 13949 class OutputElement extends Element implements Element native "*HTMLOutputElemen t" {
13747 13950
13951 ///@docsEditable true
13748 factory OutputElement() => document.$dom_createElement("output"); 13952 factory OutputElement() => document.$dom_createElement("output");
13749 13953
13750 /// @domName HTMLOutputElement.defaultValue; @docsEditable true 13954 /// @domName HTMLOutputElement.defaultValue; @docsEditable true
13751 String defaultValue; 13955 String defaultValue;
13752 13956
13753 /// @domName HTMLOutputElement.form; @docsEditable true 13957 /// @domName HTMLOutputElement.form; @docsEditable true
13754 final FormElement form; 13958 final FormElement form;
13755 13959
13756 /// @domName HTMLOutputElement.htmlFor; @docsEditable true 13960 /// @domName HTMLOutputElement.htmlFor; @docsEditable true
13757 DomSettableTokenList htmlFor; 13961 DomSettableTokenList htmlFor;
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
13833 final bool persisted; 14037 final bool persisted;
13834 } 14038 }
13835 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 14039 // 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 14040 // 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. 14041 // BSD-style license that can be found in the LICENSE file.
13838 14042
13839 14043
13840 /// @domName HTMLParagraphElement; @docsEditable true 14044 /// @domName HTMLParagraphElement; @docsEditable true
13841 class ParagraphElement extends Element implements Element native "*HTMLParagraph Element" { 14045 class ParagraphElement extends Element implements Element native "*HTMLParagraph Element" {
13842 14046
14047 ///@docsEditable true
13843 factory ParagraphElement() => document.$dom_createElement("p"); 14048 factory ParagraphElement() => document.$dom_createElement("p");
13844 14049
13845 /// @domName HTMLParagraphElement.align; @docsEditable true 14050 /// @domName HTMLParagraphElement.align; @docsEditable true
13846 String align; 14051 String align;
13847 } 14052 }
13848 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 14053 // 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 14054 // 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. 14055 // BSD-style license that can be found in the LICENSE file.
13851 14056
13852 14057
13853 /// @domName HTMLParamElement; @docsEditable true 14058 /// @domName HTMLParamElement; @docsEditable true
13854 class ParamElement extends Element implements Element native "*HTMLParamElement" { 14059 class ParamElement extends Element implements Element native "*HTMLParamElement" {
13855 14060
14061 ///@docsEditable true
13856 factory ParamElement() => document.$dom_createElement("param"); 14062 factory ParamElement() => document.$dom_createElement("param");
13857 14063
13858 /// @domName HTMLParamElement.name; @docsEditable true 14064 /// @domName HTMLParamElement.name; @docsEditable true
13859 String name; 14065 String name;
13860 14066
13861 /// @domName HTMLParamElement.type; @docsEditable true 14067 /// @domName HTMLParamElement.type; @docsEditable true
13862 String type; 14068 String type;
13863 14069
13864 /// @domName HTMLParamElement.value; @docsEditable true 14070 /// @domName HTMLParamElement.value; @docsEditable true
13865 String value; 14071 String value;
13866 14072
13867 /// @domName HTMLParamElement.valueType; @docsEditable true 14073 /// @domName HTMLParamElement.valueType; @docsEditable true
13868 String valueType; 14074 String valueType;
13869 } 14075 }
13870 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 14076 // 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 14077 // 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. 14078 // BSD-style license that can be found in the LICENSE file.
13873 14079
13874 14080
13875 /// @domName PeerConnection00; @docsEditable true 14081 /// @domName PeerConnection00; @docsEditable true
13876 class PeerConnection00 extends EventTarget native "*PeerConnection00" { 14082 class PeerConnection00 extends EventTarget native "*PeerConnection00" {
13877 14083
14084 ///@docsEditable true
13878 factory PeerConnection00(String serverConfiguration, IceCallback iceCallback) => _PeerConnection00FactoryProvider.createPeerConnection00(serverConfiguration, iceCallback); 14085 factory PeerConnection00(String serverConfiguration, IceCallback iceCallback) => _PeerConnection00FactoryProvider.createPeerConnection00(serverConfiguration, iceCallback);
13879 14086
13880 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true 14087 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true
13881 PeerConnection00Events get on => 14088 PeerConnection00Events get on =>
13882 new PeerConnection00Events(this); 14089 new PeerConnection00Events(this);
13883 14090
13884 static const int ACTIVE = 2; 14091 static const int ACTIVE = 2;
13885 14092
13886 static const int CLOSED = 3; 14093 static const int CLOSED = 3;
13887 14094
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after
14208 14415
14209 typedef void PositionErrorCallback(PositionError error); 14416 typedef void PositionErrorCallback(PositionError error);
14210 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 14417 // 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 14418 // 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. 14419 // BSD-style license that can be found in the LICENSE file.
14213 14420
14214 14421
14215 /// @domName HTMLPreElement; @docsEditable true 14422 /// @domName HTMLPreElement; @docsEditable true
14216 class PreElement extends Element implements Element native "*HTMLPreElement" { 14423 class PreElement extends Element implements Element native "*HTMLPreElement" {
14217 14424
14425 ///@docsEditable true
14218 factory PreElement() => document.$dom_createElement("pre"); 14426 factory PreElement() => document.$dom_createElement("pre");
14219 14427
14220 /// @domName HTMLPreElement.width; @docsEditable true 14428 /// @domName HTMLPreElement.width; @docsEditable true
14221 int width; 14429 int width;
14222 14430
14223 /// @domName HTMLPreElement.wrap; @docsEditable true 14431 /// @domName HTMLPreElement.wrap; @docsEditable true
14224 bool wrap; 14432 bool wrap;
14225 } 14433 }
14226 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 14434 // 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 14435 // for details. All rights reserved. Use of this source code is governed by a
(...skipping 13 matching lines...) Expand all
14241 final String target; 14449 final String target;
14242 } 14450 }
14243 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 14451 // 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 14452 // 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. 14453 // BSD-style license that can be found in the LICENSE file.
14246 14454
14247 14455
14248 /// @domName HTMLProgressElement; @docsEditable true 14456 /// @domName HTMLProgressElement; @docsEditable true
14249 class ProgressElement extends Element implements Element native "*HTMLProgressEl ement" { 14457 class ProgressElement extends Element implements Element native "*HTMLProgressEl ement" {
14250 14458
14459 ///@docsEditable true
14251 factory ProgressElement() => document.$dom_createElement("progress"); 14460 factory ProgressElement() => document.$dom_createElement("progress");
14252 14461
14253 /// @domName HTMLProgressElement.labels; @docsEditable true 14462 /// @domName HTMLProgressElement.labels; @docsEditable true
14254 @Returns('NodeList') @Creates('NodeList') 14463 @Returns('NodeList') @Creates('NodeList')
14255 final List<Node> labels; 14464 final List<Node> labels;
14256 14465
14257 /// @domName HTMLProgressElement.max; @docsEditable true 14466 /// @domName HTMLProgressElement.max; @docsEditable true
14258 num max; 14467 num max;
14259 14468
14260 /// @domName HTMLProgressElement.position; @docsEditable true 14469 /// @domName HTMLProgressElement.position; @docsEditable true
(...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after
14582 final RtcDataChannel channel; 14791 final RtcDataChannel channel;
14583 } 14792 }
14584 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 14793 // 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 14794 // 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. 14795 // BSD-style license that can be found in the LICENSE file.
14587 14796
14588 14797
14589 /// @domName RTCIceCandidate; @docsEditable true 14798 /// @domName RTCIceCandidate; @docsEditable true
14590 class RtcIceCandidate native "*RTCIceCandidate" { 14799 class RtcIceCandidate native "*RTCIceCandidate" {
14591 14800
14801 ///@docsEditable true
14592 factory RtcIceCandidate(Map dictionary) => _RtcIceCandidateFactoryProvider.cre ateRtcIceCandidate(dictionary); 14802 factory RtcIceCandidate(Map dictionary) => _RtcIceCandidateFactoryProvider.cre ateRtcIceCandidate(dictionary);
14593 14803
14594 /// @domName RTCIceCandidate.candidate; @docsEditable true 14804 /// @domName RTCIceCandidate.candidate; @docsEditable true
14595 final String candidate; 14805 final String candidate;
14596 14806
14597 /// @domName RTCIceCandidate.sdpMLineIndex; @docsEditable true 14807 /// @domName RTCIceCandidate.sdpMLineIndex; @docsEditable true
14598 final int sdpMLineIndex; 14808 final int sdpMLineIndex;
14599 14809
14600 /// @domName RTCIceCandidate.sdpMid; @docsEditable true 14810 /// @domName RTCIceCandidate.sdpMid; @docsEditable true
14601 final String sdpMid; 14811 final String sdpMid;
(...skipping 10 matching lines...) Expand all
14612 final RtcIceCandidate candidate; 14822 final RtcIceCandidate candidate;
14613 } 14823 }
14614 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 14824 // 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 14825 // 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. 14826 // BSD-style license that can be found in the LICENSE file.
14617 14827
14618 14828
14619 /// @domName RTCPeerConnection; @docsEditable true 14829 /// @domName RTCPeerConnection; @docsEditable true
14620 class RtcPeerConnection extends EventTarget native "*RTCPeerConnection" { 14830 class RtcPeerConnection extends EventTarget native "*RTCPeerConnection" {
14621 14831
14832 ///@docsEditable true
14622 factory RtcPeerConnection(Map rtcIceServers, [Map mediaConstraints]) { 14833 factory RtcPeerConnection(Map rtcIceServers, [Map mediaConstraints]) {
14623 if (!?mediaConstraints) { 14834 if (!?mediaConstraints) {
14624 return _RtcPeerConnectionFactoryProvider.createRtcPeerConnection(rtcIceSer vers); 14835 return _RtcPeerConnectionFactoryProvider.createRtcPeerConnection(rtcIceSer vers);
14625 } 14836 }
14626 return _RtcPeerConnectionFactoryProvider.createRtcPeerConnection(rtcIceServe rs, mediaConstraints); 14837 return _RtcPeerConnectionFactoryProvider.createRtcPeerConnection(rtcIceServe rs, mediaConstraints);
14627 } 14838 }
14628 14839
14629 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true 14840 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true
14630 RtcPeerConnectionEvents get on => 14841 RtcPeerConnectionEvents get on =>
14631 new RtcPeerConnectionEvents(this); 14842 new RtcPeerConnectionEvents(this);
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
14780 EventListenerList get stateChange => this['statechange']; 14991 EventListenerList get stateChange => this['statechange'];
14781 } 14992 }
14782 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 14993 // 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 14994 // 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. 14995 // BSD-style license that can be found in the LICENSE file.
14785 14996
14786 14997
14787 /// @domName RTCSessionDescription; @docsEditable true 14998 /// @domName RTCSessionDescription; @docsEditable true
14788 class RtcSessionDescription native "*RTCSessionDescription" { 14999 class RtcSessionDescription native "*RTCSessionDescription" {
14789 15000
15001 ///@docsEditable true
14790 factory RtcSessionDescription(Map dictionary) => _RtcSessionDescriptionFactory Provider.createRtcSessionDescription(dictionary); 15002 factory RtcSessionDescription(Map dictionary) => _RtcSessionDescriptionFactory Provider.createRtcSessionDescription(dictionary);
14791 15003
14792 /// @domName RTCSessionDescription.sdp; @docsEditable true 15004 /// @domName RTCSessionDescription.sdp; @docsEditable true
14793 String sdp; 15005 String sdp;
14794 15006
14795 /// @domName RTCSessionDescription.type; @docsEditable true 15007 /// @domName RTCSessionDescription.type; @docsEditable true
14796 String type; 15008 String type;
14797 } 15009 }
14798 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 15010 // 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 15011 // 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; 15119 final int width;
14908 } 15120 }
14909 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 15121 // 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 15122 // 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. 15123 // BSD-style license that can be found in the LICENSE file.
14912 15124
14913 15125
14914 /// @domName HTMLScriptElement; @docsEditable true 15126 /// @domName HTMLScriptElement; @docsEditable true
14915 class ScriptElement extends Element implements Element native "*HTMLScriptElemen t" { 15127 class ScriptElement extends Element implements Element native "*HTMLScriptElemen t" {
14916 15128
15129 ///@docsEditable true
14917 factory ScriptElement() => document.$dom_createElement("script"); 15130 factory ScriptElement() => document.$dom_createElement("script");
14918 15131
14919 /// @domName HTMLScriptElement.async; @docsEditable true 15132 /// @domName HTMLScriptElement.async; @docsEditable true
14920 bool async; 15133 bool async;
14921 15134
14922 /// @domName HTMLScriptElement.charset; @docsEditable true 15135 /// @domName HTMLScriptElement.charset; @docsEditable true
14923 String charset; 15136 String charset;
14924 15137
14925 /// @domName HTMLScriptElement.crossOrigin; @docsEditable true 15138 /// @domName HTMLScriptElement.crossOrigin; @docsEditable true
14926 String crossOrigin; 15139 String crossOrigin;
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
14994 List<ScriptProfileNode> children() native; 15207 List<ScriptProfileNode> children() native;
14995 } 15208 }
14996 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 15209 // 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 15210 // 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. 15211 // BSD-style license that can be found in the LICENSE file.
14999 15212
15000 15213
15001 /// @domName HTMLSelectElement 15214 /// @domName HTMLSelectElement
15002 class SelectElement extends Element implements Element native "*HTMLSelectElemen t" { 15215 class SelectElement extends Element implements Element native "*HTMLSelectElemen t" {
15003 15216
15217 ///@docsEditable true
15004 factory SelectElement() => document.$dom_createElement("select"); 15218 factory SelectElement() => document.$dom_createElement("select");
15005 15219
15006 /// @domName HTMLSelectElement.autofocus; @docsEditable true 15220 /// @domName HTMLSelectElement.autofocus; @docsEditable true
15007 bool autofocus; 15221 bool autofocus;
15008 15222
15009 /// @domName HTMLSelectElement.disabled; @docsEditable true 15223 /// @domName HTMLSelectElement.disabled; @docsEditable true
15010 bool disabled; 15224 bool disabled;
15011 15225
15012 /// @domName HTMLSelectElement.form; @docsEditable true 15226 /// @domName HTMLSelectElement.form; @docsEditable true
15013 final FormElement form; 15227 final FormElement form;
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
15078 } 15292 }
15079 } 15293 }
15080 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 15294 // 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 15295 // 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. 15296 // BSD-style license that can be found in the LICENSE file.
15083 15297
15084 15298
15085 /// @domName SessionDescription; @docsEditable true 15299 /// @domName SessionDescription; @docsEditable true
15086 class SessionDescription native "*SessionDescription" { 15300 class SessionDescription native "*SessionDescription" {
15087 15301
15302 ///@docsEditable true
15088 factory SessionDescription(String sdp) => _SessionDescriptionFactoryProvider.c reateSessionDescription(sdp); 15303 factory SessionDescription(String sdp) => _SessionDescriptionFactoryProvider.c reateSessionDescription(sdp);
15089 15304
15090 /// @domName SessionDescription.addCandidate; @docsEditable true 15305 /// @domName SessionDescription.addCandidate; @docsEditable true
15091 void addCandidate(IceCandidate candidate) native; 15306 void addCandidate(IceCandidate candidate) native;
15092 15307
15093 /// @domName SessionDescription.toSdp; @docsEditable true 15308 /// @domName SessionDescription.toSdp; @docsEditable true
15094 String toSdp() native; 15309 String toSdp() native;
15095 } 15310 }
15096 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 15311 // 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 15312 // 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. 15313 // BSD-style license that can be found in the LICENSE file.
15099 15314
15100 15315
15101 /// @domName HTMLShadowElement; @docsEditable true 15316 /// @domName HTMLShadowElement; @docsEditable true
15102 class ShadowElement extends Element implements Element native "*HTMLShadowElemen t" { 15317 class ShadowElement extends Element implements Element native "*HTMLShadowElemen t" {
15103 15318
15104 /// @domName HTMLShadowElement.resetStyleInheritance; @docsEditable true 15319 /// @domName HTMLShadowElement.resetStyleInheritance; @docsEditable true
15105 bool resetStyleInheritance; 15320 bool resetStyleInheritance;
15106 } 15321 }
15107 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 15322 // 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 15323 // 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. 15324 // BSD-style license that can be found in the LICENSE file.
15110 15325
15111 // WARNING: Do not edit - generated code. 15326 // WARNING: Do not edit - generated code.
15112 15327
15113 15328
15114 /// @domName ShadowRoot 15329 /// @domName ShadowRoot
15115 class ShadowRoot extends DocumentFragment native "*ShadowRoot" { 15330 class ShadowRoot extends DocumentFragment native "*ShadowRoot" {
15116 15331
15332 ///@docsEditable true
15117 factory ShadowRoot(Element host) => _ShadowRootFactoryProvider.createShadowRoo t(host); 15333 factory ShadowRoot(Element host) => _ShadowRootFactoryProvider.createShadowRoo t(host);
15118 15334
15119 /// @domName ShadowRoot.activeElement; @docsEditable true 15335 /// @domName ShadowRoot.activeElement; @docsEditable true
15120 final Element activeElement; 15336 final Element activeElement;
15121 15337
15122 /// @domName ShadowRoot.applyAuthorStyles; @docsEditable true 15338 /// @domName ShadowRoot.applyAuthorStyles; @docsEditable true
15123 bool applyAuthorStyles; 15339 bool applyAuthorStyles;
15124 15340
15125 /// @domName ShadowRoot.innerHTML; @docsEditable true 15341 /// @domName ShadowRoot.innerHTML; @docsEditable true
15126 @JSName('innerHTML') 15342 @JSName('innerHTML')
(...skipping 27 matching lines...) Expand all
15154 JS('bool', '!!(window.ShadowRoot || window.WebKitShadowRoot)'); 15370 JS('bool', '!!(window.ShadowRoot || window.WebKitShadowRoot)');
15155 } 15371 }
15156 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 15372 // 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 15373 // 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. 15374 // BSD-style license that can be found in the LICENSE file.
15159 15375
15160 15376
15161 /// @domName SharedWorker; @docsEditable true 15377 /// @domName SharedWorker; @docsEditable true
15162 class SharedWorker extends AbstractWorker native "*SharedWorker" { 15378 class SharedWorker extends AbstractWorker native "*SharedWorker" {
15163 15379
15380 ///@docsEditable true
15164 factory SharedWorker(String scriptURL, [String name]) { 15381 factory SharedWorker(String scriptURL, [String name]) {
15165 if (!?name) { 15382 if (!?name) {
15166 return _SharedWorkerFactoryProvider.createSharedWorker(scriptURL); 15383 return _SharedWorkerFactoryProvider.createSharedWorker(scriptURL);
15167 } 15384 }
15168 return _SharedWorkerFactoryProvider.createSharedWorker(scriptURL, name); 15385 return _SharedWorkerFactoryProvider.createSharedWorker(scriptURL, name);
15169 } 15386 }
15170 15387
15171 /// @domName SharedWorker.port; @docsEditable true 15388 /// @domName SharedWorker.port; @docsEditable true
15172 final MessagePort port; 15389 final MessagePort port;
15173 } 15390 }
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
15339 void $dom_removeEventListener(String type, EventListener listener, [bool useCa pture]) native; 15556 void $dom_removeEventListener(String type, EventListener listener, [bool useCa pture]) native;
15340 } 15557 }
15341 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 15558 // 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 15559 // 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. 15560 // BSD-style license that can be found in the LICENSE file.
15344 15561
15345 15562
15346 /// @domName HTMLSourceElement; @docsEditable true 15563 /// @domName HTMLSourceElement; @docsEditable true
15347 class SourceElement extends Element implements Element native "*HTMLSourceElemen t" { 15564 class SourceElement extends Element implements Element native "*HTMLSourceElemen t" {
15348 15565
15566 ///@docsEditable true
15349 factory SourceElement() => document.$dom_createElement("source"); 15567 factory SourceElement() => document.$dom_createElement("source");
15350 15568
15351 /// @domName HTMLSourceElement.media; @docsEditable true 15569 /// @domName HTMLSourceElement.media; @docsEditable true
15352 String media; 15570 String media;
15353 15571
15354 /// @domName HTMLSourceElement.src; @docsEditable true 15572 /// @domName HTMLSourceElement.src; @docsEditable true
15355 String src; 15573 String src;
15356 15574
15357 /// @domName HTMLSourceElement.type; @docsEditable true 15575 /// @domName HTMLSourceElement.type; @docsEditable true
15358 String type; 15576 String type;
15359 } 15577 }
15360 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 15578 // 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 15579 // 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. 15580 // BSD-style license that can be found in the LICENSE file.
15363 15581
15364 15582
15365 /// @domName HTMLSpanElement; @docsEditable true 15583 /// @domName HTMLSpanElement; @docsEditable true
15366 class SpanElement extends Element implements Element native "*HTMLSpanElement" { 15584 class SpanElement extends Element implements Element native "*HTMLSpanElement" {
15367 15585
15586 ///@docsEditable true
15368 factory SpanElement() => document.$dom_createElement("span"); 15587 factory SpanElement() => document.$dom_createElement("span");
15369 } 15588 }
15370 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 15589 // 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 15590 // 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. 15591 // BSD-style license that can be found in the LICENSE file.
15373 15592
15374 15593
15375 /// @domName SpeechGrammar; @docsEditable true 15594 /// @domName SpeechGrammar; @docsEditable true
15376 class SpeechGrammar native "*SpeechGrammar" { 15595 class SpeechGrammar native "*SpeechGrammar" {
15377 15596
15597 ///@docsEditable true
15378 factory SpeechGrammar() => _SpeechGrammarFactoryProvider.createSpeechGrammar() ; 15598 factory SpeechGrammar() => _SpeechGrammarFactoryProvider.createSpeechGrammar() ;
15379 15599
15380 /// @domName SpeechGrammar.src; @docsEditable true 15600 /// @domName SpeechGrammar.src; @docsEditable true
15381 String src; 15601 String src;
15382 15602
15383 /// @domName SpeechGrammar.weight; @docsEditable true 15603 /// @domName SpeechGrammar.weight; @docsEditable true
15384 num weight; 15604 num weight;
15385 } 15605 }
15386 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 15606 // 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 15607 // 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. 15608 // BSD-style license that can be found in the LICENSE file.
15389 15609
15390 15610
15391 /// @domName SpeechGrammarList; @docsEditable true 15611 /// @domName SpeechGrammarList; @docsEditable true
15392 class SpeechGrammarList implements JavaScriptIndexingBehavior, List<SpeechGramma r> native "*SpeechGrammarList" { 15612 class SpeechGrammarList implements JavaScriptIndexingBehavior, List<SpeechGramma r> native "*SpeechGrammarList" {
15393 15613
15614 ///@docsEditable true
15394 factory SpeechGrammarList() => _SpeechGrammarListFactoryProvider.createSpeechG rammarList(); 15615 factory SpeechGrammarList() => _SpeechGrammarListFactoryProvider.createSpeechG rammarList();
15395 15616
15396 /// @domName SpeechGrammarList.length; @docsEditable true 15617 /// @domName SpeechGrammarList.length; @docsEditable true
15397 int get length => JS("int", "#.length", this); 15618 int get length => JS("int", "#.length", this);
15398 15619
15399 SpeechGrammar operator[](int index) => JS("SpeechGrammar", "#[#]", this, index ); 15620 SpeechGrammar operator[](int index) => JS("SpeechGrammar", "#[#]", this, index );
15400 15621
15401 void operator[]=(int index, SpeechGrammar value) { 15622 void operator[]=(int index, SpeechGrammar value) {
15402 throw new UnsupportedError("Cannot assign element of immutable List."); 15623 throw new UnsupportedError("Cannot assign element of immutable List.");
15403 } 15624 }
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
15532 final String utterance; 15753 final String utterance;
15533 } 15754 }
15534 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 15755 // 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 15756 // 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. 15757 // BSD-style license that can be found in the LICENSE file.
15537 15758
15538 15759
15539 /// @domName SpeechRecognition; @docsEditable true 15760 /// @domName SpeechRecognition; @docsEditable true
15540 class SpeechRecognition extends EventTarget native "*SpeechRecognition" { 15761 class SpeechRecognition extends EventTarget native "*SpeechRecognition" {
15541 15762
15763 ///@docsEditable true
15542 factory SpeechRecognition() => _SpeechRecognitionFactoryProvider.createSpeechR ecognition(); 15764 factory SpeechRecognition() => _SpeechRecognitionFactoryProvider.createSpeechR ecognition();
15543 15765
15544 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true 15766 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true
15545 SpeechRecognitionEvents get on => 15767 SpeechRecognitionEvents get on =>
15546 new SpeechRecognitionEvents(this); 15768 new SpeechRecognitionEvents(this);
15547 15769
15548 /// @domName SpeechRecognition.continuous; @docsEditable true 15770 /// @domName SpeechRecognition.continuous; @docsEditable true
15549 bool continuous; 15771 bool continuous;
15550 15772
15551 /// @domName SpeechRecognition.grammars; @docsEditable true 15773 /// @domName SpeechRecognition.grammars; @docsEditable true
(...skipping 515 matching lines...) Expand 10 before | Expand all | Expand 10 after
16067 16289
16068 typedef void StringCallback(String data); 16290 typedef void StringCallback(String data);
16069 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 16291 // 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 16292 // 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. 16293 // BSD-style license that can be found in the LICENSE file.
16072 16294
16073 16295
16074 /// @domName HTMLStyleElement; @docsEditable true 16296 /// @domName HTMLStyleElement; @docsEditable true
16075 class StyleElement extends Element implements Element native "*HTMLStyleElement" { 16297 class StyleElement extends Element implements Element native "*HTMLStyleElement" {
16076 16298
16299 ///@docsEditable true
16077 factory StyleElement() => document.$dom_createElement("style"); 16300 factory StyleElement() => document.$dom_createElement("style");
16078 16301
16079 /// @domName HTMLStyleElement.disabled; @docsEditable true 16302 /// @domName HTMLStyleElement.disabled; @docsEditable true
16080 bool disabled; 16303 bool disabled;
16081 16304
16082 /// @domName HTMLStyleElement.media; @docsEditable true 16305 /// @domName HTMLStyleElement.media; @docsEditable true
16083 String media; 16306 String media;
16084 16307
16085 /// @domName HTMLStyleElement.scoped; @docsEditable true 16308 /// @domName HTMLStyleElement.scoped; @docsEditable true
16086 bool scoped; 16309 bool scoped;
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
16135 final String type; 16358 final String type;
16136 } 16359 }
16137 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 16360 // 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 16361 // 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. 16362 // BSD-style license that can be found in the LICENSE file.
16140 16363
16141 16364
16142 /// @domName HTMLTableCaptionElement; @docsEditable true 16365 /// @domName HTMLTableCaptionElement; @docsEditable true
16143 class TableCaptionElement extends Element implements Element native "*HTMLTableC aptionElement" { 16366 class TableCaptionElement extends Element implements Element native "*HTMLTableC aptionElement" {
16144 16367
16368 ///@docsEditable true
16145 factory TableCaptionElement() => document.$dom_createElement("caption"); 16369 factory TableCaptionElement() => document.$dom_createElement("caption");
16146 16370
16147 /// @domName HTMLTableCaptionElement.align; @docsEditable true 16371 /// @domName HTMLTableCaptionElement.align; @docsEditable true
16148 String align; 16372 String align;
16149 } 16373 }
16150 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 16374 // 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 16375 // 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. 16376 // BSD-style license that can be found in the LICENSE file.
16153 16377
16154 16378
16155 /// @domName HTMLTableCellElement; @docsEditable true 16379 /// @domName HTMLTableCellElement; @docsEditable true
16156 class TableCellElement extends Element implements Element native "*HTMLTableCell Element" { 16380 class TableCellElement extends Element implements Element native "*HTMLTableCell Element" {
16157 16381
16382 ///@docsEditable true
16158 factory TableCellElement() => document.$dom_createElement("td"); 16383 factory TableCellElement() => document.$dom_createElement("td");
16159 16384
16160 /// @domName HTMLTableCellElement.abbr; @docsEditable true 16385 /// @domName HTMLTableCellElement.abbr; @docsEditable true
16161 String abbr; 16386 String abbr;
16162 16387
16163 /// @domName HTMLTableCellElement.align; @docsEditable true 16388 /// @domName HTMLTableCellElement.align; @docsEditable true
16164 String align; 16389 String align;
16165 16390
16166 /// @domName HTMLTableCellElement.axis; @docsEditable true 16391 /// @domName HTMLTableCellElement.axis; @docsEditable true
16167 String axis; 16392 String axis;
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
16203 String width; 16428 String width;
16204 } 16429 }
16205 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 16430 // 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 16431 // 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. 16432 // BSD-style license that can be found in the LICENSE file.
16208 16433
16209 16434
16210 /// @domName HTMLTableColElement; @docsEditable true 16435 /// @domName HTMLTableColElement; @docsEditable true
16211 class TableColElement extends Element implements Element native "*HTMLTableColEl ement" { 16436 class TableColElement extends Element implements Element native "*HTMLTableColEl ement" {
16212 16437
16438 ///@docsEditable true
16213 factory TableColElement() => document.$dom_createElement("col"); 16439 factory TableColElement() => document.$dom_createElement("col");
16214 16440
16215 /// @domName HTMLTableColElement.align; @docsEditable true 16441 /// @domName HTMLTableColElement.align; @docsEditable true
16216 String align; 16442 String align;
16217 16443
16218 /// @domName HTMLTableColElement.ch; @docsEditable true 16444 /// @domName HTMLTableColElement.ch; @docsEditable true
16219 String ch; 16445 String ch;
16220 16446
16221 /// @domName HTMLTableColElement.chOff; @docsEditable true 16447 /// @domName HTMLTableColElement.chOff; @docsEditable true
16222 String chOff; 16448 String chOff;
16223 16449
16224 /// @domName HTMLTableColElement.span; @docsEditable true 16450 /// @domName HTMLTableColElement.span; @docsEditable true
16225 int span; 16451 int span;
16226 16452
16227 /// @domName HTMLTableColElement.vAlign; @docsEditable true 16453 /// @domName HTMLTableColElement.vAlign; @docsEditable true
16228 String vAlign; 16454 String vAlign;
16229 16455
16230 /// @domName HTMLTableColElement.width; @docsEditable true 16456 /// @domName HTMLTableColElement.width; @docsEditable true
16231 String width; 16457 String width;
16232 } 16458 }
16233 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 16459 // 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 16460 // 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. 16461 // BSD-style license that can be found in the LICENSE file.
16236 16462
16237 16463
16238 /// @domName HTMLTableElement 16464 /// @domName HTMLTableElement
16239 class TableElement extends Element implements Element native "*HTMLTableElement" { 16465 class TableElement extends Element implements Element native "*HTMLTableElement" {
16240 16466
16467 ///@docsEditable true
16241 factory TableElement() => document.$dom_createElement("table"); 16468 factory TableElement() => document.$dom_createElement("table");
16242 16469
16243 /// @domName HTMLTableElement.align; @docsEditable true 16470 /// @domName HTMLTableElement.align; @docsEditable true
16244 String align; 16471 String align;
16245 16472
16246 /// @domName HTMLTableElement.bgColor; @docsEditable true 16473 /// @domName HTMLTableElement.bgColor; @docsEditable true
16247 String bgColor; 16474 String bgColor;
16248 16475
16249 /// @domName HTMLTableElement.border; @docsEditable true 16476 /// @domName HTMLTableElement.border; @docsEditable true
16250 String border; 16477 String border;
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
16320 Element _createTBody() native; 16547 Element _createTBody() native;
16321 } 16548 }
16322 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 16549 // 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 16550 // 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. 16551 // BSD-style license that can be found in the LICENSE file.
16325 16552
16326 16553
16327 /// @domName HTMLTableRowElement; @docsEditable true 16554 /// @domName HTMLTableRowElement; @docsEditable true
16328 class TableRowElement extends Element implements Element native "*HTMLTableRowEl ement" { 16555 class TableRowElement extends Element implements Element native "*HTMLTableRowEl ement" {
16329 16556
16557 ///@docsEditable true
16330 factory TableRowElement() => document.$dom_createElement("tr"); 16558 factory TableRowElement() => document.$dom_createElement("tr");
16331 16559
16332 /// @domName HTMLTableRowElement.align; @docsEditable true 16560 /// @domName HTMLTableRowElement.align; @docsEditable true
16333 String align; 16561 String align;
16334 16562
16335 /// @domName HTMLTableRowElement.bgColor; @docsEditable true 16563 /// @domName HTMLTableRowElement.bgColor; @docsEditable true
16336 String bgColor; 16564 String bgColor;
16337 16565
16338 /// @domName HTMLTableRowElement.cells; @docsEditable true 16566 /// @domName HTMLTableRowElement.cells; @docsEditable true
16339 final HtmlCollection cells; 16567 final HtmlCollection cells;
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
16410 16638
16411 } 16639 }
16412 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 16640 // 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 16641 // 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. 16642 // BSD-style license that can be found in the LICENSE file.
16415 16643
16416 16644
16417 /// @domName HTMLTextAreaElement; @docsEditable true 16645 /// @domName HTMLTextAreaElement; @docsEditable true
16418 class TextAreaElement extends Element implements Element native "*HTMLTextAreaEl ement" { 16646 class TextAreaElement extends Element implements Element native "*HTMLTextAreaEl ement" {
16419 16647
16648 ///@docsEditable true
16420 factory TextAreaElement() => document.$dom_createElement("textarea"); 16649 factory TextAreaElement() => document.$dom_createElement("textarea");
16421 16650
16422 /// @domName HTMLTextAreaElement.autofocus; @docsEditable true 16651 /// @domName HTMLTextAreaElement.autofocus; @docsEditable true
16423 bool autofocus; 16652 bool autofocus;
16424 16653
16425 /// @domName HTMLTextAreaElement.cols; @docsEditable true 16654 /// @domName HTMLTextAreaElement.cols; @docsEditable true
16426 int cols; 16655 int cols;
16427 16656
16428 /// @domName HTMLTextAreaElement.defaultValue; @docsEditable true 16657 /// @domName HTMLTextAreaElement.defaultValue; @docsEditable true
16429 String defaultValue; 16658 String defaultValue;
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
16584 EventListenerList get cueChange => this['cuechange']; 16813 EventListenerList get cueChange => this['cuechange'];
16585 } 16814 }
16586 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 16815 // 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 16816 // 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. 16817 // BSD-style license that can be found in the LICENSE file.
16589 16818
16590 16819
16591 /// @domName TextTrackCue; @docsEditable true 16820 /// @domName TextTrackCue; @docsEditable true
16592 class TextTrackCue extends EventTarget native "*TextTrackCue" { 16821 class TextTrackCue extends EventTarget native "*TextTrackCue" {
16593 16822
16823 ///@docsEditable true
16594 factory TextTrackCue(num startTime, num endTime, String text) => _TextTrackCue FactoryProvider.createTextTrackCue(startTime, endTime, text); 16824 factory TextTrackCue(num startTime, num endTime, String text) => _TextTrackCue FactoryProvider.createTextTrackCue(startTime, endTime, text);
16595 16825
16596 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true 16826 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true
16597 TextTrackCueEvents get on => 16827 TextTrackCueEvents get on =>
16598 new TextTrackCueEvents(this); 16828 new TextTrackCueEvents(this);
16599 16829
16600 /// @domName TextTrackCue.align; @docsEditable true 16830 /// @domName TextTrackCue.align; @docsEditable true
16601 String align; 16831 String align;
16602 16832
16603 /// @domName TextTrackCue.endTime; @docsEditable true 16833 /// @domName TextTrackCue.endTime; @docsEditable true
(...skipping 332 matching lines...) Expand 10 before | Expand all | Expand 10 after
16936 17166
16937 typedef void TimeoutHandler(); 17167 typedef void TimeoutHandler();
16938 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 17168 // 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 17169 // 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. 17170 // BSD-style license that can be found in the LICENSE file.
16941 17171
16942 17172
16943 /// @domName HTMLTitleElement; @docsEditable true 17173 /// @domName HTMLTitleElement; @docsEditable true
16944 class TitleElement extends Element implements Element native "*HTMLTitleElement" { 17174 class TitleElement extends Element implements Element native "*HTMLTitleElement" {
16945 17175
17176 ///@docsEditable true
16946 factory TitleElement() => document.$dom_createElement("title"); 17177 factory TitleElement() => document.$dom_createElement("title");
16947 } 17178 }
16948 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 17179 // 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 17180 // 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. 17181 // BSD-style license that can be found in the LICENSE file.
16951 17182
16952 17183
16953 /// @domName Touch; @docsEditable true 17184 /// @domName Touch; @docsEditable true
16954 class Touch native "*Touch" { 17185 class Touch native "*Touch" {
16955 17186
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
17139 Touch item(int index) native; 17370 Touch item(int index) native;
17140 } 17371 }
17141 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 17372 // 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 17373 // 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. 17374 // BSD-style license that can be found in the LICENSE file.
17144 17375
17145 17376
17146 /// @domName HTMLTrackElement; @docsEditable true 17377 /// @domName HTMLTrackElement; @docsEditable true
17147 class TrackElement extends Element implements Element native "*HTMLTrackElement" { 17378 class TrackElement extends Element implements Element native "*HTMLTrackElement" {
17148 17379
17380 ///@docsEditable true
17149 factory TrackElement() => document.$dom_createElement("track"); 17381 factory TrackElement() => document.$dom_createElement("track");
17150 17382
17151 static const int ERROR = 3; 17383 static const int ERROR = 3;
17152 17384
17153 static const int LOADED = 2; 17385 static const int LOADED = 2;
17154 17386
17155 static const int LOADING = 1; 17387 static const int LOADING = 1;
17156 17388
17157 static const int NONE = 0; 17389 static const int NONE = 0;
17158 17390
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
17307 17539
17308 } 17540 }
17309 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 17541 // 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 17542 // 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. 17543 // BSD-style license that can be found in the LICENSE file.
17312 17544
17313 17545
17314 /// @domName HTMLUListElement; @docsEditable true 17546 /// @domName HTMLUListElement; @docsEditable true
17315 class UListElement extends Element implements Element native "*HTMLUListElement" { 17547 class UListElement extends Element implements Element native "*HTMLUListElement" {
17316 17548
17549 ///@docsEditable true
17317 factory UListElement() => document.$dom_createElement("ul"); 17550 factory UListElement() => document.$dom_createElement("ul");
17318 17551
17319 /// @domName HTMLUListElement.compact; @docsEditable true 17552 /// @domName HTMLUListElement.compact; @docsEditable true
17320 bool compact; 17553 bool compact;
17321 17554
17322 /// @domName HTMLUListElement.type; @docsEditable true 17555 /// @domName HTMLUListElement.type; @docsEditable true
17323 String type; 17556 String type;
17324 } 17557 }
17325 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 17558 // 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 17559 // 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; 18022 final bool valueMissing;
17790 } 18023 }
17791 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 18024 // 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 18025 // 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. 18026 // BSD-style license that can be found in the LICENSE file.
17794 18027
17795 18028
17796 /// @domName HTMLVideoElement; @docsEditable true 18029 /// @domName HTMLVideoElement; @docsEditable true
17797 class VideoElement extends MediaElement native "*HTMLVideoElement" { 18030 class VideoElement extends MediaElement native "*HTMLVideoElement" {
17798 18031
18032 ///@docsEditable true
17799 factory VideoElement() => document.$dom_createElement("video"); 18033 factory VideoElement() => document.$dom_createElement("video");
17800 18034
17801 /// @domName HTMLVideoElement.height; @docsEditable true 18035 /// @domName HTMLVideoElement.height; @docsEditable true
17802 int height; 18036 int height;
17803 18037
17804 /// @domName HTMLVideoElement.poster; @docsEditable true 18038 /// @domName HTMLVideoElement.poster; @docsEditable true
17805 String poster; 18039 String poster;
17806 18040
17807 /// @domName HTMLVideoElement.videoHeight; @docsEditable true 18041 /// @domName HTMLVideoElement.videoHeight; @docsEditable true
17808 final int videoHeight; 18042 final int videoHeight;
(...skipping 1576 matching lines...) Expand 10 before | Expand all | Expand 10 after
19385 19619
19386 } 19620 }
19387 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 19621 // 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 19622 // 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. 19623 // BSD-style license that can be found in the LICENSE file.
19390 19624
19391 19625
19392 /// @domName Worker; @docsEditable true 19626 /// @domName Worker; @docsEditable true
19393 class Worker extends AbstractWorker native "*Worker" { 19627 class Worker extends AbstractWorker native "*Worker" {
19394 19628
19629 ///@docsEditable true
19395 factory Worker(String scriptUrl) => _WorkerFactoryProvider.createWorker(script Url); 19630 factory Worker(String scriptUrl) => _WorkerFactoryProvider.createWorker(script Url);
19396 19631
19397 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true 19632 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true
19398 WorkerEvents get on => 19633 WorkerEvents get on =>
19399 new WorkerEvents(this); 19634 new WorkerEvents(this);
19400 19635
19401 /// @domName Worker.postMessage; @docsEditable true 19636 /// @domName Worker.postMessage; @docsEditable true
19402 void postMessage(/*SerializedScriptValue*/ message, [List messagePorts]) { 19637 void postMessage(/*SerializedScriptValue*/ message, [List messagePorts]) {
19403 if (?messagePorts) { 19638 if (?messagePorts) {
19404 var message_1 = convertDartToNative_SerializedScriptValue(message); 19639 var message_1 = convertDartToNative_SerializedScriptValue(message);
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
19572 final String userAgent; 19807 final String userAgent;
19573 } 19808 }
19574 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 19809 // 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 19810 // 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. 19811 // BSD-style license that can be found in the LICENSE file.
19577 19812
19578 19813
19579 /// @domName XPathEvaluator; @docsEditable true 19814 /// @domName XPathEvaluator; @docsEditable true
19580 class XPathEvaluator native "*XPathEvaluator" { 19815 class XPathEvaluator native "*XPathEvaluator" {
19581 19816
19817 ///@docsEditable true
19582 factory XPathEvaluator() => _XPathEvaluatorFactoryProvider.createXPathEvaluato r(); 19818 factory XPathEvaluator() => _XPathEvaluatorFactoryProvider.createXPathEvaluato r();
19583 19819
19584 /// @domName XPathEvaluator.createExpression; @docsEditable true 19820 /// @domName XPathEvaluator.createExpression; @docsEditable true
19585 XPathExpression createExpression(String expression, XPathNSResolver resolver) native; 19821 XPathExpression createExpression(String expression, XPathNSResolver resolver) native;
19586 19822
19587 /// @domName XPathEvaluator.createNSResolver; @docsEditable true 19823 /// @domName XPathEvaluator.createNSResolver; @docsEditable true
19588 XPathNSResolver createNSResolver(Node nodeResolver) native; 19824 XPathNSResolver createNSResolver(Node nodeResolver) native;
19589 19825
19590 /// @domName XPathEvaluator.evaluate; @docsEditable true 19826 /// @domName XPathEvaluator.evaluate; @docsEditable true
19591 XPathResult evaluate(String expression, Node contextNode, XPathNSResolver reso lver, int type, XPathResult inResult) native; 19827 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; 19929 Node snapshotItem(int index) native;
19694 } 19930 }
19695 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 19931 // 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 19932 // 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. 19933 // BSD-style license that can be found in the LICENSE file.
19698 19934
19699 19935
19700 /// @domName XMLSerializer; @docsEditable true 19936 /// @domName XMLSerializer; @docsEditable true
19701 class XmlSerializer native "*XMLSerializer" { 19937 class XmlSerializer native "*XMLSerializer" {
19702 19938
19939 ///@docsEditable true
19703 factory XmlSerializer() => _XmlSerializerFactoryProvider.createXmlSerializer() ; 19940 factory XmlSerializer() => _XmlSerializerFactoryProvider.createXmlSerializer() ;
19704 19941
19705 /// @domName XMLSerializer.serializeToString; @docsEditable true 19942 /// @domName XMLSerializer.serializeToString; @docsEditable true
19706 String serializeToString(Node node) native; 19943 String serializeToString(Node node) native;
19707 } 19944 }
19708 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 19945 // 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 19946 // 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. 19947 // BSD-style license that can be found in the LICENSE file.
19711 19948
19712 19949
19713 /// @domName XSLTProcessor; @docsEditable true 19950 /// @domName XSLTProcessor; @docsEditable true
19714 class XsltProcessor native "*XSLTProcessor" { 19951 class XsltProcessor native "*XSLTProcessor" {
19715 19952
19953 ///@docsEditable true
19716 factory XsltProcessor() => _XsltProcessorFactoryProvider.createXsltProcessor() ; 19954 factory XsltProcessor() => _XsltProcessorFactoryProvider.createXsltProcessor() ;
19717 19955
19718 /// @domName XSLTProcessor.clearParameters; @docsEditable true 19956 /// @domName XSLTProcessor.clearParameters; @docsEditable true
19719 void clearParameters() native; 19957 void clearParameters() native;
19720 19958
19721 /// @domName XSLTProcessor.getParameter; @docsEditable true 19959 /// @domName XSLTProcessor.getParameter; @docsEditable true
19722 String getParameter(String namespaceURI, String localName) native; 19960 String getParameter(String namespaceURI, String localName) native;
19723 19961
19724 /// @domName XSLTProcessor.importStylesheet; @docsEditable true 19962 /// @domName XSLTProcessor.importStylesheet; @docsEditable true
19725 void importStylesheet(Node stylesheet) native; 19963 void importStylesheet(Node stylesheet) native;
(...skipping 4708 matching lines...) Expand 10 before | Expand all | Expand 10 after
24434 T next() { 24672 T next() {
24435 if (!hasNext) { 24673 if (!hasNext) {
24436 throw new StateError("No more elements"); 24674 throw new StateError("No more elements");
24437 } 24675 }
24438 return _array[_pos++]; 24676 return _array[_pos++];
24439 } 24677 }
24440 24678
24441 final List<T> _array; 24679 final List<T> _array;
24442 int _pos; 24680 int _pos;
24443 } 24681 }
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