| OLD | NEW |
| 1 /// The Dart HTML library. | 1 /// The Dart HTML library. |
| 2 /// | 2 /// |
| 3 /// For examples, see | 3 /// For examples, see |
| 4 /// [Dart HTML5 Samples](https://github.com/dart-lang/dart-html5-samples) | 4 /// [Dart HTML5 Samples](https://github.com/dart-lang/dart-html5-samples) |
| 5 /// on Github. | 5 /// on Github. |
| 6 library dart.dom.html; | 6 library dart.dom.html; |
| 7 | 7 |
| 8 import 'dart:async'; | 8 import 'dart:async'; |
| 9 import 'dart:collection'; | 9 import 'dart:collection'; |
| 10 import 'dart:_collection-dev' hide Symbol; | 10 import 'dart:_collection-dev' hide Symbol; |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 Future<SendPort> spawnDomFunction(Function f) => | 71 Future<SendPort> spawnDomFunction(Function f) => |
| 72 new Future.value(IsolateNatives.spawnDomFunction(f)); | 72 new Future.value(IsolateNatives.spawnDomFunction(f)); |
| 73 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 73 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 74 // for details. All rights reserved. Use of this source code is governed by a | 74 // for details. All rights reserved. Use of this source code is governed by a |
| 75 // BSD-style license that can be found in the LICENSE file. | 75 // BSD-style license that can be found in the LICENSE file. |
| 76 | 76 |
| 77 | 77 |
| 78 @DocsEditable | 78 @DocsEditable |
| 79 @DomName('AbstractWorker') | 79 @DomName('AbstractWorker') |
| 80 class AbstractWorker extends EventTarget native "AbstractWorker" { | 80 class AbstractWorker extends EventTarget native "AbstractWorker" { |
| 81 // To suppress missing implicit constructor warnings. |
| 82 factory AbstractWorker._() { throw new UnsupportedError("Not supported"); } |
| 81 | 83 |
| 82 @DomName('AbstractWorker.errorEvent') | 84 @DomName('AbstractWorker.errorEvent') |
| 83 @DocsEditable | 85 @DocsEditable |
| 84 static const EventStreamProvider<ErrorEvent> errorEvent = const EventStreamPro
vider<ErrorEvent>('error'); | 86 static const EventStreamProvider<ErrorEvent> errorEvent = const EventStreamPro
vider<ErrorEvent>('error'); |
| 85 | 87 |
| 86 @JSName('addEventListener') | 88 @JSName('addEventListener') |
| 87 @DomName('AbstractWorker.addEventListener') | 89 @DomName('AbstractWorker.addEventListener') |
| 88 @DocsEditable | 90 @DocsEditable |
| 89 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]) native; | 91 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]) native; |
| 90 | 92 |
| (...skipping 11 matching lines...) Expand all Loading... |
| 102 Stream<ErrorEvent> get onError => errorEvent.forTarget(this); | 104 Stream<ErrorEvent> get onError => errorEvent.forTarget(this); |
| 103 } | 105 } |
| 104 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 106 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 105 // for details. All rights reserved. Use of this source code is governed by a | 107 // for details. All rights reserved. Use of this source code is governed by a |
| 106 // BSD-style license that can be found in the LICENSE file. | 108 // BSD-style license that can be found in the LICENSE file. |
| 107 | 109 |
| 108 | 110 |
| 109 @DocsEditable | 111 @DocsEditable |
| 110 @DomName('HTMLAnchorElement') | 112 @DomName('HTMLAnchorElement') |
| 111 class AnchorElement extends _HTMLElement native "HTMLAnchorElement" { | 113 class AnchorElement extends _HTMLElement native "HTMLAnchorElement" { |
| 114 // To suppress missing implicit constructor warnings. |
| 115 factory AnchorElement._() { throw new UnsupportedError("Not supported"); } |
| 112 | 116 |
| 113 @DomName('HTMLAnchorElement.HTMLAnchorElement') | 117 @DomName('HTMLAnchorElement.HTMLAnchorElement') |
| 114 @DocsEditable | 118 @DocsEditable |
| 115 factory AnchorElement({String href}) { | 119 factory AnchorElement({String href}) { |
| 116 var e = document.$dom_createElement("a"); | 120 var e = document.$dom_createElement("a"); |
| 117 if (href != null) e.href = href; | 121 if (href != null) e.href = href; |
| 118 return e; | 122 return e; |
| 119 } | 123 } |
| 120 | 124 |
| 121 @DomName('HTMLAnchorElement.download') | 125 @DomName('HTMLAnchorElement.download') |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 196 // for details. All rights reserved. Use of this source code is governed by a | 200 // for details. All rights reserved. Use of this source code is governed by a |
| 197 // BSD-style license that can be found in the LICENSE file. | 201 // BSD-style license that can be found in the LICENSE file. |
| 198 | 202 |
| 199 | 203 |
| 200 @DocsEditable | 204 @DocsEditable |
| 201 @DomName('WebKitAnimationEvent') | 205 @DomName('WebKitAnimationEvent') |
| 202 @SupportedBrowser(SupportedBrowser.CHROME) | 206 @SupportedBrowser(SupportedBrowser.CHROME) |
| 203 @SupportedBrowser(SupportedBrowser.SAFARI) | 207 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 204 @Experimental | 208 @Experimental |
| 205 class AnimationEvent extends Event native "WebKitAnimationEvent" { | 209 class AnimationEvent extends Event native "WebKitAnimationEvent" { |
| 210 // To suppress missing implicit constructor warnings. |
| 211 factory AnimationEvent._() { throw new UnsupportedError("Not supported"); } |
| 206 | 212 |
| 207 @DomName('WebKitAnimationEvent.animationName') | 213 @DomName('WebKitAnimationEvent.animationName') |
| 208 @DocsEditable | 214 @DocsEditable |
| 209 final String animationName; | 215 final String animationName; |
| 210 | 216 |
| 211 @DomName('WebKitAnimationEvent.elapsedTime') | 217 @DomName('WebKitAnimationEvent.elapsedTime') |
| 212 @DocsEditable | 218 @DocsEditable |
| 213 final num elapsedTime; | 219 final num elapsedTime; |
| 214 } | 220 } |
| 215 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 221 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 216 // for details. All rights reserved. Use of this source code is governed by a | 222 // for details. All rights reserved. Use of this source code is governed by a |
| 217 // BSD-style license that can be found in the LICENSE file. | 223 // BSD-style license that can be found in the LICENSE file. |
| 218 | 224 |
| 219 | 225 |
| 220 @DocsEditable | 226 @DocsEditable |
| 221 @DomName('DOMApplicationCache') | 227 @DomName('DOMApplicationCache') |
| 222 @SupportedBrowser(SupportedBrowser.CHROME) | 228 @SupportedBrowser(SupportedBrowser.CHROME) |
| 223 @SupportedBrowser(SupportedBrowser.FIREFOX) | 229 @SupportedBrowser(SupportedBrowser.FIREFOX) |
| 224 @SupportedBrowser(SupportedBrowser.IE, '10') | 230 @SupportedBrowser(SupportedBrowser.IE, '10') |
| 225 @SupportedBrowser(SupportedBrowser.OPERA) | 231 @SupportedBrowser(SupportedBrowser.OPERA) |
| 226 @SupportedBrowser(SupportedBrowser.SAFARI) | 232 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 227 @Unstable | 233 @Unstable |
| 228 class ApplicationCache extends EventTarget native "ApplicationCache,DOMApplicati
onCache,OfflineResourceList" { | 234 class ApplicationCache extends EventTarget native "ApplicationCache,DOMApplicati
onCache,OfflineResourceList" { |
| 235 // To suppress missing implicit constructor warnings. |
| 236 factory ApplicationCache._() { throw new UnsupportedError("Not supported"); } |
| 229 | 237 |
| 230 @DomName('DOMApplicationCache.cachedEvent') | 238 @DomName('DOMApplicationCache.cachedEvent') |
| 231 @DocsEditable | 239 @DocsEditable |
| 232 static const EventStreamProvider<Event> cachedEvent = const EventStreamProvide
r<Event>('cached'); | 240 static const EventStreamProvider<Event> cachedEvent = const EventStreamProvide
r<Event>('cached'); |
| 233 | 241 |
| 234 @DomName('DOMApplicationCache.checkingEvent') | 242 @DomName('DOMApplicationCache.checkingEvent') |
| 235 @DocsEditable | 243 @DocsEditable |
| 236 static const EventStreamProvider<Event> checkingEvent = const EventStreamProvi
der<Event>('checking'); | 244 static const EventStreamProvider<Event> checkingEvent = const EventStreamProvi
der<Event>('checking'); |
| 237 | 245 |
| 238 @DomName('DOMApplicationCache.downloadingEvent') | 246 @DomName('DOMApplicationCache.downloadingEvent') |
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 359 * | 367 * |
| 360 * The element can also define an uninteractive region of the map. | 368 * The element can also define an uninteractive region of the map. |
| 361 * | 369 * |
| 362 * See also: | 370 * See also: |
| 363 * | 371 * |
| 364 * * [<area>](https://developer.mozilla.org/en-US/docs/HTML/Element/area) | 372 * * [<area>](https://developer.mozilla.org/en-US/docs/HTML/Element/area) |
| 365 * on MDN. | 373 * on MDN. |
| 366 */ | 374 */ |
| 367 @DomName('HTMLAreaElement') | 375 @DomName('HTMLAreaElement') |
| 368 class AreaElement extends _HTMLElement native "HTMLAreaElement" { | 376 class AreaElement extends _HTMLElement native "HTMLAreaElement" { |
| 377 // To suppress missing implicit constructor warnings. |
| 378 factory AreaElement._() { throw new UnsupportedError("Not supported"); } |
| 369 | 379 |
| 370 @DomName('HTMLAreaElement.HTMLAreaElement') | 380 @DomName('HTMLAreaElement.HTMLAreaElement') |
| 371 @DocsEditable | 381 @DocsEditable |
| 372 factory AreaElement() => document.$dom_createElement("area"); | 382 factory AreaElement() => document.$dom_createElement("area"); |
| 373 | 383 |
| 374 @DomName('HTMLAreaElement.alt') | 384 @DomName('HTMLAreaElement.alt') |
| 375 @DocsEditable | 385 @DocsEditable |
| 376 String alt; | 386 String alt; |
| 377 | 387 |
| 378 @DomName('HTMLAreaElement.coords') | 388 @DomName('HTMLAreaElement.coords') |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 426 String target; | 436 String target; |
| 427 } | 437 } |
| 428 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 438 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 429 // for details. All rights reserved. Use of this source code is governed by a | 439 // for details. All rights reserved. Use of this source code is governed by a |
| 430 // BSD-style license that can be found in the LICENSE file. | 440 // BSD-style license that can be found in the LICENSE file. |
| 431 | 441 |
| 432 | 442 |
| 433 @DocsEditable | 443 @DocsEditable |
| 434 @DomName('HTMLAudioElement') | 444 @DomName('HTMLAudioElement') |
| 435 class AudioElement extends MediaElement native "HTMLAudioElement" { | 445 class AudioElement extends MediaElement native "HTMLAudioElement" { |
| 446 // To suppress missing implicit constructor warnings. |
| 447 factory AudioElement._() { throw new UnsupportedError("Not supported"); } |
| 436 | 448 |
| 437 @DomName('HTMLAudioElement.HTMLAudioElement') | 449 @DomName('HTMLAudioElement.HTMLAudioElement') |
| 438 @DocsEditable | 450 @DocsEditable |
| 439 factory AudioElement([String src]) { | 451 factory AudioElement([String src]) { |
| 440 if (src != null) { | 452 if (src != null) { |
| 441 return AudioElement._create_1(src); | 453 return AudioElement._create_1(src); |
| 442 } | 454 } |
| 443 return AudioElement._create_2(); | 455 return AudioElement._create_2(); |
| 444 } | 456 } |
| 445 static AudioElement _create_1(src) => JS('AudioElement', 'new Audio(#)', src); | 457 static AudioElement _create_1(src) => JS('AudioElement', 'new Audio(#)', src); |
| 446 static AudioElement _create_2() => JS('AudioElement', 'new Audio()'); | 458 static AudioElement _create_2() => JS('AudioElement', 'new Audio()'); |
| 447 } | 459 } |
| 448 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 460 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 449 // for details. All rights reserved. Use of this source code is governed by a | 461 // for details. All rights reserved. Use of this source code is governed by a |
| 450 // BSD-style license that can be found in the LICENSE file. | 462 // BSD-style license that can be found in the LICENSE file. |
| 451 | 463 |
| 452 | 464 |
| 453 @DocsEditable | 465 @DocsEditable |
| 454 @DomName('AutocompleteErrorEvent') | 466 @DomName('AutocompleteErrorEvent') |
| 455 // http://wiki.whatwg.org/wiki/RequestAutocomplete | 467 // http://wiki.whatwg.org/wiki/RequestAutocomplete |
| 456 @Experimental | 468 @Experimental |
| 457 class AutocompleteErrorEvent extends Event native "AutocompleteErrorEvent" { | 469 class AutocompleteErrorEvent extends Event native "AutocompleteErrorEvent" { |
| 470 // To suppress missing implicit constructor warnings. |
| 471 factory AutocompleteErrorEvent._() { throw new UnsupportedError("Not supported
"); } |
| 458 | 472 |
| 459 @DomName('AutocompleteErrorEvent.reason') | 473 @DomName('AutocompleteErrorEvent.reason') |
| 460 @DocsEditable | 474 @DocsEditable |
| 461 final String reason; | 475 final String reason; |
| 462 } | 476 } |
| 463 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 477 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 464 // for details. All rights reserved. Use of this source code is governed by a | 478 // for details. All rights reserved. Use of this source code is governed by a |
| 465 // BSD-style license that can be found in the LICENSE file. | 479 // BSD-style license that can be found in the LICENSE file. |
| 466 | 480 |
| 467 | 481 |
| 468 @DocsEditable | 482 @DocsEditable |
| 469 @DomName('HTMLBRElement') | 483 @DomName('HTMLBRElement') |
| 470 class BRElement extends _HTMLElement native "HTMLBRElement" { | 484 class BRElement extends _HTMLElement native "HTMLBRElement" { |
| 485 // To suppress missing implicit constructor warnings. |
| 486 factory BRElement._() { throw new UnsupportedError("Not supported"); } |
| 471 | 487 |
| 472 @DomName('HTMLBRElement.HTMLBRElement') | 488 @DomName('HTMLBRElement.HTMLBRElement') |
| 473 @DocsEditable | 489 @DocsEditable |
| 474 factory BRElement() => document.$dom_createElement("br"); | 490 factory BRElement() => document.$dom_createElement("br"); |
| 475 } | 491 } |
| 476 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 492 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 477 // for details. All rights reserved. Use of this source code is governed by a | 493 // for details. All rights reserved. Use of this source code is governed by a |
| 478 // BSD-style license that can be found in the LICENSE file. | 494 // BSD-style license that can be found in the LICENSE file. |
| 479 | 495 |
| 480 | 496 |
| 481 @DocsEditable | 497 @DocsEditable |
| 482 @DomName('BarProp') | 498 @DomName('BarProp') |
| 483 // http://www.whatwg.org/specs/web-apps/current-work/multipage/browsers.html#bar
prop | 499 // http://www.whatwg.org/specs/web-apps/current-work/multipage/browsers.html#bar
prop |
| 484 @deprecated // standard | 500 @deprecated // standard |
| 485 class BarProp native "BarProp" { | 501 class BarProp extends Interceptor native "BarProp" { |
| 486 | 502 |
| 487 @DomName('BarProp.visible') | 503 @DomName('BarProp.visible') |
| 488 @DocsEditable | 504 @DocsEditable |
| 489 final bool visible; | 505 final bool visible; |
| 490 } | 506 } |
| 491 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 507 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 492 // for details. All rights reserved. Use of this source code is governed by a | 508 // for details. All rights reserved. Use of this source code is governed by a |
| 493 // BSD-style license that can be found in the LICENSE file. | 509 // BSD-style license that can be found in the LICENSE file. |
| 494 | 510 |
| 495 | 511 |
| 496 @DocsEditable | 512 @DocsEditable |
| 497 @DomName('HTMLBaseElement') | 513 @DomName('HTMLBaseElement') |
| 498 class BaseElement extends _HTMLElement native "HTMLBaseElement" { | 514 class BaseElement extends _HTMLElement native "HTMLBaseElement" { |
| 515 // To suppress missing implicit constructor warnings. |
| 516 factory BaseElement._() { throw new UnsupportedError("Not supported"); } |
| 499 | 517 |
| 500 @DomName('HTMLBaseElement.HTMLBaseElement') | 518 @DomName('HTMLBaseElement.HTMLBaseElement') |
| 501 @DocsEditable | 519 @DocsEditable |
| 502 factory BaseElement() => document.$dom_createElement("base"); | 520 factory BaseElement() => document.$dom_createElement("base"); |
| 503 | 521 |
| 504 @DomName('HTMLBaseElement.href') | 522 @DomName('HTMLBaseElement.href') |
| 505 @DocsEditable | 523 @DocsEditable |
| 506 String href; | 524 String href; |
| 507 | 525 |
| 508 @DomName('HTMLBaseElement.target') | 526 @DomName('HTMLBaseElement.target') |
| 509 @DocsEditable | 527 @DocsEditable |
| 510 String target; | 528 String target; |
| 511 } | 529 } |
| 512 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 530 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 513 // for details. All rights reserved. Use of this source code is governed by a | 531 // for details. All rights reserved. Use of this source code is governed by a |
| 514 // BSD-style license that can be found in the LICENSE file. | 532 // BSD-style license that can be found in the LICENSE file. |
| 515 | 533 |
| 516 | 534 |
| 517 @DocsEditable | 535 @DocsEditable |
| 518 @DomName('BeforeLoadEvent') | 536 @DomName('BeforeLoadEvent') |
| 519 @Experimental | 537 @Experimental |
| 520 class BeforeLoadEvent extends Event native "BeforeLoadEvent" { | 538 class BeforeLoadEvent extends Event native "BeforeLoadEvent" { |
| 539 // To suppress missing implicit constructor warnings. |
| 540 factory BeforeLoadEvent._() { throw new UnsupportedError("Not supported"); } |
| 521 | 541 |
| 522 @DomName('BeforeLoadEvent.url') | 542 @DomName('BeforeLoadEvent.url') |
| 523 @DocsEditable | 543 @DocsEditable |
| 524 final String url; | 544 final String url; |
| 525 } | 545 } |
| 526 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 546 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 527 // for details. All rights reserved. Use of this source code is governed by a | 547 // for details. All rights reserved. Use of this source code is governed by a |
| 528 // BSD-style license that can be found in the LICENSE file. | 548 // BSD-style license that can be found in the LICENSE file. |
| 529 | 549 |
| 530 | 550 |
| 531 @DomName('Blob') | 551 @DomName('Blob') |
| 532 class Blob native "Blob" { | 552 class Blob extends Interceptor native "Blob" { |
| 533 | 553 |
| 534 @DomName('Blob.size') | 554 @DomName('Blob.size') |
| 535 @DocsEditable | 555 @DocsEditable |
| 536 final int size; | 556 final int size; |
| 537 | 557 |
| 538 @DomName('Blob.type') | 558 @DomName('Blob.type') |
| 539 @DocsEditable | 559 @DocsEditable |
| 540 final String type; | 560 final String type; |
| 541 | 561 |
| 542 @DomName('Blob.slice') | 562 @DomName('Blob.slice') |
| (...skipping 21 matching lines...) Expand all Loading... |
| 564 } | 584 } |
| 565 | 585 |
| 566 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 586 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 567 // for details. All rights reserved. Use of this source code is governed by a | 587 // for details. All rights reserved. Use of this source code is governed by a |
| 568 // BSD-style license that can be found in the LICENSE file. | 588 // BSD-style license that can be found in the LICENSE file. |
| 569 | 589 |
| 570 | 590 |
| 571 @DocsEditable | 591 @DocsEditable |
| 572 @DomName('HTMLBodyElement') | 592 @DomName('HTMLBodyElement') |
| 573 class BodyElement extends _HTMLElement native "HTMLBodyElement" { | 593 class BodyElement extends _HTMLElement native "HTMLBodyElement" { |
| 594 // To suppress missing implicit constructor warnings. |
| 595 factory BodyElement._() { throw new UnsupportedError("Not supported"); } |
| 574 | 596 |
| 575 @DomName('HTMLBodyElement.blurEvent') | 597 @DomName('HTMLBodyElement.blurEvent') |
| 576 @DocsEditable | 598 @DocsEditable |
| 577 static const EventStreamProvider<Event> blurEvent = const EventStreamProvider<
Event>('blur'); | 599 static const EventStreamProvider<Event> blurEvent = const EventStreamProvider<
Event>('blur'); |
| 578 | 600 |
| 579 @DomName('HTMLBodyElement.errorEvent') | 601 @DomName('HTMLBodyElement.errorEvent') |
| 580 @DocsEditable | 602 @DocsEditable |
| 581 static const EventStreamProvider<Event> errorEvent = const EventStreamProvider
<Event>('error'); | 603 static const EventStreamProvider<Event> errorEvent = const EventStreamProvider
<Event>('error'); |
| 582 | 604 |
| 583 @DomName('HTMLBodyElement.focusEvent') | 605 @DomName('HTMLBodyElement.focusEvent') |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 673 Stream<Event> get onUnload => unloadEvent.forTarget(this); | 695 Stream<Event> get onUnload => unloadEvent.forTarget(this); |
| 674 } | 696 } |
| 675 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 697 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 676 // for details. All rights reserved. Use of this source code is governed by a | 698 // for details. All rights reserved. Use of this source code is governed by a |
| 677 // BSD-style license that can be found in the LICENSE file. | 699 // BSD-style license that can be found in the LICENSE file. |
| 678 | 700 |
| 679 | 701 |
| 680 @DocsEditable | 702 @DocsEditable |
| 681 @DomName('HTMLButtonElement') | 703 @DomName('HTMLButtonElement') |
| 682 class ButtonElement extends _HTMLElement native "HTMLButtonElement" { | 704 class ButtonElement extends _HTMLElement native "HTMLButtonElement" { |
| 705 // To suppress missing implicit constructor warnings. |
| 706 factory ButtonElement._() { throw new UnsupportedError("Not supported"); } |
| 683 | 707 |
| 684 @DomName('HTMLButtonElement.HTMLButtonElement') | 708 @DomName('HTMLButtonElement.HTMLButtonElement') |
| 685 @DocsEditable | 709 @DocsEditable |
| 686 factory ButtonElement() => document.$dom_createElement("button"); | 710 factory ButtonElement() => document.$dom_createElement("button"); |
| 687 | 711 |
| 688 @DomName('HTMLButtonElement.autofocus') | 712 @DomName('HTMLButtonElement.autofocus') |
| 689 @DocsEditable | 713 @DocsEditable |
| 690 bool autofocus; | 714 bool autofocus; |
| 691 | 715 |
| 692 @DomName('HTMLButtonElement.disabled') | 716 @DomName('HTMLButtonElement.disabled') |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 759 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 783 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 760 // for details. All rights reserved. Use of this source code is governed by a | 784 // for details. All rights reserved. Use of this source code is governed by a |
| 761 // BSD-style license that can be found in the LICENSE file. | 785 // BSD-style license that can be found in the LICENSE file. |
| 762 | 786 |
| 763 | 787 |
| 764 @DocsEditable | 788 @DocsEditable |
| 765 @DomName('CDATASection') | 789 @DomName('CDATASection') |
| 766 // http://dom.spec.whatwg.org/#cdatasection | 790 // http://dom.spec.whatwg.org/#cdatasection |
| 767 @deprecated // deprecated | 791 @deprecated // deprecated |
| 768 class CDataSection extends Text native "CDATASection" { | 792 class CDataSection extends Text native "CDATASection" { |
| 793 // To suppress missing implicit constructor warnings. |
| 794 factory CDataSection._() { throw new UnsupportedError("Not supported"); } |
| 769 } | 795 } |
| 770 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 796 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 771 // for details. All rights reserved. Use of this source code is governed by a | 797 // for details. All rights reserved. Use of this source code is governed by a |
| 772 // BSD-style license that can be found in the LICENSE file. | 798 // BSD-style license that can be found in the LICENSE file. |
| 773 | 799 |
| 774 | 800 |
| 775 @DocsEditable | 801 @DocsEditable |
| 776 @DomName('Canvas2DContextAttributes') | 802 @DomName('Canvas2DContextAttributes') |
| 777 // http://wiki.whatwg.org/wiki/CanvasOpaque#Suggested_IDL | 803 // http://wiki.whatwg.org/wiki/CanvasOpaque#Suggested_IDL |
| 778 @Experimental | 804 @Experimental |
| 779 class Canvas2DContextAttributes native "Canvas2DContextAttributes" { | 805 class Canvas2DContextAttributes extends Interceptor native "Canvas2DContextAttri
butes" { |
| 780 | 806 |
| 781 @DomName('Canvas2DContextAttributes.alpha') | 807 @DomName('Canvas2DContextAttributes.alpha') |
| 782 @DocsEditable | 808 @DocsEditable |
| 783 bool alpha; | 809 bool alpha; |
| 784 } | 810 } |
| 785 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 811 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 786 // for details. All rights reserved. Use of this source code is governed by a | 812 // for details. All rights reserved. Use of this source code is governed by a |
| 787 // BSD-style license that can be found in the LICENSE file. | 813 // BSD-style license that can be found in the LICENSE file. |
| 788 | 814 |
| 789 | 815 |
| 790 @DomName('HTMLCanvasElement') | 816 @DomName('HTMLCanvasElement') |
| 791 class CanvasElement extends _HTMLElement implements CanvasImageSource native "HT
MLCanvasElement" { | 817 class CanvasElement extends _HTMLElement implements CanvasImageSource native "HT
MLCanvasElement" { |
| 818 // To suppress missing implicit constructor warnings. |
| 819 factory CanvasElement._() { throw new UnsupportedError("Not supported"); } |
| 792 | 820 |
| 793 @DomName('HTMLCanvasElement.webglcontextlostEvent') | 821 @DomName('HTMLCanvasElement.webglcontextlostEvent') |
| 794 @DocsEditable | 822 @DocsEditable |
| 795 static const EventStreamProvider<gl.ContextEvent> webGlContextLostEvent = cons
t EventStreamProvider<gl.ContextEvent>('webglcontextlost'); | 823 static const EventStreamProvider<gl.ContextEvent> webGlContextLostEvent = cons
t EventStreamProvider<gl.ContextEvent>('webglcontextlost'); |
| 796 | 824 |
| 797 @DomName('HTMLCanvasElement.webglcontextrestoredEvent') | 825 @DomName('HTMLCanvasElement.webglcontextrestoredEvent') |
| 798 @DocsEditable | 826 @DocsEditable |
| 799 static const EventStreamProvider<gl.ContextEvent> webGlContextRestoredEvent =
const EventStreamProvider<gl.ContextEvent>('webglcontextrestored'); | 827 static const EventStreamProvider<gl.ContextEvent> webGlContextRestoredEvent =
const EventStreamProvider<gl.ContextEvent>('webglcontextrestored'); |
| 800 | 828 |
| 801 @DomName('HTMLCanvasElement.HTMLCanvasElement') | 829 @DomName('HTMLCanvasElement.HTMLCanvasElement') |
| (...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 945 * ctx.save(); | 973 * ctx.save(); |
| 946 * document.body.children.add(canvas); | 974 * document.body.children.add(canvas); |
| 947 * | 975 * |
| 948 * See also: | 976 * See also: |
| 949 * | 977 * |
| 950 * * [CanvasGradient](https://developer.mozilla.org/en-US/docs/DOM/CanvasGradien
t) from MDN. | 978 * * [CanvasGradient](https://developer.mozilla.org/en-US/docs/DOM/CanvasGradien
t) from MDN. |
| 951 * * [CanvasGradient](http://www.whatwg.org/specs/web-apps/current-work/multipag
e/the-canvas-element.html#canvasgradient) from whatwg. | 979 * * [CanvasGradient](http://www.whatwg.org/specs/web-apps/current-work/multipag
e/the-canvas-element.html#canvasgradient) from whatwg. |
| 952 * * [CanvasGradient](http://www.w3.org/TR/2010/WD-2dcontext-20100304/#canvasgra
dient) from W3C. | 980 * * [CanvasGradient](http://www.w3.org/TR/2010/WD-2dcontext-20100304/#canvasgra
dient) from W3C. |
| 953 */ | 981 */ |
| 954 @DomName('CanvasGradient') | 982 @DomName('CanvasGradient') |
| 955 class CanvasGradient native "CanvasGradient" { | 983 class CanvasGradient extends Interceptor native "CanvasGradient" { |
| 956 | 984 |
| 957 /** | 985 /** |
| 958 * Adds a color stop to this gradient at the offset. | 986 * Adds a color stop to this gradient at the offset. |
| 959 * | 987 * |
| 960 * The [offset] can range between 0.0 and 1.0. | 988 * The [offset] can range between 0.0 and 1.0. |
| 961 * | 989 * |
| 962 * See also: | 990 * See also: |
| 963 * | 991 * |
| 964 * * [Multiple Color Stops](https://developer.mozilla.org/en-US/docs/CSS/linea
r-gradient#Gradient_with_multiple_color_stops) from MDN. | 992 * * [Multiple Color Stops](https://developer.mozilla.org/en-US/docs/CSS/linea
r-gradient#Gradient_with_multiple_color_stops) from MDN. |
| 965 */ | 993 */ |
| (...skipping 28 matching lines...) Expand all Loading... |
| 994 * }); | 1022 * }); |
| 995 * img.src = "images/foo.jpg"; | 1023 * img.src = "images/foo.jpg"; |
| 996 * document.body.children.add(canvas); | 1024 * document.body.children.add(canvas); |
| 997 * | 1025 * |
| 998 * See also: | 1026 * See also: |
| 999 * * [CanvasPattern](https://developer.mozilla.org/en-US/docs/DOM/CanvasPattern)
from MDN. | 1027 * * [CanvasPattern](https://developer.mozilla.org/en-US/docs/DOM/CanvasPattern)
from MDN. |
| 1000 * * [CanvasPattern](http://www.whatwg.org/specs/web-apps/current-work/multipage
/the-canvas-element.html#canvaspattern) from whatwg. | 1028 * * [CanvasPattern](http://www.whatwg.org/specs/web-apps/current-work/multipage
/the-canvas-element.html#canvaspattern) from whatwg. |
| 1001 * * [CanvasPattern](http://www.w3.org/TR/2010/WD-2dcontext-20100304/#canvaspatt
ern) from W3C. | 1029 * * [CanvasPattern](http://www.w3.org/TR/2010/WD-2dcontext-20100304/#canvaspatt
ern) from W3C. |
| 1002 */ | 1030 */ |
| 1003 @DomName('CanvasPattern') | 1031 @DomName('CanvasPattern') |
| 1004 class CanvasPattern native "CanvasPattern" { | 1032 class CanvasPattern extends Interceptor native "CanvasPattern" { |
| 1005 } | 1033 } |
| 1006 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1034 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1007 // for details. All rights reserved. Use of this source code is governed by a | 1035 // for details. All rights reserved. Use of this source code is governed by a |
| 1008 // BSD-style license that can be found in the LICENSE file. | 1036 // BSD-style license that can be found in the LICENSE file. |
| 1009 | 1037 |
| 1010 | 1038 |
| 1011 @DocsEditable | 1039 @DocsEditable |
| 1012 /** | 1040 /** |
| 1013 * A rendering context for a canvas element. | 1041 * A rendering context for a canvas element. |
| 1014 * | 1042 * |
| 1015 * This context is extended by [CanvasRenderingContext2D] and | 1043 * This context is extended by [CanvasRenderingContext2D] and |
| 1016 * [WebGLRenderingContext]. | 1044 * [WebGLRenderingContext]. |
| 1017 */ | 1045 */ |
| 1018 @DomName('CanvasRenderingContext') | 1046 @DomName('CanvasRenderingContext') |
| 1019 class CanvasRenderingContext native "CanvasRenderingContext" { | 1047 class CanvasRenderingContext extends Interceptor native "CanvasRenderingContext"
{ |
| 1020 | 1048 |
| 1021 /// Reference to the canvas element to which this context belongs. | 1049 /// Reference to the canvas element to which this context belongs. |
| 1022 @DomName('CanvasRenderingContext.canvas') | 1050 @DomName('CanvasRenderingContext.canvas') |
| 1023 @DocsEditable | 1051 @DocsEditable |
| 1024 final CanvasElement canvas; | 1052 final CanvasElement canvas; |
| 1025 } | 1053 } |
| 1026 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1054 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1027 // for details. All rights reserved. Use of this source code is governed by a | 1055 // for details. All rights reserved. Use of this source code is governed by a |
| 1028 // BSD-style license that can be found in the LICENSE file. | 1056 // BSD-style license that can be found in the LICENSE file. |
| 1029 | 1057 |
| 1030 | 1058 |
| 1031 @DomName('CanvasRenderingContext2D') | 1059 @DomName('CanvasRenderingContext2D') |
| 1032 class CanvasRenderingContext2D extends CanvasRenderingContext native "CanvasRend
eringContext2D" { | 1060 class CanvasRenderingContext2D extends CanvasRenderingContext native "CanvasRend
eringContext2D" { |
| 1061 // To suppress missing implicit constructor warnings. |
| 1062 factory CanvasRenderingContext2D._() { throw new UnsupportedError("Not support
ed"); } |
| 1033 | 1063 |
| 1034 @DomName('CanvasRenderingContext2D.currentPath') | 1064 @DomName('CanvasRenderingContext2D.currentPath') |
| 1035 @DocsEditable | 1065 @DocsEditable |
| 1036 // http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-elem
ent.html#path-objects | 1066 // http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-elem
ent.html#path-objects |
| 1037 @Experimental | 1067 @Experimental |
| 1038 Path currentPath; | 1068 Path currentPath; |
| 1039 | 1069 |
| 1040 @DomName('CanvasRenderingContext2D.fillStyle') | 1070 @DomName('CanvasRenderingContext2D.fillStyle') |
| 1041 @DocsEditable | 1071 @DocsEditable |
| 1042 @Creates('String|CanvasGradient|CanvasPattern') | 1072 @Creates('String|CanvasGradient|CanvasPattern') |
| (...skipping 536 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1579 } | 1609 } |
| 1580 | 1610 |
| 1581 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1611 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1582 // for details. All rights reserved. Use of this source code is governed by a | 1612 // for details. All rights reserved. Use of this source code is governed by a |
| 1583 // BSD-style license that can be found in the LICENSE file. | 1613 // BSD-style license that can be found in the LICENSE file. |
| 1584 | 1614 |
| 1585 | 1615 |
| 1586 @DocsEditable | 1616 @DocsEditable |
| 1587 @DomName('CharacterData') | 1617 @DomName('CharacterData') |
| 1588 class CharacterData extends Node native "CharacterData" { | 1618 class CharacterData extends Node native "CharacterData" { |
| 1619 // To suppress missing implicit constructor warnings. |
| 1620 factory CharacterData._() { throw new UnsupportedError("Not supported"); } |
| 1589 | 1621 |
| 1590 @DomName('CharacterData.data') | 1622 @DomName('CharacterData.data') |
| 1591 @DocsEditable | 1623 @DocsEditable |
| 1592 String data; | 1624 String data; |
| 1593 | 1625 |
| 1594 @DomName('CharacterData.length') | 1626 @DomName('CharacterData.length') |
| 1595 @DocsEditable | 1627 @DocsEditable |
| 1596 final int length; | 1628 final int length; |
| 1597 | 1629 |
| 1598 @DomName('CharacterData.nextElementSibling') | 1630 @DomName('CharacterData.nextElementSibling') |
| (...skipping 25 matching lines...) Expand all Loading... |
| 1624 String substringData(int offset, int length) native; | 1656 String substringData(int offset, int length) native; |
| 1625 } | 1657 } |
| 1626 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1658 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1627 // for details. All rights reserved. Use of this source code is governed by a | 1659 // for details. All rights reserved. Use of this source code is governed by a |
| 1628 // BSD-style license that can be found in the LICENSE file. | 1660 // BSD-style license that can be found in the LICENSE file. |
| 1629 | 1661 |
| 1630 | 1662 |
| 1631 @DocsEditable | 1663 @DocsEditable |
| 1632 @DomName('CloseEvent') | 1664 @DomName('CloseEvent') |
| 1633 class CloseEvent extends Event native "CloseEvent" { | 1665 class CloseEvent extends Event native "CloseEvent" { |
| 1666 // To suppress missing implicit constructor warnings. |
| 1667 factory CloseEvent._() { throw new UnsupportedError("Not supported"); } |
| 1634 | 1668 |
| 1635 @DomName('CloseEvent.code') | 1669 @DomName('CloseEvent.code') |
| 1636 @DocsEditable | 1670 @DocsEditable |
| 1637 final int code; | 1671 final int code; |
| 1638 | 1672 |
| 1639 @DomName('CloseEvent.reason') | 1673 @DomName('CloseEvent.reason') |
| 1640 @DocsEditable | 1674 @DocsEditable |
| 1641 final String reason; | 1675 final String reason; |
| 1642 | 1676 |
| 1643 @DomName('CloseEvent.wasClean') | 1677 @DomName('CloseEvent.wasClean') |
| 1644 @DocsEditable | 1678 @DocsEditable |
| 1645 final bool wasClean; | 1679 final bool wasClean; |
| 1646 } | 1680 } |
| 1647 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1681 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1648 // for details. All rights reserved. Use of this source code is governed by a | 1682 // for details. All rights reserved. Use of this source code is governed by a |
| 1649 // BSD-style license that can be found in the LICENSE file. | 1683 // BSD-style license that can be found in the LICENSE file. |
| 1650 | 1684 |
| 1651 | 1685 |
| 1652 @DocsEditable | 1686 @DocsEditable |
| 1653 @DomName('Comment') | 1687 @DomName('Comment') |
| 1654 class Comment extends CharacterData native "Comment" { | 1688 class Comment extends CharacterData native "Comment" { |
| 1689 // To suppress missing implicit constructor warnings. |
| 1690 factory Comment._() { throw new UnsupportedError("Not supported"); } |
| 1655 | 1691 |
| 1656 @DomName('Comment.Comment') | 1692 @DomName('Comment.Comment') |
| 1657 @DocsEditable | 1693 @DocsEditable |
| 1658 factory Comment([String data]) { | 1694 factory Comment([String data]) { |
| 1659 if (data != null) { | 1695 if (data != null) { |
| 1660 return Comment._create_1(data); | 1696 return Comment._create_1(data); |
| 1661 } | 1697 } |
| 1662 return Comment._create_2(); | 1698 return Comment._create_2(); |
| 1663 } | 1699 } |
| 1664 static Comment _create_1(data) => JS('Comment', 'new Comment(#)', data); | 1700 static Comment _create_1(data) => JS('Comment', 'new Comment(#)', data); |
| 1665 static Comment _create_2() => JS('Comment', 'new Comment()'); | 1701 static Comment _create_2() => JS('Comment', 'new Comment()'); |
| 1666 } | 1702 } |
| 1667 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1703 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1668 // for details. All rights reserved. Use of this source code is governed by a | 1704 // for details. All rights reserved. Use of this source code is governed by a |
| 1669 // BSD-style license that can be found in the LICENSE file. | 1705 // BSD-style license that can be found in the LICENSE file. |
| 1670 | 1706 |
| 1671 | 1707 |
| 1672 @DocsEditable | 1708 @DocsEditable |
| 1673 @DomName('Composition') | 1709 @DomName('Composition') |
| 1674 // http://www.w3.org/TR/ime-api/#idl-def-Composition | 1710 // http://www.w3.org/TR/ime-api/#idl-def-Composition |
| 1675 @Experimental | 1711 @Experimental |
| 1676 class Composition native "Composition" { | 1712 class Composition extends Interceptor native "Composition" { |
| 1677 | 1713 |
| 1678 @DomName('Composition.caret') | 1714 @DomName('Composition.caret') |
| 1679 @DocsEditable | 1715 @DocsEditable |
| 1680 final Range caret; | 1716 final Range caret; |
| 1681 | 1717 |
| 1682 @DomName('Composition.text') | 1718 @DomName('Composition.text') |
| 1683 @DocsEditable | 1719 @DocsEditable |
| 1684 final Node text; | 1720 final Node text; |
| 1685 } | 1721 } |
| 1686 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1722 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 1687 // for details. All rights reserved. Use of this source code is governed by a | 1723 // for details. All rights reserved. Use of this source code is governed by a |
| 1688 // BSD-style license that can be found in the LICENSE file. | 1724 // BSD-style license that can be found in the LICENSE file. |
| 1689 | 1725 |
| 1690 // WARNING: Do not edit - generated code. | 1726 // WARNING: Do not edit - generated code. |
| 1691 | 1727 |
| 1692 | 1728 |
| 1693 @DomName('CompositionEvent') | 1729 @DomName('CompositionEvent') |
| 1694 class CompositionEvent extends UIEvent native "CompositionEvent" { | 1730 class CompositionEvent extends UIEvent native "CompositionEvent" { |
| 1695 factory CompositionEvent(String type, | 1731 factory CompositionEvent(String type, |
| 1696 {bool canBubble: false, bool cancelable: false, Window view, | 1732 {bool canBubble: false, bool cancelable: false, Window view, |
| 1697 String data}) { | 1733 String data}) { |
| 1698 if (view == null) { | 1734 if (view == null) { |
| 1699 view = window; | 1735 view = window; |
| 1700 } | 1736 } |
| 1701 var e = document.$dom_createEvent("CompositionEvent"); | 1737 var e = document.$dom_createEvent("CompositionEvent"); |
| 1702 e.$dom_initCompositionEvent(type, canBubble, cancelable, view, data); | 1738 e.$dom_initCompositionEvent(type, canBubble, cancelable, view, data); |
| 1703 return e; | 1739 return e; |
| 1704 } | 1740 } |
| 1741 // To suppress missing implicit constructor warnings. |
| 1742 factory CompositionEvent._() { throw new UnsupportedError("Not supported"); } |
| 1705 | 1743 |
| 1706 @DomName('CompositionEvent.data') | 1744 @DomName('CompositionEvent.data') |
| 1707 @DocsEditable | 1745 @DocsEditable |
| 1708 final String data; | 1746 final String data; |
| 1709 | 1747 |
| 1710 @JSName('initCompositionEvent') | 1748 @JSName('initCompositionEvent') |
| 1711 @DomName('CompositionEvent.initCompositionEvent') | 1749 @DomName('CompositionEvent.initCompositionEvent') |
| 1712 @DocsEditable | 1750 @DocsEditable |
| 1713 void $dom_initCompositionEvent(String typeArg, bool canBubbleArg, bool cancela
bleArg, Window viewArg, String dataArg) native; | 1751 void $dom_initCompositionEvent(String typeArg, bool canBubbleArg, bool cancela
bleArg, Window viewArg, String dataArg) native; |
| 1714 | 1752 |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1820 // for details. All rights reserved. Use of this source code is governed by a | 1858 // for details. All rights reserved. Use of this source code is governed by a |
| 1821 // BSD-style license that can be found in the LICENSE file. | 1859 // BSD-style license that can be found in the LICENSE file. |
| 1822 | 1860 |
| 1823 | 1861 |
| 1824 @DocsEditable | 1862 @DocsEditable |
| 1825 @DomName('HTMLContentElement') | 1863 @DomName('HTMLContentElement') |
| 1826 @SupportedBrowser(SupportedBrowser.CHROME, '26') | 1864 @SupportedBrowser(SupportedBrowser.CHROME, '26') |
| 1827 @Experimental | 1865 @Experimental |
| 1828 // https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/shadow/index.html#cont
ent-element | 1866 // https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/shadow/index.html#cont
ent-element |
| 1829 class ContentElement extends _HTMLElement native "HTMLContentElement" { | 1867 class ContentElement extends _HTMLElement native "HTMLContentElement" { |
| 1868 // To suppress missing implicit constructor warnings. |
| 1869 factory ContentElement._() { throw new UnsupportedError("Not supported"); } |
| 1830 | 1870 |
| 1831 @DomName('HTMLContentElement.HTMLContentElement') | 1871 @DomName('HTMLContentElement.HTMLContentElement') |
| 1832 @DocsEditable | 1872 @DocsEditable |
| 1833 factory ContentElement() => document.$dom_createElement("content"); | 1873 factory ContentElement() => document.$dom_createElement("content"); |
| 1834 | 1874 |
| 1835 /// Checks if this type is supported on the current platform. | 1875 /// Checks if this type is supported on the current platform. |
| 1836 static bool get supported => Element.isTagSupported('content'); | 1876 static bool get supported => Element.isTagSupported('content'); |
| 1837 | 1877 |
| 1838 @DomName('HTMLContentElement.resetStyleInheritance') | 1878 @DomName('HTMLContentElement.resetStyleInheritance') |
| 1839 @DocsEditable | 1879 @DocsEditable |
| 1840 bool resetStyleInheritance; | 1880 bool resetStyleInheritance; |
| 1841 | 1881 |
| 1842 @DomName('HTMLContentElement.select') | 1882 @DomName('HTMLContentElement.select') |
| 1843 @DocsEditable | 1883 @DocsEditable |
| 1844 String select; | 1884 String select; |
| 1845 | 1885 |
| 1846 @DomName('HTMLContentElement.getDistributedNodes') | 1886 @DomName('HTMLContentElement.getDistributedNodes') |
| 1847 @DocsEditable | 1887 @DocsEditable |
| 1848 @Returns('NodeList') | 1888 @Returns('NodeList') |
| 1849 @Creates('NodeList') | 1889 @Creates('NodeList') |
| 1850 List<Node> getDistributedNodes() native; | 1890 List<Node> getDistributedNodes() native; |
| 1851 } | 1891 } |
| 1852 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1892 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1853 // for details. All rights reserved. Use of this source code is governed by a | 1893 // for details. All rights reserved. Use of this source code is governed by a |
| 1854 // BSD-style license that can be found in the LICENSE file. | 1894 // BSD-style license that can be found in the LICENSE file. |
| 1855 | 1895 |
| 1856 | 1896 |
| 1857 @DocsEditable | 1897 @DocsEditable |
| 1858 @DomName('Coordinates') | 1898 @DomName('Coordinates') |
| 1859 class Coordinates native "Coordinates" { | 1899 class Coordinates extends Interceptor native "Coordinates" { |
| 1860 | 1900 |
| 1861 @DomName('Coordinates.accuracy') | 1901 @DomName('Coordinates.accuracy') |
| 1862 @DocsEditable | 1902 @DocsEditable |
| 1863 final num accuracy; | 1903 final num accuracy; |
| 1864 | 1904 |
| 1865 @DomName('Coordinates.altitude') | 1905 @DomName('Coordinates.altitude') |
| 1866 @DocsEditable | 1906 @DocsEditable |
| 1867 final num altitude; | 1907 final num altitude; |
| 1868 | 1908 |
| 1869 @DomName('Coordinates.altitudeAccuracy') | 1909 @DomName('Coordinates.altitudeAccuracy') |
| (...skipping 20 matching lines...) Expand all Loading... |
| 1890 // for details. All rights reserved. Use of this source code is governed by a | 1930 // for details. All rights reserved. Use of this source code is governed by a |
| 1891 // BSD-style license that can be found in the LICENSE file. | 1931 // BSD-style license that can be found in the LICENSE file. |
| 1892 | 1932 |
| 1893 | 1933 |
| 1894 @DocsEditable | 1934 @DocsEditable |
| 1895 @DomName('Crypto') | 1935 @DomName('Crypto') |
| 1896 @SupportedBrowser(SupportedBrowser.CHROME) | 1936 @SupportedBrowser(SupportedBrowser.CHROME) |
| 1897 @SupportedBrowser(SupportedBrowser.SAFARI) | 1937 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 1898 @Experimental | 1938 @Experimental |
| 1899 // http://www.w3.org/TR/WebCryptoAPI/ | 1939 // http://www.w3.org/TR/WebCryptoAPI/ |
| 1900 class Crypto native "Crypto" { | 1940 class Crypto extends Interceptor native "Crypto" { |
| 1901 | 1941 |
| 1902 /// Checks if this type is supported on the current platform. | 1942 /// Checks if this type is supported on the current platform. |
| 1903 static bool get supported => JS('bool', '!!(window.crypto && window.crypto.get
RandomValues)'); | 1943 static bool get supported => JS('bool', '!!(window.crypto && window.crypto.get
RandomValues)'); |
| 1904 | 1944 |
| 1905 @DomName('Crypto.getRandomValues') | 1945 @DomName('Crypto.getRandomValues') |
| 1906 @DocsEditable | 1946 @DocsEditable |
| 1907 @Creates('TypedData') | 1947 @Creates('TypedData') |
| 1908 @Returns('TypedData|Null') | 1948 @Returns('TypedData|Null') |
| 1909 TypedData getRandomValues(TypedData array) native; | 1949 TypedData getRandomValues(TypedData array) native; |
| 1910 } | 1950 } |
| 1911 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1951 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1912 // for details. All rights reserved. Use of this source code is governed by a | 1952 // for details. All rights reserved. Use of this source code is governed by a |
| 1913 // BSD-style license that can be found in the LICENSE file. | 1953 // BSD-style license that can be found in the LICENSE file. |
| 1914 | 1954 |
| 1915 | 1955 |
| 1916 @DocsEditable | 1956 @DocsEditable |
| 1917 @DomName('CSS') | 1957 @DomName('CSS') |
| 1918 // http://www.w3.org/TR/css3-conditional/#the-css-interface | 1958 // http://www.w3.org/TR/css3-conditional/#the-css-interface |
| 1919 @Experimental // None | 1959 @Experimental // None |
| 1920 class Css native "CSS" { | 1960 class Css extends Interceptor native "CSS" { |
| 1921 | 1961 |
| 1922 @DomName('CSS.supports') | 1962 @DomName('CSS.supports') |
| 1923 @DocsEditable | 1963 @DocsEditable |
| 1924 bool supports(String conditionText_OR_property, [String value]) native; | 1964 bool supports(String conditionText_OR_property, [String value]) native; |
| 1925 } | 1965 } |
| 1926 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1966 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1927 // for details. All rights reserved. Use of this source code is governed by a | 1967 // for details. All rights reserved. Use of this source code is governed by a |
| 1928 // BSD-style license that can be found in the LICENSE file. | 1968 // BSD-style license that can be found in the LICENSE file. |
| 1929 | 1969 |
| 1930 | 1970 |
| 1931 @DocsEditable | 1971 @DocsEditable |
| 1932 @DomName('CSSCharsetRule') | 1972 @DomName('CSSCharsetRule') |
| 1933 // http://dev.w3.org/csswg/cssom/#the-csscharsetrule-interface | 1973 // http://dev.w3.org/csswg/cssom/#the-csscharsetrule-interface |
| 1934 @Experimental | 1974 @Experimental |
| 1935 class CssCharsetRule extends CssRule native "CSSCharsetRule" { | 1975 class CssCharsetRule extends CssRule native "CSSCharsetRule" { |
| 1976 // To suppress missing implicit constructor warnings. |
| 1977 factory CssCharsetRule._() { throw new UnsupportedError("Not supported"); } |
| 1936 | 1978 |
| 1937 @DomName('CSSCharsetRule.encoding') | 1979 @DomName('CSSCharsetRule.encoding') |
| 1938 @DocsEditable | 1980 @DocsEditable |
| 1939 String encoding; | 1981 String encoding; |
| 1940 } | 1982 } |
| 1941 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1983 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1942 // for details. All rights reserved. Use of this source code is governed by a | 1984 // for details. All rights reserved. Use of this source code is governed by a |
| 1943 // BSD-style license that can be found in the LICENSE file. | 1985 // BSD-style license that can be found in the LICENSE file. |
| 1944 | 1986 |
| 1945 | 1987 |
| 1946 @DocsEditable | 1988 @DocsEditable |
| 1947 @DomName('WebKitCSSFilterRule') | 1989 @DomName('WebKitCSSFilterRule') |
| 1948 @SupportedBrowser(SupportedBrowser.CHROME) | 1990 @SupportedBrowser(SupportedBrowser.CHROME) |
| 1949 @SupportedBrowser(SupportedBrowser.SAFARI) | 1991 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 1950 @Experimental | 1992 @Experimental |
| 1951 // http://www.w3.org/TR/filter-effects/ | 1993 // http://www.w3.org/TR/filter-effects/ |
| 1952 class CssFilterRule extends CssRule native "WebKitCSSFilterRule" { | 1994 class CssFilterRule extends CssRule native "WebKitCSSFilterRule" { |
| 1995 // To suppress missing implicit constructor warnings. |
| 1996 factory CssFilterRule._() { throw new UnsupportedError("Not supported"); } |
| 1953 | 1997 |
| 1954 @DomName('WebKitCSSFilterRule.style') | 1998 @DomName('WebKitCSSFilterRule.style') |
| 1955 @DocsEditable | 1999 @DocsEditable |
| 1956 final CssStyleDeclaration style; | 2000 final CssStyleDeclaration style; |
| 1957 } | 2001 } |
| 1958 // 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 |
| 1959 // 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 |
| 1960 // BSD-style license that can be found in the LICENSE file. | 2004 // BSD-style license that can be found in the LICENSE file. |
| 1961 | 2005 |
| 1962 | 2006 |
| 1963 @DocsEditable | 2007 @DocsEditable |
| 1964 @DomName('WebKitCSSFilterValue') | 2008 @DomName('WebKitCSSFilterValue') |
| 1965 @SupportedBrowser(SupportedBrowser.CHROME) | 2009 @SupportedBrowser(SupportedBrowser.CHROME) |
| 1966 @SupportedBrowser(SupportedBrowser.SAFARI) | 2010 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 1967 @Experimental | 2011 @Experimental |
| 1968 // http://dev.w3.org/csswg/cssom/ | 2012 // http://dev.w3.org/csswg/cssom/ |
| 1969 @deprecated // deprecated | 2013 @deprecated // deprecated |
| 1970 class CssFilterValue extends _CssValueList native "WebKitCSSFilterValue" { | 2014 class CssFilterValue extends _CssValueList native "WebKitCSSFilterValue" { |
| 2015 // To suppress missing implicit constructor warnings. |
| 2016 factory CssFilterValue._() { throw new UnsupportedError("Not supported"); } |
| 1971 | 2017 |
| 1972 @DomName('WebKitCSSFilterValue.CSS_FILTER_BLUR') | 2018 @DomName('WebKitCSSFilterValue.CSS_FILTER_BLUR') |
| 1973 @DocsEditable | 2019 @DocsEditable |
| 1974 static const int CSS_FILTER_BLUR = 10; | 2020 static const int CSS_FILTER_BLUR = 10; |
| 1975 | 2021 |
| 1976 @DomName('WebKitCSSFilterValue.CSS_FILTER_BRIGHTNESS') | 2022 @DomName('WebKitCSSFilterValue.CSS_FILTER_BRIGHTNESS') |
| 1977 @DocsEditable | 2023 @DocsEditable |
| 1978 static const int CSS_FILTER_BRIGHTNESS = 8; | 2024 static const int CSS_FILTER_BRIGHTNESS = 8; |
| 1979 | 2025 |
| 1980 @DomName('WebKitCSSFilterValue.CSS_FILTER_CONTRAST') | 2026 @DomName('WebKitCSSFilterValue.CSS_FILTER_CONTRAST') |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2028 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 2074 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2029 // for details. All rights reserved. Use of this source code is governed by a | 2075 // for details. All rights reserved. Use of this source code is governed by a |
| 2030 // BSD-style license that can be found in the LICENSE file. | 2076 // BSD-style license that can be found in the LICENSE file. |
| 2031 | 2077 |
| 2032 | 2078 |
| 2033 @DocsEditable | 2079 @DocsEditable |
| 2034 @DomName('CSSFontFaceLoadEvent') | 2080 @DomName('CSSFontFaceLoadEvent') |
| 2035 // http://www.w3.org/TR/css3-fonts/ | 2081 // http://www.w3.org/TR/css3-fonts/ |
| 2036 @Experimental | 2082 @Experimental |
| 2037 class CssFontFaceLoadEvent extends Event native "CSSFontFaceLoadEvent" { | 2083 class CssFontFaceLoadEvent extends Event native "CSSFontFaceLoadEvent" { |
| 2084 // To suppress missing implicit constructor warnings. |
| 2085 factory CssFontFaceLoadEvent._() { throw new UnsupportedError("Not supported")
; } |
| 2038 | 2086 |
| 2039 @DomName('CSSFontFaceLoadEvent.error') | 2087 @DomName('CSSFontFaceLoadEvent.error') |
| 2040 @DocsEditable | 2088 @DocsEditable |
| 2041 final DomError error; | 2089 final DomError error; |
| 2042 | 2090 |
| 2043 @DomName('CSSFontFaceLoadEvent.fontface') | 2091 @DomName('CSSFontFaceLoadEvent.fontface') |
| 2044 @DocsEditable | 2092 @DocsEditable |
| 2045 final CssFontFaceRule fontface; | 2093 final CssFontFaceRule fontface; |
| 2046 } | 2094 } |
| 2047 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 2095 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2048 // for details. All rights reserved. Use of this source code is governed by a | 2096 // for details. All rights reserved. Use of this source code is governed by a |
| 2049 // BSD-style license that can be found in the LICENSE file. | 2097 // BSD-style license that can be found in the LICENSE file. |
| 2050 | 2098 |
| 2051 | 2099 |
| 2052 @DocsEditable | 2100 @DocsEditable |
| 2053 @DomName('CSSFontFaceRule') | 2101 @DomName('CSSFontFaceRule') |
| 2054 class CssFontFaceRule extends CssRule native "CSSFontFaceRule" { | 2102 class CssFontFaceRule extends CssRule native "CSSFontFaceRule" { |
| 2103 // To suppress missing implicit constructor warnings. |
| 2104 factory CssFontFaceRule._() { throw new UnsupportedError("Not supported"); } |
| 2055 | 2105 |
| 2056 @DomName('CSSFontFaceRule.style') | 2106 @DomName('CSSFontFaceRule.style') |
| 2057 @DocsEditable | 2107 @DocsEditable |
| 2058 final CssStyleDeclaration style; | 2108 final CssStyleDeclaration style; |
| 2059 } | 2109 } |
| 2060 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 2110 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2061 // for details. All rights reserved. Use of this source code is governed by a | 2111 // for details. All rights reserved. Use of this source code is governed by a |
| 2062 // BSD-style license that can be found in the LICENSE file. | 2112 // BSD-style license that can be found in the LICENSE file. |
| 2063 | 2113 |
| 2064 | 2114 |
| 2065 @DocsEditable | 2115 @DocsEditable |
| 2066 @DomName('CSSHostRule') | 2116 @DomName('CSSHostRule') |
| 2067 @SupportedBrowser(SupportedBrowser.CHROME, '26') | 2117 @SupportedBrowser(SupportedBrowser.CHROME, '26') |
| 2068 @Experimental | 2118 @Experimental |
| 2069 // https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/shadow/index.html#css-
host-rule-interface | 2119 // https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/shadow/index.html#css-
host-rule-interface |
| 2070 class CssHostRule extends CssRule native "CSSHostRule" { | 2120 class CssHostRule extends CssRule native "CSSHostRule" { |
| 2121 // To suppress missing implicit constructor warnings. |
| 2122 factory CssHostRule._() { throw new UnsupportedError("Not supported"); } |
| 2071 | 2123 |
| 2072 @DomName('CSSHostRule.cssRules') | 2124 @DomName('CSSHostRule.cssRules') |
| 2073 @DocsEditable | 2125 @DocsEditable |
| 2074 @Returns('_CssRuleList') | 2126 @Returns('_CssRuleList') |
| 2075 @Creates('_CssRuleList') | 2127 @Creates('_CssRuleList') |
| 2076 final List<CssRule> cssRules; | 2128 final List<CssRule> cssRules; |
| 2077 | 2129 |
| 2078 @DomName('CSSHostRule.deleteRule') | 2130 @DomName('CSSHostRule.deleteRule') |
| 2079 @DocsEditable | 2131 @DocsEditable |
| 2080 void deleteRule(int index) native; | 2132 void deleteRule(int index) native; |
| 2081 | 2133 |
| 2082 @DomName('CSSHostRule.insertRule') | 2134 @DomName('CSSHostRule.insertRule') |
| 2083 @DocsEditable | 2135 @DocsEditable |
| 2084 int insertRule(String rule, int index) native; | 2136 int insertRule(String rule, int index) native; |
| 2085 } | 2137 } |
| 2086 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 2138 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2087 // for details. All rights reserved. Use of this source code is governed by a | 2139 // for details. All rights reserved. Use of this source code is governed by a |
| 2088 // BSD-style license that can be found in the LICENSE file. | 2140 // BSD-style license that can be found in the LICENSE file. |
| 2089 | 2141 |
| 2090 | 2142 |
| 2091 @DocsEditable | 2143 @DocsEditable |
| 2092 @DomName('CSSImportRule') | 2144 @DomName('CSSImportRule') |
| 2093 class CssImportRule extends CssRule native "CSSImportRule" { | 2145 class CssImportRule extends CssRule native "CSSImportRule" { |
| 2146 // To suppress missing implicit constructor warnings. |
| 2147 factory CssImportRule._() { throw new UnsupportedError("Not supported"); } |
| 2094 | 2148 |
| 2095 @DomName('CSSImportRule.href') | 2149 @DomName('CSSImportRule.href') |
| 2096 @DocsEditable | 2150 @DocsEditable |
| 2097 final String href; | 2151 final String href; |
| 2098 | 2152 |
| 2099 @DomName('CSSImportRule.media') | 2153 @DomName('CSSImportRule.media') |
| 2100 @DocsEditable | 2154 @DocsEditable |
| 2101 final MediaList media; | 2155 final MediaList media; |
| 2102 | 2156 |
| 2103 @DomName('CSSImportRule.styleSheet') | 2157 @DomName('CSSImportRule.styleSheet') |
| 2104 @DocsEditable | 2158 @DocsEditable |
| 2105 final CssStyleSheet styleSheet; | 2159 final CssStyleSheet styleSheet; |
| 2106 } | 2160 } |
| 2107 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 2161 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2108 // for details. All rights reserved. Use of this source code is governed by a | 2162 // for details. All rights reserved. Use of this source code is governed by a |
| 2109 // BSD-style license that can be found in the LICENSE file. | 2163 // BSD-style license that can be found in the LICENSE file. |
| 2110 | 2164 |
| 2111 | 2165 |
| 2112 @DocsEditable | 2166 @DocsEditable |
| 2113 @DomName('WebKitCSSKeyframeRule') | 2167 @DomName('WebKitCSSKeyframeRule') |
| 2114 @SupportedBrowser(SupportedBrowser.CHROME) | 2168 @SupportedBrowser(SupportedBrowser.CHROME) |
| 2115 @SupportedBrowser(SupportedBrowser.SAFARI) | 2169 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 2116 @Experimental | 2170 @Experimental |
| 2117 // http://www.w3.org/TR/css3-animations/#CSSKeyframeRule-interface | 2171 // http://www.w3.org/TR/css3-animations/#CSSKeyframeRule-interface |
| 2118 class CssKeyframeRule extends CssRule native "CSSKeyframeRule,MozCSSKeyframeRule
,WebKitCSSKeyframeRule" { | 2172 class CssKeyframeRule extends CssRule native "CSSKeyframeRule,MozCSSKeyframeRule
,WebKitCSSKeyframeRule" { |
| 2173 // To suppress missing implicit constructor warnings. |
| 2174 factory CssKeyframeRule._() { throw new UnsupportedError("Not supported"); } |
| 2119 | 2175 |
| 2120 @DomName('WebKitCSSKeyframeRule.keyText') | 2176 @DomName('WebKitCSSKeyframeRule.keyText') |
| 2121 @DocsEditable | 2177 @DocsEditable |
| 2122 String keyText; | 2178 String keyText; |
| 2123 | 2179 |
| 2124 @DomName('WebKitCSSKeyframeRule.style') | 2180 @DomName('WebKitCSSKeyframeRule.style') |
| 2125 @DocsEditable | 2181 @DocsEditable |
| 2126 final CssStyleDeclaration style; | 2182 final CssStyleDeclaration style; |
| 2127 } | 2183 } |
| 2128 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 2184 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2129 // for details. All rights reserved. Use of this source code is governed by a | 2185 // for details. All rights reserved. Use of this source code is governed by a |
| 2130 // BSD-style license that can be found in the LICENSE file. | 2186 // BSD-style license that can be found in the LICENSE file. |
| 2131 | 2187 |
| 2132 | 2188 |
| 2133 @DocsEditable | 2189 @DocsEditable |
| 2134 @DomName('WebKitCSSKeyframesRule') | 2190 @DomName('WebKitCSSKeyframesRule') |
| 2135 @SupportedBrowser(SupportedBrowser.CHROME) | 2191 @SupportedBrowser(SupportedBrowser.CHROME) |
| 2136 @SupportedBrowser(SupportedBrowser.SAFARI) | 2192 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 2137 @Experimental | 2193 @Experimental |
| 2138 // http://www.w3.org/TR/css3-animations/#csskeyframesrule | 2194 // http://www.w3.org/TR/css3-animations/#csskeyframesrule |
| 2139 class CssKeyframesRule extends CssRule native "CSSKeyframesRule,MozCSSKeyframesR
ule,WebKitCSSKeyframesRule" { | 2195 class CssKeyframesRule extends CssRule native "CSSKeyframesRule,MozCSSKeyframesR
ule,WebKitCSSKeyframesRule" { |
| 2196 // To suppress missing implicit constructor warnings. |
| 2197 factory CssKeyframesRule._() { throw new UnsupportedError("Not supported"); } |
| 2140 | 2198 |
| 2141 @DomName('WebKitCSSKeyframesRule.cssRules') | 2199 @DomName('WebKitCSSKeyframesRule.cssRules') |
| 2142 @DocsEditable | 2200 @DocsEditable |
| 2143 @Returns('_CssRuleList') | 2201 @Returns('_CssRuleList') |
| 2144 @Creates('_CssRuleList') | 2202 @Creates('_CssRuleList') |
| 2145 final List<CssRule> cssRules; | 2203 final List<CssRule> cssRules; |
| 2146 | 2204 |
| 2147 @DomName('WebKitCSSKeyframesRule.name') | 2205 @DomName('WebKitCSSKeyframesRule.name') |
| 2148 @DocsEditable | 2206 @DocsEditable |
| 2149 String name; | 2207 String name; |
| (...skipping 27 matching lines...) Expand all Loading... |
| 2177 @DocsEditable | 2235 @DocsEditable |
| 2178 @DomName('WebKitCSSMatrix') | 2236 @DomName('WebKitCSSMatrix') |
| 2179 @SupportedBrowser(SupportedBrowser.CHROME) | 2237 @SupportedBrowser(SupportedBrowser.CHROME) |
| 2180 @SupportedBrowser(SupportedBrowser.SAFARI) | 2238 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 2181 @Experimental | 2239 @Experimental |
| 2182 @SupportedBrowser(SupportedBrowser.CHROME) | 2240 @SupportedBrowser(SupportedBrowser.CHROME) |
| 2183 @SupportedBrowser(SupportedBrowser.SAFARI) | 2241 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 2184 @Experimental | 2242 @Experimental |
| 2185 // http://dev.w3.org/csswg/cssom/ | 2243 // http://dev.w3.org/csswg/cssom/ |
| 2186 @deprecated // deprecated | 2244 @deprecated // deprecated |
| 2187 class CssMatrix native "WebKitCSSMatrix" { | 2245 class CssMatrix extends Interceptor native "WebKitCSSMatrix" { |
| 2188 | 2246 |
| 2189 @DomName('WebKitCSSMatrix.CSSMatrix') | 2247 @DomName('WebKitCSSMatrix.CSSMatrix') |
| 2190 @DocsEditable | 2248 @DocsEditable |
| 2191 factory CssMatrix([String cssValue]) { | 2249 factory CssMatrix([String cssValue]) { |
| 2192 if (cssValue != null) { | 2250 if (cssValue != null) { |
| 2193 return CssMatrix._create_1(cssValue); | 2251 return CssMatrix._create_1(cssValue); |
| 2194 } | 2252 } |
| 2195 return CssMatrix._create_2(); | 2253 return CssMatrix._create_2(); |
| 2196 } | 2254 } |
| 2197 static CssMatrix _create_1(cssValue) => JS('CssMatrix', 'new WebKitCSSMatrix(#
)', cssValue); | 2255 static CssMatrix _create_1(cssValue) => JS('CssMatrix', 'new WebKitCSSMatrix(#
)', cssValue); |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2326 CssMatrix translate(num x, num y, num z) native; | 2384 CssMatrix translate(num x, num y, num z) native; |
| 2327 } | 2385 } |
| 2328 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 2386 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2329 // for details. All rights reserved. Use of this source code is governed by a | 2387 // for details. All rights reserved. Use of this source code is governed by a |
| 2330 // BSD-style license that can be found in the LICENSE file. | 2388 // BSD-style license that can be found in the LICENSE file. |
| 2331 | 2389 |
| 2332 | 2390 |
| 2333 @DocsEditable | 2391 @DocsEditable |
| 2334 @DomName('CSSMediaRule') | 2392 @DomName('CSSMediaRule') |
| 2335 class CssMediaRule extends CssRule native "CSSMediaRule" { | 2393 class CssMediaRule extends CssRule native "CSSMediaRule" { |
| 2394 // To suppress missing implicit constructor warnings. |
| 2395 factory CssMediaRule._() { throw new UnsupportedError("Not supported"); } |
| 2336 | 2396 |
| 2337 @DomName('CSSMediaRule.cssRules') | 2397 @DomName('CSSMediaRule.cssRules') |
| 2338 @DocsEditable | 2398 @DocsEditable |
| 2339 @Returns('_CssRuleList') | 2399 @Returns('_CssRuleList') |
| 2340 @Creates('_CssRuleList') | 2400 @Creates('_CssRuleList') |
| 2341 final List<CssRule> cssRules; | 2401 final List<CssRule> cssRules; |
| 2342 | 2402 |
| 2343 @DomName('CSSMediaRule.media') | 2403 @DomName('CSSMediaRule.media') |
| 2344 @DocsEditable | 2404 @DocsEditable |
| 2345 final MediaList media; | 2405 final MediaList media; |
| (...skipping 12 matching lines...) Expand all Loading... |
| 2358 | 2418 |
| 2359 | 2419 |
| 2360 @DocsEditable | 2420 @DocsEditable |
| 2361 @DomName('WebKitCSSMixFunctionValue') | 2421 @DomName('WebKitCSSMixFunctionValue') |
| 2362 @SupportedBrowser(SupportedBrowser.CHROME) | 2422 @SupportedBrowser(SupportedBrowser.CHROME) |
| 2363 @SupportedBrowser(SupportedBrowser.SAFARI) | 2423 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 2364 @Experimental | 2424 @Experimental |
| 2365 // http://dev.w3.org/csswg/cssom/ | 2425 // http://dev.w3.org/csswg/cssom/ |
| 2366 @deprecated // deprecated | 2426 @deprecated // deprecated |
| 2367 class CssMixFunctionValue extends _CssValueList native "WebKitCSSMixFunctionValu
e" { | 2427 class CssMixFunctionValue extends _CssValueList native "WebKitCSSMixFunctionValu
e" { |
| 2428 // To suppress missing implicit constructor warnings. |
| 2429 factory CssMixFunctionValue._() { throw new UnsupportedError("Not supported");
} |
| 2368 } | 2430 } |
| 2369 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 2431 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2370 // for details. All rights reserved. Use of this source code is governed by a | 2432 // for details. All rights reserved. Use of this source code is governed by a |
| 2371 // BSD-style license that can be found in the LICENSE file. | 2433 // BSD-style license that can be found in the LICENSE file. |
| 2372 | 2434 |
| 2373 | 2435 |
| 2374 @DocsEditable | 2436 @DocsEditable |
| 2375 @DomName('CSSPageRule') | 2437 @DomName('CSSPageRule') |
| 2376 class CssPageRule extends CssRule native "CSSPageRule" { | 2438 class CssPageRule extends CssRule native "CSSPageRule" { |
| 2439 // To suppress missing implicit constructor warnings. |
| 2440 factory CssPageRule._() { throw new UnsupportedError("Not supported"); } |
| 2377 | 2441 |
| 2378 @DomName('CSSPageRule.selectorText') | 2442 @DomName('CSSPageRule.selectorText') |
| 2379 @DocsEditable | 2443 @DocsEditable |
| 2380 String selectorText; | 2444 String selectorText; |
| 2381 | 2445 |
| 2382 @DomName('CSSPageRule.style') | 2446 @DomName('CSSPageRule.style') |
| 2383 @DocsEditable | 2447 @DocsEditable |
| 2384 final CssStyleDeclaration style; | 2448 final CssStyleDeclaration style; |
| 2385 } | 2449 } |
| 2386 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 2450 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2387 // for details. All rights reserved. Use of this source code is governed by a | 2451 // for details. All rights reserved. Use of this source code is governed by a |
| 2388 // BSD-style license that can be found in the LICENSE file. | 2452 // BSD-style license that can be found in the LICENSE file. |
| 2389 | 2453 |
| 2390 | 2454 |
| 2391 @DocsEditable | 2455 @DocsEditable |
| 2392 @DomName('WebKitCSSRegionRule') | 2456 @DomName('WebKitCSSRegionRule') |
| 2393 @SupportedBrowser(SupportedBrowser.CHROME) | 2457 @SupportedBrowser(SupportedBrowser.CHROME) |
| 2394 @SupportedBrowser(SupportedBrowser.SAFARI) | 2458 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 2395 @Experimental | 2459 @Experimental |
| 2396 // http://dev.w3.org/csswg/css-regions/#region-style-rule-interface | 2460 // http://dev.w3.org/csswg/css-regions/#region-style-rule-interface |
| 2397 class CssRegionRule extends CssRule native "WebKitCSSRegionRule" { | 2461 class CssRegionRule extends CssRule native "WebKitCSSRegionRule" { |
| 2462 // To suppress missing implicit constructor warnings. |
| 2463 factory CssRegionRule._() { throw new UnsupportedError("Not supported"); } |
| 2398 | 2464 |
| 2399 @DomName('WebKitCSSRegionRule.cssRules') | 2465 @DomName('WebKitCSSRegionRule.cssRules') |
| 2400 @DocsEditable | 2466 @DocsEditable |
| 2401 @Returns('_CssRuleList') | 2467 @Returns('_CssRuleList') |
| 2402 @Creates('_CssRuleList') | 2468 @Creates('_CssRuleList') |
| 2403 final List<CssRule> cssRules; | 2469 final List<CssRule> cssRules; |
| 2404 } | 2470 } |
| 2405 // 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 |
| 2406 // 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 |
| 2407 // BSD-style license that can be found in the LICENSE file. | 2473 // BSD-style license that can be found in the LICENSE file. |
| 2408 | 2474 |
| 2409 | 2475 |
| 2410 @DocsEditable | 2476 @DocsEditable |
| 2411 @DomName('CSSRule') | 2477 @DomName('CSSRule') |
| 2412 class CssRule native "CSSRule" { | 2478 class CssRule extends Interceptor native "CSSRule" { |
| 2413 | 2479 |
| 2414 @DomName('CSSRule.CHARSET_RULE') | 2480 @DomName('CSSRule.CHARSET_RULE') |
| 2415 @DocsEditable | 2481 @DocsEditable |
| 2416 static const int CHARSET_RULE = 2; | 2482 static const int CHARSET_RULE = 2; |
| 2417 | 2483 |
| 2418 @DomName('CSSRule.FONT_FACE_RULE') | 2484 @DomName('CSSRule.FONT_FACE_RULE') |
| 2419 @DocsEditable | 2485 @DocsEditable |
| 2420 static const int FONT_FACE_RULE = 5; | 2486 static const int FONT_FACE_RULE = 5; |
| 2421 | 2487 |
| 2422 @DomName('CSSRule.HOST_RULE') | 2488 @DomName('CSSRule.HOST_RULE') |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2490 @DomName('CSSRule.type') | 2556 @DomName('CSSRule.type') |
| 2491 @DocsEditable | 2557 @DocsEditable |
| 2492 final int type; | 2558 final int type; |
| 2493 } | 2559 } |
| 2494 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 2560 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2495 // for details. All rights reserved. Use of this source code is governed by a | 2561 // for details. All rights reserved. Use of this source code is governed by a |
| 2496 // BSD-style license that can be found in the LICENSE file. | 2562 // BSD-style license that can be found in the LICENSE file. |
| 2497 | 2563 |
| 2498 | 2564 |
| 2499 @DomName('CSSStyleDeclaration') | 2565 @DomName('CSSStyleDeclaration') |
| 2500 class CssStyleDeclaration native "CSSStyleDeclaration,MSStyleCSSProperties,CSS2P
roperties" { | 2566 class CssStyleDeclaration extends Interceptor native "CSSStyleDeclaration,MSStyl
eCSSProperties,CSS2Properties" { |
| 2501 factory CssStyleDeclaration() => new CssStyleDeclaration.css(''); | 2567 factory CssStyleDeclaration() => new CssStyleDeclaration.css(''); |
| 2502 | 2568 |
| 2503 factory CssStyleDeclaration.css(String css) { | 2569 factory CssStyleDeclaration.css(String css) { |
| 2504 final style = new Element.tag('div').style; | 2570 final style = new Element.tag('div').style; |
| 2505 style.cssText = css; | 2571 style.cssText = css; |
| 2506 return style; | 2572 return style; |
| 2507 } | 2573 } |
| 2508 | 2574 |
| 2509 | 2575 |
| 2510 @DomName('CSSStyleDeclaration.cssText') | 2576 @DomName('CSSStyleDeclaration.cssText') |
| (...skipping 3221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5732 } | 5798 } |
| 5733 } | 5799 } |
| 5734 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5800 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5735 // for details. All rights reserved. Use of this source code is governed by a | 5801 // for details. All rights reserved. Use of this source code is governed by a |
| 5736 // BSD-style license that can be found in the LICENSE file. | 5802 // BSD-style license that can be found in the LICENSE file. |
| 5737 | 5803 |
| 5738 | 5804 |
| 5739 @DocsEditable | 5805 @DocsEditable |
| 5740 @DomName('CSSStyleRule') | 5806 @DomName('CSSStyleRule') |
| 5741 class CssStyleRule extends CssRule native "CSSStyleRule" { | 5807 class CssStyleRule extends CssRule native "CSSStyleRule" { |
| 5808 // To suppress missing implicit constructor warnings. |
| 5809 factory CssStyleRule._() { throw new UnsupportedError("Not supported"); } |
| 5742 | 5810 |
| 5743 @DomName('CSSStyleRule.selectorText') | 5811 @DomName('CSSStyleRule.selectorText') |
| 5744 @DocsEditable | 5812 @DocsEditable |
| 5745 String selectorText; | 5813 String selectorText; |
| 5746 | 5814 |
| 5747 @DomName('CSSStyleRule.style') | 5815 @DomName('CSSStyleRule.style') |
| 5748 @DocsEditable | 5816 @DocsEditable |
| 5749 final CssStyleDeclaration style; | 5817 final CssStyleDeclaration style; |
| 5750 } | 5818 } |
| 5751 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5819 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5752 // for details. All rights reserved. Use of this source code is governed by a | 5820 // for details. All rights reserved. Use of this source code is governed by a |
| 5753 // BSD-style license that can be found in the LICENSE file. | 5821 // BSD-style license that can be found in the LICENSE file. |
| 5754 | 5822 |
| 5755 | 5823 |
| 5756 @DocsEditable | 5824 @DocsEditable |
| 5757 @DomName('CSSStyleSheet') | 5825 @DomName('CSSStyleSheet') |
| 5758 class CssStyleSheet extends StyleSheet native "CSSStyleSheet" { | 5826 class CssStyleSheet extends StyleSheet native "CSSStyleSheet" { |
| 5827 // To suppress missing implicit constructor warnings. |
| 5828 factory CssStyleSheet._() { throw new UnsupportedError("Not supported"); } |
| 5759 | 5829 |
| 5760 @DomName('CSSStyleSheet.cssRules') | 5830 @DomName('CSSStyleSheet.cssRules') |
| 5761 @DocsEditable | 5831 @DocsEditable |
| 5762 @Returns('_CssRuleList') | 5832 @Returns('_CssRuleList') |
| 5763 @Creates('_CssRuleList') | 5833 @Creates('_CssRuleList') |
| 5764 final List<CssRule> cssRules; | 5834 final List<CssRule> cssRules; |
| 5765 | 5835 |
| 5766 @DomName('CSSStyleSheet.ownerRule') | 5836 @DomName('CSSStyleSheet.ownerRule') |
| 5767 @DocsEditable | 5837 @DocsEditable |
| 5768 final CssRule ownerRule; | 5838 final CssRule ownerRule; |
| (...skipping 24 matching lines...) Expand all Loading... |
| 5793 void removeRule(int index) native; | 5863 void removeRule(int index) native; |
| 5794 } | 5864 } |
| 5795 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5865 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5796 // for details. All rights reserved. Use of this source code is governed by a | 5866 // for details. All rights reserved. Use of this source code is governed by a |
| 5797 // BSD-style license that can be found in the LICENSE file. | 5867 // BSD-style license that can be found in the LICENSE file. |
| 5798 | 5868 |
| 5799 | 5869 |
| 5800 @DocsEditable | 5870 @DocsEditable |
| 5801 @DomName('CSSSupportsRule') | 5871 @DomName('CSSSupportsRule') |
| 5802 class CssSupportsRule extends CssRule native "CSSSupportsRule" { | 5872 class CssSupportsRule extends CssRule native "CSSSupportsRule" { |
| 5873 // To suppress missing implicit constructor warnings. |
| 5874 factory CssSupportsRule._() { throw new UnsupportedError("Not supported"); } |
| 5803 | 5875 |
| 5804 @DomName('CSSSupportsRule.conditionText') | 5876 @DomName('CSSSupportsRule.conditionText') |
| 5805 @DocsEditable | 5877 @DocsEditable |
| 5806 final String conditionText; | 5878 final String conditionText; |
| 5807 | 5879 |
| 5808 @DomName('CSSSupportsRule.cssRules') | 5880 @DomName('CSSSupportsRule.cssRules') |
| 5809 @DocsEditable | 5881 @DocsEditable |
| 5810 @Returns('_CssRuleList') | 5882 @Returns('_CssRuleList') |
| 5811 @Creates('_CssRuleList') | 5883 @Creates('_CssRuleList') |
| 5812 final List<CssRule> cssRules; | 5884 final List<CssRule> cssRules; |
| (...skipping 12 matching lines...) Expand all Loading... |
| 5825 | 5897 |
| 5826 | 5898 |
| 5827 @DocsEditable | 5899 @DocsEditable |
| 5828 @DomName('WebKitCSSTransformValue') | 5900 @DomName('WebKitCSSTransformValue') |
| 5829 @SupportedBrowser(SupportedBrowser.CHROME) | 5901 @SupportedBrowser(SupportedBrowser.CHROME) |
| 5830 @SupportedBrowser(SupportedBrowser.SAFARI) | 5902 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 5831 @Experimental | 5903 @Experimental |
| 5832 // http://dev.w3.org/csswg/cssom/ | 5904 // http://dev.w3.org/csswg/cssom/ |
| 5833 @deprecated // deprecated | 5905 @deprecated // deprecated |
| 5834 class CssTransformValue extends _CssValueList native "WebKitCSSTransformValue" { | 5906 class CssTransformValue extends _CssValueList native "WebKitCSSTransformValue" { |
| 5907 // To suppress missing implicit constructor warnings. |
| 5908 factory CssTransformValue._() { throw new UnsupportedError("Not supported"); } |
| 5835 | 5909 |
| 5836 @DomName('WebKitCSSTransformValue.CSS_MATRIX') | 5910 @DomName('WebKitCSSTransformValue.CSS_MATRIX') |
| 5837 @DocsEditable | 5911 @DocsEditable |
| 5838 static const int CSS_MATRIX = 11; | 5912 static const int CSS_MATRIX = 11; |
| 5839 | 5913 |
| 5840 @DomName('WebKitCSSTransformValue.CSS_MATRIX3D') | 5914 @DomName('WebKitCSSTransformValue.CSS_MATRIX3D') |
| 5841 @DocsEditable | 5915 @DocsEditable |
| 5842 static const int CSS_MATRIX3D = 21; | 5916 static const int CSS_MATRIX3D = 21; |
| 5843 | 5917 |
| 5844 @DomName('WebKitCSSTransformValue.CSS_PERSPECTIVE') | 5918 @DomName('WebKitCSSTransformValue.CSS_PERSPECTIVE') |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5928 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6002 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5929 // for details. All rights reserved. Use of this source code is governed by a | 6003 // for details. All rights reserved. Use of this source code is governed by a |
| 5930 // BSD-style license that can be found in the LICENSE file. | 6004 // BSD-style license that can be found in the LICENSE file. |
| 5931 | 6005 |
| 5932 | 6006 |
| 5933 @DocsEditable | 6007 @DocsEditable |
| 5934 @DomName('CSSUnknownRule') | 6008 @DomName('CSSUnknownRule') |
| 5935 // http://dev.w3.org/csswg/cssom/#the-cssstylesheet-interface | 6009 // http://dev.w3.org/csswg/cssom/#the-cssstylesheet-interface |
| 5936 @deprecated // deprecated | 6010 @deprecated // deprecated |
| 5937 class CssUnknownRule extends CssRule native "CSSUnknownRule" { | 6011 class CssUnknownRule extends CssRule native "CSSUnknownRule" { |
| 6012 // To suppress missing implicit constructor warnings. |
| 6013 factory CssUnknownRule._() { throw new UnsupportedError("Not supported"); } |
| 5938 } | 6014 } |
| 5939 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6015 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5940 // for details. All rights reserved. Use of this source code is governed by a | 6016 // for details. All rights reserved. Use of this source code is governed by a |
| 5941 // BSD-style license that can be found in the LICENSE file. | 6017 // BSD-style license that can be found in the LICENSE file. |
| 5942 | 6018 |
| 5943 | 6019 |
| 5944 @DocsEditable | 6020 @DocsEditable |
| 5945 @DomName('CustomElementConstructor') | 6021 @DomName('CustomElementConstructor') |
| 5946 // https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/custom/index.html#dfn-
custom-element-constructor-generation | 6022 // https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/custom/index.html#dfn-
custom-element-constructor-generation |
| 5947 @deprecated // experimental | 6023 @deprecated // experimental |
| 5948 class CustomElementConstructor native "CustomElementConstructor" { | 6024 class CustomElementConstructor extends Interceptor native "CustomElementConstruc
tor" { |
| 5949 } | 6025 } |
| 5950 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6026 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5951 // for details. All rights reserved. Use of this source code is governed by a | 6027 // for details. All rights reserved. Use of this source code is governed by a |
| 5952 // BSD-style license that can be found in the LICENSE file. | 6028 // BSD-style license that can be found in the LICENSE file. |
| 5953 | 6029 |
| 5954 // WARNING: Do not edit - generated code. | 6030 // WARNING: Do not edit - generated code. |
| 5955 | 6031 |
| 5956 | 6032 |
| 5957 @DomName('CustomEvent') | 6033 @DomName('CustomEvent') |
| 5958 class CustomEvent extends Event native "CustomEvent" { | 6034 class CustomEvent extends Event native "CustomEvent" { |
| 5959 factory CustomEvent(String type, | 6035 factory CustomEvent(String type, |
| 5960 {bool canBubble: true, bool cancelable: true, Object detail}) { | 6036 {bool canBubble: true, bool cancelable: true, Object detail}) { |
| 5961 | 6037 |
| 5962 final CustomEvent e = document.$dom_createEvent("CustomEvent"); | 6038 final CustomEvent e = document.$dom_createEvent("CustomEvent"); |
| 5963 e.$dom_initCustomEvent(type, canBubble, cancelable, detail); | 6039 e.$dom_initCustomEvent(type, canBubble, cancelable, detail); |
| 5964 | 6040 |
| 5965 return e; | 6041 return e; |
| 5966 } | 6042 } |
| 6043 // To suppress missing implicit constructor warnings. |
| 6044 factory CustomEvent._() { throw new UnsupportedError("Not supported"); } |
| 5967 | 6045 |
| 5968 @DomName('CustomEvent.detail') | 6046 @DomName('CustomEvent.detail') |
| 5969 @DocsEditable | 6047 @DocsEditable |
| 5970 @Creates('Null') | 6048 @Creates('Null') |
| 5971 final Object detail; | 6049 final Object detail; |
| 5972 | 6050 |
| 5973 @JSName('initCustomEvent') | 6051 @JSName('initCustomEvent') |
| 5974 @DomName('CustomEvent.initCustomEvent') | 6052 @DomName('CustomEvent.initCustomEvent') |
| 5975 @DocsEditable | 6053 @DocsEditable |
| 5976 void $dom_initCustomEvent(String typeArg, bool canBubbleArg, bool cancelableAr
g, Object detailArg) native; | 6054 void $dom_initCustomEvent(String typeArg, bool canBubbleArg, bool cancelableAr
g, Object detailArg) native; |
| 5977 | 6055 |
| 5978 } | 6056 } |
| 5979 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6057 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5980 // for details. All rights reserved. Use of this source code is governed by a | 6058 // for details. All rights reserved. Use of this source code is governed by a |
| 5981 // BSD-style license that can be found in the LICENSE file. | 6059 // BSD-style license that can be found in the LICENSE file. |
| 5982 | 6060 |
| 5983 | 6061 |
| 5984 @DocsEditable | 6062 @DocsEditable |
| 5985 @DomName('HTMLDListElement') | 6063 @DomName('HTMLDListElement') |
| 5986 class DListElement extends _HTMLElement native "HTMLDListElement" { | 6064 class DListElement extends _HTMLElement native "HTMLDListElement" { |
| 6065 // To suppress missing implicit constructor warnings. |
| 6066 factory DListElement._() { throw new UnsupportedError("Not supported"); } |
| 5987 | 6067 |
| 5988 @DomName('HTMLDListElement.HTMLDListElement') | 6068 @DomName('HTMLDListElement.HTMLDListElement') |
| 5989 @DocsEditable | 6069 @DocsEditable |
| 5990 factory DListElement() => document.$dom_createElement("dl"); | 6070 factory DListElement() => document.$dom_createElement("dl"); |
| 5991 } | 6071 } |
| 5992 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6072 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5993 // for details. All rights reserved. Use of this source code is governed by a | 6073 // for details. All rights reserved. Use of this source code is governed by a |
| 5994 // BSD-style license that can be found in the LICENSE file. | 6074 // BSD-style license that can be found in the LICENSE file. |
| 5995 | 6075 |
| 5996 | 6076 |
| 5997 @DocsEditable | 6077 @DocsEditable |
| 5998 @DomName('HTMLDataListElement') | 6078 @DomName('HTMLDataListElement') |
| 5999 @SupportedBrowser(SupportedBrowser.CHROME) | 6079 @SupportedBrowser(SupportedBrowser.CHROME) |
| 6000 @SupportedBrowser(SupportedBrowser.FIREFOX) | 6080 @SupportedBrowser(SupportedBrowser.FIREFOX) |
| 6001 @SupportedBrowser(SupportedBrowser.IE, '10') | 6081 @SupportedBrowser(SupportedBrowser.IE, '10') |
| 6002 @SupportedBrowser(SupportedBrowser.SAFARI) | 6082 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 6003 class DataListElement extends _HTMLElement native "HTMLDataListElement" { | 6083 class DataListElement extends _HTMLElement native "HTMLDataListElement" { |
| 6084 // To suppress missing implicit constructor warnings. |
| 6085 factory DataListElement._() { throw new UnsupportedError("Not supported"); } |
| 6004 | 6086 |
| 6005 @DomName('HTMLDataListElement.HTMLDataListElement') | 6087 @DomName('HTMLDataListElement.HTMLDataListElement') |
| 6006 @DocsEditable | 6088 @DocsEditable |
| 6007 factory DataListElement() => document.$dom_createElement("datalist"); | 6089 factory DataListElement() => document.$dom_createElement("datalist"); |
| 6008 | 6090 |
| 6009 /// Checks if this type is supported on the current platform. | 6091 /// Checks if this type is supported on the current platform. |
| 6010 static bool get supported => Element.isTagSupported('datalist'); | 6092 static bool get supported => Element.isTagSupported('datalist'); |
| 6011 | 6093 |
| 6012 @DomName('HTMLDataListElement.options') | 6094 @DomName('HTMLDataListElement.options') |
| 6013 @DocsEditable | 6095 @DocsEditable |
| 6014 final HtmlCollection options; | 6096 final HtmlCollection options; |
| 6015 } | 6097 } |
| 6016 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6098 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 6017 // for details. All rights reserved. Use of this source code is governed by a | 6099 // for details. All rights reserved. Use of this source code is governed by a |
| 6018 // BSD-style license that can be found in the LICENSE file. | 6100 // BSD-style license that can be found in the LICENSE file. |
| 6019 | 6101 |
| 6020 | 6102 |
| 6021 @DocsEditable | 6103 @DocsEditable |
| 6022 @DomName('Clipboard') | 6104 @DomName('Clipboard') |
| 6023 class DataTransfer native "Clipboard" { | 6105 class DataTransfer extends Interceptor native "Clipboard" { |
| 6024 | 6106 |
| 6025 @DomName('Clipboard.dropEffect') | 6107 @DomName('Clipboard.dropEffect') |
| 6026 @DocsEditable | 6108 @DocsEditable |
| 6027 String dropEffect; | 6109 String dropEffect; |
| 6028 | 6110 |
| 6029 @DomName('Clipboard.effectAllowed') | 6111 @DomName('Clipboard.effectAllowed') |
| 6030 @DocsEditable | 6112 @DocsEditable |
| 6031 String effectAllowed; | 6113 String effectAllowed; |
| 6032 | 6114 |
| 6033 @DomName('Clipboard.files') | 6115 @DomName('Clipboard.files') |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6078 } | 6160 } |
| 6079 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6161 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 6080 // for details. All rights reserved. Use of this source code is governed by a | 6162 // for details. All rights reserved. Use of this source code is governed by a |
| 6081 // BSD-style license that can be found in the LICENSE file. | 6163 // BSD-style license that can be found in the LICENSE file. |
| 6082 | 6164 |
| 6083 | 6165 |
| 6084 @DocsEditable | 6166 @DocsEditable |
| 6085 @DomName('DataTransferItem') | 6167 @DomName('DataTransferItem') |
| 6086 // http://www.w3.org/TR/2011/WD-html5-20110113/dnd.html#the-datatransferitem-int
erface | 6168 // http://www.w3.org/TR/2011/WD-html5-20110113/dnd.html#the-datatransferitem-int
erface |
| 6087 @Experimental | 6169 @Experimental |
| 6088 class DataTransferItem native "DataTransferItem" { | 6170 class DataTransferItem extends Interceptor native "DataTransferItem" { |
| 6089 | 6171 |
| 6090 @DomName('DataTransferItem.kind') | 6172 @DomName('DataTransferItem.kind') |
| 6091 @DocsEditable | 6173 @DocsEditable |
| 6092 final String kind; | 6174 final String kind; |
| 6093 | 6175 |
| 6094 @DomName('DataTransferItem.type') | 6176 @DomName('DataTransferItem.type') |
| 6095 @DocsEditable | 6177 @DocsEditable |
| 6096 final String type; | 6178 final String type; |
| 6097 | 6179 |
| 6098 @DomName('DataTransferItem.getAsFile') | 6180 @DomName('DataTransferItem.getAsFile') |
| (...skipping 25 matching lines...) Expand all Loading... |
| 6124 } | 6206 } |
| 6125 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6207 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 6126 // for details. All rights reserved. Use of this source code is governed by a | 6208 // for details. All rights reserved. Use of this source code is governed by a |
| 6127 // BSD-style license that can be found in the LICENSE file. | 6209 // BSD-style license that can be found in the LICENSE file. |
| 6128 | 6210 |
| 6129 | 6211 |
| 6130 @DocsEditable | 6212 @DocsEditable |
| 6131 @DomName('DataTransferItemList') | 6213 @DomName('DataTransferItemList') |
| 6132 // http://www.whatwg.org/specs/web-apps/current-work/multipage/dnd.html#the-data
transferitemlist-interface | 6214 // http://www.whatwg.org/specs/web-apps/current-work/multipage/dnd.html#the-data
transferitemlist-interface |
| 6133 @Experimental | 6215 @Experimental |
| 6134 class DataTransferItemList native "DataTransferItemList" { | 6216 class DataTransferItemList extends Interceptor native "DataTransferItemList" { |
| 6135 | 6217 |
| 6136 @DomName('DataTransferItemList.length') | 6218 @DomName('DataTransferItemList.length') |
| 6137 @DocsEditable | 6219 @DocsEditable |
| 6138 final int length; | 6220 final int length; |
| 6139 | 6221 |
| 6140 @DomName('DataTransferItemList.add') | 6222 @DomName('DataTransferItemList.add') |
| 6141 @DocsEditable | 6223 @DocsEditable |
| 6142 void add(data_OR_file, [String type]) native; | 6224 void add(data_OR_file, [String type]) native; |
| 6143 | 6225 |
| 6144 @DomName('DataTransferItemList.clear') | 6226 @DomName('DataTransferItemList.clear') |
| (...skipping 19 matching lines...) Expand all Loading... |
| 6164 // for details. All rights reserved. Use of this source code is governed by a | 6246 // for details. All rights reserved. Use of this source code is governed by a |
| 6165 // BSD-style license that can be found in the LICENSE file. | 6247 // BSD-style license that can be found in the LICENSE file. |
| 6166 | 6248 |
| 6167 | 6249 |
| 6168 @DocsEditable | 6250 @DocsEditable |
| 6169 @DomName('HTMLDetailsElement') | 6251 @DomName('HTMLDetailsElement') |
| 6170 @SupportedBrowser(SupportedBrowser.CHROME) | 6252 @SupportedBrowser(SupportedBrowser.CHROME) |
| 6171 @SupportedBrowser(SupportedBrowser.SAFARI) | 6253 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 6172 @Experimental | 6254 @Experimental |
| 6173 class DetailsElement extends _HTMLElement native "HTMLDetailsElement" { | 6255 class DetailsElement extends _HTMLElement native "HTMLDetailsElement" { |
| 6256 // To suppress missing implicit constructor warnings. |
| 6257 factory DetailsElement._() { throw new UnsupportedError("Not supported"); } |
| 6174 | 6258 |
| 6175 @DomName('HTMLDetailsElement.HTMLDetailsElement') | 6259 @DomName('HTMLDetailsElement.HTMLDetailsElement') |
| 6176 @DocsEditable | 6260 @DocsEditable |
| 6177 factory DetailsElement() => document.$dom_createElement("details"); | 6261 factory DetailsElement() => document.$dom_createElement("details"); |
| 6178 | 6262 |
| 6179 /// Checks if this type is supported on the current platform. | 6263 /// Checks if this type is supported on the current platform. |
| 6180 static bool get supported => Element.isTagSupported('details'); | 6264 static bool get supported => Element.isTagSupported('details'); |
| 6181 | 6265 |
| 6182 @DomName('HTMLDetailsElement.open') | 6266 @DomName('HTMLDetailsElement.open') |
| 6183 @DocsEditable | 6267 @DocsEditable |
| 6184 bool open; | 6268 bool open; |
| 6185 } | 6269 } |
| 6186 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6270 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 6187 // for details. All rights reserved. Use of this source code is governed by a | 6271 // for details. All rights reserved. Use of this source code is governed by a |
| 6188 // BSD-style license that can be found in the LICENSE file. | 6272 // BSD-style license that can be found in the LICENSE file. |
| 6189 | 6273 |
| 6190 | 6274 |
| 6191 @DocsEditable | 6275 @DocsEditable |
| 6192 @DomName('DeviceAcceleration') | 6276 @DomName('DeviceAcceleration') |
| 6193 // http://dev.w3.org/geo/api/spec-source-orientation.html#devicemotion | 6277 // http://dev.w3.org/geo/api/spec-source-orientation.html#devicemotion |
| 6194 @Experimental | 6278 @Experimental |
| 6195 class DeviceAcceleration native "DeviceAcceleration" { | 6279 class DeviceAcceleration extends Interceptor native "DeviceAcceleration" { |
| 6196 | 6280 |
| 6197 @DomName('DeviceAcceleration.x') | 6281 @DomName('DeviceAcceleration.x') |
| 6198 @DocsEditable | 6282 @DocsEditable |
| 6199 final num x; | 6283 final num x; |
| 6200 | 6284 |
| 6201 @DomName('DeviceAcceleration.y') | 6285 @DomName('DeviceAcceleration.y') |
| 6202 @DocsEditable | 6286 @DocsEditable |
| 6203 final num y; | 6287 final num y; |
| 6204 | 6288 |
| 6205 @DomName('DeviceAcceleration.z') | 6289 @DomName('DeviceAcceleration.z') |
| 6206 @DocsEditable | 6290 @DocsEditable |
| 6207 final num z; | 6291 final num z; |
| 6208 } | 6292 } |
| 6209 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6293 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 6210 // for details. All rights reserved. Use of this source code is governed by a | 6294 // for details. All rights reserved. Use of this source code is governed by a |
| 6211 // BSD-style license that can be found in the LICENSE file. | 6295 // BSD-style license that can be found in the LICENSE file. |
| 6212 | 6296 |
| 6213 | 6297 |
| 6214 @DocsEditable | 6298 @DocsEditable |
| 6215 @DomName('DeviceMotionEvent') | 6299 @DomName('DeviceMotionEvent') |
| 6216 // http://dev.w3.org/geo/api/spec-source-orientation.html#devicemotion | 6300 // http://dev.w3.org/geo/api/spec-source-orientation.html#devicemotion |
| 6217 @Experimental | 6301 @Experimental |
| 6218 class DeviceMotionEvent extends Event native "DeviceMotionEvent" { | 6302 class DeviceMotionEvent extends Event native "DeviceMotionEvent" { |
| 6303 // To suppress missing implicit constructor warnings. |
| 6304 factory DeviceMotionEvent._() { throw new UnsupportedError("Not supported"); } |
| 6219 | 6305 |
| 6220 @DomName('DeviceMotionEvent.acceleration') | 6306 @DomName('DeviceMotionEvent.acceleration') |
| 6221 @DocsEditable | 6307 @DocsEditable |
| 6222 final DeviceAcceleration acceleration; | 6308 final DeviceAcceleration acceleration; |
| 6223 | 6309 |
| 6224 @DomName('DeviceMotionEvent.accelerationIncludingGravity') | 6310 @DomName('DeviceMotionEvent.accelerationIncludingGravity') |
| 6225 @DocsEditable | 6311 @DocsEditable |
| 6226 final DeviceAcceleration accelerationIncludingGravity; | 6312 final DeviceAcceleration accelerationIncludingGravity; |
| 6227 | 6313 |
| 6228 @DomName('DeviceMotionEvent.interval') | 6314 @DomName('DeviceMotionEvent.interval') |
| 6229 @DocsEditable | 6315 @DocsEditable |
| 6230 final num interval; | 6316 final num interval; |
| 6231 | 6317 |
| 6232 @DomName('DeviceMotionEvent.rotationRate') | 6318 @DomName('DeviceMotionEvent.rotationRate') |
| 6233 @DocsEditable | 6319 @DocsEditable |
| 6234 final DeviceRotationRate rotationRate; | 6320 final DeviceRotationRate rotationRate; |
| 6235 } | 6321 } |
| 6236 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 6322 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 6237 // for details. All rights reserved. Use of this source code is governed by a | 6323 // for details. All rights reserved. Use of this source code is governed by a |
| 6238 // BSD-style license that can be found in the LICENSE file. | 6324 // BSD-style license that can be found in the LICENSE file. |
| 6239 | 6325 |
| 6240 // WARNING: Do not edit - generated code. | 6326 // WARNING: Do not edit - generated code. |
| 6241 | 6327 |
| 6242 @DomName('DeviceOrientationEvent') | 6328 @DomName('DeviceOrientationEvent') |
| 6243 // http://dev.w3.org/geo/api/spec-source-orientation.html#devicemotion | 6329 // http://dev.w3.org/geo/api/spec-source-orientation.html#devicemotion |
| 6244 @Experimental | 6330 @Experimental |
| 6245 | |
| 6246 class DeviceOrientationEvent extends Event native "DeviceOrientationEvent" { | 6331 class DeviceOrientationEvent extends Event native "DeviceOrientationEvent" { |
| 6247 factory DeviceOrientationEvent(String type, | 6332 factory DeviceOrientationEvent(String type, |
| 6248 {bool canBubble: true, bool cancelable: true, num alpha: 0, num beta: 0, | 6333 {bool canBubble: true, bool cancelable: true, num alpha: 0, num beta: 0, |
| 6249 num gamma: 0, bool absolute: false}) { | 6334 num gamma: 0, bool absolute: false}) { |
| 6250 var e = document.$dom_createEvent("DeviceOrientationEvent"); | 6335 var e = document.$dom_createEvent("DeviceOrientationEvent"); |
| 6251 e.$dom_initDeviceOrientationEvent(type, canBubble, cancelable, alpha, beta, | 6336 e.$dom_initDeviceOrientationEvent(type, canBubble, cancelable, alpha, beta, |
| 6252 gamma, absolute); | 6337 gamma, absolute); |
| 6253 return e; | 6338 return e; |
| 6254 } | 6339 } |
| 6340 // To suppress missing implicit constructor warnings. |
| 6341 factory DeviceOrientationEvent._() { throw new UnsupportedError("Not supported
"); } |
| 6255 | 6342 |
| 6256 @DomName('DeviceOrientationEvent.absolute') | 6343 @DomName('DeviceOrientationEvent.absolute') |
| 6257 @DocsEditable | 6344 @DocsEditable |
| 6258 final bool absolute; | 6345 final bool absolute; |
| 6259 | 6346 |
| 6260 @DomName('DeviceOrientationEvent.alpha') | 6347 @DomName('DeviceOrientationEvent.alpha') |
| 6261 @DocsEditable | 6348 @DocsEditable |
| 6262 final num alpha; | 6349 final num alpha; |
| 6263 | 6350 |
| 6264 @DomName('DeviceOrientationEvent.beta') | 6351 @DomName('DeviceOrientationEvent.beta') |
| (...skipping 12 matching lines...) Expand all Loading... |
| 6277 } | 6364 } |
| 6278 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6365 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 6279 // for details. All rights reserved. Use of this source code is governed by a | 6366 // for details. All rights reserved. Use of this source code is governed by a |
| 6280 // BSD-style license that can be found in the LICENSE file. | 6367 // BSD-style license that can be found in the LICENSE file. |
| 6281 | 6368 |
| 6282 | 6369 |
| 6283 @DocsEditable | 6370 @DocsEditable |
| 6284 @DomName('DeviceRotationRate') | 6371 @DomName('DeviceRotationRate') |
| 6285 // http://dev.w3.org/geo/api/spec-source-orientation.html#devicemotion | 6372 // http://dev.w3.org/geo/api/spec-source-orientation.html#devicemotion |
| 6286 @Experimental | 6373 @Experimental |
| 6287 class DeviceRotationRate native "DeviceRotationRate" { | 6374 class DeviceRotationRate extends Interceptor native "DeviceRotationRate" { |
| 6288 | 6375 |
| 6289 @DomName('DeviceRotationRate.alpha') | 6376 @DomName('DeviceRotationRate.alpha') |
| 6290 @DocsEditable | 6377 @DocsEditable |
| 6291 final num alpha; | 6378 final num alpha; |
| 6292 | 6379 |
| 6293 @DomName('DeviceRotationRate.beta') | 6380 @DomName('DeviceRotationRate.beta') |
| 6294 @DocsEditable | 6381 @DocsEditable |
| 6295 final num beta; | 6382 final num beta; |
| 6296 | 6383 |
| 6297 @DomName('DeviceRotationRate.gamma') | 6384 @DomName('DeviceRotationRate.gamma') |
| 6298 @DocsEditable | 6385 @DocsEditable |
| 6299 final num gamma; | 6386 final num gamma; |
| 6300 } | 6387 } |
| 6301 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6388 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 6302 // for details. All rights reserved. Use of this source code is governed by a | 6389 // for details. All rights reserved. Use of this source code is governed by a |
| 6303 // BSD-style license that can be found in the LICENSE file. | 6390 // BSD-style license that can be found in the LICENSE file. |
| 6304 | 6391 |
| 6305 | 6392 |
| 6306 @DocsEditable | 6393 @DocsEditable |
| 6307 @DomName('HTMLDialogElement') | 6394 @DomName('HTMLDialogElement') |
| 6308 @Unstable | 6395 @Unstable |
| 6309 class DialogElement extends _HTMLElement native "HTMLDialogElement" { | 6396 class DialogElement extends _HTMLElement native "HTMLDialogElement" { |
| 6397 // To suppress missing implicit constructor warnings. |
| 6398 factory DialogElement._() { throw new UnsupportedError("Not supported"); } |
| 6310 | 6399 |
| 6311 @DomName('HTMLDialogElement.open') | 6400 @DomName('HTMLDialogElement.open') |
| 6312 @DocsEditable | 6401 @DocsEditable |
| 6313 bool open; | 6402 bool open; |
| 6314 | 6403 |
| 6315 @DomName('HTMLDialogElement.close') | 6404 @DomName('HTMLDialogElement.close') |
| 6316 @DocsEditable | 6405 @DocsEditable |
| 6317 void close() native; | 6406 void close() native; |
| 6318 | 6407 |
| 6319 @DomName('HTMLDialogElement.show') | 6408 @DomName('HTMLDialogElement.show') |
| 6320 @DocsEditable | 6409 @DocsEditable |
| 6321 void show() native; | 6410 void show() native; |
| 6322 | 6411 |
| 6323 @DomName('HTMLDialogElement.showModal') | 6412 @DomName('HTMLDialogElement.showModal') |
| 6324 @DocsEditable | 6413 @DocsEditable |
| 6325 void showModal() native; | 6414 void showModal() native; |
| 6326 } | 6415 } |
| 6327 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 6416 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 6328 // for details. All rights reserved. Use of this source code is governed by a | 6417 // for details. All rights reserved. Use of this source code is governed by a |
| 6329 // BSD-style license that can be found in the LICENSE file. | 6418 // BSD-style license that can be found in the LICENSE file. |
| 6330 | 6419 |
| 6331 | 6420 |
| 6332 @DomName('DirectoryEntry') | 6421 @DomName('DirectoryEntry') |
| 6333 // http://www.w3.org/TR/file-system-api/#the-directoryentry-interface | 6422 // http://www.w3.org/TR/file-system-api/#the-directoryentry-interface |
| 6334 @Experimental | 6423 @Experimental |
| 6335 class DirectoryEntry extends Entry native "DirectoryEntry" { | 6424 class DirectoryEntry extends Entry native "DirectoryEntry" { |
| 6336 | 6425 |
| 6337 /** | 6426 /** |
| 6338 * Create a new directory with the specified `path`. If `exclusive` is true, | 6427 * Create a new directory with the specified `path`. If `exclusive` is true, |
| 6339 * the returned Future will complete with an error if a directory already | 6428 * the returned Future will complete with an error if a directory already |
| 6340 * exists with the specified `path`. | 6429 * exists with the specified `path`. |
| 6341 */ | 6430 */ |
| 6342 Future<Entry> createDirectory(String path, {bool exclusive: false}) { | 6431 Future<Entry> createDirectory(String path, {bool exclusive: false}) { |
| 6343 return _getDirectory(path, options: | 6432 return _getDirectory(path, options: |
| 6344 {'create': true, 'exclusive': exclusive}); | 6433 {'create': true, 'exclusive': exclusive}); |
| 6345 } | 6434 } |
| 6346 | 6435 |
| 6347 /** | 6436 /** |
| 6348 * Retrieve an already existing directory entry. The returned future will | 6437 * Retrieve an already existing directory entry. The returned future will |
| 6349 * result in an error if a directory at `path` does not exist or if the item | 6438 * result in an error if a directory at `path` does not exist or if the item |
| 6350 * at `path` is not a directory. | 6439 * at `path` is not a directory. |
| 6351 */ | 6440 */ |
| 6352 Future<Entry> getDirectory(String path) { | 6441 Future<Entry> getDirectory(String path) { |
| 6353 return _getDirectory(path); | 6442 return _getDirectory(path); |
| 6354 } | 6443 } |
| 6355 | 6444 |
| 6356 /** | 6445 /** |
| 6357 * Create a new file with the specified `path`. If `exclusive` is true, | 6446 * Create a new file with the specified `path`. If `exclusive` is true, |
| 6358 * the returned Future will complete with an error if a file already | 6447 * the returned Future will complete with an error if a file already |
| 6359 * exists at the specified `path`. | 6448 * exists at the specified `path`. |
| 6360 */ | 6449 */ |
| 6361 Future<Entry> createFile(String path, {bool exclusive: false}) { | 6450 Future<Entry> createFile(String path, {bool exclusive: false}) { |
| 6362 return _getFile(path, options: {'create': true, 'exclusive': exclusive}); | 6451 return _getFile(path, options: {'create': true, 'exclusive': exclusive}); |
| 6363 } | 6452 } |
| 6364 | 6453 |
| 6365 /** | 6454 /** |
| 6366 * Retrieve an already existing file entry. The returned future will | 6455 * Retrieve an already existing file entry. The returned future will |
| 6367 * result in an error if a file at `path` does not exist or if the item at | 6456 * result in an error if a file at `path` does not exist or if the item at |
| 6368 * `path` is not a file. | 6457 * `path` is not a file. |
| 6369 */ | 6458 */ |
| 6370 Future<Entry> getFile(String path) { | 6459 Future<Entry> getFile(String path) { |
| 6371 return _getFile(path); | 6460 return _getFile(path); |
| 6372 } | 6461 } |
| 6462 // To suppress missing implicit constructor warnings. |
| 6463 factory DirectoryEntry._() { throw new UnsupportedError("Not supported"); } |
| 6373 | 6464 |
| 6374 @DomName('DirectoryEntry.createReader') | 6465 @DomName('DirectoryEntry.createReader') |
| 6375 @DocsEditable | 6466 @DocsEditable |
| 6376 DirectoryReader createReader() native; | 6467 DirectoryReader createReader() native; |
| 6377 | 6468 |
| 6378 @DomName('DirectoryEntry.getDirectory') | 6469 @DomName('DirectoryEntry.getDirectory') |
| 6379 @DocsEditable | 6470 @DocsEditable |
| 6380 void __getDirectory(String path, {Map options, _EntryCallback successCallback,
_ErrorCallback errorCallback}) { | 6471 void __getDirectory(String path, {Map options, _EntryCallback successCallback,
_ErrorCallback errorCallback}) { |
| 6381 if (errorCallback != null) { | 6472 if (errorCallback != null) { |
| 6382 var options_1 = convertDartToNative_Dictionary(options); | 6473 var options_1 = convertDartToNative_Dictionary(options); |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6493 | 6584 |
| 6494 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6585 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 6495 // for details. All rights reserved. Use of this source code is governed by a | 6586 // for details. All rights reserved. Use of this source code is governed by a |
| 6496 // BSD-style license that can be found in the LICENSE file. | 6587 // BSD-style license that can be found in the LICENSE file. |
| 6497 | 6588 |
| 6498 | 6589 |
| 6499 @DocsEditable | 6590 @DocsEditable |
| 6500 @DomName('DirectoryReader') | 6591 @DomName('DirectoryReader') |
| 6501 // http://www.w3.org/TR/file-system-api/#the-directoryreader-interface | 6592 // http://www.w3.org/TR/file-system-api/#the-directoryreader-interface |
| 6502 @Experimental | 6593 @Experimental |
| 6503 class DirectoryReader native "DirectoryReader" { | 6594 class DirectoryReader extends Interceptor native "DirectoryReader" { |
| 6504 | 6595 |
| 6505 @JSName('readEntries') | 6596 @JSName('readEntries') |
| 6506 @DomName('DirectoryReader.readEntries') | 6597 @DomName('DirectoryReader.readEntries') |
| 6507 @DocsEditable | 6598 @DocsEditable |
| 6508 void _readEntries(_EntriesCallback successCallback, [_ErrorCallback errorCallb
ack]) native; | 6599 void _readEntries(_EntriesCallback successCallback, [_ErrorCallback errorCallb
ack]) native; |
| 6509 | 6600 |
| 6510 @JSName('readEntries') | 6601 @JSName('readEntries') |
| 6511 @DomName('DirectoryReader.readEntries') | 6602 @DomName('DirectoryReader.readEntries') |
| 6512 @DocsEditable | 6603 @DocsEditable |
| 6513 Future<List<Entry>> readEntries() { | 6604 Future<List<Entry>> readEntries() { |
| (...skipping 26 matching lines...) Expand all Loading... |
| 6540 * document.body.elements.add(elem); | 6631 * document.body.elements.add(elem); |
| 6541 * | 6632 * |
| 6542 * See also: | 6633 * See also: |
| 6543 * | 6634 * |
| 6544 * * [HTML <div> element](http://www.w3.org/TR/html-markup/div.html) from W3C. | 6635 * * [HTML <div> element](http://www.w3.org/TR/html-markup/div.html) from W3C. |
| 6545 * * [Block-level element](http://www.w3.org/TR/CSS2/visuren.html#block-boxes) f
rom W3C. | 6636 * * [Block-level element](http://www.w3.org/TR/CSS2/visuren.html#block-boxes) f
rom W3C. |
| 6546 * * [Inline-level element](http://www.w3.org/TR/CSS2/visuren.html#inline-boxes)
from W3C. | 6637 * * [Inline-level element](http://www.w3.org/TR/CSS2/visuren.html#inline-boxes)
from W3C. |
| 6547 */ | 6638 */ |
| 6548 @DomName('HTMLDivElement') | 6639 @DomName('HTMLDivElement') |
| 6549 class DivElement extends _HTMLElement native "HTMLDivElement" { | 6640 class DivElement extends _HTMLElement native "HTMLDivElement" { |
| 6641 // To suppress missing implicit constructor warnings. |
| 6642 factory DivElement._() { throw new UnsupportedError("Not supported"); } |
| 6550 | 6643 |
| 6551 @DomName('HTMLDivElement.HTMLDivElement') | 6644 @DomName('HTMLDivElement.HTMLDivElement') |
| 6552 @DocsEditable | 6645 @DocsEditable |
| 6553 factory DivElement() => document.$dom_createElement("div"); | 6646 factory DivElement() => document.$dom_createElement("div"); |
| 6554 } | 6647 } |
| 6555 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6648 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 6556 // for details. All rights reserved. Use of this source code is governed by a | 6649 // for details. All rights reserved. Use of this source code is governed by a |
| 6557 // BSD-style license that can be found in the LICENSE file. | 6650 // BSD-style license that can be found in the LICENSE file. |
| 6558 | 6651 |
| 6559 | 6652 |
| 6560 /** | 6653 /** |
| 6561 * The base class for all documents. | 6654 * The base class for all documents. |
| 6562 * | 6655 * |
| 6563 * Each web page loaded in the browser has its own [Document] object, which is | 6656 * Each web page loaded in the browser has its own [Document] object, which is |
| 6564 * typically an [HtmlDocument]. | 6657 * typically an [HtmlDocument]. |
| 6565 * | 6658 * |
| 6566 * If you aren't comfortable with DOM concepts, see the Dart tutorial | 6659 * If you aren't comfortable with DOM concepts, see the Dart tutorial |
| 6567 * [Target 2: Connect Dart & HTML](http://www.dartlang.org/docs/tutorials/connec
t-dart-html/). | 6660 * [Target 2: Connect Dart & HTML](http://www.dartlang.org/docs/tutorials/connec
t-dart-html/). |
| 6568 */ | 6661 */ |
| 6569 @DomName('Document') | 6662 @DomName('Document') |
| 6570 class Document extends Node native "Document" | 6663 class Document extends Node native "Document" |
| 6571 { | 6664 { |
| 6572 | 6665 |
| 6666 // To suppress missing implicit constructor warnings. |
| 6667 factory Document._() { throw new UnsupportedError("Not supported"); } |
| 6573 | 6668 |
| 6574 @DomName('Document.readystatechangeEvent') | 6669 @DomName('Document.readystatechangeEvent') |
| 6575 @DocsEditable | 6670 @DocsEditable |
| 6576 static const EventStreamProvider<Event> readyStateChangeEvent = const EventStr
eamProvider<Event>('readystatechange'); | 6671 static const EventStreamProvider<Event> readyStateChangeEvent = const EventStr
eamProvider<Event>('readystatechange'); |
| 6577 | 6672 |
| 6578 @DomName('Document.securitypolicyviolationEvent') | 6673 @DomName('Document.securitypolicyviolationEvent') |
| 6579 @DocsEditable | 6674 @DocsEditable |
| 6580 // https://dvcs.w3.org/hg/content-security-policy/raw-file/tip/csp-specificati
on.dev.html#widl-Document-onsecuritypolicyviolation | 6675 // https://dvcs.w3.org/hg/content-security-policy/raw-file/tip/csp-specificati
on.dev.html#widl-Document-onsecuritypolicyviolation |
| 6581 @Experimental | 6676 @Experimental |
| 6582 static const EventStreamProvider<SecurityPolicyViolationEvent> securityPolicyV
iolationEvent = const EventStreamProvider<SecurityPolicyViolationEvent>('securit
ypolicyviolation'); | 6677 static const EventStreamProvider<SecurityPolicyViolationEvent> securityPolicyV
iolationEvent = const EventStreamProvider<SecurityPolicyViolationEvent>('securit
ypolicyviolation'); |
| (...skipping 753 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7336 | 7431 |
| 7337 | 7432 |
| 7338 /** | 7433 /** |
| 7339 * Parses the specified text as HTML and adds the resulting node after the | 7434 * Parses the specified text as HTML and adds the resulting node after the |
| 7340 * last child of this document fragment. | 7435 * last child of this document fragment. |
| 7341 */ | 7436 */ |
| 7342 void appendHtml(String text) { | 7437 void appendHtml(String text) { |
| 7343 this.append(new DocumentFragment.html(text)); | 7438 this.append(new DocumentFragment.html(text)); |
| 7344 } | 7439 } |
| 7345 | 7440 |
| 7441 // To suppress missing implicit constructor warnings. |
| 7442 factory DocumentFragment._() { throw new UnsupportedError("Not supported"); } |
| 7346 | 7443 |
| 7347 @DomName('DocumentFragment.childElementCount') | 7444 @DomName('DocumentFragment.childElementCount') |
| 7348 @DocsEditable | 7445 @DocsEditable |
| 7349 final int childElementCount; | 7446 final int childElementCount; |
| 7350 | 7447 |
| 7351 @DomName('DocumentFragment.firstElementChild') | 7448 @DomName('DocumentFragment.firstElementChild') |
| 7352 @DocsEditable | 7449 @DocsEditable |
| 7353 final Element firstElementChild; | 7450 final Element firstElementChild; |
| 7354 | 7451 |
| 7355 @DomName('DocumentFragment.lastElementChild') | 7452 @DomName('DocumentFragment.lastElementChild') |
| (...skipping 16 matching lines...) Expand all Loading... |
| 7372 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 7469 // 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 | 7470 // 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. | 7471 // BSD-style license that can be found in the LICENSE file. |
| 7375 | 7472 |
| 7376 | 7473 |
| 7377 @DocsEditable | 7474 @DocsEditable |
| 7378 @DomName('DocumentType') | 7475 @DomName('DocumentType') |
| 7379 // http://www.w3.org/TR/DOM-Level-3-Core/core.html#ID-412266927 | 7476 // http://www.w3.org/TR/DOM-Level-3-Core/core.html#ID-412266927 |
| 7380 @deprecated // stable | 7477 @deprecated // stable |
| 7381 class DocumentType extends Node native "DocumentType" { | 7478 class DocumentType extends Node native "DocumentType" { |
| 7479 // To suppress missing implicit constructor warnings. |
| 7480 factory DocumentType._() { throw new UnsupportedError("Not supported"); } |
| 7382 } | 7481 } |
| 7383 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 7482 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 7384 // for details. All rights reserved. Use of this source code is governed by a | 7483 // for details. All rights reserved. Use of this source code is governed by a |
| 7385 // BSD-style license that can be found in the LICENSE file. | 7484 // BSD-style license that can be found in the LICENSE file. |
| 7386 | 7485 |
| 7387 | 7486 |
| 7388 @DocsEditable | 7487 @DocsEditable |
| 7389 @DomName('DOMError') | 7488 @DomName('DOMError') |
| 7390 class DomError native "DOMError" { | 7489 class DomError extends Interceptor native "DOMError" { |
| 7391 | 7490 |
| 7392 @DomName('DOMError.name') | 7491 @DomName('DOMError.name') |
| 7393 @DocsEditable | 7492 @DocsEditable |
| 7394 final String name; | 7493 final String name; |
| 7395 } | 7494 } |
| 7396 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 7495 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 7397 // for details. All rights reserved. Use of this source code is governed by a | 7496 // for details. All rights reserved. Use of this source code is governed by a |
| 7398 // BSD-style license that can be found in the LICENSE file. | 7497 // BSD-style license that can be found in the LICENSE file. |
| 7399 | 7498 |
| 7400 | 7499 |
| 7401 @DomName('DOMException') | 7500 @DomName('DOMException') |
| 7402 @Unstable | 7501 @Unstable |
| 7403 class DomException native "DOMException" { | 7502 class DomException extends Interceptor native "DOMException" { |
| 7404 | 7503 |
| 7405 static const String INDEX_SIZE = 'IndexSizeError'; | 7504 static const String INDEX_SIZE = 'IndexSizeError'; |
| 7406 static const String HIERARCHY_REQUEST = 'HierarchyRequestError'; | 7505 static const String HIERARCHY_REQUEST = 'HierarchyRequestError'; |
| 7407 static const String WRONG_DOCUMENT = 'WrongDocumentError'; | 7506 static const String WRONG_DOCUMENT = 'WrongDocumentError'; |
| 7408 static const String INVALID_CHARACTER = 'InvalidCharacterError'; | 7507 static const String INVALID_CHARACTER = 'InvalidCharacterError'; |
| 7409 static const String NO_MODIFICATION_ALLOWED = 'NoModificationAllowedError'; | 7508 static const String NO_MODIFICATION_ALLOWED = 'NoModificationAllowedError'; |
| 7410 static const String NOT_FOUND = 'NotFoundError'; | 7509 static const String NOT_FOUND = 'NotFoundError'; |
| 7411 static const String NOT_SUPPORTED = 'NotSupportedError'; | 7510 static const String NOT_SUPPORTED = 'NotSupportedError'; |
| 7412 static const String INVALID_STATE = 'InvalidStateError'; | 7511 static const String INVALID_STATE = 'InvalidStateError'; |
| 7413 static const String SYNTAX = 'SyntaxError'; | 7512 static const String SYNTAX = 'SyntaxError'; |
| (...skipping 30 matching lines...) Expand all Loading... |
| 7444 String toString() native; | 7543 String toString() native; |
| 7445 | 7544 |
| 7446 } | 7545 } |
| 7447 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 7546 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 7448 // for details. All rights reserved. Use of this source code is governed by a | 7547 // for details. All rights reserved. Use of this source code is governed by a |
| 7449 // BSD-style license that can be found in the LICENSE file. | 7548 // BSD-style license that can be found in the LICENSE file. |
| 7450 | 7549 |
| 7451 | 7550 |
| 7452 @DocsEditable | 7551 @DocsEditable |
| 7453 @DomName('DOMImplementation') | 7552 @DomName('DOMImplementation') |
| 7454 class DomImplementation native "DOMImplementation" { | 7553 class DomImplementation extends Interceptor native "DOMImplementation" { |
| 7455 | 7554 |
| 7456 @JSName('createCSSStyleSheet') | 7555 @JSName('createCSSStyleSheet') |
| 7457 @DomName('DOMImplementation.createCSSStyleSheet') | 7556 @DomName('DOMImplementation.createCSSStyleSheet') |
| 7458 @DocsEditable | 7557 @DocsEditable |
| 7459 @Experimental // non-standard | 7558 @Experimental // non-standard |
| 7460 CssStyleSheet createCssStyleSheet(String title, String media) native; | 7559 CssStyleSheet createCssStyleSheet(String title, String media) native; |
| 7461 | 7560 |
| 7462 @DomName('DOMImplementation.createDocument') | 7561 @DomName('DOMImplementation.createDocument') |
| 7463 @DocsEditable | 7562 @DocsEditable |
| 7464 Document createDocument(String namespaceURI, String qualifiedName, DocumentTyp
e doctype) native; | 7563 Document createDocument(String namespaceURI, String qualifiedName, DocumentTyp
e doctype) native; |
| (...skipping 11 matching lines...) Expand all Loading... |
| 7476 @DocsEditable | 7575 @DocsEditable |
| 7477 bool hasFeature(String feature, String version) native; | 7576 bool hasFeature(String feature, String version) native; |
| 7478 } | 7577 } |
| 7479 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 7578 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 7480 // for details. All rights reserved. Use of this source code is governed by a | 7579 // for details. All rights reserved. Use of this source code is governed by a |
| 7481 // BSD-style license that can be found in the LICENSE file. | 7580 // BSD-style license that can be found in the LICENSE file. |
| 7482 | 7581 |
| 7483 | 7582 |
| 7484 @DocsEditable | 7583 @DocsEditable |
| 7485 @DomName('DOMParser') | 7584 @DomName('DOMParser') |
| 7486 class DomParser native "DOMParser" { | 7585 class DomParser extends Interceptor native "DOMParser" { |
| 7487 | 7586 |
| 7488 @DomName('DOMParser.DOMParser') | 7587 @DomName('DOMParser.DOMParser') |
| 7489 @DocsEditable | 7588 @DocsEditable |
| 7490 factory DomParser() { | 7589 factory DomParser() { |
| 7491 return DomParser._create_1(); | 7590 return DomParser._create_1(); |
| 7492 } | 7591 } |
| 7493 static DomParser _create_1() => JS('DomParser', 'new DOMParser()'); | 7592 static DomParser _create_1() => JS('DomParser', 'new DOMParser()'); |
| 7494 | 7593 |
| 7495 @DomName('DOMParser.parseFromString') | 7594 @DomName('DOMParser.parseFromString') |
| 7496 @DocsEditable | 7595 @DocsEditable |
| 7497 Document parseFromString(String str, String contentType) native; | 7596 Document parseFromString(String str, String contentType) native; |
| 7498 } | 7597 } |
| 7499 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 7598 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 7500 // for details. All rights reserved. Use of this source code is governed by a | 7599 // for details. All rights reserved. Use of this source code is governed by a |
| 7501 // BSD-style license that can be found in the LICENSE file. | 7600 // BSD-style license that can be found in the LICENSE file. |
| 7502 | 7601 |
| 7503 | 7602 |
| 7504 @DocsEditable | 7603 @DocsEditable |
| 7505 @DomName('DOMSettableTokenList') | 7604 @DomName('DOMSettableTokenList') |
| 7506 class DomSettableTokenList extends DomTokenList native "DOMSettableTokenList" { | 7605 class DomSettableTokenList extends DomTokenList native "DOMSettableTokenList" { |
| 7606 // To suppress missing implicit constructor warnings. |
| 7607 factory DomSettableTokenList._() { throw new UnsupportedError("Not supported")
; } |
| 7507 | 7608 |
| 7508 @DomName('DOMSettableTokenList.value') | 7609 @DomName('DOMSettableTokenList.value') |
| 7509 @DocsEditable | 7610 @DocsEditable |
| 7510 String value; | 7611 String value; |
| 7511 | 7612 |
| 7512 @DomName('DOMSettableTokenList.__getter__') | 7613 @DomName('DOMSettableTokenList.__getter__') |
| 7513 @DocsEditable | 7614 @DocsEditable |
| 7514 String __getter__(int index) native; | 7615 String __getter__(int index) native; |
| 7515 } | 7616 } |
| 7516 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 7617 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7577 @DomName('DOMStringList.item') | 7678 @DomName('DOMStringList.item') |
| 7578 @DocsEditable | 7679 @DocsEditable |
| 7579 String item(int index) native; | 7680 String item(int index) native; |
| 7580 } | 7681 } |
| 7581 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 7682 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 7582 // for details. All rights reserved. Use of this source code is governed by a | 7683 // for details. All rights reserved. Use of this source code is governed by a |
| 7583 // BSD-style license that can be found in the LICENSE file. | 7684 // BSD-style license that can be found in the LICENSE file. |
| 7584 | 7685 |
| 7585 | 7686 |
| 7586 @DomName('DOMStringMap') | 7687 @DomName('DOMStringMap') |
| 7587 abstract class DomStringMap { | 7688 abstract class DomStringMap extends Interceptor { |
| 7588 | 7689 |
| 7589 bool __delete__(String name); | 7690 bool __delete__(String name); |
| 7590 | 7691 |
| 7591 String __getter__(String name); | 7692 String __getter__(String name); |
| 7592 | 7693 |
| 7593 void __setter__(String name, String value); | 7694 void __setter__(String name, String value); |
| 7594 } | 7695 } |
| 7595 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 7696 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 7596 // for details. All rights reserved. Use of this source code is governed by a | 7697 // for details. All rights reserved. Use of this source code is governed by a |
| 7597 // BSD-style license that can be found in the LICENSE file. | 7698 // BSD-style license that can be found in the LICENSE file. |
| 7598 | 7699 |
| 7599 | 7700 |
| 7600 @DocsEditable | 7701 @DocsEditable |
| 7601 @DomName('DOMTokenList') | 7702 @DomName('DOMTokenList') |
| 7602 class DomTokenList native "DOMTokenList" { | 7703 class DomTokenList extends Interceptor native "DOMTokenList" { |
| 7603 | 7704 |
| 7604 @DomName('DOMTokenList.length') | 7705 @DomName('DOMTokenList.length') |
| 7605 @DocsEditable | 7706 @DocsEditable |
| 7606 final int length; | 7707 final int length; |
| 7607 | 7708 |
| 7608 @DomName('DOMTokenList.contains') | 7709 @DomName('DOMTokenList.contains') |
| 7609 @DocsEditable | 7710 @DocsEditable |
| 7610 bool contains(String token) native; | 7711 bool contains(String token) native; |
| 7611 | 7712 |
| 7612 @DomName('DOMTokenList.item') | 7713 @DomName('DOMTokenList.item') |
| (...skipping 771 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8384 @Experimental | 8485 @Experimental |
| 8385 bool get isTemplate => tagName == 'TEMPLATE' || _isAttributeTemplate; | 8486 bool get isTemplate => tagName == 'TEMPLATE' || _isAttributeTemplate; |
| 8386 | 8487 |
| 8387 void _ensureTemplate() { | 8488 void _ensureTemplate() { |
| 8388 if (!isTemplate) { | 8489 if (!isTemplate) { |
| 8389 throw new UnsupportedError('$this is not a template.'); | 8490 throw new UnsupportedError('$this is not a template.'); |
| 8390 } | 8491 } |
| 8391 TemplateElement.decorate(this); | 8492 TemplateElement.decorate(this); |
| 8392 } | 8493 } |
| 8393 | 8494 |
| 8495 // To suppress missing implicit constructor warnings. |
| 8496 factory Element._() { throw new UnsupportedError("Not supported"); } |
| 8394 | 8497 |
| 8395 @DomName('Element.abortEvent') | 8498 @DomName('Element.abortEvent') |
| 8396 @DocsEditable | 8499 @DocsEditable |
| 8397 static const EventStreamProvider<Event> abortEvent = const EventStreamProvider
<Event>('abort'); | 8500 static const EventStreamProvider<Event> abortEvent = const EventStreamProvider
<Event>('abort'); |
| 8398 | 8501 |
| 8399 @DomName('Element.beforecopyEvent') | 8502 @DomName('Element.beforecopyEvent') |
| 8400 @DocsEditable | 8503 @DocsEditable |
| 8401 static const EventStreamProvider<Event> beforeCopyEvent = const EventStreamPro
vider<Event>('beforecopy'); | 8504 static const EventStreamProvider<Event> beforeCopyEvent = const EventStreamPro
vider<Event>('beforecopy'); |
| 8402 | 8505 |
| 8403 @DomName('Element.beforecutEvent') | 8506 @DomName('Element.beforecutEvent') |
| (...skipping 926 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9330 /// Attempt to align the element to the bottom of the scrollable area. | 9433 /// Attempt to align the element to the bottom of the scrollable area. |
| 9331 static const BOTTOM = const ScrollAlignment._internal('BOTTOM'); | 9434 static const BOTTOM = const ScrollAlignment._internal('BOTTOM'); |
| 9332 } | 9435 } |
| 9333 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 9436 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 9334 // for details. All rights reserved. Use of this source code is governed by a | 9437 // for details. All rights reserved. Use of this source code is governed by a |
| 9335 // BSD-style license that can be found in the LICENSE file. | 9438 // BSD-style license that can be found in the LICENSE file. |
| 9336 | 9439 |
| 9337 | 9440 |
| 9338 @DomName('ElementTimeControl') | 9441 @DomName('ElementTimeControl') |
| 9339 @Unstable | 9442 @Unstable |
| 9340 abstract class ElementTimeControl { | 9443 abstract class ElementTimeControl extends Interceptor { |
| 9341 | 9444 |
| 9342 void beginElement(); | 9445 void beginElement(); |
| 9343 | 9446 |
| 9344 void beginElementAt(num offset); | 9447 void beginElementAt(num offset); |
| 9345 | 9448 |
| 9346 void endElement(); | 9449 void endElement(); |
| 9347 | 9450 |
| 9348 void endElementAt(num offset); | 9451 void endElementAt(num offset); |
| 9349 } | 9452 } |
| 9350 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 9453 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 9351 // for details. All rights reserved. Use of this source code is governed by a | 9454 // for details. All rights reserved. Use of this source code is governed by a |
| 9352 // BSD-style license that can be found in the LICENSE file. | 9455 // BSD-style license that can be found in the LICENSE file. |
| 9353 | 9456 |
| 9354 | 9457 |
| 9355 @DomName('ElementTraversal') | 9458 @DomName('ElementTraversal') |
| 9356 @Unstable | 9459 @Unstable |
| 9357 abstract class ElementTraversal { | 9460 abstract class ElementTraversal extends Interceptor { |
| 9358 | 9461 |
| 9359 int $dom_childElementCount; | 9462 int $dom_childElementCount; |
| 9360 | 9463 |
| 9361 Element $dom_firstElementChild; | 9464 Element $dom_firstElementChild; |
| 9362 | 9465 |
| 9363 Element $dom_lastElementChild; | 9466 Element $dom_lastElementChild; |
| 9364 | 9467 |
| 9365 Element nextElementSibling; | 9468 Element nextElementSibling; |
| 9366 | 9469 |
| 9367 Element previousElementSibling; | 9470 Element previousElementSibling; |
| 9368 } | 9471 } |
| 9369 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 9472 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 9370 // for details. All rights reserved. Use of this source code is governed by a | 9473 // for details. All rights reserved. Use of this source code is governed by a |
| 9371 // BSD-style license that can be found in the LICENSE file. | 9474 // BSD-style license that can be found in the LICENSE file. |
| 9372 | 9475 |
| 9373 | 9476 |
| 9374 @DocsEditable | 9477 @DocsEditable |
| 9375 @DomName('HTMLEmbedElement') | 9478 @DomName('HTMLEmbedElement') |
| 9376 @SupportedBrowser(SupportedBrowser.CHROME) | 9479 @SupportedBrowser(SupportedBrowser.CHROME) |
| 9377 @SupportedBrowser(SupportedBrowser.IE) | 9480 @SupportedBrowser(SupportedBrowser.IE) |
| 9378 @SupportedBrowser(SupportedBrowser.SAFARI) | 9481 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 9379 @Unstable | 9482 @Unstable |
| 9380 class EmbedElement extends _HTMLElement native "HTMLEmbedElement" { | 9483 class EmbedElement extends _HTMLElement native "HTMLEmbedElement" { |
| 9484 // To suppress missing implicit constructor warnings. |
| 9485 factory EmbedElement._() { throw new UnsupportedError("Not supported"); } |
| 9381 | 9486 |
| 9382 @DomName('HTMLEmbedElement.HTMLEmbedElement') | 9487 @DomName('HTMLEmbedElement.HTMLEmbedElement') |
| 9383 @DocsEditable | 9488 @DocsEditable |
| 9384 factory EmbedElement() => document.$dom_createElement("embed"); | 9489 factory EmbedElement() => document.$dom_createElement("embed"); |
| 9385 | 9490 |
| 9386 /// Checks if this type is supported on the current platform. | 9491 /// Checks if this type is supported on the current platform. |
| 9387 static bool get supported => Element.isTagSupported('embed'); | 9492 static bool get supported => Element.isTagSupported('embed'); |
| 9388 | 9493 |
| 9389 @DomName('HTMLEmbedElement.align') | 9494 @DomName('HTMLEmbedElement.align') |
| 9390 @DocsEditable | 9495 @DocsEditable |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9433 typedef void _EntriesCallback(List<Entry> entries); | 9538 typedef void _EntriesCallback(List<Entry> entries); |
| 9434 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 9539 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 9435 // for details. All rights reserved. Use of this source code is governed by a | 9540 // for details. All rights reserved. Use of this source code is governed by a |
| 9436 // BSD-style license that can be found in the LICENSE file. | 9541 // BSD-style license that can be found in the LICENSE file. |
| 9437 | 9542 |
| 9438 | 9543 |
| 9439 @DocsEditable | 9544 @DocsEditable |
| 9440 @DomName('Entry') | 9545 @DomName('Entry') |
| 9441 // http://www.w3.org/TR/file-system-api/#the-entry-interface | 9546 // http://www.w3.org/TR/file-system-api/#the-entry-interface |
| 9442 @Experimental | 9547 @Experimental |
| 9443 class Entry native "Entry" { | 9548 class Entry extends Interceptor native "Entry" { |
| 9444 | 9549 |
| 9445 @DomName('Entry.filesystem') | 9550 @DomName('Entry.filesystem') |
| 9446 @DocsEditable | 9551 @DocsEditable |
| 9447 final FileSystem filesystem; | 9552 final FileSystem filesystem; |
| 9448 | 9553 |
| 9449 @DomName('Entry.fullPath') | 9554 @DomName('Entry.fullPath') |
| 9450 @DocsEditable | 9555 @DocsEditable |
| 9451 final String fullPath; | 9556 final String fullPath; |
| 9452 | 9557 |
| 9453 @DomName('Entry.isDirectory') | 9558 @DomName('Entry.isDirectory') |
| (...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9571 typedef void _ErrorCallback(FileError error); | 9676 typedef void _ErrorCallback(FileError error); |
| 9572 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 9677 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 9573 // for details. All rights reserved. Use of this source code is governed by a | 9678 // for details. All rights reserved. Use of this source code is governed by a |
| 9574 // BSD-style license that can be found in the LICENSE file. | 9679 // BSD-style license that can be found in the LICENSE file. |
| 9575 | 9680 |
| 9576 | 9681 |
| 9577 @DocsEditable | 9682 @DocsEditable |
| 9578 @DomName('ErrorEvent') | 9683 @DomName('ErrorEvent') |
| 9579 @Unstable | 9684 @Unstable |
| 9580 class ErrorEvent extends Event native "ErrorEvent" { | 9685 class ErrorEvent extends Event native "ErrorEvent" { |
| 9686 // To suppress missing implicit constructor warnings. |
| 9687 factory ErrorEvent._() { throw new UnsupportedError("Not supported"); } |
| 9581 | 9688 |
| 9582 @DomName('ErrorEvent.filename') | 9689 @DomName('ErrorEvent.filename') |
| 9583 @DocsEditable | 9690 @DocsEditable |
| 9584 final String filename; | 9691 final String filename; |
| 9585 | 9692 |
| 9586 @DomName('ErrorEvent.lineno') | 9693 @DomName('ErrorEvent.lineno') |
| 9587 @DocsEditable | 9694 @DocsEditable |
| 9588 final int lineno; | 9695 final int lineno; |
| 9589 | 9696 |
| 9590 @DomName('ErrorEvent.message') | 9697 @DomName('ErrorEvent.message') |
| 9591 @DocsEditable | 9698 @DocsEditable |
| 9592 final String message; | 9699 final String message; |
| 9593 } | 9700 } |
| 9594 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 9701 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 9595 // for details. All rights reserved. Use of this source code is governed by a | 9702 // for details. All rights reserved. Use of this source code is governed by a |
| 9596 // BSD-style license that can be found in the LICENSE file. | 9703 // BSD-style license that can be found in the LICENSE file. |
| 9597 | 9704 |
| 9598 // WARNING: Do not edit - generated code. | 9705 // WARNING: Do not edit - generated code. |
| 9599 | 9706 |
| 9600 | 9707 |
| 9601 @DomName('Event') | 9708 @DomName('Event') |
| 9602 class Event native "Event" { | 9709 class Event extends Interceptor native "Event" { |
| 9603 // In JS, canBubble and cancelable are technically required parameters to | 9710 // In JS, canBubble and cancelable are technically required parameters to |
| 9604 // init*Event. In practice, though, if they aren't provided they simply | 9711 // init*Event. In practice, though, if they aren't provided they simply |
| 9605 // default to false (since that's Boolean(undefined)). | 9712 // default to false (since that's Boolean(undefined)). |
| 9606 // | 9713 // |
| 9607 // Contrary to JS, we default canBubble and cancelable to true, since that's | 9714 // Contrary to JS, we default canBubble and cancelable to true, since that's |
| 9608 // what people want most of the time anyway. | 9715 // what people want most of the time anyway. |
| 9609 factory Event(String type, | 9716 factory Event(String type, |
| 9610 {bool canBubble: true, bool cancelable: true}) { | 9717 {bool canBubble: true, bool cancelable: true}) { |
| 9611 return new Event.eventType('Event', type, canBubble: canBubble, | 9718 return new Event.eventType('Event', type, canBubble: canBubble, |
| 9612 cancelable: cancelable); | 9719 cancelable: cancelable); |
| (...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9823 | 9930 |
| 9824 } | 9931 } |
| 9825 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 9932 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 9826 // for details. All rights reserved. Use of this source code is governed by a | 9933 // for details. All rights reserved. Use of this source code is governed by a |
| 9827 // BSD-style license that can be found in the LICENSE file. | 9934 // BSD-style license that can be found in the LICENSE file. |
| 9828 | 9935 |
| 9829 | 9936 |
| 9830 @DocsEditable | 9937 @DocsEditable |
| 9831 @DomName('EventException') | 9938 @DomName('EventException') |
| 9832 @Unstable | 9939 @Unstable |
| 9833 class EventException native "EventException" { | 9940 class EventException extends Interceptor native "EventException" { |
| 9834 | 9941 |
| 9835 @DomName('EventException.DISPATCH_REQUEST_ERR') | 9942 @DomName('EventException.DISPATCH_REQUEST_ERR') |
| 9836 @DocsEditable | 9943 @DocsEditable |
| 9837 static const int DISPATCH_REQUEST_ERR = 1; | 9944 static const int DISPATCH_REQUEST_ERR = 1; |
| 9838 | 9945 |
| 9839 @DomName('EventException.UNSPECIFIED_EVENT_TYPE_ERR') | 9946 @DomName('EventException.UNSPECIFIED_EVENT_TYPE_ERR') |
| 9840 @DocsEditable | 9947 @DocsEditable |
| 9841 static const int UNSPECIFIED_EVENT_TYPE_ERR = 0; | 9948 static const int UNSPECIFIED_EVENT_TYPE_ERR = 0; |
| 9842 | 9949 |
| 9843 @DomName('EventException.code') | 9950 @DomName('EventException.code') |
| (...skipping 22 matching lines...) Expand all Loading... |
| 9866 @DomName('EventSource') | 9973 @DomName('EventSource') |
| 9867 // http://www.w3.org/TR/eventsource/#the-eventsource-interface | 9974 // http://www.w3.org/TR/eventsource/#the-eventsource-interface |
| 9868 @Experimental // stable | 9975 @Experimental // stable |
| 9869 class EventSource extends EventTarget native "EventSource" { | 9976 class EventSource extends EventTarget native "EventSource" { |
| 9870 factory EventSource(String title, {withCredentials: false}) { | 9977 factory EventSource(String title, {withCredentials: false}) { |
| 9871 var parsedOptions = { | 9978 var parsedOptions = { |
| 9872 'withCredentials': withCredentials, | 9979 'withCredentials': withCredentials, |
| 9873 }; | 9980 }; |
| 9874 return EventSource._factoryEventSource(title, parsedOptions); | 9981 return EventSource._factoryEventSource(title, parsedOptions); |
| 9875 } | 9982 } |
| 9983 // To suppress missing implicit constructor warnings. |
| 9984 factory EventSource._() { throw new UnsupportedError("Not supported"); } |
| 9876 | 9985 |
| 9877 @DomName('EventSource.errorEvent') | 9986 @DomName('EventSource.errorEvent') |
| 9878 @DocsEditable | 9987 @DocsEditable |
| 9879 static const EventStreamProvider<Event> errorEvent = const EventStreamProvider
<Event>('error'); | 9988 static const EventStreamProvider<Event> errorEvent = const EventStreamProvider
<Event>('error'); |
| 9880 | 9989 |
| 9881 @DomName('EventSource.messageEvent') | 9990 @DomName('EventSource.messageEvent') |
| 9882 @DocsEditable | 9991 @DocsEditable |
| 9883 static const EventStreamProvider<MessageEvent> messageEvent = const EventStrea
mProvider<MessageEvent>('message'); | 9992 static const EventStreamProvider<MessageEvent> messageEvent = const EventStrea
mProvider<MessageEvent>('message'); |
| 9884 | 9993 |
| 9885 @DomName('EventSource.openEvent') | 9994 @DomName('EventSource.openEvent') |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10005 } | 10114 } |
| 10006 | 10115 |
| 10007 /** | 10116 /** |
| 10008 * Base class for all browser objects that support events. | 10117 * Base class for all browser objects that support events. |
| 10009 * | 10118 * |
| 10010 * Use the [on] property to add, and remove events (rather than | 10119 * Use the [on] property to add, and remove events (rather than |
| 10011 * [$dom_addEventListener] and [$dom_removeEventListener] | 10120 * [$dom_addEventListener] and [$dom_removeEventListener] |
| 10012 * for compile-time type checks and a more concise API. | 10121 * for compile-time type checks and a more concise API. |
| 10013 */ | 10122 */ |
| 10014 @DomName('EventTarget') | 10123 @DomName('EventTarget') |
| 10015 class EventTarget native "EventTarget" { | 10124 class EventTarget extends Interceptor native "EventTarget" { |
| 10016 | 10125 |
| 10017 /** | 10126 /** |
| 10018 * This is an ease-of-use accessor for event streams which should only be | 10127 * This is an ease-of-use accessor for event streams which should only be |
| 10019 * used when an explicit accessor is not available. | 10128 * used when an explicit accessor is not available. |
| 10020 */ | 10129 */ |
| 10021 Events get on => new Events(this); | 10130 Events get on => new Events(this); |
| 10022 | 10131 |
| 10023 @JSName('addEventListener') | 10132 @JSName('addEventListener') |
| 10024 @DomName('EventTarget.addEventListener') | 10133 @DomName('EventTarget.addEventListener') |
| 10025 @DocsEditable | 10134 @DocsEditable |
| (...skipping 11 matching lines...) Expand all Loading... |
| 10037 } | 10146 } |
| 10038 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 10147 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 10039 // for details. All rights reserved. Use of this source code is governed by a | 10148 // for details. All rights reserved. Use of this source code is governed by a |
| 10040 // BSD-style license that can be found in the LICENSE file. | 10149 // BSD-style license that can be found in the LICENSE file. |
| 10041 | 10150 |
| 10042 | 10151 |
| 10043 @DocsEditable | 10152 @DocsEditable |
| 10044 @DomName('HTMLFieldSetElement') | 10153 @DomName('HTMLFieldSetElement') |
| 10045 @Unstable | 10154 @Unstable |
| 10046 class FieldSetElement extends _HTMLElement native "HTMLFieldSetElement" { | 10155 class FieldSetElement extends _HTMLElement native "HTMLFieldSetElement" { |
| 10156 // To suppress missing implicit constructor warnings. |
| 10157 factory FieldSetElement._() { throw new UnsupportedError("Not supported"); } |
| 10047 | 10158 |
| 10048 @DomName('HTMLFieldSetElement.HTMLFieldSetElement') | 10159 @DomName('HTMLFieldSetElement.HTMLFieldSetElement') |
| 10049 @DocsEditable | 10160 @DocsEditable |
| 10050 factory FieldSetElement() => document.$dom_createElement("fieldset"); | 10161 factory FieldSetElement() => document.$dom_createElement("fieldset"); |
| 10051 | 10162 |
| 10052 @DomName('HTMLFieldSetElement.disabled') | 10163 @DomName('HTMLFieldSetElement.disabled') |
| 10053 @DocsEditable | 10164 @DocsEditable |
| 10054 bool disabled; | 10165 bool disabled; |
| 10055 | 10166 |
| 10056 @DomName('HTMLFieldSetElement.elements') | 10167 @DomName('HTMLFieldSetElement.elements') |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10090 void setCustomValidity(String error) native; | 10201 void setCustomValidity(String error) native; |
| 10091 } | 10202 } |
| 10092 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 10203 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 10093 // for details. All rights reserved. Use of this source code is governed by a | 10204 // for details. All rights reserved. Use of this source code is governed by a |
| 10094 // BSD-style license that can be found in the LICENSE file. | 10205 // BSD-style license that can be found in the LICENSE file. |
| 10095 | 10206 |
| 10096 | 10207 |
| 10097 @DocsEditable | 10208 @DocsEditable |
| 10098 @DomName('File') | 10209 @DomName('File') |
| 10099 class File extends Blob native "File" { | 10210 class File extends Blob native "File" { |
| 10211 // To suppress missing implicit constructor warnings. |
| 10212 factory File._() { throw new UnsupportedError("Not supported"); } |
| 10100 | 10213 |
| 10101 DateTime get lastModifiedDate => _convertNativeToDart_DateTime(this._get_lastM
odifiedDate); | 10214 DateTime get lastModifiedDate => _convertNativeToDart_DateTime(this._get_lastM
odifiedDate); |
| 10102 @JSName('lastModifiedDate') | 10215 @JSName('lastModifiedDate') |
| 10103 @DomName('File.lastModifiedDate') | 10216 @DomName('File.lastModifiedDate') |
| 10104 @DocsEditable | 10217 @DocsEditable |
| 10105 @Creates('Null') | 10218 @Creates('Null') |
| 10106 final dynamic _get_lastModifiedDate; | 10219 final dynamic _get_lastModifiedDate; |
| 10107 | 10220 |
| 10108 @DomName('File.name') | 10221 @DomName('File.name') |
| 10109 @DocsEditable | 10222 @DocsEditable |
| (...skipping 22 matching lines...) Expand all Loading... |
| 10132 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 10245 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 10133 // for details. All rights reserved. Use of this source code is governed by a | 10246 // for details. All rights reserved. Use of this source code is governed by a |
| 10134 // BSD-style license that can be found in the LICENSE file. | 10247 // BSD-style license that can be found in the LICENSE file. |
| 10135 | 10248 |
| 10136 | 10249 |
| 10137 @DocsEditable | 10250 @DocsEditable |
| 10138 @DomName('FileEntry') | 10251 @DomName('FileEntry') |
| 10139 // http://www.w3.org/TR/file-system-api/#the-fileentry-interface | 10252 // http://www.w3.org/TR/file-system-api/#the-fileentry-interface |
| 10140 @Experimental | 10253 @Experimental |
| 10141 class FileEntry extends Entry native "FileEntry" { | 10254 class FileEntry extends Entry native "FileEntry" { |
| 10255 // To suppress missing implicit constructor warnings. |
| 10256 factory FileEntry._() { throw new UnsupportedError("Not supported"); } |
| 10142 | 10257 |
| 10143 @JSName('createWriter') | 10258 @JSName('createWriter') |
| 10144 @DomName('FileEntry.createWriter') | 10259 @DomName('FileEntry.createWriter') |
| 10145 @DocsEditable | 10260 @DocsEditable |
| 10146 void _createWriter(_FileWriterCallback successCallback, [_ErrorCallback errorC
allback]) native; | 10261 void _createWriter(_FileWriterCallback successCallback, [_ErrorCallback errorC
allback]) native; |
| 10147 | 10262 |
| 10148 @JSName('createWriter') | 10263 @JSName('createWriter') |
| 10149 @DomName('FileEntry.createWriter') | 10264 @DomName('FileEntry.createWriter') |
| 10150 @DocsEditable | 10265 @DocsEditable |
| 10151 Future<FileWriter> createWriter() { | 10266 Future<FileWriter> createWriter() { |
| (...skipping 22 matching lines...) Expand all Loading... |
| 10174 } | 10289 } |
| 10175 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 10290 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 10176 // for details. All rights reserved. Use of this source code is governed by a | 10291 // for details. All rights reserved. Use of this source code is governed by a |
| 10177 // BSD-style license that can be found in the LICENSE file. | 10292 // BSD-style license that can be found in the LICENSE file. |
| 10178 | 10293 |
| 10179 | 10294 |
| 10180 @DocsEditable | 10295 @DocsEditable |
| 10181 @DomName('FileError') | 10296 @DomName('FileError') |
| 10182 // http://dev.w3.org/2009/dap/file-system/pub/FileSystem/ | 10297 // http://dev.w3.org/2009/dap/file-system/pub/FileSystem/ |
| 10183 @Experimental | 10298 @Experimental |
| 10184 class FileError native "FileError" { | 10299 class FileError extends Interceptor native "FileError" { |
| 10185 | 10300 |
| 10186 @DomName('FileError.ABORT_ERR') | 10301 @DomName('FileError.ABORT_ERR') |
| 10187 @DocsEditable | 10302 @DocsEditable |
| 10188 static const int ABORT_ERR = 3; | 10303 static const int ABORT_ERR = 3; |
| 10189 | 10304 |
| 10190 @DomName('FileError.ENCODING_ERR') | 10305 @DomName('FileError.ENCODING_ERR') |
| 10191 @DocsEditable | 10306 @DocsEditable |
| 10192 static const int ENCODING_ERR = 5; | 10307 static const int ENCODING_ERR = 5; |
| 10193 | 10308 |
| 10194 @DomName('FileError.INVALID_MODIFICATION_ERR') | 10309 @DomName('FileError.INVALID_MODIFICATION_ERR') |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10237 } | 10352 } |
| 10238 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 10353 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 10239 // for details. All rights reserved. Use of this source code is governed by a | 10354 // for details. All rights reserved. Use of this source code is governed by a |
| 10240 // BSD-style license that can be found in the LICENSE file. | 10355 // BSD-style license that can be found in the LICENSE file. |
| 10241 | 10356 |
| 10242 | 10357 |
| 10243 @DocsEditable | 10358 @DocsEditable |
| 10244 @DomName('FileException') | 10359 @DomName('FileException') |
| 10245 // http://dev.w3.org/2009/dap/file-system/pub/FileSystem/ | 10360 // http://dev.w3.org/2009/dap/file-system/pub/FileSystem/ |
| 10246 @Experimental | 10361 @Experimental |
| 10247 class FileException native "FileException" { | 10362 class FileException extends Interceptor native "FileException" { |
| 10248 | 10363 |
| 10249 @DomName('FileException.ABORT_ERR') | 10364 @DomName('FileException.ABORT_ERR') |
| 10250 @DocsEditable | 10365 @DocsEditable |
| 10251 static const int ABORT_ERR = 3; | 10366 static const int ABORT_ERR = 3; |
| 10252 | 10367 |
| 10253 @DomName('FileException.ENCODING_ERR') | 10368 @DomName('FileException.ENCODING_ERR') |
| 10254 @DocsEditable | 10369 @DocsEditable |
| 10255 static const int ENCODING_ERR = 5; | 10370 static const int ENCODING_ERR = 5; |
| 10256 | 10371 |
| 10257 @DomName('FileException.INVALID_MODIFICATION_ERR') | 10372 @DomName('FileException.INVALID_MODIFICATION_ERR') |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10372 File item(int index) native; | 10487 File item(int index) native; |
| 10373 } | 10488 } |
| 10374 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 10489 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 10375 // for details. All rights reserved. Use of this source code is governed by a | 10490 // for details. All rights reserved. Use of this source code is governed by a |
| 10376 // BSD-style license that can be found in the LICENSE file. | 10491 // BSD-style license that can be found in the LICENSE file. |
| 10377 | 10492 |
| 10378 | 10493 |
| 10379 @DocsEditable | 10494 @DocsEditable |
| 10380 @DomName('FileReader') | 10495 @DomName('FileReader') |
| 10381 class FileReader extends EventTarget native "FileReader" { | 10496 class FileReader extends EventTarget native "FileReader" { |
| 10497 // To suppress missing implicit constructor warnings. |
| 10498 factory FileReader._() { throw new UnsupportedError("Not supported"); } |
| 10382 | 10499 |
| 10383 @DomName('FileReader.abortEvent') | 10500 @DomName('FileReader.abortEvent') |
| 10384 @DocsEditable | 10501 @DocsEditable |
| 10385 static const EventStreamProvider<ProgressEvent> abortEvent = const EventStream
Provider<ProgressEvent>('abort'); | 10502 static const EventStreamProvider<ProgressEvent> abortEvent = const EventStream
Provider<ProgressEvent>('abort'); |
| 10386 | 10503 |
| 10387 @DomName('FileReader.errorEvent') | 10504 @DomName('FileReader.errorEvent') |
| 10388 @DocsEditable | 10505 @DocsEditable |
| 10389 static const EventStreamProvider<Event> errorEvent = const EventStreamProvider
<Event>('error'); | 10506 static const EventStreamProvider<Event> errorEvent = const EventStreamProvider
<Event>('error'); |
| 10390 | 10507 |
| 10391 @DomName('FileReader.loadEvent') | 10508 @DomName('FileReader.loadEvent') |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10500 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 10617 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 10501 // for details. All rights reserved. Use of this source code is governed by a | 10618 // for details. All rights reserved. Use of this source code is governed by a |
| 10502 // BSD-style license that can be found in the LICENSE file. | 10619 // BSD-style license that can be found in the LICENSE file. |
| 10503 | 10620 |
| 10504 | 10621 |
| 10505 @DocsEditable | 10622 @DocsEditable |
| 10506 @DomName('DOMFileSystem') | 10623 @DomName('DOMFileSystem') |
| 10507 @SupportedBrowser(SupportedBrowser.CHROME) | 10624 @SupportedBrowser(SupportedBrowser.CHROME) |
| 10508 @Experimental | 10625 @Experimental |
| 10509 // http://www.w3.org/TR/file-system-api/ | 10626 // http://www.w3.org/TR/file-system-api/ |
| 10510 class FileSystem native "DOMFileSystem" { | 10627 class FileSystem extends Interceptor native "DOMFileSystem" { |
| 10511 | 10628 |
| 10512 /// Checks if this type is supported on the current platform. | 10629 /// Checks if this type is supported on the current platform. |
| 10513 static bool get supported => JS('bool', '!!(window.webkitRequestFileSystem)'); | 10630 static bool get supported => JS('bool', '!!(window.webkitRequestFileSystem)'); |
| 10514 | 10631 |
| 10515 @DomName('DOMFileSystem.name') | 10632 @DomName('DOMFileSystem.name') |
| 10516 @DocsEditable | 10633 @DocsEditable |
| 10517 final String name; | 10634 final String name; |
| 10518 | 10635 |
| 10519 @DomName('DOMFileSystem.root') | 10636 @DomName('DOMFileSystem.root') |
| 10520 @DocsEditable | 10637 @DocsEditable |
| (...skipping 13 matching lines...) Expand all Loading... |
| 10534 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 10651 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 10535 // for details. All rights reserved. Use of this source code is governed by a | 10652 // for details. All rights reserved. Use of this source code is governed by a |
| 10536 // BSD-style license that can be found in the LICENSE file. | 10653 // BSD-style license that can be found in the LICENSE file. |
| 10537 | 10654 |
| 10538 | 10655 |
| 10539 @DocsEditable | 10656 @DocsEditable |
| 10540 @DomName('FileWriter') | 10657 @DomName('FileWriter') |
| 10541 // http://www.w3.org/TR/file-writer-api/#the-filewriter-interface | 10658 // http://www.w3.org/TR/file-writer-api/#the-filewriter-interface |
| 10542 @Experimental | 10659 @Experimental |
| 10543 class FileWriter extends EventTarget native "FileWriter" { | 10660 class FileWriter extends EventTarget native "FileWriter" { |
| 10661 // To suppress missing implicit constructor warnings. |
| 10662 factory FileWriter._() { throw new UnsupportedError("Not supported"); } |
| 10544 | 10663 |
| 10545 @DomName('FileWriter.abortEvent') | 10664 @DomName('FileWriter.abortEvent') |
| 10546 @DocsEditable | 10665 @DocsEditable |
| 10547 static const EventStreamProvider<ProgressEvent> abortEvent = const EventStream
Provider<ProgressEvent>('abort'); | 10666 static const EventStreamProvider<ProgressEvent> abortEvent = const EventStream
Provider<ProgressEvent>('abort'); |
| 10548 | 10667 |
| 10549 @DomName('FileWriter.errorEvent') | 10668 @DomName('FileWriter.errorEvent') |
| 10550 @DocsEditable | 10669 @DocsEditable |
| 10551 static const EventStreamProvider<Event> errorEvent = const EventStreamProvider
<Event>('error'); | 10670 static const EventStreamProvider<Event> errorEvent = const EventStreamProvider
<Event>('error'); |
| 10552 | 10671 |
| 10553 @DomName('FileWriter.progressEvent') | 10672 @DomName('FileWriter.progressEvent') |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10660 @Experimental | 10779 @Experimental |
| 10661 typedef void _FileWriterCallback(FileWriter fileWriter); | 10780 typedef void _FileWriterCallback(FileWriter fileWriter); |
| 10662 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 10781 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 10663 // for details. All rights reserved. Use of this source code is governed by a | 10782 // for details. All rights reserved. Use of this source code is governed by a |
| 10664 // BSD-style license that can be found in the LICENSE file. | 10783 // BSD-style license that can be found in the LICENSE file. |
| 10665 | 10784 |
| 10666 | 10785 |
| 10667 @DocsEditable | 10786 @DocsEditable |
| 10668 @DomName('FocusEvent') | 10787 @DomName('FocusEvent') |
| 10669 class FocusEvent extends UIEvent native "FocusEvent" { | 10788 class FocusEvent extends UIEvent native "FocusEvent" { |
| 10789 // To suppress missing implicit constructor warnings. |
| 10790 factory FocusEvent._() { throw new UnsupportedError("Not supported"); } |
| 10670 | 10791 |
| 10671 EventTarget get relatedTarget => _convertNativeToDart_EventTarget(this._get_re
latedTarget); | 10792 EventTarget get relatedTarget => _convertNativeToDart_EventTarget(this._get_re
latedTarget); |
| 10672 @JSName('relatedTarget') | 10793 @JSName('relatedTarget') |
| 10673 @DomName('FocusEvent.relatedTarget') | 10794 @DomName('FocusEvent.relatedTarget') |
| 10674 @DocsEditable | 10795 @DocsEditable |
| 10675 @Creates('Null') | 10796 @Creates('Null') |
| 10676 final dynamic _get_relatedTarget; | 10797 final dynamic _get_relatedTarget; |
| 10677 } | 10798 } |
| 10678 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 10799 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 10679 // for details. All rights reserved. Use of this source code is governed by a | 10800 // for details. All rights reserved. Use of this source code is governed by a |
| 10680 // BSD-style license that can be found in the LICENSE file. | 10801 // BSD-style license that can be found in the LICENSE file. |
| 10681 | 10802 |
| 10682 | 10803 |
| 10683 @DocsEditable | 10804 @DocsEditable |
| 10684 @DomName('FontLoader') | 10805 @DomName('FontLoader') |
| 10685 // http://www.w3.org/TR/css3-fonts/#document-fontloader | 10806 // http://www.w3.org/TR/css3-fonts/#document-fontloader |
| 10686 @Experimental | 10807 @Experimental |
| 10687 class FontLoader extends EventTarget native "FontLoader" { | 10808 class FontLoader extends EventTarget native "FontLoader" { |
| 10809 // To suppress missing implicit constructor warnings. |
| 10810 factory FontLoader._() { throw new UnsupportedError("Not supported"); } |
| 10688 | 10811 |
| 10689 @DomName('FontLoader.errorEvent') | 10812 @DomName('FontLoader.errorEvent') |
| 10690 @DocsEditable | 10813 @DocsEditable |
| 10691 static const EventStreamProvider<Event> errorEvent = const EventStreamProvider
<Event>('error'); | 10814 static const EventStreamProvider<Event> errorEvent = const EventStreamProvider
<Event>('error'); |
| 10692 | 10815 |
| 10693 @DomName('FontLoader.loadEvent') | 10816 @DomName('FontLoader.loadEvent') |
| 10694 @DocsEditable | 10817 @DocsEditable |
| 10695 static const EventStreamProvider<CssFontFaceLoadEvent> loadEvent = const Event
StreamProvider<CssFontFaceLoadEvent>('load'); | 10818 static const EventStreamProvider<CssFontFaceLoadEvent> loadEvent = const Event
StreamProvider<CssFontFaceLoadEvent>('load'); |
| 10696 | 10819 |
| 10697 @DomName('FontLoader.loadingEvent') | 10820 @DomName('FontLoader.loadingEvent') |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10768 // for details. All rights reserved. Use of this source code is governed by a | 10891 // for details. All rights reserved. Use of this source code is governed by a |
| 10769 // BSD-style license that can be found in the LICENSE file. | 10892 // BSD-style license that can be found in the LICENSE file. |
| 10770 | 10893 |
| 10771 | 10894 |
| 10772 @DocsEditable | 10895 @DocsEditable |
| 10773 @DomName('FormData') | 10896 @DomName('FormData') |
| 10774 @SupportedBrowser(SupportedBrowser.CHROME) | 10897 @SupportedBrowser(SupportedBrowser.CHROME) |
| 10775 @SupportedBrowser(SupportedBrowser.FIREFOX) | 10898 @SupportedBrowser(SupportedBrowser.FIREFOX) |
| 10776 @SupportedBrowser(SupportedBrowser.IE, '10') | 10899 @SupportedBrowser(SupportedBrowser.IE, '10') |
| 10777 @SupportedBrowser(SupportedBrowser.SAFARI) | 10900 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 10778 class FormData native "FormData" { | 10901 class FormData extends Interceptor native "FormData" { |
| 10779 | 10902 |
| 10780 @DomName('FormData.FormData') | 10903 @DomName('FormData.FormData') |
| 10781 @DocsEditable | 10904 @DocsEditable |
| 10782 factory FormData([FormElement form]) { | 10905 factory FormData([FormElement form]) { |
| 10783 if (form != null) { | 10906 if (form != null) { |
| 10784 return FormData._create_1(form); | 10907 return FormData._create_1(form); |
| 10785 } | 10908 } |
| 10786 return FormData._create_2(); | 10909 return FormData._create_2(); |
| 10787 } | 10910 } |
| 10788 static FormData _create_1(form) => JS('FormData', 'new FormData(#)', form); | 10911 static FormData _create_1(form) => JS('FormData', 'new FormData(#)', form); |
| 10789 static FormData _create_2() => JS('FormData', 'new FormData()'); | 10912 static FormData _create_2() => JS('FormData', 'new FormData()'); |
| 10790 | 10913 |
| 10791 /// Checks if this type is supported on the current platform. | 10914 /// Checks if this type is supported on the current platform. |
| 10792 static bool get supported => JS('bool', '!!(window.FormData)'); | 10915 static bool get supported => JS('bool', '!!(window.FormData)'); |
| 10793 | 10916 |
| 10794 @DomName('FormData.append') | 10917 @DomName('FormData.append') |
| 10795 @DocsEditable | 10918 @DocsEditable |
| 10796 void append(String name, value, [String filename]) native; | 10919 void append(String name, value, [String filename]) native; |
| 10797 } | 10920 } |
| 10798 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 10921 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 10799 // for details. All rights reserved. Use of this source code is governed by a | 10922 // for details. All rights reserved. Use of this source code is governed by a |
| 10800 // BSD-style license that can be found in the LICENSE file. | 10923 // BSD-style license that can be found in the LICENSE file. |
| 10801 | 10924 |
| 10802 | 10925 |
| 10803 @DocsEditable | 10926 @DocsEditable |
| 10804 @DomName('HTMLFormElement') | 10927 @DomName('HTMLFormElement') |
| 10805 class FormElement extends _HTMLElement native "HTMLFormElement" { | 10928 class FormElement extends _HTMLElement native "HTMLFormElement" { |
| 10929 // To suppress missing implicit constructor warnings. |
| 10930 factory FormElement._() { throw new UnsupportedError("Not supported"); } |
| 10806 | 10931 |
| 10807 @DomName('HTMLFormElement.autocompleteEvent') | 10932 @DomName('HTMLFormElement.autocompleteEvent') |
| 10808 @DocsEditable | 10933 @DocsEditable |
| 10809 // http://www.whatwg.org/specs/web-apps/current-work/multipage/association-of-
controls-and-forms.html#autofilling-form-controls:-the-autocomplete-attribute | 10934 // http://www.whatwg.org/specs/web-apps/current-work/multipage/association-of-
controls-and-forms.html#autofilling-form-controls:-the-autocomplete-attribute |
| 10810 @Experimental | 10935 @Experimental |
| 10811 static const EventStreamProvider<Event> autocompleteEvent = const EventStreamP
rovider<Event>('autocomplete'); | 10936 static const EventStreamProvider<Event> autocompleteEvent = const EventStreamP
rovider<Event>('autocomplete'); |
| 10812 | 10937 |
| 10813 @DomName('HTMLFormElement.autocompleteerrorEvent') | 10938 @DomName('HTMLFormElement.autocompleteerrorEvent') |
| 10814 @DocsEditable | 10939 @DocsEditable |
| 10815 // http://www.whatwg.org/specs/web-apps/current-work/multipage/association-of-
controls-and-forms.html#autofilling-form-controls:-the-autocomplete-attribute | 10940 // http://www.whatwg.org/specs/web-apps/current-work/multipage/association-of-
controls-and-forms.html#autofilling-form-controls:-the-autocomplete-attribute |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10898 } | 11023 } |
| 10899 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 11024 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 10900 // for details. All rights reserved. Use of this source code is governed by a | 11025 // for details. All rights reserved. Use of this source code is governed by a |
| 10901 // BSD-style license that can be found in the LICENSE file. | 11026 // BSD-style license that can be found in the LICENSE file. |
| 10902 | 11027 |
| 10903 | 11028 |
| 10904 @DocsEditable | 11029 @DocsEditable |
| 10905 @DomName('Gamepad') | 11030 @DomName('Gamepad') |
| 10906 // https://dvcs.w3.org/hg/gamepad/raw-file/default/gamepad.html#gamepad-interfac
e | 11031 // https://dvcs.w3.org/hg/gamepad/raw-file/default/gamepad.html#gamepad-interfac
e |
| 10907 @Experimental | 11032 @Experimental |
| 10908 class Gamepad native "Gamepad" { | 11033 class Gamepad extends Interceptor native "Gamepad" { |
| 10909 | 11034 |
| 10910 @DomName('Gamepad.axes') | 11035 @DomName('Gamepad.axes') |
| 10911 @DocsEditable | 11036 @DocsEditable |
| 10912 final List<num> axes; | 11037 final List<num> axes; |
| 10913 | 11038 |
| 10914 @DomName('Gamepad.buttons') | 11039 @DomName('Gamepad.buttons') |
| 10915 @DocsEditable | 11040 @DocsEditable |
| 10916 final List<num> buttons; | 11041 final List<num> buttons; |
| 10917 | 11042 |
| 10918 @DomName('Gamepad.id') | 11043 @DomName('Gamepad.id') |
| 10919 @DocsEditable | 11044 @DocsEditable |
| 10920 final String id; | 11045 final String id; |
| 10921 | 11046 |
| 10922 @DomName('Gamepad.index') | 11047 @DomName('Gamepad.index') |
| 10923 @DocsEditable | 11048 @DocsEditable |
| 10924 final int index; | 11049 final int index; |
| 10925 | 11050 |
| 10926 @DomName('Gamepad.timestamp') | 11051 @DomName('Gamepad.timestamp') |
| 10927 @DocsEditable | 11052 @DocsEditable |
| 10928 final int timestamp; | 11053 final int timestamp; |
| 10929 } | 11054 } |
| 10930 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 11055 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 10931 // for details. All rights reserved. Use of this source code is governed by a | 11056 // for details. All rights reserved. Use of this source code is governed by a |
| 10932 // BSD-style license that can be found in the LICENSE file. | 11057 // BSD-style license that can be found in the LICENSE file. |
| 10933 | 11058 |
| 10934 | 11059 |
| 10935 @DocsEditable | 11060 @DocsEditable |
| 10936 @DomName('Geolocation') | 11061 @DomName('Geolocation') |
| 10937 @Unstable | 11062 @Unstable |
| 10938 class Geolocation native "Geolocation" { | 11063 class Geolocation extends Interceptor native "Geolocation" { |
| 10939 | 11064 |
| 10940 @DomName('Geolocation.getCurrentPosition') | 11065 @DomName('Geolocation.getCurrentPosition') |
| 10941 Future<Geoposition> getCurrentPosition({bool enableHighAccuracy, | 11066 Future<Geoposition> getCurrentPosition({bool enableHighAccuracy, |
| 10942 Duration timeout, Duration maximumAge}) { | 11067 Duration timeout, Duration maximumAge}) { |
| 10943 var options = {}; | 11068 var options = {}; |
| 10944 if (enableHighAccuracy != null) { | 11069 if (enableHighAccuracy != null) { |
| 10945 options['enableHighAccuracy'] = enableHighAccuracy; | 11070 options['enableHighAccuracy'] = enableHighAccuracy; |
| 10946 } | 11071 } |
| 10947 if (timeout != null) { | 11072 if (timeout != null) { |
| 10948 options['timeout'] = timeout.inMilliseconds; | 11073 options['timeout'] = timeout.inMilliseconds; |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11045 | 11170 |
| 11046 | 11171 |
| 11047 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 11172 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 11048 // for details. All rights reserved. Use of this source code is governed by a | 11173 // for details. All rights reserved. Use of this source code is governed by a |
| 11049 // BSD-style license that can be found in the LICENSE file. | 11174 // BSD-style license that can be found in the LICENSE file. |
| 11050 | 11175 |
| 11051 | 11176 |
| 11052 @DocsEditable | 11177 @DocsEditable |
| 11053 @DomName('Geoposition') | 11178 @DomName('Geoposition') |
| 11054 @Unstable | 11179 @Unstable |
| 11055 class Geoposition native "Geoposition" { | 11180 class Geoposition extends Interceptor native "Geoposition" { |
| 11056 | 11181 |
| 11057 @DomName('Geoposition.coords') | 11182 @DomName('Geoposition.coords') |
| 11058 @DocsEditable | 11183 @DocsEditable |
| 11059 final Coordinates coords; | 11184 final Coordinates coords; |
| 11060 | 11185 |
| 11061 @DomName('Geoposition.timestamp') | 11186 @DomName('Geoposition.timestamp') |
| 11062 @DocsEditable | 11187 @DocsEditable |
| 11063 final int timestamp; | 11188 final int timestamp; |
| 11064 } | 11189 } |
| 11065 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 11190 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 11066 // for details. All rights reserved. Use of this source code is governed by a | 11191 // for details. All rights reserved. Use of this source code is governed by a |
| 11067 // BSD-style license that can be found in the LICENSE file. | 11192 // BSD-style license that can be found in the LICENSE file. |
| 11068 | 11193 |
| 11069 | 11194 |
| 11070 @DocsEditable | 11195 @DocsEditable |
| 11071 /** | 11196 /** |
| 11072 * An `<hr>` tag. | 11197 * An `<hr>` tag. |
| 11073 */ | 11198 */ |
| 11074 @DomName('HTMLHRElement') | 11199 @DomName('HTMLHRElement') |
| 11075 class HRElement extends _HTMLElement native "HTMLHRElement" { | 11200 class HRElement extends _HTMLElement native "HTMLHRElement" { |
| 11201 // To suppress missing implicit constructor warnings. |
| 11202 factory HRElement._() { throw new UnsupportedError("Not supported"); } |
| 11076 | 11203 |
| 11077 @DomName('HTMLHRElement.HTMLHRElement') | 11204 @DomName('HTMLHRElement.HTMLHRElement') |
| 11078 @DocsEditable | 11205 @DocsEditable |
| 11079 factory HRElement() => document.$dom_createElement("hr"); | 11206 factory HRElement() => document.$dom_createElement("hr"); |
| 11080 } | 11207 } |
| 11081 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 11208 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 11082 // for details. All rights reserved. Use of this source code is governed by a | 11209 // for details. All rights reserved. Use of this source code is governed by a |
| 11083 // BSD-style license that can be found in the LICENSE file. | 11210 // BSD-style license that can be found in the LICENSE file. |
| 11084 | 11211 |
| 11085 // WARNING: Do not edit - generated code. | 11212 // WARNING: Do not edit - generated code. |
| 11086 | 11213 |
| 11087 @DomName('HashChangeEvent') | 11214 @DomName('HashChangeEvent') |
| 11088 @SupportedBrowser(SupportedBrowser.CHROME) | 11215 @SupportedBrowser(SupportedBrowser.CHROME) |
| 11089 @SupportedBrowser(SupportedBrowser.FIREFOX) | 11216 @SupportedBrowser(SupportedBrowser.FIREFOX) |
| 11090 @SupportedBrowser(SupportedBrowser.SAFARI) | 11217 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 11091 @Unstable | 11218 @Unstable |
| 11092 | |
| 11093 class HashChangeEvent extends Event native "HashChangeEvent" { | 11219 class HashChangeEvent extends Event native "HashChangeEvent" { |
| 11094 factory HashChangeEvent(String type, | 11220 factory HashChangeEvent(String type, |
| 11095 {bool canBubble: true, bool cancelable: true, String oldUrl, | 11221 {bool canBubble: true, bool cancelable: true, String oldUrl, |
| 11096 String newUrl}) { | 11222 String newUrl}) { |
| 11097 var event = document.$dom_createEvent("HashChangeEvent"); | 11223 var event = document.$dom_createEvent("HashChangeEvent"); |
| 11098 event.$dom_initHashChangeEvent(type, canBubble, cancelable, oldUrl, newUrl); | 11224 event.$dom_initHashChangeEvent(type, canBubble, cancelable, oldUrl, newUrl); |
| 11099 return event; | 11225 return event; |
| 11100 } | 11226 } |
| 11227 // To suppress missing implicit constructor warnings. |
| 11228 factory HashChangeEvent._() { throw new UnsupportedError("Not supported"); } |
| 11101 | 11229 |
| 11102 /// Checks if this type is supported on the current platform. | 11230 /// Checks if this type is supported on the current platform. |
| 11103 static bool get supported => Device.isEventTypeSupported('HashChangeEvent'); | 11231 static bool get supported => Device.isEventTypeSupported('HashChangeEvent'); |
| 11104 | 11232 |
| 11105 @JSName('newURL') | 11233 @JSName('newURL') |
| 11106 @DomName('HashChangeEvent.newURL') | 11234 @DomName('HashChangeEvent.newURL') |
| 11107 @DocsEditable | 11235 @DocsEditable |
| 11108 final String newUrl; | 11236 final String newUrl; |
| 11109 | 11237 |
| 11110 @JSName('oldURL') | 11238 @JSName('oldURL') |
| 11111 @DomName('HashChangeEvent.oldURL') | 11239 @DomName('HashChangeEvent.oldURL') |
| 11112 @DocsEditable | 11240 @DocsEditable |
| 11113 final String oldUrl; | 11241 final String oldUrl; |
| 11114 | 11242 |
| 11115 @JSName('initHashChangeEvent') | 11243 @JSName('initHashChangeEvent') |
| 11116 @DomName('HashChangeEvent.initHashChangeEvent') | 11244 @DomName('HashChangeEvent.initHashChangeEvent') |
| 11117 @DocsEditable | 11245 @DocsEditable |
| 11118 void $dom_initHashChangeEvent(String type, bool canBubble, bool cancelable, St
ring oldURL, String newURL) native; | 11246 void $dom_initHashChangeEvent(String type, bool canBubble, bool cancelable, St
ring oldURL, String newURL) native; |
| 11119 | 11247 |
| 11120 } | 11248 } |
| 11121 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 11249 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 11122 // for details. All rights reserved. Use of this source code is governed by a | 11250 // for details. All rights reserved. Use of this source code is governed by a |
| 11123 // BSD-style license that can be found in the LICENSE file. | 11251 // BSD-style license that can be found in the LICENSE file. |
| 11124 | 11252 |
| 11125 | 11253 |
| 11126 @DocsEditable | 11254 @DocsEditable |
| 11127 @DomName('HTMLHeadElement') | 11255 @DomName('HTMLHeadElement') |
| 11128 class HeadElement extends _HTMLElement native "HTMLHeadElement" { | 11256 class HeadElement extends _HTMLElement native "HTMLHeadElement" { |
| 11257 // To suppress missing implicit constructor warnings. |
| 11258 factory HeadElement._() { throw new UnsupportedError("Not supported"); } |
| 11129 | 11259 |
| 11130 @DomName('HTMLHeadElement.HTMLHeadElement') | 11260 @DomName('HTMLHeadElement.HTMLHeadElement') |
| 11131 @DocsEditable | 11261 @DocsEditable |
| 11132 factory HeadElement() => document.$dom_createElement("head"); | 11262 factory HeadElement() => document.$dom_createElement("head"); |
| 11133 } | 11263 } |
| 11134 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 11264 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 11135 // for details. All rights reserved. Use of this source code is governed by a | 11265 // for details. All rights reserved. Use of this source code is governed by a |
| 11136 // BSD-style license that can be found in the LICENSE file. | 11266 // BSD-style license that can be found in the LICENSE file. |
| 11137 | 11267 |
| 11138 | 11268 |
| 11139 @DocsEditable | 11269 @DocsEditable |
| 11140 @DomName('HTMLHeadingElement') | 11270 @DomName('HTMLHeadingElement') |
| 11141 class HeadingElement extends _HTMLElement native "HTMLHeadingElement" { | 11271 class HeadingElement extends _HTMLElement native "HTMLHeadingElement" { |
| 11272 // To suppress missing implicit constructor warnings. |
| 11273 factory HeadingElement._() { throw new UnsupportedError("Not supported"); } |
| 11142 | 11274 |
| 11143 @DomName('HTMLHeadingElement.HTMLHeadingElement') | 11275 @DomName('HTMLHeadingElement.HTMLHeadingElement') |
| 11144 @DocsEditable | 11276 @DocsEditable |
| 11145 factory HeadingElement.h1() => document.$dom_createElement("h1"); | 11277 factory HeadingElement.h1() => document.$dom_createElement("h1"); |
| 11146 | 11278 |
| 11147 @DomName('HTMLHeadingElement.HTMLHeadingElement') | 11279 @DomName('HTMLHeadingElement.HTMLHeadingElement') |
| 11148 @DocsEditable | 11280 @DocsEditable |
| 11149 factory HeadingElement.h2() => document.$dom_createElement("h2"); | 11281 factory HeadingElement.h2() => document.$dom_createElement("h2"); |
| 11150 | 11282 |
| 11151 @DomName('HTMLHeadingElement.HTMLHeadingElement') | 11283 @DomName('HTMLHeadingElement.HTMLHeadingElement') |
| (...skipping 11 matching lines...) Expand all Loading... |
| 11163 @DomName('HTMLHeadingElement.HTMLHeadingElement') | 11295 @DomName('HTMLHeadingElement.HTMLHeadingElement') |
| 11164 @DocsEditable | 11296 @DocsEditable |
| 11165 factory HeadingElement.h6() => document.$dom_createElement("h6"); | 11297 factory HeadingElement.h6() => document.$dom_createElement("h6"); |
| 11166 } | 11298 } |
| 11167 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 11299 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 11168 // for details. All rights reserved. Use of this source code is governed by a | 11300 // for details. All rights reserved. Use of this source code is governed by a |
| 11169 // BSD-style license that can be found in the LICENSE file. | 11301 // BSD-style license that can be found in the LICENSE file. |
| 11170 | 11302 |
| 11171 | 11303 |
| 11172 @DomName('History') | 11304 @DomName('History') |
| 11173 class History implements HistoryBase native "History" { | 11305 class History extends Interceptor implements HistoryBase native "History" { |
| 11174 | 11306 |
| 11175 /** | 11307 /** |
| 11176 * Checks if the State APIs are supported on the current platform. | 11308 * Checks if the State APIs are supported on the current platform. |
| 11177 * | 11309 * |
| 11178 * See also: | 11310 * See also: |
| 11179 * | 11311 * |
| 11180 * * [pushState] | 11312 * * [pushState] |
| 11181 * * [replaceState] | 11313 * * [replaceState] |
| 11182 * * [state] | 11314 * * [state] |
| 11183 */ | 11315 */ |
| (...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11371 } | 11503 } |
| 11372 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 11504 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 11373 // for details. All rights reserved. Use of this source code is governed by a | 11505 // for details. All rights reserved. Use of this source code is governed by a |
| 11374 // BSD-style license that can be found in the LICENSE file. | 11506 // BSD-style license that can be found in the LICENSE file. |
| 11375 | 11507 |
| 11376 // WARNING: Do not edit - generated code. | 11508 // WARNING: Do not edit - generated code. |
| 11377 | 11509 |
| 11378 | 11510 |
| 11379 @DomName('HTMLDocument') | 11511 @DomName('HTMLDocument') |
| 11380 class HtmlDocument extends Document native "HTMLDocument" { | 11512 class HtmlDocument extends Document native "HTMLDocument" { |
| 11513 // To suppress missing implicit constructor warnings. |
| 11514 factory HtmlDocument._() { throw new UnsupportedError("Not supported"); } |
| 11381 | 11515 |
| 11382 @DomName('HTMLDocument.activeElement') | 11516 @DomName('HTMLDocument.activeElement') |
| 11383 @DocsEditable | 11517 @DocsEditable |
| 11384 final Element activeElement; | 11518 final Element activeElement; |
| 11385 | 11519 |
| 11386 | 11520 |
| 11387 @DomName('Document.body') | 11521 @DomName('Document.body') |
| 11388 BodyElement body; | 11522 BodyElement body; |
| 11389 | 11523 |
| 11390 @DomName('Document.caretRangeFromPoint') | 11524 @DomName('Document.caretRangeFromPoint') |
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11533 Document _templateContentsOwner; | 11667 Document _templateContentsOwner; |
| 11534 } | 11668 } |
| 11535 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 11669 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 11536 // for details. All rights reserved. Use of this source code is governed by a | 11670 // for details. All rights reserved. Use of this source code is governed by a |
| 11537 // BSD-style license that can be found in the LICENSE file. | 11671 // BSD-style license that can be found in the LICENSE file. |
| 11538 | 11672 |
| 11539 | 11673 |
| 11540 @DocsEditable | 11674 @DocsEditable |
| 11541 @DomName('HTMLHtmlElement') | 11675 @DomName('HTMLHtmlElement') |
| 11542 class HtmlElement extends _HTMLElement native "HTMLHtmlElement" { | 11676 class HtmlElement extends _HTMLElement native "HTMLHtmlElement" { |
| 11677 // To suppress missing implicit constructor warnings. |
| 11678 factory HtmlElement._() { throw new UnsupportedError("Not supported"); } |
| 11543 | 11679 |
| 11544 @DomName('HTMLHtmlElement.HTMLHtmlElement') | 11680 @DomName('HTMLHtmlElement.HTMLHtmlElement') |
| 11545 @DocsEditable | 11681 @DocsEditable |
| 11546 factory HtmlElement() => document.$dom_createElement("html"); | 11682 factory HtmlElement() => document.$dom_createElement("html"); |
| 11547 } | 11683 } |
| 11548 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 11684 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 11549 // for details. All rights reserved. Use of this source code is governed by a | 11685 // for details. All rights reserved. Use of this source code is governed by a |
| 11550 // BSD-style license that can be found in the LICENSE file. | 11686 // BSD-style license that can be found in the LICENSE file. |
| 11551 | 11687 |
| 11552 | 11688 |
| 11553 @DocsEditable | 11689 @DocsEditable |
| 11554 @DomName('HTMLFormControlsCollection') | 11690 @DomName('HTMLFormControlsCollection') |
| 11555 class HtmlFormControlsCollection extends HtmlCollection native "HTMLFormControls
Collection" { | 11691 class HtmlFormControlsCollection extends HtmlCollection native "HTMLFormControls
Collection" { |
| 11692 // To suppress missing implicit constructor warnings. |
| 11693 factory HtmlFormControlsCollection._() { throw new UnsupportedError("Not suppo
rted"); } |
| 11556 | 11694 |
| 11557 @DomName('HTMLFormControlsCollection.__getter__') | 11695 @DomName('HTMLFormControlsCollection.__getter__') |
| 11558 @DocsEditable | 11696 @DocsEditable |
| 11559 Node __getter__(int index) native; | 11697 Node __getter__(int index) native; |
| 11560 | 11698 |
| 11561 @DomName('HTMLFormControlsCollection.namedItem') | 11699 @DomName('HTMLFormControlsCollection.namedItem') |
| 11562 @DocsEditable | 11700 @DocsEditable |
| 11563 Node namedItem(String name) native; | 11701 Node namedItem(String name) native; |
| 11564 } | 11702 } |
| 11565 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 11703 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 11566 // for details. All rights reserved. Use of this source code is governed by a | 11704 // for details. All rights reserved. Use of this source code is governed by a |
| 11567 // BSD-style license that can be found in the LICENSE file. | 11705 // BSD-style license that can be found in the LICENSE file. |
| 11568 | 11706 |
| 11569 | 11707 |
| 11570 @DocsEditable | 11708 @DocsEditable |
| 11571 @DomName('HTMLOptionsCollection') | 11709 @DomName('HTMLOptionsCollection') |
| 11572 class HtmlOptionsCollection extends HtmlCollection native "HTMLOptionsCollection
" { | 11710 class HtmlOptionsCollection extends HtmlCollection native "HTMLOptionsCollection
" { |
| 11711 // To suppress missing implicit constructor warnings. |
| 11712 factory HtmlOptionsCollection._() { throw new UnsupportedError("Not supported"
); } |
| 11573 } | 11713 } |
| 11574 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 11714 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 11575 // for details. All rights reserved. Use of this source code is governed by a | 11715 // for details. All rights reserved. Use of this source code is governed by a |
| 11576 // BSD-style license that can be found in the LICENSE file. | 11716 // BSD-style license that can be found in the LICENSE file. |
| 11577 | 11717 |
| 11578 | 11718 |
| 11579 /** | 11719 /** |
| 11580 * A utility for retrieving data from a URL. | 11720 * A utility for retrieving data from a URL. |
| 11581 * | 11721 * |
| 11582 * HttpRequest can be used to obtain data from http, ftp, and file | 11722 * 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... |
| 11737 | 11877 |
| 11738 /** | 11878 /** |
| 11739 * Checks to see if the overrideMimeType method is supported on the current | 11879 * Checks to see if the overrideMimeType method is supported on the current |
| 11740 * platform. | 11880 * platform. |
| 11741 */ | 11881 */ |
| 11742 static bool get supportsOverrideMimeType { | 11882 static bool get supportsOverrideMimeType { |
| 11743 var xhr = new HttpRequest(); | 11883 var xhr = new HttpRequest(); |
| 11744 return JS('bool', '("overrideMimeType" in #)', xhr); | 11884 return JS('bool', '("overrideMimeType" in #)', xhr); |
| 11745 } | 11885 } |
| 11746 | 11886 |
| 11887 // To suppress missing implicit constructor warnings. |
| 11888 factory HttpRequest._() { throw new UnsupportedError("Not supported"); } |
| 11747 | 11889 |
| 11748 @DomName('XMLHttpRequest.abortEvent') | 11890 @DomName('XMLHttpRequest.abortEvent') |
| 11749 @DocsEditable | 11891 @DocsEditable |
| 11750 static const EventStreamProvider<ProgressEvent> abortEvent = const EventStream
Provider<ProgressEvent>('abort'); | 11892 static const EventStreamProvider<ProgressEvent> abortEvent = const EventStream
Provider<ProgressEvent>('abort'); |
| 11751 | 11893 |
| 11752 @DomName('XMLHttpRequest.errorEvent') | 11894 @DomName('XMLHttpRequest.errorEvent') |
| 11753 @DocsEditable | 11895 @DocsEditable |
| 11754 static const EventStreamProvider<ProgressEvent> errorEvent = const EventStream
Provider<ProgressEvent>('error'); | 11896 static const EventStreamProvider<ProgressEvent> errorEvent = const EventStream
Provider<ProgressEvent>('error'); |
| 11755 | 11897 |
| 11756 @DomName('XMLHttpRequest.loadEvent') | 11898 @DomName('XMLHttpRequest.loadEvent') |
| (...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 12102 // BSD-style license that can be found in the LICENSE file. | 12244 // BSD-style license that can be found in the LICENSE file. |
| 12103 | 12245 |
| 12104 | 12246 |
| 12105 @DocsEditable | 12247 @DocsEditable |
| 12106 @DomName('XMLHttpRequestProgressEvent') | 12248 @DomName('XMLHttpRequestProgressEvent') |
| 12107 @SupportedBrowser(SupportedBrowser.CHROME) | 12249 @SupportedBrowser(SupportedBrowser.CHROME) |
| 12108 @SupportedBrowser(SupportedBrowser.SAFARI) | 12250 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 12109 @Experimental | 12251 @Experimental |
| 12110 @Experimental // nonstandard | 12252 @Experimental // nonstandard |
| 12111 class HttpRequestProgressEvent extends ProgressEvent native "XMLHttpRequestProgr
essEvent" { | 12253 class HttpRequestProgressEvent extends ProgressEvent native "XMLHttpRequestProgr
essEvent" { |
| 12254 // To suppress missing implicit constructor warnings. |
| 12255 factory HttpRequestProgressEvent._() { throw new UnsupportedError("Not support
ed"); } |
| 12112 | 12256 |
| 12113 /// Checks if this type is supported on the current platform. | 12257 /// Checks if this type is supported on the current platform. |
| 12114 static bool get supported => Device.isEventTypeSupported('XMLHttpRequestProgre
ssEvent'); | 12258 static bool get supported => Device.isEventTypeSupported('XMLHttpRequestProgre
ssEvent'); |
| 12115 | 12259 |
| 12116 @DomName('XMLHttpRequestProgressEvent.position') | 12260 @DomName('XMLHttpRequestProgressEvent.position') |
| 12117 @DocsEditable | 12261 @DocsEditable |
| 12118 final int position; | 12262 final int position; |
| 12119 | 12263 |
| 12120 @DomName('XMLHttpRequestProgressEvent.totalSize') | 12264 @DomName('XMLHttpRequestProgressEvent.totalSize') |
| 12121 @DocsEditable | 12265 @DocsEditable |
| 12122 final int totalSize; | 12266 final int totalSize; |
| 12123 } | 12267 } |
| 12124 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 12268 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 12125 // for details. All rights reserved. Use of this source code is governed by a | 12269 // for details. All rights reserved. Use of this source code is governed by a |
| 12126 // BSD-style license that can be found in the LICENSE file. | 12270 // BSD-style license that can be found in the LICENSE file. |
| 12127 | 12271 |
| 12128 | 12272 |
| 12129 @DocsEditable | 12273 @DocsEditable |
| 12130 @DomName('XMLHttpRequestUpload') | 12274 @DomName('XMLHttpRequestUpload') |
| 12131 // http://xhr.spec.whatwg.org/#xmlhttprequestupload | 12275 // http://xhr.spec.whatwg.org/#xmlhttprequestupload |
| 12132 @Experimental | 12276 @Experimental |
| 12133 class HttpRequestUpload extends EventTarget native "XMLHttpRequestUpload,XMLHttp
RequestEventTarget" { | 12277 class HttpRequestUpload extends EventTarget native "XMLHttpRequestUpload,XMLHttp
RequestEventTarget" { |
| 12278 // To suppress missing implicit constructor warnings. |
| 12279 factory HttpRequestUpload._() { throw new UnsupportedError("Not supported"); } |
| 12134 | 12280 |
| 12135 @DomName('XMLHttpRequestUpload.abortEvent') | 12281 @DomName('XMLHttpRequestUpload.abortEvent') |
| 12136 @DocsEditable | 12282 @DocsEditable |
| 12137 static const EventStreamProvider<ProgressEvent> abortEvent = const EventStream
Provider<ProgressEvent>('abort'); | 12283 static const EventStreamProvider<ProgressEvent> abortEvent = const EventStream
Provider<ProgressEvent>('abort'); |
| 12138 | 12284 |
| 12139 @DomName('XMLHttpRequestUpload.errorEvent') | 12285 @DomName('XMLHttpRequestUpload.errorEvent') |
| 12140 @DocsEditable | 12286 @DocsEditable |
| 12141 static const EventStreamProvider<ProgressEvent> errorEvent = const EventStream
Provider<ProgressEvent>('error'); | 12287 static const EventStreamProvider<ProgressEvent> errorEvent = const EventStream
Provider<ProgressEvent>('error'); |
| 12142 | 12288 |
| 12143 @DomName('XMLHttpRequestUpload.loadEvent') | 12289 @DomName('XMLHttpRequestUpload.loadEvent') |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 12195 Stream<ProgressEvent> get onProgress => progressEvent.forTarget(this); | 12341 Stream<ProgressEvent> get onProgress => progressEvent.forTarget(this); |
| 12196 } | 12342 } |
| 12197 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 12343 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 12198 // for details. All rights reserved. Use of this source code is governed by a | 12344 // for details. All rights reserved. Use of this source code is governed by a |
| 12199 // BSD-style license that can be found in the LICENSE file. | 12345 // BSD-style license that can be found in the LICENSE file. |
| 12200 | 12346 |
| 12201 | 12347 |
| 12202 @DocsEditable | 12348 @DocsEditable |
| 12203 @DomName('HTMLIFrameElement') | 12349 @DomName('HTMLIFrameElement') |
| 12204 class IFrameElement extends _HTMLElement native "HTMLIFrameElement" { | 12350 class IFrameElement extends _HTMLElement native "HTMLIFrameElement" { |
| 12351 // To suppress missing implicit constructor warnings. |
| 12352 factory IFrameElement._() { throw new UnsupportedError("Not supported"); } |
| 12205 | 12353 |
| 12206 @DomName('HTMLIFrameElement.HTMLIFrameElement') | 12354 @DomName('HTMLIFrameElement.HTMLIFrameElement') |
| 12207 @DocsEditable | 12355 @DocsEditable |
| 12208 factory IFrameElement() => document.$dom_createElement("iframe"); | 12356 factory IFrameElement() => document.$dom_createElement("iframe"); |
| 12209 | 12357 |
| 12210 WindowBase get contentWindow => _convertNativeToDart_Window(this._get_contentW
indow); | 12358 WindowBase get contentWindow => _convertNativeToDart_Window(this._get_contentW
indow); |
| 12211 @JSName('contentWindow') | 12359 @JSName('contentWindow') |
| 12212 @DomName('HTMLIFrameElement.contentWindow') | 12360 @DomName('HTMLIFrameElement.contentWindow') |
| 12213 @DocsEditable | 12361 @DocsEditable |
| 12214 @Creates('Window|=Object') | 12362 @Creates('Window|=Object') |
| (...skipping 26 matching lines...) Expand all Loading... |
| 12241 | 12389 |
| 12242 @DomName('HTMLIFrameElement.width') | 12390 @DomName('HTMLIFrameElement.width') |
| 12243 @DocsEditable | 12391 @DocsEditable |
| 12244 String width; | 12392 String width; |
| 12245 } | 12393 } |
| 12246 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 12394 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 12247 // for details. All rights reserved. Use of this source code is governed by a | 12395 // for details. All rights reserved. Use of this source code is governed by a |
| 12248 // BSD-style license that can be found in the LICENSE file. | 12396 // BSD-style license that can be found in the LICENSE file. |
| 12249 | 12397 |
| 12250 @DomName('ImageData') | 12398 @DomName('ImageData') |
| 12251 | 12399 class ImageData extends Interceptor native "ImageData" { |
| 12252 class ImageData native "ImageData" { | |
| 12253 | 12400 |
| 12254 | 12401 |
| 12255 @DomName('ImageData.data') | 12402 @DomName('ImageData.data') |
| 12256 @DocsEditable | 12403 @DocsEditable |
| 12257 final List<int> data; | 12404 final List<int> data; |
| 12258 | 12405 |
| 12259 @DomName('ImageData.height') | 12406 @DomName('ImageData.height') |
| 12260 @DocsEditable | 12407 @DocsEditable |
| 12261 final int height; | 12408 final int height; |
| 12262 | 12409 |
| 12263 @DomName('ImageData.width') | 12410 @DomName('ImageData.width') |
| 12264 @DocsEditable | 12411 @DocsEditable |
| 12265 final int width; | 12412 final int width; |
| 12266 | 12413 |
| 12267 } | 12414 } |
| 12268 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 12415 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 12269 // for details. All rights reserved. Use of this source code is governed by a | 12416 // for details. All rights reserved. Use of this source code is governed by a |
| 12270 // BSD-style license that can be found in the LICENSE file. | 12417 // BSD-style license that can be found in the LICENSE file. |
| 12271 | 12418 |
| 12272 | 12419 |
| 12273 @DomName('HTMLImageElement') | 12420 @DomName('HTMLImageElement') |
| 12274 class ImageElement extends _HTMLElement implements CanvasImageSource native "HTM
LImageElement" { | 12421 class ImageElement extends _HTMLElement implements CanvasImageSource native "HTM
LImageElement" { |
| 12422 // To suppress missing implicit constructor warnings. |
| 12423 factory ImageElement._() { throw new UnsupportedError("Not supported"); } |
| 12275 | 12424 |
| 12276 @DomName('HTMLImageElement.HTMLImageElement') | 12425 @DomName('HTMLImageElement.HTMLImageElement') |
| 12277 @DocsEditable | 12426 @DocsEditable |
| 12278 factory ImageElement({String src, int width, int height}) { | 12427 factory ImageElement({String src, int width, int height}) { |
| 12279 var e = document.$dom_createElement("img"); | 12428 var e = document.$dom_createElement("img"); |
| 12280 if (src != null) e.src = src; | 12429 if (src != null) e.src = src; |
| 12281 if (width != null) e.width = width; | 12430 if (width != null) e.width = width; |
| 12282 if (height != null) e.height = height; | 12431 if (height != null) e.height = height; |
| 12283 return e; | 12432 return e; |
| 12284 } | 12433 } |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 12378 var e = document.$dom_createElement("input"); | 12527 var e = document.$dom_createElement("input"); |
| 12379 if (type != null) { | 12528 if (type != null) { |
| 12380 try { | 12529 try { |
| 12381 // IE throws an exception for unknown types. | 12530 // IE throws an exception for unknown types. |
| 12382 e.type = type; | 12531 e.type = type; |
| 12383 } catch(_) {} | 12532 } catch(_) {} |
| 12384 } | 12533 } |
| 12385 return e; | 12534 return e; |
| 12386 } | 12535 } |
| 12387 | 12536 |
| 12537 // To suppress missing implicit constructor warnings. |
| 12538 factory InputElement._() { throw new UnsupportedError("Not supported"); } |
| 12388 | 12539 |
| 12389 @DomName('HTMLInputElement.webkitSpeechChangeEvent') | 12540 @DomName('HTMLInputElement.webkitSpeechChangeEvent') |
| 12390 @DocsEditable | 12541 @DocsEditable |
| 12391 @SupportedBrowser(SupportedBrowser.CHROME) | 12542 @SupportedBrowser(SupportedBrowser.CHROME) |
| 12392 @SupportedBrowser(SupportedBrowser.SAFARI) | 12543 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 12393 @Experimental | 12544 @Experimental |
| 12394 // http://lists.w3.org/Archives/Public/public-xg-htmlspeech/2011Feb/att-0020/a
pi-draft.html#extending_html_elements | 12545 // http://lists.w3.org/Archives/Public/public-xg-htmlspeech/2011Feb/att-0020/a
pi-draft.html#extending_html_elements |
| 12395 static const EventStreamProvider<Event> speechChangeEvent = const EventStreamP
rovider<Event>('webkitSpeechChange'); | 12546 static const EventStreamProvider<Event> speechChangeEvent = const EventStreamP
rovider<Event>('webkitSpeechChange'); |
| 12396 | 12547 |
| 12397 @DomName('HTMLInputElement.accept') | 12548 @DomName('HTMLInputElement.accept') |
| (...skipping 827 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 13225 | 13376 |
| 13226 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 13377 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 13227 // for details. All rights reserved. Use of this source code is governed by a | 13378 // for details. All rights reserved. Use of this source code is governed by a |
| 13228 // BSD-style license that can be found in the LICENSE file. | 13379 // BSD-style license that can be found in the LICENSE file. |
| 13229 | 13380 |
| 13230 | 13381 |
| 13231 @DocsEditable | 13382 @DocsEditable |
| 13232 @DomName('InputMethodContext') | 13383 @DomName('InputMethodContext') |
| 13233 // http://www.w3.org/TR/ime-api/#idl-def-InputMethodContext | 13384 // http://www.w3.org/TR/ime-api/#idl-def-InputMethodContext |
| 13234 @Experimental | 13385 @Experimental |
| 13235 class InputMethodContext native "InputMethodContext" { | 13386 class InputMethodContext extends Interceptor native "InputMethodContext" { |
| 13236 | 13387 |
| 13237 @DomName('InputMethodContext.composition') | 13388 @DomName('InputMethodContext.composition') |
| 13238 @DocsEditable | 13389 @DocsEditable |
| 13239 final Composition composition; | 13390 final Composition composition; |
| 13240 | 13391 |
| 13241 @DomName('InputMethodContext.enabled') | 13392 @DomName('InputMethodContext.enabled') |
| 13242 @DocsEditable | 13393 @DocsEditable |
| 13243 bool enabled; | 13394 bool enabled; |
| 13244 | 13395 |
| 13245 @DomName('InputMethodContext.locale') | 13396 @DomName('InputMethodContext.locale') |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 13311 type, canBubble, cancelable, view, keyIdentifier, keyLocation, | 13462 type, canBubble, cancelable, view, keyIdentifier, keyLocation, |
| 13312 ctrlKey, altKey, shiftKey, metaKey, altGraphKey); | 13463 ctrlKey, altKey, shiftKey, metaKey, altGraphKey); |
| 13313 } | 13464 } |
| 13314 } | 13465 } |
| 13315 | 13466 |
| 13316 @DomName('KeyboardEvent.keyCode') | 13467 @DomName('KeyboardEvent.keyCode') |
| 13317 int get keyCode => $dom_keyCode; | 13468 int get keyCode => $dom_keyCode; |
| 13318 | 13469 |
| 13319 @DomName('KeyboardEvent.charCode') | 13470 @DomName('KeyboardEvent.charCode') |
| 13320 int get charCode => $dom_charCode; | 13471 int get charCode => $dom_charCode; |
| 13472 // To suppress missing implicit constructor warnings. |
| 13473 factory KeyboardEvent._() { throw new UnsupportedError("Not supported"); } |
| 13321 | 13474 |
| 13322 @DomName('KeyboardEvent.altGraphKey') | 13475 @DomName('KeyboardEvent.altGraphKey') |
| 13323 @DocsEditable | 13476 @DocsEditable |
| 13324 @Experimental // nonstandard | 13477 @Experimental // nonstandard |
| 13325 final bool altGraphKey; | 13478 final bool altGraphKey; |
| 13326 | 13479 |
| 13327 @DomName('KeyboardEvent.altKey') | 13480 @DomName('KeyboardEvent.altKey') |
| 13328 @DocsEditable | 13481 @DocsEditable |
| 13329 final bool altKey; | 13482 final bool altKey; |
| 13330 | 13483 |
| (...skipping 26 matching lines...) Expand all Loading... |
| 13357 // BSD-style license that can be found in the LICENSE file. | 13510 // BSD-style license that can be found in the LICENSE file. |
| 13358 | 13511 |
| 13359 | 13512 |
| 13360 @DocsEditable | 13513 @DocsEditable |
| 13361 @DomName('HTMLKeygenElement') | 13514 @DomName('HTMLKeygenElement') |
| 13362 @SupportedBrowser(SupportedBrowser.CHROME) | 13515 @SupportedBrowser(SupportedBrowser.CHROME) |
| 13363 @SupportedBrowser(SupportedBrowser.SAFARI) | 13516 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 13364 @Experimental | 13517 @Experimental |
| 13365 // http://www.whatwg.org/specs/web-apps/current-work/multipage/the-button-elemen
t.html#the-keygen-element | 13518 // http://www.whatwg.org/specs/web-apps/current-work/multipage/the-button-elemen
t.html#the-keygen-element |
| 13366 class KeygenElement extends _HTMLElement native "HTMLKeygenElement" { | 13519 class KeygenElement extends _HTMLElement native "HTMLKeygenElement" { |
| 13520 // To suppress missing implicit constructor warnings. |
| 13521 factory KeygenElement._() { throw new UnsupportedError("Not supported"); } |
| 13367 | 13522 |
| 13368 @DomName('HTMLKeygenElement.HTMLKeygenElement') | 13523 @DomName('HTMLKeygenElement.HTMLKeygenElement') |
| 13369 @DocsEditable | 13524 @DocsEditable |
| 13370 factory KeygenElement() => document.$dom_createElement("keygen"); | 13525 factory KeygenElement() => document.$dom_createElement("keygen"); |
| 13371 | 13526 |
| 13372 /// Checks if this type is supported on the current platform. | 13527 /// Checks if this type is supported on the current platform. |
| 13373 static bool get supported => Element.isTagSupported('keygen') && (new Element.
tag('keygen') is KeygenElement); | 13528 static bool get supported => Element.isTagSupported('keygen') && (new Element.
tag('keygen') is KeygenElement); |
| 13374 | 13529 |
| 13375 @DomName('HTMLKeygenElement.autofocus') | 13530 @DomName('HTMLKeygenElement.autofocus') |
| 13376 @DocsEditable | 13531 @DocsEditable |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 13428 void setCustomValidity(String error) native; | 13583 void setCustomValidity(String error) native; |
| 13429 } | 13584 } |
| 13430 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 13585 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 13431 // for details. All rights reserved. Use of this source code is governed by a | 13586 // for details. All rights reserved. Use of this source code is governed by a |
| 13432 // BSD-style license that can be found in the LICENSE file. | 13587 // BSD-style license that can be found in the LICENSE file. |
| 13433 | 13588 |
| 13434 | 13589 |
| 13435 @DocsEditable | 13590 @DocsEditable |
| 13436 @DomName('HTMLLIElement') | 13591 @DomName('HTMLLIElement') |
| 13437 class LIElement extends _HTMLElement native "HTMLLIElement" { | 13592 class LIElement extends _HTMLElement native "HTMLLIElement" { |
| 13593 // To suppress missing implicit constructor warnings. |
| 13594 factory LIElement._() { throw new UnsupportedError("Not supported"); } |
| 13438 | 13595 |
| 13439 @DomName('HTMLLIElement.HTMLLIElement') | 13596 @DomName('HTMLLIElement.HTMLLIElement') |
| 13440 @DocsEditable | 13597 @DocsEditable |
| 13441 factory LIElement() => document.$dom_createElement("li"); | 13598 factory LIElement() => document.$dom_createElement("li"); |
| 13442 | 13599 |
| 13443 @DomName('HTMLLIElement.type') | 13600 @DomName('HTMLLIElement.type') |
| 13444 @DocsEditable | 13601 @DocsEditable |
| 13445 // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#H
TMLLIElement-partial | 13602 // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#H
TMLLIElement-partial |
| 13446 @deprecated // deprecated | 13603 @deprecated // deprecated |
| 13447 String type; | 13604 String type; |
| 13448 | 13605 |
| 13449 @DomName('HTMLLIElement.value') | 13606 @DomName('HTMLLIElement.value') |
| 13450 @DocsEditable | 13607 @DocsEditable |
| 13451 int value; | 13608 int value; |
| 13452 } | 13609 } |
| 13453 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 13610 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 13454 // for details. All rights reserved. Use of this source code is governed by a | 13611 // for details. All rights reserved. Use of this source code is governed by a |
| 13455 // BSD-style license that can be found in the LICENSE file. | 13612 // BSD-style license that can be found in the LICENSE file. |
| 13456 | 13613 |
| 13457 | 13614 |
| 13458 @DocsEditable | 13615 @DocsEditable |
| 13459 @DomName('HTMLLabelElement') | 13616 @DomName('HTMLLabelElement') |
| 13460 class LabelElement extends _HTMLElement native "HTMLLabelElement" { | 13617 class LabelElement extends _HTMLElement native "HTMLLabelElement" { |
| 13618 // To suppress missing implicit constructor warnings. |
| 13619 factory LabelElement._() { throw new UnsupportedError("Not supported"); } |
| 13461 | 13620 |
| 13462 @DomName('HTMLLabelElement.HTMLLabelElement') | 13621 @DomName('HTMLLabelElement.HTMLLabelElement') |
| 13463 @DocsEditable | 13622 @DocsEditable |
| 13464 factory LabelElement() => document.$dom_createElement("label"); | 13623 factory LabelElement() => document.$dom_createElement("label"); |
| 13465 | 13624 |
| 13466 @DomName('HTMLLabelElement.control') | 13625 @DomName('HTMLLabelElement.control') |
| 13467 @DocsEditable | 13626 @DocsEditable |
| 13468 final Element control; | 13627 final Element control; |
| 13469 | 13628 |
| 13470 @DomName('HTMLLabelElement.form') | 13629 @DomName('HTMLLabelElement.form') |
| 13471 @DocsEditable | 13630 @DocsEditable |
| 13472 final FormElement form; | 13631 final FormElement form; |
| 13473 | 13632 |
| 13474 @DomName('HTMLLabelElement.htmlFor') | 13633 @DomName('HTMLLabelElement.htmlFor') |
| 13475 @DocsEditable | 13634 @DocsEditable |
| 13476 String htmlFor; | 13635 String htmlFor; |
| 13477 } | 13636 } |
| 13478 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 13637 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 13479 // for details. All rights reserved. Use of this source code is governed by a | 13638 // for details. All rights reserved. Use of this source code is governed by a |
| 13480 // BSD-style license that can be found in the LICENSE file. | 13639 // BSD-style license that can be found in the LICENSE file. |
| 13481 | 13640 |
| 13482 | 13641 |
| 13483 @DocsEditable | 13642 @DocsEditable |
| 13484 @DomName('HTMLLegendElement') | 13643 @DomName('HTMLLegendElement') |
| 13485 class LegendElement extends _HTMLElement native "HTMLLegendElement" { | 13644 class LegendElement extends _HTMLElement native "HTMLLegendElement" { |
| 13645 // To suppress missing implicit constructor warnings. |
| 13646 factory LegendElement._() { throw new UnsupportedError("Not supported"); } |
| 13486 | 13647 |
| 13487 @DomName('HTMLLegendElement.HTMLLegendElement') | 13648 @DomName('HTMLLegendElement.HTMLLegendElement') |
| 13488 @DocsEditable | 13649 @DocsEditable |
| 13489 factory LegendElement() => document.$dom_createElement("legend"); | 13650 factory LegendElement() => document.$dom_createElement("legend"); |
| 13490 | 13651 |
| 13491 @DomName('HTMLLegendElement.form') | 13652 @DomName('HTMLLegendElement.form') |
| 13492 @DocsEditable | 13653 @DocsEditable |
| 13493 final FormElement form; | 13654 final FormElement form; |
| 13494 } | 13655 } |
| 13495 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 13656 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 13496 // for details. All rights reserved. Use of this source code is governed by a | 13657 // for details. All rights reserved. Use of this source code is governed by a |
| 13497 // BSD-style license that can be found in the LICENSE file. | 13658 // BSD-style license that can be found in the LICENSE file. |
| 13498 | 13659 |
| 13499 | 13660 |
| 13500 @DocsEditable | 13661 @DocsEditable |
| 13501 @DomName('HTMLLinkElement') | 13662 @DomName('HTMLLinkElement') |
| 13502 class LinkElement extends _HTMLElement native "HTMLLinkElement" { | 13663 class LinkElement extends _HTMLElement native "HTMLLinkElement" { |
| 13664 // To suppress missing implicit constructor warnings. |
| 13665 factory LinkElement._() { throw new UnsupportedError("Not supported"); } |
| 13503 | 13666 |
| 13504 @DomName('HTMLLinkElement.HTMLLinkElement') | 13667 @DomName('HTMLLinkElement.HTMLLinkElement') |
| 13505 @DocsEditable | 13668 @DocsEditable |
| 13506 factory LinkElement() => document.$dom_createElement("link"); | 13669 factory LinkElement() => document.$dom_createElement("link"); |
| 13507 | 13670 |
| 13508 @DomName('HTMLLinkElement.disabled') | 13671 @DomName('HTMLLinkElement.disabled') |
| 13509 @DocsEditable | 13672 @DocsEditable |
| 13510 bool disabled; | 13673 bool disabled; |
| 13511 | 13674 |
| 13512 @DomName('HTMLLinkElement.href') | 13675 @DomName('HTMLLinkElement.href') |
| (...skipping 30 matching lines...) Expand all Loading... |
| 13543 @DocsEditable | 13706 @DocsEditable |
| 13544 String type; | 13707 String type; |
| 13545 } | 13708 } |
| 13546 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 13709 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 13547 // for details. All rights reserved. Use of this source code is governed by a | 13710 // for details. All rights reserved. Use of this source code is governed by a |
| 13548 // BSD-style license that can be found in the LICENSE file. | 13711 // BSD-style license that can be found in the LICENSE file. |
| 13549 | 13712 |
| 13550 | 13713 |
| 13551 @DocsEditable | 13714 @DocsEditable |
| 13552 @DomName('Location') | 13715 @DomName('Location') |
| 13553 class Location implements LocationBase native "Location" { | 13716 class Location extends Interceptor implements LocationBase native "Location" { |
| 13554 | 13717 |
| 13555 @DomName('Location.ancestorOrigins') | 13718 @DomName('Location.ancestorOrigins') |
| 13556 @DocsEditable | 13719 @DocsEditable |
| 13557 @Experimental // nonstandard | 13720 @Experimental // nonstandard |
| 13558 @Returns('DomStringList') | 13721 @Returns('DomStringList') |
| 13559 @Creates('DomStringList') | 13722 @Creates('DomStringList') |
| 13560 final List<String> ancestorOrigins; | 13723 final List<String> ancestorOrigins; |
| 13561 | 13724 |
| 13562 @DomName('Location.hash') | 13725 @DomName('Location.hash') |
| 13563 @DocsEditable | 13726 @DocsEditable |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 13628 @Experimental | 13791 @Experimental |
| 13629 typedef void MidiErrorCallback(DomError error); | 13792 typedef void MidiErrorCallback(DomError error); |
| 13630 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 13793 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 13631 // for details. All rights reserved. Use of this source code is governed by a | 13794 // for details. All rights reserved. Use of this source code is governed by a |
| 13632 // BSD-style license that can be found in the LICENSE file. | 13795 // BSD-style license that can be found in the LICENSE file. |
| 13633 | 13796 |
| 13634 | 13797 |
| 13635 @DocsEditable | 13798 @DocsEditable |
| 13636 @DomName('HTMLMapElement') | 13799 @DomName('HTMLMapElement') |
| 13637 class MapElement extends _HTMLElement native "HTMLMapElement" { | 13800 class MapElement extends _HTMLElement native "HTMLMapElement" { |
| 13801 // To suppress missing implicit constructor warnings. |
| 13802 factory MapElement._() { throw new UnsupportedError("Not supported"); } |
| 13638 | 13803 |
| 13639 @DomName('HTMLMapElement.HTMLMapElement') | 13804 @DomName('HTMLMapElement.HTMLMapElement') |
| 13640 @DocsEditable | 13805 @DocsEditable |
| 13641 factory MapElement() => document.$dom_createElement("map"); | 13806 factory MapElement() => document.$dom_createElement("map"); |
| 13642 | 13807 |
| 13643 @DomName('HTMLMapElement.areas') | 13808 @DomName('HTMLMapElement.areas') |
| 13644 @DocsEditable | 13809 @DocsEditable |
| 13645 final HtmlCollection areas; | 13810 final HtmlCollection areas; |
| 13646 | 13811 |
| 13647 @DomName('HTMLMapElement.name') | 13812 @DomName('HTMLMapElement.name') |
| 13648 @DocsEditable | 13813 @DocsEditable |
| 13649 String name; | 13814 String name; |
| 13650 } | 13815 } |
| 13651 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 13816 // 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 | 13817 // 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. | 13818 // BSD-style license that can be found in the LICENSE file. |
| 13654 | 13819 |
| 13655 | 13820 |
| 13656 @DocsEditable | 13821 @DocsEditable |
| 13657 @DomName('MediaController') | 13822 @DomName('MediaController') |
| 13658 // http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element
.html#mediacontroller | 13823 // http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element
.html#mediacontroller |
| 13659 @Experimental | 13824 @Experimental |
| 13660 class MediaController extends EventTarget native "MediaController" { | 13825 class MediaController extends EventTarget native "MediaController" { |
| 13826 // To suppress missing implicit constructor warnings. |
| 13827 factory MediaController._() { throw new UnsupportedError("Not supported"); } |
| 13661 | 13828 |
| 13662 @DomName('MediaController.MediaController') | 13829 @DomName('MediaController.MediaController') |
| 13663 @DocsEditable | 13830 @DocsEditable |
| 13664 factory MediaController() { | 13831 factory MediaController() { |
| 13665 return MediaController._create_1(); | 13832 return MediaController._create_1(); |
| 13666 } | 13833 } |
| 13667 static MediaController _create_1() => JS('MediaController', 'new MediaControll
er()'); | 13834 static MediaController _create_1() => JS('MediaController', 'new MediaControll
er()'); |
| 13668 | 13835 |
| 13669 @DomName('MediaController.buffered') | 13836 @DomName('MediaController.buffered') |
| 13670 @DocsEditable | 13837 @DocsEditable |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 13738 } | 13905 } |
| 13739 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 13906 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 13740 // for details. All rights reserved. Use of this source code is governed by a | 13907 // for details. All rights reserved. Use of this source code is governed by a |
| 13741 // BSD-style license that can be found in the LICENSE file. | 13908 // BSD-style license that can be found in the LICENSE file. |
| 13742 | 13909 |
| 13743 | 13910 |
| 13744 @DocsEditable | 13911 @DocsEditable |
| 13745 @DomName('HTMLMediaElement') | 13912 @DomName('HTMLMediaElement') |
| 13746 @Unstable | 13913 @Unstable |
| 13747 class MediaElement extends _HTMLElement native "HTMLMediaElement" { | 13914 class MediaElement extends _HTMLElement native "HTMLMediaElement" { |
| 13915 // To suppress missing implicit constructor warnings. |
| 13916 factory MediaElement._() { throw new UnsupportedError("Not supported"); } |
| 13748 | 13917 |
| 13749 @DomName('HTMLMediaElement.canplayEvent') | 13918 @DomName('HTMLMediaElement.canplayEvent') |
| 13750 @DocsEditable | 13919 @DocsEditable |
| 13751 static const EventStreamProvider<Event> canPlayEvent = const EventStreamProvid
er<Event>('canplay'); | 13920 static const EventStreamProvider<Event> canPlayEvent = const EventStreamProvid
er<Event>('canplay'); |
| 13752 | 13921 |
| 13753 @DomName('HTMLMediaElement.canplaythroughEvent') | 13922 @DomName('HTMLMediaElement.canplaythroughEvent') |
| 13754 @DocsEditable | 13923 @DocsEditable |
| 13755 static const EventStreamProvider<Event> canPlayThroughEvent = const EventStrea
mProvider<Event>('canplaythrough'); | 13924 static const EventStreamProvider<Event> canPlayThroughEvent = const EventStrea
mProvider<Event>('canplaythrough'); |
| 13756 | 13925 |
| 13757 @DomName('HTMLMediaElement.durationchangeEvent') | 13926 @DomName('HTMLMediaElement.durationchangeEvent') |
| (...skipping 467 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 14225 Stream<MediaKeyEvent> get onNeedKey => needKeyEvent.forTarget(this); | 14394 Stream<MediaKeyEvent> get onNeedKey => needKeyEvent.forTarget(this); |
| 14226 } | 14395 } |
| 14227 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14396 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 14228 // for details. All rights reserved. Use of this source code is governed by a | 14397 // for details. All rights reserved. Use of this source code is governed by a |
| 14229 // BSD-style license that can be found in the LICENSE file. | 14398 // BSD-style license that can be found in the LICENSE file. |
| 14230 | 14399 |
| 14231 | 14400 |
| 14232 @DocsEditable | 14401 @DocsEditable |
| 14233 @DomName('MediaError') | 14402 @DomName('MediaError') |
| 14234 @Unstable | 14403 @Unstable |
| 14235 class MediaError native "MediaError" { | 14404 class MediaError extends Interceptor native "MediaError" { |
| 14236 | 14405 |
| 14237 @DomName('MediaError.MEDIA_ERR_ABORTED') | 14406 @DomName('MediaError.MEDIA_ERR_ABORTED') |
| 14238 @DocsEditable | 14407 @DocsEditable |
| 14239 static const int MEDIA_ERR_ABORTED = 1; | 14408 static const int MEDIA_ERR_ABORTED = 1; |
| 14240 | 14409 |
| 14241 @DomName('MediaError.MEDIA_ERR_DECODE') | 14410 @DomName('MediaError.MEDIA_ERR_DECODE') |
| 14242 @DocsEditable | 14411 @DocsEditable |
| 14243 static const int MEDIA_ERR_DECODE = 3; | 14412 static const int MEDIA_ERR_DECODE = 3; |
| 14244 | 14413 |
| 14245 @DomName('MediaError.MEDIA_ERR_ENCRYPTED') | 14414 @DomName('MediaError.MEDIA_ERR_ENCRYPTED') |
| (...skipping 16 matching lines...) Expand all Loading... |
| 14262 } | 14431 } |
| 14263 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14432 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 14264 // for details. All rights reserved. Use of this source code is governed by a | 14433 // for details. All rights reserved. Use of this source code is governed by a |
| 14265 // BSD-style license that can be found in the LICENSE file. | 14434 // BSD-style license that can be found in the LICENSE file. |
| 14266 | 14435 |
| 14267 | 14436 |
| 14268 @DocsEditable | 14437 @DocsEditable |
| 14269 @DomName('MediaKeyError') | 14438 @DomName('MediaKeyError') |
| 14270 // https://dvcs.w3.org/hg/html-media/raw-file/eme-v0.1/encrypted-media/encrypted
-media.html#error-codes | 14439 // https://dvcs.w3.org/hg/html-media/raw-file/eme-v0.1/encrypted-media/encrypted
-media.html#error-codes |
| 14271 @Experimental | 14440 @Experimental |
| 14272 class MediaKeyError native "MediaKeyError" { | 14441 class MediaKeyError extends Interceptor native "MediaKeyError" { |
| 14273 | 14442 |
| 14274 @DomName('MediaKeyError.MEDIA_KEYERR_CLIENT') | 14443 @DomName('MediaKeyError.MEDIA_KEYERR_CLIENT') |
| 14275 @DocsEditable | 14444 @DocsEditable |
| 14276 static const int MEDIA_KEYERR_CLIENT = 2; | 14445 static const int MEDIA_KEYERR_CLIENT = 2; |
| 14277 | 14446 |
| 14278 @DomName('MediaKeyError.MEDIA_KEYERR_DOMAIN') | 14447 @DomName('MediaKeyError.MEDIA_KEYERR_DOMAIN') |
| 14279 @DocsEditable | 14448 @DocsEditable |
| 14280 static const int MEDIA_KEYERR_DOMAIN = 6; | 14449 static const int MEDIA_KEYERR_DOMAIN = 6; |
| 14281 | 14450 |
| 14282 @DomName('MediaKeyError.MEDIA_KEYERR_HARDWARECHANGE') | 14451 @DomName('MediaKeyError.MEDIA_KEYERR_HARDWARECHANGE') |
| (...skipping 24 matching lines...) Expand all Loading... |
| 14307 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14476 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 14308 // for details. All rights reserved. Use of this source code is governed by a | 14477 // for details. All rights reserved. Use of this source code is governed by a |
| 14309 // BSD-style license that can be found in the LICENSE file. | 14478 // BSD-style license that can be found in the LICENSE file. |
| 14310 | 14479 |
| 14311 | 14480 |
| 14312 @DocsEditable | 14481 @DocsEditable |
| 14313 @DomName('MediaKeyEvent') | 14482 @DomName('MediaKeyEvent') |
| 14314 // https://dvcs.w3.org/hg/html-media/raw-file/eme-v0.1/encrypted-media/encrypted
-media.html#event-definitions | 14483 // https://dvcs.w3.org/hg/html-media/raw-file/eme-v0.1/encrypted-media/encrypted
-media.html#event-definitions |
| 14315 @Experimental | 14484 @Experimental |
| 14316 class MediaKeyEvent extends Event native "MediaKeyEvent" { | 14485 class MediaKeyEvent extends Event native "MediaKeyEvent" { |
| 14486 // To suppress missing implicit constructor warnings. |
| 14487 factory MediaKeyEvent._() { throw new UnsupportedError("Not supported"); } |
| 14317 | 14488 |
| 14318 @JSName('defaultURL') | 14489 @JSName('defaultURL') |
| 14319 @DomName('MediaKeyEvent.defaultURL') | 14490 @DomName('MediaKeyEvent.defaultURL') |
| 14320 @DocsEditable | 14491 @DocsEditable |
| 14321 final String defaultUrl; | 14492 final String defaultUrl; |
| 14322 | 14493 |
| 14323 @DomName('MediaKeyEvent.errorCode') | 14494 @DomName('MediaKeyEvent.errorCode') |
| 14324 @DocsEditable | 14495 @DocsEditable |
| 14325 final MediaKeyError errorCode; | 14496 final MediaKeyError errorCode; |
| 14326 | 14497 |
| (...skipping 20 matching lines...) Expand all Loading... |
| 14347 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14518 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 14348 // for details. All rights reserved. Use of this source code is governed by a | 14519 // for details. All rights reserved. Use of this source code is governed by a |
| 14349 // BSD-style license that can be found in the LICENSE file. | 14520 // BSD-style license that can be found in the LICENSE file. |
| 14350 | 14521 |
| 14351 | 14522 |
| 14352 @DocsEditable | 14523 @DocsEditable |
| 14353 @DomName('MediaKeyMessageEvent') | 14524 @DomName('MediaKeyMessageEvent') |
| 14354 // https://dvcs.w3.org/hg/html-media/raw-file/eme-v0.1/encrypted-media/encrypted
-media.html#dom-mediakeymessageevent | 14525 // https://dvcs.w3.org/hg/html-media/raw-file/eme-v0.1/encrypted-media/encrypted
-media.html#dom-mediakeymessageevent |
| 14355 @Experimental | 14526 @Experimental |
| 14356 class MediaKeyMessageEvent extends Event native "MediaKeyMessageEvent" { | 14527 class MediaKeyMessageEvent extends Event native "MediaKeyMessageEvent" { |
| 14528 // To suppress missing implicit constructor warnings. |
| 14529 factory MediaKeyMessageEvent._() { throw new UnsupportedError("Not supported")
; } |
| 14357 | 14530 |
| 14358 @JSName('destinationURL') | 14531 @JSName('destinationURL') |
| 14359 @DomName('MediaKeyMessageEvent.destinationURL') | 14532 @DomName('MediaKeyMessageEvent.destinationURL') |
| 14360 @DocsEditable | 14533 @DocsEditable |
| 14361 final String destinationUrl; | 14534 final String destinationUrl; |
| 14362 | 14535 |
| 14363 @DomName('MediaKeyMessageEvent.message') | 14536 @DomName('MediaKeyMessageEvent.message') |
| 14364 @DocsEditable | 14537 @DocsEditable |
| 14365 final Uint8List message; | 14538 final Uint8List message; |
| 14366 } | 14539 } |
| 14367 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14540 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 14368 // for details. All rights reserved. Use of this source code is governed by a | 14541 // for details. All rights reserved. Use of this source code is governed by a |
| 14369 // BSD-style license that can be found in the LICENSE file. | 14542 // BSD-style license that can be found in the LICENSE file. |
| 14370 | 14543 |
| 14371 | 14544 |
| 14372 @DocsEditable | 14545 @DocsEditable |
| 14373 @DomName('MediaKeyNeededEvent') | 14546 @DomName('MediaKeyNeededEvent') |
| 14374 // https://dvcs.w3.org/hg/html-media/raw-file/eme-v0.1/encrypted-media/encrypted
-media.html#dom-mediakeyneededevent | 14547 // https://dvcs.w3.org/hg/html-media/raw-file/eme-v0.1/encrypted-media/encrypted
-media.html#dom-mediakeyneededevent |
| 14375 @Experimental | 14548 @Experimental |
| 14376 class MediaKeyNeededEvent extends Event native "MediaKeyNeededEvent" { | 14549 class MediaKeyNeededEvent extends Event native "MediaKeyNeededEvent" { |
| 14550 // To suppress missing implicit constructor warnings. |
| 14551 factory MediaKeyNeededEvent._() { throw new UnsupportedError("Not supported");
} |
| 14377 | 14552 |
| 14378 @DomName('MediaKeyNeededEvent.initData') | 14553 @DomName('MediaKeyNeededEvent.initData') |
| 14379 @DocsEditable | 14554 @DocsEditable |
| 14380 final Uint8List initData; | 14555 final Uint8List initData; |
| 14381 } | 14556 } |
| 14382 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14557 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 14383 // for details. All rights reserved. Use of this source code is governed by a | 14558 // for details. All rights reserved. Use of this source code is governed by a |
| 14384 // BSD-style license that can be found in the LICENSE file. | 14559 // BSD-style license that can be found in the LICENSE file. |
| 14385 | 14560 |
| 14386 | 14561 |
| 14387 @DocsEditable | 14562 @DocsEditable |
| 14388 @DomName('MediaKeySession') | 14563 @DomName('MediaKeySession') |
| 14389 // https://dvcs.w3.org/hg/html-media/raw-file/eme-v0.1/encrypted-media/encrypted
-media.html#dom-mediakeysession | 14564 // https://dvcs.w3.org/hg/html-media/raw-file/eme-v0.1/encrypted-media/encrypted
-media.html#dom-mediakeysession |
| 14390 @Experimental | 14565 @Experimental |
| 14391 class MediaKeySession extends EventTarget native "MediaKeySession" { | 14566 class MediaKeySession extends EventTarget native "MediaKeySession" { |
| 14567 // To suppress missing implicit constructor warnings. |
| 14568 factory MediaKeySession._() { throw new UnsupportedError("Not supported"); } |
| 14392 | 14569 |
| 14393 @DomName('MediaKeySession.webkitkeyaddedEvent') | 14570 @DomName('MediaKeySession.webkitkeyaddedEvent') |
| 14394 @DocsEditable | 14571 @DocsEditable |
| 14395 @SupportedBrowser(SupportedBrowser.CHROME) | 14572 @SupportedBrowser(SupportedBrowser.CHROME) |
| 14396 @SupportedBrowser(SupportedBrowser.SAFARI) | 14573 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 14397 @Experimental | 14574 @Experimental |
| 14398 static const EventStreamProvider<MediaKeyEvent> keyAddedEvent = const EventStr
eamProvider<MediaKeyEvent>('webkitkeyadded'); | 14575 static const EventStreamProvider<MediaKeyEvent> keyAddedEvent = const EventStr
eamProvider<MediaKeyEvent>('webkitkeyadded'); |
| 14399 | 14576 |
| 14400 @DomName('MediaKeySession.webkitkeyerrorEvent') | 14577 @DomName('MediaKeySession.webkitkeyerrorEvent') |
| 14401 @DocsEditable | 14578 @DocsEditable |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 14459 } | 14636 } |
| 14460 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14637 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 14461 // for details. All rights reserved. Use of this source code is governed by a | 14638 // for details. All rights reserved. Use of this source code is governed by a |
| 14462 // BSD-style license that can be found in the LICENSE file. | 14639 // BSD-style license that can be found in the LICENSE file. |
| 14463 | 14640 |
| 14464 | 14641 |
| 14465 @DocsEditable | 14642 @DocsEditable |
| 14466 @DomName('MediaKeys') | 14643 @DomName('MediaKeys') |
| 14467 // https://dvcs.w3.org/hg/html-media/raw-file/eme-v0.1/encrypted-media/encrypted
-media.html | 14644 // https://dvcs.w3.org/hg/html-media/raw-file/eme-v0.1/encrypted-media/encrypted
-media.html |
| 14468 @Experimental | 14645 @Experimental |
| 14469 class MediaKeys native "MediaKeys" { | 14646 class MediaKeys extends Interceptor native "MediaKeys" { |
| 14470 | 14647 |
| 14471 @DomName('MediaKeys.MediaKeys') | 14648 @DomName('MediaKeys.MediaKeys') |
| 14472 @DocsEditable | 14649 @DocsEditable |
| 14473 factory MediaKeys(String keySystem) { | 14650 factory MediaKeys(String keySystem) { |
| 14474 return MediaKeys._create_1(keySystem); | 14651 return MediaKeys._create_1(keySystem); |
| 14475 } | 14652 } |
| 14476 static MediaKeys _create_1(keySystem) => JS('MediaKeys', 'new MediaKeys(#)', k
eySystem); | 14653 static MediaKeys _create_1(keySystem) => JS('MediaKeys', 'new MediaKeys(#)', k
eySystem); |
| 14477 | 14654 |
| 14478 @DomName('MediaKeys.keySystem') | 14655 @DomName('MediaKeys.keySystem') |
| 14479 @DocsEditable | 14656 @DocsEditable |
| 14480 final String keySystem; | 14657 final String keySystem; |
| 14481 | 14658 |
| 14482 @DomName('MediaKeys.createSession') | 14659 @DomName('MediaKeys.createSession') |
| 14483 @DocsEditable | 14660 @DocsEditable |
| 14484 MediaKeySession createSession(String type, Uint8List initData) native; | 14661 MediaKeySession createSession(String type, Uint8List initData) native; |
| 14485 } | 14662 } |
| 14486 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14663 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 14487 // for details. All rights reserved. Use of this source code is governed by a | 14664 // for details. All rights reserved. Use of this source code is governed by a |
| 14488 // BSD-style license that can be found in the LICENSE file. | 14665 // BSD-style license that can be found in the LICENSE file. |
| 14489 | 14666 |
| 14490 | 14667 |
| 14491 @DocsEditable | 14668 @DocsEditable |
| 14492 @DomName('MediaList') | 14669 @DomName('MediaList') |
| 14493 @Unstable | 14670 @Unstable |
| 14494 class MediaList native "MediaList" { | 14671 class MediaList extends Interceptor native "MediaList" { |
| 14495 | 14672 |
| 14496 @DomName('MediaList.length') | 14673 @DomName('MediaList.length') |
| 14497 @DocsEditable | 14674 @DocsEditable |
| 14498 final int length; | 14675 final int length; |
| 14499 | 14676 |
| 14500 @DomName('MediaList.mediaText') | 14677 @DomName('MediaList.mediaText') |
| 14501 @DocsEditable | 14678 @DocsEditable |
| 14502 String mediaText; | 14679 String mediaText; |
| 14503 | 14680 |
| 14504 @DomName('MediaList.appendMedium') | 14681 @DomName('MediaList.appendMedium') |
| 14505 @DocsEditable | 14682 @DocsEditable |
| 14506 void appendMedium(String newMedium) native; | 14683 void appendMedium(String newMedium) native; |
| 14507 | 14684 |
| 14508 @DomName('MediaList.deleteMedium') | 14685 @DomName('MediaList.deleteMedium') |
| 14509 @DocsEditable | 14686 @DocsEditable |
| 14510 void deleteMedium(String oldMedium) native; | 14687 void deleteMedium(String oldMedium) native; |
| 14511 | 14688 |
| 14512 @DomName('MediaList.item') | 14689 @DomName('MediaList.item') |
| 14513 @DocsEditable | 14690 @DocsEditable |
| 14514 String item(int index) native; | 14691 String item(int index) native; |
| 14515 } | 14692 } |
| 14516 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14693 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 14517 // for details. All rights reserved. Use of this source code is governed by a | 14694 // for details. All rights reserved. Use of this source code is governed by a |
| 14518 // BSD-style license that can be found in the LICENSE file. | 14695 // BSD-style license that can be found in the LICENSE file. |
| 14519 | 14696 |
| 14520 | 14697 |
| 14521 @DocsEditable | 14698 @DocsEditable |
| 14522 @DomName('MediaQueryList') | 14699 @DomName('MediaQueryList') |
| 14523 @Unstable | 14700 @Unstable |
| 14524 class MediaQueryList native "MediaQueryList" { | 14701 class MediaQueryList extends Interceptor native "MediaQueryList" { |
| 14525 | 14702 |
| 14526 @DomName('MediaQueryList.matches') | 14703 @DomName('MediaQueryList.matches') |
| 14527 @DocsEditable | 14704 @DocsEditable |
| 14528 final bool matches; | 14705 final bool matches; |
| 14529 | 14706 |
| 14530 @DomName('MediaQueryList.media') | 14707 @DomName('MediaQueryList.media') |
| 14531 @DocsEditable | 14708 @DocsEditable |
| 14532 final String media; | 14709 final String media; |
| 14533 | 14710 |
| 14534 @DomName('MediaQueryList.addListener') | 14711 @DomName('MediaQueryList.addListener') |
| 14535 @DocsEditable | 14712 @DocsEditable |
| 14536 void addListener(MediaQueryListListener listener) native; | 14713 void addListener(MediaQueryListListener listener) native; |
| 14537 | 14714 |
| 14538 @DomName('MediaQueryList.removeListener') | 14715 @DomName('MediaQueryList.removeListener') |
| 14539 @DocsEditable | 14716 @DocsEditable |
| 14540 void removeListener(MediaQueryListListener listener) native; | 14717 void removeListener(MediaQueryListListener listener) native; |
| 14541 } | 14718 } |
| 14542 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14719 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 14543 // for details. All rights reserved. Use of this source code is governed by a | 14720 // for details. All rights reserved. Use of this source code is governed by a |
| 14544 // BSD-style license that can be found in the LICENSE file. | 14721 // BSD-style license that can be found in the LICENSE file. |
| 14545 | 14722 |
| 14546 | 14723 |
| 14547 @DomName('MediaQueryListListener') | 14724 @DomName('MediaQueryListListener') |
| 14548 @Unstable | 14725 @Unstable |
| 14549 abstract class MediaQueryListListener { | 14726 abstract class MediaQueryListListener extends Interceptor { |
| 14550 | 14727 |
| 14551 void queryChanged(MediaQueryList list); | 14728 void queryChanged(MediaQueryList list); |
| 14552 } | 14729 } |
| 14553 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14730 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 14554 // for details. All rights reserved. Use of this source code is governed by a | 14731 // for details. All rights reserved. Use of this source code is governed by a |
| 14555 // BSD-style license that can be found in the LICENSE file. | 14732 // BSD-style license that can be found in the LICENSE file. |
| 14556 | 14733 |
| 14557 | 14734 |
| 14558 @DocsEditable | 14735 @DocsEditable |
| 14559 @DomName('WebKitMediaSource') | 14736 @DomName('WebKitMediaSource') |
| 14560 @SupportedBrowser(SupportedBrowser.CHROME) | 14737 @SupportedBrowser(SupportedBrowser.CHROME) |
| 14561 @SupportedBrowser(SupportedBrowser.SAFARI) | 14738 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 14562 @Experimental | 14739 @Experimental |
| 14563 // https://dvcs.w3.org/hg/html-media/raw-file/tip/media-source/media-source.html
#mediasource | 14740 // https://dvcs.w3.org/hg/html-media/raw-file/tip/media-source/media-source.html
#mediasource |
| 14564 class MediaSource extends EventTarget native "WebKitMediaSource" { | 14741 class MediaSource extends EventTarget native "WebKitMediaSource" { |
| 14742 // To suppress missing implicit constructor warnings. |
| 14743 factory MediaSource._() { throw new UnsupportedError("Not supported"); } |
| 14565 | 14744 |
| 14566 @DomName('WebKitMediaSource.WebKitMediaSource') | 14745 @DomName('WebKitMediaSource.WebKitMediaSource') |
| 14567 @DocsEditable | 14746 @DocsEditable |
| 14568 factory MediaSource() { | 14747 factory MediaSource() { |
| 14569 return MediaSource._create_1(); | 14748 return MediaSource._create_1(); |
| 14570 } | 14749 } |
| 14571 static MediaSource _create_1() => JS('MediaSource', 'new WebKitMediaSource()')
; | 14750 static MediaSource _create_1() => JS('MediaSource', 'new WebKitMediaSource()')
; |
| 14572 | 14751 |
| 14573 @DomName('WebKitMediaSource.activeSourceBuffers') | 14752 @DomName('WebKitMediaSource.activeSourceBuffers') |
| 14574 @DocsEditable | 14753 @DocsEditable |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 14619 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 14798 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 14620 // for details. All rights reserved. Use of this source code is governed by a | 14799 // for details. All rights reserved. Use of this source code is governed by a |
| 14621 // BSD-style license that can be found in the LICENSE file. | 14800 // BSD-style license that can be found in the LICENSE file. |
| 14622 | 14801 |
| 14623 | 14802 |
| 14624 @DomName('MediaStream') | 14803 @DomName('MediaStream') |
| 14625 @SupportedBrowser(SupportedBrowser.CHROME) | 14804 @SupportedBrowser(SupportedBrowser.CHROME) |
| 14626 @Experimental | 14805 @Experimental |
| 14627 // http://dev.w3.org/2011/webrtc/editor/getusermedia.html#mediastream | 14806 // http://dev.w3.org/2011/webrtc/editor/getusermedia.html#mediastream |
| 14628 class MediaStream extends EventTarget native "MediaStream" { | 14807 class MediaStream extends EventTarget native "MediaStream" { |
| 14808 // To suppress missing implicit constructor warnings. |
| 14809 factory MediaStream._() { throw new UnsupportedError("Not supported"); } |
| 14629 | 14810 |
| 14630 @DomName('MediaStream.addtrackEvent') | 14811 @DomName('MediaStream.addtrackEvent') |
| 14631 @DocsEditable | 14812 @DocsEditable |
| 14632 static const EventStreamProvider<Event> addTrackEvent = const EventStreamProvi
der<Event>('addtrack'); | 14813 static const EventStreamProvider<Event> addTrackEvent = const EventStreamProvi
der<Event>('addtrack'); |
| 14633 | 14814 |
| 14634 @DomName('MediaStream.endedEvent') | 14815 @DomName('MediaStream.endedEvent') |
| 14635 @DocsEditable | 14816 @DocsEditable |
| 14636 static const EventStreamProvider<Event> endedEvent = const EventStreamProvider
<Event>('ended'); | 14817 static const EventStreamProvider<Event> endedEvent = const EventStreamProvider
<Event>('ended'); |
| 14637 | 14818 |
| 14638 @DomName('MediaStream.removetrackEvent') | 14819 @DomName('MediaStream.removetrackEvent') |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 14740 // for details. All rights reserved. Use of this source code is governed by a | 14921 // for details. All rights reserved. Use of this source code is governed by a |
| 14741 // BSD-style license that can be found in the LICENSE file. | 14922 // BSD-style license that can be found in the LICENSE file. |
| 14742 | 14923 |
| 14743 | 14924 |
| 14744 @DocsEditable | 14925 @DocsEditable |
| 14745 @DomName('MediaStreamEvent') | 14926 @DomName('MediaStreamEvent') |
| 14746 @SupportedBrowser(SupportedBrowser.CHROME) | 14927 @SupportedBrowser(SupportedBrowser.CHROME) |
| 14747 @Experimental | 14928 @Experimental |
| 14748 // http://dev.w3.org/2011/webrtc/editor/getusermedia.html | 14929 // http://dev.w3.org/2011/webrtc/editor/getusermedia.html |
| 14749 class MediaStreamEvent extends Event native "MediaStreamEvent" { | 14930 class MediaStreamEvent extends Event native "MediaStreamEvent" { |
| 14931 // To suppress missing implicit constructor warnings. |
| 14932 factory MediaStreamEvent._() { throw new UnsupportedError("Not supported"); } |
| 14750 | 14933 |
| 14751 /// Checks if this type is supported on the current platform. | 14934 /// Checks if this type is supported on the current platform. |
| 14752 static bool get supported => Device.isEventTypeSupported('MediaStreamEvent'); | 14935 static bool get supported => Device.isEventTypeSupported('MediaStreamEvent'); |
| 14753 | 14936 |
| 14754 @DomName('MediaStreamEvent.stream') | 14937 @DomName('MediaStreamEvent.stream') |
| 14755 @DocsEditable | 14938 @DocsEditable |
| 14756 final MediaStream stream; | 14939 final MediaStream stream; |
| 14757 } | 14940 } |
| 14758 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14941 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 14759 // for details. All rights reserved. Use of this source code is governed by a | 14942 // for details. All rights reserved. Use of this source code is governed by a |
| 14760 // BSD-style license that can be found in the LICENSE file. | 14943 // BSD-style license that can be found in the LICENSE file. |
| 14761 | 14944 |
| 14762 | 14945 |
| 14763 @DocsEditable | 14946 @DocsEditable |
| 14764 @DomName('MediaStreamTrack') | 14947 @DomName('MediaStreamTrack') |
| 14765 @SupportedBrowser(SupportedBrowser.CHROME) | 14948 @SupportedBrowser(SupportedBrowser.CHROME) |
| 14766 @Experimental | 14949 @Experimental |
| 14767 // http://dev.w3.org/2011/webrtc/editor/getusermedia.html#mediastreamtrack | 14950 // http://dev.w3.org/2011/webrtc/editor/getusermedia.html#mediastreamtrack |
| 14768 class MediaStreamTrack extends EventTarget native "MediaStreamTrack" { | 14951 class MediaStreamTrack extends EventTarget native "MediaStreamTrack" { |
| 14952 // To suppress missing implicit constructor warnings. |
| 14953 factory MediaStreamTrack._() { throw new UnsupportedError("Not supported"); } |
| 14769 | 14954 |
| 14770 @DomName('MediaStreamTrack.endedEvent') | 14955 @DomName('MediaStreamTrack.endedEvent') |
| 14771 @DocsEditable | 14956 @DocsEditable |
| 14772 static const EventStreamProvider<Event> endedEvent = const EventStreamProvider
<Event>('ended'); | 14957 static const EventStreamProvider<Event> endedEvent = const EventStreamProvider
<Event>('ended'); |
| 14773 | 14958 |
| 14774 @DomName('MediaStreamTrack.muteEvent') | 14959 @DomName('MediaStreamTrack.muteEvent') |
| 14775 @DocsEditable | 14960 @DocsEditable |
| 14776 static const EventStreamProvider<Event> muteEvent = const EventStreamProvider<
Event>('mute'); | 14961 static const EventStreamProvider<Event> muteEvent = const EventStreamProvider<
Event>('mute'); |
| 14777 | 14962 |
| 14778 @DomName('MediaStreamTrack.unmuteEvent') | 14963 @DomName('MediaStreamTrack.unmuteEvent') |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 14829 // for details. All rights reserved. Use of this source code is governed by a | 15014 // for details. All rights reserved. Use of this source code is governed by a |
| 14830 // BSD-style license that can be found in the LICENSE file. | 15015 // BSD-style license that can be found in the LICENSE file. |
| 14831 | 15016 |
| 14832 | 15017 |
| 14833 @DocsEditable | 15018 @DocsEditable |
| 14834 @DomName('MediaStreamTrackEvent') | 15019 @DomName('MediaStreamTrackEvent') |
| 14835 @SupportedBrowser(SupportedBrowser.CHROME) | 15020 @SupportedBrowser(SupportedBrowser.CHROME) |
| 14836 @Experimental | 15021 @Experimental |
| 14837 // http://dev.w3.org/2011/webrtc/editor/getusermedia.html | 15022 // http://dev.w3.org/2011/webrtc/editor/getusermedia.html |
| 14838 class MediaStreamTrackEvent extends Event native "MediaStreamTrackEvent" { | 15023 class MediaStreamTrackEvent extends Event native "MediaStreamTrackEvent" { |
| 15024 // To suppress missing implicit constructor warnings. |
| 15025 factory MediaStreamTrackEvent._() { throw new UnsupportedError("Not supported"
); } |
| 14839 | 15026 |
| 14840 /// Checks if this type is supported on the current platform. | 15027 /// Checks if this type is supported on the current platform. |
| 14841 static bool get supported => Device.isEventTypeSupported('MediaStreamTrackEven
t'); | 15028 static bool get supported => Device.isEventTypeSupported('MediaStreamTrackEven
t'); |
| 14842 | 15029 |
| 14843 @DomName('MediaStreamTrackEvent.track') | 15030 @DomName('MediaStreamTrackEvent.track') |
| 14844 @DocsEditable | 15031 @DocsEditable |
| 14845 final MediaStreamTrack track; | 15032 final MediaStreamTrack track; |
| 14846 } | 15033 } |
| 14847 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 15034 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 14848 // for details. All rights reserved. Use of this source code is governed by a | 15035 // for details. All rights reserved. Use of this source code is governed by a |
| 14849 // BSD-style license that can be found in the LICENSE file. | 15036 // BSD-style license that can be found in the LICENSE file. |
| 14850 | 15037 |
| 14851 | 15038 |
| 14852 @DocsEditable | 15039 @DocsEditable |
| 14853 @DomName('MemoryInfo') | 15040 @DomName('MemoryInfo') |
| 14854 @Experimental // nonstandard | 15041 @Experimental // nonstandard |
| 14855 class MemoryInfo native "MemoryInfo" { | 15042 class MemoryInfo extends Interceptor native "MemoryInfo" { |
| 14856 | 15043 |
| 14857 @DomName('MemoryInfo.jsHeapSizeLimit') | 15044 @DomName('MemoryInfo.jsHeapSizeLimit') |
| 14858 @DocsEditable | 15045 @DocsEditable |
| 14859 final int jsHeapSizeLimit; | 15046 final int jsHeapSizeLimit; |
| 14860 | 15047 |
| 14861 @DomName('MemoryInfo.totalJSHeapSize') | 15048 @DomName('MemoryInfo.totalJSHeapSize') |
| 14862 @DocsEditable | 15049 @DocsEditable |
| 14863 final int totalJSHeapSize; | 15050 final int totalJSHeapSize; |
| 14864 | 15051 |
| 14865 @DomName('MemoryInfo.usedJSHeapSize') | 15052 @DomName('MemoryInfo.usedJSHeapSize') |
| (...skipping 11 matching lines...) Expand all Loading... |
| 14877 * | 15064 * |
| 14878 * A <menu> element represents an unordered list of menu commands. | 15065 * A <menu> element represents an unordered list of menu commands. |
| 14879 * | 15066 * |
| 14880 * See also: | 15067 * See also: |
| 14881 * | 15068 * |
| 14882 * * [Menu Element](https://developer.mozilla.org/en-US/docs/HTML/Element/menu)
from MDN. | 15069 * * [Menu Element](https://developer.mozilla.org/en-US/docs/HTML/Element/menu)
from MDN. |
| 14883 * * [Menu Element](http://www.w3.org/TR/html5/the-menu-element.html#the-menu-e
lement) from the W3C. | 15070 * * [Menu Element](http://www.w3.org/TR/html5/the-menu-element.html#the-menu-e
lement) from the W3C. |
| 14884 */ | 15071 */ |
| 14885 @DomName('HTMLMenuElement') | 15072 @DomName('HTMLMenuElement') |
| 14886 class MenuElement extends _HTMLElement native "HTMLMenuElement" { | 15073 class MenuElement extends _HTMLElement native "HTMLMenuElement" { |
| 15074 // To suppress missing implicit constructor warnings. |
| 15075 factory MenuElement._() { throw new UnsupportedError("Not supported"); } |
| 14887 | 15076 |
| 14888 @DomName('HTMLMenuElement.HTMLMenuElement') | 15077 @DomName('HTMLMenuElement.HTMLMenuElement') |
| 14889 @DocsEditable | 15078 @DocsEditable |
| 14890 factory MenuElement() => document.$dom_createElement("menu"); | 15079 factory MenuElement() => document.$dom_createElement("menu"); |
| 14891 } | 15080 } |
| 14892 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 15081 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 14893 // for details. All rights reserved. Use of this source code is governed by a | 15082 // for details. All rights reserved. Use of this source code is governed by a |
| 14894 // BSD-style license that can be found in the LICENSE file. | 15083 // BSD-style license that can be found in the LICENSE file. |
| 14895 | 15084 |
| 14896 | 15085 |
| 14897 @DocsEditable | 15086 @DocsEditable |
| 14898 @DomName('MessageChannel') | 15087 @DomName('MessageChannel') |
| 14899 @Unstable | 15088 @Unstable |
| 14900 class MessageChannel native "MessageChannel" { | 15089 class MessageChannel extends Interceptor native "MessageChannel" { |
| 14901 | 15090 |
| 14902 @DomName('MessageChannel.MessageChannel') | 15091 @DomName('MessageChannel.MessageChannel') |
| 14903 @DocsEditable | 15092 @DocsEditable |
| 14904 factory MessageChannel() { | 15093 factory MessageChannel() { |
| 14905 return MessageChannel._create_1(); | 15094 return MessageChannel._create_1(); |
| 14906 } | 15095 } |
| 14907 static MessageChannel _create_1() => JS('MessageChannel', 'new MessageChannel(
)'); | 15096 static MessageChannel _create_1() => JS('MessageChannel', 'new MessageChannel(
)'); |
| 14908 | 15097 |
| 14909 @DomName('MessageChannel.port1') | 15098 @DomName('MessageChannel.port1') |
| 14910 @DocsEditable | 15099 @DocsEditable |
| (...skipping 17 matching lines...) Expand all Loading... |
| 14928 String origin, String lastEventId, | 15117 String origin, String lastEventId, |
| 14929 Window source, List messagePorts}) { | 15118 Window source, List messagePorts}) { |
| 14930 if (source == null) { | 15119 if (source == null) { |
| 14931 source = window; | 15120 source = window; |
| 14932 } | 15121 } |
| 14933 var event = document.$dom_createEvent("MessageEvent"); | 15122 var event = document.$dom_createEvent("MessageEvent"); |
| 14934 event.$dom_initMessageEvent(type, canBubble, cancelable, data, origin, | 15123 event.$dom_initMessageEvent(type, canBubble, cancelable, data, origin, |
| 14935 lastEventId, source, messagePorts); | 15124 lastEventId, source, messagePorts); |
| 14936 return event; | 15125 return event; |
| 14937 } | 15126 } |
| 15127 // To suppress missing implicit constructor warnings. |
| 15128 factory MessageEvent._() { throw new UnsupportedError("Not supported"); } |
| 14938 | 15129 |
| 14939 dynamic get data => convertNativeToDart_SerializedScriptValue(this._get_data); | 15130 dynamic get data => convertNativeToDart_SerializedScriptValue(this._get_data); |
| 14940 @JSName('data') | 15131 @JSName('data') |
| 14941 @DomName('MessageEvent.data') | 15132 @DomName('MessageEvent.data') |
| 14942 @DocsEditable | 15133 @DocsEditable |
| 14943 @annotation_Creates_SerializedScriptValue | 15134 @annotation_Creates_SerializedScriptValue |
| 14944 @annotation_Returns_SerializedScriptValue | 15135 @annotation_Returns_SerializedScriptValue |
| 14945 final dynamic _get_data; | 15136 final dynamic _get_data; |
| 14946 | 15137 |
| 14947 @DomName('MessageEvent.lastEventId') | 15138 @DomName('MessageEvent.lastEventId') |
| (...skipping 27 matching lines...) Expand all Loading... |
| 14975 } | 15166 } |
| 14976 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 15167 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 14977 // for details. All rights reserved. Use of this source code is governed by a | 15168 // for details. All rights reserved. Use of this source code is governed by a |
| 14978 // BSD-style license that can be found in the LICENSE file. | 15169 // BSD-style license that can be found in the LICENSE file. |
| 14979 | 15170 |
| 14980 | 15171 |
| 14981 @DocsEditable | 15172 @DocsEditable |
| 14982 @DomName('MessagePort') | 15173 @DomName('MessagePort') |
| 14983 @Unstable | 15174 @Unstable |
| 14984 class MessagePort extends EventTarget native "MessagePort" { | 15175 class MessagePort extends EventTarget native "MessagePort" { |
| 15176 // To suppress missing implicit constructor warnings. |
| 15177 factory MessagePort._() { throw new UnsupportedError("Not supported"); } |
| 14985 | 15178 |
| 14986 @DomName('MessagePort.messageEvent') | 15179 @DomName('MessagePort.messageEvent') |
| 14987 @DocsEditable | 15180 @DocsEditable |
| 14988 static const EventStreamProvider<MessageEvent> messageEvent = const EventStrea
mProvider<MessageEvent>('message'); | 15181 static const EventStreamProvider<MessageEvent> messageEvent = const EventStrea
mProvider<MessageEvent>('message'); |
| 14989 | 15182 |
| 14990 @JSName('addEventListener') | 15183 @JSName('addEventListener') |
| 14991 @DomName('MessagePort.addEventListener') | 15184 @DomName('MessagePort.addEventListener') |
| 14992 @DocsEditable | 15185 @DocsEditable |
| 14993 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]) native; | 15186 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]) native; |
| 14994 | 15187 |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 15035 Stream<MessageEvent> get onMessage => messageEvent.forTarget(this); | 15228 Stream<MessageEvent> get onMessage => messageEvent.forTarget(this); |
| 15036 } | 15229 } |
| 15037 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 15230 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 15038 // for details. All rights reserved. Use of this source code is governed by a | 15231 // for details. All rights reserved. Use of this source code is governed by a |
| 15039 // BSD-style license that can be found in the LICENSE file. | 15232 // BSD-style license that can be found in the LICENSE file. |
| 15040 | 15233 |
| 15041 | 15234 |
| 15042 @DocsEditable | 15235 @DocsEditable |
| 15043 @DomName('HTMLMetaElement') | 15236 @DomName('HTMLMetaElement') |
| 15044 class MetaElement extends _HTMLElement native "HTMLMetaElement" { | 15237 class MetaElement extends _HTMLElement native "HTMLMetaElement" { |
| 15238 // To suppress missing implicit constructor warnings. |
| 15239 factory MetaElement._() { throw new UnsupportedError("Not supported"); } |
| 15045 | 15240 |
| 15046 @DomName('HTMLMetaElement.HTMLMetaElement') | 15241 @DomName('HTMLMetaElement.HTMLMetaElement') |
| 15047 @DocsEditable | 15242 @DocsEditable |
| 15048 factory MetaElement() => document.$dom_createElement("meta"); | 15243 factory MetaElement() => document.$dom_createElement("meta"); |
| 15049 | 15244 |
| 15050 @DomName('HTMLMetaElement.content') | 15245 @DomName('HTMLMetaElement.content') |
| 15051 @DocsEditable | 15246 @DocsEditable |
| 15052 String content; | 15247 String content; |
| 15053 | 15248 |
| 15054 @DomName('HTMLMetaElement.httpEquiv') | 15249 @DomName('HTMLMetaElement.httpEquiv') |
| 15055 @DocsEditable | 15250 @DocsEditable |
| 15056 String httpEquiv; | 15251 String httpEquiv; |
| 15057 | 15252 |
| 15058 @DomName('HTMLMetaElement.name') | 15253 @DomName('HTMLMetaElement.name') |
| 15059 @DocsEditable | 15254 @DocsEditable |
| 15060 String name; | 15255 String name; |
| 15061 } | 15256 } |
| 15062 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 15257 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 15063 // for details. All rights reserved. Use of this source code is governed by a | 15258 // for details. All rights reserved. Use of this source code is governed by a |
| 15064 // BSD-style license that can be found in the LICENSE file. | 15259 // BSD-style license that can be found in the LICENSE file. |
| 15065 | 15260 |
| 15066 | 15261 |
| 15067 @DocsEditable | 15262 @DocsEditable |
| 15068 @DomName('Metadata') | 15263 @DomName('Metadata') |
| 15069 // http://www.w3.org/TR/file-system-api/#the-metadata-interface | 15264 // http://www.w3.org/TR/file-system-api/#the-metadata-interface |
| 15070 @Experimental | 15265 @Experimental |
| 15071 class Metadata native "Metadata" { | 15266 class Metadata extends Interceptor native "Metadata" { |
| 15072 | 15267 |
| 15073 DateTime get modificationTime => _convertNativeToDart_DateTime(this._get_modif
icationTime); | 15268 DateTime get modificationTime => _convertNativeToDart_DateTime(this._get_modif
icationTime); |
| 15074 @JSName('modificationTime') | 15269 @JSName('modificationTime') |
| 15075 @DomName('Metadata.modificationTime') | 15270 @DomName('Metadata.modificationTime') |
| 15076 @DocsEditable | 15271 @DocsEditable |
| 15077 @Creates('Null') | 15272 @Creates('Null') |
| 15078 final dynamic _get_modificationTime; | 15273 final dynamic _get_modificationTime; |
| 15079 | 15274 |
| 15080 @DomName('Metadata.size') | 15275 @DomName('Metadata.size') |
| 15081 @DocsEditable | 15276 @DocsEditable |
| (...skipping 15 matching lines...) Expand all Loading... |
| 15097 // BSD-style license that can be found in the LICENSE file. | 15292 // BSD-style license that can be found in the LICENSE file. |
| 15098 | 15293 |
| 15099 | 15294 |
| 15100 @DocsEditable | 15295 @DocsEditable |
| 15101 @DomName('HTMLMeterElement') | 15296 @DomName('HTMLMeterElement') |
| 15102 @SupportedBrowser(SupportedBrowser.CHROME) | 15297 @SupportedBrowser(SupportedBrowser.CHROME) |
| 15103 @SupportedBrowser(SupportedBrowser.FIREFOX) | 15298 @SupportedBrowser(SupportedBrowser.FIREFOX) |
| 15104 @SupportedBrowser(SupportedBrowser.SAFARI) | 15299 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 15105 @Unstable | 15300 @Unstable |
| 15106 class MeterElement extends _HTMLElement native "HTMLMeterElement" { | 15301 class MeterElement extends _HTMLElement native "HTMLMeterElement" { |
| 15302 // To suppress missing implicit constructor warnings. |
| 15303 factory MeterElement._() { throw new UnsupportedError("Not supported"); } |
| 15107 | 15304 |
| 15108 @DomName('HTMLMeterElement.HTMLMeterElement') | 15305 @DomName('HTMLMeterElement.HTMLMeterElement') |
| 15109 @DocsEditable | 15306 @DocsEditable |
| 15110 factory MeterElement() => document.$dom_createElement("meter"); | 15307 factory MeterElement() => document.$dom_createElement("meter"); |
| 15111 | 15308 |
| 15112 /// Checks if this type is supported on the current platform. | 15309 /// Checks if this type is supported on the current platform. |
| 15113 static bool get supported => Element.isTagSupported('meter'); | 15310 static bool get supported => Element.isTagSupported('meter'); |
| 15114 | 15311 |
| 15115 @DomName('HTMLMeterElement.high') | 15312 @DomName('HTMLMeterElement.high') |
| 15116 @DocsEditable | 15313 @DocsEditable |
| (...skipping 29 matching lines...) Expand all Loading... |
| 15146 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 15343 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 15147 // for details. All rights reserved. Use of this source code is governed by a | 15344 // for details. All rights reserved. Use of this source code is governed by a |
| 15148 // BSD-style license that can be found in the LICENSE file. | 15345 // BSD-style license that can be found in the LICENSE file. |
| 15149 | 15346 |
| 15150 | 15347 |
| 15151 @DocsEditable | 15348 @DocsEditable |
| 15152 @DomName('MIDIAccess') | 15349 @DomName('MIDIAccess') |
| 15153 // http://webaudio.github.io/web-midi-api/#midiaccess-interface | 15350 // http://webaudio.github.io/web-midi-api/#midiaccess-interface |
| 15154 @Experimental | 15351 @Experimental |
| 15155 class MidiAccess extends EventTarget native "MIDIAccess" { | 15352 class MidiAccess extends EventTarget native "MIDIAccess" { |
| 15353 // To suppress missing implicit constructor warnings. |
| 15354 factory MidiAccess._() { throw new UnsupportedError("Not supported"); } |
| 15156 | 15355 |
| 15157 @DomName('MIDIAccess.connectEvent') | 15356 @DomName('MIDIAccess.connectEvent') |
| 15158 @DocsEditable | 15357 @DocsEditable |
| 15159 static const EventStreamProvider<MidiConnectionEvent> connectEvent = const Eve
ntStreamProvider<MidiConnectionEvent>('connect'); | 15358 static const EventStreamProvider<MidiConnectionEvent> connectEvent = const Eve
ntStreamProvider<MidiConnectionEvent>('connect'); |
| 15160 | 15359 |
| 15161 @DomName('MIDIAccess.disconnectEvent') | 15360 @DomName('MIDIAccess.disconnectEvent') |
| 15162 @DocsEditable | 15361 @DocsEditable |
| 15163 static const EventStreamProvider<MidiConnectionEvent> disconnectEvent = const
EventStreamProvider<MidiConnectionEvent>('disconnect'); | 15362 static const EventStreamProvider<MidiConnectionEvent> disconnectEvent = const
EventStreamProvider<MidiConnectionEvent>('disconnect'); |
| 15164 | 15363 |
| 15165 @JSName('addEventListener') | 15364 @JSName('addEventListener') |
| (...skipping 29 matching lines...) Expand all Loading... |
| 15195 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 15394 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 15196 // for details. All rights reserved. Use of this source code is governed by a | 15395 // for details. All rights reserved. Use of this source code is governed by a |
| 15197 // BSD-style license that can be found in the LICENSE file. | 15396 // BSD-style license that can be found in the LICENSE file. |
| 15198 | 15397 |
| 15199 | 15398 |
| 15200 @DocsEditable | 15399 @DocsEditable |
| 15201 @DomName('MIDIConnectionEvent') | 15400 @DomName('MIDIConnectionEvent') |
| 15202 // http://webaudio.github.io/web-midi-api/#midiconnectionevent-interface | 15401 // http://webaudio.github.io/web-midi-api/#midiconnectionevent-interface |
| 15203 @Experimental | 15402 @Experimental |
| 15204 class MidiConnectionEvent extends Event native "MIDIConnectionEvent" { | 15403 class MidiConnectionEvent extends Event native "MIDIConnectionEvent" { |
| 15404 // To suppress missing implicit constructor warnings. |
| 15405 factory MidiConnectionEvent._() { throw new UnsupportedError("Not supported");
} |
| 15205 | 15406 |
| 15206 @DomName('MIDIConnectionEvent.port') | 15407 @DomName('MIDIConnectionEvent.port') |
| 15207 @DocsEditable | 15408 @DocsEditable |
| 15208 final MidiPort port; | 15409 final MidiPort port; |
| 15209 } | 15410 } |
| 15210 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 15411 // 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 | 15412 // 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. | 15413 // BSD-style license that can be found in the LICENSE file. |
| 15213 | 15414 |
| 15214 | 15415 |
| 15215 @DocsEditable | 15416 @DocsEditable |
| 15216 @DomName('MIDIInput') | 15417 @DomName('MIDIInput') |
| 15217 // http://webaudio.github.io/web-midi-api/#idl-def-MIDIInput | 15418 // http://webaudio.github.io/web-midi-api/#idl-def-MIDIInput |
| 15218 @Experimental | 15419 @Experimental |
| 15219 class MidiInput extends MidiPort implements EventTarget native "MIDIInput" { | 15420 class MidiInput extends MidiPort implements EventTarget native "MIDIInput" { |
| 15421 // To suppress missing implicit constructor warnings. |
| 15422 factory MidiInput._() { throw new UnsupportedError("Not supported"); } |
| 15220 | 15423 |
| 15221 @DomName('MIDIInput.midimessageEvent') | 15424 @DomName('MIDIInput.midimessageEvent') |
| 15222 @DocsEditable | 15425 @DocsEditable |
| 15223 static const EventStreamProvider<MidiMessageEvent> midiMessageEvent = const Ev
entStreamProvider<MidiMessageEvent>('midimessage'); | 15426 static const EventStreamProvider<MidiMessageEvent> midiMessageEvent = const Ev
entStreamProvider<MidiMessageEvent>('midimessage'); |
| 15224 | 15427 |
| 15225 @DomName('MIDIInput.onmidimessage') | 15428 @DomName('MIDIInput.onmidimessage') |
| 15226 @DocsEditable | 15429 @DocsEditable |
| 15227 Stream<MidiMessageEvent> get onMidiMessage => midiMessageEvent.forTarget(this)
; | 15430 Stream<MidiMessageEvent> get onMidiMessage => midiMessageEvent.forTarget(this)
; |
| 15228 } | 15431 } |
| 15229 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 15432 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 15230 // for details. All rights reserved. Use of this source code is governed by a | 15433 // for details. All rights reserved. Use of this source code is governed by a |
| 15231 // BSD-style license that can be found in the LICENSE file. | 15434 // BSD-style license that can be found in the LICENSE file. |
| 15232 | 15435 |
| 15233 | 15436 |
| 15234 @DocsEditable | 15437 @DocsEditable |
| 15235 @DomName('MIDIMessageEvent') | 15438 @DomName('MIDIMessageEvent') |
| 15236 // http://webaudio.github.io/web-midi-api/#midimessageevent-interface | 15439 // http://webaudio.github.io/web-midi-api/#midimessageevent-interface |
| 15237 @Experimental | 15440 @Experimental |
| 15238 class MidiMessageEvent extends Event native "MIDIMessageEvent" { | 15441 class MidiMessageEvent extends Event native "MIDIMessageEvent" { |
| 15442 // To suppress missing implicit constructor warnings. |
| 15443 factory MidiMessageEvent._() { throw new UnsupportedError("Not supported"); } |
| 15239 | 15444 |
| 15240 @DomName('MIDIMessageEvent.data') | 15445 @DomName('MIDIMessageEvent.data') |
| 15241 @DocsEditable | 15446 @DocsEditable |
| 15242 final Uint8List data; | 15447 final Uint8List data; |
| 15243 | 15448 |
| 15244 @DomName('MIDIMessageEvent.receivedTime') | 15449 @DomName('MIDIMessageEvent.receivedTime') |
| 15245 @DocsEditable | 15450 @DocsEditable |
| 15246 final num receivedTime; | 15451 final num receivedTime; |
| 15247 } | 15452 } |
| 15248 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 15453 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 15249 // for details. All rights reserved. Use of this source code is governed by a | 15454 // for details. All rights reserved. Use of this source code is governed by a |
| 15250 // BSD-style license that can be found in the LICENSE file. | 15455 // BSD-style license that can be found in the LICENSE file. |
| 15251 | 15456 |
| 15252 | 15457 |
| 15253 @DocsEditable | 15458 @DocsEditable |
| 15254 @DomName('MIDIOutput') | 15459 @DomName('MIDIOutput') |
| 15255 // http://webaudio.github.io/web-midi-api/#midioutput-interface | 15460 // http://webaudio.github.io/web-midi-api/#midioutput-interface |
| 15256 @Experimental | 15461 @Experimental |
| 15257 class MidiOutput extends MidiPort native "MIDIOutput" { | 15462 class MidiOutput extends MidiPort native "MIDIOutput" { |
| 15463 // To suppress missing implicit constructor warnings. |
| 15464 factory MidiOutput._() { throw new UnsupportedError("Not supported"); } |
| 15258 | 15465 |
| 15259 @DomName('MIDIOutput.send') | 15466 @DomName('MIDIOutput.send') |
| 15260 @DocsEditable | 15467 @DocsEditable |
| 15261 void send(Uint8List data, [num timestamp]) native; | 15468 void send(Uint8List data, [num timestamp]) native; |
| 15262 } | 15469 } |
| 15263 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 15470 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 15264 // for details. All rights reserved. Use of this source code is governed by a | 15471 // for details. All rights reserved. Use of this source code is governed by a |
| 15265 // BSD-style license that can be found in the LICENSE file. | 15472 // BSD-style license that can be found in the LICENSE file. |
| 15266 | 15473 |
| 15267 | 15474 |
| 15268 @DocsEditable | 15475 @DocsEditable |
| 15269 @DomName('MIDIPort') | 15476 @DomName('MIDIPort') |
| 15270 // http://webaudio.github.io/web-midi-api/#idl-def-MIDIPort | 15477 // http://webaudio.github.io/web-midi-api/#idl-def-MIDIPort |
| 15271 @Experimental | 15478 @Experimental |
| 15272 class MidiPort extends EventTarget native "MIDIPort" { | 15479 class MidiPort extends EventTarget native "MIDIPort" { |
| 15480 // To suppress missing implicit constructor warnings. |
| 15481 factory MidiPort._() { throw new UnsupportedError("Not supported"); } |
| 15273 | 15482 |
| 15274 @DomName('MIDIPort.disconnectEvent') | 15483 @DomName('MIDIPort.disconnectEvent') |
| 15275 @DocsEditable | 15484 @DocsEditable |
| 15276 static const EventStreamProvider<MidiConnectionEvent> disconnectEvent = const
EventStreamProvider<MidiConnectionEvent>('disconnect'); | 15485 static const EventStreamProvider<MidiConnectionEvent> disconnectEvent = const
EventStreamProvider<MidiConnectionEvent>('disconnect'); |
| 15277 | 15486 |
| 15278 @DomName('MIDIPort.id') | 15487 @DomName('MIDIPort.id') |
| 15279 @DocsEditable | 15488 @DocsEditable |
| 15280 final String id; | 15489 final String id; |
| 15281 | 15490 |
| 15282 @DomName('MIDIPort.manufacturer') | 15491 @DomName('MIDIPort.manufacturer') |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 15314 Stream<MidiConnectionEvent> get onDisconnect => disconnectEvent.forTarget(this
); | 15523 Stream<MidiConnectionEvent> get onDisconnect => disconnectEvent.forTarget(this
); |
| 15315 } | 15524 } |
| 15316 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 15525 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 15317 // for details. All rights reserved. Use of this source code is governed by a | 15526 // for details. All rights reserved. Use of this source code is governed by a |
| 15318 // BSD-style license that can be found in the LICENSE file. | 15527 // BSD-style license that can be found in the LICENSE file. |
| 15319 | 15528 |
| 15320 | 15529 |
| 15321 @DocsEditable | 15530 @DocsEditable |
| 15322 @DomName('MimeType') | 15531 @DomName('MimeType') |
| 15323 @Experimental // non-standard | 15532 @Experimental // non-standard |
| 15324 class MimeType native "MimeType" { | 15533 class MimeType extends Interceptor native "MimeType" { |
| 15325 | 15534 |
| 15326 @DomName('MimeType.description') | 15535 @DomName('MimeType.description') |
| 15327 @DocsEditable | 15536 @DocsEditable |
| 15328 final String description; | 15537 final String description; |
| 15329 | 15538 |
| 15330 @DomName('MimeType.enabledPlugin') | 15539 @DomName('MimeType.enabledPlugin') |
| 15331 @DocsEditable | 15540 @DocsEditable |
| 15332 final Plugin enabledPlugin; | 15541 final Plugin enabledPlugin; |
| 15333 | 15542 |
| 15334 @DomName('MimeType.suffixes') | 15543 @DomName('MimeType.suffixes') |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 15411 } | 15620 } |
| 15412 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 15621 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 15413 // for details. All rights reserved. Use of this source code is governed by a | 15622 // for details. All rights reserved. Use of this source code is governed by a |
| 15414 // BSD-style license that can be found in the LICENSE file. | 15623 // BSD-style license that can be found in the LICENSE file. |
| 15415 | 15624 |
| 15416 | 15625 |
| 15417 @DocsEditable | 15626 @DocsEditable |
| 15418 @DomName('HTMLModElement') | 15627 @DomName('HTMLModElement') |
| 15419 @Unstable | 15628 @Unstable |
| 15420 class ModElement extends _HTMLElement native "HTMLModElement" { | 15629 class ModElement extends _HTMLElement native "HTMLModElement" { |
| 15630 // To suppress missing implicit constructor warnings. |
| 15631 factory ModElement._() { throw new UnsupportedError("Not supported"); } |
| 15421 | 15632 |
| 15422 @DomName('HTMLModElement.cite') | 15633 @DomName('HTMLModElement.cite') |
| 15423 @DocsEditable | 15634 @DocsEditable |
| 15424 String cite; | 15635 String cite; |
| 15425 | 15636 |
| 15426 @DomName('HTMLModElement.dateTime') | 15637 @DomName('HTMLModElement.dateTime') |
| 15427 @DocsEditable | 15638 @DocsEditable |
| 15428 String dateTime; | 15639 String dateTime; |
| 15429 } | 15640 } |
| 15430 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 15641 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| (...skipping 11 matching lines...) Expand all Loading... |
| 15442 | 15653 |
| 15443 if (view == null) { | 15654 if (view == null) { |
| 15444 view = window; | 15655 view = window; |
| 15445 } | 15656 } |
| 15446 var event = document.$dom_createEvent('MouseEvent'); | 15657 var event = document.$dom_createEvent('MouseEvent'); |
| 15447 event.$dom_initMouseEvent(type, canBubble, cancelable, view, detail, | 15658 event.$dom_initMouseEvent(type, canBubble, cancelable, view, detail, |
| 15448 screenX, screenY, clientX, clientY, ctrlKey, altKey, shiftKey, metaKey, | 15659 screenX, screenY, clientX, clientY, ctrlKey, altKey, shiftKey, metaKey, |
| 15449 button, relatedTarget); | 15660 button, relatedTarget); |
| 15450 return event; | 15661 return event; |
| 15451 } | 15662 } |
| 15663 // To suppress missing implicit constructor warnings. |
| 15664 factory MouseEvent._() { throw new UnsupportedError("Not supported"); } |
| 15452 | 15665 |
| 15453 @DomName('MouseEvent.altKey') | 15666 @DomName('MouseEvent.altKey') |
| 15454 @DocsEditable | 15667 @DocsEditable |
| 15455 final bool altKey; | 15668 final bool altKey; |
| 15456 | 15669 |
| 15457 @DomName('MouseEvent.button') | 15670 @DomName('MouseEvent.button') |
| 15458 @DocsEditable | 15671 @DocsEditable |
| 15459 final int button; | 15672 final int button; |
| 15460 | 15673 |
| 15461 @JSName('clientX') | 15674 @JSName('clientX') |
| (...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 15617 class MutationEvent extends Event native "MutationEvent" { | 15830 class MutationEvent extends Event native "MutationEvent" { |
| 15618 factory MutationEvent(String type, | 15831 factory MutationEvent(String type, |
| 15619 {bool canBubble: false, bool cancelable: false, Node relatedNode, | 15832 {bool canBubble: false, bool cancelable: false, Node relatedNode, |
| 15620 String prevValue, String newValue, String attrName, int attrChange: 0}) { | 15833 String prevValue, String newValue, String attrName, int attrChange: 0}) { |
| 15621 | 15834 |
| 15622 var event = document.$dom_createEvent('MutationEvent'); | 15835 var event = document.$dom_createEvent('MutationEvent'); |
| 15623 event.$dom_initMutationEvent(type, canBubble, cancelable, relatedNode, | 15836 event.$dom_initMutationEvent(type, canBubble, cancelable, relatedNode, |
| 15624 prevValue, newValue, attrName, attrChange); | 15837 prevValue, newValue, attrName, attrChange); |
| 15625 return event; | 15838 return event; |
| 15626 } | 15839 } |
| 15840 // To suppress missing implicit constructor warnings. |
| 15841 factory MutationEvent._() { throw new UnsupportedError("Not supported"); } |
| 15627 | 15842 |
| 15628 @DomName('MutationEvent.ADDITION') | 15843 @DomName('MutationEvent.ADDITION') |
| 15629 @DocsEditable | 15844 @DocsEditable |
| 15630 static const int ADDITION = 2; | 15845 static const int ADDITION = 2; |
| 15631 | 15846 |
| 15632 @DomName('MutationEvent.MODIFICATION') | 15847 @DomName('MutationEvent.MODIFICATION') |
| 15633 @DocsEditable | 15848 @DocsEditable |
| 15634 static const int MODIFICATION = 1; | 15849 static const int MODIFICATION = 1; |
| 15635 | 15850 |
| 15636 @DomName('MutationEvent.REMOVAL') | 15851 @DomName('MutationEvent.REMOVAL') |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 15669 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 15884 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 15670 // for details. All rights reserved. Use of this source code is governed by a | 15885 // for details. All rights reserved. Use of this source code is governed by a |
| 15671 // BSD-style license that can be found in the LICENSE file. | 15886 // BSD-style license that can be found in the LICENSE file. |
| 15672 | 15887 |
| 15673 | 15888 |
| 15674 @DomName('MutationObserver') | 15889 @DomName('MutationObserver') |
| 15675 @SupportedBrowser(SupportedBrowser.CHROME) | 15890 @SupportedBrowser(SupportedBrowser.CHROME) |
| 15676 @SupportedBrowser(SupportedBrowser.FIREFOX) | 15891 @SupportedBrowser(SupportedBrowser.FIREFOX) |
| 15677 @SupportedBrowser(SupportedBrowser.SAFARI) | 15892 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 15678 @Experimental | 15893 @Experimental |
| 15679 class MutationObserver native "MutationObserver,WebKitMutationObserver" { | 15894 class MutationObserver extends Interceptor native "MutationObserver,WebKitMutati
onObserver" { |
| 15680 | 15895 |
| 15681 @DomName('MutationObserver.disconnect') | 15896 @DomName('MutationObserver.disconnect') |
| 15682 @DocsEditable | 15897 @DocsEditable |
| 15683 void disconnect() native; | 15898 void disconnect() native; |
| 15684 | 15899 |
| 15685 @DomName('MutationObserver.observe') | 15900 @DomName('MutationObserver.observe') |
| 15686 @DocsEditable | 15901 @DocsEditable |
| 15687 void _observe(Node target, Map options) { | 15902 void _observe(Node target, Map options) { |
| 15688 var options_1 = convertDartToNative_Dictionary(options); | 15903 var options_1 = convertDartToNative_Dictionary(options); |
| 15689 __observe_1(target, options_1); | 15904 __observe_1(target, options_1); |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 15765 convertDartClosureToJS(callback, 2)); | 15980 convertDartClosureToJS(callback, 2)); |
| 15766 } | 15981 } |
| 15767 } | 15982 } |
| 15768 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 15983 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 15769 // for details. All rights reserved. Use of this source code is governed by a | 15984 // for details. All rights reserved. Use of this source code is governed by a |
| 15770 // BSD-style license that can be found in the LICENSE file. | 15985 // BSD-style license that can be found in the LICENSE file. |
| 15771 | 15986 |
| 15772 | 15987 |
| 15773 @DocsEditable | 15988 @DocsEditable |
| 15774 @DomName('MutationRecord') | 15989 @DomName('MutationRecord') |
| 15775 class MutationRecord native "MutationRecord" { | 15990 class MutationRecord extends Interceptor native "MutationRecord" { |
| 15776 | 15991 |
| 15777 @DomName('MutationRecord.addedNodes') | 15992 @DomName('MutationRecord.addedNodes') |
| 15778 @DocsEditable | 15993 @DocsEditable |
| 15779 @Returns('NodeList') | 15994 @Returns('NodeList') |
| 15780 @Creates('NodeList') | 15995 @Creates('NodeList') |
| 15781 final List<Node> addedNodes; | 15996 final List<Node> addedNodes; |
| 15782 | 15997 |
| 15783 @DomName('MutationRecord.attributeName') | 15998 @DomName('MutationRecord.attributeName') |
| 15784 @DocsEditable | 15999 @DocsEditable |
| 15785 final String attributeName; | 16000 final String attributeName; |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 15819 // BSD-style license that can be found in the LICENSE file. | 16034 // BSD-style license that can be found in the LICENSE file. |
| 15820 | 16035 |
| 15821 | 16036 |
| 15822 @DocsEditable | 16037 @DocsEditable |
| 15823 @DomName('WebKitNamedFlow') | 16038 @DomName('WebKitNamedFlow') |
| 15824 @SupportedBrowser(SupportedBrowser.CHROME) | 16039 @SupportedBrowser(SupportedBrowser.CHROME) |
| 15825 @SupportedBrowser(SupportedBrowser.SAFARI) | 16040 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 15826 @Experimental | 16041 @Experimental |
| 15827 // http://www.w3.org/TR/css3-regions/#dom-named-flow-collection | 16042 // http://www.w3.org/TR/css3-regions/#dom-named-flow-collection |
| 15828 class NamedFlow extends EventTarget native "WebKitNamedFlow" { | 16043 class NamedFlow extends EventTarget native "WebKitNamedFlow" { |
| 16044 // To suppress missing implicit constructor warnings. |
| 16045 factory NamedFlow._() { throw new UnsupportedError("Not supported"); } |
| 15829 | 16046 |
| 15830 @DomName('WebKitNamedFlow.firstEmptyRegionIndex') | 16047 @DomName('WebKitNamedFlow.firstEmptyRegionIndex') |
| 15831 @DocsEditable | 16048 @DocsEditable |
| 15832 final int firstEmptyRegionIndex; | 16049 final int firstEmptyRegionIndex; |
| 15833 | 16050 |
| 15834 @DomName('WebKitNamedFlow.name') | 16051 @DomName('WebKitNamedFlow.name') |
| 15835 @DocsEditable | 16052 @DocsEditable |
| 15836 final String name; | 16053 final String name; |
| 15837 | 16054 |
| 15838 @DomName('WebKitNamedFlow.overset') | 16055 @DomName('WebKitNamedFlow.overset') |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 15875 // for details. All rights reserved. Use of this source code is governed by a | 16092 // for details. All rights reserved. Use of this source code is governed by a |
| 15876 // BSD-style license that can be found in the LICENSE file. | 16093 // BSD-style license that can be found in the LICENSE file. |
| 15877 | 16094 |
| 15878 | 16095 |
| 15879 @DocsEditable | 16096 @DocsEditable |
| 15880 @DomName('WebKitNamedFlowCollection') | 16097 @DomName('WebKitNamedFlowCollection') |
| 15881 @SupportedBrowser(SupportedBrowser.CHROME) | 16098 @SupportedBrowser(SupportedBrowser.CHROME) |
| 15882 @SupportedBrowser(SupportedBrowser.SAFARI) | 16099 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 15883 @Experimental | 16100 @Experimental |
| 15884 // http://dev.w3.org/csswg/css-regions/#dom-named-flow-collection | 16101 // http://dev.w3.org/csswg/css-regions/#dom-named-flow-collection |
| 15885 class NamedFlowCollection native "WebKitNamedFlowCollection" { | 16102 class NamedFlowCollection extends Interceptor native "WebKitNamedFlowCollection"
{ |
| 15886 | 16103 |
| 15887 @DomName('WebKitNamedFlowCollection.length') | 16104 @DomName('WebKitNamedFlowCollection.length') |
| 15888 @DocsEditable | 16105 @DocsEditable |
| 15889 final int length; | 16106 final int length; |
| 15890 | 16107 |
| 15891 @DomName('WebKitNamedFlowCollection.__getter__') | 16108 @DomName('WebKitNamedFlowCollection.__getter__') |
| 15892 @DocsEditable | 16109 @DocsEditable |
| 15893 NamedFlow __getter__(String name) native; | 16110 NamedFlow __getter__(String name) native; |
| 15894 | 16111 |
| 15895 @DomName('WebKitNamedFlowCollection.item') | 16112 @DomName('WebKitNamedFlowCollection.item') |
| 15896 @DocsEditable | 16113 @DocsEditable |
| 15897 NamedFlow item(int index) native; | 16114 NamedFlow item(int index) native; |
| 15898 | 16115 |
| 15899 @DomName('WebKitNamedFlowCollection.namedItem') | 16116 @DomName('WebKitNamedFlowCollection.namedItem') |
| 15900 @DocsEditable | 16117 @DocsEditable |
| 15901 NamedFlow namedItem(String name) native; | 16118 NamedFlow namedItem(String name) native; |
| 15902 } | 16119 } |
| 15903 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16120 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 15904 // for details. All rights reserved. Use of this source code is governed by a | 16121 // for details. All rights reserved. Use of this source code is governed by a |
| 15905 // BSD-style license that can be found in the LICENSE file. | 16122 // BSD-style license that can be found in the LICENSE file. |
| 15906 | 16123 |
| 15907 | 16124 |
| 15908 @DomName('Navigator') | 16125 @DomName('Navigator') |
| 15909 class Navigator native "Navigator" { | 16126 class Navigator extends Interceptor native "Navigator" { |
| 15910 | 16127 |
| 15911 @DomName('Navigator.language') | 16128 @DomName('Navigator.language') |
| 15912 String get language => JS('String', '#.language || #.userLanguage', this, | 16129 String get language => JS('String', '#.language || #.userLanguage', this, |
| 15913 this); | 16130 this); |
| 15914 | 16131 |
| 15915 /** | 16132 /** |
| 15916 * Gets a stream (video and or audio) from the local computer. | 16133 * Gets a stream (video and or audio) from the local computer. |
| 15917 * | 16134 * |
| 15918 * Use [MediaStream.supported] to check if this is supported by the current | 16135 * Use [MediaStream.supported] to check if this is supported by the current |
| 15919 * platform. The arguments `audio` and `video` default to `false` (stream does | 16136 * platform. The arguments `audio` and `video` default to `false` (stream does |
| 15920 * not use audio or video, respectively). | 16137 * not use audio or video, respectively). |
| 15921 * | 16138 * |
| 15922 * Simple example usage: | 16139 * Simple example usage: |
| 15923 * | 16140 * |
| 15924 * window.navigator.getUserMedia(audio: true, video: true).then((stream) { | 16141 * window.navigator.getUserMedia(audio: true, video: true).then((stream) { |
| 15925 * var video = new VideoElement() | 16142 * var video = new VideoElement() |
| 15926 * ..autoplay = true | 16143 * ..autoplay = true |
| 15927 * ..src = Url.createObjectUrl(stream); | 16144 * ..src = Url.createObjectUrl(stream); |
| 15928 * document.body.append(video); | 16145 * document.body.append(video); |
| 15929 * }); | 16146 * }); |
| 15930 * | 16147 * |
| 15931 * The user can also pass in Maps to the audio or video parameters to specify | 16148 * The user can also pass in Maps to the audio or video parameters to specify |
| 15932 * mandatory and optional constraints for the media stream. Not passing in a | 16149 * mandatory and optional constraints for the media stream. Not passing in a |
| 15933 * map, but passing in `true` will provide a MediaStream with audio or | 16150 * map, but passing in `true` will provide a MediaStream with audio or |
| 15934 * video capabilities, but without any additional constraints. The particular | 16151 * video capabilities, but without any additional constraints. The particular |
| 15935 * constraint names for audio and video are still in flux, but as of this | 16152 * constraint names for audio and video are still in flux, but as of this |
| 15936 * writing, here is an example providing more constraints. | 16153 * writing, here is an example providing more constraints. |
| 15937 * | 16154 * |
| 15938 * window.navigator.getUserMedia( | 16155 * window.navigator.getUserMedia( |
| 15939 * audio: true, | 16156 * audio: true, |
| 15940 * video: {'mandatory': | 16157 * video: {'mandatory': |
| 15941 * { 'minAspectRatio': 1.333, 'maxAspectRatio': 1.334 }, | 16158 * { 'minAspectRatio': 1.333, 'maxAspectRatio': 1.334 }, |
| 15942 * 'optional': | 16159 * 'optional': |
| 15943 * [{ 'minFrameRate': 60 }, | 16160 * [{ 'minFrameRate': 60 }, |
| 15944 * { 'maxWidth': 640 }] | 16161 * { 'maxWidth': 640 }] |
| 15945 * }); | 16162 * }); |
| 15946 * | 16163 * |
| 15947 * See also: | 16164 * See also: |
| 15948 * * [MediaStream.supported] | 16165 * * [MediaStream.supported] |
| 15949 */ | 16166 */ |
| 15950 @DomName('Navigator.webkitGetUserMedia') | 16167 @DomName('Navigator.webkitGetUserMedia') |
| 15951 @SupportedBrowser(SupportedBrowser.CHROME) | 16168 @SupportedBrowser(SupportedBrowser.CHROME) |
| 15952 @Experimental | 16169 @Experimental |
| (...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 16100 } | 16317 } |
| 16101 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16318 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16102 // for details. All rights reserved. Use of this source code is governed by a | 16319 // for details. All rights reserved. Use of this source code is governed by a |
| 16103 // BSD-style license that can be found in the LICENSE file. | 16320 // BSD-style license that can be found in the LICENSE file. |
| 16104 | 16321 |
| 16105 | 16322 |
| 16106 @DocsEditable | 16323 @DocsEditable |
| 16107 @DomName('NavigatorUserMediaError') | 16324 @DomName('NavigatorUserMediaError') |
| 16108 // http://dev.w3.org/2011/webrtc/editor/getusermedia.html#idl-def-NavigatorUserM
ediaError | 16325 // http://dev.w3.org/2011/webrtc/editor/getusermedia.html#idl-def-NavigatorUserM
ediaError |
| 16109 @Experimental | 16326 @Experimental |
| 16110 class NavigatorUserMediaError native "NavigatorUserMediaError" { | 16327 class NavigatorUserMediaError extends Interceptor native "NavigatorUserMediaErro
r" { |
| 16111 | 16328 |
| 16112 @DomName('NavigatorUserMediaError.constraintName') | 16329 @DomName('NavigatorUserMediaError.constraintName') |
| 16113 @DocsEditable | 16330 @DocsEditable |
| 16114 final String constraintName; | 16331 final String constraintName; |
| 16115 | 16332 |
| 16116 @DomName('NavigatorUserMediaError.message') | 16333 @DomName('NavigatorUserMediaError.message') |
| 16117 @DocsEditable | 16334 @DocsEditable |
| 16118 final String message; | 16335 final String message; |
| 16119 | 16336 |
| 16120 @DomName('NavigatorUserMediaError.name') | 16337 @DomName('NavigatorUserMediaError.name') |
| (...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 16416 @Experimental | 16633 @Experimental |
| 16417 void unbindAll() { | 16634 void unbindAll() { |
| 16418 TemplateElement.mdvPackage(this).unbindAll(); | 16635 TemplateElement.mdvPackage(this).unbindAll(); |
| 16419 } | 16636 } |
| 16420 | 16637 |
| 16421 /** Gets the template instance that instantiated this node, if any. */ | 16638 /** Gets the template instance that instantiated this node, if any. */ |
| 16422 @Experimental | 16639 @Experimental |
| 16423 TemplateInstance get templateInstance => | 16640 TemplateInstance get templateInstance => |
| 16424 TemplateElement.mdvPackage(this).templateInstance; | 16641 TemplateElement.mdvPackage(this).templateInstance; |
| 16425 | 16642 |
| 16643 // To suppress missing implicit constructor warnings. |
| 16644 factory Node._() { throw new UnsupportedError("Not supported"); } |
| 16426 | 16645 |
| 16427 @DomName('Node.ATTRIBUTE_NODE') | 16646 @DomName('Node.ATTRIBUTE_NODE') |
| 16428 @DocsEditable | 16647 @DocsEditable |
| 16429 static const int ATTRIBUTE_NODE = 2; | 16648 static const int ATTRIBUTE_NODE = 2; |
| 16430 | 16649 |
| 16431 @DomName('Node.CDATA_SECTION_NODE') | 16650 @DomName('Node.CDATA_SECTION_NODE') |
| 16432 @DocsEditable | 16651 @DocsEditable |
| 16433 static const int CDATA_SECTION_NODE = 4; | 16652 static const int CDATA_SECTION_NODE = 4; |
| 16434 | 16653 |
| 16435 @DomName('Node.COMMENT_NODE') | 16654 @DomName('Node.COMMENT_NODE') |
| (...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 16595 | 16814 |
| 16596 } | 16815 } |
| 16597 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16816 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16598 // for details. All rights reserved. Use of this source code is governed by a | 16817 // for details. All rights reserved. Use of this source code is governed by a |
| 16599 // BSD-style license that can be found in the LICENSE file. | 16818 // BSD-style license that can be found in the LICENSE file. |
| 16600 | 16819 |
| 16601 | 16820 |
| 16602 @DocsEditable | 16821 @DocsEditable |
| 16603 @DomName('NodeFilter') | 16822 @DomName('NodeFilter') |
| 16604 @Unstable | 16823 @Unstable |
| 16605 class NodeFilter native "NodeFilter" { | 16824 class NodeFilter extends Interceptor native "NodeFilter" { |
| 16606 | 16825 |
| 16607 @DomName('NodeFilter.FILTER_ACCEPT') | 16826 @DomName('NodeFilter.FILTER_ACCEPT') |
| 16608 @DocsEditable | 16827 @DocsEditable |
| 16609 static const int FILTER_ACCEPT = 1; | 16828 static const int FILTER_ACCEPT = 1; |
| 16610 | 16829 |
| 16611 @DomName('NodeFilter.FILTER_REJECT') | 16830 @DomName('NodeFilter.FILTER_REJECT') |
| 16612 @DocsEditable | 16831 @DocsEditable |
| 16613 static const int FILTER_REJECT = 2; | 16832 static const int FILTER_REJECT = 2; |
| 16614 | 16833 |
| 16615 @DomName('NodeFilter.FILTER_SKIP') | 16834 @DomName('NodeFilter.FILTER_SKIP') |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 16673 @DocsEditable | 16892 @DocsEditable |
| 16674 static const int SHOW_TEXT = 0x00000004; | 16893 static const int SHOW_TEXT = 0x00000004; |
| 16675 } | 16894 } |
| 16676 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 16895 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 16677 // for details. All rights reserved. Use of this source code is governed by a | 16896 // for details. All rights reserved. Use of this source code is governed by a |
| 16678 // BSD-style license that can be found in the LICENSE file. | 16897 // BSD-style license that can be found in the LICENSE file. |
| 16679 | 16898 |
| 16680 | 16899 |
| 16681 @DomName('NodeIterator') | 16900 @DomName('NodeIterator') |
| 16682 @Unstable | 16901 @Unstable |
| 16683 class NodeIterator native "NodeIterator" { | 16902 class NodeIterator extends Interceptor native "NodeIterator" { |
| 16684 factory NodeIterator(Node root, int whatToShow) { | 16903 factory NodeIterator(Node root, int whatToShow) { |
| 16685 return document.$dom_createNodeIterator(root, whatToShow, null, false); | 16904 return document.$dom_createNodeIterator(root, whatToShow, null, false); |
| 16686 } | 16905 } |
| 16687 | 16906 |
| 16688 @DomName('NodeIterator.pointerBeforeReferenceNode') | 16907 @DomName('NodeIterator.pointerBeforeReferenceNode') |
| 16689 @DocsEditable | 16908 @DocsEditable |
| 16690 final bool pointerBeforeReferenceNode; | 16909 final bool pointerBeforeReferenceNode; |
| 16691 | 16910 |
| 16692 @DomName('NodeIterator.referenceNode') | 16911 @DomName('NodeIterator.referenceNode') |
| 16693 @DocsEditable | 16912 @DocsEditable |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 16779 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16998 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16780 // for details. All rights reserved. Use of this source code is governed by a | 16999 // for details. All rights reserved. Use of this source code is governed by a |
| 16781 // BSD-style license that can be found in the LICENSE file. | 17000 // BSD-style license that can be found in the LICENSE file. |
| 16782 | 17001 |
| 16783 | 17002 |
| 16784 @DocsEditable | 17003 @DocsEditable |
| 16785 @DomName('Notation') | 17004 @DomName('Notation') |
| 16786 // http://dom.spec.whatwg.org/#notation | 17005 // http://dom.spec.whatwg.org/#notation |
| 16787 @deprecated // deprecated | 17006 @deprecated // deprecated |
| 16788 class Notation extends Node native "Notation" { | 17007 class Notation extends Node native "Notation" { |
| 17008 // To suppress missing implicit constructor warnings. |
| 17009 factory Notation._() { throw new UnsupportedError("Not supported"); } |
| 16789 | 17010 |
| 16790 @DomName('Notation.publicId') | 17011 @DomName('Notation.publicId') |
| 16791 @DocsEditable | 17012 @DocsEditable |
| 16792 final String publicId; | 17013 final String publicId; |
| 16793 | 17014 |
| 16794 @DomName('Notation.systemId') | 17015 @DomName('Notation.systemId') |
| 16795 @DocsEditable | 17016 @DocsEditable |
| 16796 final String systemId; | 17017 final String systemId; |
| 16797 } | 17018 } |
| 16798 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 17019 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 16799 // for details. All rights reserved. Use of this source code is governed by a | 17020 // for details. All rights reserved. Use of this source code is governed by a |
| 16800 // BSD-style license that can be found in the LICENSE file. | 17021 // BSD-style license that can be found in the LICENSE file. |
| 16801 | 17022 |
| 16802 | 17023 |
| 16803 @DomName('Notification') | 17024 @DomName('Notification') |
| 16804 // http://www.w3.org/TR/notifications/#notification | 17025 // http://www.w3.org/TR/notifications/#notification |
| 16805 @Experimental // experimental | 17026 @Experimental // experimental |
| 16806 class Notification extends EventTarget native "Notification" { | 17027 class Notification extends EventTarget native "Notification" { |
| 16807 | 17028 |
| 16808 factory Notification(String title, {String titleDir: null, String body: null, | 17029 factory Notification(String title, {String titleDir: null, String body: null, |
| 16809 String bodyDir: null, String tag: null, String iconUrl: null}) { | 17030 String bodyDir: null, String tag: null, String iconUrl: null}) { |
| 16810 | 17031 |
| 16811 var parsedOptions = {}; | 17032 var parsedOptions = {}; |
| 16812 if (titleDir != null) parsedOptions['titleDir'] = titleDir; | 17033 if (titleDir != null) parsedOptions['titleDir'] = titleDir; |
| 16813 if (body != null) parsedOptions['body'] = body; | 17034 if (body != null) parsedOptions['body'] = body; |
| 16814 if (bodyDir != null) parsedOptions['bodyDir'] = bodyDir; | 17035 if (bodyDir != null) parsedOptions['bodyDir'] = bodyDir; |
| 16815 if (tag != null) parsedOptions['tag'] = tag; | 17036 if (tag != null) parsedOptions['tag'] = tag; |
| 16816 if (iconUrl != null) parsedOptions['iconUrl'] = iconUrl; | 17037 if (iconUrl != null) parsedOptions['iconUrl'] = iconUrl; |
| 16817 | 17038 |
| 16818 return Notification._factoryNotification(title, parsedOptions); | 17039 return Notification._factoryNotification(title, parsedOptions); |
| 16819 } | 17040 } |
| 17041 // To suppress missing implicit constructor warnings. |
| 17042 factory Notification._() { throw new UnsupportedError("Not supported"); } |
| 16820 | 17043 |
| 16821 @DomName('Notification.clickEvent') | 17044 @DomName('Notification.clickEvent') |
| 16822 @DocsEditable | 17045 @DocsEditable |
| 16823 static const EventStreamProvider<Event> clickEvent = const EventStreamProvider
<Event>('click'); | 17046 static const EventStreamProvider<Event> clickEvent = const EventStreamProvider
<Event>('click'); |
| 16824 | 17047 |
| 16825 @DomName('Notification.closeEvent') | 17048 @DomName('Notification.closeEvent') |
| 16826 @DocsEditable | 17049 @DocsEditable |
| 16827 static const EventStreamProvider<Event> closeEvent = const EventStreamProvider
<Event>('close'); | 17050 static const EventStreamProvider<Event> closeEvent = const EventStreamProvider
<Event>('close'); |
| 16828 | 17051 |
| 16829 @DomName('Notification.displayEvent') | 17052 @DomName('Notification.displayEvent') |
| (...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 16939 // BSD-style license that can be found in the LICENSE file. | 17162 // BSD-style license that can be found in the LICENSE file. |
| 16940 | 17163 |
| 16941 | 17164 |
| 16942 @DocsEditable | 17165 @DocsEditable |
| 16943 @DomName('NotificationCenter') | 17166 @DomName('NotificationCenter') |
| 16944 @SupportedBrowser(SupportedBrowser.CHROME) | 17167 @SupportedBrowser(SupportedBrowser.CHROME) |
| 16945 @SupportedBrowser(SupportedBrowser.SAFARI) | 17168 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 16946 @Experimental | 17169 @Experimental |
| 16947 // http://www.w3.org/TR/notifications/#showing-a-notification | 17170 // http://www.w3.org/TR/notifications/#showing-a-notification |
| 16948 @deprecated // deprecated | 17171 @deprecated // deprecated |
| 16949 class NotificationCenter native "NotificationCenter" { | 17172 class NotificationCenter extends Interceptor native "NotificationCenter" { |
| 16950 | 17173 |
| 16951 /// Checks if this type is supported on the current platform. | 17174 /// Checks if this type is supported on the current platform. |
| 16952 static bool get supported => JS('bool', '!!(window.webkitNotifications)'); | 17175 static bool get supported => JS('bool', '!!(window.webkitNotifications)'); |
| 16953 | 17176 |
| 16954 @DomName('NotificationCenter.checkPermission') | 17177 @DomName('NotificationCenter.checkPermission') |
| 16955 @DocsEditable | 17178 @DocsEditable |
| 16956 int checkPermission() native; | 17179 int checkPermission() native; |
| 16957 | 17180 |
| 16958 @JSName('createHTMLNotification') | 17181 @JSName('createHTMLNotification') |
| 16959 @DomName('NotificationCenter.createHTMLNotification') | 17182 @DomName('NotificationCenter.createHTMLNotification') |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 16991 @Experimental | 17214 @Experimental |
| 16992 typedef void _NotificationPermissionCallback(String permission); | 17215 typedef void _NotificationPermissionCallback(String permission); |
| 16993 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17216 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16994 // for details. All rights reserved. Use of this source code is governed by a | 17217 // for details. All rights reserved. Use of this source code is governed by a |
| 16995 // BSD-style license that can be found in the LICENSE file. | 17218 // BSD-style license that can be found in the LICENSE file. |
| 16996 | 17219 |
| 16997 | 17220 |
| 16998 @DocsEditable | 17221 @DocsEditable |
| 16999 @DomName('HTMLOListElement') | 17222 @DomName('HTMLOListElement') |
| 17000 class OListElement extends _HTMLElement native "HTMLOListElement" { | 17223 class OListElement extends _HTMLElement native "HTMLOListElement" { |
| 17224 // To suppress missing implicit constructor warnings. |
| 17225 factory OListElement._() { throw new UnsupportedError("Not supported"); } |
| 17001 | 17226 |
| 17002 @DomName('HTMLOListElement.HTMLOListElement') | 17227 @DomName('HTMLOListElement.HTMLOListElement') |
| 17003 @DocsEditable | 17228 @DocsEditable |
| 17004 factory OListElement() => document.$dom_createElement("ol"); | 17229 factory OListElement() => document.$dom_createElement("ol"); |
| 17005 | 17230 |
| 17006 @DomName('HTMLOListElement.reversed') | 17231 @DomName('HTMLOListElement.reversed') |
| 17007 @DocsEditable | 17232 @DocsEditable |
| 17008 bool reversed; | 17233 bool reversed; |
| 17009 | 17234 |
| 17010 @DomName('HTMLOListElement.start') | 17235 @DomName('HTMLOListElement.start') |
| 17011 @DocsEditable | 17236 @DocsEditable |
| 17012 int start; | 17237 int start; |
| 17013 | 17238 |
| 17014 @DomName('HTMLOListElement.type') | 17239 @DomName('HTMLOListElement.type') |
| 17015 @DocsEditable | 17240 @DocsEditable |
| 17016 String type; | 17241 String type; |
| 17017 } | 17242 } |
| 17018 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17243 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17019 // for details. All rights reserved. Use of this source code is governed by a | 17244 // for details. All rights reserved. Use of this source code is governed by a |
| 17020 // BSD-style license that can be found in the LICENSE file. | 17245 // BSD-style license that can be found in the LICENSE file. |
| 17021 | 17246 |
| 17022 | 17247 |
| 17023 @DocsEditable | 17248 @DocsEditable |
| 17024 @DomName('HTMLObjectElement') | 17249 @DomName('HTMLObjectElement') |
| 17025 @SupportedBrowser(SupportedBrowser.CHROME) | 17250 @SupportedBrowser(SupportedBrowser.CHROME) |
| 17026 @SupportedBrowser(SupportedBrowser.IE) | 17251 @SupportedBrowser(SupportedBrowser.IE) |
| 17027 @SupportedBrowser(SupportedBrowser.SAFARI) | 17252 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 17028 @Unstable | 17253 @Unstable |
| 17029 class ObjectElement extends _HTMLElement native "HTMLObjectElement" { | 17254 class ObjectElement extends _HTMLElement native "HTMLObjectElement" { |
| 17255 // To suppress missing implicit constructor warnings. |
| 17256 factory ObjectElement._() { throw new UnsupportedError("Not supported"); } |
| 17030 | 17257 |
| 17031 @DomName('HTMLObjectElement.HTMLObjectElement') | 17258 @DomName('HTMLObjectElement.HTMLObjectElement') |
| 17032 @DocsEditable | 17259 @DocsEditable |
| 17033 factory ObjectElement() => document.$dom_createElement("object"); | 17260 factory ObjectElement() => document.$dom_createElement("object"); |
| 17034 | 17261 |
| 17035 /// Checks if this type is supported on the current platform. | 17262 /// Checks if this type is supported on the current platform. |
| 17036 static bool get supported => Element.isTagSupported('object'); | 17263 static bool get supported => Element.isTagSupported('object'); |
| 17037 | 17264 |
| 17038 @DomName('HTMLObjectElement.code') | 17265 @DomName('HTMLObjectElement.code') |
| 17039 @DocsEditable | 17266 @DocsEditable |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 17098 void setCustomValidity(String error) native; | 17325 void setCustomValidity(String error) native; |
| 17099 } | 17326 } |
| 17100 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17327 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17101 // for details. All rights reserved. Use of this source code is governed by a | 17328 // for details. All rights reserved. Use of this source code is governed by a |
| 17102 // BSD-style license that can be found in the LICENSE file. | 17329 // BSD-style license that can be found in the LICENSE file. |
| 17103 | 17330 |
| 17104 | 17331 |
| 17105 @DocsEditable | 17332 @DocsEditable |
| 17106 @DomName('HTMLOptGroupElement') | 17333 @DomName('HTMLOptGroupElement') |
| 17107 class OptGroupElement extends _HTMLElement native "HTMLOptGroupElement" { | 17334 class OptGroupElement extends _HTMLElement native "HTMLOptGroupElement" { |
| 17335 // To suppress missing implicit constructor warnings. |
| 17336 factory OptGroupElement._() { throw new UnsupportedError("Not supported"); } |
| 17108 | 17337 |
| 17109 @DomName('HTMLOptGroupElement.HTMLOptGroupElement') | 17338 @DomName('HTMLOptGroupElement.HTMLOptGroupElement') |
| 17110 @DocsEditable | 17339 @DocsEditable |
| 17111 factory OptGroupElement() => document.$dom_createElement("optgroup"); | 17340 factory OptGroupElement() => document.$dom_createElement("optgroup"); |
| 17112 | 17341 |
| 17113 @DomName('HTMLOptGroupElement.disabled') | 17342 @DomName('HTMLOptGroupElement.disabled') |
| 17114 @DocsEditable | 17343 @DocsEditable |
| 17115 bool disabled; | 17344 bool disabled; |
| 17116 | 17345 |
| 17117 @DomName('HTMLOptGroupElement.label') | 17346 @DomName('HTMLOptGroupElement.label') |
| 17118 @DocsEditable | 17347 @DocsEditable |
| 17119 String label; | 17348 String label; |
| 17120 } | 17349 } |
| 17121 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17350 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17122 // for details. All rights reserved. Use of this source code is governed by a | 17351 // for details. All rights reserved. Use of this source code is governed by a |
| 17123 // BSD-style license that can be found in the LICENSE file. | 17352 // BSD-style license that can be found in the LICENSE file. |
| 17124 | 17353 |
| 17125 | 17354 |
| 17126 @DocsEditable | 17355 @DocsEditable |
| 17127 @DomName('HTMLOptionElement') | 17356 @DomName('HTMLOptionElement') |
| 17128 class OptionElement extends _HTMLElement native "HTMLOptionElement" { | 17357 class OptionElement extends _HTMLElement native "HTMLOptionElement" { |
| 17358 // To suppress missing implicit constructor warnings. |
| 17359 factory OptionElement._() { throw new UnsupportedError("Not supported"); } |
| 17129 | 17360 |
| 17130 @DomName('HTMLOptionElement.HTMLOptionElement') | 17361 @DomName('HTMLOptionElement.HTMLOptionElement') |
| 17131 @DocsEditable | 17362 @DocsEditable |
| 17132 factory OptionElement([String data, String value, bool defaultSelected, bool s
elected]) { | 17363 factory OptionElement([String data, String value, bool defaultSelected, bool s
elected]) { |
| 17133 if (selected != null) { | 17364 if (selected != null) { |
| 17134 return OptionElement._create_1(data, value, defaultSelected, selected); | 17365 return OptionElement._create_1(data, value, defaultSelected, selected); |
| 17135 } | 17366 } |
| 17136 if (defaultSelected != null) { | 17367 if (defaultSelected != null) { |
| 17137 return OptionElement._create_2(data, value, defaultSelected); | 17368 return OptionElement._create_2(data, value, defaultSelected); |
| 17138 } | 17369 } |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 17182 // for details. All rights reserved. Use of this source code is governed by a | 17413 // for details. All rights reserved. Use of this source code is governed by a |
| 17183 // BSD-style license that can be found in the LICENSE file. | 17414 // BSD-style license that can be found in the LICENSE file. |
| 17184 | 17415 |
| 17185 | 17416 |
| 17186 @DocsEditable | 17417 @DocsEditable |
| 17187 @DomName('HTMLOutputElement') | 17418 @DomName('HTMLOutputElement') |
| 17188 @SupportedBrowser(SupportedBrowser.CHROME) | 17419 @SupportedBrowser(SupportedBrowser.CHROME) |
| 17189 @SupportedBrowser(SupportedBrowser.FIREFOX) | 17420 @SupportedBrowser(SupportedBrowser.FIREFOX) |
| 17190 @SupportedBrowser(SupportedBrowser.SAFARI) | 17421 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 17191 class OutputElement extends _HTMLElement native "HTMLOutputElement" { | 17422 class OutputElement extends _HTMLElement native "HTMLOutputElement" { |
| 17423 // To suppress missing implicit constructor warnings. |
| 17424 factory OutputElement._() { throw new UnsupportedError("Not supported"); } |
| 17192 | 17425 |
| 17193 @DomName('HTMLOutputElement.HTMLOutputElement') | 17426 @DomName('HTMLOutputElement.HTMLOutputElement') |
| 17194 @DocsEditable | 17427 @DocsEditable |
| 17195 factory OutputElement() => document.$dom_createElement("output"); | 17428 factory OutputElement() => document.$dom_createElement("output"); |
| 17196 | 17429 |
| 17197 /// Checks if this type is supported on the current platform. | 17430 /// Checks if this type is supported on the current platform. |
| 17198 static bool get supported => Element.isTagSupported('output'); | 17431 static bool get supported => Element.isTagSupported('output'); |
| 17199 | 17432 |
| 17200 @DomName('HTMLOutputElement.defaultValue') | 17433 @DomName('HTMLOutputElement.defaultValue') |
| 17201 @DocsEditable | 17434 @DocsEditable |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 17250 } | 17483 } |
| 17251 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17484 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17252 // for details. All rights reserved. Use of this source code is governed by a | 17485 // for details. All rights reserved. Use of this source code is governed by a |
| 17253 // BSD-style license that can be found in the LICENSE file. | 17486 // BSD-style license that can be found in the LICENSE file. |
| 17254 | 17487 |
| 17255 | 17488 |
| 17256 @DocsEditable | 17489 @DocsEditable |
| 17257 @DomName('OverflowEvent') | 17490 @DomName('OverflowEvent') |
| 17258 @Experimental // nonstandard | 17491 @Experimental // nonstandard |
| 17259 class OverflowEvent extends Event native "OverflowEvent" { | 17492 class OverflowEvent extends Event native "OverflowEvent" { |
| 17493 // To suppress missing implicit constructor warnings. |
| 17494 factory OverflowEvent._() { throw new UnsupportedError("Not supported"); } |
| 17260 | 17495 |
| 17261 @DomName('OverflowEvent.BOTH') | 17496 @DomName('OverflowEvent.BOTH') |
| 17262 @DocsEditable | 17497 @DocsEditable |
| 17263 static const int BOTH = 2; | 17498 static const int BOTH = 2; |
| 17264 | 17499 |
| 17265 @DomName('OverflowEvent.HORIZONTAL') | 17500 @DomName('OverflowEvent.HORIZONTAL') |
| 17266 @DocsEditable | 17501 @DocsEditable |
| 17267 static const int HORIZONTAL = 0; | 17502 static const int HORIZONTAL = 0; |
| 17268 | 17503 |
| 17269 @DomName('OverflowEvent.VERTICAL') | 17504 @DomName('OverflowEvent.VERTICAL') |
| (...skipping 15 matching lines...) Expand all Loading... |
| 17285 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17520 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17286 // for details. All rights reserved. Use of this source code is governed by a | 17521 // for details. All rights reserved. Use of this source code is governed by a |
| 17287 // BSD-style license that can be found in the LICENSE file. | 17522 // BSD-style license that can be found in the LICENSE file. |
| 17288 | 17523 |
| 17289 | 17524 |
| 17290 @DocsEditable | 17525 @DocsEditable |
| 17291 @DomName('PageTransitionEvent') | 17526 @DomName('PageTransitionEvent') |
| 17292 // http://www.whatwg.org/specs/web-apps/current-work/multipage/history.html#page
transitionevent | 17527 // http://www.whatwg.org/specs/web-apps/current-work/multipage/history.html#page
transitionevent |
| 17293 @Experimental | 17528 @Experimental |
| 17294 class PageTransitionEvent extends Event native "PageTransitionEvent" { | 17529 class PageTransitionEvent extends Event native "PageTransitionEvent" { |
| 17530 // To suppress missing implicit constructor warnings. |
| 17531 factory PageTransitionEvent._() { throw new UnsupportedError("Not supported");
} |
| 17295 | 17532 |
| 17296 @DomName('PageTransitionEvent.persisted') | 17533 @DomName('PageTransitionEvent.persisted') |
| 17297 @DocsEditable | 17534 @DocsEditable |
| 17298 final bool persisted; | 17535 final bool persisted; |
| 17299 } | 17536 } |
| 17300 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17537 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17301 // for details. All rights reserved. Use of this source code is governed by a | 17538 // for details. All rights reserved. Use of this source code is governed by a |
| 17302 // BSD-style license that can be found in the LICENSE file. | 17539 // BSD-style license that can be found in the LICENSE file. |
| 17303 | 17540 |
| 17304 | 17541 |
| 17305 @DocsEditable | 17542 @DocsEditable |
| 17306 @DomName('HTMLParagraphElement') | 17543 @DomName('HTMLParagraphElement') |
| 17307 class ParagraphElement extends _HTMLElement native "HTMLParagraphElement" { | 17544 class ParagraphElement extends _HTMLElement native "HTMLParagraphElement" { |
| 17545 // To suppress missing implicit constructor warnings. |
| 17546 factory ParagraphElement._() { throw new UnsupportedError("Not supported"); } |
| 17308 | 17547 |
| 17309 @DomName('HTMLParagraphElement.HTMLParagraphElement') | 17548 @DomName('HTMLParagraphElement.HTMLParagraphElement') |
| 17310 @DocsEditable | 17549 @DocsEditable |
| 17311 factory ParagraphElement() => document.$dom_createElement("p"); | 17550 factory ParagraphElement() => document.$dom_createElement("p"); |
| 17312 } | 17551 } |
| 17313 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17552 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17314 // for details. All rights reserved. Use of this source code is governed by a | 17553 // for details. All rights reserved. Use of this source code is governed by a |
| 17315 // BSD-style license that can be found in the LICENSE file. | 17554 // BSD-style license that can be found in the LICENSE file. |
| 17316 | 17555 |
| 17317 | 17556 |
| 17318 @DocsEditable | 17557 @DocsEditable |
| 17319 @DomName('HTMLParamElement') | 17558 @DomName('HTMLParamElement') |
| 17320 @Unstable | 17559 @Unstable |
| 17321 class ParamElement extends _HTMLElement native "HTMLParamElement" { | 17560 class ParamElement extends _HTMLElement native "HTMLParamElement" { |
| 17561 // To suppress missing implicit constructor warnings. |
| 17562 factory ParamElement._() { throw new UnsupportedError("Not supported"); } |
| 17322 | 17563 |
| 17323 @DomName('HTMLParamElement.HTMLParamElement') | 17564 @DomName('HTMLParamElement.HTMLParamElement') |
| 17324 @DocsEditable | 17565 @DocsEditable |
| 17325 factory ParamElement() => document.$dom_createElement("param"); | 17566 factory ParamElement() => document.$dom_createElement("param"); |
| 17326 | 17567 |
| 17327 @DomName('HTMLParamElement.name') | 17568 @DomName('HTMLParamElement.name') |
| 17328 @DocsEditable | 17569 @DocsEditable |
| 17329 String name; | 17570 String name; |
| 17330 | 17571 |
| 17331 @DomName('HTMLParamElement.value') | 17572 @DomName('HTMLParamElement.value') |
| 17332 @DocsEditable | 17573 @DocsEditable |
| 17333 String value; | 17574 String value; |
| 17334 } | 17575 } |
| 17335 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17576 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17336 // for details. All rights reserved. Use of this source code is governed by a | 17577 // for details. All rights reserved. Use of this source code is governed by a |
| 17337 // BSD-style license that can be found in the LICENSE file. | 17578 // BSD-style license that can be found in the LICENSE file. |
| 17338 | 17579 |
| 17339 | 17580 |
| 17340 @DocsEditable | 17581 @DocsEditable |
| 17341 @DomName('Path') | 17582 @DomName('Path') |
| 17342 // http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-elemen
t.html#path-objects | 17583 // http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-elemen
t.html#path-objects |
| 17343 @Experimental | 17584 @Experimental |
| 17344 class Path native "Path" { | 17585 class Path extends Interceptor native "Path" { |
| 17345 | 17586 |
| 17346 @DomName('Path.Path') | 17587 @DomName('Path.Path') |
| 17347 @DocsEditable | 17588 @DocsEditable |
| 17348 factory Path([path_OR_text]) { | 17589 factory Path([path_OR_text]) { |
| 17349 if (path_OR_text == null) { | 17590 if (path_OR_text == null) { |
| 17350 return Path._create_1(); | 17591 return Path._create_1(); |
| 17351 } | 17592 } |
| 17352 if ((path_OR_text is Path || path_OR_text == null)) { | 17593 if ((path_OR_text is Path || path_OR_text == null)) { |
| 17353 return Path._create_2(path_OR_text); | 17594 return Path._create_2(path_OR_text); |
| 17354 } | 17595 } |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 17397 // for details. All rights reserved. Use of this source code is governed by a | 17638 // for details. All rights reserved. Use of this source code is governed by a |
| 17398 // BSD-style license that can be found in the LICENSE file. | 17639 // BSD-style license that can be found in the LICENSE file. |
| 17399 | 17640 |
| 17400 | 17641 |
| 17401 @DocsEditable | 17642 @DocsEditable |
| 17402 @DomName('Performance') | 17643 @DomName('Performance') |
| 17403 @SupportedBrowser(SupportedBrowser.CHROME) | 17644 @SupportedBrowser(SupportedBrowser.CHROME) |
| 17404 @SupportedBrowser(SupportedBrowser.FIREFOX) | 17645 @SupportedBrowser(SupportedBrowser.FIREFOX) |
| 17405 @SupportedBrowser(SupportedBrowser.IE) | 17646 @SupportedBrowser(SupportedBrowser.IE) |
| 17406 class Performance extends EventTarget native "Performance" { | 17647 class Performance extends EventTarget native "Performance" { |
| 17648 // To suppress missing implicit constructor warnings. |
| 17649 factory Performance._() { throw new UnsupportedError("Not supported"); } |
| 17407 | 17650 |
| 17408 @DomName('Performance.webkitresourcetimingbufferfullEvent') | 17651 @DomName('Performance.webkitresourcetimingbufferfullEvent') |
| 17409 @DocsEditable | 17652 @DocsEditable |
| 17410 @SupportedBrowser(SupportedBrowser.CHROME) | 17653 @SupportedBrowser(SupportedBrowser.CHROME) |
| 17411 @SupportedBrowser(SupportedBrowser.SAFARI) | 17654 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 17412 @Experimental | 17655 @Experimental |
| 17413 // http://www.w3c-test.org/webperf/specs/ResourceTiming/#performanceresourceti
ming-methods | 17656 // http://www.w3c-test.org/webperf/specs/ResourceTiming/#performanceresourceti
ming-methods |
| 17414 static const EventStreamProvider<Event> resourceTimingBufferFullEvent = const
EventStreamProvider<Event>('webkitresourcetimingbufferfull'); | 17657 static const EventStreamProvider<Event> resourceTimingBufferFullEvent = const
EventStreamProvider<Event>('webkitresourcetimingbufferfull'); |
| 17415 | 17658 |
| 17416 /// Checks if this type is supported on the current platform. | 17659 /// Checks if this type is supported on the current platform. |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 17501 } | 17744 } |
| 17502 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17745 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17503 // for details. All rights reserved. Use of this source code is governed by a | 17746 // for details. All rights reserved. Use of this source code is governed by a |
| 17504 // BSD-style license that can be found in the LICENSE file. | 17747 // BSD-style license that can be found in the LICENSE file. |
| 17505 | 17748 |
| 17506 | 17749 |
| 17507 @DocsEditable | 17750 @DocsEditable |
| 17508 @DomName('PerformanceEntry') | 17751 @DomName('PerformanceEntry') |
| 17509 // http://www.w3.org/TR/performance-timeline/#sec-PerformanceEntry-interface | 17752 // http://www.w3.org/TR/performance-timeline/#sec-PerformanceEntry-interface |
| 17510 @Experimental | 17753 @Experimental |
| 17511 class PerformanceEntry native "PerformanceEntry" { | 17754 class PerformanceEntry extends Interceptor native "PerformanceEntry" { |
| 17512 | 17755 |
| 17513 @DomName('PerformanceEntry.duration') | 17756 @DomName('PerformanceEntry.duration') |
| 17514 @DocsEditable | 17757 @DocsEditable |
| 17515 final num duration; | 17758 final num duration; |
| 17516 | 17759 |
| 17517 @DomName('PerformanceEntry.entryType') | 17760 @DomName('PerformanceEntry.entryType') |
| 17518 @DocsEditable | 17761 @DocsEditable |
| 17519 final String entryType; | 17762 final String entryType; |
| 17520 | 17763 |
| 17521 @DomName('PerformanceEntry.name') | 17764 @DomName('PerformanceEntry.name') |
| 17522 @DocsEditable | 17765 @DocsEditable |
| 17523 final String name; | 17766 final String name; |
| 17524 | 17767 |
| 17525 @DomName('PerformanceEntry.startTime') | 17768 @DomName('PerformanceEntry.startTime') |
| 17526 @DocsEditable | 17769 @DocsEditable |
| 17527 final num startTime; | 17770 final num startTime; |
| 17528 } | 17771 } |
| 17529 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17772 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17530 // for details. All rights reserved. Use of this source code is governed by a | 17773 // for details. All rights reserved. Use of this source code is governed by a |
| 17531 // BSD-style license that can be found in the LICENSE file. | 17774 // BSD-style license that can be found in the LICENSE file. |
| 17532 | 17775 |
| 17533 | 17776 |
| 17534 @DocsEditable | 17777 @DocsEditable |
| 17535 @DomName('PerformanceMark') | 17778 @DomName('PerformanceMark') |
| 17536 // http://www.w3.org/TR/user-timing/#performancemark | 17779 // http://www.w3.org/TR/user-timing/#performancemark |
| 17537 @Experimental | 17780 @Experimental |
| 17538 class PerformanceMark extends PerformanceEntry native "PerformanceMark" { | 17781 class PerformanceMark extends PerformanceEntry native "PerformanceMark" { |
| 17782 // To suppress missing implicit constructor warnings. |
| 17783 factory PerformanceMark._() { throw new UnsupportedError("Not supported"); } |
| 17539 } | 17784 } |
| 17540 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17785 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17541 // for details. All rights reserved. Use of this source code is governed by a | 17786 // for details. All rights reserved. Use of this source code is governed by a |
| 17542 // BSD-style license that can be found in the LICENSE file. | 17787 // BSD-style license that can be found in the LICENSE file. |
| 17543 | 17788 |
| 17544 | 17789 |
| 17545 @DocsEditable | 17790 @DocsEditable |
| 17546 @DomName('PerformanceMeasure') | 17791 @DomName('PerformanceMeasure') |
| 17547 // http://www.w3.org/TR/user-timing/#performancemeasure | 17792 // http://www.w3.org/TR/user-timing/#performancemeasure |
| 17548 @Experimental | 17793 @Experimental |
| 17549 class PerformanceMeasure extends PerformanceEntry native "PerformanceMeasure" { | 17794 class PerformanceMeasure extends PerformanceEntry native "PerformanceMeasure" { |
| 17795 // To suppress missing implicit constructor warnings. |
| 17796 factory PerformanceMeasure._() { throw new UnsupportedError("Not supported");
} |
| 17550 } | 17797 } |
| 17551 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17798 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17552 // for details. All rights reserved. Use of this source code is governed by a | 17799 // for details. All rights reserved. Use of this source code is governed by a |
| 17553 // BSD-style license that can be found in the LICENSE file. | 17800 // BSD-style license that can be found in the LICENSE file. |
| 17554 | 17801 |
| 17555 | 17802 |
| 17556 @DocsEditable | 17803 @DocsEditable |
| 17557 @DomName('PerformanceNavigation') | 17804 @DomName('PerformanceNavigation') |
| 17558 @Unstable | 17805 @Unstable |
| 17559 class PerformanceNavigation native "PerformanceNavigation" { | 17806 class PerformanceNavigation extends Interceptor native "PerformanceNavigation" { |
| 17560 | 17807 |
| 17561 @DomName('PerformanceNavigation.TYPE_BACK_FORWARD') | 17808 @DomName('PerformanceNavigation.TYPE_BACK_FORWARD') |
| 17562 @DocsEditable | 17809 @DocsEditable |
| 17563 static const int TYPE_BACK_FORWARD = 2; | 17810 static const int TYPE_BACK_FORWARD = 2; |
| 17564 | 17811 |
| 17565 @DomName('PerformanceNavigation.TYPE_NAVIGATE') | 17812 @DomName('PerformanceNavigation.TYPE_NAVIGATE') |
| 17566 @DocsEditable | 17813 @DocsEditable |
| 17567 static const int TYPE_NAVIGATE = 0; | 17814 static const int TYPE_NAVIGATE = 0; |
| 17568 | 17815 |
| 17569 @DomName('PerformanceNavigation.TYPE_RELOAD') | 17816 @DomName('PerformanceNavigation.TYPE_RELOAD') |
| (...skipping 15 matching lines...) Expand all Loading... |
| 17585 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17832 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17586 // for details. All rights reserved. Use of this source code is governed by a | 17833 // for details. All rights reserved. Use of this source code is governed by a |
| 17587 // BSD-style license that can be found in the LICENSE file. | 17834 // BSD-style license that can be found in the LICENSE file. |
| 17588 | 17835 |
| 17589 | 17836 |
| 17590 @DocsEditable | 17837 @DocsEditable |
| 17591 @DomName('PerformanceResourceTiming') | 17838 @DomName('PerformanceResourceTiming') |
| 17592 // http://www.w3c-test.org/webperf/specs/ResourceTiming/#performanceresourcetimi
ng | 17839 // http://www.w3c-test.org/webperf/specs/ResourceTiming/#performanceresourcetimi
ng |
| 17593 @Experimental | 17840 @Experimental |
| 17594 class PerformanceResourceTiming extends PerformanceEntry native "PerformanceReso
urceTiming" { | 17841 class PerformanceResourceTiming extends PerformanceEntry native "PerformanceReso
urceTiming" { |
| 17842 // To suppress missing implicit constructor warnings. |
| 17843 factory PerformanceResourceTiming._() { throw new UnsupportedError("Not suppor
ted"); } |
| 17595 | 17844 |
| 17596 @DomName('PerformanceResourceTiming.connectEnd') | 17845 @DomName('PerformanceResourceTiming.connectEnd') |
| 17597 @DocsEditable | 17846 @DocsEditable |
| 17598 final num connectEnd; | 17847 final num connectEnd; |
| 17599 | 17848 |
| 17600 @DomName('PerformanceResourceTiming.connectStart') | 17849 @DomName('PerformanceResourceTiming.connectStart') |
| 17601 @DocsEditable | 17850 @DocsEditable |
| 17602 final num connectStart; | 17851 final num connectStart; |
| 17603 | 17852 |
| 17604 @DomName('PerformanceResourceTiming.domainLookupEnd') | 17853 @DomName('PerformanceResourceTiming.domainLookupEnd') |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 17645 final num secureConnectionStart; | 17894 final num secureConnectionStart; |
| 17646 } | 17895 } |
| 17647 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17896 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17648 // for details. All rights reserved. Use of this source code is governed by a | 17897 // for details. All rights reserved. Use of this source code is governed by a |
| 17649 // BSD-style license that can be found in the LICENSE file. | 17898 // BSD-style license that can be found in the LICENSE file. |
| 17650 | 17899 |
| 17651 | 17900 |
| 17652 @DocsEditable | 17901 @DocsEditable |
| 17653 @DomName('PerformanceTiming') | 17902 @DomName('PerformanceTiming') |
| 17654 @Unstable | 17903 @Unstable |
| 17655 class PerformanceTiming native "PerformanceTiming" { | 17904 class PerformanceTiming extends Interceptor native "PerformanceTiming" { |
| 17656 | 17905 |
| 17657 @DomName('PerformanceTiming.connectEnd') | 17906 @DomName('PerformanceTiming.connectEnd') |
| 17658 @DocsEditable | 17907 @DocsEditable |
| 17659 final int connectEnd; | 17908 final int connectEnd; |
| 17660 | 17909 |
| 17661 @DomName('PerformanceTiming.connectStart') | 17910 @DomName('PerformanceTiming.connectStart') |
| 17662 @DocsEditable | 17911 @DocsEditable |
| 17663 final int connectStart; | 17912 final int connectStart; |
| 17664 | 17913 |
| 17665 @DomName('PerformanceTiming.domComplete') | 17914 @DomName('PerformanceTiming.domComplete') |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 17739 final int unloadEventStart; | 17988 final int unloadEventStart; |
| 17740 } | 17989 } |
| 17741 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17990 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17742 // for details. All rights reserved. Use of this source code is governed by a | 17991 // for details. All rights reserved. Use of this source code is governed by a |
| 17743 // BSD-style license that can be found in the LICENSE file. | 17992 // BSD-style license that can be found in the LICENSE file. |
| 17744 | 17993 |
| 17745 | 17994 |
| 17746 @DocsEditable | 17995 @DocsEditable |
| 17747 @DomName('Plugin') | 17996 @DomName('Plugin') |
| 17748 @Experimental // non-standard | 17997 @Experimental // non-standard |
| 17749 class Plugin native "Plugin" { | 17998 class Plugin extends Interceptor native "Plugin" { |
| 17750 | 17999 |
| 17751 @DomName('Plugin.description') | 18000 @DomName('Plugin.description') |
| 17752 @DocsEditable | 18001 @DocsEditable |
| 17753 final String description; | 18002 final String description; |
| 17754 | 18003 |
| 17755 @DomName('Plugin.filename') | 18004 @DomName('Plugin.filename') |
| 17756 @DocsEditable | 18005 @DocsEditable |
| 17757 final String filename; | 18006 final String filename; |
| 17758 | 18007 |
| 17759 @DomName('Plugin.length') | 18008 @DomName('Plugin.length') |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 17855 // BSD-style license that can be found in the LICENSE file. | 18104 // BSD-style license that can be found in the LICENSE file. |
| 17856 | 18105 |
| 17857 | 18106 |
| 17858 @DocsEditable | 18107 @DocsEditable |
| 17859 @DomName('PopStateEvent') | 18108 @DomName('PopStateEvent') |
| 17860 @SupportedBrowser(SupportedBrowser.CHROME) | 18109 @SupportedBrowser(SupportedBrowser.CHROME) |
| 17861 @SupportedBrowser(SupportedBrowser.FIREFOX) | 18110 @SupportedBrowser(SupportedBrowser.FIREFOX) |
| 17862 @SupportedBrowser(SupportedBrowser.IE, '10') | 18111 @SupportedBrowser(SupportedBrowser.IE, '10') |
| 17863 @SupportedBrowser(SupportedBrowser.SAFARI) | 18112 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 17864 class PopStateEvent extends Event native "PopStateEvent" { | 18113 class PopStateEvent extends Event native "PopStateEvent" { |
| 18114 // To suppress missing implicit constructor warnings. |
| 18115 factory PopStateEvent._() { throw new UnsupportedError("Not supported"); } |
| 17865 | 18116 |
| 17866 dynamic get state => convertNativeToDart_SerializedScriptValue(this._get_state
); | 18117 dynamic get state => convertNativeToDart_SerializedScriptValue(this._get_state
); |
| 17867 @JSName('state') | 18118 @JSName('state') |
| 17868 @DomName('PopStateEvent.state') | 18119 @DomName('PopStateEvent.state') |
| 17869 @DocsEditable | 18120 @DocsEditable |
| 17870 @annotation_Creates_SerializedScriptValue | 18121 @annotation_Creates_SerializedScriptValue |
| 17871 @annotation_Returns_SerializedScriptValue | 18122 @annotation_Returns_SerializedScriptValue |
| 17872 final dynamic _get_state; | 18123 final dynamic _get_state; |
| 17873 } | 18124 } |
| 17874 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18125 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17875 // for details. All rights reserved. Use of this source code is governed by a | 18126 // for details. All rights reserved. Use of this source code is governed by a |
| 17876 // BSD-style license that can be found in the LICENSE file. | 18127 // BSD-style license that can be found in the LICENSE file. |
| 17877 | 18128 |
| 17878 // WARNING: Do not edit - generated code. | 18129 // WARNING: Do not edit - generated code. |
| 17879 | 18130 |
| 17880 | 18131 |
| 17881 @DomName('PositionCallback') | 18132 @DomName('PositionCallback') |
| 17882 @Unstable | 18133 @Unstable |
| 17883 typedef void _PositionCallback(Geoposition position); | 18134 typedef void _PositionCallback(Geoposition position); |
| 17884 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18135 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17885 // for details. All rights reserved. Use of this source code is governed by a | 18136 // for details. All rights reserved. Use of this source code is governed by a |
| 17886 // BSD-style license that can be found in the LICENSE file. | 18137 // BSD-style license that can be found in the LICENSE file. |
| 17887 | 18138 |
| 17888 | 18139 |
| 17889 @DocsEditable | 18140 @DocsEditable |
| 17890 @DomName('PositionError') | 18141 @DomName('PositionError') |
| 17891 @Unstable | 18142 @Unstable |
| 17892 class PositionError native "PositionError" { | 18143 class PositionError extends Interceptor native "PositionError" { |
| 17893 | 18144 |
| 17894 @DomName('PositionError.PERMISSION_DENIED') | 18145 @DomName('PositionError.PERMISSION_DENIED') |
| 17895 @DocsEditable | 18146 @DocsEditable |
| 17896 static const int PERMISSION_DENIED = 1; | 18147 static const int PERMISSION_DENIED = 1; |
| 17897 | 18148 |
| 17898 @DomName('PositionError.POSITION_UNAVAILABLE') | 18149 @DomName('PositionError.POSITION_UNAVAILABLE') |
| 17899 @DocsEditable | 18150 @DocsEditable |
| 17900 static const int POSITION_UNAVAILABLE = 2; | 18151 static const int POSITION_UNAVAILABLE = 2; |
| 17901 | 18152 |
| 17902 @DomName('PositionError.TIMEOUT') | 18153 @DomName('PositionError.TIMEOUT') |
| (...skipping 19 matching lines...) Expand all Loading... |
| 17922 @Unstable | 18173 @Unstable |
| 17923 typedef void _PositionErrorCallback(PositionError error); | 18174 typedef void _PositionErrorCallback(PositionError error); |
| 17924 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18175 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17925 // for details. All rights reserved. Use of this source code is governed by a | 18176 // for details. All rights reserved. Use of this source code is governed by a |
| 17926 // BSD-style license that can be found in the LICENSE file. | 18177 // BSD-style license that can be found in the LICENSE file. |
| 17927 | 18178 |
| 17928 | 18179 |
| 17929 @DocsEditable | 18180 @DocsEditable |
| 17930 @DomName('HTMLPreElement') | 18181 @DomName('HTMLPreElement') |
| 17931 class PreElement extends _HTMLElement native "HTMLPreElement" { | 18182 class PreElement extends _HTMLElement native "HTMLPreElement" { |
| 18183 // To suppress missing implicit constructor warnings. |
| 18184 factory PreElement._() { throw new UnsupportedError("Not supported"); } |
| 17932 | 18185 |
| 17933 @DomName('HTMLPreElement.HTMLPreElement') | 18186 @DomName('HTMLPreElement.HTMLPreElement') |
| 17934 @DocsEditable | 18187 @DocsEditable |
| 17935 factory PreElement() => document.$dom_createElement("pre"); | 18188 factory PreElement() => document.$dom_createElement("pre"); |
| 17936 | 18189 |
| 17937 @DomName('HTMLPreElement.wrap') | 18190 @DomName('HTMLPreElement.wrap') |
| 17938 @DocsEditable | 18191 @DocsEditable |
| 17939 @deprecated // deprecated | 18192 @deprecated // deprecated |
| 17940 bool wrap; | 18193 bool wrap; |
| 17941 } | 18194 } |
| 17942 // 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 |
| 17943 // 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 |
| 17944 // BSD-style license that can be found in the LICENSE file. | 18197 // BSD-style license that can be found in the LICENSE file. |
| 17945 | 18198 |
| 17946 | 18199 |
| 17947 @DocsEditable | 18200 @DocsEditable |
| 17948 @DomName('ProcessingInstruction') | 18201 @DomName('ProcessingInstruction') |
| 17949 @Unstable | 18202 @Unstable |
| 17950 class ProcessingInstruction extends Node native "ProcessingInstruction" { | 18203 class ProcessingInstruction extends Node native "ProcessingInstruction" { |
| 18204 // To suppress missing implicit constructor warnings. |
| 18205 factory ProcessingInstruction._() { throw new UnsupportedError("Not supported"
); } |
| 17951 | 18206 |
| 17952 @DomName('ProcessingInstruction.data') | 18207 @DomName('ProcessingInstruction.data') |
| 17953 @DocsEditable | 18208 @DocsEditable |
| 17954 @Experimental // non-standard | 18209 @Experimental // non-standard |
| 17955 String data; | 18210 String data; |
| 17956 | 18211 |
| 17957 @DomName('ProcessingInstruction.sheet') | 18212 @DomName('ProcessingInstruction.sheet') |
| 17958 @DocsEditable | 18213 @DocsEditable |
| 17959 @Experimental // non-standard | 18214 @Experimental // non-standard |
| 17960 final StyleSheet sheet; | 18215 final StyleSheet sheet; |
| 17961 | 18216 |
| 17962 @DomName('ProcessingInstruction.target') | 18217 @DomName('ProcessingInstruction.target') |
| 17963 @DocsEditable | 18218 @DocsEditable |
| 17964 final String target; | 18219 final String target; |
| 17965 } | 18220 } |
| 17966 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18221 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17967 // for details. All rights reserved. Use of this source code is governed by a | 18222 // for details. All rights reserved. Use of this source code is governed by a |
| 17968 // BSD-style license that can be found in the LICENSE file. | 18223 // BSD-style license that can be found in the LICENSE file. |
| 17969 | 18224 |
| 17970 | 18225 |
| 17971 @DocsEditable | 18226 @DocsEditable |
| 17972 @DomName('HTMLProgressElement') | 18227 @DomName('HTMLProgressElement') |
| 17973 @SupportedBrowser(SupportedBrowser.CHROME) | 18228 @SupportedBrowser(SupportedBrowser.CHROME) |
| 17974 @SupportedBrowser(SupportedBrowser.FIREFOX) | 18229 @SupportedBrowser(SupportedBrowser.FIREFOX) |
| 17975 @SupportedBrowser(SupportedBrowser.IE, '10') | 18230 @SupportedBrowser(SupportedBrowser.IE, '10') |
| 17976 @SupportedBrowser(SupportedBrowser.SAFARI) | 18231 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 17977 class ProgressElement extends _HTMLElement native "HTMLProgressElement" { | 18232 class ProgressElement extends _HTMLElement native "HTMLProgressElement" { |
| 18233 // To suppress missing implicit constructor warnings. |
| 18234 factory ProgressElement._() { throw new UnsupportedError("Not supported"); } |
| 17978 | 18235 |
| 17979 @DomName('HTMLProgressElement.HTMLProgressElement') | 18236 @DomName('HTMLProgressElement.HTMLProgressElement') |
| 17980 @DocsEditable | 18237 @DocsEditable |
| 17981 factory ProgressElement() => document.$dom_createElement("progress"); | 18238 factory ProgressElement() => document.$dom_createElement("progress"); |
| 17982 | 18239 |
| 17983 /// Checks if this type is supported on the current platform. | 18240 /// Checks if this type is supported on the current platform. |
| 17984 static bool get supported => Element.isTagSupported('progress'); | 18241 static bool get supported => Element.isTagSupported('progress'); |
| 17985 | 18242 |
| 17986 @DomName('HTMLProgressElement.labels') | 18243 @DomName('HTMLProgressElement.labels') |
| 17987 @DocsEditable | 18244 @DocsEditable |
| (...skipping 15 matching lines...) Expand all Loading... |
| 18003 num value; | 18260 num value; |
| 18004 } | 18261 } |
| 18005 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18262 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18006 // for details. All rights reserved. Use of this source code is governed by a | 18263 // for details. All rights reserved. Use of this source code is governed by a |
| 18007 // BSD-style license that can be found in the LICENSE file. | 18264 // BSD-style license that can be found in the LICENSE file. |
| 18008 | 18265 |
| 18009 | 18266 |
| 18010 @DocsEditable | 18267 @DocsEditable |
| 18011 @DomName('ProgressEvent') | 18268 @DomName('ProgressEvent') |
| 18012 class ProgressEvent extends Event native "ProgressEvent" { | 18269 class ProgressEvent extends Event native "ProgressEvent" { |
| 18270 // To suppress missing implicit constructor warnings. |
| 18271 factory ProgressEvent._() { throw new UnsupportedError("Not supported"); } |
| 18013 | 18272 |
| 18014 @DomName('ProgressEvent.lengthComputable') | 18273 @DomName('ProgressEvent.lengthComputable') |
| 18015 @DocsEditable | 18274 @DocsEditable |
| 18016 final bool lengthComputable; | 18275 final bool lengthComputable; |
| 18017 | 18276 |
| 18018 @DomName('ProgressEvent.loaded') | 18277 @DomName('ProgressEvent.loaded') |
| 18019 @DocsEditable | 18278 @DocsEditable |
| 18020 final int loaded; | 18279 final int loaded; |
| 18021 | 18280 |
| 18022 @DomName('ProgressEvent.total') | 18281 @DomName('ProgressEvent.total') |
| 18023 @DocsEditable | 18282 @DocsEditable |
| 18024 final int total; | 18283 final int total; |
| 18025 } | 18284 } |
| 18026 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18285 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18027 // for details. All rights reserved. Use of this source code is governed by a | 18286 // for details. All rights reserved. Use of this source code is governed by a |
| 18028 // BSD-style license that can be found in the LICENSE file. | 18287 // BSD-style license that can be found in the LICENSE file. |
| 18029 | 18288 |
| 18030 | 18289 |
| 18031 @DocsEditable | 18290 @DocsEditable |
| 18032 @DomName('HTMLQuoteElement') | 18291 @DomName('HTMLQuoteElement') |
| 18033 class QuoteElement extends _HTMLElement native "HTMLQuoteElement" { | 18292 class QuoteElement extends _HTMLElement native "HTMLQuoteElement" { |
| 18293 // To suppress missing implicit constructor warnings. |
| 18294 factory QuoteElement._() { throw new UnsupportedError("Not supported"); } |
| 18034 | 18295 |
| 18035 @DomName('HTMLQuoteElement.HTMLQuoteElement') | 18296 @DomName('HTMLQuoteElement.HTMLQuoteElement') |
| 18036 @DocsEditable | 18297 @DocsEditable |
| 18037 factory QuoteElement() => document.$dom_createElement("q"); | 18298 factory QuoteElement() => document.$dom_createElement("q"); |
| 18038 | 18299 |
| 18039 @DomName('HTMLQuoteElement.cite') | 18300 @DomName('HTMLQuoteElement.cite') |
| 18040 @DocsEditable | 18301 @DocsEditable |
| 18041 String cite; | 18302 String cite; |
| 18042 } | 18303 } |
| 18043 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18304 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 18075 typedef void RtcStatsCallback(RtcStatsResponse response); | 18336 typedef void RtcStatsCallback(RtcStatsResponse response); |
| 18076 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18337 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18077 // for details. All rights reserved. Use of this source code is governed by a | 18338 // for details. All rights reserved. Use of this source code is governed by a |
| 18078 // BSD-style license that can be found in the LICENSE file. | 18339 // BSD-style license that can be found in the LICENSE file. |
| 18079 | 18340 |
| 18080 // WARNING: Do not edit - generated code. | 18341 // WARNING: Do not edit - generated code. |
| 18081 | 18342 |
| 18082 | 18343 |
| 18083 @DomName('Range') | 18344 @DomName('Range') |
| 18084 @Unstable | 18345 @Unstable |
| 18085 class Range native "Range" { | 18346 class Range extends Interceptor native "Range" { |
| 18086 factory Range() => document.$dom_createRange(); | 18347 factory Range() => document.$dom_createRange(); |
| 18087 | 18348 |
| 18088 factory Range.fromPoint(Point point) => | 18349 factory Range.fromPoint(Point point) => |
| 18089 document.$dom_caretRangeFromPoint(point.x, point.y); | 18350 document.$dom_caretRangeFromPoint(point.x, point.y); |
| 18090 | 18351 |
| 18091 @DomName('Range.END_TO_END') | 18352 @DomName('Range.END_TO_END') |
| 18092 @DocsEditable | 18353 @DocsEditable |
| 18093 static const int END_TO_END = 2; | 18354 static const int END_TO_END = 2; |
| 18094 | 18355 |
| 18095 @DomName('Range.END_TO_START') | 18356 @DomName('Range.END_TO_START') |
| (...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 18276 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18537 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18277 // for details. All rights reserved. Use of this source code is governed by a | 18538 // for details. All rights reserved. Use of this source code is governed by a |
| 18278 // BSD-style license that can be found in the LICENSE file. | 18539 // BSD-style license that can be found in the LICENSE file. |
| 18279 | 18540 |
| 18280 | 18541 |
| 18281 @DocsEditable | 18542 @DocsEditable |
| 18282 @DomName('ResourceProgressEvent') | 18543 @DomName('ResourceProgressEvent') |
| 18283 // https://chromiumcodereview.appspot.com/14773025/ | 18544 // https://chromiumcodereview.appspot.com/14773025/ |
| 18284 @deprecated // experimental | 18545 @deprecated // experimental |
| 18285 class ResourceProgressEvent extends ProgressEvent native "ResourceProgressEvent"
{ | 18546 class ResourceProgressEvent extends ProgressEvent native "ResourceProgressEvent"
{ |
| 18547 // To suppress missing implicit constructor warnings. |
| 18548 factory ResourceProgressEvent._() { throw new UnsupportedError("Not supported"
); } |
| 18286 | 18549 |
| 18287 @DomName('ResourceProgressEvent.url') | 18550 @DomName('ResourceProgressEvent.url') |
| 18288 @DocsEditable | 18551 @DocsEditable |
| 18289 final String url; | 18552 final String url; |
| 18290 } | 18553 } |
| 18291 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18554 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18292 // for details. All rights reserved. Use of this source code is governed by a | 18555 // for details. All rights reserved. Use of this source code is governed by a |
| 18293 // BSD-style license that can be found in the LICENSE file. | 18556 // BSD-style license that can be found in the LICENSE file. |
| 18294 | 18557 |
| 18295 | 18558 |
| 18296 @DocsEditable | 18559 @DocsEditable |
| 18297 @DomName('RTCDataChannel') | 18560 @DomName('RTCDataChannel') |
| 18298 // http://dev.w3.org/2011/webrtc/editor/webrtc.html#idl-def-RTCDataChannel | 18561 // http://dev.w3.org/2011/webrtc/editor/webrtc.html#idl-def-RTCDataChannel |
| 18299 @Experimental | 18562 @Experimental |
| 18300 class RtcDataChannel extends EventTarget native "RTCDataChannel,DataChannel" { | 18563 class RtcDataChannel extends EventTarget native "RTCDataChannel,DataChannel" { |
| 18564 // To suppress missing implicit constructor warnings. |
| 18565 factory RtcDataChannel._() { throw new UnsupportedError("Not supported"); } |
| 18301 | 18566 |
| 18302 @DomName('RTCDataChannel.closeEvent') | 18567 @DomName('RTCDataChannel.closeEvent') |
| 18303 @DocsEditable | 18568 @DocsEditable |
| 18304 static const EventStreamProvider<Event> closeEvent = const EventStreamProvider
<Event>('close'); | 18569 static const EventStreamProvider<Event> closeEvent = const EventStreamProvider
<Event>('close'); |
| 18305 | 18570 |
| 18306 @DomName('RTCDataChannel.errorEvent') | 18571 @DomName('RTCDataChannel.errorEvent') |
| 18307 @DocsEditable | 18572 @DocsEditable |
| 18308 static const EventStreamProvider<Event> errorEvent = const EventStreamProvider
<Event>('error'); | 18573 static const EventStreamProvider<Event> errorEvent = const EventStreamProvider
<Event>('error'); |
| 18309 | 18574 |
| 18310 @DomName('RTCDataChannel.messageEvent') | 18575 @DomName('RTCDataChannel.messageEvent') |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 18376 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18641 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18377 // for details. All rights reserved. Use of this source code is governed by a | 18642 // for details. All rights reserved. Use of this source code is governed by a |
| 18378 // BSD-style license that can be found in the LICENSE file. | 18643 // BSD-style license that can be found in the LICENSE file. |
| 18379 | 18644 |
| 18380 | 18645 |
| 18381 @DocsEditable | 18646 @DocsEditable |
| 18382 @DomName('RTCDataChannelEvent') | 18647 @DomName('RTCDataChannelEvent') |
| 18383 // http://dev.w3.org/2011/webrtc/editor/webrtc.html#rtcdatachannelevent | 18648 // http://dev.w3.org/2011/webrtc/editor/webrtc.html#rtcdatachannelevent |
| 18384 @Experimental | 18649 @Experimental |
| 18385 class RtcDataChannelEvent extends Event native "RTCDataChannelEvent" { | 18650 class RtcDataChannelEvent extends Event native "RTCDataChannelEvent" { |
| 18651 // To suppress missing implicit constructor warnings. |
| 18652 factory RtcDataChannelEvent._() { throw new UnsupportedError("Not supported");
} |
| 18386 | 18653 |
| 18387 @DomName('RTCDataChannelEvent.channel') | 18654 @DomName('RTCDataChannelEvent.channel') |
| 18388 @DocsEditable | 18655 @DocsEditable |
| 18389 final RtcDataChannel channel; | 18656 final RtcDataChannel channel; |
| 18390 } | 18657 } |
| 18391 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18658 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18392 // for details. All rights reserved. Use of this source code is governed by a | 18659 // for details. All rights reserved. Use of this source code is governed by a |
| 18393 // BSD-style license that can be found in the LICENSE file. | 18660 // BSD-style license that can be found in the LICENSE file. |
| 18394 | 18661 |
| 18395 | 18662 |
| 18396 @DocsEditable | 18663 @DocsEditable |
| 18397 @DomName('RTCDTMFSender') | 18664 @DomName('RTCDTMFSender') |
| 18398 // http://dev.w3.org/2011/webrtc/editor/webrtc.html#idl-def-RTCDTMFSender | 18665 // http://dev.w3.org/2011/webrtc/editor/webrtc.html#idl-def-RTCDTMFSender |
| 18399 @Experimental | 18666 @Experimental |
| 18400 class RtcDtmfSender extends EventTarget native "RTCDTMFSender" { | 18667 class RtcDtmfSender extends EventTarget native "RTCDTMFSender" { |
| 18668 // To suppress missing implicit constructor warnings. |
| 18669 factory RtcDtmfSender._() { throw new UnsupportedError("Not supported"); } |
| 18401 | 18670 |
| 18402 @DomName('RTCDTMFSender.tonechangeEvent') | 18671 @DomName('RTCDTMFSender.tonechangeEvent') |
| 18403 @DocsEditable | 18672 @DocsEditable |
| 18404 static const EventStreamProvider<RtcDtmfToneChangeEvent> toneChangeEvent = con
st EventStreamProvider<RtcDtmfToneChangeEvent>('tonechange'); | 18673 static const EventStreamProvider<RtcDtmfToneChangeEvent> toneChangeEvent = con
st EventStreamProvider<RtcDtmfToneChangeEvent>('tonechange'); |
| 18405 | 18674 |
| 18406 @JSName('canInsertDTMF') | 18675 @JSName('canInsertDTMF') |
| 18407 @DomName('RTCDTMFSender.canInsertDTMF') | 18676 @DomName('RTCDTMFSender.canInsertDTMF') |
| 18408 @DocsEditable | 18677 @DocsEditable |
| 18409 final bool canInsertDtmf; | 18678 final bool canInsertDtmf; |
| 18410 | 18679 |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 18450 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18719 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18451 // for details. All rights reserved. Use of this source code is governed by a | 18720 // for details. All rights reserved. Use of this source code is governed by a |
| 18452 // BSD-style license that can be found in the LICENSE file. | 18721 // BSD-style license that can be found in the LICENSE file. |
| 18453 | 18722 |
| 18454 | 18723 |
| 18455 @DocsEditable | 18724 @DocsEditable |
| 18456 @DomName('RTCDTMFToneChangeEvent') | 18725 @DomName('RTCDTMFToneChangeEvent') |
| 18457 // http://dev.w3.org/2011/webrtc/editor/webrtc.html#idl-def-RTCDTMFToneChangeEve
nt | 18726 // http://dev.w3.org/2011/webrtc/editor/webrtc.html#idl-def-RTCDTMFToneChangeEve
nt |
| 18458 @Experimental | 18727 @Experimental |
| 18459 class RtcDtmfToneChangeEvent extends Event native "RTCDTMFToneChangeEvent" { | 18728 class RtcDtmfToneChangeEvent extends Event native "RTCDTMFToneChangeEvent" { |
| 18729 // To suppress missing implicit constructor warnings. |
| 18730 factory RtcDtmfToneChangeEvent._() { throw new UnsupportedError("Not supported
"); } |
| 18460 | 18731 |
| 18461 @DomName('RTCDTMFToneChangeEvent.tone') | 18732 @DomName('RTCDTMFToneChangeEvent.tone') |
| 18462 @DocsEditable | 18733 @DocsEditable |
| 18463 final String tone; | 18734 final String tone; |
| 18464 } | 18735 } |
| 18465 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 18736 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 18466 // for details. All rights reserved. Use of this source code is governed by a | 18737 // for details. All rights reserved. Use of this source code is governed by a |
| 18467 // BSD-style license that can be found in the LICENSE file. | 18738 // BSD-style license that can be found in the LICENSE file. |
| 18468 | 18739 |
| 18469 | 18740 |
| 18470 @DomName('RTCIceCandidate') | 18741 @DomName('RTCIceCandidate') |
| 18471 @SupportedBrowser(SupportedBrowser.CHROME) | 18742 @SupportedBrowser(SupportedBrowser.CHROME) |
| 18472 @Experimental | 18743 @Experimental |
| 18473 // http://dev.w3.org/2011/webrtc/editor/webrtc.html#idl-def-RTCIceCandidate | 18744 // http://dev.w3.org/2011/webrtc/editor/webrtc.html#idl-def-RTCIceCandidate |
| 18474 class RtcIceCandidate native "RTCIceCandidate,mozRTCIceCandidate" { | 18745 class RtcIceCandidate extends Interceptor native "RTCIceCandidate,mozRTCIceCandi
date" { |
| 18475 factory RtcIceCandidate(Map dictionary) { | 18746 factory RtcIceCandidate(Map dictionary) { |
| 18476 // TODO(efortuna): Remove this check if when you can actually construct with | 18747 // TODO(efortuna): Remove this check if when you can actually construct with |
| 18477 // the unprefixed RTCIceCandidate in Firefox (currently both are defined, | 18748 // the unprefixed RTCIceCandidate in Firefox (currently both are defined, |
| 18478 // but one can't be used as a constructor). | 18749 // but one can't be used as a constructor). |
| 18479 var constructorName = JS('', 'window[#]', | 18750 var constructorName = JS('', 'window[#]', |
| 18480 Device.isFirefox ? '${Device.propertyPrefix}RTCIceCandidate' : | 18751 Device.isFirefox ? '${Device.propertyPrefix}RTCIceCandidate' : |
| 18481 'RTCIceCandidate'); | 18752 'RTCIceCandidate'); |
| 18482 return JS('RtcIceCandidate', 'new #(#)', constructorName, | 18753 return JS('RtcIceCandidate', 'new #(#)', constructorName, |
| 18483 convertDartToNative_SerializedScriptValue(dictionary)); | 18754 convertDartToNative_SerializedScriptValue(dictionary)); |
| 18484 } | 18755 } |
| 18485 | 18756 |
| 18486 @DomName('RTCIceCandidate.candidate') | 18757 @DomName('RTCIceCandidate.candidate') |
| 18487 @DocsEditable | 18758 @DocsEditable |
| 18488 final String candidate; | 18759 final String candidate; |
| 18489 | 18760 |
| 18490 @DomName('RTCIceCandidate.sdpMLineIndex') | 18761 @DomName('RTCIceCandidate.sdpMLineIndex') |
| 18491 @DocsEditable | 18762 @DocsEditable |
| 18492 final int sdpMLineIndex; | 18763 final int sdpMLineIndex; |
| 18493 | 18764 |
| 18494 @DomName('RTCIceCandidate.sdpMid') | 18765 @DomName('RTCIceCandidate.sdpMid') |
| 18495 @DocsEditable | 18766 @DocsEditable |
| 18496 final String sdpMid; | 18767 final String sdpMid; |
| 18497 | 18768 |
| 18498 } | 18769 } |
| 18499 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18770 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18500 // for details. All rights reserved. Use of this source code is governed by a | 18771 // for details. All rights reserved. Use of this source code is governed by a |
| 18501 // BSD-style license that can be found in the LICENSE file. | 18772 // BSD-style license that can be found in the LICENSE file. |
| 18502 | 18773 |
| 18503 | 18774 |
| 18504 @DocsEditable | 18775 @DocsEditable |
| 18505 @DomName('RTCIceCandidateEvent') | 18776 @DomName('RTCIceCandidateEvent') |
| 18506 // http://dev.w3.org/2011/webrtc/editor/webrtc.html#rtcicecandidate-type | 18777 // http://dev.w3.org/2011/webrtc/editor/webrtc.html#rtcicecandidate-type |
| 18507 @Experimental | 18778 @Experimental |
| 18508 class RtcIceCandidateEvent extends Event native "RTCIceCandidateEvent" { | 18779 class RtcIceCandidateEvent extends Event native "RTCIceCandidateEvent" { |
| 18780 // To suppress missing implicit constructor warnings. |
| 18781 factory RtcIceCandidateEvent._() { throw new UnsupportedError("Not supported")
; } |
| 18509 | 18782 |
| 18510 @DomName('RTCIceCandidateEvent.candidate') | 18783 @DomName('RTCIceCandidateEvent.candidate') |
| 18511 @DocsEditable | 18784 @DocsEditable |
| 18512 final RtcIceCandidate candidate; | 18785 final RtcIceCandidate candidate; |
| 18513 } | 18786 } |
| 18514 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 18787 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 18515 // for details. All rights reserved. Use of this source code is governed by a | 18788 // for details. All rights reserved. Use of this source code is governed by a |
| 18516 // BSD-style license that can be found in the LICENSE file. | 18789 // BSD-style license that can be found in the LICENSE file. |
| 18517 | 18790 |
| 18518 | 18791 |
| (...skipping 16 matching lines...) Expand all Loading... |
| 18535 } | 18808 } |
| 18536 | 18809 |
| 18537 /** | 18810 /** |
| 18538 * Checks if Real Time Communication (RTC) APIs are supported and enabled on | 18811 * Checks if Real Time Communication (RTC) APIs are supported and enabled on |
| 18539 * the current platform. | 18812 * the current platform. |
| 18540 */ | 18813 */ |
| 18541 static bool get supported { | 18814 static bool get supported { |
| 18542 // Currently in Firefox some of the RTC elements are defined but throw an | 18815 // Currently in Firefox some of the RTC elements are defined but throw an |
| 18543 // error unless the user has specifically enabled them in their | 18816 // error unless the user has specifically enabled them in their |
| 18544 // about:config. So we have to construct an element to actually test if RTC | 18817 // about:config. So we have to construct an element to actually test if RTC |
| 18545 // is supported at the given time. | 18818 // is supported at the given time. |
| 18546 try { | 18819 try { |
| 18547 new RtcPeerConnection( | 18820 new RtcPeerConnection( |
| 18548 {"iceServers": [ {"url":"stun:localhost"}]}); | 18821 {"iceServers": [ {"url":"stun:localhost"}]}); |
| 18549 return true; | 18822 return true; |
| 18550 } catch (_) { return false;} | 18823 } catch (_) { return false;} |
| 18551 return false; | 18824 return false; |
| 18552 } | 18825 } |
| 18553 Future<RtcSessionDescription> createOffer([Map mediaConstraints]) { | 18826 Future<RtcSessionDescription> createOffer([Map mediaConstraints]) { |
| 18554 var completer = new Completer<RtcSessionDescription>(); | 18827 var completer = new Completer<RtcSessionDescription>(); |
| 18555 _createOffer( | 18828 _createOffer( |
| 18556 (value) { completer.complete(value); }, | 18829 (value) { completer.complete(value); }, |
| 18557 (error) { completer.completeError(error); }, mediaConstraints); | 18830 (error) { completer.completeError(error); }, mediaConstraints); |
| 18558 return completer.future; | 18831 return completer.future; |
| 18559 } | 18832 } |
| 18560 | 18833 |
| 18561 Future<RtcSessionDescription> createAnswer([Map mediaConstraints]) { | 18834 Future<RtcSessionDescription> createAnswer([Map mediaConstraints]) { |
| 18562 var completer = new Completer<RtcSessionDescription>(); | 18835 var completer = new Completer<RtcSessionDescription>(); |
| 18563 _createAnswer( | 18836 _createAnswer( |
| 18564 (value) { completer.complete(value); }, | 18837 (value) { completer.complete(value); }, |
| 18565 (error) { completer.completeError(error); }, mediaConstraints); | 18838 (error) { completer.completeError(error); }, mediaConstraints); |
| 18566 return completer.future; | 18839 return completer.future; |
| 18567 } | 18840 } |
| 18841 // To suppress missing implicit constructor warnings. |
| 18842 factory RtcPeerConnection._() { throw new UnsupportedError("Not supported"); } |
| 18568 | 18843 |
| 18569 @DomName('RTCPeerConnection.addstreamEvent') | 18844 @DomName('RTCPeerConnection.addstreamEvent') |
| 18570 @DocsEditable | 18845 @DocsEditable |
| 18571 static const EventStreamProvider<MediaStreamEvent> addStreamEvent = const Even
tStreamProvider<MediaStreamEvent>('addstream'); | 18846 static const EventStreamProvider<MediaStreamEvent> addStreamEvent = const Even
tStreamProvider<MediaStreamEvent>('addstream'); |
| 18572 | 18847 |
| 18573 @DomName('RTCPeerConnection.datachannelEvent') | 18848 @DomName('RTCPeerConnection.datachannelEvent') |
| 18574 @DocsEditable | 18849 @DocsEditable |
| 18575 static const EventStreamProvider<RtcDataChannelEvent> dataChannelEvent = const
EventStreamProvider<RtcDataChannelEvent>('datachannel'); | 18850 static const EventStreamProvider<RtcDataChannelEvent> dataChannelEvent = const
EventStreamProvider<RtcDataChannelEvent>('datachannel'); |
| 18576 | 18851 |
| 18577 @DomName('RTCPeerConnection.icecandidateEvent') | 18852 @DomName('RTCPeerConnection.icecandidateEvent') |
| (...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 18832 } | 19107 } |
| 18833 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 19108 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 18834 // for details. All rights reserved. Use of this source code is governed by a | 19109 // for details. All rights reserved. Use of this source code is governed by a |
| 18835 // BSD-style license that can be found in the LICENSE file. | 19110 // BSD-style license that can be found in the LICENSE file. |
| 18836 | 19111 |
| 18837 | 19112 |
| 18838 @DomName('RTCSessionDescription') | 19113 @DomName('RTCSessionDescription') |
| 18839 @SupportedBrowser(SupportedBrowser.CHROME) | 19114 @SupportedBrowser(SupportedBrowser.CHROME) |
| 18840 @Experimental | 19115 @Experimental |
| 18841 // http://dev.w3.org/2011/webrtc/editor/webrtc.html#idl-def-RTCSessionDescriptio
n | 19116 // http://dev.w3.org/2011/webrtc/editor/webrtc.html#idl-def-RTCSessionDescriptio
n |
| 18842 class RtcSessionDescription native "RTCSessionDescription,mozRTCSessionDescripti
on" { | 19117 class RtcSessionDescription extends Interceptor native "RTCSessionDescription,mo
zRTCSessionDescription" { |
| 18843 factory RtcSessionDescription(Map dictionary) { | 19118 factory RtcSessionDescription(Map dictionary) { |
| 18844 // TODO(efortuna): Remove this check if when you can actually construct with | 19119 // TODO(efortuna): Remove this check if when you can actually construct with |
| 18845 // the unprefixed RTCIceCandidate in Firefox (currently both are defined, | 19120 // the unprefixed RTCIceCandidate in Firefox (currently both are defined, |
| 18846 // but one can't be used as a constructor). | 19121 // but one can't be used as a constructor). |
| 18847 var constructorName = JS('', 'window[#]', | 19122 var constructorName = JS('', 'window[#]', |
| 18848 Device.isFirefox ? '${Device.propertyPrefix}RTCSessionDescription' : | 19123 Device.isFirefox ? '${Device.propertyPrefix}RTCSessionDescription' : |
| 18849 'RTCSessionDescription'); | 19124 'RTCSessionDescription'); |
| 18850 return JS('RtcSessionDescription', | 19125 return JS('RtcSessionDescription', |
| 18851 'new #(#)', constructorName, | 19126 'new #(#)', constructorName, |
| 18852 convertDartToNative_SerializedScriptValue(dictionary)); | 19127 convertDartToNative_SerializedScriptValue(dictionary)); |
| 18853 } | 19128 } |
| 18854 | 19129 |
| 18855 @DomName('RTCSessionDescription.sdp') | 19130 @DomName('RTCSessionDescription.sdp') |
| 18856 @DocsEditable | 19131 @DocsEditable |
| 18857 String sdp; | 19132 String sdp; |
| 18858 | 19133 |
| 18859 @DomName('RTCSessionDescription.type') | 19134 @DomName('RTCSessionDescription.type') |
| 18860 @DocsEditable | 19135 @DocsEditable |
| 18861 String type; | 19136 String type; |
| 18862 | 19137 |
| 18863 } | 19138 } |
| 18864 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 19139 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18865 // for details. All rights reserved. Use of this source code is governed by a | 19140 // for details. All rights reserved. Use of this source code is governed by a |
| 18866 // BSD-style license that can be found in the LICENSE file. | 19141 // BSD-style license that can be found in the LICENSE file. |
| 18867 | 19142 |
| 18868 | 19143 |
| 18869 @DocsEditable | 19144 @DocsEditable |
| 18870 @DomName('RTCStatsReport') | 19145 @DomName('RTCStatsReport') |
| 18871 // http://dev.w3.org/2011/webrtc/editor/webrtc.html#idl-def-RTCStatsReport | 19146 // http://dev.w3.org/2011/webrtc/editor/webrtc.html#idl-def-RTCStatsReport |
| 18872 @Experimental | 19147 @Experimental |
| 18873 class RtcStatsReport native "RTCStatsReport" { | 19148 class RtcStatsReport extends Interceptor native "RTCStatsReport" { |
| 18874 | 19149 |
| 18875 @DomName('RTCStatsReport.id') | 19150 @DomName('RTCStatsReport.id') |
| 18876 @DocsEditable | 19151 @DocsEditable |
| 18877 final String id; | 19152 final String id; |
| 18878 | 19153 |
| 18879 @DomName('RTCStatsReport.local') | 19154 @DomName('RTCStatsReport.local') |
| 18880 @DocsEditable | 19155 @DocsEditable |
| 18881 final RtcStatsReport local; | 19156 final RtcStatsReport local; |
| 18882 | 19157 |
| 18883 @DomName('RTCStatsReport.remote') | 19158 @DomName('RTCStatsReport.remote') |
| (...skipping 21 matching lines...) Expand all Loading... |
| 18905 } | 19180 } |
| 18906 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 19181 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18907 // for details. All rights reserved. Use of this source code is governed by a | 19182 // for details. All rights reserved. Use of this source code is governed by a |
| 18908 // BSD-style license that can be found in the LICENSE file. | 19183 // BSD-style license that can be found in the LICENSE file. |
| 18909 | 19184 |
| 18910 | 19185 |
| 18911 @DocsEditable | 19186 @DocsEditable |
| 18912 @DomName('RTCStatsResponse') | 19187 @DomName('RTCStatsResponse') |
| 18913 // http://dev.w3.org/2011/webrtc/editor/webrtc.html#widl-RTCStatsReport-RTCStats
-getter-DOMString-id | 19188 // http://dev.w3.org/2011/webrtc/editor/webrtc.html#widl-RTCStatsReport-RTCStats
-getter-DOMString-id |
| 18914 @Experimental | 19189 @Experimental |
| 18915 class RtcStatsResponse native "RTCStatsResponse" { | 19190 class RtcStatsResponse extends Interceptor native "RTCStatsResponse" { |
| 18916 | 19191 |
| 18917 @DomName('RTCStatsResponse.__getter__') | 19192 @DomName('RTCStatsResponse.__getter__') |
| 18918 @DocsEditable | 19193 @DocsEditable |
| 18919 RtcStatsReport __getter__(String name) native; | 19194 RtcStatsReport __getter__(String name) native; |
| 18920 | 19195 |
| 18921 @DomName('RTCStatsResponse.namedItem') | 19196 @DomName('RTCStatsResponse.namedItem') |
| 18922 @DocsEditable | 19197 @DocsEditable |
| 18923 RtcStatsReport namedItem(String name) native; | 19198 RtcStatsReport namedItem(String name) native; |
| 18924 | 19199 |
| 18925 @DomName('RTCStatsResponse.result') | 19200 @DomName('RTCStatsResponse.result') |
| 18926 @DocsEditable | 19201 @DocsEditable |
| 18927 List<RtcStatsReport> result() native; | 19202 List<RtcStatsReport> result() native; |
| 18928 } | 19203 } |
| 18929 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 19204 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 18930 // for details. All rights reserved. Use of this source code is governed by a | 19205 // for details. All rights reserved. Use of this source code is governed by a |
| 18931 // BSD-style license that can be found in the LICENSE file. | 19206 // BSD-style license that can be found in the LICENSE file. |
| 18932 | 19207 |
| 18933 | 19208 |
| 18934 @DocsEditable | 19209 @DocsEditable |
| 18935 @DomName('Screen') | 19210 @DomName('Screen') |
| 18936 class Screen native "Screen" { | 19211 class Screen extends Interceptor native "Screen" { |
| 18937 | 19212 |
| 18938 @DomName('Screen.availHeight') | 19213 @DomName('Screen.availHeight') |
| 18939 @DomName('Screen.availLeft') | 19214 @DomName('Screen.availLeft') |
| 18940 @DomName('Screen.availTop') | 19215 @DomName('Screen.availTop') |
| 18941 @DomName('Screen.availWidth') | 19216 @DomName('Screen.availWidth') |
| 18942 Rect get available => new Rect($dom_availLeft, $dom_availTop, $dom_availWidth, | 19217 Rect get available => new Rect($dom_availLeft, $dom_availTop, $dom_availWidth, |
| 18943 $dom_availHeight); | 19218 $dom_availHeight); |
| 18944 | 19219 |
| 18945 @JSName('availHeight') | 19220 @JSName('availHeight') |
| 18946 @DomName('Screen.availHeight') | 19221 @DomName('Screen.availHeight') |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 18981 final int width; | 19256 final int width; |
| 18982 } | 19257 } |
| 18983 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 19258 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18984 // for details. All rights reserved. Use of this source code is governed by a | 19259 // for details. All rights reserved. Use of this source code is governed by a |
| 18985 // BSD-style license that can be found in the LICENSE file. | 19260 // BSD-style license that can be found in the LICENSE file. |
| 18986 | 19261 |
| 18987 | 19262 |
| 18988 @DocsEditable | 19263 @DocsEditable |
| 18989 @DomName('HTMLScriptElement') | 19264 @DomName('HTMLScriptElement') |
| 18990 class ScriptElement extends _HTMLElement native "HTMLScriptElement" { | 19265 class ScriptElement extends _HTMLElement native "HTMLScriptElement" { |
| 19266 // To suppress missing implicit constructor warnings. |
| 19267 factory ScriptElement._() { throw new UnsupportedError("Not supported"); } |
| 18991 | 19268 |
| 18992 @DomName('HTMLScriptElement.HTMLScriptElement') | 19269 @DomName('HTMLScriptElement.HTMLScriptElement') |
| 18993 @DocsEditable | 19270 @DocsEditable |
| 18994 factory ScriptElement() => document.$dom_createElement("script"); | 19271 factory ScriptElement() => document.$dom_createElement("script"); |
| 18995 | 19272 |
| 18996 @DomName('HTMLScriptElement.async') | 19273 @DomName('HTMLScriptElement.async') |
| 18997 @DocsEditable | 19274 @DocsEditable |
| 18998 bool async; | 19275 bool async; |
| 18999 | 19276 |
| 19000 @DomName('HTMLScriptElement.charset') | 19277 @DomName('HTMLScriptElement.charset') |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 19039 } | 19316 } |
| 19040 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 19317 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19041 // for details. All rights reserved. Use of this source code is governed by a | 19318 // for details. All rights reserved. Use of this source code is governed by a |
| 19042 // BSD-style license that can be found in the LICENSE file. | 19319 // BSD-style license that can be found in the LICENSE file. |
| 19043 | 19320 |
| 19044 | 19321 |
| 19045 @DocsEditable | 19322 @DocsEditable |
| 19046 @DomName('SecurityPolicy') | 19323 @DomName('SecurityPolicy') |
| 19047 // https://dvcs.w3.org/hg/content-security-policy/raw-file/tip/csp-specification
.dev.html#securitypolicy | 19324 // https://dvcs.w3.org/hg/content-security-policy/raw-file/tip/csp-specification
.dev.html#securitypolicy |
| 19048 @Experimental | 19325 @Experimental |
| 19049 class SecurityPolicy native "SecurityPolicy" { | 19326 class SecurityPolicy extends Interceptor native "SecurityPolicy" { |
| 19050 | 19327 |
| 19051 @DomName('SecurityPolicy.allowsEval') | 19328 @DomName('SecurityPolicy.allowsEval') |
| 19052 @DocsEditable | 19329 @DocsEditable |
| 19053 final bool allowsEval; | 19330 final bool allowsEval; |
| 19054 | 19331 |
| 19055 @DomName('SecurityPolicy.allowsInlineScript') | 19332 @DomName('SecurityPolicy.allowsInlineScript') |
| 19056 @DocsEditable | 19333 @DocsEditable |
| 19057 final bool allowsInlineScript; | 19334 final bool allowsInlineScript; |
| 19058 | 19335 |
| 19059 @DomName('SecurityPolicy.allowsInlineStyle') | 19336 @DomName('SecurityPolicy.allowsInlineStyle') |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 19113 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 19390 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19114 // for details. All rights reserved. Use of this source code is governed by a | 19391 // for details. All rights reserved. Use of this source code is governed by a |
| 19115 // BSD-style license that can be found in the LICENSE file. | 19392 // BSD-style license that can be found in the LICENSE file. |
| 19116 | 19393 |
| 19117 | 19394 |
| 19118 @DocsEditable | 19395 @DocsEditable |
| 19119 @DomName('SecurityPolicyViolationEvent') | 19396 @DomName('SecurityPolicyViolationEvent') |
| 19120 // https://dvcs.w3.org/hg/content-security-policy/raw-file/tip/csp-specification
.dev.html#securitypolicyviolationevent-events | 19397 // https://dvcs.w3.org/hg/content-security-policy/raw-file/tip/csp-specification
.dev.html#securitypolicyviolationevent-events |
| 19121 @Experimental | 19398 @Experimental |
| 19122 class SecurityPolicyViolationEvent extends Event native "SecurityPolicyViolation
Event" { | 19399 class SecurityPolicyViolationEvent extends Event native "SecurityPolicyViolation
Event" { |
| 19400 // To suppress missing implicit constructor warnings. |
| 19401 factory SecurityPolicyViolationEvent._() { throw new UnsupportedError("Not sup
ported"); } |
| 19123 | 19402 |
| 19124 @JSName('blockedURI') | 19403 @JSName('blockedURI') |
| 19125 @DomName('SecurityPolicyViolationEvent.blockedURI') | 19404 @DomName('SecurityPolicyViolationEvent.blockedURI') |
| 19126 @DocsEditable | 19405 @DocsEditable |
| 19127 final String blockedUri; | 19406 final String blockedUri; |
| 19128 | 19407 |
| 19129 @DomName('SecurityPolicyViolationEvent.columnNumber') | 19408 @DomName('SecurityPolicyViolationEvent.columnNumber') |
| 19130 @DocsEditable | 19409 @DocsEditable |
| 19131 final int columnNumber; | 19410 final int columnNumber; |
| 19132 | 19411 |
| (...skipping 26 matching lines...) Expand all Loading... |
| 19159 @DocsEditable | 19438 @DocsEditable |
| 19160 final String violatedDirective; | 19439 final String violatedDirective; |
| 19161 } | 19440 } |
| 19162 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 19441 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19163 // for details. All rights reserved. Use of this source code is governed by a | 19442 // for details. All rights reserved. Use of this source code is governed by a |
| 19164 // BSD-style license that can be found in the LICENSE file. | 19443 // BSD-style license that can be found in the LICENSE file. |
| 19165 | 19444 |
| 19166 | 19445 |
| 19167 @DomName('HTMLSelectElement') | 19446 @DomName('HTMLSelectElement') |
| 19168 class SelectElement extends _HTMLElement native "HTMLSelectElement" { | 19447 class SelectElement extends _HTMLElement native "HTMLSelectElement" { |
| 19448 // To suppress missing implicit constructor warnings. |
| 19449 factory SelectElement._() { throw new UnsupportedError("Not supported"); } |
| 19169 | 19450 |
| 19170 @DomName('HTMLSelectElement.HTMLSelectElement') | 19451 @DomName('HTMLSelectElement.HTMLSelectElement') |
| 19171 @DocsEditable | 19452 @DocsEditable |
| 19172 factory SelectElement() => document.$dom_createElement("select"); | 19453 factory SelectElement() => document.$dom_createElement("select"); |
| 19173 | 19454 |
| 19174 @DomName('HTMLSelectElement.autofocus') | 19455 @DomName('HTMLSelectElement.autofocus') |
| 19175 @DocsEditable | 19456 @DocsEditable |
| 19176 bool autofocus; | 19457 bool autofocus; |
| 19177 | 19458 |
| 19178 @DomName('HTMLSelectElement.disabled') | 19459 @DomName('HTMLSelectElement.disabled') |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 19273 } | 19554 } |
| 19274 } | 19555 } |
| 19275 } | 19556 } |
| 19276 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 19557 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19277 // for details. All rights reserved. Use of this source code is governed by a | 19558 // for details. All rights reserved. Use of this source code is governed by a |
| 19278 // BSD-style license that can be found in the LICENSE file. | 19559 // BSD-style license that can be found in the LICENSE file. |
| 19279 | 19560 |
| 19280 | 19561 |
| 19281 @DocsEditable | 19562 @DocsEditable |
| 19282 @DomName('Selection') | 19563 @DomName('Selection') |
| 19283 class Selection native "Selection" { | 19564 class Selection extends Interceptor native "Selection" { |
| 19284 | 19565 |
| 19285 @DomName('Selection.anchorNode') | 19566 @DomName('Selection.anchorNode') |
| 19286 @DocsEditable | 19567 @DocsEditable |
| 19287 final Node anchorNode; | 19568 final Node anchorNode; |
| 19288 | 19569 |
| 19289 @DomName('Selection.anchorOffset') | 19570 @DomName('Selection.anchorOffset') |
| 19290 @DocsEditable | 19571 @DocsEditable |
| 19291 final int anchorOffset; | 19572 final int anchorOffset; |
| 19292 | 19573 |
| 19293 @DomName('Selection.baseNode') | 19574 @DomName('Selection.baseNode') |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 19400 // for details. All rights reserved. Use of this source code is governed by a | 19681 // for details. All rights reserved. Use of this source code is governed by a |
| 19401 // BSD-style license that can be found in the LICENSE file. | 19682 // BSD-style license that can be found in the LICENSE file. |
| 19402 | 19683 |
| 19403 | 19684 |
| 19404 @DocsEditable | 19685 @DocsEditable |
| 19405 @DomName('HTMLShadowElement') | 19686 @DomName('HTMLShadowElement') |
| 19406 @SupportedBrowser(SupportedBrowser.CHROME, '26') | 19687 @SupportedBrowser(SupportedBrowser.CHROME, '26') |
| 19407 @Experimental | 19688 @Experimental |
| 19408 // https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/shadow/index.html#shad
ow-element | 19689 // https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/shadow/index.html#shad
ow-element |
| 19409 class ShadowElement extends _HTMLElement native "HTMLShadowElement" { | 19690 class ShadowElement extends _HTMLElement native "HTMLShadowElement" { |
| 19691 // To suppress missing implicit constructor warnings. |
| 19692 factory ShadowElement._() { throw new UnsupportedError("Not supported"); } |
| 19410 | 19693 |
| 19411 @DomName('HTMLShadowElement.HTMLShadowElement') | 19694 @DomName('HTMLShadowElement.HTMLShadowElement') |
| 19412 @DocsEditable | 19695 @DocsEditable |
| 19413 factory ShadowElement() => document.$dom_createElement("shadow"); | 19696 factory ShadowElement() => document.$dom_createElement("shadow"); |
| 19414 | 19697 |
| 19415 /// Checks if this type is supported on the current platform. | 19698 /// Checks if this type is supported on the current platform. |
| 19416 static bool get supported => Element.isTagSupported('shadow'); | 19699 static bool get supported => Element.isTagSupported('shadow'); |
| 19417 | 19700 |
| 19418 @DomName('HTMLShadowElement.olderShadowRoot') | 19701 @DomName('HTMLShadowElement.olderShadowRoot') |
| 19419 @DocsEditable | 19702 @DocsEditable |
| 19420 final ShadowRoot olderShadowRoot; | 19703 final ShadowRoot olderShadowRoot; |
| 19421 | 19704 |
| 19422 @DomName('HTMLShadowElement.resetStyleInheritance') | 19705 @DomName('HTMLShadowElement.resetStyleInheritance') |
| 19423 @DocsEditable | 19706 @DocsEditable |
| 19424 bool resetStyleInheritance; | 19707 bool resetStyleInheritance; |
| 19425 } | 19708 } |
| 19426 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 19709 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19427 // for details. All rights reserved. Use of this source code is governed by a | 19710 // for details. All rights reserved. Use of this source code is governed by a |
| 19428 // BSD-style license that can be found in the LICENSE file. | 19711 // BSD-style license that can be found in the LICENSE file. |
| 19429 | 19712 |
| 19430 // WARNING: Do not edit - generated code. | 19713 // WARNING: Do not edit - generated code. |
| 19431 | 19714 |
| 19432 | 19715 |
| 19433 @DomName('ShadowRoot') | 19716 @DomName('ShadowRoot') |
| 19434 @SupportedBrowser(SupportedBrowser.CHROME, '26') | 19717 @SupportedBrowser(SupportedBrowser.CHROME, '26') |
| 19435 @Experimental | 19718 @Experimental |
| 19436 // https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/shadow/index.html#api-
shadow-root | 19719 // https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/shadow/index.html#api-
shadow-root |
| 19437 class ShadowRoot extends DocumentFragment native "ShadowRoot" { | 19720 class ShadowRoot extends DocumentFragment native "ShadowRoot" { |
| 19721 // To suppress missing implicit constructor warnings. |
| 19722 factory ShadowRoot._() { throw new UnsupportedError("Not supported"); } |
| 19438 | 19723 |
| 19439 @DomName('ShadowRoot.activeElement') | 19724 @DomName('ShadowRoot.activeElement') |
| 19440 @DocsEditable | 19725 @DocsEditable |
| 19441 final Element activeElement; | 19726 final Element activeElement; |
| 19442 | 19727 |
| 19443 @DomName('ShadowRoot.applyAuthorStyles') | 19728 @DomName('ShadowRoot.applyAuthorStyles') |
| 19444 @DocsEditable | 19729 @DocsEditable |
| 19445 bool applyAuthorStyles; | 19730 bool applyAuthorStyles; |
| 19446 | 19731 |
| 19447 @JSName('innerHTML') | 19732 @JSName('innerHTML') |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 19489 // for details. All rights reserved. Use of this source code is governed by a | 19774 // for details. All rights reserved. Use of this source code is governed by a |
| 19490 // BSD-style license that can be found in the LICENSE file. | 19775 // BSD-style license that can be found in the LICENSE file. |
| 19491 | 19776 |
| 19492 | 19777 |
| 19493 @DocsEditable | 19778 @DocsEditable |
| 19494 @DomName('WebKitSourceBuffer') | 19779 @DomName('WebKitSourceBuffer') |
| 19495 @SupportedBrowser(SupportedBrowser.CHROME) | 19780 @SupportedBrowser(SupportedBrowser.CHROME) |
| 19496 @SupportedBrowser(SupportedBrowser.SAFARI) | 19781 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 19497 @Experimental | 19782 @Experimental |
| 19498 // https://dvcs.w3.org/hg/html-media/raw-file/tip/media-source/media-source.html
#sourcebuffer | 19783 // https://dvcs.w3.org/hg/html-media/raw-file/tip/media-source/media-source.html
#sourcebuffer |
| 19499 class SourceBuffer native "WebKitSourceBuffer" { | 19784 class SourceBuffer extends Interceptor native "WebKitSourceBuffer" { |
| 19500 | 19785 |
| 19501 @DomName('WebKitSourceBuffer.buffered') | 19786 @DomName('WebKitSourceBuffer.buffered') |
| 19502 @DocsEditable | 19787 @DocsEditable |
| 19503 final TimeRanges buffered; | 19788 final TimeRanges buffered; |
| 19504 | 19789 |
| 19505 @DomName('WebKitSourceBuffer.timestampOffset') | 19790 @DomName('WebKitSourceBuffer.timestampOffset') |
| 19506 @DocsEditable | 19791 @DocsEditable |
| 19507 num timestampOffset; | 19792 num timestampOffset; |
| 19508 | 19793 |
| 19509 @DomName('WebKitSourceBuffer.abort') | 19794 @DomName('WebKitSourceBuffer.abort') |
| (...skipping 10 matching lines...) Expand all Loading... |
| 19520 // BSD-style license that can be found in the LICENSE file. | 19805 // BSD-style license that can be found in the LICENSE file. |
| 19521 | 19806 |
| 19522 | 19807 |
| 19523 @DocsEditable | 19808 @DocsEditable |
| 19524 @DomName('WebKitSourceBufferList') | 19809 @DomName('WebKitSourceBufferList') |
| 19525 @SupportedBrowser(SupportedBrowser.CHROME) | 19810 @SupportedBrowser(SupportedBrowser.CHROME) |
| 19526 @SupportedBrowser(SupportedBrowser.SAFARI) | 19811 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 19527 @Experimental | 19812 @Experimental |
| 19528 // https://dvcs.w3.org/hg/html-media/raw-file/tip/media-source/media-source.html
#sourcebufferlist | 19813 // https://dvcs.w3.org/hg/html-media/raw-file/tip/media-source/media-source.html
#sourcebufferlist |
| 19529 class SourceBufferList extends EventTarget with ListMixin<SourceBuffer>, Immutab
leListMixin<SourceBuffer> implements JavaScriptIndexingBehavior, List<SourceBuff
er> native "WebKitSourceBufferList" { | 19814 class SourceBufferList extends EventTarget with ListMixin<SourceBuffer>, Immutab
leListMixin<SourceBuffer> implements JavaScriptIndexingBehavior, List<SourceBuff
er> native "WebKitSourceBufferList" { |
| 19815 // To suppress missing implicit constructor warnings. |
| 19816 factory SourceBufferList._() { throw new UnsupportedError("Not supported"); } |
| 19530 | 19817 |
| 19531 @DomName('WebKitSourceBufferList.length') | 19818 @DomName('WebKitSourceBufferList.length') |
| 19532 @DocsEditable | 19819 @DocsEditable |
| 19533 int get length => JS("int", "#.length", this); | 19820 int get length => JS("int", "#.length", this); |
| 19534 | 19821 |
| 19535 SourceBuffer operator[](int index) { | 19822 SourceBuffer operator[](int index) { |
| 19536 if (JS("bool", "# >>> 0 !== # || # >= #", index, | 19823 if (JS("bool", "# >>> 0 !== # || # >= #", index, |
| 19537 index, index, length)) | 19824 index, index, length)) |
| 19538 throw new RangeError.range(index, 0, length); | 19825 throw new RangeError.range(index, 0, length); |
| 19539 return JS("SourceBuffer", "#[#]", this, index); | 19826 return JS("SourceBuffer", "#[#]", this, index); |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 19595 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]) native; | 19882 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]) native; |
| 19596 } | 19883 } |
| 19597 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 19884 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19598 // for details. All rights reserved. Use of this source code is governed by a | 19885 // for details. All rights reserved. Use of this source code is governed by a |
| 19599 // BSD-style license that can be found in the LICENSE file. | 19886 // BSD-style license that can be found in the LICENSE file. |
| 19600 | 19887 |
| 19601 | 19888 |
| 19602 @DocsEditable | 19889 @DocsEditable |
| 19603 @DomName('HTMLSourceElement') | 19890 @DomName('HTMLSourceElement') |
| 19604 class SourceElement extends _HTMLElement native "HTMLSourceElement" { | 19891 class SourceElement extends _HTMLElement native "HTMLSourceElement" { |
| 19892 // To suppress missing implicit constructor warnings. |
| 19893 factory SourceElement._() { throw new UnsupportedError("Not supported"); } |
| 19605 | 19894 |
| 19606 @DomName('HTMLSourceElement.HTMLSourceElement') | 19895 @DomName('HTMLSourceElement.HTMLSourceElement') |
| 19607 @DocsEditable | 19896 @DocsEditable |
| 19608 factory SourceElement() => document.$dom_createElement("source"); | 19897 factory SourceElement() => document.$dom_createElement("source"); |
| 19609 | 19898 |
| 19610 @DomName('HTMLSourceElement.media') | 19899 @DomName('HTMLSourceElement.media') |
| 19611 @DocsEditable | 19900 @DocsEditable |
| 19612 String media; | 19901 String media; |
| 19613 | 19902 |
| 19614 @DomName('HTMLSourceElement.src') | 19903 @DomName('HTMLSourceElement.src') |
| 19615 @DocsEditable | 19904 @DocsEditable |
| 19616 String src; | 19905 String src; |
| 19617 | 19906 |
| 19618 @DomName('HTMLSourceElement.type') | 19907 @DomName('HTMLSourceElement.type') |
| 19619 @DocsEditable | 19908 @DocsEditable |
| 19620 String type; | 19909 String type; |
| 19621 } | 19910 } |
| 19622 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 19911 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19623 // for details. All rights reserved. Use of this source code is governed by a | 19912 // for details. All rights reserved. Use of this source code is governed by a |
| 19624 // BSD-style license that can be found in the LICENSE file. | 19913 // BSD-style license that can be found in the LICENSE file. |
| 19625 | 19914 |
| 19626 | 19915 |
| 19627 @DocsEditable | 19916 @DocsEditable |
| 19628 @DomName('HTMLSpanElement') | 19917 @DomName('HTMLSpanElement') |
| 19629 class SpanElement extends _HTMLElement native "HTMLSpanElement" { | 19918 class SpanElement extends _HTMLElement native "HTMLSpanElement" { |
| 19919 // To suppress missing implicit constructor warnings. |
| 19920 factory SpanElement._() { throw new UnsupportedError("Not supported"); } |
| 19630 | 19921 |
| 19631 @DomName('HTMLSpanElement.HTMLSpanElement') | 19922 @DomName('HTMLSpanElement.HTMLSpanElement') |
| 19632 @DocsEditable | 19923 @DocsEditable |
| 19633 factory SpanElement() => document.$dom_createElement("span"); | 19924 factory SpanElement() => document.$dom_createElement("span"); |
| 19634 } | 19925 } |
| 19635 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 19926 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19636 // for details. All rights reserved. Use of this source code is governed by a | 19927 // for details. All rights reserved. Use of this source code is governed by a |
| 19637 // BSD-style license that can be found in the LICENSE file. | 19928 // BSD-style license that can be found in the LICENSE file. |
| 19638 | 19929 |
| 19639 | 19930 |
| 19640 @DocsEditable | 19931 @DocsEditable |
| 19641 @DomName('SpeechGrammar') | 19932 @DomName('SpeechGrammar') |
| 19642 // https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#dfn-speechgramm
ar | 19933 // https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#dfn-speechgramm
ar |
| 19643 @Experimental | 19934 @Experimental |
| 19644 class SpeechGrammar native "SpeechGrammar" { | 19935 class SpeechGrammar extends Interceptor native "SpeechGrammar" { |
| 19645 | 19936 |
| 19646 @DomName('SpeechGrammar.SpeechGrammar') | 19937 @DomName('SpeechGrammar.SpeechGrammar') |
| 19647 @DocsEditable | 19938 @DocsEditable |
| 19648 factory SpeechGrammar() { | 19939 factory SpeechGrammar() { |
| 19649 return SpeechGrammar._create_1(); | 19940 return SpeechGrammar._create_1(); |
| 19650 } | 19941 } |
| 19651 static SpeechGrammar _create_1() => JS('SpeechGrammar', 'new SpeechGrammar()')
; | 19942 static SpeechGrammar _create_1() => JS('SpeechGrammar', 'new SpeechGrammar()')
; |
| 19652 | 19943 |
| 19653 @DomName('SpeechGrammar.src') | 19944 @DomName('SpeechGrammar.src') |
| 19654 @DocsEditable | 19945 @DocsEditable |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 19739 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 20030 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19740 // for details. All rights reserved. Use of this source code is governed by a | 20031 // for details. All rights reserved. Use of this source code is governed by a |
| 19741 // BSD-style license that can be found in the LICENSE file. | 20032 // BSD-style license that can be found in the LICENSE file. |
| 19742 | 20033 |
| 19743 | 20034 |
| 19744 @DocsEditable | 20035 @DocsEditable |
| 19745 @DomName('SpeechInputEvent') | 20036 @DomName('SpeechInputEvent') |
| 19746 // http://lists.w3.org/Archives/Public/public-xg-htmlspeech/2011Feb/att-0020/api
-draft.html#speech_input_event_interface | 20037 // http://lists.w3.org/Archives/Public/public-xg-htmlspeech/2011Feb/att-0020/api
-draft.html#speech_input_event_interface |
| 19747 @Experimental | 20038 @Experimental |
| 19748 class SpeechInputEvent extends Event native "SpeechInputEvent" { | 20039 class SpeechInputEvent extends Event native "SpeechInputEvent" { |
| 20040 // To suppress missing implicit constructor warnings. |
| 20041 factory SpeechInputEvent._() { throw new UnsupportedError("Not supported"); } |
| 19749 | 20042 |
| 19750 @DomName('SpeechInputEvent.results') | 20043 @DomName('SpeechInputEvent.results') |
| 19751 @DocsEditable | 20044 @DocsEditable |
| 19752 @Returns('_SpeechInputResultList') | 20045 @Returns('_SpeechInputResultList') |
| 19753 @Creates('_SpeechInputResultList') | 20046 @Creates('_SpeechInputResultList') |
| 19754 final List<SpeechInputResult> results; | 20047 final List<SpeechInputResult> results; |
| 19755 } | 20048 } |
| 19756 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 20049 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19757 // for details. All rights reserved. Use of this source code is governed by a | 20050 // for details. All rights reserved. Use of this source code is governed by a |
| 19758 // BSD-style license that can be found in the LICENSE file. | 20051 // BSD-style license that can be found in the LICENSE file. |
| 19759 | 20052 |
| 19760 | 20053 |
| 19761 @DocsEditable | 20054 @DocsEditable |
| 19762 @DomName('SpeechInputResult') | 20055 @DomName('SpeechInputResult') |
| 19763 // http://lists.w3.org/Archives/Public/public-xg-htmlspeech/2011Feb/att-0020/api
-draft.html#speech_input_result_interface | 20056 // http://lists.w3.org/Archives/Public/public-xg-htmlspeech/2011Feb/att-0020/api
-draft.html#speech_input_result_interface |
| 19764 @Experimental | 20057 @Experimental |
| 19765 class SpeechInputResult native "SpeechInputResult" { | 20058 class SpeechInputResult extends Interceptor native "SpeechInputResult" { |
| 19766 | 20059 |
| 19767 @DomName('SpeechInputResult.confidence') | 20060 @DomName('SpeechInputResult.confidence') |
| 19768 @DocsEditable | 20061 @DocsEditable |
| 19769 final num confidence; | 20062 final num confidence; |
| 19770 | 20063 |
| 19771 @DomName('SpeechInputResult.utterance') | 20064 @DomName('SpeechInputResult.utterance') |
| 19772 @DocsEditable | 20065 @DocsEditable |
| 19773 final String utterance; | 20066 final String utterance; |
| 19774 } | 20067 } |
| 19775 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 20068 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 19776 // for details. All rights reserved. Use of this source code is governed by a | 20069 // for details. All rights reserved. Use of this source code is governed by a |
| 19777 // BSD-style license that can be found in the LICENSE file. | 20070 // BSD-style license that can be found in the LICENSE file. |
| 19778 | 20071 |
| 19779 | 20072 |
| 19780 @DomName('SpeechRecognition') | 20073 @DomName('SpeechRecognition') |
| 19781 @SupportedBrowser(SupportedBrowser.CHROME, '25') | 20074 @SupportedBrowser(SupportedBrowser.CHROME, '25') |
| 19782 @Experimental | 20075 @Experimental |
| 19783 // https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#speechreco-sect
ion | 20076 // https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#speechreco-sect
ion |
| 19784 class SpeechRecognition extends EventTarget native "SpeechRecognition" { | 20077 class SpeechRecognition extends EventTarget native "SpeechRecognition" { |
| 20078 // To suppress missing implicit constructor warnings. |
| 20079 factory SpeechRecognition._() { throw new UnsupportedError("Not supported"); } |
| 19785 | 20080 |
| 19786 @DomName('SpeechRecognition.audioendEvent') | 20081 @DomName('SpeechRecognition.audioendEvent') |
| 19787 @DocsEditable | 20082 @DocsEditable |
| 19788 static const EventStreamProvider<Event> audioEndEvent = const EventStreamProvi
der<Event>('audioend'); | 20083 static const EventStreamProvider<Event> audioEndEvent = const EventStreamProvi
der<Event>('audioend'); |
| 19789 | 20084 |
| 19790 @DomName('SpeechRecognition.audiostartEvent') | 20085 @DomName('SpeechRecognition.audiostartEvent') |
| 19791 @DocsEditable | 20086 @DocsEditable |
| 19792 static const EventStreamProvider<Event> audioStartEvent = const EventStreamPro
vider<Event>('audiostart'); | 20087 static const EventStreamProvider<Event> audioStartEvent = const EventStreamPro
vider<Event>('audiostart'); |
| 19793 | 20088 |
| 19794 @DomName('SpeechRecognition.endEvent') | 20089 @DomName('SpeechRecognition.endEvent') |
| (...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 19928 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 20223 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19929 // for details. All rights reserved. Use of this source code is governed by a | 20224 // for details. All rights reserved. Use of this source code is governed by a |
| 19930 // BSD-style license that can be found in the LICENSE file. | 20225 // BSD-style license that can be found in the LICENSE file. |
| 19931 | 20226 |
| 19932 | 20227 |
| 19933 @DocsEditable | 20228 @DocsEditable |
| 19934 @DomName('SpeechRecognitionAlternative') | 20229 @DomName('SpeechRecognitionAlternative') |
| 19935 @SupportedBrowser(SupportedBrowser.CHROME, '25') | 20230 @SupportedBrowser(SupportedBrowser.CHROME, '25') |
| 19936 @Experimental | 20231 @Experimental |
| 19937 // https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#speechrecogniti
onalternative | 20232 // https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#speechrecogniti
onalternative |
| 19938 class SpeechRecognitionAlternative native "SpeechRecognitionAlternative" { | 20233 class SpeechRecognitionAlternative extends Interceptor native "SpeechRecognition
Alternative" { |
| 19939 | 20234 |
| 19940 @DomName('SpeechRecognitionAlternative.confidence') | 20235 @DomName('SpeechRecognitionAlternative.confidence') |
| 19941 @DocsEditable | 20236 @DocsEditable |
| 19942 final num confidence; | 20237 final num confidence; |
| 19943 | 20238 |
| 19944 @DomName('SpeechRecognitionAlternative.transcript') | 20239 @DomName('SpeechRecognitionAlternative.transcript') |
| 19945 @DocsEditable | 20240 @DocsEditable |
| 19946 final String transcript; | 20241 final String transcript; |
| 19947 } | 20242 } |
| 19948 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 20243 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19949 // for details. All rights reserved. Use of this source code is governed by a | 20244 // for details. All rights reserved. Use of this source code is governed by a |
| 19950 // BSD-style license that can be found in the LICENSE file. | 20245 // BSD-style license that can be found in the LICENSE file. |
| 19951 | 20246 |
| 19952 | 20247 |
| 19953 @DocsEditable | 20248 @DocsEditable |
| 19954 @DomName('SpeechRecognitionError') | 20249 @DomName('SpeechRecognitionError') |
| 19955 @SupportedBrowser(SupportedBrowser.CHROME, '25') | 20250 @SupportedBrowser(SupportedBrowser.CHROME, '25') |
| 19956 @Experimental | 20251 @Experimental |
| 19957 // https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#speechreco-erro
r | 20252 // https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#speechreco-erro
r |
| 19958 class SpeechRecognitionError extends Event native "SpeechRecognitionError" { | 20253 class SpeechRecognitionError extends Event native "SpeechRecognitionError" { |
| 20254 // To suppress missing implicit constructor warnings. |
| 20255 factory SpeechRecognitionError._() { throw new UnsupportedError("Not supported
"); } |
| 19959 | 20256 |
| 19960 @DomName('SpeechRecognitionError.error') | 20257 @DomName('SpeechRecognitionError.error') |
| 19961 @DocsEditable | 20258 @DocsEditable |
| 19962 final String error; | 20259 final String error; |
| 19963 | 20260 |
| 19964 @DomName('SpeechRecognitionError.message') | 20261 @DomName('SpeechRecognitionError.message') |
| 19965 @DocsEditable | 20262 @DocsEditable |
| 19966 final String message; | 20263 final String message; |
| 19967 } | 20264 } |
| 19968 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 20265 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19969 // for details. All rights reserved. Use of this source code is governed by a | 20266 // for details. All rights reserved. Use of this source code is governed by a |
| 19970 // BSD-style license that can be found in the LICENSE file. | 20267 // BSD-style license that can be found in the LICENSE file. |
| 19971 | 20268 |
| 19972 | 20269 |
| 19973 @DocsEditable | 20270 @DocsEditable |
| 19974 @DomName('SpeechRecognitionEvent') | 20271 @DomName('SpeechRecognitionEvent') |
| 19975 @SupportedBrowser(SupportedBrowser.CHROME, '25') | 20272 @SupportedBrowser(SupportedBrowser.CHROME, '25') |
| 19976 @Experimental | 20273 @Experimental |
| 19977 // https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#speechreco-even
t | 20274 // https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#speechreco-even
t |
| 19978 class SpeechRecognitionEvent extends Event native "SpeechRecognitionEvent" { | 20275 class SpeechRecognitionEvent extends Event native "SpeechRecognitionEvent" { |
| 20276 // To suppress missing implicit constructor warnings. |
| 20277 factory SpeechRecognitionEvent._() { throw new UnsupportedError("Not supported
"); } |
| 19979 | 20278 |
| 19980 @DomName('SpeechRecognitionEvent.emma') | 20279 @DomName('SpeechRecognitionEvent.emma') |
| 19981 @DocsEditable | 20280 @DocsEditable |
| 19982 final Document emma; | 20281 final Document emma; |
| 19983 | 20282 |
| 19984 @DomName('SpeechRecognitionEvent.interpretation') | 20283 @DomName('SpeechRecognitionEvent.interpretation') |
| 19985 @DocsEditable | 20284 @DocsEditable |
| 19986 final Document interpretation; | 20285 final Document interpretation; |
| 19987 | 20286 |
| 19988 @DomName('SpeechRecognitionEvent.resultIndex') | 20287 @DomName('SpeechRecognitionEvent.resultIndex') |
| 19989 @DocsEditable | 20288 @DocsEditable |
| 19990 final int resultIndex; | 20289 final int resultIndex; |
| 19991 | 20290 |
| 19992 @DomName('SpeechRecognitionEvent.results') | 20291 @DomName('SpeechRecognitionEvent.results') |
| 19993 @DocsEditable | 20292 @DocsEditable |
| 19994 @Returns('_SpeechRecognitionResultList') | 20293 @Returns('_SpeechRecognitionResultList') |
| 19995 @Creates('_SpeechRecognitionResultList') | 20294 @Creates('_SpeechRecognitionResultList') |
| 19996 final List<SpeechRecognitionResult> results; | 20295 final List<SpeechRecognitionResult> results; |
| 19997 } | 20296 } |
| 19998 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 20297 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19999 // for details. All rights reserved. Use of this source code is governed by a | 20298 // for details. All rights reserved. Use of this source code is governed by a |
| 20000 // BSD-style license that can be found in the LICENSE file. | 20299 // BSD-style license that can be found in the LICENSE file. |
| 20001 | 20300 |
| 20002 | 20301 |
| 20003 @DocsEditable | 20302 @DocsEditable |
| 20004 @DomName('SpeechRecognitionResult') | 20303 @DomName('SpeechRecognitionResult') |
| 20005 @SupportedBrowser(SupportedBrowser.CHROME, '25') | 20304 @SupportedBrowser(SupportedBrowser.CHROME, '25') |
| 20006 @Experimental | 20305 @Experimental |
| 20007 // https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#speechrecogniti
onresult | 20306 // https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#speechrecogniti
onresult |
| 20008 class SpeechRecognitionResult native "SpeechRecognitionResult" { | 20307 class SpeechRecognitionResult extends Interceptor native "SpeechRecognitionResul
t" { |
| 20009 | 20308 |
| 20010 @DomName('SpeechRecognitionResult.isFinal') | 20309 @DomName('SpeechRecognitionResult.isFinal') |
| 20011 @DocsEditable | 20310 @DocsEditable |
| 20012 final bool isFinal; | 20311 final bool isFinal; |
| 20013 | 20312 |
| 20014 @DomName('SpeechRecognitionResult.length') | 20313 @DomName('SpeechRecognitionResult.length') |
| 20015 @DocsEditable | 20314 @DocsEditable |
| 20016 final int length; | 20315 final int length; |
| 20017 | 20316 |
| 20018 @DomName('SpeechRecognitionResult.item') | 20317 @DomName('SpeechRecognitionResult.item') |
| 20019 @DocsEditable | 20318 @DocsEditable |
| 20020 SpeechRecognitionAlternative item(int index) native; | 20319 SpeechRecognitionAlternative item(int index) native; |
| 20021 } | 20320 } |
| 20022 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 20321 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 20023 // for details. All rights reserved. Use of this source code is governed by a | 20322 // for details. All rights reserved. Use of this source code is governed by a |
| 20024 // BSD-style license that can be found in the LICENSE file. | 20323 // BSD-style license that can be found in the LICENSE file. |
| 20025 | 20324 |
| 20026 | 20325 |
| 20027 @DocsEditable | 20326 @DocsEditable |
| 20028 @DomName('SpeechSynthesis') | 20327 @DomName('SpeechSynthesis') |
| 20029 // https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#tts-section | 20328 // https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#tts-section |
| 20030 @Experimental | 20329 @Experimental |
| 20031 class SpeechSynthesis native "SpeechSynthesis" { | 20330 class SpeechSynthesis extends Interceptor native "SpeechSynthesis" { |
| 20032 | 20331 |
| 20033 @DomName('SpeechSynthesis.paused') | 20332 @DomName('SpeechSynthesis.paused') |
| 20034 @DocsEditable | 20333 @DocsEditable |
| 20035 final bool paused; | 20334 final bool paused; |
| 20036 | 20335 |
| 20037 @DomName('SpeechSynthesis.pending') | 20336 @DomName('SpeechSynthesis.pending') |
| 20038 @DocsEditable | 20337 @DocsEditable |
| 20039 final bool pending; | 20338 final bool pending; |
| 20040 | 20339 |
| 20041 @DomName('SpeechSynthesis.speaking') | 20340 @DomName('SpeechSynthesis.speaking') |
| (...skipping 23 matching lines...) Expand all Loading... |
| 20065 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 20364 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 20066 // for details. All rights reserved. Use of this source code is governed by a | 20365 // for details. All rights reserved. Use of this source code is governed by a |
| 20067 // BSD-style license that can be found in the LICENSE file. | 20366 // BSD-style license that can be found in the LICENSE file. |
| 20068 | 20367 |
| 20069 | 20368 |
| 20070 @DocsEditable | 20369 @DocsEditable |
| 20071 @DomName('SpeechSynthesisEvent') | 20370 @DomName('SpeechSynthesisEvent') |
| 20072 // https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#tts-section | 20371 // https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#tts-section |
| 20073 @Experimental | 20372 @Experimental |
| 20074 class SpeechSynthesisEvent extends Event native "SpeechSynthesisEvent" { | 20373 class SpeechSynthesisEvent extends Event native "SpeechSynthesisEvent" { |
| 20374 // To suppress missing implicit constructor warnings. |
| 20375 factory SpeechSynthesisEvent._() { throw new UnsupportedError("Not supported")
; } |
| 20075 | 20376 |
| 20076 @DomName('SpeechSynthesisEvent.charIndex') | 20377 @DomName('SpeechSynthesisEvent.charIndex') |
| 20077 @DocsEditable | 20378 @DocsEditable |
| 20078 final int charIndex; | 20379 final int charIndex; |
| 20079 | 20380 |
| 20080 @DomName('SpeechSynthesisEvent.elapsedTime') | 20381 @DomName('SpeechSynthesisEvent.elapsedTime') |
| 20081 @DocsEditable | 20382 @DocsEditable |
| 20082 final num elapsedTime; | 20383 final num elapsedTime; |
| 20083 | 20384 |
| 20084 @DomName('SpeechSynthesisEvent.name') | 20385 @DomName('SpeechSynthesisEvent.name') |
| 20085 @DocsEditable | 20386 @DocsEditable |
| 20086 final String name; | 20387 final String name; |
| 20087 } | 20388 } |
| 20088 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 20389 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 20089 // for details. All rights reserved. Use of this source code is governed by a | 20390 // for details. All rights reserved. Use of this source code is governed by a |
| 20090 // BSD-style license that can be found in the LICENSE file. | 20391 // BSD-style license that can be found in the LICENSE file. |
| 20091 | 20392 |
| 20092 | 20393 |
| 20093 @DocsEditable | 20394 @DocsEditable |
| 20094 @DomName('SpeechSynthesisUtterance') | 20395 @DomName('SpeechSynthesisUtterance') |
| 20095 // https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#tts-section | 20396 // https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#tts-section |
| 20096 @Experimental | 20397 @Experimental |
| 20097 class SpeechSynthesisUtterance extends EventTarget native "SpeechSynthesisUttera
nce" { | 20398 class SpeechSynthesisUtterance extends EventTarget native "SpeechSynthesisUttera
nce" { |
| 20399 // To suppress missing implicit constructor warnings. |
| 20400 factory SpeechSynthesisUtterance._() { throw new UnsupportedError("Not support
ed"); } |
| 20098 | 20401 |
| 20099 @DomName('SpeechSynthesisUtterance.boundaryEvent') | 20402 @DomName('SpeechSynthesisUtterance.boundaryEvent') |
| 20100 @DocsEditable | 20403 @DocsEditable |
| 20101 static const EventStreamProvider<SpeechSynthesisEvent> boundaryEvent = const E
ventStreamProvider<SpeechSynthesisEvent>('boundary'); | 20404 static const EventStreamProvider<SpeechSynthesisEvent> boundaryEvent = const E
ventStreamProvider<SpeechSynthesisEvent>('boundary'); |
| 20102 | 20405 |
| 20103 @DomName('SpeechSynthesisUtterance.endEvent') | 20406 @DomName('SpeechSynthesisUtterance.endEvent') |
| 20104 @DocsEditable | 20407 @DocsEditable |
| 20105 static const EventStreamProvider<SpeechSynthesisEvent> endEvent = const EventS
treamProvider<SpeechSynthesisEvent>('end'); | 20408 static const EventStreamProvider<SpeechSynthesisEvent> endEvent = const EventS
treamProvider<SpeechSynthesisEvent>('end'); |
| 20106 | 20409 |
| 20107 @DomName('SpeechSynthesisUtterance.errorEvent') | 20410 @DomName('SpeechSynthesisUtterance.errorEvent') |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 20189 } | 20492 } |
| 20190 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 20493 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 20191 // for details. All rights reserved. Use of this source code is governed by a | 20494 // for details. All rights reserved. Use of this source code is governed by a |
| 20192 // BSD-style license that can be found in the LICENSE file. | 20495 // BSD-style license that can be found in the LICENSE file. |
| 20193 | 20496 |
| 20194 | 20497 |
| 20195 @DocsEditable | 20498 @DocsEditable |
| 20196 @DomName('SpeechSynthesisVoice') | 20499 @DomName('SpeechSynthesisVoice') |
| 20197 // https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#tts-section | 20500 // https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#tts-section |
| 20198 @Experimental | 20501 @Experimental |
| 20199 class SpeechSynthesisVoice native "SpeechSynthesisVoice" { | 20502 class SpeechSynthesisVoice extends Interceptor native "SpeechSynthesisVoice" { |
| 20200 | 20503 |
| 20201 @JSName('default') | 20504 @JSName('default') |
| 20202 @DomName('SpeechSynthesisVoice.default') | 20505 @DomName('SpeechSynthesisVoice.default') |
| 20203 @DocsEditable | 20506 @DocsEditable |
| 20204 final bool defaultValue; | 20507 final bool defaultValue; |
| 20205 | 20508 |
| 20206 @DomName('SpeechSynthesisVoice.lang') | 20509 @DomName('SpeechSynthesisVoice.lang') |
| 20207 @DocsEditable | 20510 @DocsEditable |
| 20208 final String lang; | 20511 final String lang; |
| 20209 | 20512 |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 20245 * assert(window.localStorage.length == 0); | 20548 * assert(window.localStorage.length == 0); |
| 20246 * | 20549 * |
| 20247 * For more examples of using this API, see | 20550 * For more examples of using this API, see |
| 20248 * [localstorage_test.dart](http://code.google.com/p/dart/source/browse/branches
/bleeding_edge/dart/tests/html/localstorage_test.dart). | 20551 * [localstorage_test.dart](http://code.google.com/p/dart/source/browse/branches
/bleeding_edge/dart/tests/html/localstorage_test.dart). |
| 20249 * For details on using the Map API, see the | 20552 * For details on using the Map API, see the |
| 20250 * [Maps](http://www.dartlang.org/docs/library-tour/#maps-aka-dictionaries-or-ha
shes) | 20553 * [Maps](http://www.dartlang.org/docs/library-tour/#maps-aka-dictionaries-or-ha
shes) |
| 20251 * section of the library tour. | 20554 * section of the library tour. |
| 20252 */ | 20555 */ |
| 20253 @DomName('Storage') | 20556 @DomName('Storage') |
| 20254 @Unstable | 20557 @Unstable |
| 20255 class Storage implements Map<String, String> | 20558 class Storage extends Interceptor |
| 20256 native "Storage" { | 20559 implements Map<String, String> native "Storage" { |
| 20257 | 20560 |
| 20258 // TODO(nweiz): update this when maps support lazy iteration | 20561 // TODO(nweiz): update this when maps support lazy iteration |
| 20259 bool containsValue(String value) => values.any((e) => e == value); | 20562 bool containsValue(String value) => values.any((e) => e == value); |
| 20260 | 20563 |
| 20261 bool containsKey(String key) => $dom_getItem(key) != null; | 20564 bool containsKey(String key) => $dom_getItem(key) != null; |
| 20262 | 20565 |
| 20263 String operator [](String key) => $dom_getItem(key); | 20566 String operator [](String key) => $dom_getItem(key); |
| 20264 | 20567 |
| 20265 void operator []=(String key, String value) { $dom_setItem(key, value); } | 20568 void operator []=(String key, String value) { $dom_setItem(key, value); } |
| 20266 | 20569 |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 20370 class StorageEvent extends Event native "StorageEvent" { | 20673 class StorageEvent extends Event native "StorageEvent" { |
| 20371 factory StorageEvent(String type, | 20674 factory StorageEvent(String type, |
| 20372 {bool canBubble: false, bool cancelable: false, String key, String oldValue, | 20675 {bool canBubble: false, bool cancelable: false, String key, String oldValue, |
| 20373 String newValue, String url, Storage storageArea}) { | 20676 String newValue, String url, Storage storageArea}) { |
| 20374 | 20677 |
| 20375 var e = document.$dom_createEvent("StorageEvent"); | 20678 var e = document.$dom_createEvent("StorageEvent"); |
| 20376 e.$dom_initStorageEvent(type, canBubble, cancelable, key, oldValue, | 20679 e.$dom_initStorageEvent(type, canBubble, cancelable, key, oldValue, |
| 20377 newValue, url, storageArea); | 20680 newValue, url, storageArea); |
| 20378 return e; | 20681 return e; |
| 20379 } | 20682 } |
| 20683 // To suppress missing implicit constructor warnings. |
| 20684 factory StorageEvent._() { throw new UnsupportedError("Not supported"); } |
| 20380 | 20685 |
| 20381 @DomName('StorageEvent.key') | 20686 @DomName('StorageEvent.key') |
| 20382 @DocsEditable | 20687 @DocsEditable |
| 20383 final String key; | 20688 final String key; |
| 20384 | 20689 |
| 20385 @DomName('StorageEvent.newValue') | 20690 @DomName('StorageEvent.newValue') |
| 20386 @DocsEditable | 20691 @DocsEditable |
| 20387 final String newValue; | 20692 final String newValue; |
| 20388 | 20693 |
| 20389 @DomName('StorageEvent.oldValue') | 20694 @DomName('StorageEvent.oldValue') |
| (...skipping 15 matching lines...) Expand all Loading... |
| 20405 | 20710 |
| 20406 } | 20711 } |
| 20407 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 20712 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 20408 // for details. All rights reserved. Use of this source code is governed by a | 20713 // for details. All rights reserved. Use of this source code is governed by a |
| 20409 // BSD-style license that can be found in the LICENSE file. | 20714 // BSD-style license that can be found in the LICENSE file. |
| 20410 | 20715 |
| 20411 | 20716 |
| 20412 @DomName('StorageInfo') | 20717 @DomName('StorageInfo') |
| 20413 // http://www.w3.org/TR/file-system-api/ | 20718 // http://www.w3.org/TR/file-system-api/ |
| 20414 @Experimental | 20719 @Experimental |
| 20415 class StorageInfo native "StorageInfo" { | 20720 class StorageInfo extends Interceptor native "StorageInfo" { |
| 20416 | 20721 |
| 20417 @DomName('StorageInfo.PERSISTENT') | 20722 @DomName('StorageInfo.PERSISTENT') |
| 20418 @DocsEditable | 20723 @DocsEditable |
| 20419 static const int PERSISTENT = 1; | 20724 static const int PERSISTENT = 1; |
| 20420 | 20725 |
| 20421 @DomName('StorageInfo.TEMPORARY') | 20726 @DomName('StorageInfo.TEMPORARY') |
| 20422 @DocsEditable | 20727 @DocsEditable |
| 20423 static const int TEMPORARY = 0; | 20728 static const int TEMPORARY = 0; |
| 20424 | 20729 |
| 20425 @JSName('queryUsageAndQuota') | 20730 @JSName('queryUsageAndQuota') |
| (...skipping 13 matching lines...) Expand all Loading... |
| 20439 var completer = new Completer<int>(); | 20744 var completer = new Completer<int>(); |
| 20440 _requestQuota(storageType, newQuotaInBytes, | 20745 _requestQuota(storageType, newQuotaInBytes, |
| 20441 (value) { completer.complete(value); }, | 20746 (value) { completer.complete(value); }, |
| 20442 (error) { completer.completeError(error); }); | 20747 (error) { completer.completeError(error); }); |
| 20443 return completer.future; | 20748 return completer.future; |
| 20444 } | 20749 } |
| 20445 | 20750 |
| 20446 Future<StorageInfoUsage> queryUsageAndQuota(int storageType) { | 20751 Future<StorageInfoUsage> queryUsageAndQuota(int storageType) { |
| 20447 var completer = new Completer<StorageInfoUsage>(); | 20752 var completer = new Completer<StorageInfoUsage>(); |
| 20448 _queryUsageAndQuota(storageType, | 20753 _queryUsageAndQuota(storageType, |
| 20449 (currentUsageInBytes, currentQuotaInBytes) { | 20754 (currentUsageInBytes, currentQuotaInBytes) { |
| 20450 completer.complete(new StorageInfoUsage(currentUsageInBytes, | 20755 completer.complete(new StorageInfoUsage(currentUsageInBytes, |
| 20451 currentQuotaInBytes)); | 20756 currentQuotaInBytes)); |
| 20452 }, | 20757 }, |
| 20453 (error) { completer.completeError(error); }); | 20758 (error) { completer.completeError(error); }); |
| 20454 return completer.future; | 20759 return completer.future; |
| 20455 } | 20760 } |
| 20456 } | 20761 } |
| 20457 | 20762 |
| 20458 /** | 20763 /** |
| 20459 * A simple container class for the two values that are returned from the | 20764 * A simple container class for the two values that are returned from the |
| 20460 * futures in requestQuota and queryUsageAndQuota. | 20765 * futures in requestQuota and queryUsageAndQuota. |
| 20461 */ | 20766 */ |
| 20462 class StorageInfoUsage { | 20767 class StorageInfoUsage { |
| 20463 final int currentUsageInBytes; | 20768 final int currentUsageInBytes; |
| 20464 final int currentQuotaInBytes; | 20769 final int currentQuotaInBytes; |
| 20465 const StorageInfoUsage(this.currentUsageInBytes, this.currentQuotaInBytes); | 20770 const StorageInfoUsage(this.currentUsageInBytes, this.currentQuotaInBytes); |
| 20466 } | 20771 } |
| 20467 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 20772 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 20468 // for details. All rights reserved. Use of this source code is governed by a | 20773 // for details. All rights reserved. Use of this source code is governed by a |
| 20469 // BSD-style license that can be found in the LICENSE file. | 20774 // BSD-style license that can be found in the LICENSE file. |
| 20470 | 20775 |
| 20471 | 20776 |
| 20472 @DocsEditable | 20777 @DocsEditable |
| 20473 @DomName('StorageQuota') | 20778 @DomName('StorageQuota') |
| 20474 // http://www.w3.org/TR/quota-api/#idl-def-StorageQuota | 20779 // http://www.w3.org/TR/quota-api/#idl-def-StorageQuota |
| 20475 @Experimental | 20780 @Experimental |
| 20476 class StorageQuota native "StorageQuota" { | 20781 class StorageQuota extends Interceptor native "StorageQuota" { |
| 20477 | 20782 |
| 20478 @DomName('StorageQuota.queryUsageAndQuota') | 20783 @DomName('StorageQuota.queryUsageAndQuota') |
| 20479 @DocsEditable | 20784 @DocsEditable |
| 20480 void queryUsageAndQuota(StorageUsageCallback usageCallback, [StorageErrorCallb
ack errorCallback]) native; | 20785 void queryUsageAndQuota(StorageUsageCallback usageCallback, [StorageErrorCallb
ack errorCallback]) native; |
| 20481 | 20786 |
| 20482 @DomName('StorageQuota.requestQuota') | 20787 @DomName('StorageQuota.requestQuota') |
| 20483 @DocsEditable | 20788 @DocsEditable |
| 20484 void requestQuota(int newQuotaInBytes, [StorageQuotaCallback quotaCallback, St
orageErrorCallback errorCallback]) native; | 20789 void requestQuota(int newQuotaInBytes, [StorageQuotaCallback quotaCallback, St
orageErrorCallback errorCallback]) native; |
| 20485 } | 20790 } |
| 20486 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 20791 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| (...skipping 30 matching lines...) Expand all Loading... |
| 20517 @Experimental | 20822 @Experimental |
| 20518 typedef void _StringCallback(String data); | 20823 typedef void _StringCallback(String data); |
| 20519 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 20824 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 20520 // for details. All rights reserved. Use of this source code is governed by a | 20825 // for details. All rights reserved. Use of this source code is governed by a |
| 20521 // BSD-style license that can be found in the LICENSE file. | 20826 // BSD-style license that can be found in the LICENSE file. |
| 20522 | 20827 |
| 20523 | 20828 |
| 20524 @DocsEditable | 20829 @DocsEditable |
| 20525 @DomName('HTMLStyleElement') | 20830 @DomName('HTMLStyleElement') |
| 20526 class StyleElement extends _HTMLElement native "HTMLStyleElement" { | 20831 class StyleElement extends _HTMLElement native "HTMLStyleElement" { |
| 20832 // To suppress missing implicit constructor warnings. |
| 20833 factory StyleElement._() { throw new UnsupportedError("Not supported"); } |
| 20527 | 20834 |
| 20528 @DomName('HTMLStyleElement.HTMLStyleElement') | 20835 @DomName('HTMLStyleElement.HTMLStyleElement') |
| 20529 @DocsEditable | 20836 @DocsEditable |
| 20530 factory StyleElement() => document.$dom_createElement("style"); | 20837 factory StyleElement() => document.$dom_createElement("style"); |
| 20531 | 20838 |
| 20532 @DomName('HTMLStyleElement.disabled') | 20839 @DomName('HTMLStyleElement.disabled') |
| 20533 @DocsEditable | 20840 @DocsEditable |
| 20534 bool disabled; | 20841 bool disabled; |
| 20535 | 20842 |
| 20536 @DomName('HTMLStyleElement.media') | 20843 @DomName('HTMLStyleElement.media') |
| (...skipping 14 matching lines...) Expand all Loading... |
| 20551 } | 20858 } |
| 20552 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 20859 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 20553 // for details. All rights reserved. Use of this source code is governed by a | 20860 // for details. All rights reserved. Use of this source code is governed by a |
| 20554 // BSD-style license that can be found in the LICENSE file. | 20861 // BSD-style license that can be found in the LICENSE file. |
| 20555 | 20862 |
| 20556 | 20863 |
| 20557 @DocsEditable | 20864 @DocsEditable |
| 20558 @DomName('StyleMedia') | 20865 @DomName('StyleMedia') |
| 20559 // http://developer.apple.com/library/safari/#documentation/SafariDOMAdditions/R
eference/StyleMedia/StyleMedia/StyleMedia.html | 20866 // http://developer.apple.com/library/safari/#documentation/SafariDOMAdditions/R
eference/StyleMedia/StyleMedia/StyleMedia.html |
| 20560 @Experimental // nonstandard | 20867 @Experimental // nonstandard |
| 20561 class StyleMedia native "StyleMedia" { | 20868 class StyleMedia extends Interceptor native "StyleMedia" { |
| 20562 | 20869 |
| 20563 @DomName('StyleMedia.type') | 20870 @DomName('StyleMedia.type') |
| 20564 @DocsEditable | 20871 @DocsEditable |
| 20565 final String type; | 20872 final String type; |
| 20566 | 20873 |
| 20567 @DomName('StyleMedia.matchMedium') | 20874 @DomName('StyleMedia.matchMedium') |
| 20568 @DocsEditable | 20875 @DocsEditable |
| 20569 bool matchMedium(String mediaquery) native; | 20876 bool matchMedium(String mediaquery) native; |
| 20570 } | 20877 } |
| 20571 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 20878 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 20572 // for details. All rights reserved. Use of this source code is governed by a | 20879 // for details. All rights reserved. Use of this source code is governed by a |
| 20573 // BSD-style license that can be found in the LICENSE file. | 20880 // BSD-style license that can be found in the LICENSE file. |
| 20574 | 20881 |
| 20575 | 20882 |
| 20576 @DocsEditable | 20883 @DocsEditable |
| 20577 @DomName('StyleSheet') | 20884 @DomName('StyleSheet') |
| 20578 class StyleSheet native "StyleSheet" { | 20885 class StyleSheet extends Interceptor native "StyleSheet" { |
| 20579 | 20886 |
| 20580 @DomName('StyleSheet.disabled') | 20887 @DomName('StyleSheet.disabled') |
| 20581 @DocsEditable | 20888 @DocsEditable |
| 20582 bool disabled; | 20889 bool disabled; |
| 20583 | 20890 |
| 20584 @DomName('StyleSheet.href') | 20891 @DomName('StyleSheet.href') |
| 20585 @DocsEditable | 20892 @DocsEditable |
| 20586 final String href; | 20893 final String href; |
| 20587 | 20894 |
| 20588 @DomName('StyleSheet.media') | 20895 @DomName('StyleSheet.media') |
| (...skipping 17 matching lines...) Expand all Loading... |
| 20606 final String type; | 20913 final String type; |
| 20607 } | 20914 } |
| 20608 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 20915 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 20609 // for details. All rights reserved. Use of this source code is governed by a | 20916 // for details. All rights reserved. Use of this source code is governed by a |
| 20610 // BSD-style license that can be found in the LICENSE file. | 20917 // BSD-style license that can be found in the LICENSE file. |
| 20611 | 20918 |
| 20612 | 20919 |
| 20613 @DocsEditable | 20920 @DocsEditable |
| 20614 @DomName('HTMLTableCaptionElement') | 20921 @DomName('HTMLTableCaptionElement') |
| 20615 class TableCaptionElement extends _HTMLElement native "HTMLTableCaptionElement"
{ | 20922 class TableCaptionElement extends _HTMLElement native "HTMLTableCaptionElement"
{ |
| 20923 // To suppress missing implicit constructor warnings. |
| 20924 factory TableCaptionElement._() { throw new UnsupportedError("Not supported");
} |
| 20616 | 20925 |
| 20617 @DomName('HTMLTableCaptionElement.HTMLTableCaptionElement') | 20926 @DomName('HTMLTableCaptionElement.HTMLTableCaptionElement') |
| 20618 @DocsEditable | 20927 @DocsEditable |
| 20619 factory TableCaptionElement() => document.$dom_createElement("caption"); | 20928 factory TableCaptionElement() => document.$dom_createElement("caption"); |
| 20620 } | 20929 } |
| 20621 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 20930 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 20622 // for details. All rights reserved. Use of this source code is governed by a | 20931 // for details. All rights reserved. Use of this source code is governed by a |
| 20623 // BSD-style license that can be found in the LICENSE file. | 20932 // BSD-style license that can be found in the LICENSE file. |
| 20624 | 20933 |
| 20625 | 20934 |
| 20626 @DocsEditable | 20935 @DocsEditable |
| 20627 @DomName('HTMLTableCellElement') | 20936 @DomName('HTMLTableCellElement') |
| 20628 class TableCellElement extends _HTMLElement native "HTMLTableCellElement,HTMLTab
leDataCellElement,HTMLTableHeaderCellElement" { | 20937 class TableCellElement extends _HTMLElement native "HTMLTableCellElement,HTMLTab
leDataCellElement,HTMLTableHeaderCellElement" { |
| 20938 // To suppress missing implicit constructor warnings. |
| 20939 factory TableCellElement._() { throw new UnsupportedError("Not supported"); } |
| 20629 | 20940 |
| 20630 @DomName('HTMLTableCellElement.HTMLTableCellElement') | 20941 @DomName('HTMLTableCellElement.HTMLTableCellElement') |
| 20631 @DocsEditable | 20942 @DocsEditable |
| 20632 factory TableCellElement() => document.$dom_createElement("td"); | 20943 factory TableCellElement() => document.$dom_createElement("td"); |
| 20633 | 20944 |
| 20634 @DomName('HTMLTableCellElement.cellIndex') | 20945 @DomName('HTMLTableCellElement.cellIndex') |
| 20635 @DocsEditable | 20946 @DocsEditable |
| 20636 final int cellIndex; | 20947 final int cellIndex; |
| 20637 | 20948 |
| 20638 @DomName('HTMLTableCellElement.colSpan') | 20949 @DomName('HTMLTableCellElement.colSpan') |
| 20639 @DocsEditable | 20950 @DocsEditable |
| 20640 int colSpan; | 20951 int colSpan; |
| 20641 | 20952 |
| 20642 @DomName('HTMLTableCellElement.headers') | 20953 @DomName('HTMLTableCellElement.headers') |
| 20643 @DocsEditable | 20954 @DocsEditable |
| 20644 String headers; | 20955 String headers; |
| 20645 | 20956 |
| 20646 @DomName('HTMLTableCellElement.rowSpan') | 20957 @DomName('HTMLTableCellElement.rowSpan') |
| 20647 @DocsEditable | 20958 @DocsEditable |
| 20648 int rowSpan; | 20959 int rowSpan; |
| 20649 } | 20960 } |
| 20650 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 20961 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 20651 // for details. All rights reserved. Use of this source code is governed by a | 20962 // for details. All rights reserved. Use of this source code is governed by a |
| 20652 // BSD-style license that can be found in the LICENSE file. | 20963 // BSD-style license that can be found in the LICENSE file. |
| 20653 | 20964 |
| 20654 | 20965 |
| 20655 @DocsEditable | 20966 @DocsEditable |
| 20656 @DomName('HTMLTableColElement') | 20967 @DomName('HTMLTableColElement') |
| 20657 class TableColElement extends _HTMLElement native "HTMLTableColElement" { | 20968 class TableColElement extends _HTMLElement native "HTMLTableColElement" { |
| 20969 // To suppress missing implicit constructor warnings. |
| 20970 factory TableColElement._() { throw new UnsupportedError("Not supported"); } |
| 20658 | 20971 |
| 20659 @DomName('HTMLTableColElement.HTMLTableColElement') | 20972 @DomName('HTMLTableColElement.HTMLTableColElement') |
| 20660 @DocsEditable | 20973 @DocsEditable |
| 20661 factory TableColElement() => document.$dom_createElement("col"); | 20974 factory TableColElement() => document.$dom_createElement("col"); |
| 20662 | 20975 |
| 20663 @DomName('HTMLTableColElement.span') | 20976 @DomName('HTMLTableColElement.span') |
| 20664 @DocsEditable | 20977 @DocsEditable |
| 20665 int span; | 20978 int span; |
| 20666 } | 20979 } |
| 20667 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 20980 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| (...skipping 28 matching lines...) Expand all Loading... |
| 20696 return this._createTBody(); | 21009 return this._createTBody(); |
| 20697 } | 21010 } |
| 20698 var tbody = new Element.tag('tbody'); | 21011 var tbody = new Element.tag('tbody'); |
| 20699 this.children.add(tbody); | 21012 this.children.add(tbody); |
| 20700 return tbody; | 21013 return tbody; |
| 20701 } | 21014 } |
| 20702 | 21015 |
| 20703 @JSName('createTBody') | 21016 @JSName('createTBody') |
| 20704 TableSectionElement _createTBody() native; | 21017 TableSectionElement _createTBody() native; |
| 20705 | 21018 |
| 21019 // To suppress missing implicit constructor warnings. |
| 21020 factory TableElement._() { throw new UnsupportedError("Not supported"); } |
| 20706 | 21021 |
| 20707 @DomName('HTMLTableElement.HTMLTableElement') | 21022 @DomName('HTMLTableElement.HTMLTableElement') |
| 20708 @DocsEditable | 21023 @DocsEditable |
| 20709 factory TableElement() => document.$dom_createElement("table"); | 21024 factory TableElement() => document.$dom_createElement("table"); |
| 20710 | 21025 |
| 20711 @DomName('HTMLTableElement.border') | 21026 @DomName('HTMLTableElement.border') |
| 20712 @DocsEditable | 21027 @DocsEditable |
| 20713 // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#H
TMLTableElement-partial | 21028 // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#H
TMLTableElement-partial |
| 20714 @deprecated // deprecated | 21029 @deprecated // deprecated |
| 20715 String border; | 21030 String border; |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 20784 @DomName('HTMLTableRowElement.cells') | 21099 @DomName('HTMLTableRowElement.cells') |
| 20785 List<TableCellElement> get cells => | 21100 List<TableCellElement> get cells => |
| 20786 new _WrappedList<TableCellElement>($dom_cells); | 21101 new _WrappedList<TableCellElement>($dom_cells); |
| 20787 | 21102 |
| 20788 TableCellElement addCell() { | 21103 TableCellElement addCell() { |
| 20789 return insertCell(-1); | 21104 return insertCell(-1); |
| 20790 } | 21105 } |
| 20791 | 21106 |
| 20792 TableCellElement insertCell(int index) => $dom_insertCell(index); | 21107 TableCellElement insertCell(int index) => $dom_insertCell(index); |
| 20793 | 21108 |
| 21109 // To suppress missing implicit constructor warnings. |
| 21110 factory TableRowElement._() { throw new UnsupportedError("Not supported"); } |
| 20794 | 21111 |
| 20795 @DomName('HTMLTableRowElement.HTMLTableRowElement') | 21112 @DomName('HTMLTableRowElement.HTMLTableRowElement') |
| 20796 @DocsEditable | 21113 @DocsEditable |
| 20797 factory TableRowElement() => document.$dom_createElement("tr"); | 21114 factory TableRowElement() => document.$dom_createElement("tr"); |
| 20798 | 21115 |
| 20799 @JSName('cells') | 21116 @JSName('cells') |
| 20800 @DomName('HTMLTableRowElement.cells') | 21117 @DomName('HTMLTableRowElement.cells') |
| 20801 @DocsEditable | 21118 @DocsEditable |
| 20802 final HtmlCollection $dom_cells; | 21119 final HtmlCollection $dom_cells; |
| 20803 | 21120 |
| (...skipping 26 matching lines...) Expand all Loading... |
| 20830 @DomName('HTMLTableSectionElement.rows') | 21147 @DomName('HTMLTableSectionElement.rows') |
| 20831 List<TableRowElement> get rows => | 21148 List<TableRowElement> get rows => |
| 20832 new _WrappedList<TableRowElement>($dom_rows); | 21149 new _WrappedList<TableRowElement>($dom_rows); |
| 20833 | 21150 |
| 20834 TableRowElement addRow() { | 21151 TableRowElement addRow() { |
| 20835 return insertRow(-1); | 21152 return insertRow(-1); |
| 20836 } | 21153 } |
| 20837 | 21154 |
| 20838 TableRowElement insertRow(int index) => $dom_insertRow(index); | 21155 TableRowElement insertRow(int index) => $dom_insertRow(index); |
| 20839 | 21156 |
| 21157 // To suppress missing implicit constructor warnings. |
| 21158 factory TableSectionElement._() { throw new UnsupportedError("Not supported");
} |
| 20840 | 21159 |
| 20841 @JSName('rows') | 21160 @JSName('rows') |
| 20842 @DomName('HTMLTableSectionElement.rows') | 21161 @DomName('HTMLTableSectionElement.rows') |
| 20843 @DocsEditable | 21162 @DocsEditable |
| 20844 final HtmlCollection $dom_rows; | 21163 final HtmlCollection $dom_rows; |
| 20845 | 21164 |
| 20846 @DomName('HTMLTableSectionElement.deleteRow') | 21165 @DomName('HTMLTableSectionElement.deleteRow') |
| 20847 @DocsEditable | 21166 @DocsEditable |
| 20848 void deleteRow(int index) native; | 21167 void deleteRow(int index) native; |
| 20849 | 21168 |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 20951 getInstanceFragment(Element template) => template.createInstance(); | 21270 getInstanceFragment(Element template) => template.createInstance(); |
| 20952 } | 21271 } |
| 20953 | 21272 |
| 20954 | 21273 |
| 20955 @Experimental | 21274 @Experimental |
| 20956 @DomName('HTMLTemplateElement') | 21275 @DomName('HTMLTemplateElement') |
| 20957 @SupportedBrowser(SupportedBrowser.CHROME) | 21276 @SupportedBrowser(SupportedBrowser.CHROME) |
| 20958 @Experimental | 21277 @Experimental |
| 20959 // https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/templates/index.html#t
emplate-element | 21278 // https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/templates/index.html#t
emplate-element |
| 20960 class TemplateElement extends _HTMLElement native "HTMLTemplateElement" { | 21279 class TemplateElement extends _HTMLElement native "HTMLTemplateElement" { |
| 21280 // To suppress missing implicit constructor warnings. |
| 21281 factory TemplateElement._() { throw new UnsupportedError("Not supported"); } |
| 20961 | 21282 |
| 20962 @DomName('HTMLTemplateElement.HTMLTemplateElement') | 21283 @DomName('HTMLTemplateElement.HTMLTemplateElement') |
| 20963 @DocsEditable | 21284 @DocsEditable |
| 20964 factory TemplateElement() => document.$dom_createElement("template"); | 21285 factory TemplateElement() => document.$dom_createElement("template"); |
| 20965 | 21286 |
| 20966 /// Checks if this type is supported on the current platform. | 21287 /// Checks if this type is supported on the current platform. |
| 20967 static bool get supported => Element.isTagSupported('template'); | 21288 static bool get supported => Element.isTagSupported('template'); |
| 20968 | 21289 |
| 20969 @JSName('content') | 21290 @JSName('content') |
| 20970 @DomName('HTMLTemplateElement.content') | 21291 @DomName('HTMLTemplateElement.content') |
| (...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 21180 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 21501 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 21181 // for details. All rights reserved. Use of this source code is governed by a | 21502 // for details. All rights reserved. Use of this source code is governed by a |
| 21182 // BSD-style license that can be found in the LICENSE file. | 21503 // BSD-style license that can be found in the LICENSE file. |
| 21183 | 21504 |
| 21184 // WARNING: Do not edit - generated code. | 21505 // WARNING: Do not edit - generated code. |
| 21185 | 21506 |
| 21186 | 21507 |
| 21187 @DomName('Text') | 21508 @DomName('Text') |
| 21188 class Text extends CharacterData native "Text" { | 21509 class Text extends CharacterData native "Text" { |
| 21189 factory Text(String data) => document.$dom_createTextNode(data); | 21510 factory Text(String data) => document.$dom_createTextNode(data); |
| 21511 // To suppress missing implicit constructor warnings. |
| 21512 factory Text._() { throw new UnsupportedError("Not supported"); } |
| 21190 | 21513 |
| 21191 @DomName('Text.wholeText') | 21514 @DomName('Text.wholeText') |
| 21192 @DocsEditable | 21515 @DocsEditable |
| 21193 final String wholeText; | 21516 final String wholeText; |
| 21194 | 21517 |
| 21195 @DomName('Text.replaceWholeText') | 21518 @DomName('Text.replaceWholeText') |
| 21196 @DocsEditable | 21519 @DocsEditable |
| 21197 // http://dom.spec.whatwg.org/#dom-text-replacewholetext | 21520 // http://dom.spec.whatwg.org/#dom-text-replacewholetext |
| 21198 @deprecated // deprecated | 21521 @deprecated // deprecated |
| 21199 Text replaceWholeText(String content) native; | 21522 Text replaceWholeText(String content) native; |
| 21200 | 21523 |
| 21201 @DomName('Text.splitText') | 21524 @DomName('Text.splitText') |
| 21202 @DocsEditable | 21525 @DocsEditable |
| 21203 Text splitText(int offset) native; | 21526 Text splitText(int offset) native; |
| 21204 | 21527 |
| 21205 } | 21528 } |
| 21206 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 21529 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 21207 // for details. All rights reserved. Use of this source code is governed by a | 21530 // for details. All rights reserved. Use of this source code is governed by a |
| 21208 // BSD-style license that can be found in the LICENSE file. | 21531 // BSD-style license that can be found in the LICENSE file. |
| 21209 | 21532 |
| 21210 | 21533 |
| 21211 @DocsEditable | 21534 @DocsEditable |
| 21212 @DomName('HTMLTextAreaElement') | 21535 @DomName('HTMLTextAreaElement') |
| 21213 class TextAreaElement extends _HTMLElement native "HTMLTextAreaElement" { | 21536 class TextAreaElement extends _HTMLElement native "HTMLTextAreaElement" { |
| 21537 // To suppress missing implicit constructor warnings. |
| 21538 factory TextAreaElement._() { throw new UnsupportedError("Not supported"); } |
| 21214 | 21539 |
| 21215 @DomName('HTMLTextAreaElement.HTMLTextAreaElement') | 21540 @DomName('HTMLTextAreaElement.HTMLTextAreaElement') |
| 21216 @DocsEditable | 21541 @DocsEditable |
| 21217 factory TextAreaElement() => document.$dom_createElement("textarea"); | 21542 factory TextAreaElement() => document.$dom_createElement("textarea"); |
| 21218 | 21543 |
| 21219 @DomName('HTMLTextAreaElement.autofocus') | 21544 @DomName('HTMLTextAreaElement.autofocus') |
| 21220 @DocsEditable | 21545 @DocsEditable |
| 21221 bool autofocus; | 21546 bool autofocus; |
| 21222 | 21547 |
| 21223 @DomName('HTMLTextAreaElement.cols') | 21548 @DomName('HTMLTextAreaElement.cols') |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 21347 class TextEvent extends UIEvent native "TextEvent" { | 21672 class TextEvent extends UIEvent native "TextEvent" { |
| 21348 factory TextEvent(String type, | 21673 factory TextEvent(String type, |
| 21349 {bool canBubble: false, bool cancelable: false, Window view, String data}) { | 21674 {bool canBubble: false, bool cancelable: false, Window view, String data}) { |
| 21350 if (view == null) { | 21675 if (view == null) { |
| 21351 view = window; | 21676 view = window; |
| 21352 } | 21677 } |
| 21353 var e = document.$dom_createEvent("TextEvent"); | 21678 var e = document.$dom_createEvent("TextEvent"); |
| 21354 e.$dom_initTextEvent(type, canBubble, cancelable, view, data); | 21679 e.$dom_initTextEvent(type, canBubble, cancelable, view, data); |
| 21355 return e; | 21680 return e; |
| 21356 } | 21681 } |
| 21682 // To suppress missing implicit constructor warnings. |
| 21683 factory TextEvent._() { throw new UnsupportedError("Not supported"); } |
| 21357 | 21684 |
| 21358 @DomName('TextEvent.data') | 21685 @DomName('TextEvent.data') |
| 21359 @DocsEditable | 21686 @DocsEditable |
| 21360 final String data; | 21687 final String data; |
| 21361 | 21688 |
| 21362 @JSName('initTextEvent') | 21689 @JSName('initTextEvent') |
| 21363 @DomName('TextEvent.initTextEvent') | 21690 @DomName('TextEvent.initTextEvent') |
| 21364 @DocsEditable | 21691 @DocsEditable |
| 21365 void $dom_initTextEvent(String typeArg, bool canBubbleArg, bool cancelableArg,
Window viewArg, String dataArg) native; | 21692 void $dom_initTextEvent(String typeArg, bool canBubbleArg, bool cancelableArg,
Window viewArg, String dataArg) native; |
| 21366 | 21693 |
| 21367 } | 21694 } |
| 21368 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 21695 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 21369 // for details. All rights reserved. Use of this source code is governed by a | 21696 // for details. All rights reserved. Use of this source code is governed by a |
| 21370 // BSD-style license that can be found in the LICENSE file. | 21697 // BSD-style license that can be found in the LICENSE file. |
| 21371 | 21698 |
| 21372 | 21699 |
| 21373 @DocsEditable | 21700 @DocsEditable |
| 21374 @DomName('TextMetrics') | 21701 @DomName('TextMetrics') |
| 21375 class TextMetrics native "TextMetrics" { | 21702 class TextMetrics extends Interceptor native "TextMetrics" { |
| 21376 | 21703 |
| 21377 @DomName('TextMetrics.width') | 21704 @DomName('TextMetrics.width') |
| 21378 @DocsEditable | 21705 @DocsEditable |
| 21379 final num width; | 21706 final num width; |
| 21380 } | 21707 } |
| 21381 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 21708 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 21382 // for details. All rights reserved. Use of this source code is governed by a | 21709 // for details. All rights reserved. Use of this source code is governed by a |
| 21383 // BSD-style license that can be found in the LICENSE file. | 21710 // BSD-style license that can be found in the LICENSE file. |
| 21384 | 21711 |
| 21385 | 21712 |
| 21386 @DocsEditable | 21713 @DocsEditable |
| 21387 @DomName('TextTrack') | 21714 @DomName('TextTrack') |
| 21388 // http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element
.html#texttrack | 21715 // http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element
.html#texttrack |
| 21389 @Experimental | 21716 @Experimental |
| 21390 class TextTrack extends EventTarget native "TextTrack" { | 21717 class TextTrack extends EventTarget native "TextTrack" { |
| 21718 // To suppress missing implicit constructor warnings. |
| 21719 factory TextTrack._() { throw new UnsupportedError("Not supported"); } |
| 21391 | 21720 |
| 21392 @DomName('TextTrack.cuechangeEvent') | 21721 @DomName('TextTrack.cuechangeEvent') |
| 21393 @DocsEditable | 21722 @DocsEditable |
| 21394 static const EventStreamProvider<Event> cueChangeEvent = const EventStreamProv
ider<Event>('cuechange'); | 21723 static const EventStreamProvider<Event> cueChangeEvent = const EventStreamProv
ider<Event>('cuechange'); |
| 21395 | 21724 |
| 21396 @DomName('TextTrack.activeCues') | 21725 @DomName('TextTrack.activeCues') |
| 21397 @DocsEditable | 21726 @DocsEditable |
| 21398 final TextTrackCueList activeCues; | 21727 final TextTrackCueList activeCues; |
| 21399 | 21728 |
| 21400 @DomName('TextTrack.cues') | 21729 @DomName('TextTrack.cues') |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 21446 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 21775 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 21447 // for details. All rights reserved. Use of this source code is governed by a | 21776 // for details. All rights reserved. Use of this source code is governed by a |
| 21448 // BSD-style license that can be found in the LICENSE file. | 21777 // BSD-style license that can be found in the LICENSE file. |
| 21449 | 21778 |
| 21450 | 21779 |
| 21451 @DocsEditable | 21780 @DocsEditable |
| 21452 @DomName('TextTrackCue') | 21781 @DomName('TextTrackCue') |
| 21453 // http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element
.html#texttrackcue | 21782 // http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element
.html#texttrackcue |
| 21454 @Experimental | 21783 @Experimental |
| 21455 class TextTrackCue extends EventTarget native "TextTrackCue" { | 21784 class TextTrackCue extends EventTarget native "TextTrackCue" { |
| 21785 // To suppress missing implicit constructor warnings. |
| 21786 factory TextTrackCue._() { throw new UnsupportedError("Not supported"); } |
| 21456 | 21787 |
| 21457 @DomName('TextTrackCue.enterEvent') | 21788 @DomName('TextTrackCue.enterEvent') |
| 21458 @DocsEditable | 21789 @DocsEditable |
| 21459 static const EventStreamProvider<Event> enterEvent = const EventStreamProvider
<Event>('enter'); | 21790 static const EventStreamProvider<Event> enterEvent = const EventStreamProvider
<Event>('enter'); |
| 21460 | 21791 |
| 21461 @DomName('TextTrackCue.exitEvent') | 21792 @DomName('TextTrackCue.exitEvent') |
| 21462 @DocsEditable | 21793 @DocsEditable |
| 21463 static const EventStreamProvider<Event> exitEvent = const EventStreamProvider<
Event>('exit'); | 21794 static const EventStreamProvider<Event> exitEvent = const EventStreamProvider<
Event>('exit'); |
| 21464 | 21795 |
| 21465 @DomName('TextTrackCue.TextTrackCue') | 21796 @DomName('TextTrackCue.TextTrackCue') |
| (...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 21622 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 21953 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 21623 // for details. All rights reserved. Use of this source code is governed by a | 21954 // for details. All rights reserved. Use of this source code is governed by a |
| 21624 // BSD-style license that can be found in the LICENSE file. | 21955 // BSD-style license that can be found in the LICENSE file. |
| 21625 | 21956 |
| 21626 | 21957 |
| 21627 @DocsEditable | 21958 @DocsEditable |
| 21628 @DomName('TextTrackList') | 21959 @DomName('TextTrackList') |
| 21629 // http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element
.html#texttracklist | 21960 // http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element
.html#texttracklist |
| 21630 @Experimental | 21961 @Experimental |
| 21631 class TextTrackList extends EventTarget with ListMixin<TextTrack>, ImmutableList
Mixin<TextTrack> implements JavaScriptIndexingBehavior, List<TextTrack> native "
TextTrackList" { | 21962 class TextTrackList extends EventTarget with ListMixin<TextTrack>, ImmutableList
Mixin<TextTrack> implements JavaScriptIndexingBehavior, List<TextTrack> native "
TextTrackList" { |
| 21963 // To suppress missing implicit constructor warnings. |
| 21964 factory TextTrackList._() { throw new UnsupportedError("Not supported"); } |
| 21632 | 21965 |
| 21633 @DomName('TextTrackList.addtrackEvent') | 21966 @DomName('TextTrackList.addtrackEvent') |
| 21634 @DocsEditable | 21967 @DocsEditable |
| 21635 static const EventStreamProvider<TrackEvent> addTrackEvent = const EventStream
Provider<TrackEvent>('addtrack'); | 21968 static const EventStreamProvider<TrackEvent> addTrackEvent = const EventStream
Provider<TrackEvent>('addtrack'); |
| 21636 | 21969 |
| 21637 @DomName('TextTrackList.length') | 21970 @DomName('TextTrackList.length') |
| 21638 @DocsEditable | 21971 @DocsEditable |
| 21639 int get length => JS("int", "#.length", this); | 21972 int get length => JS("int", "#.length", this); |
| 21640 | 21973 |
| 21641 TextTrack operator[](int index) { | 21974 TextTrack operator[](int index) { |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 21705 Stream<TrackEvent> get onAddTrack => addTrackEvent.forTarget(this); | 22038 Stream<TrackEvent> get onAddTrack => addTrackEvent.forTarget(this); |
| 21706 } | 22039 } |
| 21707 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 22040 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 21708 // for details. All rights reserved. Use of this source code is governed by a | 22041 // for details. All rights reserved. Use of this source code is governed by a |
| 21709 // BSD-style license that can be found in the LICENSE file. | 22042 // BSD-style license that can be found in the LICENSE file. |
| 21710 | 22043 |
| 21711 | 22044 |
| 21712 @DocsEditable | 22045 @DocsEditable |
| 21713 @DomName('TimeRanges') | 22046 @DomName('TimeRanges') |
| 21714 @Unstable | 22047 @Unstable |
| 21715 class TimeRanges native "TimeRanges" { | 22048 class TimeRanges extends Interceptor native "TimeRanges" { |
| 21716 | 22049 |
| 21717 @DomName('TimeRanges.length') | 22050 @DomName('TimeRanges.length') |
| 21718 @DocsEditable | 22051 @DocsEditable |
| 21719 final int length; | 22052 final int length; |
| 21720 | 22053 |
| 21721 @DomName('TimeRanges.end') | 22054 @DomName('TimeRanges.end') |
| 21722 @DocsEditable | 22055 @DocsEditable |
| 21723 num end(int index) native; | 22056 num end(int index) native; |
| 21724 | 22057 |
| 21725 @DomName('TimeRanges.start') | 22058 @DomName('TimeRanges.start') |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21736 @DomName('TimeoutHandler') | 22069 @DomName('TimeoutHandler') |
| 21737 typedef void TimeoutHandler(); | 22070 typedef void TimeoutHandler(); |
| 21738 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 22071 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 21739 // for details. All rights reserved. Use of this source code is governed by a | 22072 // for details. All rights reserved. Use of this source code is governed by a |
| 21740 // BSD-style license that can be found in the LICENSE file. | 22073 // BSD-style license that can be found in the LICENSE file. |
| 21741 | 22074 |
| 21742 | 22075 |
| 21743 @DocsEditable | 22076 @DocsEditable |
| 21744 @DomName('HTMLTitleElement') | 22077 @DomName('HTMLTitleElement') |
| 21745 class TitleElement extends _HTMLElement native "HTMLTitleElement" { | 22078 class TitleElement extends _HTMLElement native "HTMLTitleElement" { |
| 22079 // To suppress missing implicit constructor warnings. |
| 22080 factory TitleElement._() { throw new UnsupportedError("Not supported"); } |
| 21746 | 22081 |
| 21747 @DomName('HTMLTitleElement.HTMLTitleElement') | 22082 @DomName('HTMLTitleElement.HTMLTitleElement') |
| 21748 @DocsEditable | 22083 @DocsEditable |
| 21749 factory TitleElement() => document.$dom_createElement("title"); | 22084 factory TitleElement() => document.$dom_createElement("title"); |
| 21750 } | 22085 } |
| 21751 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 22086 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 21752 // for details. All rights reserved. Use of this source code is governed by a | 22087 // for details. All rights reserved. Use of this source code is governed by a |
| 21753 // BSD-style license that can be found in the LICENSE file. | 22088 // BSD-style license that can be found in the LICENSE file. |
| 21754 | 22089 |
| 21755 | 22090 |
| 21756 @DocsEditable | 22091 @DocsEditable |
| 21757 @DomName('Touch') | 22092 @DomName('Touch') |
| 21758 // http://www.w3.org/TR/touch-events/, http://www.chromestatus.com/features | 22093 // http://www.w3.org/TR/touch-events/, http://www.chromestatus.com/features |
| 21759 @Experimental | 22094 @Experimental |
| 21760 class Touch native "Touch" { | 22095 class Touch extends Interceptor native "Touch" { |
| 21761 | 22096 |
| 21762 @JSName('clientX') | 22097 @JSName('clientX') |
| 21763 @DomName('Touch.clientX') | 22098 @DomName('Touch.clientX') |
| 21764 @DocsEditable | 22099 @DocsEditable |
| 21765 final int $dom_clientX; | 22100 final int $dom_clientX; |
| 21766 | 22101 |
| 21767 @JSName('clientY') | 22102 @JSName('clientY') |
| 21768 @DomName('Touch.clientY') | 22103 @DomName('Touch.clientY') |
| 21769 @DocsEditable | 22104 @DocsEditable |
| 21770 final int $dom_clientY; | 22105 final int $dom_clientY; |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 21863 int clientY: 0, bool ctrlKey: false, bool altKey: false, | 22198 int clientY: 0, bool ctrlKey: false, bool altKey: false, |
| 21864 bool shiftKey: false, bool metaKey: false}) { | 22199 bool shiftKey: false, bool metaKey: false}) { |
| 21865 if (view == null) { | 22200 if (view == null) { |
| 21866 view = window; | 22201 view = window; |
| 21867 } | 22202 } |
| 21868 var e = document.$dom_createEvent("TouchEvent"); | 22203 var e = document.$dom_createEvent("TouchEvent"); |
| 21869 e.$dom_initTouchEvent(touches, targetTouches, changedTouches, type, view, | 22204 e.$dom_initTouchEvent(touches, targetTouches, changedTouches, type, view, |
| 21870 screenX, screenY, clientX, clientY, ctrlKey, altKey, shiftKey, metaKey); | 22205 screenX, screenY, clientX, clientY, ctrlKey, altKey, shiftKey, metaKey); |
| 21871 return e; | 22206 return e; |
| 21872 } | 22207 } |
| 22208 // To suppress missing implicit constructor warnings. |
| 22209 factory TouchEvent._() { throw new UnsupportedError("Not supported"); } |
| 21873 | 22210 |
| 21874 @DomName('TouchEvent.altKey') | 22211 @DomName('TouchEvent.altKey') |
| 21875 @DocsEditable | 22212 @DocsEditable |
| 21876 final bool altKey; | 22213 final bool altKey; |
| 21877 | 22214 |
| 21878 @DomName('TouchEvent.changedTouches') | 22215 @DomName('TouchEvent.changedTouches') |
| 21879 @DocsEditable | 22216 @DocsEditable |
| 21880 final TouchList changedTouches; | 22217 final TouchList changedTouches; |
| 21881 | 22218 |
| 21882 @DomName('TouchEvent.ctrlKey') | 22219 @DomName('TouchEvent.ctrlKey') |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 21996 | 22333 |
| 21997 | 22334 |
| 21998 @DocsEditable | 22335 @DocsEditable |
| 21999 @DomName('HTMLTrackElement') | 22336 @DomName('HTMLTrackElement') |
| 22000 @SupportedBrowser(SupportedBrowser.CHROME) | 22337 @SupportedBrowser(SupportedBrowser.CHROME) |
| 22001 @SupportedBrowser(SupportedBrowser.IE, '10') | 22338 @SupportedBrowser(SupportedBrowser.IE, '10') |
| 22002 @SupportedBrowser(SupportedBrowser.SAFARI) | 22339 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 22003 // http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element
.html#the-track-element | 22340 // http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element
.html#the-track-element |
| 22004 @Experimental | 22341 @Experimental |
| 22005 class TrackElement extends _HTMLElement native "HTMLTrackElement" { | 22342 class TrackElement extends _HTMLElement native "HTMLTrackElement" { |
| 22343 // To suppress missing implicit constructor warnings. |
| 22344 factory TrackElement._() { throw new UnsupportedError("Not supported"); } |
| 22006 | 22345 |
| 22007 @DomName('HTMLTrackElement.HTMLTrackElement') | 22346 @DomName('HTMLTrackElement.HTMLTrackElement') |
| 22008 @DocsEditable | 22347 @DocsEditable |
| 22009 factory TrackElement() => document.$dom_createElement("track"); | 22348 factory TrackElement() => document.$dom_createElement("track"); |
| 22010 | 22349 |
| 22011 /// Checks if this type is supported on the current platform. | 22350 /// Checks if this type is supported on the current platform. |
| 22012 static bool get supported => Element.isTagSupported('track'); | 22351 static bool get supported => Element.isTagSupported('track'); |
| 22013 | 22352 |
| 22014 @DomName('HTMLTrackElement.ERROR') | 22353 @DomName('HTMLTrackElement.ERROR') |
| 22015 @DocsEditable | 22354 @DocsEditable |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 22058 } | 22397 } |
| 22059 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 22398 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22060 // for details. All rights reserved. Use of this source code is governed by a | 22399 // for details. All rights reserved. Use of this source code is governed by a |
| 22061 // BSD-style license that can be found in the LICENSE file. | 22400 // BSD-style license that can be found in the LICENSE file. |
| 22062 | 22401 |
| 22063 | 22402 |
| 22064 @DocsEditable | 22403 @DocsEditable |
| 22065 @DomName('TrackEvent') | 22404 @DomName('TrackEvent') |
| 22066 @Unstable | 22405 @Unstable |
| 22067 class TrackEvent extends Event native "TrackEvent" { | 22406 class TrackEvent extends Event native "TrackEvent" { |
| 22407 // To suppress missing implicit constructor warnings. |
| 22408 factory TrackEvent._() { throw new UnsupportedError("Not supported"); } |
| 22068 | 22409 |
| 22069 @DomName('TrackEvent.track') | 22410 @DomName('TrackEvent.track') |
| 22070 @DocsEditable | 22411 @DocsEditable |
| 22071 @Creates('Null') | 22412 @Creates('Null') |
| 22072 final Object track; | 22413 final Object track; |
| 22073 } | 22414 } |
| 22074 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 22415 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22075 // for details. All rights reserved. Use of this source code is governed by a | 22416 // for details. All rights reserved. Use of this source code is governed by a |
| 22076 // BSD-style license that can be found in the LICENSE file. | 22417 // BSD-style license that can be found in the LICENSE file. |
| 22077 | 22418 |
| 22078 | 22419 |
| 22079 @DocsEditable | 22420 @DocsEditable |
| 22080 @DomName('TransitionEvent') | 22421 @DomName('TransitionEvent') |
| 22081 class TransitionEvent extends Event native "TransitionEvent,WebKitTransitionEven
t" { | 22422 class TransitionEvent extends Event native "TransitionEvent,WebKitTransitionEven
t" { |
| 22423 // To suppress missing implicit constructor warnings. |
| 22424 factory TransitionEvent._() { throw new UnsupportedError("Not supported"); } |
| 22082 | 22425 |
| 22083 @DomName('TransitionEvent.elapsedTime') | 22426 @DomName('TransitionEvent.elapsedTime') |
| 22084 @DocsEditable | 22427 @DocsEditable |
| 22085 final num elapsedTime; | 22428 final num elapsedTime; |
| 22086 | 22429 |
| 22087 @DomName('TransitionEvent.propertyName') | 22430 @DomName('TransitionEvent.propertyName') |
| 22088 @DocsEditable | 22431 @DocsEditable |
| 22089 final String propertyName; | 22432 final String propertyName; |
| 22090 | 22433 |
| 22091 @DomName('TransitionEvent.pseudoElement') | 22434 @DomName('TransitionEvent.pseudoElement') |
| 22092 @DocsEditable | 22435 @DocsEditable |
| 22093 final String pseudoElement; | 22436 final String pseudoElement; |
| 22094 } | 22437 } |
| 22095 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 22438 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 22096 // for details. All rights reserved. Use of this source code is governed by a | 22439 // for details. All rights reserved. Use of this source code is governed by a |
| 22097 // BSD-style license that can be found in the LICENSE file. | 22440 // BSD-style license that can be found in the LICENSE file. |
| 22098 | 22441 |
| 22099 | 22442 |
| 22100 @DomName('TreeWalker') | 22443 @DomName('TreeWalker') |
| 22101 @Unstable | 22444 @Unstable |
| 22102 class TreeWalker native "TreeWalker" { | 22445 class TreeWalker extends Interceptor native "TreeWalker" { |
| 22103 factory TreeWalker(Node root, int whatToShow) { | 22446 factory TreeWalker(Node root, int whatToShow) { |
| 22104 return document.$dom_createTreeWalker(root, whatToShow, null, false); | 22447 return document.$dom_createTreeWalker(root, whatToShow, null, false); |
| 22105 } | 22448 } |
| 22106 | 22449 |
| 22107 @DomName('TreeWalker.currentNode') | 22450 @DomName('TreeWalker.currentNode') |
| 22108 @DocsEditable | 22451 @DocsEditable |
| 22109 Node currentNode; | 22452 Node currentNode; |
| 22110 | 22453 |
| 22111 @DomName('TreeWalker.expandEntityReferences') | 22454 @DomName('TreeWalker.expandEntityReferences') |
| 22112 @DocsEditable | 22455 @DocsEditable |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 22173 factory UIEvent(String type, | 22516 factory UIEvent(String type, |
| 22174 {Window view, int detail: 0, bool canBubble: true, | 22517 {Window view, int detail: 0, bool canBubble: true, |
| 22175 bool cancelable: true}) { | 22518 bool cancelable: true}) { |
| 22176 if (view == null) { | 22519 if (view == null) { |
| 22177 view = window; | 22520 view = window; |
| 22178 } | 22521 } |
| 22179 final e = document.$dom_createEvent("UIEvent"); | 22522 final e = document.$dom_createEvent("UIEvent"); |
| 22180 e.$dom_initUIEvent(type, canBubble, cancelable, view, detail); | 22523 e.$dom_initUIEvent(type, canBubble, cancelable, view, detail); |
| 22181 return e; | 22524 return e; |
| 22182 } | 22525 } |
| 22526 // To suppress missing implicit constructor warnings. |
| 22527 factory UIEvent._() { throw new UnsupportedError("Not supported"); } |
| 22183 | 22528 |
| 22184 @JSName('charCode') | 22529 @JSName('charCode') |
| 22185 @DomName('UIEvent.charCode') | 22530 @DomName('UIEvent.charCode') |
| 22186 @DocsEditable | 22531 @DocsEditable |
| 22187 @Unstable | 22532 @Unstable |
| 22188 final int $dom_charCode; | 22533 final int $dom_charCode; |
| 22189 | 22534 |
| 22190 @DomName('UIEvent.detail') | 22535 @DomName('UIEvent.detail') |
| 22191 @DocsEditable | 22536 @DocsEditable |
| 22192 final int detail; | 22537 final int detail; |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 22263 Point get page => new Point($dom_pageX, $dom_pageY); | 22608 Point get page => new Point($dom_pageX, $dom_pageY); |
| 22264 } | 22609 } |
| 22265 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 22610 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22266 // for details. All rights reserved. Use of this source code is governed by a | 22611 // for details. All rights reserved. Use of this source code is governed by a |
| 22267 // BSD-style license that can be found in the LICENSE file. | 22612 // BSD-style license that can be found in the LICENSE file. |
| 22268 | 22613 |
| 22269 | 22614 |
| 22270 @DocsEditable | 22615 @DocsEditable |
| 22271 @DomName('HTMLUListElement') | 22616 @DomName('HTMLUListElement') |
| 22272 class UListElement extends _HTMLElement native "HTMLUListElement" { | 22617 class UListElement extends _HTMLElement native "HTMLUListElement" { |
| 22618 // To suppress missing implicit constructor warnings. |
| 22619 factory UListElement._() { throw new UnsupportedError("Not supported"); } |
| 22273 | 22620 |
| 22274 @DomName('HTMLUListElement.HTMLUListElement') | 22621 @DomName('HTMLUListElement.HTMLUListElement') |
| 22275 @DocsEditable | 22622 @DocsEditable |
| 22276 factory UListElement() => document.$dom_createElement("ul"); | 22623 factory UListElement() => document.$dom_createElement("ul"); |
| 22277 } | 22624 } |
| 22278 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 22625 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22279 // for details. All rights reserved. Use of this source code is governed by a | 22626 // for details. All rights reserved. Use of this source code is governed by a |
| 22280 // BSD-style license that can be found in the LICENSE file. | 22627 // BSD-style license that can be found in the LICENSE file. |
| 22281 | 22628 |
| 22282 | 22629 |
| 22283 @DocsEditable | 22630 @DocsEditable |
| 22284 @DomName('HTMLUnknownElement') | 22631 @DomName('HTMLUnknownElement') |
| 22285 class UnknownElement extends _HTMLElement native "HTMLUnknownElement" { | 22632 class UnknownElement extends _HTMLElement native "HTMLUnknownElement" { |
| 22633 // To suppress missing implicit constructor warnings. |
| 22634 factory UnknownElement._() { throw new UnsupportedError("Not supported"); } |
| 22286 } | 22635 } |
| 22287 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 22636 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22288 // for details. All rights reserved. Use of this source code is governed by a | 22637 // for details. All rights reserved. Use of this source code is governed by a |
| 22289 // BSD-style license that can be found in the LICENSE file. | 22638 // BSD-style license that can be found in the LICENSE file. |
| 22290 | 22639 |
| 22291 | 22640 |
| 22292 @DomName('URL') | 22641 @DomName('URL') |
| 22293 class Url native "URL" { | 22642 class Url extends Interceptor native "URL" { |
| 22294 | 22643 |
| 22295 static String createObjectUrl(blob_OR_source_OR_stream) => | 22644 static String createObjectUrl(blob_OR_source_OR_stream) => |
| 22296 JS('String', | 22645 JS('String', |
| 22297 '(self.URL || self.webkitURL).createObjectURL(#)', | 22646 '(self.URL || self.webkitURL).createObjectURL(#)', |
| 22298 blob_OR_source_OR_stream); | 22647 blob_OR_source_OR_stream); |
| 22299 | 22648 |
| 22300 static void revokeObjectUrl(String url) => | 22649 static void revokeObjectUrl(String url) => |
| 22301 JS('void', | 22650 JS('void', |
| 22302 '(self.URL || self.webkitURL).revokeObjectURL(#)', url); | 22651 '(self.URL || self.webkitURL).revokeObjectURL(#)', url); |
| 22303 | 22652 |
| 22304 } | 22653 } |
| 22305 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 22654 // 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 | 22655 // 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. | 22656 // BSD-style license that can be found in the LICENSE file. |
| 22308 | 22657 |
| 22309 | 22658 |
| 22310 @DocsEditable | 22659 @DocsEditable |
| 22311 @DomName('ValidityState') | 22660 @DomName('ValidityState') |
| 22312 class ValidityState native "ValidityState" { | 22661 class ValidityState extends Interceptor native "ValidityState" { |
| 22313 | 22662 |
| 22314 @DomName('ValidityState.badInput') | 22663 @DomName('ValidityState.badInput') |
| 22315 @DocsEditable | 22664 @DocsEditable |
| 22316 final bool badInput; | 22665 final bool badInput; |
| 22317 | 22666 |
| 22318 @DomName('ValidityState.customError') | 22667 @DomName('ValidityState.customError') |
| 22319 @DocsEditable | 22668 @DocsEditable |
| 22320 final bool customError; | 22669 final bool customError; |
| 22321 | 22670 |
| 22322 @DomName('ValidityState.patternMismatch') | 22671 @DomName('ValidityState.patternMismatch') |
| (...skipping 28 matching lines...) Expand all Loading... |
| 22351 @DocsEditable | 22700 @DocsEditable |
| 22352 final bool valueMissing; | 22701 final bool valueMissing; |
| 22353 } | 22702 } |
| 22354 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 22703 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22355 // for details. All rights reserved. Use of this source code is governed by a | 22704 // for details. All rights reserved. Use of this source code is governed by a |
| 22356 // BSD-style license that can be found in the LICENSE file. | 22705 // BSD-style license that can be found in the LICENSE file. |
| 22357 | 22706 |
| 22358 | 22707 |
| 22359 @DomName('HTMLVideoElement') | 22708 @DomName('HTMLVideoElement') |
| 22360 class VideoElement extends MediaElement implements CanvasImageSource native "HTM
LVideoElement" { | 22709 class VideoElement extends MediaElement implements CanvasImageSource native "HTM
LVideoElement" { |
| 22710 // To suppress missing implicit constructor warnings. |
| 22711 factory VideoElement._() { throw new UnsupportedError("Not supported"); } |
| 22361 | 22712 |
| 22362 @DomName('HTMLVideoElement.HTMLVideoElement') | 22713 @DomName('HTMLVideoElement.HTMLVideoElement') |
| 22363 @DocsEditable | 22714 @DocsEditable |
| 22364 factory VideoElement() => document.$dom_createElement("video"); | 22715 factory VideoElement() => document.$dom_createElement("video"); |
| 22365 | 22716 |
| 22366 @DomName('HTMLVideoElement.height') | 22717 @DomName('HTMLVideoElement.height') |
| 22367 @DocsEditable | 22718 @DocsEditable |
| 22368 int height; | 22719 int height; |
| 22369 | 22720 |
| 22370 @DomName('HTMLVideoElement.poster') | 22721 @DomName('HTMLVideoElement.poster') |
| (...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 22509 * [Introducing WebSockets](http://www.html5rocks.com/en/tutorials/websockets/ba
sics/), | 22860 * [Introducing WebSockets](http://www.html5rocks.com/en/tutorials/websockets/ba
sics/), |
| 22510 * an HTML5Rocks.com tutorial. | 22861 * an HTML5Rocks.com tutorial. |
| 22511 */ | 22862 */ |
| 22512 @DomName('WebSocket') | 22863 @DomName('WebSocket') |
| 22513 @SupportedBrowser(SupportedBrowser.CHROME) | 22864 @SupportedBrowser(SupportedBrowser.CHROME) |
| 22514 @SupportedBrowser(SupportedBrowser.FIREFOX) | 22865 @SupportedBrowser(SupportedBrowser.FIREFOX) |
| 22515 @SupportedBrowser(SupportedBrowser.IE, '10') | 22866 @SupportedBrowser(SupportedBrowser.IE, '10') |
| 22516 @SupportedBrowser(SupportedBrowser.SAFARI) | 22867 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 22517 @Unstable | 22868 @Unstable |
| 22518 class WebSocket extends EventTarget native "WebSocket" { | 22869 class WebSocket extends EventTarget native "WebSocket" { |
| 22870 // To suppress missing implicit constructor warnings. |
| 22871 factory WebSocket._() { throw new UnsupportedError("Not supported"); } |
| 22519 | 22872 |
| 22520 @DomName('WebSocket.closeEvent') | 22873 @DomName('WebSocket.closeEvent') |
| 22521 @DocsEditable | 22874 @DocsEditable |
| 22522 static const EventStreamProvider<CloseEvent> closeEvent = const EventStreamPro
vider<CloseEvent>('close'); | 22875 static const EventStreamProvider<CloseEvent> closeEvent = const EventStreamPro
vider<CloseEvent>('close'); |
| 22523 | 22876 |
| 22524 @DomName('WebSocket.errorEvent') | 22877 @DomName('WebSocket.errorEvent') |
| 22525 @DocsEditable | 22878 @DocsEditable |
| 22526 static const EventStreamProvider<Event> errorEvent = const EventStreamProvider
<Event>('error'); | 22879 static const EventStreamProvider<Event> errorEvent = const EventStreamProvider
<Event>('error'); |
| 22527 | 22880 |
| 22528 @DomName('WebSocket.messageEvent') | 22881 @DomName('WebSocket.messageEvent') |
| (...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 22709 metaKey, button, relatedTarget); | 23062 metaKey, button, relatedTarget); |
| 22710 event.$dom_initWebKitWheelEvent(deltaX, | 23063 event.$dom_initWebKitWheelEvent(deltaX, |
| 22711 deltaY ~/ 120, // Chrome does an auto-convert to pixels. | 23064 deltaY ~/ 120, // Chrome does an auto-convert to pixels. |
| 22712 view, screenX, screenY, clientX, clientY, ctrlKey, altKey, shiftKey, | 23065 view, screenX, screenY, clientX, clientY, ctrlKey, altKey, shiftKey, |
| 22713 metaKey); | 23066 metaKey); |
| 22714 } | 23067 } |
| 22715 | 23068 |
| 22716 return event; | 23069 return event; |
| 22717 } | 23070 } |
| 22718 | 23071 |
| 23072 // To suppress missing implicit constructor warnings. |
| 23073 factory WheelEvent._() { throw new UnsupportedError("Not supported"); } |
| 22719 | 23074 |
| 22720 @DomName('WheelEvent.DOM_DELTA_LINE') | 23075 @DomName('WheelEvent.DOM_DELTA_LINE') |
| 22721 @DocsEditable | 23076 @DocsEditable |
| 22722 static const int DOM_DELTA_LINE = 0x01; | 23077 static const int DOM_DELTA_LINE = 0x01; |
| 22723 | 23078 |
| 22724 @DomName('WheelEvent.DOM_DELTA_PAGE') | 23079 @DomName('WheelEvent.DOM_DELTA_PAGE') |
| 22725 @DocsEditable | 23080 @DocsEditable |
| 22726 static const int DOM_DELTA_PAGE = 0x02; | 23081 static const int DOM_DELTA_PAGE = 0x02; |
| 22727 | 23082 |
| 22728 @DomName('WheelEvent.DOM_DELTA_PIXEL') | 23083 @DomName('WheelEvent.DOM_DELTA_PIXEL') |
| (...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 22916 * port may be retrieved by any isolate (or JavaScript script) | 23271 * port may be retrieved by any isolate (or JavaScript script) |
| 22917 * running in this window. | 23272 * running in this window. |
| 22918 */ | 23273 */ |
| 22919 void registerPort(String name, var port) { | 23274 void registerPort(String name, var port) { |
| 22920 var serialized = _serialize(port); | 23275 var serialized = _serialize(port); |
| 22921 document.documentElement.attributes['dart-port:$name'] = | 23276 document.documentElement.attributes['dart-port:$name'] = |
| 22922 json.stringify(serialized); | 23277 json.stringify(serialized); |
| 22923 } | 23278 } |
| 22924 | 23279 |
| 22925 /** | 23280 /** |
| 22926 * Returns a Future that completes just before the window is about to | 23281 * Returns a Future that completes just before the window is about to |
| 22927 * repaint so the user can draw an animation frame. | 23282 * repaint so the user can draw an animation frame. |
| 22928 * | 23283 * |
| 22929 * If you need to later cancel this animation, use [requestAnimationFrame] | 23284 * If you need to later cancel this animation, use [requestAnimationFrame] |
| 22930 * instead. | 23285 * instead. |
| 22931 * | 23286 * |
| 22932 * The [Future] completes to a timestamp that represents a floating | 23287 * The [Future] completes to a timestamp that represents a floating |
| 22933 * point value of the number of milliseconds that have elapsed since the page | 23288 * point value of the number of milliseconds that have elapsed since the page |
| 22934 * started to load (which is also the timestamp at this call to | 23289 * started to load (which is also the timestamp at this call to |
| 22935 * animationFrame). | 23290 * animationFrame). |
| 22936 * | 23291 * |
| 22937 * Note: The code that runs when the future completes should call | 23292 * Note: The code that runs when the future completes should call |
| 22938 * [animationFrame] again for the animation to continue. | 23293 * [animationFrame] again for the animation to continue. |
| 22939 */ | 23294 */ |
| 22940 Future<num> get animationFrame { | 23295 Future<num> get animationFrame { |
| 22941 var completer = new Completer<num>(); | 23296 var completer = new Completer<num>(); |
| 22942 requestAnimationFrame((time) { | 23297 requestAnimationFrame((time) { |
| 22943 completer.complete(time); | 23298 completer.complete(time); |
| 22944 }); | 23299 }); |
| (...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 23125 var result = _convertPointFromPageToNode(node, | 23480 var result = _convertPointFromPageToNode(node, |
| 23126 new _DomPoint(point.x, point.y)); | 23481 new _DomPoint(point.x, point.y)); |
| 23127 return new Point(result.x, result.y); | 23482 return new Point(result.x, result.y); |
| 23128 } | 23483 } |
| 23129 | 23484 |
| 23130 /** | 23485 /** |
| 23131 * Checks whether [convertPointFromNodeToPage] and | 23486 * Checks whether [convertPointFromNodeToPage] and |
| 23132 * [convertPointFromPageToNode] are supported on the current platform. | 23487 * [convertPointFromPageToNode] are supported on the current platform. |
| 23133 */ | 23488 */ |
| 23134 static bool get supportsPointConversions => _DomPoint.supported; | 23489 static bool get supportsPointConversions => _DomPoint.supported; |
| 23490 // To suppress missing implicit constructor warnings. |
| 23491 factory Window._() { throw new UnsupportedError("Not supported"); } |
| 23135 | 23492 |
| 23136 @DomName('Window.DOMContentLoadedEvent') | 23493 @DomName('Window.DOMContentLoadedEvent') |
| 23137 @DocsEditable | 23494 @DocsEditable |
| 23138 static const EventStreamProvider<Event> contentLoadedEvent = const EventStream
Provider<Event>('DOMContentLoaded'); | 23495 static const EventStreamProvider<Event> contentLoadedEvent = const EventStream
Provider<Event>('DOMContentLoaded'); |
| 23139 | 23496 |
| 23140 @DomName('Window.devicemotionEvent') | 23497 @DomName('Window.devicemotionEvent') |
| 23141 @DocsEditable | 23498 @DocsEditable |
| 23142 // http://dev.w3.org/geo/api/spec-source-orientation.html#devicemotion | 23499 // http://dev.w3.org/geo/api/spec-source-orientation.html#devicemotion |
| 23143 @Experimental | 23500 @Experimental |
| 23144 static const EventStreamProvider<DeviceMotionEvent> deviceMotionEvent = const
EventStreamProvider<DeviceMotionEvent>('devicemotion'); | 23501 static const EventStreamProvider<DeviceMotionEvent> deviceMotionEvent = const
EventStreamProvider<DeviceMotionEvent>('devicemotion'); |
| (...skipping 847 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 23992 | 24349 |
| 23993 @DocsEditable | 24350 @DocsEditable |
| 23994 @DomName('Worker') | 24351 @DomName('Worker') |
| 23995 @SupportedBrowser(SupportedBrowser.CHROME) | 24352 @SupportedBrowser(SupportedBrowser.CHROME) |
| 23996 @SupportedBrowser(SupportedBrowser.FIREFOX) | 24353 @SupportedBrowser(SupportedBrowser.FIREFOX) |
| 23997 @SupportedBrowser(SupportedBrowser.IE, '10') | 24354 @SupportedBrowser(SupportedBrowser.IE, '10') |
| 23998 @SupportedBrowser(SupportedBrowser.SAFARI) | 24355 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 23999 // http://www.whatwg.org/specs/web-apps/current-work/multipage/workers.html#work
er | 24356 // http://www.whatwg.org/specs/web-apps/current-work/multipage/workers.html#work
er |
| 24000 @Experimental // stable | 24357 @Experimental // stable |
| 24001 class Worker extends AbstractWorker native "Worker" { | 24358 class Worker extends AbstractWorker native "Worker" { |
| 24359 // To suppress missing implicit constructor warnings. |
| 24360 factory Worker._() { throw new UnsupportedError("Not supported"); } |
| 24002 | 24361 |
| 24003 @DomName('Worker.messageEvent') | 24362 @DomName('Worker.messageEvent') |
| 24004 @DocsEditable | 24363 @DocsEditable |
| 24005 static const EventStreamProvider<MessageEvent> messageEvent = const EventStrea
mProvider<MessageEvent>('message'); | 24364 static const EventStreamProvider<MessageEvent> messageEvent = const EventStrea
mProvider<MessageEvent>('message'); |
| 24006 | 24365 |
| 24007 @DomName('Worker.Worker') | 24366 @DomName('Worker.Worker') |
| 24008 @DocsEditable | 24367 @DocsEditable |
| 24009 factory Worker(String scriptUrl) { | 24368 factory Worker(String scriptUrl) { |
| 24010 return Worker._create_1(scriptUrl); | 24369 return Worker._create_1(scriptUrl); |
| 24011 } | 24370 } |
| (...skipping 16 matching lines...) Expand all Loading... |
| 24028 } | 24387 } |
| 24029 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 24388 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24030 // for details. All rights reserved. Use of this source code is governed by a | 24389 // for details. All rights reserved. Use of this source code is governed by a |
| 24031 // BSD-style license that can be found in the LICENSE file. | 24390 // BSD-style license that can be found in the LICENSE file. |
| 24032 | 24391 |
| 24033 | 24392 |
| 24034 @DocsEditable | 24393 @DocsEditable |
| 24035 @DomName('XPathEvaluator') | 24394 @DomName('XPathEvaluator') |
| 24036 // http://www.w3.org/TR/DOM-Level-3-XPath/xpath.html#XPathEvaluator | 24395 // http://www.w3.org/TR/DOM-Level-3-XPath/xpath.html#XPathEvaluator |
| 24037 @deprecated // experimental | 24396 @deprecated // experimental |
| 24038 class XPathEvaluator native "XPathEvaluator" { | 24397 class XPathEvaluator extends Interceptor native "XPathEvaluator" { |
| 24039 | 24398 |
| 24040 @DomName('XPathEvaluator.XPathEvaluator') | 24399 @DomName('XPathEvaluator.XPathEvaluator') |
| 24041 @DocsEditable | 24400 @DocsEditable |
| 24042 factory XPathEvaluator() { | 24401 factory XPathEvaluator() { |
| 24043 return XPathEvaluator._create_1(); | 24402 return XPathEvaluator._create_1(); |
| 24044 } | 24403 } |
| 24045 static XPathEvaluator _create_1() => JS('XPathEvaluator', 'new XPathEvaluator(
)'); | 24404 static XPathEvaluator _create_1() => JS('XPathEvaluator', 'new XPathEvaluator(
)'); |
| 24046 | 24405 |
| 24047 @DomName('XPathEvaluator.createExpression') | 24406 @DomName('XPathEvaluator.createExpression') |
| 24048 @DocsEditable | 24407 @DocsEditable |
| 24049 XPathExpression createExpression(String expression, XPathNSResolver resolver)
native; | 24408 XPathExpression createExpression(String expression, XPathNSResolver resolver)
native; |
| 24050 | 24409 |
| 24051 @DomName('XPathEvaluator.createNSResolver') | 24410 @DomName('XPathEvaluator.createNSResolver') |
| 24052 @DocsEditable | 24411 @DocsEditable |
| 24053 XPathNSResolver createNSResolver(Node nodeResolver) native; | 24412 XPathNSResolver createNSResolver(Node nodeResolver) native; |
| 24054 | 24413 |
| 24055 @DomName('XPathEvaluator.evaluate') | 24414 @DomName('XPathEvaluator.evaluate') |
| 24056 @DocsEditable | 24415 @DocsEditable |
| 24057 XPathResult evaluate(String expression, Node contextNode, XPathNSResolver reso
lver, int type, XPathResult inResult) native; | 24416 XPathResult evaluate(String expression, Node contextNode, XPathNSResolver reso
lver, int type, XPathResult inResult) native; |
| 24058 } | 24417 } |
| 24059 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 24418 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24060 // for details. All rights reserved. Use of this source code is governed by a | 24419 // for details. All rights reserved. Use of this source code is governed by a |
| 24061 // BSD-style license that can be found in the LICENSE file. | 24420 // BSD-style license that can be found in the LICENSE file. |
| 24062 | 24421 |
| 24063 | 24422 |
| 24064 @DocsEditable | 24423 @DocsEditable |
| 24065 @DomName('XPathException') | 24424 @DomName('XPathException') |
| 24066 // http://www.w3.org/TR/DOM-Level-3-XPath/xpath.html#XPathException | 24425 // http://www.w3.org/TR/DOM-Level-3-XPath/xpath.html#XPathException |
| 24067 @deprecated // experimental | 24426 @deprecated // experimental |
| 24068 class XPathException native "XPathException" { | 24427 class XPathException extends Interceptor native "XPathException" { |
| 24069 | 24428 |
| 24070 @DomName('XPathException.INVALID_EXPRESSION_ERR') | 24429 @DomName('XPathException.INVALID_EXPRESSION_ERR') |
| 24071 @DocsEditable | 24430 @DocsEditable |
| 24072 static const int INVALID_EXPRESSION_ERR = 51; | 24431 static const int INVALID_EXPRESSION_ERR = 51; |
| 24073 | 24432 |
| 24074 @DomName('XPathException.TYPE_ERR') | 24433 @DomName('XPathException.TYPE_ERR') |
| 24075 @DocsEditable | 24434 @DocsEditable |
| 24076 static const int TYPE_ERR = 52; | 24435 static const int TYPE_ERR = 52; |
| 24077 | 24436 |
| 24078 @DomName('XPathException.code') | 24437 @DomName('XPathException.code') |
| (...skipping 16 matching lines...) Expand all Loading... |
| 24095 } | 24454 } |
| 24096 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 24455 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24097 // for details. All rights reserved. Use of this source code is governed by a | 24456 // for details. All rights reserved. Use of this source code is governed by a |
| 24098 // BSD-style license that can be found in the LICENSE file. | 24457 // BSD-style license that can be found in the LICENSE file. |
| 24099 | 24458 |
| 24100 | 24459 |
| 24101 @DocsEditable | 24460 @DocsEditable |
| 24102 @DomName('XPathExpression') | 24461 @DomName('XPathExpression') |
| 24103 // http://www.w3.org/TR/DOM-Level-3-XPath/xpath.html#XPathExpression | 24462 // http://www.w3.org/TR/DOM-Level-3-XPath/xpath.html#XPathExpression |
| 24104 @deprecated // experimental | 24463 @deprecated // experimental |
| 24105 class XPathExpression native "XPathExpression" { | 24464 class XPathExpression extends Interceptor native "XPathExpression" { |
| 24106 | 24465 |
| 24107 @DomName('XPathExpression.evaluate') | 24466 @DomName('XPathExpression.evaluate') |
| 24108 @DocsEditable | 24467 @DocsEditable |
| 24109 XPathResult evaluate(Node contextNode, int type, XPathResult inResult) native; | 24468 XPathResult evaluate(Node contextNode, int type, XPathResult inResult) native; |
| 24110 } | 24469 } |
| 24111 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 24470 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24112 // for details. All rights reserved. Use of this source code is governed by a | 24471 // for details. All rights reserved. Use of this source code is governed by a |
| 24113 // BSD-style license that can be found in the LICENSE file. | 24472 // BSD-style license that can be found in the LICENSE file. |
| 24114 | 24473 |
| 24115 | 24474 |
| 24116 @DocsEditable | 24475 @DocsEditable |
| 24117 @DomName('XPathNSResolver') | 24476 @DomName('XPathNSResolver') |
| 24118 // http://www.w3.org/TR/DOM-Level-3-XPath/xpath.html#XPathNSResolver | 24477 // http://www.w3.org/TR/DOM-Level-3-XPath/xpath.html#XPathNSResolver |
| 24119 @deprecated // experimental | 24478 @deprecated // experimental |
| 24120 class XPathNSResolver native "XPathNSResolver" { | 24479 class XPathNSResolver extends Interceptor native "XPathNSResolver" { |
| 24121 | 24480 |
| 24122 @JSName('lookupNamespaceURI') | 24481 @JSName('lookupNamespaceURI') |
| 24123 @DomName('XPathNSResolver.lookupNamespaceURI') | 24482 @DomName('XPathNSResolver.lookupNamespaceURI') |
| 24124 @DocsEditable | 24483 @DocsEditable |
| 24125 String lookupNamespaceUri(String prefix) native; | 24484 String lookupNamespaceUri(String prefix) native; |
| 24126 } | 24485 } |
| 24127 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 24486 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24128 // for details. All rights reserved. Use of this source code is governed by a | 24487 // for details. All rights reserved. Use of this source code is governed by a |
| 24129 // BSD-style license that can be found in the LICENSE file. | 24488 // BSD-style license that can be found in the LICENSE file. |
| 24130 | 24489 |
| 24131 | 24490 |
| 24132 @DocsEditable | 24491 @DocsEditable |
| 24133 @DomName('XPathResult') | 24492 @DomName('XPathResult') |
| 24134 // http://www.w3.org/TR/DOM-Level-3-XPath/xpath.html#XPathResult | 24493 // http://www.w3.org/TR/DOM-Level-3-XPath/xpath.html#XPathResult |
| 24135 @deprecated // experimental | 24494 @deprecated // experimental |
| 24136 class XPathResult native "XPathResult" { | 24495 class XPathResult extends Interceptor native "XPathResult" { |
| 24137 | 24496 |
| 24138 @DomName('XPathResult.ANY_TYPE') | 24497 @DomName('XPathResult.ANY_TYPE') |
| 24139 @DocsEditable | 24498 @DocsEditable |
| 24140 static const int ANY_TYPE = 0; | 24499 static const int ANY_TYPE = 0; |
| 24141 | 24500 |
| 24142 @DomName('XPathResult.ANY_UNORDERED_NODE_TYPE') | 24501 @DomName('XPathResult.ANY_UNORDERED_NODE_TYPE') |
| 24143 @DocsEditable | 24502 @DocsEditable |
| 24144 static const int ANY_UNORDERED_NODE_TYPE = 8; | 24503 static const int ANY_UNORDERED_NODE_TYPE = 8; |
| 24145 | 24504 |
| 24146 @DomName('XPathResult.BOOLEAN_TYPE') | 24505 @DomName('XPathResult.BOOLEAN_TYPE') |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 24213 } | 24572 } |
| 24214 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 24573 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24215 // for details. All rights reserved. Use of this source code is governed by a | 24574 // for details. All rights reserved. Use of this source code is governed by a |
| 24216 // BSD-style license that can be found in the LICENSE file. | 24575 // BSD-style license that can be found in the LICENSE file. |
| 24217 | 24576 |
| 24218 | 24577 |
| 24219 @DocsEditable | 24578 @DocsEditable |
| 24220 @DomName('XMLSerializer') | 24579 @DomName('XMLSerializer') |
| 24221 // http://domparsing.spec.whatwg.org/#the-xmlserializer-interface | 24580 // http://domparsing.spec.whatwg.org/#the-xmlserializer-interface |
| 24222 @deprecated // stable | 24581 @deprecated // stable |
| 24223 class XmlSerializer native "XMLSerializer" { | 24582 class XmlSerializer extends Interceptor native "XMLSerializer" { |
| 24224 | 24583 |
| 24225 @DomName('XMLSerializer.XMLSerializer') | 24584 @DomName('XMLSerializer.XMLSerializer') |
| 24226 @DocsEditable | 24585 @DocsEditable |
| 24227 factory XmlSerializer() { | 24586 factory XmlSerializer() { |
| 24228 return XmlSerializer._create_1(); | 24587 return XmlSerializer._create_1(); |
| 24229 } | 24588 } |
| 24230 static XmlSerializer _create_1() => JS('XmlSerializer', 'new XMLSerializer()')
; | 24589 static XmlSerializer _create_1() => JS('XmlSerializer', 'new XMLSerializer()')
; |
| 24231 | 24590 |
| 24232 @DomName('XMLSerializer.serializeToString') | 24591 @DomName('XMLSerializer.serializeToString') |
| 24233 @DocsEditable | 24592 @DocsEditable |
| 24234 String serializeToString(Node node) native; | 24593 String serializeToString(Node node) native; |
| 24235 } | 24594 } |
| 24236 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 24595 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24237 // for details. All rights reserved. Use of this source code is governed by a | 24596 // for details. All rights reserved. Use of this source code is governed by a |
| 24238 // BSD-style license that can be found in the LICENSE file. | 24597 // BSD-style license that can be found in the LICENSE file. |
| 24239 | 24598 |
| 24240 | 24599 |
| 24241 @DocsEditable | 24600 @DocsEditable |
| 24242 @DomName('XSLTProcessor') | 24601 @DomName('XSLTProcessor') |
| 24243 @SupportedBrowser(SupportedBrowser.CHROME) | 24602 @SupportedBrowser(SupportedBrowser.CHROME) |
| 24244 @SupportedBrowser(SupportedBrowser.FIREFOX) | 24603 @SupportedBrowser(SupportedBrowser.FIREFOX) |
| 24245 @SupportedBrowser(SupportedBrowser.SAFARI) | 24604 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 24246 @deprecated // nonstandard | 24605 @deprecated // nonstandard |
| 24247 class XsltProcessor native "XSLTProcessor" { | 24606 class XsltProcessor extends Interceptor native "XSLTProcessor" { |
| 24248 | 24607 |
| 24249 @DomName('XSLTProcessor.XSLTProcessor') | 24608 @DomName('XSLTProcessor.XSLTProcessor') |
| 24250 @DocsEditable | 24609 @DocsEditable |
| 24251 factory XsltProcessor() { | 24610 factory XsltProcessor() { |
| 24252 return XsltProcessor._create_1(); | 24611 return XsltProcessor._create_1(); |
| 24253 } | 24612 } |
| 24254 static XsltProcessor _create_1() => JS('XsltProcessor', 'new XSLTProcessor()')
; | 24613 static XsltProcessor _create_1() => JS('XsltProcessor', 'new XSLTProcessor()')
; |
| 24255 | 24614 |
| 24256 /// Checks if this type is supported on the current platform. | 24615 /// Checks if this type is supported on the current platform. |
| 24257 static bool get supported => JS('bool', '!!(window.XSLTProcessor)'); | 24616 static bool get supported => JS('bool', '!!(window.XSLTProcessor)'); |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 24289 DocumentFragment transformToFragment(Node source, Document docVal) native; | 24648 DocumentFragment transformToFragment(Node source, Document docVal) native; |
| 24290 } | 24649 } |
| 24291 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 24650 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24292 // for details. All rights reserved. Use of this source code is governed by a | 24651 // for details. All rights reserved. Use of this source code is governed by a |
| 24293 // BSD-style license that can be found in the LICENSE file. | 24652 // BSD-style license that can be found in the LICENSE file. |
| 24294 | 24653 |
| 24295 | 24654 |
| 24296 @DocsEditable | 24655 @DocsEditable |
| 24297 @DomName('Attr') | 24656 @DomName('Attr') |
| 24298 class _Attr extends Node native "Attr" { | 24657 class _Attr extends Node native "Attr" { |
| 24658 // To suppress missing implicit constructor warnings. |
| 24659 factory _Attr._() { throw new UnsupportedError("Not supported"); } |
| 24299 | 24660 |
| 24300 @DomName('Attr.isId') | 24661 @DomName('Attr.isId') |
| 24301 @DocsEditable | 24662 @DocsEditable |
| 24302 final bool isId; | 24663 final bool isId; |
| 24303 | 24664 |
| 24304 @DomName('Attr.name') | 24665 @DomName('Attr.name') |
| 24305 @DocsEditable | 24666 @DocsEditable |
| 24306 final String name; | 24667 final String name; |
| 24307 | 24668 |
| 24308 @DomName('Attr.ownerElement') | 24669 @DomName('Attr.ownerElement') |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24322 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 24683 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24323 // for details. All rights reserved. Use of this source code is governed by a | 24684 // for details. All rights reserved. Use of this source code is governed by a |
| 24324 // BSD-style license that can be found in the LICENSE file. | 24685 // BSD-style license that can be found in the LICENSE file. |
| 24325 | 24686 |
| 24326 | 24687 |
| 24327 @DocsEditable | 24688 @DocsEditable |
| 24328 @DomName('CSSPrimitiveValue') | 24689 @DomName('CSSPrimitiveValue') |
| 24329 // http://dev.w3.org/csswg/cssom/#the-cssstyledeclaration-interface | 24690 // http://dev.w3.org/csswg/cssom/#the-cssstyledeclaration-interface |
| 24330 @deprecated // deprecated | 24691 @deprecated // deprecated |
| 24331 abstract class _CSSPrimitiveValue extends _CSSValue native "CSSPrimitiveValue" { | 24692 abstract class _CSSPrimitiveValue extends _CSSValue native "CSSPrimitiveValue" { |
| 24693 // To suppress missing implicit constructor warnings. |
| 24694 factory _CSSPrimitiveValue._() { throw new UnsupportedError("Not supported");
} |
| 24332 } | 24695 } |
| 24333 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 24696 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24334 // for details. All rights reserved. Use of this source code is governed by a | 24697 // for details. All rights reserved. Use of this source code is governed by a |
| 24335 // BSD-style license that can be found in the LICENSE file. | 24698 // BSD-style license that can be found in the LICENSE file. |
| 24336 | 24699 |
| 24337 | 24700 |
| 24338 @DocsEditable | 24701 @DocsEditable |
| 24339 @DomName('CSSValue') | 24702 @DomName('CSSValue') |
| 24340 // http://dev.w3.org/csswg/cssom/ | 24703 // http://dev.w3.org/csswg/cssom/ |
| 24341 @deprecated // deprecated | 24704 @deprecated // deprecated |
| 24342 abstract class _CSSValue native "CSSValue" { | 24705 abstract class _CSSValue extends Interceptor native "CSSValue" { |
| 24343 } | 24706 } |
| 24344 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 24707 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 24345 // for details. All rights reserved. Use of this source code is governed by a | 24708 // for details. All rights reserved. Use of this source code is governed by a |
| 24346 // BSD-style license that can be found in the LICENSE file. | 24709 // BSD-style license that can be found in the LICENSE file. |
| 24347 | 24710 |
| 24348 | 24711 |
| 24349 @DocsEditable | 24712 @DocsEditable |
| 24350 @DomName('ClientRect') | 24713 @DomName('ClientRect') |
| 24351 class _ClientRect implements Rect native "ClientRect" { | 24714 class _ClientRect extends Interceptor implements Rect native "ClientRect" { |
| 24352 | 24715 |
| 24353 // NOTE! All code below should be common with Rect. | 24716 // NOTE! All code below should be common with Rect. |
| 24354 // TODO(blois): implement with mixins when available. | 24717 // TODO(blois): implement with mixins when available. |
| 24355 | 24718 |
| 24356 String toString() { | 24719 String toString() { |
| 24357 return '($left, $top, $width, $height)'; | 24720 return '($left, $top, $width, $height)'; |
| 24358 } | 24721 } |
| 24359 | 24722 |
| 24360 bool operator ==(other) { | 24723 bool operator ==(other) { |
| 24361 if (other is !Rect) return false; | 24724 if (other is !Rect) return false; |
| (...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 24529 } | 24892 } |
| 24530 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 24893 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24531 // for details. All rights reserved. Use of this source code is governed by a | 24894 // for details. All rights reserved. Use of this source code is governed by a |
| 24532 // BSD-style license that can be found in the LICENSE file. | 24895 // BSD-style license that can be found in the LICENSE file. |
| 24533 | 24896 |
| 24534 | 24897 |
| 24535 @DocsEditable | 24898 @DocsEditable |
| 24536 @DomName('Counter') | 24899 @DomName('Counter') |
| 24537 // http://dev.w3.org/csswg/cssom/ | 24900 // http://dev.w3.org/csswg/cssom/ |
| 24538 @deprecated // deprecated | 24901 @deprecated // deprecated |
| 24539 abstract class _Counter native "Counter" { | 24902 abstract class _Counter extends Interceptor native "Counter" { |
| 24540 } | 24903 } |
| 24541 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 24904 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24542 // for details. All rights reserved. Use of this source code is governed by a | 24905 // for details. All rights reserved. Use of this source code is governed by a |
| 24543 // BSD-style license that can be found in the LICENSE file. | 24906 // BSD-style license that can be found in the LICENSE file. |
| 24544 | 24907 |
| 24545 | 24908 |
| 24546 @DocsEditable | 24909 @DocsEditable |
| 24547 @DomName('CSSRuleList') | 24910 @DomName('CSSRuleList') |
| 24548 class _CssRuleList extends Interceptor with ListMixin<CssRule>, ImmutableListMix
in<CssRule> implements JavaScriptIndexingBehavior, List<CssRule> native "CSSRule
List" { | 24911 class _CssRuleList extends Interceptor with ListMixin<CssRule>, ImmutableListMix
in<CssRule> implements JavaScriptIndexingBehavior, List<CssRule> native "CSSRule
List" { |
| 24549 | 24912 |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 24602 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 24965 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24603 // for details. All rights reserved. Use of this source code is governed by a | 24966 // for details. All rights reserved. Use of this source code is governed by a |
| 24604 // BSD-style license that can be found in the LICENSE file. | 24967 // BSD-style license that can be found in the LICENSE file. |
| 24605 | 24968 |
| 24606 | 24969 |
| 24607 @DocsEditable | 24970 @DocsEditable |
| 24608 @DomName('CSSValueList') | 24971 @DomName('CSSValueList') |
| 24609 // http://dev.w3.org/csswg/cssom/ | 24972 // http://dev.w3.org/csswg/cssom/ |
| 24610 @deprecated // deprecated | 24973 @deprecated // deprecated |
| 24611 class _CssValueList extends _CSSValue with ListMixin<_CSSValue>, ImmutableListMi
xin<_CSSValue> implements JavaScriptIndexingBehavior, List<_CSSValue> native "CS
SValueList" { | 24974 class _CssValueList extends _CSSValue with ListMixin<_CSSValue>, ImmutableListMi
xin<_CSSValue> implements JavaScriptIndexingBehavior, List<_CSSValue> native "CS
SValueList" { |
| 24975 // To suppress missing implicit constructor warnings. |
| 24976 factory _CssValueList._() { throw new UnsupportedError("Not supported"); } |
| 24612 | 24977 |
| 24613 @DomName('CSSValueList.length') | 24978 @DomName('CSSValueList.length') |
| 24614 @DocsEditable | 24979 @DocsEditable |
| 24615 int get length => JS("int", "#.length", this); | 24980 int get length => JS("int", "#.length", this); |
| 24616 | 24981 |
| 24617 _CSSValue operator[](int index) { | 24982 _CSSValue operator[](int index) { |
| 24618 if (JS("bool", "# >>> 0 !== # || # >= #", index, | 24983 if (JS("bool", "# >>> 0 !== # || # >= #", index, |
| 24619 index, index, length)) | 24984 index, index, length)) |
| 24620 throw new RangeError.range(index, 0, length); | 24985 throw new RangeError.range(index, 0, length); |
| 24621 return JS("_CSSValue", "#[#]", this, index); | 24986 return JS("_CSSValue", "#[#]", this, index); |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 24665 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 25030 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24666 // for details. All rights reserved. Use of this source code is governed by a | 25031 // for details. All rights reserved. Use of this source code is governed by a |
| 24667 // BSD-style license that can be found in the LICENSE file. | 25032 // BSD-style license that can be found in the LICENSE file. |
| 24668 | 25033 |
| 24669 | 25034 |
| 24670 @DocsEditable | 25035 @DocsEditable |
| 24671 @DomName('DOMFileSystemSync') | 25036 @DomName('DOMFileSystemSync') |
| 24672 @SupportedBrowser(SupportedBrowser.CHROME) | 25037 @SupportedBrowser(SupportedBrowser.CHROME) |
| 24673 @Experimental | 25038 @Experimental |
| 24674 // http://www.w3.org/TR/file-system-api/#the-filesystemsync-interface | 25039 // http://www.w3.org/TR/file-system-api/#the-filesystemsync-interface |
| 24675 abstract class _DOMFileSystemSync native "DOMFileSystemSync" { | 25040 abstract class _DOMFileSystemSync extends Interceptor native "DOMFileSystemSync"
{ |
| 24676 } | 25041 } |
| 24677 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 25042 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24678 // for details. All rights reserved. Use of this source code is governed by a | 25043 // for details. All rights reserved. Use of this source code is governed by a |
| 24679 // BSD-style license that can be found in the LICENSE file. | 25044 // BSD-style license that can be found in the LICENSE file. |
| 24680 | 25045 |
| 24681 | 25046 |
| 24682 @DocsEditable | 25047 @DocsEditable |
| 24683 @DomName('DatabaseSync') | 25048 @DomName('DatabaseSync') |
| 24684 @SupportedBrowser(SupportedBrowser.CHROME) | 25049 @SupportedBrowser(SupportedBrowser.CHROME) |
| 24685 @SupportedBrowser(SupportedBrowser.SAFARI) | 25050 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 24686 @Experimental | 25051 @Experimental |
| 24687 // http://www.w3.org/TR/webdatabase/#databasesync | 25052 // http://www.w3.org/TR/webdatabase/#databasesync |
| 24688 @deprecated // deprecated | 25053 @deprecated // deprecated |
| 24689 abstract class _DatabaseSync native "DatabaseSync" { | 25054 abstract class _DatabaseSync extends Interceptor native "DatabaseSync" { |
| 24690 } | 25055 } |
| 24691 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 25056 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24692 // for details. All rights reserved. Use of this source code is governed by a | 25057 // for details. All rights reserved. Use of this source code is governed by a |
| 24693 // BSD-style license that can be found in the LICENSE file. | 25058 // BSD-style license that can be found in the LICENSE file. |
| 24694 | 25059 |
| 24695 | 25060 |
| 24696 @DocsEditable | 25061 @DocsEditable |
| 24697 @DomName('DedicatedWorkerContext') | 25062 @DomName('DedicatedWorkerContext') |
| 24698 // http://www.whatwg.org/specs/web-apps/current-work/multipage/workers.html | 25063 // http://www.whatwg.org/specs/web-apps/current-work/multipage/workers.html |
| 24699 @Experimental | 25064 @Experimental |
| 24700 abstract class _DedicatedWorkerContext extends _WorkerContext native "DedicatedW
orkerContext" { | 25065 abstract class _DedicatedWorkerContext extends _WorkerContext native "DedicatedW
orkerContext" { |
| 25066 // To suppress missing implicit constructor warnings. |
| 25067 factory _DedicatedWorkerContext._() { throw new UnsupportedError("Not supporte
d"); } |
| 24701 } | 25068 } |
| 24702 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 25069 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24703 // for details. All rights reserved. Use of this source code is governed by a | 25070 // for details. All rights reserved. Use of this source code is governed by a |
| 24704 // BSD-style license that can be found in the LICENSE file. | 25071 // BSD-style license that can be found in the LICENSE file. |
| 24705 | 25072 |
| 24706 | 25073 |
| 24707 @DocsEditable | 25074 @DocsEditable |
| 24708 @DomName('DirectoryEntrySync') | 25075 @DomName('DirectoryEntrySync') |
| 24709 // http://www.w3.org/TR/file-system-api/#the-directoryentrysync-interface | 25076 // http://www.w3.org/TR/file-system-api/#the-directoryentrysync-interface |
| 24710 @Experimental | 25077 @Experimental |
| 24711 abstract class _DirectoryEntrySync extends _EntrySync native "DirectoryEntrySync
" { | 25078 abstract class _DirectoryEntrySync extends _EntrySync native "DirectoryEntrySync
" { |
| 25079 // To suppress missing implicit constructor warnings. |
| 25080 factory _DirectoryEntrySync._() { throw new UnsupportedError("Not supported");
} |
| 24712 } | 25081 } |
| 24713 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 25082 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24714 // for details. All rights reserved. Use of this source code is governed by a | 25083 // for details. All rights reserved. Use of this source code is governed by a |
| 24715 // BSD-style license that can be found in the LICENSE file. | 25084 // BSD-style license that can be found in the LICENSE file. |
| 24716 | 25085 |
| 24717 | 25086 |
| 24718 @DocsEditable | 25087 @DocsEditable |
| 24719 @DomName('DirectoryReaderSync') | 25088 @DomName('DirectoryReaderSync') |
| 24720 // http://www.w3.org/TR/file-system-api/#idl-def-DirectoryReaderSync | 25089 // http://www.w3.org/TR/file-system-api/#idl-def-DirectoryReaderSync |
| 24721 @Experimental | 25090 @Experimental |
| 24722 abstract class _DirectoryReaderSync native "DirectoryReaderSync" { | 25091 abstract class _DirectoryReaderSync extends Interceptor native "DirectoryReaderS
ync" { |
| 24723 } | 25092 } |
| 24724 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 25093 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24725 // for details. All rights reserved. Use of this source code is governed by a | 25094 // for details. All rights reserved. Use of this source code is governed by a |
| 24726 // BSD-style license that can be found in the LICENSE file. | 25095 // BSD-style license that can be found in the LICENSE file. |
| 24727 | 25096 |
| 24728 | 25097 |
| 24729 @DocsEditable | 25098 @DocsEditable |
| 24730 @DomName('WebKitPoint') | 25099 @DomName('WebKitPoint') |
| 24731 @SupportedBrowser(SupportedBrowser.CHROME) | 25100 @SupportedBrowser(SupportedBrowser.CHROME) |
| 24732 @SupportedBrowser(SupportedBrowser.SAFARI) | 25101 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 24733 @Experimental | 25102 @Experimental |
| 24734 // http://developer.apple.com/library/safari/#documentation/DataManagement/Refer
ence/DOMWindowAdditionsReference/DOMWindowAdditions/DOMWindowAdditions.html | 25103 // http://developer.apple.com/library/safari/#documentation/DataManagement/Refer
ence/DOMWindowAdditionsReference/DOMWindowAdditions/DOMWindowAdditions.html |
| 24735 @Experimental // non-standard | 25104 @Experimental // non-standard |
| 24736 class _DomPoint native "WebKitPoint" { | 25105 class _DomPoint extends Interceptor native "WebKitPoint" { |
| 24737 | 25106 |
| 24738 @DomName('WebKitPoint.DOMPoint') | 25107 @DomName('WebKitPoint.DOMPoint') |
| 24739 @DocsEditable | 25108 @DocsEditable |
| 24740 factory _DomPoint(num x, num y) { | 25109 factory _DomPoint(num x, num y) { |
| 24741 return _DomPoint._create_1(x, y); | 25110 return _DomPoint._create_1(x, y); |
| 24742 } | 25111 } |
| 24743 static _DomPoint _create_1(x, y) => JS('_DomPoint', 'new WebKitPoint(#,#)', x,
y); | 25112 static _DomPoint _create_1(x, y) => JS('_DomPoint', 'new WebKitPoint(#,#)', x,
y); |
| 24744 | 25113 |
| 24745 /// Checks if this type is supported on the current platform. | 25114 /// Checks if this type is supported on the current platform. |
| 24746 static bool get supported => JS('bool', '!!(window.WebKitPoint)'); | 25115 static bool get supported => JS('bool', '!!(window.WebKitPoint)'); |
| 24747 | 25116 |
| 24748 @DomName('WebKitPoint.x') | 25117 @DomName('WebKitPoint.x') |
| 24749 @DocsEditable | 25118 @DocsEditable |
| 24750 num x; | 25119 num x; |
| 24751 | 25120 |
| 24752 @DomName('WebKitPoint.y') | 25121 @DomName('WebKitPoint.y') |
| 24753 @DocsEditable | 25122 @DocsEditable |
| 24754 num y; | 25123 num y; |
| 24755 } | 25124 } |
| 24756 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 25125 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24757 // for details. All rights reserved. Use of this source code is governed by a | 25126 // for details. All rights reserved. Use of this source code is governed by a |
| 24758 // BSD-style license that can be found in the LICENSE file. | 25127 // BSD-style license that can be found in the LICENSE file. |
| 24759 | 25128 |
| 24760 | 25129 |
| 24761 @DocsEditable | 25130 @DocsEditable |
| 24762 @DomName('Entity') | 25131 @DomName('Entity') |
| 24763 @deprecated // deprecated | 25132 @deprecated // deprecated |
| 24764 class _Entity extends Node native "Entity" { | 25133 class _Entity extends Node native "Entity" { |
| 25134 // To suppress missing implicit constructor warnings. |
| 25135 factory _Entity._() { throw new UnsupportedError("Not supported"); } |
| 24765 | 25136 |
| 24766 @DomName('Entity.notationName') | 25137 @DomName('Entity.notationName') |
| 24767 @DocsEditable | 25138 @DocsEditable |
| 24768 final String notationName; | 25139 final String notationName; |
| 24769 | 25140 |
| 24770 @DomName('Entity.publicId') | 25141 @DomName('Entity.publicId') |
| 24771 @DocsEditable | 25142 @DocsEditable |
| 24772 final String publicId; | 25143 final String publicId; |
| 24773 | 25144 |
| 24774 @DomName('Entity.systemId') | 25145 @DomName('Entity.systemId') |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 24903 } | 25274 } |
| 24904 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 25275 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24905 // for details. All rights reserved. Use of this source code is governed by a | 25276 // for details. All rights reserved. Use of this source code is governed by a |
| 24906 // BSD-style license that can be found in the LICENSE file. | 25277 // BSD-style license that can be found in the LICENSE file. |
| 24907 | 25278 |
| 24908 | 25279 |
| 24909 @DocsEditable | 25280 @DocsEditable |
| 24910 @DomName('EntrySync') | 25281 @DomName('EntrySync') |
| 24911 // http://www.w3.org/TR/file-system-api/#idl-def-EntrySync | 25282 // http://www.w3.org/TR/file-system-api/#idl-def-EntrySync |
| 24912 @Experimental | 25283 @Experimental |
| 24913 abstract class _EntrySync native "EntrySync" { | 25284 abstract class _EntrySync extends Interceptor native "EntrySync" { |
| 24914 } | 25285 } |
| 24915 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 25286 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24916 // for details. All rights reserved. Use of this source code is governed by a | 25287 // for details. All rights reserved. Use of this source code is governed by a |
| 24917 // BSD-style license that can be found in the LICENSE file. | 25288 // BSD-style license that can be found in the LICENSE file. |
| 24918 | 25289 |
| 24919 | 25290 |
| 24920 @DocsEditable | 25291 @DocsEditable |
| 24921 @DomName('FileEntrySync') | 25292 @DomName('FileEntrySync') |
| 24922 // http://www.w3.org/TR/file-system-api/#the-fileentrysync-interface | 25293 // http://www.w3.org/TR/file-system-api/#the-fileentrysync-interface |
| 24923 @Experimental | 25294 @Experimental |
| 24924 abstract class _FileEntrySync extends _EntrySync native "FileEntrySync" { | 25295 abstract class _FileEntrySync extends _EntrySync native "FileEntrySync" { |
| 25296 // To suppress missing implicit constructor warnings. |
| 25297 factory _FileEntrySync._() { throw new UnsupportedError("Not supported"); } |
| 24925 } | 25298 } |
| 24926 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 25299 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24927 // for details. All rights reserved. Use of this source code is governed by a | 25300 // for details. All rights reserved. Use of this source code is governed by a |
| 24928 // BSD-style license that can be found in the LICENSE file. | 25301 // BSD-style license that can be found in the LICENSE file. |
| 24929 | 25302 |
| 24930 | 25303 |
| 24931 @DocsEditable | 25304 @DocsEditable |
| 24932 @DomName('FileReaderSync') | 25305 @DomName('FileReaderSync') |
| 24933 // http://www.w3.org/TR/FileAPI/#FileReaderSync | 25306 // http://www.w3.org/TR/FileAPI/#FileReaderSync |
| 24934 @Experimental | 25307 @Experimental |
| 24935 abstract class _FileReaderSync native "FileReaderSync" { | 25308 abstract class _FileReaderSync extends Interceptor native "FileReaderSync" { |
| 24936 | 25309 |
| 24937 @DomName('FileReaderSync.FileReaderSync') | 25310 @DomName('FileReaderSync.FileReaderSync') |
| 24938 @DocsEditable | 25311 @DocsEditable |
| 24939 factory _FileReaderSync() { | 25312 factory _FileReaderSync() { |
| 24940 return _FileReaderSync._create_1(); | 25313 return _FileReaderSync._create_1(); |
| 24941 } | 25314 } |
| 24942 static _FileReaderSync _create_1() => JS('_FileReaderSync', 'new FileReaderSyn
c()'); | 25315 static _FileReaderSync _create_1() => JS('_FileReaderSync', 'new FileReaderSyn
c()'); |
| 24943 } | 25316 } |
| 24944 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 25317 // 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 | 25318 // 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. | 25319 // BSD-style license that can be found in the LICENSE file. |
| 24947 | 25320 |
| 24948 | 25321 |
| 24949 @DocsEditable | 25322 @DocsEditable |
| 24950 @DomName('FileWriterSync') | 25323 @DomName('FileWriterSync') |
| 24951 // http://www.w3.org/TR/file-writer-api/#idl-def-FileWriterSync | 25324 // http://www.w3.org/TR/file-writer-api/#idl-def-FileWriterSync |
| 24952 @Experimental | 25325 @Experimental |
| 24953 abstract class _FileWriterSync native "FileWriterSync" { | 25326 abstract class _FileWriterSync extends Interceptor native "FileWriterSync" { |
| 24954 } | 25327 } |
| 24955 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 25328 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24956 // for details. All rights reserved. Use of this source code is governed by a | 25329 // for details. All rights reserved. Use of this source code is governed by a |
| 24957 // BSD-style license that can be found in the LICENSE file. | 25330 // BSD-style license that can be found in the LICENSE file. |
| 24958 | 25331 |
| 24959 | 25332 |
| 24960 @DocsEditable | 25333 @DocsEditable |
| 24961 @DomName('GamepadList') | 25334 @DomName('GamepadList') |
| 24962 // https://dvcs.w3.org/hg/gamepad/raw-file/default/gamepad.html | 25335 // https://dvcs.w3.org/hg/gamepad/raw-file/default/gamepad.html |
| 24963 @Experimental | 25336 @Experimental |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 25018 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 25391 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25019 // for details. All rights reserved. Use of this source code is governed by a | 25392 // for details. All rights reserved. Use of this source code is governed by a |
| 25020 // BSD-style license that can be found in the LICENSE file. | 25393 // BSD-style license that can be found in the LICENSE file. |
| 25021 | 25394 |
| 25022 | 25395 |
| 25023 @DocsEditable | 25396 @DocsEditable |
| 25024 @DomName('HTMLAppletElement') | 25397 @DomName('HTMLAppletElement') |
| 25025 // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#the
-applet-element | 25398 // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#the
-applet-element |
| 25026 @deprecated // deprecated | 25399 @deprecated // deprecated |
| 25027 abstract class _HTMLAppletElement extends _HTMLElement native "HTMLAppletElement
" { | 25400 abstract class _HTMLAppletElement extends _HTMLElement native "HTMLAppletElement
" { |
| 25401 // To suppress missing implicit constructor warnings. |
| 25402 factory _HTMLAppletElement._() { throw new UnsupportedError("Not supported");
} |
| 25028 } | 25403 } |
| 25029 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 25404 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25030 // for details. All rights reserved. Use of this source code is governed by a | 25405 // for details. All rights reserved. Use of this source code is governed by a |
| 25031 // BSD-style license that can be found in the LICENSE file. | 25406 // BSD-style license that can be found in the LICENSE file. |
| 25032 | 25407 |
| 25033 | 25408 |
| 25034 @DocsEditable | 25409 @DocsEditable |
| 25035 @DomName('HTMLBaseFontElement') | 25410 @DomName('HTMLBaseFontElement') |
| 25036 // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#bas
efont | 25411 // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#bas
efont |
| 25037 @deprecated // deprecated | 25412 @deprecated // deprecated |
| 25038 abstract class _HTMLBaseFontElement extends _HTMLElement native "HTMLBaseFontEle
ment" { | 25413 abstract class _HTMLBaseFontElement extends _HTMLElement native "HTMLBaseFontEle
ment" { |
| 25414 // To suppress missing implicit constructor warnings. |
| 25415 factory _HTMLBaseFontElement._() { throw new UnsupportedError("Not supported")
; } |
| 25039 } | 25416 } |
| 25040 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 25417 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25041 // for details. All rights reserved. Use of this source code is governed by a | 25418 // for details. All rights reserved. Use of this source code is governed by a |
| 25042 // BSD-style license that can be found in the LICENSE file. | 25419 // BSD-style license that can be found in the LICENSE file. |
| 25043 | 25420 |
| 25044 | 25421 |
| 25045 @DocsEditable | 25422 @DocsEditable |
| 25046 @DomName('HTMLDirectoryElement') | 25423 @DomName('HTMLDirectoryElement') |
| 25047 // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#dir | 25424 // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#dir |
| 25048 @deprecated // deprecated | 25425 @deprecated // deprecated |
| 25049 abstract class _HTMLDirectoryElement extends _HTMLElement native "HTMLDirectoryE
lement" { | 25426 abstract class _HTMLDirectoryElement extends _HTMLElement native "HTMLDirectoryE
lement" { |
| 25427 // To suppress missing implicit constructor warnings. |
| 25428 factory _HTMLDirectoryElement._() { throw new UnsupportedError("Not supported"
); } |
| 25050 } | 25429 } |
| 25051 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 25430 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25052 // for details. All rights reserved. Use of this source code is governed by a | 25431 // for details. All rights reserved. Use of this source code is governed by a |
| 25053 // BSD-style license that can be found in the LICENSE file. | 25432 // BSD-style license that can be found in the LICENSE file. |
| 25054 | 25433 |
| 25055 | 25434 |
| 25056 @DocsEditable | 25435 @DocsEditable |
| 25057 @DomName('HTMLFontElement') | 25436 @DomName('HTMLFontElement') |
| 25058 // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#htm
lfontelement | 25437 // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#htm
lfontelement |
| 25059 @deprecated // deprecated | 25438 @deprecated // deprecated |
| 25060 abstract class _HTMLFontElement extends _HTMLElement native "HTMLFontElement" { | 25439 abstract class _HTMLFontElement extends _HTMLElement native "HTMLFontElement" { |
| 25440 // To suppress missing implicit constructor warnings. |
| 25441 factory _HTMLFontElement._() { throw new UnsupportedError("Not supported"); } |
| 25061 } | 25442 } |
| 25062 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 25443 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25063 // for details. All rights reserved. Use of this source code is governed by a | 25444 // for details. All rights reserved. Use of this source code is governed by a |
| 25064 // BSD-style license that can be found in the LICENSE file. | 25445 // BSD-style license that can be found in the LICENSE file. |
| 25065 | 25446 |
| 25066 | 25447 |
| 25067 @DocsEditable | 25448 @DocsEditable |
| 25068 @DomName('HTMLFrameElement') | 25449 @DomName('HTMLFrameElement') |
| 25069 // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#htm
lframeelement | 25450 // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#htm
lframeelement |
| 25070 @deprecated // deprecated | 25451 @deprecated // deprecated |
| 25071 abstract class _HTMLFrameElement extends _HTMLElement native "HTMLFrameElement"
{ | 25452 abstract class _HTMLFrameElement extends _HTMLElement native "HTMLFrameElement"
{ |
| 25453 // To suppress missing implicit constructor warnings. |
| 25454 factory _HTMLFrameElement._() { throw new UnsupportedError("Not supported"); } |
| 25072 } | 25455 } |
| 25073 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 25456 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25074 // for details. All rights reserved. Use of this source code is governed by a | 25457 // for details. All rights reserved. Use of this source code is governed by a |
| 25075 // BSD-style license that can be found in the LICENSE file. | 25458 // BSD-style license that can be found in the LICENSE file. |
| 25076 | 25459 |
| 25077 | 25460 |
| 25078 @DocsEditable | 25461 @DocsEditable |
| 25079 @DomName('HTMLFrameSetElement') | 25462 @DomName('HTMLFrameSetElement') |
| 25080 // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#fra
meset | 25463 // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#fra
meset |
| 25081 @deprecated // deprecated | 25464 @deprecated // deprecated |
| 25082 abstract class _HTMLFrameSetElement extends _HTMLElement native "HTMLFrameSetEle
ment" { | 25465 abstract class _HTMLFrameSetElement extends _HTMLElement native "HTMLFrameSetEle
ment" { |
| 25466 // To suppress missing implicit constructor warnings. |
| 25467 factory _HTMLFrameSetElement._() { throw new UnsupportedError("Not supported")
; } |
| 25083 } | 25468 } |
| 25084 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 25469 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25085 // for details. All rights reserved. Use of this source code is governed by a | 25470 // for details. All rights reserved. Use of this source code is governed by a |
| 25086 // BSD-style license that can be found in the LICENSE file. | 25471 // BSD-style license that can be found in the LICENSE file. |
| 25087 | 25472 |
| 25088 | 25473 |
| 25089 @DocsEditable | 25474 @DocsEditable |
| 25090 @DomName('HTMLMarqueeElement') | 25475 @DomName('HTMLMarqueeElement') |
| 25091 // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#the
-marquee-element | 25476 // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#the
-marquee-element |
| 25092 @deprecated // deprecated | 25477 @deprecated // deprecated |
| 25093 abstract class _HTMLMarqueeElement extends _HTMLElement native "HTMLMarqueeEleme
nt" { | 25478 abstract class _HTMLMarqueeElement extends _HTMLElement native "HTMLMarqueeEleme
nt" { |
| 25479 // To suppress missing implicit constructor warnings. |
| 25480 factory _HTMLMarqueeElement._() { throw new UnsupportedError("Not supported");
} |
| 25094 } | 25481 } |
| 25095 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 25482 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25096 // for details. All rights reserved. Use of this source code is governed by a | 25483 // for details. All rights reserved. Use of this source code is governed by a |
| 25097 // BSD-style license that can be found in the LICENSE file. | 25484 // BSD-style license that can be found in the LICENSE file. |
| 25098 | 25485 |
| 25099 | 25486 |
| 25100 @DocsEditable | 25487 @DocsEditable |
| 25101 @DomName('NamedNodeMap') | 25488 @DomName('NamedNodeMap') |
| 25102 // http://dom.spec.whatwg.org/#namednodemap | 25489 // http://dom.spec.whatwg.org/#namednodemap |
| 25103 @deprecated // deprecated | 25490 @deprecated // deprecated |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 25184 Node setNamedItemNS(Node node) native; | 25571 Node setNamedItemNS(Node node) native; |
| 25185 } | 25572 } |
| 25186 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 25573 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25187 // for details. All rights reserved. Use of this source code is governed by a | 25574 // for details. All rights reserved. Use of this source code is governed by a |
| 25188 // BSD-style license that can be found in the LICENSE file. | 25575 // BSD-style license that can be found in the LICENSE file. |
| 25189 | 25576 |
| 25190 | 25577 |
| 25191 @DocsEditable | 25578 @DocsEditable |
| 25192 @DomName('PagePopupController') | 25579 @DomName('PagePopupController') |
| 25193 @deprecated // nonstandard | 25580 @deprecated // nonstandard |
| 25194 abstract class _PagePopupController native "PagePopupController" { | 25581 abstract class _PagePopupController extends Interceptor native "PagePopupControl
ler" { |
| 25195 } | 25582 } |
| 25196 // 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 |
| 25197 // 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 |
| 25198 // BSD-style license that can be found in the LICENSE file. | 25585 // BSD-style license that can be found in the LICENSE file. |
| 25199 | 25586 |
| 25200 | 25587 |
| 25201 @DocsEditable | 25588 @DocsEditable |
| 25202 @DomName('RGBColor') | 25589 @DomName('RGBColor') |
| 25203 // http://dev.w3.org/csswg/cssom/ | 25590 // http://dev.w3.org/csswg/cssom/ |
| 25204 @deprecated // deprecated | 25591 @deprecated // deprecated |
| 25205 abstract class _RGBColor native "RGBColor" { | 25592 abstract class _RGBColor extends Interceptor native "RGBColor" { |
| 25206 } | 25593 } |
| 25207 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 25594 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 25208 // for details. All rights reserved. Use of this source code is governed by a | 25595 // for details. All rights reserved. Use of this source code is governed by a |
| 25209 // BSD-style license that can be found in the LICENSE file. | 25596 // BSD-style license that can be found in the LICENSE file. |
| 25210 | 25597 |
| 25211 | 25598 |
| 25212 // Omit RadioNodeList for dart2js. The Dart Form and FieldSet APIs don't | 25599 // Omit RadioNodeList for dart2js. The Dart Form and FieldSet APIs don't |
| 25213 // currently expose an API the returns RadioNodeList. The only use of a | 25600 // currently expose an API the returns RadioNodeList. The only use of a |
| 25214 // RadioNodeList is to get the selected value and it will be cleaner to | 25601 // RadioNodeList is to get the selected value and it will be cleaner to |
| 25215 // introduce a different API for that purpose. | 25602 // introduce a different API for that purpose. |
| 25216 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 25603 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25217 // for details. All rights reserved. Use of this source code is governed by a | 25604 // for details. All rights reserved. Use of this source code is governed by a |
| 25218 // BSD-style license that can be found in the LICENSE file. | 25605 // BSD-style license that can be found in the LICENSE file. |
| 25219 | 25606 |
| 25220 | 25607 |
| 25221 @DocsEditable | 25608 @DocsEditable |
| 25222 @DomName('Rect') | 25609 @DomName('Rect') |
| 25223 // http://dev.w3.org/csswg/cssom/ | 25610 // http://dev.w3.org/csswg/cssom/ |
| 25224 @deprecated // deprecated | 25611 @deprecated // deprecated |
| 25225 abstract class _Rect native "Rect" { | 25612 abstract class _Rect extends Interceptor native "Rect" { |
| 25226 } | 25613 } |
| 25227 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 25614 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25228 // for details. All rights reserved. Use of this source code is governed by a | 25615 // for details. All rights reserved. Use of this source code is governed by a |
| 25229 // BSD-style license that can be found in the LICENSE file. | 25616 // BSD-style license that can be found in the LICENSE file. |
| 25230 | 25617 |
| 25231 | 25618 |
| 25232 @DocsEditable | 25619 @DocsEditable |
| 25233 @DomName('SharedWorker') | 25620 @DomName('SharedWorker') |
| 25234 // http://www.whatwg.org/specs/web-apps/current-work/multipage/workers.html#shar
ed-workers-and-the-sharedworker-interface | 25621 // http://www.whatwg.org/specs/web-apps/current-work/multipage/workers.html#shar
ed-workers-and-the-sharedworker-interface |
| 25235 @Experimental | 25622 @Experimental |
| 25236 abstract class _SharedWorker extends AbstractWorker native "SharedWorker" { | 25623 abstract class _SharedWorker extends AbstractWorker native "SharedWorker" { |
| 25624 // To suppress missing implicit constructor warnings. |
| 25625 factory _SharedWorker._() { throw new UnsupportedError("Not supported"); } |
| 25237 | 25626 |
| 25238 @DomName('SharedWorker.SharedWorker') | 25627 @DomName('SharedWorker.SharedWorker') |
| 25239 @DocsEditable | 25628 @DocsEditable |
| 25240 factory _SharedWorker(String scriptURL, [String name]) { | 25629 factory _SharedWorker(String scriptURL, [String name]) { |
| 25241 if (name != null) { | 25630 if (name != null) { |
| 25242 return _SharedWorker._create_1(scriptURL, name); | 25631 return _SharedWorker._create_1(scriptURL, name); |
| 25243 } | 25632 } |
| 25244 return _SharedWorker._create_2(scriptURL); | 25633 return _SharedWorker._create_2(scriptURL); |
| 25245 } | 25634 } |
| 25246 static _SharedWorker _create_1(scriptURL, name) => JS('_SharedWorker', 'new Sh
aredWorker(#,#)', scriptURL, name); | 25635 static _SharedWorker _create_1(scriptURL, name) => JS('_SharedWorker', 'new Sh
aredWorker(#,#)', scriptURL, name); |
| 25247 static _SharedWorker _create_2(scriptURL) => JS('_SharedWorker', 'new SharedWo
rker(#)', scriptURL); | 25636 static _SharedWorker _create_2(scriptURL) => JS('_SharedWorker', 'new SharedWo
rker(#)', scriptURL); |
| 25248 } | 25637 } |
| 25249 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 25638 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25250 // for details. All rights reserved. Use of this source code is governed by a | 25639 // for details. All rights reserved. Use of this source code is governed by a |
| 25251 // BSD-style license that can be found in the LICENSE file. | 25640 // BSD-style license that can be found in the LICENSE file. |
| 25252 | 25641 |
| 25253 | 25642 |
| 25254 @DocsEditable | 25643 @DocsEditable |
| 25255 @DomName('SharedWorkerContext') | 25644 @DomName('SharedWorkerContext') |
| 25256 // http://www.whatwg.org/specs/web-apps/current-work/multipage/workers.html#shar
ed-workers-and-the-sharedworkerglobalscope-interface | 25645 // http://www.whatwg.org/specs/web-apps/current-work/multipage/workers.html#shar
ed-workers-and-the-sharedworkerglobalscope-interface |
| 25257 @Experimental // nonstandard | 25646 @Experimental // nonstandard |
| 25258 abstract class _SharedWorkerContext extends _WorkerContext native "SharedWorkerC
ontext" { | 25647 abstract class _SharedWorkerContext extends _WorkerContext native "SharedWorkerC
ontext" { |
| 25648 // To suppress missing implicit constructor warnings. |
| 25649 factory _SharedWorkerContext._() { throw new UnsupportedError("Not supported")
; } |
| 25259 } | 25650 } |
| 25260 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 25651 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25261 // for details. All rights reserved. Use of this source code is governed by a | 25652 // for details. All rights reserved. Use of this source code is governed by a |
| 25262 // BSD-style license that can be found in the LICENSE file. | 25653 // BSD-style license that can be found in the LICENSE file. |
| 25263 | 25654 |
| 25264 | 25655 |
| 25265 @DocsEditable | 25656 @DocsEditable |
| 25266 @DomName('SpeechInputResultList') | 25657 @DomName('SpeechInputResultList') |
| 25267 // http://lists.w3.org/Archives/Public/public-xg-htmlspeech/2011Feb/att-0020/api
-draft.html#speech_input_result_list_interface | 25658 // http://lists.w3.org/Archives/Public/public-xg-htmlspeech/2011Feb/att-0020/api
-draft.html#speech_input_result_list_interface |
| 25268 @Experimental | 25659 @Experimental |
| (...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 25451 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 25842 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25452 // for details. All rights reserved. Use of this source code is governed by a | 25843 // for details. All rights reserved. Use of this source code is governed by a |
| 25453 // BSD-style license that can be found in the LICENSE file. | 25844 // BSD-style license that can be found in the LICENSE file. |
| 25454 | 25845 |
| 25455 | 25846 |
| 25456 @DocsEditable | 25847 @DocsEditable |
| 25457 @DomName('WorkerContext') | 25848 @DomName('WorkerContext') |
| 25458 // http://www.whatwg.org/specs/web-apps/current-work/multipage/workers.html#Work
erGlobalScope-partial | 25849 // http://www.whatwg.org/specs/web-apps/current-work/multipage/workers.html#Work
erGlobalScope-partial |
| 25459 @Experimental // stable | 25850 @Experimental // stable |
| 25460 abstract class _WorkerContext extends EventTarget native "WorkerContext" { | 25851 abstract class _WorkerContext extends EventTarget native "WorkerContext" { |
| 25852 // To suppress missing implicit constructor warnings. |
| 25853 factory _WorkerContext._() { throw new UnsupportedError("Not supported"); } |
| 25461 } | 25854 } |
| 25462 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 25855 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25463 // for details. All rights reserved. Use of this source code is governed by a | 25856 // for details. All rights reserved. Use of this source code is governed by a |
| 25464 // BSD-style license that can be found in the LICENSE file. | 25857 // BSD-style license that can be found in the LICENSE file. |
| 25465 | 25858 |
| 25466 | 25859 |
| 25467 @DocsEditable | 25860 @DocsEditable |
| 25468 @DomName('WorkerLocation') | 25861 @DomName('WorkerLocation') |
| 25469 // http://www.whatwg.org/specs/web-apps/current-work/multipage/workers.html#work
erlocation | 25862 // http://www.whatwg.org/specs/web-apps/current-work/multipage/workers.html#work
erlocation |
| 25470 @Experimental | 25863 @Experimental |
| 25471 abstract class _WorkerLocation native "WorkerLocation" { | 25864 abstract class _WorkerLocation extends Interceptor native "WorkerLocation" { |
| 25472 } | 25865 } |
| 25473 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 25866 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25474 // for details. All rights reserved. Use of this source code is governed by a | 25867 // for details. All rights reserved. Use of this source code is governed by a |
| 25475 // BSD-style license that can be found in the LICENSE file. | 25868 // BSD-style license that can be found in the LICENSE file. |
| 25476 | 25869 |
| 25477 | 25870 |
| 25478 @DocsEditable | 25871 @DocsEditable |
| 25479 @DomName('WorkerNavigator') | 25872 @DomName('WorkerNavigator') |
| 25480 // http://www.whatwg.org/specs/web-apps/current-work/multipage/workers.html#work
ernavigator | 25873 // http://www.whatwg.org/specs/web-apps/current-work/multipage/workers.html#work
ernavigator |
| 25481 @Experimental | 25874 @Experimental |
| 25482 abstract class _WorkerNavigator native "WorkerNavigator" { | 25875 abstract class _WorkerNavigator extends Interceptor native "WorkerNavigator" { |
| 25483 } | 25876 } |
| 25484 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 25877 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25485 // for details. All rights reserved. Use of this source code is governed by a | 25878 // for details. All rights reserved. Use of this source code is governed by a |
| 25486 // BSD-style license that can be found in the LICENSE file. | 25879 // BSD-style license that can be found in the LICENSE file. |
| 25487 | 25880 |
| 25488 | 25881 |
| 25489 abstract class _AttributeMap implements Map<String, String> { | 25882 abstract class _AttributeMap implements Map<String, String> { |
| 25490 final Element _element; | 25883 final Element _element; |
| 25491 | 25884 |
| 25492 _AttributeMap(this._element); | 25885 _AttributeMap(this._element); |
| (...skipping 3298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 28791 _position = nextPosition; | 29184 _position = nextPosition; |
| 28792 return true; | 29185 return true; |
| 28793 } | 29186 } |
| 28794 _current = null; | 29187 _current = null; |
| 28795 _position = _array.length; | 29188 _position = _array.length; |
| 28796 return false; | 29189 return false; |
| 28797 } | 29190 } |
| 28798 | 29191 |
| 28799 T get current => _current; | 29192 T get current => _current; |
| 28800 } | 29193 } |
| OLD | NEW |