| OLD | NEW |
| 1 /// The Dart HTML library. | 1 /// The Dart HTML library. |
| 2 library dart.dom.html; | 2 library dart.dom.html; |
| 3 | 3 |
| 4 import 'dart:async'; | 4 import 'dart:async'; |
| 5 import 'dart:collection'; | 5 import 'dart:collection'; |
| 6 import 'dart:_collection-dev' hide Symbol; | 6 import 'dart:_collection-dev' hide Symbol; |
| 7 import 'dart:html_common'; | 7 import 'dart:html_common'; |
| 8 import 'dart:indexed_db'; | 8 import 'dart:indexed_db'; |
| 9 import 'dart:isolate'; | 9 import 'dart:isolate'; |
| 10 import 'dart:json' as json; | 10 import 'dart:json' as json; |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 Future<SendPort> spawnDomFunction(Function f) => | 68 Future<SendPort> spawnDomFunction(Function f) => |
| 69 new Future.value(IsolateNatives.spawnDomFunction(f)); | 69 new Future.value(IsolateNatives.spawnDomFunction(f)); |
| 70 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 70 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 71 // for details. All rights reserved. Use of this source code is governed by a | 71 // for details. All rights reserved. Use of this source code is governed by a |
| 72 // BSD-style license that can be found in the LICENSE file. | 72 // BSD-style license that can be found in the LICENSE file. |
| 73 | 73 |
| 74 | 74 |
| 75 @DocsEditable | 75 @DocsEditable |
| 76 @DomName('AbstractWorker') | 76 @DomName('AbstractWorker') |
| 77 class AbstractWorker extends EventTarget native "AbstractWorker" { | 77 class AbstractWorker extends EventTarget native "AbstractWorker" { |
| 78 // To suppress missing implicit constructor warnings. |
| 79 factory AbstractWorker._() { throw new UnsupportedError("Not supported"); } |
| 78 | 80 |
| 79 @DomName('AbstractWorker.errorEvent') | 81 @DomName('AbstractWorker.errorEvent') |
| 80 @DocsEditable | 82 @DocsEditable |
| 81 static const EventStreamProvider<ErrorEvent> errorEvent = const EventStreamPro
vider<ErrorEvent>('error'); | 83 static const EventStreamProvider<ErrorEvent> errorEvent = const EventStreamPro
vider<ErrorEvent>('error'); |
| 82 | 84 |
| 83 @JSName('addEventListener') | 85 @JSName('addEventListener') |
| 84 @DomName('AbstractWorker.addEventListener') | 86 @DomName('AbstractWorker.addEventListener') |
| 85 @DocsEditable | 87 @DocsEditable |
| 86 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]) native; | 88 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]) native; |
| 87 | 89 |
| (...skipping 11 matching lines...) Expand all Loading... |
| 99 Stream<ErrorEvent> get onError => errorEvent.forTarget(this); | 101 Stream<ErrorEvent> get onError => errorEvent.forTarget(this); |
| 100 } | 102 } |
| 101 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 103 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 102 // for details. All rights reserved. Use of this source code is governed by a | 104 // for details. All rights reserved. Use of this source code is governed by a |
| 103 // BSD-style license that can be found in the LICENSE file. | 105 // BSD-style license that can be found in the LICENSE file. |
| 104 | 106 |
| 105 | 107 |
| 106 @DocsEditable | 108 @DocsEditable |
| 107 @DomName('HTMLAnchorElement') | 109 @DomName('HTMLAnchorElement') |
| 108 class AnchorElement extends _HTMLElement native "HTMLAnchorElement" { | 110 class AnchorElement extends _HTMLElement native "HTMLAnchorElement" { |
| 111 // To suppress missing implicit constructor warnings. |
| 112 factory AnchorElement._() { throw new UnsupportedError("Not supported"); } |
| 109 | 113 |
| 110 @DomName('HTMLAnchorElement.HTMLAnchorElement') | 114 @DomName('HTMLAnchorElement.HTMLAnchorElement') |
| 111 @DocsEditable | 115 @DocsEditable |
| 112 factory AnchorElement({String href}) { | 116 factory AnchorElement({String href}) { |
| 113 var e = document.$dom_createElement("a"); | 117 var e = document.$dom_createElement("a"); |
| 114 if (href != null) e.href = href; | 118 if (href != null) e.href = href; |
| 115 return e; | 119 return e; |
| 116 } | 120 } |
| 117 | 121 |
| 118 @DomName('HTMLAnchorElement.download') | 122 @DomName('HTMLAnchorElement.download') |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 193 // for details. All rights reserved. Use of this source code is governed by a | 197 // for details. All rights reserved. Use of this source code is governed by a |
| 194 // BSD-style license that can be found in the LICENSE file. | 198 // BSD-style license that can be found in the LICENSE file. |
| 195 | 199 |
| 196 | 200 |
| 197 @DocsEditable | 201 @DocsEditable |
| 198 @DomName('WebKitAnimationEvent') | 202 @DomName('WebKitAnimationEvent') |
| 199 @SupportedBrowser(SupportedBrowser.CHROME) | 203 @SupportedBrowser(SupportedBrowser.CHROME) |
| 200 @SupportedBrowser(SupportedBrowser.SAFARI) | 204 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 201 @Experimental | 205 @Experimental |
| 202 class AnimationEvent extends Event native "WebKitAnimationEvent" { | 206 class AnimationEvent extends Event native "WebKitAnimationEvent" { |
| 207 // To suppress missing implicit constructor warnings. |
| 208 factory AnimationEvent._() { throw new UnsupportedError("Not supported"); } |
| 203 | 209 |
| 204 @DomName('WebKitAnimationEvent.animationName') | 210 @DomName('WebKitAnimationEvent.animationName') |
| 205 @DocsEditable | 211 @DocsEditable |
| 206 final String animationName; | 212 final String animationName; |
| 207 | 213 |
| 208 @DomName('WebKitAnimationEvent.elapsedTime') | 214 @DomName('WebKitAnimationEvent.elapsedTime') |
| 209 @DocsEditable | 215 @DocsEditable |
| 210 final num elapsedTime; | 216 final num elapsedTime; |
| 211 } | 217 } |
| 212 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 218 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 213 // for details. All rights reserved. Use of this source code is governed by a | 219 // for details. All rights reserved. Use of this source code is governed by a |
| 214 // BSD-style license that can be found in the LICENSE file. | 220 // BSD-style license that can be found in the LICENSE file. |
| 215 | 221 |
| 216 | 222 |
| 217 @DocsEditable | 223 @DocsEditable |
| 218 @DomName('DOMApplicationCache') | 224 @DomName('DOMApplicationCache') |
| 219 @SupportedBrowser(SupportedBrowser.CHROME) | 225 @SupportedBrowser(SupportedBrowser.CHROME) |
| 220 @SupportedBrowser(SupportedBrowser.FIREFOX) | 226 @SupportedBrowser(SupportedBrowser.FIREFOX) |
| 221 @SupportedBrowser(SupportedBrowser.IE, '10') | 227 @SupportedBrowser(SupportedBrowser.IE, '10') |
| 222 @SupportedBrowser(SupportedBrowser.OPERA) | 228 @SupportedBrowser(SupportedBrowser.OPERA) |
| 223 @SupportedBrowser(SupportedBrowser.SAFARI) | 229 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 224 @Unstable | 230 @Unstable |
| 225 class ApplicationCache extends EventTarget native "ApplicationCache,DOMApplicati
onCache,OfflineResourceList" { | 231 class ApplicationCache extends EventTarget native "ApplicationCache,DOMApplicati
onCache,OfflineResourceList" { |
| 232 // To suppress missing implicit constructor warnings. |
| 233 factory ApplicationCache._() { throw new UnsupportedError("Not supported"); } |
| 226 | 234 |
| 227 @DomName('DOMApplicationCache.cachedEvent') | 235 @DomName('DOMApplicationCache.cachedEvent') |
| 228 @DocsEditable | 236 @DocsEditable |
| 229 static const EventStreamProvider<Event> cachedEvent = const EventStreamProvide
r<Event>('cached'); | 237 static const EventStreamProvider<Event> cachedEvent = const EventStreamProvide
r<Event>('cached'); |
| 230 | 238 |
| 231 @DomName('DOMApplicationCache.checkingEvent') | 239 @DomName('DOMApplicationCache.checkingEvent') |
| 232 @DocsEditable | 240 @DocsEditable |
| 233 static const EventStreamProvider<Event> checkingEvent = const EventStreamProvi
der<Event>('checking'); | 241 static const EventStreamProvider<Event> checkingEvent = const EventStreamProvi
der<Event>('checking'); |
| 234 | 242 |
| 235 @DomName('DOMApplicationCache.downloadingEvent') | 243 @DomName('DOMApplicationCache.downloadingEvent') |
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 356 * | 364 * |
| 357 * The element can also define an uninteractive region of the map. | 365 * The element can also define an uninteractive region of the map. |
| 358 * | 366 * |
| 359 * See also: | 367 * See also: |
| 360 * | 368 * |
| 361 * * [<area>](https://developer.mozilla.org/en-US/docs/HTML/Element/area) | 369 * * [<area>](https://developer.mozilla.org/en-US/docs/HTML/Element/area) |
| 362 * on MDN. | 370 * on MDN. |
| 363 */ | 371 */ |
| 364 @DomName('HTMLAreaElement') | 372 @DomName('HTMLAreaElement') |
| 365 class AreaElement extends _HTMLElement native "HTMLAreaElement" { | 373 class AreaElement extends _HTMLElement native "HTMLAreaElement" { |
| 374 // To suppress missing implicit constructor warnings. |
| 375 factory AreaElement._() { throw new UnsupportedError("Not supported"); } |
| 366 | 376 |
| 367 @DomName('HTMLAreaElement.HTMLAreaElement') | 377 @DomName('HTMLAreaElement.HTMLAreaElement') |
| 368 @DocsEditable | 378 @DocsEditable |
| 369 factory AreaElement() => document.$dom_createElement("area"); | 379 factory AreaElement() => document.$dom_createElement("area"); |
| 370 | 380 |
| 371 @DomName('HTMLAreaElement.alt') | 381 @DomName('HTMLAreaElement.alt') |
| 372 @DocsEditable | 382 @DocsEditable |
| 373 String alt; | 383 String alt; |
| 374 | 384 |
| 375 @DomName('HTMLAreaElement.coords') | 385 @DomName('HTMLAreaElement.coords') |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 423 String target; | 433 String target; |
| 424 } | 434 } |
| 425 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 435 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 426 // for details. All rights reserved. Use of this source code is governed by a | 436 // for details. All rights reserved. Use of this source code is governed by a |
| 427 // BSD-style license that can be found in the LICENSE file. | 437 // BSD-style license that can be found in the LICENSE file. |
| 428 | 438 |
| 429 | 439 |
| 430 @DocsEditable | 440 @DocsEditable |
| 431 @DomName('HTMLAudioElement') | 441 @DomName('HTMLAudioElement') |
| 432 class AudioElement extends MediaElement native "HTMLAudioElement" { | 442 class AudioElement extends MediaElement native "HTMLAudioElement" { |
| 443 // To suppress missing implicit constructor warnings. |
| 444 factory AudioElement._() { throw new UnsupportedError("Not supported"); } |
| 433 | 445 |
| 434 @DomName('HTMLAudioElement.HTMLAudioElement') | 446 @DomName('HTMLAudioElement.HTMLAudioElement') |
| 435 @DocsEditable | 447 @DocsEditable |
| 436 factory AudioElement([String src]) { | 448 factory AudioElement([String src]) { |
| 437 if (src != null) { | 449 if (src != null) { |
| 438 return AudioElement._create_1(src); | 450 return AudioElement._create_1(src); |
| 439 } | 451 } |
| 440 return AudioElement._create_2(); | 452 return AudioElement._create_2(); |
| 441 } | 453 } |
| 442 static AudioElement _create_1(src) => JS('AudioElement', 'new Audio(#)', src); | 454 static AudioElement _create_1(src) => JS('AudioElement', 'new Audio(#)', src); |
| 443 static AudioElement _create_2() => JS('AudioElement', 'new Audio()'); | 455 static AudioElement _create_2() => JS('AudioElement', 'new Audio()'); |
| 444 } | 456 } |
| 445 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 457 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 446 // for details. All rights reserved. Use of this source code is governed by a | 458 // for details. All rights reserved. Use of this source code is governed by a |
| 447 // BSD-style license that can be found in the LICENSE file. | 459 // BSD-style license that can be found in the LICENSE file. |
| 448 | 460 |
| 449 | 461 |
| 450 @DocsEditable | 462 @DocsEditable |
| 451 @DomName('AutocompleteErrorEvent') | 463 @DomName('AutocompleteErrorEvent') |
| 452 // http://wiki.whatwg.org/wiki/RequestAutocomplete | 464 // http://wiki.whatwg.org/wiki/RequestAutocomplete |
| 453 @Experimental | 465 @Experimental |
| 454 class AutocompleteErrorEvent extends Event native "AutocompleteErrorEvent" { | 466 class AutocompleteErrorEvent extends Event native "AutocompleteErrorEvent" { |
| 467 // To suppress missing implicit constructor warnings. |
| 468 factory AutocompleteErrorEvent._() { throw new UnsupportedError("Not supported
"); } |
| 455 | 469 |
| 456 @DomName('AutocompleteErrorEvent.reason') | 470 @DomName('AutocompleteErrorEvent.reason') |
| 457 @DocsEditable | 471 @DocsEditable |
| 458 final String reason; | 472 final String reason; |
| 459 } | 473 } |
| 460 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 474 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 461 // for details. All rights reserved. Use of this source code is governed by a | 475 // for details. All rights reserved. Use of this source code is governed by a |
| 462 // BSD-style license that can be found in the LICENSE file. | 476 // BSD-style license that can be found in the LICENSE file. |
| 463 | 477 |
| 464 | 478 |
| 465 @DocsEditable | 479 @DocsEditable |
| 466 @DomName('HTMLBRElement') | 480 @DomName('HTMLBRElement') |
| 467 class BRElement extends _HTMLElement native "HTMLBRElement" { | 481 class BRElement extends _HTMLElement native "HTMLBRElement" { |
| 482 // To suppress missing implicit constructor warnings. |
| 483 factory BRElement._() { throw new UnsupportedError("Not supported"); } |
| 468 | 484 |
| 469 @DomName('HTMLBRElement.HTMLBRElement') | 485 @DomName('HTMLBRElement.HTMLBRElement') |
| 470 @DocsEditable | 486 @DocsEditable |
| 471 factory BRElement() => document.$dom_createElement("br"); | 487 factory BRElement() => document.$dom_createElement("br"); |
| 472 } | 488 } |
| 473 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 489 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 474 // for details. All rights reserved. Use of this source code is governed by a | 490 // for details. All rights reserved. Use of this source code is governed by a |
| 475 // BSD-style license that can be found in the LICENSE file. | 491 // BSD-style license that can be found in the LICENSE file. |
| 476 | 492 |
| 477 | 493 |
| 478 @DocsEditable | 494 @DocsEditable |
| 479 @DomName('BarProp') | 495 @DomName('BarProp') |
| 480 // http://www.whatwg.org/specs/web-apps/current-work/multipage/browsers.html#bar
prop | 496 // http://www.whatwg.org/specs/web-apps/current-work/multipage/browsers.html#bar
prop |
| 481 @deprecated // standard | 497 @deprecated // standard |
| 482 class BarProp native "BarProp" { | 498 class BarProp native "BarProp" { |
| 499 // To suppress missing implicit constructor warnings. |
| 500 factory BarProp._() { throw new UnsupportedError("Not supported"); } |
| 483 | 501 |
| 484 @DomName('BarProp.visible') | 502 @DomName('BarProp.visible') |
| 485 @DocsEditable | 503 @DocsEditable |
| 486 final bool visible; | 504 final bool visible; |
| 487 } | 505 } |
| 488 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 506 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 489 // for details. All rights reserved. Use of this source code is governed by a | 507 // for details. All rights reserved. Use of this source code is governed by a |
| 490 // BSD-style license that can be found in the LICENSE file. | 508 // BSD-style license that can be found in the LICENSE file. |
| 491 | 509 |
| 492 | 510 |
| 493 @DocsEditable | 511 @DocsEditable |
| 494 @DomName('HTMLBaseElement') | 512 @DomName('HTMLBaseElement') |
| 495 class BaseElement extends _HTMLElement native "HTMLBaseElement" { | 513 class BaseElement extends _HTMLElement native "HTMLBaseElement" { |
| 514 // To suppress missing implicit constructor warnings. |
| 515 factory BaseElement._() { throw new UnsupportedError("Not supported"); } |
| 496 | 516 |
| 497 @DomName('HTMLBaseElement.HTMLBaseElement') | 517 @DomName('HTMLBaseElement.HTMLBaseElement') |
| 498 @DocsEditable | 518 @DocsEditable |
| 499 factory BaseElement() => document.$dom_createElement("base"); | 519 factory BaseElement() => document.$dom_createElement("base"); |
| 500 | 520 |
| 501 @DomName('HTMLBaseElement.href') | 521 @DomName('HTMLBaseElement.href') |
| 502 @DocsEditable | 522 @DocsEditable |
| 503 String href; | 523 String href; |
| 504 | 524 |
| 505 @DomName('HTMLBaseElement.target') | 525 @DomName('HTMLBaseElement.target') |
| 506 @DocsEditable | 526 @DocsEditable |
| 507 String target; | 527 String target; |
| 508 } | 528 } |
| 509 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 529 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 510 // for details. All rights reserved. Use of this source code is governed by a | 530 // for details. All rights reserved. Use of this source code is governed by a |
| 511 // BSD-style license that can be found in the LICENSE file. | 531 // BSD-style license that can be found in the LICENSE file. |
| 512 | 532 |
| 513 | 533 |
| 514 @DocsEditable | 534 @DocsEditable |
| 515 @DomName('BeforeLoadEvent') | 535 @DomName('BeforeLoadEvent') |
| 516 @Experimental | 536 @Experimental |
| 517 class BeforeLoadEvent extends Event native "BeforeLoadEvent" { | 537 class BeforeLoadEvent extends Event native "BeforeLoadEvent" { |
| 538 // To suppress missing implicit constructor warnings. |
| 539 factory BeforeLoadEvent._() { throw new UnsupportedError("Not supported"); } |
| 518 | 540 |
| 519 @DomName('BeforeLoadEvent.url') | 541 @DomName('BeforeLoadEvent.url') |
| 520 @DocsEditable | 542 @DocsEditable |
| 521 final String url; | 543 final String url; |
| 522 } | 544 } |
| 523 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 545 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 524 // for details. All rights reserved. Use of this source code is governed by a | 546 // for details. All rights reserved. Use of this source code is governed by a |
| 525 // BSD-style license that can be found in the LICENSE file. | 547 // BSD-style license that can be found in the LICENSE file. |
| 526 | 548 |
| 527 | 549 |
| 528 @DomName('Blob') | 550 @DomName('Blob') |
| 529 class Blob native "Blob" { | 551 class Blob native "Blob" { |
| 552 // To suppress missing implicit constructor warnings. |
| 553 factory Blob._() { throw new UnsupportedError("Not supported"); } |
| 530 | 554 |
| 531 @DomName('Blob.size') | 555 @DomName('Blob.size') |
| 532 @DocsEditable | 556 @DocsEditable |
| 533 final int size; | 557 final int size; |
| 534 | 558 |
| 535 @DomName('Blob.type') | 559 @DomName('Blob.type') |
| 536 @DocsEditable | 560 @DocsEditable |
| 537 final String type; | 561 final String type; |
| 538 | 562 |
| 539 @DomName('Blob.slice') | 563 @DomName('Blob.slice') |
| (...skipping 21 matching lines...) Expand all Loading... |
| 561 } | 585 } |
| 562 | 586 |
| 563 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 587 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 564 // for details. All rights reserved. Use of this source code is governed by a | 588 // for details. All rights reserved. Use of this source code is governed by a |
| 565 // BSD-style license that can be found in the LICENSE file. | 589 // BSD-style license that can be found in the LICENSE file. |
| 566 | 590 |
| 567 | 591 |
| 568 @DocsEditable | 592 @DocsEditable |
| 569 @DomName('HTMLBodyElement') | 593 @DomName('HTMLBodyElement') |
| 570 class BodyElement extends _HTMLElement native "HTMLBodyElement" { | 594 class BodyElement extends _HTMLElement native "HTMLBodyElement" { |
| 595 // To suppress missing implicit constructor warnings. |
| 596 factory BodyElement._() { throw new UnsupportedError("Not supported"); } |
| 571 | 597 |
| 572 @DomName('HTMLBodyElement.blurEvent') | 598 @DomName('HTMLBodyElement.blurEvent') |
| 573 @DocsEditable | 599 @DocsEditable |
| 574 static const EventStreamProvider<Event> blurEvent = const EventStreamProvider<
Event>('blur'); | 600 static const EventStreamProvider<Event> blurEvent = const EventStreamProvider<
Event>('blur'); |
| 575 | 601 |
| 576 @DomName('HTMLBodyElement.errorEvent') | 602 @DomName('HTMLBodyElement.errorEvent') |
| 577 @DocsEditable | 603 @DocsEditable |
| 578 static const EventStreamProvider<Event> errorEvent = const EventStreamProvider
<Event>('error'); | 604 static const EventStreamProvider<Event> errorEvent = const EventStreamProvider
<Event>('error'); |
| 579 | 605 |
| 580 @DomName('HTMLBodyElement.focusEvent') | 606 @DomName('HTMLBodyElement.focusEvent') |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 670 Stream<Event> get onUnload => unloadEvent.forTarget(this); | 696 Stream<Event> get onUnload => unloadEvent.forTarget(this); |
| 671 } | 697 } |
| 672 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 698 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 673 // for details. All rights reserved. Use of this source code is governed by a | 699 // for details. All rights reserved. Use of this source code is governed by a |
| 674 // BSD-style license that can be found in the LICENSE file. | 700 // BSD-style license that can be found in the LICENSE file. |
| 675 | 701 |
| 676 | 702 |
| 677 @DocsEditable | 703 @DocsEditable |
| 678 @DomName('HTMLButtonElement') | 704 @DomName('HTMLButtonElement') |
| 679 class ButtonElement extends _HTMLElement native "HTMLButtonElement" { | 705 class ButtonElement extends _HTMLElement native "HTMLButtonElement" { |
| 706 // To suppress missing implicit constructor warnings. |
| 707 factory ButtonElement._() { throw new UnsupportedError("Not supported"); } |
| 680 | 708 |
| 681 @DomName('HTMLButtonElement.HTMLButtonElement') | 709 @DomName('HTMLButtonElement.HTMLButtonElement') |
| 682 @DocsEditable | 710 @DocsEditable |
| 683 factory ButtonElement() => document.$dom_createElement("button"); | 711 factory ButtonElement() => document.$dom_createElement("button"); |
| 684 | 712 |
| 685 @DomName('HTMLButtonElement.autofocus') | 713 @DomName('HTMLButtonElement.autofocus') |
| 686 @DocsEditable | 714 @DocsEditable |
| 687 bool autofocus; | 715 bool autofocus; |
| 688 | 716 |
| 689 @DomName('HTMLButtonElement.disabled') | 717 @DomName('HTMLButtonElement.disabled') |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 756 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 784 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 757 // for details. All rights reserved. Use of this source code is governed by a | 785 // for details. All rights reserved. Use of this source code is governed by a |
| 758 // BSD-style license that can be found in the LICENSE file. | 786 // BSD-style license that can be found in the LICENSE file. |
| 759 | 787 |
| 760 | 788 |
| 761 @DocsEditable | 789 @DocsEditable |
| 762 @DomName('CDATASection') | 790 @DomName('CDATASection') |
| 763 // http://dom.spec.whatwg.org/#cdatasection | 791 // http://dom.spec.whatwg.org/#cdatasection |
| 764 @deprecated // deprecated | 792 @deprecated // deprecated |
| 765 class CDataSection extends Text native "CDATASection" { | 793 class CDataSection extends Text native "CDATASection" { |
| 794 // To suppress missing implicit constructor warnings. |
| 795 factory CDataSection._() { throw new UnsupportedError("Not supported"); } |
| 766 } | 796 } |
| 767 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 797 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 768 // for details. All rights reserved. Use of this source code is governed by a | 798 // for details. All rights reserved. Use of this source code is governed by a |
| 769 // BSD-style license that can be found in the LICENSE file. | 799 // BSD-style license that can be found in the LICENSE file. |
| 770 | 800 |
| 771 | 801 |
| 772 @DocsEditable | 802 @DocsEditable |
| 773 @DomName('Canvas2DContextAttributes') | 803 @DomName('Canvas2DContextAttributes') |
| 774 // http://wiki.whatwg.org/wiki/CanvasOpaque#Suggested_IDL | 804 // http://wiki.whatwg.org/wiki/CanvasOpaque#Suggested_IDL |
| 775 @Experimental | 805 @Experimental |
| 776 class Canvas2DContextAttributes native "Canvas2DContextAttributes" { | 806 class Canvas2DContextAttributes native "Canvas2DContextAttributes" { |
| 807 // To suppress missing implicit constructor warnings. |
| 808 factory Canvas2DContextAttributes._() { throw new UnsupportedError("Not suppor
ted"); } |
| 777 | 809 |
| 778 @DomName('Canvas2DContextAttributes.alpha') | 810 @DomName('Canvas2DContextAttributes.alpha') |
| 779 @DocsEditable | 811 @DocsEditable |
| 780 bool alpha; | 812 bool alpha; |
| 781 } | 813 } |
| 782 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 814 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 783 // for details. All rights reserved. Use of this source code is governed by a | 815 // for details. All rights reserved. Use of this source code is governed by a |
| 784 // BSD-style license that can be found in the LICENSE file. | 816 // BSD-style license that can be found in the LICENSE file. |
| 785 | 817 |
| 786 | 818 |
| 787 @DomName('HTMLCanvasElement') | 819 @DomName('HTMLCanvasElement') |
| 788 class CanvasElement extends _HTMLElement implements CanvasImageSource native "HT
MLCanvasElement" { | 820 class CanvasElement extends _HTMLElement implements CanvasImageSource native "HT
MLCanvasElement" { |
| 821 // To suppress missing implicit constructor warnings. |
| 822 factory CanvasElement._() { throw new UnsupportedError("Not supported"); } |
| 789 | 823 |
| 790 @DomName('HTMLCanvasElement.webglcontextlostEvent') | 824 @DomName('HTMLCanvasElement.webglcontextlostEvent') |
| 791 @DocsEditable | 825 @DocsEditable |
| 792 static const EventStreamProvider<gl.ContextEvent> webGlContextLostEvent = cons
t EventStreamProvider<gl.ContextEvent>('webglcontextlost'); | 826 static const EventStreamProvider<gl.ContextEvent> webGlContextLostEvent = cons
t EventStreamProvider<gl.ContextEvent>('webglcontextlost'); |
| 793 | 827 |
| 794 @DomName('HTMLCanvasElement.webglcontextrestoredEvent') | 828 @DomName('HTMLCanvasElement.webglcontextrestoredEvent') |
| 795 @DocsEditable | 829 @DocsEditable |
| 796 static const EventStreamProvider<gl.ContextEvent> webGlContextRestoredEvent =
const EventStreamProvider<gl.ContextEvent>('webglcontextrestored'); | 830 static const EventStreamProvider<gl.ContextEvent> webGlContextRestoredEvent =
const EventStreamProvider<gl.ContextEvent>('webglcontextrestored'); |
| 797 | 831 |
| 798 @DomName('HTMLCanvasElement.HTMLCanvasElement') | 832 @DomName('HTMLCanvasElement.HTMLCanvasElement') |
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 943 * document.body.children.add(canvas); | 977 * document.body.children.add(canvas); |
| 944 * | 978 * |
| 945 * See also: | 979 * See also: |
| 946 * | 980 * |
| 947 * * [CanvasGradient](https://developer.mozilla.org/en-US/docs/DOM/CanvasGradien
t) from MDN. | 981 * * [CanvasGradient](https://developer.mozilla.org/en-US/docs/DOM/CanvasGradien
t) from MDN. |
| 948 * * [CanvasGradient](http://www.whatwg.org/specs/web-apps/current-work/multipag
e/the-canvas-element.html#canvasgradient) from whatwg. | 982 * * [CanvasGradient](http://www.whatwg.org/specs/web-apps/current-work/multipag
e/the-canvas-element.html#canvasgradient) from whatwg. |
| 949 * * [CanvasGradient](http://www.w3.org/TR/2010/WD-2dcontext-20100304/#canvasgra
dient) from W3C. | 983 * * [CanvasGradient](http://www.w3.org/TR/2010/WD-2dcontext-20100304/#canvasgra
dient) from W3C. |
| 950 */ | 984 */ |
| 951 @DomName('CanvasGradient') | 985 @DomName('CanvasGradient') |
| 952 class CanvasGradient native "CanvasGradient" { | 986 class CanvasGradient native "CanvasGradient" { |
| 987 // To suppress missing implicit constructor warnings. |
| 988 factory CanvasGradient._() { throw new UnsupportedError("Not supported"); } |
| 953 | 989 |
| 954 /** | 990 /** |
| 955 * Adds a color stop to this gradient at the offset. | 991 * Adds a color stop to this gradient at the offset. |
| 956 * | 992 * |
| 957 * The [offset] can range between 0.0 and 1.0. | 993 * The [offset] can range between 0.0 and 1.0. |
| 958 * | 994 * |
| 959 * See also: | 995 * See also: |
| 960 * | 996 * |
| 961 * * [Multiple Color Stops](https://developer.mozilla.org/en-US/docs/CSS/linea
r-gradient#Gradient_with_multiple_color_stops) from MDN. | 997 * * [Multiple Color Stops](https://developer.mozilla.org/en-US/docs/CSS/linea
r-gradient#Gradient_with_multiple_color_stops) from MDN. |
| 962 */ | 998 */ |
| (...skipping 29 matching lines...) Expand all Loading... |
| 992 * img.src = "images/foo.jpg"; | 1028 * img.src = "images/foo.jpg"; |
| 993 * document.body.children.add(canvas); | 1029 * document.body.children.add(canvas); |
| 994 * | 1030 * |
| 995 * See also: | 1031 * See also: |
| 996 * * [CanvasPattern](https://developer.mozilla.org/en-US/docs/DOM/CanvasPattern)
from MDN. | 1032 * * [CanvasPattern](https://developer.mozilla.org/en-US/docs/DOM/CanvasPattern)
from MDN. |
| 997 * * [CanvasPattern](http://www.whatwg.org/specs/web-apps/current-work/multipage
/the-canvas-element.html#canvaspattern) from whatwg. | 1033 * * [CanvasPattern](http://www.whatwg.org/specs/web-apps/current-work/multipage
/the-canvas-element.html#canvaspattern) from whatwg. |
| 998 * * [CanvasPattern](http://www.w3.org/TR/2010/WD-2dcontext-20100304/#canvaspatt
ern) from W3C. | 1034 * * [CanvasPattern](http://www.w3.org/TR/2010/WD-2dcontext-20100304/#canvaspatt
ern) from W3C. |
| 999 */ | 1035 */ |
| 1000 @DomName('CanvasPattern') | 1036 @DomName('CanvasPattern') |
| 1001 class CanvasPattern native "CanvasPattern" { | 1037 class CanvasPattern native "CanvasPattern" { |
| 1038 // To suppress missing implicit constructor warnings. |
| 1039 factory CanvasPattern._() { throw new UnsupportedError("Not supported"); } |
| 1002 } | 1040 } |
| 1003 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1041 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1004 // for details. All rights reserved. Use of this source code is governed by a | 1042 // for details. All rights reserved. Use of this source code is governed by a |
| 1005 // BSD-style license that can be found in the LICENSE file. | 1043 // BSD-style license that can be found in the LICENSE file. |
| 1006 | 1044 |
| 1007 | 1045 |
| 1008 @DocsEditable | 1046 @DocsEditable |
| 1009 /** | 1047 /** |
| 1010 * A rendering context for a canvas element. | 1048 * A rendering context for a canvas element. |
| 1011 * | 1049 * |
| 1012 * This context is extended by [CanvasRenderingContext2D] and | 1050 * This context is extended by [CanvasRenderingContext2D] and |
| 1013 * [WebGLRenderingContext]. | 1051 * [WebGLRenderingContext]. |
| 1014 */ | 1052 */ |
| 1015 @DomName('CanvasRenderingContext') | 1053 @DomName('CanvasRenderingContext') |
| 1016 class CanvasRenderingContext native "CanvasRenderingContext" { | 1054 class CanvasRenderingContext native "CanvasRenderingContext" { |
| 1055 // To suppress missing implicit constructor warnings. |
| 1056 factory CanvasRenderingContext._() { throw new UnsupportedError("Not supported
"); } |
| 1017 | 1057 |
| 1018 /// Reference to the canvas element to which this context belongs. | 1058 /// Reference to the canvas element to which this context belongs. |
| 1019 @DomName('CanvasRenderingContext.canvas') | 1059 @DomName('CanvasRenderingContext.canvas') |
| 1020 @DocsEditable | 1060 @DocsEditable |
| 1021 final CanvasElement canvas; | 1061 final CanvasElement canvas; |
| 1022 } | 1062 } |
| 1023 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1063 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1024 // for details. All rights reserved. Use of this source code is governed by a | 1064 // for details. All rights reserved. Use of this source code is governed by a |
| 1025 // BSD-style license that can be found in the LICENSE file. | 1065 // BSD-style license that can be found in the LICENSE file. |
| 1026 | 1066 |
| 1027 | 1067 |
| 1028 @DomName('CanvasRenderingContext2D') | 1068 @DomName('CanvasRenderingContext2D') |
| 1029 class CanvasRenderingContext2D extends CanvasRenderingContext native "CanvasRend
eringContext2D" { | 1069 class CanvasRenderingContext2D extends CanvasRenderingContext native "CanvasRend
eringContext2D" { |
| 1070 // To suppress missing implicit constructor warnings. |
| 1071 factory CanvasRenderingContext2D._() { throw new UnsupportedError("Not support
ed"); } |
| 1030 | 1072 |
| 1031 @DomName('CanvasRenderingContext2D.currentPath') | 1073 @DomName('CanvasRenderingContext2D.currentPath') |
| 1032 @DocsEditable | 1074 @DocsEditable |
| 1033 // http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-elem
ent.html#path-objects | 1075 // http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-elem
ent.html#path-objects |
| 1034 @Experimental | 1076 @Experimental |
| 1035 Path currentPath; | 1077 Path currentPath; |
| 1036 | 1078 |
| 1037 @DomName('CanvasRenderingContext2D.fillStyle') | 1079 @DomName('CanvasRenderingContext2D.fillStyle') |
| 1038 @DocsEditable | 1080 @DocsEditable |
| 1039 @Creates('String|CanvasGradient|CanvasPattern') | 1081 @Creates('String|CanvasGradient|CanvasPattern') |
| (...skipping 536 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1576 } | 1618 } |
| 1577 | 1619 |
| 1578 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1620 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1579 // for details. All rights reserved. Use of this source code is governed by a | 1621 // for details. All rights reserved. Use of this source code is governed by a |
| 1580 // BSD-style license that can be found in the LICENSE file. | 1622 // BSD-style license that can be found in the LICENSE file. |
| 1581 | 1623 |
| 1582 | 1624 |
| 1583 @DocsEditable | 1625 @DocsEditable |
| 1584 @DomName('CharacterData') | 1626 @DomName('CharacterData') |
| 1585 class CharacterData extends Node native "CharacterData" { | 1627 class CharacterData extends Node native "CharacterData" { |
| 1628 // To suppress missing implicit constructor warnings. |
| 1629 factory CharacterData._() { throw new UnsupportedError("Not supported"); } |
| 1586 | 1630 |
| 1587 @DomName('CharacterData.data') | 1631 @DomName('CharacterData.data') |
| 1588 @DocsEditable | 1632 @DocsEditable |
| 1589 String data; | 1633 String data; |
| 1590 | 1634 |
| 1591 @DomName('CharacterData.length') | 1635 @DomName('CharacterData.length') |
| 1592 @DocsEditable | 1636 @DocsEditable |
| 1593 final int length; | 1637 final int length; |
| 1594 | 1638 |
| 1595 @DomName('CharacterData.nextElementSibling') | 1639 @DomName('CharacterData.nextElementSibling') |
| (...skipping 25 matching lines...) Expand all Loading... |
| 1621 String substringData(int offset, int length) native; | 1665 String substringData(int offset, int length) native; |
| 1622 } | 1666 } |
| 1623 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1667 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1624 // for details. All rights reserved. Use of this source code is governed by a | 1668 // for details. All rights reserved. Use of this source code is governed by a |
| 1625 // BSD-style license that can be found in the LICENSE file. | 1669 // BSD-style license that can be found in the LICENSE file. |
| 1626 | 1670 |
| 1627 | 1671 |
| 1628 @DocsEditable | 1672 @DocsEditable |
| 1629 @DomName('CloseEvent') | 1673 @DomName('CloseEvent') |
| 1630 class CloseEvent extends Event native "CloseEvent" { | 1674 class CloseEvent extends Event native "CloseEvent" { |
| 1675 // To suppress missing implicit constructor warnings. |
| 1676 factory CloseEvent._() { throw new UnsupportedError("Not supported"); } |
| 1631 | 1677 |
| 1632 @DomName('CloseEvent.code') | 1678 @DomName('CloseEvent.code') |
| 1633 @DocsEditable | 1679 @DocsEditable |
| 1634 final int code; | 1680 final int code; |
| 1635 | 1681 |
| 1636 @DomName('CloseEvent.reason') | 1682 @DomName('CloseEvent.reason') |
| 1637 @DocsEditable | 1683 @DocsEditable |
| 1638 final String reason; | 1684 final String reason; |
| 1639 | 1685 |
| 1640 @DomName('CloseEvent.wasClean') | 1686 @DomName('CloseEvent.wasClean') |
| 1641 @DocsEditable | 1687 @DocsEditable |
| 1642 final bool wasClean; | 1688 final bool wasClean; |
| 1643 } | 1689 } |
| 1644 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1690 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1645 // for details. All rights reserved. Use of this source code is governed by a | 1691 // for details. All rights reserved. Use of this source code is governed by a |
| 1646 // BSD-style license that can be found in the LICENSE file. | 1692 // BSD-style license that can be found in the LICENSE file. |
| 1647 | 1693 |
| 1648 | 1694 |
| 1649 @DocsEditable | 1695 @DocsEditable |
| 1650 @DomName('Comment') | 1696 @DomName('Comment') |
| 1651 class Comment extends CharacterData native "Comment" { | 1697 class Comment extends CharacterData native "Comment" { |
| 1698 // To suppress missing implicit constructor warnings. |
| 1699 factory Comment._() { throw new UnsupportedError("Not supported"); } |
| 1652 | 1700 |
| 1653 @DomName('Comment.Comment') | 1701 @DomName('Comment.Comment') |
| 1654 @DocsEditable | 1702 @DocsEditable |
| 1655 factory Comment([String data]) { | 1703 factory Comment([String data]) { |
| 1656 if (data != null) { | 1704 if (data != null) { |
| 1657 return Comment._create_1(data); | 1705 return Comment._create_1(data); |
| 1658 } | 1706 } |
| 1659 return Comment._create_2(); | 1707 return Comment._create_2(); |
| 1660 } | 1708 } |
| 1661 static Comment _create_1(data) => JS('Comment', 'new Comment(#)', data); | 1709 static Comment _create_1(data) => JS('Comment', 'new Comment(#)', data); |
| 1662 static Comment _create_2() => JS('Comment', 'new Comment()'); | 1710 static Comment _create_2() => JS('Comment', 'new Comment()'); |
| 1663 } | 1711 } |
| 1664 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1712 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1665 // for details. All rights reserved. Use of this source code is governed by a | 1713 // for details. All rights reserved. Use of this source code is governed by a |
| 1666 // BSD-style license that can be found in the LICENSE file. | 1714 // BSD-style license that can be found in the LICENSE file. |
| 1667 | 1715 |
| 1668 | 1716 |
| 1669 @DocsEditable | 1717 @DocsEditable |
| 1670 @DomName('Composition') | 1718 @DomName('Composition') |
| 1671 // http://www.w3.org/TR/ime-api/#idl-def-Composition | 1719 // http://www.w3.org/TR/ime-api/#idl-def-Composition |
| 1672 @Experimental | 1720 @Experimental |
| 1673 class Composition native "Composition" { | 1721 class Composition native "Composition" { |
| 1722 // To suppress missing implicit constructor warnings. |
| 1723 factory Composition._() { throw new UnsupportedError("Not supported"); } |
| 1674 | 1724 |
| 1675 @DomName('Composition.caret') | 1725 @DomName('Composition.caret') |
| 1676 @DocsEditable | 1726 @DocsEditable |
| 1677 final Range caret; | 1727 final Range caret; |
| 1678 | 1728 |
| 1679 @DomName('Composition.text') | 1729 @DomName('Composition.text') |
| 1680 @DocsEditable | 1730 @DocsEditable |
| 1681 final Node text; | 1731 final Node text; |
| 1682 } | 1732 } |
| 1683 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1733 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 1684 // for details. All rights reserved. Use of this source code is governed by a | 1734 // for details. All rights reserved. Use of this source code is governed by a |
| 1685 // BSD-style license that can be found in the LICENSE file. | 1735 // BSD-style license that can be found in the LICENSE file. |
| 1686 | 1736 |
| 1687 // WARNING: Do not edit - generated code. | 1737 // WARNING: Do not edit - generated code. |
| 1688 | 1738 |
| 1689 | 1739 |
| 1690 @DomName('CompositionEvent') | 1740 @DomName('CompositionEvent') |
| 1691 class CompositionEvent extends UIEvent native "CompositionEvent" { | 1741 class CompositionEvent extends UIEvent native "CompositionEvent" { |
| 1692 factory CompositionEvent(String type, | 1742 factory CompositionEvent(String type, |
| 1693 {bool canBubble: false, bool cancelable: false, Window view, | 1743 {bool canBubble: false, bool cancelable: false, Window view, |
| 1694 String data}) { | 1744 String data}) { |
| 1695 if (view == null) { | 1745 if (view == null) { |
| 1696 view = window; | 1746 view = window; |
| 1697 } | 1747 } |
| 1698 var e = document.$dom_createEvent("CompositionEvent"); | 1748 var e = document.$dom_createEvent("CompositionEvent"); |
| 1699 e.$dom_initCompositionEvent(type, canBubble, cancelable, view, data); | 1749 e.$dom_initCompositionEvent(type, canBubble, cancelable, view, data); |
| 1700 return e; | 1750 return e; |
| 1701 } | 1751 } |
| 1752 // To suppress missing implicit constructor warnings. |
| 1753 factory CompositionEvent._() { throw new UnsupportedError("Not supported"); } |
| 1702 | 1754 |
| 1703 @DomName('CompositionEvent.data') | 1755 @DomName('CompositionEvent.data') |
| 1704 @DocsEditable | 1756 @DocsEditable |
| 1705 final String data; | 1757 final String data; |
| 1706 | 1758 |
| 1707 @JSName('initCompositionEvent') | 1759 @JSName('initCompositionEvent') |
| 1708 @DomName('CompositionEvent.initCompositionEvent') | 1760 @DomName('CompositionEvent.initCompositionEvent') |
| 1709 @DocsEditable | 1761 @DocsEditable |
| 1710 void $dom_initCompositionEvent(String typeArg, bool canBubbleArg, bool cancela
bleArg, Window viewArg, String dataArg) native; | 1762 void $dom_initCompositionEvent(String typeArg, bool canBubbleArg, bool cancela
bleArg, Window viewArg, String dataArg) native; |
| 1711 | 1763 |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1794 void timeStamp(Object arg) => _isConsoleDefined ? | 1846 void timeStamp(Object arg) => _isConsoleDefined ? |
| 1795 JS('void', 'console.timeStamp(#)', arg) : null; | 1847 JS('void', 'console.timeStamp(#)', arg) : null; |
| 1796 | 1848 |
| 1797 @DomName('Console.trace') | 1849 @DomName('Console.trace') |
| 1798 void trace(Object arg) => _isConsoleDefined ? | 1850 void trace(Object arg) => _isConsoleDefined ? |
| 1799 JS('void', 'console.trace(#)', arg) : null; | 1851 JS('void', 'console.trace(#)', arg) : null; |
| 1800 | 1852 |
| 1801 @DomName('Console.warn') | 1853 @DomName('Console.warn') |
| 1802 void warn(Object arg) => _isConsoleDefined ? | 1854 void warn(Object arg) => _isConsoleDefined ? |
| 1803 JS('void', 'console.warn(#)', arg) : null; | 1855 JS('void', 'console.warn(#)', arg) : null; |
| 1856 // To suppress missing implicit constructor warnings. |
| 1857 factory Console._() { throw new UnsupportedError("Not supported"); } |
| 1804 | 1858 |
| 1805 @DomName('Console.clear') | 1859 @DomName('Console.clear') |
| 1806 @DocsEditable | 1860 @DocsEditable |
| 1807 @Experimental | 1861 @Experimental |
| 1808 void clear(Object arg) native; | 1862 void clear(Object arg) native; |
| 1809 | 1863 |
| 1810 @DomName('Console.table') | 1864 @DomName('Console.table') |
| 1811 @DocsEditable | 1865 @DocsEditable |
| 1812 @Experimental | 1866 @Experimental |
| 1813 void table(Object arg) native; | 1867 void table(Object arg) native; |
| 1814 | 1868 |
| 1815 } | 1869 } |
| 1816 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1870 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1817 // for details. All rights reserved. Use of this source code is governed by a | 1871 // for details. All rights reserved. Use of this source code is governed by a |
| 1818 // BSD-style license that can be found in the LICENSE file. | 1872 // BSD-style license that can be found in the LICENSE file. |
| 1819 | 1873 |
| 1820 | 1874 |
| 1821 @DocsEditable | 1875 @DocsEditable |
| 1822 @DomName('HTMLContentElement') | 1876 @DomName('HTMLContentElement') |
| 1823 @SupportedBrowser(SupportedBrowser.CHROME, '26') | 1877 @SupportedBrowser(SupportedBrowser.CHROME, '26') |
| 1824 @Experimental | 1878 @Experimental |
| 1825 // https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/shadow/index.html#cont
ent-element | 1879 // https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/shadow/index.html#cont
ent-element |
| 1826 class ContentElement extends _HTMLElement native "HTMLContentElement" { | 1880 class ContentElement extends _HTMLElement native "HTMLContentElement" { |
| 1881 // To suppress missing implicit constructor warnings. |
| 1882 factory ContentElement._() { throw new UnsupportedError("Not supported"); } |
| 1827 | 1883 |
| 1828 @DomName('HTMLContentElement.HTMLContentElement') | 1884 @DomName('HTMLContentElement.HTMLContentElement') |
| 1829 @DocsEditable | 1885 @DocsEditable |
| 1830 factory ContentElement() => document.$dom_createElement("content"); | 1886 factory ContentElement() => document.$dom_createElement("content"); |
| 1831 | 1887 |
| 1832 /// Checks if this type is supported on the current platform. | 1888 /// Checks if this type is supported on the current platform. |
| 1833 static bool get supported => Element.isTagSupported('content'); | 1889 static bool get supported => Element.isTagSupported('content'); |
| 1834 | 1890 |
| 1835 @DomName('HTMLContentElement.resetStyleInheritance') | 1891 @DomName('HTMLContentElement.resetStyleInheritance') |
| 1836 @DocsEditable | 1892 @DocsEditable |
| (...skipping 10 matching lines...) Expand all Loading... |
| 1847 List<Node> getDistributedNodes() native; | 1903 List<Node> getDistributedNodes() native; |
| 1848 } | 1904 } |
| 1849 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1905 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1850 // for details. All rights reserved. Use of this source code is governed by a | 1906 // for details. All rights reserved. Use of this source code is governed by a |
| 1851 // BSD-style license that can be found in the LICENSE file. | 1907 // BSD-style license that can be found in the LICENSE file. |
| 1852 | 1908 |
| 1853 | 1909 |
| 1854 @DocsEditable | 1910 @DocsEditable |
| 1855 @DomName('Coordinates') | 1911 @DomName('Coordinates') |
| 1856 class Coordinates native "Coordinates" { | 1912 class Coordinates native "Coordinates" { |
| 1913 // To suppress missing implicit constructor warnings. |
| 1914 factory Coordinates._() { throw new UnsupportedError("Not supported"); } |
| 1857 | 1915 |
| 1858 @DomName('Coordinates.accuracy') | 1916 @DomName('Coordinates.accuracy') |
| 1859 @DocsEditable | 1917 @DocsEditable |
| 1860 final num accuracy; | 1918 final num accuracy; |
| 1861 | 1919 |
| 1862 @DomName('Coordinates.altitude') | 1920 @DomName('Coordinates.altitude') |
| 1863 @DocsEditable | 1921 @DocsEditable |
| 1864 final num altitude; | 1922 final num altitude; |
| 1865 | 1923 |
| 1866 @DomName('Coordinates.altitudeAccuracy') | 1924 @DomName('Coordinates.altitudeAccuracy') |
| (...skipping 21 matching lines...) Expand all Loading... |
| 1888 // BSD-style license that can be found in the LICENSE file. | 1946 // BSD-style license that can be found in the LICENSE file. |
| 1889 | 1947 |
| 1890 | 1948 |
| 1891 @DocsEditable | 1949 @DocsEditable |
| 1892 @DomName('Crypto') | 1950 @DomName('Crypto') |
| 1893 @SupportedBrowser(SupportedBrowser.CHROME) | 1951 @SupportedBrowser(SupportedBrowser.CHROME) |
| 1894 @SupportedBrowser(SupportedBrowser.SAFARI) | 1952 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 1895 @Experimental | 1953 @Experimental |
| 1896 // http://www.w3.org/TR/WebCryptoAPI/ | 1954 // http://www.w3.org/TR/WebCryptoAPI/ |
| 1897 class Crypto native "Crypto" { | 1955 class Crypto native "Crypto" { |
| 1956 // To suppress missing implicit constructor warnings. |
| 1957 factory Crypto._() { throw new UnsupportedError("Not supported"); } |
| 1898 | 1958 |
| 1899 /// Checks if this type is supported on the current platform. | 1959 /// Checks if this type is supported on the current platform. |
| 1900 static bool get supported => JS('bool', '!!(window.crypto && window.crypto.get
RandomValues)'); | 1960 static bool get supported => JS('bool', '!!(window.crypto && window.crypto.get
RandomValues)'); |
| 1901 | 1961 |
| 1902 @DomName('Crypto.getRandomValues') | 1962 @DomName('Crypto.getRandomValues') |
| 1903 @DocsEditable | 1963 @DocsEditable |
| 1904 @Creates('TypedData') | 1964 @Creates('TypedData') |
| 1905 @Returns('TypedData|Null') | 1965 @Returns('TypedData|Null') |
| 1906 TypedData getRandomValues(TypedData array) native; | 1966 TypedData getRandomValues(TypedData array) native; |
| 1907 } | 1967 } |
| 1908 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1968 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1909 // for details. All rights reserved. Use of this source code is governed by a | 1969 // for details. All rights reserved. Use of this source code is governed by a |
| 1910 // BSD-style license that can be found in the LICENSE file. | 1970 // BSD-style license that can be found in the LICENSE file. |
| 1911 | 1971 |
| 1912 | 1972 |
| 1913 @DocsEditable | 1973 @DocsEditable |
| 1914 @DomName('CSS') | 1974 @DomName('CSS') |
| 1915 // http://www.w3.org/TR/css3-conditional/#the-css-interface | 1975 // http://www.w3.org/TR/css3-conditional/#the-css-interface |
| 1916 @Experimental // None | 1976 @Experimental // None |
| 1917 class Css native "CSS" { | 1977 class Css native "CSS" { |
| 1978 // To suppress missing implicit constructor warnings. |
| 1979 factory Css._() { throw new UnsupportedError("Not supported"); } |
| 1918 | 1980 |
| 1919 @DomName('CSS.supports') | 1981 @DomName('CSS.supports') |
| 1920 @DocsEditable | 1982 @DocsEditable |
| 1921 bool supports(String conditionText_OR_property, [String value]) native; | 1983 bool supports(String conditionText_OR_property, [String value]) native; |
| 1922 } | 1984 } |
| 1923 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1985 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1924 // for details. All rights reserved. Use of this source code is governed by a | 1986 // for details. All rights reserved. Use of this source code is governed by a |
| 1925 // BSD-style license that can be found in the LICENSE file. | 1987 // BSD-style license that can be found in the LICENSE file. |
| 1926 | 1988 |
| 1927 | 1989 |
| 1928 @DocsEditable | 1990 @DocsEditable |
| 1929 @DomName('CSSCharsetRule') | 1991 @DomName('CSSCharsetRule') |
| 1930 // http://dev.w3.org/csswg/cssom/#the-csscharsetrule-interface | 1992 // http://dev.w3.org/csswg/cssom/#the-csscharsetrule-interface |
| 1931 @Experimental | 1993 @Experimental |
| 1932 class CssCharsetRule extends CssRule native "CSSCharsetRule" { | 1994 class CssCharsetRule extends CssRule native "CSSCharsetRule" { |
| 1995 // To suppress missing implicit constructor warnings. |
| 1996 factory CssCharsetRule._() { throw new UnsupportedError("Not supported"); } |
| 1933 | 1997 |
| 1934 @DomName('CSSCharsetRule.encoding') | 1998 @DomName('CSSCharsetRule.encoding') |
| 1935 @DocsEditable | 1999 @DocsEditable |
| 1936 String encoding; | 2000 String encoding; |
| 1937 } | 2001 } |
| 1938 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 2002 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1939 // for details. All rights reserved. Use of this source code is governed by a | 2003 // for details. All rights reserved. Use of this source code is governed by a |
| 1940 // BSD-style license that can be found in the LICENSE file. | 2004 // BSD-style license that can be found in the LICENSE file. |
| 1941 | 2005 |
| 1942 | 2006 |
| 1943 @DocsEditable | 2007 @DocsEditable |
| 1944 @DomName('WebKitCSSFilterRule') | 2008 @DomName('WebKitCSSFilterRule') |
| 1945 @SupportedBrowser(SupportedBrowser.CHROME) | 2009 @SupportedBrowser(SupportedBrowser.CHROME) |
| 1946 @SupportedBrowser(SupportedBrowser.SAFARI) | 2010 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 1947 @Experimental | 2011 @Experimental |
| 1948 // http://www.w3.org/TR/filter-effects/ | 2012 // http://www.w3.org/TR/filter-effects/ |
| 1949 class CssFilterRule extends CssRule native "WebKitCSSFilterRule" { | 2013 class CssFilterRule extends CssRule native "WebKitCSSFilterRule" { |
| 2014 // To suppress missing implicit constructor warnings. |
| 2015 factory CssFilterRule._() { throw new UnsupportedError("Not supported"); } |
| 1950 | 2016 |
| 1951 @DomName('WebKitCSSFilterRule.style') | 2017 @DomName('WebKitCSSFilterRule.style') |
| 1952 @DocsEditable | 2018 @DocsEditable |
| 1953 final CssStyleDeclaration style; | 2019 final CssStyleDeclaration style; |
| 1954 } | 2020 } |
| 1955 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 2021 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1956 // for details. All rights reserved. Use of this source code is governed by a | 2022 // for details. All rights reserved. Use of this source code is governed by a |
| 1957 // BSD-style license that can be found in the LICENSE file. | 2023 // BSD-style license that can be found in the LICENSE file. |
| 1958 | 2024 |
| 1959 | 2025 |
| 1960 @DocsEditable | 2026 @DocsEditable |
| 1961 @DomName('WebKitCSSFilterValue') | 2027 @DomName('WebKitCSSFilterValue') |
| 1962 @SupportedBrowser(SupportedBrowser.CHROME) | 2028 @SupportedBrowser(SupportedBrowser.CHROME) |
| 1963 @SupportedBrowser(SupportedBrowser.SAFARI) | 2029 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 1964 @Experimental | 2030 @Experimental |
| 1965 // http://dev.w3.org/csswg/cssom/ | 2031 // http://dev.w3.org/csswg/cssom/ |
| 1966 @deprecated // deprecated | 2032 @deprecated // deprecated |
| 1967 class CssFilterValue extends _CssValueList native "WebKitCSSFilterValue" { | 2033 class CssFilterValue extends _CssValueList native "WebKitCSSFilterValue" { |
| 2034 // To suppress missing implicit constructor warnings. |
| 2035 factory CssFilterValue._() { throw new UnsupportedError("Not supported"); } |
| 1968 | 2036 |
| 1969 @DomName('WebKitCSSFilterValue.CSS_FILTER_BLUR') | 2037 @DomName('WebKitCSSFilterValue.CSS_FILTER_BLUR') |
| 1970 @DocsEditable | 2038 @DocsEditable |
| 1971 static const int CSS_FILTER_BLUR = 10; | 2039 static const int CSS_FILTER_BLUR = 10; |
| 1972 | 2040 |
| 1973 @DomName('WebKitCSSFilterValue.CSS_FILTER_BRIGHTNESS') | 2041 @DomName('WebKitCSSFilterValue.CSS_FILTER_BRIGHTNESS') |
| 1974 @DocsEditable | 2042 @DocsEditable |
| 1975 static const int CSS_FILTER_BRIGHTNESS = 8; | 2043 static const int CSS_FILTER_BRIGHTNESS = 8; |
| 1976 | 2044 |
| 1977 @DomName('WebKitCSSFilterValue.CSS_FILTER_CONTRAST') | 2045 @DomName('WebKitCSSFilterValue.CSS_FILTER_CONTRAST') |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2025 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 2093 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2026 // for details. All rights reserved. Use of this source code is governed by a | 2094 // for details. All rights reserved. Use of this source code is governed by a |
| 2027 // BSD-style license that can be found in the LICENSE file. | 2095 // BSD-style license that can be found in the LICENSE file. |
| 2028 | 2096 |
| 2029 | 2097 |
| 2030 @DocsEditable | 2098 @DocsEditable |
| 2031 @DomName('CSSFontFaceLoadEvent') | 2099 @DomName('CSSFontFaceLoadEvent') |
| 2032 // http://www.w3.org/TR/css3-fonts/ | 2100 // http://www.w3.org/TR/css3-fonts/ |
| 2033 @Experimental | 2101 @Experimental |
| 2034 class CssFontFaceLoadEvent extends Event native "CSSFontFaceLoadEvent" { | 2102 class CssFontFaceLoadEvent extends Event native "CSSFontFaceLoadEvent" { |
| 2103 // To suppress missing implicit constructor warnings. |
| 2104 factory CssFontFaceLoadEvent._() { throw new UnsupportedError("Not supported")
; } |
| 2035 | 2105 |
| 2036 @DomName('CSSFontFaceLoadEvent.error') | 2106 @DomName('CSSFontFaceLoadEvent.error') |
| 2037 @DocsEditable | 2107 @DocsEditable |
| 2038 final DomError error; | 2108 final DomError error; |
| 2039 | 2109 |
| 2040 @DomName('CSSFontFaceLoadEvent.fontface') | 2110 @DomName('CSSFontFaceLoadEvent.fontface') |
| 2041 @DocsEditable | 2111 @DocsEditable |
| 2042 final CssFontFaceRule fontface; | 2112 final CssFontFaceRule fontface; |
| 2043 } | 2113 } |
| 2044 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 2114 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2045 // for details. All rights reserved. Use of this source code is governed by a | 2115 // for details. All rights reserved. Use of this source code is governed by a |
| 2046 // BSD-style license that can be found in the LICENSE file. | 2116 // BSD-style license that can be found in the LICENSE file. |
| 2047 | 2117 |
| 2048 | 2118 |
| 2049 @DocsEditable | 2119 @DocsEditable |
| 2050 @DomName('CSSFontFaceRule') | 2120 @DomName('CSSFontFaceRule') |
| 2051 class CssFontFaceRule extends CssRule native "CSSFontFaceRule" { | 2121 class CssFontFaceRule extends CssRule native "CSSFontFaceRule" { |
| 2122 // To suppress missing implicit constructor warnings. |
| 2123 factory CssFontFaceRule._() { throw new UnsupportedError("Not supported"); } |
| 2052 | 2124 |
| 2053 @DomName('CSSFontFaceRule.style') | 2125 @DomName('CSSFontFaceRule.style') |
| 2054 @DocsEditable | 2126 @DocsEditable |
| 2055 final CssStyleDeclaration style; | 2127 final CssStyleDeclaration style; |
| 2056 } | 2128 } |
| 2057 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 2129 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2058 // for details. All rights reserved. Use of this source code is governed by a | 2130 // for details. All rights reserved. Use of this source code is governed by a |
| 2059 // BSD-style license that can be found in the LICENSE file. | 2131 // BSD-style license that can be found in the LICENSE file. |
| 2060 | 2132 |
| 2061 | 2133 |
| 2062 @DocsEditable | 2134 @DocsEditable |
| 2063 @DomName('CSSHostRule') | 2135 @DomName('CSSHostRule') |
| 2064 @SupportedBrowser(SupportedBrowser.CHROME, '26') | 2136 @SupportedBrowser(SupportedBrowser.CHROME, '26') |
| 2065 @Experimental | 2137 @Experimental |
| 2066 // https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/shadow/index.html#css-
host-rule-interface | 2138 // https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/shadow/index.html#css-
host-rule-interface |
| 2067 class CssHostRule extends CssRule native "CSSHostRule" { | 2139 class CssHostRule extends CssRule native "CSSHostRule" { |
| 2140 // To suppress missing implicit constructor warnings. |
| 2141 factory CssHostRule._() { throw new UnsupportedError("Not supported"); } |
| 2068 | 2142 |
| 2069 @DomName('CSSHostRule.cssRules') | 2143 @DomName('CSSHostRule.cssRules') |
| 2070 @DocsEditable | 2144 @DocsEditable |
| 2071 @Returns('_CssRuleList') | 2145 @Returns('_CssRuleList') |
| 2072 @Creates('_CssRuleList') | 2146 @Creates('_CssRuleList') |
| 2073 final List<CssRule> cssRules; | 2147 final List<CssRule> cssRules; |
| 2074 | 2148 |
| 2075 @DomName('CSSHostRule.deleteRule') | 2149 @DomName('CSSHostRule.deleteRule') |
| 2076 @DocsEditable | 2150 @DocsEditable |
| 2077 void deleteRule(int index) native; | 2151 void deleteRule(int index) native; |
| 2078 | 2152 |
| 2079 @DomName('CSSHostRule.insertRule') | 2153 @DomName('CSSHostRule.insertRule') |
| 2080 @DocsEditable | 2154 @DocsEditable |
| 2081 int insertRule(String rule, int index) native; | 2155 int insertRule(String rule, int index) native; |
| 2082 } | 2156 } |
| 2083 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 2157 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2084 // for details. All rights reserved. Use of this source code is governed by a | 2158 // for details. All rights reserved. Use of this source code is governed by a |
| 2085 // BSD-style license that can be found in the LICENSE file. | 2159 // BSD-style license that can be found in the LICENSE file. |
| 2086 | 2160 |
| 2087 | 2161 |
| 2088 @DocsEditable | 2162 @DocsEditable |
| 2089 @DomName('CSSImportRule') | 2163 @DomName('CSSImportRule') |
| 2090 class CssImportRule extends CssRule native "CSSImportRule" { | 2164 class CssImportRule extends CssRule native "CSSImportRule" { |
| 2165 // To suppress missing implicit constructor warnings. |
| 2166 factory CssImportRule._() { throw new UnsupportedError("Not supported"); } |
| 2091 | 2167 |
| 2092 @DomName('CSSImportRule.href') | 2168 @DomName('CSSImportRule.href') |
| 2093 @DocsEditable | 2169 @DocsEditable |
| 2094 final String href; | 2170 final String href; |
| 2095 | 2171 |
| 2096 @DomName('CSSImportRule.media') | 2172 @DomName('CSSImportRule.media') |
| 2097 @DocsEditable | 2173 @DocsEditable |
| 2098 final MediaList media; | 2174 final MediaList media; |
| 2099 | 2175 |
| 2100 @DomName('CSSImportRule.styleSheet') | 2176 @DomName('CSSImportRule.styleSheet') |
| 2101 @DocsEditable | 2177 @DocsEditable |
| 2102 final CssStyleSheet styleSheet; | 2178 final CssStyleSheet styleSheet; |
| 2103 } | 2179 } |
| 2104 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 2180 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2105 // for details. All rights reserved. Use of this source code is governed by a | 2181 // for details. All rights reserved. Use of this source code is governed by a |
| 2106 // BSD-style license that can be found in the LICENSE file. | 2182 // BSD-style license that can be found in the LICENSE file. |
| 2107 | 2183 |
| 2108 | 2184 |
| 2109 @DocsEditable | 2185 @DocsEditable |
| 2110 @DomName('WebKitCSSKeyframeRule') | 2186 @DomName('WebKitCSSKeyframeRule') |
| 2111 @SupportedBrowser(SupportedBrowser.CHROME) | 2187 @SupportedBrowser(SupportedBrowser.CHROME) |
| 2112 @SupportedBrowser(SupportedBrowser.SAFARI) | 2188 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 2113 @Experimental | 2189 @Experimental |
| 2114 // http://www.w3.org/TR/css3-animations/#CSSKeyframeRule-interface | 2190 // http://www.w3.org/TR/css3-animations/#CSSKeyframeRule-interface |
| 2115 class CssKeyframeRule extends CssRule native "CSSKeyframeRule,MozCSSKeyframeRule
,WebKitCSSKeyframeRule" { | 2191 class CssKeyframeRule extends CssRule native "CSSKeyframeRule,MozCSSKeyframeRule
,WebKitCSSKeyframeRule" { |
| 2192 // To suppress missing implicit constructor warnings. |
| 2193 factory CssKeyframeRule._() { throw new UnsupportedError("Not supported"); } |
| 2116 | 2194 |
| 2117 @DomName('WebKitCSSKeyframeRule.keyText') | 2195 @DomName('WebKitCSSKeyframeRule.keyText') |
| 2118 @DocsEditable | 2196 @DocsEditable |
| 2119 String keyText; | 2197 String keyText; |
| 2120 | 2198 |
| 2121 @DomName('WebKitCSSKeyframeRule.style') | 2199 @DomName('WebKitCSSKeyframeRule.style') |
| 2122 @DocsEditable | 2200 @DocsEditable |
| 2123 final CssStyleDeclaration style; | 2201 final CssStyleDeclaration style; |
| 2124 } | 2202 } |
| 2125 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 2203 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2126 // for details. All rights reserved. Use of this source code is governed by a | 2204 // for details. All rights reserved. Use of this source code is governed by a |
| 2127 // BSD-style license that can be found in the LICENSE file. | 2205 // BSD-style license that can be found in the LICENSE file. |
| 2128 | 2206 |
| 2129 | 2207 |
| 2130 @DocsEditable | 2208 @DocsEditable |
| 2131 @DomName('WebKitCSSKeyframesRule') | 2209 @DomName('WebKitCSSKeyframesRule') |
| 2132 @SupportedBrowser(SupportedBrowser.CHROME) | 2210 @SupportedBrowser(SupportedBrowser.CHROME) |
| 2133 @SupportedBrowser(SupportedBrowser.SAFARI) | 2211 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 2134 @Experimental | 2212 @Experimental |
| 2135 // http://www.w3.org/TR/css3-animations/#csskeyframesrule | 2213 // http://www.w3.org/TR/css3-animations/#csskeyframesrule |
| 2136 class CssKeyframesRule extends CssRule native "CSSKeyframesRule,MozCSSKeyframesR
ule,WebKitCSSKeyframesRule" { | 2214 class CssKeyframesRule extends CssRule native "CSSKeyframesRule,MozCSSKeyframesR
ule,WebKitCSSKeyframesRule" { |
| 2215 // To suppress missing implicit constructor warnings. |
| 2216 factory CssKeyframesRule._() { throw new UnsupportedError("Not supported"); } |
| 2137 | 2217 |
| 2138 @DomName('WebKitCSSKeyframesRule.cssRules') | 2218 @DomName('WebKitCSSKeyframesRule.cssRules') |
| 2139 @DocsEditable | 2219 @DocsEditable |
| 2140 @Returns('_CssRuleList') | 2220 @Returns('_CssRuleList') |
| 2141 @Creates('_CssRuleList') | 2221 @Creates('_CssRuleList') |
| 2142 final List<CssRule> cssRules; | 2222 final List<CssRule> cssRules; |
| 2143 | 2223 |
| 2144 @DomName('WebKitCSSKeyframesRule.name') | 2224 @DomName('WebKitCSSKeyframesRule.name') |
| 2145 @DocsEditable | 2225 @DocsEditable |
| 2146 String name; | 2226 String name; |
| (...skipping 28 matching lines...) Expand all Loading... |
| 2175 @DomName('WebKitCSSMatrix') | 2255 @DomName('WebKitCSSMatrix') |
| 2176 @SupportedBrowser(SupportedBrowser.CHROME) | 2256 @SupportedBrowser(SupportedBrowser.CHROME) |
| 2177 @SupportedBrowser(SupportedBrowser.SAFARI) | 2257 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 2178 @Experimental | 2258 @Experimental |
| 2179 @SupportedBrowser(SupportedBrowser.CHROME) | 2259 @SupportedBrowser(SupportedBrowser.CHROME) |
| 2180 @SupportedBrowser(SupportedBrowser.SAFARI) | 2260 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 2181 @Experimental | 2261 @Experimental |
| 2182 // http://dev.w3.org/csswg/cssom/ | 2262 // http://dev.w3.org/csswg/cssom/ |
| 2183 @deprecated // deprecated | 2263 @deprecated // deprecated |
| 2184 class CssMatrix native "WebKitCSSMatrix" { | 2264 class CssMatrix native "WebKitCSSMatrix" { |
| 2265 // To suppress missing implicit constructor warnings. |
| 2266 factory CssMatrix._() { throw new UnsupportedError("Not supported"); } |
| 2185 | 2267 |
| 2186 @DomName('WebKitCSSMatrix.CSSMatrix') | 2268 @DomName('WebKitCSSMatrix.CSSMatrix') |
| 2187 @DocsEditable | 2269 @DocsEditable |
| 2188 factory CssMatrix([String cssValue]) { | 2270 factory CssMatrix([String cssValue]) { |
| 2189 if (cssValue != null) { | 2271 if (cssValue != null) { |
| 2190 return CssMatrix._create_1(cssValue); | 2272 return CssMatrix._create_1(cssValue); |
| 2191 } | 2273 } |
| 2192 return CssMatrix._create_2(); | 2274 return CssMatrix._create_2(); |
| 2193 } | 2275 } |
| 2194 static CssMatrix _create_1(cssValue) => JS('CssMatrix', 'new WebKitCSSMatrix(#
)', cssValue); | 2276 static CssMatrix _create_1(cssValue) => JS('CssMatrix', 'new WebKitCSSMatrix(#
)', cssValue); |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2323 CssMatrix translate(num x, num y, num z) native; | 2405 CssMatrix translate(num x, num y, num z) native; |
| 2324 } | 2406 } |
| 2325 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 2407 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2326 // for details. All rights reserved. Use of this source code is governed by a | 2408 // for details. All rights reserved. Use of this source code is governed by a |
| 2327 // BSD-style license that can be found in the LICENSE file. | 2409 // BSD-style license that can be found in the LICENSE file. |
| 2328 | 2410 |
| 2329 | 2411 |
| 2330 @DocsEditable | 2412 @DocsEditable |
| 2331 @DomName('CSSMediaRule') | 2413 @DomName('CSSMediaRule') |
| 2332 class CssMediaRule extends CssRule native "CSSMediaRule" { | 2414 class CssMediaRule extends CssRule native "CSSMediaRule" { |
| 2415 // To suppress missing implicit constructor warnings. |
| 2416 factory CssMediaRule._() { throw new UnsupportedError("Not supported"); } |
| 2333 | 2417 |
| 2334 @DomName('CSSMediaRule.cssRules') | 2418 @DomName('CSSMediaRule.cssRules') |
| 2335 @DocsEditable | 2419 @DocsEditable |
| 2336 @Returns('_CssRuleList') | 2420 @Returns('_CssRuleList') |
| 2337 @Creates('_CssRuleList') | 2421 @Creates('_CssRuleList') |
| 2338 final List<CssRule> cssRules; | 2422 final List<CssRule> cssRules; |
| 2339 | 2423 |
| 2340 @DomName('CSSMediaRule.media') | 2424 @DomName('CSSMediaRule.media') |
| 2341 @DocsEditable | 2425 @DocsEditable |
| 2342 final MediaList media; | 2426 final MediaList media; |
| (...skipping 12 matching lines...) Expand all Loading... |
| 2355 | 2439 |
| 2356 | 2440 |
| 2357 @DocsEditable | 2441 @DocsEditable |
| 2358 @DomName('WebKitCSSMixFunctionValue') | 2442 @DomName('WebKitCSSMixFunctionValue') |
| 2359 @SupportedBrowser(SupportedBrowser.CHROME) | 2443 @SupportedBrowser(SupportedBrowser.CHROME) |
| 2360 @SupportedBrowser(SupportedBrowser.SAFARI) | 2444 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 2361 @Experimental | 2445 @Experimental |
| 2362 // http://dev.w3.org/csswg/cssom/ | 2446 // http://dev.w3.org/csswg/cssom/ |
| 2363 @deprecated // deprecated | 2447 @deprecated // deprecated |
| 2364 class CssMixFunctionValue extends _CssValueList native "WebKitCSSMixFunctionValu
e" { | 2448 class CssMixFunctionValue extends _CssValueList native "WebKitCSSMixFunctionValu
e" { |
| 2449 // To suppress missing implicit constructor warnings. |
| 2450 factory CssMixFunctionValue._() { throw new UnsupportedError("Not supported");
} |
| 2365 } | 2451 } |
| 2366 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 2452 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2367 // for details. All rights reserved. Use of this source code is governed by a | 2453 // for details. All rights reserved. Use of this source code is governed by a |
| 2368 // BSD-style license that can be found in the LICENSE file. | 2454 // BSD-style license that can be found in the LICENSE file. |
| 2369 | 2455 |
| 2370 | 2456 |
| 2371 @DocsEditable | 2457 @DocsEditable |
| 2372 @DomName('CSSPageRule') | 2458 @DomName('CSSPageRule') |
| 2373 class CssPageRule extends CssRule native "CSSPageRule" { | 2459 class CssPageRule extends CssRule native "CSSPageRule" { |
| 2460 // To suppress missing implicit constructor warnings. |
| 2461 factory CssPageRule._() { throw new UnsupportedError("Not supported"); } |
| 2374 | 2462 |
| 2375 @DomName('CSSPageRule.selectorText') | 2463 @DomName('CSSPageRule.selectorText') |
| 2376 @DocsEditable | 2464 @DocsEditable |
| 2377 String selectorText; | 2465 String selectorText; |
| 2378 | 2466 |
| 2379 @DomName('CSSPageRule.style') | 2467 @DomName('CSSPageRule.style') |
| 2380 @DocsEditable | 2468 @DocsEditable |
| 2381 final CssStyleDeclaration style; | 2469 final CssStyleDeclaration style; |
| 2382 } | 2470 } |
| 2383 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 2471 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2384 // for details. All rights reserved. Use of this source code is governed by a | 2472 // for details. All rights reserved. Use of this source code is governed by a |
| 2385 // BSD-style license that can be found in the LICENSE file. | 2473 // BSD-style license that can be found in the LICENSE file. |
| 2386 | 2474 |
| 2387 | 2475 |
| 2388 @DocsEditable | 2476 @DocsEditable |
| 2389 @DomName('WebKitCSSRegionRule') | 2477 @DomName('WebKitCSSRegionRule') |
| 2390 @SupportedBrowser(SupportedBrowser.CHROME) | 2478 @SupportedBrowser(SupportedBrowser.CHROME) |
| 2391 @SupportedBrowser(SupportedBrowser.SAFARI) | 2479 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 2392 @Experimental | 2480 @Experimental |
| 2393 // http://dev.w3.org/csswg/css-regions/#region-style-rule-interface | 2481 // http://dev.w3.org/csswg/css-regions/#region-style-rule-interface |
| 2394 class CssRegionRule extends CssRule native "WebKitCSSRegionRule" { | 2482 class CssRegionRule extends CssRule native "WebKitCSSRegionRule" { |
| 2483 // To suppress missing implicit constructor warnings. |
| 2484 factory CssRegionRule._() { throw new UnsupportedError("Not supported"); } |
| 2395 | 2485 |
| 2396 @DomName('WebKitCSSRegionRule.cssRules') | 2486 @DomName('WebKitCSSRegionRule.cssRules') |
| 2397 @DocsEditable | 2487 @DocsEditable |
| 2398 @Returns('_CssRuleList') | 2488 @Returns('_CssRuleList') |
| 2399 @Creates('_CssRuleList') | 2489 @Creates('_CssRuleList') |
| 2400 final List<CssRule> cssRules; | 2490 final List<CssRule> cssRules; |
| 2401 } | 2491 } |
| 2402 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 2492 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2403 // for details. All rights reserved. Use of this source code is governed by a | 2493 // for details. All rights reserved. Use of this source code is governed by a |
| 2404 // BSD-style license that can be found in the LICENSE file. | 2494 // BSD-style license that can be found in the LICENSE file. |
| 2405 | 2495 |
| 2406 | 2496 |
| 2407 @DocsEditable | 2497 @DocsEditable |
| 2408 @DomName('CSSRule') | 2498 @DomName('CSSRule') |
| 2409 class CssRule native "CSSRule" { | 2499 class CssRule native "CSSRule" { |
| 2500 // To suppress missing implicit constructor warnings. |
| 2501 factory CssRule._() { throw new UnsupportedError("Not supported"); } |
| 2410 | 2502 |
| 2411 @DomName('CSSRule.CHARSET_RULE') | 2503 @DomName('CSSRule.CHARSET_RULE') |
| 2412 @DocsEditable | 2504 @DocsEditable |
| 2413 static const int CHARSET_RULE = 2; | 2505 static const int CHARSET_RULE = 2; |
| 2414 | 2506 |
| 2415 @DomName('CSSRule.FONT_FACE_RULE') | 2507 @DomName('CSSRule.FONT_FACE_RULE') |
| 2416 @DocsEditable | 2508 @DocsEditable |
| 2417 static const int FONT_FACE_RULE = 5; | 2509 static const int FONT_FACE_RULE = 5; |
| 2418 | 2510 |
| 2419 @DomName('CSSRule.HOST_RULE') | 2511 @DomName('CSSRule.HOST_RULE') |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2496 @DomName('CSSStyleDeclaration') | 2588 @DomName('CSSStyleDeclaration') |
| 2497 class CssStyleDeclaration native "CSSStyleDeclaration" { | 2589 class CssStyleDeclaration native "CSSStyleDeclaration" { |
| 2498 factory CssStyleDeclaration() => new CssStyleDeclaration.css(''); | 2590 factory CssStyleDeclaration() => new CssStyleDeclaration.css(''); |
| 2499 | 2591 |
| 2500 factory CssStyleDeclaration.css(String css) { | 2592 factory CssStyleDeclaration.css(String css) { |
| 2501 final style = new Element.tag('div').style; | 2593 final style = new Element.tag('div').style; |
| 2502 style.cssText = css; | 2594 style.cssText = css; |
| 2503 return style; | 2595 return style; |
| 2504 } | 2596 } |
| 2505 | 2597 |
| 2598 // To suppress missing implicit constructor warnings. |
| 2599 factory CssStyleDeclaration._() { throw new UnsupportedError("Not supported");
} |
| 2506 | 2600 |
| 2507 @DomName('CSSStyleDeclaration.cssText') | 2601 @DomName('CSSStyleDeclaration.cssText') |
| 2508 @DocsEditable | 2602 @DocsEditable |
| 2509 String cssText; | 2603 String cssText; |
| 2510 | 2604 |
| 2511 @DomName('CSSStyleDeclaration.length') | 2605 @DomName('CSSStyleDeclaration.length') |
| 2512 @DocsEditable | 2606 @DocsEditable |
| 2513 final int length; | 2607 final int length; |
| 2514 | 2608 |
| 2515 @DomName('CSSStyleDeclaration.parentRule') | 2609 @DomName('CSSStyleDeclaration.parentRule') |
| (...skipping 3213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5729 } | 5823 } |
| 5730 } | 5824 } |
| 5731 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5825 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5732 // for details. All rights reserved. Use of this source code is governed by a | 5826 // for details. All rights reserved. Use of this source code is governed by a |
| 5733 // BSD-style license that can be found in the LICENSE file. | 5827 // BSD-style license that can be found in the LICENSE file. |
| 5734 | 5828 |
| 5735 | 5829 |
| 5736 @DocsEditable | 5830 @DocsEditable |
| 5737 @DomName('CSSStyleRule') | 5831 @DomName('CSSStyleRule') |
| 5738 class CssStyleRule extends CssRule native "CSSStyleRule" { | 5832 class CssStyleRule extends CssRule native "CSSStyleRule" { |
| 5833 // To suppress missing implicit constructor warnings. |
| 5834 factory CssStyleRule._() { throw new UnsupportedError("Not supported"); } |
| 5739 | 5835 |
| 5740 @DomName('CSSStyleRule.selectorText') | 5836 @DomName('CSSStyleRule.selectorText') |
| 5741 @DocsEditable | 5837 @DocsEditable |
| 5742 String selectorText; | 5838 String selectorText; |
| 5743 | 5839 |
| 5744 @DomName('CSSStyleRule.style') | 5840 @DomName('CSSStyleRule.style') |
| 5745 @DocsEditable | 5841 @DocsEditable |
| 5746 final CssStyleDeclaration style; | 5842 final CssStyleDeclaration style; |
| 5747 } | 5843 } |
| 5748 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5844 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5749 // for details. All rights reserved. Use of this source code is governed by a | 5845 // for details. All rights reserved. Use of this source code is governed by a |
| 5750 // BSD-style license that can be found in the LICENSE file. | 5846 // BSD-style license that can be found in the LICENSE file. |
| 5751 | 5847 |
| 5752 | 5848 |
| 5753 @DocsEditable | 5849 @DocsEditable |
| 5754 @DomName('CSSStyleSheet') | 5850 @DomName('CSSStyleSheet') |
| 5755 class CssStyleSheet extends StyleSheet native "CSSStyleSheet" { | 5851 class CssStyleSheet extends StyleSheet native "CSSStyleSheet" { |
| 5852 // To suppress missing implicit constructor warnings. |
| 5853 factory CssStyleSheet._() { throw new UnsupportedError("Not supported"); } |
| 5756 | 5854 |
| 5757 @DomName('CSSStyleSheet.cssRules') | 5855 @DomName('CSSStyleSheet.cssRules') |
| 5758 @DocsEditable | 5856 @DocsEditable |
| 5759 @Returns('_CssRuleList') | 5857 @Returns('_CssRuleList') |
| 5760 @Creates('_CssRuleList') | 5858 @Creates('_CssRuleList') |
| 5761 final List<CssRule> cssRules; | 5859 final List<CssRule> cssRules; |
| 5762 | 5860 |
| 5763 @DomName('CSSStyleSheet.ownerRule') | 5861 @DomName('CSSStyleSheet.ownerRule') |
| 5764 @DocsEditable | 5862 @DocsEditable |
| 5765 final CssRule ownerRule; | 5863 final CssRule ownerRule; |
| (...skipping 24 matching lines...) Expand all Loading... |
| 5790 void removeRule(int index) native; | 5888 void removeRule(int index) native; |
| 5791 } | 5889 } |
| 5792 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5890 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5793 // for details. All rights reserved. Use of this source code is governed by a | 5891 // for details. All rights reserved. Use of this source code is governed by a |
| 5794 // BSD-style license that can be found in the LICENSE file. | 5892 // BSD-style license that can be found in the LICENSE file. |
| 5795 | 5893 |
| 5796 | 5894 |
| 5797 @DocsEditable | 5895 @DocsEditable |
| 5798 @DomName('CSSSupportsRule') | 5896 @DomName('CSSSupportsRule') |
| 5799 class CssSupportsRule extends CssRule native "CSSSupportsRule" { | 5897 class CssSupportsRule extends CssRule native "CSSSupportsRule" { |
| 5898 // To suppress missing implicit constructor warnings. |
| 5899 factory CssSupportsRule._() { throw new UnsupportedError("Not supported"); } |
| 5800 | 5900 |
| 5801 @DomName('CSSSupportsRule.conditionText') | 5901 @DomName('CSSSupportsRule.conditionText') |
| 5802 @DocsEditable | 5902 @DocsEditable |
| 5803 final String conditionText; | 5903 final String conditionText; |
| 5804 | 5904 |
| 5805 @DomName('CSSSupportsRule.cssRules') | 5905 @DomName('CSSSupportsRule.cssRules') |
| 5806 @DocsEditable | 5906 @DocsEditable |
| 5807 @Returns('_CssRuleList') | 5907 @Returns('_CssRuleList') |
| 5808 @Creates('_CssRuleList') | 5908 @Creates('_CssRuleList') |
| 5809 final List<CssRule> cssRules; | 5909 final List<CssRule> cssRules; |
| (...skipping 12 matching lines...) Expand all Loading... |
| 5822 | 5922 |
| 5823 | 5923 |
| 5824 @DocsEditable | 5924 @DocsEditable |
| 5825 @DomName('WebKitCSSTransformValue') | 5925 @DomName('WebKitCSSTransformValue') |
| 5826 @SupportedBrowser(SupportedBrowser.CHROME) | 5926 @SupportedBrowser(SupportedBrowser.CHROME) |
| 5827 @SupportedBrowser(SupportedBrowser.SAFARI) | 5927 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 5828 @Experimental | 5928 @Experimental |
| 5829 // http://dev.w3.org/csswg/cssom/ | 5929 // http://dev.w3.org/csswg/cssom/ |
| 5830 @deprecated // deprecated | 5930 @deprecated // deprecated |
| 5831 class CssTransformValue extends _CssValueList native "WebKitCSSTransformValue" { | 5931 class CssTransformValue extends _CssValueList native "WebKitCSSTransformValue" { |
| 5932 // To suppress missing implicit constructor warnings. |
| 5933 factory CssTransformValue._() { throw new UnsupportedError("Not supported"); } |
| 5832 | 5934 |
| 5833 @DomName('WebKitCSSTransformValue.CSS_MATRIX') | 5935 @DomName('WebKitCSSTransformValue.CSS_MATRIX') |
| 5834 @DocsEditable | 5936 @DocsEditable |
| 5835 static const int CSS_MATRIX = 11; | 5937 static const int CSS_MATRIX = 11; |
| 5836 | 5938 |
| 5837 @DomName('WebKitCSSTransformValue.CSS_MATRIX3D') | 5939 @DomName('WebKitCSSTransformValue.CSS_MATRIX3D') |
| 5838 @DocsEditable | 5940 @DocsEditable |
| 5839 static const int CSS_MATRIX3D = 21; | 5941 static const int CSS_MATRIX3D = 21; |
| 5840 | 5942 |
| 5841 @DomName('WebKitCSSTransformValue.CSS_PERSPECTIVE') | 5943 @DomName('WebKitCSSTransformValue.CSS_PERSPECTIVE') |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5925 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6027 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5926 // for details. All rights reserved. Use of this source code is governed by a | 6028 // for details. All rights reserved. Use of this source code is governed by a |
| 5927 // BSD-style license that can be found in the LICENSE file. | 6029 // BSD-style license that can be found in the LICENSE file. |
| 5928 | 6030 |
| 5929 | 6031 |
| 5930 @DocsEditable | 6032 @DocsEditable |
| 5931 @DomName('CSSUnknownRule') | 6033 @DomName('CSSUnknownRule') |
| 5932 // http://dev.w3.org/csswg/cssom/#the-cssstylesheet-interface | 6034 // http://dev.w3.org/csswg/cssom/#the-cssstylesheet-interface |
| 5933 @deprecated // deprecated | 6035 @deprecated // deprecated |
| 5934 class CssUnknownRule extends CssRule native "CSSUnknownRule" { | 6036 class CssUnknownRule extends CssRule native "CSSUnknownRule" { |
| 6037 // To suppress missing implicit constructor warnings. |
| 6038 factory CssUnknownRule._() { throw new UnsupportedError("Not supported"); } |
| 5935 } | 6039 } |
| 5936 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6040 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5937 // for details. All rights reserved. Use of this source code is governed by a | 6041 // for details. All rights reserved. Use of this source code is governed by a |
| 5938 // BSD-style license that can be found in the LICENSE file. | 6042 // BSD-style license that can be found in the LICENSE file. |
| 5939 | 6043 |
| 5940 | 6044 |
| 5941 @DocsEditable | 6045 @DocsEditable |
| 5942 @DomName('CustomElementConstructor') | 6046 @DomName('CustomElementConstructor') |
| 5943 // https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/custom/index.html#dfn-
custom-element-constructor-generation | 6047 // https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/custom/index.html#dfn-
custom-element-constructor-generation |
| 5944 @deprecated // experimental | 6048 @deprecated // experimental |
| 5945 class CustomElementConstructor native "CustomElementConstructor" { | 6049 class CustomElementConstructor native "CustomElementConstructor" { |
| 6050 // To suppress missing implicit constructor warnings. |
| 6051 factory CustomElementConstructor._() { throw new UnsupportedError("Not support
ed"); } |
| 5946 } | 6052 } |
| 5947 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6053 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5948 // for details. All rights reserved. Use of this source code is governed by a | 6054 // for details. All rights reserved. Use of this source code is governed by a |
| 5949 // BSD-style license that can be found in the LICENSE file. | 6055 // BSD-style license that can be found in the LICENSE file. |
| 5950 | 6056 |
| 5951 // WARNING: Do not edit - generated code. | 6057 // WARNING: Do not edit - generated code. |
| 5952 | 6058 |
| 5953 | 6059 |
| 5954 @DomName('CustomEvent') | 6060 @DomName('CustomEvent') |
| 5955 class CustomEvent extends Event native "CustomEvent" { | 6061 class CustomEvent extends Event native "CustomEvent" { |
| 5956 factory CustomEvent(String type, | 6062 factory CustomEvent(String type, |
| 5957 {bool canBubble: true, bool cancelable: true, Object detail}) { | 6063 {bool canBubble: true, bool cancelable: true, Object detail}) { |
| 5958 | 6064 |
| 5959 final CustomEvent e = document.$dom_createEvent("CustomEvent"); | 6065 final CustomEvent e = document.$dom_createEvent("CustomEvent"); |
| 5960 e.$dom_initCustomEvent(type, canBubble, cancelable, detail); | 6066 e.$dom_initCustomEvent(type, canBubble, cancelable, detail); |
| 5961 | 6067 |
| 5962 return e; | 6068 return e; |
| 5963 } | 6069 } |
| 6070 // To suppress missing implicit constructor warnings. |
| 6071 factory CustomEvent._() { throw new UnsupportedError("Not supported"); } |
| 5964 | 6072 |
| 5965 @DomName('CustomEvent.detail') | 6073 @DomName('CustomEvent.detail') |
| 5966 @DocsEditable | 6074 @DocsEditable |
| 5967 @Creates('Null') | 6075 @Creates('Null') |
| 5968 final Object detail; | 6076 final Object detail; |
| 5969 | 6077 |
| 5970 @JSName('initCustomEvent') | 6078 @JSName('initCustomEvent') |
| 5971 @DomName('CustomEvent.initCustomEvent') | 6079 @DomName('CustomEvent.initCustomEvent') |
| 5972 @DocsEditable | 6080 @DocsEditable |
| 5973 void $dom_initCustomEvent(String typeArg, bool canBubbleArg, bool cancelableAr
g, Object detailArg) native; | 6081 void $dom_initCustomEvent(String typeArg, bool canBubbleArg, bool cancelableAr
g, Object detailArg) native; |
| 5974 | 6082 |
| 5975 } | 6083 } |
| 5976 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6084 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5977 // for details. All rights reserved. Use of this source code is governed by a | 6085 // for details. All rights reserved. Use of this source code is governed by a |
| 5978 // BSD-style license that can be found in the LICENSE file. | 6086 // BSD-style license that can be found in the LICENSE file. |
| 5979 | 6087 |
| 5980 | 6088 |
| 5981 @DocsEditable | 6089 @DocsEditable |
| 5982 @DomName('HTMLDListElement') | 6090 @DomName('HTMLDListElement') |
| 5983 class DListElement extends _HTMLElement native "HTMLDListElement" { | 6091 class DListElement extends _HTMLElement native "HTMLDListElement" { |
| 6092 // To suppress missing implicit constructor warnings. |
| 6093 factory DListElement._() { throw new UnsupportedError("Not supported"); } |
| 5984 | 6094 |
| 5985 @DomName('HTMLDListElement.HTMLDListElement') | 6095 @DomName('HTMLDListElement.HTMLDListElement') |
| 5986 @DocsEditable | 6096 @DocsEditable |
| 5987 factory DListElement() => document.$dom_createElement("dl"); | 6097 factory DListElement() => document.$dom_createElement("dl"); |
| 5988 } | 6098 } |
| 5989 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6099 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5990 // for details. All rights reserved. Use of this source code is governed by a | 6100 // for details. All rights reserved. Use of this source code is governed by a |
| 5991 // BSD-style license that can be found in the LICENSE file. | 6101 // BSD-style license that can be found in the LICENSE file. |
| 5992 | 6102 |
| 5993 | 6103 |
| 5994 @DocsEditable | 6104 @DocsEditable |
| 5995 @DomName('HTMLDataListElement') | 6105 @DomName('HTMLDataListElement') |
| 5996 @SupportedBrowser(SupportedBrowser.CHROME) | 6106 @SupportedBrowser(SupportedBrowser.CHROME) |
| 5997 @SupportedBrowser(SupportedBrowser.FIREFOX) | 6107 @SupportedBrowser(SupportedBrowser.FIREFOX) |
| 5998 @SupportedBrowser(SupportedBrowser.IE, '10') | 6108 @SupportedBrowser(SupportedBrowser.IE, '10') |
| 5999 @SupportedBrowser(SupportedBrowser.SAFARI) | 6109 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 6000 class DataListElement extends _HTMLElement native "HTMLDataListElement" { | 6110 class DataListElement extends _HTMLElement native "HTMLDataListElement" { |
| 6111 // To suppress missing implicit constructor warnings. |
| 6112 factory DataListElement._() { throw new UnsupportedError("Not supported"); } |
| 6001 | 6113 |
| 6002 @DomName('HTMLDataListElement.HTMLDataListElement') | 6114 @DomName('HTMLDataListElement.HTMLDataListElement') |
| 6003 @DocsEditable | 6115 @DocsEditable |
| 6004 factory DataListElement() => document.$dom_createElement("datalist"); | 6116 factory DataListElement() => document.$dom_createElement("datalist"); |
| 6005 | 6117 |
| 6006 /// Checks if this type is supported on the current platform. | 6118 /// Checks if this type is supported on the current platform. |
| 6007 static bool get supported => Element.isTagSupported('datalist'); | 6119 static bool get supported => Element.isTagSupported('datalist'); |
| 6008 | 6120 |
| 6009 @DomName('HTMLDataListElement.options') | 6121 @DomName('HTMLDataListElement.options') |
| 6010 @DocsEditable | 6122 @DocsEditable |
| 6011 final HtmlCollection options; | 6123 final HtmlCollection options; |
| 6012 } | 6124 } |
| 6013 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6125 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 6014 // for details. All rights reserved. Use of this source code is governed by a | 6126 // for details. All rights reserved. Use of this source code is governed by a |
| 6015 // BSD-style license that can be found in the LICENSE file. | 6127 // BSD-style license that can be found in the LICENSE file. |
| 6016 | 6128 |
| 6017 | 6129 |
| 6018 @DocsEditable | 6130 @DocsEditable |
| 6019 @DomName('Clipboard') | 6131 @DomName('Clipboard') |
| 6020 class DataTransfer native "Clipboard" { | 6132 class DataTransfer native "Clipboard" { |
| 6133 // To suppress missing implicit constructor warnings. |
| 6134 factory DataTransfer._() { throw new UnsupportedError("Not supported"); } |
| 6021 | 6135 |
| 6022 @DomName('Clipboard.dropEffect') | 6136 @DomName('Clipboard.dropEffect') |
| 6023 @DocsEditable | 6137 @DocsEditable |
| 6024 String dropEffect; | 6138 String dropEffect; |
| 6025 | 6139 |
| 6026 @DomName('Clipboard.effectAllowed') | 6140 @DomName('Clipboard.effectAllowed') |
| 6027 @DocsEditable | 6141 @DocsEditable |
| 6028 String effectAllowed; | 6142 String effectAllowed; |
| 6029 | 6143 |
| 6030 @DomName('Clipboard.files') | 6144 @DomName('Clipboard.files') |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6076 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6190 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 6077 // for details. All rights reserved. Use of this source code is governed by a | 6191 // for details. All rights reserved. Use of this source code is governed by a |
| 6078 // BSD-style license that can be found in the LICENSE file. | 6192 // BSD-style license that can be found in the LICENSE file. |
| 6079 | 6193 |
| 6080 | 6194 |
| 6081 @DocsEditable | 6195 @DocsEditable |
| 6082 @DomName('DataTransferItem') | 6196 @DomName('DataTransferItem') |
| 6083 // http://www.w3.org/TR/2011/WD-html5-20110113/dnd.html#the-datatransferitem-int
erface | 6197 // http://www.w3.org/TR/2011/WD-html5-20110113/dnd.html#the-datatransferitem-int
erface |
| 6084 @Experimental | 6198 @Experimental |
| 6085 class DataTransferItem native "DataTransferItem" { | 6199 class DataTransferItem native "DataTransferItem" { |
| 6200 // To suppress missing implicit constructor warnings. |
| 6201 factory DataTransferItem._() { throw new UnsupportedError("Not supported"); } |
| 6086 | 6202 |
| 6087 @DomName('DataTransferItem.kind') | 6203 @DomName('DataTransferItem.kind') |
| 6088 @DocsEditable | 6204 @DocsEditable |
| 6089 final String kind; | 6205 final String kind; |
| 6090 | 6206 |
| 6091 @DomName('DataTransferItem.type') | 6207 @DomName('DataTransferItem.type') |
| 6092 @DocsEditable | 6208 @DocsEditable |
| 6093 final String type; | 6209 final String type; |
| 6094 | 6210 |
| 6095 @DomName('DataTransferItem.getAsFile') | 6211 @DomName('DataTransferItem.getAsFile') |
| (...skipping 26 matching lines...) Expand all Loading... |
| 6122 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6238 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 6123 // for details. All rights reserved. Use of this source code is governed by a | 6239 // for details. All rights reserved. Use of this source code is governed by a |
| 6124 // BSD-style license that can be found in the LICENSE file. | 6240 // BSD-style license that can be found in the LICENSE file. |
| 6125 | 6241 |
| 6126 | 6242 |
| 6127 @DocsEditable | 6243 @DocsEditable |
| 6128 @DomName('DataTransferItemList') | 6244 @DomName('DataTransferItemList') |
| 6129 // http://www.whatwg.org/specs/web-apps/current-work/multipage/dnd.html#the-data
transferitemlist-interface | 6245 // http://www.whatwg.org/specs/web-apps/current-work/multipage/dnd.html#the-data
transferitemlist-interface |
| 6130 @Experimental | 6246 @Experimental |
| 6131 class DataTransferItemList native "DataTransferItemList" { | 6247 class DataTransferItemList native "DataTransferItemList" { |
| 6248 // To suppress missing implicit constructor warnings. |
| 6249 factory DataTransferItemList._() { throw new UnsupportedError("Not supported")
; } |
| 6132 | 6250 |
| 6133 @DomName('DataTransferItemList.length') | 6251 @DomName('DataTransferItemList.length') |
| 6134 @DocsEditable | 6252 @DocsEditable |
| 6135 final int length; | 6253 final int length; |
| 6136 | 6254 |
| 6137 @DomName('DataTransferItemList.add') | 6255 @DomName('DataTransferItemList.add') |
| 6138 @DocsEditable | 6256 @DocsEditable |
| 6139 void add(data_OR_file, [String type]) native; | 6257 void add(data_OR_file, [String type]) native; |
| 6140 | 6258 |
| 6141 @DomName('DataTransferItemList.clear') | 6259 @DomName('DataTransferItemList.clear') |
| (...skipping 19 matching lines...) Expand all Loading... |
| 6161 // for details. All rights reserved. Use of this source code is governed by a | 6279 // for details. All rights reserved. Use of this source code is governed by a |
| 6162 // BSD-style license that can be found in the LICENSE file. | 6280 // BSD-style license that can be found in the LICENSE file. |
| 6163 | 6281 |
| 6164 | 6282 |
| 6165 @DocsEditable | 6283 @DocsEditable |
| 6166 @DomName('HTMLDetailsElement') | 6284 @DomName('HTMLDetailsElement') |
| 6167 @SupportedBrowser(SupportedBrowser.CHROME) | 6285 @SupportedBrowser(SupportedBrowser.CHROME) |
| 6168 @SupportedBrowser(SupportedBrowser.SAFARI) | 6286 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 6169 @Experimental | 6287 @Experimental |
| 6170 class DetailsElement extends _HTMLElement native "HTMLDetailsElement" { | 6288 class DetailsElement extends _HTMLElement native "HTMLDetailsElement" { |
| 6289 // To suppress missing implicit constructor warnings. |
| 6290 factory DetailsElement._() { throw new UnsupportedError("Not supported"); } |
| 6171 | 6291 |
| 6172 @DomName('HTMLDetailsElement.HTMLDetailsElement') | 6292 @DomName('HTMLDetailsElement.HTMLDetailsElement') |
| 6173 @DocsEditable | 6293 @DocsEditable |
| 6174 factory DetailsElement() => document.$dom_createElement("details"); | 6294 factory DetailsElement() => document.$dom_createElement("details"); |
| 6175 | 6295 |
| 6176 /// Checks if this type is supported on the current platform. | 6296 /// Checks if this type is supported on the current platform. |
| 6177 static bool get supported => Element.isTagSupported('details'); | 6297 static bool get supported => Element.isTagSupported('details'); |
| 6178 | 6298 |
| 6179 @DomName('HTMLDetailsElement.open') | 6299 @DomName('HTMLDetailsElement.open') |
| 6180 @DocsEditable | 6300 @DocsEditable |
| 6181 bool open; | 6301 bool open; |
| 6182 } | 6302 } |
| 6183 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6303 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 6184 // for details. All rights reserved. Use of this source code is governed by a | 6304 // for details. All rights reserved. Use of this source code is governed by a |
| 6185 // BSD-style license that can be found in the LICENSE file. | 6305 // BSD-style license that can be found in the LICENSE file. |
| 6186 | 6306 |
| 6187 | 6307 |
| 6188 @DocsEditable | 6308 @DocsEditable |
| 6189 @DomName('DeviceAcceleration') | 6309 @DomName('DeviceAcceleration') |
| 6190 // http://dev.w3.org/geo/api/spec-source-orientation.html#devicemotion | 6310 // http://dev.w3.org/geo/api/spec-source-orientation.html#devicemotion |
| 6191 @Experimental | 6311 @Experimental |
| 6192 class DeviceAcceleration native "DeviceAcceleration" { | 6312 class DeviceAcceleration native "DeviceAcceleration" { |
| 6313 // To suppress missing implicit constructor warnings. |
| 6314 factory DeviceAcceleration._() { throw new UnsupportedError("Not supported");
} |
| 6193 | 6315 |
| 6194 @DomName('DeviceAcceleration.x') | 6316 @DomName('DeviceAcceleration.x') |
| 6195 @DocsEditable | 6317 @DocsEditable |
| 6196 final num x; | 6318 final num x; |
| 6197 | 6319 |
| 6198 @DomName('DeviceAcceleration.y') | 6320 @DomName('DeviceAcceleration.y') |
| 6199 @DocsEditable | 6321 @DocsEditable |
| 6200 final num y; | 6322 final num y; |
| 6201 | 6323 |
| 6202 @DomName('DeviceAcceleration.z') | 6324 @DomName('DeviceAcceleration.z') |
| 6203 @DocsEditable | 6325 @DocsEditable |
| 6204 final num z; | 6326 final num z; |
| 6205 } | 6327 } |
| 6206 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6328 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 6207 // for details. All rights reserved. Use of this source code is governed by a | 6329 // for details. All rights reserved. Use of this source code is governed by a |
| 6208 // BSD-style license that can be found in the LICENSE file. | 6330 // BSD-style license that can be found in the LICENSE file. |
| 6209 | 6331 |
| 6210 | 6332 |
| 6211 @DocsEditable | 6333 @DocsEditable |
| 6212 @DomName('DeviceMotionEvent') | 6334 @DomName('DeviceMotionEvent') |
| 6213 // http://dev.w3.org/geo/api/spec-source-orientation.html#devicemotion | 6335 // http://dev.w3.org/geo/api/spec-source-orientation.html#devicemotion |
| 6214 @Experimental | 6336 @Experimental |
| 6215 class DeviceMotionEvent extends Event native "DeviceMotionEvent" { | 6337 class DeviceMotionEvent extends Event native "DeviceMotionEvent" { |
| 6338 // To suppress missing implicit constructor warnings. |
| 6339 factory DeviceMotionEvent._() { throw new UnsupportedError("Not supported"); } |
| 6216 | 6340 |
| 6217 @DomName('DeviceMotionEvent.acceleration') | 6341 @DomName('DeviceMotionEvent.acceleration') |
| 6218 @DocsEditable | 6342 @DocsEditable |
| 6219 final DeviceAcceleration acceleration; | 6343 final DeviceAcceleration acceleration; |
| 6220 | 6344 |
| 6221 @DomName('DeviceMotionEvent.accelerationIncludingGravity') | 6345 @DomName('DeviceMotionEvent.accelerationIncludingGravity') |
| 6222 @DocsEditable | 6346 @DocsEditable |
| 6223 final DeviceAcceleration accelerationIncludingGravity; | 6347 final DeviceAcceleration accelerationIncludingGravity; |
| 6224 | 6348 |
| 6225 @DomName('DeviceMotionEvent.interval') | 6349 @DomName('DeviceMotionEvent.interval') |
| 6226 @DocsEditable | 6350 @DocsEditable |
| 6227 final num interval; | 6351 final num interval; |
| 6228 | 6352 |
| 6229 @DomName('DeviceMotionEvent.rotationRate') | 6353 @DomName('DeviceMotionEvent.rotationRate') |
| 6230 @DocsEditable | 6354 @DocsEditable |
| 6231 final DeviceRotationRate rotationRate; | 6355 final DeviceRotationRate rotationRate; |
| 6232 } | 6356 } |
| 6233 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 6357 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 6234 // for details. All rights reserved. Use of this source code is governed by a | 6358 // for details. All rights reserved. Use of this source code is governed by a |
| 6235 // BSD-style license that can be found in the LICENSE file. | 6359 // BSD-style license that can be found in the LICENSE file. |
| 6236 | 6360 |
| 6237 // WARNING: Do not edit - generated code. | 6361 // WARNING: Do not edit - generated code. |
| 6238 | 6362 |
| 6239 @DomName('DeviceOrientationEvent') | 6363 @DomName('DeviceOrientationEvent') |
| 6240 // http://dev.w3.org/geo/api/spec-source-orientation.html#devicemotion | 6364 // http://dev.w3.org/geo/api/spec-source-orientation.html#devicemotion |
| 6241 @Experimental | 6365 @Experimental |
| 6242 | |
| 6243 class DeviceOrientationEvent extends Event native "DeviceOrientationEvent" { | 6366 class DeviceOrientationEvent extends Event native "DeviceOrientationEvent" { |
| 6244 factory DeviceOrientationEvent(String type, | 6367 factory DeviceOrientationEvent(String type, |
| 6245 {bool canBubble: true, bool cancelable: true, num alpha: 0, num beta: 0, | 6368 {bool canBubble: true, bool cancelable: true, num alpha: 0, num beta: 0, |
| 6246 num gamma: 0, bool absolute: false}) { | 6369 num gamma: 0, bool absolute: false}) { |
| 6247 var e = document.$dom_createEvent("DeviceOrientationEvent"); | 6370 var e = document.$dom_createEvent("DeviceOrientationEvent"); |
| 6248 e.$dom_initDeviceOrientationEvent(type, canBubble, cancelable, alpha, beta, | 6371 e.$dom_initDeviceOrientationEvent(type, canBubble, cancelable, alpha, beta, |
| 6249 gamma, absolute); | 6372 gamma, absolute); |
| 6250 return e; | 6373 return e; |
| 6251 } | 6374 } |
| 6375 // To suppress missing implicit constructor warnings. |
| 6376 factory DeviceOrientationEvent._() { throw new UnsupportedError("Not supported
"); } |
| 6252 | 6377 |
| 6253 @DomName('DeviceOrientationEvent.absolute') | 6378 @DomName('DeviceOrientationEvent.absolute') |
| 6254 @DocsEditable | 6379 @DocsEditable |
| 6255 final bool absolute; | 6380 final bool absolute; |
| 6256 | 6381 |
| 6257 @DomName('DeviceOrientationEvent.alpha') | 6382 @DomName('DeviceOrientationEvent.alpha') |
| 6258 @DocsEditable | 6383 @DocsEditable |
| 6259 final num alpha; | 6384 final num alpha; |
| 6260 | 6385 |
| 6261 @DomName('DeviceOrientationEvent.beta') | 6386 @DomName('DeviceOrientationEvent.beta') |
| (...skipping 13 matching lines...) Expand all Loading... |
| 6275 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6400 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 6276 // for details. All rights reserved. Use of this source code is governed by a | 6401 // for details. All rights reserved. Use of this source code is governed by a |
| 6277 // BSD-style license that can be found in the LICENSE file. | 6402 // BSD-style license that can be found in the LICENSE file. |
| 6278 | 6403 |
| 6279 | 6404 |
| 6280 @DocsEditable | 6405 @DocsEditable |
| 6281 @DomName('DeviceRotationRate') | 6406 @DomName('DeviceRotationRate') |
| 6282 // http://dev.w3.org/geo/api/spec-source-orientation.html#devicemotion | 6407 // http://dev.w3.org/geo/api/spec-source-orientation.html#devicemotion |
| 6283 @Experimental | 6408 @Experimental |
| 6284 class DeviceRotationRate native "DeviceRotationRate" { | 6409 class DeviceRotationRate native "DeviceRotationRate" { |
| 6410 // To suppress missing implicit constructor warnings. |
| 6411 factory DeviceRotationRate._() { throw new UnsupportedError("Not supported");
} |
| 6285 | 6412 |
| 6286 @DomName('DeviceRotationRate.alpha') | 6413 @DomName('DeviceRotationRate.alpha') |
| 6287 @DocsEditable | 6414 @DocsEditable |
| 6288 final num alpha; | 6415 final num alpha; |
| 6289 | 6416 |
| 6290 @DomName('DeviceRotationRate.beta') | 6417 @DomName('DeviceRotationRate.beta') |
| 6291 @DocsEditable | 6418 @DocsEditable |
| 6292 final num beta; | 6419 final num beta; |
| 6293 | 6420 |
| 6294 @DomName('DeviceRotationRate.gamma') | 6421 @DomName('DeviceRotationRate.gamma') |
| 6295 @DocsEditable | 6422 @DocsEditable |
| 6296 final num gamma; | 6423 final num gamma; |
| 6297 } | 6424 } |
| 6298 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6425 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 6299 // for details. All rights reserved. Use of this source code is governed by a | 6426 // for details. All rights reserved. Use of this source code is governed by a |
| 6300 // BSD-style license that can be found in the LICENSE file. | 6427 // BSD-style license that can be found in the LICENSE file. |
| 6301 | 6428 |
| 6302 | 6429 |
| 6303 @DocsEditable | 6430 @DocsEditable |
| 6304 @DomName('HTMLDialogElement') | 6431 @DomName('HTMLDialogElement') |
| 6305 @Unstable | 6432 @Unstable |
| 6306 class DialogElement extends _HTMLElement native "HTMLDialogElement" { | 6433 class DialogElement extends _HTMLElement native "HTMLDialogElement" { |
| 6434 // To suppress missing implicit constructor warnings. |
| 6435 factory DialogElement._() { throw new UnsupportedError("Not supported"); } |
| 6307 | 6436 |
| 6308 @DomName('HTMLDialogElement.open') | 6437 @DomName('HTMLDialogElement.open') |
| 6309 @DocsEditable | 6438 @DocsEditable |
| 6310 bool open; | 6439 bool open; |
| 6311 | 6440 |
| 6312 @DomName('HTMLDialogElement.close') | 6441 @DomName('HTMLDialogElement.close') |
| 6313 @DocsEditable | 6442 @DocsEditable |
| 6314 void close() native; | 6443 void close() native; |
| 6315 | 6444 |
| 6316 @DomName('HTMLDialogElement.show') | 6445 @DomName('HTMLDialogElement.show') |
| 6317 @DocsEditable | 6446 @DocsEditable |
| 6318 void show() native; | 6447 void show() native; |
| 6319 | 6448 |
| 6320 @DomName('HTMLDialogElement.showModal') | 6449 @DomName('HTMLDialogElement.showModal') |
| 6321 @DocsEditable | 6450 @DocsEditable |
| 6322 void showModal() native; | 6451 void showModal() native; |
| 6323 } | 6452 } |
| 6324 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 6453 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 6325 // for details. All rights reserved. Use of this source code is governed by a | 6454 // for details. All rights reserved. Use of this source code is governed by a |
| 6326 // BSD-style license that can be found in the LICENSE file. | 6455 // BSD-style license that can be found in the LICENSE file. |
| 6327 | 6456 |
| 6328 | 6457 |
| 6329 @DomName('DirectoryEntry') | 6458 @DomName('DirectoryEntry') |
| 6330 // http://www.w3.org/TR/file-system-api/#the-directoryentry-interface | 6459 // http://www.w3.org/TR/file-system-api/#the-directoryentry-interface |
| 6331 @Experimental | 6460 @Experimental |
| 6332 class DirectoryEntry extends Entry native "DirectoryEntry" { | 6461 class DirectoryEntry extends Entry native "DirectoryEntry" { |
| 6333 | 6462 |
| 6334 /** | 6463 /** |
| 6335 * Create a new directory with the specified `path`. If `exclusive` is true, | 6464 * Create a new directory with the specified `path`. If `exclusive` is true, |
| 6336 * the returned Future will complete with an error if a directory already | 6465 * the returned Future will complete with an error if a directory already |
| 6337 * exists with the specified `path`. | 6466 * exists with the specified `path`. |
| 6338 */ | 6467 */ |
| 6339 Future<Entry> createDirectory(String path, {bool exclusive: false}) { | 6468 Future<Entry> createDirectory(String path, {bool exclusive: false}) { |
| 6340 return _getDirectory(path, options: | 6469 return _getDirectory(path, options: |
| 6341 {'create': true, 'exclusive': exclusive}); | 6470 {'create': true, 'exclusive': exclusive}); |
| 6342 } | 6471 } |
| 6343 | 6472 |
| 6344 /** | 6473 /** |
| 6345 * Retrieve an already existing directory entry. The returned future will | 6474 * Retrieve an already existing directory entry. The returned future will |
| 6346 * result in an error if a directory at `path` does not exist or if the item | 6475 * result in an error if a directory at `path` does not exist or if the item |
| 6347 * at `path` is not a directory. | 6476 * at `path` is not a directory. |
| 6348 */ | 6477 */ |
| 6349 Future<Entry> getDirectory(String path) { | 6478 Future<Entry> getDirectory(String path) { |
| 6350 return _getDirectory(path); | 6479 return _getDirectory(path); |
| 6351 } | 6480 } |
| 6352 | 6481 |
| 6353 /** | 6482 /** |
| 6354 * Create a new file with the specified `path`. If `exclusive` is true, | 6483 * Create a new file with the specified `path`. If `exclusive` is true, |
| 6355 * the returned Future will complete with an error if a file already | 6484 * the returned Future will complete with an error if a file already |
| 6356 * exists at the specified `path`. | 6485 * exists at the specified `path`. |
| 6357 */ | 6486 */ |
| 6358 Future<Entry> createFile(String path, {bool exclusive: false}) { | 6487 Future<Entry> createFile(String path, {bool exclusive: false}) { |
| 6359 return _getFile(path, options: {'create': true, 'exclusive': exclusive}); | 6488 return _getFile(path, options: {'create': true, 'exclusive': exclusive}); |
| 6360 } | 6489 } |
| 6361 | 6490 |
| 6362 /** | 6491 /** |
| 6363 * Retrieve an already existing file entry. The returned future will | 6492 * Retrieve an already existing file entry. The returned future will |
| 6364 * result in an error if a file at `path` does not exist or if the item at | 6493 * result in an error if a file at `path` does not exist or if the item at |
| 6365 * `path` is not a file. | 6494 * `path` is not a file. |
| 6366 */ | 6495 */ |
| 6367 Future<Entry> getFile(String path) { | 6496 Future<Entry> getFile(String path) { |
| 6368 return _getFile(path); | 6497 return _getFile(path); |
| 6369 } | 6498 } |
| 6499 // To suppress missing implicit constructor warnings. |
| 6500 factory DirectoryEntry._() { throw new UnsupportedError("Not supported"); } |
| 6370 | 6501 |
| 6371 @DomName('DirectoryEntry.createReader') | 6502 @DomName('DirectoryEntry.createReader') |
| 6372 @DocsEditable | 6503 @DocsEditable |
| 6373 DirectoryReader createReader() native; | 6504 DirectoryReader createReader() native; |
| 6374 | 6505 |
| 6375 @DomName('DirectoryEntry.getDirectory') | 6506 @DomName('DirectoryEntry.getDirectory') |
| 6376 @DocsEditable | 6507 @DocsEditable |
| 6377 void __getDirectory(String path, {Map options, _EntryCallback successCallback,
_ErrorCallback errorCallback}) { | 6508 void __getDirectory(String path, {Map options, _EntryCallback successCallback,
_ErrorCallback errorCallback}) { |
| 6378 if (errorCallback != null) { | 6509 if (errorCallback != null) { |
| 6379 var options_1 = convertDartToNative_Dictionary(options); | 6510 var options_1 = convertDartToNative_Dictionary(options); |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6491 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6622 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 6492 // for details. All rights reserved. Use of this source code is governed by a | 6623 // for details. All rights reserved. Use of this source code is governed by a |
| 6493 // BSD-style license that can be found in the LICENSE file. | 6624 // BSD-style license that can be found in the LICENSE file. |
| 6494 | 6625 |
| 6495 | 6626 |
| 6496 @DocsEditable | 6627 @DocsEditable |
| 6497 @DomName('DirectoryReader') | 6628 @DomName('DirectoryReader') |
| 6498 // http://www.w3.org/TR/file-system-api/#the-directoryreader-interface | 6629 // http://www.w3.org/TR/file-system-api/#the-directoryreader-interface |
| 6499 @Experimental | 6630 @Experimental |
| 6500 class DirectoryReader native "DirectoryReader" { | 6631 class DirectoryReader native "DirectoryReader" { |
| 6632 // To suppress missing implicit constructor warnings. |
| 6633 factory DirectoryReader._() { throw new UnsupportedError("Not supported"); } |
| 6501 | 6634 |
| 6502 @JSName('readEntries') | 6635 @JSName('readEntries') |
| 6503 @DomName('DirectoryReader.readEntries') | 6636 @DomName('DirectoryReader.readEntries') |
| 6504 @DocsEditable | 6637 @DocsEditable |
| 6505 void _readEntries(_EntriesCallback successCallback, [_ErrorCallback errorCallb
ack]) native; | 6638 void _readEntries(_EntriesCallback successCallback, [_ErrorCallback errorCallb
ack]) native; |
| 6506 | 6639 |
| 6507 @JSName('readEntries') | 6640 @JSName('readEntries') |
| 6508 @DomName('DirectoryReader.readEntries') | 6641 @DomName('DirectoryReader.readEntries') |
| 6509 @DocsEditable | 6642 @DocsEditable |
| 6510 Future<List<Entry>> readEntries() { | 6643 Future<List<Entry>> readEntries() { |
| (...skipping 26 matching lines...) Expand all Loading... |
| 6537 * document.body.elements.add(elem); | 6670 * document.body.elements.add(elem); |
| 6538 * | 6671 * |
| 6539 * See also: | 6672 * See also: |
| 6540 * | 6673 * |
| 6541 * * [HTML <div> element](http://www.w3.org/TR/html-markup/div.html) from W3C. | 6674 * * [HTML <div> element](http://www.w3.org/TR/html-markup/div.html) from W3C. |
| 6542 * * [Block-level element](http://www.w3.org/TR/CSS2/visuren.html#block-boxes) f
rom W3C. | 6675 * * [Block-level element](http://www.w3.org/TR/CSS2/visuren.html#block-boxes) f
rom W3C. |
| 6543 * * [Inline-level element](http://www.w3.org/TR/CSS2/visuren.html#inline-boxes)
from W3C. | 6676 * * [Inline-level element](http://www.w3.org/TR/CSS2/visuren.html#inline-boxes)
from W3C. |
| 6544 */ | 6677 */ |
| 6545 @DomName('HTMLDivElement') | 6678 @DomName('HTMLDivElement') |
| 6546 class DivElement extends _HTMLElement native "HTMLDivElement" { | 6679 class DivElement extends _HTMLElement native "HTMLDivElement" { |
| 6680 // To suppress missing implicit constructor warnings. |
| 6681 factory DivElement._() { throw new UnsupportedError("Not supported"); } |
| 6547 | 6682 |
| 6548 @DomName('HTMLDivElement.HTMLDivElement') | 6683 @DomName('HTMLDivElement.HTMLDivElement') |
| 6549 @DocsEditable | 6684 @DocsEditable |
| 6550 factory DivElement() => document.$dom_createElement("div"); | 6685 factory DivElement() => document.$dom_createElement("div"); |
| 6551 } | 6686 } |
| 6552 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6687 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 6553 // for details. All rights reserved. Use of this source code is governed by a | 6688 // for details. All rights reserved. Use of this source code is governed by a |
| 6554 // BSD-style license that can be found in the LICENSE file. | 6689 // BSD-style license that can be found in the LICENSE file. |
| 6555 | 6690 |
| 6556 | 6691 |
| 6557 /** | 6692 /** |
| 6558 * The base class for all documents. | 6693 * The base class for all documents. |
| 6559 * | 6694 * |
| 6560 * Each web page loaded in the browser has its own [Document] object, which is | 6695 * Each web page loaded in the browser has its own [Document] object, which is |
| 6561 * typically an [HtmlDocument]. | 6696 * typically an [HtmlDocument]. |
| 6562 * | 6697 * |
| 6563 * If you aren't comfortable with DOM concepts, see the Dart tutorial | 6698 * If you aren't comfortable with DOM concepts, see the Dart tutorial |
| 6564 * [Target 2: Connect Dart & HTML](http://www.dartlang.org/docs/tutorials/connec
t-dart-html/). | 6699 * [Target 2: Connect Dart & HTML](http://www.dartlang.org/docs/tutorials/connec
t-dart-html/). |
| 6565 */ | 6700 */ |
| 6566 @DomName('Document') | 6701 @DomName('Document') |
| 6567 class Document extends Node native "Document" | 6702 class Document extends Node native "Document" |
| 6568 { | 6703 { |
| 6569 | 6704 |
| 6705 // To suppress missing implicit constructor warnings. |
| 6706 factory Document._() { throw new UnsupportedError("Not supported"); } |
| 6570 | 6707 |
| 6571 @DomName('Document.readystatechangeEvent') | 6708 @DomName('Document.readystatechangeEvent') |
| 6572 @DocsEditable | 6709 @DocsEditable |
| 6573 static const EventStreamProvider<Event> readyStateChangeEvent = const EventStr
eamProvider<Event>('readystatechange'); | 6710 static const EventStreamProvider<Event> readyStateChangeEvent = const EventStr
eamProvider<Event>('readystatechange'); |
| 6574 | 6711 |
| 6575 @DomName('Document.securitypolicyviolationEvent') | 6712 @DomName('Document.securitypolicyviolationEvent') |
| 6576 @DocsEditable | 6713 @DocsEditable |
| 6577 // https://dvcs.w3.org/hg/content-security-policy/raw-file/tip/csp-specificati
on.dev.html#widl-Document-onsecuritypolicyviolation | 6714 // https://dvcs.w3.org/hg/content-security-policy/raw-file/tip/csp-specificati
on.dev.html#widl-Document-onsecuritypolicyviolation |
| 6578 @Experimental | 6715 @Experimental |
| 6579 static const EventStreamProvider<SecurityPolicyViolationEvent> securityPolicyV
iolationEvent = const EventStreamProvider<SecurityPolicyViolationEvent>('securit
ypolicyviolation'); | 6716 static const EventStreamProvider<SecurityPolicyViolationEvent> securityPolicyV
iolationEvent = const EventStreamProvider<SecurityPolicyViolationEvent>('securit
ypolicyviolation'); |
| (...skipping 745 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7325 | 7462 |
| 7326 | 7463 |
| 7327 /** | 7464 /** |
| 7328 * Parses the specified text as HTML and adds the resulting node after the | 7465 * Parses the specified text as HTML and adds the resulting node after the |
| 7329 * last child of this document fragment. | 7466 * last child of this document fragment. |
| 7330 */ | 7467 */ |
| 7331 void appendHtml(String text) { | 7468 void appendHtml(String text) { |
| 7332 this.append(new DocumentFragment.html(text)); | 7469 this.append(new DocumentFragment.html(text)); |
| 7333 } | 7470 } |
| 7334 | 7471 |
| 7472 // To suppress missing implicit constructor warnings. |
| 7473 factory DocumentFragment._() { throw new UnsupportedError("Not supported"); } |
| 7335 | 7474 |
| 7336 @DomName('DocumentFragment.childElementCount') | 7475 @DomName('DocumentFragment.childElementCount') |
| 7337 @DocsEditable | 7476 @DocsEditable |
| 7338 final int childElementCount; | 7477 final int childElementCount; |
| 7339 | 7478 |
| 7340 @DomName('DocumentFragment.firstElementChild') | 7479 @DomName('DocumentFragment.firstElementChild') |
| 7341 @DocsEditable | 7480 @DocsEditable |
| 7342 final Element firstElementChild; | 7481 final Element firstElementChild; |
| 7343 | 7482 |
| 7344 @DomName('DocumentFragment.lastElementChild') | 7483 @DomName('DocumentFragment.lastElementChild') |
| (...skipping 16 matching lines...) Expand all Loading... |
| 7361 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 7500 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 7362 // for details. All rights reserved. Use of this source code is governed by a | 7501 // for details. All rights reserved. Use of this source code is governed by a |
| 7363 // BSD-style license that can be found in the LICENSE file. | 7502 // BSD-style license that can be found in the LICENSE file. |
| 7364 | 7503 |
| 7365 | 7504 |
| 7366 @DocsEditable | 7505 @DocsEditable |
| 7367 @DomName('DocumentType') | 7506 @DomName('DocumentType') |
| 7368 // http://www.w3.org/TR/DOM-Level-3-Core/core.html#ID-412266927 | 7507 // http://www.w3.org/TR/DOM-Level-3-Core/core.html#ID-412266927 |
| 7369 @deprecated // stable | 7508 @deprecated // stable |
| 7370 class DocumentType extends Node native "DocumentType" { | 7509 class DocumentType extends Node native "DocumentType" { |
| 7510 // To suppress missing implicit constructor warnings. |
| 7511 factory DocumentType._() { throw new UnsupportedError("Not supported"); } |
| 7371 } | 7512 } |
| 7372 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 7513 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 7373 // for details. All rights reserved. Use of this source code is governed by a | 7514 // for details. All rights reserved. Use of this source code is governed by a |
| 7374 // BSD-style license that can be found in the LICENSE file. | 7515 // BSD-style license that can be found in the LICENSE file. |
| 7375 | 7516 |
| 7376 | 7517 |
| 7377 @DocsEditable | 7518 @DocsEditable |
| 7378 @DomName('DOMError') | 7519 @DomName('DOMError') |
| 7379 class DomError native "DOMError" { | 7520 class DomError native "DOMError" { |
| 7521 // To suppress missing implicit constructor warnings. |
| 7522 factory DomError._() { throw new UnsupportedError("Not supported"); } |
| 7380 | 7523 |
| 7381 @DomName('DOMError.name') | 7524 @DomName('DOMError.name') |
| 7382 @DocsEditable | 7525 @DocsEditable |
| 7383 final String name; | 7526 final String name; |
| 7384 } | 7527 } |
| 7385 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 7528 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 7386 // for details. All rights reserved. Use of this source code is governed by a | 7529 // for details. All rights reserved. Use of this source code is governed by a |
| 7387 // BSD-style license that can be found in the LICENSE file. | 7530 // BSD-style license that can be found in the LICENSE file. |
| 7388 | 7531 |
| 7389 | 7532 |
| (...skipping 26 matching lines...) Expand all Loading... |
| 7416 String get name { | 7559 String get name { |
| 7417 var errorName = JS('String', '#.name', this); | 7560 var errorName = JS('String', '#.name', this); |
| 7418 // Although Safari nightly has updated the name to SecurityError, Safari 5 | 7561 // Although Safari nightly has updated the name to SecurityError, Safari 5 |
| 7419 // and 6 still return SECURITY_ERR. | 7562 // and 6 still return SECURITY_ERR. |
| 7420 if (Device.isWebKit && errorName == 'SECURITY_ERR') return 'SecurityError'; | 7563 if (Device.isWebKit && errorName == 'SECURITY_ERR') return 'SecurityError'; |
| 7421 // Chrome release still uses old string, remove this line when Chrome stable | 7564 // Chrome release still uses old string, remove this line when Chrome stable |
| 7422 // also prints out SyntaxError. | 7565 // also prints out SyntaxError. |
| 7423 if (Device.isWebKit && errorName == 'SYNTAX_ERR') return 'SyntaxError'; | 7566 if (Device.isWebKit && errorName == 'SYNTAX_ERR') return 'SyntaxError'; |
| 7424 return errorName; | 7567 return errorName; |
| 7425 } | 7568 } |
| 7569 // To suppress missing implicit constructor warnings. |
| 7570 factory DomException._() { throw new UnsupportedError("Not supported"); } |
| 7426 | 7571 |
| 7427 @DomName('DOMException.message') | 7572 @DomName('DOMException.message') |
| 7428 @DocsEditable | 7573 @DocsEditable |
| 7429 final String message; | 7574 final String message; |
| 7430 | 7575 |
| 7431 @DomName('DOMException.toString') | 7576 @DomName('DOMException.toString') |
| 7432 @DocsEditable | 7577 @DocsEditable |
| 7433 String toString() native; | 7578 String toString() native; |
| 7434 | 7579 |
| 7435 } | 7580 } |
| 7436 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 7581 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 7437 // for details. All rights reserved. Use of this source code is governed by a | 7582 // for details. All rights reserved. Use of this source code is governed by a |
| 7438 // BSD-style license that can be found in the LICENSE file. | 7583 // BSD-style license that can be found in the LICENSE file. |
| 7439 | 7584 |
| 7440 | 7585 |
| 7441 @DocsEditable | 7586 @DocsEditable |
| 7442 @DomName('DOMImplementation') | 7587 @DomName('DOMImplementation') |
| 7443 class DomImplementation native "DOMImplementation" { | 7588 class DomImplementation native "DOMImplementation" { |
| 7589 // To suppress missing implicit constructor warnings. |
| 7590 factory DomImplementation._() { throw new UnsupportedError("Not supported"); } |
| 7444 | 7591 |
| 7445 @JSName('createCSSStyleSheet') | 7592 @JSName('createCSSStyleSheet') |
| 7446 @DomName('DOMImplementation.createCSSStyleSheet') | 7593 @DomName('DOMImplementation.createCSSStyleSheet') |
| 7447 @DocsEditable | 7594 @DocsEditable |
| 7448 @Experimental // non-standard | 7595 @Experimental // non-standard |
| 7449 CssStyleSheet createCssStyleSheet(String title, String media) native; | 7596 CssStyleSheet createCssStyleSheet(String title, String media) native; |
| 7450 | 7597 |
| 7451 @DomName('DOMImplementation.createDocument') | 7598 @DomName('DOMImplementation.createDocument') |
| 7452 @DocsEditable | 7599 @DocsEditable |
| 7453 Document createDocument(String namespaceURI, String qualifiedName, DocumentTyp
e doctype) native; | 7600 Document createDocument(String namespaceURI, String qualifiedName, DocumentTyp
e doctype) native; |
| (...skipping 12 matching lines...) Expand all Loading... |
| 7466 bool hasFeature(String feature, String version) native; | 7613 bool hasFeature(String feature, String version) native; |
| 7467 } | 7614 } |
| 7468 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 7615 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 7469 // for details. All rights reserved. Use of this source code is governed by a | 7616 // for details. All rights reserved. Use of this source code is governed by a |
| 7470 // BSD-style license that can be found in the LICENSE file. | 7617 // BSD-style license that can be found in the LICENSE file. |
| 7471 | 7618 |
| 7472 | 7619 |
| 7473 @DocsEditable | 7620 @DocsEditable |
| 7474 @DomName('DOMParser') | 7621 @DomName('DOMParser') |
| 7475 class DomParser native "DOMParser" { | 7622 class DomParser native "DOMParser" { |
| 7623 // To suppress missing implicit constructor warnings. |
| 7624 factory DomParser._() { throw new UnsupportedError("Not supported"); } |
| 7476 | 7625 |
| 7477 @DomName('DOMParser.DOMParser') | 7626 @DomName('DOMParser.DOMParser') |
| 7478 @DocsEditable | 7627 @DocsEditable |
| 7479 factory DomParser() { | 7628 factory DomParser() { |
| 7480 return DomParser._create_1(); | 7629 return DomParser._create_1(); |
| 7481 } | 7630 } |
| 7482 static DomParser _create_1() => JS('DomParser', 'new DOMParser()'); | 7631 static DomParser _create_1() => JS('DomParser', 'new DOMParser()'); |
| 7483 | 7632 |
| 7484 @DomName('DOMParser.parseFromString') | 7633 @DomName('DOMParser.parseFromString') |
| 7485 @DocsEditable | 7634 @DocsEditable |
| 7486 Document parseFromString(String str, String contentType) native; | 7635 Document parseFromString(String str, String contentType) native; |
| 7487 } | 7636 } |
| 7488 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 7637 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 7489 // for details. All rights reserved. Use of this source code is governed by a | 7638 // for details. All rights reserved. Use of this source code is governed by a |
| 7490 // BSD-style license that can be found in the LICENSE file. | 7639 // BSD-style license that can be found in the LICENSE file. |
| 7491 | 7640 |
| 7492 | 7641 |
| 7493 @DocsEditable | 7642 @DocsEditable |
| 7494 @DomName('DOMSettableTokenList') | 7643 @DomName('DOMSettableTokenList') |
| 7495 class DomSettableTokenList extends DomTokenList native "DOMSettableTokenList" { | 7644 class DomSettableTokenList extends DomTokenList native "DOMSettableTokenList" { |
| 7645 // To suppress missing implicit constructor warnings. |
| 7646 factory DomSettableTokenList._() { throw new UnsupportedError("Not supported")
; } |
| 7496 | 7647 |
| 7497 @DomName('DOMSettableTokenList.value') | 7648 @DomName('DOMSettableTokenList.value') |
| 7498 @DocsEditable | 7649 @DocsEditable |
| 7499 String value; | 7650 String value; |
| 7500 | 7651 |
| 7501 @DomName('DOMSettableTokenList.__getter__') | 7652 @DomName('DOMSettableTokenList.__getter__') |
| 7502 @DocsEditable | 7653 @DocsEditable |
| 7503 String __getter__(int index) native; | 7654 String __getter__(int index) native; |
| 7504 } | 7655 } |
| 7505 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 7656 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 7506 // for details. All rights reserved. Use of this source code is governed by a | 7657 // for details. All rights reserved. Use of this source code is governed by a |
| 7507 // BSD-style license that can be found in the LICENSE file. | 7658 // BSD-style license that can be found in the LICENSE file. |
| 7508 | 7659 |
| 7509 | 7660 |
| 7510 @DocsEditable | 7661 @DocsEditable |
| 7511 @DomName('DOMStringList') | 7662 @DomName('DOMStringList') |
| 7512 class DomStringList extends Interceptor with ListMixin<String>, ImmutableListMix
in<String> implements JavaScriptIndexingBehavior, List<String> native "DOMString
List" { | 7663 class DomStringList extends Interceptor with ListMixin<String>, ImmutableListMix
in<String> implements JavaScriptIndexingBehavior, List<String> native "DOMString
List" { |
| 7664 // To suppress missing implicit constructor warnings. |
| 7665 factory DomStringList._() { throw new UnsupportedError("Not supported"); } |
| 7513 | 7666 |
| 7514 @DomName('DOMStringList.length') | 7667 @DomName('DOMStringList.length') |
| 7515 @DocsEditable | 7668 @DocsEditable |
| 7516 int get length => JS("int", "#.length", this); | 7669 int get length => JS("int", "#.length", this); |
| 7517 | 7670 |
| 7518 String operator[](int index) { | 7671 String operator[](int index) { |
| 7519 if (JS("bool", "# >>> 0 !== # || # >= #", index, | 7672 if (JS("bool", "# >>> 0 !== # || # >= #", index, |
| 7520 index, index, length)) | 7673 index, index, length)) |
| 7521 throw new RangeError.range(index, 0, length); | 7674 throw new RangeError.range(index, 0, length); |
| 7522 return JS("String", "#[#]", this, index); | 7675 return JS("String", "#[#]", this, index); |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7567 @DocsEditable | 7720 @DocsEditable |
| 7568 String item(int index) native; | 7721 String item(int index) native; |
| 7569 } | 7722 } |
| 7570 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 7723 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 7571 // for details. All rights reserved. Use of this source code is governed by a | 7724 // for details. All rights reserved. Use of this source code is governed by a |
| 7572 // BSD-style license that can be found in the LICENSE file. | 7725 // BSD-style license that can be found in the LICENSE file. |
| 7573 | 7726 |
| 7574 | 7727 |
| 7575 @DomName('DOMStringMap') | 7728 @DomName('DOMStringMap') |
| 7576 abstract class DomStringMap { | 7729 abstract class DomStringMap { |
| 7730 // To suppress missing implicit constructor warnings. |
| 7731 factory DomStringMap._() { throw new UnsupportedError("Not supported"); } |
| 7577 | 7732 |
| 7578 bool __delete__(String name); | 7733 bool __delete__(String name); |
| 7579 | 7734 |
| 7580 String __getter__(String name); | 7735 String __getter__(String name); |
| 7581 | 7736 |
| 7582 void __setter__(String name, String value); | 7737 void __setter__(String name, String value); |
| 7583 } | 7738 } |
| 7584 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 7739 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 7585 // for details. All rights reserved. Use of this source code is governed by a | 7740 // for details. All rights reserved. Use of this source code is governed by a |
| 7586 // BSD-style license that can be found in the LICENSE file. | 7741 // BSD-style license that can be found in the LICENSE file. |
| 7587 | 7742 |
| 7588 | 7743 |
| 7589 @DocsEditable | 7744 @DocsEditable |
| 7590 @DomName('DOMTokenList') | 7745 @DomName('DOMTokenList') |
| 7591 class DomTokenList native "DOMTokenList" { | 7746 class DomTokenList native "DOMTokenList" { |
| 7747 // To suppress missing implicit constructor warnings. |
| 7748 factory DomTokenList._() { throw new UnsupportedError("Not supported"); } |
| 7592 | 7749 |
| 7593 @DomName('DOMTokenList.length') | 7750 @DomName('DOMTokenList.length') |
| 7594 @DocsEditable | 7751 @DocsEditable |
| 7595 final int length; | 7752 final int length; |
| 7596 | 7753 |
| 7597 @DomName('DOMTokenList.contains') | 7754 @DomName('DOMTokenList.contains') |
| 7598 @DocsEditable | 7755 @DocsEditable |
| 7599 bool contains(String token) native; | 7756 bool contains(String token) native; |
| 7600 | 7757 |
| 7601 @DomName('DOMTokenList.item') | 7758 @DomName('DOMTokenList.item') |
| (...skipping 909 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8511 @Experimental | 8668 @Experimental |
| 8512 bool get isTemplate => tagName == 'TEMPLATE' || _isAttributeTemplate; | 8669 bool get isTemplate => tagName == 'TEMPLATE' || _isAttributeTemplate; |
| 8513 | 8670 |
| 8514 void _ensureTemplate() { | 8671 void _ensureTemplate() { |
| 8515 if (!isTemplate) { | 8672 if (!isTemplate) { |
| 8516 throw new UnsupportedError('$this is not a template.'); | 8673 throw new UnsupportedError('$this is not a template.'); |
| 8517 } | 8674 } |
| 8518 TemplateElement.decorate(this); | 8675 TemplateElement.decorate(this); |
| 8519 } | 8676 } |
| 8520 | 8677 |
| 8678 // To suppress missing implicit constructor warnings. |
| 8679 factory Element._() { throw new UnsupportedError("Not supported"); } |
| 8521 | 8680 |
| 8522 @DomName('Element.abortEvent') | 8681 @DomName('Element.abortEvent') |
| 8523 @DocsEditable | 8682 @DocsEditable |
| 8524 static const EventStreamProvider<Event> abortEvent = const EventStreamProvider
<Event>('abort'); | 8683 static const EventStreamProvider<Event> abortEvent = const EventStreamProvider
<Event>('abort'); |
| 8525 | 8684 |
| 8526 @DomName('Element.beforecopyEvent') | 8685 @DomName('Element.beforecopyEvent') |
| 8527 @DocsEditable | 8686 @DocsEditable |
| 8528 static const EventStreamProvider<Event> beforeCopyEvent = const EventStreamPro
vider<Event>('beforecopy'); | 8687 static const EventStreamProvider<Event> beforeCopyEvent = const EventStreamPro
vider<Event>('beforecopy'); |
| 8529 | 8688 |
| 8530 @DomName('Element.beforecutEvent') | 8689 @DomName('Element.beforecutEvent') |
| (...skipping 927 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9458 static const BOTTOM = const ScrollAlignment._internal('BOTTOM'); | 9617 static const BOTTOM = const ScrollAlignment._internal('BOTTOM'); |
| 9459 } | 9618 } |
| 9460 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 9619 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 9461 // for details. All rights reserved. Use of this source code is governed by a | 9620 // for details. All rights reserved. Use of this source code is governed by a |
| 9462 // BSD-style license that can be found in the LICENSE file. | 9621 // BSD-style license that can be found in the LICENSE file. |
| 9463 | 9622 |
| 9464 | 9623 |
| 9465 @DomName('ElementTimeControl') | 9624 @DomName('ElementTimeControl') |
| 9466 @Unstable | 9625 @Unstable |
| 9467 abstract class ElementTimeControl { | 9626 abstract class ElementTimeControl { |
| 9627 // To suppress missing implicit constructor warnings. |
| 9628 factory ElementTimeControl._() { throw new UnsupportedError("Not supported");
} |
| 9468 | 9629 |
| 9469 void beginElement(); | 9630 void beginElement(); |
| 9470 | 9631 |
| 9471 void beginElementAt(num offset); | 9632 void beginElementAt(num offset); |
| 9472 | 9633 |
| 9473 void endElement(); | 9634 void endElement(); |
| 9474 | 9635 |
| 9475 void endElementAt(num offset); | 9636 void endElementAt(num offset); |
| 9476 } | 9637 } |
| 9477 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 9638 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 9478 // for details. All rights reserved. Use of this source code is governed by a | 9639 // for details. All rights reserved. Use of this source code is governed by a |
| 9479 // BSD-style license that can be found in the LICENSE file. | 9640 // BSD-style license that can be found in the LICENSE file. |
| 9480 | 9641 |
| 9481 | 9642 |
| 9482 @DomName('ElementTraversal') | 9643 @DomName('ElementTraversal') |
| 9483 @Unstable | 9644 @Unstable |
| 9484 abstract class ElementTraversal { | 9645 abstract class ElementTraversal { |
| 9646 // To suppress missing implicit constructor warnings. |
| 9647 factory ElementTraversal._() { throw new UnsupportedError("Not supported"); } |
| 9485 | 9648 |
| 9486 int $dom_childElementCount; | 9649 int $dom_childElementCount; |
| 9487 | 9650 |
| 9488 Element $dom_firstElementChild; | 9651 Element $dom_firstElementChild; |
| 9489 | 9652 |
| 9490 Element $dom_lastElementChild; | 9653 Element $dom_lastElementChild; |
| 9491 | 9654 |
| 9492 Element nextElementSibling; | 9655 Element nextElementSibling; |
| 9493 | 9656 |
| 9494 Element previousElementSibling; | 9657 Element previousElementSibling; |
| 9495 } | 9658 } |
| 9496 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 9659 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 9497 // for details. All rights reserved. Use of this source code is governed by a | 9660 // for details. All rights reserved. Use of this source code is governed by a |
| 9498 // BSD-style license that can be found in the LICENSE file. | 9661 // BSD-style license that can be found in the LICENSE file. |
| 9499 | 9662 |
| 9500 | 9663 |
| 9501 @DocsEditable | 9664 @DocsEditable |
| 9502 @DomName('HTMLEmbedElement') | 9665 @DomName('HTMLEmbedElement') |
| 9503 @SupportedBrowser(SupportedBrowser.CHROME) | 9666 @SupportedBrowser(SupportedBrowser.CHROME) |
| 9504 @SupportedBrowser(SupportedBrowser.IE) | 9667 @SupportedBrowser(SupportedBrowser.IE) |
| 9505 @SupportedBrowser(SupportedBrowser.SAFARI) | 9668 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 9506 @Unstable | 9669 @Unstable |
| 9507 class EmbedElement extends _HTMLElement native "HTMLEmbedElement" { | 9670 class EmbedElement extends _HTMLElement native "HTMLEmbedElement" { |
| 9671 // To suppress missing implicit constructor warnings. |
| 9672 factory EmbedElement._() { throw new UnsupportedError("Not supported"); } |
| 9508 | 9673 |
| 9509 @DomName('HTMLEmbedElement.HTMLEmbedElement') | 9674 @DomName('HTMLEmbedElement.HTMLEmbedElement') |
| 9510 @DocsEditable | 9675 @DocsEditable |
| 9511 factory EmbedElement() => document.$dom_createElement("embed"); | 9676 factory EmbedElement() => document.$dom_createElement("embed"); |
| 9512 | 9677 |
| 9513 /// Checks if this type is supported on the current platform. | 9678 /// Checks if this type is supported on the current platform. |
| 9514 static bool get supported => Element.isTagSupported('embed'); | 9679 static bool get supported => Element.isTagSupported('embed'); |
| 9515 | 9680 |
| 9516 @DomName('HTMLEmbedElement.align') | 9681 @DomName('HTMLEmbedElement.align') |
| 9517 @DocsEditable | 9682 @DocsEditable |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9561 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 9726 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 9562 // for details. All rights reserved. Use of this source code is governed by a | 9727 // for details. All rights reserved. Use of this source code is governed by a |
| 9563 // BSD-style license that can be found in the LICENSE file. | 9728 // BSD-style license that can be found in the LICENSE file. |
| 9564 | 9729 |
| 9565 | 9730 |
| 9566 @DocsEditable | 9731 @DocsEditable |
| 9567 @DomName('Entry') | 9732 @DomName('Entry') |
| 9568 // http://www.w3.org/TR/file-system-api/#the-entry-interface | 9733 // http://www.w3.org/TR/file-system-api/#the-entry-interface |
| 9569 @Experimental | 9734 @Experimental |
| 9570 class Entry native "Entry" { | 9735 class Entry native "Entry" { |
| 9736 // To suppress missing implicit constructor warnings. |
| 9737 factory Entry._() { throw new UnsupportedError("Not supported"); } |
| 9571 | 9738 |
| 9572 @DomName('Entry.filesystem') | 9739 @DomName('Entry.filesystem') |
| 9573 @DocsEditable | 9740 @DocsEditable |
| 9574 final FileSystem filesystem; | 9741 final FileSystem filesystem; |
| 9575 | 9742 |
| 9576 @DomName('Entry.fullPath') | 9743 @DomName('Entry.fullPath') |
| 9577 @DocsEditable | 9744 @DocsEditable |
| 9578 final String fullPath; | 9745 final String fullPath; |
| 9579 | 9746 |
| 9580 @DomName('Entry.isDirectory') | 9747 @DomName('Entry.isDirectory') |
| (...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9698 typedef void _ErrorCallback(FileError error); | 9865 typedef void _ErrorCallback(FileError error); |
| 9699 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 9866 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 9700 // for details. All rights reserved. Use of this source code is governed by a | 9867 // for details. All rights reserved. Use of this source code is governed by a |
| 9701 // BSD-style license that can be found in the LICENSE file. | 9868 // BSD-style license that can be found in the LICENSE file. |
| 9702 | 9869 |
| 9703 | 9870 |
| 9704 @DocsEditable | 9871 @DocsEditable |
| 9705 @DomName('ErrorEvent') | 9872 @DomName('ErrorEvent') |
| 9706 @Unstable | 9873 @Unstable |
| 9707 class ErrorEvent extends Event native "ErrorEvent" { | 9874 class ErrorEvent extends Event native "ErrorEvent" { |
| 9875 // To suppress missing implicit constructor warnings. |
| 9876 factory ErrorEvent._() { throw new UnsupportedError("Not supported"); } |
| 9708 | 9877 |
| 9709 @DomName('ErrorEvent.filename') | 9878 @DomName('ErrorEvent.filename') |
| 9710 @DocsEditable | 9879 @DocsEditable |
| 9711 final String filename; | 9880 final String filename; |
| 9712 | 9881 |
| 9713 @DomName('ErrorEvent.lineno') | 9882 @DomName('ErrorEvent.lineno') |
| 9714 @DocsEditable | 9883 @DocsEditable |
| 9715 final int lineno; | 9884 final int lineno; |
| 9716 | 9885 |
| 9717 @DomName('ErrorEvent.message') | 9886 @DomName('ErrorEvent.message') |
| (...skipping 28 matching lines...) Expand all Loading... |
| 9746 * Normally events should be created via their constructors, if available. | 9915 * Normally events should be created via their constructors, if available. |
| 9747 * | 9916 * |
| 9748 * var e = new Event.type('MouseEvent', 'mousedown', true, true); | 9917 * var e = new Event.type('MouseEvent', 'mousedown', true, true); |
| 9749 */ | 9918 */ |
| 9750 factory Event.eventType(String type, String name, {bool canBubble: true, | 9919 factory Event.eventType(String type, String name, {bool canBubble: true, |
| 9751 bool cancelable: true}) { | 9920 bool cancelable: true}) { |
| 9752 final Event e = document.$dom_createEvent(type); | 9921 final Event e = document.$dom_createEvent(type); |
| 9753 e.$dom_initEvent(name, canBubble, cancelable); | 9922 e.$dom_initEvent(name, canBubble, cancelable); |
| 9754 return e; | 9923 return e; |
| 9755 } | 9924 } |
| 9925 // To suppress missing implicit constructor warnings. |
| 9926 factory Event._() { throw new UnsupportedError("Not supported"); } |
| 9756 | 9927 |
| 9757 @DomName('Event.AT_TARGET') | 9928 @DomName('Event.AT_TARGET') |
| 9758 @DocsEditable | 9929 @DocsEditable |
| 9759 static const int AT_TARGET = 2; | 9930 static const int AT_TARGET = 2; |
| 9760 | 9931 |
| 9761 @DomName('Event.BLUR') | 9932 @DomName('Event.BLUR') |
| 9762 @DocsEditable | 9933 @DocsEditable |
| 9763 // https://developer.mozilla.org/en-US/docs/DOM/window.captureEvents | 9934 // https://developer.mozilla.org/en-US/docs/DOM/window.captureEvents |
| 9764 @deprecated // deprecated | 9935 @deprecated // deprecated |
| 9765 static const int BLUR = 8192; | 9936 static const int BLUR = 8192; |
| (...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9951 } | 10122 } |
| 9952 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 10123 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 9953 // for details. All rights reserved. Use of this source code is governed by a | 10124 // for details. All rights reserved. Use of this source code is governed by a |
| 9954 // BSD-style license that can be found in the LICENSE file. | 10125 // BSD-style license that can be found in the LICENSE file. |
| 9955 | 10126 |
| 9956 | 10127 |
| 9957 @DocsEditable | 10128 @DocsEditable |
| 9958 @DomName('EventException') | 10129 @DomName('EventException') |
| 9959 @Unstable | 10130 @Unstable |
| 9960 class EventException native "EventException" { | 10131 class EventException native "EventException" { |
| 10132 // To suppress missing implicit constructor warnings. |
| 10133 factory EventException._() { throw new UnsupportedError("Not supported"); } |
| 9961 | 10134 |
| 9962 @DomName('EventException.DISPATCH_REQUEST_ERR') | 10135 @DomName('EventException.DISPATCH_REQUEST_ERR') |
| 9963 @DocsEditable | 10136 @DocsEditable |
| 9964 static const int DISPATCH_REQUEST_ERR = 1; | 10137 static const int DISPATCH_REQUEST_ERR = 1; |
| 9965 | 10138 |
| 9966 @DomName('EventException.UNSPECIFIED_EVENT_TYPE_ERR') | 10139 @DomName('EventException.UNSPECIFIED_EVENT_TYPE_ERR') |
| 9967 @DocsEditable | 10140 @DocsEditable |
| 9968 static const int UNSPECIFIED_EVENT_TYPE_ERR = 0; | 10141 static const int UNSPECIFIED_EVENT_TYPE_ERR = 0; |
| 9969 | 10142 |
| 9970 @DomName('EventException.code') | 10143 @DomName('EventException.code') |
| (...skipping 22 matching lines...) Expand all Loading... |
| 9993 @DomName('EventSource') | 10166 @DomName('EventSource') |
| 9994 // http://www.w3.org/TR/eventsource/#the-eventsource-interface | 10167 // http://www.w3.org/TR/eventsource/#the-eventsource-interface |
| 9995 @Experimental // stable | 10168 @Experimental // stable |
| 9996 class EventSource extends EventTarget native "EventSource" { | 10169 class EventSource extends EventTarget native "EventSource" { |
| 9997 factory EventSource(String title, {withCredentials: false}) { | 10170 factory EventSource(String title, {withCredentials: false}) { |
| 9998 var parsedOptions = { | 10171 var parsedOptions = { |
| 9999 'withCredentials': withCredentials, | 10172 'withCredentials': withCredentials, |
| 10000 }; | 10173 }; |
| 10001 return EventSource._factoryEventSource(title, parsedOptions); | 10174 return EventSource._factoryEventSource(title, parsedOptions); |
| 10002 } | 10175 } |
| 10176 // To suppress missing implicit constructor warnings. |
| 10177 factory EventSource._() { throw new UnsupportedError("Not supported"); } |
| 10003 | 10178 |
| 10004 @DomName('EventSource.errorEvent') | 10179 @DomName('EventSource.errorEvent') |
| 10005 @DocsEditable | 10180 @DocsEditable |
| 10006 static const EventStreamProvider<Event> errorEvent = const EventStreamProvider
<Event>('error'); | 10181 static const EventStreamProvider<Event> errorEvent = const EventStreamProvider
<Event>('error'); |
| 10007 | 10182 |
| 10008 @DomName('EventSource.messageEvent') | 10183 @DomName('EventSource.messageEvent') |
| 10009 @DocsEditable | 10184 @DocsEditable |
| 10010 static const EventStreamProvider<MessageEvent> messageEvent = const EventStrea
mProvider<MessageEvent>('message'); | 10185 static const EventStreamProvider<MessageEvent> messageEvent = const EventStrea
mProvider<MessageEvent>('message'); |
| 10011 | 10186 |
| 10012 @DomName('EventSource.openEvent') | 10187 @DomName('EventSource.openEvent') |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10139 * for compile-time type checks and a more concise API. | 10314 * for compile-time type checks and a more concise API. |
| 10140 */ | 10315 */ |
| 10141 @DomName('EventTarget') | 10316 @DomName('EventTarget') |
| 10142 class EventTarget native "EventTarget" { | 10317 class EventTarget native "EventTarget" { |
| 10143 | 10318 |
| 10144 /** | 10319 /** |
| 10145 * This is an ease-of-use accessor for event streams which should only be | 10320 * This is an ease-of-use accessor for event streams which should only be |
| 10146 * used when an explicit accessor is not available. | 10321 * used when an explicit accessor is not available. |
| 10147 */ | 10322 */ |
| 10148 Events get on => new Events(this); | 10323 Events get on => new Events(this); |
| 10324 // To suppress missing implicit constructor warnings. |
| 10325 factory EventTarget._() { throw new UnsupportedError("Not supported"); } |
| 10149 | 10326 |
| 10150 @JSName('addEventListener') | 10327 @JSName('addEventListener') |
| 10151 @DomName('EventTarget.addEventListener') | 10328 @DomName('EventTarget.addEventListener') |
| 10152 @DocsEditable | 10329 @DocsEditable |
| 10153 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]) native; | 10330 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]) native; |
| 10154 | 10331 |
| 10155 @DomName('EventTarget.dispatchEvent') | 10332 @DomName('EventTarget.dispatchEvent') |
| 10156 @DocsEditable | 10333 @DocsEditable |
| 10157 bool dispatchEvent(Event event) native; | 10334 bool dispatchEvent(Event event) native; |
| 10158 | 10335 |
| 10159 @JSName('removeEventListener') | 10336 @JSName('removeEventListener') |
| 10160 @DomName('EventTarget.removeEventListener') | 10337 @DomName('EventTarget.removeEventListener') |
| 10161 @DocsEditable | 10338 @DocsEditable |
| 10162 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]) native; | 10339 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]) native; |
| 10163 | 10340 |
| 10164 } | 10341 } |
| 10165 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 10342 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 10166 // for details. All rights reserved. Use of this source code is governed by a | 10343 // for details. All rights reserved. Use of this source code is governed by a |
| 10167 // BSD-style license that can be found in the LICENSE file. | 10344 // BSD-style license that can be found in the LICENSE file. |
| 10168 | 10345 |
| 10169 | 10346 |
| 10170 @DocsEditable | 10347 @DocsEditable |
| 10171 @DomName('HTMLFieldSetElement') | 10348 @DomName('HTMLFieldSetElement') |
| 10172 @Unstable | 10349 @Unstable |
| 10173 class FieldSetElement extends _HTMLElement native "HTMLFieldSetElement" { | 10350 class FieldSetElement extends _HTMLElement native "HTMLFieldSetElement" { |
| 10351 // To suppress missing implicit constructor warnings. |
| 10352 factory FieldSetElement._() { throw new UnsupportedError("Not supported"); } |
| 10174 | 10353 |
| 10175 @DomName('HTMLFieldSetElement.HTMLFieldSetElement') | 10354 @DomName('HTMLFieldSetElement.HTMLFieldSetElement') |
| 10176 @DocsEditable | 10355 @DocsEditable |
| 10177 factory FieldSetElement() => document.$dom_createElement("fieldset"); | 10356 factory FieldSetElement() => document.$dom_createElement("fieldset"); |
| 10178 | 10357 |
| 10179 @DomName('HTMLFieldSetElement.disabled') | 10358 @DomName('HTMLFieldSetElement.disabled') |
| 10180 @DocsEditable | 10359 @DocsEditable |
| 10181 bool disabled; | 10360 bool disabled; |
| 10182 | 10361 |
| 10183 @DomName('HTMLFieldSetElement.elements') | 10362 @DomName('HTMLFieldSetElement.elements') |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10217 void setCustomValidity(String error) native; | 10396 void setCustomValidity(String error) native; |
| 10218 } | 10397 } |
| 10219 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 10398 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 10220 // for details. All rights reserved. Use of this source code is governed by a | 10399 // for details. All rights reserved. Use of this source code is governed by a |
| 10221 // BSD-style license that can be found in the LICENSE file. | 10400 // BSD-style license that can be found in the LICENSE file. |
| 10222 | 10401 |
| 10223 | 10402 |
| 10224 @DocsEditable | 10403 @DocsEditable |
| 10225 @DomName('File') | 10404 @DomName('File') |
| 10226 class File extends Blob native "File" { | 10405 class File extends Blob native "File" { |
| 10406 // To suppress missing implicit constructor warnings. |
| 10407 factory File._() { throw new UnsupportedError("Not supported"); } |
| 10227 | 10408 |
| 10228 DateTime get lastModifiedDate => _convertNativeToDart_DateTime(this._get_lastM
odifiedDate); | 10409 DateTime get lastModifiedDate => _convertNativeToDart_DateTime(this._get_lastM
odifiedDate); |
| 10229 @JSName('lastModifiedDate') | 10410 @JSName('lastModifiedDate') |
| 10230 @DomName('File.lastModifiedDate') | 10411 @DomName('File.lastModifiedDate') |
| 10231 @DocsEditable | 10412 @DocsEditable |
| 10232 @Creates('Null') | 10413 @Creates('Null') |
| 10233 final dynamic _get_lastModifiedDate; | 10414 final dynamic _get_lastModifiedDate; |
| 10234 | 10415 |
| 10235 @DomName('File.name') | 10416 @DomName('File.name') |
| 10236 @DocsEditable | 10417 @DocsEditable |
| (...skipping 22 matching lines...) Expand all Loading... |
| 10259 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 10440 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 10260 // for details. All rights reserved. Use of this source code is governed by a | 10441 // for details. All rights reserved. Use of this source code is governed by a |
| 10261 // BSD-style license that can be found in the LICENSE file. | 10442 // BSD-style license that can be found in the LICENSE file. |
| 10262 | 10443 |
| 10263 | 10444 |
| 10264 @DocsEditable | 10445 @DocsEditable |
| 10265 @DomName('FileEntry') | 10446 @DomName('FileEntry') |
| 10266 // http://www.w3.org/TR/file-system-api/#the-fileentry-interface | 10447 // http://www.w3.org/TR/file-system-api/#the-fileentry-interface |
| 10267 @Experimental | 10448 @Experimental |
| 10268 class FileEntry extends Entry native "FileEntry" { | 10449 class FileEntry extends Entry native "FileEntry" { |
| 10450 // To suppress missing implicit constructor warnings. |
| 10451 factory FileEntry._() { throw new UnsupportedError("Not supported"); } |
| 10269 | 10452 |
| 10270 @JSName('createWriter') | 10453 @JSName('createWriter') |
| 10271 @DomName('FileEntry.createWriter') | 10454 @DomName('FileEntry.createWriter') |
| 10272 @DocsEditable | 10455 @DocsEditable |
| 10273 void _createWriter(_FileWriterCallback successCallback, [_ErrorCallback errorC
allback]) native; | 10456 void _createWriter(_FileWriterCallback successCallback, [_ErrorCallback errorC
allback]) native; |
| 10274 | 10457 |
| 10275 @JSName('createWriter') | 10458 @JSName('createWriter') |
| 10276 @DomName('FileEntry.createWriter') | 10459 @DomName('FileEntry.createWriter') |
| 10277 @DocsEditable | 10460 @DocsEditable |
| 10278 Future<FileWriter> createWriter() { | 10461 Future<FileWriter> createWriter() { |
| (...skipping 23 matching lines...) Expand all Loading... |
| 10302 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 10485 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 10303 // for details. All rights reserved. Use of this source code is governed by a | 10486 // for details. All rights reserved. Use of this source code is governed by a |
| 10304 // BSD-style license that can be found in the LICENSE file. | 10487 // BSD-style license that can be found in the LICENSE file. |
| 10305 | 10488 |
| 10306 | 10489 |
| 10307 @DocsEditable | 10490 @DocsEditable |
| 10308 @DomName('FileError') | 10491 @DomName('FileError') |
| 10309 // http://dev.w3.org/2009/dap/file-system/pub/FileSystem/ | 10492 // http://dev.w3.org/2009/dap/file-system/pub/FileSystem/ |
| 10310 @Experimental | 10493 @Experimental |
| 10311 class FileError native "FileError" { | 10494 class FileError native "FileError" { |
| 10495 // To suppress missing implicit constructor warnings. |
| 10496 factory FileError._() { throw new UnsupportedError("Not supported"); } |
| 10312 | 10497 |
| 10313 @DomName('FileError.ABORT_ERR') | 10498 @DomName('FileError.ABORT_ERR') |
| 10314 @DocsEditable | 10499 @DocsEditable |
| 10315 static const int ABORT_ERR = 3; | 10500 static const int ABORT_ERR = 3; |
| 10316 | 10501 |
| 10317 @DomName('FileError.ENCODING_ERR') | 10502 @DomName('FileError.ENCODING_ERR') |
| 10318 @DocsEditable | 10503 @DocsEditable |
| 10319 static const int ENCODING_ERR = 5; | 10504 static const int ENCODING_ERR = 5; |
| 10320 | 10505 |
| 10321 @DomName('FileError.INVALID_MODIFICATION_ERR') | 10506 @DomName('FileError.INVALID_MODIFICATION_ERR') |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10365 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 10550 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 10366 // for details. All rights reserved. Use of this source code is governed by a | 10551 // for details. All rights reserved. Use of this source code is governed by a |
| 10367 // BSD-style license that can be found in the LICENSE file. | 10552 // BSD-style license that can be found in the LICENSE file. |
| 10368 | 10553 |
| 10369 | 10554 |
| 10370 @DocsEditable | 10555 @DocsEditable |
| 10371 @DomName('FileException') | 10556 @DomName('FileException') |
| 10372 // http://dev.w3.org/2009/dap/file-system/pub/FileSystem/ | 10557 // http://dev.w3.org/2009/dap/file-system/pub/FileSystem/ |
| 10373 @Experimental | 10558 @Experimental |
| 10374 class FileException native "FileException" { | 10559 class FileException native "FileException" { |
| 10560 // To suppress missing implicit constructor warnings. |
| 10561 factory FileException._() { throw new UnsupportedError("Not supported"); } |
| 10375 | 10562 |
| 10376 @DomName('FileException.ABORT_ERR') | 10563 @DomName('FileException.ABORT_ERR') |
| 10377 @DocsEditable | 10564 @DocsEditable |
| 10378 static const int ABORT_ERR = 3; | 10565 static const int ABORT_ERR = 3; |
| 10379 | 10566 |
| 10380 @DomName('FileException.ENCODING_ERR') | 10567 @DomName('FileException.ENCODING_ERR') |
| 10381 @DocsEditable | 10568 @DocsEditable |
| 10382 static const int ENCODING_ERR = 5; | 10569 static const int ENCODING_ERR = 5; |
| 10383 | 10570 |
| 10384 @DomName('FileException.INVALID_MODIFICATION_ERR') | 10571 @DomName('FileException.INVALID_MODIFICATION_ERR') |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10438 String toString() native; | 10625 String toString() native; |
| 10439 } | 10626 } |
| 10440 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 10627 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 10441 // for details. All rights reserved. Use of this source code is governed by a | 10628 // for details. All rights reserved. Use of this source code is governed by a |
| 10442 // BSD-style license that can be found in the LICENSE file. | 10629 // BSD-style license that can be found in the LICENSE file. |
| 10443 | 10630 |
| 10444 | 10631 |
| 10445 @DocsEditable | 10632 @DocsEditable |
| 10446 @DomName('FileList') | 10633 @DomName('FileList') |
| 10447 class FileList extends Interceptor with ListMixin<File>, ImmutableListMixin<File
> implements JavaScriptIndexingBehavior, List<File> native "FileList" { | 10634 class FileList extends Interceptor with ListMixin<File>, ImmutableListMixin<File
> implements JavaScriptIndexingBehavior, List<File> native "FileList" { |
| 10635 // To suppress missing implicit constructor warnings. |
| 10636 factory FileList._() { throw new UnsupportedError("Not supported"); } |
| 10448 | 10637 |
| 10449 @DomName('FileList.length') | 10638 @DomName('FileList.length') |
| 10450 @DocsEditable | 10639 @DocsEditable |
| 10451 int get length => JS("int", "#.length", this); | 10640 int get length => JS("int", "#.length", this); |
| 10452 | 10641 |
| 10453 File operator[](int index) { | 10642 File operator[](int index) { |
| 10454 if (JS("bool", "# >>> 0 !== # || # >= #", index, | 10643 if (JS("bool", "# >>> 0 !== # || # >= #", index, |
| 10455 index, index, length)) | 10644 index, index, length)) |
| 10456 throw new RangeError.range(index, 0, length); | 10645 throw new RangeError.range(index, 0, length); |
| 10457 return JS("File", "#[#]", this, index); | 10646 return JS("File", "#[#]", this, index); |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10499 File item(int index) native; | 10688 File item(int index) native; |
| 10500 } | 10689 } |
| 10501 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 10690 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 10502 // for details. All rights reserved. Use of this source code is governed by a | 10691 // for details. All rights reserved. Use of this source code is governed by a |
| 10503 // BSD-style license that can be found in the LICENSE file. | 10692 // BSD-style license that can be found in the LICENSE file. |
| 10504 | 10693 |
| 10505 | 10694 |
| 10506 @DocsEditable | 10695 @DocsEditable |
| 10507 @DomName('FileReader') | 10696 @DomName('FileReader') |
| 10508 class FileReader extends EventTarget native "FileReader" { | 10697 class FileReader extends EventTarget native "FileReader" { |
| 10698 // To suppress missing implicit constructor warnings. |
| 10699 factory FileReader._() { throw new UnsupportedError("Not supported"); } |
| 10509 | 10700 |
| 10510 @DomName('FileReader.abortEvent') | 10701 @DomName('FileReader.abortEvent') |
| 10511 @DocsEditable | 10702 @DocsEditable |
| 10512 static const EventStreamProvider<ProgressEvent> abortEvent = const EventStream
Provider<ProgressEvent>('abort'); | 10703 static const EventStreamProvider<ProgressEvent> abortEvent = const EventStream
Provider<ProgressEvent>('abort'); |
| 10513 | 10704 |
| 10514 @DomName('FileReader.errorEvent') | 10705 @DomName('FileReader.errorEvent') |
| 10515 @DocsEditable | 10706 @DocsEditable |
| 10516 static const EventStreamProvider<Event> errorEvent = const EventStreamProvider
<Event>('error'); | 10707 static const EventStreamProvider<Event> errorEvent = const EventStreamProvider
<Event>('error'); |
| 10517 | 10708 |
| 10518 @DomName('FileReader.loadEvent') | 10709 @DomName('FileReader.loadEvent') |
| (...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10628 // for details. All rights reserved. Use of this source code is governed by a | 10819 // for details. All rights reserved. Use of this source code is governed by a |
| 10629 // BSD-style license that can be found in the LICENSE file. | 10820 // BSD-style license that can be found in the LICENSE file. |
| 10630 | 10821 |
| 10631 | 10822 |
| 10632 @DocsEditable | 10823 @DocsEditable |
| 10633 @DomName('DOMFileSystem') | 10824 @DomName('DOMFileSystem') |
| 10634 @SupportedBrowser(SupportedBrowser.CHROME) | 10825 @SupportedBrowser(SupportedBrowser.CHROME) |
| 10635 @Experimental | 10826 @Experimental |
| 10636 // http://www.w3.org/TR/file-system-api/ | 10827 // http://www.w3.org/TR/file-system-api/ |
| 10637 class FileSystem native "DOMFileSystem" { | 10828 class FileSystem native "DOMFileSystem" { |
| 10829 // To suppress missing implicit constructor warnings. |
| 10830 factory FileSystem._() { throw new UnsupportedError("Not supported"); } |
| 10638 | 10831 |
| 10639 /// Checks if this type is supported on the current platform. | 10832 /// Checks if this type is supported on the current platform. |
| 10640 static bool get supported => JS('bool', '!!(window.webkitRequestFileSystem)'); | 10833 static bool get supported => JS('bool', '!!(window.webkitRequestFileSystem)'); |
| 10641 | 10834 |
| 10642 @DomName('DOMFileSystem.name') | 10835 @DomName('DOMFileSystem.name') |
| 10643 @DocsEditable | 10836 @DocsEditable |
| 10644 final String name; | 10837 final String name; |
| 10645 | 10838 |
| 10646 @DomName('DOMFileSystem.root') | 10839 @DomName('DOMFileSystem.root') |
| 10647 @DocsEditable | 10840 @DocsEditable |
| (...skipping 13 matching lines...) Expand all Loading... |
| 10661 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 10854 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 10662 // for details. All rights reserved. Use of this source code is governed by a | 10855 // for details. All rights reserved. Use of this source code is governed by a |
| 10663 // BSD-style license that can be found in the LICENSE file. | 10856 // BSD-style license that can be found in the LICENSE file. |
| 10664 | 10857 |
| 10665 | 10858 |
| 10666 @DocsEditable | 10859 @DocsEditable |
| 10667 @DomName('FileWriter') | 10860 @DomName('FileWriter') |
| 10668 // http://www.w3.org/TR/file-writer-api/#the-filewriter-interface | 10861 // http://www.w3.org/TR/file-writer-api/#the-filewriter-interface |
| 10669 @Experimental | 10862 @Experimental |
| 10670 class FileWriter extends EventTarget native "FileWriter" { | 10863 class FileWriter extends EventTarget native "FileWriter" { |
| 10864 // To suppress missing implicit constructor warnings. |
| 10865 factory FileWriter._() { throw new UnsupportedError("Not supported"); } |
| 10671 | 10866 |
| 10672 @DomName('FileWriter.abortEvent') | 10867 @DomName('FileWriter.abortEvent') |
| 10673 @DocsEditable | 10868 @DocsEditable |
| 10674 static const EventStreamProvider<ProgressEvent> abortEvent = const EventStream
Provider<ProgressEvent>('abort'); | 10869 static const EventStreamProvider<ProgressEvent> abortEvent = const EventStream
Provider<ProgressEvent>('abort'); |
| 10675 | 10870 |
| 10676 @DomName('FileWriter.errorEvent') | 10871 @DomName('FileWriter.errorEvent') |
| 10677 @DocsEditable | 10872 @DocsEditable |
| 10678 static const EventStreamProvider<Event> errorEvent = const EventStreamProvider
<Event>('error'); | 10873 static const EventStreamProvider<Event> errorEvent = const EventStreamProvider
<Event>('error'); |
| 10679 | 10874 |
| 10680 @DomName('FileWriter.progressEvent') | 10875 @DomName('FileWriter.progressEvent') |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10787 @Experimental | 10982 @Experimental |
| 10788 typedef void _FileWriterCallback(FileWriter fileWriter); | 10983 typedef void _FileWriterCallback(FileWriter fileWriter); |
| 10789 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 10984 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 10790 // for details. All rights reserved. Use of this source code is governed by a | 10985 // for details. All rights reserved. Use of this source code is governed by a |
| 10791 // BSD-style license that can be found in the LICENSE file. | 10986 // BSD-style license that can be found in the LICENSE file. |
| 10792 | 10987 |
| 10793 | 10988 |
| 10794 @DocsEditable | 10989 @DocsEditable |
| 10795 @DomName('FocusEvent') | 10990 @DomName('FocusEvent') |
| 10796 class FocusEvent extends UIEvent native "FocusEvent" { | 10991 class FocusEvent extends UIEvent native "FocusEvent" { |
| 10992 // To suppress missing implicit constructor warnings. |
| 10993 factory FocusEvent._() { throw new UnsupportedError("Not supported"); } |
| 10797 | 10994 |
| 10798 EventTarget get relatedTarget => _convertNativeToDart_EventTarget(this._get_re
latedTarget); | 10995 EventTarget get relatedTarget => _convertNativeToDart_EventTarget(this._get_re
latedTarget); |
| 10799 @JSName('relatedTarget') | 10996 @JSName('relatedTarget') |
| 10800 @DomName('FocusEvent.relatedTarget') | 10997 @DomName('FocusEvent.relatedTarget') |
| 10801 @DocsEditable | 10998 @DocsEditable |
| 10802 @Creates('Null') | 10999 @Creates('Null') |
| 10803 final dynamic _get_relatedTarget; | 11000 final dynamic _get_relatedTarget; |
| 10804 } | 11001 } |
| 10805 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 11002 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 10806 // for details. All rights reserved. Use of this source code is governed by a | 11003 // for details. All rights reserved. Use of this source code is governed by a |
| 10807 // BSD-style license that can be found in the LICENSE file. | 11004 // BSD-style license that can be found in the LICENSE file. |
| 10808 | 11005 |
| 10809 | 11006 |
| 10810 @DocsEditable | 11007 @DocsEditable |
| 10811 @DomName('FontLoader') | 11008 @DomName('FontLoader') |
| 10812 // http://www.w3.org/TR/css3-fonts/#document-fontloader | 11009 // http://www.w3.org/TR/css3-fonts/#document-fontloader |
| 10813 @Experimental | 11010 @Experimental |
| 10814 class FontLoader extends EventTarget native "FontLoader" { | 11011 class FontLoader extends EventTarget native "FontLoader" { |
| 11012 // To suppress missing implicit constructor warnings. |
| 11013 factory FontLoader._() { throw new UnsupportedError("Not supported"); } |
| 10815 | 11014 |
| 10816 @DomName('FontLoader.errorEvent') | 11015 @DomName('FontLoader.errorEvent') |
| 10817 @DocsEditable | 11016 @DocsEditable |
| 10818 static const EventStreamProvider<Event> errorEvent = const EventStreamProvider
<Event>('error'); | 11017 static const EventStreamProvider<Event> errorEvent = const EventStreamProvider
<Event>('error'); |
| 10819 | 11018 |
| 10820 @DomName('FontLoader.loadEvent') | 11019 @DomName('FontLoader.loadEvent') |
| 10821 @DocsEditable | 11020 @DocsEditable |
| 10822 static const EventStreamProvider<CssFontFaceLoadEvent> loadEvent = const Event
StreamProvider<CssFontFaceLoadEvent>('load'); | 11021 static const EventStreamProvider<CssFontFaceLoadEvent> loadEvent = const Event
StreamProvider<CssFontFaceLoadEvent>('load'); |
| 10823 | 11022 |
| 10824 @DomName('FontLoader.loadingEvent') | 11023 @DomName('FontLoader.loadingEvent') |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10896 // BSD-style license that can be found in the LICENSE file. | 11095 // BSD-style license that can be found in the LICENSE file. |
| 10897 | 11096 |
| 10898 | 11097 |
| 10899 @DocsEditable | 11098 @DocsEditable |
| 10900 @DomName('FormData') | 11099 @DomName('FormData') |
| 10901 @SupportedBrowser(SupportedBrowser.CHROME) | 11100 @SupportedBrowser(SupportedBrowser.CHROME) |
| 10902 @SupportedBrowser(SupportedBrowser.FIREFOX) | 11101 @SupportedBrowser(SupportedBrowser.FIREFOX) |
| 10903 @SupportedBrowser(SupportedBrowser.IE, '10') | 11102 @SupportedBrowser(SupportedBrowser.IE, '10') |
| 10904 @SupportedBrowser(SupportedBrowser.SAFARI) | 11103 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 10905 class FormData native "FormData" { | 11104 class FormData native "FormData" { |
| 11105 // To suppress missing implicit constructor warnings. |
| 11106 factory FormData._() { throw new UnsupportedError("Not supported"); } |
| 10906 | 11107 |
| 10907 @DomName('FormData.FormData') | 11108 @DomName('FormData.FormData') |
| 10908 @DocsEditable | 11109 @DocsEditable |
| 10909 factory FormData([FormElement form]) { | 11110 factory FormData([FormElement form]) { |
| 10910 if (form != null) { | 11111 if (form != null) { |
| 10911 return FormData._create_1(form); | 11112 return FormData._create_1(form); |
| 10912 } | 11113 } |
| 10913 return FormData._create_2(); | 11114 return FormData._create_2(); |
| 10914 } | 11115 } |
| 10915 static FormData _create_1(form) => JS('FormData', 'new FormData(#)', form); | 11116 static FormData _create_1(form) => JS('FormData', 'new FormData(#)', form); |
| 10916 static FormData _create_2() => JS('FormData', 'new FormData()'); | 11117 static FormData _create_2() => JS('FormData', 'new FormData()'); |
| 10917 | 11118 |
| 10918 /// Checks if this type is supported on the current platform. | 11119 /// Checks if this type is supported on the current platform. |
| 10919 static bool get supported => JS('bool', '!!(window.FormData)'); | 11120 static bool get supported => JS('bool', '!!(window.FormData)'); |
| 10920 | 11121 |
| 10921 @DomName('FormData.append') | 11122 @DomName('FormData.append') |
| 10922 @DocsEditable | 11123 @DocsEditable |
| 10923 void append(String name, value, [String filename]) native; | 11124 void append(String name, value, [String filename]) native; |
| 10924 } | 11125 } |
| 10925 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 11126 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 10926 // for details. All rights reserved. Use of this source code is governed by a | 11127 // for details. All rights reserved. Use of this source code is governed by a |
| 10927 // BSD-style license that can be found in the LICENSE file. | 11128 // BSD-style license that can be found in the LICENSE file. |
| 10928 | 11129 |
| 10929 | 11130 |
| 10930 @DocsEditable | 11131 @DocsEditable |
| 10931 @DomName('HTMLFormElement') | 11132 @DomName('HTMLFormElement') |
| 10932 class FormElement extends _HTMLElement native "HTMLFormElement" { | 11133 class FormElement extends _HTMLElement native "HTMLFormElement" { |
| 11134 // To suppress missing implicit constructor warnings. |
| 11135 factory FormElement._() { throw new UnsupportedError("Not supported"); } |
| 10933 | 11136 |
| 10934 @DomName('HTMLFormElement.autocompleteEvent') | 11137 @DomName('HTMLFormElement.autocompleteEvent') |
| 10935 @DocsEditable | 11138 @DocsEditable |
| 10936 // http://www.whatwg.org/specs/web-apps/current-work/multipage/association-of-
controls-and-forms.html#autofilling-form-controls:-the-autocomplete-attribute | 11139 // http://www.whatwg.org/specs/web-apps/current-work/multipage/association-of-
controls-and-forms.html#autofilling-form-controls:-the-autocomplete-attribute |
| 10937 @Experimental | 11140 @Experimental |
| 10938 static const EventStreamProvider<Event> autocompleteEvent = const EventStreamP
rovider<Event>('autocomplete'); | 11141 static const EventStreamProvider<Event> autocompleteEvent = const EventStreamP
rovider<Event>('autocomplete'); |
| 10939 | 11142 |
| 10940 @DomName('HTMLFormElement.autocompleteerrorEvent') | 11143 @DomName('HTMLFormElement.autocompleteerrorEvent') |
| 10941 @DocsEditable | 11144 @DocsEditable |
| 10942 // http://www.whatwg.org/specs/web-apps/current-work/multipage/association-of-
controls-and-forms.html#autofilling-form-controls:-the-autocomplete-attribute | 11145 // http://www.whatwg.org/specs/web-apps/current-work/multipage/association-of-
controls-and-forms.html#autofilling-form-controls:-the-autocomplete-attribute |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11026 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 11229 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 11027 // for details. All rights reserved. Use of this source code is governed by a | 11230 // for details. All rights reserved. Use of this source code is governed by a |
| 11028 // BSD-style license that can be found in the LICENSE file. | 11231 // BSD-style license that can be found in the LICENSE file. |
| 11029 | 11232 |
| 11030 | 11233 |
| 11031 @DocsEditable | 11234 @DocsEditable |
| 11032 @DomName('Gamepad') | 11235 @DomName('Gamepad') |
| 11033 // https://dvcs.w3.org/hg/gamepad/raw-file/default/gamepad.html#gamepad-interfac
e | 11236 // https://dvcs.w3.org/hg/gamepad/raw-file/default/gamepad.html#gamepad-interfac
e |
| 11034 @Experimental | 11237 @Experimental |
| 11035 class Gamepad native "Gamepad" { | 11238 class Gamepad native "Gamepad" { |
| 11239 // To suppress missing implicit constructor warnings. |
| 11240 factory Gamepad._() { throw new UnsupportedError("Not supported"); } |
| 11036 | 11241 |
| 11037 @DomName('Gamepad.axes') | 11242 @DomName('Gamepad.axes') |
| 11038 @DocsEditable | 11243 @DocsEditable |
| 11039 final List<num> axes; | 11244 final List<num> axes; |
| 11040 | 11245 |
| 11041 @DomName('Gamepad.buttons') | 11246 @DomName('Gamepad.buttons') |
| 11042 @DocsEditable | 11247 @DocsEditable |
| 11043 final List<num> buttons; | 11248 final List<num> buttons; |
| 11044 | 11249 |
| 11045 @DomName('Gamepad.id') | 11250 @DomName('Gamepad.id') |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11133 Geoposition _ensurePosition(domPosition) { | 11338 Geoposition _ensurePosition(domPosition) { |
| 11134 try { | 11339 try { |
| 11135 // Firefox may throw on this. | 11340 // Firefox may throw on this. |
| 11136 if (domPosition is Geoposition) { | 11341 if (domPosition is Geoposition) { |
| 11137 return domPosition; | 11342 return domPosition; |
| 11138 } | 11343 } |
| 11139 } catch(e) {} | 11344 } catch(e) {} |
| 11140 return new _GeopositionWrapper(domPosition); | 11345 return new _GeopositionWrapper(domPosition); |
| 11141 } | 11346 } |
| 11142 | 11347 |
| 11348 // To suppress missing implicit constructor warnings. |
| 11349 factory Geolocation._() { throw new UnsupportedError("Not supported"); } |
| 11143 | 11350 |
| 11144 @JSName('clearWatch') | 11351 @JSName('clearWatch') |
| 11145 @DomName('Geolocation.clearWatch') | 11352 @DomName('Geolocation.clearWatch') |
| 11146 @DocsEditable | 11353 @DocsEditable |
| 11147 void $dom_clearWatch(int watchID) native; | 11354 void $dom_clearWatch(int watchID) native; |
| 11148 | 11355 |
| 11149 @JSName('getCurrentPosition') | 11356 @JSName('getCurrentPosition') |
| 11150 @DomName('Geolocation.getCurrentPosition') | 11357 @DomName('Geolocation.getCurrentPosition') |
| 11151 @DocsEditable | 11358 @DocsEditable |
| 11152 void $dom_getCurrentPosition(_PositionCallback successCallback, [_PositionErro
rCallback errorCallback, Object options]) native; | 11359 void $dom_getCurrentPosition(_PositionCallback successCallback, [_PositionErro
rCallback errorCallback, Object options]) native; |
| (...skipping 20 matching lines...) Expand all Loading... |
| 11173 | 11380 |
| 11174 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 11381 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 11175 // for details. All rights reserved. Use of this source code is governed by a | 11382 // for details. All rights reserved. Use of this source code is governed by a |
| 11176 // BSD-style license that can be found in the LICENSE file. | 11383 // BSD-style license that can be found in the LICENSE file. |
| 11177 | 11384 |
| 11178 | 11385 |
| 11179 @DocsEditable | 11386 @DocsEditable |
| 11180 @DomName('Geoposition') | 11387 @DomName('Geoposition') |
| 11181 @Unstable | 11388 @Unstable |
| 11182 class Geoposition native "Geoposition" { | 11389 class Geoposition native "Geoposition" { |
| 11390 // To suppress missing implicit constructor warnings. |
| 11391 factory Geoposition._() { throw new UnsupportedError("Not supported"); } |
| 11183 | 11392 |
| 11184 @DomName('Geoposition.coords') | 11393 @DomName('Geoposition.coords') |
| 11185 @DocsEditable | 11394 @DocsEditable |
| 11186 final Coordinates coords; | 11395 final Coordinates coords; |
| 11187 | 11396 |
| 11188 @DomName('Geoposition.timestamp') | 11397 @DomName('Geoposition.timestamp') |
| 11189 @DocsEditable | 11398 @DocsEditable |
| 11190 final int timestamp; | 11399 final int timestamp; |
| 11191 } | 11400 } |
| 11192 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 11401 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 11193 // for details. All rights reserved. Use of this source code is governed by a | 11402 // for details. All rights reserved. Use of this source code is governed by a |
| 11194 // BSD-style license that can be found in the LICENSE file. | 11403 // BSD-style license that can be found in the LICENSE file. |
| 11195 | 11404 |
| 11196 | 11405 |
| 11197 @DocsEditable | 11406 @DocsEditable |
| 11198 /** | 11407 /** |
| 11199 * An `<hr>` tag. | 11408 * An `<hr>` tag. |
| 11200 */ | 11409 */ |
| 11201 @DomName('HTMLHRElement') | 11410 @DomName('HTMLHRElement') |
| 11202 class HRElement extends _HTMLElement native "HTMLHRElement" { | 11411 class HRElement extends _HTMLElement native "HTMLHRElement" { |
| 11412 // To suppress missing implicit constructor warnings. |
| 11413 factory HRElement._() { throw new UnsupportedError("Not supported"); } |
| 11203 | 11414 |
| 11204 @DomName('HTMLHRElement.HTMLHRElement') | 11415 @DomName('HTMLHRElement.HTMLHRElement') |
| 11205 @DocsEditable | 11416 @DocsEditable |
| 11206 factory HRElement() => document.$dom_createElement("hr"); | 11417 factory HRElement() => document.$dom_createElement("hr"); |
| 11207 } | 11418 } |
| 11208 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 11419 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 11209 // for details. All rights reserved. Use of this source code is governed by a | 11420 // for details. All rights reserved. Use of this source code is governed by a |
| 11210 // BSD-style license that can be found in the LICENSE file. | 11421 // BSD-style license that can be found in the LICENSE file. |
| 11211 | 11422 |
| 11212 // WARNING: Do not edit - generated code. | 11423 // WARNING: Do not edit - generated code. |
| 11213 | 11424 |
| 11214 @DomName('HashChangeEvent') | 11425 @DomName('HashChangeEvent') |
| 11215 @SupportedBrowser(SupportedBrowser.CHROME) | 11426 @SupportedBrowser(SupportedBrowser.CHROME) |
| 11216 @SupportedBrowser(SupportedBrowser.FIREFOX) | 11427 @SupportedBrowser(SupportedBrowser.FIREFOX) |
| 11217 @SupportedBrowser(SupportedBrowser.SAFARI) | 11428 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 11218 @Unstable | 11429 @Unstable |
| 11219 | |
| 11220 class HashChangeEvent extends Event native "HashChangeEvent" { | 11430 class HashChangeEvent extends Event native "HashChangeEvent" { |
| 11221 factory HashChangeEvent(String type, | 11431 factory HashChangeEvent(String type, |
| 11222 {bool canBubble: true, bool cancelable: true, String oldUrl, | 11432 {bool canBubble: true, bool cancelable: true, String oldUrl, |
| 11223 String newUrl}) { | 11433 String newUrl}) { |
| 11224 var event = document.$dom_createEvent("HashChangeEvent"); | 11434 var event = document.$dom_createEvent("HashChangeEvent"); |
| 11225 event.$dom_initHashChangeEvent(type, canBubble, cancelable, oldUrl, newUrl); | 11435 event.$dom_initHashChangeEvent(type, canBubble, cancelable, oldUrl, newUrl); |
| 11226 return event; | 11436 return event; |
| 11227 } | 11437 } |
| 11438 // To suppress missing implicit constructor warnings. |
| 11439 factory HashChangeEvent._() { throw new UnsupportedError("Not supported"); } |
| 11228 | 11440 |
| 11229 /// Checks if this type is supported on the current platform. | 11441 /// Checks if this type is supported on the current platform. |
| 11230 static bool get supported => Device.isEventTypeSupported('HashChangeEvent'); | 11442 static bool get supported => Device.isEventTypeSupported('HashChangeEvent'); |
| 11231 | 11443 |
| 11232 @JSName('newURL') | 11444 @JSName('newURL') |
| 11233 @DomName('HashChangeEvent.newURL') | 11445 @DomName('HashChangeEvent.newURL') |
| 11234 @DocsEditable | 11446 @DocsEditable |
| 11235 final String newUrl; | 11447 final String newUrl; |
| 11236 | 11448 |
| 11237 @JSName('oldURL') | 11449 @JSName('oldURL') |
| 11238 @DomName('HashChangeEvent.oldURL') | 11450 @DomName('HashChangeEvent.oldURL') |
| 11239 @DocsEditable | 11451 @DocsEditable |
| 11240 final String oldUrl; | 11452 final String oldUrl; |
| 11241 | 11453 |
| 11242 @JSName('initHashChangeEvent') | 11454 @JSName('initHashChangeEvent') |
| 11243 @DomName('HashChangeEvent.initHashChangeEvent') | 11455 @DomName('HashChangeEvent.initHashChangeEvent') |
| 11244 @DocsEditable | 11456 @DocsEditable |
| 11245 void $dom_initHashChangeEvent(String type, bool canBubble, bool cancelable, St
ring oldURL, String newURL) native; | 11457 void $dom_initHashChangeEvent(String type, bool canBubble, bool cancelable, St
ring oldURL, String newURL) native; |
| 11246 | 11458 |
| 11247 } | 11459 } |
| 11248 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 11460 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 11249 // for details. All rights reserved. Use of this source code is governed by a | 11461 // for details. All rights reserved. Use of this source code is governed by a |
| 11250 // BSD-style license that can be found in the LICENSE file. | 11462 // BSD-style license that can be found in the LICENSE file. |
| 11251 | 11463 |
| 11252 | 11464 |
| 11253 @DocsEditable | 11465 @DocsEditable |
| 11254 @DomName('HTMLHeadElement') | 11466 @DomName('HTMLHeadElement') |
| 11255 class HeadElement extends _HTMLElement native "HTMLHeadElement" { | 11467 class HeadElement extends _HTMLElement native "HTMLHeadElement" { |
| 11468 // To suppress missing implicit constructor warnings. |
| 11469 factory HeadElement._() { throw new UnsupportedError("Not supported"); } |
| 11256 | 11470 |
| 11257 @DomName('HTMLHeadElement.HTMLHeadElement') | 11471 @DomName('HTMLHeadElement.HTMLHeadElement') |
| 11258 @DocsEditable | 11472 @DocsEditable |
| 11259 factory HeadElement() => document.$dom_createElement("head"); | 11473 factory HeadElement() => document.$dom_createElement("head"); |
| 11260 } | 11474 } |
| 11261 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 11475 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 11262 // for details. All rights reserved. Use of this source code is governed by a | 11476 // for details. All rights reserved. Use of this source code is governed by a |
| 11263 // BSD-style license that can be found in the LICENSE file. | 11477 // BSD-style license that can be found in the LICENSE file. |
| 11264 | 11478 |
| 11265 | 11479 |
| 11266 @DocsEditable | 11480 @DocsEditable |
| 11267 @DomName('HTMLHeadingElement') | 11481 @DomName('HTMLHeadingElement') |
| 11268 class HeadingElement extends _HTMLElement native "HTMLHeadingElement" { | 11482 class HeadingElement extends _HTMLElement native "HTMLHeadingElement" { |
| 11483 // To suppress missing implicit constructor warnings. |
| 11484 factory HeadingElement._() { throw new UnsupportedError("Not supported"); } |
| 11269 | 11485 |
| 11270 @DomName('HTMLHeadingElement.HTMLHeadingElement') | 11486 @DomName('HTMLHeadingElement.HTMLHeadingElement') |
| 11271 @DocsEditable | 11487 @DocsEditable |
| 11272 factory HeadingElement.h1() => document.$dom_createElement("h1"); | 11488 factory HeadingElement.h1() => document.$dom_createElement("h1"); |
| 11273 | 11489 |
| 11274 @DomName('HTMLHeadingElement.HTMLHeadingElement') | 11490 @DomName('HTMLHeadingElement.HTMLHeadingElement') |
| 11275 @DocsEditable | 11491 @DocsEditable |
| 11276 factory HeadingElement.h2() => document.$dom_createElement("h2"); | 11492 factory HeadingElement.h2() => document.$dom_createElement("h2"); |
| 11277 | 11493 |
| 11278 @DomName('HTMLHeadingElement.HTMLHeadingElement') | 11494 @DomName('HTMLHeadingElement.HTMLHeadingElement') |
| (...skipping 23 matching lines...) Expand all Loading... |
| 11302 /** | 11518 /** |
| 11303 * Checks if the State APIs are supported on the current platform. | 11519 * Checks if the State APIs are supported on the current platform. |
| 11304 * | 11520 * |
| 11305 * See also: | 11521 * See also: |
| 11306 * | 11522 * |
| 11307 * * [pushState] | 11523 * * [pushState] |
| 11308 * * [replaceState] | 11524 * * [replaceState] |
| 11309 * * [state] | 11525 * * [state] |
| 11310 */ | 11526 */ |
| 11311 static bool get supportsState => JS('bool', '!!window.history.pushState'); | 11527 static bool get supportsState => JS('bool', '!!window.history.pushState'); |
| 11528 // To suppress missing implicit constructor warnings. |
| 11529 factory History._() { throw new UnsupportedError("Not supported"); } |
| 11312 | 11530 |
| 11313 @DomName('History.length') | 11531 @DomName('History.length') |
| 11314 @DocsEditable | 11532 @DocsEditable |
| 11315 final int length; | 11533 final int length; |
| 11316 | 11534 |
| 11317 dynamic get state => convertNativeToDart_SerializedScriptValue(this._get_state
); | 11535 dynamic get state => convertNativeToDart_SerializedScriptValue(this._get_state
); |
| 11318 @JSName('state') | 11536 @JSName('state') |
| 11319 @DomName('History.state') | 11537 @DomName('History.state') |
| 11320 @DocsEditable | 11538 @DocsEditable |
| 11321 @annotation_Creates_SerializedScriptValue | 11539 @annotation_Creates_SerializedScriptValue |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11353 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 11571 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 11354 // for details. All rights reserved. Use of this source code is governed by a | 11572 // for details. All rights reserved. Use of this source code is governed by a |
| 11355 // BSD-style license that can be found in the LICENSE file. | 11573 // BSD-style license that can be found in the LICENSE file. |
| 11356 | 11574 |
| 11357 | 11575 |
| 11358 @DocsEditable | 11576 @DocsEditable |
| 11359 @DomName('HTMLAllCollection') | 11577 @DomName('HTMLAllCollection') |
| 11360 // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#dom
-document-all | 11578 // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#dom
-document-all |
| 11361 @deprecated // deprecated | 11579 @deprecated // deprecated |
| 11362 class HtmlAllCollection extends Interceptor with ListMixin<Node>, ImmutableListM
ixin<Node> implements JavaScriptIndexingBehavior, List<Node> native "HTMLAllColl
ection" { | 11580 class HtmlAllCollection extends Interceptor with ListMixin<Node>, ImmutableListM
ixin<Node> implements JavaScriptIndexingBehavior, List<Node> native "HTMLAllColl
ection" { |
| 11581 // To suppress missing implicit constructor warnings. |
| 11582 factory HtmlAllCollection._() { throw new UnsupportedError("Not supported"); } |
| 11363 | 11583 |
| 11364 @DomName('HTMLAllCollection.length') | 11584 @DomName('HTMLAllCollection.length') |
| 11365 @DocsEditable | 11585 @DocsEditable |
| 11366 int get length => JS("int", "#.length", this); | 11586 int get length => JS("int", "#.length", this); |
| 11367 | 11587 |
| 11368 Node operator[](int index) { | 11588 Node operator[](int index) { |
| 11369 if (JS("bool", "# >>> 0 !== # || # >= #", index, | 11589 if (JS("bool", "# >>> 0 !== # || # >= #", index, |
| 11370 index, index, length)) | 11590 index, index, length)) |
| 11371 throw new RangeError.range(index, 0, length); | 11591 throw new RangeError.range(index, 0, length); |
| 11372 return this.item(index); | 11592 return this.item(index); |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11428 List<Node> tags(String name) native; | 11648 List<Node> tags(String name) native; |
| 11429 } | 11649 } |
| 11430 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 11650 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 11431 // for details. All rights reserved. Use of this source code is governed by a | 11651 // for details. All rights reserved. Use of this source code is governed by a |
| 11432 // BSD-style license that can be found in the LICENSE file. | 11652 // BSD-style license that can be found in the LICENSE file. |
| 11433 | 11653 |
| 11434 | 11654 |
| 11435 @DocsEditable | 11655 @DocsEditable |
| 11436 @DomName('HTMLCollection') | 11656 @DomName('HTMLCollection') |
| 11437 class HtmlCollection extends Interceptor with ListMixin<Node>, ImmutableListMixi
n<Node> implements JavaScriptIndexingBehavior, List<Node> native "HTMLCollection
" { | 11657 class HtmlCollection extends Interceptor with ListMixin<Node>, ImmutableListMixi
n<Node> implements JavaScriptIndexingBehavior, List<Node> native "HTMLCollection
" { |
| 11658 // To suppress missing implicit constructor warnings. |
| 11659 factory HtmlCollection._() { throw new UnsupportedError("Not supported"); } |
| 11438 | 11660 |
| 11439 @DomName('HTMLCollection.length') | 11661 @DomName('HTMLCollection.length') |
| 11440 @DocsEditable | 11662 @DocsEditable |
| 11441 int get length => JS("int", "#.length", this); | 11663 int get length => JS("int", "#.length", this); |
| 11442 | 11664 |
| 11443 Node operator[](int index) { | 11665 Node operator[](int index) { |
| 11444 if (JS("bool", "# >>> 0 !== # || # >= #", index, | 11666 if (JS("bool", "# >>> 0 !== # || # >= #", index, |
| 11445 index, index, length)) | 11667 index, index, length)) |
| 11446 throw new RangeError.range(index, 0, length); | 11668 throw new RangeError.range(index, 0, length); |
| 11447 return JS("Node", "#[#]", this, index); | 11669 return JS("Node", "#[#]", this, index); |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11498 } | 11720 } |
| 11499 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 11721 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 11500 // for details. All rights reserved. Use of this source code is governed by a | 11722 // for details. All rights reserved. Use of this source code is governed by a |
| 11501 // BSD-style license that can be found in the LICENSE file. | 11723 // BSD-style license that can be found in the LICENSE file. |
| 11502 | 11724 |
| 11503 // WARNING: Do not edit - generated code. | 11725 // WARNING: Do not edit - generated code. |
| 11504 | 11726 |
| 11505 | 11727 |
| 11506 @DomName('HTMLDocument') | 11728 @DomName('HTMLDocument') |
| 11507 class HtmlDocument extends Document native "HTMLDocument" { | 11729 class HtmlDocument extends Document native "HTMLDocument" { |
| 11730 // To suppress missing implicit constructor warnings. |
| 11731 factory HtmlDocument._() { throw new UnsupportedError("Not supported"); } |
| 11508 | 11732 |
| 11509 @DomName('HTMLDocument.activeElement') | 11733 @DomName('HTMLDocument.activeElement') |
| 11510 @DocsEditable | 11734 @DocsEditable |
| 11511 final Element activeElement; | 11735 final Element activeElement; |
| 11512 | 11736 |
| 11513 | 11737 |
| 11514 @DomName('Document.body') | 11738 @DomName('Document.body') |
| 11515 BodyElement body; | 11739 BodyElement body; |
| 11516 | 11740 |
| 11517 @DomName('Document.caretRangeFromPoint') | 11741 @DomName('Document.caretRangeFromPoint') |
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11660 Document _templateContentsOwner; | 11884 Document _templateContentsOwner; |
| 11661 } | 11885 } |
| 11662 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 11886 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 11663 // for details. All rights reserved. Use of this source code is governed by a | 11887 // for details. All rights reserved. Use of this source code is governed by a |
| 11664 // BSD-style license that can be found in the LICENSE file. | 11888 // BSD-style license that can be found in the LICENSE file. |
| 11665 | 11889 |
| 11666 | 11890 |
| 11667 @DocsEditable | 11891 @DocsEditable |
| 11668 @DomName('HTMLHtmlElement') | 11892 @DomName('HTMLHtmlElement') |
| 11669 class HtmlElement extends _HTMLElement native "HTMLHtmlElement" { | 11893 class HtmlElement extends _HTMLElement native "HTMLHtmlElement" { |
| 11894 // To suppress missing implicit constructor warnings. |
| 11895 factory HtmlElement._() { throw new UnsupportedError("Not supported"); } |
| 11670 | 11896 |
| 11671 @DomName('HTMLHtmlElement.HTMLHtmlElement') | 11897 @DomName('HTMLHtmlElement.HTMLHtmlElement') |
| 11672 @DocsEditable | 11898 @DocsEditable |
| 11673 factory HtmlElement() => document.$dom_createElement("html"); | 11899 factory HtmlElement() => document.$dom_createElement("html"); |
| 11674 } | 11900 } |
| 11675 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 11901 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 11676 // for details. All rights reserved. Use of this source code is governed by a | 11902 // for details. All rights reserved. Use of this source code is governed by a |
| 11677 // BSD-style license that can be found in the LICENSE file. | 11903 // BSD-style license that can be found in the LICENSE file. |
| 11678 | 11904 |
| 11679 | 11905 |
| 11680 @DocsEditable | 11906 @DocsEditable |
| 11681 @DomName('HTMLFormControlsCollection') | 11907 @DomName('HTMLFormControlsCollection') |
| 11682 class HtmlFormControlsCollection extends HtmlCollection native "HTMLFormControls
Collection" { | 11908 class HtmlFormControlsCollection extends HtmlCollection native "HTMLFormControls
Collection" { |
| 11909 // To suppress missing implicit constructor warnings. |
| 11910 factory HtmlFormControlsCollection._() { throw new UnsupportedError("Not suppo
rted"); } |
| 11683 | 11911 |
| 11684 @DomName('HTMLFormControlsCollection.__getter__') | 11912 @DomName('HTMLFormControlsCollection.__getter__') |
| 11685 @DocsEditable | 11913 @DocsEditable |
| 11686 Node __getter__(int index) native; | 11914 Node __getter__(int index) native; |
| 11687 | 11915 |
| 11688 @DomName('HTMLFormControlsCollection.namedItem') | 11916 @DomName('HTMLFormControlsCollection.namedItem') |
| 11689 @DocsEditable | 11917 @DocsEditable |
| 11690 Node namedItem(String name) native; | 11918 Node namedItem(String name) native; |
| 11691 } | 11919 } |
| 11692 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 11920 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 11693 // for details. All rights reserved. Use of this source code is governed by a | 11921 // for details. All rights reserved. Use of this source code is governed by a |
| 11694 // BSD-style license that can be found in the LICENSE file. | 11922 // BSD-style license that can be found in the LICENSE file. |
| 11695 | 11923 |
| 11696 | 11924 |
| 11697 @DocsEditable | 11925 @DocsEditable |
| 11698 @DomName('HTMLOptionsCollection') | 11926 @DomName('HTMLOptionsCollection') |
| 11699 class HtmlOptionsCollection extends HtmlCollection native "HTMLOptionsCollection
" { | 11927 class HtmlOptionsCollection extends HtmlCollection native "HTMLOptionsCollection
" { |
| 11928 // To suppress missing implicit constructor warnings. |
| 11929 factory HtmlOptionsCollection._() { throw new UnsupportedError("Not supported"
); } |
| 11700 } | 11930 } |
| 11701 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 11931 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 11702 // for details. All rights reserved. Use of this source code is governed by a | 11932 // for details. All rights reserved. Use of this source code is governed by a |
| 11703 // BSD-style license that can be found in the LICENSE file. | 11933 // BSD-style license that can be found in the LICENSE file. |
| 11704 | 11934 |
| 11705 | 11935 |
| 11706 /** | 11936 /** |
| 11707 * A utility for retrieving data from a URL. | 11937 * A utility for retrieving data from a URL. |
| 11708 * | 11938 * |
| 11709 * HttpRequest can be used to obtain data from http, ftp, and file | 11939 * HttpRequest can be used to obtain data from http, ftp, and file |
| (...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11864 | 12094 |
| 11865 /** | 12095 /** |
| 11866 * Checks to see if the overrideMimeType method is supported on the current | 12096 * Checks to see if the overrideMimeType method is supported on the current |
| 11867 * platform. | 12097 * platform. |
| 11868 */ | 12098 */ |
| 11869 static bool get supportsOverrideMimeType { | 12099 static bool get supportsOverrideMimeType { |
| 11870 var xhr = new HttpRequest(); | 12100 var xhr = new HttpRequest(); |
| 11871 return JS('bool', '("overrideMimeType" in #)', xhr); | 12101 return JS('bool', '("overrideMimeType" in #)', xhr); |
| 11872 } | 12102 } |
| 11873 | 12103 |
| 12104 // To suppress missing implicit constructor warnings. |
| 12105 factory HttpRequest._() { throw new UnsupportedError("Not supported"); } |
| 11874 | 12106 |
| 11875 @DomName('XMLHttpRequest.abortEvent') | 12107 @DomName('XMLHttpRequest.abortEvent') |
| 11876 @DocsEditable | 12108 @DocsEditable |
| 11877 static const EventStreamProvider<ProgressEvent> abortEvent = const EventStream
Provider<ProgressEvent>('abort'); | 12109 static const EventStreamProvider<ProgressEvent> abortEvent = const EventStream
Provider<ProgressEvent>('abort'); |
| 11878 | 12110 |
| 11879 @DomName('XMLHttpRequest.errorEvent') | 12111 @DomName('XMLHttpRequest.errorEvent') |
| 11880 @DocsEditable | 12112 @DocsEditable |
| 11881 static const EventStreamProvider<ProgressEvent> errorEvent = const EventStream
Provider<ProgressEvent>('error'); | 12113 static const EventStreamProvider<ProgressEvent> errorEvent = const EventStream
Provider<ProgressEvent>('error'); |
| 11882 | 12114 |
| 11883 @DomName('XMLHttpRequest.loadEvent') | 12115 @DomName('XMLHttpRequest.loadEvent') |
| (...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 12229 // BSD-style license that can be found in the LICENSE file. | 12461 // BSD-style license that can be found in the LICENSE file. |
| 12230 | 12462 |
| 12231 | 12463 |
| 12232 @DocsEditable | 12464 @DocsEditable |
| 12233 @DomName('XMLHttpRequestProgressEvent') | 12465 @DomName('XMLHttpRequestProgressEvent') |
| 12234 @SupportedBrowser(SupportedBrowser.CHROME) | 12466 @SupportedBrowser(SupportedBrowser.CHROME) |
| 12235 @SupportedBrowser(SupportedBrowser.SAFARI) | 12467 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 12236 @Experimental | 12468 @Experimental |
| 12237 @Experimental // nonstandard | 12469 @Experimental // nonstandard |
| 12238 class HttpRequestProgressEvent extends ProgressEvent native "XMLHttpRequestProgr
essEvent" { | 12470 class HttpRequestProgressEvent extends ProgressEvent native "XMLHttpRequestProgr
essEvent" { |
| 12471 // To suppress missing implicit constructor warnings. |
| 12472 factory HttpRequestProgressEvent._() { throw new UnsupportedError("Not support
ed"); } |
| 12239 | 12473 |
| 12240 /// Checks if this type is supported on the current platform. | 12474 /// Checks if this type is supported on the current platform. |
| 12241 static bool get supported => Device.isEventTypeSupported('XMLHttpRequestProgre
ssEvent'); | 12475 static bool get supported => Device.isEventTypeSupported('XMLHttpRequestProgre
ssEvent'); |
| 12242 | 12476 |
| 12243 @DomName('XMLHttpRequestProgressEvent.position') | 12477 @DomName('XMLHttpRequestProgressEvent.position') |
| 12244 @DocsEditable | 12478 @DocsEditable |
| 12245 final int position; | 12479 final int position; |
| 12246 | 12480 |
| 12247 @DomName('XMLHttpRequestProgressEvent.totalSize') | 12481 @DomName('XMLHttpRequestProgressEvent.totalSize') |
| 12248 @DocsEditable | 12482 @DocsEditable |
| 12249 final int totalSize; | 12483 final int totalSize; |
| 12250 } | 12484 } |
| 12251 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 12485 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 12252 // for details. All rights reserved. Use of this source code is governed by a | 12486 // for details. All rights reserved. Use of this source code is governed by a |
| 12253 // BSD-style license that can be found in the LICENSE file. | 12487 // BSD-style license that can be found in the LICENSE file. |
| 12254 | 12488 |
| 12255 | 12489 |
| 12256 @DocsEditable | 12490 @DocsEditable |
| 12257 @DomName('XMLHttpRequestUpload') | 12491 @DomName('XMLHttpRequestUpload') |
| 12258 // http://xhr.spec.whatwg.org/#xmlhttprequestupload | 12492 // http://xhr.spec.whatwg.org/#xmlhttprequestupload |
| 12259 @Experimental | 12493 @Experimental |
| 12260 class HttpRequestUpload extends EventTarget native "XMLHttpRequestUpload,XMLHttp
RequestEventTarget" { | 12494 class HttpRequestUpload extends EventTarget native "XMLHttpRequestUpload,XMLHttp
RequestEventTarget" { |
| 12495 // To suppress missing implicit constructor warnings. |
| 12496 factory HttpRequestUpload._() { throw new UnsupportedError("Not supported"); } |
| 12261 | 12497 |
| 12262 @DomName('XMLHttpRequestUpload.abortEvent') | 12498 @DomName('XMLHttpRequestUpload.abortEvent') |
| 12263 @DocsEditable | 12499 @DocsEditable |
| 12264 static const EventStreamProvider<ProgressEvent> abortEvent = const EventStream
Provider<ProgressEvent>('abort'); | 12500 static const EventStreamProvider<ProgressEvent> abortEvent = const EventStream
Provider<ProgressEvent>('abort'); |
| 12265 | 12501 |
| 12266 @DomName('XMLHttpRequestUpload.errorEvent') | 12502 @DomName('XMLHttpRequestUpload.errorEvent') |
| 12267 @DocsEditable | 12503 @DocsEditable |
| 12268 static const EventStreamProvider<ProgressEvent> errorEvent = const EventStream
Provider<ProgressEvent>('error'); | 12504 static const EventStreamProvider<ProgressEvent> errorEvent = const EventStream
Provider<ProgressEvent>('error'); |
| 12269 | 12505 |
| 12270 @DomName('XMLHttpRequestUpload.loadEvent') | 12506 @DomName('XMLHttpRequestUpload.loadEvent') |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 12322 Stream<ProgressEvent> get onProgress => progressEvent.forTarget(this); | 12558 Stream<ProgressEvent> get onProgress => progressEvent.forTarget(this); |
| 12323 } | 12559 } |
| 12324 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 12560 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 12325 // for details. All rights reserved. Use of this source code is governed by a | 12561 // for details. All rights reserved. Use of this source code is governed by a |
| 12326 // BSD-style license that can be found in the LICENSE file. | 12562 // BSD-style license that can be found in the LICENSE file. |
| 12327 | 12563 |
| 12328 | 12564 |
| 12329 @DocsEditable | 12565 @DocsEditable |
| 12330 @DomName('HTMLIFrameElement') | 12566 @DomName('HTMLIFrameElement') |
| 12331 class IFrameElement extends _HTMLElement native "HTMLIFrameElement" { | 12567 class IFrameElement extends _HTMLElement native "HTMLIFrameElement" { |
| 12568 // To suppress missing implicit constructor warnings. |
| 12569 factory IFrameElement._() { throw new UnsupportedError("Not supported"); } |
| 12332 | 12570 |
| 12333 @DomName('HTMLIFrameElement.HTMLIFrameElement') | 12571 @DomName('HTMLIFrameElement.HTMLIFrameElement') |
| 12334 @DocsEditable | 12572 @DocsEditable |
| 12335 factory IFrameElement() => document.$dom_createElement("iframe"); | 12573 factory IFrameElement() => document.$dom_createElement("iframe"); |
| 12336 | 12574 |
| 12337 WindowBase get contentWindow => _convertNativeToDart_Window(this._get_contentW
indow); | 12575 WindowBase get contentWindow => _convertNativeToDart_Window(this._get_contentW
indow); |
| 12338 @JSName('contentWindow') | 12576 @JSName('contentWindow') |
| 12339 @DomName('HTMLIFrameElement.contentWindow') | 12577 @DomName('HTMLIFrameElement.contentWindow') |
| 12340 @DocsEditable | 12578 @DocsEditable |
| 12341 @Creates('Window|=Object') | 12579 @Creates('Window|=Object') |
| (...skipping 26 matching lines...) Expand all Loading... |
| 12368 | 12606 |
| 12369 @DomName('HTMLIFrameElement.width') | 12607 @DomName('HTMLIFrameElement.width') |
| 12370 @DocsEditable | 12608 @DocsEditable |
| 12371 String width; | 12609 String width; |
| 12372 } | 12610 } |
| 12373 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 12611 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 12374 // for details. All rights reserved. Use of this source code is governed by a | 12612 // for details. All rights reserved. Use of this source code is governed by a |
| 12375 // BSD-style license that can be found in the LICENSE file. | 12613 // BSD-style license that can be found in the LICENSE file. |
| 12376 | 12614 |
| 12377 @DomName('ImageData') | 12615 @DomName('ImageData') |
| 12378 | |
| 12379 class ImageData native "ImageData" { | 12616 class ImageData native "ImageData" { |
| 12380 | 12617 |
| 12618 // To suppress missing implicit constructor warnings. |
| 12619 factory ImageData._() { throw new UnsupportedError("Not supported"); } |
| 12381 | 12620 |
| 12382 @DomName('ImageData.data') | 12621 @DomName('ImageData.data') |
| 12383 @DocsEditable | 12622 @DocsEditable |
| 12384 final List<int> data; | 12623 final List<int> data; |
| 12385 | 12624 |
| 12386 @DomName('ImageData.height') | 12625 @DomName('ImageData.height') |
| 12387 @DocsEditable | 12626 @DocsEditable |
| 12388 final int height; | 12627 final int height; |
| 12389 | 12628 |
| 12390 @DomName('ImageData.width') | 12629 @DomName('ImageData.width') |
| 12391 @DocsEditable | 12630 @DocsEditable |
| 12392 final int width; | 12631 final int width; |
| 12393 | 12632 |
| 12394 } | 12633 } |
| 12395 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 12634 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 12396 // for details. All rights reserved. Use of this source code is governed by a | 12635 // for details. All rights reserved. Use of this source code is governed by a |
| 12397 // BSD-style license that can be found in the LICENSE file. | 12636 // BSD-style license that can be found in the LICENSE file. |
| 12398 | 12637 |
| 12399 | 12638 |
| 12400 @DomName('HTMLImageElement') | 12639 @DomName('HTMLImageElement') |
| 12401 class ImageElement extends _HTMLElement implements CanvasImageSource native "HTM
LImageElement" { | 12640 class ImageElement extends _HTMLElement implements CanvasImageSource native "HTM
LImageElement" { |
| 12641 // To suppress missing implicit constructor warnings. |
| 12642 factory ImageElement._() { throw new UnsupportedError("Not supported"); } |
| 12402 | 12643 |
| 12403 @DomName('HTMLImageElement.HTMLImageElement') | 12644 @DomName('HTMLImageElement.HTMLImageElement') |
| 12404 @DocsEditable | 12645 @DocsEditable |
| 12405 factory ImageElement({String src, int width, int height}) { | 12646 factory ImageElement({String src, int width, int height}) { |
| 12406 var e = document.$dom_createElement("img"); | 12647 var e = document.$dom_createElement("img"); |
| 12407 if (src != null) e.src = src; | 12648 if (src != null) e.src = src; |
| 12408 if (width != null) e.width = width; | 12649 if (width != null) e.width = width; |
| 12409 if (height != null) e.height = height; | 12650 if (height != null) e.height = height; |
| 12410 return e; | 12651 return e; |
| 12411 } | 12652 } |
| (...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 12560 } | 12801 } |
| 12561 } | 12802 } |
| 12562 | 12803 |
| 12563 @Experimental | 12804 @Experimental |
| 12564 void unbindAll() { | 12805 void unbindAll() { |
| 12565 unbind('value'); | 12806 unbind('value'); |
| 12566 unbind('checked'); | 12807 unbind('checked'); |
| 12567 Element._unbindAllElement(this); | 12808 Element._unbindAllElement(this); |
| 12568 } | 12809 } |
| 12569 | 12810 |
| 12811 // To suppress missing implicit constructor warnings. |
| 12812 factory InputElement._() { throw new UnsupportedError("Not supported"); } |
| 12570 | 12813 |
| 12571 @DomName('HTMLInputElement.webkitSpeechChangeEvent') | 12814 @DomName('HTMLInputElement.webkitSpeechChangeEvent') |
| 12572 @DocsEditable | 12815 @DocsEditable |
| 12573 @SupportedBrowser(SupportedBrowser.CHROME) | 12816 @SupportedBrowser(SupportedBrowser.CHROME) |
| 12574 @SupportedBrowser(SupportedBrowser.SAFARI) | 12817 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 12575 @Experimental | 12818 @Experimental |
| 12576 // http://lists.w3.org/Archives/Public/public-xg-htmlspeech/2011Feb/att-0020/a
pi-draft.html#extending_html_elements | 12819 // http://lists.w3.org/Archives/Public/public-xg-htmlspeech/2011Feb/att-0020/a
pi-draft.html#extending_html_elements |
| 12577 static const EventStreamProvider<Event> speechChangeEvent = const EventStreamP
rovider<Event>('webkitSpeechChange'); | 12820 static const EventStreamProvider<Event> speechChangeEvent = const EventStreamP
rovider<Event>('webkitSpeechChange'); |
| 12578 | 12821 |
| 12579 @DomName('HTMLInputElement.accept') | 12822 @DomName('HTMLInputElement.accept') |
| (...skipping 828 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 13408 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 13651 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 13409 // for details. All rights reserved. Use of this source code is governed by a | 13652 // for details. All rights reserved. Use of this source code is governed by a |
| 13410 // BSD-style license that can be found in the LICENSE file. | 13653 // BSD-style license that can be found in the LICENSE file. |
| 13411 | 13654 |
| 13412 | 13655 |
| 13413 @DocsEditable | 13656 @DocsEditable |
| 13414 @DomName('InputMethodContext') | 13657 @DomName('InputMethodContext') |
| 13415 // http://www.w3.org/TR/ime-api/#idl-def-InputMethodContext | 13658 // http://www.w3.org/TR/ime-api/#idl-def-InputMethodContext |
| 13416 @Experimental | 13659 @Experimental |
| 13417 class InputMethodContext native "InputMethodContext" { | 13660 class InputMethodContext native "InputMethodContext" { |
| 13661 // To suppress missing implicit constructor warnings. |
| 13662 factory InputMethodContext._() { throw new UnsupportedError("Not supported");
} |
| 13418 | 13663 |
| 13419 @DomName('InputMethodContext.composition') | 13664 @DomName('InputMethodContext.composition') |
| 13420 @DocsEditable | 13665 @DocsEditable |
| 13421 final Composition composition; | 13666 final Composition composition; |
| 13422 | 13667 |
| 13423 @DomName('InputMethodContext.enabled') | 13668 @DomName('InputMethodContext.enabled') |
| 13424 @DocsEditable | 13669 @DocsEditable |
| 13425 bool enabled; | 13670 bool enabled; |
| 13426 | 13671 |
| 13427 @DomName('InputMethodContext.locale') | 13672 @DomName('InputMethodContext.locale') |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 13484 type, canBubble, cancelable, view, keyIdentifier, keyLocation, | 13729 type, canBubble, cancelable, view, keyIdentifier, keyLocation, |
| 13485 ctrlKey, altKey, shiftKey, metaKey, altGraphKey); | 13730 ctrlKey, altKey, shiftKey, metaKey, altGraphKey); |
| 13486 } | 13731 } |
| 13487 } | 13732 } |
| 13488 | 13733 |
| 13489 @DomName('KeyboardEvent.keyCode') | 13734 @DomName('KeyboardEvent.keyCode') |
| 13490 int get keyCode => $dom_keyCode; | 13735 int get keyCode => $dom_keyCode; |
| 13491 | 13736 |
| 13492 @DomName('KeyboardEvent.charCode') | 13737 @DomName('KeyboardEvent.charCode') |
| 13493 int get charCode => $dom_charCode; | 13738 int get charCode => $dom_charCode; |
| 13739 // To suppress missing implicit constructor warnings. |
| 13740 factory KeyboardEvent._() { throw new UnsupportedError("Not supported"); } |
| 13494 | 13741 |
| 13495 @DomName('KeyboardEvent.altGraphKey') | 13742 @DomName('KeyboardEvent.altGraphKey') |
| 13496 @DocsEditable | 13743 @DocsEditable |
| 13497 @Experimental // nonstandard | 13744 @Experimental // nonstandard |
| 13498 final bool altGraphKey; | 13745 final bool altGraphKey; |
| 13499 | 13746 |
| 13500 @DomName('KeyboardEvent.altKey') | 13747 @DomName('KeyboardEvent.altKey') |
| 13501 @DocsEditable | 13748 @DocsEditable |
| 13502 final bool altKey; | 13749 final bool altKey; |
| 13503 | 13750 |
| (...skipping 26 matching lines...) Expand all Loading... |
| 13530 // BSD-style license that can be found in the LICENSE file. | 13777 // BSD-style license that can be found in the LICENSE file. |
| 13531 | 13778 |
| 13532 | 13779 |
| 13533 @DocsEditable | 13780 @DocsEditable |
| 13534 @DomName('HTMLKeygenElement') | 13781 @DomName('HTMLKeygenElement') |
| 13535 @SupportedBrowser(SupportedBrowser.CHROME) | 13782 @SupportedBrowser(SupportedBrowser.CHROME) |
| 13536 @SupportedBrowser(SupportedBrowser.SAFARI) | 13783 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 13537 @Experimental | 13784 @Experimental |
| 13538 // http://www.whatwg.org/specs/web-apps/current-work/multipage/the-button-elemen
t.html#the-keygen-element | 13785 // http://www.whatwg.org/specs/web-apps/current-work/multipage/the-button-elemen
t.html#the-keygen-element |
| 13539 class KeygenElement extends _HTMLElement native "HTMLKeygenElement" { | 13786 class KeygenElement extends _HTMLElement native "HTMLKeygenElement" { |
| 13787 // To suppress missing implicit constructor warnings. |
| 13788 factory KeygenElement._() { throw new UnsupportedError("Not supported"); } |
| 13540 | 13789 |
| 13541 @DomName('HTMLKeygenElement.HTMLKeygenElement') | 13790 @DomName('HTMLKeygenElement.HTMLKeygenElement') |
| 13542 @DocsEditable | 13791 @DocsEditable |
| 13543 factory KeygenElement() => document.$dom_createElement("keygen"); | 13792 factory KeygenElement() => document.$dom_createElement("keygen"); |
| 13544 | 13793 |
| 13545 /// Checks if this type is supported on the current platform. | 13794 /// Checks if this type is supported on the current platform. |
| 13546 static bool get supported => Element.isTagSupported('keygen') && (new Element.
tag('keygen') is KeygenElement); | 13795 static bool get supported => Element.isTagSupported('keygen') && (new Element.
tag('keygen') is KeygenElement); |
| 13547 | 13796 |
| 13548 @DomName('HTMLKeygenElement.autofocus') | 13797 @DomName('HTMLKeygenElement.autofocus') |
| 13549 @DocsEditable | 13798 @DocsEditable |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 13601 void setCustomValidity(String error) native; | 13850 void setCustomValidity(String error) native; |
| 13602 } | 13851 } |
| 13603 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 13852 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 13604 // for details. All rights reserved. Use of this source code is governed by a | 13853 // for details. All rights reserved. Use of this source code is governed by a |
| 13605 // BSD-style license that can be found in the LICENSE file. | 13854 // BSD-style license that can be found in the LICENSE file. |
| 13606 | 13855 |
| 13607 | 13856 |
| 13608 @DocsEditable | 13857 @DocsEditable |
| 13609 @DomName('HTMLLIElement') | 13858 @DomName('HTMLLIElement') |
| 13610 class LIElement extends _HTMLElement native "HTMLLIElement" { | 13859 class LIElement extends _HTMLElement native "HTMLLIElement" { |
| 13860 // To suppress missing implicit constructor warnings. |
| 13861 factory LIElement._() { throw new UnsupportedError("Not supported"); } |
| 13611 | 13862 |
| 13612 @DomName('HTMLLIElement.HTMLLIElement') | 13863 @DomName('HTMLLIElement.HTMLLIElement') |
| 13613 @DocsEditable | 13864 @DocsEditable |
| 13614 factory LIElement() => document.$dom_createElement("li"); | 13865 factory LIElement() => document.$dom_createElement("li"); |
| 13615 | 13866 |
| 13616 @DomName('HTMLLIElement.type') | 13867 @DomName('HTMLLIElement.type') |
| 13617 @DocsEditable | 13868 @DocsEditable |
| 13618 // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#H
TMLLIElement-partial | 13869 // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#H
TMLLIElement-partial |
| 13619 @deprecated // deprecated | 13870 @deprecated // deprecated |
| 13620 String type; | 13871 String type; |
| 13621 | 13872 |
| 13622 @DomName('HTMLLIElement.value') | 13873 @DomName('HTMLLIElement.value') |
| 13623 @DocsEditable | 13874 @DocsEditable |
| 13624 int value; | 13875 int value; |
| 13625 } | 13876 } |
| 13626 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 13877 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 13627 // for details. All rights reserved. Use of this source code is governed by a | 13878 // for details. All rights reserved. Use of this source code is governed by a |
| 13628 // BSD-style license that can be found in the LICENSE file. | 13879 // BSD-style license that can be found in the LICENSE file. |
| 13629 | 13880 |
| 13630 | 13881 |
| 13631 @DocsEditable | 13882 @DocsEditable |
| 13632 @DomName('HTMLLabelElement') | 13883 @DomName('HTMLLabelElement') |
| 13633 class LabelElement extends _HTMLElement native "HTMLLabelElement" { | 13884 class LabelElement extends _HTMLElement native "HTMLLabelElement" { |
| 13885 // To suppress missing implicit constructor warnings. |
| 13886 factory LabelElement._() { throw new UnsupportedError("Not supported"); } |
| 13634 | 13887 |
| 13635 @DomName('HTMLLabelElement.HTMLLabelElement') | 13888 @DomName('HTMLLabelElement.HTMLLabelElement') |
| 13636 @DocsEditable | 13889 @DocsEditable |
| 13637 factory LabelElement() => document.$dom_createElement("label"); | 13890 factory LabelElement() => document.$dom_createElement("label"); |
| 13638 | 13891 |
| 13639 @DomName('HTMLLabelElement.control') | 13892 @DomName('HTMLLabelElement.control') |
| 13640 @DocsEditable | 13893 @DocsEditable |
| 13641 final Element control; | 13894 final Element control; |
| 13642 | 13895 |
| 13643 @DomName('HTMLLabelElement.form') | 13896 @DomName('HTMLLabelElement.form') |
| 13644 @DocsEditable | 13897 @DocsEditable |
| 13645 final FormElement form; | 13898 final FormElement form; |
| 13646 | 13899 |
| 13647 @DomName('HTMLLabelElement.htmlFor') | 13900 @DomName('HTMLLabelElement.htmlFor') |
| 13648 @DocsEditable | 13901 @DocsEditable |
| 13649 String htmlFor; | 13902 String htmlFor; |
| 13650 } | 13903 } |
| 13651 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 13904 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 13652 // for details. All rights reserved. Use of this source code is governed by a | 13905 // for details. All rights reserved. Use of this source code is governed by a |
| 13653 // BSD-style license that can be found in the LICENSE file. | 13906 // BSD-style license that can be found in the LICENSE file. |
| 13654 | 13907 |
| 13655 | 13908 |
| 13656 @DocsEditable | 13909 @DocsEditable |
| 13657 @DomName('HTMLLegendElement') | 13910 @DomName('HTMLLegendElement') |
| 13658 class LegendElement extends _HTMLElement native "HTMLLegendElement" { | 13911 class LegendElement extends _HTMLElement native "HTMLLegendElement" { |
| 13912 // To suppress missing implicit constructor warnings. |
| 13913 factory LegendElement._() { throw new UnsupportedError("Not supported"); } |
| 13659 | 13914 |
| 13660 @DomName('HTMLLegendElement.HTMLLegendElement') | 13915 @DomName('HTMLLegendElement.HTMLLegendElement') |
| 13661 @DocsEditable | 13916 @DocsEditable |
| 13662 factory LegendElement() => document.$dom_createElement("legend"); | 13917 factory LegendElement() => document.$dom_createElement("legend"); |
| 13663 | 13918 |
| 13664 @DomName('HTMLLegendElement.form') | 13919 @DomName('HTMLLegendElement.form') |
| 13665 @DocsEditable | 13920 @DocsEditable |
| 13666 final FormElement form; | 13921 final FormElement form; |
| 13667 } | 13922 } |
| 13668 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 13923 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 13669 // for details. All rights reserved. Use of this source code is governed by a | 13924 // for details. All rights reserved. Use of this source code is governed by a |
| 13670 // BSD-style license that can be found in the LICENSE file. | 13925 // BSD-style license that can be found in the LICENSE file. |
| 13671 | 13926 |
| 13672 | 13927 |
| 13673 @DocsEditable | 13928 @DocsEditable |
| 13674 @DomName('HTMLLinkElement') | 13929 @DomName('HTMLLinkElement') |
| 13675 class LinkElement extends _HTMLElement native "HTMLLinkElement" { | 13930 class LinkElement extends _HTMLElement native "HTMLLinkElement" { |
| 13931 // To suppress missing implicit constructor warnings. |
| 13932 factory LinkElement._() { throw new UnsupportedError("Not supported"); } |
| 13676 | 13933 |
| 13677 @DomName('HTMLLinkElement.HTMLLinkElement') | 13934 @DomName('HTMLLinkElement.HTMLLinkElement') |
| 13678 @DocsEditable | 13935 @DocsEditable |
| 13679 factory LinkElement() => document.$dom_createElement("link"); | 13936 factory LinkElement() => document.$dom_createElement("link"); |
| 13680 | 13937 |
| 13681 @DomName('HTMLLinkElement.disabled') | 13938 @DomName('HTMLLinkElement.disabled') |
| 13682 @DocsEditable | 13939 @DocsEditable |
| 13683 bool disabled; | 13940 bool disabled; |
| 13684 | 13941 |
| 13685 @DomName('HTMLLinkElement.href') | 13942 @DomName('HTMLLinkElement.href') |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 13717 String type; | 13974 String type; |
| 13718 } | 13975 } |
| 13719 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 13976 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 13720 // for details. All rights reserved. Use of this source code is governed by a | 13977 // for details. All rights reserved. Use of this source code is governed by a |
| 13721 // BSD-style license that can be found in the LICENSE file. | 13978 // BSD-style license that can be found in the LICENSE file. |
| 13722 | 13979 |
| 13723 | 13980 |
| 13724 @DocsEditable | 13981 @DocsEditable |
| 13725 @DomName('Location') | 13982 @DomName('Location') |
| 13726 class Location implements LocationBase native "Location" { | 13983 class Location implements LocationBase native "Location" { |
| 13984 // To suppress missing implicit constructor warnings. |
| 13985 factory Location._() { throw new UnsupportedError("Not supported"); } |
| 13727 | 13986 |
| 13728 @DomName('Location.ancestorOrigins') | 13987 @DomName('Location.ancestorOrigins') |
| 13729 @DocsEditable | 13988 @DocsEditable |
| 13730 @Experimental // nonstandard | 13989 @Experimental // nonstandard |
| 13731 @Returns('DomStringList') | 13990 @Returns('DomStringList') |
| 13732 @Creates('DomStringList') | 13991 @Creates('DomStringList') |
| 13733 final List<String> ancestorOrigins; | 13992 final List<String> ancestorOrigins; |
| 13734 | 13993 |
| 13735 @DomName('Location.hash') | 13994 @DomName('Location.hash') |
| 13736 @DocsEditable | 13995 @DocsEditable |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 13801 @Experimental | 14060 @Experimental |
| 13802 typedef void MidiErrorCallback(DomError error); | 14061 typedef void MidiErrorCallback(DomError error); |
| 13803 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14062 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 13804 // for details. All rights reserved. Use of this source code is governed by a | 14063 // for details. All rights reserved. Use of this source code is governed by a |
| 13805 // BSD-style license that can be found in the LICENSE file. | 14064 // BSD-style license that can be found in the LICENSE file. |
| 13806 | 14065 |
| 13807 | 14066 |
| 13808 @DocsEditable | 14067 @DocsEditable |
| 13809 @DomName('HTMLMapElement') | 14068 @DomName('HTMLMapElement') |
| 13810 class MapElement extends _HTMLElement native "HTMLMapElement" { | 14069 class MapElement extends _HTMLElement native "HTMLMapElement" { |
| 14070 // To suppress missing implicit constructor warnings. |
| 14071 factory MapElement._() { throw new UnsupportedError("Not supported"); } |
| 13811 | 14072 |
| 13812 @DomName('HTMLMapElement.HTMLMapElement') | 14073 @DomName('HTMLMapElement.HTMLMapElement') |
| 13813 @DocsEditable | 14074 @DocsEditable |
| 13814 factory MapElement() => document.$dom_createElement("map"); | 14075 factory MapElement() => document.$dom_createElement("map"); |
| 13815 | 14076 |
| 13816 @DomName('HTMLMapElement.areas') | 14077 @DomName('HTMLMapElement.areas') |
| 13817 @DocsEditable | 14078 @DocsEditable |
| 13818 final HtmlCollection areas; | 14079 final HtmlCollection areas; |
| 13819 | 14080 |
| 13820 @DomName('HTMLMapElement.name') | 14081 @DomName('HTMLMapElement.name') |
| 13821 @DocsEditable | 14082 @DocsEditable |
| 13822 String name; | 14083 String name; |
| 13823 } | 14084 } |
| 13824 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14085 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 13825 // for details. All rights reserved. Use of this source code is governed by a | 14086 // for details. All rights reserved. Use of this source code is governed by a |
| 13826 // BSD-style license that can be found in the LICENSE file. | 14087 // BSD-style license that can be found in the LICENSE file. |
| 13827 | 14088 |
| 13828 | 14089 |
| 13829 @DocsEditable | 14090 @DocsEditable |
| 13830 @DomName('MediaController') | 14091 @DomName('MediaController') |
| 13831 // http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element
.html#mediacontroller | 14092 // http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element
.html#mediacontroller |
| 13832 @Experimental | 14093 @Experimental |
| 13833 class MediaController extends EventTarget native "MediaController" { | 14094 class MediaController extends EventTarget native "MediaController" { |
| 14095 // To suppress missing implicit constructor warnings. |
| 14096 factory MediaController._() { throw new UnsupportedError("Not supported"); } |
| 13834 | 14097 |
| 13835 @DomName('MediaController.MediaController') | 14098 @DomName('MediaController.MediaController') |
| 13836 @DocsEditable | 14099 @DocsEditable |
| 13837 factory MediaController() { | 14100 factory MediaController() { |
| 13838 return MediaController._create_1(); | 14101 return MediaController._create_1(); |
| 13839 } | 14102 } |
| 13840 static MediaController _create_1() => JS('MediaController', 'new MediaControll
er()'); | 14103 static MediaController _create_1() => JS('MediaController', 'new MediaControll
er()'); |
| 13841 | 14104 |
| 13842 @DomName('MediaController.buffered') | 14105 @DomName('MediaController.buffered') |
| 13843 @DocsEditable | 14106 @DocsEditable |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 13911 } | 14174 } |
| 13912 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14175 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 13913 // for details. All rights reserved. Use of this source code is governed by a | 14176 // for details. All rights reserved. Use of this source code is governed by a |
| 13914 // BSD-style license that can be found in the LICENSE file. | 14177 // BSD-style license that can be found in the LICENSE file. |
| 13915 | 14178 |
| 13916 | 14179 |
| 13917 @DocsEditable | 14180 @DocsEditable |
| 13918 @DomName('HTMLMediaElement') | 14181 @DomName('HTMLMediaElement') |
| 13919 @Unstable | 14182 @Unstable |
| 13920 class MediaElement extends _HTMLElement native "HTMLMediaElement" { | 14183 class MediaElement extends _HTMLElement native "HTMLMediaElement" { |
| 14184 // To suppress missing implicit constructor warnings. |
| 14185 factory MediaElement._() { throw new UnsupportedError("Not supported"); } |
| 13921 | 14186 |
| 13922 @DomName('HTMLMediaElement.canplayEvent') | 14187 @DomName('HTMLMediaElement.canplayEvent') |
| 13923 @DocsEditable | 14188 @DocsEditable |
| 13924 static const EventStreamProvider<Event> canPlayEvent = const EventStreamProvid
er<Event>('canplay'); | 14189 static const EventStreamProvider<Event> canPlayEvent = const EventStreamProvid
er<Event>('canplay'); |
| 13925 | 14190 |
| 13926 @DomName('HTMLMediaElement.canplaythroughEvent') | 14191 @DomName('HTMLMediaElement.canplaythroughEvent') |
| 13927 @DocsEditable | 14192 @DocsEditable |
| 13928 static const EventStreamProvider<Event> canPlayThroughEvent = const EventStrea
mProvider<Event>('canplaythrough'); | 14193 static const EventStreamProvider<Event> canPlayThroughEvent = const EventStrea
mProvider<Event>('canplaythrough'); |
| 13929 | 14194 |
| 13930 @DomName('HTMLMediaElement.durationchangeEvent') | 14195 @DomName('HTMLMediaElement.durationchangeEvent') |
| (...skipping 468 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 14399 } | 14664 } |
| 14400 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14665 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 14401 // for details. All rights reserved. Use of this source code is governed by a | 14666 // for details. All rights reserved. Use of this source code is governed by a |
| 14402 // BSD-style license that can be found in the LICENSE file. | 14667 // BSD-style license that can be found in the LICENSE file. |
| 14403 | 14668 |
| 14404 | 14669 |
| 14405 @DocsEditable | 14670 @DocsEditable |
| 14406 @DomName('MediaError') | 14671 @DomName('MediaError') |
| 14407 @Unstable | 14672 @Unstable |
| 14408 class MediaError native "MediaError" { | 14673 class MediaError native "MediaError" { |
| 14674 // To suppress missing implicit constructor warnings. |
| 14675 factory MediaError._() { throw new UnsupportedError("Not supported"); } |
| 14409 | 14676 |
| 14410 @DomName('MediaError.MEDIA_ERR_ABORTED') | 14677 @DomName('MediaError.MEDIA_ERR_ABORTED') |
| 14411 @DocsEditable | 14678 @DocsEditable |
| 14412 static const int MEDIA_ERR_ABORTED = 1; | 14679 static const int MEDIA_ERR_ABORTED = 1; |
| 14413 | 14680 |
| 14414 @DomName('MediaError.MEDIA_ERR_DECODE') | 14681 @DomName('MediaError.MEDIA_ERR_DECODE') |
| 14415 @DocsEditable | 14682 @DocsEditable |
| 14416 static const int MEDIA_ERR_DECODE = 3; | 14683 static const int MEDIA_ERR_DECODE = 3; |
| 14417 | 14684 |
| 14418 @DomName('MediaError.MEDIA_ERR_ENCRYPTED') | 14685 @DomName('MediaError.MEDIA_ERR_ENCRYPTED') |
| (...skipping 17 matching lines...) Expand all Loading... |
| 14436 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14703 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 14437 // for details. All rights reserved. Use of this source code is governed by a | 14704 // for details. All rights reserved. Use of this source code is governed by a |
| 14438 // BSD-style license that can be found in the LICENSE file. | 14705 // BSD-style license that can be found in the LICENSE file. |
| 14439 | 14706 |
| 14440 | 14707 |
| 14441 @DocsEditable | 14708 @DocsEditable |
| 14442 @DomName('MediaKeyError') | 14709 @DomName('MediaKeyError') |
| 14443 // https://dvcs.w3.org/hg/html-media/raw-file/eme-v0.1/encrypted-media/encrypted
-media.html#error-codes | 14710 // https://dvcs.w3.org/hg/html-media/raw-file/eme-v0.1/encrypted-media/encrypted
-media.html#error-codes |
| 14444 @Experimental | 14711 @Experimental |
| 14445 class MediaKeyError native "MediaKeyError" { | 14712 class MediaKeyError native "MediaKeyError" { |
| 14713 // To suppress missing implicit constructor warnings. |
| 14714 factory MediaKeyError._() { throw new UnsupportedError("Not supported"); } |
| 14446 | 14715 |
| 14447 @DomName('MediaKeyError.MEDIA_KEYERR_CLIENT') | 14716 @DomName('MediaKeyError.MEDIA_KEYERR_CLIENT') |
| 14448 @DocsEditable | 14717 @DocsEditable |
| 14449 static const int MEDIA_KEYERR_CLIENT = 2; | 14718 static const int MEDIA_KEYERR_CLIENT = 2; |
| 14450 | 14719 |
| 14451 @DomName('MediaKeyError.MEDIA_KEYERR_DOMAIN') | 14720 @DomName('MediaKeyError.MEDIA_KEYERR_DOMAIN') |
| 14452 @DocsEditable | 14721 @DocsEditable |
| 14453 static const int MEDIA_KEYERR_DOMAIN = 6; | 14722 static const int MEDIA_KEYERR_DOMAIN = 6; |
| 14454 | 14723 |
| 14455 @DomName('MediaKeyError.MEDIA_KEYERR_HARDWARECHANGE') | 14724 @DomName('MediaKeyError.MEDIA_KEYERR_HARDWARECHANGE') |
| (...skipping 24 matching lines...) Expand all Loading... |
| 14480 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14749 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 14481 // for details. All rights reserved. Use of this source code is governed by a | 14750 // for details. All rights reserved. Use of this source code is governed by a |
| 14482 // BSD-style license that can be found in the LICENSE file. | 14751 // BSD-style license that can be found in the LICENSE file. |
| 14483 | 14752 |
| 14484 | 14753 |
| 14485 @DocsEditable | 14754 @DocsEditable |
| 14486 @DomName('MediaKeyEvent') | 14755 @DomName('MediaKeyEvent') |
| 14487 // https://dvcs.w3.org/hg/html-media/raw-file/eme-v0.1/encrypted-media/encrypted
-media.html#event-definitions | 14756 // https://dvcs.w3.org/hg/html-media/raw-file/eme-v0.1/encrypted-media/encrypted
-media.html#event-definitions |
| 14488 @Experimental | 14757 @Experimental |
| 14489 class MediaKeyEvent extends Event native "MediaKeyEvent" { | 14758 class MediaKeyEvent extends Event native "MediaKeyEvent" { |
| 14759 // To suppress missing implicit constructor warnings. |
| 14760 factory MediaKeyEvent._() { throw new UnsupportedError("Not supported"); } |
| 14490 | 14761 |
| 14491 @JSName('defaultURL') | 14762 @JSName('defaultURL') |
| 14492 @DomName('MediaKeyEvent.defaultURL') | 14763 @DomName('MediaKeyEvent.defaultURL') |
| 14493 @DocsEditable | 14764 @DocsEditable |
| 14494 final String defaultUrl; | 14765 final String defaultUrl; |
| 14495 | 14766 |
| 14496 @DomName('MediaKeyEvent.errorCode') | 14767 @DomName('MediaKeyEvent.errorCode') |
| 14497 @DocsEditable | 14768 @DocsEditable |
| 14498 final MediaKeyError errorCode; | 14769 final MediaKeyError errorCode; |
| 14499 | 14770 |
| (...skipping 20 matching lines...) Expand all Loading... |
| 14520 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14791 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 14521 // for details. All rights reserved. Use of this source code is governed by a | 14792 // for details. All rights reserved. Use of this source code is governed by a |
| 14522 // BSD-style license that can be found in the LICENSE file. | 14793 // BSD-style license that can be found in the LICENSE file. |
| 14523 | 14794 |
| 14524 | 14795 |
| 14525 @DocsEditable | 14796 @DocsEditable |
| 14526 @DomName('MediaKeyMessageEvent') | 14797 @DomName('MediaKeyMessageEvent') |
| 14527 // https://dvcs.w3.org/hg/html-media/raw-file/eme-v0.1/encrypted-media/encrypted
-media.html#dom-mediakeymessageevent | 14798 // https://dvcs.w3.org/hg/html-media/raw-file/eme-v0.1/encrypted-media/encrypted
-media.html#dom-mediakeymessageevent |
| 14528 @Experimental | 14799 @Experimental |
| 14529 class MediaKeyMessageEvent extends Event native "MediaKeyMessageEvent" { | 14800 class MediaKeyMessageEvent extends Event native "MediaKeyMessageEvent" { |
| 14801 // To suppress missing implicit constructor warnings. |
| 14802 factory MediaKeyMessageEvent._() { throw new UnsupportedError("Not supported")
; } |
| 14530 | 14803 |
| 14531 @JSName('destinationURL') | 14804 @JSName('destinationURL') |
| 14532 @DomName('MediaKeyMessageEvent.destinationURL') | 14805 @DomName('MediaKeyMessageEvent.destinationURL') |
| 14533 @DocsEditable | 14806 @DocsEditable |
| 14534 final String destinationUrl; | 14807 final String destinationUrl; |
| 14535 | 14808 |
| 14536 @DomName('MediaKeyMessageEvent.message') | 14809 @DomName('MediaKeyMessageEvent.message') |
| 14537 @DocsEditable | 14810 @DocsEditable |
| 14538 final Uint8List message; | 14811 final Uint8List message; |
| 14539 } | 14812 } |
| 14540 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14813 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 14541 // for details. All rights reserved. Use of this source code is governed by a | 14814 // for details. All rights reserved. Use of this source code is governed by a |
| 14542 // BSD-style license that can be found in the LICENSE file. | 14815 // BSD-style license that can be found in the LICENSE file. |
| 14543 | 14816 |
| 14544 | 14817 |
| 14545 @DocsEditable | 14818 @DocsEditable |
| 14546 @DomName('MediaKeyNeededEvent') | 14819 @DomName('MediaKeyNeededEvent') |
| 14547 // https://dvcs.w3.org/hg/html-media/raw-file/eme-v0.1/encrypted-media/encrypted
-media.html#dom-mediakeyneededevent | 14820 // https://dvcs.w3.org/hg/html-media/raw-file/eme-v0.1/encrypted-media/encrypted
-media.html#dom-mediakeyneededevent |
| 14548 @Experimental | 14821 @Experimental |
| 14549 class MediaKeyNeededEvent extends Event native "MediaKeyNeededEvent" { | 14822 class MediaKeyNeededEvent extends Event native "MediaKeyNeededEvent" { |
| 14823 // To suppress missing implicit constructor warnings. |
| 14824 factory MediaKeyNeededEvent._() { throw new UnsupportedError("Not supported");
} |
| 14550 | 14825 |
| 14551 @DomName('MediaKeyNeededEvent.initData') | 14826 @DomName('MediaKeyNeededEvent.initData') |
| 14552 @DocsEditable | 14827 @DocsEditable |
| 14553 final Uint8List initData; | 14828 final Uint8List initData; |
| 14554 } | 14829 } |
| 14555 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14830 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 14556 // for details. All rights reserved. Use of this source code is governed by a | 14831 // for details. All rights reserved. Use of this source code is governed by a |
| 14557 // BSD-style license that can be found in the LICENSE file. | 14832 // BSD-style license that can be found in the LICENSE file. |
| 14558 | 14833 |
| 14559 | 14834 |
| 14560 @DocsEditable | 14835 @DocsEditable |
| 14561 @DomName('MediaKeySession') | 14836 @DomName('MediaKeySession') |
| 14562 // https://dvcs.w3.org/hg/html-media/raw-file/eme-v0.1/encrypted-media/encrypted
-media.html#dom-mediakeysession | 14837 // https://dvcs.w3.org/hg/html-media/raw-file/eme-v0.1/encrypted-media/encrypted
-media.html#dom-mediakeysession |
| 14563 @Experimental | 14838 @Experimental |
| 14564 class MediaKeySession extends EventTarget native "MediaKeySession" { | 14839 class MediaKeySession extends EventTarget native "MediaKeySession" { |
| 14840 // To suppress missing implicit constructor warnings. |
| 14841 factory MediaKeySession._() { throw new UnsupportedError("Not supported"); } |
| 14565 | 14842 |
| 14566 @DomName('MediaKeySession.webkitkeyaddedEvent') | 14843 @DomName('MediaKeySession.webkitkeyaddedEvent') |
| 14567 @DocsEditable | 14844 @DocsEditable |
| 14568 @SupportedBrowser(SupportedBrowser.CHROME) | 14845 @SupportedBrowser(SupportedBrowser.CHROME) |
| 14569 @SupportedBrowser(SupportedBrowser.SAFARI) | 14846 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 14570 @Experimental | 14847 @Experimental |
| 14571 static const EventStreamProvider<MediaKeyEvent> keyAddedEvent = const EventStr
eamProvider<MediaKeyEvent>('webkitkeyadded'); | 14848 static const EventStreamProvider<MediaKeyEvent> keyAddedEvent = const EventStr
eamProvider<MediaKeyEvent>('webkitkeyadded'); |
| 14572 | 14849 |
| 14573 @DomName('MediaKeySession.webkitkeyerrorEvent') | 14850 @DomName('MediaKeySession.webkitkeyerrorEvent') |
| 14574 @DocsEditable | 14851 @DocsEditable |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 14633 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14910 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 14634 // for details. All rights reserved. Use of this source code is governed by a | 14911 // for details. All rights reserved. Use of this source code is governed by a |
| 14635 // BSD-style license that can be found in the LICENSE file. | 14912 // BSD-style license that can be found in the LICENSE file. |
| 14636 | 14913 |
| 14637 | 14914 |
| 14638 @DocsEditable | 14915 @DocsEditable |
| 14639 @DomName('MediaKeys') | 14916 @DomName('MediaKeys') |
| 14640 // https://dvcs.w3.org/hg/html-media/raw-file/eme-v0.1/encrypted-media/encrypted
-media.html | 14917 // https://dvcs.w3.org/hg/html-media/raw-file/eme-v0.1/encrypted-media/encrypted
-media.html |
| 14641 @Experimental | 14918 @Experimental |
| 14642 class MediaKeys native "MediaKeys" { | 14919 class MediaKeys native "MediaKeys" { |
| 14920 // To suppress missing implicit constructor warnings. |
| 14921 factory MediaKeys._() { throw new UnsupportedError("Not supported"); } |
| 14643 | 14922 |
| 14644 @DomName('MediaKeys.MediaKeys') | 14923 @DomName('MediaKeys.MediaKeys') |
| 14645 @DocsEditable | 14924 @DocsEditable |
| 14646 factory MediaKeys(String keySystem) { | 14925 factory MediaKeys(String keySystem) { |
| 14647 return MediaKeys._create_1(keySystem); | 14926 return MediaKeys._create_1(keySystem); |
| 14648 } | 14927 } |
| 14649 static MediaKeys _create_1(keySystem) => JS('MediaKeys', 'new MediaKeys(#)', k
eySystem); | 14928 static MediaKeys _create_1(keySystem) => JS('MediaKeys', 'new MediaKeys(#)', k
eySystem); |
| 14650 | 14929 |
| 14651 @DomName('MediaKeys.keySystem') | 14930 @DomName('MediaKeys.keySystem') |
| 14652 @DocsEditable | 14931 @DocsEditable |
| 14653 final String keySystem; | 14932 final String keySystem; |
| 14654 | 14933 |
| 14655 @DomName('MediaKeys.createSession') | 14934 @DomName('MediaKeys.createSession') |
| 14656 @DocsEditable | 14935 @DocsEditable |
| 14657 MediaKeySession createSession(String type, Uint8List initData) native; | 14936 MediaKeySession createSession(String type, Uint8List initData) native; |
| 14658 } | 14937 } |
| 14659 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14938 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 14660 // for details. All rights reserved. Use of this source code is governed by a | 14939 // for details. All rights reserved. Use of this source code is governed by a |
| 14661 // BSD-style license that can be found in the LICENSE file. | 14940 // BSD-style license that can be found in the LICENSE file. |
| 14662 | 14941 |
| 14663 | 14942 |
| 14664 @DocsEditable | 14943 @DocsEditable |
| 14665 @DomName('MediaList') | 14944 @DomName('MediaList') |
| 14666 @Unstable | 14945 @Unstable |
| 14667 class MediaList native "MediaList" { | 14946 class MediaList native "MediaList" { |
| 14947 // To suppress missing implicit constructor warnings. |
| 14948 factory MediaList._() { throw new UnsupportedError("Not supported"); } |
| 14668 | 14949 |
| 14669 @DomName('MediaList.length') | 14950 @DomName('MediaList.length') |
| 14670 @DocsEditable | 14951 @DocsEditable |
| 14671 final int length; | 14952 final int length; |
| 14672 | 14953 |
| 14673 @DomName('MediaList.mediaText') | 14954 @DomName('MediaList.mediaText') |
| 14674 @DocsEditable | 14955 @DocsEditable |
| 14675 String mediaText; | 14956 String mediaText; |
| 14676 | 14957 |
| 14677 @DomName('MediaList.appendMedium') | 14958 @DomName('MediaList.appendMedium') |
| (...skipping 10 matching lines...) Expand all Loading... |
| 14688 } | 14969 } |
| 14689 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14970 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 14690 // for details. All rights reserved. Use of this source code is governed by a | 14971 // for details. All rights reserved. Use of this source code is governed by a |
| 14691 // BSD-style license that can be found in the LICENSE file. | 14972 // BSD-style license that can be found in the LICENSE file. |
| 14692 | 14973 |
| 14693 | 14974 |
| 14694 @DocsEditable | 14975 @DocsEditable |
| 14695 @DomName('MediaQueryList') | 14976 @DomName('MediaQueryList') |
| 14696 @Unstable | 14977 @Unstable |
| 14697 class MediaQueryList native "MediaQueryList" { | 14978 class MediaQueryList native "MediaQueryList" { |
| 14979 // To suppress missing implicit constructor warnings. |
| 14980 factory MediaQueryList._() { throw new UnsupportedError("Not supported"); } |
| 14698 | 14981 |
| 14699 @DomName('MediaQueryList.matches') | 14982 @DomName('MediaQueryList.matches') |
| 14700 @DocsEditable | 14983 @DocsEditable |
| 14701 final bool matches; | 14984 final bool matches; |
| 14702 | 14985 |
| 14703 @DomName('MediaQueryList.media') | 14986 @DomName('MediaQueryList.media') |
| 14704 @DocsEditable | 14987 @DocsEditable |
| 14705 final String media; | 14988 final String media; |
| 14706 | 14989 |
| 14707 @DomName('MediaQueryList.addListener') | 14990 @DomName('MediaQueryList.addListener') |
| 14708 @DocsEditable | 14991 @DocsEditable |
| 14709 void addListener(MediaQueryListListener listener) native; | 14992 void addListener(MediaQueryListListener listener) native; |
| 14710 | 14993 |
| 14711 @DomName('MediaQueryList.removeListener') | 14994 @DomName('MediaQueryList.removeListener') |
| 14712 @DocsEditable | 14995 @DocsEditable |
| 14713 void removeListener(MediaQueryListListener listener) native; | 14996 void removeListener(MediaQueryListListener listener) native; |
| 14714 } | 14997 } |
| 14715 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14998 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 14716 // for details. All rights reserved. Use of this source code is governed by a | 14999 // for details. All rights reserved. Use of this source code is governed by a |
| 14717 // BSD-style license that can be found in the LICENSE file. | 15000 // BSD-style license that can be found in the LICENSE file. |
| 14718 | 15001 |
| 14719 | 15002 |
| 14720 @DomName('MediaQueryListListener') | 15003 @DomName('MediaQueryListListener') |
| 14721 @Unstable | 15004 @Unstable |
| 14722 abstract class MediaQueryListListener { | 15005 abstract class MediaQueryListListener { |
| 15006 // To suppress missing implicit constructor warnings. |
| 15007 factory MediaQueryListListener._() { throw new UnsupportedError("Not supported
"); } |
| 14723 | 15008 |
| 14724 void queryChanged(MediaQueryList list); | 15009 void queryChanged(MediaQueryList list); |
| 14725 } | 15010 } |
| 14726 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 15011 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 14727 // for details. All rights reserved. Use of this source code is governed by a | 15012 // for details. All rights reserved. Use of this source code is governed by a |
| 14728 // BSD-style license that can be found in the LICENSE file. | 15013 // BSD-style license that can be found in the LICENSE file. |
| 14729 | 15014 |
| 14730 | 15015 |
| 14731 @DocsEditable | 15016 @DocsEditable |
| 14732 @DomName('WebKitMediaSource') | 15017 @DomName('WebKitMediaSource') |
| 14733 @SupportedBrowser(SupportedBrowser.CHROME) | 15018 @SupportedBrowser(SupportedBrowser.CHROME) |
| 14734 @SupportedBrowser(SupportedBrowser.SAFARI) | 15019 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 14735 @Experimental | 15020 @Experimental |
| 14736 // https://dvcs.w3.org/hg/html-media/raw-file/tip/media-source/media-source.html
#mediasource | 15021 // https://dvcs.w3.org/hg/html-media/raw-file/tip/media-source/media-source.html
#mediasource |
| 14737 class MediaSource extends EventTarget native "WebKitMediaSource" { | 15022 class MediaSource extends EventTarget native "WebKitMediaSource" { |
| 15023 // To suppress missing implicit constructor warnings. |
| 15024 factory MediaSource._() { throw new UnsupportedError("Not supported"); } |
| 14738 | 15025 |
| 14739 @DomName('WebKitMediaSource.WebKitMediaSource') | 15026 @DomName('WebKitMediaSource.WebKitMediaSource') |
| 14740 @DocsEditable | 15027 @DocsEditable |
| 14741 factory MediaSource() { | 15028 factory MediaSource() { |
| 14742 return MediaSource._create_1(); | 15029 return MediaSource._create_1(); |
| 14743 } | 15030 } |
| 14744 static MediaSource _create_1() => JS('MediaSource', 'new WebKitMediaSource()')
; | 15031 static MediaSource _create_1() => JS('MediaSource', 'new WebKitMediaSource()')
; |
| 14745 | 15032 |
| 14746 @DomName('WebKitMediaSource.activeSourceBuffers') | 15033 @DomName('WebKitMediaSource.activeSourceBuffers') |
| 14747 @DocsEditable | 15034 @DocsEditable |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 14792 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 15079 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 14793 // for details. All rights reserved. Use of this source code is governed by a | 15080 // for details. All rights reserved. Use of this source code is governed by a |
| 14794 // BSD-style license that can be found in the LICENSE file. | 15081 // BSD-style license that can be found in the LICENSE file. |
| 14795 | 15082 |
| 14796 | 15083 |
| 14797 @DomName('MediaStream') | 15084 @DomName('MediaStream') |
| 14798 @SupportedBrowser(SupportedBrowser.CHROME) | 15085 @SupportedBrowser(SupportedBrowser.CHROME) |
| 14799 @Experimental | 15086 @Experimental |
| 14800 // http://dev.w3.org/2011/webrtc/editor/getusermedia.html#mediastream | 15087 // http://dev.w3.org/2011/webrtc/editor/getusermedia.html#mediastream |
| 14801 class MediaStream extends EventTarget native "MediaStream" { | 15088 class MediaStream extends EventTarget native "MediaStream" { |
| 15089 // To suppress missing implicit constructor warnings. |
| 15090 factory MediaStream._() { throw new UnsupportedError("Not supported"); } |
| 14802 | 15091 |
| 14803 @DomName('MediaStream.addtrackEvent') | 15092 @DomName('MediaStream.addtrackEvent') |
| 14804 @DocsEditable | 15093 @DocsEditable |
| 14805 static const EventStreamProvider<Event> addTrackEvent = const EventStreamProvi
der<Event>('addtrack'); | 15094 static const EventStreamProvider<Event> addTrackEvent = const EventStreamProvi
der<Event>('addtrack'); |
| 14806 | 15095 |
| 14807 @DomName('MediaStream.endedEvent') | 15096 @DomName('MediaStream.endedEvent') |
| 14808 @DocsEditable | 15097 @DocsEditable |
| 14809 static const EventStreamProvider<Event> endedEvent = const EventStreamProvider
<Event>('ended'); | 15098 static const EventStreamProvider<Event> endedEvent = const EventStreamProvider
<Event>('ended'); |
| 14810 | 15099 |
| 14811 @DomName('MediaStream.removetrackEvent') | 15100 @DomName('MediaStream.removetrackEvent') |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 14913 // for details. All rights reserved. Use of this source code is governed by a | 15202 // for details. All rights reserved. Use of this source code is governed by a |
| 14914 // BSD-style license that can be found in the LICENSE file. | 15203 // BSD-style license that can be found in the LICENSE file. |
| 14915 | 15204 |
| 14916 | 15205 |
| 14917 @DocsEditable | 15206 @DocsEditable |
| 14918 @DomName('MediaStreamEvent') | 15207 @DomName('MediaStreamEvent') |
| 14919 @SupportedBrowser(SupportedBrowser.CHROME) | 15208 @SupportedBrowser(SupportedBrowser.CHROME) |
| 14920 @Experimental | 15209 @Experimental |
| 14921 // http://dev.w3.org/2011/webrtc/editor/getusermedia.html | 15210 // http://dev.w3.org/2011/webrtc/editor/getusermedia.html |
| 14922 class MediaStreamEvent extends Event native "MediaStreamEvent" { | 15211 class MediaStreamEvent extends Event native "MediaStreamEvent" { |
| 15212 // To suppress missing implicit constructor warnings. |
| 15213 factory MediaStreamEvent._() { throw new UnsupportedError("Not supported"); } |
| 14923 | 15214 |
| 14924 /// Checks if this type is supported on the current platform. | 15215 /// Checks if this type is supported on the current platform. |
| 14925 static bool get supported => Device.isEventTypeSupported('MediaStreamEvent'); | 15216 static bool get supported => Device.isEventTypeSupported('MediaStreamEvent'); |
| 14926 | 15217 |
| 14927 @DomName('MediaStreamEvent.stream') | 15218 @DomName('MediaStreamEvent.stream') |
| 14928 @DocsEditable | 15219 @DocsEditable |
| 14929 final MediaStream stream; | 15220 final MediaStream stream; |
| 14930 } | 15221 } |
| 14931 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 15222 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 14932 // for details. All rights reserved. Use of this source code is governed by a | 15223 // for details. All rights reserved. Use of this source code is governed by a |
| 14933 // BSD-style license that can be found in the LICENSE file. | 15224 // BSD-style license that can be found in the LICENSE file. |
| 14934 | 15225 |
| 14935 | 15226 |
| 14936 @DocsEditable | 15227 @DocsEditable |
| 14937 @DomName('MediaStreamTrack') | 15228 @DomName('MediaStreamTrack') |
| 14938 @SupportedBrowser(SupportedBrowser.CHROME) | 15229 @SupportedBrowser(SupportedBrowser.CHROME) |
| 14939 @Experimental | 15230 @Experimental |
| 14940 // http://dev.w3.org/2011/webrtc/editor/getusermedia.html#mediastreamtrack | 15231 // http://dev.w3.org/2011/webrtc/editor/getusermedia.html#mediastreamtrack |
| 14941 class MediaStreamTrack extends EventTarget native "MediaStreamTrack" { | 15232 class MediaStreamTrack extends EventTarget native "MediaStreamTrack" { |
| 15233 // To suppress missing implicit constructor warnings. |
| 15234 factory MediaStreamTrack._() { throw new UnsupportedError("Not supported"); } |
| 14942 | 15235 |
| 14943 @DomName('MediaStreamTrack.endedEvent') | 15236 @DomName('MediaStreamTrack.endedEvent') |
| 14944 @DocsEditable | 15237 @DocsEditable |
| 14945 static const EventStreamProvider<Event> endedEvent = const EventStreamProvider
<Event>('ended'); | 15238 static const EventStreamProvider<Event> endedEvent = const EventStreamProvider
<Event>('ended'); |
| 14946 | 15239 |
| 14947 @DomName('MediaStreamTrack.muteEvent') | 15240 @DomName('MediaStreamTrack.muteEvent') |
| 14948 @DocsEditable | 15241 @DocsEditable |
| 14949 static const EventStreamProvider<Event> muteEvent = const EventStreamProvider<
Event>('mute'); | 15242 static const EventStreamProvider<Event> muteEvent = const EventStreamProvider<
Event>('mute'); |
| 14950 | 15243 |
| 14951 @DomName('MediaStreamTrack.unmuteEvent') | 15244 @DomName('MediaStreamTrack.unmuteEvent') |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 15002 // 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 |
| 15003 // BSD-style license that can be found in the LICENSE file. | 15296 // BSD-style license that can be found in the LICENSE file. |
| 15004 | 15297 |
| 15005 | 15298 |
| 15006 @DocsEditable | 15299 @DocsEditable |
| 15007 @DomName('MediaStreamTrackEvent') | 15300 @DomName('MediaStreamTrackEvent') |
| 15008 @SupportedBrowser(SupportedBrowser.CHROME) | 15301 @SupportedBrowser(SupportedBrowser.CHROME) |
| 15009 @Experimental | 15302 @Experimental |
| 15010 // http://dev.w3.org/2011/webrtc/editor/getusermedia.html | 15303 // http://dev.w3.org/2011/webrtc/editor/getusermedia.html |
| 15011 class MediaStreamTrackEvent extends Event native "MediaStreamTrackEvent" { | 15304 class MediaStreamTrackEvent extends Event native "MediaStreamTrackEvent" { |
| 15305 // To suppress missing implicit constructor warnings. |
| 15306 factory MediaStreamTrackEvent._() { throw new UnsupportedError("Not supported"
); } |
| 15012 | 15307 |
| 15013 /// Checks if this type is supported on the current platform. | 15308 /// Checks if this type is supported on the current platform. |
| 15014 static bool get supported => Device.isEventTypeSupported('MediaStreamTrackEven
t'); | 15309 static bool get supported => Device.isEventTypeSupported('MediaStreamTrackEven
t'); |
| 15015 | 15310 |
| 15016 @DomName('MediaStreamTrackEvent.track') | 15311 @DomName('MediaStreamTrackEvent.track') |
| 15017 @DocsEditable | 15312 @DocsEditable |
| 15018 final MediaStreamTrack track; | 15313 final MediaStreamTrack track; |
| 15019 } | 15314 } |
| 15020 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 15315 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 15021 // for details. All rights reserved. Use of this source code is governed by a | 15316 // for details. All rights reserved. Use of this source code is governed by a |
| 15022 // BSD-style license that can be found in the LICENSE file. | 15317 // BSD-style license that can be found in the LICENSE file. |
| 15023 | 15318 |
| 15024 | 15319 |
| 15025 @DocsEditable | 15320 @DocsEditable |
| 15026 @DomName('MemoryInfo') | 15321 @DomName('MemoryInfo') |
| 15027 @Experimental // nonstandard | 15322 @Experimental // nonstandard |
| 15028 class MemoryInfo native "MemoryInfo" { | 15323 class MemoryInfo native "MemoryInfo" { |
| 15324 // To suppress missing implicit constructor warnings. |
| 15325 factory MemoryInfo._() { throw new UnsupportedError("Not supported"); } |
| 15029 | 15326 |
| 15030 @DomName('MemoryInfo.jsHeapSizeLimit') | 15327 @DomName('MemoryInfo.jsHeapSizeLimit') |
| 15031 @DocsEditable | 15328 @DocsEditable |
| 15032 final int jsHeapSizeLimit; | 15329 final int jsHeapSizeLimit; |
| 15033 | 15330 |
| 15034 @DomName('MemoryInfo.totalJSHeapSize') | 15331 @DomName('MemoryInfo.totalJSHeapSize') |
| 15035 @DocsEditable | 15332 @DocsEditable |
| 15036 final int totalJSHeapSize; | 15333 final int totalJSHeapSize; |
| 15037 | 15334 |
| 15038 @DomName('MemoryInfo.usedJSHeapSize') | 15335 @DomName('MemoryInfo.usedJSHeapSize') |
| (...skipping 11 matching lines...) Expand all Loading... |
| 15050 * | 15347 * |
| 15051 * A <menu> element represents an unordered list of menu commands. | 15348 * A <menu> element represents an unordered list of menu commands. |
| 15052 * | 15349 * |
| 15053 * See also: | 15350 * See also: |
| 15054 * | 15351 * |
| 15055 * * [Menu Element](https://developer.mozilla.org/en-US/docs/HTML/Element/menu)
from MDN. | 15352 * * [Menu Element](https://developer.mozilla.org/en-US/docs/HTML/Element/menu)
from MDN. |
| 15056 * * [Menu Element](http://www.w3.org/TR/html5/the-menu-element.html#the-menu-e
lement) from the W3C. | 15353 * * [Menu Element](http://www.w3.org/TR/html5/the-menu-element.html#the-menu-e
lement) from the W3C. |
| 15057 */ | 15354 */ |
| 15058 @DomName('HTMLMenuElement') | 15355 @DomName('HTMLMenuElement') |
| 15059 class MenuElement extends _HTMLElement native "HTMLMenuElement" { | 15356 class MenuElement extends _HTMLElement native "HTMLMenuElement" { |
| 15357 // To suppress missing implicit constructor warnings. |
| 15358 factory MenuElement._() { throw new UnsupportedError("Not supported"); } |
| 15060 | 15359 |
| 15061 @DomName('HTMLMenuElement.HTMLMenuElement') | 15360 @DomName('HTMLMenuElement.HTMLMenuElement') |
| 15062 @DocsEditable | 15361 @DocsEditable |
| 15063 factory MenuElement() => document.$dom_createElement("menu"); | 15362 factory MenuElement() => document.$dom_createElement("menu"); |
| 15064 } | 15363 } |
| 15065 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 15364 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 15066 // for details. All rights reserved. Use of this source code is governed by a | 15365 // for details. All rights reserved. Use of this source code is governed by a |
| 15067 // BSD-style license that can be found in the LICENSE file. | 15366 // BSD-style license that can be found in the LICENSE file. |
| 15068 | 15367 |
| 15069 | 15368 |
| 15070 @DocsEditable | 15369 @DocsEditable |
| 15071 @DomName('MessageChannel') | 15370 @DomName('MessageChannel') |
| 15072 @Unstable | 15371 @Unstable |
| 15073 class MessageChannel native "MessageChannel" { | 15372 class MessageChannel native "MessageChannel" { |
| 15373 // To suppress missing implicit constructor warnings. |
| 15374 factory MessageChannel._() { throw new UnsupportedError("Not supported"); } |
| 15074 | 15375 |
| 15075 @DomName('MessageChannel.MessageChannel') | 15376 @DomName('MessageChannel.MessageChannel') |
| 15076 @DocsEditable | 15377 @DocsEditable |
| 15077 factory MessageChannel() { | 15378 factory MessageChannel() { |
| 15078 return MessageChannel._create_1(); | 15379 return MessageChannel._create_1(); |
| 15079 } | 15380 } |
| 15080 static MessageChannel _create_1() => JS('MessageChannel', 'new MessageChannel(
)'); | 15381 static MessageChannel _create_1() => JS('MessageChannel', 'new MessageChannel(
)'); |
| 15081 | 15382 |
| 15082 @DomName('MessageChannel.port1') | 15383 @DomName('MessageChannel.port1') |
| 15083 @DocsEditable | 15384 @DocsEditable |
| (...skipping 17 matching lines...) Expand all Loading... |
| 15101 String origin, String lastEventId, | 15402 String origin, String lastEventId, |
| 15102 Window source, List messagePorts}) { | 15403 Window source, List messagePorts}) { |
| 15103 if (source == null) { | 15404 if (source == null) { |
| 15104 source = window; | 15405 source = window; |
| 15105 } | 15406 } |
| 15106 var event = document.$dom_createEvent("MessageEvent"); | 15407 var event = document.$dom_createEvent("MessageEvent"); |
| 15107 event.$dom_initMessageEvent(type, canBubble, cancelable, data, origin, | 15408 event.$dom_initMessageEvent(type, canBubble, cancelable, data, origin, |
| 15108 lastEventId, source, messagePorts); | 15409 lastEventId, source, messagePorts); |
| 15109 return event; | 15410 return event; |
| 15110 } | 15411 } |
| 15412 // To suppress missing implicit constructor warnings. |
| 15413 factory MessageEvent._() { throw new UnsupportedError("Not supported"); } |
| 15111 | 15414 |
| 15112 dynamic get data => convertNativeToDart_SerializedScriptValue(this._get_data); | 15415 dynamic get data => convertNativeToDart_SerializedScriptValue(this._get_data); |
| 15113 @JSName('data') | 15416 @JSName('data') |
| 15114 @DomName('MessageEvent.data') | 15417 @DomName('MessageEvent.data') |
| 15115 @DocsEditable | 15418 @DocsEditable |
| 15116 @annotation_Creates_SerializedScriptValue | 15419 @annotation_Creates_SerializedScriptValue |
| 15117 @annotation_Returns_SerializedScriptValue | 15420 @annotation_Returns_SerializedScriptValue |
| 15118 final dynamic _get_data; | 15421 final dynamic _get_data; |
| 15119 | 15422 |
| 15120 @DomName('MessageEvent.lastEventId') | 15423 @DomName('MessageEvent.lastEventId') |
| (...skipping 27 matching lines...) Expand all Loading... |
| 15148 } | 15451 } |
| 15149 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 15452 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 15150 // for details. All rights reserved. Use of this source code is governed by a | 15453 // for details. All rights reserved. Use of this source code is governed by a |
| 15151 // BSD-style license that can be found in the LICENSE file. | 15454 // BSD-style license that can be found in the LICENSE file. |
| 15152 | 15455 |
| 15153 | 15456 |
| 15154 @DocsEditable | 15457 @DocsEditable |
| 15155 @DomName('MessagePort') | 15458 @DomName('MessagePort') |
| 15156 @Unstable | 15459 @Unstable |
| 15157 class MessagePort extends EventTarget native "MessagePort" { | 15460 class MessagePort extends EventTarget native "MessagePort" { |
| 15461 // To suppress missing implicit constructor warnings. |
| 15462 factory MessagePort._() { throw new UnsupportedError("Not supported"); } |
| 15158 | 15463 |
| 15159 @DomName('MessagePort.messageEvent') | 15464 @DomName('MessagePort.messageEvent') |
| 15160 @DocsEditable | 15465 @DocsEditable |
| 15161 static const EventStreamProvider<MessageEvent> messageEvent = const EventStrea
mProvider<MessageEvent>('message'); | 15466 static const EventStreamProvider<MessageEvent> messageEvent = const EventStrea
mProvider<MessageEvent>('message'); |
| 15162 | 15467 |
| 15163 @JSName('addEventListener') | 15468 @JSName('addEventListener') |
| 15164 @DomName('MessagePort.addEventListener') | 15469 @DomName('MessagePort.addEventListener') |
| 15165 @DocsEditable | 15470 @DocsEditable |
| 15166 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]) native; | 15471 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]) native; |
| 15167 | 15472 |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 15208 Stream<MessageEvent> get onMessage => messageEvent.forTarget(this); | 15513 Stream<MessageEvent> get onMessage => messageEvent.forTarget(this); |
| 15209 } | 15514 } |
| 15210 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 15515 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 15211 // for details. All rights reserved. Use of this source code is governed by a | 15516 // for details. All rights reserved. Use of this source code is governed by a |
| 15212 // BSD-style license that can be found in the LICENSE file. | 15517 // BSD-style license that can be found in the LICENSE file. |
| 15213 | 15518 |
| 15214 | 15519 |
| 15215 @DocsEditable | 15520 @DocsEditable |
| 15216 @DomName('HTMLMetaElement') | 15521 @DomName('HTMLMetaElement') |
| 15217 class MetaElement extends _HTMLElement native "HTMLMetaElement" { | 15522 class MetaElement extends _HTMLElement native "HTMLMetaElement" { |
| 15523 // To suppress missing implicit constructor warnings. |
| 15524 factory MetaElement._() { throw new UnsupportedError("Not supported"); } |
| 15218 | 15525 |
| 15219 @DomName('HTMLMetaElement.HTMLMetaElement') | 15526 @DomName('HTMLMetaElement.HTMLMetaElement') |
| 15220 @DocsEditable | 15527 @DocsEditable |
| 15221 factory MetaElement() => document.$dom_createElement("meta"); | 15528 factory MetaElement() => document.$dom_createElement("meta"); |
| 15222 | 15529 |
| 15223 @DomName('HTMLMetaElement.content') | 15530 @DomName('HTMLMetaElement.content') |
| 15224 @DocsEditable | 15531 @DocsEditable |
| 15225 String content; | 15532 String content; |
| 15226 | 15533 |
| 15227 @DomName('HTMLMetaElement.httpEquiv') | 15534 @DomName('HTMLMetaElement.httpEquiv') |
| 15228 @DocsEditable | 15535 @DocsEditable |
| 15229 String httpEquiv; | 15536 String httpEquiv; |
| 15230 | 15537 |
| 15231 @DomName('HTMLMetaElement.name') | 15538 @DomName('HTMLMetaElement.name') |
| 15232 @DocsEditable | 15539 @DocsEditable |
| 15233 String name; | 15540 String name; |
| 15234 } | 15541 } |
| 15235 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 15542 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 15236 // for details. All rights reserved. Use of this source code is governed by a | 15543 // for details. All rights reserved. Use of this source code is governed by a |
| 15237 // BSD-style license that can be found in the LICENSE file. | 15544 // BSD-style license that can be found in the LICENSE file. |
| 15238 | 15545 |
| 15239 | 15546 |
| 15240 @DocsEditable | 15547 @DocsEditable |
| 15241 @DomName('Metadata') | 15548 @DomName('Metadata') |
| 15242 // http://www.w3.org/TR/file-system-api/#the-metadata-interface | 15549 // http://www.w3.org/TR/file-system-api/#the-metadata-interface |
| 15243 @Experimental | 15550 @Experimental |
| 15244 class Metadata native "Metadata" { | 15551 class Metadata native "Metadata" { |
| 15552 // To suppress missing implicit constructor warnings. |
| 15553 factory Metadata._() { throw new UnsupportedError("Not supported"); } |
| 15245 | 15554 |
| 15246 DateTime get modificationTime => _convertNativeToDart_DateTime(this._get_modif
icationTime); | 15555 DateTime get modificationTime => _convertNativeToDart_DateTime(this._get_modif
icationTime); |
| 15247 @JSName('modificationTime') | 15556 @JSName('modificationTime') |
| 15248 @DomName('Metadata.modificationTime') | 15557 @DomName('Metadata.modificationTime') |
| 15249 @DocsEditable | 15558 @DocsEditable |
| 15250 @Creates('Null') | 15559 @Creates('Null') |
| 15251 final dynamic _get_modificationTime; | 15560 final dynamic _get_modificationTime; |
| 15252 | 15561 |
| 15253 @DomName('Metadata.size') | 15562 @DomName('Metadata.size') |
| 15254 @DocsEditable | 15563 @DocsEditable |
| (...skipping 15 matching lines...) Expand all Loading... |
| 15270 // BSD-style license that can be found in the LICENSE file. | 15579 // BSD-style license that can be found in the LICENSE file. |
| 15271 | 15580 |
| 15272 | 15581 |
| 15273 @DocsEditable | 15582 @DocsEditable |
| 15274 @DomName('HTMLMeterElement') | 15583 @DomName('HTMLMeterElement') |
| 15275 @SupportedBrowser(SupportedBrowser.CHROME) | 15584 @SupportedBrowser(SupportedBrowser.CHROME) |
| 15276 @SupportedBrowser(SupportedBrowser.FIREFOX) | 15585 @SupportedBrowser(SupportedBrowser.FIREFOX) |
| 15277 @SupportedBrowser(SupportedBrowser.SAFARI) | 15586 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 15278 @Unstable | 15587 @Unstable |
| 15279 class MeterElement extends _HTMLElement native "HTMLMeterElement" { | 15588 class MeterElement extends _HTMLElement native "HTMLMeterElement" { |
| 15589 // To suppress missing implicit constructor warnings. |
| 15590 factory MeterElement._() { throw new UnsupportedError("Not supported"); } |
| 15280 | 15591 |
| 15281 @DomName('HTMLMeterElement.HTMLMeterElement') | 15592 @DomName('HTMLMeterElement.HTMLMeterElement') |
| 15282 @DocsEditable | 15593 @DocsEditable |
| 15283 factory MeterElement() => document.$dom_createElement("meter"); | 15594 factory MeterElement() => document.$dom_createElement("meter"); |
| 15284 | 15595 |
| 15285 /// Checks if this type is supported on the current platform. | 15596 /// Checks if this type is supported on the current platform. |
| 15286 static bool get supported => Element.isTagSupported('meter'); | 15597 static bool get supported => Element.isTagSupported('meter'); |
| 15287 | 15598 |
| 15288 @DomName('HTMLMeterElement.high') | 15599 @DomName('HTMLMeterElement.high') |
| 15289 @DocsEditable | 15600 @DocsEditable |
| (...skipping 29 matching lines...) Expand all Loading... |
| 15319 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 15630 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 15320 // for details. All rights reserved. Use of this source code is governed by a | 15631 // for details. All rights reserved. Use of this source code is governed by a |
| 15321 // BSD-style license that can be found in the LICENSE file. | 15632 // BSD-style license that can be found in the LICENSE file. |
| 15322 | 15633 |
| 15323 | 15634 |
| 15324 @DocsEditable | 15635 @DocsEditable |
| 15325 @DomName('MIDIAccess') | 15636 @DomName('MIDIAccess') |
| 15326 // http://webaudio.github.io/web-midi-api/#midiaccess-interface | 15637 // http://webaudio.github.io/web-midi-api/#midiaccess-interface |
| 15327 @Experimental | 15638 @Experimental |
| 15328 class MidiAccess extends EventTarget native "MIDIAccess" { | 15639 class MidiAccess extends EventTarget native "MIDIAccess" { |
| 15640 // To suppress missing implicit constructor warnings. |
| 15641 factory MidiAccess._() { throw new UnsupportedError("Not supported"); } |
| 15329 | 15642 |
| 15330 @DomName('MIDIAccess.connectEvent') | 15643 @DomName('MIDIAccess.connectEvent') |
| 15331 @DocsEditable | 15644 @DocsEditable |
| 15332 static const EventStreamProvider<MidiConnectionEvent> connectEvent = const Eve
ntStreamProvider<MidiConnectionEvent>('connect'); | 15645 static const EventStreamProvider<MidiConnectionEvent> connectEvent = const Eve
ntStreamProvider<MidiConnectionEvent>('connect'); |
| 15333 | 15646 |
| 15334 @DomName('MIDIAccess.disconnectEvent') | 15647 @DomName('MIDIAccess.disconnectEvent') |
| 15335 @DocsEditable | 15648 @DocsEditable |
| 15336 static const EventStreamProvider<MidiConnectionEvent> disconnectEvent = const
EventStreamProvider<MidiConnectionEvent>('disconnect'); | 15649 static const EventStreamProvider<MidiConnectionEvent> disconnectEvent = const
EventStreamProvider<MidiConnectionEvent>('disconnect'); |
| 15337 | 15650 |
| 15338 @JSName('addEventListener') | 15651 @JSName('addEventListener') |
| (...skipping 29 matching lines...) Expand all Loading... |
| 15368 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 15681 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 15369 // for details. All rights reserved. Use of this source code is governed by a | 15682 // for details. All rights reserved. Use of this source code is governed by a |
| 15370 // BSD-style license that can be found in the LICENSE file. | 15683 // BSD-style license that can be found in the LICENSE file. |
| 15371 | 15684 |
| 15372 | 15685 |
| 15373 @DocsEditable | 15686 @DocsEditable |
| 15374 @DomName('MIDIConnectionEvent') | 15687 @DomName('MIDIConnectionEvent') |
| 15375 // http://webaudio.github.io/web-midi-api/#midiconnectionevent-interface | 15688 // http://webaudio.github.io/web-midi-api/#midiconnectionevent-interface |
| 15376 @Experimental | 15689 @Experimental |
| 15377 class MidiConnectionEvent extends Event native "MIDIConnectionEvent" { | 15690 class MidiConnectionEvent extends Event native "MIDIConnectionEvent" { |
| 15691 // To suppress missing implicit constructor warnings. |
| 15692 factory MidiConnectionEvent._() { throw new UnsupportedError("Not supported");
} |
| 15378 | 15693 |
| 15379 @DomName('MIDIConnectionEvent.port') | 15694 @DomName('MIDIConnectionEvent.port') |
| 15380 @DocsEditable | 15695 @DocsEditable |
| 15381 final MidiPort port; | 15696 final MidiPort port; |
| 15382 } | 15697 } |
| 15383 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 15698 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 15384 // for details. All rights reserved. Use of this source code is governed by a | 15699 // for details. All rights reserved. Use of this source code is governed by a |
| 15385 // BSD-style license that can be found in the LICENSE file. | 15700 // BSD-style license that can be found in the LICENSE file. |
| 15386 | 15701 |
| 15387 | 15702 |
| 15388 @DocsEditable | 15703 @DocsEditable |
| 15389 @DomName('MIDIInput') | 15704 @DomName('MIDIInput') |
| 15390 // http://webaudio.github.io/web-midi-api/#idl-def-MIDIInput | 15705 // http://webaudio.github.io/web-midi-api/#idl-def-MIDIInput |
| 15391 @Experimental | 15706 @Experimental |
| 15392 class MidiInput extends MidiPort implements EventTarget native "MIDIInput" { | 15707 class MidiInput extends MidiPort implements EventTarget native "MIDIInput" { |
| 15708 // To suppress missing implicit constructor warnings. |
| 15709 factory MidiInput._() { throw new UnsupportedError("Not supported"); } |
| 15393 | 15710 |
| 15394 @DomName('MIDIInput.midimessageEvent') | 15711 @DomName('MIDIInput.midimessageEvent') |
| 15395 @DocsEditable | 15712 @DocsEditable |
| 15396 static const EventStreamProvider<MidiMessageEvent> midiMessageEvent = const Ev
entStreamProvider<MidiMessageEvent>('midimessage'); | 15713 static const EventStreamProvider<MidiMessageEvent> midiMessageEvent = const Ev
entStreamProvider<MidiMessageEvent>('midimessage'); |
| 15397 | 15714 |
| 15398 @DomName('MIDIInput.onmidimessage') | 15715 @DomName('MIDIInput.onmidimessage') |
| 15399 @DocsEditable | 15716 @DocsEditable |
| 15400 Stream<MidiMessageEvent> get onMidiMessage => midiMessageEvent.forTarget(this)
; | 15717 Stream<MidiMessageEvent> get onMidiMessage => midiMessageEvent.forTarget(this)
; |
| 15401 } | 15718 } |
| 15402 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 15719 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 15403 // for details. All rights reserved. Use of this source code is governed by a | 15720 // for details. All rights reserved. Use of this source code is governed by a |
| 15404 // BSD-style license that can be found in the LICENSE file. | 15721 // BSD-style license that can be found in the LICENSE file. |
| 15405 | 15722 |
| 15406 | 15723 |
| 15407 @DocsEditable | 15724 @DocsEditable |
| 15408 @DomName('MIDIMessageEvent') | 15725 @DomName('MIDIMessageEvent') |
| 15409 // http://webaudio.github.io/web-midi-api/#midimessageevent-interface | 15726 // http://webaudio.github.io/web-midi-api/#midimessageevent-interface |
| 15410 @Experimental | 15727 @Experimental |
| 15411 class MidiMessageEvent extends Event native "MIDIMessageEvent" { | 15728 class MidiMessageEvent extends Event native "MIDIMessageEvent" { |
| 15729 // To suppress missing implicit constructor warnings. |
| 15730 factory MidiMessageEvent._() { throw new UnsupportedError("Not supported"); } |
| 15412 | 15731 |
| 15413 @DomName('MIDIMessageEvent.data') | 15732 @DomName('MIDIMessageEvent.data') |
| 15414 @DocsEditable | 15733 @DocsEditable |
| 15415 final Uint8List data; | 15734 final Uint8List data; |
| 15416 | 15735 |
| 15417 @DomName('MIDIMessageEvent.receivedTime') | 15736 @DomName('MIDIMessageEvent.receivedTime') |
| 15418 @DocsEditable | 15737 @DocsEditable |
| 15419 final num receivedTime; | 15738 final num receivedTime; |
| 15420 } | 15739 } |
| 15421 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 15740 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 15422 // for details. All rights reserved. Use of this source code is governed by a | 15741 // for details. All rights reserved. Use of this source code is governed by a |
| 15423 // BSD-style license that can be found in the LICENSE file. | 15742 // BSD-style license that can be found in the LICENSE file. |
| 15424 | 15743 |
| 15425 | 15744 |
| 15426 @DocsEditable | 15745 @DocsEditable |
| 15427 @DomName('MIDIOutput') | 15746 @DomName('MIDIOutput') |
| 15428 // http://webaudio.github.io/web-midi-api/#midioutput-interface | 15747 // http://webaudio.github.io/web-midi-api/#midioutput-interface |
| 15429 @Experimental | 15748 @Experimental |
| 15430 class MidiOutput extends MidiPort native "MIDIOutput" { | 15749 class MidiOutput extends MidiPort native "MIDIOutput" { |
| 15750 // To suppress missing implicit constructor warnings. |
| 15751 factory MidiOutput._() { throw new UnsupportedError("Not supported"); } |
| 15431 | 15752 |
| 15432 @DomName('MIDIOutput.send') | 15753 @DomName('MIDIOutput.send') |
| 15433 @DocsEditable | 15754 @DocsEditable |
| 15434 void send(Uint8List data, [num timestamp]) native; | 15755 void send(Uint8List data, [num timestamp]) native; |
| 15435 } | 15756 } |
| 15436 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 15757 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 15437 // for details. All rights reserved. Use of this source code is governed by a | 15758 // for details. All rights reserved. Use of this source code is governed by a |
| 15438 // BSD-style license that can be found in the LICENSE file. | 15759 // BSD-style license that can be found in the LICENSE file. |
| 15439 | 15760 |
| 15440 | 15761 |
| 15441 @DocsEditable | 15762 @DocsEditable |
| 15442 @DomName('MIDIPort') | 15763 @DomName('MIDIPort') |
| 15443 // http://webaudio.github.io/web-midi-api/#idl-def-MIDIPort | 15764 // http://webaudio.github.io/web-midi-api/#idl-def-MIDIPort |
| 15444 @Experimental | 15765 @Experimental |
| 15445 class MidiPort extends EventTarget native "MIDIPort" { | 15766 class MidiPort extends EventTarget native "MIDIPort" { |
| 15767 // To suppress missing implicit constructor warnings. |
| 15768 factory MidiPort._() { throw new UnsupportedError("Not supported"); } |
| 15446 | 15769 |
| 15447 @DomName('MIDIPort.disconnectEvent') | 15770 @DomName('MIDIPort.disconnectEvent') |
| 15448 @DocsEditable | 15771 @DocsEditable |
| 15449 static const EventStreamProvider<MidiConnectionEvent> disconnectEvent = const
EventStreamProvider<MidiConnectionEvent>('disconnect'); | 15772 static const EventStreamProvider<MidiConnectionEvent> disconnectEvent = const
EventStreamProvider<MidiConnectionEvent>('disconnect'); |
| 15450 | 15773 |
| 15451 @DomName('MIDIPort.id') | 15774 @DomName('MIDIPort.id') |
| 15452 @DocsEditable | 15775 @DocsEditable |
| 15453 final String id; | 15776 final String id; |
| 15454 | 15777 |
| 15455 @DomName('MIDIPort.manufacturer') | 15778 @DomName('MIDIPort.manufacturer') |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 15488 } | 15811 } |
| 15489 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 15812 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 15490 // for details. All rights reserved. Use of this source code is governed by a | 15813 // for details. All rights reserved. Use of this source code is governed by a |
| 15491 // BSD-style license that can be found in the LICENSE file. | 15814 // BSD-style license that can be found in the LICENSE file. |
| 15492 | 15815 |
| 15493 | 15816 |
| 15494 @DocsEditable | 15817 @DocsEditable |
| 15495 @DomName('MimeType') | 15818 @DomName('MimeType') |
| 15496 @Experimental // non-standard | 15819 @Experimental // non-standard |
| 15497 class MimeType native "MimeType" { | 15820 class MimeType native "MimeType" { |
| 15821 // To suppress missing implicit constructor warnings. |
| 15822 factory MimeType._() { throw new UnsupportedError("Not supported"); } |
| 15498 | 15823 |
| 15499 @DomName('MimeType.description') | 15824 @DomName('MimeType.description') |
| 15500 @DocsEditable | 15825 @DocsEditable |
| 15501 final String description; | 15826 final String description; |
| 15502 | 15827 |
| 15503 @DomName('MimeType.enabledPlugin') | 15828 @DomName('MimeType.enabledPlugin') |
| 15504 @DocsEditable | 15829 @DocsEditable |
| 15505 final Plugin enabledPlugin; | 15830 final Plugin enabledPlugin; |
| 15506 | 15831 |
| 15507 @DomName('MimeType.suffixes') | 15832 @DomName('MimeType.suffixes') |
| 15508 @DocsEditable | 15833 @DocsEditable |
| 15509 final String suffixes; | 15834 final String suffixes; |
| 15510 | 15835 |
| 15511 @DomName('MimeType.type') | 15836 @DomName('MimeType.type') |
| 15512 @DocsEditable | 15837 @DocsEditable |
| 15513 final String type; | 15838 final String type; |
| 15514 } | 15839 } |
| 15515 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 15840 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 15516 // for details. All rights reserved. Use of this source code is governed by a | 15841 // for details. All rights reserved. Use of this source code is governed by a |
| 15517 // BSD-style license that can be found in the LICENSE file. | 15842 // BSD-style license that can be found in the LICENSE file. |
| 15518 | 15843 |
| 15519 | 15844 |
| 15520 @DocsEditable | 15845 @DocsEditable |
| 15521 @DomName('MimeTypeArray') | 15846 @DomName('MimeTypeArray') |
| 15522 @Experimental // non-standard | 15847 @Experimental // non-standard |
| 15523 class MimeTypeArray extends Interceptor with ListMixin<MimeType>, ImmutableListM
ixin<MimeType> implements JavaScriptIndexingBehavior, List<MimeType> native "Mim
eTypeArray" { | 15848 class MimeTypeArray extends Interceptor with ListMixin<MimeType>, ImmutableListM
ixin<MimeType> implements JavaScriptIndexingBehavior, List<MimeType> native "Mim
eTypeArray" { |
| 15849 // To suppress missing implicit constructor warnings. |
| 15850 factory MimeTypeArray._() { throw new UnsupportedError("Not supported"); } |
| 15524 | 15851 |
| 15525 @DomName('MimeTypeArray.length') | 15852 @DomName('MimeTypeArray.length') |
| 15526 @DocsEditable | 15853 @DocsEditable |
| 15527 int get length => JS("int", "#.length", this); | 15854 int get length => JS("int", "#.length", this); |
| 15528 | 15855 |
| 15529 MimeType operator[](int index) { | 15856 MimeType operator[](int index) { |
| 15530 if (JS("bool", "# >>> 0 !== # || # >= #", index, | 15857 if (JS("bool", "# >>> 0 !== # || # >= #", index, |
| 15531 index, index, length)) | 15858 index, index, length)) |
| 15532 throw new RangeError.range(index, 0, length); | 15859 throw new RangeError.range(index, 0, length); |
| 15533 return JS("MimeType", "#[#]", this, index); | 15860 return JS("MimeType", "#[#]", this, index); |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 15584 } | 15911 } |
| 15585 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 15912 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 15586 // for details. All rights reserved. Use of this source code is governed by a | 15913 // for details. All rights reserved. Use of this source code is governed by a |
| 15587 // BSD-style license that can be found in the LICENSE file. | 15914 // BSD-style license that can be found in the LICENSE file. |
| 15588 | 15915 |
| 15589 | 15916 |
| 15590 @DocsEditable | 15917 @DocsEditable |
| 15591 @DomName('HTMLModElement') | 15918 @DomName('HTMLModElement') |
| 15592 @Unstable | 15919 @Unstable |
| 15593 class ModElement extends _HTMLElement native "HTMLModElement" { | 15920 class ModElement extends _HTMLElement native "HTMLModElement" { |
| 15921 // To suppress missing implicit constructor warnings. |
| 15922 factory ModElement._() { throw new UnsupportedError("Not supported"); } |
| 15594 | 15923 |
| 15595 @DomName('HTMLModElement.cite') | 15924 @DomName('HTMLModElement.cite') |
| 15596 @DocsEditable | 15925 @DocsEditable |
| 15597 String cite; | 15926 String cite; |
| 15598 | 15927 |
| 15599 @DomName('HTMLModElement.dateTime') | 15928 @DomName('HTMLModElement.dateTime') |
| 15600 @DocsEditable | 15929 @DocsEditable |
| 15601 String dateTime; | 15930 String dateTime; |
| 15602 } | 15931 } |
| 15603 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 15932 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| (...skipping 11 matching lines...) Expand all Loading... |
| 15615 | 15944 |
| 15616 if (view == null) { | 15945 if (view == null) { |
| 15617 view = window; | 15946 view = window; |
| 15618 } | 15947 } |
| 15619 var event = document.$dom_createEvent('MouseEvent'); | 15948 var event = document.$dom_createEvent('MouseEvent'); |
| 15620 event.$dom_initMouseEvent(type, canBubble, cancelable, view, detail, | 15949 event.$dom_initMouseEvent(type, canBubble, cancelable, view, detail, |
| 15621 screenX, screenY, clientX, clientY, ctrlKey, altKey, shiftKey, metaKey, | 15950 screenX, screenY, clientX, clientY, ctrlKey, altKey, shiftKey, metaKey, |
| 15622 button, relatedTarget); | 15951 button, relatedTarget); |
| 15623 return event; | 15952 return event; |
| 15624 } | 15953 } |
| 15954 // To suppress missing implicit constructor warnings. |
| 15955 factory MouseEvent._() { throw new UnsupportedError("Not supported"); } |
| 15625 | 15956 |
| 15626 @DomName('MouseEvent.altKey') | 15957 @DomName('MouseEvent.altKey') |
| 15627 @DocsEditable | 15958 @DocsEditable |
| 15628 final bool altKey; | 15959 final bool altKey; |
| 15629 | 15960 |
| 15630 @DomName('MouseEvent.button') | 15961 @DomName('MouseEvent.button') |
| 15631 @DocsEditable | 15962 @DocsEditable |
| 15632 final int button; | 15963 final int button; |
| 15633 | 15964 |
| 15634 @JSName('clientX') | 15965 @JSName('clientX') |
| (...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 15790 class MutationEvent extends Event native "MutationEvent" { | 16121 class MutationEvent extends Event native "MutationEvent" { |
| 15791 factory MutationEvent(String type, | 16122 factory MutationEvent(String type, |
| 15792 {bool canBubble: false, bool cancelable: false, Node relatedNode, | 16123 {bool canBubble: false, bool cancelable: false, Node relatedNode, |
| 15793 String prevValue, String newValue, String attrName, int attrChange: 0}) { | 16124 String prevValue, String newValue, String attrName, int attrChange: 0}) { |
| 15794 | 16125 |
| 15795 var event = document.$dom_createEvent('MutationEvent'); | 16126 var event = document.$dom_createEvent('MutationEvent'); |
| 15796 event.$dom_initMutationEvent(type, canBubble, cancelable, relatedNode, | 16127 event.$dom_initMutationEvent(type, canBubble, cancelable, relatedNode, |
| 15797 prevValue, newValue, attrName, attrChange); | 16128 prevValue, newValue, attrName, attrChange); |
| 15798 return event; | 16129 return event; |
| 15799 } | 16130 } |
| 16131 // To suppress missing implicit constructor warnings. |
| 16132 factory MutationEvent._() { throw new UnsupportedError("Not supported"); } |
| 15800 | 16133 |
| 15801 @DomName('MutationEvent.ADDITION') | 16134 @DomName('MutationEvent.ADDITION') |
| 15802 @DocsEditable | 16135 @DocsEditable |
| 15803 static const int ADDITION = 2; | 16136 static const int ADDITION = 2; |
| 15804 | 16137 |
| 15805 @DomName('MutationEvent.MODIFICATION') | 16138 @DomName('MutationEvent.MODIFICATION') |
| 15806 @DocsEditable | 16139 @DocsEditable |
| 15807 static const int MODIFICATION = 1; | 16140 static const int MODIFICATION = 1; |
| 15808 | 16141 |
| 15809 @DomName('MutationEvent.REMOVAL') | 16142 @DomName('MutationEvent.REMOVAL') |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 15843 // for details. All rights reserved. Use of this source code is governed by a | 16176 // for details. All rights reserved. Use of this source code is governed by a |
| 15844 // BSD-style license that can be found in the LICENSE file. | 16177 // BSD-style license that can be found in the LICENSE file. |
| 15845 | 16178 |
| 15846 | 16179 |
| 15847 @DomName('MutationObserver') | 16180 @DomName('MutationObserver') |
| 15848 @SupportedBrowser(SupportedBrowser.CHROME) | 16181 @SupportedBrowser(SupportedBrowser.CHROME) |
| 15849 @SupportedBrowser(SupportedBrowser.FIREFOX) | 16182 @SupportedBrowser(SupportedBrowser.FIREFOX) |
| 15850 @SupportedBrowser(SupportedBrowser.SAFARI) | 16183 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 15851 @Experimental | 16184 @Experimental |
| 15852 class MutationObserver native "MutationObserver,WebKitMutationObserver" { | 16185 class MutationObserver native "MutationObserver,WebKitMutationObserver" { |
| 16186 // To suppress missing implicit constructor warnings. |
| 16187 factory MutationObserver._() { throw new UnsupportedError("Not supported"); } |
| 15853 | 16188 |
| 15854 @DomName('MutationObserver.disconnect') | 16189 @DomName('MutationObserver.disconnect') |
| 15855 @DocsEditable | 16190 @DocsEditable |
| 15856 void disconnect() native; | 16191 void disconnect() native; |
| 15857 | 16192 |
| 15858 @DomName('MutationObserver.observe') | 16193 @DomName('MutationObserver.observe') |
| 15859 @DocsEditable | 16194 @DocsEditable |
| 15860 void _observe(Node target, Map options) { | 16195 void _observe(Node target, Map options) { |
| 15861 var options_1 = convertDartToNative_Dictionary(options); | 16196 var options_1 = convertDartToNative_Dictionary(options); |
| 15862 __observe_1(target, options_1); | 16197 __observe_1(target, options_1); |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 15939 } | 16274 } |
| 15940 } | 16275 } |
| 15941 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16276 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 15942 // for details. All rights reserved. Use of this source code is governed by a | 16277 // for details. All rights reserved. Use of this source code is governed by a |
| 15943 // BSD-style license that can be found in the LICENSE file. | 16278 // BSD-style license that can be found in the LICENSE file. |
| 15944 | 16279 |
| 15945 | 16280 |
| 15946 @DocsEditable | 16281 @DocsEditable |
| 15947 @DomName('MutationRecord') | 16282 @DomName('MutationRecord') |
| 15948 class MutationRecord native "MutationRecord" { | 16283 class MutationRecord native "MutationRecord" { |
| 16284 // To suppress missing implicit constructor warnings. |
| 16285 factory MutationRecord._() { throw new UnsupportedError("Not supported"); } |
| 15949 | 16286 |
| 15950 @DomName('MutationRecord.addedNodes') | 16287 @DomName('MutationRecord.addedNodes') |
| 15951 @DocsEditable | 16288 @DocsEditable |
| 15952 @Returns('NodeList') | 16289 @Returns('NodeList') |
| 15953 @Creates('NodeList') | 16290 @Creates('NodeList') |
| 15954 final List<Node> addedNodes; | 16291 final List<Node> addedNodes; |
| 15955 | 16292 |
| 15956 @DomName('MutationRecord.attributeName') | 16293 @DomName('MutationRecord.attributeName') |
| 15957 @DocsEditable | 16294 @DocsEditable |
| 15958 final String attributeName; | 16295 final String attributeName; |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 15992 // BSD-style license that can be found in the LICENSE file. | 16329 // BSD-style license that can be found in the LICENSE file. |
| 15993 | 16330 |
| 15994 | 16331 |
| 15995 @DocsEditable | 16332 @DocsEditable |
| 15996 @DomName('WebKitNamedFlow') | 16333 @DomName('WebKitNamedFlow') |
| 15997 @SupportedBrowser(SupportedBrowser.CHROME) | 16334 @SupportedBrowser(SupportedBrowser.CHROME) |
| 15998 @SupportedBrowser(SupportedBrowser.SAFARI) | 16335 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 15999 @Experimental | 16336 @Experimental |
| 16000 // http://www.w3.org/TR/css3-regions/#dom-named-flow-collection | 16337 // http://www.w3.org/TR/css3-regions/#dom-named-flow-collection |
| 16001 class NamedFlow extends EventTarget native "WebKitNamedFlow" { | 16338 class NamedFlow extends EventTarget native "WebKitNamedFlow" { |
| 16339 // To suppress missing implicit constructor warnings. |
| 16340 factory NamedFlow._() { throw new UnsupportedError("Not supported"); } |
| 16002 | 16341 |
| 16003 @DomName('WebKitNamedFlow.firstEmptyRegionIndex') | 16342 @DomName('WebKitNamedFlow.firstEmptyRegionIndex') |
| 16004 @DocsEditable | 16343 @DocsEditable |
| 16005 final int firstEmptyRegionIndex; | 16344 final int firstEmptyRegionIndex; |
| 16006 | 16345 |
| 16007 @DomName('WebKitNamedFlow.name') | 16346 @DomName('WebKitNamedFlow.name') |
| 16008 @DocsEditable | 16347 @DocsEditable |
| 16009 final String name; | 16348 final String name; |
| 16010 | 16349 |
| 16011 @DomName('WebKitNamedFlow.overset') | 16350 @DomName('WebKitNamedFlow.overset') |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 16049 // BSD-style license that can be found in the LICENSE file. | 16388 // BSD-style license that can be found in the LICENSE file. |
| 16050 | 16389 |
| 16051 | 16390 |
| 16052 @DocsEditable | 16391 @DocsEditable |
| 16053 @DomName('WebKitNamedFlowCollection') | 16392 @DomName('WebKitNamedFlowCollection') |
| 16054 @SupportedBrowser(SupportedBrowser.CHROME) | 16393 @SupportedBrowser(SupportedBrowser.CHROME) |
| 16055 @SupportedBrowser(SupportedBrowser.SAFARI) | 16394 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 16056 @Experimental | 16395 @Experimental |
| 16057 // http://dev.w3.org/csswg/css-regions/#dom-named-flow-collection | 16396 // http://dev.w3.org/csswg/css-regions/#dom-named-flow-collection |
| 16058 class NamedFlowCollection native "WebKitNamedFlowCollection" { | 16397 class NamedFlowCollection native "WebKitNamedFlowCollection" { |
| 16398 // To suppress missing implicit constructor warnings. |
| 16399 factory NamedFlowCollection._() { throw new UnsupportedError("Not supported");
} |
| 16059 | 16400 |
| 16060 @DomName('WebKitNamedFlowCollection.length') | 16401 @DomName('WebKitNamedFlowCollection.length') |
| 16061 @DocsEditable | 16402 @DocsEditable |
| 16062 final int length; | 16403 final int length; |
| 16063 | 16404 |
| 16064 @DomName('WebKitNamedFlowCollection.__getter__') | 16405 @DomName('WebKitNamedFlowCollection.__getter__') |
| 16065 @DocsEditable | 16406 @DocsEditable |
| 16066 NamedFlow __getter__(String name) native; | 16407 NamedFlow __getter__(String name) native; |
| 16067 | 16408 |
| 16068 @DomName('WebKitNamedFlowCollection.item') | 16409 @DomName('WebKitNamedFlowCollection.item') |
| (...skipping 25 matching lines...) Expand all Loading... |
| 16094 * | 16435 * |
| 16095 * Simple example usage: | 16436 * Simple example usage: |
| 16096 * | 16437 * |
| 16097 * window.navigator.getUserMedia(audio: true, video: true).then((stream) { | 16438 * window.navigator.getUserMedia(audio: true, video: true).then((stream) { |
| 16098 * var video = new VideoElement() | 16439 * var video = new VideoElement() |
| 16099 * ..autoplay = true | 16440 * ..autoplay = true |
| 16100 * ..src = Url.createObjectUrl(stream); | 16441 * ..src = Url.createObjectUrl(stream); |
| 16101 * document.body.append(video); | 16442 * document.body.append(video); |
| 16102 * }); | 16443 * }); |
| 16103 * | 16444 * |
| 16104 * The user can also pass in Maps to the audio or video parameters to specify | 16445 * The user can also pass in Maps to the audio or video parameters to specify |
| 16105 * mandatory and optional constraints for the media stream. Not passing in a | 16446 * mandatory and optional constraints for the media stream. Not passing in a |
| 16106 * map, but passing in `true` will provide a MediaStream with audio or | 16447 * map, but passing in `true` will provide a MediaStream with audio or |
| 16107 * video capabilities, but without any additional constraints. The particular | 16448 * video capabilities, but without any additional constraints. The particular |
| 16108 * constraint names for audio and video are still in flux, but as of this | 16449 * constraint names for audio and video are still in flux, but as of this |
| 16109 * writing, here is an example providing more constraints. | 16450 * writing, here is an example providing more constraints. |
| 16110 * | 16451 * |
| 16111 * window.navigator.getUserMedia( | 16452 * window.navigator.getUserMedia( |
| 16112 * audio: true, | 16453 * audio: true, |
| 16113 * video: {'mandatory': | 16454 * video: {'mandatory': |
| 16114 * { 'minAspectRatio': 1.333, 'maxAspectRatio': 1.334 }, | 16455 * { 'minAspectRatio': 1.333, 'maxAspectRatio': 1.334 }, |
| 16115 * 'optional': | 16456 * 'optional': |
| 16116 * [{ 'minFrameRate': 60 }, | 16457 * [{ 'minFrameRate': 60 }, |
| 16117 * { 'maxWidth': 640 }] | 16458 * { 'maxWidth': 640 }] |
| 16118 * }); | 16459 * }); |
| 16119 * | 16460 * |
| 16120 * See also: | 16461 * See also: |
| 16121 * * [MediaStream.supported] | 16462 * * [MediaStream.supported] |
| 16122 */ | 16463 */ |
| 16123 @DomName('Navigator.webkitGetUserMedia') | 16464 @DomName('Navigator.webkitGetUserMedia') |
| 16124 @SupportedBrowser(SupportedBrowser.CHROME) | 16465 @SupportedBrowser(SupportedBrowser.CHROME) |
| 16125 @Experimental | 16466 @Experimental |
| (...skipping 19 matching lines...) Expand all Loading... |
| 16145 JS('void', '#.getUserMedia = ' | 16486 JS('void', '#.getUserMedia = ' |
| 16146 '(#.getUserMedia || #.webkitGetUserMedia || #.mozGetUserMedia ||' | 16487 '(#.getUserMedia || #.webkitGetUserMedia || #.mozGetUserMedia ||' |
| 16147 '#.msGetUserMedia)', this, this, this, this, this); | 16488 '#.msGetUserMedia)', this, this, this, this, this); |
| 16148 } | 16489 } |
| 16149 } | 16490 } |
| 16150 | 16491 |
| 16151 @JSName('getUserMedia') | 16492 @JSName('getUserMedia') |
| 16152 void _getUserMedia(options, _NavigatorUserMediaSuccessCallback success, | 16493 void _getUserMedia(options, _NavigatorUserMediaSuccessCallback success, |
| 16153 _NavigatorUserMediaErrorCallback error) native; | 16494 _NavigatorUserMediaErrorCallback error) native; |
| 16154 | 16495 |
| 16496 // To suppress missing implicit constructor warnings. |
| 16497 factory Navigator._() { throw new UnsupportedError("Not supported"); } |
| 16155 | 16498 |
| 16156 @DomName('Navigator.appCodeName') | 16499 @DomName('Navigator.appCodeName') |
| 16157 @DocsEditable | 16500 @DocsEditable |
| 16158 @Experimental // non-standard | 16501 @Experimental // non-standard |
| 16159 final String appCodeName; | 16502 final String appCodeName; |
| 16160 | 16503 |
| 16161 @DomName('Navigator.appName') | 16504 @DomName('Navigator.appName') |
| 16162 @DocsEditable | 16505 @DocsEditable |
| 16163 final String appName; | 16506 final String appName; |
| 16164 | 16507 |
| (...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 16274 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16617 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16275 // for details. All rights reserved. Use of this source code is governed by a | 16618 // for details. All rights reserved. Use of this source code is governed by a |
| 16276 // BSD-style license that can be found in the LICENSE file. | 16619 // BSD-style license that can be found in the LICENSE file. |
| 16277 | 16620 |
| 16278 | 16621 |
| 16279 @DocsEditable | 16622 @DocsEditable |
| 16280 @DomName('NavigatorUserMediaError') | 16623 @DomName('NavigatorUserMediaError') |
| 16281 // http://dev.w3.org/2011/webrtc/editor/getusermedia.html#idl-def-NavigatorUserM
ediaError | 16624 // http://dev.w3.org/2011/webrtc/editor/getusermedia.html#idl-def-NavigatorUserM
ediaError |
| 16282 @Experimental | 16625 @Experimental |
| 16283 class NavigatorUserMediaError native "NavigatorUserMediaError" { | 16626 class NavigatorUserMediaError native "NavigatorUserMediaError" { |
| 16627 // To suppress missing implicit constructor warnings. |
| 16628 factory NavigatorUserMediaError._() { throw new UnsupportedError("Not supporte
d"); } |
| 16284 | 16629 |
| 16285 @DomName('NavigatorUserMediaError.constraintName') | 16630 @DomName('NavigatorUserMediaError.constraintName') |
| 16286 @DocsEditable | 16631 @DocsEditable |
| 16287 final String constraintName; | 16632 final String constraintName; |
| 16288 | 16633 |
| 16289 @DomName('NavigatorUserMediaError.message') | 16634 @DomName('NavigatorUserMediaError.message') |
| 16290 @DocsEditable | 16635 @DocsEditable |
| 16291 final String message; | 16636 final String message; |
| 16292 | 16637 |
| 16293 @DomName('NavigatorUserMediaError.name') | 16638 @DomName('NavigatorUserMediaError.name') |
| (...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 16571 void unbindAll() {} | 16916 void unbindAll() {} |
| 16572 | 16917 |
| 16573 TemplateInstance _templateInstance; | 16918 TemplateInstance _templateInstance; |
| 16574 | 16919 |
| 16575 /** Gets the template instance that instantiated this node, if any. */ | 16920 /** Gets the template instance that instantiated this node, if any. */ |
| 16576 @Experimental | 16921 @Experimental |
| 16577 TemplateInstance get templateInstance => | 16922 TemplateInstance get templateInstance => |
| 16578 _templateInstance != null ? _templateInstance : | 16923 _templateInstance != null ? _templateInstance : |
| 16579 (parent != null ? parent.templateInstance : null); | 16924 (parent != null ? parent.templateInstance : null); |
| 16580 | 16925 |
| 16926 // To suppress missing implicit constructor warnings. |
| 16927 factory Node._() { throw new UnsupportedError("Not supported"); } |
| 16581 | 16928 |
| 16582 @DomName('Node.ATTRIBUTE_NODE') | 16929 @DomName('Node.ATTRIBUTE_NODE') |
| 16583 @DocsEditable | 16930 @DocsEditable |
| 16584 static const int ATTRIBUTE_NODE = 2; | 16931 static const int ATTRIBUTE_NODE = 2; |
| 16585 | 16932 |
| 16586 @DomName('Node.CDATA_SECTION_NODE') | 16933 @DomName('Node.CDATA_SECTION_NODE') |
| 16587 @DocsEditable | 16934 @DocsEditable |
| 16588 static const int CDATA_SECTION_NODE = 4; | 16935 static const int CDATA_SECTION_NODE = 4; |
| 16589 | 16936 |
| 16590 @DomName('Node.COMMENT_NODE') | 16937 @DomName('Node.COMMENT_NODE') |
| (...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 16753 } | 17100 } |
| 16754 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17101 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16755 // for details. All rights reserved. Use of this source code is governed by a | 17102 // for details. All rights reserved. Use of this source code is governed by a |
| 16756 // BSD-style license that can be found in the LICENSE file. | 17103 // BSD-style license that can be found in the LICENSE file. |
| 16757 | 17104 |
| 16758 | 17105 |
| 16759 @DocsEditable | 17106 @DocsEditable |
| 16760 @DomName('NodeFilter') | 17107 @DomName('NodeFilter') |
| 16761 @Unstable | 17108 @Unstable |
| 16762 class NodeFilter native "NodeFilter" { | 17109 class NodeFilter native "NodeFilter" { |
| 17110 // To suppress missing implicit constructor warnings. |
| 17111 factory NodeFilter._() { throw new UnsupportedError("Not supported"); } |
| 16763 | 17112 |
| 16764 @DomName('NodeFilter.FILTER_ACCEPT') | 17113 @DomName('NodeFilter.FILTER_ACCEPT') |
| 16765 @DocsEditable | 17114 @DocsEditable |
| 16766 static const int FILTER_ACCEPT = 1; | 17115 static const int FILTER_ACCEPT = 1; |
| 16767 | 17116 |
| 16768 @DomName('NodeFilter.FILTER_REJECT') | 17117 @DomName('NodeFilter.FILTER_REJECT') |
| 16769 @DocsEditable | 17118 @DocsEditable |
| 16770 static const int FILTER_REJECT = 2; | 17119 static const int FILTER_REJECT = 2; |
| 16771 | 17120 |
| 16772 @DomName('NodeFilter.FILTER_SKIP') | 17121 @DomName('NodeFilter.FILTER_SKIP') |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 16834 // for details. All rights reserved. Use of this source code is governed by a | 17183 // for details. All rights reserved. Use of this source code is governed by a |
| 16835 // BSD-style license that can be found in the LICENSE file. | 17184 // BSD-style license that can be found in the LICENSE file. |
| 16836 | 17185 |
| 16837 | 17186 |
| 16838 @DomName('NodeIterator') | 17187 @DomName('NodeIterator') |
| 16839 @Unstable | 17188 @Unstable |
| 16840 class NodeIterator native "NodeIterator" { | 17189 class NodeIterator native "NodeIterator" { |
| 16841 factory NodeIterator(Node root, int whatToShow) { | 17190 factory NodeIterator(Node root, int whatToShow) { |
| 16842 return document.$dom_createNodeIterator(root, whatToShow, null, false); | 17191 return document.$dom_createNodeIterator(root, whatToShow, null, false); |
| 16843 } | 17192 } |
| 17193 // To suppress missing implicit constructor warnings. |
| 17194 factory NodeIterator._() { throw new UnsupportedError("Not supported"); } |
| 16844 | 17195 |
| 16845 @DomName('NodeIterator.pointerBeforeReferenceNode') | 17196 @DomName('NodeIterator.pointerBeforeReferenceNode') |
| 16846 @DocsEditable | 17197 @DocsEditable |
| 16847 final bool pointerBeforeReferenceNode; | 17198 final bool pointerBeforeReferenceNode; |
| 16848 | 17199 |
| 16849 @DomName('NodeIterator.referenceNode') | 17200 @DomName('NodeIterator.referenceNode') |
| 16850 @DocsEditable | 17201 @DocsEditable |
| 16851 final Node referenceNode; | 17202 final Node referenceNode; |
| 16852 | 17203 |
| 16853 @DomName('NodeIterator.root') | 17204 @DomName('NodeIterator.root') |
| (...skipping 18 matching lines...) Expand all Loading... |
| 16872 | 17223 |
| 16873 } | 17224 } |
| 16874 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17225 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16875 // for details. All rights reserved. Use of this source code is governed by a | 17226 // for details. All rights reserved. Use of this source code is governed by a |
| 16876 // BSD-style license that can be found in the LICENSE file. | 17227 // BSD-style license that can be found in the LICENSE file. |
| 16877 | 17228 |
| 16878 | 17229 |
| 16879 @DocsEditable | 17230 @DocsEditable |
| 16880 @DomName('NodeList') | 17231 @DomName('NodeList') |
| 16881 class NodeList extends Interceptor with ListMixin<Node>, ImmutableListMixin<Node
> implements JavaScriptIndexingBehavior, List<Node> native "NodeList,RadioNodeLi
st" { | 17232 class NodeList extends Interceptor with ListMixin<Node>, ImmutableListMixin<Node
> implements JavaScriptIndexingBehavior, List<Node> native "NodeList,RadioNodeLi
st" { |
| 17233 // To suppress missing implicit constructor warnings. |
| 17234 factory NodeList._() { throw new UnsupportedError("Not supported"); } |
| 16882 | 17235 |
| 16883 @DomName('NodeList.length') | 17236 @DomName('NodeList.length') |
| 16884 @DocsEditable | 17237 @DocsEditable |
| 16885 int get length => JS("int", "#.length", this); | 17238 int get length => JS("int", "#.length", this); |
| 16886 | 17239 |
| 16887 Node operator[](int index) { | 17240 Node operator[](int index) { |
| 16888 if (JS("bool", "# >>> 0 !== # || # >= #", index, | 17241 if (JS("bool", "# >>> 0 !== # || # >= #", index, |
| 16889 index, index, length)) | 17242 index, index, length)) |
| 16890 throw new RangeError.range(index, 0, length); | 17243 throw new RangeError.range(index, 0, length); |
| 16891 return JS("Node", "#[#]", this, index); | 17244 return JS("Node", "#[#]", this, index); |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 16936 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17289 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16937 // for details. All rights reserved. Use of this source code is governed by a | 17290 // for details. All rights reserved. Use of this source code is governed by a |
| 16938 // BSD-style license that can be found in the LICENSE file. | 17291 // BSD-style license that can be found in the LICENSE file. |
| 16939 | 17292 |
| 16940 | 17293 |
| 16941 @DocsEditable | 17294 @DocsEditable |
| 16942 @DomName('Notation') | 17295 @DomName('Notation') |
| 16943 // http://dom.spec.whatwg.org/#notation | 17296 // http://dom.spec.whatwg.org/#notation |
| 16944 @deprecated // deprecated | 17297 @deprecated // deprecated |
| 16945 class Notation extends Node native "Notation" { | 17298 class Notation extends Node native "Notation" { |
| 17299 // To suppress missing implicit constructor warnings. |
| 17300 factory Notation._() { throw new UnsupportedError("Not supported"); } |
| 16946 | 17301 |
| 16947 @DomName('Notation.publicId') | 17302 @DomName('Notation.publicId') |
| 16948 @DocsEditable | 17303 @DocsEditable |
| 16949 final String publicId; | 17304 final String publicId; |
| 16950 | 17305 |
| 16951 @DomName('Notation.systemId') | 17306 @DomName('Notation.systemId') |
| 16952 @DocsEditable | 17307 @DocsEditable |
| 16953 final String systemId; | 17308 final String systemId; |
| 16954 } | 17309 } |
| 16955 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 17310 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 16956 // for details. All rights reserved. Use of this source code is governed by a | 17311 // for details. All rights reserved. Use of this source code is governed by a |
| 16957 // BSD-style license that can be found in the LICENSE file. | 17312 // BSD-style license that can be found in the LICENSE file. |
| 16958 | 17313 |
| 16959 | 17314 |
| 16960 @DomName('Notification') | 17315 @DomName('Notification') |
| 16961 // http://www.w3.org/TR/notifications/#notification | 17316 // http://www.w3.org/TR/notifications/#notification |
| 16962 @Experimental // experimental | 17317 @Experimental // experimental |
| 16963 class Notification extends EventTarget native "Notification" { | 17318 class Notification extends EventTarget native "Notification" { |
| 16964 | 17319 |
| 16965 factory Notification(String title, {String titleDir: null, String body: null, | 17320 factory Notification(String title, {String titleDir: null, String body: null, |
| 16966 String bodyDir: null, String tag: null, String iconUrl: null}) { | 17321 String bodyDir: null, String tag: null, String iconUrl: null}) { |
| 16967 | 17322 |
| 16968 var parsedOptions = {}; | 17323 var parsedOptions = {}; |
| 16969 if (titleDir != null) parsedOptions['titleDir'] = titleDir; | 17324 if (titleDir != null) parsedOptions['titleDir'] = titleDir; |
| 16970 if (body != null) parsedOptions['body'] = body; | 17325 if (body != null) parsedOptions['body'] = body; |
| 16971 if (bodyDir != null) parsedOptions['bodyDir'] = bodyDir; | 17326 if (bodyDir != null) parsedOptions['bodyDir'] = bodyDir; |
| 16972 if (tag != null) parsedOptions['tag'] = tag; | 17327 if (tag != null) parsedOptions['tag'] = tag; |
| 16973 if (iconUrl != null) parsedOptions['iconUrl'] = iconUrl; | 17328 if (iconUrl != null) parsedOptions['iconUrl'] = iconUrl; |
| 16974 | 17329 |
| 16975 return Notification._factoryNotification(title, parsedOptions); | 17330 return Notification._factoryNotification(title, parsedOptions); |
| 16976 } | 17331 } |
| 17332 // To suppress missing implicit constructor warnings. |
| 17333 factory Notification._() { throw new UnsupportedError("Not supported"); } |
| 16977 | 17334 |
| 16978 @DomName('Notification.clickEvent') | 17335 @DomName('Notification.clickEvent') |
| 16979 @DocsEditable | 17336 @DocsEditable |
| 16980 static const EventStreamProvider<Event> clickEvent = const EventStreamProvider
<Event>('click'); | 17337 static const EventStreamProvider<Event> clickEvent = const EventStreamProvider
<Event>('click'); |
| 16981 | 17338 |
| 16982 @DomName('Notification.closeEvent') | 17339 @DomName('Notification.closeEvent') |
| 16983 @DocsEditable | 17340 @DocsEditable |
| 16984 static const EventStreamProvider<Event> closeEvent = const EventStreamProvider
<Event>('close'); | 17341 static const EventStreamProvider<Event> closeEvent = const EventStreamProvider
<Event>('close'); |
| 16985 | 17342 |
| 16986 @DomName('Notification.displayEvent') | 17343 @DomName('Notification.displayEvent') |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 17097 | 17454 |
| 17098 | 17455 |
| 17099 @DocsEditable | 17456 @DocsEditable |
| 17100 @DomName('NotificationCenter') | 17457 @DomName('NotificationCenter') |
| 17101 @SupportedBrowser(SupportedBrowser.CHROME) | 17458 @SupportedBrowser(SupportedBrowser.CHROME) |
| 17102 @SupportedBrowser(SupportedBrowser.SAFARI) | 17459 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 17103 @Experimental | 17460 @Experimental |
| 17104 // http://www.w3.org/TR/notifications/#showing-a-notification | 17461 // http://www.w3.org/TR/notifications/#showing-a-notification |
| 17105 @deprecated // deprecated | 17462 @deprecated // deprecated |
| 17106 class NotificationCenter native "NotificationCenter" { | 17463 class NotificationCenter native "NotificationCenter" { |
| 17464 // To suppress missing implicit constructor warnings. |
| 17465 factory NotificationCenter._() { throw new UnsupportedError("Not supported");
} |
| 17107 | 17466 |
| 17108 /// Checks if this type is supported on the current platform. | 17467 /// Checks if this type is supported on the current platform. |
| 17109 static bool get supported => JS('bool', '!!(window.webkitNotifications)'); | 17468 static bool get supported => JS('bool', '!!(window.webkitNotifications)'); |
| 17110 | 17469 |
| 17111 @DomName('NotificationCenter.checkPermission') | 17470 @DomName('NotificationCenter.checkPermission') |
| 17112 @DocsEditable | 17471 @DocsEditable |
| 17113 int checkPermission() native; | 17472 int checkPermission() native; |
| 17114 | 17473 |
| 17115 @JSName('createHTMLNotification') | 17474 @JSName('createHTMLNotification') |
| 17116 @DomName('NotificationCenter.createHTMLNotification') | 17475 @DomName('NotificationCenter.createHTMLNotification') |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 17148 @Experimental | 17507 @Experimental |
| 17149 typedef void _NotificationPermissionCallback(String permission); | 17508 typedef void _NotificationPermissionCallback(String permission); |
| 17150 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17509 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17151 // for details. All rights reserved. Use of this source code is governed by a | 17510 // for details. All rights reserved. Use of this source code is governed by a |
| 17152 // BSD-style license that can be found in the LICENSE file. | 17511 // BSD-style license that can be found in the LICENSE file. |
| 17153 | 17512 |
| 17154 | 17513 |
| 17155 @DocsEditable | 17514 @DocsEditable |
| 17156 @DomName('HTMLOListElement') | 17515 @DomName('HTMLOListElement') |
| 17157 class OListElement extends _HTMLElement native "HTMLOListElement" { | 17516 class OListElement extends _HTMLElement native "HTMLOListElement" { |
| 17517 // To suppress missing implicit constructor warnings. |
| 17518 factory OListElement._() { throw new UnsupportedError("Not supported"); } |
| 17158 | 17519 |
| 17159 @DomName('HTMLOListElement.HTMLOListElement') | 17520 @DomName('HTMLOListElement.HTMLOListElement') |
| 17160 @DocsEditable | 17521 @DocsEditable |
| 17161 factory OListElement() => document.$dom_createElement("ol"); | 17522 factory OListElement() => document.$dom_createElement("ol"); |
| 17162 | 17523 |
| 17163 @DomName('HTMLOListElement.reversed') | 17524 @DomName('HTMLOListElement.reversed') |
| 17164 @DocsEditable | 17525 @DocsEditable |
| 17165 bool reversed; | 17526 bool reversed; |
| 17166 | 17527 |
| 17167 @DomName('HTMLOListElement.start') | 17528 @DomName('HTMLOListElement.start') |
| 17168 @DocsEditable | 17529 @DocsEditable |
| 17169 int start; | 17530 int start; |
| 17170 | 17531 |
| 17171 @DomName('HTMLOListElement.type') | 17532 @DomName('HTMLOListElement.type') |
| 17172 @DocsEditable | 17533 @DocsEditable |
| 17173 String type; | 17534 String type; |
| 17174 } | 17535 } |
| 17175 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17536 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17176 // for details. All rights reserved. Use of this source code is governed by a | 17537 // for details. All rights reserved. Use of this source code is governed by a |
| 17177 // BSD-style license that can be found in the LICENSE file. | 17538 // BSD-style license that can be found in the LICENSE file. |
| 17178 | 17539 |
| 17179 | 17540 |
| 17180 @DocsEditable | 17541 @DocsEditable |
| 17181 @DomName('HTMLObjectElement') | 17542 @DomName('HTMLObjectElement') |
| 17182 @SupportedBrowser(SupportedBrowser.CHROME) | 17543 @SupportedBrowser(SupportedBrowser.CHROME) |
| 17183 @SupportedBrowser(SupportedBrowser.IE) | 17544 @SupportedBrowser(SupportedBrowser.IE) |
| 17184 @SupportedBrowser(SupportedBrowser.SAFARI) | 17545 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 17185 @Unstable | 17546 @Unstable |
| 17186 class ObjectElement extends _HTMLElement native "HTMLObjectElement" { | 17547 class ObjectElement extends _HTMLElement native "HTMLObjectElement" { |
| 17548 // To suppress missing implicit constructor warnings. |
| 17549 factory ObjectElement._() { throw new UnsupportedError("Not supported"); } |
| 17187 | 17550 |
| 17188 @DomName('HTMLObjectElement.HTMLObjectElement') | 17551 @DomName('HTMLObjectElement.HTMLObjectElement') |
| 17189 @DocsEditable | 17552 @DocsEditable |
| 17190 factory ObjectElement() => document.$dom_createElement("object"); | 17553 factory ObjectElement() => document.$dom_createElement("object"); |
| 17191 | 17554 |
| 17192 /// Checks if this type is supported on the current platform. | 17555 /// Checks if this type is supported on the current platform. |
| 17193 static bool get supported => Element.isTagSupported('object'); | 17556 static bool get supported => Element.isTagSupported('object'); |
| 17194 | 17557 |
| 17195 @DomName('HTMLObjectElement.code') | 17558 @DomName('HTMLObjectElement.code') |
| 17196 @DocsEditable | 17559 @DocsEditable |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 17255 void setCustomValidity(String error) native; | 17618 void setCustomValidity(String error) native; |
| 17256 } | 17619 } |
| 17257 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17620 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17258 // for details. All rights reserved. Use of this source code is governed by a | 17621 // for details. All rights reserved. Use of this source code is governed by a |
| 17259 // BSD-style license that can be found in the LICENSE file. | 17622 // BSD-style license that can be found in the LICENSE file. |
| 17260 | 17623 |
| 17261 | 17624 |
| 17262 @DocsEditable | 17625 @DocsEditable |
| 17263 @DomName('HTMLOptGroupElement') | 17626 @DomName('HTMLOptGroupElement') |
| 17264 class OptGroupElement extends _HTMLElement native "HTMLOptGroupElement" { | 17627 class OptGroupElement extends _HTMLElement native "HTMLOptGroupElement" { |
| 17628 // To suppress missing implicit constructor warnings. |
| 17629 factory OptGroupElement._() { throw new UnsupportedError("Not supported"); } |
| 17265 | 17630 |
| 17266 @DomName('HTMLOptGroupElement.HTMLOptGroupElement') | 17631 @DomName('HTMLOptGroupElement.HTMLOptGroupElement') |
| 17267 @DocsEditable | 17632 @DocsEditable |
| 17268 factory OptGroupElement() => document.$dom_createElement("optgroup"); | 17633 factory OptGroupElement() => document.$dom_createElement("optgroup"); |
| 17269 | 17634 |
| 17270 @DomName('HTMLOptGroupElement.disabled') | 17635 @DomName('HTMLOptGroupElement.disabled') |
| 17271 @DocsEditable | 17636 @DocsEditable |
| 17272 bool disabled; | 17637 bool disabled; |
| 17273 | 17638 |
| 17274 @DomName('HTMLOptGroupElement.label') | 17639 @DomName('HTMLOptGroupElement.label') |
| 17275 @DocsEditable | 17640 @DocsEditable |
| 17276 String label; | 17641 String label; |
| 17277 } | 17642 } |
| 17278 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17643 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17279 // for details. All rights reserved. Use of this source code is governed by a | 17644 // for details. All rights reserved. Use of this source code is governed by a |
| 17280 // BSD-style license that can be found in the LICENSE file. | 17645 // BSD-style license that can be found in the LICENSE file. |
| 17281 | 17646 |
| 17282 | 17647 |
| 17283 @DocsEditable | 17648 @DocsEditable |
| 17284 @DomName('HTMLOptionElement') | 17649 @DomName('HTMLOptionElement') |
| 17285 class OptionElement extends _HTMLElement native "HTMLOptionElement" { | 17650 class OptionElement extends _HTMLElement native "HTMLOptionElement" { |
| 17651 // To suppress missing implicit constructor warnings. |
| 17652 factory OptionElement._() { throw new UnsupportedError("Not supported"); } |
| 17286 | 17653 |
| 17287 @DomName('HTMLOptionElement.HTMLOptionElement') | 17654 @DomName('HTMLOptionElement.HTMLOptionElement') |
| 17288 @DocsEditable | 17655 @DocsEditable |
| 17289 factory OptionElement([String data, String value, bool defaultSelected, bool s
elected]) { | 17656 factory OptionElement([String data, String value, bool defaultSelected, bool s
elected]) { |
| 17290 if (selected != null) { | 17657 if (selected != null) { |
| 17291 return OptionElement._create_1(data, value, defaultSelected, selected); | 17658 return OptionElement._create_1(data, value, defaultSelected, selected); |
| 17292 } | 17659 } |
| 17293 if (defaultSelected != null) { | 17660 if (defaultSelected != null) { |
| 17294 return OptionElement._create_2(data, value, defaultSelected); | 17661 return OptionElement._create_2(data, value, defaultSelected); |
| 17295 } | 17662 } |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 17339 // for details. All rights reserved. Use of this source code is governed by a | 17706 // for details. All rights reserved. Use of this source code is governed by a |
| 17340 // BSD-style license that can be found in the LICENSE file. | 17707 // BSD-style license that can be found in the LICENSE file. |
| 17341 | 17708 |
| 17342 | 17709 |
| 17343 @DocsEditable | 17710 @DocsEditable |
| 17344 @DomName('HTMLOutputElement') | 17711 @DomName('HTMLOutputElement') |
| 17345 @SupportedBrowser(SupportedBrowser.CHROME) | 17712 @SupportedBrowser(SupportedBrowser.CHROME) |
| 17346 @SupportedBrowser(SupportedBrowser.FIREFOX) | 17713 @SupportedBrowser(SupportedBrowser.FIREFOX) |
| 17347 @SupportedBrowser(SupportedBrowser.SAFARI) | 17714 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 17348 class OutputElement extends _HTMLElement native "HTMLOutputElement" { | 17715 class OutputElement extends _HTMLElement native "HTMLOutputElement" { |
| 17716 // To suppress missing implicit constructor warnings. |
| 17717 factory OutputElement._() { throw new UnsupportedError("Not supported"); } |
| 17349 | 17718 |
| 17350 @DomName('HTMLOutputElement.HTMLOutputElement') | 17719 @DomName('HTMLOutputElement.HTMLOutputElement') |
| 17351 @DocsEditable | 17720 @DocsEditable |
| 17352 factory OutputElement() => document.$dom_createElement("output"); | 17721 factory OutputElement() => document.$dom_createElement("output"); |
| 17353 | 17722 |
| 17354 /// Checks if this type is supported on the current platform. | 17723 /// Checks if this type is supported on the current platform. |
| 17355 static bool get supported => Element.isTagSupported('output'); | 17724 static bool get supported => Element.isTagSupported('output'); |
| 17356 | 17725 |
| 17357 @DomName('HTMLOutputElement.defaultValue') | 17726 @DomName('HTMLOutputElement.defaultValue') |
| 17358 @DocsEditable | 17727 @DocsEditable |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 17407 } | 17776 } |
| 17408 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17777 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17409 // for details. All rights reserved. Use of this source code is governed by a | 17778 // for details. All rights reserved. Use of this source code is governed by a |
| 17410 // BSD-style license that can be found in the LICENSE file. | 17779 // BSD-style license that can be found in the LICENSE file. |
| 17411 | 17780 |
| 17412 | 17781 |
| 17413 @DocsEditable | 17782 @DocsEditable |
| 17414 @DomName('OverflowEvent') | 17783 @DomName('OverflowEvent') |
| 17415 @Experimental // nonstandard | 17784 @Experimental // nonstandard |
| 17416 class OverflowEvent extends Event native "OverflowEvent" { | 17785 class OverflowEvent extends Event native "OverflowEvent" { |
| 17786 // To suppress missing implicit constructor warnings. |
| 17787 factory OverflowEvent._() { throw new UnsupportedError("Not supported"); } |
| 17417 | 17788 |
| 17418 @DomName('OverflowEvent.BOTH') | 17789 @DomName('OverflowEvent.BOTH') |
| 17419 @DocsEditable | 17790 @DocsEditable |
| 17420 static const int BOTH = 2; | 17791 static const int BOTH = 2; |
| 17421 | 17792 |
| 17422 @DomName('OverflowEvent.HORIZONTAL') | 17793 @DomName('OverflowEvent.HORIZONTAL') |
| 17423 @DocsEditable | 17794 @DocsEditable |
| 17424 static const int HORIZONTAL = 0; | 17795 static const int HORIZONTAL = 0; |
| 17425 | 17796 |
| 17426 @DomName('OverflowEvent.VERTICAL') | 17797 @DomName('OverflowEvent.VERTICAL') |
| (...skipping 15 matching lines...) Expand all Loading... |
| 17442 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17813 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17443 // for details. All rights reserved. Use of this source code is governed by a | 17814 // for details. All rights reserved. Use of this source code is governed by a |
| 17444 // BSD-style license that can be found in the LICENSE file. | 17815 // BSD-style license that can be found in the LICENSE file. |
| 17445 | 17816 |
| 17446 | 17817 |
| 17447 @DocsEditable | 17818 @DocsEditable |
| 17448 @DomName('PageTransitionEvent') | 17819 @DomName('PageTransitionEvent') |
| 17449 // http://www.whatwg.org/specs/web-apps/current-work/multipage/history.html#page
transitionevent | 17820 // http://www.whatwg.org/specs/web-apps/current-work/multipage/history.html#page
transitionevent |
| 17450 @Experimental | 17821 @Experimental |
| 17451 class PageTransitionEvent extends Event native "PageTransitionEvent" { | 17822 class PageTransitionEvent extends Event native "PageTransitionEvent" { |
| 17823 // To suppress missing implicit constructor warnings. |
| 17824 factory PageTransitionEvent._() { throw new UnsupportedError("Not supported");
} |
| 17452 | 17825 |
| 17453 @DomName('PageTransitionEvent.persisted') | 17826 @DomName('PageTransitionEvent.persisted') |
| 17454 @DocsEditable | 17827 @DocsEditable |
| 17455 final bool persisted; | 17828 final bool persisted; |
| 17456 } | 17829 } |
| 17457 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17830 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17458 // for details. All rights reserved. Use of this source code is governed by a | 17831 // for details. All rights reserved. Use of this source code is governed by a |
| 17459 // BSD-style license that can be found in the LICENSE file. | 17832 // BSD-style license that can be found in the LICENSE file. |
| 17460 | 17833 |
| 17461 | 17834 |
| 17462 @DocsEditable | 17835 @DocsEditable |
| 17463 @DomName('HTMLParagraphElement') | 17836 @DomName('HTMLParagraphElement') |
| 17464 class ParagraphElement extends _HTMLElement native "HTMLParagraphElement" { | 17837 class ParagraphElement extends _HTMLElement native "HTMLParagraphElement" { |
| 17838 // To suppress missing implicit constructor warnings. |
| 17839 factory ParagraphElement._() { throw new UnsupportedError("Not supported"); } |
| 17465 | 17840 |
| 17466 @DomName('HTMLParagraphElement.HTMLParagraphElement') | 17841 @DomName('HTMLParagraphElement.HTMLParagraphElement') |
| 17467 @DocsEditable | 17842 @DocsEditable |
| 17468 factory ParagraphElement() => document.$dom_createElement("p"); | 17843 factory ParagraphElement() => document.$dom_createElement("p"); |
| 17469 } | 17844 } |
| 17470 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17845 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17471 // for details. All rights reserved. Use of this source code is governed by a | 17846 // for details. All rights reserved. Use of this source code is governed by a |
| 17472 // BSD-style license that can be found in the LICENSE file. | 17847 // BSD-style license that can be found in the LICENSE file. |
| 17473 | 17848 |
| 17474 | 17849 |
| 17475 @DocsEditable | 17850 @DocsEditable |
| 17476 @DomName('HTMLParamElement') | 17851 @DomName('HTMLParamElement') |
| 17477 @Unstable | 17852 @Unstable |
| 17478 class ParamElement extends _HTMLElement native "HTMLParamElement" { | 17853 class ParamElement extends _HTMLElement native "HTMLParamElement" { |
| 17854 // To suppress missing implicit constructor warnings. |
| 17855 factory ParamElement._() { throw new UnsupportedError("Not supported"); } |
| 17479 | 17856 |
| 17480 @DomName('HTMLParamElement.HTMLParamElement') | 17857 @DomName('HTMLParamElement.HTMLParamElement') |
| 17481 @DocsEditable | 17858 @DocsEditable |
| 17482 factory ParamElement() => document.$dom_createElement("param"); | 17859 factory ParamElement() => document.$dom_createElement("param"); |
| 17483 | 17860 |
| 17484 @DomName('HTMLParamElement.name') | 17861 @DomName('HTMLParamElement.name') |
| 17485 @DocsEditable | 17862 @DocsEditable |
| 17486 String name; | 17863 String name; |
| 17487 | 17864 |
| 17488 @DomName('HTMLParamElement.value') | 17865 @DomName('HTMLParamElement.value') |
| 17489 @DocsEditable | 17866 @DocsEditable |
| 17490 String value; | 17867 String value; |
| 17491 } | 17868 } |
| 17492 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17869 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17493 // for details. All rights reserved. Use of this source code is governed by a | 17870 // for details. All rights reserved. Use of this source code is governed by a |
| 17494 // BSD-style license that can be found in the LICENSE file. | 17871 // BSD-style license that can be found in the LICENSE file. |
| 17495 | 17872 |
| 17496 | 17873 |
| 17497 @DocsEditable | 17874 @DocsEditable |
| 17498 @DomName('Path') | 17875 @DomName('Path') |
| 17499 // http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-elemen
t.html#path-objects | 17876 // http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-elemen
t.html#path-objects |
| 17500 @Experimental | 17877 @Experimental |
| 17501 class Path native "Path" { | 17878 class Path native "Path" { |
| 17879 // To suppress missing implicit constructor warnings. |
| 17880 factory Path._() { throw new UnsupportedError("Not supported"); } |
| 17502 | 17881 |
| 17503 @DomName('Path.Path') | 17882 @DomName('Path.Path') |
| 17504 @DocsEditable | 17883 @DocsEditable |
| 17505 factory Path([path_OR_text]) { | 17884 factory Path([path_OR_text]) { |
| 17506 if (path_OR_text == null) { | 17885 if (path_OR_text == null) { |
| 17507 return Path._create_1(); | 17886 return Path._create_1(); |
| 17508 } | 17887 } |
| 17509 if ((path_OR_text is Path || path_OR_text == null)) { | 17888 if ((path_OR_text is Path || path_OR_text == null)) { |
| 17510 return Path._create_2(path_OR_text); | 17889 return Path._create_2(path_OR_text); |
| 17511 } | 17890 } |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 17554 // for details. All rights reserved. Use of this source code is governed by a | 17933 // for details. All rights reserved. Use of this source code is governed by a |
| 17555 // BSD-style license that can be found in the LICENSE file. | 17934 // BSD-style license that can be found in the LICENSE file. |
| 17556 | 17935 |
| 17557 | 17936 |
| 17558 @DocsEditable | 17937 @DocsEditable |
| 17559 @DomName('Performance') | 17938 @DomName('Performance') |
| 17560 @SupportedBrowser(SupportedBrowser.CHROME) | 17939 @SupportedBrowser(SupportedBrowser.CHROME) |
| 17561 @SupportedBrowser(SupportedBrowser.FIREFOX) | 17940 @SupportedBrowser(SupportedBrowser.FIREFOX) |
| 17562 @SupportedBrowser(SupportedBrowser.IE) | 17941 @SupportedBrowser(SupportedBrowser.IE) |
| 17563 class Performance extends EventTarget native "Performance" { | 17942 class Performance extends EventTarget native "Performance" { |
| 17943 // To suppress missing implicit constructor warnings. |
| 17944 factory Performance._() { throw new UnsupportedError("Not supported"); } |
| 17564 | 17945 |
| 17565 @DomName('Performance.webkitresourcetimingbufferfullEvent') | 17946 @DomName('Performance.webkitresourcetimingbufferfullEvent') |
| 17566 @DocsEditable | 17947 @DocsEditable |
| 17567 @SupportedBrowser(SupportedBrowser.CHROME) | 17948 @SupportedBrowser(SupportedBrowser.CHROME) |
| 17568 @SupportedBrowser(SupportedBrowser.SAFARI) | 17949 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 17569 @Experimental | 17950 @Experimental |
| 17570 // http://www.w3c-test.org/webperf/specs/ResourceTiming/#performanceresourceti
ming-methods | 17951 // http://www.w3c-test.org/webperf/specs/ResourceTiming/#performanceresourceti
ming-methods |
| 17571 static const EventStreamProvider<Event> resourceTimingBufferFullEvent = const
EventStreamProvider<Event>('webkitresourcetimingbufferfull'); | 17952 static const EventStreamProvider<Event> resourceTimingBufferFullEvent = const
EventStreamProvider<Event>('webkitresourcetimingbufferfull'); |
| 17572 | 17953 |
| 17573 /// Checks if this type is supported on the current platform. | 17954 /// Checks if this type is supported on the current platform. |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 17659 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18040 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17660 // for details. All rights reserved. Use of this source code is governed by a | 18041 // for details. All rights reserved. Use of this source code is governed by a |
| 17661 // BSD-style license that can be found in the LICENSE file. | 18042 // BSD-style license that can be found in the LICENSE file. |
| 17662 | 18043 |
| 17663 | 18044 |
| 17664 @DocsEditable | 18045 @DocsEditable |
| 17665 @DomName('PerformanceEntry') | 18046 @DomName('PerformanceEntry') |
| 17666 // http://www.w3.org/TR/performance-timeline/#sec-PerformanceEntry-interface | 18047 // http://www.w3.org/TR/performance-timeline/#sec-PerformanceEntry-interface |
| 17667 @Experimental | 18048 @Experimental |
| 17668 class PerformanceEntry native "PerformanceEntry" { | 18049 class PerformanceEntry native "PerformanceEntry" { |
| 18050 // To suppress missing implicit constructor warnings. |
| 18051 factory PerformanceEntry._() { throw new UnsupportedError("Not supported"); } |
| 17669 | 18052 |
| 17670 @DomName('PerformanceEntry.duration') | 18053 @DomName('PerformanceEntry.duration') |
| 17671 @DocsEditable | 18054 @DocsEditable |
| 17672 final num duration; | 18055 final num duration; |
| 17673 | 18056 |
| 17674 @DomName('PerformanceEntry.entryType') | 18057 @DomName('PerformanceEntry.entryType') |
| 17675 @DocsEditable | 18058 @DocsEditable |
| 17676 final String entryType; | 18059 final String entryType; |
| 17677 | 18060 |
| 17678 @DomName('PerformanceEntry.name') | 18061 @DomName('PerformanceEntry.name') |
| 17679 @DocsEditable | 18062 @DocsEditable |
| 17680 final String name; | 18063 final String name; |
| 17681 | 18064 |
| 17682 @DomName('PerformanceEntry.startTime') | 18065 @DomName('PerformanceEntry.startTime') |
| 17683 @DocsEditable | 18066 @DocsEditable |
| 17684 final num startTime; | 18067 final num startTime; |
| 17685 } | 18068 } |
| 17686 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18069 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17687 // for details. All rights reserved. Use of this source code is governed by a | 18070 // for details. All rights reserved. Use of this source code is governed by a |
| 17688 // BSD-style license that can be found in the LICENSE file. | 18071 // BSD-style license that can be found in the LICENSE file. |
| 17689 | 18072 |
| 17690 | 18073 |
| 17691 @DocsEditable | 18074 @DocsEditable |
| 17692 @DomName('PerformanceMark') | 18075 @DomName('PerformanceMark') |
| 17693 // http://www.w3.org/TR/user-timing/#performancemark | 18076 // http://www.w3.org/TR/user-timing/#performancemark |
| 17694 @Experimental | 18077 @Experimental |
| 17695 class PerformanceMark extends PerformanceEntry native "PerformanceMark" { | 18078 class PerformanceMark extends PerformanceEntry native "PerformanceMark" { |
| 18079 // To suppress missing implicit constructor warnings. |
| 18080 factory PerformanceMark._() { throw new UnsupportedError("Not supported"); } |
| 17696 } | 18081 } |
| 17697 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18082 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17698 // for details. All rights reserved. Use of this source code is governed by a | 18083 // for details. All rights reserved. Use of this source code is governed by a |
| 17699 // BSD-style license that can be found in the LICENSE file. | 18084 // BSD-style license that can be found in the LICENSE file. |
| 17700 | 18085 |
| 17701 | 18086 |
| 17702 @DocsEditable | 18087 @DocsEditable |
| 17703 @DomName('PerformanceMeasure') | 18088 @DomName('PerformanceMeasure') |
| 17704 // http://www.w3.org/TR/user-timing/#performancemeasure | 18089 // http://www.w3.org/TR/user-timing/#performancemeasure |
| 17705 @Experimental | 18090 @Experimental |
| 17706 class PerformanceMeasure extends PerformanceEntry native "PerformanceMeasure" { | 18091 class PerformanceMeasure extends PerformanceEntry native "PerformanceMeasure" { |
| 18092 // To suppress missing implicit constructor warnings. |
| 18093 factory PerformanceMeasure._() { throw new UnsupportedError("Not supported");
} |
| 17707 } | 18094 } |
| 17708 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18095 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17709 // for details. All rights reserved. Use of this source code is governed by a | 18096 // for details. All rights reserved. Use of this source code is governed by a |
| 17710 // BSD-style license that can be found in the LICENSE file. | 18097 // BSD-style license that can be found in the LICENSE file. |
| 17711 | 18098 |
| 17712 | 18099 |
| 17713 @DocsEditable | 18100 @DocsEditable |
| 17714 @DomName('PerformanceNavigation') | 18101 @DomName('PerformanceNavigation') |
| 17715 @Unstable | 18102 @Unstable |
| 17716 class PerformanceNavigation native "PerformanceNavigation" { | 18103 class PerformanceNavigation native "PerformanceNavigation" { |
| 18104 // To suppress missing implicit constructor warnings. |
| 18105 factory PerformanceNavigation._() { throw new UnsupportedError("Not supported"
); } |
| 17717 | 18106 |
| 17718 @DomName('PerformanceNavigation.TYPE_BACK_FORWARD') | 18107 @DomName('PerformanceNavigation.TYPE_BACK_FORWARD') |
| 17719 @DocsEditable | 18108 @DocsEditable |
| 17720 static const int TYPE_BACK_FORWARD = 2; | 18109 static const int TYPE_BACK_FORWARD = 2; |
| 17721 | 18110 |
| 17722 @DomName('PerformanceNavigation.TYPE_NAVIGATE') | 18111 @DomName('PerformanceNavigation.TYPE_NAVIGATE') |
| 17723 @DocsEditable | 18112 @DocsEditable |
| 17724 static const int TYPE_NAVIGATE = 0; | 18113 static const int TYPE_NAVIGATE = 0; |
| 17725 | 18114 |
| 17726 @DomName('PerformanceNavigation.TYPE_RELOAD') | 18115 @DomName('PerformanceNavigation.TYPE_RELOAD') |
| (...skipping 15 matching lines...) Expand all Loading... |
| 17742 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18131 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17743 // for details. All rights reserved. Use of this source code is governed by a | 18132 // for details. All rights reserved. Use of this source code is governed by a |
| 17744 // BSD-style license that can be found in the LICENSE file. | 18133 // BSD-style license that can be found in the LICENSE file. |
| 17745 | 18134 |
| 17746 | 18135 |
| 17747 @DocsEditable | 18136 @DocsEditable |
| 17748 @DomName('PerformanceResourceTiming') | 18137 @DomName('PerformanceResourceTiming') |
| 17749 // http://www.w3c-test.org/webperf/specs/ResourceTiming/#performanceresourcetimi
ng | 18138 // http://www.w3c-test.org/webperf/specs/ResourceTiming/#performanceresourcetimi
ng |
| 17750 @Experimental | 18139 @Experimental |
| 17751 class PerformanceResourceTiming extends PerformanceEntry native "PerformanceReso
urceTiming" { | 18140 class PerformanceResourceTiming extends PerformanceEntry native "PerformanceReso
urceTiming" { |
| 18141 // To suppress missing implicit constructor warnings. |
| 18142 factory PerformanceResourceTiming._() { throw new UnsupportedError("Not suppor
ted"); } |
| 17752 | 18143 |
| 17753 @DomName('PerformanceResourceTiming.connectEnd') | 18144 @DomName('PerformanceResourceTiming.connectEnd') |
| 17754 @DocsEditable | 18145 @DocsEditable |
| 17755 final num connectEnd; | 18146 final num connectEnd; |
| 17756 | 18147 |
| 17757 @DomName('PerformanceResourceTiming.connectStart') | 18148 @DomName('PerformanceResourceTiming.connectStart') |
| 17758 @DocsEditable | 18149 @DocsEditable |
| 17759 final num connectStart; | 18150 final num connectStart; |
| 17760 | 18151 |
| 17761 @DomName('PerformanceResourceTiming.domainLookupEnd') | 18152 @DomName('PerformanceResourceTiming.domainLookupEnd') |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 17803 } | 18194 } |
| 17804 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18195 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17805 // for details. All rights reserved. Use of this source code is governed by a | 18196 // for details. All rights reserved. Use of this source code is governed by a |
| 17806 // BSD-style license that can be found in the LICENSE file. | 18197 // BSD-style license that can be found in the LICENSE file. |
| 17807 | 18198 |
| 17808 | 18199 |
| 17809 @DocsEditable | 18200 @DocsEditable |
| 17810 @DomName('PerformanceTiming') | 18201 @DomName('PerformanceTiming') |
| 17811 @Unstable | 18202 @Unstable |
| 17812 class PerformanceTiming native "PerformanceTiming" { | 18203 class PerformanceTiming native "PerformanceTiming" { |
| 18204 // To suppress missing implicit constructor warnings. |
| 18205 factory PerformanceTiming._() { throw new UnsupportedError("Not supported"); } |
| 17813 | 18206 |
| 17814 @DomName('PerformanceTiming.connectEnd') | 18207 @DomName('PerformanceTiming.connectEnd') |
| 17815 @DocsEditable | 18208 @DocsEditable |
| 17816 final int connectEnd; | 18209 final int connectEnd; |
| 17817 | 18210 |
| 17818 @DomName('PerformanceTiming.connectStart') | 18211 @DomName('PerformanceTiming.connectStart') |
| 17819 @DocsEditable | 18212 @DocsEditable |
| 17820 final int connectStart; | 18213 final int connectStart; |
| 17821 | 18214 |
| 17822 @DomName('PerformanceTiming.domComplete') | 18215 @DomName('PerformanceTiming.domComplete') |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 17897 } | 18290 } |
| 17898 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18291 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17899 // for details. All rights reserved. Use of this source code is governed by a | 18292 // for details. All rights reserved. Use of this source code is governed by a |
| 17900 // BSD-style license that can be found in the LICENSE file. | 18293 // BSD-style license that can be found in the LICENSE file. |
| 17901 | 18294 |
| 17902 | 18295 |
| 17903 @DocsEditable | 18296 @DocsEditable |
| 17904 @DomName('Plugin') | 18297 @DomName('Plugin') |
| 17905 @Experimental // non-standard | 18298 @Experimental // non-standard |
| 17906 class Plugin native "Plugin" { | 18299 class Plugin native "Plugin" { |
| 18300 // To suppress missing implicit constructor warnings. |
| 18301 factory Plugin._() { throw new UnsupportedError("Not supported"); } |
| 17907 | 18302 |
| 17908 @DomName('Plugin.description') | 18303 @DomName('Plugin.description') |
| 17909 @DocsEditable | 18304 @DocsEditable |
| 17910 final String description; | 18305 final String description; |
| 17911 | 18306 |
| 17912 @DomName('Plugin.filename') | 18307 @DomName('Plugin.filename') |
| 17913 @DocsEditable | 18308 @DocsEditable |
| 17914 final String filename; | 18309 final String filename; |
| 17915 | 18310 |
| 17916 @DomName('Plugin.length') | 18311 @DomName('Plugin.length') |
| (...skipping 18 matching lines...) Expand all Loading... |
| 17935 } | 18330 } |
| 17936 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18331 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17937 // for details. All rights reserved. Use of this source code is governed by a | 18332 // for details. All rights reserved. Use of this source code is governed by a |
| 17938 // BSD-style license that can be found in the LICENSE file. | 18333 // BSD-style license that can be found in the LICENSE file. |
| 17939 | 18334 |
| 17940 | 18335 |
| 17941 @DocsEditable | 18336 @DocsEditable |
| 17942 @DomName('PluginArray') | 18337 @DomName('PluginArray') |
| 17943 @Experimental // non-standard | 18338 @Experimental // non-standard |
| 17944 class PluginArray extends Interceptor with ListMixin<Plugin>, ImmutableListMixin
<Plugin> implements JavaScriptIndexingBehavior, List<Plugin> native "PluginArray
" { | 18339 class PluginArray extends Interceptor with ListMixin<Plugin>, ImmutableListMixin
<Plugin> implements JavaScriptIndexingBehavior, List<Plugin> native "PluginArray
" { |
| 18340 // To suppress missing implicit constructor warnings. |
| 18341 factory PluginArray._() { throw new UnsupportedError("Not supported"); } |
| 17945 | 18342 |
| 17946 @DomName('PluginArray.length') | 18343 @DomName('PluginArray.length') |
| 17947 @DocsEditable | 18344 @DocsEditable |
| 17948 int get length => JS("int", "#.length", this); | 18345 int get length => JS("int", "#.length", this); |
| 17949 | 18346 |
| 17950 Plugin operator[](int index) { | 18347 Plugin operator[](int index) { |
| 17951 if (JS("bool", "# >>> 0 !== # || # >= #", index, | 18348 if (JS("bool", "# >>> 0 !== # || # >= #", index, |
| 17952 index, index, length)) | 18349 index, index, length)) |
| 17953 throw new RangeError.range(index, 0, length); | 18350 throw new RangeError.range(index, 0, length); |
| 17954 return JS("Plugin", "#[#]", this, index); | 18351 return JS("Plugin", "#[#]", this, index); |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 18012 // BSD-style license that can be found in the LICENSE file. | 18409 // BSD-style license that can be found in the LICENSE file. |
| 18013 | 18410 |
| 18014 | 18411 |
| 18015 @DocsEditable | 18412 @DocsEditable |
| 18016 @DomName('PopStateEvent') | 18413 @DomName('PopStateEvent') |
| 18017 @SupportedBrowser(SupportedBrowser.CHROME) | 18414 @SupportedBrowser(SupportedBrowser.CHROME) |
| 18018 @SupportedBrowser(SupportedBrowser.FIREFOX) | 18415 @SupportedBrowser(SupportedBrowser.FIREFOX) |
| 18019 @SupportedBrowser(SupportedBrowser.IE, '10') | 18416 @SupportedBrowser(SupportedBrowser.IE, '10') |
| 18020 @SupportedBrowser(SupportedBrowser.SAFARI) | 18417 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 18021 class PopStateEvent extends Event native "PopStateEvent" { | 18418 class PopStateEvent extends Event native "PopStateEvent" { |
| 18419 // To suppress missing implicit constructor warnings. |
| 18420 factory PopStateEvent._() { throw new UnsupportedError("Not supported"); } |
| 18022 | 18421 |
| 18023 dynamic get state => convertNativeToDart_SerializedScriptValue(this._get_state
); | 18422 dynamic get state => convertNativeToDart_SerializedScriptValue(this._get_state
); |
| 18024 @JSName('state') | 18423 @JSName('state') |
| 18025 @DomName('PopStateEvent.state') | 18424 @DomName('PopStateEvent.state') |
| 18026 @DocsEditable | 18425 @DocsEditable |
| 18027 @annotation_Creates_SerializedScriptValue | 18426 @annotation_Creates_SerializedScriptValue |
| 18028 @annotation_Returns_SerializedScriptValue | 18427 @annotation_Returns_SerializedScriptValue |
| 18029 final dynamic _get_state; | 18428 final dynamic _get_state; |
| 18030 } | 18429 } |
| 18031 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18430 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18032 // for details. All rights reserved. Use of this source code is governed by a | 18431 // for details. All rights reserved. Use of this source code is governed by a |
| 18033 // BSD-style license that can be found in the LICENSE file. | 18432 // BSD-style license that can be found in the LICENSE file. |
| 18034 | 18433 |
| 18035 // WARNING: Do not edit - generated code. | 18434 // WARNING: Do not edit - generated code. |
| 18036 | 18435 |
| 18037 | 18436 |
| 18038 @DomName('PositionCallback') | 18437 @DomName('PositionCallback') |
| 18039 @Unstable | 18438 @Unstable |
| 18040 typedef void _PositionCallback(Geoposition position); | 18439 typedef void _PositionCallback(Geoposition position); |
| 18041 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18440 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18042 // for details. All rights reserved. Use of this source code is governed by a | 18441 // for details. All rights reserved. Use of this source code is governed by a |
| 18043 // BSD-style license that can be found in the LICENSE file. | 18442 // BSD-style license that can be found in the LICENSE file. |
| 18044 | 18443 |
| 18045 | 18444 |
| 18046 @DocsEditable | 18445 @DocsEditable |
| 18047 @DomName('PositionError') | 18446 @DomName('PositionError') |
| 18048 @Unstable | 18447 @Unstable |
| 18049 class PositionError native "PositionError" { | 18448 class PositionError native "PositionError" { |
| 18449 // To suppress missing implicit constructor warnings. |
| 18450 factory PositionError._() { throw new UnsupportedError("Not supported"); } |
| 18050 | 18451 |
| 18051 @DomName('PositionError.PERMISSION_DENIED') | 18452 @DomName('PositionError.PERMISSION_DENIED') |
| 18052 @DocsEditable | 18453 @DocsEditable |
| 18053 static const int PERMISSION_DENIED = 1; | 18454 static const int PERMISSION_DENIED = 1; |
| 18054 | 18455 |
| 18055 @DomName('PositionError.POSITION_UNAVAILABLE') | 18456 @DomName('PositionError.POSITION_UNAVAILABLE') |
| 18056 @DocsEditable | 18457 @DocsEditable |
| 18057 static const int POSITION_UNAVAILABLE = 2; | 18458 static const int POSITION_UNAVAILABLE = 2; |
| 18058 | 18459 |
| 18059 @DomName('PositionError.TIMEOUT') | 18460 @DomName('PositionError.TIMEOUT') |
| (...skipping 19 matching lines...) Expand all Loading... |
| 18079 @Unstable | 18480 @Unstable |
| 18080 typedef void _PositionErrorCallback(PositionError error); | 18481 typedef void _PositionErrorCallback(PositionError error); |
| 18081 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18482 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18082 // for details. All rights reserved. Use of this source code is governed by a | 18483 // for details. All rights reserved. Use of this source code is governed by a |
| 18083 // BSD-style license that can be found in the LICENSE file. | 18484 // BSD-style license that can be found in the LICENSE file. |
| 18084 | 18485 |
| 18085 | 18486 |
| 18086 @DocsEditable | 18487 @DocsEditable |
| 18087 @DomName('HTMLPreElement') | 18488 @DomName('HTMLPreElement') |
| 18088 class PreElement extends _HTMLElement native "HTMLPreElement" { | 18489 class PreElement extends _HTMLElement native "HTMLPreElement" { |
| 18490 // To suppress missing implicit constructor warnings. |
| 18491 factory PreElement._() { throw new UnsupportedError("Not supported"); } |
| 18089 | 18492 |
| 18090 @DomName('HTMLPreElement.HTMLPreElement') | 18493 @DomName('HTMLPreElement.HTMLPreElement') |
| 18091 @DocsEditable | 18494 @DocsEditable |
| 18092 factory PreElement() => document.$dom_createElement("pre"); | 18495 factory PreElement() => document.$dom_createElement("pre"); |
| 18093 | 18496 |
| 18094 @DomName('HTMLPreElement.wrap') | 18497 @DomName('HTMLPreElement.wrap') |
| 18095 @DocsEditable | 18498 @DocsEditable |
| 18096 @deprecated // deprecated | 18499 @deprecated // deprecated |
| 18097 bool wrap; | 18500 bool wrap; |
| 18098 } | 18501 } |
| 18099 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18502 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18100 // for details. All rights reserved. Use of this source code is governed by a | 18503 // for details. All rights reserved. Use of this source code is governed by a |
| 18101 // BSD-style license that can be found in the LICENSE file. | 18504 // BSD-style license that can be found in the LICENSE file. |
| 18102 | 18505 |
| 18103 | 18506 |
| 18104 @DocsEditable | 18507 @DocsEditable |
| 18105 @DomName('ProcessingInstruction') | 18508 @DomName('ProcessingInstruction') |
| 18106 @Unstable | 18509 @Unstable |
| 18107 class ProcessingInstruction extends Node native "ProcessingInstruction" { | 18510 class ProcessingInstruction extends Node native "ProcessingInstruction" { |
| 18511 // To suppress missing implicit constructor warnings. |
| 18512 factory ProcessingInstruction._() { throw new UnsupportedError("Not supported"
); } |
| 18108 | 18513 |
| 18109 @DomName('ProcessingInstruction.data') | 18514 @DomName('ProcessingInstruction.data') |
| 18110 @DocsEditable | 18515 @DocsEditable |
| 18111 @Experimental // non-standard | 18516 @Experimental // non-standard |
| 18112 String data; | 18517 String data; |
| 18113 | 18518 |
| 18114 @DomName('ProcessingInstruction.sheet') | 18519 @DomName('ProcessingInstruction.sheet') |
| 18115 @DocsEditable | 18520 @DocsEditable |
| 18116 @Experimental // non-standard | 18521 @Experimental // non-standard |
| 18117 final StyleSheet sheet; | 18522 final StyleSheet sheet; |
| 18118 | 18523 |
| 18119 @DomName('ProcessingInstruction.target') | 18524 @DomName('ProcessingInstruction.target') |
| 18120 @DocsEditable | 18525 @DocsEditable |
| 18121 final String target; | 18526 final String target; |
| 18122 } | 18527 } |
| 18123 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18528 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18124 // for details. All rights reserved. Use of this source code is governed by a | 18529 // for details. All rights reserved. Use of this source code is governed by a |
| 18125 // BSD-style license that can be found in the LICENSE file. | 18530 // BSD-style license that can be found in the LICENSE file. |
| 18126 | 18531 |
| 18127 | 18532 |
| 18128 @DocsEditable | 18533 @DocsEditable |
| 18129 @DomName('HTMLProgressElement') | 18534 @DomName('HTMLProgressElement') |
| 18130 @SupportedBrowser(SupportedBrowser.CHROME) | 18535 @SupportedBrowser(SupportedBrowser.CHROME) |
| 18131 @SupportedBrowser(SupportedBrowser.FIREFOX) | 18536 @SupportedBrowser(SupportedBrowser.FIREFOX) |
| 18132 @SupportedBrowser(SupportedBrowser.IE, '10') | 18537 @SupportedBrowser(SupportedBrowser.IE, '10') |
| 18133 @SupportedBrowser(SupportedBrowser.SAFARI) | 18538 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 18134 class ProgressElement extends _HTMLElement native "HTMLProgressElement" { | 18539 class ProgressElement extends _HTMLElement native "HTMLProgressElement" { |
| 18540 // To suppress missing implicit constructor warnings. |
| 18541 factory ProgressElement._() { throw new UnsupportedError("Not supported"); } |
| 18135 | 18542 |
| 18136 @DomName('HTMLProgressElement.HTMLProgressElement') | 18543 @DomName('HTMLProgressElement.HTMLProgressElement') |
| 18137 @DocsEditable | 18544 @DocsEditable |
| 18138 factory ProgressElement() => document.$dom_createElement("progress"); | 18545 factory ProgressElement() => document.$dom_createElement("progress"); |
| 18139 | 18546 |
| 18140 /// Checks if this type is supported on the current platform. | 18547 /// Checks if this type is supported on the current platform. |
| 18141 static bool get supported => Element.isTagSupported('progress'); | 18548 static bool get supported => Element.isTagSupported('progress'); |
| 18142 | 18549 |
| 18143 @DomName('HTMLProgressElement.labels') | 18550 @DomName('HTMLProgressElement.labels') |
| 18144 @DocsEditable | 18551 @DocsEditable |
| (...skipping 15 matching lines...) Expand all Loading... |
| 18160 num value; | 18567 num value; |
| 18161 } | 18568 } |
| 18162 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18569 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18163 // for details. All rights reserved. Use of this source code is governed by a | 18570 // for details. All rights reserved. Use of this source code is governed by a |
| 18164 // BSD-style license that can be found in the LICENSE file. | 18571 // BSD-style license that can be found in the LICENSE file. |
| 18165 | 18572 |
| 18166 | 18573 |
| 18167 @DocsEditable | 18574 @DocsEditable |
| 18168 @DomName('ProgressEvent') | 18575 @DomName('ProgressEvent') |
| 18169 class ProgressEvent extends Event native "ProgressEvent" { | 18576 class ProgressEvent extends Event native "ProgressEvent" { |
| 18577 // To suppress missing implicit constructor warnings. |
| 18578 factory ProgressEvent._() { throw new UnsupportedError("Not supported"); } |
| 18170 | 18579 |
| 18171 @DomName('ProgressEvent.lengthComputable') | 18580 @DomName('ProgressEvent.lengthComputable') |
| 18172 @DocsEditable | 18581 @DocsEditable |
| 18173 final bool lengthComputable; | 18582 final bool lengthComputable; |
| 18174 | 18583 |
| 18175 @DomName('ProgressEvent.loaded') | 18584 @DomName('ProgressEvent.loaded') |
| 18176 @DocsEditable | 18585 @DocsEditable |
| 18177 final int loaded; | 18586 final int loaded; |
| 18178 | 18587 |
| 18179 @DomName('ProgressEvent.total') | 18588 @DomName('ProgressEvent.total') |
| 18180 @DocsEditable | 18589 @DocsEditable |
| 18181 final int total; | 18590 final int total; |
| 18182 } | 18591 } |
| 18183 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18592 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18184 // for details. All rights reserved. Use of this source code is governed by a | 18593 // for details. All rights reserved. Use of this source code is governed by a |
| 18185 // BSD-style license that can be found in the LICENSE file. | 18594 // BSD-style license that can be found in the LICENSE file. |
| 18186 | 18595 |
| 18187 | 18596 |
| 18188 @DocsEditable | 18597 @DocsEditable |
| 18189 @DomName('HTMLQuoteElement') | 18598 @DomName('HTMLQuoteElement') |
| 18190 class QuoteElement extends _HTMLElement native "HTMLQuoteElement" { | 18599 class QuoteElement extends _HTMLElement native "HTMLQuoteElement" { |
| 18600 // To suppress missing implicit constructor warnings. |
| 18601 factory QuoteElement._() { throw new UnsupportedError("Not supported"); } |
| 18191 | 18602 |
| 18192 @DomName('HTMLQuoteElement.HTMLQuoteElement') | 18603 @DomName('HTMLQuoteElement.HTMLQuoteElement') |
| 18193 @DocsEditable | 18604 @DocsEditable |
| 18194 factory QuoteElement() => document.$dom_createElement("q"); | 18605 factory QuoteElement() => document.$dom_createElement("q"); |
| 18195 | 18606 |
| 18196 @DomName('HTMLQuoteElement.cite') | 18607 @DomName('HTMLQuoteElement.cite') |
| 18197 @DocsEditable | 18608 @DocsEditable |
| 18198 String cite; | 18609 String cite; |
| 18199 } | 18610 } |
| 18200 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18611 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 18237 // WARNING: Do not edit - generated code. | 18648 // WARNING: Do not edit - generated code. |
| 18238 | 18649 |
| 18239 | 18650 |
| 18240 @DomName('Range') | 18651 @DomName('Range') |
| 18241 @Unstable | 18652 @Unstable |
| 18242 class Range native "Range" { | 18653 class Range native "Range" { |
| 18243 factory Range() => document.$dom_createRange(); | 18654 factory Range() => document.$dom_createRange(); |
| 18244 | 18655 |
| 18245 factory Range.fromPoint(Point point) => | 18656 factory Range.fromPoint(Point point) => |
| 18246 document.$dom_caretRangeFromPoint(point.x, point.y); | 18657 document.$dom_caretRangeFromPoint(point.x, point.y); |
| 18658 // To suppress missing implicit constructor warnings. |
| 18659 factory Range._() { throw new UnsupportedError("Not supported"); } |
| 18247 | 18660 |
| 18248 @DomName('Range.END_TO_END') | 18661 @DomName('Range.END_TO_END') |
| 18249 @DocsEditable | 18662 @DocsEditable |
| 18250 static const int END_TO_END = 2; | 18663 static const int END_TO_END = 2; |
| 18251 | 18664 |
| 18252 @DomName('Range.END_TO_START') | 18665 @DomName('Range.END_TO_START') |
| 18253 @DocsEditable | 18666 @DocsEditable |
| 18254 static const int END_TO_START = 3; | 18667 static const int END_TO_START = 3; |
| 18255 | 18668 |
| 18256 @DomName('Range.NODE_AFTER') | 18669 @DomName('Range.NODE_AFTER') |
| (...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 18433 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18846 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18434 // for details. All rights reserved. Use of this source code is governed by a | 18847 // for details. All rights reserved. Use of this source code is governed by a |
| 18435 // BSD-style license that can be found in the LICENSE file. | 18848 // BSD-style license that can be found in the LICENSE file. |
| 18436 | 18849 |
| 18437 | 18850 |
| 18438 @DocsEditable | 18851 @DocsEditable |
| 18439 @DomName('ResourceProgressEvent') | 18852 @DomName('ResourceProgressEvent') |
| 18440 // https://chromiumcodereview.appspot.com/14773025/ | 18853 // https://chromiumcodereview.appspot.com/14773025/ |
| 18441 @deprecated // experimental | 18854 @deprecated // experimental |
| 18442 class ResourceProgressEvent extends ProgressEvent native "ResourceProgressEvent"
{ | 18855 class ResourceProgressEvent extends ProgressEvent native "ResourceProgressEvent"
{ |
| 18856 // To suppress missing implicit constructor warnings. |
| 18857 factory ResourceProgressEvent._() { throw new UnsupportedError("Not supported"
); } |
| 18443 | 18858 |
| 18444 @DomName('ResourceProgressEvent.url') | 18859 @DomName('ResourceProgressEvent.url') |
| 18445 @DocsEditable | 18860 @DocsEditable |
| 18446 final String url; | 18861 final String url; |
| 18447 } | 18862 } |
| 18448 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18863 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18449 // for details. All rights reserved. Use of this source code is governed by a | 18864 // for details. All rights reserved. Use of this source code is governed by a |
| 18450 // BSD-style license that can be found in the LICENSE file. | 18865 // BSD-style license that can be found in the LICENSE file. |
| 18451 | 18866 |
| 18452 | 18867 |
| 18453 @DocsEditable | 18868 @DocsEditable |
| 18454 @DomName('RTCDataChannel') | 18869 @DomName('RTCDataChannel') |
| 18455 // http://dev.w3.org/2011/webrtc/editor/webrtc.html#idl-def-RTCDataChannel | 18870 // http://dev.w3.org/2011/webrtc/editor/webrtc.html#idl-def-RTCDataChannel |
| 18456 @Experimental | 18871 @Experimental |
| 18457 class RtcDataChannel extends EventTarget native "RTCDataChannel,DataChannel" { | 18872 class RtcDataChannel extends EventTarget native "RTCDataChannel,DataChannel" { |
| 18873 // To suppress missing implicit constructor warnings. |
| 18874 factory RtcDataChannel._() { throw new UnsupportedError("Not supported"); } |
| 18458 | 18875 |
| 18459 @DomName('RTCDataChannel.closeEvent') | 18876 @DomName('RTCDataChannel.closeEvent') |
| 18460 @DocsEditable | 18877 @DocsEditable |
| 18461 static const EventStreamProvider<Event> closeEvent = const EventStreamProvider
<Event>('close'); | 18878 static const EventStreamProvider<Event> closeEvent = const EventStreamProvider
<Event>('close'); |
| 18462 | 18879 |
| 18463 @DomName('RTCDataChannel.errorEvent') | 18880 @DomName('RTCDataChannel.errorEvent') |
| 18464 @DocsEditable | 18881 @DocsEditable |
| 18465 static const EventStreamProvider<Event> errorEvent = const EventStreamProvider
<Event>('error'); | 18882 static const EventStreamProvider<Event> errorEvent = const EventStreamProvider
<Event>('error'); |
| 18466 | 18883 |
| 18467 @DomName('RTCDataChannel.messageEvent') | 18884 @DomName('RTCDataChannel.messageEvent') |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 18533 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18950 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18534 // for details. All rights reserved. Use of this source code is governed by a | 18951 // for details. All rights reserved. Use of this source code is governed by a |
| 18535 // BSD-style license that can be found in the LICENSE file. | 18952 // BSD-style license that can be found in the LICENSE file. |
| 18536 | 18953 |
| 18537 | 18954 |
| 18538 @DocsEditable | 18955 @DocsEditable |
| 18539 @DomName('RTCDataChannelEvent') | 18956 @DomName('RTCDataChannelEvent') |
| 18540 // http://dev.w3.org/2011/webrtc/editor/webrtc.html#rtcdatachannelevent | 18957 // http://dev.w3.org/2011/webrtc/editor/webrtc.html#rtcdatachannelevent |
| 18541 @Experimental | 18958 @Experimental |
| 18542 class RtcDataChannelEvent extends Event native "RTCDataChannelEvent" { | 18959 class RtcDataChannelEvent extends Event native "RTCDataChannelEvent" { |
| 18960 // To suppress missing implicit constructor warnings. |
| 18961 factory RtcDataChannelEvent._() { throw new UnsupportedError("Not supported");
} |
| 18543 | 18962 |
| 18544 @DomName('RTCDataChannelEvent.channel') | 18963 @DomName('RTCDataChannelEvent.channel') |
| 18545 @DocsEditable | 18964 @DocsEditable |
| 18546 final RtcDataChannel channel; | 18965 final RtcDataChannel channel; |
| 18547 } | 18966 } |
| 18548 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18967 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18549 // for details. All rights reserved. Use of this source code is governed by a | 18968 // for details. All rights reserved. Use of this source code is governed by a |
| 18550 // BSD-style license that can be found in the LICENSE file. | 18969 // BSD-style license that can be found in the LICENSE file. |
| 18551 | 18970 |
| 18552 | 18971 |
| 18553 @DocsEditable | 18972 @DocsEditable |
| 18554 @DomName('RTCDTMFSender') | 18973 @DomName('RTCDTMFSender') |
| 18555 // http://dev.w3.org/2011/webrtc/editor/webrtc.html#idl-def-RTCDTMFSender | 18974 // http://dev.w3.org/2011/webrtc/editor/webrtc.html#idl-def-RTCDTMFSender |
| 18556 @Experimental | 18975 @Experimental |
| 18557 class RtcDtmfSender extends EventTarget native "RTCDTMFSender" { | 18976 class RtcDtmfSender extends EventTarget native "RTCDTMFSender" { |
| 18977 // To suppress missing implicit constructor warnings. |
| 18978 factory RtcDtmfSender._() { throw new UnsupportedError("Not supported"); } |
| 18558 | 18979 |
| 18559 @DomName('RTCDTMFSender.tonechangeEvent') | 18980 @DomName('RTCDTMFSender.tonechangeEvent') |
| 18560 @DocsEditable | 18981 @DocsEditable |
| 18561 static const EventStreamProvider<RtcDtmfToneChangeEvent> toneChangeEvent = con
st EventStreamProvider<RtcDtmfToneChangeEvent>('tonechange'); | 18982 static const EventStreamProvider<RtcDtmfToneChangeEvent> toneChangeEvent = con
st EventStreamProvider<RtcDtmfToneChangeEvent>('tonechange'); |
| 18562 | 18983 |
| 18563 @JSName('canInsertDTMF') | 18984 @JSName('canInsertDTMF') |
| 18564 @DomName('RTCDTMFSender.canInsertDTMF') | 18985 @DomName('RTCDTMFSender.canInsertDTMF') |
| 18565 @DocsEditable | 18986 @DocsEditable |
| 18566 final bool canInsertDtmf; | 18987 final bool canInsertDtmf; |
| 18567 | 18988 |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 18607 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 19028 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18608 // for details. All rights reserved. Use of this source code is governed by a | 19029 // for details. All rights reserved. Use of this source code is governed by a |
| 18609 // BSD-style license that can be found in the LICENSE file. | 19030 // BSD-style license that can be found in the LICENSE file. |
| 18610 | 19031 |
| 18611 | 19032 |
| 18612 @DocsEditable | 19033 @DocsEditable |
| 18613 @DomName('RTCDTMFToneChangeEvent') | 19034 @DomName('RTCDTMFToneChangeEvent') |
| 18614 // http://dev.w3.org/2011/webrtc/editor/webrtc.html#idl-def-RTCDTMFToneChangeEve
nt | 19035 // http://dev.w3.org/2011/webrtc/editor/webrtc.html#idl-def-RTCDTMFToneChangeEve
nt |
| 18615 @Experimental | 19036 @Experimental |
| 18616 class RtcDtmfToneChangeEvent extends Event native "RTCDTMFToneChangeEvent" { | 19037 class RtcDtmfToneChangeEvent extends Event native "RTCDTMFToneChangeEvent" { |
| 19038 // To suppress missing implicit constructor warnings. |
| 19039 factory RtcDtmfToneChangeEvent._() { throw new UnsupportedError("Not supported
"); } |
| 18617 | 19040 |
| 18618 @DomName('RTCDTMFToneChangeEvent.tone') | 19041 @DomName('RTCDTMFToneChangeEvent.tone') |
| 18619 @DocsEditable | 19042 @DocsEditable |
| 18620 final String tone; | 19043 final String tone; |
| 18621 } | 19044 } |
| 18622 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 19045 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 18623 // for details. All rights reserved. Use of this source code is governed by a | 19046 // for details. All rights reserved. Use of this source code is governed by a |
| 18624 // BSD-style license that can be found in the LICENSE file. | 19047 // BSD-style license that can be found in the LICENSE file. |
| 18625 | 19048 |
| 18626 | 19049 |
| 18627 @DomName('RTCIceCandidate') | 19050 @DomName('RTCIceCandidate') |
| 18628 @SupportedBrowser(SupportedBrowser.CHROME) | 19051 @SupportedBrowser(SupportedBrowser.CHROME) |
| 18629 @Experimental | 19052 @Experimental |
| 18630 // http://dev.w3.org/2011/webrtc/editor/webrtc.html#idl-def-RTCIceCandidate | 19053 // http://dev.w3.org/2011/webrtc/editor/webrtc.html#idl-def-RTCIceCandidate |
| 18631 class RtcIceCandidate native "RTCIceCandidate,mozRTCIceCandidate" { | 19054 class RtcIceCandidate native "RTCIceCandidate,mozRTCIceCandidate" { |
| 18632 factory RtcIceCandidate(Map dictionary) { | 19055 factory RtcIceCandidate(Map dictionary) { |
| 18633 // TODO(efortuna): Remove this check if when you can actually construct with | 19056 // TODO(efortuna): Remove this check if when you can actually construct with |
| 18634 // the unprefixed RTCIceCandidate in Firefox (currently both are defined, | 19057 // the unprefixed RTCIceCandidate in Firefox (currently both are defined, |
| 18635 // but one can't be used as a constructor). | 19058 // but one can't be used as a constructor). |
| 18636 var constructorName = JS('', 'window[#]', | 19059 var constructorName = JS('', 'window[#]', |
| 18637 Device.isFirefox ? '${Device.propertyPrefix}RTCIceCandidate' : | 19060 Device.isFirefox ? '${Device.propertyPrefix}RTCIceCandidate' : |
| 18638 'RTCIceCandidate'); | 19061 'RTCIceCandidate'); |
| 18639 return JS('RtcIceCandidate', 'new #(#)', constructorName, | 19062 return JS('RtcIceCandidate', 'new #(#)', constructorName, |
| 18640 convertDartToNative_SerializedScriptValue(dictionary)); | 19063 convertDartToNative_SerializedScriptValue(dictionary)); |
| 18641 } | 19064 } |
| 19065 // To suppress missing implicit constructor warnings. |
| 19066 factory RtcIceCandidate._() { throw new UnsupportedError("Not supported"); } |
| 18642 | 19067 |
| 18643 @DomName('RTCIceCandidate.candidate') | 19068 @DomName('RTCIceCandidate.candidate') |
| 18644 @DocsEditable | 19069 @DocsEditable |
| 18645 final String candidate; | 19070 final String candidate; |
| 18646 | 19071 |
| 18647 @DomName('RTCIceCandidate.sdpMLineIndex') | 19072 @DomName('RTCIceCandidate.sdpMLineIndex') |
| 18648 @DocsEditable | 19073 @DocsEditable |
| 18649 final int sdpMLineIndex; | 19074 final int sdpMLineIndex; |
| 18650 | 19075 |
| 18651 @DomName('RTCIceCandidate.sdpMid') | 19076 @DomName('RTCIceCandidate.sdpMid') |
| 18652 @DocsEditable | 19077 @DocsEditable |
| 18653 final String sdpMid; | 19078 final String sdpMid; |
| 18654 | 19079 |
| 18655 } | 19080 } |
| 18656 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 19081 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18657 // for details. All rights reserved. Use of this source code is governed by a | 19082 // for details. All rights reserved. Use of this source code is governed by a |
| 18658 // BSD-style license that can be found in the LICENSE file. | 19083 // BSD-style license that can be found in the LICENSE file. |
| 18659 | 19084 |
| 18660 | 19085 |
| 18661 @DocsEditable | 19086 @DocsEditable |
| 18662 @DomName('RTCIceCandidateEvent') | 19087 @DomName('RTCIceCandidateEvent') |
| 18663 // http://dev.w3.org/2011/webrtc/editor/webrtc.html#rtcicecandidate-type | 19088 // http://dev.w3.org/2011/webrtc/editor/webrtc.html#rtcicecandidate-type |
| 18664 @Experimental | 19089 @Experimental |
| 18665 class RtcIceCandidateEvent extends Event native "RTCIceCandidateEvent" { | 19090 class RtcIceCandidateEvent extends Event native "RTCIceCandidateEvent" { |
| 19091 // To suppress missing implicit constructor warnings. |
| 19092 factory RtcIceCandidateEvent._() { throw new UnsupportedError("Not supported")
; } |
| 18666 | 19093 |
| 18667 @DomName('RTCIceCandidateEvent.candidate') | 19094 @DomName('RTCIceCandidateEvent.candidate') |
| 18668 @DocsEditable | 19095 @DocsEditable |
| 18669 final RtcIceCandidate candidate; | 19096 final RtcIceCandidate candidate; |
| 18670 } | 19097 } |
| 18671 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 19098 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 18672 // for details. All rights reserved. Use of this source code is governed by a | 19099 // for details. All rights reserved. Use of this source code is governed by a |
| 18673 // BSD-style license that can be found in the LICENSE file. | 19100 // BSD-style license that can be found in the LICENSE file. |
| 18674 | 19101 |
| 18675 | 19102 |
| (...skipping 16 matching lines...) Expand all Loading... |
| 18692 } | 19119 } |
| 18693 | 19120 |
| 18694 /** | 19121 /** |
| 18695 * Checks if Real Time Communication (RTC) APIs are supported and enabled on | 19122 * Checks if Real Time Communication (RTC) APIs are supported and enabled on |
| 18696 * the current platform. | 19123 * the current platform. |
| 18697 */ | 19124 */ |
| 18698 static bool get supported { | 19125 static bool get supported { |
| 18699 // Currently in Firefox some of the RTC elements are defined but throw an | 19126 // Currently in Firefox some of the RTC elements are defined but throw an |
| 18700 // error unless the user has specifically enabled them in their | 19127 // error unless the user has specifically enabled them in their |
| 18701 // about:config. So we have to construct an element to actually test if RTC | 19128 // about:config. So we have to construct an element to actually test if RTC |
| 18702 // is supported at the given time. | 19129 // is supported at the given time. |
| 18703 try { | 19130 try { |
| 18704 new RtcPeerConnection( | 19131 new RtcPeerConnection( |
| 18705 {"iceServers": [ {"url":"stun:localhost"}]}); | 19132 {"iceServers": [ {"url":"stun:localhost"}]}); |
| 18706 return true; | 19133 return true; |
| 18707 } catch (_) { return false;} | 19134 } catch (_) { return false;} |
| 18708 return false; | 19135 return false; |
| 18709 } | 19136 } |
| 18710 Future<RtcSessionDescription> createOffer([Map mediaConstraints]) { | 19137 Future<RtcSessionDescription> createOffer([Map mediaConstraints]) { |
| 18711 var completer = new Completer<RtcSessionDescription>(); | 19138 var completer = new Completer<RtcSessionDescription>(); |
| 18712 _createOffer( | 19139 _createOffer( |
| 18713 (value) { completer.complete(value); }, | 19140 (value) { completer.complete(value); }, |
| 18714 (error) { completer.completeError(error); }, mediaConstraints); | 19141 (error) { completer.completeError(error); }, mediaConstraints); |
| 18715 return completer.future; | 19142 return completer.future; |
| 18716 } | 19143 } |
| 18717 | 19144 |
| 18718 Future<RtcSessionDescription> createAnswer([Map mediaConstraints]) { | 19145 Future<RtcSessionDescription> createAnswer([Map mediaConstraints]) { |
| 18719 var completer = new Completer<RtcSessionDescription>(); | 19146 var completer = new Completer<RtcSessionDescription>(); |
| 18720 _createAnswer( | 19147 _createAnswer( |
| 18721 (value) { completer.complete(value); }, | 19148 (value) { completer.complete(value); }, |
| 18722 (error) { completer.completeError(error); }, mediaConstraints); | 19149 (error) { completer.completeError(error); }, mediaConstraints); |
| 18723 return completer.future; | 19150 return completer.future; |
| 18724 } | 19151 } |
| 19152 // To suppress missing implicit constructor warnings. |
| 19153 factory RtcPeerConnection._() { throw new UnsupportedError("Not supported"); } |
| 18725 | 19154 |
| 18726 @DomName('RTCPeerConnection.addstreamEvent') | 19155 @DomName('RTCPeerConnection.addstreamEvent') |
| 18727 @DocsEditable | 19156 @DocsEditable |
| 18728 static const EventStreamProvider<MediaStreamEvent> addStreamEvent = const Even
tStreamProvider<MediaStreamEvent>('addstream'); | 19157 static const EventStreamProvider<MediaStreamEvent> addStreamEvent = const Even
tStreamProvider<MediaStreamEvent>('addstream'); |
| 18729 | 19158 |
| 18730 @DomName('RTCPeerConnection.datachannelEvent') | 19159 @DomName('RTCPeerConnection.datachannelEvent') |
| 18731 @DocsEditable | 19160 @DocsEditable |
| 18732 static const EventStreamProvider<RtcDataChannelEvent> dataChannelEvent = const
EventStreamProvider<RtcDataChannelEvent>('datachannel'); | 19161 static const EventStreamProvider<RtcDataChannelEvent> dataChannelEvent = const
EventStreamProvider<RtcDataChannelEvent>('datachannel'); |
| 18733 | 19162 |
| 18734 @DomName('RTCPeerConnection.icecandidateEvent') | 19163 @DomName('RTCPeerConnection.icecandidateEvent') |
| (...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 18995 @DomName('RTCSessionDescription') | 19424 @DomName('RTCSessionDescription') |
| 18996 @SupportedBrowser(SupportedBrowser.CHROME) | 19425 @SupportedBrowser(SupportedBrowser.CHROME) |
| 18997 @Experimental | 19426 @Experimental |
| 18998 // http://dev.w3.org/2011/webrtc/editor/webrtc.html#idl-def-RTCSessionDescriptio
n | 19427 // http://dev.w3.org/2011/webrtc/editor/webrtc.html#idl-def-RTCSessionDescriptio
n |
| 18999 class RtcSessionDescription native "RTCSessionDescription,mozRTCSessionDescripti
on" { | 19428 class RtcSessionDescription native "RTCSessionDescription,mozRTCSessionDescripti
on" { |
| 19000 factory RtcSessionDescription(Map dictionary) { | 19429 factory RtcSessionDescription(Map dictionary) { |
| 19001 // TODO(efortuna): Remove this check if when you can actually construct with | 19430 // TODO(efortuna): Remove this check if when you can actually construct with |
| 19002 // the unprefixed RTCIceCandidate in Firefox (currently both are defined, | 19431 // the unprefixed RTCIceCandidate in Firefox (currently both are defined, |
| 19003 // but one can't be used as a constructor). | 19432 // but one can't be used as a constructor). |
| 19004 var constructorName = JS('', 'window[#]', | 19433 var constructorName = JS('', 'window[#]', |
| 19005 Device.isFirefox ? '${Device.propertyPrefix}RTCSessionDescription' : | 19434 Device.isFirefox ? '${Device.propertyPrefix}RTCSessionDescription' : |
| 19006 'RTCSessionDescription'); | 19435 'RTCSessionDescription'); |
| 19007 return JS('RtcSessionDescription', | 19436 return JS('RtcSessionDescription', |
| 19008 'new #(#)', constructorName, | 19437 'new #(#)', constructorName, |
| 19009 convertDartToNative_SerializedScriptValue(dictionary)); | 19438 convertDartToNative_SerializedScriptValue(dictionary)); |
| 19010 } | 19439 } |
| 19440 // To suppress missing implicit constructor warnings. |
| 19441 factory RtcSessionDescription._() { throw new UnsupportedError("Not supported"
); } |
| 19011 | 19442 |
| 19012 @DomName('RTCSessionDescription.sdp') | 19443 @DomName('RTCSessionDescription.sdp') |
| 19013 @DocsEditable | 19444 @DocsEditable |
| 19014 String sdp; | 19445 String sdp; |
| 19015 | 19446 |
| 19016 @DomName('RTCSessionDescription.type') | 19447 @DomName('RTCSessionDescription.type') |
| 19017 @DocsEditable | 19448 @DocsEditable |
| 19018 String type; | 19449 String type; |
| 19019 | 19450 |
| 19020 } | 19451 } |
| 19021 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 19452 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19022 // for details. All rights reserved. Use of this source code is governed by a | 19453 // for details. All rights reserved. Use of this source code is governed by a |
| 19023 // BSD-style license that can be found in the LICENSE file. | 19454 // BSD-style license that can be found in the LICENSE file. |
| 19024 | 19455 |
| 19025 | 19456 |
| 19026 @DocsEditable | 19457 @DocsEditable |
| 19027 @DomName('RTCStatsReport') | 19458 @DomName('RTCStatsReport') |
| 19028 // http://dev.w3.org/2011/webrtc/editor/webrtc.html#idl-def-RTCStatsReport | 19459 // http://dev.w3.org/2011/webrtc/editor/webrtc.html#idl-def-RTCStatsReport |
| 19029 @Experimental | 19460 @Experimental |
| 19030 class RtcStatsReport native "RTCStatsReport" { | 19461 class RtcStatsReport native "RTCStatsReport" { |
| 19462 // To suppress missing implicit constructor warnings. |
| 19463 factory RtcStatsReport._() { throw new UnsupportedError("Not supported"); } |
| 19031 | 19464 |
| 19032 @DomName('RTCStatsReport.id') | 19465 @DomName('RTCStatsReport.id') |
| 19033 @DocsEditable | 19466 @DocsEditable |
| 19034 final String id; | 19467 final String id; |
| 19035 | 19468 |
| 19036 @DomName('RTCStatsReport.local') | 19469 @DomName('RTCStatsReport.local') |
| 19037 @DocsEditable | 19470 @DocsEditable |
| 19038 final RtcStatsReport local; | 19471 final RtcStatsReport local; |
| 19039 | 19472 |
| 19040 @DomName('RTCStatsReport.remote') | 19473 @DomName('RTCStatsReport.remote') |
| (...skipping 22 matching lines...) Expand all Loading... |
| 19063 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 19496 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19064 // for details. All rights reserved. Use of this source code is governed by a | 19497 // for details. All rights reserved. Use of this source code is governed by a |
| 19065 // BSD-style license that can be found in the LICENSE file. | 19498 // BSD-style license that can be found in the LICENSE file. |
| 19066 | 19499 |
| 19067 | 19500 |
| 19068 @DocsEditable | 19501 @DocsEditable |
| 19069 @DomName('RTCStatsResponse') | 19502 @DomName('RTCStatsResponse') |
| 19070 // http://dev.w3.org/2011/webrtc/editor/webrtc.html#widl-RTCStatsReport-RTCStats
-getter-DOMString-id | 19503 // http://dev.w3.org/2011/webrtc/editor/webrtc.html#widl-RTCStatsReport-RTCStats
-getter-DOMString-id |
| 19071 @Experimental | 19504 @Experimental |
| 19072 class RtcStatsResponse native "RTCStatsResponse" { | 19505 class RtcStatsResponse native "RTCStatsResponse" { |
| 19506 // To suppress missing implicit constructor warnings. |
| 19507 factory RtcStatsResponse._() { throw new UnsupportedError("Not supported"); } |
| 19073 | 19508 |
| 19074 @DomName('RTCStatsResponse.__getter__') | 19509 @DomName('RTCStatsResponse.__getter__') |
| 19075 @DocsEditable | 19510 @DocsEditable |
| 19076 RtcStatsReport __getter__(String name) native; | 19511 RtcStatsReport __getter__(String name) native; |
| 19077 | 19512 |
| 19078 @DomName('RTCStatsResponse.namedItem') | 19513 @DomName('RTCStatsResponse.namedItem') |
| 19079 @DocsEditable | 19514 @DocsEditable |
| 19080 RtcStatsReport namedItem(String name) native; | 19515 RtcStatsReport namedItem(String name) native; |
| 19081 | 19516 |
| 19082 @DomName('RTCStatsResponse.result') | 19517 @DomName('RTCStatsResponse.result') |
| 19083 @DocsEditable | 19518 @DocsEditable |
| 19084 List<RtcStatsReport> result() native; | 19519 List<RtcStatsReport> result() native; |
| 19085 } | 19520 } |
| 19086 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 19521 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 19087 // for details. All rights reserved. Use of this source code is governed by a | 19522 // for details. All rights reserved. Use of this source code is governed by a |
| 19088 // BSD-style license that can be found in the LICENSE file. | 19523 // BSD-style license that can be found in the LICENSE file. |
| 19089 | 19524 |
| 19090 | 19525 |
| 19091 @DocsEditable | 19526 @DocsEditable |
| 19092 @DomName('Screen') | 19527 @DomName('Screen') |
| 19093 class Screen native "Screen" { | 19528 class Screen native "Screen" { |
| 19094 | 19529 |
| 19095 @DomName('Screen.availHeight') | 19530 @DomName('Screen.availHeight') |
| 19096 @DomName('Screen.availLeft') | 19531 @DomName('Screen.availLeft') |
| 19097 @DomName('Screen.availTop') | 19532 @DomName('Screen.availTop') |
| 19098 @DomName('Screen.availWidth') | 19533 @DomName('Screen.availWidth') |
| 19099 Rect get available => new Rect($dom_availLeft, $dom_availTop, $dom_availWidth, | 19534 Rect get available => new Rect($dom_availLeft, $dom_availTop, $dom_availWidth, |
| 19100 $dom_availHeight); | 19535 $dom_availHeight); |
| 19536 // To suppress missing implicit constructor warnings. |
| 19537 factory Screen._() { throw new UnsupportedError("Not supported"); } |
| 19101 | 19538 |
| 19102 @JSName('availHeight') | 19539 @JSName('availHeight') |
| 19103 @DomName('Screen.availHeight') | 19540 @DomName('Screen.availHeight') |
| 19104 @DocsEditable | 19541 @DocsEditable |
| 19105 final int $dom_availHeight; | 19542 final int $dom_availHeight; |
| 19106 | 19543 |
| 19107 @JSName('availLeft') | 19544 @JSName('availLeft') |
| 19108 @DomName('Screen.availLeft') | 19545 @DomName('Screen.availLeft') |
| 19109 @DocsEditable | 19546 @DocsEditable |
| 19110 @Experimental // nonstandard | 19547 @Experimental // nonstandard |
| (...skipping 27 matching lines...) Expand all Loading... |
| 19138 final int width; | 19575 final int width; |
| 19139 } | 19576 } |
| 19140 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 19577 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19141 // for details. All rights reserved. Use of this source code is governed by a | 19578 // for details. All rights reserved. Use of this source code is governed by a |
| 19142 // BSD-style license that can be found in the LICENSE file. | 19579 // BSD-style license that can be found in the LICENSE file. |
| 19143 | 19580 |
| 19144 | 19581 |
| 19145 @DocsEditable | 19582 @DocsEditable |
| 19146 @DomName('HTMLScriptElement') | 19583 @DomName('HTMLScriptElement') |
| 19147 class ScriptElement extends _HTMLElement native "HTMLScriptElement" { | 19584 class ScriptElement extends _HTMLElement native "HTMLScriptElement" { |
| 19585 // To suppress missing implicit constructor warnings. |
| 19586 factory ScriptElement._() { throw new UnsupportedError("Not supported"); } |
| 19148 | 19587 |
| 19149 @DomName('HTMLScriptElement.HTMLScriptElement') | 19588 @DomName('HTMLScriptElement.HTMLScriptElement') |
| 19150 @DocsEditable | 19589 @DocsEditable |
| 19151 factory ScriptElement() => document.$dom_createElement("script"); | 19590 factory ScriptElement() => document.$dom_createElement("script"); |
| 19152 | 19591 |
| 19153 @DomName('HTMLScriptElement.async') | 19592 @DomName('HTMLScriptElement.async') |
| 19154 @DocsEditable | 19593 @DocsEditable |
| 19155 bool async; | 19594 bool async; |
| 19156 | 19595 |
| 19157 @DomName('HTMLScriptElement.charset') | 19596 @DomName('HTMLScriptElement.charset') |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 19197 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 19636 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19198 // for details. All rights reserved. Use of this source code is governed by a | 19637 // for details. All rights reserved. Use of this source code is governed by a |
| 19199 // BSD-style license that can be found in the LICENSE file. | 19638 // BSD-style license that can be found in the LICENSE file. |
| 19200 | 19639 |
| 19201 | 19640 |
| 19202 @DocsEditable | 19641 @DocsEditable |
| 19203 @DomName('SecurityPolicy') | 19642 @DomName('SecurityPolicy') |
| 19204 // https://dvcs.w3.org/hg/content-security-policy/raw-file/tip/csp-specification
.dev.html#securitypolicy | 19643 // https://dvcs.w3.org/hg/content-security-policy/raw-file/tip/csp-specification
.dev.html#securitypolicy |
| 19205 @Experimental | 19644 @Experimental |
| 19206 class SecurityPolicy native "SecurityPolicy" { | 19645 class SecurityPolicy native "SecurityPolicy" { |
| 19646 // To suppress missing implicit constructor warnings. |
| 19647 factory SecurityPolicy._() { throw new UnsupportedError("Not supported"); } |
| 19207 | 19648 |
| 19208 @DomName('SecurityPolicy.allowsEval') | 19649 @DomName('SecurityPolicy.allowsEval') |
| 19209 @DocsEditable | 19650 @DocsEditable |
| 19210 final bool allowsEval; | 19651 final bool allowsEval; |
| 19211 | 19652 |
| 19212 @DomName('SecurityPolicy.allowsInlineScript') | 19653 @DomName('SecurityPolicy.allowsInlineScript') |
| 19213 @DocsEditable | 19654 @DocsEditable |
| 19214 final bool allowsInlineScript; | 19655 final bool allowsInlineScript; |
| 19215 | 19656 |
| 19216 @DomName('SecurityPolicy.allowsInlineStyle') | 19657 @DomName('SecurityPolicy.allowsInlineStyle') |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 19270 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 19711 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19271 // for details. All rights reserved. Use of this source code is governed by a | 19712 // for details. All rights reserved. Use of this source code is governed by a |
| 19272 // BSD-style license that can be found in the LICENSE file. | 19713 // BSD-style license that can be found in the LICENSE file. |
| 19273 | 19714 |
| 19274 | 19715 |
| 19275 @DocsEditable | 19716 @DocsEditable |
| 19276 @DomName('SecurityPolicyViolationEvent') | 19717 @DomName('SecurityPolicyViolationEvent') |
| 19277 // https://dvcs.w3.org/hg/content-security-policy/raw-file/tip/csp-specification
.dev.html#securitypolicyviolationevent-events | 19718 // https://dvcs.w3.org/hg/content-security-policy/raw-file/tip/csp-specification
.dev.html#securitypolicyviolationevent-events |
| 19278 @Experimental | 19719 @Experimental |
| 19279 class SecurityPolicyViolationEvent extends Event native "SecurityPolicyViolation
Event" { | 19720 class SecurityPolicyViolationEvent extends Event native "SecurityPolicyViolation
Event" { |
| 19721 // To suppress missing implicit constructor warnings. |
| 19722 factory SecurityPolicyViolationEvent._() { throw new UnsupportedError("Not sup
ported"); } |
| 19280 | 19723 |
| 19281 @JSName('blockedURI') | 19724 @JSName('blockedURI') |
| 19282 @DomName('SecurityPolicyViolationEvent.blockedURI') | 19725 @DomName('SecurityPolicyViolationEvent.blockedURI') |
| 19283 @DocsEditable | 19726 @DocsEditable |
| 19284 final String blockedUri; | 19727 final String blockedUri; |
| 19285 | 19728 |
| 19286 @DomName('SecurityPolicyViolationEvent.columnNumber') | 19729 @DomName('SecurityPolicyViolationEvent.columnNumber') |
| 19287 @DocsEditable | 19730 @DocsEditable |
| 19288 final int columnNumber; | 19731 final int columnNumber; |
| 19289 | 19732 |
| (...skipping 26 matching lines...) Expand all Loading... |
| 19316 @DocsEditable | 19759 @DocsEditable |
| 19317 final String violatedDirective; | 19760 final String violatedDirective; |
| 19318 } | 19761 } |
| 19319 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 19762 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19320 // for details. All rights reserved. Use of this source code is governed by a | 19763 // for details. All rights reserved. Use of this source code is governed by a |
| 19321 // BSD-style license that can be found in the LICENSE file. | 19764 // BSD-style license that can be found in the LICENSE file. |
| 19322 | 19765 |
| 19323 | 19766 |
| 19324 @DomName('HTMLSelectElement') | 19767 @DomName('HTMLSelectElement') |
| 19325 class SelectElement extends _HTMLElement native "HTMLSelectElement" { | 19768 class SelectElement extends _HTMLElement native "HTMLSelectElement" { |
| 19769 // To suppress missing implicit constructor warnings. |
| 19770 factory SelectElement._() { throw new UnsupportedError("Not supported"); } |
| 19326 | 19771 |
| 19327 @DomName('HTMLSelectElement.HTMLSelectElement') | 19772 @DomName('HTMLSelectElement.HTMLSelectElement') |
| 19328 @DocsEditable | 19773 @DocsEditable |
| 19329 factory SelectElement() => document.$dom_createElement("select"); | 19774 factory SelectElement() => document.$dom_createElement("select"); |
| 19330 | 19775 |
| 19331 @DomName('HTMLSelectElement.autofocus') | 19776 @DomName('HTMLSelectElement.autofocus') |
| 19332 @DocsEditable | 19777 @DocsEditable |
| 19333 bool autofocus; | 19778 bool autofocus; |
| 19334 | 19779 |
| 19335 @DomName('HTMLSelectElement.disabled') | 19780 @DomName('HTMLSelectElement.disabled') |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 19431 } | 19876 } |
| 19432 } | 19877 } |
| 19433 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 19878 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19434 // for details. All rights reserved. Use of this source code is governed by a | 19879 // for details. All rights reserved. Use of this source code is governed by a |
| 19435 // BSD-style license that can be found in the LICENSE file. | 19880 // BSD-style license that can be found in the LICENSE file. |
| 19436 | 19881 |
| 19437 | 19882 |
| 19438 @DocsEditable | 19883 @DocsEditable |
| 19439 @DomName('Selection') | 19884 @DomName('Selection') |
| 19440 class Selection native "Selection" { | 19885 class Selection native "Selection" { |
| 19886 // To suppress missing implicit constructor warnings. |
| 19887 factory Selection._() { throw new UnsupportedError("Not supported"); } |
| 19441 | 19888 |
| 19442 @DomName('Selection.anchorNode') | 19889 @DomName('Selection.anchorNode') |
| 19443 @DocsEditable | 19890 @DocsEditable |
| 19444 final Node anchorNode; | 19891 final Node anchorNode; |
| 19445 | 19892 |
| 19446 @DomName('Selection.anchorOffset') | 19893 @DomName('Selection.anchorOffset') |
| 19447 @DocsEditable | 19894 @DocsEditable |
| 19448 final int anchorOffset; | 19895 final int anchorOffset; |
| 19449 | 19896 |
| 19450 @DomName('Selection.baseNode') | 19897 @DomName('Selection.baseNode') |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 19557 // for details. All rights reserved. Use of this source code is governed by a | 20004 // for details. All rights reserved. Use of this source code is governed by a |
| 19558 // BSD-style license that can be found in the LICENSE file. | 20005 // BSD-style license that can be found in the LICENSE file. |
| 19559 | 20006 |
| 19560 | 20007 |
| 19561 @DocsEditable | 20008 @DocsEditable |
| 19562 @DomName('HTMLShadowElement') | 20009 @DomName('HTMLShadowElement') |
| 19563 @SupportedBrowser(SupportedBrowser.CHROME, '26') | 20010 @SupportedBrowser(SupportedBrowser.CHROME, '26') |
| 19564 @Experimental | 20011 @Experimental |
| 19565 // https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/shadow/index.html#shad
ow-element | 20012 // https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/shadow/index.html#shad
ow-element |
| 19566 class ShadowElement extends _HTMLElement native "HTMLShadowElement" { | 20013 class ShadowElement extends _HTMLElement native "HTMLShadowElement" { |
| 20014 // To suppress missing implicit constructor warnings. |
| 20015 factory ShadowElement._() { throw new UnsupportedError("Not supported"); } |
| 19567 | 20016 |
| 19568 @DomName('HTMLShadowElement.HTMLShadowElement') | 20017 @DomName('HTMLShadowElement.HTMLShadowElement') |
| 19569 @DocsEditable | 20018 @DocsEditable |
| 19570 factory ShadowElement() => document.$dom_createElement("shadow"); | 20019 factory ShadowElement() => document.$dom_createElement("shadow"); |
| 19571 | 20020 |
| 19572 /// Checks if this type is supported on the current platform. | 20021 /// Checks if this type is supported on the current platform. |
| 19573 static bool get supported => Element.isTagSupported('shadow'); | 20022 static bool get supported => Element.isTagSupported('shadow'); |
| 19574 | 20023 |
| 19575 @DomName('HTMLShadowElement.olderShadowRoot') | 20024 @DomName('HTMLShadowElement.olderShadowRoot') |
| 19576 @DocsEditable | 20025 @DocsEditable |
| 19577 final ShadowRoot olderShadowRoot; | 20026 final ShadowRoot olderShadowRoot; |
| 19578 | 20027 |
| 19579 @DomName('HTMLShadowElement.resetStyleInheritance') | 20028 @DomName('HTMLShadowElement.resetStyleInheritance') |
| 19580 @DocsEditable | 20029 @DocsEditable |
| 19581 bool resetStyleInheritance; | 20030 bool resetStyleInheritance; |
| 19582 } | 20031 } |
| 19583 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 20032 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19584 // for details. All rights reserved. Use of this source code is governed by a | 20033 // for details. All rights reserved. Use of this source code is governed by a |
| 19585 // BSD-style license that can be found in the LICENSE file. | 20034 // BSD-style license that can be found in the LICENSE file. |
| 19586 | 20035 |
| 19587 // WARNING: Do not edit - generated code. | 20036 // WARNING: Do not edit - generated code. |
| 19588 | 20037 |
| 19589 | 20038 |
| 19590 @DomName('ShadowRoot') | 20039 @DomName('ShadowRoot') |
| 19591 @SupportedBrowser(SupportedBrowser.CHROME, '26') | 20040 @SupportedBrowser(SupportedBrowser.CHROME, '26') |
| 19592 @Experimental | 20041 @Experimental |
| 19593 // https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/shadow/index.html#api-
shadow-root | 20042 // https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/shadow/index.html#api-
shadow-root |
| 19594 class ShadowRoot extends DocumentFragment native "ShadowRoot" { | 20043 class ShadowRoot extends DocumentFragment native "ShadowRoot" { |
| 20044 // To suppress missing implicit constructor warnings. |
| 20045 factory ShadowRoot._() { throw new UnsupportedError("Not supported"); } |
| 19595 | 20046 |
| 19596 @DomName('ShadowRoot.activeElement') | 20047 @DomName('ShadowRoot.activeElement') |
| 19597 @DocsEditable | 20048 @DocsEditable |
| 19598 final Element activeElement; | 20049 final Element activeElement; |
| 19599 | 20050 |
| 19600 @DomName('ShadowRoot.applyAuthorStyles') | 20051 @DomName('ShadowRoot.applyAuthorStyles') |
| 19601 @DocsEditable | 20052 @DocsEditable |
| 19602 bool applyAuthorStyles; | 20053 bool applyAuthorStyles; |
| 19603 | 20054 |
| 19604 @JSName('innerHTML') | 20055 @JSName('innerHTML') |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 19647 // BSD-style license that can be found in the LICENSE file. | 20098 // BSD-style license that can be found in the LICENSE file. |
| 19648 | 20099 |
| 19649 | 20100 |
| 19650 @DocsEditable | 20101 @DocsEditable |
| 19651 @DomName('WebKitSourceBuffer') | 20102 @DomName('WebKitSourceBuffer') |
| 19652 @SupportedBrowser(SupportedBrowser.CHROME) | 20103 @SupportedBrowser(SupportedBrowser.CHROME) |
| 19653 @SupportedBrowser(SupportedBrowser.SAFARI) | 20104 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 19654 @Experimental | 20105 @Experimental |
| 19655 // https://dvcs.w3.org/hg/html-media/raw-file/tip/media-source/media-source.html
#sourcebuffer | 20106 // https://dvcs.w3.org/hg/html-media/raw-file/tip/media-source/media-source.html
#sourcebuffer |
| 19656 class SourceBuffer native "WebKitSourceBuffer" { | 20107 class SourceBuffer native "WebKitSourceBuffer" { |
| 20108 // To suppress missing implicit constructor warnings. |
| 20109 factory SourceBuffer._() { throw new UnsupportedError("Not supported"); } |
| 19657 | 20110 |
| 19658 @DomName('WebKitSourceBuffer.buffered') | 20111 @DomName('WebKitSourceBuffer.buffered') |
| 19659 @DocsEditable | 20112 @DocsEditable |
| 19660 final TimeRanges buffered; | 20113 final TimeRanges buffered; |
| 19661 | 20114 |
| 19662 @DomName('WebKitSourceBuffer.timestampOffset') | 20115 @DomName('WebKitSourceBuffer.timestampOffset') |
| 19663 @DocsEditable | 20116 @DocsEditable |
| 19664 num timestampOffset; | 20117 num timestampOffset; |
| 19665 | 20118 |
| 19666 @DomName('WebKitSourceBuffer.abort') | 20119 @DomName('WebKitSourceBuffer.abort') |
| (...skipping 10 matching lines...) Expand all Loading... |
| 19677 // BSD-style license that can be found in the LICENSE file. | 20130 // BSD-style license that can be found in the LICENSE file. |
| 19678 | 20131 |
| 19679 | 20132 |
| 19680 @DocsEditable | 20133 @DocsEditable |
| 19681 @DomName('WebKitSourceBufferList') | 20134 @DomName('WebKitSourceBufferList') |
| 19682 @SupportedBrowser(SupportedBrowser.CHROME) | 20135 @SupportedBrowser(SupportedBrowser.CHROME) |
| 19683 @SupportedBrowser(SupportedBrowser.SAFARI) | 20136 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 19684 @Experimental | 20137 @Experimental |
| 19685 // https://dvcs.w3.org/hg/html-media/raw-file/tip/media-source/media-source.html
#sourcebufferlist | 20138 // https://dvcs.w3.org/hg/html-media/raw-file/tip/media-source/media-source.html
#sourcebufferlist |
| 19686 class SourceBufferList extends EventTarget with ListMixin<SourceBuffer>, Immutab
leListMixin<SourceBuffer> implements JavaScriptIndexingBehavior, List<SourceBuff
er> native "WebKitSourceBufferList" { | 20139 class SourceBufferList extends EventTarget with ListMixin<SourceBuffer>, Immutab
leListMixin<SourceBuffer> implements JavaScriptIndexingBehavior, List<SourceBuff
er> native "WebKitSourceBufferList" { |
| 20140 // To suppress missing implicit constructor warnings. |
| 20141 factory SourceBufferList._() { throw new UnsupportedError("Not supported"); } |
| 19687 | 20142 |
| 19688 @DomName('WebKitSourceBufferList.length') | 20143 @DomName('WebKitSourceBufferList.length') |
| 19689 @DocsEditable | 20144 @DocsEditable |
| 19690 int get length => JS("int", "#.length", this); | 20145 int get length => JS("int", "#.length", this); |
| 19691 | 20146 |
| 19692 SourceBuffer operator[](int index) { | 20147 SourceBuffer operator[](int index) { |
| 19693 if (JS("bool", "# >>> 0 !== # || # >= #", index, | 20148 if (JS("bool", "# >>> 0 !== # || # >= #", index, |
| 19694 index, index, length)) | 20149 index, index, length)) |
| 19695 throw new RangeError.range(index, 0, length); | 20150 throw new RangeError.range(index, 0, length); |
| 19696 return JS("SourceBuffer", "#[#]", this, index); | 20151 return JS("SourceBuffer", "#[#]", this, index); |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 19752 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]) native; | 20207 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]) native; |
| 19753 } | 20208 } |
| 19754 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 20209 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19755 // for details. All rights reserved. Use of this source code is governed by a | 20210 // for details. All rights reserved. Use of this source code is governed by a |
| 19756 // BSD-style license that can be found in the LICENSE file. | 20211 // BSD-style license that can be found in the LICENSE file. |
| 19757 | 20212 |
| 19758 | 20213 |
| 19759 @DocsEditable | 20214 @DocsEditable |
| 19760 @DomName('HTMLSourceElement') | 20215 @DomName('HTMLSourceElement') |
| 19761 class SourceElement extends _HTMLElement native "HTMLSourceElement" { | 20216 class SourceElement extends _HTMLElement native "HTMLSourceElement" { |
| 20217 // To suppress missing implicit constructor warnings. |
| 20218 factory SourceElement._() { throw new UnsupportedError("Not supported"); } |
| 19762 | 20219 |
| 19763 @DomName('HTMLSourceElement.HTMLSourceElement') | 20220 @DomName('HTMLSourceElement.HTMLSourceElement') |
| 19764 @DocsEditable | 20221 @DocsEditable |
| 19765 factory SourceElement() => document.$dom_createElement("source"); | 20222 factory SourceElement() => document.$dom_createElement("source"); |
| 19766 | 20223 |
| 19767 @DomName('HTMLSourceElement.media') | 20224 @DomName('HTMLSourceElement.media') |
| 19768 @DocsEditable | 20225 @DocsEditable |
| 19769 String media; | 20226 String media; |
| 19770 | 20227 |
| 19771 @DomName('HTMLSourceElement.src') | 20228 @DomName('HTMLSourceElement.src') |
| 19772 @DocsEditable | 20229 @DocsEditable |
| 19773 String src; | 20230 String src; |
| 19774 | 20231 |
| 19775 @DomName('HTMLSourceElement.type') | 20232 @DomName('HTMLSourceElement.type') |
| 19776 @DocsEditable | 20233 @DocsEditable |
| 19777 String type; | 20234 String type; |
| 19778 } | 20235 } |
| 19779 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 20236 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19780 // for details. All rights reserved. Use of this source code is governed by a | 20237 // for details. All rights reserved. Use of this source code is governed by a |
| 19781 // BSD-style license that can be found in the LICENSE file. | 20238 // BSD-style license that can be found in the LICENSE file. |
| 19782 | 20239 |
| 19783 | 20240 |
| 19784 @DocsEditable | 20241 @DocsEditable |
| 19785 @DomName('HTMLSpanElement') | 20242 @DomName('HTMLSpanElement') |
| 19786 class SpanElement extends _HTMLElement native "HTMLSpanElement" { | 20243 class SpanElement extends _HTMLElement native "HTMLSpanElement" { |
| 20244 // To suppress missing implicit constructor warnings. |
| 20245 factory SpanElement._() { throw new UnsupportedError("Not supported"); } |
| 19787 | 20246 |
| 19788 @DomName('HTMLSpanElement.HTMLSpanElement') | 20247 @DomName('HTMLSpanElement.HTMLSpanElement') |
| 19789 @DocsEditable | 20248 @DocsEditable |
| 19790 factory SpanElement() => document.$dom_createElement("span"); | 20249 factory SpanElement() => document.$dom_createElement("span"); |
| 19791 } | 20250 } |
| 19792 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 20251 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19793 // for details. All rights reserved. Use of this source code is governed by a | 20252 // for details. All rights reserved. Use of this source code is governed by a |
| 19794 // BSD-style license that can be found in the LICENSE file. | 20253 // BSD-style license that can be found in the LICENSE file. |
| 19795 | 20254 |
| 19796 | 20255 |
| 19797 @DocsEditable | 20256 @DocsEditable |
| 19798 @DomName('SpeechGrammar') | 20257 @DomName('SpeechGrammar') |
| 19799 // https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#dfn-speechgramm
ar | 20258 // https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#dfn-speechgramm
ar |
| 19800 @Experimental | 20259 @Experimental |
| 19801 class SpeechGrammar native "SpeechGrammar" { | 20260 class SpeechGrammar native "SpeechGrammar" { |
| 20261 // To suppress missing implicit constructor warnings. |
| 20262 factory SpeechGrammar._() { throw new UnsupportedError("Not supported"); } |
| 19802 | 20263 |
| 19803 @DomName('SpeechGrammar.SpeechGrammar') | 20264 @DomName('SpeechGrammar.SpeechGrammar') |
| 19804 @DocsEditable | 20265 @DocsEditable |
| 19805 factory SpeechGrammar() { | 20266 factory SpeechGrammar() { |
| 19806 return SpeechGrammar._create_1(); | 20267 return SpeechGrammar._create_1(); |
| 19807 } | 20268 } |
| 19808 static SpeechGrammar _create_1() => JS('SpeechGrammar', 'new SpeechGrammar()')
; | 20269 static SpeechGrammar _create_1() => JS('SpeechGrammar', 'new SpeechGrammar()')
; |
| 19809 | 20270 |
| 19810 @DomName('SpeechGrammar.src') | 20271 @DomName('SpeechGrammar.src') |
| 19811 @DocsEditable | 20272 @DocsEditable |
| 19812 String src; | 20273 String src; |
| 19813 | 20274 |
| 19814 @DomName('SpeechGrammar.weight') | 20275 @DomName('SpeechGrammar.weight') |
| 19815 @DocsEditable | 20276 @DocsEditable |
| 19816 num weight; | 20277 num weight; |
| 19817 } | 20278 } |
| 19818 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 20279 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19819 // for details. All rights reserved. Use of this source code is governed by a | 20280 // for details. All rights reserved. Use of this source code is governed by a |
| 19820 // BSD-style license that can be found in the LICENSE file. | 20281 // BSD-style license that can be found in the LICENSE file. |
| 19821 | 20282 |
| 19822 | 20283 |
| 19823 @DocsEditable | 20284 @DocsEditable |
| 19824 @DomName('SpeechGrammarList') | 20285 @DomName('SpeechGrammarList') |
| 19825 // https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#dfn-speechgramm
arlist | 20286 // https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#dfn-speechgramm
arlist |
| 19826 @Experimental | 20287 @Experimental |
| 19827 class SpeechGrammarList extends Interceptor with ListMixin<SpeechGrammar>, Immut
ableListMixin<SpeechGrammar> implements JavaScriptIndexingBehavior, List<SpeechG
rammar> native "SpeechGrammarList" { | 20288 class SpeechGrammarList extends Interceptor with ListMixin<SpeechGrammar>, Immut
ableListMixin<SpeechGrammar> implements JavaScriptIndexingBehavior, List<SpeechG
rammar> native "SpeechGrammarList" { |
| 20289 // To suppress missing implicit constructor warnings. |
| 20290 factory SpeechGrammarList._() { throw new UnsupportedError("Not supported"); } |
| 19828 | 20291 |
| 19829 @DomName('SpeechGrammarList.SpeechGrammarList') | 20292 @DomName('SpeechGrammarList.SpeechGrammarList') |
| 19830 @DocsEditable | 20293 @DocsEditable |
| 19831 factory SpeechGrammarList() { | 20294 factory SpeechGrammarList() { |
| 19832 return SpeechGrammarList._create_1(); | 20295 return SpeechGrammarList._create_1(); |
| 19833 } | 20296 } |
| 19834 static SpeechGrammarList _create_1() => JS('SpeechGrammarList', 'new SpeechGra
mmarList()'); | 20297 static SpeechGrammarList _create_1() => JS('SpeechGrammarList', 'new SpeechGra
mmarList()'); |
| 19835 | 20298 |
| 19836 @DomName('SpeechGrammarList.length') | 20299 @DomName('SpeechGrammarList.length') |
| 19837 @DocsEditable | 20300 @DocsEditable |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 19896 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 20359 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19897 // for details. All rights reserved. Use of this source code is governed by a | 20360 // for details. All rights reserved. Use of this source code is governed by a |
| 19898 // BSD-style license that can be found in the LICENSE file. | 20361 // BSD-style license that can be found in the LICENSE file. |
| 19899 | 20362 |
| 19900 | 20363 |
| 19901 @DocsEditable | 20364 @DocsEditable |
| 19902 @DomName('SpeechInputEvent') | 20365 @DomName('SpeechInputEvent') |
| 19903 // http://lists.w3.org/Archives/Public/public-xg-htmlspeech/2011Feb/att-0020/api
-draft.html#speech_input_event_interface | 20366 // http://lists.w3.org/Archives/Public/public-xg-htmlspeech/2011Feb/att-0020/api
-draft.html#speech_input_event_interface |
| 19904 @Experimental | 20367 @Experimental |
| 19905 class SpeechInputEvent extends Event native "SpeechInputEvent" { | 20368 class SpeechInputEvent extends Event native "SpeechInputEvent" { |
| 20369 // To suppress missing implicit constructor warnings. |
| 20370 factory SpeechInputEvent._() { throw new UnsupportedError("Not supported"); } |
| 19906 | 20371 |
| 19907 @DomName('SpeechInputEvent.results') | 20372 @DomName('SpeechInputEvent.results') |
| 19908 @DocsEditable | 20373 @DocsEditable |
| 19909 @Returns('_SpeechInputResultList') | 20374 @Returns('_SpeechInputResultList') |
| 19910 @Creates('_SpeechInputResultList') | 20375 @Creates('_SpeechInputResultList') |
| 19911 final List<SpeechInputResult> results; | 20376 final List<SpeechInputResult> results; |
| 19912 } | 20377 } |
| 19913 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 20378 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19914 // for details. All rights reserved. Use of this source code is governed by a | 20379 // for details. All rights reserved. Use of this source code is governed by a |
| 19915 // BSD-style license that can be found in the LICENSE file. | 20380 // BSD-style license that can be found in the LICENSE file. |
| 19916 | 20381 |
| 19917 | 20382 |
| 19918 @DocsEditable | 20383 @DocsEditable |
| 19919 @DomName('SpeechInputResult') | 20384 @DomName('SpeechInputResult') |
| 19920 // http://lists.w3.org/Archives/Public/public-xg-htmlspeech/2011Feb/att-0020/api
-draft.html#speech_input_result_interface | 20385 // http://lists.w3.org/Archives/Public/public-xg-htmlspeech/2011Feb/att-0020/api
-draft.html#speech_input_result_interface |
| 19921 @Experimental | 20386 @Experimental |
| 19922 class SpeechInputResult native "SpeechInputResult" { | 20387 class SpeechInputResult native "SpeechInputResult" { |
| 20388 // To suppress missing implicit constructor warnings. |
| 20389 factory SpeechInputResult._() { throw new UnsupportedError("Not supported"); } |
| 19923 | 20390 |
| 19924 @DomName('SpeechInputResult.confidence') | 20391 @DomName('SpeechInputResult.confidence') |
| 19925 @DocsEditable | 20392 @DocsEditable |
| 19926 final num confidence; | 20393 final num confidence; |
| 19927 | 20394 |
| 19928 @DomName('SpeechInputResult.utterance') | 20395 @DomName('SpeechInputResult.utterance') |
| 19929 @DocsEditable | 20396 @DocsEditable |
| 19930 final String utterance; | 20397 final String utterance; |
| 19931 } | 20398 } |
| 19932 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 20399 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 19933 // for details. All rights reserved. Use of this source code is governed by a | 20400 // for details. All rights reserved. Use of this source code is governed by a |
| 19934 // BSD-style license that can be found in the LICENSE file. | 20401 // BSD-style license that can be found in the LICENSE file. |
| 19935 | 20402 |
| 19936 | 20403 |
| 19937 @DomName('SpeechRecognition') | 20404 @DomName('SpeechRecognition') |
| 19938 @SupportedBrowser(SupportedBrowser.CHROME, '25') | 20405 @SupportedBrowser(SupportedBrowser.CHROME, '25') |
| 19939 @Experimental | 20406 @Experimental |
| 19940 // https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#speechreco-sect
ion | 20407 // https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#speechreco-sect
ion |
| 19941 class SpeechRecognition extends EventTarget native "SpeechRecognition" { | 20408 class SpeechRecognition extends EventTarget native "SpeechRecognition" { |
| 20409 // To suppress missing implicit constructor warnings. |
| 20410 factory SpeechRecognition._() { throw new UnsupportedError("Not supported"); } |
| 19942 | 20411 |
| 19943 @DomName('SpeechRecognition.audioendEvent') | 20412 @DomName('SpeechRecognition.audioendEvent') |
| 19944 @DocsEditable | 20413 @DocsEditable |
| 19945 static const EventStreamProvider<Event> audioEndEvent = const EventStreamProvi
der<Event>('audioend'); | 20414 static const EventStreamProvider<Event> audioEndEvent = const EventStreamProvi
der<Event>('audioend'); |
| 19946 | 20415 |
| 19947 @DomName('SpeechRecognition.audiostartEvent') | 20416 @DomName('SpeechRecognition.audiostartEvent') |
| 19948 @DocsEditable | 20417 @DocsEditable |
| 19949 static const EventStreamProvider<Event> audioStartEvent = const EventStreamPro
vider<Event>('audiostart'); | 20418 static const EventStreamProvider<Event> audioStartEvent = const EventStreamPro
vider<Event>('audiostart'); |
| 19950 | 20419 |
| 19951 @DomName('SpeechRecognition.endEvent') | 20420 @DomName('SpeechRecognition.endEvent') |
| (...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 20086 // for details. All rights reserved. Use of this source code is governed by a | 20555 // for details. All rights reserved. Use of this source code is governed by a |
| 20087 // BSD-style license that can be found in the LICENSE file. | 20556 // BSD-style license that can be found in the LICENSE file. |
| 20088 | 20557 |
| 20089 | 20558 |
| 20090 @DocsEditable | 20559 @DocsEditable |
| 20091 @DomName('SpeechRecognitionAlternative') | 20560 @DomName('SpeechRecognitionAlternative') |
| 20092 @SupportedBrowser(SupportedBrowser.CHROME, '25') | 20561 @SupportedBrowser(SupportedBrowser.CHROME, '25') |
| 20093 @Experimental | 20562 @Experimental |
| 20094 // https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#speechrecogniti
onalternative | 20563 // https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#speechrecogniti
onalternative |
| 20095 class SpeechRecognitionAlternative native "SpeechRecognitionAlternative" { | 20564 class SpeechRecognitionAlternative native "SpeechRecognitionAlternative" { |
| 20565 // To suppress missing implicit constructor warnings. |
| 20566 factory SpeechRecognitionAlternative._() { throw new UnsupportedError("Not sup
ported"); } |
| 20096 | 20567 |
| 20097 @DomName('SpeechRecognitionAlternative.confidence') | 20568 @DomName('SpeechRecognitionAlternative.confidence') |
| 20098 @DocsEditable | 20569 @DocsEditable |
| 20099 final num confidence; | 20570 final num confidence; |
| 20100 | 20571 |
| 20101 @DomName('SpeechRecognitionAlternative.transcript') | 20572 @DomName('SpeechRecognitionAlternative.transcript') |
| 20102 @DocsEditable | 20573 @DocsEditable |
| 20103 final String transcript; | 20574 final String transcript; |
| 20104 } | 20575 } |
| 20105 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 20576 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 20106 // for details. All rights reserved. Use of this source code is governed by a | 20577 // for details. All rights reserved. Use of this source code is governed by a |
| 20107 // BSD-style license that can be found in the LICENSE file. | 20578 // BSD-style license that can be found in the LICENSE file. |
| 20108 | 20579 |
| 20109 | 20580 |
| 20110 @DocsEditable | 20581 @DocsEditable |
| 20111 @DomName('SpeechRecognitionError') | 20582 @DomName('SpeechRecognitionError') |
| 20112 @SupportedBrowser(SupportedBrowser.CHROME, '25') | 20583 @SupportedBrowser(SupportedBrowser.CHROME, '25') |
| 20113 @Experimental | 20584 @Experimental |
| 20114 // https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#speechreco-erro
r | 20585 // https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#speechreco-erro
r |
| 20115 class SpeechRecognitionError extends Event native "SpeechRecognitionError" { | 20586 class SpeechRecognitionError extends Event native "SpeechRecognitionError" { |
| 20587 // To suppress missing implicit constructor warnings. |
| 20588 factory SpeechRecognitionError._() { throw new UnsupportedError("Not supported
"); } |
| 20116 | 20589 |
| 20117 @DomName('SpeechRecognitionError.error') | 20590 @DomName('SpeechRecognitionError.error') |
| 20118 @DocsEditable | 20591 @DocsEditable |
| 20119 final String error; | 20592 final String error; |
| 20120 | 20593 |
| 20121 @DomName('SpeechRecognitionError.message') | 20594 @DomName('SpeechRecognitionError.message') |
| 20122 @DocsEditable | 20595 @DocsEditable |
| 20123 final String message; | 20596 final String message; |
| 20124 } | 20597 } |
| 20125 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 20598 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 20126 // for details. All rights reserved. Use of this source code is governed by a | 20599 // for details. All rights reserved. Use of this source code is governed by a |
| 20127 // BSD-style license that can be found in the LICENSE file. | 20600 // BSD-style license that can be found in the LICENSE file. |
| 20128 | 20601 |
| 20129 | 20602 |
| 20130 @DocsEditable | 20603 @DocsEditable |
| 20131 @DomName('SpeechRecognitionEvent') | 20604 @DomName('SpeechRecognitionEvent') |
| 20132 @SupportedBrowser(SupportedBrowser.CHROME, '25') | 20605 @SupportedBrowser(SupportedBrowser.CHROME, '25') |
| 20133 @Experimental | 20606 @Experimental |
| 20134 // https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#speechreco-even
t | 20607 // https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#speechreco-even
t |
| 20135 class SpeechRecognitionEvent extends Event native "SpeechRecognitionEvent" { | 20608 class SpeechRecognitionEvent extends Event native "SpeechRecognitionEvent" { |
| 20609 // To suppress missing implicit constructor warnings. |
| 20610 factory SpeechRecognitionEvent._() { throw new UnsupportedError("Not supported
"); } |
| 20136 | 20611 |
| 20137 @DomName('SpeechRecognitionEvent.emma') | 20612 @DomName('SpeechRecognitionEvent.emma') |
| 20138 @DocsEditable | 20613 @DocsEditable |
| 20139 final Document emma; | 20614 final Document emma; |
| 20140 | 20615 |
| 20141 @DomName('SpeechRecognitionEvent.interpretation') | 20616 @DomName('SpeechRecognitionEvent.interpretation') |
| 20142 @DocsEditable | 20617 @DocsEditable |
| 20143 final Document interpretation; | 20618 final Document interpretation; |
| 20144 | 20619 |
| 20145 @DomName('SpeechRecognitionEvent.resultIndex') | 20620 @DomName('SpeechRecognitionEvent.resultIndex') |
| (...skipping 10 matching lines...) Expand all Loading... |
| 20156 // for details. All rights reserved. Use of this source code is governed by a | 20631 // for details. All rights reserved. Use of this source code is governed by a |
| 20157 // BSD-style license that can be found in the LICENSE file. | 20632 // BSD-style license that can be found in the LICENSE file. |
| 20158 | 20633 |
| 20159 | 20634 |
| 20160 @DocsEditable | 20635 @DocsEditable |
| 20161 @DomName('SpeechRecognitionResult') | 20636 @DomName('SpeechRecognitionResult') |
| 20162 @SupportedBrowser(SupportedBrowser.CHROME, '25') | 20637 @SupportedBrowser(SupportedBrowser.CHROME, '25') |
| 20163 @Experimental | 20638 @Experimental |
| 20164 // https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#speechrecogniti
onresult | 20639 // https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#speechrecogniti
onresult |
| 20165 class SpeechRecognitionResult native "SpeechRecognitionResult" { | 20640 class SpeechRecognitionResult native "SpeechRecognitionResult" { |
| 20641 // To suppress missing implicit constructor warnings. |
| 20642 factory SpeechRecognitionResult._() { throw new UnsupportedError("Not supporte
d"); } |
| 20166 | 20643 |
| 20167 @DomName('SpeechRecognitionResult.isFinal') | 20644 @DomName('SpeechRecognitionResult.isFinal') |
| 20168 @DocsEditable | 20645 @DocsEditable |
| 20169 final bool isFinal; | 20646 final bool isFinal; |
| 20170 | 20647 |
| 20171 @DomName('SpeechRecognitionResult.length') | 20648 @DomName('SpeechRecognitionResult.length') |
| 20172 @DocsEditable | 20649 @DocsEditable |
| 20173 final int length; | 20650 final int length; |
| 20174 | 20651 |
| 20175 @DomName('SpeechRecognitionResult.item') | 20652 @DomName('SpeechRecognitionResult.item') |
| 20176 @DocsEditable | 20653 @DocsEditable |
| 20177 SpeechRecognitionAlternative item(int index) native; | 20654 SpeechRecognitionAlternative item(int index) native; |
| 20178 } | 20655 } |
| 20179 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 20656 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 20180 // for details. All rights reserved. Use of this source code is governed by a | 20657 // for details. All rights reserved. Use of this source code is governed by a |
| 20181 // BSD-style license that can be found in the LICENSE file. | 20658 // BSD-style license that can be found in the LICENSE file. |
| 20182 | 20659 |
| 20183 | 20660 |
| 20184 @DocsEditable | 20661 @DocsEditable |
| 20185 @DomName('SpeechSynthesis') | 20662 @DomName('SpeechSynthesis') |
| 20186 // https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#tts-section | 20663 // https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#tts-section |
| 20187 @Experimental | 20664 @Experimental |
| 20188 class SpeechSynthesis native "SpeechSynthesis" { | 20665 class SpeechSynthesis native "SpeechSynthesis" { |
| 20666 // To suppress missing implicit constructor warnings. |
| 20667 factory SpeechSynthesis._() { throw new UnsupportedError("Not supported"); } |
| 20189 | 20668 |
| 20190 @DomName('SpeechSynthesis.paused') | 20669 @DomName('SpeechSynthesis.paused') |
| 20191 @DocsEditable | 20670 @DocsEditable |
| 20192 final bool paused; | 20671 final bool paused; |
| 20193 | 20672 |
| 20194 @DomName('SpeechSynthesis.pending') | 20673 @DomName('SpeechSynthesis.pending') |
| 20195 @DocsEditable | 20674 @DocsEditable |
| 20196 final bool pending; | 20675 final bool pending; |
| 20197 | 20676 |
| 20198 @DomName('SpeechSynthesis.speaking') | 20677 @DomName('SpeechSynthesis.speaking') |
| (...skipping 23 matching lines...) Expand all Loading... |
| 20222 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 20701 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 20223 // for details. All rights reserved. Use of this source code is governed by a | 20702 // for details. All rights reserved. Use of this source code is governed by a |
| 20224 // BSD-style license that can be found in the LICENSE file. | 20703 // BSD-style license that can be found in the LICENSE file. |
| 20225 | 20704 |
| 20226 | 20705 |
| 20227 @DocsEditable | 20706 @DocsEditable |
| 20228 @DomName('SpeechSynthesisEvent') | 20707 @DomName('SpeechSynthesisEvent') |
| 20229 // https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#tts-section | 20708 // https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#tts-section |
| 20230 @Experimental | 20709 @Experimental |
| 20231 class SpeechSynthesisEvent extends Event native "SpeechSynthesisEvent" { | 20710 class SpeechSynthesisEvent extends Event native "SpeechSynthesisEvent" { |
| 20711 // To suppress missing implicit constructor warnings. |
| 20712 factory SpeechSynthesisEvent._() { throw new UnsupportedError("Not supported")
; } |
| 20232 | 20713 |
| 20233 @DomName('SpeechSynthesisEvent.charIndex') | 20714 @DomName('SpeechSynthesisEvent.charIndex') |
| 20234 @DocsEditable | 20715 @DocsEditable |
| 20235 final int charIndex; | 20716 final int charIndex; |
| 20236 | 20717 |
| 20237 @DomName('SpeechSynthesisEvent.elapsedTime') | 20718 @DomName('SpeechSynthesisEvent.elapsedTime') |
| 20238 @DocsEditable | 20719 @DocsEditable |
| 20239 final num elapsedTime; | 20720 final num elapsedTime; |
| 20240 | 20721 |
| 20241 @DomName('SpeechSynthesisEvent.name') | 20722 @DomName('SpeechSynthesisEvent.name') |
| 20242 @DocsEditable | 20723 @DocsEditable |
| 20243 final String name; | 20724 final String name; |
| 20244 } | 20725 } |
| 20245 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 20726 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 20246 // for details. All rights reserved. Use of this source code is governed by a | 20727 // for details. All rights reserved. Use of this source code is governed by a |
| 20247 // BSD-style license that can be found in the LICENSE file. | 20728 // BSD-style license that can be found in the LICENSE file. |
| 20248 | 20729 |
| 20249 | 20730 |
| 20250 @DocsEditable | 20731 @DocsEditable |
| 20251 @DomName('SpeechSynthesisUtterance') | 20732 @DomName('SpeechSynthesisUtterance') |
| 20252 // https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#tts-section | 20733 // https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#tts-section |
| 20253 @Experimental | 20734 @Experimental |
| 20254 class SpeechSynthesisUtterance extends EventTarget native "SpeechSynthesisUttera
nce" { | 20735 class SpeechSynthesisUtterance extends EventTarget native "SpeechSynthesisUttera
nce" { |
| 20736 // To suppress missing implicit constructor warnings. |
| 20737 factory SpeechSynthesisUtterance._() { throw new UnsupportedError("Not support
ed"); } |
| 20255 | 20738 |
| 20256 @DomName('SpeechSynthesisUtterance.boundaryEvent') | 20739 @DomName('SpeechSynthesisUtterance.boundaryEvent') |
| 20257 @DocsEditable | 20740 @DocsEditable |
| 20258 static const EventStreamProvider<SpeechSynthesisEvent> boundaryEvent = const E
ventStreamProvider<SpeechSynthesisEvent>('boundary'); | 20741 static const EventStreamProvider<SpeechSynthesisEvent> boundaryEvent = const E
ventStreamProvider<SpeechSynthesisEvent>('boundary'); |
| 20259 | 20742 |
| 20260 @DomName('SpeechSynthesisUtterance.endEvent') | 20743 @DomName('SpeechSynthesisUtterance.endEvent') |
| 20261 @DocsEditable | 20744 @DocsEditable |
| 20262 static const EventStreamProvider<SpeechSynthesisEvent> endEvent = const EventS
treamProvider<SpeechSynthesisEvent>('end'); | 20745 static const EventStreamProvider<SpeechSynthesisEvent> endEvent = const EventS
treamProvider<SpeechSynthesisEvent>('end'); |
| 20263 | 20746 |
| 20264 @DomName('SpeechSynthesisUtterance.errorEvent') | 20747 @DomName('SpeechSynthesisUtterance.errorEvent') |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 20347 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 20830 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 20348 // for details. All rights reserved. Use of this source code is governed by a | 20831 // for details. All rights reserved. Use of this source code is governed by a |
| 20349 // BSD-style license that can be found in the LICENSE file. | 20832 // BSD-style license that can be found in the LICENSE file. |
| 20350 | 20833 |
| 20351 | 20834 |
| 20352 @DocsEditable | 20835 @DocsEditable |
| 20353 @DomName('SpeechSynthesisVoice') | 20836 @DomName('SpeechSynthesisVoice') |
| 20354 // https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#tts-section | 20837 // https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#tts-section |
| 20355 @Experimental | 20838 @Experimental |
| 20356 class SpeechSynthesisVoice native "SpeechSynthesisVoice" { | 20839 class SpeechSynthesisVoice native "SpeechSynthesisVoice" { |
| 20840 // To suppress missing implicit constructor warnings. |
| 20841 factory SpeechSynthesisVoice._() { throw new UnsupportedError("Not supported")
; } |
| 20357 | 20842 |
| 20358 @JSName('default') | 20843 @JSName('default') |
| 20359 @DomName('SpeechSynthesisVoice.default') | 20844 @DomName('SpeechSynthesisVoice.default') |
| 20360 @DocsEditable | 20845 @DocsEditable |
| 20361 final bool defaultValue; | 20846 final bool defaultValue; |
| 20362 | 20847 |
| 20363 @DomName('SpeechSynthesisVoice.lang') | 20848 @DomName('SpeechSynthesisVoice.lang') |
| 20364 @DocsEditable | 20849 @DocsEditable |
| 20365 final String lang; | 20850 final String lang; |
| 20366 | 20851 |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 20402 * assert(window.localStorage.length == 0); | 20887 * assert(window.localStorage.length == 0); |
| 20403 * | 20888 * |
| 20404 * For more examples of using this API, see | 20889 * For more examples of using this API, see |
| 20405 * [localstorage_test.dart](http://code.google.com/p/dart/source/browse/branches
/bleeding_edge/dart/tests/html/localstorage_test.dart). | 20890 * [localstorage_test.dart](http://code.google.com/p/dart/source/browse/branches
/bleeding_edge/dart/tests/html/localstorage_test.dart). |
| 20406 * For details on using the Map API, see the | 20891 * For details on using the Map API, see the |
| 20407 * [Maps](http://www.dartlang.org/docs/library-tour/#maps-aka-dictionaries-or-ha
shes) | 20892 * [Maps](http://www.dartlang.org/docs/library-tour/#maps-aka-dictionaries-or-ha
shes) |
| 20408 * section of the library tour. | 20893 * section of the library tour. |
| 20409 */ | 20894 */ |
| 20410 @DomName('Storage') | 20895 @DomName('Storage') |
| 20411 @Unstable | 20896 @Unstable |
| 20412 class Storage implements Map<String, String> | 20897 class Storage |
| 20413 native "Storage" { | 20898 implements Map<String, String> native "Storage" { |
| 20414 | 20899 |
| 20415 // TODO(nweiz): update this when maps support lazy iteration | 20900 // TODO(nweiz): update this when maps support lazy iteration |
| 20416 bool containsValue(String value) => values.any((e) => e == value); | 20901 bool containsValue(String value) => values.any((e) => e == value); |
| 20417 | 20902 |
| 20418 bool containsKey(String key) => $dom_getItem(key) != null; | 20903 bool containsKey(String key) => $dom_getItem(key) != null; |
| 20419 | 20904 |
| 20420 String operator [](String key) => $dom_getItem(key); | 20905 String operator [](String key) => $dom_getItem(key); |
| 20421 | 20906 |
| 20422 void operator []=(String key, String value) { $dom_setItem(key, value); } | 20907 void operator []=(String key, String value) { $dom_setItem(key, value); } |
| 20423 | 20908 |
| (...skipping 29 matching lines...) Expand all Loading... |
| 20453 final values = []; | 20938 final values = []; |
| 20454 forEach((k, v) => values.add(v)); | 20939 forEach((k, v) => values.add(v)); |
| 20455 return values; | 20940 return values; |
| 20456 } | 20941 } |
| 20457 | 20942 |
| 20458 int get length => $dom_length; | 20943 int get length => $dom_length; |
| 20459 | 20944 |
| 20460 bool get isEmpty => $dom_key(0) == null; | 20945 bool get isEmpty => $dom_key(0) == null; |
| 20461 | 20946 |
| 20462 bool get isNotEmpty => !isEmpty; | 20947 bool get isNotEmpty => !isEmpty; |
| 20948 // To suppress missing implicit constructor warnings. |
| 20949 factory Storage._() { throw new UnsupportedError("Not supported"); } |
| 20463 | 20950 |
| 20464 @JSName('length') | 20951 @JSName('length') |
| 20465 @DomName('Storage.length') | 20952 @DomName('Storage.length') |
| 20466 @DocsEditable | 20953 @DocsEditable |
| 20467 final int $dom_length; | 20954 final int $dom_length; |
| 20468 | 20955 |
| 20469 @DomName('Storage.__delete__') | 20956 @DomName('Storage.__delete__') |
| 20470 @DocsEditable | 20957 @DocsEditable |
| 20471 bool __delete__(index_OR_name) native; | 20958 bool __delete__(index_OR_name) native; |
| 20472 | 20959 |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 20527 class StorageEvent extends Event native "StorageEvent" { | 21014 class StorageEvent extends Event native "StorageEvent" { |
| 20528 factory StorageEvent(String type, | 21015 factory StorageEvent(String type, |
| 20529 {bool canBubble: false, bool cancelable: false, String key, String oldValue, | 21016 {bool canBubble: false, bool cancelable: false, String key, String oldValue, |
| 20530 String newValue, String url, Storage storageArea}) { | 21017 String newValue, String url, Storage storageArea}) { |
| 20531 | 21018 |
| 20532 var e = document.$dom_createEvent("StorageEvent"); | 21019 var e = document.$dom_createEvent("StorageEvent"); |
| 20533 e.$dom_initStorageEvent(type, canBubble, cancelable, key, oldValue, | 21020 e.$dom_initStorageEvent(type, canBubble, cancelable, key, oldValue, |
| 20534 newValue, url, storageArea); | 21021 newValue, url, storageArea); |
| 20535 return e; | 21022 return e; |
| 20536 } | 21023 } |
| 21024 // To suppress missing implicit constructor warnings. |
| 21025 factory StorageEvent._() { throw new UnsupportedError("Not supported"); } |
| 20537 | 21026 |
| 20538 @DomName('StorageEvent.key') | 21027 @DomName('StorageEvent.key') |
| 20539 @DocsEditable | 21028 @DocsEditable |
| 20540 final String key; | 21029 final String key; |
| 20541 | 21030 |
| 20542 @DomName('StorageEvent.newValue') | 21031 @DomName('StorageEvent.newValue') |
| 20543 @DocsEditable | 21032 @DocsEditable |
| 20544 final String newValue; | 21033 final String newValue; |
| 20545 | 21034 |
| 20546 @DomName('StorageEvent.oldValue') | 21035 @DomName('StorageEvent.oldValue') |
| (...skipping 16 matching lines...) Expand all Loading... |
| 20563 } | 21052 } |
| 20564 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 21053 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 20565 // for details. All rights reserved. Use of this source code is governed by a | 21054 // for details. All rights reserved. Use of this source code is governed by a |
| 20566 // BSD-style license that can be found in the LICENSE file. | 21055 // BSD-style license that can be found in the LICENSE file. |
| 20567 | 21056 |
| 20568 | 21057 |
| 20569 @DomName('StorageInfo') | 21058 @DomName('StorageInfo') |
| 20570 // http://www.w3.org/TR/file-system-api/ | 21059 // http://www.w3.org/TR/file-system-api/ |
| 20571 @Experimental | 21060 @Experimental |
| 20572 class StorageInfo native "StorageInfo" { | 21061 class StorageInfo native "StorageInfo" { |
| 21062 // To suppress missing implicit constructor warnings. |
| 21063 factory StorageInfo._() { throw new UnsupportedError("Not supported"); } |
| 20573 | 21064 |
| 20574 @DomName('StorageInfo.PERSISTENT') | 21065 @DomName('StorageInfo.PERSISTENT') |
| 20575 @DocsEditable | 21066 @DocsEditable |
| 20576 static const int PERSISTENT = 1; | 21067 static const int PERSISTENT = 1; |
| 20577 | 21068 |
| 20578 @DomName('StorageInfo.TEMPORARY') | 21069 @DomName('StorageInfo.TEMPORARY') |
| 20579 @DocsEditable | 21070 @DocsEditable |
| 20580 static const int TEMPORARY = 0; | 21071 static const int TEMPORARY = 0; |
| 20581 | 21072 |
| 20582 @JSName('queryUsageAndQuota') | 21073 @JSName('queryUsageAndQuota') |
| (...skipping 13 matching lines...) Expand all Loading... |
| 20596 var completer = new Completer<int>(); | 21087 var completer = new Completer<int>(); |
| 20597 _requestQuota(storageType, newQuotaInBytes, | 21088 _requestQuota(storageType, newQuotaInBytes, |
| 20598 (value) { completer.complete(value); }, | 21089 (value) { completer.complete(value); }, |
| 20599 (error) { completer.completeError(error); }); | 21090 (error) { completer.completeError(error); }); |
| 20600 return completer.future; | 21091 return completer.future; |
| 20601 } | 21092 } |
| 20602 | 21093 |
| 20603 Future<StorageInfoUsage> queryUsageAndQuota(int storageType) { | 21094 Future<StorageInfoUsage> queryUsageAndQuota(int storageType) { |
| 20604 var completer = new Completer<StorageInfoUsage>(); | 21095 var completer = new Completer<StorageInfoUsage>(); |
| 20605 _queryUsageAndQuota(storageType, | 21096 _queryUsageAndQuota(storageType, |
| 20606 (currentUsageInBytes, currentQuotaInBytes) { | 21097 (currentUsageInBytes, currentQuotaInBytes) { |
| 20607 completer.complete(new StorageInfoUsage(currentUsageInBytes, | 21098 completer.complete(new StorageInfoUsage(currentUsageInBytes, |
| 20608 currentQuotaInBytes)); | 21099 currentQuotaInBytes)); |
| 20609 }, | 21100 }, |
| 20610 (error) { completer.completeError(error); }); | 21101 (error) { completer.completeError(error); }); |
| 20611 return completer.future; | 21102 return completer.future; |
| 20612 } | 21103 } |
| 20613 } | 21104 } |
| 20614 | 21105 |
| 20615 /** | 21106 /** |
| 20616 * A simple container class for the two values that are returned from the | 21107 * A simple container class for the two values that are returned from the |
| 20617 * futures in requestQuota and queryUsageAndQuota. | 21108 * futures in requestQuota and queryUsageAndQuota. |
| 20618 */ | 21109 */ |
| 20619 class StorageInfoUsage { | 21110 class StorageInfoUsage { |
| 20620 final int currentUsageInBytes; | 21111 final int currentUsageInBytes; |
| 20621 final int currentQuotaInBytes; | 21112 final int currentQuotaInBytes; |
| 20622 const StorageInfoUsage(this.currentUsageInBytes, this.currentQuotaInBytes); | 21113 const StorageInfoUsage(this.currentUsageInBytes, this.currentQuotaInBytes); |
| 20623 } | 21114 } |
| 20624 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 21115 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 20625 // for details. All rights reserved. Use of this source code is governed by a | 21116 // for details. All rights reserved. Use of this source code is governed by a |
| 20626 // BSD-style license that can be found in the LICENSE file. | 21117 // BSD-style license that can be found in the LICENSE file. |
| 20627 | 21118 |
| 20628 | 21119 |
| 20629 @DocsEditable | 21120 @DocsEditable |
| 20630 @DomName('StorageQuota') | 21121 @DomName('StorageQuota') |
| 20631 // http://www.w3.org/TR/quota-api/#idl-def-StorageQuota | 21122 // http://www.w3.org/TR/quota-api/#idl-def-StorageQuota |
| 20632 @Experimental | 21123 @Experimental |
| 20633 class StorageQuota native "StorageQuota" { | 21124 class StorageQuota native "StorageQuota" { |
| 21125 // To suppress missing implicit constructor warnings. |
| 21126 factory StorageQuota._() { throw new UnsupportedError("Not supported"); } |
| 20634 | 21127 |
| 20635 @DomName('StorageQuota.queryUsageAndQuota') | 21128 @DomName('StorageQuota.queryUsageAndQuota') |
| 20636 @DocsEditable | 21129 @DocsEditable |
| 20637 void queryUsageAndQuota(StorageUsageCallback usageCallback, [StorageErrorCallb
ack errorCallback]) native; | 21130 void queryUsageAndQuota(StorageUsageCallback usageCallback, [StorageErrorCallb
ack errorCallback]) native; |
| 20638 | 21131 |
| 20639 @DomName('StorageQuota.requestQuota') | 21132 @DomName('StorageQuota.requestQuota') |
| 20640 @DocsEditable | 21133 @DocsEditable |
| 20641 void requestQuota(int newQuotaInBytes, [StorageQuotaCallback quotaCallback, St
orageErrorCallback errorCallback]) native; | 21134 void requestQuota(int newQuotaInBytes, [StorageQuotaCallback quotaCallback, St
orageErrorCallback errorCallback]) native; |
| 20642 } | 21135 } |
| 20643 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 21136 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| (...skipping 30 matching lines...) Expand all Loading... |
| 20674 @Experimental | 21167 @Experimental |
| 20675 typedef void _StringCallback(String data); | 21168 typedef void _StringCallback(String data); |
| 20676 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 21169 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 20677 // for details. All rights reserved. Use of this source code is governed by a | 21170 // for details. All rights reserved. Use of this source code is governed by a |
| 20678 // BSD-style license that can be found in the LICENSE file. | 21171 // BSD-style license that can be found in the LICENSE file. |
| 20679 | 21172 |
| 20680 | 21173 |
| 20681 @DocsEditable | 21174 @DocsEditable |
| 20682 @DomName('HTMLStyleElement') | 21175 @DomName('HTMLStyleElement') |
| 20683 class StyleElement extends _HTMLElement native "HTMLStyleElement" { | 21176 class StyleElement extends _HTMLElement native "HTMLStyleElement" { |
| 21177 // To suppress missing implicit constructor warnings. |
| 21178 factory StyleElement._() { throw new UnsupportedError("Not supported"); } |
| 20684 | 21179 |
| 20685 @DomName('HTMLStyleElement.HTMLStyleElement') | 21180 @DomName('HTMLStyleElement.HTMLStyleElement') |
| 20686 @DocsEditable | 21181 @DocsEditable |
| 20687 factory StyleElement() => document.$dom_createElement("style"); | 21182 factory StyleElement() => document.$dom_createElement("style"); |
| 20688 | 21183 |
| 20689 @DomName('HTMLStyleElement.disabled') | 21184 @DomName('HTMLStyleElement.disabled') |
| 20690 @DocsEditable | 21185 @DocsEditable |
| 20691 bool disabled; | 21186 bool disabled; |
| 20692 | 21187 |
| 20693 @DomName('HTMLStyleElement.media') | 21188 @DomName('HTMLStyleElement.media') |
| (...skipping 15 matching lines...) Expand all Loading... |
| 20709 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 21204 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 20710 // for details. All rights reserved. Use of this source code is governed by a | 21205 // for details. All rights reserved. Use of this source code is governed by a |
| 20711 // BSD-style license that can be found in the LICENSE file. | 21206 // BSD-style license that can be found in the LICENSE file. |
| 20712 | 21207 |
| 20713 | 21208 |
| 20714 @DocsEditable | 21209 @DocsEditable |
| 20715 @DomName('StyleMedia') | 21210 @DomName('StyleMedia') |
| 20716 // http://developer.apple.com/library/safari/#documentation/SafariDOMAdditions/R
eference/StyleMedia/StyleMedia/StyleMedia.html | 21211 // http://developer.apple.com/library/safari/#documentation/SafariDOMAdditions/R
eference/StyleMedia/StyleMedia/StyleMedia.html |
| 20717 @Experimental // nonstandard | 21212 @Experimental // nonstandard |
| 20718 class StyleMedia native "StyleMedia" { | 21213 class StyleMedia native "StyleMedia" { |
| 21214 // To suppress missing implicit constructor warnings. |
| 21215 factory StyleMedia._() { throw new UnsupportedError("Not supported"); } |
| 20719 | 21216 |
| 20720 @DomName('StyleMedia.type') | 21217 @DomName('StyleMedia.type') |
| 20721 @DocsEditable | 21218 @DocsEditable |
| 20722 final String type; | 21219 final String type; |
| 20723 | 21220 |
| 20724 @DomName('StyleMedia.matchMedium') | 21221 @DomName('StyleMedia.matchMedium') |
| 20725 @DocsEditable | 21222 @DocsEditable |
| 20726 bool matchMedium(String mediaquery) native; | 21223 bool matchMedium(String mediaquery) native; |
| 20727 } | 21224 } |
| 20728 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 21225 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 20729 // for details. All rights reserved. Use of this source code is governed by a | 21226 // for details. All rights reserved. Use of this source code is governed by a |
| 20730 // BSD-style license that can be found in the LICENSE file. | 21227 // BSD-style license that can be found in the LICENSE file. |
| 20731 | 21228 |
| 20732 | 21229 |
| 20733 @DocsEditable | 21230 @DocsEditable |
| 20734 @DomName('StyleSheet') | 21231 @DomName('StyleSheet') |
| 20735 class StyleSheet native "StyleSheet" { | 21232 class StyleSheet native "StyleSheet" { |
| 21233 // To suppress missing implicit constructor warnings. |
| 21234 factory StyleSheet._() { throw new UnsupportedError("Not supported"); } |
| 20736 | 21235 |
| 20737 @DomName('StyleSheet.disabled') | 21236 @DomName('StyleSheet.disabled') |
| 20738 @DocsEditable | 21237 @DocsEditable |
| 20739 bool disabled; | 21238 bool disabled; |
| 20740 | 21239 |
| 20741 @DomName('StyleSheet.href') | 21240 @DomName('StyleSheet.href') |
| 20742 @DocsEditable | 21241 @DocsEditable |
| 20743 final String href; | 21242 final String href; |
| 20744 | 21243 |
| 20745 @DomName('StyleSheet.media') | 21244 @DomName('StyleSheet.media') |
| (...skipping 17 matching lines...) Expand all Loading... |
| 20763 final String type; | 21262 final String type; |
| 20764 } | 21263 } |
| 20765 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 21264 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 20766 // for details. All rights reserved. Use of this source code is governed by a | 21265 // for details. All rights reserved. Use of this source code is governed by a |
| 20767 // BSD-style license that can be found in the LICENSE file. | 21266 // BSD-style license that can be found in the LICENSE file. |
| 20768 | 21267 |
| 20769 | 21268 |
| 20770 @DocsEditable | 21269 @DocsEditable |
| 20771 @DomName('HTMLTableCaptionElement') | 21270 @DomName('HTMLTableCaptionElement') |
| 20772 class TableCaptionElement extends _HTMLElement native "HTMLTableCaptionElement"
{ | 21271 class TableCaptionElement extends _HTMLElement native "HTMLTableCaptionElement"
{ |
| 21272 // To suppress missing implicit constructor warnings. |
| 21273 factory TableCaptionElement._() { throw new UnsupportedError("Not supported");
} |
| 20773 | 21274 |
| 20774 @DomName('HTMLTableCaptionElement.HTMLTableCaptionElement') | 21275 @DomName('HTMLTableCaptionElement.HTMLTableCaptionElement') |
| 20775 @DocsEditable | 21276 @DocsEditable |
| 20776 factory TableCaptionElement() => document.$dom_createElement("caption"); | 21277 factory TableCaptionElement() => document.$dom_createElement("caption"); |
| 20777 } | 21278 } |
| 20778 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 21279 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 20779 // for details. All rights reserved. Use of this source code is governed by a | 21280 // for details. All rights reserved. Use of this source code is governed by a |
| 20780 // BSD-style license that can be found in the LICENSE file. | 21281 // BSD-style license that can be found in the LICENSE file. |
| 20781 | 21282 |
| 20782 | 21283 |
| 20783 @DocsEditable | 21284 @DocsEditable |
| 20784 @DomName('HTMLTableCellElement') | 21285 @DomName('HTMLTableCellElement') |
| 20785 class TableCellElement extends _HTMLElement native "HTMLTableCellElement" { | 21286 class TableCellElement extends _HTMLElement native "HTMLTableCellElement" { |
| 21287 // To suppress missing implicit constructor warnings. |
| 21288 factory TableCellElement._() { throw new UnsupportedError("Not supported"); } |
| 20786 | 21289 |
| 20787 @DomName('HTMLTableCellElement.HTMLTableCellElement') | 21290 @DomName('HTMLTableCellElement.HTMLTableCellElement') |
| 20788 @DocsEditable | 21291 @DocsEditable |
| 20789 factory TableCellElement() => document.$dom_createElement("td"); | 21292 factory TableCellElement() => document.$dom_createElement("td"); |
| 20790 | 21293 |
| 20791 @DomName('HTMLTableCellElement.cellIndex') | 21294 @DomName('HTMLTableCellElement.cellIndex') |
| 20792 @DocsEditable | 21295 @DocsEditable |
| 20793 final int cellIndex; | 21296 final int cellIndex; |
| 20794 | 21297 |
| 20795 @DomName('HTMLTableCellElement.colSpan') | 21298 @DomName('HTMLTableCellElement.colSpan') |
| 20796 @DocsEditable | 21299 @DocsEditable |
| 20797 int colSpan; | 21300 int colSpan; |
| 20798 | 21301 |
| 20799 @DomName('HTMLTableCellElement.headers') | 21302 @DomName('HTMLTableCellElement.headers') |
| 20800 @DocsEditable | 21303 @DocsEditable |
| 20801 String headers; | 21304 String headers; |
| 20802 | 21305 |
| 20803 @DomName('HTMLTableCellElement.rowSpan') | 21306 @DomName('HTMLTableCellElement.rowSpan') |
| 20804 @DocsEditable | 21307 @DocsEditable |
| 20805 int rowSpan; | 21308 int rowSpan; |
| 20806 } | 21309 } |
| 20807 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 21310 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 20808 // for details. All rights reserved. Use of this source code is governed by a | 21311 // for details. All rights reserved. Use of this source code is governed by a |
| 20809 // BSD-style license that can be found in the LICENSE file. | 21312 // BSD-style license that can be found in the LICENSE file. |
| 20810 | 21313 |
| 20811 | 21314 |
| 20812 @DocsEditable | 21315 @DocsEditable |
| 20813 @DomName('HTMLTableColElement') | 21316 @DomName('HTMLTableColElement') |
| 20814 class TableColElement extends _HTMLElement native "HTMLTableColElement" { | 21317 class TableColElement extends _HTMLElement native "HTMLTableColElement" { |
| 21318 // To suppress missing implicit constructor warnings. |
| 21319 factory TableColElement._() { throw new UnsupportedError("Not supported"); } |
| 20815 | 21320 |
| 20816 @DomName('HTMLTableColElement.HTMLTableColElement') | 21321 @DomName('HTMLTableColElement.HTMLTableColElement') |
| 20817 @DocsEditable | 21322 @DocsEditable |
| 20818 factory TableColElement() => document.$dom_createElement("col"); | 21323 factory TableColElement() => document.$dom_createElement("col"); |
| 20819 | 21324 |
| 20820 @DomName('HTMLTableColElement.span') | 21325 @DomName('HTMLTableColElement.span') |
| 20821 @DocsEditable | 21326 @DocsEditable |
| 20822 int span; | 21327 int span; |
| 20823 } | 21328 } |
| 20824 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 21329 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| (...skipping 28 matching lines...) Expand all Loading... |
| 20853 return this._createTBody(); | 21358 return this._createTBody(); |
| 20854 } | 21359 } |
| 20855 var tbody = new Element.tag('tbody'); | 21360 var tbody = new Element.tag('tbody'); |
| 20856 this.children.add(tbody); | 21361 this.children.add(tbody); |
| 20857 return tbody; | 21362 return tbody; |
| 20858 } | 21363 } |
| 20859 | 21364 |
| 20860 @JSName('createTBody') | 21365 @JSName('createTBody') |
| 20861 TableSectionElement _createTBody() native; | 21366 TableSectionElement _createTBody() native; |
| 20862 | 21367 |
| 21368 // To suppress missing implicit constructor warnings. |
| 21369 factory TableElement._() { throw new UnsupportedError("Not supported"); } |
| 20863 | 21370 |
| 20864 @DomName('HTMLTableElement.HTMLTableElement') | 21371 @DomName('HTMLTableElement.HTMLTableElement') |
| 20865 @DocsEditable | 21372 @DocsEditable |
| 20866 factory TableElement() => document.$dom_createElement("table"); | 21373 factory TableElement() => document.$dom_createElement("table"); |
| 20867 | 21374 |
| 20868 @DomName('HTMLTableElement.border') | 21375 @DomName('HTMLTableElement.border') |
| 20869 @DocsEditable | 21376 @DocsEditable |
| 20870 // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#H
TMLTableElement-partial | 21377 // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#H
TMLTableElement-partial |
| 20871 @deprecated // deprecated | 21378 @deprecated // deprecated |
| 20872 String border; | 21379 String border; |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 20941 @DomName('HTMLTableRowElement.cells') | 21448 @DomName('HTMLTableRowElement.cells') |
| 20942 List<TableCellElement> get cells => | 21449 List<TableCellElement> get cells => |
| 20943 new _WrappedList<TableCellElement>($dom_cells); | 21450 new _WrappedList<TableCellElement>($dom_cells); |
| 20944 | 21451 |
| 20945 TableCellElement addCell() { | 21452 TableCellElement addCell() { |
| 20946 return insertCell(-1); | 21453 return insertCell(-1); |
| 20947 } | 21454 } |
| 20948 | 21455 |
| 20949 TableCellElement insertCell(int index) => $dom_insertCell(index); | 21456 TableCellElement insertCell(int index) => $dom_insertCell(index); |
| 20950 | 21457 |
| 21458 // To suppress missing implicit constructor warnings. |
| 21459 factory TableRowElement._() { throw new UnsupportedError("Not supported"); } |
| 20951 | 21460 |
| 20952 @DomName('HTMLTableRowElement.HTMLTableRowElement') | 21461 @DomName('HTMLTableRowElement.HTMLTableRowElement') |
| 20953 @DocsEditable | 21462 @DocsEditable |
| 20954 factory TableRowElement() => document.$dom_createElement("tr"); | 21463 factory TableRowElement() => document.$dom_createElement("tr"); |
| 20955 | 21464 |
| 20956 @JSName('cells') | 21465 @JSName('cells') |
| 20957 @DomName('HTMLTableRowElement.cells') | 21466 @DomName('HTMLTableRowElement.cells') |
| 20958 @DocsEditable | 21467 @DocsEditable |
| 20959 final HtmlCollection $dom_cells; | 21468 final HtmlCollection $dom_cells; |
| 20960 | 21469 |
| (...skipping 26 matching lines...) Expand all Loading... |
| 20987 @DomName('HTMLTableSectionElement.rows') | 21496 @DomName('HTMLTableSectionElement.rows') |
| 20988 List<TableRowElement> get rows => | 21497 List<TableRowElement> get rows => |
| 20989 new _WrappedList<TableRowElement>($dom_rows); | 21498 new _WrappedList<TableRowElement>($dom_rows); |
| 20990 | 21499 |
| 20991 TableRowElement addRow() { | 21500 TableRowElement addRow() { |
| 20992 return insertRow(-1); | 21501 return insertRow(-1); |
| 20993 } | 21502 } |
| 20994 | 21503 |
| 20995 TableRowElement insertRow(int index) => $dom_insertRow(index); | 21504 TableRowElement insertRow(int index) => $dom_insertRow(index); |
| 20996 | 21505 |
| 21506 // To suppress missing implicit constructor warnings. |
| 21507 factory TableSectionElement._() { throw new UnsupportedError("Not supported");
} |
| 20997 | 21508 |
| 20998 @JSName('rows') | 21509 @JSName('rows') |
| 20999 @DomName('HTMLTableSectionElement.rows') | 21510 @DomName('HTMLTableSectionElement.rows') |
| 21000 @DocsEditable | 21511 @DocsEditable |
| 21001 final HtmlCollection $dom_rows; | 21512 final HtmlCollection $dom_rows; |
| 21002 | 21513 |
| 21003 @DomName('HTMLTableSectionElement.deleteRow') | 21514 @DomName('HTMLTableSectionElement.deleteRow') |
| 21004 @DocsEditable | 21515 @DocsEditable |
| 21005 void deleteRow(int index) native; | 21516 void deleteRow(int index) native; |
| 21006 | 21517 |
| 21007 @JSName('insertRow') | 21518 @JSName('insertRow') |
| 21008 @DomName('HTMLTableSectionElement.insertRow') | 21519 @DomName('HTMLTableSectionElement.insertRow') |
| 21009 @DocsEditable | 21520 @DocsEditable |
| 21010 Element $dom_insertRow(int index) native; | 21521 Element $dom_insertRow(int index) native; |
| 21011 } | 21522 } |
| 21012 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 21523 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 21013 // for details. All rights reserved. Use of this source code is governed by a | 21524 // for details. All rights reserved. Use of this source code is governed by a |
| 21014 // BSD-style license that can be found in the LICENSE file. | 21525 // BSD-style license that can be found in the LICENSE file. |
| 21015 | 21526 |
| 21016 // WARNING: Do not edit - generated code. | 21527 // WARNING: Do not edit - generated code. |
| 21017 | 21528 |
| 21018 | 21529 |
| 21019 @Experimental | 21530 @Experimental |
| 21020 @DomName('HTMLTemplateElement') | 21531 @DomName('HTMLTemplateElement') |
| 21021 @SupportedBrowser(SupportedBrowser.CHROME) | 21532 @SupportedBrowser(SupportedBrowser.CHROME) |
| 21022 @Experimental | 21533 @Experimental |
| 21023 // https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/templates/index.html#t
emplate-element | 21534 // https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/templates/index.html#t
emplate-element |
| 21024 class TemplateElement extends _HTMLElement native "HTMLTemplateElement" { | 21535 class TemplateElement extends _HTMLElement native "HTMLTemplateElement" { |
| 21536 // To suppress missing implicit constructor warnings. |
| 21537 factory TemplateElement._() { throw new UnsupportedError("Not supported"); } |
| 21025 | 21538 |
| 21026 @DomName('HTMLTemplateElement.HTMLTemplateElement') | 21539 @DomName('HTMLTemplateElement.HTMLTemplateElement') |
| 21027 @DocsEditable | 21540 @DocsEditable |
| 21028 factory TemplateElement() => document.$dom_createElement("template"); | 21541 factory TemplateElement() => document.$dom_createElement("template"); |
| 21029 | 21542 |
| 21030 /// Checks if this type is supported on the current platform. | 21543 /// Checks if this type is supported on the current platform. |
| 21031 static bool get supported => Element.isTagSupported('template'); | 21544 static bool get supported => Element.isTagSupported('template'); |
| 21032 | 21545 |
| 21033 @JSName('content') | 21546 @JSName('content') |
| 21034 @DomName('HTMLTemplateElement.content') | 21547 @DomName('HTMLTemplateElement.content') |
| (...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 21162 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 21675 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 21163 // for details. All rights reserved. Use of this source code is governed by a | 21676 // for details. All rights reserved. Use of this source code is governed by a |
| 21164 // BSD-style license that can be found in the LICENSE file. | 21677 // BSD-style license that can be found in the LICENSE file. |
| 21165 | 21678 |
| 21166 // WARNING: Do not edit - generated code. | 21679 // WARNING: Do not edit - generated code. |
| 21167 | 21680 |
| 21168 | 21681 |
| 21169 @DomName('Text') | 21682 @DomName('Text') |
| 21170 class Text extends CharacterData native "Text" { | 21683 class Text extends CharacterData native "Text" { |
| 21171 factory Text(String data) => document.$dom_createTextNode(data); | 21684 factory Text(String data) => document.$dom_createTextNode(data); |
| 21685 // To suppress missing implicit constructor warnings. |
| 21686 factory Text._() { throw new UnsupportedError("Not supported"); } |
| 21172 | 21687 |
| 21173 @DomName('Text.wholeText') | 21688 @DomName('Text.wholeText') |
| 21174 @DocsEditable | 21689 @DocsEditable |
| 21175 final String wholeText; | 21690 final String wholeText; |
| 21176 | 21691 |
| 21177 @DomName('Text.replaceWholeText') | 21692 @DomName('Text.replaceWholeText') |
| 21178 @DocsEditable | 21693 @DocsEditable |
| 21179 // http://dom.spec.whatwg.org/#dom-text-replacewholetext | 21694 // http://dom.spec.whatwg.org/#dom-text-replacewholetext |
| 21180 @deprecated // deprecated | 21695 @deprecated // deprecated |
| 21181 Text replaceWholeText(String content) native; | 21696 Text replaceWholeText(String content) native; |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 21222 } | 21737 } |
| 21223 } | 21738 } |
| 21224 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 21739 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 21225 // for details. All rights reserved. Use of this source code is governed by a | 21740 // for details. All rights reserved. Use of this source code is governed by a |
| 21226 // BSD-style license that can be found in the LICENSE file. | 21741 // BSD-style license that can be found in the LICENSE file. |
| 21227 | 21742 |
| 21228 | 21743 |
| 21229 @DocsEditable | 21744 @DocsEditable |
| 21230 @DomName('HTMLTextAreaElement') | 21745 @DomName('HTMLTextAreaElement') |
| 21231 class TextAreaElement extends _HTMLElement native "HTMLTextAreaElement" { | 21746 class TextAreaElement extends _HTMLElement native "HTMLTextAreaElement" { |
| 21747 // To suppress missing implicit constructor warnings. |
| 21748 factory TextAreaElement._() { throw new UnsupportedError("Not supported"); } |
| 21232 | 21749 |
| 21233 @DomName('HTMLTextAreaElement.HTMLTextAreaElement') | 21750 @DomName('HTMLTextAreaElement.HTMLTextAreaElement') |
| 21234 @DocsEditable | 21751 @DocsEditable |
| 21235 factory TextAreaElement() => document.$dom_createElement("textarea"); | 21752 factory TextAreaElement() => document.$dom_createElement("textarea"); |
| 21236 | 21753 |
| 21237 @DomName('HTMLTextAreaElement.autofocus') | 21754 @DomName('HTMLTextAreaElement.autofocus') |
| 21238 @DocsEditable | 21755 @DocsEditable |
| 21239 bool autofocus; | 21756 bool autofocus; |
| 21240 | 21757 |
| 21241 @DomName('HTMLTextAreaElement.cols') | 21758 @DomName('HTMLTextAreaElement.cols') |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 21365 class TextEvent extends UIEvent native "TextEvent" { | 21882 class TextEvent extends UIEvent native "TextEvent" { |
| 21366 factory TextEvent(String type, | 21883 factory TextEvent(String type, |
| 21367 {bool canBubble: false, bool cancelable: false, Window view, String data}) { | 21884 {bool canBubble: false, bool cancelable: false, Window view, String data}) { |
| 21368 if (view == null) { | 21885 if (view == null) { |
| 21369 view = window; | 21886 view = window; |
| 21370 } | 21887 } |
| 21371 var e = document.$dom_createEvent("TextEvent"); | 21888 var e = document.$dom_createEvent("TextEvent"); |
| 21372 e.$dom_initTextEvent(type, canBubble, cancelable, view, data); | 21889 e.$dom_initTextEvent(type, canBubble, cancelable, view, data); |
| 21373 return e; | 21890 return e; |
| 21374 } | 21891 } |
| 21892 // To suppress missing implicit constructor warnings. |
| 21893 factory TextEvent._() { throw new UnsupportedError("Not supported"); } |
| 21375 | 21894 |
| 21376 @DomName('TextEvent.data') | 21895 @DomName('TextEvent.data') |
| 21377 @DocsEditable | 21896 @DocsEditable |
| 21378 final String data; | 21897 final String data; |
| 21379 | 21898 |
| 21380 @JSName('initTextEvent') | 21899 @JSName('initTextEvent') |
| 21381 @DomName('TextEvent.initTextEvent') | 21900 @DomName('TextEvent.initTextEvent') |
| 21382 @DocsEditable | 21901 @DocsEditable |
| 21383 void $dom_initTextEvent(String typeArg, bool canBubbleArg, bool cancelableArg,
Window viewArg, String dataArg) native; | 21902 void $dom_initTextEvent(String typeArg, bool canBubbleArg, bool cancelableArg,
Window viewArg, String dataArg) native; |
| 21384 | 21903 |
| 21385 } | 21904 } |
| 21386 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 21905 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 21387 // for details. All rights reserved. Use of this source code is governed by a | 21906 // for details. All rights reserved. Use of this source code is governed by a |
| 21388 // BSD-style license that can be found in the LICENSE file. | 21907 // BSD-style license that can be found in the LICENSE file. |
| 21389 | 21908 |
| 21390 | 21909 |
| 21391 @DocsEditable | 21910 @DocsEditable |
| 21392 @DomName('TextMetrics') | 21911 @DomName('TextMetrics') |
| 21393 class TextMetrics native "TextMetrics" { | 21912 class TextMetrics native "TextMetrics" { |
| 21913 // To suppress missing implicit constructor warnings. |
| 21914 factory TextMetrics._() { throw new UnsupportedError("Not supported"); } |
| 21394 | 21915 |
| 21395 @DomName('TextMetrics.width') | 21916 @DomName('TextMetrics.width') |
| 21396 @DocsEditable | 21917 @DocsEditable |
| 21397 final num width; | 21918 final num width; |
| 21398 } | 21919 } |
| 21399 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 21920 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 21400 // for details. All rights reserved. Use of this source code is governed by a | 21921 // for details. All rights reserved. Use of this source code is governed by a |
| 21401 // BSD-style license that can be found in the LICENSE file. | 21922 // BSD-style license that can be found in the LICENSE file. |
| 21402 | 21923 |
| 21403 | 21924 |
| 21404 @DocsEditable | 21925 @DocsEditable |
| 21405 @DomName('TextTrack') | 21926 @DomName('TextTrack') |
| 21406 // http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element
.html#texttrack | 21927 // http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element
.html#texttrack |
| 21407 @Experimental | 21928 @Experimental |
| 21408 class TextTrack extends EventTarget native "TextTrack" { | 21929 class TextTrack extends EventTarget native "TextTrack" { |
| 21930 // To suppress missing implicit constructor warnings. |
| 21931 factory TextTrack._() { throw new UnsupportedError("Not supported"); } |
| 21409 | 21932 |
| 21410 @DomName('TextTrack.cuechangeEvent') | 21933 @DomName('TextTrack.cuechangeEvent') |
| 21411 @DocsEditable | 21934 @DocsEditable |
| 21412 static const EventStreamProvider<Event> cueChangeEvent = const EventStreamProv
ider<Event>('cuechange'); | 21935 static const EventStreamProvider<Event> cueChangeEvent = const EventStreamProv
ider<Event>('cuechange'); |
| 21413 | 21936 |
| 21414 @DomName('TextTrack.activeCues') | 21937 @DomName('TextTrack.activeCues') |
| 21415 @DocsEditable | 21938 @DocsEditable |
| 21416 final TextTrackCueList activeCues; | 21939 final TextTrackCueList activeCues; |
| 21417 | 21940 |
| 21418 @DomName('TextTrack.cues') | 21941 @DomName('TextTrack.cues') |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 21464 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 21987 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 21465 // for details. All rights reserved. Use of this source code is governed by a | 21988 // for details. All rights reserved. Use of this source code is governed by a |
| 21466 // BSD-style license that can be found in the LICENSE file. | 21989 // BSD-style license that can be found in the LICENSE file. |
| 21467 | 21990 |
| 21468 | 21991 |
| 21469 @DocsEditable | 21992 @DocsEditable |
| 21470 @DomName('TextTrackCue') | 21993 @DomName('TextTrackCue') |
| 21471 // http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element
.html#texttrackcue | 21994 // http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element
.html#texttrackcue |
| 21472 @Experimental | 21995 @Experimental |
| 21473 class TextTrackCue extends EventTarget native "TextTrackCue" { | 21996 class TextTrackCue extends EventTarget native "TextTrackCue" { |
| 21997 // To suppress missing implicit constructor warnings. |
| 21998 factory TextTrackCue._() { throw new UnsupportedError("Not supported"); } |
| 21474 | 21999 |
| 21475 @DomName('TextTrackCue.enterEvent') | 22000 @DomName('TextTrackCue.enterEvent') |
| 21476 @DocsEditable | 22001 @DocsEditable |
| 21477 static const EventStreamProvider<Event> enterEvent = const EventStreamProvider
<Event>('enter'); | 22002 static const EventStreamProvider<Event> enterEvent = const EventStreamProvider
<Event>('enter'); |
| 21478 | 22003 |
| 21479 @DomName('TextTrackCue.exitEvent') | 22004 @DomName('TextTrackCue.exitEvent') |
| 21480 @DocsEditable | 22005 @DocsEditable |
| 21481 static const EventStreamProvider<Event> exitEvent = const EventStreamProvider<
Event>('exit'); | 22006 static const EventStreamProvider<Event> exitEvent = const EventStreamProvider<
Event>('exit'); |
| 21482 | 22007 |
| 21483 @DomName('TextTrackCue.TextTrackCue') | 22008 @DomName('TextTrackCue.TextTrackCue') |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 21573 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 22098 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 21574 // for details. All rights reserved. Use of this source code is governed by a | 22099 // for details. All rights reserved. Use of this source code is governed by a |
| 21575 // BSD-style license that can be found in the LICENSE file. | 22100 // BSD-style license that can be found in the LICENSE file. |
| 21576 | 22101 |
| 21577 | 22102 |
| 21578 @DocsEditable | 22103 @DocsEditable |
| 21579 @DomName('TextTrackCueList') | 22104 @DomName('TextTrackCueList') |
| 21580 // http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element
.html#texttrackcuelist | 22105 // http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element
.html#texttrackcuelist |
| 21581 @Experimental | 22106 @Experimental |
| 21582 class TextTrackCueList extends Interceptor with ListMixin<TextTrackCue>, Immutab
leListMixin<TextTrackCue> implements List<TextTrackCue>, JavaScriptIndexingBehav
ior native "TextTrackCueList" { | 22107 class TextTrackCueList extends Interceptor with ListMixin<TextTrackCue>, Immutab
leListMixin<TextTrackCue> implements List<TextTrackCue>, JavaScriptIndexingBehav
ior native "TextTrackCueList" { |
| 22108 // To suppress missing implicit constructor warnings. |
| 22109 factory TextTrackCueList._() { throw new UnsupportedError("Not supported"); } |
| 21583 | 22110 |
| 21584 @DomName('TextTrackCueList.length') | 22111 @DomName('TextTrackCueList.length') |
| 21585 @DocsEditable | 22112 @DocsEditable |
| 21586 int get length => JS("int", "#.length", this); | 22113 int get length => JS("int", "#.length", this); |
| 21587 | 22114 |
| 21588 TextTrackCue operator[](int index) { | 22115 TextTrackCue operator[](int index) { |
| 21589 if (JS("bool", "# >>> 0 !== # || # >= #", index, | 22116 if (JS("bool", "# >>> 0 !== # || # >= #", index, |
| 21590 index, index, length)) | 22117 index, index, length)) |
| 21591 throw new RangeError.range(index, 0, length); | 22118 throw new RangeError.range(index, 0, length); |
| 21592 return JS("TextTrackCue", "#[#]", this, index); | 22119 return JS("TextTrackCue", "#[#]", this, index); |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 21640 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 22167 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 21641 // for details. All rights reserved. Use of this source code is governed by a | 22168 // for details. All rights reserved. Use of this source code is governed by a |
| 21642 // BSD-style license that can be found in the LICENSE file. | 22169 // BSD-style license that can be found in the LICENSE file. |
| 21643 | 22170 |
| 21644 | 22171 |
| 21645 @DocsEditable | 22172 @DocsEditable |
| 21646 @DomName('TextTrackList') | 22173 @DomName('TextTrackList') |
| 21647 // http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element
.html#texttracklist | 22174 // http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element
.html#texttracklist |
| 21648 @Experimental | 22175 @Experimental |
| 21649 class TextTrackList extends EventTarget with ListMixin<TextTrack>, ImmutableList
Mixin<TextTrack> implements JavaScriptIndexingBehavior, List<TextTrack> native "
TextTrackList" { | 22176 class TextTrackList extends EventTarget with ListMixin<TextTrack>, ImmutableList
Mixin<TextTrack> implements JavaScriptIndexingBehavior, List<TextTrack> native "
TextTrackList" { |
| 22177 // To suppress missing implicit constructor warnings. |
| 22178 factory TextTrackList._() { throw new UnsupportedError("Not supported"); } |
| 21650 | 22179 |
| 21651 @DomName('TextTrackList.addtrackEvent') | 22180 @DomName('TextTrackList.addtrackEvent') |
| 21652 @DocsEditable | 22181 @DocsEditable |
| 21653 static const EventStreamProvider<TrackEvent> addTrackEvent = const EventStream
Provider<TrackEvent>('addtrack'); | 22182 static const EventStreamProvider<TrackEvent> addTrackEvent = const EventStream
Provider<TrackEvent>('addtrack'); |
| 21654 | 22183 |
| 21655 @DomName('TextTrackList.length') | 22184 @DomName('TextTrackList.length') |
| 21656 @DocsEditable | 22185 @DocsEditable |
| 21657 int get length => JS("int", "#.length", this); | 22186 int get length => JS("int", "#.length", this); |
| 21658 | 22187 |
| 21659 TextTrack operator[](int index) { | 22188 TextTrack operator[](int index) { |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 21724 } | 22253 } |
| 21725 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 22254 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 21726 // for details. All rights reserved. Use of this source code is governed by a | 22255 // for details. All rights reserved. Use of this source code is governed by a |
| 21727 // BSD-style license that can be found in the LICENSE file. | 22256 // BSD-style license that can be found in the LICENSE file. |
| 21728 | 22257 |
| 21729 | 22258 |
| 21730 @DocsEditable | 22259 @DocsEditable |
| 21731 @DomName('TimeRanges') | 22260 @DomName('TimeRanges') |
| 21732 @Unstable | 22261 @Unstable |
| 21733 class TimeRanges native "TimeRanges" { | 22262 class TimeRanges native "TimeRanges" { |
| 22263 // To suppress missing implicit constructor warnings. |
| 22264 factory TimeRanges._() { throw new UnsupportedError("Not supported"); } |
| 21734 | 22265 |
| 21735 @DomName('TimeRanges.length') | 22266 @DomName('TimeRanges.length') |
| 21736 @DocsEditable | 22267 @DocsEditable |
| 21737 final int length; | 22268 final int length; |
| 21738 | 22269 |
| 21739 @DomName('TimeRanges.end') | 22270 @DomName('TimeRanges.end') |
| 21740 @DocsEditable | 22271 @DocsEditable |
| 21741 num end(int index) native; | 22272 num end(int index) native; |
| 21742 | 22273 |
| 21743 @DomName('TimeRanges.start') | 22274 @DomName('TimeRanges.start') |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21754 @DomName('TimeoutHandler') | 22285 @DomName('TimeoutHandler') |
| 21755 typedef void TimeoutHandler(); | 22286 typedef void TimeoutHandler(); |
| 21756 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 22287 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 21757 // for details. All rights reserved. Use of this source code is governed by a | 22288 // for details. All rights reserved. Use of this source code is governed by a |
| 21758 // BSD-style license that can be found in the LICENSE file. | 22289 // BSD-style license that can be found in the LICENSE file. |
| 21759 | 22290 |
| 21760 | 22291 |
| 21761 @DocsEditable | 22292 @DocsEditable |
| 21762 @DomName('HTMLTitleElement') | 22293 @DomName('HTMLTitleElement') |
| 21763 class TitleElement extends _HTMLElement native "HTMLTitleElement" { | 22294 class TitleElement extends _HTMLElement native "HTMLTitleElement" { |
| 22295 // To suppress missing implicit constructor warnings. |
| 22296 factory TitleElement._() { throw new UnsupportedError("Not supported"); } |
| 21764 | 22297 |
| 21765 @DomName('HTMLTitleElement.HTMLTitleElement') | 22298 @DomName('HTMLTitleElement.HTMLTitleElement') |
| 21766 @DocsEditable | 22299 @DocsEditable |
| 21767 factory TitleElement() => document.$dom_createElement("title"); | 22300 factory TitleElement() => document.$dom_createElement("title"); |
| 21768 } | 22301 } |
| 21769 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 22302 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 21770 // for details. All rights reserved. Use of this source code is governed by a | 22303 // for details. All rights reserved. Use of this source code is governed by a |
| 21771 // BSD-style license that can be found in the LICENSE file. | 22304 // BSD-style license that can be found in the LICENSE file. |
| 21772 | 22305 |
| 21773 | 22306 |
| 21774 @DocsEditable | 22307 @DocsEditable |
| 21775 @DomName('Touch') | 22308 @DomName('Touch') |
| 21776 // http://www.w3.org/TR/touch-events/, http://www.chromestatus.com/features | 22309 // http://www.w3.org/TR/touch-events/, http://www.chromestatus.com/features |
| 21777 @Experimental | 22310 @Experimental |
| 21778 class Touch native "Touch" { | 22311 class Touch native "Touch" { |
| 22312 // To suppress missing implicit constructor warnings. |
| 22313 factory Touch._() { throw new UnsupportedError("Not supported"); } |
| 21779 | 22314 |
| 21780 @JSName('clientX') | 22315 @JSName('clientX') |
| 21781 @DomName('Touch.clientX') | 22316 @DomName('Touch.clientX') |
| 21782 @DocsEditable | 22317 @DocsEditable |
| 21783 final int $dom_clientX; | 22318 final int $dom_clientX; |
| 21784 | 22319 |
| 21785 @JSName('clientY') | 22320 @JSName('clientY') |
| 21786 @DomName('Touch.clientY') | 22321 @DomName('Touch.clientY') |
| 21787 @DocsEditable | 22322 @DocsEditable |
| 21788 final int $dom_clientY; | 22323 final int $dom_clientY; |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 21881 int clientY: 0, bool ctrlKey: false, bool altKey: false, | 22416 int clientY: 0, bool ctrlKey: false, bool altKey: false, |
| 21882 bool shiftKey: false, bool metaKey: false}) { | 22417 bool shiftKey: false, bool metaKey: false}) { |
| 21883 if (view == null) { | 22418 if (view == null) { |
| 21884 view = window; | 22419 view = window; |
| 21885 } | 22420 } |
| 21886 var e = document.$dom_createEvent("TouchEvent"); | 22421 var e = document.$dom_createEvent("TouchEvent"); |
| 21887 e.$dom_initTouchEvent(touches, targetTouches, changedTouches, type, view, | 22422 e.$dom_initTouchEvent(touches, targetTouches, changedTouches, type, view, |
| 21888 screenX, screenY, clientX, clientY, ctrlKey, altKey, shiftKey, metaKey); | 22423 screenX, screenY, clientX, clientY, ctrlKey, altKey, shiftKey, metaKey); |
| 21889 return e; | 22424 return e; |
| 21890 } | 22425 } |
| 22426 // To suppress missing implicit constructor warnings. |
| 22427 factory TouchEvent._() { throw new UnsupportedError("Not supported"); } |
| 21891 | 22428 |
| 21892 @DomName('TouchEvent.altKey') | 22429 @DomName('TouchEvent.altKey') |
| 21893 @DocsEditable | 22430 @DocsEditable |
| 21894 final bool altKey; | 22431 final bool altKey; |
| 21895 | 22432 |
| 21896 @DomName('TouchEvent.changedTouches') | 22433 @DomName('TouchEvent.changedTouches') |
| 21897 @DocsEditable | 22434 @DocsEditable |
| 21898 final TouchList changedTouches; | 22435 final TouchList changedTouches; |
| 21899 | 22436 |
| 21900 @DomName('TouchEvent.ctrlKey') | 22437 @DomName('TouchEvent.ctrlKey') |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 21944 | 22481 |
| 21945 | 22482 |
| 21946 @DomName('TouchList') | 22483 @DomName('TouchList') |
| 21947 // http://www.w3.org/TR/touch-events/, http://www.chromestatus.com/features | 22484 // http://www.w3.org/TR/touch-events/, http://www.chromestatus.com/features |
| 21948 @Experimental | 22485 @Experimental |
| 21949 class TouchList extends Interceptor with ListMixin<Touch>, ImmutableListMixin<To
uch> implements JavaScriptIndexingBehavior, List<Touch> native "TouchList" { | 22486 class TouchList extends Interceptor with ListMixin<Touch>, ImmutableListMixin<To
uch> implements JavaScriptIndexingBehavior, List<Touch> native "TouchList" { |
| 21950 /// NB: This constructor likely does not work as you might expect it to! This | 22487 /// NB: This constructor likely does not work as you might expect it to! This |
| 21951 /// constructor will simply fail (returning null) if you are not on a device | 22488 /// constructor will simply fail (returning null) if you are not on a device |
| 21952 /// with touch enabled. See dartbug.com/8314. | 22489 /// with touch enabled. See dartbug.com/8314. |
| 21953 factory TouchList() => document.$dom_createTouchList(); | 22490 factory TouchList() => document.$dom_createTouchList(); |
| 22491 // To suppress missing implicit constructor warnings. |
| 22492 factory TouchList._() { throw new UnsupportedError("Not supported"); } |
| 21954 | 22493 |
| 21955 /// Checks if this type is supported on the current platform. | 22494 /// Checks if this type is supported on the current platform. |
| 21956 static bool get supported => JS('bool', '!!document.createTouchList'); | 22495 static bool get supported => JS('bool', '!!document.createTouchList'); |
| 21957 | 22496 |
| 21958 @DomName('TouchList.length') | 22497 @DomName('TouchList.length') |
| 21959 @DocsEditable | 22498 @DocsEditable |
| 21960 int get length => JS("int", "#.length", this); | 22499 int get length => JS("int", "#.length", this); |
| 21961 | 22500 |
| 21962 Touch operator[](int index) { | 22501 Touch operator[](int index) { |
| 21963 if (JS("bool", "# >>> 0 !== # || # >= #", index, | 22502 if (JS("bool", "# >>> 0 !== # || # >= #", index, |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 22014 | 22553 |
| 22015 | 22554 |
| 22016 @DocsEditable | 22555 @DocsEditable |
| 22017 @DomName('HTMLTrackElement') | 22556 @DomName('HTMLTrackElement') |
| 22018 @SupportedBrowser(SupportedBrowser.CHROME) | 22557 @SupportedBrowser(SupportedBrowser.CHROME) |
| 22019 @SupportedBrowser(SupportedBrowser.IE, '10') | 22558 @SupportedBrowser(SupportedBrowser.IE, '10') |
| 22020 @SupportedBrowser(SupportedBrowser.SAFARI) | 22559 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 22021 // http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element
.html#the-track-element | 22560 // http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element
.html#the-track-element |
| 22022 @Experimental | 22561 @Experimental |
| 22023 class TrackElement extends _HTMLElement native "HTMLTrackElement" { | 22562 class TrackElement extends _HTMLElement native "HTMLTrackElement" { |
| 22563 // To suppress missing implicit constructor warnings. |
| 22564 factory TrackElement._() { throw new UnsupportedError("Not supported"); } |
| 22024 | 22565 |
| 22025 @DomName('HTMLTrackElement.HTMLTrackElement') | 22566 @DomName('HTMLTrackElement.HTMLTrackElement') |
| 22026 @DocsEditable | 22567 @DocsEditable |
| 22027 factory TrackElement() => document.$dom_createElement("track"); | 22568 factory TrackElement() => document.$dom_createElement("track"); |
| 22028 | 22569 |
| 22029 /// Checks if this type is supported on the current platform. | 22570 /// Checks if this type is supported on the current platform. |
| 22030 static bool get supported => Element.isTagSupported('track'); | 22571 static bool get supported => Element.isTagSupported('track'); |
| 22031 | 22572 |
| 22032 @DomName('HTMLTrackElement.ERROR') | 22573 @DomName('HTMLTrackElement.ERROR') |
| 22033 @DocsEditable | 22574 @DocsEditable |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 22076 } | 22617 } |
| 22077 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 22618 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22078 // for details. All rights reserved. Use of this source code is governed by a | 22619 // for details. All rights reserved. Use of this source code is governed by a |
| 22079 // BSD-style license that can be found in the LICENSE file. | 22620 // BSD-style license that can be found in the LICENSE file. |
| 22080 | 22621 |
| 22081 | 22622 |
| 22082 @DocsEditable | 22623 @DocsEditable |
| 22083 @DomName('TrackEvent') | 22624 @DomName('TrackEvent') |
| 22084 @Unstable | 22625 @Unstable |
| 22085 class TrackEvent extends Event native "TrackEvent" { | 22626 class TrackEvent extends Event native "TrackEvent" { |
| 22627 // To suppress missing implicit constructor warnings. |
| 22628 factory TrackEvent._() { throw new UnsupportedError("Not supported"); } |
| 22086 | 22629 |
| 22087 @DomName('TrackEvent.track') | 22630 @DomName('TrackEvent.track') |
| 22088 @DocsEditable | 22631 @DocsEditable |
| 22089 @Creates('Null') | 22632 @Creates('Null') |
| 22090 final Object track; | 22633 final Object track; |
| 22091 } | 22634 } |
| 22092 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 22635 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22093 // for details. All rights reserved. Use of this source code is governed by a | 22636 // for details. All rights reserved. Use of this source code is governed by a |
| 22094 // BSD-style license that can be found in the LICENSE file. | 22637 // BSD-style license that can be found in the LICENSE file. |
| 22095 | 22638 |
| 22096 | 22639 |
| 22097 @DocsEditable | 22640 @DocsEditable |
| 22098 @DomName('TransitionEvent') | 22641 @DomName('TransitionEvent') |
| 22099 class TransitionEvent extends Event native "TransitionEvent,WebKitTransitionEven
t" { | 22642 class TransitionEvent extends Event native "TransitionEvent,WebKitTransitionEven
t" { |
| 22643 // To suppress missing implicit constructor warnings. |
| 22644 factory TransitionEvent._() { throw new UnsupportedError("Not supported"); } |
| 22100 | 22645 |
| 22101 @DomName('TransitionEvent.elapsedTime') | 22646 @DomName('TransitionEvent.elapsedTime') |
| 22102 @DocsEditable | 22647 @DocsEditable |
| 22103 final num elapsedTime; | 22648 final num elapsedTime; |
| 22104 | 22649 |
| 22105 @DomName('TransitionEvent.propertyName') | 22650 @DomName('TransitionEvent.propertyName') |
| 22106 @DocsEditable | 22651 @DocsEditable |
| 22107 final String propertyName; | 22652 final String propertyName; |
| 22108 | 22653 |
| 22109 @DomName('TransitionEvent.pseudoElement') | 22654 @DomName('TransitionEvent.pseudoElement') |
| 22110 @DocsEditable | 22655 @DocsEditable |
| 22111 final String pseudoElement; | 22656 final String pseudoElement; |
| 22112 } | 22657 } |
| 22113 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 22658 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 22114 // for details. All rights reserved. Use of this source code is governed by a | 22659 // for details. All rights reserved. Use of this source code is governed by a |
| 22115 // BSD-style license that can be found in the LICENSE file. | 22660 // BSD-style license that can be found in the LICENSE file. |
| 22116 | 22661 |
| 22117 | 22662 |
| 22118 @DomName('TreeWalker') | 22663 @DomName('TreeWalker') |
| 22119 @Unstable | 22664 @Unstable |
| 22120 class TreeWalker native "TreeWalker" { | 22665 class TreeWalker native "TreeWalker" { |
| 22121 factory TreeWalker(Node root, int whatToShow) { | 22666 factory TreeWalker(Node root, int whatToShow) { |
| 22122 return document.$dom_createTreeWalker(root, whatToShow, null, false); | 22667 return document.$dom_createTreeWalker(root, whatToShow, null, false); |
| 22123 } | 22668 } |
| 22669 // To suppress missing implicit constructor warnings. |
| 22670 factory TreeWalker._() { throw new UnsupportedError("Not supported"); } |
| 22124 | 22671 |
| 22125 @DomName('TreeWalker.currentNode') | 22672 @DomName('TreeWalker.currentNode') |
| 22126 @DocsEditable | 22673 @DocsEditable |
| 22127 Node currentNode; | 22674 Node currentNode; |
| 22128 | 22675 |
| 22129 @DomName('TreeWalker.expandEntityReferences') | 22676 @DomName('TreeWalker.expandEntityReferences') |
| 22130 @DocsEditable | 22677 @DocsEditable |
| 22131 // http://dom.spec.whatwg.org/#dom-traversal | 22678 // http://dom.spec.whatwg.org/#dom-traversal |
| 22132 @deprecated // deprecated | 22679 @deprecated // deprecated |
| 22133 final bool expandEntityReferences; | 22680 final bool expandEntityReferences; |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 22191 factory UIEvent(String type, | 22738 factory UIEvent(String type, |
| 22192 {Window view, int detail: 0, bool canBubble: true, | 22739 {Window view, int detail: 0, bool canBubble: true, |
| 22193 bool cancelable: true}) { | 22740 bool cancelable: true}) { |
| 22194 if (view == null) { | 22741 if (view == null) { |
| 22195 view = window; | 22742 view = window; |
| 22196 } | 22743 } |
| 22197 final e = document.$dom_createEvent("UIEvent"); | 22744 final e = document.$dom_createEvent("UIEvent"); |
| 22198 e.$dom_initUIEvent(type, canBubble, cancelable, view, detail); | 22745 e.$dom_initUIEvent(type, canBubble, cancelable, view, detail); |
| 22199 return e; | 22746 return e; |
| 22200 } | 22747 } |
| 22748 // To suppress missing implicit constructor warnings. |
| 22749 factory UIEvent._() { throw new UnsupportedError("Not supported"); } |
| 22201 | 22750 |
| 22202 @JSName('charCode') | 22751 @JSName('charCode') |
| 22203 @DomName('UIEvent.charCode') | 22752 @DomName('UIEvent.charCode') |
| 22204 @DocsEditable | 22753 @DocsEditable |
| 22205 @Unstable | 22754 @Unstable |
| 22206 final int $dom_charCode; | 22755 final int $dom_charCode; |
| 22207 | 22756 |
| 22208 @DomName('UIEvent.detail') | 22757 @DomName('UIEvent.detail') |
| 22209 @DocsEditable | 22758 @DocsEditable |
| 22210 final int detail; | 22759 final int detail; |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 22281 Point get page => new Point($dom_pageX, $dom_pageY); | 22830 Point get page => new Point($dom_pageX, $dom_pageY); |
| 22282 } | 22831 } |
| 22283 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 22832 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22284 // for details. All rights reserved. Use of this source code is governed by a | 22833 // for details. All rights reserved. Use of this source code is governed by a |
| 22285 // BSD-style license that can be found in the LICENSE file. | 22834 // BSD-style license that can be found in the LICENSE file. |
| 22286 | 22835 |
| 22287 | 22836 |
| 22288 @DocsEditable | 22837 @DocsEditable |
| 22289 @DomName('HTMLUListElement') | 22838 @DomName('HTMLUListElement') |
| 22290 class UListElement extends _HTMLElement native "HTMLUListElement" { | 22839 class UListElement extends _HTMLElement native "HTMLUListElement" { |
| 22840 // To suppress missing implicit constructor warnings. |
| 22841 factory UListElement._() { throw new UnsupportedError("Not supported"); } |
| 22291 | 22842 |
| 22292 @DomName('HTMLUListElement.HTMLUListElement') | 22843 @DomName('HTMLUListElement.HTMLUListElement') |
| 22293 @DocsEditable | 22844 @DocsEditable |
| 22294 factory UListElement() => document.$dom_createElement("ul"); | 22845 factory UListElement() => document.$dom_createElement("ul"); |
| 22295 } | 22846 } |
| 22296 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 22847 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22297 // for details. All rights reserved. Use of this source code is governed by a | 22848 // for details. All rights reserved. Use of this source code is governed by a |
| 22298 // BSD-style license that can be found in the LICENSE file. | 22849 // BSD-style license that can be found in the LICENSE file. |
| 22299 | 22850 |
| 22300 | 22851 |
| 22301 @DocsEditable | 22852 @DocsEditable |
| 22302 @DomName('HTMLUnknownElement') | 22853 @DomName('HTMLUnknownElement') |
| 22303 class UnknownElement extends _HTMLElement native "HTMLUnknownElement" { | 22854 class UnknownElement extends _HTMLElement native "HTMLUnknownElement" { |
| 22855 // To suppress missing implicit constructor warnings. |
| 22856 factory UnknownElement._() { throw new UnsupportedError("Not supported"); } |
| 22304 } | 22857 } |
| 22305 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 22858 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22306 // for details. All rights reserved. Use of this source code is governed by a | 22859 // for details. All rights reserved. Use of this source code is governed by a |
| 22307 // BSD-style license that can be found in the LICENSE file. | 22860 // BSD-style license that can be found in the LICENSE file. |
| 22308 | 22861 |
| 22309 | 22862 |
| 22310 @DomName('URL') | 22863 @DomName('URL') |
| 22311 class Url native "URL" { | 22864 class Url native "URL" { |
| 22312 | 22865 |
| 22313 static String createObjectUrl(blob_OR_source_OR_stream) => | 22866 static String createObjectUrl(blob_OR_source_OR_stream) => |
| 22314 JS('String', | 22867 JS('String', |
| 22315 '(self.URL || self.webkitURL).createObjectURL(#)', | 22868 '(self.URL || self.webkitURL).createObjectURL(#)', |
| 22316 blob_OR_source_OR_stream); | 22869 blob_OR_source_OR_stream); |
| 22317 | 22870 |
| 22318 static void revokeObjectUrl(String url) => | 22871 static void revokeObjectUrl(String url) => |
| 22319 JS('void', | 22872 JS('void', |
| 22320 '(self.URL || self.webkitURL).revokeObjectURL(#)', url); | 22873 '(self.URL || self.webkitURL).revokeObjectURL(#)', url); |
| 22874 // To suppress missing implicit constructor warnings. |
| 22875 factory Url._() { throw new UnsupportedError("Not supported"); } |
| 22321 | 22876 |
| 22322 } | 22877 } |
| 22323 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 22878 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22324 // for details. All rights reserved. Use of this source code is governed by a | 22879 // for details. All rights reserved. Use of this source code is governed by a |
| 22325 // BSD-style license that can be found in the LICENSE file. | 22880 // BSD-style license that can be found in the LICENSE file. |
| 22326 | 22881 |
| 22327 | 22882 |
| 22328 @DocsEditable | 22883 @DocsEditable |
| 22329 @DomName('ValidityState') | 22884 @DomName('ValidityState') |
| 22330 class ValidityState native "ValidityState" { | 22885 class ValidityState native "ValidityState" { |
| 22886 // To suppress missing implicit constructor warnings. |
| 22887 factory ValidityState._() { throw new UnsupportedError("Not supported"); } |
| 22331 | 22888 |
| 22332 @DomName('ValidityState.badInput') | 22889 @DomName('ValidityState.badInput') |
| 22333 @DocsEditable | 22890 @DocsEditable |
| 22334 final bool badInput; | 22891 final bool badInput; |
| 22335 | 22892 |
| 22336 @DomName('ValidityState.customError') | 22893 @DomName('ValidityState.customError') |
| 22337 @DocsEditable | 22894 @DocsEditable |
| 22338 final bool customError; | 22895 final bool customError; |
| 22339 | 22896 |
| 22340 @DomName('ValidityState.patternMismatch') | 22897 @DomName('ValidityState.patternMismatch') |
| (...skipping 28 matching lines...) Expand all Loading... |
| 22369 @DocsEditable | 22926 @DocsEditable |
| 22370 final bool valueMissing; | 22927 final bool valueMissing; |
| 22371 } | 22928 } |
| 22372 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 22929 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22373 // for details. All rights reserved. Use of this source code is governed by a | 22930 // for details. All rights reserved. Use of this source code is governed by a |
| 22374 // BSD-style license that can be found in the LICENSE file. | 22931 // BSD-style license that can be found in the LICENSE file. |
| 22375 | 22932 |
| 22376 | 22933 |
| 22377 @DomName('HTMLVideoElement') | 22934 @DomName('HTMLVideoElement') |
| 22378 class VideoElement extends MediaElement implements CanvasImageSource native "HTM
LVideoElement" { | 22935 class VideoElement extends MediaElement implements CanvasImageSource native "HTM
LVideoElement" { |
| 22936 // To suppress missing implicit constructor warnings. |
| 22937 factory VideoElement._() { throw new UnsupportedError("Not supported"); } |
| 22379 | 22938 |
| 22380 @DomName('HTMLVideoElement.HTMLVideoElement') | 22939 @DomName('HTMLVideoElement.HTMLVideoElement') |
| 22381 @DocsEditable | 22940 @DocsEditable |
| 22382 factory VideoElement() => document.$dom_createElement("video"); | 22941 factory VideoElement() => document.$dom_createElement("video"); |
| 22383 | 22942 |
| 22384 @DomName('HTMLVideoElement.height') | 22943 @DomName('HTMLVideoElement.height') |
| 22385 @DocsEditable | 22944 @DocsEditable |
| 22386 int height; | 22945 int height; |
| 22387 | 22946 |
| 22388 @DomName('HTMLVideoElement.poster') | 22947 @DomName('HTMLVideoElement.poster') |
| (...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 22527 * [Introducing WebSockets](http://www.html5rocks.com/en/tutorials/websockets/ba
sics/), | 23086 * [Introducing WebSockets](http://www.html5rocks.com/en/tutorials/websockets/ba
sics/), |
| 22528 * an HTML5Rocks.com tutorial. | 23087 * an HTML5Rocks.com tutorial. |
| 22529 */ | 23088 */ |
| 22530 @DomName('WebSocket') | 23089 @DomName('WebSocket') |
| 22531 @SupportedBrowser(SupportedBrowser.CHROME) | 23090 @SupportedBrowser(SupportedBrowser.CHROME) |
| 22532 @SupportedBrowser(SupportedBrowser.FIREFOX) | 23091 @SupportedBrowser(SupportedBrowser.FIREFOX) |
| 22533 @SupportedBrowser(SupportedBrowser.IE, '10') | 23092 @SupportedBrowser(SupportedBrowser.IE, '10') |
| 22534 @SupportedBrowser(SupportedBrowser.SAFARI) | 23093 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 22535 @Unstable | 23094 @Unstable |
| 22536 class WebSocket extends EventTarget native "WebSocket" { | 23095 class WebSocket extends EventTarget native "WebSocket" { |
| 23096 // To suppress missing implicit constructor warnings. |
| 23097 factory WebSocket._() { throw new UnsupportedError("Not supported"); } |
| 22537 | 23098 |
| 22538 @DomName('WebSocket.closeEvent') | 23099 @DomName('WebSocket.closeEvent') |
| 22539 @DocsEditable | 23100 @DocsEditable |
| 22540 static const EventStreamProvider<CloseEvent> closeEvent = const EventStreamPro
vider<CloseEvent>('close'); | 23101 static const EventStreamProvider<CloseEvent> closeEvent = const EventStreamPro
vider<CloseEvent>('close'); |
| 22541 | 23102 |
| 22542 @DomName('WebSocket.errorEvent') | 23103 @DomName('WebSocket.errorEvent') |
| 22543 @DocsEditable | 23104 @DocsEditable |
| 22544 static const EventStreamProvider<Event> errorEvent = const EventStreamProvider
<Event>('error'); | 23105 static const EventStreamProvider<Event> errorEvent = const EventStreamProvider
<Event>('error'); |
| 22545 | 23106 |
| 22546 @DomName('WebSocket.messageEvent') | 23107 @DomName('WebSocket.messageEvent') |
| (...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 22727 metaKey, button, relatedTarget); | 23288 metaKey, button, relatedTarget); |
| 22728 event.$dom_initWebKitWheelEvent(deltaX, | 23289 event.$dom_initWebKitWheelEvent(deltaX, |
| 22729 deltaY ~/ 120, // Chrome does an auto-convert to pixels. | 23290 deltaY ~/ 120, // Chrome does an auto-convert to pixels. |
| 22730 view, screenX, screenY, clientX, clientY, ctrlKey, altKey, shiftKey, | 23291 view, screenX, screenY, clientX, clientY, ctrlKey, altKey, shiftKey, |
| 22731 metaKey); | 23292 metaKey); |
| 22732 } | 23293 } |
| 22733 | 23294 |
| 22734 return event; | 23295 return event; |
| 22735 } | 23296 } |
| 22736 | 23297 |
| 23298 // To suppress missing implicit constructor warnings. |
| 23299 factory WheelEvent._() { throw new UnsupportedError("Not supported"); } |
| 22737 | 23300 |
| 22738 @DomName('WheelEvent.DOM_DELTA_LINE') | 23301 @DomName('WheelEvent.DOM_DELTA_LINE') |
| 22739 @DocsEditable | 23302 @DocsEditable |
| 22740 static const int DOM_DELTA_LINE = 0x01; | 23303 static const int DOM_DELTA_LINE = 0x01; |
| 22741 | 23304 |
| 22742 @DomName('WheelEvent.DOM_DELTA_PAGE') | 23305 @DomName('WheelEvent.DOM_DELTA_PAGE') |
| 22743 @DocsEditable | 23306 @DocsEditable |
| 22744 static const int DOM_DELTA_PAGE = 0x02; | 23307 static const int DOM_DELTA_PAGE = 0x02; |
| 22745 | 23308 |
| 22746 @DomName('WheelEvent.DOM_DELTA_PIXEL') | 23309 @DomName('WheelEvent.DOM_DELTA_PIXEL') |
| (...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 22934 * port may be retrieved by any isolate (or JavaScript script) | 23497 * port may be retrieved by any isolate (or JavaScript script) |
| 22935 * running in this window. | 23498 * running in this window. |
| 22936 */ | 23499 */ |
| 22937 void registerPort(String name, var port) { | 23500 void registerPort(String name, var port) { |
| 22938 var serialized = _serialize(port); | 23501 var serialized = _serialize(port); |
| 22939 document.documentElement.attributes['dart-port:$name'] = | 23502 document.documentElement.attributes['dart-port:$name'] = |
| 22940 json.stringify(serialized); | 23503 json.stringify(serialized); |
| 22941 } | 23504 } |
| 22942 | 23505 |
| 22943 /** | 23506 /** |
| 22944 * Returns a Future that completes just before the window is about to | 23507 * Returns a Future that completes just before the window is about to |
| 22945 * repaint so the user can draw an animation frame. | 23508 * repaint so the user can draw an animation frame. |
| 22946 * | 23509 * |
| 22947 * If you need to later cancel this animation, use [requestAnimationFrame] | 23510 * If you need to later cancel this animation, use [requestAnimationFrame] |
| 22948 * instead. | 23511 * instead. |
| 22949 * | 23512 * |
| 22950 * The [Future] completes to a timestamp that represents a floating | 23513 * The [Future] completes to a timestamp that represents a floating |
| 22951 * point value of the number of milliseconds that have elapsed since the page | 23514 * point value of the number of milliseconds that have elapsed since the page |
| 22952 * started to load (which is also the timestamp at this call to | 23515 * started to load (which is also the timestamp at this call to |
| 22953 * animationFrame). | 23516 * animationFrame). |
| 22954 * | 23517 * |
| 22955 * Note: The code that runs when the future completes should call | 23518 * Note: The code that runs when the future completes should call |
| 22956 * [animationFrame] again for the animation to continue. | 23519 * [animationFrame] again for the animation to continue. |
| 22957 */ | 23520 */ |
| 22958 Future<num> get animationFrame { | 23521 Future<num> get animationFrame { |
| 22959 var completer = new Completer<num>(); | 23522 var completer = new Completer<num>(); |
| 22960 requestAnimationFrame((time) { | 23523 requestAnimationFrame((time) { |
| 22961 completer.complete(time); | 23524 completer.complete(time); |
| 22962 }); | 23525 }); |
| (...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 23143 var result = _convertPointFromPageToNode(node, | 23706 var result = _convertPointFromPageToNode(node, |
| 23144 new _DomPoint(point.x, point.y)); | 23707 new _DomPoint(point.x, point.y)); |
| 23145 return new Point(result.x, result.y); | 23708 return new Point(result.x, result.y); |
| 23146 } | 23709 } |
| 23147 | 23710 |
| 23148 /** | 23711 /** |
| 23149 * Checks whether [convertPointFromNodeToPage] and | 23712 * Checks whether [convertPointFromNodeToPage] and |
| 23150 * [convertPointFromPageToNode] are supported on the current platform. | 23713 * [convertPointFromPageToNode] are supported on the current platform. |
| 23151 */ | 23714 */ |
| 23152 static bool get supportsPointConversions => _DomPoint.supported; | 23715 static bool get supportsPointConversions => _DomPoint.supported; |
| 23716 // To suppress missing implicit constructor warnings. |
| 23717 factory Window._() { throw new UnsupportedError("Not supported"); } |
| 23153 | 23718 |
| 23154 @DomName('Window.DOMContentLoadedEvent') | 23719 @DomName('Window.DOMContentLoadedEvent') |
| 23155 @DocsEditable | 23720 @DocsEditable |
| 23156 static const EventStreamProvider<Event> contentLoadedEvent = const EventStream
Provider<Event>('DOMContentLoaded'); | 23721 static const EventStreamProvider<Event> contentLoadedEvent = const EventStream
Provider<Event>('DOMContentLoaded'); |
| 23157 | 23722 |
| 23158 @DomName('Window.devicemotionEvent') | 23723 @DomName('Window.devicemotionEvent') |
| 23159 @DocsEditable | 23724 @DocsEditable |
| 23160 // http://dev.w3.org/geo/api/spec-source-orientation.html#devicemotion | 23725 // http://dev.w3.org/geo/api/spec-source-orientation.html#devicemotion |
| 23161 @Experimental | 23726 @Experimental |
| 23162 static const EventStreamProvider<DeviceMotionEvent> deviceMotionEvent = const
EventStreamProvider<DeviceMotionEvent>('devicemotion'); | 23727 static const EventStreamProvider<DeviceMotionEvent> deviceMotionEvent = const
EventStreamProvider<DeviceMotionEvent>('devicemotion'); |
| (...skipping 847 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 24010 | 24575 |
| 24011 @DocsEditable | 24576 @DocsEditable |
| 24012 @DomName('Worker') | 24577 @DomName('Worker') |
| 24013 @SupportedBrowser(SupportedBrowser.CHROME) | 24578 @SupportedBrowser(SupportedBrowser.CHROME) |
| 24014 @SupportedBrowser(SupportedBrowser.FIREFOX) | 24579 @SupportedBrowser(SupportedBrowser.FIREFOX) |
| 24015 @SupportedBrowser(SupportedBrowser.IE, '10') | 24580 @SupportedBrowser(SupportedBrowser.IE, '10') |
| 24016 @SupportedBrowser(SupportedBrowser.SAFARI) | 24581 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 24017 // http://www.whatwg.org/specs/web-apps/current-work/multipage/workers.html#work
er | 24582 // http://www.whatwg.org/specs/web-apps/current-work/multipage/workers.html#work
er |
| 24018 @Experimental // stable | 24583 @Experimental // stable |
| 24019 class Worker extends AbstractWorker native "Worker" { | 24584 class Worker extends AbstractWorker native "Worker" { |
| 24585 // To suppress missing implicit constructor warnings. |
| 24586 factory Worker._() { throw new UnsupportedError("Not supported"); } |
| 24020 | 24587 |
| 24021 @DomName('Worker.messageEvent') | 24588 @DomName('Worker.messageEvent') |
| 24022 @DocsEditable | 24589 @DocsEditable |
| 24023 static const EventStreamProvider<MessageEvent> messageEvent = const EventStrea
mProvider<MessageEvent>('message'); | 24590 static const EventStreamProvider<MessageEvent> messageEvent = const EventStrea
mProvider<MessageEvent>('message'); |
| 24024 | 24591 |
| 24025 @DomName('Worker.Worker') | 24592 @DomName('Worker.Worker') |
| 24026 @DocsEditable | 24593 @DocsEditable |
| 24027 factory Worker(String scriptUrl) { | 24594 factory Worker(String scriptUrl) { |
| 24028 return Worker._create_1(scriptUrl); | 24595 return Worker._create_1(scriptUrl); |
| 24029 } | 24596 } |
| (...skipping 17 matching lines...) Expand all Loading... |
| 24047 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 24614 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24048 // for details. All rights reserved. Use of this source code is governed by a | 24615 // for details. All rights reserved. Use of this source code is governed by a |
| 24049 // BSD-style license that can be found in the LICENSE file. | 24616 // BSD-style license that can be found in the LICENSE file. |
| 24050 | 24617 |
| 24051 | 24618 |
| 24052 @DocsEditable | 24619 @DocsEditable |
| 24053 @DomName('XPathEvaluator') | 24620 @DomName('XPathEvaluator') |
| 24054 // http://www.w3.org/TR/DOM-Level-3-XPath/xpath.html#XPathEvaluator | 24621 // http://www.w3.org/TR/DOM-Level-3-XPath/xpath.html#XPathEvaluator |
| 24055 @deprecated // experimental | 24622 @deprecated // experimental |
| 24056 class XPathEvaluator native "XPathEvaluator" { | 24623 class XPathEvaluator native "XPathEvaluator" { |
| 24624 // To suppress missing implicit constructor warnings. |
| 24625 factory XPathEvaluator._() { throw new UnsupportedError("Not supported"); } |
| 24057 | 24626 |
| 24058 @DomName('XPathEvaluator.XPathEvaluator') | 24627 @DomName('XPathEvaluator.XPathEvaluator') |
| 24059 @DocsEditable | 24628 @DocsEditable |
| 24060 factory XPathEvaluator() { | 24629 factory XPathEvaluator() { |
| 24061 return XPathEvaluator._create_1(); | 24630 return XPathEvaluator._create_1(); |
| 24062 } | 24631 } |
| 24063 static XPathEvaluator _create_1() => JS('XPathEvaluator', 'new XPathEvaluator(
)'); | 24632 static XPathEvaluator _create_1() => JS('XPathEvaluator', 'new XPathEvaluator(
)'); |
| 24064 | 24633 |
| 24065 @DomName('XPathEvaluator.createExpression') | 24634 @DomName('XPathEvaluator.createExpression') |
| 24066 @DocsEditable | 24635 @DocsEditable |
| (...skipping 10 matching lines...) Expand all Loading... |
| 24077 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 24646 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24078 // for details. All rights reserved. Use of this source code is governed by a | 24647 // for details. All rights reserved. Use of this source code is governed by a |
| 24079 // BSD-style license that can be found in the LICENSE file. | 24648 // BSD-style license that can be found in the LICENSE file. |
| 24080 | 24649 |
| 24081 | 24650 |
| 24082 @DocsEditable | 24651 @DocsEditable |
| 24083 @DomName('XPathException') | 24652 @DomName('XPathException') |
| 24084 // http://www.w3.org/TR/DOM-Level-3-XPath/xpath.html#XPathException | 24653 // http://www.w3.org/TR/DOM-Level-3-XPath/xpath.html#XPathException |
| 24085 @deprecated // experimental | 24654 @deprecated // experimental |
| 24086 class XPathException native "XPathException" { | 24655 class XPathException native "XPathException" { |
| 24656 // To suppress missing implicit constructor warnings. |
| 24657 factory XPathException._() { throw new UnsupportedError("Not supported"); } |
| 24087 | 24658 |
| 24088 @DomName('XPathException.INVALID_EXPRESSION_ERR') | 24659 @DomName('XPathException.INVALID_EXPRESSION_ERR') |
| 24089 @DocsEditable | 24660 @DocsEditable |
| 24090 static const int INVALID_EXPRESSION_ERR = 51; | 24661 static const int INVALID_EXPRESSION_ERR = 51; |
| 24091 | 24662 |
| 24092 @DomName('XPathException.TYPE_ERR') | 24663 @DomName('XPathException.TYPE_ERR') |
| 24093 @DocsEditable | 24664 @DocsEditable |
| 24094 static const int TYPE_ERR = 52; | 24665 static const int TYPE_ERR = 52; |
| 24095 | 24666 |
| 24096 @DomName('XPathException.code') | 24667 @DomName('XPathException.code') |
| (...skipping 17 matching lines...) Expand all Loading... |
| 24114 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 24685 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24115 // for details. All rights reserved. Use of this source code is governed by a | 24686 // for details. All rights reserved. Use of this source code is governed by a |
| 24116 // BSD-style license that can be found in the LICENSE file. | 24687 // BSD-style license that can be found in the LICENSE file. |
| 24117 | 24688 |
| 24118 | 24689 |
| 24119 @DocsEditable | 24690 @DocsEditable |
| 24120 @DomName('XPathExpression') | 24691 @DomName('XPathExpression') |
| 24121 // http://www.w3.org/TR/DOM-Level-3-XPath/xpath.html#XPathExpression | 24692 // http://www.w3.org/TR/DOM-Level-3-XPath/xpath.html#XPathExpression |
| 24122 @deprecated // experimental | 24693 @deprecated // experimental |
| 24123 class XPathExpression native "XPathExpression" { | 24694 class XPathExpression native "XPathExpression" { |
| 24695 // To suppress missing implicit constructor warnings. |
| 24696 factory XPathExpression._() { throw new UnsupportedError("Not supported"); } |
| 24124 | 24697 |
| 24125 @DomName('XPathExpression.evaluate') | 24698 @DomName('XPathExpression.evaluate') |
| 24126 @DocsEditable | 24699 @DocsEditable |
| 24127 XPathResult evaluate(Node contextNode, int type, XPathResult inResult) native; | 24700 XPathResult evaluate(Node contextNode, int type, XPathResult inResult) native; |
| 24128 } | 24701 } |
| 24129 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 24702 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24130 // for details. All rights reserved. Use of this source code is governed by a | 24703 // for details. All rights reserved. Use of this source code is governed by a |
| 24131 // BSD-style license that can be found in the LICENSE file. | 24704 // BSD-style license that can be found in the LICENSE file. |
| 24132 | 24705 |
| 24133 | 24706 |
| 24134 @DocsEditable | 24707 @DocsEditable |
| 24135 @DomName('XPathNSResolver') | 24708 @DomName('XPathNSResolver') |
| 24136 // http://www.w3.org/TR/DOM-Level-3-XPath/xpath.html#XPathNSResolver | 24709 // http://www.w3.org/TR/DOM-Level-3-XPath/xpath.html#XPathNSResolver |
| 24137 @deprecated // experimental | 24710 @deprecated // experimental |
| 24138 class XPathNSResolver native "XPathNSResolver" { | 24711 class XPathNSResolver native "XPathNSResolver" { |
| 24712 // To suppress missing implicit constructor warnings. |
| 24713 factory XPathNSResolver._() { throw new UnsupportedError("Not supported"); } |
| 24139 | 24714 |
| 24140 @JSName('lookupNamespaceURI') | 24715 @JSName('lookupNamespaceURI') |
| 24141 @DomName('XPathNSResolver.lookupNamespaceURI') | 24716 @DomName('XPathNSResolver.lookupNamespaceURI') |
| 24142 @DocsEditable | 24717 @DocsEditable |
| 24143 String lookupNamespaceUri(String prefix) native; | 24718 String lookupNamespaceUri(String prefix) native; |
| 24144 } | 24719 } |
| 24145 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 24720 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24146 // for details. All rights reserved. Use of this source code is governed by a | 24721 // for details. All rights reserved. Use of this source code is governed by a |
| 24147 // BSD-style license that can be found in the LICENSE file. | 24722 // BSD-style license that can be found in the LICENSE file. |
| 24148 | 24723 |
| 24149 | 24724 |
| 24150 @DocsEditable | 24725 @DocsEditable |
| 24151 @DomName('XPathResult') | 24726 @DomName('XPathResult') |
| 24152 // http://www.w3.org/TR/DOM-Level-3-XPath/xpath.html#XPathResult | 24727 // http://www.w3.org/TR/DOM-Level-3-XPath/xpath.html#XPathResult |
| 24153 @deprecated // experimental | 24728 @deprecated // experimental |
| 24154 class XPathResult native "XPathResult" { | 24729 class XPathResult native "XPathResult" { |
| 24730 // To suppress missing implicit constructor warnings. |
| 24731 factory XPathResult._() { throw new UnsupportedError("Not supported"); } |
| 24155 | 24732 |
| 24156 @DomName('XPathResult.ANY_TYPE') | 24733 @DomName('XPathResult.ANY_TYPE') |
| 24157 @DocsEditable | 24734 @DocsEditable |
| 24158 static const int ANY_TYPE = 0; | 24735 static const int ANY_TYPE = 0; |
| 24159 | 24736 |
| 24160 @DomName('XPathResult.ANY_UNORDERED_NODE_TYPE') | 24737 @DomName('XPathResult.ANY_UNORDERED_NODE_TYPE') |
| 24161 @DocsEditable | 24738 @DocsEditable |
| 24162 static const int ANY_UNORDERED_NODE_TYPE = 8; | 24739 static const int ANY_UNORDERED_NODE_TYPE = 8; |
| 24163 | 24740 |
| 24164 @DomName('XPathResult.BOOLEAN_TYPE') | 24741 @DomName('XPathResult.BOOLEAN_TYPE') |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 24232 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 24809 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24233 // for details. All rights reserved. Use of this source code is governed by a | 24810 // for details. All rights reserved. Use of this source code is governed by a |
| 24234 // BSD-style license that can be found in the LICENSE file. | 24811 // BSD-style license that can be found in the LICENSE file. |
| 24235 | 24812 |
| 24236 | 24813 |
| 24237 @DocsEditable | 24814 @DocsEditable |
| 24238 @DomName('XMLSerializer') | 24815 @DomName('XMLSerializer') |
| 24239 // http://domparsing.spec.whatwg.org/#the-xmlserializer-interface | 24816 // http://domparsing.spec.whatwg.org/#the-xmlserializer-interface |
| 24240 @deprecated // stable | 24817 @deprecated // stable |
| 24241 class XmlSerializer native "XMLSerializer" { | 24818 class XmlSerializer native "XMLSerializer" { |
| 24819 // To suppress missing implicit constructor warnings. |
| 24820 factory XmlSerializer._() { throw new UnsupportedError("Not supported"); } |
| 24242 | 24821 |
| 24243 @DomName('XMLSerializer.XMLSerializer') | 24822 @DomName('XMLSerializer.XMLSerializer') |
| 24244 @DocsEditable | 24823 @DocsEditable |
| 24245 factory XmlSerializer() { | 24824 factory XmlSerializer() { |
| 24246 return XmlSerializer._create_1(); | 24825 return XmlSerializer._create_1(); |
| 24247 } | 24826 } |
| 24248 static XmlSerializer _create_1() => JS('XmlSerializer', 'new XMLSerializer()')
; | 24827 static XmlSerializer _create_1() => JS('XmlSerializer', 'new XMLSerializer()')
; |
| 24249 | 24828 |
| 24250 @DomName('XMLSerializer.serializeToString') | 24829 @DomName('XMLSerializer.serializeToString') |
| 24251 @DocsEditable | 24830 @DocsEditable |
| 24252 String serializeToString(Node node) native; | 24831 String serializeToString(Node node) native; |
| 24253 } | 24832 } |
| 24254 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 24833 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24255 // for details. All rights reserved. Use of this source code is governed by a | 24834 // for details. All rights reserved. Use of this source code is governed by a |
| 24256 // BSD-style license that can be found in the LICENSE file. | 24835 // BSD-style license that can be found in the LICENSE file. |
| 24257 | 24836 |
| 24258 | 24837 |
| 24259 @DocsEditable | 24838 @DocsEditable |
| 24260 @DomName('XSLTProcessor') | 24839 @DomName('XSLTProcessor') |
| 24261 @SupportedBrowser(SupportedBrowser.CHROME) | 24840 @SupportedBrowser(SupportedBrowser.CHROME) |
| 24262 @SupportedBrowser(SupportedBrowser.FIREFOX) | 24841 @SupportedBrowser(SupportedBrowser.FIREFOX) |
| 24263 @SupportedBrowser(SupportedBrowser.SAFARI) | 24842 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 24264 @deprecated // nonstandard | 24843 @deprecated // nonstandard |
| 24265 class XsltProcessor native "XSLTProcessor" { | 24844 class XsltProcessor native "XSLTProcessor" { |
| 24845 // To suppress missing implicit constructor warnings. |
| 24846 factory XsltProcessor._() { throw new UnsupportedError("Not supported"); } |
| 24266 | 24847 |
| 24267 @DomName('XSLTProcessor.XSLTProcessor') | 24848 @DomName('XSLTProcessor.XSLTProcessor') |
| 24268 @DocsEditable | 24849 @DocsEditable |
| 24269 factory XsltProcessor() { | 24850 factory XsltProcessor() { |
| 24270 return XsltProcessor._create_1(); | 24851 return XsltProcessor._create_1(); |
| 24271 } | 24852 } |
| 24272 static XsltProcessor _create_1() => JS('XsltProcessor', 'new XSLTProcessor()')
; | 24853 static XsltProcessor _create_1() => JS('XsltProcessor', 'new XSLTProcessor()')
; |
| 24273 | 24854 |
| 24274 /// Checks if this type is supported on the current platform. | 24855 /// Checks if this type is supported on the current platform. |
| 24275 static bool get supported => JS('bool', '!!(window.XSLTProcessor)'); | 24856 static bool get supported => JS('bool', '!!(window.XSLTProcessor)'); |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 24307 DocumentFragment transformToFragment(Node source, Document docVal) native; | 24888 DocumentFragment transformToFragment(Node source, Document docVal) native; |
| 24308 } | 24889 } |
| 24309 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 24890 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24310 // for details. All rights reserved. Use of this source code is governed by a | 24891 // for details. All rights reserved. Use of this source code is governed by a |
| 24311 // BSD-style license that can be found in the LICENSE file. | 24892 // BSD-style license that can be found in the LICENSE file. |
| 24312 | 24893 |
| 24313 | 24894 |
| 24314 @DocsEditable | 24895 @DocsEditable |
| 24315 @DomName('Attr') | 24896 @DomName('Attr') |
| 24316 class _Attr extends Node native "Attr" { | 24897 class _Attr extends Node native "Attr" { |
| 24898 // To suppress missing implicit constructor warnings. |
| 24899 factory _Attr._() { throw new UnsupportedError("Not supported"); } |
| 24317 | 24900 |
| 24318 @DomName('Attr.isId') | 24901 @DomName('Attr.isId') |
| 24319 @DocsEditable | 24902 @DocsEditable |
| 24320 final bool isId; | 24903 final bool isId; |
| 24321 | 24904 |
| 24322 @DomName('Attr.name') | 24905 @DomName('Attr.name') |
| 24323 @DocsEditable | 24906 @DocsEditable |
| 24324 final String name; | 24907 final String name; |
| 24325 | 24908 |
| 24326 @DomName('Attr.ownerElement') | 24909 @DomName('Attr.ownerElement') |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24340 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 24923 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24341 // for details. All rights reserved. Use of this source code is governed by a | 24924 // for details. All rights reserved. Use of this source code is governed by a |
| 24342 // BSD-style license that can be found in the LICENSE file. | 24925 // BSD-style license that can be found in the LICENSE file. |
| 24343 | 24926 |
| 24344 | 24927 |
| 24345 @DocsEditable | 24928 @DocsEditable |
| 24346 @DomName('CSSPrimitiveValue') | 24929 @DomName('CSSPrimitiveValue') |
| 24347 // http://dev.w3.org/csswg/cssom/#the-cssstyledeclaration-interface | 24930 // http://dev.w3.org/csswg/cssom/#the-cssstyledeclaration-interface |
| 24348 @deprecated // deprecated | 24931 @deprecated // deprecated |
| 24349 abstract class _CSSPrimitiveValue extends _CSSValue native "CSSPrimitiveValue" { | 24932 abstract class _CSSPrimitiveValue extends _CSSValue native "CSSPrimitiveValue" { |
| 24933 // To suppress missing implicit constructor warnings. |
| 24934 factory _CSSPrimitiveValue._() { throw new UnsupportedError("Not supported");
} |
| 24350 } | 24935 } |
| 24351 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 24936 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24352 // for details. All rights reserved. Use of this source code is governed by a | 24937 // for details. All rights reserved. Use of this source code is governed by a |
| 24353 // BSD-style license that can be found in the LICENSE file. | 24938 // BSD-style license that can be found in the LICENSE file. |
| 24354 | 24939 |
| 24355 | 24940 |
| 24356 @DocsEditable | 24941 @DocsEditable |
| 24357 @DomName('CSSValue') | 24942 @DomName('CSSValue') |
| 24358 // http://dev.w3.org/csswg/cssom/ | 24943 // http://dev.w3.org/csswg/cssom/ |
| 24359 @deprecated // deprecated | 24944 @deprecated // deprecated |
| 24360 abstract class _CSSValue native "CSSValue" { | 24945 abstract class _CSSValue native "CSSValue" { |
| 24946 // To suppress missing implicit constructor warnings. |
| 24947 factory _CSSValue._() { throw new UnsupportedError("Not supported"); } |
| 24361 } | 24948 } |
| 24362 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 24949 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 24363 // for details. All rights reserved. Use of this source code is governed by a | 24950 // for details. All rights reserved. Use of this source code is governed by a |
| 24364 // BSD-style license that can be found in the LICENSE file. | 24951 // BSD-style license that can be found in the LICENSE file. |
| 24365 | 24952 |
| 24366 | 24953 |
| 24367 @DocsEditable | 24954 @DocsEditable |
| 24368 @DomName('ClientRect') | 24955 @DomName('ClientRect') |
| 24369 class _ClientRect implements Rect native "ClientRect" { | 24956 class _ClientRect implements Rect native "ClientRect" { |
| 24370 | 24957 |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 24452 /** | 25039 /** |
| 24453 * Truncates coordinates to integers and returns the result as a new | 25040 * Truncates coordinates to integers and returns the result as a new |
| 24454 * rectangle. | 25041 * rectangle. |
| 24455 */ | 25042 */ |
| 24456 Rect toInt() => new Rect(left.toInt(), top.toInt(), width.toInt(), | 25043 Rect toInt() => new Rect(left.toInt(), top.toInt(), width.toInt(), |
| 24457 height.toInt()); | 25044 height.toInt()); |
| 24458 | 25045 |
| 24459 Point get topLeft => new Point(this.left, this.top); | 25046 Point get topLeft => new Point(this.left, this.top); |
| 24460 Point get bottomRight => new Point(this.left + this.width, | 25047 Point get bottomRight => new Point(this.left + this.width, |
| 24461 this.top + this.height); | 25048 this.top + this.height); |
| 25049 // To suppress missing implicit constructor warnings. |
| 25050 factory _ClientRect._() { throw new UnsupportedError("Not supported"); } |
| 24462 | 25051 |
| 24463 @DomName('ClientRect.bottom') | 25052 @DomName('ClientRect.bottom') |
| 24464 @DocsEditable | 25053 @DocsEditable |
| 24465 final num bottom; | 25054 final num bottom; |
| 24466 | 25055 |
| 24467 @DomName('ClientRect.height') | 25056 @DomName('ClientRect.height') |
| 24468 @DocsEditable | 25057 @DocsEditable |
| 24469 final num height; | 25058 final num height; |
| 24470 | 25059 |
| 24471 @DomName('ClientRect.left') | 25060 @DomName('ClientRect.left') |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24485 final num width; | 25074 final num width; |
| 24486 } | 25075 } |
| 24487 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 25076 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24488 // for details. All rights reserved. Use of this source code is governed by a | 25077 // for details. All rights reserved. Use of this source code is governed by a |
| 24489 // BSD-style license that can be found in the LICENSE file. | 25078 // BSD-style license that can be found in the LICENSE file. |
| 24490 | 25079 |
| 24491 | 25080 |
| 24492 @DocsEditable | 25081 @DocsEditable |
| 24493 @DomName('ClientRectList') | 25082 @DomName('ClientRectList') |
| 24494 class _ClientRectList extends Interceptor with ListMixin<Rect>, ImmutableListMix
in<Rect> implements JavaScriptIndexingBehavior, List<Rect> native "ClientRectLis
t" { | 25083 class _ClientRectList extends Interceptor with ListMixin<Rect>, ImmutableListMix
in<Rect> implements JavaScriptIndexingBehavior, List<Rect> native "ClientRectLis
t" { |
| 25084 // To suppress missing implicit constructor warnings. |
| 25085 factory _ClientRectList._() { throw new UnsupportedError("Not supported"); } |
| 24495 | 25086 |
| 24496 @DomName('ClientRectList.length') | 25087 @DomName('ClientRectList.length') |
| 24497 @DocsEditable | 25088 @DocsEditable |
| 24498 int get length => JS("int", "#.length", this); | 25089 int get length => JS("int", "#.length", this); |
| 24499 | 25090 |
| 24500 Rect operator[](int index) { | 25091 Rect operator[](int index) { |
| 24501 if (JS("bool", "# >>> 0 !== # || # >= #", index, | 25092 if (JS("bool", "# >>> 0 !== # || # >= #", index, |
| 24502 index, index, length)) | 25093 index, index, length)) |
| 24503 throw new RangeError.range(index, 0, length); | 25094 throw new RangeError.range(index, 0, length); |
| 24504 return JS("Rect", "#[#]", this, index); | 25095 return JS("Rect", "#[#]", this, index); |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 24548 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 25139 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24549 // for details. All rights reserved. Use of this source code is governed by a | 25140 // for details. All rights reserved. Use of this source code is governed by a |
| 24550 // BSD-style license that can be found in the LICENSE file. | 25141 // BSD-style license that can be found in the LICENSE file. |
| 24551 | 25142 |
| 24552 | 25143 |
| 24553 @DocsEditable | 25144 @DocsEditable |
| 24554 @DomName('Counter') | 25145 @DomName('Counter') |
| 24555 // http://dev.w3.org/csswg/cssom/ | 25146 // http://dev.w3.org/csswg/cssom/ |
| 24556 @deprecated // deprecated | 25147 @deprecated // deprecated |
| 24557 abstract class _Counter native "Counter" { | 25148 abstract class _Counter native "Counter" { |
| 25149 // To suppress missing implicit constructor warnings. |
| 25150 factory _Counter._() { throw new UnsupportedError("Not supported"); } |
| 24558 } | 25151 } |
| 24559 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 25152 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24560 // for details. All rights reserved. Use of this source code is governed by a | 25153 // for details. All rights reserved. Use of this source code is governed by a |
| 24561 // BSD-style license that can be found in the LICENSE file. | 25154 // BSD-style license that can be found in the LICENSE file. |
| 24562 | 25155 |
| 24563 | 25156 |
| 24564 @DocsEditable | 25157 @DocsEditable |
| 24565 @DomName('CSSRuleList') | 25158 @DomName('CSSRuleList') |
| 24566 class _CssRuleList extends Interceptor with ListMixin<CssRule>, ImmutableListMix
in<CssRule> implements JavaScriptIndexingBehavior, List<CssRule> native "CSSRule
List" { | 25159 class _CssRuleList extends Interceptor with ListMixin<CssRule>, ImmutableListMix
in<CssRule> implements JavaScriptIndexingBehavior, List<CssRule> native "CSSRule
List" { |
| 25160 // To suppress missing implicit constructor warnings. |
| 25161 factory _CssRuleList._() { throw new UnsupportedError("Not supported"); } |
| 24567 | 25162 |
| 24568 @DomName('CSSRuleList.length') | 25163 @DomName('CSSRuleList.length') |
| 24569 @DocsEditable | 25164 @DocsEditable |
| 24570 int get length => JS("int", "#.length", this); | 25165 int get length => JS("int", "#.length", this); |
| 24571 | 25166 |
| 24572 CssRule operator[](int index) { | 25167 CssRule operator[](int index) { |
| 24573 if (JS("bool", "# >>> 0 !== # || # >= #", index, | 25168 if (JS("bool", "# >>> 0 !== # || # >= #", index, |
| 24574 index, index, length)) | 25169 index, index, length)) |
| 24575 throw new RangeError.range(index, 0, length); | 25170 throw new RangeError.range(index, 0, length); |
| 24576 return JS("CssRule", "#[#]", this, index); | 25171 return JS("CssRule", "#[#]", this, index); |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 24620 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 25215 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24621 // for details. All rights reserved. Use of this source code is governed by a | 25216 // for details. All rights reserved. Use of this source code is governed by a |
| 24622 // BSD-style license that can be found in the LICENSE file. | 25217 // BSD-style license that can be found in the LICENSE file. |
| 24623 | 25218 |
| 24624 | 25219 |
| 24625 @DocsEditable | 25220 @DocsEditable |
| 24626 @DomName('CSSValueList') | 25221 @DomName('CSSValueList') |
| 24627 // http://dev.w3.org/csswg/cssom/ | 25222 // http://dev.w3.org/csswg/cssom/ |
| 24628 @deprecated // deprecated | 25223 @deprecated // deprecated |
| 24629 class _CssValueList extends _CSSValue with ListMixin<_CSSValue>, ImmutableListMi
xin<_CSSValue> implements JavaScriptIndexingBehavior, List<_CSSValue> native "CS
SValueList" { | 25224 class _CssValueList extends _CSSValue with ListMixin<_CSSValue>, ImmutableListMi
xin<_CSSValue> implements JavaScriptIndexingBehavior, List<_CSSValue> native "CS
SValueList" { |
| 25225 // To suppress missing implicit constructor warnings. |
| 25226 factory _CssValueList._() { throw new UnsupportedError("Not supported"); } |
| 24630 | 25227 |
| 24631 @DomName('CSSValueList.length') | 25228 @DomName('CSSValueList.length') |
| 24632 @DocsEditable | 25229 @DocsEditable |
| 24633 int get length => JS("int", "#.length", this); | 25230 int get length => JS("int", "#.length", this); |
| 24634 | 25231 |
| 24635 _CSSValue operator[](int index) { | 25232 _CSSValue operator[](int index) { |
| 24636 if (JS("bool", "# >>> 0 !== # || # >= #", index, | 25233 if (JS("bool", "# >>> 0 !== # || # >= #", index, |
| 24637 index, index, length)) | 25234 index, index, length)) |
| 24638 throw new RangeError.range(index, 0, length); | 25235 throw new RangeError.range(index, 0, length); |
| 24639 return JS("_CSSValue", "#[#]", this, index); | 25236 return JS("_CSSValue", "#[#]", this, index); |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 24684 // for details. All rights reserved. Use of this source code is governed by a | 25281 // for details. All rights reserved. Use of this source code is governed by a |
| 24685 // BSD-style license that can be found in the LICENSE file. | 25282 // BSD-style license that can be found in the LICENSE file. |
| 24686 | 25283 |
| 24687 | 25284 |
| 24688 @DocsEditable | 25285 @DocsEditable |
| 24689 @DomName('DOMFileSystemSync') | 25286 @DomName('DOMFileSystemSync') |
| 24690 @SupportedBrowser(SupportedBrowser.CHROME) | 25287 @SupportedBrowser(SupportedBrowser.CHROME) |
| 24691 @Experimental | 25288 @Experimental |
| 24692 // http://www.w3.org/TR/file-system-api/#the-filesystemsync-interface | 25289 // http://www.w3.org/TR/file-system-api/#the-filesystemsync-interface |
| 24693 abstract class _DOMFileSystemSync native "DOMFileSystemSync" { | 25290 abstract class _DOMFileSystemSync native "DOMFileSystemSync" { |
| 25291 // To suppress missing implicit constructor warnings. |
| 25292 factory _DOMFileSystemSync._() { throw new UnsupportedError("Not supported");
} |
| 24694 } | 25293 } |
| 24695 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 25294 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24696 // for details. All rights reserved. Use of this source code is governed by a | 25295 // for details. All rights reserved. Use of this source code is governed by a |
| 24697 // BSD-style license that can be found in the LICENSE file. | 25296 // BSD-style license that can be found in the LICENSE file. |
| 24698 | 25297 |
| 24699 | 25298 |
| 24700 @DocsEditable | 25299 @DocsEditable |
| 24701 @DomName('DatabaseSync') | 25300 @DomName('DatabaseSync') |
| 24702 @SupportedBrowser(SupportedBrowser.CHROME) | 25301 @SupportedBrowser(SupportedBrowser.CHROME) |
| 24703 @SupportedBrowser(SupportedBrowser.SAFARI) | 25302 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 24704 @Experimental | 25303 @Experimental |
| 24705 // http://www.w3.org/TR/webdatabase/#databasesync | 25304 // http://www.w3.org/TR/webdatabase/#databasesync |
| 24706 @deprecated // deprecated | 25305 @deprecated // deprecated |
| 24707 abstract class _DatabaseSync native "DatabaseSync" { | 25306 abstract class _DatabaseSync native "DatabaseSync" { |
| 25307 // To suppress missing implicit constructor warnings. |
| 25308 factory _DatabaseSync._() { throw new UnsupportedError("Not supported"); } |
| 24708 } | 25309 } |
| 24709 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 25310 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24710 // for details. All rights reserved. Use of this source code is governed by a | 25311 // for details. All rights reserved. Use of this source code is governed by a |
| 24711 // BSD-style license that can be found in the LICENSE file. | 25312 // BSD-style license that can be found in the LICENSE file. |
| 24712 | 25313 |
| 24713 | 25314 |
| 24714 @DocsEditable | 25315 @DocsEditable |
| 24715 @DomName('DedicatedWorkerContext') | 25316 @DomName('DedicatedWorkerContext') |
| 24716 // http://www.whatwg.org/specs/web-apps/current-work/multipage/workers.html | 25317 // http://www.whatwg.org/specs/web-apps/current-work/multipage/workers.html |
| 24717 @Experimental | 25318 @Experimental |
| 24718 abstract class _DedicatedWorkerContext extends _WorkerContext native "DedicatedW
orkerContext" { | 25319 abstract class _DedicatedWorkerContext extends _WorkerContext native "DedicatedW
orkerContext" { |
| 25320 // To suppress missing implicit constructor warnings. |
| 25321 factory _DedicatedWorkerContext._() { throw new UnsupportedError("Not supporte
d"); } |
| 24719 } | 25322 } |
| 24720 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 25323 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24721 // for details. All rights reserved. Use of this source code is governed by a | 25324 // for details. All rights reserved. Use of this source code is governed by a |
| 24722 // BSD-style license that can be found in the LICENSE file. | 25325 // BSD-style license that can be found in the LICENSE file. |
| 24723 | 25326 |
| 24724 | 25327 |
| 24725 @DocsEditable | 25328 @DocsEditable |
| 24726 @DomName('DirectoryEntrySync') | 25329 @DomName('DirectoryEntrySync') |
| 24727 // http://www.w3.org/TR/file-system-api/#the-directoryentrysync-interface | 25330 // http://www.w3.org/TR/file-system-api/#the-directoryentrysync-interface |
| 24728 @Experimental | 25331 @Experimental |
| 24729 abstract class _DirectoryEntrySync extends _EntrySync native "DirectoryEntrySync
" { | 25332 abstract class _DirectoryEntrySync extends _EntrySync native "DirectoryEntrySync
" { |
| 25333 // To suppress missing implicit constructor warnings. |
| 25334 factory _DirectoryEntrySync._() { throw new UnsupportedError("Not supported");
} |
| 24730 } | 25335 } |
| 24731 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 25336 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24732 // for details. All rights reserved. Use of this source code is governed by a | 25337 // for details. All rights reserved. Use of this source code is governed by a |
| 24733 // BSD-style license that can be found in the LICENSE file. | 25338 // BSD-style license that can be found in the LICENSE file. |
| 24734 | 25339 |
| 24735 | 25340 |
| 24736 @DocsEditable | 25341 @DocsEditable |
| 24737 @DomName('DirectoryReaderSync') | 25342 @DomName('DirectoryReaderSync') |
| 24738 // http://www.w3.org/TR/file-system-api/#idl-def-DirectoryReaderSync | 25343 // http://www.w3.org/TR/file-system-api/#idl-def-DirectoryReaderSync |
| 24739 @Experimental | 25344 @Experimental |
| 24740 abstract class _DirectoryReaderSync native "DirectoryReaderSync" { | 25345 abstract class _DirectoryReaderSync native "DirectoryReaderSync" { |
| 25346 // To suppress missing implicit constructor warnings. |
| 25347 factory _DirectoryReaderSync._() { throw new UnsupportedError("Not supported")
; } |
| 24741 } | 25348 } |
| 24742 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 25349 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24743 // for details. All rights reserved. Use of this source code is governed by a | 25350 // for details. All rights reserved. Use of this source code is governed by a |
| 24744 // BSD-style license that can be found in the LICENSE file. | 25351 // BSD-style license that can be found in the LICENSE file. |
| 24745 | 25352 |
| 24746 | 25353 |
| 24747 @DocsEditable | 25354 @DocsEditable |
| 24748 @DomName('WebKitPoint') | 25355 @DomName('WebKitPoint') |
| 24749 @SupportedBrowser(SupportedBrowser.CHROME) | 25356 @SupportedBrowser(SupportedBrowser.CHROME) |
| 24750 @SupportedBrowser(SupportedBrowser.SAFARI) | 25357 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 24751 @Experimental | 25358 @Experimental |
| 24752 // http://developer.apple.com/library/safari/#documentation/DataManagement/Refer
ence/DOMWindowAdditionsReference/DOMWindowAdditions/DOMWindowAdditions.html | 25359 // http://developer.apple.com/library/safari/#documentation/DataManagement/Refer
ence/DOMWindowAdditionsReference/DOMWindowAdditions/DOMWindowAdditions.html |
| 24753 @Experimental // non-standard | 25360 @Experimental // non-standard |
| 24754 class _DomPoint native "WebKitPoint" { | 25361 class _DomPoint native "WebKitPoint" { |
| 25362 // To suppress missing implicit constructor warnings. |
| 25363 factory _DomPoint._() { throw new UnsupportedError("Not supported"); } |
| 24755 | 25364 |
| 24756 @DomName('WebKitPoint.DOMPoint') | 25365 @DomName('WebKitPoint.DOMPoint') |
| 24757 @DocsEditable | 25366 @DocsEditable |
| 24758 factory _DomPoint(num x, num y) { | 25367 factory _DomPoint(num x, num y) { |
| 24759 return _DomPoint._create_1(x, y); | 25368 return _DomPoint._create_1(x, y); |
| 24760 } | 25369 } |
| 24761 static _DomPoint _create_1(x, y) => JS('_DomPoint', 'new WebKitPoint(#,#)', x,
y); | 25370 static _DomPoint _create_1(x, y) => JS('_DomPoint', 'new WebKitPoint(#,#)', x,
y); |
| 24762 | 25371 |
| 24763 /// Checks if this type is supported on the current platform. | 25372 /// Checks if this type is supported on the current platform. |
| 24764 static bool get supported => JS('bool', '!!(window.WebKitPoint)'); | 25373 static bool get supported => JS('bool', '!!(window.WebKitPoint)'); |
| 24765 | 25374 |
| 24766 @DomName('WebKitPoint.x') | 25375 @DomName('WebKitPoint.x') |
| 24767 @DocsEditable | 25376 @DocsEditable |
| 24768 num x; | 25377 num x; |
| 24769 | 25378 |
| 24770 @DomName('WebKitPoint.y') | 25379 @DomName('WebKitPoint.y') |
| 24771 @DocsEditable | 25380 @DocsEditable |
| 24772 num y; | 25381 num y; |
| 24773 } | 25382 } |
| 24774 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 25383 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24775 // for details. All rights reserved. Use of this source code is governed by a | 25384 // for details. All rights reserved. Use of this source code is governed by a |
| 24776 // BSD-style license that can be found in the LICENSE file. | 25385 // BSD-style license that can be found in the LICENSE file. |
| 24777 | 25386 |
| 24778 | 25387 |
| 24779 @DocsEditable | 25388 @DocsEditable |
| 24780 @DomName('Entity') | 25389 @DomName('Entity') |
| 24781 @deprecated // deprecated | 25390 @deprecated // deprecated |
| 24782 class _Entity extends Node native "Entity" { | 25391 class _Entity extends Node native "Entity" { |
| 25392 // To suppress missing implicit constructor warnings. |
| 25393 factory _Entity._() { throw new UnsupportedError("Not supported"); } |
| 24783 | 25394 |
| 24784 @DomName('Entity.notationName') | 25395 @DomName('Entity.notationName') |
| 24785 @DocsEditable | 25396 @DocsEditable |
| 24786 final String notationName; | 25397 final String notationName; |
| 24787 | 25398 |
| 24788 @DomName('Entity.publicId') | 25399 @DomName('Entity.publicId') |
| 24789 @DocsEditable | 25400 @DocsEditable |
| 24790 final String publicId; | 25401 final String publicId; |
| 24791 | 25402 |
| 24792 @DomName('Entity.systemId') | 25403 @DomName('Entity.systemId') |
| 24793 @DocsEditable | 25404 @DocsEditable |
| 24794 final String systemId; | 25405 final String systemId; |
| 24795 } | 25406 } |
| 24796 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 25407 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24797 // for details. All rights reserved. Use of this source code is governed by a | 25408 // for details. All rights reserved. Use of this source code is governed by a |
| 24798 // BSD-style license that can be found in the LICENSE file. | 25409 // BSD-style license that can be found in the LICENSE file. |
| 24799 | 25410 |
| 24800 | 25411 |
| 24801 @DocsEditable | 25412 @DocsEditable |
| 24802 @DomName('EntryArray') | 25413 @DomName('EntryArray') |
| 24803 // http://www.w3.org/TR/file-system-api/#the-entry-interface | 25414 // http://www.w3.org/TR/file-system-api/#the-entry-interface |
| 24804 @Experimental | 25415 @Experimental |
| 24805 class _EntryArray extends Interceptor with ListMixin<Entry>, ImmutableListMixin<
Entry> implements JavaScriptIndexingBehavior, List<Entry> native "EntryArray" { | 25416 class _EntryArray extends Interceptor with ListMixin<Entry>, ImmutableListMixin<
Entry> implements JavaScriptIndexingBehavior, List<Entry> native "EntryArray" { |
| 25417 // To suppress missing implicit constructor warnings. |
| 25418 factory _EntryArray._() { throw new UnsupportedError("Not supported"); } |
| 24806 | 25419 |
| 24807 @DomName('EntryArray.length') | 25420 @DomName('EntryArray.length') |
| 24808 @DocsEditable | 25421 @DocsEditable |
| 24809 int get length => JS("int", "#.length", this); | 25422 int get length => JS("int", "#.length", this); |
| 24810 | 25423 |
| 24811 Entry operator[](int index) { | 25424 Entry operator[](int index) { |
| 24812 if (JS("bool", "# >>> 0 !== # || # >= #", index, | 25425 if (JS("bool", "# >>> 0 !== # || # >= #", index, |
| 24813 index, index, length)) | 25426 index, index, length)) |
| 24814 throw new RangeError.range(index, 0, length); | 25427 throw new RangeError.range(index, 0, length); |
| 24815 return JS("Entry", "#[#]", this, index); | 25428 return JS("Entry", "#[#]", this, index); |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 24859 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 25472 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24860 // for details. All rights reserved. Use of this source code is governed by a | 25473 // for details. All rights reserved. Use of this source code is governed by a |
| 24861 // BSD-style license that can be found in the LICENSE file. | 25474 // BSD-style license that can be found in the LICENSE file. |
| 24862 | 25475 |
| 24863 | 25476 |
| 24864 @DocsEditable | 25477 @DocsEditable |
| 24865 @DomName('EntryArraySync') | 25478 @DomName('EntryArraySync') |
| 24866 // http://www.w3.org/TR/file-system-api/#idl-def-EntrySync | 25479 // http://www.w3.org/TR/file-system-api/#idl-def-EntrySync |
| 24867 @Experimental | 25480 @Experimental |
| 24868 class _EntryArraySync extends Interceptor with ListMixin<_EntrySync>, ImmutableL
istMixin<_EntrySync> implements JavaScriptIndexingBehavior, List<_EntrySync> nat
ive "EntryArraySync" { | 25481 class _EntryArraySync extends Interceptor with ListMixin<_EntrySync>, ImmutableL
istMixin<_EntrySync> implements JavaScriptIndexingBehavior, List<_EntrySync> nat
ive "EntryArraySync" { |
| 25482 // To suppress missing implicit constructor warnings. |
| 25483 factory _EntryArraySync._() { throw new UnsupportedError("Not supported"); } |
| 24869 | 25484 |
| 24870 @DomName('EntryArraySync.length') | 25485 @DomName('EntryArraySync.length') |
| 24871 @DocsEditable | 25486 @DocsEditable |
| 24872 int get length => JS("int", "#.length", this); | 25487 int get length => JS("int", "#.length", this); |
| 24873 | 25488 |
| 24874 _EntrySync operator[](int index) { | 25489 _EntrySync operator[](int index) { |
| 24875 if (JS("bool", "# >>> 0 !== # || # >= #", index, | 25490 if (JS("bool", "# >>> 0 !== # || # >= #", index, |
| 24876 index, index, length)) | 25491 index, index, length)) |
| 24877 throw new RangeError.range(index, 0, length); | 25492 throw new RangeError.range(index, 0, length); |
| 24878 return JS("_EntrySync", "#[#]", this, index); | 25493 return JS("_EntrySync", "#[#]", this, index); |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 24922 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 25537 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24923 // for details. All rights reserved. Use of this source code is governed by a | 25538 // for details. All rights reserved. Use of this source code is governed by a |
| 24924 // BSD-style license that can be found in the LICENSE file. | 25539 // BSD-style license that can be found in the LICENSE file. |
| 24925 | 25540 |
| 24926 | 25541 |
| 24927 @DocsEditable | 25542 @DocsEditable |
| 24928 @DomName('EntrySync') | 25543 @DomName('EntrySync') |
| 24929 // http://www.w3.org/TR/file-system-api/#idl-def-EntrySync | 25544 // http://www.w3.org/TR/file-system-api/#idl-def-EntrySync |
| 24930 @Experimental | 25545 @Experimental |
| 24931 abstract class _EntrySync native "EntrySync" { | 25546 abstract class _EntrySync native "EntrySync" { |
| 25547 // To suppress missing implicit constructor warnings. |
| 25548 factory _EntrySync._() { throw new UnsupportedError("Not supported"); } |
| 24932 } | 25549 } |
| 24933 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 25550 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24934 // for details. All rights reserved. Use of this source code is governed by a | 25551 // for details. All rights reserved. Use of this source code is governed by a |
| 24935 // BSD-style license that can be found in the LICENSE file. | 25552 // BSD-style license that can be found in the LICENSE file. |
| 24936 | 25553 |
| 24937 | 25554 |
| 24938 @DocsEditable | 25555 @DocsEditable |
| 24939 @DomName('FileEntrySync') | 25556 @DomName('FileEntrySync') |
| 24940 // http://www.w3.org/TR/file-system-api/#the-fileentrysync-interface | 25557 // http://www.w3.org/TR/file-system-api/#the-fileentrysync-interface |
| 24941 @Experimental | 25558 @Experimental |
| 24942 abstract class _FileEntrySync extends _EntrySync native "FileEntrySync" { | 25559 abstract class _FileEntrySync extends _EntrySync native "FileEntrySync" { |
| 25560 // To suppress missing implicit constructor warnings. |
| 25561 factory _FileEntrySync._() { throw new UnsupportedError("Not supported"); } |
| 24943 } | 25562 } |
| 24944 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 25563 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24945 // for details. All rights reserved. Use of this source code is governed by a | 25564 // for details. All rights reserved. Use of this source code is governed by a |
| 24946 // BSD-style license that can be found in the LICENSE file. | 25565 // BSD-style license that can be found in the LICENSE file. |
| 24947 | 25566 |
| 24948 | 25567 |
| 24949 @DocsEditable | 25568 @DocsEditable |
| 24950 @DomName('FileReaderSync') | 25569 @DomName('FileReaderSync') |
| 24951 // http://www.w3.org/TR/FileAPI/#FileReaderSync | 25570 // http://www.w3.org/TR/FileAPI/#FileReaderSync |
| 24952 @Experimental | 25571 @Experimental |
| 24953 abstract class _FileReaderSync native "FileReaderSync" { | 25572 abstract class _FileReaderSync native "FileReaderSync" { |
| 25573 // To suppress missing implicit constructor warnings. |
| 25574 factory _FileReaderSync._() { throw new UnsupportedError("Not supported"); } |
| 24954 | 25575 |
| 24955 @DomName('FileReaderSync.FileReaderSync') | 25576 @DomName('FileReaderSync.FileReaderSync') |
| 24956 @DocsEditable | 25577 @DocsEditable |
| 24957 factory _FileReaderSync() { | 25578 factory _FileReaderSync() { |
| 24958 return _FileReaderSync._create_1(); | 25579 return _FileReaderSync._create_1(); |
| 24959 } | 25580 } |
| 24960 static _FileReaderSync _create_1() => JS('_FileReaderSync', 'new FileReaderSyn
c()'); | 25581 static _FileReaderSync _create_1() => JS('_FileReaderSync', 'new FileReaderSyn
c()'); |
| 24961 } | 25582 } |
| 24962 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 25583 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24963 // for details. All rights reserved. Use of this source code is governed by a | 25584 // for details. All rights reserved. Use of this source code is governed by a |
| 24964 // BSD-style license that can be found in the LICENSE file. | 25585 // BSD-style license that can be found in the LICENSE file. |
| 24965 | 25586 |
| 24966 | 25587 |
| 24967 @DocsEditable | 25588 @DocsEditable |
| 24968 @DomName('FileWriterSync') | 25589 @DomName('FileWriterSync') |
| 24969 // http://www.w3.org/TR/file-writer-api/#idl-def-FileWriterSync | 25590 // http://www.w3.org/TR/file-writer-api/#idl-def-FileWriterSync |
| 24970 @Experimental | 25591 @Experimental |
| 24971 abstract class _FileWriterSync native "FileWriterSync" { | 25592 abstract class _FileWriterSync native "FileWriterSync" { |
| 25593 // To suppress missing implicit constructor warnings. |
| 25594 factory _FileWriterSync._() { throw new UnsupportedError("Not supported"); } |
| 24972 } | 25595 } |
| 24973 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 25596 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24974 // for details. All rights reserved. Use of this source code is governed by a | 25597 // for details. All rights reserved. Use of this source code is governed by a |
| 24975 // BSD-style license that can be found in the LICENSE file. | 25598 // BSD-style license that can be found in the LICENSE file. |
| 24976 | 25599 |
| 24977 | 25600 |
| 24978 @DocsEditable | 25601 @DocsEditable |
| 24979 @DomName('GamepadList') | 25602 @DomName('GamepadList') |
| 24980 // https://dvcs.w3.org/hg/gamepad/raw-file/default/gamepad.html | 25603 // https://dvcs.w3.org/hg/gamepad/raw-file/default/gamepad.html |
| 24981 @Experimental | 25604 @Experimental |
| 24982 class _GamepadList extends Interceptor with ListMixin<Gamepad>, ImmutableListMix
in<Gamepad> implements JavaScriptIndexingBehavior, List<Gamepad> native "Gamepad
List" { | 25605 class _GamepadList extends Interceptor with ListMixin<Gamepad>, ImmutableListMix
in<Gamepad> implements JavaScriptIndexingBehavior, List<Gamepad> native "Gamepad
List" { |
| 25606 // To suppress missing implicit constructor warnings. |
| 25607 factory _GamepadList._() { throw new UnsupportedError("Not supported"); } |
| 24983 | 25608 |
| 24984 @DomName('GamepadList.length') | 25609 @DomName('GamepadList.length') |
| 24985 @DocsEditable | 25610 @DocsEditable |
| 24986 int get length => JS("int", "#.length", this); | 25611 int get length => JS("int", "#.length", this); |
| 24987 | 25612 |
| 24988 Gamepad operator[](int index) { | 25613 Gamepad operator[](int index) { |
| 24989 if (JS("bool", "# >>> 0 !== # || # >= #", index, | 25614 if (JS("bool", "# >>> 0 !== # || # >= #", index, |
| 24990 index, index, length)) | 25615 index, index, length)) |
| 24991 throw new RangeError.range(index, 0, length); | 25616 throw new RangeError.range(index, 0, length); |
| 24992 return JS("Gamepad", "#[#]", this, index); | 25617 return JS("Gamepad", "#[#]", this, index); |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 25036 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 25661 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25037 // for details. All rights reserved. Use of this source code is governed by a | 25662 // for details. All rights reserved. Use of this source code is governed by a |
| 25038 // BSD-style license that can be found in the LICENSE file. | 25663 // BSD-style license that can be found in the LICENSE file. |
| 25039 | 25664 |
| 25040 | 25665 |
| 25041 @DocsEditable | 25666 @DocsEditable |
| 25042 @DomName('HTMLAppletElement') | 25667 @DomName('HTMLAppletElement') |
| 25043 // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#the
-applet-element | 25668 // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#the
-applet-element |
| 25044 @deprecated // deprecated | 25669 @deprecated // deprecated |
| 25045 abstract class _HTMLAppletElement extends _HTMLElement native "HTMLAppletElement
" { | 25670 abstract class _HTMLAppletElement extends _HTMLElement native "HTMLAppletElement
" { |
| 25671 // To suppress missing implicit constructor warnings. |
| 25672 factory _HTMLAppletElement._() { throw new UnsupportedError("Not supported");
} |
| 25046 } | 25673 } |
| 25047 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 25674 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25048 // for details. All rights reserved. Use of this source code is governed by a | 25675 // for details. All rights reserved. Use of this source code is governed by a |
| 25049 // BSD-style license that can be found in the LICENSE file. | 25676 // BSD-style license that can be found in the LICENSE file. |
| 25050 | 25677 |
| 25051 | 25678 |
| 25052 @DocsEditable | 25679 @DocsEditable |
| 25053 @DomName('HTMLBaseFontElement') | 25680 @DomName('HTMLBaseFontElement') |
| 25054 // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#bas
efont | 25681 // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#bas
efont |
| 25055 @deprecated // deprecated | 25682 @deprecated // deprecated |
| 25056 abstract class _HTMLBaseFontElement extends _HTMLElement native "HTMLBaseFontEle
ment" { | 25683 abstract class _HTMLBaseFontElement extends _HTMLElement native "HTMLBaseFontEle
ment" { |
| 25684 // To suppress missing implicit constructor warnings. |
| 25685 factory _HTMLBaseFontElement._() { throw new UnsupportedError("Not supported")
; } |
| 25057 } | 25686 } |
| 25058 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 25687 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25059 // for details. All rights reserved. Use of this source code is governed by a | 25688 // for details. All rights reserved. Use of this source code is governed by a |
| 25060 // BSD-style license that can be found in the LICENSE file. | 25689 // BSD-style license that can be found in the LICENSE file. |
| 25061 | 25690 |
| 25062 | 25691 |
| 25063 @DocsEditable | 25692 @DocsEditable |
| 25064 @DomName('HTMLDirectoryElement') | 25693 @DomName('HTMLDirectoryElement') |
| 25065 // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#dir | 25694 // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#dir |
| 25066 @deprecated // deprecated | 25695 @deprecated // deprecated |
| 25067 abstract class _HTMLDirectoryElement extends _HTMLElement native "HTMLDirectoryE
lement" { | 25696 abstract class _HTMLDirectoryElement extends _HTMLElement native "HTMLDirectoryE
lement" { |
| 25697 // To suppress missing implicit constructor warnings. |
| 25698 factory _HTMLDirectoryElement._() { throw new UnsupportedError("Not supported"
); } |
| 25068 } | 25699 } |
| 25069 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 25700 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25070 // for details. All rights reserved. Use of this source code is governed by a | 25701 // for details. All rights reserved. Use of this source code is governed by a |
| 25071 // BSD-style license that can be found in the LICENSE file. | 25702 // BSD-style license that can be found in the LICENSE file. |
| 25072 | 25703 |
| 25073 | 25704 |
| 25074 @DocsEditable | 25705 @DocsEditable |
| 25075 @DomName('HTMLFontElement') | 25706 @DomName('HTMLFontElement') |
| 25076 // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#htm
lfontelement | 25707 // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#htm
lfontelement |
| 25077 @deprecated // deprecated | 25708 @deprecated // deprecated |
| 25078 abstract class _HTMLFontElement extends _HTMLElement native "HTMLFontElement" { | 25709 abstract class _HTMLFontElement extends _HTMLElement native "HTMLFontElement" { |
| 25710 // To suppress missing implicit constructor warnings. |
| 25711 factory _HTMLFontElement._() { throw new UnsupportedError("Not supported"); } |
| 25079 } | 25712 } |
| 25080 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 25713 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25081 // for details. All rights reserved. Use of this source code is governed by a | 25714 // for details. All rights reserved. Use of this source code is governed by a |
| 25082 // BSD-style license that can be found in the LICENSE file. | 25715 // BSD-style license that can be found in the LICENSE file. |
| 25083 | 25716 |
| 25084 | 25717 |
| 25085 @DocsEditable | 25718 @DocsEditable |
| 25086 @DomName('HTMLFrameElement') | 25719 @DomName('HTMLFrameElement') |
| 25087 // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#htm
lframeelement | 25720 // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#htm
lframeelement |
| 25088 @deprecated // deprecated | 25721 @deprecated // deprecated |
| 25089 abstract class _HTMLFrameElement extends _HTMLElement native "HTMLFrameElement"
{ | 25722 abstract class _HTMLFrameElement extends _HTMLElement native "HTMLFrameElement"
{ |
| 25723 // To suppress missing implicit constructor warnings. |
| 25724 factory _HTMLFrameElement._() { throw new UnsupportedError("Not supported"); } |
| 25090 } | 25725 } |
| 25091 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 25726 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25092 // for details. All rights reserved. Use of this source code is governed by a | 25727 // for details. All rights reserved. Use of this source code is governed by a |
| 25093 // BSD-style license that can be found in the LICENSE file. | 25728 // BSD-style license that can be found in the LICENSE file. |
| 25094 | 25729 |
| 25095 | 25730 |
| 25096 @DocsEditable | 25731 @DocsEditable |
| 25097 @DomName('HTMLFrameSetElement') | 25732 @DomName('HTMLFrameSetElement') |
| 25098 // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#fra
meset | 25733 // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#fra
meset |
| 25099 @deprecated // deprecated | 25734 @deprecated // deprecated |
| 25100 abstract class _HTMLFrameSetElement extends _HTMLElement native "HTMLFrameSetEle
ment" { | 25735 abstract class _HTMLFrameSetElement extends _HTMLElement native "HTMLFrameSetEle
ment" { |
| 25736 // To suppress missing implicit constructor warnings. |
| 25737 factory _HTMLFrameSetElement._() { throw new UnsupportedError("Not supported")
; } |
| 25101 } | 25738 } |
| 25102 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 25739 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25103 // for details. All rights reserved. Use of this source code is governed by a | 25740 // for details. All rights reserved. Use of this source code is governed by a |
| 25104 // BSD-style license that can be found in the LICENSE file. | 25741 // BSD-style license that can be found in the LICENSE file. |
| 25105 | 25742 |
| 25106 | 25743 |
| 25107 @DocsEditable | 25744 @DocsEditable |
| 25108 @DomName('HTMLMarqueeElement') | 25745 @DomName('HTMLMarqueeElement') |
| 25109 // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#the
-marquee-element | 25746 // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#the
-marquee-element |
| 25110 @deprecated // deprecated | 25747 @deprecated // deprecated |
| 25111 abstract class _HTMLMarqueeElement extends _HTMLElement native "HTMLMarqueeEleme
nt" { | 25748 abstract class _HTMLMarqueeElement extends _HTMLElement native "HTMLMarqueeEleme
nt" { |
| 25749 // To suppress missing implicit constructor warnings. |
| 25750 factory _HTMLMarqueeElement._() { throw new UnsupportedError("Not supported");
} |
| 25112 } | 25751 } |
| 25113 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 25752 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25114 // for details. All rights reserved. Use of this source code is governed by a | 25753 // for details. All rights reserved. Use of this source code is governed by a |
| 25115 // BSD-style license that can be found in the LICENSE file. | 25754 // BSD-style license that can be found in the LICENSE file. |
| 25116 | 25755 |
| 25117 | 25756 |
| 25118 @DocsEditable | 25757 @DocsEditable |
| 25119 @DomName('NamedNodeMap') | 25758 @DomName('NamedNodeMap') |
| 25120 // http://dom.spec.whatwg.org/#namednodemap | 25759 // http://dom.spec.whatwg.org/#namednodemap |
| 25121 @deprecated // deprecated | 25760 @deprecated // deprecated |
| 25122 class _NamedNodeMap extends Interceptor with ListMixin<Node>, ImmutableListMixin
<Node> implements JavaScriptIndexingBehavior, List<Node> native "NamedNodeMap" { | 25761 class _NamedNodeMap extends Interceptor with ListMixin<Node>, ImmutableListMixin
<Node> implements JavaScriptIndexingBehavior, List<Node> native "NamedNodeMap" { |
| 25762 // To suppress missing implicit constructor warnings. |
| 25763 factory _NamedNodeMap._() { throw new UnsupportedError("Not supported"); } |
| 25123 | 25764 |
| 25124 @DomName('NamedNodeMap.length') | 25765 @DomName('NamedNodeMap.length') |
| 25125 @DocsEditable | 25766 @DocsEditable |
| 25126 int get length => JS("int", "#.length", this); | 25767 int get length => JS("int", "#.length", this); |
| 25127 | 25768 |
| 25128 Node operator[](int index) { | 25769 Node operator[](int index) { |
| 25129 if (JS("bool", "# >>> 0 !== # || # >= #", index, | 25770 if (JS("bool", "# >>> 0 !== # || # >= #", index, |
| 25130 index, index, length)) | 25771 index, index, length)) |
| 25131 throw new RangeError.range(index, 0, length); | 25772 throw new RangeError.range(index, 0, length); |
| 25132 return JS("Node", "#[#]", this, index); | 25773 return JS("Node", "#[#]", this, index); |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 25203 } | 25844 } |
| 25204 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 25845 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25205 // for details. All rights reserved. Use of this source code is governed by a | 25846 // for details. All rights reserved. Use of this source code is governed by a |
| 25206 // BSD-style license that can be found in the LICENSE file. | 25847 // BSD-style license that can be found in the LICENSE file. |
| 25207 | 25848 |
| 25208 | 25849 |
| 25209 @DocsEditable | 25850 @DocsEditable |
| 25210 @DomName('PagePopupController') | 25851 @DomName('PagePopupController') |
| 25211 @deprecated // nonstandard | 25852 @deprecated // nonstandard |
| 25212 abstract class _PagePopupController native "PagePopupController" { | 25853 abstract class _PagePopupController native "PagePopupController" { |
| 25854 // To suppress missing implicit constructor warnings. |
| 25855 factory _PagePopupController._() { throw new UnsupportedError("Not supported")
; } |
| 25213 } | 25856 } |
| 25214 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 25857 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25215 // for details. All rights reserved. Use of this source code is governed by a | 25858 // for details. All rights reserved. Use of this source code is governed by a |
| 25216 // BSD-style license that can be found in the LICENSE file. | 25859 // BSD-style license that can be found in the LICENSE file. |
| 25217 | 25860 |
| 25218 | 25861 |
| 25219 @DocsEditable | 25862 @DocsEditable |
| 25220 @DomName('RGBColor') | 25863 @DomName('RGBColor') |
| 25221 // http://dev.w3.org/csswg/cssom/ | 25864 // http://dev.w3.org/csswg/cssom/ |
| 25222 @deprecated // deprecated | 25865 @deprecated // deprecated |
| 25223 abstract class _RGBColor native "RGBColor" { | 25866 abstract class _RGBColor native "RGBColor" { |
| 25867 // To suppress missing implicit constructor warnings. |
| 25868 factory _RGBColor._() { throw new UnsupportedError("Not supported"); } |
| 25224 } | 25869 } |
| 25225 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 25870 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 25226 // for details. All rights reserved. Use of this source code is governed by a | 25871 // for details. All rights reserved. Use of this source code is governed by a |
| 25227 // BSD-style license that can be found in the LICENSE file. | 25872 // BSD-style license that can be found in the LICENSE file. |
| 25228 | 25873 |
| 25229 | 25874 |
| 25230 // Omit RadioNodeList for dart2js. The Dart Form and FieldSet APIs don't | 25875 // Omit RadioNodeList for dart2js. The Dart Form and FieldSet APIs don't |
| 25231 // currently expose an API the returns RadioNodeList. The only use of a | 25876 // currently expose an API the returns RadioNodeList. The only use of a |
| 25232 // RadioNodeList is to get the selected value and it will be cleaner to | 25877 // RadioNodeList is to get the selected value and it will be cleaner to |
| 25233 // introduce a different API for that purpose. | 25878 // introduce a different API for that purpose. |
| 25234 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 25879 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25235 // for details. All rights reserved. Use of this source code is governed by a | 25880 // for details. All rights reserved. Use of this source code is governed by a |
| 25236 // BSD-style license that can be found in the LICENSE file. | 25881 // BSD-style license that can be found in the LICENSE file. |
| 25237 | 25882 |
| 25238 | 25883 |
| 25239 @DocsEditable | 25884 @DocsEditable |
| 25240 @DomName('Rect') | 25885 @DomName('Rect') |
| 25241 // http://dev.w3.org/csswg/cssom/ | 25886 // http://dev.w3.org/csswg/cssom/ |
| 25242 @deprecated // deprecated | 25887 @deprecated // deprecated |
| 25243 abstract class _Rect native "Rect" { | 25888 abstract class _Rect native "Rect" { |
| 25889 // To suppress missing implicit constructor warnings. |
| 25890 factory _Rect._() { throw new UnsupportedError("Not supported"); } |
| 25244 } | 25891 } |
| 25245 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 25892 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25246 // for details. All rights reserved. Use of this source code is governed by a | 25893 // for details. All rights reserved. Use of this source code is governed by a |
| 25247 // BSD-style license that can be found in the LICENSE file. | 25894 // BSD-style license that can be found in the LICENSE file. |
| 25248 | 25895 |
| 25249 | 25896 |
| 25250 @DocsEditable | 25897 @DocsEditable |
| 25251 @DomName('SharedWorker') | 25898 @DomName('SharedWorker') |
| 25252 // http://www.whatwg.org/specs/web-apps/current-work/multipage/workers.html#shar
ed-workers-and-the-sharedworker-interface | 25899 // http://www.whatwg.org/specs/web-apps/current-work/multipage/workers.html#shar
ed-workers-and-the-sharedworker-interface |
| 25253 @Experimental | 25900 @Experimental |
| 25254 abstract class _SharedWorker extends AbstractWorker native "SharedWorker" { | 25901 abstract class _SharedWorker extends AbstractWorker native "SharedWorker" { |
| 25902 // To suppress missing implicit constructor warnings. |
| 25903 factory _SharedWorker._() { throw new UnsupportedError("Not supported"); } |
| 25255 | 25904 |
| 25256 @DomName('SharedWorker.SharedWorker') | 25905 @DomName('SharedWorker.SharedWorker') |
| 25257 @DocsEditable | 25906 @DocsEditable |
| 25258 factory _SharedWorker(String scriptURL, [String name]) { | 25907 factory _SharedWorker(String scriptURL, [String name]) { |
| 25259 if (name != null) { | 25908 if (name != null) { |
| 25260 return _SharedWorker._create_1(scriptURL, name); | 25909 return _SharedWorker._create_1(scriptURL, name); |
| 25261 } | 25910 } |
| 25262 return _SharedWorker._create_2(scriptURL); | 25911 return _SharedWorker._create_2(scriptURL); |
| 25263 } | 25912 } |
| 25264 static _SharedWorker _create_1(scriptURL, name) => JS('_SharedWorker', 'new Sh
aredWorker(#,#)', scriptURL, name); | 25913 static _SharedWorker _create_1(scriptURL, name) => JS('_SharedWorker', 'new Sh
aredWorker(#,#)', scriptURL, name); |
| 25265 static _SharedWorker _create_2(scriptURL) => JS('_SharedWorker', 'new SharedWo
rker(#)', scriptURL); | 25914 static _SharedWorker _create_2(scriptURL) => JS('_SharedWorker', 'new SharedWo
rker(#)', scriptURL); |
| 25266 } | 25915 } |
| 25267 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 25916 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25268 // for details. All rights reserved. Use of this source code is governed by a | 25917 // for details. All rights reserved. Use of this source code is governed by a |
| 25269 // BSD-style license that can be found in the LICENSE file. | 25918 // BSD-style license that can be found in the LICENSE file. |
| 25270 | 25919 |
| 25271 | 25920 |
| 25272 @DocsEditable | 25921 @DocsEditable |
| 25273 @DomName('SharedWorkerContext') | 25922 @DomName('SharedWorkerContext') |
| 25274 // http://www.whatwg.org/specs/web-apps/current-work/multipage/workers.html#shar
ed-workers-and-the-sharedworkerglobalscope-interface | 25923 // http://www.whatwg.org/specs/web-apps/current-work/multipage/workers.html#shar
ed-workers-and-the-sharedworkerglobalscope-interface |
| 25275 @Experimental // nonstandard | 25924 @Experimental // nonstandard |
| 25276 abstract class _SharedWorkerContext extends _WorkerContext native "SharedWorkerC
ontext" { | 25925 abstract class _SharedWorkerContext extends _WorkerContext native "SharedWorkerC
ontext" { |
| 25926 // To suppress missing implicit constructor warnings. |
| 25927 factory _SharedWorkerContext._() { throw new UnsupportedError("Not supported")
; } |
| 25277 } | 25928 } |
| 25278 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 25929 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25279 // for details. All rights reserved. Use of this source code is governed by a | 25930 // for details. All rights reserved. Use of this source code is governed by a |
| 25280 // BSD-style license that can be found in the LICENSE file. | 25931 // BSD-style license that can be found in the LICENSE file. |
| 25281 | 25932 |
| 25282 | 25933 |
| 25283 @DocsEditable | 25934 @DocsEditable |
| 25284 @DomName('SpeechInputResultList') | 25935 @DomName('SpeechInputResultList') |
| 25285 // http://lists.w3.org/Archives/Public/public-xg-htmlspeech/2011Feb/att-0020/api
-draft.html#speech_input_result_list_interface | 25936 // http://lists.w3.org/Archives/Public/public-xg-htmlspeech/2011Feb/att-0020/api
-draft.html#speech_input_result_list_interface |
| 25286 @Experimental | 25937 @Experimental |
| 25287 class _SpeechInputResultList extends Interceptor with ListMixin<SpeechInputResul
t>, ImmutableListMixin<SpeechInputResult> implements JavaScriptIndexingBehavior,
List<SpeechInputResult> native "SpeechInputResultList" { | 25938 class _SpeechInputResultList extends Interceptor with ListMixin<SpeechInputResul
t>, ImmutableListMixin<SpeechInputResult> implements JavaScriptIndexingBehavior,
List<SpeechInputResult> native "SpeechInputResultList" { |
| 25939 // To suppress missing implicit constructor warnings. |
| 25940 factory _SpeechInputResultList._() { throw new UnsupportedError("Not supported
"); } |
| 25288 | 25941 |
| 25289 @DomName('SpeechInputResultList.length') | 25942 @DomName('SpeechInputResultList.length') |
| 25290 @DocsEditable | 25943 @DocsEditable |
| 25291 int get length => JS("int", "#.length", this); | 25944 int get length => JS("int", "#.length", this); |
| 25292 | 25945 |
| 25293 SpeechInputResult operator[](int index) { | 25946 SpeechInputResult operator[](int index) { |
| 25294 if (JS("bool", "# >>> 0 !== # || # >= #", index, | 25947 if (JS("bool", "# >>> 0 !== # || # >= #", index, |
| 25295 index, index, length)) | 25948 index, index, length)) |
| 25296 throw new RangeError.range(index, 0, length); | 25949 throw new RangeError.range(index, 0, length); |
| 25297 return JS("SpeechInputResult", "#[#]", this, index); | 25950 return JS("SpeechInputResult", "#[#]", this, index); |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 25341 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 25994 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25342 // for details. All rights reserved. Use of this source code is governed by a | 25995 // for details. All rights reserved. Use of this source code is governed by a |
| 25343 // BSD-style license that can be found in the LICENSE file. | 25996 // BSD-style license that can be found in the LICENSE file. |
| 25344 | 25997 |
| 25345 | 25998 |
| 25346 @DocsEditable | 25999 @DocsEditable |
| 25347 @DomName('SpeechRecognitionResultList') | 26000 @DomName('SpeechRecognitionResultList') |
| 25348 // https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#speechrecogniti
onresultlist | 26001 // https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#speechrecogniti
onresultlist |
| 25349 @Experimental | 26002 @Experimental |
| 25350 class _SpeechRecognitionResultList extends Interceptor with ListMixin<SpeechReco
gnitionResult>, ImmutableListMixin<SpeechRecognitionResult> implements JavaScrip
tIndexingBehavior, List<SpeechRecognitionResult> native "SpeechRecognitionResult
List" { | 26003 class _SpeechRecognitionResultList extends Interceptor with ListMixin<SpeechReco
gnitionResult>, ImmutableListMixin<SpeechRecognitionResult> implements JavaScrip
tIndexingBehavior, List<SpeechRecognitionResult> native "SpeechRecognitionResult
List" { |
| 26004 // To suppress missing implicit constructor warnings. |
| 26005 factory _SpeechRecognitionResultList._() { throw new UnsupportedError("Not sup
ported"); } |
| 25351 | 26006 |
| 25352 @DomName('SpeechRecognitionResultList.length') | 26007 @DomName('SpeechRecognitionResultList.length') |
| 25353 @DocsEditable | 26008 @DocsEditable |
| 25354 int get length => JS("int", "#.length", this); | 26009 int get length => JS("int", "#.length", this); |
| 25355 | 26010 |
| 25356 SpeechRecognitionResult operator[](int index) { | 26011 SpeechRecognitionResult operator[](int index) { |
| 25357 if (JS("bool", "# >>> 0 !== # || # >= #", index, | 26012 if (JS("bool", "# >>> 0 !== # || # >= #", index, |
| 25358 index, index, length)) | 26013 index, index, length)) |
| 25359 throw new RangeError.range(index, 0, length); | 26014 throw new RangeError.range(index, 0, length); |
| 25360 return JS("SpeechRecognitionResult", "#[#]", this, index); | 26015 return JS("SpeechRecognitionResult", "#[#]", this, index); |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 25402 SpeechRecognitionResult item(int index) native; | 26057 SpeechRecognitionResult item(int index) native; |
| 25403 } | 26058 } |
| 25404 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 26059 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25405 // for details. All rights reserved. Use of this source code is governed by a | 26060 // for details. All rights reserved. Use of this source code is governed by a |
| 25406 // BSD-style license that can be found in the LICENSE file. | 26061 // BSD-style license that can be found in the LICENSE file. |
| 25407 | 26062 |
| 25408 | 26063 |
| 25409 @DocsEditable | 26064 @DocsEditable |
| 25410 @DomName('StyleSheetList') | 26065 @DomName('StyleSheetList') |
| 25411 class _StyleSheetList extends Interceptor with ListMixin<StyleSheet>, ImmutableL
istMixin<StyleSheet> implements JavaScriptIndexingBehavior, List<StyleSheet> nat
ive "StyleSheetList" { | 26066 class _StyleSheetList extends Interceptor with ListMixin<StyleSheet>, ImmutableL
istMixin<StyleSheet> implements JavaScriptIndexingBehavior, List<StyleSheet> nat
ive "StyleSheetList" { |
| 26067 // To suppress missing implicit constructor warnings. |
| 26068 factory _StyleSheetList._() { throw new UnsupportedError("Not supported"); } |
| 25412 | 26069 |
| 25413 @DomName('StyleSheetList.length') | 26070 @DomName('StyleSheetList.length') |
| 25414 @DocsEditable | 26071 @DocsEditable |
| 25415 int get length => JS("int", "#.length", this); | 26072 int get length => JS("int", "#.length", this); |
| 25416 | 26073 |
| 25417 StyleSheet operator[](int index) { | 26074 StyleSheet operator[](int index) { |
| 25418 if (JS("bool", "# >>> 0 !== # || # >= #", index, | 26075 if (JS("bool", "# >>> 0 !== # || # >= #", index, |
| 25419 index, index, length)) | 26076 index, index, length)) |
| 25420 throw new RangeError.range(index, 0, length); | 26077 throw new RangeError.range(index, 0, length); |
| 25421 return JS("StyleSheet", "#[#]", this, index); | 26078 return JS("StyleSheet", "#[#]", this, index); |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 25469 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 26126 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25470 // for details. All rights reserved. Use of this source code is governed by a | 26127 // for details. All rights reserved. Use of this source code is governed by a |
| 25471 // BSD-style license that can be found in the LICENSE file. | 26128 // BSD-style license that can be found in the LICENSE file. |
| 25472 | 26129 |
| 25473 | 26130 |
| 25474 @DocsEditable | 26131 @DocsEditable |
| 25475 @DomName('WorkerContext') | 26132 @DomName('WorkerContext') |
| 25476 // http://www.whatwg.org/specs/web-apps/current-work/multipage/workers.html#Work
erGlobalScope-partial | 26133 // http://www.whatwg.org/specs/web-apps/current-work/multipage/workers.html#Work
erGlobalScope-partial |
| 25477 @Experimental // stable | 26134 @Experimental // stable |
| 25478 abstract class _WorkerContext extends EventTarget native "WorkerContext" { | 26135 abstract class _WorkerContext extends EventTarget native "WorkerContext" { |
| 26136 // To suppress missing implicit constructor warnings. |
| 26137 factory _WorkerContext._() { throw new UnsupportedError("Not supported"); } |
| 25479 } | 26138 } |
| 25480 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 26139 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25481 // for details. All rights reserved. Use of this source code is governed by a | 26140 // for details. All rights reserved. Use of this source code is governed by a |
| 25482 // BSD-style license that can be found in the LICENSE file. | 26141 // BSD-style license that can be found in the LICENSE file. |
| 25483 | 26142 |
| 25484 | 26143 |
| 25485 @DocsEditable | 26144 @DocsEditable |
| 25486 @DomName('WorkerLocation') | 26145 @DomName('WorkerLocation') |
| 25487 // http://www.whatwg.org/specs/web-apps/current-work/multipage/workers.html#work
erlocation | 26146 // http://www.whatwg.org/specs/web-apps/current-work/multipage/workers.html#work
erlocation |
| 25488 @Experimental | 26147 @Experimental |
| 25489 abstract class _WorkerLocation native "WorkerLocation" { | 26148 abstract class _WorkerLocation native "WorkerLocation" { |
| 26149 // To suppress missing implicit constructor warnings. |
| 26150 factory _WorkerLocation._() { throw new UnsupportedError("Not supported"); } |
| 25490 } | 26151 } |
| 25491 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 26152 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25492 // for details. All rights reserved. Use of this source code is governed by a | 26153 // for details. All rights reserved. Use of this source code is governed by a |
| 25493 // BSD-style license that can be found in the LICENSE file. | 26154 // BSD-style license that can be found in the LICENSE file. |
| 25494 | 26155 |
| 25495 | 26156 |
| 25496 @DocsEditable | 26157 @DocsEditable |
| 25497 @DomName('WorkerNavigator') | 26158 @DomName('WorkerNavigator') |
| 25498 // http://www.whatwg.org/specs/web-apps/current-work/multipage/workers.html#work
ernavigator | 26159 // http://www.whatwg.org/specs/web-apps/current-work/multipage/workers.html#work
ernavigator |
| 25499 @Experimental | 26160 @Experimental |
| 25500 abstract class _WorkerNavigator native "WorkerNavigator" { | 26161 abstract class _WorkerNavigator native "WorkerNavigator" { |
| 26162 // To suppress missing implicit constructor warnings. |
| 26163 factory _WorkerNavigator._() { throw new UnsupportedError("Not supported"); } |
| 25501 } | 26164 } |
| 25502 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 26165 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25503 // for details. All rights reserved. Use of this source code is governed by a | 26166 // for details. All rights reserved. Use of this source code is governed by a |
| 25504 // BSD-style license that can be found in the LICENSE file. | 26167 // BSD-style license that can be found in the LICENSE file. |
| 25505 | 26168 |
| 25506 | 26169 |
| 25507 abstract class _AttributeMap implements Map<String, String> { | 26170 abstract class _AttributeMap implements Map<String, String> { |
| 25508 final Element _element; | 26171 final Element _element; |
| 25509 | 26172 |
| 25510 _AttributeMap(this._element); | 26173 _AttributeMap(this._element); |
| (...skipping 4086 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 29597 _position = nextPosition; | 30260 _position = nextPosition; |
| 29598 return true; | 30261 return true; |
| 29599 } | 30262 } |
| 29600 _current = null; | 30263 _current = null; |
| 29601 _position = _array.length; | 30264 _position = _array.length; |
| 29602 return false; | 30265 return false; |
| 29603 } | 30266 } |
| 29604 | 30267 |
| 29605 T get current => _current; | 30268 T get current => _current; |
| 29606 } | 30269 } |
| OLD | NEW |